/* Roles: a calm editorial section, one story and one authentic product capture. */
.role-stories{background:#f3f7ff;padding:88px 0 96px;scroll-margin-top:90px}
.role-stories .center-head{margin-bottom:50px}.role-stories .center-head h2 span{display:block;color:inherit}
.role-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.12fr);gap:60px;align-items:center}
.role-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;background:#fff;border-radius:12px;margin-bottom:32px}
.role-tabs button{min-width:0;border:0;border-radius:9px;background:transparent;display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px 4px;font:500 14px/1.4 'PingFang SC','Microsoft YaHei',sans-serif;color:#526075;cursor:pointer}
.role-tabs button[aria-selected=true]{color:#fff;background:var(--role-color)}.role-tabs button:hover:not([aria-selected=true]){background:var(--role-tint)}
.role-avatar{width:38px;height:38px;display:block}.role-tabs button:focus-visible{outline:3px solid #3370ff;outline-offset:3px}
#role-panel h3{font-size:clamp(27px,2.65vw,39px);line-height:1.5;font-weight:600;letter-spacing:-.8px;margin:0 0 20px;color:#182539}
.role-description{font-size:16px;line-height:1.95;color:#58677b;margin:0 0 22px;max-width:34em}
.role-points{list-style:none;padding:0;margin:0 0 30px;display:grid;gap:10px;font-size:15px;color:#32445c}.role-points li:before{content:'✓';color:#3370ff;margin-right:10px;font-weight:600}
.role-visual{min-width:0;background:var(--role-tint,#e6edff);border-radius:20px;padding:28px 24px 16px;border:1px solid #ffffffb3}
.role-visual-title{display:grid;gap:7px;margin-bottom:24px}.role-visual-title span{font-size:13px;color:#59677e}.role-visual-title strong{font-size:20px;line-height:1.6;font-weight:600;color:#25384f}
.role-visual .screen-wrap{margin:0;box-shadow:0 16px 40px #40587e12;border-radius:12px}.role-visual .screen-label{background:#fff;padding:13px 15px}.role-visual .screen-label span{font-size:11px}.role-visual .screen-points{display:none}.role-visual figcaption{font-size:11px;line-height:1.65;margin-top:12px;color:#5f6f85}.role-visual .screen-button{background:#fff}
@media(max-width:1000px){.role-layout{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.role-stories{padding:64px 0}.role-visual{padding:20px 16px 12px}}
@media(max-width:760px){.role-layout{grid-template-columns:1fr;gap:32px}.role-stories .center-head{margin-bottom:30px}.role-tabs{margin-bottom:26px}.role-tabs button{font-size:12px}.role-avatar{width:34px;height:34px}#role-panel h3{font-size:28px;letter-spacing:-.5px}.role-description{font-size:15px}.role-visual-title strong{font-size:18px}.role-stories .actions{flex-wrap:wrap}.role-visual .screen-label{gap:6px;flex-wrap:wrap}.role-stories{padding:48px 0}}

/* Shared grid tracks reserve the tallest content at every responsive width. */
.role-layout{align-items:start}
.role-avatar{width:58px;height:58px;overflow:visible}
.role-tabs button{padding:14px 4px 12px;gap:5px}
#role-panel{display:grid;grid-template-rows:repeat(4,auto)}
.role-copy{display:contents;visibility:hidden}
.role-copy.is-active{visibility:visible}
.role-copy h3{grid-area:1/1}
.role-copy .role-description{grid-area:2/1}
.role-copy .role-points{grid-area:3/1}
.role-copy .actions{grid-area:4/1;align-self:end}
.role-visual{display:grid;align-self:stretch}
.role-shot{grid-area:1/1;visibility:hidden;display:grid;grid-template-rows:90px 1fr;align-content:start}
.role-shot.is-active{visibility:visible}
.role-shot .screen-wrap{display:flex;flex-direction:column;align-self:stretch}
.role-shot figcaption{margin-top:auto;padding-top:12px}
@media(max-width:760px){.role-avatar{width:48px;height:48px}.role-tabs button{padding:10px 2px}.role-shot{grid-template-rows:100px 1fr}}

.role-image-frame{container-type:inline-size;aspect-ratio:1.6;display:grid;place-items:center;background:#f8faff;border-radius:12px;overflow:hidden}
.role-image-frame .screen-button.focused-shot{width:min(100%,calc(100cqw / 1.6 * var(--role-shot-ratio)));max-height:100%;margin:0}
.role-shot{grid-template-rows:90px auto}
.role-shot .screen-wrap{justify-content:flex-start}
@media(max-width:760px){.role-shot{grid-template-rows:100px auto}}
