
.weekly-task{box-sizing:border-box;position:relative;width:100%;max-width:500px;height:auto;min-height:clamp(300px,79vw,380px);margin:12px auto;border-radius:16px;overflow:hidden;background:#333334;color:#fff;font-family:Arial,sans-serif;text-align:left;isolation:isolate}
.weekly-task .weekly-task__photo{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:65% 40%;z-index:-2}
.weekly-task:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.66),rgba(0,0,0,.12) 34%,rgba(37,37,38,.94) 65%,#252526);z-index:-1}
.weekly-task .weekly-task__content{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 76px;grid-template-rows:minmax(100px,1fr) auto auto;align-content:stretch;gap:16px 14px;height:auto;min-height:inherit;padding:20px}
.weekly-task .weekly-task__heading{grid-column:1/-1;grid-row:1;min-width:0;padding:0;margin:0;align-self:start}
.weekly-task .weekly-task__heading h2{margin:0 0 7px;font-size:21px;line-height:1.18;font-weight:600;color:#fff}
.weekly-task .weekly-task__heading p{margin:0;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.4;color:#eee}
.weekly-task .weekly-task__completion{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:4px;align-self:center;margin:0;padding:0}
.weekly-task .weekly-task__completion-label{font-size:12px;line-height:16px;color:#fff;text-shadow:0 1px 3px #000}
.weekly-task .weekly-task__ring{box-sizing:border-box;position:relative;width:76px;height:76px;flex:none;margin:0;align-self:auto;border-radius:50%;background:#22292ef5;box-shadow:0 0 0 1px #ffffff40;backdrop-filter:none}
.weekly-task .weekly-task__ring svg{width:100%;height:100%;display:block}
.weekly-task .weekly-task__ring circle{fill:none;stroke-width:7}
.weekly-task .weekly-task__ring-track{stroke:#ffffff50}
.weekly-task .weekly-task__ring-value{stroke:#ff4656;stroke-linecap:round}
.weekly-task .weekly-task__ring-number{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:28px;font-weight:700;line-height:1.1}
.weekly-task .weekly-task__ring-number small{margin:3px 0 0;font-size:12px;font-weight:400}
.weekly-task .weekly-task__description{grid-column:1;grid-row:2;min-width:0;align-self:center;margin:0;padding:0}
.weekly-task .weekly-task__description h3{font-size:25px;line-height:1.16;max-width:none;color:#fff;font-weight:600;margin:0;overflow-wrap:break-word}
.weekly-task .weekly-task__description p{font-size:13px;line-height:1.4;color:#e2e2e6;max-width:none;margin:0}
.weekly-task .weekly-task__footer{grid-column:1/-1;grid-row:3;min-width:0;min-height:0;margin:0;padding:0}
.weekly-task a.weekly-task__button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:12px 14px;border:0;border-radius:10px;background:#ff4656;color:#fff;text-decoration:none;font:600 15px/1.3 Arial,sans-serif;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.weekly-task .weekly-task__button>span{pointer-events:none}
.weekly-task .weekly-task__button:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.weekly-task .weekly-task__load-error{font-size:12px;line-height:1.4;margin:0 0 8px}
@media(hover:hover) and (pointer:fine){.weekly-task a.weekly-task__button:hover{background:#ee3546}}
@media(max-width:430px){.weekly-task .weekly-task__content{padding:18px;gap:14px 12px}.weekly-task .weekly-task__heading h2{font-size:20px}.weekly-task .weekly-task__description h3{font-size:23px}}
@media(max-width:350px){.weekly-task .weekly-task__content{padding:16px;grid-template-columns:minmax(0,1fr) 68px;gap:12px}.weekly-task .weekly-task__heading h2{font-size:19px}.weekly-task .weekly-task__ring{width:68px;height:68px}.weekly-task .weekly-task__ring-number{font-size:25px}.weekly-task .weekly-task__description h3{font-size:22px}}


.video-practice{box-sizing:border-box;width:100%;max-width:500px;margin:0 auto;padding:18px 16px 30px;background:#fff;color:#242426;font-family:Arial,sans-serif;min-height:80vh;text-align:left}.video-practice *{box-sizing:border-box}.video-practice__header{display:flex;align-items:center;gap:14px;margin-bottom:22px}.video-practice h1{font-size:21px;font-weight:700;margin:0}.video-practice h2{font-size:26px;line-height:1.2;margin:8px 0 14px;font-weight:700}.video-practice button{font:600 14px/1.25 Arial,sans-serif;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.video-practice button:focus-visible{outline:3px solid #113d9e;outline-offset:3px}.video-practice button:disabled{opacity:.65;cursor:default}.video-practice__back{min-height:44px;background:#f3f4f6;border:0;border-radius:10px;padding:10px 12px;color:#34343a}.video-practice__intro,.video-practice__instruction{font-size:15px;line-height:1.5;margin:0 0 18px}.video-practice__weeks{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.video-practice__weeks button{background:#f2f3f5;color:#505059;border:0;border-radius:10px;min-height:44px;font-size:12px;padding:7px 3px}.video-practice__weeks button[aria-current=true]{background:#303033;color:#fff}.video-practice__summary{font-size:13px;color:#6d6d76;margin:16px 0 12px}.video-practice__list{display:grid;gap:9px}.video-practice__exercise{display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;text-align:left;border:1px solid #e8e8ed;border-radius:14px;background:#fafafb;color:#29292d}.video-practice__exercise strong{display:block;font-size:15px;line-height:1.3}.video-practice__exercise small{display:block;font-size:12px;margin-top:5px;font-weight:400;color:#73737c}.video-practice__number{flex:0 0 28px;color:#ed3e54;font-size:21px;text-align:center}.video-practice__status{margin-left:auto;font-size:11px;color:#767680;flex-shrink:0}.video-practice__primary,.video-practice__secondary{display:block;width:100%;min-height:48px;margin:17px 0 0;padding:13px;border-radius:11px;border:0;background:#ff4656;color:#fff;text-align:center}.video-practice__secondary{background:#f0f1f4;color:#484850}.video-practice__notice{border-radius:10px;padding:12px;background:#fff1db;color:#72501e;font-size:14px;line-height:1.45}.video-practice video{display:block;width:100%;max-height:390px;border-radius:14px;background:#252528;object-fit:contain}.video-practice__example{aspect-ratio:4/3}.video-practice__plan{display:flex;flex-direction:column;gap:6px;margin-top:18px;font-size:15px}.video-practice__plan span{font-size:13px;color:#6b6b73}.video-practice__camera{aspect-ratio:4/3;transform:scaleX(-1)}.video-practice__hint{font-size:13px;line-height:1.4;color:#73737d;margin:12px 0}.video-practice__timer{display:flex;flex-direction:column;align-items:center;gap:7px;padding:20px;margin:16px 0;border-radius:18px;background:#303033;color:#fff}.video-practice__timer strong{font-size:64px;line-height:1.2;font-variant-numeric:tabular-nums}.video-practice__timer small{font-size:12px;color:#e2e2e5}.video-practice__timer--rest{background:#194b44}.video-practice__result{background:#f1f2f4;border-radius:16px;padding:24px 18px;margin:18px 0;line-height:1.5}.video-practice__result>strong{font-size:25px}.video-practice__result--done{background:#e8f4ec;color:#195632}.video-practice__result p{font-size:14px;margin:10px 0 0}.video-practice__history{margin:20px 0;padding-bottom:20px;border-bottom:1px solid #ddd}.video-practice__history p{font-size:13px;color:#777}@media(max-width:350px){.video-practice{padding:14px 12px}.video-practice h1{font-size:19px}.video-practice h2{font-size:23px}.video-practice__status{display:none}}

/* Portrait media stays mounted at a fixed size throughout preview and recording. */
.video-practice--immersive{display:flex;flex-direction:column;height:100vh;height:100svh;min-height:540px;max-width:500px;padding:12px 16px max(12px,env(safe-area-inset-bottom));overflow-anchor:none;background:#121214;color:#fff}
.video-practice--immersive .video-practice__header{flex:none;min-height:44px;margin:0 0 10px;gap:14px}
.video-practice--immersive .video-practice__back{border-radius:24px;background:#ffffff16;color:#fff}
.video-practice--immersive h1{color:#fff;font-size:19px}
.video-practice--immersive .video-practice__task{flex:1;min-height:0;display:flex;flex-direction:column}
.video-practice--immersive .video-practice__task-heading{flex:none;margin-bottom:10px}
.video-practice--immersive .video-practice__summary{font-size:12px;line-height:16px;color:#b6b6bf;margin:0 0 4px}
.video-practice--immersive h2{color:#fff;font-size:21px;line-height:1.2;margin:0}
.video-practice--immersive .video-practice__notice{flex:none;margin:0 0 8px;padding:8px 10px;font-size:12px}
.video-practice__reel-space{display:flex;justify-content:center;flex:1;min-height:160px;overflow:hidden}
.video-practice__reel{position:relative;aspect-ratio:9/16;height:100%;max-width:100%;overflow:hidden;border-radius:16px;background:#080809}
.video-practice .video-practice__example{display:block;width:100%;height:100%;max-height:none;aspect-ratio:9/16;object-fit:contain;border-radius:0}
.video-practice__play-surface{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:transparent;border:0;color:#fff;touch-action:manipulation}
.video-practice__play-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:#0007;font-size:28px;padding-left:4px}
.video-practice__playback-controls{flex:none;display:flex;align-items:center;gap:8px;height:44px;margin:3px 0}
.video-practice__playback-controls button{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:transparent;color:#fff;font-size:18px}
.video-practice__playback-controls input{width:100%;min-width:0;accent-color:#ff4656;height:24px}
.video-practice__duration{font-size:12px;font-variant-numeric:tabular-nums;color:#d3d3da}
.video-practice svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin:auto}
.video-practice--immersive .video-practice__instruction{flex:none;font-size:13px;line-height:18px;color:#e0e0e6;margin:0 0 8px}
.video-practice--immersive .video-practice__plan{flex:none;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;font-size:12px;line-height:16px;margin:0 0 10px}
.video-practice--immersive .video-practice__plan span{font-size:12px;line-height:16px;color:#acacb7}
.video-practice--immersive .video-practice__open-camera{flex:none;margin:0;min-height:48px;border-radius:26px;font-size:15px}
.video-practice__missing{flex:1;display:flex;align-items:center;justify-content:center;color:#b6b6bf}
/* The camera remains a single mounted video underneath every capture control. */
.video-practice.video-practice--capture{position:fixed;inset:0;z-index:1000;width:100%;max-width:none;height:100%;height:100dvh;min-height:0;margin:0;padding:max(12px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));overflow:hidden;background:#080809;isolation:isolate}
.video-practice--capture:before{display:none}
.video-practice--capture .video-practice__header{position:relative;z-index:3;flex:none;margin:0 0 10px;min-height:44px;text-shadow:0 1px 5px #000}
.video-practice--capture .video-practice__back{background:#10111599}
.video-practice--capture h1{padding:10px 12px;border-radius:14px;background:#10111580}
.video-practice--capture .video-practice__task{display:flex;flex-direction:column;min-height:0}
.video-practice--capture .video-practice__task-heading{position:relative;z-index:2;flex:none;margin:0 0 10px;padding:10px 12px;border-radius:14px;background:#10111580;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-shadow:0 1px 4px #0006}
.video-practice--capture .video-practice__summary{color:#fff;font-size:12px}
.video-practice--capture h2{font-size:20px}
.video-practice--capture .video-practice__notice{position:absolute;top:134px;left:16px;right:16px;z-index:4}
.video-practice__capture{display:contents}
.video-practice__camera-space{position:absolute;inset:0;z-index:0;overflow:hidden}
.video-practice__capture .video-practice__camera{display:block;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;border-radius:0;object-fit:cover;object-position:center;transform:none;background:#080809}
.video-practice__capture .video-practice__camera--front{transform:scaleX(-1)}
.video-practice__capture .video-practice__timer{position:relative;z-index:2;flex:none;width:100%;max-width:400px;height:112px;margin:0 auto;padding:10px 8px;gap:3px;align-items:center;justify-content:center;border:1px solid #ffffff18;border-radius:18px;background:#10111599;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-align:center;text-shadow:0 1px 4px #0006}
.video-practice__capture .video-practice__timer>span{font-size:15px;line-height:20px;font-weight:600}
.video-practice__capture .video-practice__timer>strong{font-size:52px;line-height:1.05;min-width:0;text-align:center}
.video-practice__capture .video-practice__timer>small{font-size:12px;line-height:16px;color:#fff}
.video-practice__capture .video-practice__timer--rest{background:#123c32c9}
.video-practice__capture .video-practice__timer--rest>span{color:#c4ffe7}
.video-practice__capture-status{position:absolute;z-index:2;bottom:calc(max(16px,env(safe-area-inset-bottom)) + 112px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:6px 12px;min-height:28px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#10111599;text-align:center;font-size:12px;line-height:16px;color:#fff;text-shadow:0 1px 4px #0006}
.video-practice__capture-controls{position:absolute;z-index:3;left:16px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));height:98px;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:8px}
.video-practice__record-control{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:98px;padding:0 16px;background:none;border:0;color:#fff;font-size:12px!important;text-shadow:0 1px 4px #000;touch-action:manipulation}
.video-practice__record-circle{display:flex;align-items:center;justify-content:center;flex:none;width:76px;height:76px;border:3px solid #fff;border-radius:50%;background:#ff4656;box-shadow:inset 0 0 0 4px #161619}
.video-practice__record-circle--stop{background:#0005;box-shadow:none}
.video-practice__record-circle--stop:after{content:'';width:26px;height:26px;border-radius:5px;background:#ff4656}
.video-practice__record-circle--cancel{background:#0006;box-shadow:none;font:400 42px/1 Arial,sans-serif}
.video-practice__sound{grid-column:1;grid-row:1}
.video-practice__flip{grid-column:3;grid-row:1}
.video-practice .video-practice__round-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:48px;min-height:64px;margin:0;padding:0;background:none;border:0;color:#fff;touch-action:manipulation}
.video-practice__round-tool>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#101115a6}
.video-practice__round-tool small{font-size:11px;line-height:14px;font-weight:400;color:#fff;background:#10111599;padding:2px 6px;border-radius:10px;text-shadow:0 1px 4px #0006}
.video-practice__stop-confirm{position:absolute;inset:0;z-index:4;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:8px;padding:8px;border-radius:16px;background:#222e;font-size:12px;line-height:16px}
.video-practice__stop-confirm>span{grid-column:1/-1;color:#fff;text-align:center}
.video-practice__stop-confirm button{margin:0;min-height:44px;padding:8px;border-radius:22px}
.video-practice__stop-confirm button:last-child{color:#fff;background:#c42c3e}
.video-practice--immersive button:focus-visible,.video-practice--immersive input:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.video-practice .video-practice__recording,.video-practice__history video{aspect-ratio:9/16;width:auto;max-width:100%;max-height:62vh;margin:16px auto;object-fit:contain}
.video-practice--result-screen .video-practice__result{flex:none;margin:0 0 12px;padding:16px;border-radius:16px;background:#28282d;color:#fff}
.video-practice--result-screen .video-practice__result>strong{font-size:22px;line-height:1.2}
.video-practice--result-screen .video-practice__result p{font-size:13px;line-height:1.4;margin:8px 0 0}
.video-practice--result-screen .video-practice__result--done{background:#173c2c;color:#e7fff0}
.video-practice__result-media{display:flex;justify-content:center;flex:1;min-height:0;overflow:hidden}
.video-practice--result-screen .video-practice__recording{width:auto;height:100%;max-height:100%;max-width:100%;aspect-ratio:9/16;margin:0;border-radius:16px;object-fit:contain}
.video-practice__result-actions{flex:none;padding-top:14px}
.video-practice__result-actions .video-practice__primary{margin:0;border-radius:26px;min-height:48px}
.video-practice__saving-note{margin:0;min-height:48px;display:flex;align-items:center;justify-content:center;color:#c6c6cf;font-size:13px}
.video-practice__save-progress{display:block;width:100%;height:6px;margin-top:14px;border:0;border-radius:4px;overflow:hidden;accent-color:#ff4656;background:#ffffff25}
.video-practice__save-progress::-webkit-progress-bar{background:#ffffff25;border-radius:4px}
.video-practice__save-progress::-webkit-progress-value{background:#ff4656;border-radius:4px}
.video-practice__save-progress::-moz-progress-bar{background:#ff4656;border-radius:4px}
@media(max-height:700px){.video-practice--immersive:not(.video-practice--capture){padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.video-practice--immersive:not(.video-practice--capture) .video-practice__header{margin-bottom:6px}.video-practice--immersive h2{font-size:18px}.video-practice--immersive .video-practice__task-heading{margin-bottom:8px}.video-practice--immersive .video-practice__instruction{font-size:12px;line-height:16px;margin-bottom:6px}.video-practice--immersive .video-practice__plan{margin-bottom:8px;font-size:11px}.video-practice--immersive .video-practice__plan span{font-size:11px}.video-practice__capture .video-practice__timer>strong{font-size:48px}}
@media(orientation:landscape) and (max-height:500px){.video-practice--immersive:not(.video-practice--capture){max-width:760px;min-height:100vh;min-height:100svh;padding:8px 12px}.video-practice.video-practice--capture{padding:8px 16px}.video-practice--capture .video-practice__header{width:calc(50% - 20px);margin-bottom:6px;min-height:40px}.video-practice--capture h1{font-size:17px}.video-practice--capture .video-practice__task-heading{width:calc(50% - 20px);padding:8px 10px}.video-practice--capture .video-practice__summary{font-size:11px}.video-practice--capture h2{font-size:17px}.video-practice__capture .video-practice__timer{position:absolute;top:8px;right:16px;width:calc(50% - 20px);height:100px;max-width:none;margin:0}.video-practice__capture .video-practice__timer>strong{font-size:40px}.video-practice__capture .video-practice__timer>span{font-size:13px}.video-practice__capture .video-practice__timer>small{font-size:11px}.video-practice__capture-controls{bottom:10px}.video-practice__capture-status{bottom:120px}.video-practice--capture .video-practice__notice{top:118px}}
/* Explicit vectors and slider styling avoid iOS emoji and oversized native controls. */
.video-practice__play-icon svg,.video-practice svg.video-practice__play-glyph{fill:currentColor;stroke:none}
.video-practice__play-icon svg{width:30px;height:30px}
.video-practice__playback-controls input[type=range]{-webkit-appearance:none;appearance:none;height:44px;margin:0;padding:0;background:transparent;border:0;touch-action:pan-x}
.video-practice__playback-controls input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:#ffffff50}
.video-practice__playback-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:15px;height:15px;margin-top:-6px;border:2px solid #fff;border-radius:50%;background:#ff4656}
.video-practice__playback-controls input[type=range]::-moz-range-track{height:3px;border-radius:3px;background:#ffffff50}
.video-practice__playback-controls input[type=range]::-moz-range-thumb{width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#ff4656}
