.local-gallery-shell{color-scheme:light;--ink:#10233e;--navy:#0a1930;--blue:#1c5bf0;--lime:#dfff79;--line:#b7c8df;--paper:#f0f4f9;--body:#334962;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}
.local-gallery-shell *{box-sizing:border-box}
.local-gallery-shell{scroll-behavior:smooth;scroll-padding-top:var(--hc-anchor-offset,100px)}
.local-gallery-shell{margin:0;background:var(--paper);color:var(--ink);line-height:1.5}
.local-gallery-shell a{color:inherit}
.local-gallery-shell .odl-header{height:78px;padding:0 max(24px,calc((100vw - 1440px)/2));position:sticky;top:0;z-index:50;background:var(--navy);color:#f8fbff;display:flex;align-items:center;justify-content:space-between;border-top:3px solid #25b9dd;box-shadow:0 8px 26px #12223b26}
.local-gallery-shell .brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:inherit}
.local-gallery-shell .brand-mark{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#2580ff,#1555dc);box-shadow:inset 2px 2px 5px #8bb8ff90,inset -5px -6px 10px #07399688,0 4px 0 #0a347d;color:white;font-size:13px;font-weight:900;letter-spacing:-.7px;text-shadow:0 1px 2px #00184f}
.local-gallery-shell .brand b{font-size:18px;letter-spacing:-.3px}
.local-gallery-shell .brand small{display:block;color:#b5c7df;font-size:10px;letter-spacing:1.2px;text-transform:uppercase}
.local-gallery-shell .odl-header nav{display:flex;gap:25px;align-items:center}
.local-gallery-shell .odl-header nav a{text-decoration:none;font-size:14px;color:#e4ecf8}
.local-gallery-shell .odl-header nav a:hover,.local-gallery-shell .odl-header nav a:focus-visible{color:var(--lime)}
.local-gallery-shell .odl-header nav .nav-cta{background:var(--lime);color:var(--navy);font-weight:800;padding:11px 16px;border-radius:12px;box-shadow:0 3px 0 #accb55}
.local-gallery-shell .preview-ribbon{min-height:34px;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:6px clamp(18px,4vw,64px);background:#e8f4ff;color:#23466c;font-size:12px}
.local-gallery-shell .preview-ribbon span:first-child{font-weight:800;letter-spacing:.09em;color:#0b62b4}
.local-gallery-shell .cg-home-hero{max-width:1510px;margin:0 auto;padding:14px clamp(18px,4vw,64px) 12px}
.local-gallery-shell .cg-heading{display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:18px;padding-bottom:8px}
.local-gallery-shell .eyebrow{margin:0 0 8px;color:#2861bb;font-size:11px;font-weight:850;letter-spacing:.14em}
.local-gallery-shell .cg-heading h2{margin:0;font-size:clamp(30px,4vw,52px);letter-spacing:-.045em;line-height:1.04}
.local-gallery-shell .cg-heading h2 span{color:#2767ce}
.local-gallery-shell .cg-heading>p{max-width:480px;margin:0 0 3px;color:#405873;font-size:16px}
.local-gallery-shell .cg-toolbar{position:sticky;top:78px;z-index:30;display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:4px 0;background:var(--paper);font-size:13px}
.local-gallery-shell .scroll-hint{display:flex;align-items:center;gap:9px;color:#3c5879}
.local-gallery-shell .scroll-hint i{width:9px;height:9px;border-radius:50%;background:#40b58b;box-shadow:0 0 0 4px #40b58b22}
.local-gallery-shell .hc-swipe-hint{display:none}
.local-gallery-shell .hc-controls{display:flex;align-items:center;gap:12px}
.local-gallery-shell .hc-controls[hidden]{display:none}
.local-gallery-shell .hc-controls button{width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);font-size:22px;line-height:1;box-shadow:0 3px 0 #cbd8e8;cursor:pointer}
.local-gallery-shell .hc-controls button[data-hc-next]{background:var(--lime);border-color:#c6e86a;box-shadow:0 3px 0 #a9cc52}
.local-gallery-shell .hc-controls button:hover{transform:translateY(-1px)}
.local-gallery-shell .hc-counter{min-width:62px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.local-gallery-shell .cg-stack{display:grid;gap:22px;padding-bottom:18px}
.local-gallery-shell .cg-card{position:relative;z-index:var(--cg-index);display:grid;grid-template-columns:minmax(280px,.83fr) minmax(0,1.17fr);align-items:center;gap:clamp(24px,4vw,58px);min-height:510px;padding:clamp(22px,3.2vw,46px);border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 14px 36px -30px #0c2854;scroll-margin-top:0}
.local-gallery-shell .cg-home-hero.hc-ready .cg-stack{gap:25px}
.local-gallery-shell .cg-home-hero.hc-ready .cg-card{position:relative;top:auto}
.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card{position:sticky;top:calc(var(--hc-top,154px) + var(--cg-layer)*9px)}
.local-gallery-shell .card-copy{max-width:500px}
.local-gallery-shell .cg-meta{display:flex;align-items:center;gap:10px;margin-bottom:17px;color:#45607f;font-size:13px}
.local-gallery-shell .cg-number{font-weight:800;color:#2861bb;font-variant-numeric:tabular-nums}
.local-gallery-shell .industry-tag{padding:5px 9px;border-radius:999px;background:#f1f4f8;color:#405873;font-size:11px}
.local-gallery-shell .cg-card h2{margin:0 0 14px;font-size:clamp(27px,3vw,40px);line-height:1.08;letter-spacing:-.035em}
.local-gallery-shell .cg-description{max-width:460px;margin:0;color:#3d5674;font-size:16px;line-height:1.65}
.local-gallery-shell .cg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin-top:24px}
.local-gallery-shell .open-demo{display:inline-flex;min-height:48px;align-items:center;gap:13px;padding:12px 18px;border-radius:13px;background:var(--blue);color:white;text-decoration:none;font-weight:800;box-shadow:0 4px 0 #1246c8;transition:transform .18s,box-shadow .18s}
.local-gallery-shell .open-demo:hover{transform:translateY(-2px);box-shadow:0 6px 0 #1246c8}
.local-gallery-shell .micro-note{font-size:12px;color:#5e6f84}
.local-gallery-shell .cg-figure{min-width:0;margin:0}
.local-gallery-shell .cg-preview{position:relative;overflow:hidden;border:1px solid #7890ae;border-radius:19px;background:#e9eef6;box-shadow:0 16px 30px -22px #162e4f88}
.local-gallery-shell .cg-window{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#12243f;color:#dce8fa;font-size:10px;letter-spacing:.08em}
.local-gallery-shell .window-dots{display:flex;gap:5px}
.local-gallery-shell .window-dots i{width:6px;height:6px;border-radius:50%;background:#5c86ae}
.local-gallery-shell .window-dots i:first-child{background:#dfff79}
.local-gallery-shell .cg-window>span:last-child{font-size:15px;color:#dfff79}
.local-gallery-shell .cg-preview img{display:block;width:100%;height:auto;aspect-ratio:900/610;object-fit:cover;background:#f4f6fa}
.local-gallery-shell .cg-preview-hint{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:9px 14px;background:linear-gradient(transparent,#0a1930c9);color:#f9fbff;font-size:16px;line-height:1.25}
.local-gallery-shell .cg-figure figcaption{margin-top:8px;color:#576d88;font-size:12px}
.local-gallery-shell .approach{max-width:1110px;margin:54px auto 92px;padding:34px clamp(22px,5vw,64px);border:1px solid #c8d6e5;border-radius:24px;background:#fff}
.local-gallery-shell .approach h2{margin:3px 0 10px;font-size:clamp(23px,3vw,32px)}
.local-gallery-shell .approach>p:not(.eyebrow){max-width:850px;color:#425a75}
.local-gallery-shell .contact-link{display:inline-block;margin-top:8px;color:#164fbf;font-weight:800}
.local-gallery-shell footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px clamp(20px,5vw,70px);background:var(--navy);color:#d8e5f5;font-size:12px}
.local-gallery-shell footer .brand-mark{width:37px;height:37px}
.local-gallery-shell footer .brand b{font-size:15px}
.local-gallery-shell .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.local-gallery-shell .cg-card:focus-within,.local-gallery-shell .cg-stack:focus-visible{outline:3px solid #1879db;outline-offset:4px}

@media(max-width:900px){.local-gallery-shell .odl-header{padding:0 20px}
.local-gallery-shell .odl-header nav{gap:14px}
.local-gallery-shell .odl-header nav a{font-size:12px}
.local-gallery-shell .cg-heading{grid-template-columns:1fr;gap:10px}
.local-gallery-shell .cg-heading>p{max-width:720px}
.local-gallery-shell .cg-card{grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);min-height:440px;padding:24px;gap:22px}
.local-gallery-shell .cg-preview img{min-height:240px;object-fit:cover}
.local-gallery-shell .cg-description{font-size:15px}}

@media(max-width:650px){.local-gallery-shell .odl-header{height:auto;min-height:68px;padding:10px 16px;align-items:center}
.local-gallery-shell .brand-mark{width:40px;height:40px}
.local-gallery-shell .brand b{font-size:15px}
.local-gallery-shell .brand small{font-size:8px}
.local-gallery-shell .odl-header nav{gap:8px}
.local-gallery-shell .odl-header nav a:not(.nav-cta){display:none}
.local-gallery-shell .odl-header nav .nav-cta{padding:9px 11px;font-size:12px}
.local-gallery-shell .preview-ribbon{font-size:10px;align-items:flex-start;flex-direction:column;gap:2px;padding:6px 17px}
.local-gallery-shell .cg-home-hero{padding:25px 15px 12px}
.local-gallery-shell .cg-heading h2{font-size:clamp(29px,9vw,39px)}
.local-gallery-shell .cg-heading>p{font-size:14px}
.local-gallery-shell .cg-toolbar{top:68px;min-height:58px}
.local-gallery-shell .hc-swipe-hint{display:inline}
.local-gallery-shell .hc-desktop-hint{display:none}
.local-gallery-shell .hc-controls{gap:7px}
.local-gallery-shell .hc-controls button{width:39px;height:39px}
.local-gallery-shell .cg-stack{gap:15px}
.local-gallery-shell .cg-card,.local-gallery-shell .cg-home-hero.hc-ready .cg-card{position:relative;top:auto;display:flex;flex-direction:column;align-items:stretch;gap:17px;min-height:0;padding:18px;border-radius:20px}
.local-gallery-shell .cg-card h2{font-size:28px;margin-bottom:9px}
.local-gallery-shell .cg-description{font-size:15px;line-height:1.55}
.local-gallery-shell .cg-meta{margin-bottom:10px}
.local-gallery-shell .cg-actions{margin-top:16px}
.local-gallery-shell .open-demo{flex:1;justify-content:center;min-height:48px}
.local-gallery-shell .micro-note{flex-basis:100%}
.local-gallery-shell .cg-preview{border-radius:15px}
.local-gallery-shell .cg-preview img{height:auto;min-height:0;aspect-ratio:1.28;object-fit:cover}
.local-gallery-shell .approach{margin:32px 15px 50px;padding:23px 19px}
.local-gallery-shell footer{flex-direction:column;align-items:flex-start;padding:18px}}

@media(prefers-reduced-motion:reduce){.local-gallery-shell{scroll-behavior:auto}
.local-gallery-shell *,.local-gallery-shell *::before,.local-gallery-shell *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.local-gallery-shell /* The gallery is a vertical sequence. The counter follows the card nearest the reading line. */
.cg-home-hero.hc-ready .cg-stack,.local-gallery-shell .cg-home-hero.hc-ready .cg-card,.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card{position:relative;top:auto}
.local-gallery-shell .cg-stack{display:grid;align-items:stretch;gap:28px;scroll-margin-top:0;touch-action:pan-y}
.local-gallery-shell .cg-card{z-index:auto;min-height:0;scroll-margin-top:0;transition:border-color .2s,box-shadow .2s}
.local-gallery-shell .cg-card.hc-active{border-color:#6d95e6;box-shadow:0 18px 42px -28px #0c2854a8}
.local-gallery-shell .cg-preview{height:clamp(360px,37vw,540px);isolation:isolate;background:#dfe7ef}
.local-gallery-shell .cg-window{position:relative;z-index:4}
.local-gallery-shell .cg-preview::after{content:"";position:absolute;z-index:1;inset:42px 0 0;background:linear-gradient(110deg,#07182a18 5%,transparent 50%,#07182a48 100%);pointer-events:none}
.local-gallery-shell .cg-preview .cg-photo{position:absolute;z-index:0;inset:42px 0 0;width:100%;height:calc(100% - 42px);max-width:none;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:center 48%;background:#e3e7e8}
.local-gallery-shell .cg-preview .cg-screen{position:absolute;z-index:2;right:4%;bottom:10%;width:61%;height:auto;min-height:0;aspect-ratio:900/610;object-fit:cover;border:4px solid #fff;border-radius:15px;background:#fff;box-shadow:0 14px 28px #081a3290}
.local-gallery-shell .cg-preview-hint{z-index:5}
.local-gallery-shell .cg-figure figcaption{font-size:13px;line-height:1.45}
.local-gallery-shell .cg-figure figcaption{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.local-gallery-shell .hc-controls{gap:10px}
.local-gallery-shell .hc-controls button:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}
.local-gallery-shell .hc-controls button:focus-visible,.local-gallery-shell .open-demo:focus-visible{outline:3px solid #101f36;outline-offset:3px}
.local-gallery-shell .hc-progress{display:block;width:84px;height:6px;overflow:hidden;border-radius:99px;background:#d6e0ed}
.local-gallery-shell .hc-progress>span{display:block;width:12.5%;height:100%;border-radius:inherit;background:#235fe9;transition:width .22s ease}

@media(max-width:900px){.local-gallery-shell .cg-preview{height:clamp(340px,48vw,470px)}
.local-gallery-shell .cg-preview .cg-screen{width:65%}}

@media(max-width:650px){.local-gallery-shell .cg-home-hero.hc-ready .cg-stack{gap:18px}
.local-gallery-shell .cg-stack{scroll-margin-top:0;gap:18px}
.local-gallery-shell .cg-card{scroll-margin-top:0}
.local-gallery-shell .cg-preview{height:clamp(320px,92vw,430px);min-height:320px}
.local-gallery-shell .cg-preview .cg-photo{object-position:center 44%}
.local-gallery-shell .cg-preview .cg-screen{right:3%;bottom:10%;width:76%;border-width:3px;border-radius:12px}
.local-gallery-shell .hc-controls{gap:6px}
.local-gallery-shell .hc-progress{width:52px;height:5px}
.local-gallery-shell .hc-counter{min-width:52px;font-size:12px}
.local-gallery-shell .cg-figure figcaption{font-size:12px}

}

@media(prefers-reduced-motion:reduce){.local-gallery-shell .hc-progress>span{transition:none}
.local-gallery-shell .cg-card{transition:none}}
.local-gallery-shell /* Keep the scroll controls above the cards without covering their titles while the page moves. */
.cg-toolbar{position:relative;top:auto;z-index:1;background:transparent}
.local-gallery-shell .cg-card[data-case="dental"] .open-demo{background:#17675f;box-shadow:0 4px 0 #0d4b45;border-radius:999px 999px 999px 8px}
.local-gallery-shell .cg-card[data-case="auto"] .open-demo{background:#9f3519;box-shadow:0 4px 0 #70230f;border-radius:4px 16px 4px 16px}
.local-gallery-shell .cg-card[data-case="home-repair"] .open-demo{background:#28633a;box-shadow:0 4px 0 #174224;border-radius:5px}
.local-gallery-shell .cg-card[data-case="home-store"] .open-demo{background:#263c5e;box-shadow:0 4px 0 #14243c;border-radius:11px 11px 3px 3px}
.local-gallery-shell .cg-card[data-case="food"] .open-demo{background:#9a2f1f;box-shadow:0 4px 0 #681d14;border-radius:18px 6px 18px 6px}
.local-gallery-shell .cg-card[data-case="beauty"] .open-demo{background:#6336a4;box-shadow:0 4px 0 #45216f;border-radius:999px}
.local-gallery-shell .cg-card[data-case="cleaning"] .open-demo{background:#12645a;box-shadow:0 4px 0 #0b443d;border-radius:4px 4px 18px 18px}
.local-gallery-shell .cg-card[data-case="renovation"] .open-demo{background:#795320;box-shadow:inset 0 -3px 0 #543711,0 4px 0 #543711;border-radius:3px}
.local-gallery-shell .cg-card-nav{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;padding-top:14px;border-top:1px solid var(--line)}
.local-gallery-shell .cg-card-nav button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border:1px solid #b7c8e0;border-radius:12px;background:#f3f7fc;color:#173351;font:inherit;font-weight:800;cursor:pointer}
.local-gallery-shell .cg-card-nav button:last-child{border-color:#153b70;background:#153b70;color:#fff}
.local-gallery-shell .cg-card-nav button:disabled{opacity:.48;cursor:not-allowed}
.local-gallery-shell .cg-card-nav button:focus-visible{outline:3px solid #101f36;outline-offset:3px}
.local-gallery-shell .cg-card-nav-count{color:#45607f;font-size:13px;font-variant-numeric:tabular-nums;font-weight:800}

@media(max-width:650px){.local-gallery-shell .cg-card-nav{width:100%;margin-top:0;padding-top:12px}
.local-gallery-shell .cg-card-nav button{min-height:44px;padding:9px 11px}
.local-gallery-shell .cg-card-nav-count{font-size:12px}}
.local-gallery-shell /* Readable vertical gallery: the controls stay visible while the visitor scrolls. */
.cg-heading .cg-subtitle{margin:10px 0 0;color:#245fce;font-size:clamp(17px,2vw,24px);font-weight:800;letter-spacing:-.02em}
.local-gallery-shell .cg-heading h2{max-width:760px}
.local-gallery-shell .cg-toolbar{position:sticky;top:var(--hc-header-height,78px);z-index:40;min-height:66px;padding:9px 14px;border:1px solid #d3dfef;border-radius:16px;background:color-mix(in srgb,var(--paper) 94%,white);box-shadow:0 8px 22px #15274418;backdrop-filter:blur(10px)}
.local-gallery-shell .hc-active-title{min-width:0;max-width:min(34vw,390px);overflow:hidden;color:#2d4664;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.local-gallery-shell .hc-controls{min-width:0}
.local-gallery-shell .cg-stack{gap:30px}
.local-gallery-shell .cg-card{align-items:start;min-height:0;padding:clamp(22px,3.1vw,42px);}
.local-gallery-shell .card-copy{padding-top:12px}
.local-gallery-shell .cg-preview{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);grid-template-rows:42px minmax(270px,1fr) auto;height:auto;min-height:0;overflow:hidden;background:#eef3fa}
.local-gallery-shell .cg-preview::after{display:none}
.local-gallery-shell .cg-window{grid-column:1/-1;grid-row:1}
.local-gallery-shell .cg-preview .cg-photo{position:static;grid-column:1;grid-row:2;width:100%;height:100%;min-height:270px;aspect-ratio:auto;object-fit:cover;object-position:center 45%;}
.local-gallery-shell .cg-preview .cg-screen{position:static;grid-column:2;grid-row:2;right:auto;bottom:auto;width:100%;height:100%;min-height:270px;max-width:none;aspect-ratio:auto;object-fit:contain;border:0;border-left:1px solid #cad6e6;border-radius:0;background:#edf3fb;box-shadow:none}
.local-gallery-shell .cg-preview-hint{position:static;grid-column:1/-1;grid-row:3;align-items:center;gap:10px;padding:9px 13px;background:#f7f9fc;color:#465d79;font-size:16px;line-height:1.25}
.local-gallery-shell .cg-zoom{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;margin-top:9px;padding:8px 12px;border:1px solid #aebfda;border-radius:10px;background:#f4f7fc;color:#17365d;font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background .16s,transform .16s}
.local-gallery-shell .cg-zoom:hover{transform:translateY(-1px);background:#e6efff}
.local-gallery-shell .cg-zoom:focus-visible,.local-gallery-shell .cg-zoom-dialog button:focus-visible{outline:3px solid #155fe2;outline-offset:3px}
.local-gallery-shell .cg-zoom-dialog{width:min(1100px,calc(100vw - 32px));max-width:none;max-height:min(92dvh,1000px);overflow:auto;padding:clamp(16px,2vw,26px);border:1px solid #9db2ce;border-radius:20px;background:#f7f9fc;color:#10233f;box-shadow:0 28px 90px #07182a70}
.local-gallery-shell .cg-zoom-dialog::backdrop{background:#071426c9;backdrop-filter:blur(4px)}
.local-gallery-shell .cg-zoom-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.local-gallery-shell .cg-zoom-head p{margin:0 0 5px;color:#2364ce;font-size:11px;font-weight:900;letter-spacing:.12em}
.local-gallery-shell .cg-zoom-head h2{margin:0;font-size:clamp(22px,3vw,32px);line-height:1.12}
.local-gallery-shell .cg-zoom-head button{width:44px;height:44px;border:1px solid #c0cde0;border-radius:12px;background:#fff;color:#132846;font-size:28px;line-height:1;cursor:pointer}
.local-gallery-shell .cg-zoom-images{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.local-gallery-shell .cg-zoom-images figure{min-width:0;margin:0;padding:10px;border:1px solid #cbd7e7;border-radius:14px;background:#fff}
.local-gallery-shell .cg-zoom-images img{display:block;width:100%;height:auto;max-height:68dvh;aspect-ratio:900/610;object-fit:contain;background:#edf2f8}
.local-gallery-shell .cg-zoom-images figcaption{margin-top:7px;color:#52677f;font-size:12px;font-weight:700}
.local-gallery-shell .cg-zoom-note{margin:12px 0 0;color:#52677f;font-size:13px}

@media(max-width:900px){.local-gallery-shell .cg-preview{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:40px minmax(240px,1fr) auto}
.local-gallery-shell .cg-preview .cg-photo,.local-gallery-shell .cg-preview .cg-screen{min-height:240px}
.local-gallery-shell .hc-active-title{max-width:26vw}}

@media(max-width:650px){.local-gallery-shell .cg-toolbar{top:var(--hc-header-height,68px);min-height:58px;padding:7px 8px;border-radius:13px}
.local-gallery-shell .cg-toolbar>.scroll-hint{max-width:34%;font-size:10px;line-height:1.25}
.local-gallery-shell .hc-controls{gap:5px}
.local-gallery-shell .hc-controls button{width:36px;height:36px;border-radius:11px}
.local-gallery-shell .hc-counter{min-width:48px;font-size:11px}
.local-gallery-shell .hc-active-title{display:none}
.local-gallery-shell .hc-progress{width:38px}
.local-gallery-shell .cg-preview{grid-template-columns:1fr;grid-template-rows:38px auto auto auto}
.local-gallery-shell .cg-window{grid-column:1;grid-row:1}
.local-gallery-shell .cg-preview .cg-photo{grid-column:1;grid-row:2;width:100%;height:auto;min-height:0;aspect-ratio:1.34;object-fit:cover;object-position:center 44%}
.local-gallery-shell .cg-preview .cg-screen{grid-column:1;grid-row:3;width:100%;height:auto;min-height:0;aspect-ratio:900/610;object-fit:contain;border-top:1px solid #cad6e6;border-left:0}
.local-gallery-shell .cg-preview-hint{grid-column:1;grid-row:4;justify-content:flex-start}
.local-gallery-shell .cg-zoom{width:100%;min-height:44px}
.local-gallery-shell .cg-zoom-images{grid-template-columns:1fr}
.local-gallery-shell .cg-zoom-images img{max-height:42dvh}

}

@media(prefers-reduced-motion:reduce){.local-gallery-shell .cg-zoom{transition:none}}
.local-gallery-shell .hc-case-picker{display:none;min-width:0}
.local-gallery-shell .hc-case-picker select{width:180px;max-width:100%;min-height:42px;padding:8px 30px 8px 11px;border:1px solid #aebfda;border-radius:11px;background:#fff;color:#173351;font:inherit;font-size:13px;font-weight:750}
.local-gallery-shell .hc-case-picker select:focus-visible{outline:3px solid #155fe2;outline-offset:2px}
.local-gallery-shell .cg-zoom{min-height:44px;padding:10px 14px}
.local-gallery-shell .cg-zoom-dialog[open]{overscroll-behavior:contain}
.local-gallery-shell .cg-zoom-dialog:focus-visible{outline:3px solid #155fe2;outline-offset:3px}

@media(max-width:650px){.local-gallery-shell .hc-case-picker{display:block;flex:1;max-width:142px}
.local-gallery-shell .hc-case-picker select{width:100%;min-height:42px;font-size:12px}
.local-gallery-shell .cg-toolbar>.scroll-hint{display:none}
.local-gallery-shell .hc-controls{flex:1;justify-content:flex-end}
.local-gallery-shell .hc-progress{width:26px}
.local-gallery-shell .cg-preview .cg-photo{object-position:center 44%}

}
.local-gallery-shell /* Readable,.local-gallery-shell tap-to-expand case previews. The card uses HTML text,.local-gallery-shell not a tiny screenshot. */
.cg-preview .cg-photo{cursor:zoom-in;transition:filter .18s,transform .18s}
.local-gallery-shell .cg-preview .cg-photo:hover{filter:saturate(1.08)}
.local-gallery-shell .cg-preview .cg-photo:focus-visible{outline:4px solid #135fd2;outline-offset:-4px}
.local-gallery-shell .cg-preview .cg-screen-summary{grid-column:2;grid-row:2;position:static;display:flex;width:100%;min-width:0;min-height:270px;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;padding:clamp(15px,2vw,24px);border:0;border-left:1px solid #cad6e6;border-radius:0;background:#f7f9fc;color:#132846;text-align:left;font:inherit;cursor:zoom-in}
.local-gallery-shell .cg-summary-kicker{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.09em;line-height:1.3}
.local-gallery-shell .cg-screen-summary h3{margin:0;color:#132846;font-size:clamp(17px,1.65vw,23px);line-height:1.13}
.local-gallery-shell .cg-summary-rows{display:grid;gap:7px}
.local-gallery-shell .cg-summary-row{display:grid;gap:2px;padding:7px 9px;border:1px solid #d5dfec;border-radius:9px;background:#fff}
.local-gallery-shell .cg-summary-row span{color:#526985;font-size:11px;font-weight:700}
.local-gallery-shell .cg-summary-row b{color:#17304d;font-size:14px;line-height:1.32}
.local-gallery-shell .cg-summary-total{display:grid;gap:3px;margin-top:1px;padding:10px 12px;border-radius:10px;background:#173a61;color:#fff}
.local-gallery-shell .cg-summary-total span{font-size:11px;font-weight:700;line-height:1.3}
.local-gallery-shell .cg-summary-total b{font-size:19px;line-height:1.15}
.local-gallery-shell .cg-summary-open{color:#315985;font-size:11px;font-weight:800}
.local-gallery-shell .cg-screen-summary:hover{background:#edf3fb}
.local-gallery-shell .cg-screen-summary:focus-visible{position:relative;z-index:3;outline:3px solid #155fe2;outline-offset:-4px}
.local-gallery-shell .cg-zoom-images{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.local-gallery-shell .cg-zoom-images figure{display:flex;flex-direction:column}
.local-gallery-shell .cg-zoom-images figure img{flex:1;object-fit:cover;aspect-ratio:4/3}
.local-gallery-shell .cg-zoom-summary-panel{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0;padding:clamp(17px,2vw,26px);border:1px solid #cbd7e7;border-radius:14px;background:#fff}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-kicker{font-size:12px}
.local-gallery-shell .cg-zoom-summary-panel h3{margin:0;font-size:clamp(21px,2.4vw,30px);line-height:1.12}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-row{padding:10px 12px}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-row span{font-size:13px}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-row b{font-size:17px}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-total{padding:14px 16px}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-total span{font-size:13px}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-total b{font-size:25px}

@media(max-width:900px){.local-gallery-shell .cg-preview .cg-screen-summary{min-height:240px;padding:14px}
.local-gallery-shell .cg-summary-row b{font-size:13px}}

@media(max-width:650px){.local-gallery-shell .cg-preview .cg-screen-summary{grid-column:1;grid-row:3;min-height:0;padding:16px;border-top:1px solid #cad6e6;border-left:0}
.local-gallery-shell .cg-screen-summary h3{font-size:21px}
.local-gallery-shell .cg-summary-row{padding:8px 10px}
.local-gallery-shell .cg-summary-row span{font-size:12px}
.local-gallery-shell .cg-summary-row b{font-size:15px}
.local-gallery-shell .cg-summary-total b{font-size:21px}
.local-gallery-shell .cg-summary-open{font-size:12px}
.local-gallery-shell .cg-preview-hint{grid-column:1;grid-row:4}
.local-gallery-shell .cg-zoom-images{grid-template-columns:1fr}
.local-gallery-shell .cg-zoom-images figure img{max-height:38dvh;aspect-ratio:1.25}
.local-gallery-shell .cg-zoom-summary-panel{gap:10px;padding:16px}
.local-gallery-shell .cg-zoom-summary-panel h3{font-size:23px}
.local-gallery-shell .cg-zoom-summary-panel .cg-summary-row b{font-size:16px}}
.local-gallery-shell /* Preserve the source image proportions in the enlarged gallery view. */
.cg-zoom-images figure img{flex:0 1 auto;width:100%;height:auto;max-height:68dvh;aspect-ratio:auto;object-fit:contain;background:#edf2f8}

@media(max-width:650px){.local-gallery-shell .cg-zoom-images figure img{max-height:58dvh;aspect-ratio:auto}}
.local-gallery-shell /* Dental prototype: the catalog previews the two actual responsive pages. */
.cg-home-hero.hc-ready .cg-card[data-case="dental"],.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card[data-case="dental"],.local-gallery-shell .cg-card[data-case="dental"]{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:22px;padding:clamp(22px,3vw,38px)}
.local-gallery-shell .cg-home-hero .cg-card[data-case="dental"] .card-copy{grid-column:1;max-width:920px;padding:0}
.local-gallery-shell .cg-card[data-case="dental"] .cg-meta{margin-bottom:12px}
.local-gallery-shell .cg-card[data-case="dental"] h2{max-width:850px;margin-bottom:11px;font-size:clamp(31px,3.7vw,47px)}
.local-gallery-shell .cg-card[data-case="dental"] .cg-description{max-width:820px;font-size:16px;line-height:1.6}
.local-gallery-shell .cg-pair-note{display:flex;align-items:center;gap:8px;margin:12px 0 0;color:#496c65;font-size:12px;line-height:1.45}
.local-gallery-shell .cg-pair-note::before{content:"i";flex:0 0 19px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#dff1e9;color:#137b70;font-size:12px;font-weight:900}
.local-gallery-shell .cg-pair-grid{grid-column:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}
.local-gallery-shell .cg-pair-page{min-width:0;margin:0;padding:10px;border:1px solid #c4d8d1;border-radius:19px;background:#f8fcfa;box-shadow:0 12px 24px -24px #193c35}
.local-gallery-shell .cg-pair-frame{position:relative;height:580px;overflow:hidden;border:1px solid #b8d1c8;border-radius:12px;background:#fff}
.local-gallery-shell .cg-pair-frame iframe{display:block;width:182%;height:1055px;border:0;background:#fff;pointer-events:none;transform:scale(.55);transform-origin:top left}
.local-gallery-shell .cg-frame-badge{position:absolute;top:9px;right:9px;z-index:2;padding:5px 8px;border:1px solid #d3e4dd;border-radius:999px;background:#fff;color:#246c62;font-size:9px;font-weight:900;letter-spacing:.08em;pointer-events:none}
.local-gallery-shell .cg-pair-page figcaption{display:grid;gap:4px;margin-top:11px;padding:0 3px}
.local-gallery-shell .cg-pair-label{color:#173b3a;font-size:17px;font-weight:850;line-height:1.25}
.local-gallery-shell .cg-pair-subtitle{color:#5c756e;font-size:12px;line-height:1.4}
.local-gallery-shell .cg-pair-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:7px}
.local-gallery-shell .cg-pair-actions .cg-zoom{min-height:42px;margin:0;padding:9px 12px;border-color:#b4d3c9;background:#fff;color:#186d64;font-size:12px}
.local-gallery-shell .cg-pair-actions .open-demo{flex:1 1 180px;justify-content:center;min-height:42px;padding:9px 13px;border-radius:999px;background:#087b71;color:#fff;box-shadow:0 3px 0 #075d56;font-size:16px}
.local-gallery-shell .cg-pair-actions .open-demo:hover{box-shadow:0 5px 0 #075d56}
.local-gallery-shell .cg-kwork-button{color:#fff;font-size:16px}
.local-gallery-shell .cg-page-preview-dialog{width:min(1420px,calc(100vw - 28px));max-width:none;height:min(94dvh,1000px);max-height:none;overflow:hidden;padding:clamp(13px,2vw,22px);border:1px solid #a8c9bd;border-radius:18px;background:#f4faf7;color:#173b3a;box-shadow:0 28px 90px #07182a80}
.local-gallery-shell .cg-page-preview-dialog::backdrop{background:#071426c7;backdrop-filter:blur(4px)}
.local-gallery-shell .cg-page-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:11px}
.local-gallery-shell .cg-page-preview-head p{margin:0 0 4px;color:#087b71;font-size:10px;font-weight:900;letter-spacing:.13em}
.local-gallery-shell .cg-page-preview-head h2{margin:0;font-size:clamp(21px,2.5vw,30px);line-height:1.15}
.local-gallery-shell .cg-page-preview-controls{display:flex;align-items:center;gap:9px;flex:none}
.local-gallery-shell .cg-page-preview-controls button{min-height:44px;border:1px solid #bdd4cb;border-radius:12px;background:#fff;color:#173b3a;font-size:14px;font-weight:800;line-height:1;cursor:pointer}
.local-gallery-shell .cg-page-preview-controls [data-pair-scale]{padding:0 14px;font-size:12px}
.local-gallery-shell .cg-page-preview-controls [data-pair-scale][aria-pressed="true"]{border-color:#087b71;background:#e5f3ed;color:#075d56}
.local-gallery-shell .cg-page-preview-controls [data-pair-close]{width:44px;height:44px;font-size:28px}
.local-gallery-shell .cg-page-preview-controls button:focus-visible{outline:3px solid #155fe2;outline-offset:3px}
.local-gallery-shell .cg-page-preview-viewport{display:flex;align-items:flex-start;justify-content:center;width:100%;height:calc(100% - 104px);min-height:220px;overflow:auto;overscroll-behavior:contain;border:1px solid #bdd4cb;border-radius:12px;background:#fff}
.local-gallery-shell .cg-page-preview-stage{position:relative;flex:0 0 auto;overflow:hidden;max-width:none;max-height:none;background:#fff}
.local-gallery-shell .cg-page-preview-stage iframe{position:absolute!important;left:0!important;top:0!important;display:block!important;border:0!important;background:#fff;pointer-events:none!important}
.local-gallery-shell .cg-page-preview-foot{margin:8px 0 0;color:#5b756e;font-size:11px;line-height:1.4}

@media(max-width:900px){.local-gallery-shell .cg-pair-frame{height:540px}
.local-gallery-shell .cg-pair-grid{gap:12px}}

@media(max-width:650px){.local-gallery-shell .cg-home-hero.hc-ready .cg-card[data-case="dental"],.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card[data-case="dental"],.local-gallery-shell .cg-card[data-case="dental"]{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;padding:18px;border-radius:20px}
.local-gallery-shell .cg-card[data-case="dental"] h2{font-size:clamp(29px,8.2vw,37px)}
.local-gallery-shell .cg-card[data-case="dental"] .cg-description{font-size:15px}
.local-gallery-shell .cg-pair-grid{grid-template-columns:minmax(0,1fr);gap:15px}
.local-gallery-shell .cg-pair-page{padding:8px;border-radius:15px}
.local-gallery-shell .cg-pair-frame{height:760px}
.local-gallery-shell .cg-pair-frame iframe{width:100%;height:100%;transform:none}
.local-gallery-shell .cg-pair-actions{display:grid;grid-template-columns:1fr}
.local-gallery-shell .cg-pair-actions .cg-zoom,.local-gallery-shell .cg-pair-actions .open-demo{width:100%;min-height:46px}
.local-gallery-shell .cg-page-preview-dialog{width:calc(100vw - 14px);height:94dvh;padding:10px;border-radius:14px}
.local-gallery-shell .cg-page-preview-head{gap:8px}
.local-gallery-shell .cg-page-preview-head p{max-width:24ch;font-size:8px;line-height:1.35}
.local-gallery-shell .cg-page-preview-head h2{font-size:18px}
.local-gallery-shell .cg-page-preview-controls{gap:6px}
.local-gallery-shell .cg-page-preview-controls [data-pair-scale]{min-height:40px;padding:0 9px;font-size:11px}
.local-gallery-shell .cg-page-preview-controls [data-pair-close]{width:40px;height:40px;flex-basis:40px}
.local-gallery-shell .cg-page-preview-viewport{height:calc(100% - 110px);min-height:180px}

}

@media(prefers-reduced-motion:reduce){.local-gallery-shell .cg-pair-page,.local-gallery-shell .cg-pair-actions .open-demo{transition:none}}
.local-gallery-shell /* DPAIR-01 FIX2: keep overflow reachable in the visual-only viewer,.local-gallery-shell and show the mobile hero content in the catalog card. */
.cg-page-preview-viewport{align-items:flex-start;justify-content:flex-start;overscroll-behavior:contain}
.local-gallery-shell /* AP-11: paired cases occupy the full catalog row instead of the legacy narrow preview column. */
.cg-home-hero.hc-ready .cg-card.cg-paired,.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card.cg-paired,.local-gallery-shell .cg-card.cg-paired{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;align-items:start;gap:22px;min-width:0;min-height:0;padding:clamp(22px,3vw,38px)}
.local-gallery-shell .cg-home-hero .cg-card.cg-paired .card-copy{grid-column:1;max-width:920px;width:100%;padding:0}
.local-gallery-shell .cg-card.cg-paired .cg-pair-grid{grid-column:1/-1;width:100%;min-width:0}

@media(max-width:900px){.local-gallery-shell .cg-home-hero.hc-ready .cg-card.cg-paired,.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card.cg-paired,.local-gallery-shell .cg-card.cg-paired{gap:17px;padding:22px}}

@media(max-width:650px){.local-gallery-shell .cg-home-hero.hc-ready .cg-card.cg-paired,.local-gallery-shell .cg-home-hero.hc-scroll-stack .cg-card.cg-paired,.local-gallery-shell .cg-card.cg-paired{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:17px;min-height:0;padding:18px;border-radius:20px}
.local-gallery-shell .cg-card.cg-paired h2{font-size:clamp(29px,8.2vw,37px)}
.local-gallery-shell .cg-card.cg-paired .cg-description{font-size:15px}

}
.local-gallery-shell .cg-page-preview-viewport:focus-visible{outline:3px solid #087b71;outline-offset:2px}
.local-gallery-shell .cg-page-preview-stage{margin:0 auto;line-height:0}

@media(max-width:650px){.local-gallery-shell .cg-pair-frame{height:940px}
.local-gallery-shell .cg-pair-frame iframe{height:940px}

}
.local-gallery-shell /* AP-13: keep the dialog frame fixed; only its visual preview viewport can scroll. */
.cg-page-preview-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;overflow:hidden}
.local-gallery-shell .cg-page-preview-dialog .cg-page-preview-head{min-width:0;margin:0 0 10px}
.local-gallery-shell .cg-page-preview-dialog .cg-page-preview-head>div:first-child{flex:1 1 auto;min-width:0}
.local-gallery-shell .cg-page-preview-dialog .cg-page-preview-viewport{min-width:0;min-height:0;height:auto;max-height:none;overflow:auto}
.local-gallery-shell .cg-page-preview-dialog .cg-page-preview-foot{margin:8px 0 0}
.local-gallery-shell /* VS-02: compact,.local-gallery-shell topic-visible previews for the dental pair; standalone routes keep their full-page layout. */
#example-dental .cg-pair-frame{height:380px}
.local-gallery-shell #example-dental .cg-pair-frame iframe{height:690px}
.local-gallery-shell #example-dental .cg-card-order{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;padding:14px 16px;border:1px solid #b8d1c8;border-radius:14px;background:#f4faf7}
.local-gallery-shell #example-dental .cg-card-order p{margin:0;color:#173b3a;font-size:15px;font-weight:750;line-height:1.35}
.local-gallery-shell #example-dental .cg-kwork-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid #075d56;border-radius:999px;background:#087b71;color:#fff;text-decoration:none;font-size:16px;font-weight:850;box-shadow:0 3px 0 #075d56}
.local-gallery-shell #example-dental .cg-kwork-button:hover{transform:translateY(-1px);box-shadow:0 5px 0 #075d56}
.local-gallery-shell #example-dental .cg-kwork-button:focus-visible{outline:3px solid #155fe2;outline-offset:3px}

@media(max-width:650px){.local-gallery-shell #example-dental .cg-pair-frame{height:460px}
.local-gallery-shell #example-dental .cg-pair-frame iframe{height:460px}
.local-gallery-shell #example-dental .cg-card-order{align-items:stretch;flex-direction:column}
.local-gallery-shell #example-dental .cg-kwork-button{width:100%;min-height:48px}

}

@media(prefers-reduced-motion:reduce){.local-gallery-shell #example-dental .cg-kwork-button{transform:none!important;transition:none}}
.local-gallery-shell /* VS-02: keep the dental pair readable and compact; each preview uses the actual responsive page at its rendered width. */
#example-dental{gap:16px;padding:clamp(16px,2vw,26px)}
.local-gallery-shell #example-dental .card-copy{max-width:880px}
.local-gallery-shell #example-dental h2{max-width:760px;margin-bottom:8px;font-size:clamp(30px,3.25vw,42px);line-height:1.08}
.local-gallery-shell #example-dental .cg-description{max-width:740px;font-size:16px;line-height:1.5}
.local-gallery-shell #example-dental .cg-pair-note{margin-top:8px;font-size:13px}
.local-gallery-shell #example-dental .cg-pair-grid{gap:14px}
.local-gallery-shell #example-dental .cg-pair-page{padding:5px}
.local-gallery-shell #example-dental .cg-pair-frame{height:460px}
.local-gallery-shell #example-dental .cg-pair-frame iframe{width:100%;height:460px;transform:none}
.local-gallery-shell #example-dental .cg-card-order{margin:0;padding:11px 14px}
.local-gallery-shell #example-dental .cg-card-order p{font-size:14px}

@media(max-width:650px){.local-gallery-shell #example-dental{gap:12px;padding:12px;border-radius:18px}
.local-gallery-shell #example-dental h2{font-size:clamp(27px,7.5vw,33px);line-height:1.1}
.local-gallery-shell #example-dental .cg-description{font-size:16px;line-height:1.45}
.local-gallery-shell #example-dental .cg-pair-grid{gap:12px}
.local-gallery-shell #example-dental .cg-pair-page{padding:4px;border-radius:13px}
.local-gallery-shell #example-dental .cg-pair-frame{height:430px}
.local-gallery-shell #example-dental .cg-pair-frame iframe{height:430px}
.local-gallery-shell #example-dental .cg-pair-actions{gap:7px}
.local-gallery-shell #example-dental .cg-pair-label{font-size:16px}

}
.local-gallery-shell /* DENTAL-360-FRAME-20261102: show the complete treatment-room image in the second compact preview at 360px without scaling/reflow. */
@media(max-width:375px){
  #example-dental .cg-pair-page:nth-child(2) .cg-pair-frame{height:468px}
  #example-dental .cg-pair-page:nth-child(2) .cg-pair-frame iframe{height:468px}
}


/* Readable two-line label for each paired page preview (TZ-06). */
.local-gallery-shell .cg-frame-badge{position:absolute;top:9px;left:9px;right:auto;z-index:2;display:grid;gap:2px;max-width:min(310px,calc(100% - 18px));padding:8px 11px;border:1px solid #b9c9dc;border-radius:12px;background:rgba(255,255,255,.97);color:#132747;letter-spacing:normal;pointer-events:none;box-shadow:0 3px 12px rgba(12,31,55,.14)}
.local-gallery-shell .cg-frame-badge strong{display:block;color:#102541;font-size:13px;font-weight:800;line-height:1.25}
.local-gallery-shell .cg-frame-badge span{display:block;color:#344d6c;font-size:12px;font-weight:600;line-height:1.3}

/* R06: the seven non-dental paired routes are compact excerpts, so keep the card proportional. */
.local-gallery-shell .cg-card.cg-paired:not([data-case="dental"]) .cg-pair-frame{height:560px}
.local-gallery-shell .cg-card.cg-paired:not([data-case="dental"]) .cg-pair-frame iframe{height:1055px}
@media(max-width:760px){
 .local-gallery-shell .cg-card.cg-paired:not([data-case="dental"]) .cg-pair-frame{height:auto;min-height:0}
 .local-gallery-shell .cg-card.cg-paired:not([data-case="dental"]) .cg-pair-frame iframe{height:760px}
}

/* R06: dental parent-rendered previews must expand to their full responsive content on mobile. */
@media(max-width:760px){
 .local-gallery-shell #example-dental .cg-pair-page .cg-pair-frame{height:auto;min-height:0}
}
/* R3: reduced motion disables hover lift on gallery controls only. */
@media(prefers-reduced-motion:reduce){.local-gallery-shell .hc-controls button:hover,.cg-zoom:hover{transform:none!important}}

/* R01 mobile: keep the category/control row in flow instead of covering the gallery heading. */
@media(max-width:650px){.local-gallery-shell .cg-toolbar{position:relative;top:auto;z-index:1;flex-wrap:wrap}.local-gallery-shell .cg-heading,.local-gallery-shell .cg-heading>div,.local-gallery-shell .cg-heading>p{min-width:0}.local-gallery-shell .hc-case-picker{max-width:142px}.local-gallery-shell .hc-controls{min-width:0}}

/* CAROUSEL-FIX-20261105: keep paired business demos readable on tablet widths. */
@media(max-width:900px){.local-gallery-shell .cg-pair-grid{grid-template-columns:minmax(0,1fr);gap:16px}}
