/* Type 1901 owns all selectors. Neutral surface 70%, supporting surfaces 20%, accent <=10%. */
.customer-stories-1901{background:var(--element-bg,var(--amin-color-surface));color:var(--element-text,var(--amin-color-text));padding-block:64px;font-family:inherit;overflow:clip}
.customer-stories-1901 *{box-sizing:border-box}
.customer-stories-1901 [hidden]{display:none!important}
.customer-stories-1901 .cs-wrap{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.customer-stories-1901 .cs-heading{text-align:center;max-width:950px;margin:0 auto 42px}
.customer-stories-1901 h2,.customer-stories-1901 h3,.customer-stories-1901 p{margin:0}
.customer-stories-1901 h2{font-size:clamp(1.65rem,2.8vw,2.8rem);font-weight:800;line-height:1.7;color:inherit}
.customer-stories-1901 h2>span{color:var(--cs-accent,var(--amin-color-primary))}
.customer-stories-1901 .cs-eyebrow,.customer-stories-1901 .cs-intro{color:var(--cs-muted,var(--amin-color-text-muted));line-height:1.9;font-size:1rem}
.customer-stories-1901 .cs-eyebrow{margin-block-end:8px}
.customer-stories-1901 .cs-intro{margin-block-start:10px}
.customer-stories-1901 .cs-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;direction:ltr}
.customer-stories-1901 .cs-story{display:contents}
.customer-stories-1901 .cs-player{grid-column:1;grid-row:1 / span 2}
.customer-stories-1901 .cs-copy{grid-column:2;grid-row:1;align-self:end}
.customer-stories-1901 .cs-player{position:relative;aspect-ratio:3/2;background:var(--cs-surface,var(--amin-color-surface-raised));border:1px solid var(--cs-border,var(--amin-color-border));border-radius:20px;overflow:hidden;min-width:0}
.customer-stories-1901 .cs-player>video,.customer-stories-1901 .cs-player>img{display:block;width:100%;height:100%;object-fit:contain}
.customer-stories-1901 .cs-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:80px;height:80px;border:0;border-radius:50%;background:var(--cs-story-accent,var(--cs-accent));color:var(--amin-color-on-primary);font-size:28px;cursor:pointer;display:grid;place-items:center}
.customer-stories-1901 .cs-copy{direction:var(--cs-direction,rtl);color:var(--cs-story-text,var(--element-text));min-width:0;overflow-wrap:anywhere;text-align:start}
.customer-stories-1901:dir(ltr) .cs-copy{--cs-direction:ltr}
.customer-stories-1901 .cs-quote-mark{display:block;color:var(--cs-story-accent,var(--cs-accent));font:800 6rem/.8 Georgia,serif;margin-block-end:8px}
.customer-stories-1901 blockquote{margin:0 0 26px;font-size:clamp(1.3rem,2.2vw,2rem);font-weight:700;line-height:1.9}
.customer-stories-1901 .cs-attribution h3{font-size:1.05rem;line-height:1.8;font-weight:700;color:inherit}
.customer-stories-1901 .cs-role{font-size:.9rem;line-height:1.8;color:var(--cs-muted)}
.customer-stories-1901 .cs-attribution:after{content:'';display:block;width:48px;height:2px;background:var(--cs-story-accent,var(--cs-accent));margin-block:14px}
.customer-stories-1901 .cs-topics{display:flex;gap:10px;flex-wrap:wrap}
.customer-stories-1901 .cs-topics>span{padding:7px 16px;border:1px solid var(--cs-border);border-radius:40px;background:var(--cs-surface);font-size:.85rem;line-height:1.6}
.customer-stories-1901 .cs-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-block-start:12px;color:var(--cs-story-accent,var(--cs-accent));text-underline-offset:5px}
.customer-stories-1901 .cs-transcript{font-size:.9rem;line-height:1.9;margin-block-start:16px}
.customer-stories-1901 .cs-transcript summary{cursor:pointer;min-height:44px;padding-block:8px}
.customer-stories-1901 .cs-transcript>div{white-space:pre-line}
.customer-stories-1901 .cs-navigation{grid-column:2;grid-row:2;align-self:start;direction:rtl;display:flex;align-items:center;gap:14px;border-block-start:1px solid var(--cs-border);padding-block-start:22px;width:100%;min-width:0}
.customer-stories-1901:dir(ltr) .cs-navigation{direction:ltr}
.customer-stories-1901 .cs-layout:not(:has(.cs-navigation)) .cs-copy{padding-block-end:0}
.customer-stories-1901 .cs-customers{display:flex;gap:12px;overflow-x:auto;min-width:0;flex:1;padding:6px;scrollbar-width:thin}
.customer-stories-1901 button{font-family:inherit}
.customer-stories-1901 .cs-customer{flex:0 0 100px;display:flex;align-items:center;flex-direction:column;gap:10px;border:0;background:transparent;color:var(--cs-muted);padding:0;cursor:pointer;min-height:44px}
.customer-stories-1901 .cs-avatar{width:84px;height:84px;border-radius:50%;border:3px solid transparent;padding:4px;display:grid;place-items:center}
.customer-stories-1901 .cs-avatar>img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.customer-stories-1901 .cs-customer[aria-pressed=true] .cs-avatar{border-color:var(--cs-accent)}
.customer-stories-1901 .cs-customer[aria-pressed=true]{font-weight:800;color:var(--element-text)}
.customer-stories-1901 .cs-customer-name{font-size:.78rem;line-height:1.8;text-align:center;overflow-wrap:anywhere}
.customer-stories-1901 .cs-arrow{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--cs-border);background:var(--cs-surface);color:var(--element-text);font-size:1.35rem;cursor:pointer}
.customer-stories-1901 .cs-arrow:disabled{cursor:default;color:var(--amin-color-text-muted);background:var(--amin-color-surface-raised)}
.customer-stories-1901 button:hover:not(:disabled){filter:brightness(1.1)}
.customer-stories-1901 :focus-visible{outline:3px solid var(--amin-color-focus-ring);outline-offset:3px}
.customer-stories-1901 .cs-error{position:absolute;inset:auto 12px 54px;padding:8px;background:var(--amin-color-surface);color:var(--amin-color-text);font-size:.9rem;direction:rtl;text-align:center}
.customer-stories-1901 .cs-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Keep playback and selection together before descriptive content on narrow screens. */
@media(max-width:1000px){
 .customer-stories-1901 .cs-wrap{width:calc(100% - 40px);max-width:680px}
 .customer-stories-1901 .cs-heading{margin-block-end:24px}
 .customer-stories-1901 .cs-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .customer-stories-1901 .cs-player{grid-column:1;grid-row:1;aspect-ratio:3/2;border-radius:16px}
 .customer-stories-1901 .cs-navigation{grid-column:1;grid-row:2;gap:8px;border-block-start:0;padding-block-start:0;align-self:start}
 .customer-stories-1901 .cs-copy{grid-column:1;grid-row:3;align-self:start;padding-block:18px 0;border-block-start:1px solid var(--cs-border)}
 .customer-stories-1901 .cs-quote-mark{display:none}
 .customer-stories-1901 blockquote{font-size:1.1rem;line-height:1.85;font-weight:500;margin-block-end:12px}
 .customer-stories-1901 .cs-attribution h3{font-size:.95rem}
 .customer-stories-1901 .cs-attribution:after{display:none}
 .customer-stories-1901 .cs-role{font-size:.8rem}
 .customer-stories-1901 .cs-customer{flex-basis:80px;gap:5px}
 .customer-stories-1901 .cs-avatar{width:64px;height:64px;padding:3px}
 .customer-stories-1901 .cs-customer-name{font-size:.7rem;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .customer-stories-1901 .cs-customers{gap:6px;padding-block:6px}
 .customer-stories-1901 .cs-play{width:60px;height:60px;font-size:24px}
}
@media(max-width:600px){
 .customer-stories-1901 .cs-wrap{width:calc(100% - 28px);padding-block-end:calc(88px + env(safe-area-inset-bottom,0px))}
 .customer-stories-1901 h2{font-size:1.5rem;line-height:1.6}
 .customer-stories-1901 .cs-heading{margin-block-end:20px}
 .customer-stories-1901 .cs-eyebrow{font-size:.75rem;margin-block-end:4px}
 .customer-stories-1901 .cs-intro{font-size:.85rem;line-height:1.8;margin-block-start:8px}
 .customer-stories-1901 .cs-player{border-radius:14px}
 .customer-stories-1901 .cs-navigation{gap:4px}
 .customer-stories-1901 .cs-customer{flex-basis:72px}
 .customer-stories-1901 .cs-avatar{width:58px;height:58px}
 .customer-stories-1901 .cs-copy{padding-block-start:14px}
 .customer-stories-1901 .cs-topics{gap:6px;margin-block-start:10px}
 .customer-stories-1901 .cs-topics>span{font-size:.75rem;padding:4px 10px}
}
/* Safari-inspired translucent navigation; confined to type 1901. */
.customer-stories-1901 .cs-customers{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-x pan-y;scrollbar-width:none;overscroll-behavior-x:contain}
.customer-stories-1901 .cs-customers::-webkit-scrollbar{display:none}
.customer-stories-1901 .cs-customers.is-dragging,.customer-stories-1901 .cs-customers.is-dragging *{cursor:grabbing!important}
.customer-stories-1901 .cs-customers img{-webkit-user-drag:none;pointer-events:none}
.customer-stories-1901 .cs-arrow{position:relative;isolation:isolate;border-radius:14px;border-color:color-mix(in srgb,var(--cs-muted) 28%,transparent);background:linear-gradient(150deg,color-mix(in srgb,var(--cs-muted) 20%,var(--cs-surface)),color-mix(in srgb,var(--cs-surface) 86%,transparent));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--element-text) 14%,transparent),0 4px 14px color-mix(in srgb,var(--element-bg) 42%,transparent);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease}
.customer-stories-1901 .cs-arrow>span{font-size:0;display:grid;place-items:center;width:20px;height:20px}
.customer-stories-1901 .cs-arrow>span:before{content:'';width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-inline-end:4px}
.customer-stories-1901 .cs-arrow[data-cs-next]>span:before{transform:rotate(-135deg);margin-inline-end:-4px}
.customer-stories-1901:dir(ltr) .cs-arrow>span:before{transform:rotate(-135deg)}
.customer-stories-1901:dir(ltr) .cs-arrow[data-cs-next]>span:before{transform:rotate(45deg)}
.customer-stories-1901 .cs-arrow:hover:not(:disabled){filter:none;transform:translateY(-2px);border-color:var(--cs-muted);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--element-text) 22%,transparent),0 6px 18px color-mix(in srgb,var(--element-bg) 55%,transparent)}
.customer-stories-1901 .cs-arrow:active:not(:disabled){transform:translateY(0) scale(.94)}
.customer-stories-1901 .cs-avatar,.customer-stories-1901 .cs-customer{transition:border-color .28s ease,color .28s ease,transform .28s ease}
.customer-stories-1901 .cs-customer:hover .cs-avatar{transform:translateY(-2px)}
.customer-stories-1901 .cs-copy blockquote p,.customer-stories-1901 .cs-intro p{color:inherit}
@media(prefers-reduced-motion:reduce){.customer-stories-1901 .cs-arrow,.customer-stories-1901 .cs-avatar,.customer-stories-1901 .cs-customer{transition:none}.customer-stories-1901 .cs-arrow:hover:not(:disabled),.customer-stories-1901 .cs-arrow:active:not(:disabled),.customer-stories-1901 .cs-customer:hover .cs-avatar{transform:none}}
/* One readable label for the selected video; selector labels remain accessible. */
.customer-stories-1901[data-cs-caption-ready] .cs-customer-name{display:none}
.customer-stories-1901[data-cs-caption-ready] .cs-attribution h3{display:none}
.customer-stories-1901[data-cs-caption-ready] .cs-navigation{flex-wrap:wrap;row-gap:12px}
.customer-stories-1901[data-cs-caption-ready] .cs-customer{position:relative;padding-block-end:10px}
.customer-stories-1901[data-cs-caption-ready] .cs-customer[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:var(--cs-accent)}
.customer-stories-1901 .cs-selection-summary{flex:0 0 100%;display:flex;align-items:baseline;gap:12px;justify-content:space-between;min-width:0;direction:rtl;text-align:start}
.customer-stories-1901:dir(ltr) .cs-selection-summary{direction:ltr}
.customer-stories-1901 .cs-selection-title{min-width:0;font-size:.95rem;font-weight:600;line-height:1.8;color:var(--element-text);overflow-wrap:anywhere}
.customer-stories-1901 .cs-selection-count{flex:none;white-space:nowrap;color:var(--cs-muted);font-size:.8rem;line-height:1.8;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.customer-stories-1901[data-cs-caption-ready] .cs-customer{flex-basis:72px}.customer-stories-1901[data-cs-caption-ready] .cs-navigation{row-gap:8px}.customer-stories-1901 .cs-selection-title{font-size:.85rem}.customer-stories-1901 .cs-selection-count{font-size:.75rem}}
.customer-stories-1901 .cs-avatar{grid-template: minmax(0,1fr) / minmax(0,1fr);flex-shrink:0}
.customer-stories-1901 .cs-avatar>img{min-width:0;min-height:0;max-height:100%;aspect-ratio:1;display:block}
.customer-stories-1901 .cs-selection-summary{align-items:center}
.customer-stories-1901 .cs-selection-count{font-size:.8rem;padding:3px 8px;border-radius:8px;background:var(--cs-surface);color:var(--element-text)}
