.cabin-photo-trigger{cursor:zoom-in}.cabin-photo-trigger:focus-visible{outline:3px solid #9d793b;outline-offset:4px}
dialog.cabin-viewer{position:fixed;inset:0;margin:auto;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;padding:0;border:0;background:#07130f;color:#fff;overflow:hidden;font:16px Arial,sans-serif}.cabin-viewer::backdrop{background:#07130f}.cabin-viewer .viewer-tools{height:70px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px;background:#122c25}.cabin-viewer button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #6b7c71;border-radius:3px;background:#fffff0;color:#003b2d;font:16px Arial,sans-serif;cursor:pointer}.cabin-viewer button:disabled{opacity:.45;cursor:default}.cabin-viewer button:focus-visible{outline:3px solid #c5a15c;outline-offset:3px}.cabin-viewer .viewer-close{margin-left:auto}.cabin-viewer .viewer-stage{height:calc(100% - 150px);position:relative;overflow:hidden;touch-action:none;display:grid;place-items:center;user-select:none}.cabin-viewer .viewer-photo{display:block;max-width:none;max-height:none;width:auto;height:auto;object-fit:contain;touch-action:none;pointer-events:none;transform-origin:center;will-change:transform}.cabin-viewer .viewer-bottom{height:80px;display:flex;align-items:center;justify-content:center;gap:20px;padding:8px 12px}.cabin-viewer .viewer-info{font-size:14px;text-align:center}.cabin-viewer .viewer-info p{margin:3px 0}.cabin-viewer .viewer-error{position:absolute;inset:auto 10px 10px;text-align:center;background:#122c25;padding:10px}.cabin-viewer .viewer-error[hidden]{display:none}@media(max-width:560px){.cabin-viewer .viewer-tools{gap:6px;padding:8px}.cabin-viewer button{padding:8px}.cabin-viewer .viewer-bottom{gap:10px}.cabin-viewer .viewer-info{font-size:13px}}

/* Flexible controls fit small phones and enlarged text without covering the photo. */
dialog.cabin-viewer{display:none;grid-template-rows:auto minmax(0,1fr) auto}
dialog.cabin-viewer[open]{display:grid}.cabin-viewer .viewer-tools{height:auto;min-height:70px;flex-wrap:wrap}.cabin-viewer .viewer-stage{height:auto;min-height:0}.cabin-viewer .viewer-bottom{height:auto;min-height:80px}.cabin-viewer .viewer-info{min-width:0;overflow-wrap:anywhere}
