.story-studio{--story-ink:#314f60;--story-accent:#648b8b;color:var(--story-ink);max-width:1240px;margin:auto}.story-studio *{box-sizing:border-box}.story-studio button{font:inherit}.story-studio button:focus-visible,.story-studio input:focus-visible,.story-studio select:focus-visible{outline:3px solid #d5a85b;outline-offset:3px}.story-studio button:disabled{opacity:.45;cursor:default}.story-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.story-heading h1{font-size:25px;margin:3px 0}.story-heading p{font-size:12px;color:#71848b;margin:5px 0}.story-heading small,.story-overline{font-size:10px;letter-spacing:2px;color:#7d9598}.story-studio .story-small{padding:8px 12px;border:1px solid #c4d3d5;border-radius:8px;background:#f7faf9;color:var(--story-ink);font-size:12px}.story-layout{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(360px,1.4fr);gap:22px;align-items:start}.story-tabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.story-tabs button{border:0;border-radius:7px;background:#e2e9e9;color:#698087;padding:8px 11px;font-size:12px}.story-tabs button[aria-pressed=true]{background:#547c80;color:white}.story-tabs small{font-size:10px;opacity:.7;margin-left:4px}.story-shelves{border:1px solid #c5d0ce;border-radius:12px;background:linear-gradient(90deg,#d4ddda,#e4eae7 40%,#d5dfdb);padding:0 16px 16px;max-height:640px;overflow:auto}.story-shelf{border-bottom:9px solid #afc0b8;box-shadow:0 4px 4px -3px #435e5838;padding:15px 0 10px;margin-bottom:12px}.story-shelf h2{font-size:11px;letter-spacing:1px;color:#58746d;margin:0 0 12px}.story-covers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.story-book{border:0;background:transparent;text-align:left;padding:0;min-width:0;color:var(--story-ink)}.story-cover{height:150px;border:1px solid #a9bfba;border-left:6px solid #7d9a91;border-radius:2px 9px 9px 2px;background:linear-gradient(140deg,#f2edda,#c4d5c9);box-shadow:3px 5px 8px #405d5420;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:9px}.story-cover img{width:calc(100% + 18px);height:78px;object-fit:cover;margin:-9px -9px 7px}.story-cover strong{font-family:Georgia,serif;font-size:16px;line-height:1.12}.story-cover small{font-size:8px;letter-spacing:1px}.story-book[aria-pressed=true] .story-cover{outline:3px solid #6b9291;outline-offset:3px}.story-book-caption{display:block;font-size:11px;line-height:1.4;padding-top:8px}.story-book-caption small{display:block;color:#7a8e8e;font-size:10px}.story-player{border:1px solid #c1d1d5;border-radius:14px;background:#f5f8f8;box-shadow:0 6px 25px #3c55650a;overflow:hidden}.story-now{display:flex;align-items:center;gap:10px;padding:14px 17px;background:#e3ebee}.story-now h2{font-size:15px;line-height:1.4;margin:3px 0}.story-now small{font-size:9px;letter-spacing:1px;color:#6f8b94}.story-disc{width:35px;height:35px;border:1px solid #8da9ab;border-radius:50%;background:repeating-radial-gradient(circle,#b5cbc8 0 2px,#d7e2df 3px 4px);display:grid;place-items:center;flex-shrink:0}.story-disc:after{content:'';width:9px;height:9px;background:#edf2ef;border:1px solid #89a4a3;border-radius:50%}.story-player[data-playing=true] .story-disc{animation:story-spin 5s linear infinite}@keyframes story-spin{to{transform:rotate(360deg)}}.story-screen{position:relative;aspect-ratio:16/9;background:#263e4d}.story-screen iframe,.story-screen #storyYouTube{width:100%;height:100%;border:0}.story-screen iframe{pointer-events:none}.story-tap{position:absolute;inset:0;border:0;background:transparent;color:white;display:grid;place-items:center;font-size:40px}.story-tap:disabled{opacity:1}.story-idle{padding:42px 25px;color:#c0d4d9;text-align:center;font-size:13px}.story-deck{padding:14px 17px}.story-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.story-studio .story-primary{border:0;border-radius:8px;background:#557f84;color:#fff;padding:10px 16px;font-size:12px}.story-time{font-variant-numeric:tabular-nums;font-size:11px;color:#768b93;margin-left:auto}.story-segments{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 10px}.story-segments button{border:1px solid #cfdbdc;border-radius:7px;background:white;color:#617c85;padding:7px 10px;font-size:11px}.story-segments button[aria-pressed=true]{background:#e1ece9;border-color:#70938d;color:#3e6d66}.story-range{display:flex;align-items:end;gap:8px;flex-wrap:wrap;background:#eaf0f0;border-radius:9px;padding:10px}.story-range label{font-size:10px;color:#71858c}.story-range input{display:block;width:78px;padding:7px;border:1px solid #c6d5d6;border-radius:5px;color:#345363;background:white;margin-top:4px}.story-range label input[type=checkbox]{display:inline;width:auto}.story-range .story-mark{display:block;border:0;background:none;color:#567c84;font-size:10px;padding:5px 0 0}.story-status{min-height:20px;font-size:11px;line-height:1.7;color:#6d858b;margin:10px 0 0}.story-status[role=alert]{color:#a45045}.story-learning{margin-top:16px;border:1px solid #ccd9dc;background:#fff;border-radius:12px;padding:17px}.story-stage-list{display:flex;flex-wrap:wrap;gap:6px;padding:0;list-style:none;margin:0 0 18px;font-size:10px;color:#8a999c}.story-stage-list li{padding:6px 9px;background:#edf1f2;border-radius:20px}.story-stage-list li.active{background:#547c80;color:white}.story-line{font-family:Georgia,serif;font-size:23px;line-height:1.5;color:#304e60;white-space:pre-line;margin:12px 0}.story-meaning{font-size:12px;color:#7d8c91;line-height:1.7}.story-feedback{font-size:12px;line-height:1.8;margin:12px 0;color:#5d777d}.story-feedback .word{font:inherit;display:inline-block;margin:2px 4px 2px 0;padding:3px 6px;border-radius:4px;background:#e9f0ed}.story-feedback .word.bad{background:#f6e3dd;color:#9e5548}.story-feedback .word.omitted{text-decoration:line-through}.story-chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.story-chips button{background:#edf2f2;border:1px solid #c9d8d8;border-radius:7px;padding:8px 12px;color:#40636d;font-size:13px}.story-answer{min-height:44px;border-bottom:1px dashed #c4d3d5;padding-bottom:10px}.story-empty{font-size:12px;color:#81948e;padding:25px 0;line-height:1.8}.story-form textarea{width:100%;min-height:130px}.story-form fieldset{border:1px solid #d1dddd;margin:10px 0;padding:12px}.story-form .story-form-row{display:flex;gap:10px}.story-form .story-form-row label{flex:1}.story-form p{font-size:12px;line-height:1.7}.story-studio audio{max-width:100%;height:34px;margin:10px 0}.story-speed{font-size:11px;border:1px solid #c8d7da;border-radius:6px;padding:7px;color:#496b75;background:white}@media(max-width:900px){.story-layout{grid-template-columns:1fr}.story-shelves{max-height:330px}.story-covers{grid-template-columns:repeat(3,minmax(0,1fr))}.story-cover{height:150px}.story-heading h1{font-size:22px}}@media(max-width:480px){.story-covers{grid-template-columns:repeat(2,minmax(0,1fr))}.story-heading{align-items:start}.story-now{padding:12px}.story-deck{padding:12px}.story-line{font-size:20px}}@media(prefers-reduced-motion:reduce){.story-player[data-playing=true] .story-disc{animation:none}}
.story-studio .story-tabs button{width:auto;display:inline-flex;flex-direction:row;margin:0;gap:2px;justify-content:center;font-weight:500}.story-layout>div{min-width:0}main:has(.story-studio){width:auto;min-width:0;margin:0}
.story-picker{border:1px solid #c8d6d8;border-radius:14px;background:#f8faf9;overflow:hidden}.story-picker-banner{display:flex;gap:17px;align-items:center;padding:18px;background:#e6eded}.story-picker-banner>img{width:130px;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.story-picker-banner>div{min-width:0}.story-picker-banner h2{font-size:18px;line-height:1.4;margin:6px 0 10px}.story-picker-banner button{margin:0 5px 5px 0}.story-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 20px 8px}.story-picker-heading h2{font-size:17px;margin:0 0 5px}.story-picker-heading p{font-size:12px;margin:0;color:#7c9195}.story-sentence-list{padding:0 20px 12px;max-height:52svh;overflow:auto}.story-sentence-group h3{font-size:11px;color:#7c9594;letter-spacing:1px;margin:16px 0 6px}.story-sentence-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e2e9e7;padding:14px 0}.story-sentence-row>div{min-width:0}.story-sentence-row p{font-family:Georgia,serif;font-size:18px;line-height:1.45;margin:0 0 5px;color:#365a67}.story-sentence-row small{font-size:11px;line-height:1.5;color:#839598}.story-studio .story-star{width:42px;height:44px;flex-shrink:0;border:1px solid #d7e0dc;border-radius:11px;background:#fff;color:#a3b4ae;font-size:29px;line-height:1;padding:0}.story-studio .story-star[aria-pressed=true]{color:#bb8b36;border-color:#d6bd7e;background:#fbf3dc}.story-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;background:#edf2ef;border-top:1px solid #d9e3df}.story-picker-footer strong{font-size:14px;color:#5a7c6f}.story-picker-footer p{font-size:10px;line-height:1.7;margin:5px 0 0;color:#82948c}.story-layout.story-study-layout{grid-template-columns:minmax(0,1fr);max-width:860px;margin:auto}.story-study-layout>div:first-child{display:none}.story-study-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px;font-size:12px;color:#71898d}.story-study-layout .story-learning{margin-top:14px}.story-study-layout .story-screen{max-height:48svh;aspect-ratio:16/9}.story-study-layout .story-player{max-width:100%}@media(max-width:600px){.story-picker-banner{padding:14px;gap:12px}.story-picker-banner>img{width:90px}.story-picker-banner h2{font-size:16px}.story-picker-footer{align-items:stretch;flex-direction:column;gap:10px}.story-sentence-row p{font-size:17px}.story-sentence-list{max-height:none}.story-study-layout .story-screen{max-height:none}}
.story-studio .story-picker-title{display:flex;align-items:center;gap:9px;padding:10px 15px;background:#e6eded;border-bottom:1px solid #dbe4e1}.story-picker-title>span{font-size:10px;color:#7a9390;white-space:nowrap}.story-picker-title>strong{font-size:12px;line-height:1.4;flex:1;min-width:0}.story-studio .story-picker-title .story-small{padding:5px 8px;font-size:10px;white-space:nowrap}.story-studio .story-picker-heading{padding:11px 15px 5px;gap:8px}.story-studio .story-picker-heading h2{font-size:14px;margin:0 0 2px}.story-studio .story-picker-heading p{font-size:10px}.story-studio .story-picker-heading .story-small{padding:5px 8px;font-size:10px}.story-studio .story-sentence-list{padding:0 15px 6px;max-height:calc(100svh - 310px)}.story-studio .story-sentence-group h3{font-size:9px;margin:7px 0 3px;letter-spacing:.5px}.story-studio .story-sentence-row{gap:8px;padding:5px 0;min-height:36px}.story-studio .story-sentence-row p{font-family:inherit;font-size:12.5px;line-height:1.35;margin:0 0 1px}.story-studio .story-sentence-row small{display:block;font-size:10px;line-height:1.3}.story-studio .story-star{width:34px;height:34px;border-radius:7px;font-size:23px}.story-studio .story-picker-footer{gap:10px;padding:10px 15px}.story-studio .story-picker-footer strong{font-size:12px}.story-studio .story-picker-footer p{font-size:9px;margin:2px 0 0}.story-studio .story-picker-footer .story-primary{padding:9px 12px;font-size:11px}@media(max-width:900px){.story-studio .story-sentence-list{max-height:55svh}}@media(max-width:600px){.story-studio .story-sentence-row p{font-size:12px}.story-studio .story-picker-footer{flex-direction:row;align-items:center}.story-studio .story-picker-footer .story-primary{font-size:10px;max-width:160px}}
.story-studio .story-change-video{display:none}.story-studio .story-star{width:28px;height:28px;font-size:21px}.story-studio .story-sentence-row{padding:2px 0;min-height:33px}.story-studio:has(.story-picker) .story-heading{margin-bottom:10px;gap:8px}.story-studio:has(.story-picker) .story-heading small{display:none}.story-studio:has(.story-picker) .story-heading h1{font-size:21px;margin:0}.story-studio:has(.story-picker) .story-heading p{font-size:10px;margin:3px 0}@media(max-width:900px){.story-layout:has(.story-picker)>div:first-child{display:none}.story-studio .story-change-video{display:block}.story-studio .story-picker-title{padding:8px 12px;gap:6px}.story-studio .story-picker-heading{padding:9px 12px 4px}.story-studio .story-sentence-list{max-height:calc(100svh - 255px);padding:0 12px 4px}.story-studio .story-picker-footer{padding:9px 12px}.story-studio .story-sentence-group h3{margin-top:4px}}
.story-studio .story-star{width:22px;height:22px;border:0;border-radius:0;background:transparent;font-size:15px;color:#aab8b1}.story-studio .story-star[aria-pressed=true]{background:transparent;color:#b58a36}.story-studio .story-sentence-row{gap:5px;min-height:31px}.story-sentence-number{width:17px;flex-shrink:0;font-size:9px;color:#9aaba5;text-align:center;font-variant-numeric:tabular-nums}.story-select-actions{display:flex;gap:5px;flex-shrink:0}.story-studio .story-sentence-list{padding-top:4px}.story-studio .story-sentence-row p{overflow-wrap:anywhere}.story-studio .story-picker-heading{align-items:center}@media(max-width:480px){.story-studio .story-picker-heading{flex-wrap:wrap}}
.story-sentence-pages{display:flex;flex-wrap:wrap;gap:5px;padding:4px 12px 7px}.story-studio .story-sentence-pages button{padding:5px 9px;border:1px solid #d8e2dc;border-radius:6px;background:#f6f9f7;color:#759084;font-size:11px}.story-studio .story-sentence-pages button[aria-pressed=true]{background:#668c7f;border-color:#668c7f;color:#fff}.story-sentence-pages small{font-size:9px;margin-left:3px;opacity:.75}.story-studio .story-sentence-row[hidden]{display:none}
.story-repeat-scope{display:flex;gap:6px;margin-bottom:12px}.story-studio .story-repeat-scope button{border:1px solid #c8d8d3;border-radius:7px;padding:8px 12px;font-size:12px;color:#728a81;background:#f2f6f3}.story-studio .story-repeat-scope button[aria-pressed=true]{background:#64887a;color:white;border-color:#64887a}.story-player[data-selection-playback=true] .story-range>label:not(:last-child),.story-player[data-selection-playback=true] #storyApply{display:none}.story-view-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.story-view-heading h2{font-size:16px;margin:0 0 5px}.story-view-heading p{font-size:11px;line-height:1.6;color:#7d908b;margin:0}.story-watch-script{max-height:200px;overflow:auto}.story-watch-script>div{display:flex;gap:10px;align-items:baseline;padding:7px 10px;border-bottom:1px solid #e4ebe6;border-radius:5px}.story-watch-script>div.active{background:#e7f0e8;color:#396955}.story-watch-script small{font-size:10px;color:#9cafa5}.story-watch-script p{font-size:12px;line-height:1.5;margin:0}@media(max-width:600px){.story-view-heading{align-items:stretch;flex-direction:column;gap:9px}}
.story-studio .story-layout.story-study-layout{width:100%;max-width:none;margin:0}.story-studio .story-study-layout .story-screen{width:100%;height:auto;max-height:none;aspect-ratio:16/9}.story-study-layout .story-screen iframe,.story-study-layout .story-screen #storyYouTube{position:absolute;inset:0;width:100%;height:100%;display:block}.story-studio:has(.story-study-layout) .story-heading small{display:none}.story-studio:has(.story-study-layout) .story-heading{margin-bottom:10px}.story-studio .story-study-layout .story-now{padding:10px 14px}.story-study-layout .story-now h2{font-size:14px}.story-study-layout .story-disc{width:29px;height:29px}.story-listen-bar{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:10px}.story-listen-bar .story-repeat-scope{margin:0;flex-shrink:0}.story-listen-bar .story-segments{flex:1;min-width:100px;margin:0;gap:4px}.story-studio .story-segments button[data-lesson]{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;padding:0;border-radius:4px;font-size:11px;line-height:1}.story-studio .story-repeat-scope button{padding:6px 9px;font-size:11px;min-height:28px}.story-studio .story-study-layout .story-range{background:transparent;padding:4px 0 0}.story-read-line{display:flex;gap:10px;align-items:baseline;margin:12px 0}.story-read-line .story-line{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.story-studio .story-sentence-speaker{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #c5d8d1;border-radius:7px;background:#eff5f1;color:#5b8273;padding:6px;vertical-align:middle}.story-sentence-speaker svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}@media(max-width:600px){main:has(.story-study-layout){padding-left:10px;padding-right:10px}.story-studio .story-study-layout .story-deck{padding:10px}.story-listen-bar{gap:7px}.story-studio .story-segments button[data-lesson]{width:27px;height:27px;flex-basis:27px}.story-studio .story-study-layout .story-now{padding:8px 10px}.story-read-line{gap:7px}.story-studio .story-read-line .story-line{font-size:19px}}
.story-studio:has(.story-study-layout){max-width:none}
.story-studio .story-repeat-scope button,.story-studio .story-controls #storyPlay,.story-studio .story-controls #storyPause,.story-studio .story-controls #storySpeed{box-sizing:border-box;height:28px;min-height:28px;padding:4px 9px;border-radius:7px;font-family:inherit;font-size:11px;font-weight:400;line-height:18px;margin:0;width:auto}.story-studio .story-controls #storyPlay{border:1px solid #557f84}.story-studio .story-controls #storySpeed{padding-right:24px}

.story-playback-toolbar{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px 10px}.story-playback-toolbar .story-listen-bar{display:contents}.story-playback-toolbar .story-repeat-scope{margin:0;gap:5px;flex-shrink:0}.story-playback-toolbar .story-segments{flex:0 1 auto;min-width:0;max-width:420px;margin:0;gap:3px;align-self:center}.story-playback-toolbar .story-controls{flex:0 0 auto;gap:5px;min-height:28px}.story-playback-toolbar .story-time{margin-left:4px}.story-studio .story-playback-toolbar .story-segments button[data-lesson]{width:22px;height:22px;min-height:22px;flex:0 0 22px;border-radius:3px;font-size:10px}.story-studio #storyStatus[hidden]{display:none}.story-studio .story-view-heading p{font-size:11px}@media(max-width:600px){.story-playback-toolbar{gap:6px}.story-playback-toolbar .story-segments{flex:1 1 90px;max-width:100%}.story-playback-toolbar .story-controls{flex-wrap:wrap;max-width:100%}.story-playback-toolbar .story-time{font-size:10px}}

.story-studio .story-study-layout .story-now{padding:6px 12px;gap:8px;min-height:34px}.story-now-title{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;min-width:0}.story-now-title small{flex-shrink:0}.story-studio .story-study-layout .story-now h2{margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.story-study-layout .story-disc{width:22px;height:22px}.story-study-layout .story-disc:after{width:6px;height:6px}@media(max-width:600px){.story-studio .story-study-layout .story-now{padding:5px 9px}.story-now-title{gap:2px 7px}.story-study-layout .story-now small{font-size:8px}.story-studio .story-study-layout .story-now h2{font-size:11px}}
@media(max-width:600px){.story-playback-toolbar .story-segments{flex-basis:170px}}

.story-playback-toolbar .story-repeat-scope{display:contents}.story-playback-toolbar #storySelectionScope{order:0}.story-studio .story-playback-toolbar .story-range{order:1;display:flex;align-items:center;align-self:flex-start;min-height:28px;padding:0;background:transparent;white-space:nowrap}.story-playback-toolbar .story-range label{display:flex;align-items:center;gap:4px;margin:0;font-size:11px}.story-playback-toolbar .story-range input[type=checkbox]{margin:0}.story-playback-toolbar .story-controls{order:2}.story-playback-toolbar #storySentenceScope{order:3}.story-playback-toolbar .story-segments{order:4}.story-playback-toolbar{align-items:flex-start;gap:6px}

.story-study-layout #storyLearning:has(.story-view-heading){padding:10px 14px}.story-study-layout .story-view-heading{margin:0}.story-study-layout .story-view-heading p{margin:0}

/* Level record shelves: every real video remains available in its horizontal lane. */
.story-studio .story-shelves{padding:0 14px 12px;background:linear-gradient(90deg,#d8e0db,#eef1e9 48%,#dce5df);max-height:calc(100svh - 220px)}.story-studio .story-shelf{padding:13px 0 0;margin-bottom:9px;border-bottom:7px solid #a6b9af}.story-shelf-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.story-shelf-label h2{margin:0;font-size:10px;letter-spacing:1.4px}.story-shelf-label>small{font-size:8px;letter-spacing:1px;color:#7c9489}.story-studio .story-covers{display:flex;gap:15px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:4px 4px 10px;scrollbar-width:thin;scrollbar-color:#9eb5a8 transparent}.story-studio .story-book{flex:0 0 123px;scroll-snap-align:start}.story-record{position:relative;padding-right:17px;margin:0 0 5px}.story-vinyl{position:absolute;right:0;top:6px;width:100px;height:100px;border-radius:50%;background:repeating-radial-gradient(circle,#263c40 0 2px,#344b4d 2.5px 3.5px);box-shadow:2px 3px 4px #263c4030;display:grid;place-items:center;transition:transform .18s}.story-vinyl i{width:32px;height:32px;border-radius:50%;background:#d9be7b;color:#4f635c;font-size:8px;font-style:normal;line-height:32px;text-align:center}.story-studio .story-cover{position:relative;width:106px;height:112px;padding:0;overflow:hidden;border:1px solid #a9bdb0;border-left:3px solid #799b8b;border-radius:2px;background:#e9eee0;box-shadow:2px 3px 5px #405d5420;display:flex;justify-content:flex-start}.story-studio .story-cover img{display:block;width:100%;height:59px;margin:0;object-fit:cover}.story-cover-bottom{display:block;padding:5px 6px;min-height:0}.story-studio .story-cover small{display:block;font-size:6px;letter-spacing:.7px;margin-bottom:3px}.story-studio .story-cover strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:Georgia,serif;font-size:11px;line-height:1.15}.story-studio .story-book-caption{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.story-studio .story-book-caption small{font-size:8px;margin-top:2px}.story-book:hover .story-vinyl,.story-book[aria-pressed=true] .story-vinyl{transform:translateX(4px)}.story-studio .story-book[aria-pressed=true] .story-cover{outline:2px solid #64887a;outline-offset:2px}.story-shelf-empty{font-size:10px;color:#84968b;min-height:40px;margin:4px 0 8px}.story-reading>.story-player{border:0;background:transparent;box-shadow:none;overflow:visible}.story-reading>.story-player>.story-now,.story-reading .story-playback-toolbar,.story-reading>.story-player .story-segments{display:none}.story-reading>.story-player>.story-screen{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%);pointer-events:none}.story-reading>.story-player .story-deck{padding:0}.story-reading>.story-learning{margin-top:0;padding:20px}.story-reading .story-read-line{margin:18px 0}.story-reading .story-read-line .story-line{font-size:25px}.story-reading #storyInteraction>.story-controls{margin-top:15px}@media(max-width:600px){.story-studio .story-shelves{max-height:calc(100svh - 185px)}.story-reading>.story-learning{padding:15px}.story-reading .story-read-line .story-line{font-size:21px}}

.story-category-slots{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}.story-studio .story-category-slots button{flex:1 1 90px;border:1px solid #b9cbc2;border-radius:8px 8px 3px 3px;padding:9px 6px;font-size:10px;background:#e8ede7;color:#667d73}.story-studio .story-category-slots button[aria-pressed=true]{background:#5f8078;color:#fff;border-color:#5f8078}.story-studio .story-category-slots button:disabled{opacity:.6;cursor:default}.story-locked-cover{height:59px;width:100%;display:grid;place-items:center;font-size:20px;background:#dbe3dc}.story-access-list{max-height:60svh;overflow:auto}.story-access-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #dae4df;padding:12px 0}.story-access-row>strong{min-width:75px;font-size:13px}.story-access-row>div{display:flex;gap:10px;flex-wrap:wrap}.story-access-row label{font-size:12px;white-space:nowrap}.story-access-row>span{font-size:11px;color:#608477}

.story-studio .story-book{flex-basis:98px}.story-studio .story-cover{width:83px;height:89px}.story-studio .story-cover img,.story-studio .story-locked-cover{height:46px}.story-studio .story-cover strong{font-size:9px}.story-studio .story-cover small{font-size:5px;letter-spacing:.3px}.story-cover-bottom{padding:4px}.story-record{padding-right:15px}.story-vinyl{width:79px;height:79px;top:5px}.story-vinyl i{width:26px;height:26px;line-height:26px;font-size:7px}.story-studio .story-covers{gap:10px}.story-studio .story-book-caption{font-size:9px}.story-studio .story-book[data-state=completed] .story-book-caption small{color:#477c5c}.story-studio .story-book[data-state=current] .story-cover{outline:2px solid #91a99b;outline-offset:2px}.story-shelf-tools{display:flex;align-items:center;gap:4px}.story-shelf-tools>small{font-size:8px;color:#7c9489;margin-right:4px}.story-studio .story-shelf-arrow{width:21px;height:21px;padding:0;display:grid;place-items:center;border:1px solid #b9cac0;border-radius:4px;background:#eef3ed;color:#648172;font-size:16px;line-height:1}

.story-family-tabs{display:flex;gap:5px;margin-bottom:8px}.story-studio .story-family-tabs button{flex:1;padding:8px 10px;font-size:11px;border:1px solid #bfcfc5;border-radius:7px;background:#eaf0e9;color:#698174}.story-studio .story-family-tabs button[aria-pressed=true]{background:#648477;color:#fff;border-color:#648477}.story-family-tabs button:disabled{opacity:.45}

.story-category-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.story-studio .story-category-slots button{min-width:0;min-height:36px;padding:7px 6px;overflow-wrap:anywhere}.story-studio .story-shelves{max-height:none}.story-studio .story-shelf{margin-bottom:0}.story-studio .story-covers{min-height:140px}.story-studio .story-shelf-empty{align-self:center;min-height:0;width:100%;text-align:center;padding:20px 0}.story-family-tabs{margin-top:2px}
.story-category-slots{grid-template-columns:repeat(4,minmax(0,1fr))}.story-studio .story-category-slots button{white-space:nowrap;font-size:9px;padding:7px 3px;letter-spacing:-.3px}@media(max-width:480px){.story-studio .story-category-slots button{font-size:8px;padding:7px 2px;letter-spacing:-.5px}}

.story-studio .story-book[data-state=locked]:disabled{opacity:1}.story-book[data-state=locked] .story-cover,.story-book[data-state=locked] .story-vinyl{opacity:.55}.story-studio .story-book[data-state=locked] .story-book-caption{color:#7d9087}.story-studio .story-book[data-state=current] .story-book-caption small{color:#426e5b;font-weight:600}
.story-studio .story-book{flex-basis:83px}.story-studio .story-cover{width:70px;height:75px}.story-studio .story-cover img,.story-studio .story-locked-cover{height:38px}.story-studio .story-cover strong{font-size:8px}.story-studio .story-cover small{font-size:4.5px;margin-bottom:2px}.story-cover-bottom{padding:3px}.story-record{padding-right:13px;margin-bottom:3px}.story-vinyl{width:66px;height:66px;top:4px}.story-vinyl i{width:23px;height:23px;line-height:23px;font-size:6px}.story-studio .story-covers{gap:9px;min-height:118px;padding-bottom:7px}.story-studio .story-shelves{padding:0 11px 9px}.story-studio .story-shelf{padding-top:10px;border-bottom-width:5px}.story-shelf-label{margin-bottom:7px}.story-studio .story-book-caption{padding-top:4px;font-size:9px}.story-studio .story-book-caption small{font-size:8px}
/* Subtle keepsake compartments: ivory, aged brass and inset corners. */
.story-studio .story-category-slots button,.story-studio .story-tabs button,.story-studio .story-family-tabs button{position:relative;background:linear-gradient(160deg,#faf7eb,#e9e9db);border:1px solid #c4ba96;border-radius:7px;color:#757c69;box-shadow:inset 0 0 0 2px #ffffff75,0 2px 3px #5d665012;transition:background .18s,border-color .18s}.story-studio .story-category-slots button{min-height:34px}.story-studio .story-category-slots button:before,.story-studio .story-category-slots button:after{content:'';position:absolute;width:4px;height:4px;border-color:#b5a875;border-style:solid;opacity:.65;pointer-events:none}.story-studio .story-category-slots button:before{top:3px;left:3px;border-width:1px 0 0 1px}.story-studio .story-category-slots button:after{bottom:3px;right:3px;border-width:0 1px 1px 0}.story-studio .story-category-slots button[aria-pressed=true],.story-studio .story-tabs button[aria-pressed=true],.story-studio .story-family-tabs button[aria-pressed=true]{background:linear-gradient(150deg,#7f9989,#607e72);border-color:#b5aa7e;color:#fffaf0;box-shadow:inset 0 0 0 2px #e1d4a735,0 2px 4px #526c5920}.story-studio .story-category-slots button[aria-pressed=true]:before,.story-studio .story-category-slots button[aria-pressed=true]:after{border-color:#ead8a2;opacity:.9}.story-studio .story-category-slots button:disabled,.story-studio .story-family-tabs button:disabled{opacity:.7;color:#959781}.story-studio .story-tabs button{padding:7px 10px;font-size:11px}.story-studio .story-category-slots button:focus-visible,.story-studio .story-tabs button:focus-visible{outline:2px solid #b6a16a;outline-offset:3px}@media(prefers-reduced-motion:reduce){.story-studio .story-category-slots button,.story-studio .story-tabs button,.story-studio .story-family-tabs button{transition:none}}

.story-studio .story-tabs button{display:inline-flex;align-items:center;gap:5px;min-height:34px}.story-level-emblem{width:20px;height:19px;flex-shrink:0;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.story-level-emblem .box-body{fill:currentColor;fill-opacity:.09}.story-level-emblem .box-lid{fill:currentColor;fill-opacity:.16}.story-level-emblem .box-clasp{fill:#b1a27a;stroke:#8e8263}.story-studio .story-tabs button[data-level-state=completed]{background:linear-gradient(155deg,#fffbea,#eee2ba);border-color:#b8a06a;color:#8c733d;box-shadow:inset 0 0 0 2px #fff9df,0 -3px 7px #d6bd6130}.story-tabs button[data-level-state=completed] .box-lid{fill:#c5a354;fill-opacity:.25}.story-tabs button[data-level-state=completed] .box-glow{stroke:#a17c2f;stroke-width:1.6}.story-studio .story-tabs button[data-level-state=completed][aria-pressed=true]{border-color:#91713a;box-shadow:inset 0 0 0 2px #fff8d6,0 0 0 1px #bca36a}.story-studio .story-tabs button[data-level-state=locked]{background:linear-gradient(#e7e8df,#d9dfd4);border-color:#b8bca9;color:#89917f;box-shadow:inset 0 0 0 2px #f0f1e750}.story-tabs button[data-level-state=locked] .box-lid{fill-opacity:.3}.story-studio .story-tabs button[data-level-state=current]{background:linear-gradient(150deg,#7f9989,#607e72);border-color:#b5aa7e;color:#fffaf0}.story-studio .story-tabs button[data-level-state=preview] .story-level-emblem{display:none}
.story-redirect{width:100%;padding:9px;font-size:11px}.story-draft-list{display:grid;gap:8px;max-height:60svh;overflow:auto}.story-review-scroll{max-height:43svh;overflow:auto;margin:10px 0 20px}.story-review-table{width:100%;border-collapse:collapse;font-size:11px}.story-review-table td,.story-review-table th{border-bottom:1px solid #dce4de;padding:5px;vertical-align:top}.story-review-table td:first-child{width:45px}.story-review-table textarea,.story-review-table input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:6px;font-size:12px;border:1px solid #cdd9d1;border-radius:4px;background:#fff;margin:2px 0}.story-review-table textarea{min-height:45px;resize:vertical}.story-review-table td:last-child{width:25%}.story-review-table small{display:block;font-size:9px;color:#a58148}.story-review-warning{padding:8px 10px;border-radius:6px;background:#f7efdc;color:#947844;font-size:11px}.story-vocab-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;min-height:180px;padding:25px;margin:15px 0;border:1px solid #c7d7ca;border-radius:12px;background:#f4f7f0;color:#486755}.story-vocab-card strong{font-size:26px}.story-vocab-card p{font-size:14px;line-height:1.7}.story-vocab-card small{font-size:12px}.story-form details{margin-top:18px}.story-form input[type=password]{width:100%}

.story-name-replace{margin:16px 0;padding:14px;border:1px solid #b7c8bf;border-radius:10px;background:#f1f5ef}.story-name-replace h3{margin:0 0 10px}.story-word-number{display:inline-block;min-width:22px;text-align:center;color:#465e53}

.story-name-replace{margin:8px 0;padding:8px 10px;border-radius:7px}.story-name-replace h3{font-size:13px;margin:0 0 4px}.story-name-replace p,.story-name-replace label{font-size:11px;margin:3px 0}.story-name-replace .story-form-row{display:flex;flex-wrap:wrap;gap:8px}.story-name-replace .story-form-row label{flex:1;min-width:120px}.story-name-replace input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:5px 7px;font-size:12px;min-height:28px}.story-name-replace .story-small{padding:5px 9px;font-size:11px;min-height:28px}.story-name-replace #storyReplacePreview{font-size:11px;max-height:75px;overflow:auto;margin:4px 0}.story-name-replace [hidden]{display:none!important}
