#pv-root{--pv-black:#202020;--pv-border:#e2e2e2;--pv-muted:#6d6d6d;--pv-canvas:#f6f6f6;--pv-paper:white;position:fixed;inset:0;z-index:1001;background:var(--pv-canvas);color:#222;font-family:Inter,Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;overflow:hidden;color-scheme:light}
#pv-root *{box-sizing:border-box}#pv-root button,#pv-root select,#pv-root input,#pv-root textarea{font:inherit;color:inherit}#pv-root button{cursor:pointer}#pv-root button:focus-visible,#pv-root select:focus-visible,#pv-root textarea:focus-visible,#pv-root input:focus-visible{outline:2px solid #555;outline-offset:2px}
#pv-root[hidden]{display:none!important}#pv-root .pv-layout{height:100%;display:flex;min-height:0}#pv-root .pv-side{width:250px;flex:0 0 250px;display:flex;flex-direction:column;gap:5px;background:#fff;border-right:1px solid var(--pv-border);padding:24px 12px 16px;overflow-y:auto}#pv-root .pv-logo{display:flex;align-items:center;gap:11px;padding:7px 12px;margin-bottom:25px}#pv-root .pv-logo-mark{height:40px;width:40px;border-radius:11px;background:#393939;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:800}#pv-root .pv-logo b{display:block;font-size:19px;letter-spacing:-.04em}#pv-root .pv-logo small{font-size:11px;color:var(--pv-muted)}#pv-root .pv-side-label{margin:0 10px 8px;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#999;font-weight:750}#pv-root .pv-nav{display:flex;align-items:center;gap:12px;border:0;width:100%;background:transparent;color:#444;text-align:left;border-radius:10px;padding:12px;font-weight:620;font-size:13px}#pv-root .pv-nav:hover{background:#f4f4f4}#pv-root .pv-nav[aria-current=page]{background:#444;color:#fff}#pv-root .pv-nav svg{height:18px;width:18px;flex:none}#pv-root .pv-sidebar-bottom{margin-top:auto;padding:12px 10px;font-size:11px;color:#777;line-height:1.6}#pv-root .pv-main{min-width:0;flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:28px clamp(18px,3.4vw,47px) 48px}#pv-root .pv-wrap{max-width:1190px;margin:auto}#pv-root .pv-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}#pv-root .pv-top h1{font-size:27px;line-height:1.2;letter-spacing:-.05em;margin:4px 0 5px;font-weight:800}#pv-root .pv-top p{color:#777;font-size:12px;margin:0;line-height:1.4}#pv-root .pv-top-actions{display:flex;gap:9px;align-items:center}#pv-root .pv-chip{border:1px solid #d1d1d1;border-radius:100px;background:#fff;padding:7px 11px;font-size:10px;letter-spacing:.03em;color:#555;font-weight:680;white-space:nowrap}#pv-root .pv-button{min-height:38px;padding:8px 14px;border-radius:10px;border:1px solid #d4d4d4;background:#fff;font-size:12px;font-weight:660;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;white-space:nowrap}#pv-root .pv-button:hover{background:#f1f1f1}#pv-root .pv-button.pv-primary{background:#2563EB;border-color:#2563EB;color:white}#pv-root .pv-button.pv-primary:hover{background:#111}#pv-root .pv-button:disabled{opacity:.5;cursor:not-allowed}#pv-root .pv-button.pv-large{min-height:47px;font-size:13px}#pv-root .pv-button.pv-full{width:100%}#pv-root .pv-panel{background:#fff;border:1px solid #e0e0e0;border-radius:16px;min-width:0;overflow:hidden}#pv-root .pv-panel-padded{padding:22px}#pv-root .pv-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:16px}#pv-root .pv-section-head h2{font-size:16px;letter-spacing:-.025em;margin:0;font-weight:760}#pv-root .pv-section-head p{font-size:11px;color:#777;margin:5px 0 0;line-height:1.5}#pv-root .pv-muted{color:#777}#pv-root .pv-label{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#8a8a8a;font-weight:720}#pv-root .pv-value{font-size:13px;font-weight:690;margin:5px 0 0;line-height:1.45;overflow-wrap:anywhere}#pv-root .pv-banner{border-radius:13px;border:1px solid #e0e0e0;background:#ebebeb;padding:23px 24px;margin-bottom:16px;display:flex;gap:16px;align-items:center}#pv-root .pv-banner b{font-size:20px;letter-spacing:-.03em}#pv-root .pv-banner p{color:#595959;font-size:12px;line-height:1.6;margin:5px 0 0}#pv-root .pv-banner .pv-avatar{width:57px;height:57px;border-radius:15px;background:#555;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:800;flex:none}#pv-root .pv-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}#pv-root .pv-stat{padding:17px;min-height:106px}#pv-root .pv-stat span{color:#747474;display:block;font-size:11px}#pv-root .pv-stat b{font-size:24px;line-height:1.25;letter-spacing:-.045em;display:block;margin-top:11px}#pv-root .pv-stat small{font-size:10px;color:#888}#pv-root .pv-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.95fr);gap:16px;align-items:stretch}#pv-root .pv-stack{display:grid;gap:16px;align-content:start}#pv-root .pv-placement{display:grid;grid-template-columns:1fr 1fr;gap:19px 16px}#pv-root .pv-placement .pv-wide{grid-column:1/-1}#pv-root .pv-divider{border:0;border-top:1px solid #ededed;margin:16px 0}#pv-root .pv-status{display:inline-flex;align-items:center;gap:6px;border-radius:100px;background:#eee;color:#4a4a4a;padding:6px 10px;font-size:10px;font-weight:750}#pv-root .pv-status.pv-dark{background:#474747;color:#fff}#pv-root .pv-state-box{border:1px solid #e5e5e5;border-radius:13px;padding:17px;background:#fafafa}#pv-root .pv-state-box h3{font-size:17px;margin:8px 0 5px;letter-spacing:-.03em}#pv-root .pv-state-box p{font-size:12px;color:#686868;line-height:1.6;margin:5px 0 12px}#pv-root .pv-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:680;color:#464646;margin-bottom:12px}#pv-root .pv-field input,#pv-root .pv-field textarea,#pv-root .pv-field select{width:100%;border:1px solid #d3d3d3;background:#fff;border-radius:10px;padding:11px 12px;font-size:12px;outline-offset:1px;min-width:0}#pv-root .pv-field textarea{min-height:90px;resize:vertical;line-height:1.55}#pv-root .pv-field small{font-weight:450;color:#888;font-size:11px}#pv-root .pv-activity{display:grid;gap:0}#pv-root .pv-activity-item{padding:12px 0;border-bottom:1px solid #ededed;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center}#pv-root .pv-activity-item:last-child{border-bottom:0;padding-bottom:3px}#pv-root .pv-round{height:37px;width:37px;border-radius:11px;background:#f2f2f2;color:#555;display:grid;place-items:center;font-weight:720;font-size:14px}#pv-root .pv-activity-item strong{font-size:12px;line-height:1.5;display:block}#pv-root .pv-activity-item small{font-size:11px;color:#888;display:block;margin-top:4px;line-height:1.4}#pv-root .pv-activity-time{font-size:10px;color:#8b8b8b;text-align:right;white-space:nowrap}#pv-root .pv-alert{border:1px solid #d4d4d4;border-radius:11px;padding:12px 14px;background:#f5f5f5;color:#555;font-size:12px;line-height:1.6;margin-bottom:14px}#pv-root .pv-notice{font-size:11px;color:#777;line-height:1.55}#pv-root .pv-kv{display:grid;grid-template-columns:110px minmax(0,1fr);gap:6px 14px;font-size:12px;line-height:1.5}#pv-root .pv-kv dt{color:#888;padding:7px 0}#pv-root .pv-kv dd{margin:0;font-weight:620;padding:7px 0;overflow-wrap:anywhere}#pv-root .pv-records{width:100%;border-collapse:collapse;font-size:12px}#pv-root .pv-records th{text-align:left;background:#f5f5f5;font-size:10.5px;color:#555;font-weight:750;padding:13px 12px}#pv-root .pv-records td{padding:15px 12px;border-bottom:1px solid #eee;font-size:11.5px;color:#444;line-height:1.5}#pv-root .pv-records tr:last-child td{border-bottom:0}#pv-root .pv-record-cards{display:none;gap:10px}#pv-root .pv-record-card{border:1px solid #e4e4e4;border-radius:11px;padding:12px;font-size:12px}#pv-root .pv-record-card strong{display:block;margin-bottom:5px}#pv-root .pv-record-card p{font-size:11px;color:#777;margin:5px 0}#pv-root .pv-scenario-bar{display:flex;gap:13px;align-items:center;justify-content:space-between;margin-bottom:19px;border:1px dashed #bdbdbd;background:#fff;border-radius:13px;padding:12px 16px}#pv-root .pv-scenario-desc{font-size:11px;line-height:1.5;color:#777;max-width:550px}#pv-root .pv-scenario-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#pv-root .pv-scenario-picker label{font-size:11px;font-weight:720;white-space:nowrap}#pv-root .pv-scenario-picker select{background:#fff;border:1px solid #c7c7c7;border-radius:9px;padding:10px 12px;font-size:12px;min-height:40px;max-width:100%}#pv-root .pv-empty{padding:22px;border:1px dashed #d5d5d5;border-radius:11px;text-align:center;color:#777;font-size:12px;line-height:1.5}#pv-root .pv-form-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}#pv-root .pv-photo-example{display:flex;gap:8px;margin:12px 0}#pv-root .pv-photo{border:1px dashed #d0d0d0;background:#ececec;border-radius:11px;width:94px;height:84px;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;color:#777;font-size:10px;line-height:1.5}#pv-root .pv-progress{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:15px}#pv-root .pv-progress>div{background:#f4f4f4;border:1px solid #e1e1e1;padding:13px;border-radius:10px}#pv-root .pv-progress span{display:block;font-size:11px;color:#777}#pv-root .pv-progress b{display:block;font-size:15px;margin-top:6px;white-space:nowrap}#pv-root .pv-mobile-nav{display:none}#pv-admin-return{position:fixed;z-index:1011;bottom:18px;right:18px;background:#262626;color:#fff;border:0;border-radius:12px;padding:13px 17px;box-shadow:0 6px 30px #0003;font-weight:700;font-size:12px;cursor:pointer}#pv-admin-return[hidden]{display:none!important}
@media(max-width:1100px){#pv-root .pv-side{width:205px;flex-basis:205px}#pv-root .pv-main{padding:22px}#pv-root .pv-grid{grid-template-columns:1fr}#pv-root .pv-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#pv-root .pv-scenario-bar{flex-direction:column;align-items:stretch}#pv-root .pv-scenario-desc{max-width:none}}
@media(max-width:740px){#pv-root .pv-side{display:none}#pv-root .pv-main{padding:16px 13px 95px;scrollbar-gutter:auto}#pv-root .pv-top{align-items:flex-start;gap:8px;margin-bottom:17px}#pv-root .pv-top h1{font-size:22px}#pv-root .pv-top-actions{flex-direction:column-reverse;align-items:flex-end;gap:6px}#pv-root .pv-top-actions .pv-button{font-size:10px;min-height:31px;padding:6px 9px}#pv-root .pv-chip{padding:6px 8px;font-size:9px}#pv-root .pv-banner{padding:15px;gap:10px}#pv-root .pv-banner b{font-size:16px}#pv-root .pv-banner p{font-size:11px}#pv-root .pv-banner .pv-avatar{height:44px;width:44px;border-radius:11px;font-size:14px}#pv-root .pv-panel-padded{padding:16px}#pv-root .pv-stats{gap:9px;margin-bottom:12px}#pv-root .pv-stat{padding:13px;min-height:91px}#pv-root .pv-stat b{font-size:20px;margin-top:7px}#pv-root .pv-grid,#pv-root .pv-stack{gap:12px}#pv-root .pv-section-head{margin-bottom:13px}#pv-root .pv-placement{gap:14px}#pv-root .pv-mobile-nav{display:grid;position:absolute;bottom:0;left:0;right:0;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid #dadada;padding:9px 5px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 18px #00000008}#pv-root .pv-mobile-nav .pv-nav{display:flex;flex-direction:column;gap:5px;padding:8px 2px;border-radius:9px;text-align:center;justify-content:center;min-height:53px;font-size:10px}#pv-root .pv-mobile-nav .pv-nav svg{width:19px;height:19px}#pv-root .pv-records{display:none}#pv-root .pv-record-cards{display:grid}#pv-root .pv-progress{grid-template-columns:1fr 1fr 1fr;gap:5px}#pv-root .pv-progress>div{padding:10px 8px}#pv-root .pv-progress b{font-size:12px}#pv-root .pv-form-row .pv-button{flex:1}}
@media(max-width:370px){#pv-root .pv-top-actions .pv-chip{display:none}#pv-root .pv-top h1{font-size:20px}#pv-root .pv-placement{grid-template-columns:1fr 1fr}#pv-root .pv-photo{width:75px;height:70px}#pv-root .pv-kv{grid-template-columns:90px 1fr}#pv-root .pv-scenario-picker select{width:100%}#pv-root .pv-scenario-picker{display:block}#pv-root .pv-scenario-picker label{display:block;margin-bottom:6px}}


/* Keep the preview-return shortcut behind all admin modals and photo zooms. */
#pv-admin-return{z-index:50}
/* Tahap 3 minor UI review: Presensi Hari Ini only. No business-flow changes. */
#pv-root .pv-button.pv-demo-secondary{background:#fff;color:#333;border:1px solid #bcbcbc;font-size:11.5px;font-weight:620;min-height:39px;padding:8px 12px}
#pv-root .pv-button.pv-demo-secondary:hover{background:#f0f0f0}
#pv-root .pv-state-box h3{margin:10px 0 16px;line-height:1.35}
#pv-root .pv-state-box > .pv-button.pv-presensi-primary{min-height:42px;height:auto;padding:10px 13px;border-radius:10px;font-size:12px;font-weight:680;letter-spacing:0;line-height:1.35;gap:9px;margin-top:1px}
#pv-root .pv-presensi-primary svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 17px}
#pv-root .pv-state-box:has(>.pv-button.pv-presensi-primary){padding:16px}
@media(max-width:740px){#pv-root .pv-state-box > .pv-button.pv-presensi-primary{min-height:43px}}

/* v1.7.2 — Portal Peserta only: selected report + revision proposal modal. */
#pv-root .pv-records tr.pv-selected-row td{background:#f8f8f8}
#pv-root .pv-records .pv-record-action{white-space:nowrap;text-align:right}
#pv-root .pv-button.pv-sm{min-height:34px;padding:6px 10px;font-size:11px}
#pv-root .pv-record-card.pv-selected-card{border-color:#969696;background:#fafafa}
#pv-root .pv-record-card .pv-button{margin-top:9px}
#pv-root .pv-report-intro{margin:0 0 13px;font-size:11px;color:#777;line-height:1.5}
#pv-root .pv-report-copy{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#414141;margin:5px 0}
#pv-root .pv-report-photo-list{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}
#pv-root .pv-report-photo-list .pv-report-photo{width:100px;min-height:85px;border:1px dashed #cfcfcf;border-radius:11px;background:#f4f4f4;display:grid;place-items:center;text-align:center;padding:8px;font-size:10px;color:#666}
#pv-root .pv-review-status{border:1px solid #dedede;border-radius:11px;background:#fafafa;padding:13px 15px;margin-top:15px}
#pv-root .pv-review-status strong{display:block;font-size:12px;margin-bottom:6px}
#pv-root .pv-review-status p{font-size:11px;line-height:1.6;color:#565656;margin:5px 0;overflow-wrap:anywhere}
#pv-root .pv-review-status .pv-proposed{white-space:pre-wrap}
#pv-root .pv-review-note{font-size:11px;color:#777;line-height:1.6;margin:10px 0}
#pv-root #pv-revision-modal[hidden]{display:none!important}
#pv-root #pv-revision-modal{position:absolute;inset:0;z-index:45;display:flex;align-items:center;justify-content:center;background:#0008;padding:16px}
#pv-root .pv-revision-dialog{width:min(595px,100%);max-height:min(92dvh,900px);min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid #dedede;border-radius:18px;box-shadow:0 24px 75px #0003;overflow:hidden}
#pv-root .pv-revision-head{padding:18px 20px 15px;display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid #ebebeb}
#pv-root .pv-revision-head h2{font-size:20px;letter-spacing:-.04em;margin:5px 0 5px}
#pv-root .pv-revision-head p{font-size:11px;color:#707070;line-height:1.5;margin:0}
#pv-root .pv-revision-close{flex:0 0 34px;width:34px;height:34px;border:0;border-radius:9px;background:#f1f1f1;font-size:22px;line-height:1}
#pv-root .pv-revision-form{min-height:0;display:flex;flex-direction:column}
#pv-root .pv-revision-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:17px 20px 21px}
#pv-root .pv-revision-lock{background:#f7f7f7;border:1px solid #e2e2e2;border-radius:11px;padding:12px;font-size:11px;line-height:1.55;color:#565656;margin:0 0 16px}
#pv-root .pv-revision-subhead{font-size:12px;margin:13px 0 5px;font-weight:750}
#pv-root .pv-revision-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 13px}
#pv-root .pv-revision-photo{min-width:0;border:1px solid #dedede;border-radius:11px;padding:11px;display:flex;flex-direction:column;gap:8px}
#pv-root .pv-revision-photo-thumb{min-height:75px;border:1px dashed #d7d7d7;border-radius:9px;background:#f4f4f4;display:flex;justify-content:center;align-items:center;text-align:center;padding:9px;color:#666;font-size:11px;line-height:1.4;word-break:break-word}
#pv-root .pv-revision-photo label{font-size:11px;font-weight:650;color:#444}
#pv-root .pv-revision-form textarea{font-weight:450;line-height:1.55}
#pv-root .pv-revision-photo select,#pv-root .pv-revision-photo input[type=file]{max-width:100%;width:100%;background:#fff;border:1px solid #d3d3d3;border-radius:8px;padding:9px 8px;font-size:11px;min-height:38px}
#pv-root .pv-revision-photo input[type=file]{font-size:10px}
#pv-root .pv-revision-error{color:#873434;font-size:11px;line-height:1.5;margin:7px 0 0}
#pv-root .pv-revision-error:empty{display:none}
#pv-root .pv-revision-footer{padding:12px 20px;border-top:1px solid #ebebeb;background:#fff;display:flex;justify-content:flex-end;gap:9px}
#pv-root .pv-revision-footer .pv-button{min-height:44px}
@media(max-width:740px){
 #pv-root #pv-revision-modal{padding:8px;align-items:center}
 #pv-root .pv-revision-dialog{border-radius:14px;max-height:calc(100dvh - 16px)}
 #pv-root .pv-revision-head{padding:15px}
 #pv-root .pv-revision-head h2{font-size:18px}
 #pv-root .pv-revision-scroll{padding:14px 15px}
 #pv-root .pv-revision-footer{padding:11px 15px calc(11px + env(safe-area-inset-bottom))}
 #pv-root .pv-revision-footer .pv-button{flex:1}
 #pv-root .pv-record-card .pv-button{width:100%;min-height:44px}
}
@media(max-width:370px){#pv-root .pv-revision-photo-grid{grid-template-columns:1fr}}

/* v1.7.3 — Detail + photo inspection overlays. Scoped entirely to participant preview. */
#pv-root #pv-detail-modal[hidden],#pv-root #pv-photo-lightbox[hidden]{display:none!important}
#pv-root #pv-detail-modal{position:absolute;inset:0;z-index:42;display:flex;align-items:center;justify-content:center;background:#0009;padding:16px}
#pv-root .pv-detail-dialog{width:min(720px,100%);max-height:min(93dvh,920px);background:white;border:1px solid #ddd;border-radius:18px;display:flex;flex-direction:column;min-height:0;box-shadow:0 24px 70px #0004;overflow:hidden}
#pv-root .pv-detail-header{padding:18px 20px 15px;border-bottom:1px solid #ededed;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
#pv-root .pv-detail-header h2{font-size:20px;font-weight:780;letter-spacing:-.045em;margin:4px 0}
#pv-root .pv-detail-header p{font-size:12px;color:#696969;margin:0}
#pv-root .pv-detail-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px}
#pv-root .pv-detail-footer{padding:13px 20px;display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #ececec;background:white;flex-wrap:wrap}
#pv-root .pv-detail-footer .pv-button{min-height:43px}
#pv-root .pv-detail-summary{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:9px;margin-bottom:15px}
#pv-root .pv-detail-summary small{color:#777;font-size:11px}
#pv-root .pv-detail-section{border:1px solid #e4e4e4;border-radius:12px;padding:13px 15px;margin:13px 0;min-width:0}
#pv-root .pv-detail-section h3{margin:0 0 10px;font-size:13px;font-weight:750}
#pv-root .pv-detail-section .pv-report-copy{font-size:13px}
#pv-root .pv-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
#pv-root .pv-detail-meta .pv-value{font-size:12px}
#pv-root .pv-photo-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#pv-root .pv-photo-tile{display:block;border:1px solid #dedede;border-radius:11px;overflow:hidden;background:#f5f5f5;padding:0;text-align:left;min-width:0;color:#333}
#pv-root .pv-photo-tile:hover{border-color:#666;box-shadow:0 0 0 1px #777}
#pv-root .pv-photo-tile img{width:100%;height:145px;object-fit:cover;display:block;background:#eee}
#pv-root .pv-photo-tile .pv-photo-caption{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:11px;font-weight:670;color:#333}
#pv-root .pv-photo-tile .pv-photo-caption small{font-size:10px;font-weight:500;color:#666}
#pv-root .pv-photo-tile[disabled]{cursor:default}
#pv-root .pv-detail-pending{margin-top:14px}
#pv-root .pv-records td:last-child{white-space:nowrap}
#pv-root #pv-photo-lightbox{position:absolute;inset:0;z-index:60;background:#111e;display:flex;align-items:center;justify-content:center;padding:18px 14px}
#pv-root .pv-lightbox-dialog{width:min(1050px,100%);height:min(91dvh,900px);background:#1b1b1b;color:white;border:1px solid #555;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 70px #0008}
#pv-root .pv-lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #ffffff2b}
#pv-root .pv-lightbox-header b{font-size:13px;line-height:1.45;color:white}
#pv-root .pv-lightbox-header small{display:block;font-size:10px;font-weight:400;color:#ccc;margin-top:3px}
#pv-root .pv-lightbox-close{width:38px;height:38px;flex:0 0 38px;border:1px solid #777;background:#343434;color:white;border-radius:9px;font-size:24px}
#pv-root .pv-lightbox-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;gap:7px;padding:14px}
#pv-root .pv-lightbox-stage img{display:block;max-height:100%;max-width:calc(100% - 95px);width:auto;height:auto;object-fit:contain;border-radius:7px;background:#222}
#pv-root .pv-lightbox-nav{width:41px;height:43px;flex:0 0 41px;background:#393939;border:1px solid #666;border-radius:10px;color:white;font-size:28px}
#pv-root .pv-lightbox-nav:disabled{opacity:.25}
#pv-root .pv-lightbox-footer{padding:11px 15px;border-top:1px solid #ffffff24;display:flex;justify-content:space-between;gap:8px;color:#ddd;font-size:11px;line-height:1.5}
#pv-root #pv-revision-modal{z-index:45}
#pv-root .pv-revision-photo-thumb{padding:0;min-height:110px;overflow:hidden}
#pv-root .pv-revision-photo-thumb.pv-preview-available{border-style:solid;background:white}
#pv-root .pv-revision-photo-thumb .pv-photo-tile{width:100%;border:0;border-radius:8px}
#pv-root .pv-revision-photo-thumb .pv-photo-tile img{height:117px}
@media(max-width:740px){
 #pv-root #pv-detail-modal{padding:8px}
 #pv-root .pv-detail-dialog{max-height:calc(100dvh - 16px);border-radius:14px}
 #pv-root .pv-detail-header{padding:14px 15px}
 #pv-root .pv-detail-header h2{font-size:18px}
 #pv-root .pv-detail-body{padding:13px 15px}
 #pv-root .pv-detail-footer{padding:11px 15px calc(11px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr}
 #pv-root .pv-detail-footer .pv-button{width:100%;white-space:normal;text-align:center;min-height:44px}
 #pv-root .pv-detail-meta{gap:11px}
 #pv-root .pv-photo-tile img{height:120px}
 #pv-root #pv-photo-lightbox{padding:6px}
 #pv-root .pv-lightbox-dialog{height:calc(100dvh - 12px);border-radius:12px}
 #pv-root .pv-lightbox-stage{padding:7px;gap:5px}
 #pv-root .pv-lightbox-stage img{max-width:calc(100% - 64px)}
 #pv-root .pv-lightbox-nav{width:29px;flex-basis:29px;height:37px;font-size:20px}
 #pv-root .pv-lightbox-footer{font-size:10px}
}
@media(max-width:370px){#pv-root .pv-detail-meta{grid-template-columns:1fr 1fr}#pv-root .pv-photo-thumbs{gap:6px}#pv-root .pv-photo-tile img{height:93px}#pv-root .pv-photo-tile .pv-photo-caption{padding:7px 6px;font-size:10px;flex-direction:column;align-items:start}#pv-root .pv-detail-footer{grid-template-columns:1fr}}
