@font-face{font-family:Poppins;src:url('/library/assets/Poppins-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
/* Shared portal navigation, matching the original library sidebar. */
.portal-sidebar{--line:#2b3442;--text:#f5f6f8;--muted:#adb7c7;--amber:#f2b65b;--card:#171c27;box-sizing:border-box;position:fixed;inset:0 auto 0 0;width:230px;height:100vh;background:#141a24;border-right:1px solid var(--line);padding:29px 17px 20px;display:flex;flex-direction:column;overflow-y:auto;font:400 13px Poppins,sans-serif;color:var(--text)}
.portal-sidebar *{box-sizing:border-box}.portal-sidebar a{color:inherit;text-decoration:none}.portal-sidebar svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.portal-sidebar [hidden]{display:none!important}
.portal-sidebar .brand{display:flex;align-items:center;gap:10px;font-size:19px;line-height:normal;font-weight:600;letter-spacing:-.7px;white-space:nowrap;margin:0 0 35px}.portal-sidebar .brand img{display:block;width:1.85em;height:auto;aspect-ratio:4/3;object-fit:contain;flex-shrink:0}.portal-sidebar .brand-dot{color:var(--amber)}
.portal-sidebar nav{display:block!important;margin:0;padding:0;gap:0;white-space:normal;overflow:visible}.portal-sidebar .nav{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:1px solid transparent;background:none;border-radius:7px;font-size:13px;line-height:normal;font-weight:500;padding:11px 12px;margin:0 0 6px;color:#c4cddd;min-height:43px}.portal-sidebar .nav:hover{background:#1c2330;color:#fff}.portal-sidebar .nav[aria-current]{color:#f2b65b;background:#f2b65b11;border-color:#f2b65b20;box-shadow:inset 2px 0 #f2b65b}.portal-sidebar .pro-mark{margin-left:auto;font-size:8px;border:1px solid #4c5261;border-radius:4px;padding:1px 5px;line-height:1.4}
.portal-sidebar .sidebar-bottom{margin-top:auto;padding-top:0}.portal-sidebar .animation-credit{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:0 12px 10px;padding:4px 0;color:var(--muted);line-height:1.5;font-size:10px}.portal-sidebar .animation-credit>span{font-size:10px}.portal-sidebar .animation-credit strong{font-size:12px;font-weight:500;color:var(--muted)}.portal-sidebar .contact{border-top:1px solid var(--line);border-radius:0;padding-top:20px;margin-bottom:16px}
.portal-sidebar .profile-row{display:flex;gap:10px;align-items:center;margin:13px 9px 16px}.portal-sidebar .profile-row strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}.portal-sidebar .profile-row small{display:block;font-size:11px;color:var(--muted)}.portal-sidebar .avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#303b4e;color:#e4e9f2;font-size:13px;font-weight:500;flex-shrink:0;position:relative;overflow:hidden}.portal-sidebar .avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.portal-sidebar .profile-link{width:calc(100% - 6px);margin:8px 3px 12px;padding:7px 6px;border:1px solid transparent;border-radius:9px;background:none;text-align:left;color:var(--text)}.portal-sidebar .profile-link:hover{background:#f2b65b09;border-color:#f2b65b30}.portal-sidebar .profile-copy{min-width:0;flex:1}.portal-sidebar .profile-plan{display:flex!important;align-items:center;gap:5px;margin-top:3px;line-height:1.5}.portal-sidebar .profile-plan.is-pro{color:var(--amber)}.portal-sidebar .profile-plan.is-basic{color:#92c3ff}.portal-sidebar .profile-plan svg{width:14px;height:14px}.portal-sidebar .upgrade-link{display:inline-block;color:var(--amber);font-size:12px;border:0;background:none;padding:2px 0;margin:0 9px 12px}
.portal-sidebar .button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:var(--card);border-radius:8px;padding:9px 13px;font:500 12px Poppins,sans-serif;line-height:normal;color:var(--text);min-height:0;margin:0;cursor:pointer}.portal-sidebar .button.primary{background:var(--amber);border-color:var(--amber);color:#10131b}.portal-sidebar .wide{width:100%}.portal-sidebar .text-button{display:block;border:0;background:none;color:var(--amber);padding:10px;font-size:12px;text-align:center;line-height:normal}.portal-sidebar .sidebar-legal{display:flex;justify-content:center;align-items:center;gap:7px 13px;flex-wrap:wrap;margin-top:16px;padding:0}.portal-sidebar .sidebar-privacy{display:block;margin:0;font-size:9px;color:var(--muted);text-align:center}.portal-sidebar p{font-size:11px;line-height:1.6;margin:10px 0}.portal-sidebar :focus-visible{outline:2px solid var(--amber);outline-offset:4px}.portal-sidebar .portal-menu summary{display:none}.individual-page main{margin-left:230px}
@media(max-width:1250px){.portal-sidebar{width:210px;padding-left:13px;padding-right:13px}.portal-sidebar .brand{font-size:17px;gap:8px}.portal-sidebar .nav{font-size:12px;gap:9px}.individual-page main{margin-left:210px}}
@media(max-width:1000px) and (min-width:901px){.portal-sidebar{width:190px}.portal-sidebar .brand{font-size:15px}.portal-sidebar .nav{padding:10px 7px}.portal-sidebar .pro-mark{display:none}.individual-page main{margin-left:190px}}
@media(min-width:901px){.portal-sidebar .portal-menu:not([open])>nav{content-visibility:visible;display:block!important}}
@media(max-width:900px){.portal-sidebar{position:sticky;inset:auto;top:0;z-index:10;width:100%;height:auto;overflow:visible;flex-direction:row;align-items:center;justify-content:space-between;padding:20px;border-right:0;border-bottom:1px solid var(--line)}.portal-sidebar .brand{margin:0;font-size:19px}.portal-sidebar .sidebar-bottom{display:none}.portal-sidebar .portal-menu summary{display:block;cursor:pointer;color:#c4cddd;list-style:none;padding:8px;font-size:13px}.portal-sidebar .portal-menu summary:before{content:'☰';margin-right:9px}.portal-sidebar .portal-menu nav{position:absolute;right:12px;top:calc(100% - 1px);width:240px;padding:12px;background:#141a24;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 25px #0005}.portal-sidebar .portal-menu:not([open]) nav{display:none!important}.individual-page main{margin-left:0}}

.portal-sidebar .admin-panel-link{margin-bottom:12px}
