/* Insight image lightbox */
main.ledger-page img, main.fred-slothy-series-page img { cursor: zoom-in; }
.insight-image-trigger { all:unset; box-sizing:border-box; width:100%; position:relative; display:block; overflow:hidden; cursor:zoom-in; }
.insight-image-trigger:focus-visible { outline:3px solid #f15a24; outline-offset:3px; }
.insight-image-trigger>span { position:absolute; right:10px; bottom:10px; padding:9px 12px; background:rgba(23,38,48,.92); color:#fff; font:800 9px Inter; letter-spacing:.08em; text-transform:uppercase; pointer-events:none; }
.insight-lightbox-open { overflow:hidden; }
.insight-image-lightbox { position:fixed; inset:0; z-index:2147483000; padding:3vh 2vw; display:none; place-items:center; background:rgba(10,24,32,.9); backdrop-filter:blur(6px); }
.insight-image-lightbox.is-open { display:grid; }
.insight-image-lightbox-shell { height:100%; display:grid; grid-template-rows:auto minmax(0,1fr) auto; background:#f7f5f1; border-top:4px solid #f15a24; box-shadow:0 28px 90px rgba(0,0,0,.42); }
.insight-image-lightbox-shell { width:min(96vw,1600px); height:min(94vh,1100px); overflow:hidden; }
.insight-image-lightbox header { min-height:60px; padding:0 18px 0 24px; display:flex; align-items:center; justify-content:space-between; background:#142630; color:#fff; }
.insight-image-lightbox header span { color:#ff6a2d; font-weight:850; letter-spacing:.12em; }
.insight-image-lightbox header button { width:42px; height:42px; border:1px solid #fff; background:transparent; color:#fff; font-size:1.5rem; cursor:pointer; }
.insight-image-lightbox-stage { min-height:0; padding:18px; display:grid; place-items:center; overflow:auto; background:#202d34; }
.insight-image-lightbox-stage img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; cursor:default; }
.insight-image-lightbox footer { min-height:50px; padding:15px 24px; background:#fff; color:#526873; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; }

/* AP automatic import and validation activity */
.ap-operation-region { position:relative; }
.ap-operation-busy { min-height:118px; margin:16px 0; padding:22px 26px; display:flex; align-items:center; gap:18px; border:1px solid #aebbc0; border-top:4px solid #f15a24; background:#f3f0eb; color:#142630; }
.ap-operation-busy small { display:block; color:#f15a24; font-weight:850; letter-spacing:.12em; }
.ap-operation-busy b { display:block; margin-top:5px; font-size:1.08rem; }
.ap-operation-busy .gage-loader-mark { flex:0 0 auto; }
.ap-file-drop { position:relative; min-height:124px; margin-top:16px; padding:22px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:2px dashed #96a5ac; background:#faf9f6; text-align:center; cursor:pointer; }
.ap-file-drop:hover { border-color:#f15a24; background:#fff6f1; }
.ap-file-drop input[type=file] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.ap-file-drop b { color:#142630; }
.ap-file-drop span { margin-top:5px; color:#60727b; font-size:.75rem; }
.ap-file-drop.disabled { opacity:.55; pointer-events:none; }

@media(max-width:720px) {
    .insight-image-lightbox { padding:0; }
    .insight-image-lightbox-shell { width:100vw; height:100vh; }
    .insight-image-lightbox-stage { padding:8px; }
}

.insight-image-loading{padding:40px 24px;text-align:center;color:#17364b;background:#edf4fa;font-weight:600;border-radius:8px}
.insight-image-loading[hidden]{display:none}

