/* model: openai; role: delegated gallery module editor. Adapted from the approved Layered concept. */
#kv-static-showcase {
  --kv-ink: #152f3e;
  --kv-muted: #5d7480;
  --kv-teal: #208f92;
  padding: clamp(36px, 5vw, 72px) 0;
  background: #eff4f3;
  color: var(--kv-ink);
}
#kv-static-showcase *, #kv-static-showcase *::before, #kv-static-showcase *::after { box-sizing: border-box; }
#kv-static-showcase .kv-showcase-inner { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
#kv-static-showcase button, #kv-static-showcase a { font-family: inherit; -webkit-tap-highlight-color: transparent; }
#kv-static-showcase button { cursor: pointer; }
#kv-static-showcase button:focus-visible, #kv-static-showcase a:focus-visible { outline: 3px solid #208f92; outline-offset: 4px; }
#kv-static-showcase .kv-gallery { position: relative; min-width: 0; overflow: hidden; border: 1px solid #d3dfe0; border-radius: 10px; background: #fff; scroll-margin-top: 110px; }
#kv-static-showcase .kv-gallery + .kv-gallery { margin-top: clamp(32px, 5vw, 64px); }
#kv-static-showcase .kv-legacy-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 110px; pointer-events: none; }
#kv-static-showcase .kv-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; padding: 25px 32px; border-bottom: 1px solid #e3ece8; }
#kv-static-showcase .kv-gallery-heading h2 { margin: 0 0 8px; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -.6px; color: var(--kv-ink); }
#kv-static-showcase .kv-gallery-heading p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--kv-muted); }
#kv-static-showcase .kv-gallery-tag { flex-shrink: 0; font-size: 10px; line-height: 1.5; letter-spacing: 1.5px; color: #768f93; }
#kv-static-showcase .kv-gallery-stage { display: flex; justify-content: center; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 52% 38%, #fcfdfc 0%, #edf3f0 68%, #e7eeeb 100%); }
#kv-static-showcase .kv-layered-deck { position: relative; width: 100%; padding-top: calc(53% + 181px); perspective: 1500px; perspective-origin: 50% 48%; transform-style: flat; touch-action: pan-y pinch-zoom; }
#kv-static-showcase .kv-stack-card { --kv-x: 0px; --kv-y: -12px; --kv-z: 22px; position: absolute; left: 2.5%; top: 155px; width: 88%; padding: 0; margin: 0; border: 1px solid #738b91; border-radius: 6px; overflow: hidden; background: #142330; color: #e5ecef; text-align: left; transform-origin: 50% 80%; transform: translate3d(var(--kv-x), var(--kv-y), var(--kv-z)) rotateX(0deg) rotateY(0deg); transition: transform 550ms cubic-bezier(.2,.75,.25,1), filter 550ms, box-shadow 550ms, border-color 200ms; backface-visibility: hidden; box-shadow: 0 13px 24px #20344424; }
#kv-static-showcase .kv-card-bar { display: flex; align-items: center; gap: 8px; height: 31px; padding: 0 12px; background: #173041; color: #e0edf0; font-size: 11px; font-weight: 550; line-height: 1.2; white-space: nowrap; }
#kv-static-showcase .kv-card-bar::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #69cabb; }
#kv-static-showcase .kv-stack-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #18212c; pointer-events: none; }
#kv-static-showcase .kv-stack-card[data-depth="0"] { transform: translate3d(var(--kv-x), var(--kv-y), 0px) rotateX(0deg) rotateY(0deg); z-index: 5; filter: none; box-shadow: 0 22px 29px #20344438; }
#kv-static-showcase .kv-stack-card[data-depth="1"] { --kv-x: clamp(12px, 2.8%, 24px); --kv-y: -45px; --kv-z: -16px; z-index: 4; filter: saturate(.85); }
#kv-static-showcase .kv-stack-card[data-depth="2"] { --kv-x: clamp(24px, 5.6%, 48px); --kv-y: -78px; --kv-z: -45px; z-index: 3; filter: saturate(.7); }
#kv-static-showcase .kv-stack-card[data-depth="3"] { --kv-x: clamp(36px, 8.4%, 72px); --kv-y: -111px; --kv-z: -75px; z-index: 2; filter: saturate(.6); }
#kv-static-showcase .kv-stack-card[aria-pressed="true"] { border-color: #3da699; }
#kv-static-showcase .kv-stack-card:hover { border-color: #39b3a5; }
#kv-static-showcase .kv-gallery-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 12px 18px; background: #f9fbfa; border-top: 1px solid #e3ece8; border-bottom: 1px solid #e3ece8; }
#kv-static-showcase .kv-gallery-tabs button { padding: 10px 16px; min-height: 40px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #5d7580; font-size: 13px; line-height: 1.4; }
#kv-static-showcase .kv-gallery-tabs button[aria-pressed="true"] { border-color: #b8d1cb; background: #eaf2ef; color: #22565a; box-shadow: inset 0 -2px #339b8e; }
#kv-static-showcase .kv-gallery-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: start; padding: 25px 32px 27px; }
#kv-static-showcase .kv-gallery-copy h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--kv-ink); }
#kv-static-showcase .kv-gallery-copy p { margin: 0; max-width: 650px; font-size: 13px; line-height: 1.7; color: var(--kv-muted); }
#kv-static-showcase .kv-gallery-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#kv-static-showcase .kv-gallery-pager button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d4e1de; border-radius: 4px; background: #f7faf9; color: #456b70; font-size: 19px; line-height: 1; }
#kv-static-showcase .kv-gallery-pager span { min-width: 32px; text-align: center; color: #66838a; font-size: 12px; line-height: 1.4; }
#kv-static-showcase .kv-gallery-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
#kv-static-showcase .kv-gallery-actions a, #kv-static-showcase .kv-gallery-actions button { padding: 4px 0; border: 0; background: none; color: #247d7d; font-size: 12px; line-height: 1.5; text-decoration: none; }
#kv-static-showcase .kv-gallery-actions a { color: #617e87; }
#kv-static-showcase .kv-gallery-actions a:hover, #kv-static-showcase .kv-gallery-actions button:hover { text-decoration: underline; text-underline-offset: 4px; }
#kv-static-showcase .kv-showcase-note { margin: 22px 0 0; color: #71868d; font-size: 11px; line-height: 1.7; }
#kv-static-showcase #kv-showcase-dialog { position: fixed; inset: 0; margin: auto; padding: 0; width: min(1600px, 96vw); max-width: 96vw; height: fit-content; max-height: 95dvh; border: 1px solid #46616f; background: #132330; color: #e1edf0; border-radius: 9px; overflow: auto; box-shadow: 0 25px 80px #0009; }
#kv-static-showcase #kv-showcase-dialog[open] { display: flex; flex-direction: column; }
#kv-static-showcase #kv-showcase-dialog::backdrop { background: #081723c9; backdrop-filter: blur(5px); }
#kv-static-showcase .kv-dialog-heading, #kv-static-showcase .kv-dialog-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; }
#kv-static-showcase .kv-dialog-heading strong { font-size: 15px; line-height: 1.4; font-weight: 600; }
#kv-static-showcase .kv-dialog-heading button { display: flex; gap: 12px; align-items: center; padding: 6px 10px; border: 1px solid #506574; border-radius: 4px; color: #e1edf0; background: #1c3242; font-size: 12px; line-height: 1.4; }
#kv-static-showcase .kv-dialog-heading button span { font-size: 21px; line-height: 1; }
#kv-static-showcase #kv-expanded-image { display: block; flex: 0 1 auto; min-height: 0; width: 100%; height: auto; max-height: 77dvh; object-fit: contain; background: #14212b; }
#kv-static-showcase .kv-dialog-navigation { display: grid; flex: 0 0 auto; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 20px; border-top: 1px solid #344d5b; border-bottom: 1px solid #344d5b; }
#kv-static-showcase .kv-dialog-navigation button { min-height: 38px; padding: 8px 12px; border: 1px solid #506574; border-radius: 4px; background: #1c3242; color: #e1edf0; font-size: 12px; line-height: 1.4; }
#kv-static-showcase .kv-dialog-navigation button:hover { border-color: #69cabb; }
#kv-static-showcase #kv-expanded-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
#kv-static-showcase #kv-expanded-tabs button[aria-pressed="true"] { border-color: #69cabb; background: #294e56; color: #e4fff9; box-shadow: inset 0 -2px #69cabb; }
#kv-static-showcase #kv-expanded-counter { min-width: 36px; color: #b5cbd3; font-size: 12px; text-align: center; white-space: nowrap; }
#kv-static-showcase .kv-dialog-footer { color: #9eb3be; font-size: 11px; line-height: 1.6; }
#kv-static-showcase .kv-dialog-footer a { color: #7cdbce; text-decoration: none; }
@media (max-width: 740px) {
  #kv-static-showcase .kv-showcase-inner { width: calc(100% - 32px); }
  #kv-static-showcase .kv-gallery-heading { min-height: 93px; padding: 22px 20px; gap: 12px; }
  #kv-static-showcase .kv-gallery-heading p { font-size: 11px; }
  #kv-static-showcase .kv-gallery-tag { font-size: 8px; letter-spacing: 1px; }
  #kv-static-showcase .kv-layered-deck { padding-top: calc(49.5% + 160px); perspective: 1000px; }
  #kv-static-showcase .kv-stack-card { top: 122px; }
  #kv-static-showcase .kv-card-bar { height: 26px; padding-inline: 8px; gap: 6px; font-size: 9px; }
  #kv-static-showcase .kv-stack-card[data-depth="1"] { --kv-x: 8px; --kv-y: -35px; }
  #kv-static-showcase .kv-stack-card[data-depth="2"] { --kv-x: 16px; --kv-y: -58px; }
  #kv-static-showcase .kv-stack-card[data-depth="3"] { --kv-x: 24px; --kv-y: -81px; }
  #kv-static-showcase .kv-gallery-tabs { gap: 2px; padding: 10px; }
  #kv-static-showcase .kv-gallery-tabs button { padding: 9px 10px; font-size: 11px; }
  #kv-static-showcase .kv-gallery-footer { padding: 22px 20px; gap: 16px; }
  #kv-static-showcase .kv-gallery-copy h3 { font-size: 16px; }
  #kv-static-showcase .kv-gallery-copy p { font-size: 12px; }
  #kv-static-showcase .kv-gallery-pager { gap: 5px; }
  #kv-static-showcase .kv-gallery-pager button { width: 34px; height: 36px; }
  #kv-static-showcase .kv-gallery-pager span { min-width: 29px; font-size: 11px; }
  #kv-static-showcase .kv-showcase-note { font-size: 10px; }
  #kv-static-showcase .kv-dialog-navigation { grid-template-columns: auto 1fr auto; gap: 8px; padding: 10px 12px; }
  #kv-static-showcase #kv-expanded-tabs { grid-column: 1 / -1; grid-row: 1; }
  #kv-static-showcase #kv-expanded-previous, #kv-static-showcase #kv-expanded-counter, #kv-static-showcase #kv-expanded-next { grid-row: 2; }
  #kv-static-showcase #kv-expanded-previous, #kv-static-showcase #kv-expanded-next { min-width: 42px; }
}
@media (max-width: 420px) {
  #kv-static-showcase .kv-gallery-tag { display: none; }
  #kv-static-showcase .kv-gallery-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #kv-static-showcase .kv-gallery-footer { grid-template-columns: 1fr; }
  #kv-static-showcase .kv-gallery-pager { justify-content: flex-start; }
  #kv-static-showcase .kv-gallery-pager span { margin: 0 5px; }
  #kv-static-showcase .kv-dialog-heading, #kv-static-showcase .kv-dialog-footer { padding: 12px; gap: 12px; }
  #kv-static-showcase .kv-dialog-heading strong { font-size: 12px; }
  #kv-static-showcase .kv-dialog-footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #kv-static-showcase .kv-stack-card { transition: none; }
}

/* model: openai; role: user-authorized-website-copy-editor; customization taglines */
#kv-static-showcase .kv-gallery-heading p.kv-custom-tagline { margin: 0 0 7px; color: #247d7d; font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; line-height: 1.45; }

/* model: openai; role: user-authorized-website-editor; custom options complete the example galleries */
#kv-static-showcase .kv-stack-card[data-depth="4"] { --kv-x: clamp(48px, 11.2%, 96px); --kv-y: -144px; --kv-z: -105px; z-index: 1; filter: saturate(.55); }
#kv-static-showcase .kv-gallery-tabs button.kv-custom-tab { margin-left: 10px; border: 1px dashed #55a493; background: #e0f5ee; color: #1a625b; font-weight: 600; }
#kv-static-showcase .kv-gallery-tabs button.kv-custom-tab span { margin-right: 4px; font-size: 18px; line-height: 1; }
#kv-static-showcase .kv-gallery-tabs button.kv-custom-tab[aria-pressed="true"] { border-style: solid; border-color: #267e73; background: #a2e6d5; box-shadow: inset 0 -2px #267e73; }
#kv-static-showcase .kv-custom-card .kv-card-bar { background: #245a58; color: #e9fff8; }
#kv-static-showcase #kv-expanded-tabs button.kv-custom-tab { border-style: dashed; border-color: #69a99c; color: #a0edda; }
@media (max-width: 740px) {
  #kv-static-showcase .kv-stack-card[data-depth="4"] { --kv-x: 32px; --kv-y: -104px; }
  #kv-static-showcase .kv-gallery-tabs button.kv-custom-tab { margin-left: 4px; }
}
@media (max-width: 420px) {
  #kv-static-showcase .kv-gallery-tabs button.kv-custom-tab { grid-column: 1 / -1; margin: 4px 0 0; }
}
