/* AXIS Library — responsive catalog and in-app presentation layer */

.floating-library-panel.axis-library-panel,
body .library-menu.axis-library-panel{
    width:min(380px,calc(100vw - 28px));
    padding:15px;
    border:1px solid rgba(73,197,255,.62);
    border-radius:19px;
    background:
        radial-gradient(circle at 92% 4%,rgba(54,171,255,.22),transparent 34%),
        radial-gradient(circle at 0 100%,rgba(39,234,211,.11),transparent 38%),
        linear-gradient(145deg,rgba(8,48,82,.985),rgba(2,20,39,.995) 68%);
    box-shadow:
        0 22px 56px rgba(0,13,29,.45),
        0 0 0 1px rgba(70,188,255,.12) inset,
        0 0 28px rgba(30,163,255,.14);
}

.floating-library-panel.axis-library-panel::before,
body .library-menu.axis-library-panel::before{
    inset:6px;
    border-radius:14px;
    border-color:rgba(123,218,255,.12);
}

.axis-library-panel .floating-library-panel-head{
    position:relative;
    align-items:center;
    min-height:46px;
    padding:0 0 12px;
}

.axis-library-panel .floating-library-panel-head::after{
    content:"03 CLASIFICADOS";
    position:absolute;
    left:0;
    bottom:-7px;
    padding:2px 7px;
    border:1px solid rgba(53,191,255,.28);
    border-radius:999px;
    background:#06233d;
    color:#74d7ff;
    font-size:7px;
    font-weight:950;
    letter-spacing:.1em;
}

.axis-library-panel .floating-library-panel-head strong{
    color:#fff;
    font-size:14px;
    font-weight:950;
    letter-spacing:.035em;
    line-height:1.05;
}

.axis-library-panel .floating-library-panel-head span{
    margin-top:4px;
    color:#8acff2;
    font-size:10px;
    font-weight:750;
}

.axis-library-panel .floating-library-close{
    flex:0 0 auto;
    width:35px;
    height:35px;
    border-color:rgba(91,202,255,.45);
    background:linear-gradient(145deg,rgba(19,70,109,.9),rgba(2,25,45,.96));
    color:#dff6ff;
    box-shadow:0 8px 20px rgba(0,12,25,.34),0 0 0 1px rgba(116,220,255,.1) inset;
}

.axis-library-panel .floating-library-close:hover,
.axis-library-panel .floating-library-close:focus-visible{
    border-color:#59d6ff;
    color:#fff;
    box-shadow:0 0 0 3px rgba(65,200,255,.12),0 0 17px rgba(65,200,255,.24);
}

.floating-library-panel.axis-library-panel ol,
body .library-menu.axis-library-panel ol{
    gap:9px;
    margin-top:18px;
}

.floating-library-panel.axis-library-panel li,
body .library-menu.axis-library-panel li{
    padding:0;
    border:0;
    border-radius:13px;
    background:transparent;
    overflow:visible;
    transform:none;
}

.floating-library-panel.axis-library-panel li::before,
body .library-menu.axis-library-panel li::before{
    content:none;
}

.floating-library-panel.axis-library-panel li:hover,
body .library-menu.axis-library-panel li:hover{
    border:0;
    background:transparent;
    transform:none;
}

.floating-library-panel.axis-library-panel .axis-library-document,
body .library-menu.axis-library-panel .axis-library-document{
    position:relative;
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    min-height:66px;
    padding:9px 10px;
    overflow:hidden;
    border:1px solid rgba(65,181,245,.42);
    border-radius:13px;
    background:
        linear-gradient(105deg,rgba(20,112,176,.22),transparent 58%),
        rgba(3,31,55,.84);
    color:#f5fbff;
    text-decoration:none;
    box-shadow:0 8px 18px rgba(0,13,29,.18),0 1px 0 rgba(255,255,255,.035) inset;
    transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}

.floating-library-panel.axis-library-panel .axis-library-document::after,
body .library-menu.axis-library-panel .axis-library-document::after{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:3px;
    background:linear-gradient(180deg,#43d9ff,#1c7fff 60%,#866cff);
    box-shadow:0 0 12px rgba(65,209,255,.72);
}

.floating-library-panel.axis-library-panel .axis-library-document:hover,
.floating-library-panel.axis-library-panel .axis-library-document:focus-visible,
body .library-menu.axis-library-panel .axis-library-document:hover,
body .library-menu.axis-library-panel .axis-library-document:focus-visible{
    border-color:rgba(94,216,255,.88);
    background:
        linear-gradient(105deg,rgba(26,149,226,.34),transparent 64%),
        rgba(4,39,68,.96);
    box-shadow:0 11px 25px rgba(0,15,34,.3),0 0 20px rgba(44,180,255,.14);
    outline:0;
    transform:translateY(-2px);
}

.axis-library-document-index{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border:1px solid rgba(89,210,255,.48);
    border-radius:11px;
    background:
        radial-gradient(circle at 35% 25%,rgba(84,220,255,.2),transparent 45%),
        #061f38;
    color:#75dcff;
    font-size:11px;
    font-weight:950;
    letter-spacing:.06em;
    box-shadow:0 0 14px rgba(44,183,255,.12),0 0 0 1px rgba(255,255,255,.025) inset;
}

.axis-library-document-copy{
    display:block;
    min-width:0;
}

.floating-library-panel.axis-library-panel .axis-library-document-title,
body .library-menu.axis-library-panel .axis-library-document-title{
    display:block;
    overflow-wrap:anywhere;
    color:#fff;
    font-size:12px;
    font-weight:900;
    line-height:1.16;
}

.floating-library-panel.axis-library-panel .axis-library-document small,
body .library-menu.axis-library-panel .axis-library-document small{
    display:block;
    grid-column:auto;
    margin-top:4px;
    color:#9dcde7;
    font-size:8.5px;
    font-weight:720;
    line-height:1.2;
}

.axis-library-document-action{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:47px;
    color:#68d9ff;
}

.axis-library-document-action svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    filter:drop-shadow(0 0 5px rgba(78,210,255,.4));
}

.axis-library-document-action em{
    color:#a9e8ff;
    font-size:7px;
    font-style:normal;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.axis-library-document:hover .axis-library-document-index,
.axis-library-document:focus-visible .axis-library-document-index{
    border-color:#7be4ff;
    color:#fff;
    box-shadow:0 0 18px rgba(49,201,255,.3);
}

body.axis-library-viewer-open{
    overflow:hidden !important;
}

.axis-library-viewer[hidden]{
    display:none !important;
}

.axis-library-viewer{
    position:fixed;
    inset:0;
    z-index:12000;
    display:grid;
    padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    background:
        radial-gradient(circle at 50% -20%,rgba(31,137,235,.2),transparent 48%),
        rgba(0,7,16,.965);
    backdrop-filter:blur(12px) saturate(118%);
}

.axis-library-viewer-shell{
    position:relative;
    display:grid;
    grid-template-rows:auto auto minmax(0,1fr) auto;
    width:100%;
    min-width:0;
    height:100%;
    min-height:0;
    overflow:hidden;
    border:1px solid rgba(83,196,255,.5);
    border-radius:17px;
    background:#020d18;
    box-shadow:0 0 0 1px rgba(255,255,255,.025) inset,0 22px 80px rgba(0,0,0,.52),0 0 42px rgba(28,151,239,.13);
}

.axis-library-viewer-toolbar{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:66px;
    padding:10px 12px 10px 16px;
    border-bottom:1px solid rgba(77,190,248,.24);
    background:
        radial-gradient(circle at 15% 0,rgba(49,174,255,.16),transparent 35%),
        linear-gradient(100deg,rgba(4,27,49,.98),rgba(3,18,34,.99));
    box-shadow:0 8px 22px rgba(0,8,18,.28);
}

.axis-library-viewer-toolbar::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:1px;
    background:linear-gradient(90deg,transparent,#28c9ff 30%,#7e72ff 67%,transparent);
    opacity:.55;
}

.axis-library-viewer-identity{
    display:flex;
    align-items:center;
    min-width:0;
    gap:11px;
}

.axis-library-viewer-mark{
    display:grid;
    flex:0 0 40px;
    place-items:center;
    width:40px;
    height:40px;
    border:1px solid rgba(89,211,255,.58);
    border-radius:12px;
    background:linear-gradient(145deg,rgba(20,104,162,.48),rgba(3,24,43,.94));
    color:#9ae8ff;
    box-shadow:0 0 16px rgba(50,196,255,.15),0 0 0 1px rgba(255,255,255,.035) inset;
}

.axis-library-viewer-mark svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.45;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.axis-library-viewer-copy{
    display:block;
    min-width:0;
}

.axis-library-viewer-copy small,
.axis-library-viewer-copy strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.axis-library-viewer-copy small{
    margin-bottom:3px;
    color:#56d3ff;
    font-size:9px;
    font-weight:950;
    letter-spacing:.12em;
}

.axis-library-viewer-copy strong{
    color:#f8fcff;
    font-size:15px;
    font-weight:900;
}

.axis-library-viewer-controls{
    display:flex;
    align-items:center;
    gap:7px;
}

.axis-library-viewer-control,
.axis-library-viewer-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    height:39px;
    border:1px solid rgba(85,194,248,.34);
    border-radius:11px;
    background:linear-gradient(145deg,rgba(17,61,96,.78),rgba(3,27,49,.96));
    color:#c9eeff;
    font:inherit;
    text-decoration:none;
    box-shadow:0 7px 18px rgba(0,8,18,.22),0 0 0 1px rgba(255,255,255,.025) inset;
    cursor:pointer;
    transition:border-color .18s ease,color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}

.axis-library-viewer-control{
    padding:0 12px;
    font-size:10px;
    font-weight:850;
}

.axis-library-viewer-control svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.axis-library-viewer-close{
    width:39px;
    padding:0;
    border-color:rgba(255,91,123,.36);
    color:#ff9daf;
    font-size:22px;
    font-weight:400;
}

.axis-library-viewer-control:hover,
.axis-library-viewer-control:focus-visible{
    border-color:#4bd5ff;
    background:linear-gradient(145deg,rgba(21,104,157,.85),rgba(3,37,65,.98));
    color:#fff;
    box-shadow:0 0 0 3px rgba(47,195,255,.1),0 0 20px rgba(39,181,243,.16);
    outline:0;
    transform:translateY(-1px);
}

.axis-library-viewer-close:hover,
.axis-library-viewer-close:focus-visible{
    border-color:#ff6f8c;
    color:#fff;
    box-shadow:0 0 0 3px rgba(255,70,109,.1),0 0 20px rgba(255,60,100,.16);
    outline:0;
}

.axis-library-viewer-search{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(190px,440px) 72px 36px 36px minmax(80px,1fr);
    align-items:center;
    gap:7px;
    min-width:0;
    min-height:48px;
    padding:6px 12px;
    border-bottom:1px solid rgba(70,183,240,.2);
    background:linear-gradient(90deg,rgba(3,23,42,.98),rgba(2,14,27,.99));
    box-shadow:0 8px 20px rgba(0,8,18,.18);
}

.axis-library-viewer-search-field{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    height:34px;
    padding:0 10px;
    border:1px solid rgba(78,194,251,.34);
    border-radius:10px;
    background:rgba(2,12,24,.75);
    color:#62d9ff;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.axis-library-viewer-search-field:focus-within{
    border-color:#4bd5ff;
    background:rgba(3,25,45,.94);
    box-shadow:0 0 0 3px rgba(47,195,255,.1),0 0 20px rgba(39,181,243,.12);
}

.axis-library-viewer-search-field svg{
    flex:0 0 15px;
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
}

.axis-library-viewer-search-field input,
body .axis-library-viewer-search-field #axisLibraryViewerSearchInput{
    width:100%;
    min-width:0;
    display:block;
    align-self:center;
    position:relative;
    top:2px;
    box-sizing:border-box;
    height:100% !important;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    outline:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    appearance:none;
    color:#f2fbff;
    font-family:inherit;
    font-size:11px;
    font-weight:750;
    line-height:1.15 !important;
}

body .axis-library-viewer-search-field #axisLibraryViewerSearchInput:hover,
body .axis-library-viewer-search-field #axisLibraryViewerSearchInput:focus,
body .axis-library-viewer-search-field #axisLibraryViewerSearchInput:focus-visible{
    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    transform:none !important;
}

.axis-library-viewer-search-field input::-webkit-search-decoration,
.axis-library-viewer-search-field input::-webkit-search-cancel-button{
    display:none;
    appearance:none;
}

.axis-library-viewer-search-field input::placeholder{
    color:#6f9bb4;
    font-weight:650;
    line-height:normal;
    opacity:1;
}

.axis-library-viewer-search-clear,
.axis-library-viewer-search-voice,
.axis-library-viewer-search-nav{
    display:inline-grid;
    place-items:center;
    height:34px;
    border:1px solid rgba(83,196,255,.4);
    border-radius:10px;
    background:linear-gradient(145deg,rgba(19,96,149,.84),rgba(4,35,62,.98));
    color:#e5f8ff;
    font-family:inherit;
    font-size:10px;
    font-weight:850;
    line-height:1;
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,opacity .18s ease;
}

.axis-library-viewer-search-clear{
    flex:0 0 23px;
    width:23px;
    height:23px;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    color:#7eb9d4;
    font-size:17px;
    cursor:pointer;
}

.axis-library-viewer-search-voice{
    display:grid;
    flex:0 0 25px;
    place-items:center;
    width:25px;
    height:25px;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    color:#62d9ff;
}

.axis-library-viewer-search-voice svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}

.axis-library-viewer-search-voice.is-listening{
    color:#51f7bd;
    background:rgba(29,224,164,.13);
    box-shadow:0 0 14px rgba(29,224,164,.42);
}

.axis-library-viewer-search-clear[hidden]{
    display:none !important;
}

.axis-library-viewer-search-nav{
    width:36px;
    padding:0;
    color:#8be4ff;
    font-size:21px;
}

.axis-library-viewer-search-clear:hover,
.axis-library-viewer-search-clear:focus-visible,
.axis-library-viewer-search-nav:not(:disabled):hover,
.axis-library-viewer-search-nav:not(:disabled):focus-visible{
    border-color:#57ddff;
    box-shadow:0 0 0 3px rgba(50,202,255,.09),0 0 17px rgba(44,193,255,.18);
    outline:0;
    transform:translateY(-1px);
}

.axis-library-viewer-search-nav:disabled{
    cursor:default;
    opacity:.34;
    transform:none;
    box-shadow:none;
}

.axis-library-viewer-search output{
    display:grid;
    place-items:center;
    min-width:0;
    height:34px;
    overflow:hidden;
    border:1px solid rgba(92,177,224,.25);
    border-radius:999px;
    background:rgba(2,12,24,.72);
    color:#d6f3ff;
    font-size:10px;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.axis-library-viewer-search output:empty{
    display:none;
}

.axis-library-viewer-search[data-state="searching"] output,
.axis-library-viewer-search[data-state="loading-document"] output{
    color:#6fdfff;
}

.axis-library-viewer-search[data-state="no-results"] output,
.axis-library-viewer-search[data-state="error"] output{
    border-color:rgba(255,91,123,.38);
    color:#ff9daf;
}

.axis-library-viewer-search-page{
    min-width:0;
    padding-left:8px;
    color:#7eabc2;
    font-size:9px;
    font-weight:800;
}

.axis-library-viewer-stage{
    position:relative;
    min-width:0;
    min-height:0;
    overflow:hidden;
    background:
        linear-gradient(90deg,rgba(24,134,209,.04) 1px,transparent 1px),
        linear-gradient(rgba(24,134,209,.04) 1px,transparent 1px),
        #07111c;
    background-size:28px 28px;
}

.axis-library-viewer-workspace{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(245px,300px);
    min-width:0;
    min-height:0;
    overflow:hidden;
    background:#07111c;
}

.axis-library-viewer-results{
    z-index:4;
    display:grid;
    grid-template-rows:auto auto minmax(0,1fr) auto;
    min-width:0;
    min-height:0;
    padding:14px 12px 11px;
    overflow:hidden;
    border-left:1px solid rgba(74,191,249,.26);
    background:linear-gradient(155deg,rgba(5,31,54,.99),rgba(1,13,25,.995));
    color:#dff7ff;
}

.axis-library-viewer-results header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

.axis-library-viewer-results header strong{font-size:12px;font-weight:900}
.axis-library-viewer-results header button{
    display:none;width:28px;height:28px;border:1px solid rgba(80,195,251,.35);border-radius:9px;background:#08243d;color:#9cddfa;font-size:17px
}
.axis-library-viewer-results > p{margin:8px 0 11px;color:#7faec7;font-size:9px;font-weight:700}
.axis-library-viewer-results ol{display:grid;align-content:start;gap:7px;min-height:0;margin:0;padding:0;overflow:auto;list-style:none}
.axis-library-viewer-results li{margin:0;padding:0}
.axis-library-viewer-results li button{
    display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:7px;width:100%;padding:10px 8px;border:1px solid rgba(79,174,225,.24);border-radius:11px;background:rgba(4,24,42,.72);color:#dff4ff;text-align:left;cursor:pointer
}
.axis-library-viewer-results li button:hover,.axis-library-viewer-results li button:focus-visible{border-color:#3ecbff;outline:0;background:rgba(8,57,91,.86)}
.axis-library-viewer-results li button.is-active{border-color:#22bfff;background:linear-gradient(100deg,rgba(13,91,147,.66),rgba(5,31,54,.9));box-shadow:inset 3px 0 #25caff,0 0 17px rgba(34,191,255,.12)}
.axis-library-viewer-results li b{color:#fff;font-size:11px}
.axis-library-viewer-results li span{overflow:hidden;color:#ccecff;font-size:9px;font-weight:680;line-height:1.4}
.axis-library-viewer-results li em{color:#56cfff;font-size:8px;font-style:normal;white-space:nowrap}
.axis-library-viewer-results-clear{height:32px;margin-top:9px;border:1px solid rgba(80,195,251,.3);border-radius:9px;background:#061c30;color:#9bdfff;font:800 9px inherit;cursor:pointer}
.axis-library-viewer-results-clear[hidden]{display:none}
.axis-library-viewer-results-toggle{display:none}
.axis-library-viewer-results-toggle[hidden]{display:none !important}

.axis-library-viewer-document{
    position:absolute;
    z-index:1;
    inset:0;
    overflow:auto;
    overscroll-behavior:contain;
    touch-action:pan-x pan-y;
    -webkit-overflow-scrolling:touch;
    scrollbar-color:#1978aa #06111c;
    scrollbar-width:thin;
    background:
        radial-gradient(circle at 50% 10%,rgba(26,116,176,.14),transparent 48%),
        #07111c;
    /* Zoom owns the reading anchor; navigation requests smooth scrolling explicitly. */
    scroll-behavior:auto;
    overflow-anchor:none;
}

.axis-library-viewer-document:focus-visible{
    outline:1px solid rgba(67,204,255,.7);
    outline-offset:-2px;
}

.axis-library-viewer-page-stack{
    display:grid;
    justify-items:center;
    gap:18px;
    width:max-content;
    min-width:100%;
    min-height:100%;
    padding:17px;
}

.axis-pdf-page{
    position:relative;
    flex:none;
    overflow:hidden;
    background:#fff;
    box-shadow:0 12px 34px rgba(0,0,0,.5),0 0 0 1px rgba(103,199,255,.2);
}

.axis-pdf-page-surface{
    position:absolute;
    inset:0 auto auto 0;
    transform-origin:0 0;
}

.axis-pdf-page-canvas{
    position:absolute;
    inset:0;
    display:block;
}

.axis-pdf-text-layer{
    position:absolute;
    inset:0;
    overflow:clip;
    line-height:1;
    text-align:initial;
    text-size-adjust:none;
    transform-origin:0 0;
    forced-color-adjust:none;
    z-index:2;
}

/* Detail never participates in layout, gestures or text selection. */
.axis-pdf-detail-tile{
    position:absolute;
    display:block;
    pointer-events:none;
    z-index:1;
}

.axis-pdf-text-layer :is(span,br){
    position:absolute;
    color:transparent;
    white-space:pre;
    cursor:text;
    transform-origin:0 0;
}

.axis-pdf-text-layer .markedContent{
    top:0;
    height:0;
}

.axis-pdf-ocr-layer > span{
    position:absolute;
    display:block;
    overflow:visible;
    color:transparent;
    white-space:pre;
    line-height:1;
    font-family:Arial,sans-serif;
    transform-origin:0 0;
}

.axis-pdf-ocr-layer > span:has(.axis-pdf-search-hit){
    z-index:3;
}

.axis-pdf-search-hit{
    position:relative;
    margin:-1px;
    padding:1px;
    border-radius:3px;
    background:rgba(255,210,47,.42);
    color:transparent;
    box-shadow:0 0 0 1px rgba(255,207,27,.2);
    transition:background .16s ease,box-shadow .16s ease;
    pointer-events:auto;
    cursor:pointer;
}

.axis-pdf-search-hit.is-active{
    border-radius:4px;
    background:linear-gradient(180deg,rgba(255,228,104,.5),rgba(255,177,0,.4));
    box-shadow:
        inset 0 0 0 1px rgba(255,249,205,.72),
        0 0 0 1px rgba(255,198,27,.78),
        0 0 12px rgba(255,180,0,.52);
}

.axis-pdf-search-hit.is-reading{
    background:rgba(54,235,166,.62);
    box-shadow:0 0 0 2px rgba(84,255,194,.92),0 0 15px rgba(27,231,159,.72);
}

.axis-pdf-search-hit.is-dismissed{
    background:transparent;
    box-shadow:none;
}

.axis-pdf-search-hit:focus-visible{
    outline:2px solid #5ce5ff;
    outline-offset:2px;
}

.axis-pdf-search-hit-close{
    position:absolute;
    z-index:7;
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    padding:0;
    border:1px solid rgba(255,215,94,.82);
    border-radius:50%;
    background:
        radial-gradient(circle at 36% 30%,rgba(95,213,255,.22),transparent 38%),
        linear-gradient(145deg,rgba(12,35,51,.97),rgba(2,10,19,.99));
    margin:-16px 0 0 -6px;
    cursor:pointer;
    transform:scale(1) !important;
    box-shadow:
        inset 0 0 0 2px rgba(5,20,32,.92),
        inset 0 0 10px rgba(67,205,255,.12),
        0 0 0 2px rgba(3,14,25,.82),
        0 0 11px rgba(255,194,27,.48);
    backdrop-filter:blur(7px);
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;
}

.axis-pdf-search-hit-close::before,
.axis-pdf-search-hit-close::after{
    content:"";
    position:absolute;
    width:9px;
    height:1.5px;
    border-radius:999px;
    background:linear-gradient(90deg,#8ce7ff,#fff4bf);
    box-shadow:0 0 5px rgba(113,223,255,.7);
}

.axis-pdf-search-hit-close::before{
    transform:rotate(45deg);
}

.axis-pdf-search-hit-close::after{
    transform:rotate(-45deg);
}

body .axis-pdf-search-hit-close:hover,
body .axis-pdf-search-hit-close:focus-visible{
    border-color:#74e2ff;
    outline:0;
    background:
        radial-gradient(circle at 50% 45%,rgba(255,89,111,.22),transparent 55%),
        linear-gradient(145deg,rgba(17,39,54,.99),rgba(4,12,21,.99));
    box-shadow:
        inset 0 0 0 2px rgba(5,20,32,.94),
        0 0 0 2px rgba(3,14,25,.9),
        0 0 14px rgba(70,213,255,.72),
        0 0 20px rgba(255,181,34,.25);
    transform:scale(1.08) !important;
}

body .axis-pdf-search-hit-close:active{
    transform:scale(.94) !important;
}

.axis-library-viewer-loading{
    position:absolute;
    z-index:3;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#8edfff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.04em;
    background:rgba(3,15,27,.96);
}

.axis-library-viewer-loading[hidden]{
    display:none !important;
}

.axis-library-viewer-loading span{
    width:18px;
    height:18px;
    border:2px solid rgba(74,205,255,.2);
    border-top-color:#4bd5ff;
    border-radius:50%;
    animation:axisLibrarySpin .75s linear infinite;
}

.axis-library-viewer-status{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:31px;
    padding:5px 14px;
    border-top:1px solid rgba(69,185,241,.2);
    background:#031526;
    color:#8fcbe8;
    font-size:9px;
    font-weight:800;
}

.axis-library-viewer-page-nav{display:flex;align-items:center;justify-content:center;gap:7px}
.axis-library-viewer-page-nav button{display:grid;place-items:center;width:27px;height:24px;border:1px solid rgba(78,194,251,.3);border-radius:7px;background:#061d32;color:#80ddff;font:900 16px inherit;cursor:pointer}
.axis-library-viewer-page-nav button:disabled{opacity:.3;cursor:default}
.axis-library-viewer-page-nav strong{display:grid;place-items:center;min-width:34px;height:24px;border:1px solid rgba(78,194,251,.25);border-radius:7px;background:#020e1b;color:#fff;font-size:10px}
.axis-library-viewer-page-nav span{color:#86b9d2;font-size:9px}

.axis-library-viewer-zoom{display:flex;align-items:center;justify-content:center;gap:5px}
.axis-library-viewer-zoom button{display:grid;place-items:center;width:27px;height:24px;padding:0;border:1px solid rgba(78,194,251,.3);border-radius:7px;background:#061d32;color:#80ddff;font:900 15px inherit;line-height:1;cursor:pointer}
.axis-library-viewer-zoom #axisLibraryViewerZoomReset{width:45px;color:#fff;font-size:8px;font-variant-numeric:tabular-nums}
.axis-library-viewer-zoom button:disabled{opacity:.32;cursor:default}
.axis-library-viewer-zoom button:not(:disabled):hover,
.axis-library-viewer-zoom button:not(:disabled):focus-visible{border-color:#4bd5ff;color:#fff;outline:0;box-shadow:0 0 0 2px rgba(47,195,255,.1)}

.axis-library-viewer-status span:first-child{
    display:flex;
    align-items:center;
    gap:6px;
    color:#6edfff;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.axis-library-viewer-status i{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#2ce6b3;
    box-shadow:0 0 9px rgba(44,230,179,.75);
}

.axis-library-viewer:fullscreen{
    padding:0;
    background:#000711;
}

.axis-library-viewer:fullscreen .axis-library-viewer-shell{
    border:0;
    border-radius:0;
}

@keyframes axisLibrarySpin{
    to{transform:rotate(360deg)}
}

@media (min-width:768px) and (max-width:1100px){
    .floating-library-panel.axis-library-panel,
    body .library-menu.axis-library-panel{
        width:min(360px,calc(100vw - 30px));
    }

    .axis-library-viewer-toolbar{
        min-height:61px;
    }

    .axis-library-viewer-search{
        grid-template-columns:minmax(170px,1fr) 68px 34px 34px minmax(70px,.55fr);
    }
    .axis-library-viewer-workspace{grid-template-columns:minmax(0,1fr) 235px}
}

@media (min-width:321px) and (max-width:767px){
    .floating-library-panel.axis-library-panel,
    body .library-menu.axis-library-panel{
        width:min(88vw,320px);
        max-height:calc(100dvh - 20px);
        padding:12px;
        border-radius:16px;
    }

    .floating-library-panel.axis-library-panel .axis-library-document,
    body .library-menu.axis-library-panel .axis-library-document{
        grid-template-columns:34px minmax(0,1fr) 38px;
        min-height:58px;
        gap:8px;
        padding:8px;
    }

    .axis-library-document-index{
        width:32px;
        height:32px;
        border-radius:9px;
        font-size:10px;
    }

    .axis-library-document-action{
        min-width:34px;
    }

    .axis-library-document-action em{
        display:none;
    }

    .axis-library-viewer{
        padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));
    }

    .axis-library-viewer-shell{
        border-radius:13px;
    }

    .axis-library-viewer-toolbar{
        min-height:56px;
        gap:8px;
        padding:8px;
    }

    .axis-library-viewer-mark{
        flex-basis:34px;
        width:34px;
        height:34px;
        border-radius:10px;
    }

    .axis-library-viewer-mark svg{
        width:20px;
        height:20px;
    }

    .axis-library-viewer-copy small{
        font-size:7px;
    }

    .axis-library-viewer-copy strong{
        font-size:11px;
    }

    .axis-library-viewer-control,
    .axis-library-viewer-close{
        width:35px;
        height:35px;
        padding:0;
    }

    .axis-library-viewer-control span{
        display:none;
    }

    .axis-library-viewer-search{
        grid-template-columns:minmax(120px,1fr) 54px 32px 32px;
        gap:4px;
        min-height:47px;
        padding:4px 7px;
    }

    .axis-library-viewer-search-field,
    .axis-library-viewer-search-nav{
        height:31px;
        border-radius:8px;
    }

    body .axis-library-viewer-search-field #axisLibraryViewerSearchInput{
        height:29px !important;
        line-height:1.15 !important;
        padding:0 !important;
    }

    .axis-library-viewer-search-nav{
        width:32px;
    }

    .axis-library-viewer-search-page{
        display:none;
    }

    .axis-library-viewer-search output{
        height:31px;
        font-size:8px;
    }

    .axis-library-viewer-page-stack{
        gap:10px;
        padding:8px 6px;
    }

    .axis-library-viewer-status{
        justify-content:center;
        gap:8px;
    }

    .axis-library-viewer-status > span:first-child,
    .axis-library-viewer-status > span:last-child{
        display:none;
    }

    .axis-library-viewer-workspace{display:block}
    .axis-library-viewer-stage{height:100%}
    .axis-library-viewer-results{
        position:absolute;inset:auto 7px 7px;max-height:min(58%,430px);border:1px solid rgba(74,191,249,.5);border-radius:14px;box-shadow:0 18px 46px rgba(0,0,0,.58);transform:translateY(calc(100% + 18px));opacity:0;pointer-events:none;transition:transform .22s ease,opacity .22s ease
    }
    .axis-library-viewer-results.is-open{transform:none;opacity:1;pointer-events:auto}
    .axis-library-viewer-results header button{display:grid;place-items:center}
    .axis-library-viewer-results-toggle{display:inline-grid;grid-column:1 / -1;place-items:center;min-height:24px;margin-top:0;border:1px solid rgba(78,194,251,.3);border-radius:7px;background:#061d32;color:#8edfff;font:800 8px inherit}
}

@media (min-width:160px) and (max-width:320px){
    .floating-library-panel.axis-library-panel,
    body .library-menu.axis-library-panel{
        width:min(90vw,204px);
        max-height:calc(100dvh - 10px);
        padding:8px;
        border-radius:12px;
    }

    .axis-library-panel .floating-library-panel-head{
        min-height:33px;
        padding-bottom:7px;
    }

    .axis-library-panel .floating-library-panel-head::after{
        bottom:-5px;
        padding:1px 5px;
        font-size:5px;
    }

    .axis-library-panel .floating-library-panel-head strong{
        font-size:8.5px;
        line-height:1;
    }

    .axis-library-panel .floating-library-panel-head span{
        margin-top:2px;
        font-size:6.2px;
    }

    .axis-library-panel .floating-library-close{
        width:25px;
        height:25px;
        font-size:11px;
    }

    .floating-library-panel.axis-library-panel ol,
    body .library-menu.axis-library-panel ol{
        gap:5px;
        margin-top:11px;
    }

    .floating-library-panel.axis-library-panel .axis-library-document,
    body .library-menu.axis-library-panel .axis-library-document{
        grid-template-columns:25px minmax(0,1fr) 22px;
        min-height:43px;
        gap:5px;
        padding:5px 5px 5px 6px;
        border-radius:8px;
    }

    .axis-library-document-index{
        width:23px;
        height:23px;
        border-radius:7px;
        font-size:7px;
    }

    .floating-library-panel.axis-library-panel .axis-library-document-title,
    body .library-menu.axis-library-panel .axis-library-document-title{
        font-size:7.8px;
        line-height:1.05;
    }

    .floating-library-panel.axis-library-panel .axis-library-document small,
    body .library-menu.axis-library-panel .axis-library-document small{
        margin-top:2px;
        font-size:5.6px;
        line-height:1.05;
    }

    .axis-library-document-action{
        min-width:20px;
    }

    .axis-library-document-action svg{
        width:12px;
        height:12px;
    }

    .axis-library-document-action em{
        display:none;
    }

    .axis-library-viewer{
        padding:2px;
    }

    .axis-library-viewer-shell{
        border-radius:8px;
    }

    .axis-library-viewer-toolbar{
        min-height:42px;
        gap:4px;
        padding:4px;
    }

    .axis-library-viewer-identity{
        gap:5px;
    }

    .axis-library-viewer-mark{
        flex-basis:27px;
        width:27px;
        height:27px;
        border-radius:7px;
    }

    .axis-library-viewer-mark svg{
        width:15px;
        height:15px;
    }

    .axis-library-viewer-copy small{
        margin-bottom:1px;
        font-size:5px;
        letter-spacing:.05em;
    }

    .axis-library-viewer-copy strong{
        max-width:72px;
        font-size:7px;
    }

    .axis-library-viewer-controls{
        gap:3px;
    }

    .axis-library-viewer-control,
    .axis-library-viewer-close{
        width:27px;
        height:27px;
        padding:0;
        border-radius:7px;
    }

    .axis-library-viewer-control svg{
        width:12px;
        height:12px;
    }

    .axis-library-viewer-control span{
        display:none;
    }

    .axis-library-viewer-close{
        font-size:16px;
    }

    .axis-library-viewer-search{
        grid-template-columns:minmax(0,1fr) 37px 24px 24px;
        gap:2px;
        min-height:48px;
        padding:3px 4px;
    }

    .axis-library-viewer-results,.axis-library-viewer-results-toggle{display:none !important}
    .axis-library-viewer-search-voice{display:none !important}

    .axis-library-viewer-search-field{
        gap:3px;
        height:25px;
        padding:0 5px;
        border-radius:6px;
    }

    .axis-library-viewer-search-field svg{
        flex-basis:9px;
        width:9px;
        height:9px;
    }

    .axis-library-viewer-search-field input{
        font-size:6.5px;
    }

    .axis-library-viewer-search-field input::placeholder{
        font-size:6px;
    }

    .axis-library-viewer-search-nav{
        height:25px;
        border-radius:6px;
        font-size:6px;
    }

    .axis-library-viewer-search-nav{
        width:24px;
        font-size:14px;
    }

    .axis-library-viewer-search output{
        height:25px;
        font-size:5.5px;
    }

    .axis-library-viewer-search-page{
        grid-column:1 / -1;
        min-height:8px;
        padding-left:2px;
        font-size:5.5px;
    }

    .axis-library-viewer-page-stack{
        gap:5px;
        padding:4px 2px;
    }

    .axis-library-viewer-status{
        min-height:20px;
        padding:3px 6px;
        font-size:5.5px;
    }

    .axis-library-viewer-status > span:first-child,
    .axis-library-viewer-status > span:last-child{
        display:none;
    }

    .axis-library-viewer-status{
        justify-content:center;
        gap:5px;
    }

    .axis-library-viewer-zoom,
    .axis-library-viewer-page-nav{
        gap:3px;
    }

    .axis-library-viewer-zoom button,
    .axis-library-viewer-page-nav button{
        width:22px;
        height:20px;
    }

    .axis-library-viewer-zoom #axisLibraryViewerZoomReset{
        width:35px;
        height:20px;
        font-size:5.5px;
    }
}

@media (prefers-reduced-motion:reduce){
    .axis-library-document,
    .axis-library-viewer-control,
    .axis-library-viewer-close,
    .axis-library-viewer-search-nav,
    .axis-library-viewer-search-field,
    .axis-pdf-search-hit{
        transition:none !important;
    }

    .axis-library-viewer-loading span{
        animation:none;
    }
}

/* Native iOS keeps a single AXIS close button below the system status area. */
.axis-library-viewer.is-ios-overlay{
    padding:calc(env(safe-area-inset-top,0px) + 8px)
        calc(env(safe-area-inset-right,0px) + 8px)
        calc(env(safe-area-inset-bottom,0px) + 8px)
        calc(env(safe-area-inset-left,0px) + 8px);
}
.axis-library-viewer.is-ios-overlay #axisLibraryViewerFullscreen{
    display:none;
}

/* Prevent iOS focus zoom without disabling user-controlled zoom. */
body .axis-library-viewer.is-ios-overlay #axisLibraryViewerSearchInput{
    font-size:16px;
}
body .axis-library-viewer.is-ios-overlay #axisLibraryViewerSearchInput::placeholder{
    font-size:inherit;
}

/* The PDF owns pinch zoom; browser panning must not scale the modal chrome. */
.axis-library-viewer.is-ios-overlay{
    touch-action:pan-x pan-y;
    overflow:hidden;
    overscroll-behavior:none;
}

/* Constrain the modal independently of the PDF's intrinsic page dimensions.
   Dynamic viewport units follow portrait/landscape without growing the page. */
.axis-library-viewer.is-ios-overlay{
    inset:0 auto auto 0;
    width:100dvw;
    height:100dvh;
    max-width:100dvw;
    max-height:100dvh;
    box-sizing:border-box;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(0,1fr);
    contain:size layout paint;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-shell{
    grid-template-columns:minmax(0,1fr);
    max-width:100%;
    max-height:100%;
}

@media (max-width:600px) and (orientation:portrait){
    .axis-library-viewer.is-ios-overlay{
        padding:calc(env(safe-area-inset-top,0px) + 4px)
            calc(env(safe-area-inset-right,0px) + 2px)
            calc(env(safe-area-inset-bottom,0px) + 4px)
            calc(env(safe-area-inset-left,0px) + 2px);
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-page-stack{
        padding:4px 2px;
        gap:6px;
    }
}

/* Search results are opt-in in both iPhone orientations. */
.axis-library-viewer.is-ios-overlay .axis-library-viewer-workspace{
    display:block;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-stage{
    height:100%;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-results{
    display:none;
    position:absolute;
    inset:auto 7px 7px;
    max-height:min(58%,430px);
    border:1px solid rgba(74,191,249,.5);
    border-radius:14px;
    box-shadow:0 18px 46px rgba(0,0,0,.58);
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-results.is-open{
    display:grid;
    transform:none;
    opacity:1;
    pointer-events:auto;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-results header button{
    display:grid;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-results-toggle{
    display:inline-grid;
    grid-column:1 / -1;
    place-items:center;
    min-height:32px;
    border:1px solid rgba(78,194,251,.3);
    border-radius:7px;
    background:#061d32;
    color:#8edfff;
    font-size:12px;
}

/* Landscape results use the full reading height, only when explicitly opened. */
@media (orientation:landscape){
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-workspace:has(.axis-library-viewer-results.is-open){
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(230px,36%);
        grid-template-rows:minmax(0,1fr);
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results.is-open{
        position:relative;
        inset:auto;
        height:100%;
        max-height:100%;
        border:0;
        border-left:1px solid rgba(74,191,249,.5);
        border-radius:0;
        box-shadow:none;
        padding:6px 8px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results > p{
        margin:3px 0 5px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results ol{
        overscroll-behavior:contain;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-search{
        grid-template-columns:minmax(120px,1fr) 54px 34px 34px auto;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results-toggle{
        grid-column:5;
        grid-row:1;
        padding:4px 8px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-search-page{
        display:none;
    }
}

@media (orientation:landscape){
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results header{
        min-height:26px;
        gap:4px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results header strong{
        font-size:11px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results header button{
        width:26px;
        height:26px;
        min-height:26px;
        padding:0;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results > p{
        margin:2px 0 4px;
        font-size:9px;
        line-height:12px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results ol{
        gap:3px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results li button{
        grid-template-columns:16px minmax(0,1fr) auto;
        gap:4px;
        height:34px;
        min-height:34px;
        padding:3px 5px;
        border-radius:6px;
        align-items:center;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results li span{
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
        font-size:10px;
        line-height:12px;
    }
    .axis-library-viewer.is-ios-overlay .axis-library-viewer-results-clear{
        height:26px;
        min-height:26px;
        margin-top:4px;
        padding:2px 6px;
        font-size:11px;
        line-height:16px;
        border-radius:6px;
    }
}

/* Keep iPhone reading controls compact in either orientation. */
.axis-library-viewer.is-ios-overlay .axis-library-viewer-toolbar{
    min-height:38px;
    padding:3px 8px;
    gap:8px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-identity{gap:7px}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-mark{
    flex-basis:28px;width:28px;height:28px;border-radius:7px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-mark svg{width:18px;height:18px}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-copy small{
    font-size:8px;line-height:10px;margin-bottom:1px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-copy strong{font-size:13px;line-height:16px}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-close{
    width:32px;height:32px;min-height:32px;padding:0;font-size:20px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-search{
    min-height:38px;padding:3px 6px;gap:4px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-search-field{height:32px;padding:0 6px}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-search > button{
    height:32px;min-height:32px;padding:2px 5px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-search output{
    height:28px;min-height:28px;padding:2px 4px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-status{
    min-height:34px;padding:2px 6px;gap:6px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-status button{
    height:28px;min-height:28px;padding:0 4px;
}
.axis-library-viewer.is-ios-overlay .axis-library-viewer-page-nav strong{
    height:26px;min-height:26px;
}

/* Soft blue search markers and a compact, truly circular dismiss control. */
body .axis-library-viewer .axis-pdf-search-hit{
    border:0;
    border-radius:0;
    background:rgba(77,181,255,.2);
    box-shadow:none;
}
body .axis-library-viewer .axis-pdf-search-hit.is-active,
body .axis-library-viewer .axis-pdf-search-hit.is-reading{
    border:0;
    border-radius:0;
    background:linear-gradient(180deg,rgba(98,199,255,.32),rgba(64,157,245,.16));
    box-shadow:none;
}
body .axis-library-viewer .axis-pdf-search-hit.is-dismissed{background:transparent}
body .axis-library-viewer .axis-pdf-search-hit-close{
    width:18px;height:18px;
    min-width:18px;min-height:18px;
    max-width:18px;max-height:18px;
    box-sizing:border-box;
    padding:0;
    aspect-ratio:1;
    border:1px solid #64cfff;
    border-radius:50%;
    margin:-10px 0 0 2px;
    background:#06243d;
    box-shadow:0 0 6px rgba(57,180,255,.55);
}
body .axis-library-viewer .axis-pdf-search-hit-close::before,
body .axis-library-viewer .axis-pdf-search-hit-close::after{
    width:7px;height:1px;
    background:#a1e4ff;
    box-shadow:0 0 3px rgba(65,186,255,.5);
}
body .axis-library-viewer .axis-pdf-search-hit-close:hover,
body .axis-library-viewer .axis-pdf-search-hit-close:focus-visible{
    background:#0a3657;
    border-color:#a1e4ff;
    box-shadow:0 0 8px rgba(57,180,255,.65);
}

@media (orientation:portrait){
    .axis-library-viewer.is-ios-overlay{
        padding-top:calc(env(safe-area-inset-top,0px) + 4px);
    }
}

/* Independent overlay: detail tiles cannot cover search text or its close button. */
.axis-pdf-page-annotations{
    position:absolute;
    inset:0 auto auto 0;
    transform-origin:0 0;
    z-index:2;
    pointer-events:none;
}
.axis-pdf-page-annotations .axis-pdf-text-layer,
.axis-pdf-page-annotations .axis-pdf-search-hit-close{
    pointer-events:auto;
}

/* Desktop results follow the same explicit open/close state as the mobile viewer. */
@media (min-width:768px){
    .axis-library-viewer:not(.is-ios-overlay) .axis-library-viewer-workspace{grid-template-columns:minmax(0,1fr)}
    .axis-library-viewer:not(.is-ios-overlay) .axis-library-viewer-workspace:has(.axis-library-viewer-results.is-open){grid-template-columns:minmax(0,1fr) minmax(245px,300px)}
    .axis-library-viewer:not(.is-ios-overlay) .axis-library-viewer-results{display:none}
    .axis-library-viewer:not(.is-ios-overlay) .axis-library-viewer-results.is-open{display:grid}
    .axis-library-viewer:not(.is-ios-overlay) .axis-library-viewer-results header button{display:grid;place-items:center}
    .axis-library-viewer:not(.is-ios-overlay) .axis-library-viewer-results-toggle{display:inline-grid;place-items:center;min-height:32px;padding:6px 10px;border:1px solid rgba(78,194,251,.3);border-radius:7px;background:#061d32;color:#8edfff;font:inherit;cursor:pointer}
}

.axis-library-browser-reader{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;white-space:nowrap}
.axis-library-browser-reader[hidden]{display:none!important}

.axis-library-reader-retry{margin:10px;padding:10px 16px;min-height:44px;border:1px solid #64c8ff;border-radius:10px;background:#124e76;color:#f0f9ff;font:600 13px system-ui;cursor:pointer}

/* Reserve scroll geometry without displaying blank paper or unfinished canvases. */
.axis-pdf-page.is-placeholder{visibility:hidden;background:transparent;box-shadow:none}
