.password-control{position:relative;display:block;width:100%;min-width:0}.password-control>input{width:100%;padding-right:46px!important}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:34px;border:0;border-radius:6px;background:#e7eff8;color:#285f95;cursor:pointer;padding:6px}.password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed=true] .eye-slash{display:block}.password-toggle:hover{background:#cce0f5}.password-toggle:focus-visible{outline:3px solid #2874bd;outline-offset:2px}
.photo-dialog{border:1px solid #a8bed5;border-radius:12px;padding:0;width:min(900px,calc(100vw - 28px));max-height:calc(100dvh - 28px);background:#f4f7fb;color:#173451;box-shadow:0 20px 90px #00142c66}.photo-dialog::backdrop{background:#03152bbf}.photo-dialog header,.photo-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 16px;background:#e5eef8}.photo-dialog header{border-bottom:1px solid #bfcee0}.photo-dialog header strong{font-size:15px}.photo-dialog footer{border-top:1px solid #bfcee0}.photo-dialog footer a{color:#145d9c;text-decoration:underline;font-size:14px}.photo-dialog img{display:block;max-width:100%;max-height:calc(100dvh - 140px);width:auto;height:auto;object-fit:contain;margin:12px auto}.photo-dialog img[hidden],.photo-dialog p[hidden]{display:none}.photo-dialog [data-photo-status]{padding:20px;margin:0}.photo-close{width:34px;height:34px;border:1px solid #95b0cb;border-radius:7px;background:#fff;color:#284d71;font-size:25px;cursor:pointer}
.photo-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;height:min(860px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);width:min(900px,calc(100vw - 24px));overflow:hidden}
.photo-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.photo-dialog .photo-body{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;padding:8px;overflow:hidden}
.photo-dialog .photo-body img{display:block;width:100%;height:100%;max-height:100%;max-width:100%;min-height:0;min-width:0;object-fit:contain;margin:0}
.photo-dialog .photo-body img[hidden]{display:none}.photo-dialog header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.photo-dialog .photo-close{flex-shrink:0}

/* Thumbnail bounds are shared by every admin module, independent of optional themes. */
.mng-app .pvl-admin-photo{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:48px;height:56px;min-width:48px;max-width:48px;overflow:hidden;border:1px solid #bed0e2;border-radius:7px;background:#edf3f9;padding:3px;vertical-align:middle;cursor:zoom-in}
.mng-app .pvl-admin-photo img{display:block;box-sizing:border-box;width:40px;height:48px;max-width:40px;max-height:48px;object-fit:contain;border-radius:3px}
.mng-app td img:not([data-unbounded-image]){max-width:96px;max-height:72px;object-fit:contain}
.mng-app .media-thumb{display:inline-flex;width:48px;height:48px;overflow:hidden;flex-shrink:0;align-items:center;justify-content:center}
.mng-app .media-thumb img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.photo-viewer-open{overflow:hidden}
.mng-menu-count.is-empty{background:#e5edf5;color:#61758a}
.mng-menu-count{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:2px 6px;border-radius:999px;background:#f5c348;color:#132b42;font-size:11px;font-weight:700;line-height:1.2;flex-shrink:0}.sidebar-collapsed .mng-sidebarlink{position:relative}.sidebar-collapsed .mng-menu-count{position:absolute;right:1px;top:1px;min-width:17px;min-height:17px;padding:1px 4px;font-size:10px}
.league-record-count{display:inline-flex;margin-top:6px;padding:4px 9px;border-radius:6px;background:#e8f1fa;color:#235e93;font-size:13px;font-weight:600}
.league-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.league-metric{display:flex;flex-direction:column;gap:9px;min-width:0;padding:20px;border:1px solid #c6d5e4;border-radius:10px;background:#fff;color:#173451}.league-metric:hover{border-color:#337ab7;text-decoration:none;background:#f7fbff}.league-metric>span{font-size:13px;font-weight:600}.league-metric strong{font-size:34px;line-height:1.1}.league-metric small{color:#60758a;overflow-wrap:anywhere;font-size:12px}.league-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.league-overview-grid>.panel{min-width:0;margin:0}.league-overview-grid .panel-heading{gap:12px}.league-overview-grid h2{font-size:18px}.league-pending-total{min-width:28px;padding:5px 9px;border-radius:99px;background:#f5c348;color:#142c43;text-align:center;font-weight:700}.league-queue{list-style:none;padding:0;margin:0}.league-queue li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #e0e8f0;overflow-wrap:anywhere}.league-queue li:last-child{border:0}.league-queue li>strong{flex-shrink:0;min-width:24px;text-align:right}.league-queue time{color:#61758a;font-size:12px;flex-shrink:0}.league-recent{grid-column:1/-1}
@media(max-width:1050px){.league-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.league-overview-grid{grid-template-columns:minmax(0,1fr)}.league-summary{gap:8px}.league-metric{padding:13px;gap:7px}.league-metric strong{font-size:28px}.league-metric>span{font-size:12px}.league-queue li{gap:10px;align-items:flex-start}.league-recent .league-queue li{flex-direction:column;gap:4px}}
.photo-dialog [hidden]{display:none!important}
.mng-app table .pvl-admin-photo img{width:40px;height:48px}
.mng-app .media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:12px;padding:12px}
.mng-app .media-tile{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:8px;min-width:0;border:1px solid #c8d5e3;border-radius:8px;padding:10px}
.mng-app .media-tile-info{min-width:0;overflow-wrap:anywhere}.mng-app .media-tile-info small{display:block}.mng-app .media-copy{grid-column:1/-1;display:flex;align-items:center;gap:6px;min-width:0}.mng-app .media-copy input{min-width:0;flex:1;width:0}
.photo-dialog .photo-body{display:block;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}
.photo-canvas{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%}
.photo-dialog .photo-canvas img{display:block;flex-shrink:0;max-width:none;max-height:none;object-fit:contain}
.photo-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}
.photo-tools button,.photo-dialog .photo-close{display:inline-grid;place-items:center;width:40px;min-width:40px;height:40px;padding:0;border:1px solid #a6bdd4;border-radius:7px;background:#fff;color:#173451;font-size:20px;cursor:pointer}
.photo-tools button[disabled]{opacity:.4;cursor:default}.photo-tools [data-photo-fit]{width:auto;padding:0 10px;font-size:13px}
.photo-dialog button:focus-visible,.pvl-admin-photo:focus-visible{outline:3px solid #2874bd;outline-offset:2px}
@media(max-width:480px){.photo-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.photo-dialog header,.photo-dialog footer{padding:8px;gap:8px}.photo-dialog footer{flex-wrap:wrap}.photo-dialog .photo-close{width:44px;height:44px}.photo-dialog .photo-body{padding:4px}}
