.story-corner{background:#e8f7fa;border-block:1px solid #cae9e9;padding:56px 0;color:#153d40;letter-spacing:0}
.story-corner-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.story-corner h2{font-size:32px;line-height:1.35;margin:8px 0;letter-spacing:0}.story-corner p{margin:0;max-width:540px}.story-kicker{color:#376f72;font-size:14px;font-weight:700}.story-corner-buttons{display:flex;flex-wrap:wrap;gap:12px}
.story-launch,.family-primary,.family-stories,#openFamilyCampaign{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:6px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;letter-spacing:0}.story-launch,.family-primary{background:#ec725e;color:#202b31}.story-launch svg{width:21px;height:21px}#openFamilyCampaign,.family-stories{background:#fff;color:#235455;border-color:#95c8cb}
.story-library,.family-campaign-modal{border:0;border-radius:8px;padding:0;width:min(850px,calc(100% - 28px));max-height:calc(100dvh - 32px);color:#17383c;background:#fff;overflow:auto;letter-spacing:0}.story-library::backdrop,.family-campaign-modal::backdrop{background:#122d39aa}
.story-library-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px 12px}.story-library h2{font-size:26px;margin:0}.story-library-head p{margin:0;color:#587074;font-size:14px}.story-library-head button,.family-close,.story-play,.family-slide-controls button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:10px;border:1px solid #cadcdc;border-radius:50%;background:#fff;color:#214d50;cursor:pointer}.story-library-head svg,.story-play svg,.family-close svg,.family-slide-controls svg{width:22px;height:22px}
.story-search{display:block;padding:12px 28px;font-size:14px}.story-search input{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:10px 14px;font:inherit;font-size:16px;border:1px solid #9ebdc1;border-radius:6px;background:#fff;color:#153d40}.story-list{padding:0 28px;display:grid;gap:12px}.story-item{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;gap:14px;align-items:center;border:1px solid #d3e4e5;padding:16px;border-radius:8px;background:#fbfefd}.story-item.selected{border-color:#168078;background:#effaf5}.story-item h3{font-size:17px;margin:0;overflow-wrap:anywhere}.story-item p{font-size:14px;color:#557175;margin:5px 0 0;overflow-wrap:anywhere}.story-book{width:48px;height:54px;display:grid;place-items:center;background:#fff2c5;color:#967323;border-radius:4px}.story-book svg{width:26px;height:26px}.story-empty{padding:36px 12px;text-align:center;color:#527075}.story-more{display:block;margin:20px auto;padding:10px 18px;font:inherit;border:1px solid #bed6d8;border-radius:6px;background:#fff;color:#174c4e;cursor:pointer}.story-player-wrap{margin-top:20px;padding:22px 28px;border-top:1px solid #c6e5e5;background:#eaf7f5}.story-player-wrap strong{display:block;font-size:16px;margin-bottom:10px;overflow-wrap:anywhere}.story-player-wrap audio{width:100%;height:54px}.story-player-wrap p{margin:6px 0 0;font-size:14px;color:#9c3434}
.family-campaign-modal{width:min(720px,calc(100% - 28px));background:#f0fafb}.family-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.family-close{position:absolute;top:12px;right:12px;box-shadow:0 2px 9px #0002}.family-copy{padding:24px 30px 28px}.family-eyebrow{margin:0;color:#277379;font-size:14px;font-weight:700}.family-copy h2{font-size:28px;line-height:1.4;margin:8px 0;color:#174950;overflow-wrap:anywhere}.family-support{margin:0 0 20px;font-size:16px;line-height:1.6}.family-actions{display:flex;gap:12px;flex-wrap:wrap}.family-copy small{display:block;color:#4a686f;font-size:11px;margin-top:16px}.family-slide-controls{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px}.family-slide-controls[hidden],[hidden]{display:none!important}
@media(max-width:640px){.story-corner{padding:36px 0}.story-corner-inner{align-items:flex-start;flex-direction:column}.story-corner h2{font-size:26px}.story-corner-buttons{width:100%}.story-launch{width:100%}.story-library-head{padding:20px 18px 8px}.story-library h2{font-size:23px}.story-search{padding:12px 18px}.story-list{padding:0 18px}.story-item{padding:12px;grid-template-columns:36px minmax(0,1fr) 44px;gap:10px}.story-book{width:36px;height:46px}.story-player-wrap{padding:18px}.family-copy{padding:20px}.family-copy h2{font-size:25px}.family-actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){.story-library,.family-campaign-modal{scroll-behavior:auto}}
