.analysis-gallery{padding-block:56px 64px;color:#1C355E}
.analysis-gallery-heading{margin-bottom:28px}
.analysis-gallery-heading h2{margin-bottom:16px}
.analysis-gallery-heading p{margin:0;color:#536779;font-size:17px;max-width:65ch}
.analysis-gallery-stage{position:relative}
.analysis-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#9BB9CC #F7F8FA;border-radius:16px}
.analysis-gallery.is-ready .analysis-slides{display:grid;overflow:hidden;scroll-snap-type:none;scrollbar-width:none}
.analysis-gallery.is-ready .analysis-slide{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s ease}
.analysis-gallery.is-ready .analysis-slide[aria-hidden=false]{opacity:1;visibility:visible;pointer-events:auto}
.analysis-slide{flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start}
.analysis-image{display:block;width:100%;aspect-ratio:16/9;max-height:52dvh;background:#F7F8FA;cursor:zoom-in;border-radius:16px;overflow:hidden}
.analysis-image img{display:block;width:100%;height:100%;object-fit:contain}
.analysis-gallery-controls[hidden]{display:none!important}
.analysis-gallery-controls{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding-inline:16px;pointer-events:none}
.analysis-gallery button{font:700 14px/1.4 Manrope,Arial,sans-serif;color:#1C355E;cursor:pointer}
.analysis-gallery-controls button{display:inline-flex;width:64px;height:64px;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:#FFF;pointer-events:auto}
.analysis-gallery-controls button:hover{background:#F7F8FA}
.analysis-gallery-controls button svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.analysis-gallery-controls [data-gallery-prev] svg{transform:rotate(180deg)}
.analysis-gallery-status{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin-top:20px}
.analysis-gallery-count{min-width:48px;text-align:center;color:#536779;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.analysis-gallery-playback{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:transparent}
.analysis-gallery-playback:hover{background:#F7F8FA}
.analysis-gallery-playback svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.analysis-gallery-playback[aria-label="Spela bildspel"] svg path{fill:currentColor;stroke:none}
.analysis-gallery :is(a,button,[tabindex]):focus-visible{outline:3px solid #1C355E;outline-offset:4px}
.analysis-gallery-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(88vw,1180px);max-width:1180px;height:min(86dvh,860px);max-height:calc(100dvh - 40px);padding:clamp(20px,2vw,28px);border:1px solid #E7ECF1;border-radius:16px;background:#F7F8FA;color:#1C355E;overflow:hidden;box-shadow:0 12px 36px rgba(16,35,63,.16)}
.analysis-gallery-dialog::backdrop{background:rgba(16,35,63,.58);backdrop-filter:blur(2px)}
.analysis-gallery-dialog:not([open]){display:none}
.analysis-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;min-height:48px}
.package-detail-main .analysis-dialog-toolbar h2{font-size:22px;line-height:1.3;margin:0;letter-spacing:-.02em}
.analysis-dialog-toolbar button,.analysis-dialog-footer button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid #E1E7ED;border-radius:10px;background:#F7F8FA;color:#1C355E;font:700 14px/1.4 Manrope,Arial,sans-serif;transition:background-color .18s ease,color .18s ease,border-color .18s ease}
.analysis-dialog-toolbar button:hover,.analysis-dialog-footer button:hover{border-color:#1C355E;background:#1C355E;color:#FFF}
.analysis-dialog-toolbar button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.analysis-dialog-image{height:auto;min-height:0;overflow:auto;background:#FFF;border:1px solid #E7ECF1;border-radius:10px;scrollbar-color:#9BB9CC #F7F8FA;scrollbar-width:thin}
.analysis-dialog-image img{display:block;width:100%;height:100%;object-fit:contain}
.analysis-dialog-image.is-zoomed img{width:auto;height:auto;max-width:none;max-height:none}
.analysis-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:16px;padding-top:16px;border-top:1px solid #E7ECF1}
.analysis-dialog-footer p{margin:0;color:#536779;font-size:15px;line-height:1.6;max-width:70ch}
.analysis-dialog-footer button{flex-shrink:0}
html.analysis-gallery-open{overflow:hidden;scrollbar-gutter:stable}
.package-detail-hero .analysis-gallery{min-width:0;padding-block:0}
.package-detail-main .package-detail-hero .analysis-gallery-heading{margin-bottom:16px}
.package-detail-main .package-detail-hero .analysis-gallery-heading h2{margin:0 0 8px;font-size:22px;line-height:1.25;letter-spacing:-.025em}
.package-detail-hero .analysis-gallery-heading p{font-size:14px;line-height:1.5}
.package-detail-hero .analysis-image{max-height:none;border-radius:16px}
.package-detail-hero .analysis-gallery-controls{padding-inline:12px}
.package-detail-hero .analysis-gallery-controls button{width:48px;height:48px}
.package-detail-hero .analysis-gallery-controls button svg{width:22px;height:22px}
@media(max-width:700px){
  .analysis-gallery{padding-block:40px}
  .analysis-gallery-heading{margin-bottom:20px}
  .analysis-gallery-heading p{font-size:16px}
  .analysis-gallery-controls{padding-inline:10px}
  .analysis-gallery-controls button{width:48px;height:48px}
  .package-detail-main .package-detail-hero .analysis-gallery-heading h2{font-size:20px}
  .analysis-gallery-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:16px;border-radius:14px}
  .analysis-dialog-toolbar{gap:12px}
  .package-detail-main .analysis-dialog-toolbar h2{font-size:18px}
  .analysis-dialog-image{height:auto;min-height:0}
  .analysis-dialog-footer{flex-direction:column;align-items:stretch;gap:14px}
  .analysis-dialog-footer button{width:100%}
}
@media(prefers-reduced-motion:reduce){.analysis-gallery.is-ready .analysis-slide{transition:none}}
