.tkh-image-expand{display:block;min-height:44px;margin:8px 0 0;padding:8px 14px;border:1px solid #bdcec4;border-radius:6px;background:#fff;color:#17665b;font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.tkh-image-expandable{cursor:zoom-in}.tkh-image-viewer-open{overflow:hidden;scrollbar-gutter:stable}.tkh-image-viewer{width:min(1120px,calc(100vw - 32px));height:min(900px,90vh);height:min(900px,90dvh);max-width:none;max-height:none;padding:20px;border:1px solid #bdcec4;border-radius:12px;background:#fafaf6;color:#163b38;font:1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 12px 60px #0004}.tkh-image-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.tkh-image-viewer-content{display:grid;grid-template-rows:auto minmax(160px,1fr) auto auto auto;gap:12px;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px}.tkh-image-viewer::backdrop{background:#102f2be0}.tkh-image-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.tkh-image-viewer h2{margin:0;flex:1 1 240px;font:600 1rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;overflow-wrap:anywhere}.tkh-image-viewer-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tkh-image-viewer-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #bdcec4;border-radius:6px;background:#fff;color:#17665b;font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none;cursor:pointer}.tkh-image-viewer-close{flex-shrink:0;min-height:44px;padding:8px 14px;border:1px solid #17665b;border-radius:6px;background:#17665b;color:#fff;font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.tkh-image-viewer-actions button:disabled,.tkh-image-viewer-actions [aria-disabled=true]{opacity:.6;cursor:default}.tkh-image-viewer-zoom{display:flex;align-items:center;gap:4px}.tkh-image-viewer-zoom button{min-width:44px;padding:8px;font-size:1.125rem}.tkh-image-zoom-level{min-width:44px;text-align:center;font-size:.8125rem;font-variant-numeric:tabular-nums}.tkh-image-viewer :is(a,button,[tabindex]):focus-visible,.tkh-image-expand:focus-visible{outline:3px solid #17665b;outline-offset:3px}.tkh-image-viewer-stage{min-width:0;min-height:0;overflow:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;background:#edf2ef;border-radius:6px;touch-action:none}.tkh-image-viewer-canvas{position:relative;min-width:100%;min-height:100%}.tkh-image-viewer-stage .tkh-image-viewer-image{position:absolute;display:block;visibility:hidden;max-width:none;max-height:none;margin:0;user-select:none;-webkit-user-drag:none}.tkh-image-viewer-stage.is-zoomed{cursor:grab}.tkh-image-viewer-stage.is-panning{cursor:grabbing}.tkh-image-viewer :is(.tkh-image-viewer-caption,.tkh-image-viewer-status){margin:0;overflow-wrap:anywhere;font-size:.875rem}.tkh-image-viewer-caption{max-height:18vh;overflow:auto}.tkh-image-viewer-status:empty,.tkh-image-viewer-caption[hidden]{display:none}.tkh-image-viewer-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 12px;min-width:0}.tkh-image-viewer-navigation[hidden]{display:none}.tkh-image-viewer-navigation button{min-width:0;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #bdcec4;border-radius:6px;background:#fff;color:#17665b;font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.tkh-image-previous{justify-self:start}.tkh-image-next{justify-self:end}.tkh-image-viewer-navigation [aria-disabled=true]{opacity:.6;cursor:default}.tkh-image-position{margin:0;text-align:center;font-size:.875rem;font-variant-numeric:tabular-nums}@media(max-width:599px){.tkh-image-viewer{width:calc(100vw - 16px);height:calc(100vh - 24px);height:calc(100dvh - 24px);padding:12px;gap:10px}.tkh-image-viewer-content{gap:10px}.tkh-image-viewer-actions{width:100%;gap:6px}.tkh-image-viewer-actions :is(a,button){padding-inline:10px}}@media(max-width:599px){.tkh-image-viewer-navigation{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:6px 12px}.tkh-image-position{grid-column:1/-1;grid-row:1}.tkh-image-previous,.tkh-image-next{grid-row:auto;justify-self:stretch}}@media(max-width:599px),(max-height:500px){.tkh-image-viewer h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.8em;overflow:hidden}}@media print{.tkh-image-expand,.tkh-image-viewer{display:none!important}.tkh-image-viewer-open{overflow:visible}}