.er-cp-host{box-sizing:border-box;float:right;width:118px;margin:0 0 10px 14px;position:relative;color:#b8ccd9;font:10px/1.45 system-ui,sans-serif}
.er-app-panel-krop.er-cp-decorated::after,.kort.er-cp-decorated::after,.bbrbox.er-cp-decorated::after{content:'';display:table;clear:both}
.er-cp-thumb{position:relative;display:block;width:100%;height:91px;overflow:hidden;padding:0;border:1px solid #3f777b;border-radius:9px;background:#081722;cursor:zoom-in;box-shadow:0 5px 19px #030d1590,inset 0 0 0 1px #76e4d618}
.er-cp-thumb img{width:100%;height:100%;display:block;object-fit:contain;background:radial-gradient(ellipse at center,#173c50,#061521);transition:transform .3s ease;filter:contrast(1.035)}
.er-cp-thumb:hover img{transform:scale(1.06)}
.er-cp-thumb:has(.er-cp-outline):hover img{transform:none}
.er-cp-mini-scene{position:absolute;inset:0;transform-origin:center}
.er-cp-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.er-cp-picture{position:absolute;inset:0;transform-origin:center}
.er-cp-thumb:focus-visible,.er-cp-dialog button:focus-visible{outline:3px solid #ffe6a0;outline-offset:3px}
.er-cp-thumb::after{content:'';position:absolute;inset:5px;pointer-events:none;background:linear-gradient(#78e6dc,#78e6dc) 0 0/13px 1px no-repeat,linear-gradient(#78e6dc,#78e6dc) 0 0/1px 13px no-repeat,linear-gradient(#78e6dc,#78e6dc) 100% 100%/13px 1px no-repeat,linear-gradient(#78e6dc,#78e6dc) 100% 100%/1px 13px no-repeat;opacity:.8}
.er-cp-badge{position:absolute;bottom:4px;left:5px;right:5px;border:1px solid #83d9d346;border-radius:4px;background:#06121deb;color:#c4fcf2;font:600 9px/1.55 system-ui,sans-serif;text-align:center;letter-spacing:.05em;pointer-events:none}
.er-cp-caption{display:block;margin-top:4px;color:inherit;font-size:9px;line-height:1.4}
.er-cp-caption b{display:block;color:#d9e8ee;font-weight:600}.er-cp-caption time{color:#a9c4cf}
.er-cp-host[hidden]{display:none!important}
.md-property-visual{display:block;flex:0 0 102px;width:102px}.md-property-visual .md-property-image{width:102px;height:80px;object-fit:cover}.md-property-visual > small{display:block;font-size:9px;color:#b8ccd9}.md-property-visual[data-er-cp-ready] > .md-property-image,.md-property-visual[data-er-cp-ready] > .md-avatar,.md-property-visual[data-er-cp-ready] > small{display:none}
.md-property-head [data-er-property-photo]{float:none;display:block;width:102px;margin:0}.md-property-head [data-er-property-photo] .er-cp-thumb{height:80px}
.er-cp-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #3d8f94;border-radius:15px;color:#e6f2f5;background:#081b29;box-shadow:0 20px 100px #0009;font:14px/1.5 system-ui,sans-serif}
.er-cp-dialog::backdrop{background:#020b14dd;backdrop-filter:blur(5px)}
.er-cp-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #4acaba3d}.er-cp-dialog-header h2{font:600 16px/1.35 system-ui,sans-serif;margin:0}.er-cp-dialog button{border:1px solid #5ea69a;border-radius:7px;min-height:44px;min-width:44px;padding:8px 13px;background:#123144;color:#ecfffc;cursor:pointer}
.er-cp-stage{height:min(60dvh,570px);position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#14384a,#020c15);touch-action:none;cursor:grab}.er-cp-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:center;pointer-events:none;user-select:none}
.er-cp-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;flex-wrap:wrap}.er-cp-note{padding:0 16px 14px;color:#b9d3dc;font-size:12px}.er-cp-note a{color:#b4f1e6}.er-cp-dialog[hidden]{display:none}
@media(max-width:480px){.er-cp-host{width:98px;margin-left:10px}.er-cp-thumb{height:80px}.er-cp-dialog-header{padding:9px 12px}.er-cp-stage{height:51dvh}.er-cp-note{font-size:11px}.er-cp-caption{font-size:9px}}
@media(prefers-reduced-motion:reduce){.er-cp-thumb img{transition:none}}
@media print{.er-cp-host{width:90px;break-inside:avoid;box-shadow:none}.er-cp-caption,.er-cp-caption b,.er-cp-caption time{color:#243b43}.er-cp-dialog{display:none!important}.er-cp-thumb{box-shadow:none}}

/* Bank native source-photo thumbnail: restore its own layout after shared button rules. */
@media screen {
 html[data-er-workspace="bankcase.html"] body #er-app-indhold.bk-side #bkVaelg .er-cp-host > .er-cp-thumb {
  display:block!important;width:100%!important;padding:0!important;
 }
}

/* Root: readable native photo badge and recording date on the white workspace. */
@media screen {
 html[data-er-workspace][data-er-workspace][data-er-workspace] body #er-app-indhold#er-app-indhold .er-cp-host > .er-cp-thumb .er-cp-badge { color: #c4fcf2 !important; }
 html[data-er-workspace] body #er-app-indhold .er-cp-host > .er-cp-caption time { color: #404040 !important; }
}

/* Reviewed native source-photo UI paint; media stage and photo pixels remain original. */
@media screen {
 html[data-er-workspace] body #er-app-indhold .er-cp-host > .er-cp-caption {color:#4b5563!important}
 html[data-er-workspace] body #er-app-indhold .er-cp-host > .er-cp-caption b {color:#141414!important}
 html[data-er-workspace] body :is(.er-cp-dialog,.er-cp-dialog-header,.er-cp-controls) {background-color:#fff!important;background-image:none!important;color:#141414!important;border-color:#d1d5db!important}
 html[data-er-workspace] body .er-cp-dialog button {background-color:#fff!important;background-image:none!important;color:#075e52!important;border-color:#075e52!important}
 html[data-er-workspace] body .er-cp-note {color:#4b5563!important}
 html[data-er-workspace] body .er-cp-note a {color:#075e52!important}
}
