:root{color-scheme:light;--page:#f7f7f8;--panel:#fff;--panel2:#f1f1f3;--line:rgba(15,15,18,.12);--text:#101012;--muted:#68686f;--surface:#f4f4f5;--raised:#e9e9ec;--user:#ededf0;--blue:#1677e8;--green:#0d8f70;--guide:#f4ca43;--guide-ink:#251f08;font-family:"Noto Sans KR",Roboto,"Malgun Gothic",system-ui,sans-serif}
*{box-sizing:border-box}html,body{background:var(--page)}body{min-width:320px;margin:0;color:var(--text);-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}[hidden]{display:none!important}.skip-link{position:fixed;z-index:200;top:8px;left:8px;transform:translateY(-160%);padding:12px 16px;border-radius:10px;color:#111;background:#fff}.skip-link:focus{transform:none}
.lab-header{position:sticky;z-index:30;top:0;display:flex;min-height:68px;padding:10px max(20px,env(safe-area-inset-left));align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(11,11,12,.9);backdrop-filter:blur(20px)}.lab-brand{display:inline-flex;min-height:44px;gap:11px;align-items:center;color:#fff;text-decoration:none}.lab-brand__mark{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#fff;color:#111;font-size:14px;font-weight:900}.lab-brand strong,.lab-brand small{display:block}.lab-brand small{margin-top:2px;color:var(--muted);font-size:12px}.lab-header__help,.lab-reset,.coach-repeat,.coach-hint-button,.restart-button{min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:99px;background:var(--panel)}
main{width:min(1120px,100%);margin:0 auto;padding:42px 22px 84px}.lab-home{max-width:960px;margin:0 auto}.lab-intro{max-width:720px}.lab-eyebrow{margin:0 0 14px;color:#a8c7fa;font-size:14px;font-weight:800}.lab-intro h1{margin:0;font-size:clamp(36px,6vw,62px);line-height:1.08;letter-spacing:-.05em}.lab-intro>p:not(.lab-eyebrow){max-width:660px;color:var(--muted);font-size:clamp(17px,2.4vw,21px);line-height:1.7}.lab-safety{display:flex;max-width:720px;gap:14px;margin-top:24px;padding:18px 20px;border:1px solid #26594b;border-radius:20px;background:#10251f}.lab-safety span{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:50%;background:#d8f6ed;color:#143a30;font-size:16px}.lab-safety p{margin:0;color:#d8f6ed;line-height:1.6}.lab-safety strong{display:block;margin-bottom:3px;color:#fff}.lab-device-note{max-width:720px!important;margin-top:14px!important;font-size:15px!important}
.lab-progress-summary{display:flex;gap:18px;margin:34px 0 18px;padding:18px 20px;align-items:center;border:1px solid var(--line);border-radius:20px;background:var(--panel)}.lab-progress-summary strong{font-size:30px}.lab-progress-summary span{color:var(--muted)}.lab-progress-track{overflow:hidden;height:8px;flex:1;border-radius:99px;background:#39393c}.lab-progress-track span,.run-progress span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#78a8ff,#68d9b5);transition:width .25s}.lab-reset{margin-left:auto}.lab-groups{display:flex;overflow-x:auto;gap:8px;padding:8px 0 18px;scrollbar-width:none}.group-tab{min-height:46px;flex:0 0 auto;padding:0 19px;border:1px solid var(--line);border-radius:99px;background:var(--panel)}.group-tab[aria-current=true]{border-color:#fff;background:#fff;color:#111;font-weight:800}
.lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lab-card{display:grid;min-height:150px;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--panel);text-align:left;transition:.18s}.lab-card:hover{border-color:rgba(255,255,255,.25);background:var(--panel2);transform:translateY(-1px)}.lab-card__top{display:flex;gap:10px;justify-content:space-between}.lab-card__number{color:#a8c7fa;font-size:13px;font-weight:850}.lab-card__done{color:#77d9ba;font-size:13px;font-weight:800}.lab-card h2{margin:20px 0 7px;font-size:21px;line-height:1.35}.lab-card p{margin:0;color:var(--muted)}.lab-card__stars{margin-top:11px;color:var(--guide);font-size:17px;letter-spacing:2px}.lab-card:focus-visible,.round-button:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lab-run{max-width:1040px;margin:0 auto}.run-toolbar{display:grid;grid-template-columns:50px 1fr auto;gap:13px;align-items:center}.round-button{display:grid;width:50px;height:50px;padding:0;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--panel);font-size:25px}.run-title-wrap span{color:#a8c7fa;font-size:13px;font-weight:800}.run-title-wrap h1{margin:3px 0 0;font-size:clamp(20px,3vw,28px)}.run-toolbar__actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}.run-progress{overflow:hidden;height:6px;margin:16px 0 24px;border-radius:99px;background:#333336}.practice-layout{display:grid;grid-template-columns:minmax(270px,360px) minmax(360px,430px);gap:30px;justify-content:center;align-items:start}.coach-card{position:sticky;top:94px;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--panel)}.coach-step{margin:0;color:#a8c7fa;font-size:13px;font-weight:850}.coach-card h2{margin:8px 0 12px;color:var(--muted);font-size:16px}.coach-caption{min-height:112px;margin:0;font-size:clamp(21px,2.8vw,27px);font-weight:800;line-height:1.55;word-break:keep-all}.coach-hint{margin:19px 0 11px;color:#f7df8a;line-height:1.55}.coach-repeat,.coach-hint-button{width:100%}.coach-hint-button{margin-bottom:8px;border-color:#8c7929;background:#302a12;color:#ffea9c;font-weight:850}
.phone-shell{position:relative;overflow:hidden;width:min(100%,420px);min-height:760px;border:8px solid #303034;border-radius:40px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.22)}.phone-app{position:relative;display:flex;min-height:674px;padding:0 16px 78px;flex-direction:column;background:#fff;color:#111}.phone-homebar{position:absolute;right:0;bottom:0;left:0;width:100%;height:24px;background:#fff}.phone-homebar::after{position:absolute;bottom:8px;left:50%;width:108px;height:5px;border-radius:99px;background:#111;content:"";transform:translateX(-50%)}
.icon{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.icon--solid{fill:currentColor;stroke:none}.app-topbar{position:relative;z-index:6;display:grid;min-height:64px;grid-template-columns:52px 1fr auto;gap:8px;align-items:center;background:#fff}.app-topbar__left,.app-topbar__actions{display:flex;align-items:center}.app-topbar__actions{overflow:hidden;min-width:96px;border:1px solid #dedee2;border-radius:25px;background:#f5f5f6}.app-topbar__actions .icon-button{border-radius:0;background:transparent}.app-topbar__actions .icon-button:first-child{width:54px}.app-topbar__actions .icon-button:last-child{width:42px}.icon-button{display:grid;width:48px;height:48px;padding:0;place-items:center;border:0;border-radius:50%;background:#f2f2f3;color:#171719}.app-title-wrap{overflow:hidden;text-align:center}.app-title{display:block;overflow:hidden;font-size:18px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.app-title-sub{display:block;margin-top:2px;color:#73737a;font-size:12px}
.chat-space{display:flex;min-height:400px;flex:1;flex-direction:column;justify-content:center;background:#fff}.chat-greeting{margin:auto 0;padding:42px 10px 24px;text-align:center}.chat-mark{display:grid;width:40px;height:40px;margin:0 auto 18px;place-items:center;border-radius:50%;background:#111;color:#fff;font-size:13px;font-weight:900}.chat-greeting h2{margin:0;color:#171719;font-size:24px;font-weight:700;letter-spacing:-.035em}.chat-thread{display:flex;gap:18px;padding:22px 0 12px;flex-direction:column}.chat-bubble{max-width:78%;margin-left:auto;padding:12px 16px;border-radius:22px;background:var(--user);color:#171719;font-size:16px;line-height:1.55;overflow-wrap:anywhere}.chat-answer{position:relative;padding:4px 0;border:0;background:transparent;color:#171719;font-size:16px;line-height:1.72;text-align:left}.chat-answer strong{display:none}.chat-answer p{margin:0}.chat-tools{display:flex;gap:2px;align-items:center}.chat-tool{display:grid;width:40px;height:40px;padding:0;place-items:center;border:0;border-radius:50%;background:transparent;color:#6f6f76}.chat-tool .icon{width:20px;height:20px}
.audio-player{display:flex;gap:9px;margin:4px 0 8px;padding:12px;align-items:center;border-radius:20px;background:#f1f1f2}.audio-player__play{display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;background:#111;color:#fff}.audio-player__time{font-size:13px;font-weight:700}.waveform{height:28px;flex:1;background:repeating-linear-gradient(90deg,#606067 0 2px,transparent 2px 6px);opacity:.8}.composer-wrap{margin-top:auto;padding-top:12px}.chat-composer{display:flex;min-height:58px;gap:6px;padding:6px 8px;align-items:center;border:1px solid #dedee2;border-radius:30px;background:#f4f4f5;box-shadow:none}.chat-composer .icon-button{width:46px;height:46px;flex:0 0 auto;background:transparent}.composer-preview{min-width:0;flex:1;padding:8px 4px;color:#3f3f46;line-height:1.4;overflow-wrap:anywhere}.send-button{display:grid;width:44px;height:44px;flex:0 0 auto;padding:0;place-items:center;border:0;border-radius:50%;background:#111;color:#fff}.send-button .icon{width:21px;height:21px}
.type-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.type-controls button,.wait-continue{min-height:46px;padding:0 13px;border:1px solid #48484b;border-radius:14px;background:#29292b}.type-controls [data-type-confirm],.wait-continue{border-color:#8b7725;background:var(--guide);color:var(--guide-ink);font-weight:850}.type-controls [data-type-confirm]:disabled{border-color:#3e3e40;background:#29292b;color:#777}.type-feedback{margin:8px 4px 2px;color:#e8d27c;font-size:13px}.wait-continue{width:100%;margin:14px 0 0}.screen-action,.practice-confirm{min-height:48px;padding:0 16px;border:1px solid #505053;border-radius:16px;background:#2b2b2d}.practice-confirm{width:100%;margin-top:14px;color:#f6df89}.screen-note{margin:12px 0;padding:12px 14px;border:1px solid #28594c;border-radius:15px;background:#10251f;color:#cdefe5;font-size:13px;line-height:1.55}
.chat-drawer{position:absolute;z-index:5;inset:0 18% 0 0;display:flex;padding:18px 14px 20px;flex-direction:column;border-right:1px solid #dedee2;background:#fff;box-shadow:28px 0 60px rgba(0,0,0,.18)}.drawer-head{display:flex;min-height:58px;align-items:center;justify-content:space-between}.drawer-head strong{font-size:21px}.drawer-search{display:grid;width:46px;height:46px;place-items:center;border:1px solid #dedee2;border-radius:50%;background:#f4f4f5}.drawer-links{display:grid;gap:3px;margin-top:14px}.drawer-link{display:flex;min-height:50px;gap:13px;padding:0 12px;align-items:center;border:0;border-radius:12px;background:transparent;text-align:left}.drawer-recent-title{margin:22px 12px 8px;color:#73737a;font-size:13px}.drawer-recent{padding:13px 12px;border-radius:10px;background:#f1f1f2}.drawer-scrim{position:absolute;z-index:4;inset:0;background:rgba(0,0,0,.35)}
.attachment-menu{display:grid;gap:2px;margin:auto 0 8px;padding:8px;border:1px solid #dedee2;border-radius:22px;background:#fff;box-shadow:0 18px 55px rgba(0,0,0,.16)}.attachment-item{display:flex;min-height:54px;gap:13px;padding:0 12px;align-items:center;border:0;border-radius:14px;background:transparent;text-align:left}.attachment-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#ededf0}
.playstore-head{display:flex;min-height:64px;gap:12px;align-items:center}.playstore-search{display:flex;min-height:54px;flex:1;gap:9px;padding:0 14px;align-items:center;border-radius:28px;background:#f0f1f3}.store-result,.store-detail{display:grid;gap:12px;padding:18px 0}.store-result-row{display:grid;min-height:76px;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;border:0;background:transparent;text-align:left}.store-app-icon{display:grid;width:58px;height:58px;place-items:center;border-radius:15px;background:#fff;color:#111;font-weight:900}.store-result-row small,.store-detail small{display:block;margin-top:4px;color:#73737a}.store-detail__hero{display:flex;gap:16px;align-items:center}.store-install{width:100%;border:0;background:#a8c7fa;color:#071426;font-weight:850}
.openai-knot{position:relative;display:block;width:34px;height:34px}.openai-knot i{position:absolute;top:50%;left:50%;width:27px;height:12px;border:3px solid #111;border-radius:999px;transform:translate(-50%,-50%)}.openai-knot i:nth-child(2){transform:translate(-50%,-50%) rotate(60deg)}.openai-knot i:nth-child(3){transform:translate(-50%,-50%) rotate(120deg)}
.bridge-card{margin:auto 0;padding:26px 22px;border:1px solid #eadb96;border-radius:24px;background:#fff9dc;text-align:center}.bridge-card h2{margin:0 0 9px;color:#5b4a00}.bridge-card p{margin:0;color:#4d451f;line-height:1.65}.bridge-shield{display:grid;width:52px;height:52px;margin:0 auto 16px;place-items:center;border-radius:50%;background:#f8e590;color:#2b250d}.gallery-copy{color:#73737a;font-size:14px}.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.photo-tile{position:relative;min-height:170px;border:2px solid transparent;border-radius:12px;background:repeating-linear-gradient(104deg,#91704f 0 16px,#c39a69 16px 31px,#6e523b 31px 36px)}.photo-tile:nth-child(2){filter:grayscale(1);opacity:.55}.photo-thumb{width:84px;min-height:84px;margin-left:auto;border-radius:14px}.gallery-done{width:100%;margin-top:14px;background:#111;color:#fff;font-weight:850}
.thinking{display:inline-flex;gap:6px;padding:18px 0}.thinking span{width:8px;height:8px;border-radius:50%;background:#fff;animation:bounce .8s infinite alternate}.thinking span:nth-child(2){animation-delay:.15s}.thinking span:nth-child(3){animation-delay:.3s}@keyframes bounce{to{transform:translateY(-7px);opacity:.4}}.image-progress{margin:auto 0;padding:20px;border-radius:20px;background:#171717}.robot-art{position:relative;overflow:hidden;display:grid;min-height:300px;padding:18px;place-items:center;border:0;border-radius:22px;background:radial-gradient(circle at 50% 28%,#9275e6,#432560 48%,#1b1026 80%)}.robot-scene{position:relative;width:210px;height:220px}.robot-head{position:absolute;top:20px;left:48px;width:114px;height:92px;border:8px solid #e8dfff;border-radius:32px;background:#6f4fc4}.robot-head:before,.robot-head:after{content:"";position:absolute;top:35px;width:13px;height:13px;border-radius:50%;background:#b8fffb;box-shadow:0 0 16px #7ff7ee}.robot-head:before{left:25px}.robot-head:after{right:25px}.robot-antenna{position:absolute;top:0;left:101px;width:8px;height:26px;border-radius:8px;background:#e8dfff}.robot-book{position:absolute;z-index:2;bottom:21px;left:24px;width:162px;height:80px;border-radius:8px 8px 18px 18px;background:linear-gradient(90deg,#f3a84f 0 48%,#7d431f 49% 51%,#ffc368 52%)}.robot-body{position:absolute;bottom:52px;left:58px;width:94px;height:78px;border-radius:30px;background:#dcd1fb}.image-tool-sheet{display:flex;gap:10px;margin-top:12px;padding:12px;border-radius:20px;background:#202020}.image-tool-sheet button{min-height:44px;flex:1;border:0;border-radius:10px;color:#c8c8c8;background:transparent;font-size:12px;text-align:center}
.task-starters{margin-top:24px}.task-starters h3{margin:0 0 12px;color:#73737a;font-size:15px}.task-card{margin:0 0 12px;padding:20px;border:1px dashed #c9c9ce;border-radius:24px;background:#fff;line-height:1.55}.task-card small{display:block;margin-bottom:10px;color:#1677e8;font-weight:800}.task-card strong{display:block;margin-bottom:8px;font-size:18px}.task-card p{margin:0;color:#57575e}.task-card--created{border-style:solid;background:#f3f3f5}.task-suggestions{display:grid;gap:10px}.task-suggestion{min-height:100px;padding:17px;border:1px dashed #c9c9ce;border-radius:22px;color:#73737a}.task-suggestion strong{display:block;margin-bottom:6px;color:#171719}
.notification-shade{margin:8px -16px 0;padding:18px 16px;background:linear-gradient(#eef2f6,#f9fafb)}.notification-time{margin:0 0 18px;color:#171719;font-size:34px;font-weight:700}.notification-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;padding:14px;border:1px solid #dedee2;border-radius:28px;background:rgba(255,255,255,.96);color:#171719}.notification-card .store-app-icon{width:48px;height:48px}.notification-card strong{display:block;margin-bottom:3px}.notification-card p{margin:0}.notification-card>small{white-space:nowrap}
.calendar-top{display:grid;min-height:68px;grid-template-columns:52px 1fr auto;align-items:center}.calendar-top strong{text-align:center;font-size:26px}.calendar-grid{display:grid;min-height:0;flex:1;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(5,1fr);gap:3px}.calendar-grid>span{display:grid;min-width:0;padding:7px 3px;place-items:center;border:0;border-radius:6px;color:inherit;background:#f3f3f5;font-size:12px;text-align:center}.calendar-grid>span:nth-child(7n+1){color:#b4232f}.calendar-grid .chosen{border:1px solid #2684b8;background:#dff3ff;color:#082f49}.calendar-holiday{display:block;margin-top:4px;padding:2px;border-radius:3px;background:#0a8150;color:#fff;font-size:9px}.calendar-quick{display:flex;width:86%;min-height:58px;gap:8px;margin:12px auto 0;padding:7px 8px 7px 18px;align-items:center;border:1px solid #dedee2;border-radius:30px;background:#f3f3f5}.calendar-quick .send-button{background:transparent;color:#4b4b52}
.done-panel{display:grid;min-height:610px;padding:24px;place-items:center;background:#fff;text-align:center}.done-symbol{display:grid;width:70px;height:70px;margin:0 auto;place-items:center;border-radius:50%;background:#111;color:#fff;font-size:34px;font-weight:900}.done-panel h2{margin:16px 0 8px;font-size:29px}.done-panel p{color:var(--muted);line-height:1.6}.done-panel button{min-height:54px;padding:0 23px;border:0;border-radius:17px;background:#111;color:#fff;font-weight:850}.done-panel .done-secondary{display:block;margin:11px auto 0;border:1px solid var(--line);background:#f2f2f3;color:#171719}.earned-stars{margin:8px 0!important;color:#9a6b00!important;font-size:34px;letter-spacing:4px}.run-status{min-height:26px;margin:17px auto 0;color:#5c4600;text-align:center}.lab-dialog{width:min(520px,calc(100% - 32px));padding:26px;border:1px solid #cfcfd4;border-radius:24px;background:#fff;color:#171719}.lab-dialog::backdrop{background:rgba(0,0,0,.52)}.lab-dialog p,.lab-dialog li{color:var(--muted);line-height:1.7}.lab-dialog button{width:100%;min-height:52px;border:0;border-radius:14px;background:#111;color:#fff;font-weight:850}.lab-fallback{width:min(560px,calc(100% - 32px));margin:80px auto;padding:28px;border:1px solid #d3a1a1;border-radius:22px;background:#fff4f4;text-align:center}.lab-fallback button{min-height:52px;padding:0 22px;border:0;border-radius:14px;background:#111;color:#fff;font-weight:850}
@media(max-width:820px){body.is-running .lab-header{display:none}main{padding:24px 14px 58px}body.is-running main{width:100%;padding:0 0 30px}.lab-grid{grid-template-columns:1fr}.lab-progress-summary{align-items:stretch;flex-wrap:wrap}.lab-progress-track{flex-basis:52%;align-self:center}.lab-reset{width:100%;margin:0}.run-toolbar{position:sticky;z-index:25;top:0;grid-template-columns:48px 1fr auto;padding:9px 12px;border-bottom:1px solid var(--line);background:rgba(11,11,12,.94);backdrop-filter:blur(18px)}.round-button{width:46px;height:46px}.run-toolbar__actions{gap:5px}.run-progress{position:sticky;z-index:26;top:65px;height:4px;margin:0;border-radius:0}.phone-shell{width:100%;min-height:690px;border:0;border-radius:0;box-shadow:none}.phone-app{min-height:690px;padding:0 18px 24px}.run-status{padding:0 14px}}
@media(max-width:430px){.lab-header{padding-inline:14px}.lab-brand small{display:none}.lab-intro h1{font-size:38px}.lab-safety{padding:15px}.run-title-wrap h1{max-width:180px;overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.run-title-wrap span{font-size:11px}.phone-app{min-height:calc(100svh - 230px)}.app-topbar{min-height:66px}.chat-space{min-height:350px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.chat-tool{width:44px;height:44px}.chat-drawer{z-index:20}.drawer-scrim{z-index:19}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);padding:2px 0 8px;color:#57575e;font-size:12px;text-align:center}.calendar-weekdays span:first-child{color:#b4232f}.calendar-grid .outside{opacity:.55}.lab-groups{flex-wrap:wrap;overflow-x:visible}
@media(max-width:820px){.coach-card{position:static;z-index:auto}}
.learning-confirm{display:flex;gap:10px;margin-top:14px;padding:9px 10px;align-items:center;border:1px dashed #8c7929;border-radius:16px;background:#19170d;color:#f4dc86}.learning-confirm span{font-size:12px;font-weight:850}.learning-confirm button{min-height:44px;flex:1;border:0;border-radius:12px;background:#f4ca43;color:#251f08;font-weight:850}

/* 수원AI 공통 학습실 셸. 아래 규칙은 가상 폰 내부 제품층을 바꾸지 않는다. */
.sai-lab.sai-lab--smartphone{background:var(--sai-bg);color:var(--sai-ink)}
.sai-lab--smartphone .lab-header{border-color:var(--sai-line);background:rgba(255,255,255,.94)}
.sai-lab--smartphone .skip-link{min-height:44px}
.sai-lab--smartphone .lab-brand{color:var(--sai-ink)}
.sai-lab--smartphone .lab-brand__mark{border-radius:15px;color:#fff;background:var(--sai-gradient)}
.sai-lab--smartphone .lab-brand small{color:var(--sai-muted)}
.sai-lab--smartphone main{width:min(1180px,100%);padding:32px 24px 72px}
.sai-lab--smartphone .lab-home{max-width:1000px}
.sai-lab--smartphone .lab-eyebrow{color:var(--sai-violet-700)}
.sai-lab--smartphone .lab-intro h1{color:var(--sai-ink)}
.sai-lab--smartphone .lab-intro>p:not(.lab-eyebrow){color:var(--sai-muted)}
.sai-lab--smartphone .lab-safety{border-color:var(--sai-success-line);background:var(--sai-success-soft)}
.sai-lab--smartphone .lab-safety p,.sai-lab--smartphone .lab-safety strong{color:var(--sai-success-ink)}
.sai-lab--smartphone .lab-progress-summary{border-color:var(--sai-line);background:var(--sai-surface)}
.sai-lab--smartphone .lab-header__help,.sai-lab--smartphone .lab-reset{border-color:var(--sai-line-strong);color:var(--sai-violet-700);background:var(--sai-surface)}
.sai-lab--smartphone .lab-progress-summary span{color:var(--sai-muted)}
.sai-lab--smartphone .lab-progress-track{background:var(--sai-lavender)}
.sai-lab--smartphone .lab-progress-track span,.sai-lab--smartphone .run-progress span{background:var(--sai-gradient)}
.sai-lab--smartphone .group-tab{border-color:var(--sai-line);color:var(--sai-muted);background:var(--sai-surface)}
.sai-lab--smartphone .group-tab[aria-current=true]{border-color:transparent;color:#fff;background:var(--sai-gradient)}
.sai-lab--smartphone .lab-card{border-color:var(--sai-line);color:var(--sai-ink);background:linear-gradient(180deg,#fff,#fafaff)}
.sai-lab--smartphone .lab-card:hover{border-color:var(--sai-line-hover);background:#fff}
.sai-lab--smartphone .lab-card__number{color:var(--sai-violet-700)}
.sai-lab--smartphone .lab-card__done{color:var(--sai-success)}
.sai-lab--smartphone .lab-card p{color:var(--sai-muted)}
.sai-lab--smartphone .run-toolbar{color:var(--sai-ink)}
.sai-lab--smartphone .round-button,.sai-lab--smartphone .restart-button{border-color:var(--sai-line-strong);color:var(--sai-violet-700);background:var(--sai-surface)}
.sai-lab--smartphone .run-title-wrap span{color:var(--sai-violet-700)}
.sai-lab--smartphone .run-progress{background:var(--sai-lavender)}
.sai-lab--smartphone .coach-card{border-color:var(--sai-line-strong);color:var(--sai-ink);background:var(--sai-surface)}
.sai-lab--smartphone .coach-step{color:var(--sai-violet-700)}
.sai-lab--smartphone .coach-card h2{color:var(--sai-muted)}
.sai-lab--smartphone .coach-hint{color:var(--sai-guide-ink);background:var(--sai-guide-soft)}
.sai-lab--smartphone .coach-repeat,.sai-lab--smartphone .coach-hint-button{border-color:var(--sai-line-strong);color:var(--sai-violet-700);background:var(--sai-surface)}
.sai-lab--smartphone .coach-hint-button{color:var(--sai-guide-ink);background:var(--sai-guide-soft)}
.sai-lab--smartphone .run-status{color:var(--sai-warning)}
.sai-lab--smartphone .lab-dialog{border-color:var(--sai-line);color:var(--sai-ink);background:var(--sai-surface)}
.sai-lab--smartphone .lab-dialog p,.sai-lab--smartphone .lab-dialog li{color:var(--sai-muted)}
.sai-lab--smartphone .lab-dialog button{color:#fff;background:var(--sai-gradient)}
.sai-lab--smartphone .done-panel.sai-lab-completion{color:var(--sai-ink);background:var(--sai-surface)}
.sai-lab--smartphone .done-panel.sai-lab-completion p{color:var(--sai-muted)}
.sai-lab--smartphone .done-panel .sai-lab-button{width:auto;min-height:48px;margin:0;padding:10px 16px;border:1px solid var(--sai-line-strong);color:var(--sai-violet-700);background:var(--sai-surface)}
.sai-lab--smartphone .done-panel .sai-lab-button--primary{border-color:transparent;color:#fff;background:var(--sai-gradient)}
.sai-lab--smartphone .done-panel .sai-lab-button--text{border-color:transparent;background:transparent}
.sai-lab--smartphone .sai-lab-completion>div{width:min(100%,390px)}
.sai-lab--smartphone .sai-lab-completion__actions{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:18px}
.sai-lab--smartphone .done-panel .sai-lab-completion__actions .sai-lab-button{min-width:0;min-height:52px;padding:7px 2px;font-size:clamp(10px,2.9vw,13px);letter-spacing:-.08em;line-height:1;white-space:nowrap}
.sai-lab--smartphone .done-panel .sai-lab-completion__actions .done-secondary{display:block;margin:0}
.sai-lab--smartphone .done-panel .sai-lab-completion__actions .sai-lab-button:disabled{color:#777;background:#e4e4e7;cursor:not-allowed}
@media(max-width:820px){.sai-lab--smartphone main{padding:24px 14px 58px}.sai-lab--smartphone.is-running main{width:100%;padding:0 0 30px}.sai-lab--smartphone .run-toolbar{background:rgba(245,247,253,.96)}.sai-lab--smartphone .coach-card{background:var(--sai-surface)}}
@media(max-width:560px){.sai-lab--smartphone .lab-brand>span:last-child{display:none}.sai-lab--smartphone .lab-brand{flex:0 0 44px}.sai-lab--smartphone .sai-lab-header__actions{min-width:0;flex:1}.sai-lab--smartphone .sai-lab-device-switch{min-width:0;flex:1}.sai-lab--smartphone .sai-lab-device-switch a{padding-inline:4px;font-size:13px;white-space:nowrap}}

/* PC ChatGPT 실습실과 같은 진입·목록 문법. 가상 제품 화면 선택자는 건드리지 않는다. */
.sai-lab-entry-pending [data-home-view]{visibility:hidden}.lab-header__list{font-weight:850}
.phone-entry{position:relative;overflow:hidden;min-height:min(650px,calc(100vh - 150px));border-radius:30px;background:#12151b;box-shadow:var(--sai-shadow-md)}
.phone-entry__preview{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 50% 30%,#374151 0,#1c232d 48%,#11151b 100%)}
.phone-entry__device{width:min(310px,64vw);height:min(590px,72vh);padding:18px;border:7px solid #303038;border-radius:42px;background:#fff;color:#171719;box-shadow:0 34px 90px rgba(0,0,0,.32);transform:translateY(6%) scale(.92)}
.phone-entry__appbar{display:flex;height:62px;align-items:center;justify-content:space-between;font-size:17px}.phone-entry__welcome{display:grid;min-height:330px;place-items:center;align-content:center;gap:14px}.phone-entry__welcome span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#111;color:#fff;font-weight:900}.phone-entry__welcome strong{font-size:20px}.phone-entry__composer{display:flex;min-height:54px;padding:8px 10px 8px 18px;align-items:center;justify-content:space-between;border:1px solid #dedee2;border-radius:28px;color:#65656c;background:#f4f4f5}.phone-entry__composer b{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;color:#fff;background:#111}
.phone-entry__scrim{position:absolute;inset:0;display:grid;padding:28px;place-items:center;background:rgba(14,18,25,.82);backdrop-filter:blur(4px)}.phone-entry__content{text-align:center;color:#fff}.phone-entry__content h1{margin:0;font-size:clamp(52px,9vw,112px);line-height:1;letter-spacing:-.055em;text-shadow:0 7px 28px rgba(0,0,0,.45)}.phone-entry__version{margin:18px 0 30px;font-size:clamp(18px,2.5vw,26px);font-weight:750;letter-spacing:.08em}.phone-entry__start,.phone-device-card button{min-width:240px;min-height:66px;padding:14px 26px;border:0;border-radius:14px;color:#fff;background:var(--sai-gradient);box-shadow:0 16px 36px rgba(111,63,255,.35);font-size:22px;font-weight:850}.phone-entry__safety{margin:24px 0 0;color:#e4e4eb;font-size:15px}
.phone-device-picker{position:relative;overflow:hidden;min-height:min(650px,calc(100vh - 150px));border-radius:30px;background:radial-gradient(circle at 50% 10%,#3b4354,#151922 68%);box-shadow:var(--sai-shadow-md)}.phone-device-picker__scrim{min-height:inherit;padding:42px;background:rgba(10,13,19,.72)}.phone-device-picker__content{max-width:920px;margin:0 auto;color:#fff;text-align:center}.phone-device-picker__eyebrow{margin:0 0 9px;color:#d8d2ff;font-size:16px;font-weight:850}.phone-device-picker__content>h1{margin:0;font-size:clamp(34px,5vw,58px);letter-spacing:-.04em}.phone-device-picker__content>p:not(.phone-device-picker__eyebrow){color:#d2d3da;font-size:19px}.phone-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}.phone-device-card{position:relative;padding:26px;border:1px solid rgba(255,255,255,.2);border-radius:24px;background:rgba(255,255,255,.1);box-shadow:0 20px 55px rgba(0,0,0,.24);text-align:left}.phone-device-card__recent{position:absolute;top:18px;right:18px;padding:6px 10px;border-radius:99px;background:#fff;color:var(--sai-violet-700);font-size:13px;font-weight:850}.phone-device-card__mock{display:grid;width:84px;height:136px;margin-bottom:20px;place-items:center;border:4px solid #46464d;border-radius:18px;background:#080808;box-shadow:0 12px 28px rgba(0,0,0,.35)}.phone-device-card__mock--ios{border-radius:24px}.phone-device-card__mock span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#fff;color:#111;font-size:12px;font-weight:900}.phone-device-card p{margin:0;color:#cbc4ff;font-size:14px;font-weight:850}.phone-device-card h2{margin:7px 0 8px;font-size:25px}.phone-device-card>span:not(.phone-device-card__recent){display:block;min-height:52px;color:#d1d1d8;line-height:1.55}.phone-device-card button{width:100%;min-width:0;min-height:54px;margin-top:18px;font-size:18px}.phone-device-card--pending{opacity:.62}.phone-device-card--pending button{background:#555762;box-shadow:none}.phone-device-picker__back{min-height:48px;margin-top:22px;padding:8px 18px;border:1px solid rgba(255,255,255,.35);border-radius:14px;color:#fff;background:transparent;font-weight:800}
.phone-device-grid.is-android-only{grid-template-columns:minmax(0,460px);justify-content:center}
.sai-lab--smartphone.is-ios .phone-shell{border-color:#1d1d20;border-radius:52px}.sai-lab--smartphone.is-ios .phone-homebar::after{width:126px}.sai-lab--smartphone.is-ios .playstore-search:before{content:"App Store";margin-right:6px;color:#171719;font-size:13px;font-weight:850}.sai-lab--smartphone.is-ios .notification-card{border-radius:20px}
.sai-lab--smartphone .lab-intro,.sai-lab--smartphone .lab-groups{display:none}.sai-lab--smartphone .lab-home{max-width:none}.sai-lab--smartphone .lab-progress-summary{margin-top:0}.sai-lab--smartphone .lab-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sai-lab--smartphone .lab-card{min-height:132px;padding:16px;border-radius:16px;background:var(--sai-surface);box-shadow:var(--sai-shadow-sm)}.sai-lab--smartphone .lab-card h2{margin:14px 0 6px;font-size:18px}.sai-lab--smartphone .lab-card p{font-size:14px}.sai-lab--smartphone .lab-card__stars{display:none}
@media(max-width:1199px){.sai-lab--smartphone .lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.sai-lab--smartphone .lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-device-picker__scrim{padding:28px 18px}.phone-device-grid{grid-template-columns:1fr}.phone-entry__content h1{font-size:clamp(44px,13vw,72px)}}
@media(max-width:479px){.sai-lab--smartphone .lab-grid{grid-template-columns:1fr}.phone-entry{min-height:610px;border-radius:22px}.phone-entry__scrim{padding:20px}.phone-entry__start{width:100%;min-width:0}.phone-entry__safety{font-size:14px}.phone-device-picker{border-radius:22px}.phone-device-picker__content>h1{font-size:34px}.phone-device-card{padding:20px}.lab-header__help{display:none}}

/* PC ChatGPT 실습실이 정본이다. 메인과 기기 선택은 같은 헤더·무대 좌표를 쓴다. */
.sai-lab--smartphone .lab-header{min-height:72px;padding:10px 20px}
.phone-header-progress{display:flex;width:224px;min-height:48px;padding:8px 14px;align-items:center;gap:12px;border:1px solid var(--sai-line);border-radius:16px;background:var(--sai-surface)}
.phone-header-progress .sai-lab-progress__count{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.phone-header-progress .sai-lab-progress__count strong{font-size:23px}.phone-header-progress .sai-lab-progress__count span{color:var(--sai-muted);font-size:13px}.phone-header-progress .sai-lab-progress__track{flex:1;height:8px;border-radius:99px;background:var(--sai-lavender)}.phone-header-progress .sai-lab-progress__track span{display:block;width:0;height:100%;border-radius:inherit;background:var(--sai-gradient)}
.phone-lab-bar{display:flex;min-height:70px;padding:10px 20px;align-items:center;gap:16px;border-bottom:1px solid var(--sai-line);background:rgba(255,255,255,.96)}
.phone-lab-bar__home{display:flex;min-height:44px;padding:0 10px;align-items:center;gap:5px;border-radius:12px;color:var(--sai-violet-700);background:var(--sai-surface-soft);font-size:17px;font-weight:850;text-decoration:none;white-space:nowrap}
.phone-lab-bar h1{margin:0;color:var(--sai-ink);font-size:25px;letter-spacing:-.03em;white-space:nowrap}.phone-lab-bar p{margin:0;color:var(--sai-muted);font-size:14px}.phone-lab-bar__list{min-height:44px;margin-left:auto;padding:8px 16px;border:1px solid var(--sai-line-strong);border-radius:12px;color:var(--sai-ink);background:var(--sai-surface);font-size:15px;font-weight:800;white-space:nowrap}
body[data-phone-shell-view="entry"] .sai-lab-shell,body[data-phone-shell-view="picker"] .sai-lab-shell{width:100%;padding:14px 18px 0}
.phone-entry,.phone-device-picker{min-height:calc(100svh - 170px);border-radius:28px}
.phone-entry__preview{background:#f4f5f8}.phone-entry__device{width:min(340px,64vw);height:min(620px,76vh);transform:translateY(7%) scale(.96)}
.phone-entry__scrim{padding:24px;background:rgba(9,17,28,.82);backdrop-filter:blur(3px)}
.phone-entry__content h1{font-size:clamp(40px,9.5vw,168px);line-height:1.1;letter-spacing:-.03em}.phone-entry__version{margin:16px 0 20px;font-size:clamp(16px,2vw,23px);letter-spacing:.05em}.phone-entry__start{min-width:280px;min-height:0;padding:20px 56px;border-radius:10px;font-size:25px}
.phone-device-picker{background:#f4f5f8}.phone-device-picker__scrim{display:grid;min-height:inherit;padding:24px;place-items:center;background:rgba(9,17,28,.82);backdrop-filter:blur(3px)}.phone-device-picker__content{width:min(900px,100%)}.phone-device-picker__content>h1{margin:0;color:#fff;font-size:clamp(34px,4vw,54px)}
.phone-device-picker__note{max-width:600px;margin:14px auto 0;color:#e1e3e8;font-size:16px;line-height:1.6;word-break:keep-all}.phone-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.phone-device-option{display:grid;min-height:230px;padding:28px;place-items:center;align-content:center;gap:8px;border:1px solid rgba(255,255,255,.28);border-radius:22px;color:#fff;background:rgba(255,255,255,.1);font-family:inherit;cursor:pointer}.phone-device-option:hover{background:rgba(255,255,255,.16)}.phone-device-option strong{font-size:clamp(25px,3vw,38px)}.phone-device-option span{color:#d9d9e2;font-size:18px}.phone-device-option b{min-width:170px;margin-top:20px;padding:14px 20px;border-radius:12px;background:var(--sai-gradient);font-size:17px}.phone-device-picker__back{margin-top:22px}
@media(max-width:820px){.phone-header-progress{width:190px}.phone-lab-bar p{display:none}.phone-entry,.phone-device-picker{min-height:calc(100svh - 164px)}}
@media(max-width:620px){.phone-header-progress{display:none}.phone-lab-bar{padding-inline:14px;gap:9px}.phone-lab-bar h1{font-size:20px}.phone-lab-bar__home{padding-inline:7px;font-size:14px}.phone-lab-bar__list{padding-inline:10px}.phone-device-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.phone-device-option{min-height:210px;padding:16px}.phone-device-option b{min-width:0;width:100%;font-size:15px}.phone-entry__start{min-width:240px;padding-inline:38px}}
@media(max-width:360px){.phone-lab-bar__home span:last-child{display:none}.phone-lab-bar__home{min-width:44px;justify-content:center;padding-inline:8px}.phone-lab-bar{gap:6px}.phone-lab-bar__list{padding-inline:8px}}

/* Android 16 · Galaxy S23 FE · ChatGPT 1.2026.237 화면 골격. 가짜 상태표시줄 없이 앱과 하단 내비게이션만 재현한다. */
.sai-lab--smartphone .phone-shell{width:min(390px,100%);min-height:0;aspect-ratio:390/844;border:7px solid #27272b;border-radius:46px;background:#fff;overflow:hidden}
.sai-lab--smartphone .phone-app{height:calc(100% - 24px);min-height:0;padding:0 14px 16px;background:#fff;font-family:"Noto Sans KR",Roboto,"Malgun Gothic",sans-serif}.sai-lab--smartphone .phone-homebar{display:block;height:24px;background:#fff}
.app-topbar{min-height:64px;padding:4px 0;grid-template-columns:50px 1fr 94px}.app-topbar__left .icon-button{background:#f2f2f3}.app-topbar__actions{display:flex;justify-content:flex-end;gap:4px}.app-topbar__actions .icon-button{background:transparent}.app-title{font-size:18px}.icon-button{width:46px;height:46px}.icon{width:23px;height:23px;stroke-width:1.7}
.chat-space{min-height:0;flex:1}.chat-greeting{gap:14px}.chat-greeting h2{font-size:22px}.chat-mark{width:38px;height:38px;font-size:12px}.composer-wrap{margin-top:auto}.chat-composer{min-height:58px;padding:6px 8px;border:1px solid #dedee2;border-radius:29px;background:#f4f4f5}.composer-preview{color:#57575e}.send-button{color:#fff;background:#111}
.coach-input-tools{display:grid;gap:9px;margin:12px 0}.coach-input-tools[hidden]{display:none}.coach-input-tools button{min-height:48px;border:1px solid var(--sai-line-strong);border-radius:14px;color:var(--sai-violet-700);background:var(--sai-surface);font-family:inherit;font-weight:850}.coach-input-tools [data-type-fill]{display:grid;padding:9px 12px;text-align:left}.coach-input-tools [data-type-fill] span{margin-top:4px;color:var(--sai-ink);font-size:13px;font-weight:650}.coach-input-confirm:disabled{opacity:.42}.coach-input-confirm:not(:disabled){color:#fff;background:var(--sai-gradient)}
.type-controls,.type-feedback,.screen-note,.learning-confirm{display:none}
.store-detail{padding:16px 6px}.store-detail__hero{align-items:center}.store-detail__hero .store-app-icon{width:76px;height:76px;border-radius:18px;font-size:19px}.store-detail__hero h2{margin:0;font-size:25px}.store-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0;text-align:center}.store-metrics span{display:grid;gap:4px;border-right:1px solid #dedee2}.store-metrics span:last-child{border:0}.store-metrics small{color:#73737a;font-size:11px}.store-install{width:100%;min-height:44px;border:0;border-radius:999px;color:#071b0d;background:#9ae6aa;font-weight:850}.store-detail h3{margin:24px 0 8px}.store-detail p{color:#57575e;line-height:1.55}
.gallery-tabs{display:flex;gap:22px;padding:4px 8px 14px;border-bottom:1px solid #dedee2}.gallery-tabs button{min-height:44px;padding:0 8px;border:0;color:inherit;background:transparent}.gallery-tabs .is-current{color:#1769b0;font-weight:800}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;overflow:hidden}.gallery-grid .photo-tile{min-width:0;aspect-ratio:1;border-radius:2px}.photo-tile--selected::after{position:absolute;top:8px;right:8px;display:grid;width:28px;height:28px;place-items:center;border:2px solid #fff;border-radius:50%;background:#3974e8;color:#fff;content:"✓";font-size:18px;font-weight:900}.photo-tile--sky{background:linear-gradient(#71bce8 55%,#e9d49a 56%)}.photo-tile--plant{background:radial-gradient(circle at 50% 60%,#4f7c42 0 25%,#d9d2bf 26%)}.photo-tile--paper{background:repeating-linear-gradient(#eee 0 14px,#b8c6dd 15px 16px)}
.camera-view{position:relative;height:100%;margin:0 -14px -16px;background:linear-gradient(135deg,#654b36,#a7815c 45%,#5f422f)}.camera-top{display:flex;height:62px;padding:0 18px;align-items:center;justify-content:space-between;background:rgba(0,0,0,.55)}.camera-focus{position:absolute;top:42%;left:50%;width:72px;height:72px;border:1px solid rgba(255,255,255,.8);transform:translate(-50%,-50%)}.camera-modes{position:absolute;right:0;bottom:22px;left:0;display:flex;justify-content:center;gap:10px;font-size:13px}.camera-modes button{min-width:44px;min-height:44px;padding:0 7px;border:0;color:#fff;background:transparent}.camera-modes .is-current{color:#ffd45b;font-weight:800}
.voice-view{height:100%;margin:0 -14px -16px;background:radial-gradient(circle at 50% 48%,#264574,#08101e 62%,#000);color:#fff}.voice-head{display:flex;height:70px;padding:0 20px;align-items:center;justify-content:space-between}.voice-close{min-width:64px;min-height:44px;padding:0 16px;border:1px solid #71809a;border-radius:999px;color:#fff;background:#18243a}.voice-center{display:grid;height:calc(100% - 70px);place-items:center;align-content:center;gap:18px;text-align:center}.voice-safety{max-width:260px;padding:8px 12px;border-radius:12px;color:#eaf3ff;background:rgba(255,255,255,.12);font-size:13px;line-height:1.45}.voice-orb{display:flex;width:132px;height:132px;align-items:center;justify-content:center;gap:5px;border:0;border-radius:50%;background:radial-gradient(circle,#b8dcff,#397ed2 55%,#153863);box-shadow:0 0 55px rgba(93,165,255,.55)}.voice-orb span{width:5px;height:34px;border-radius:99px;background:#fff}.voice-orb span:nth-child(2){height:58px}.voice-orb span:nth-child(3){height:44px}.voice-orb--reply{animation:voicePulse 1.4s ease-in-out infinite}@keyframes voicePulse{50%{transform:scale(1.06);filter:brightness(1.15)}}
.dictation-intro{display:grid;margin:auto 4px;padding-block:20px;gap:10px;place-items:center}.dictation-intro .bridge-shield{margin-bottom:2px}.dictation-intro .dictation-confirm{width:100%;min-height:50px;margin-top:8px;border:0;border-radius:14px;color:#fff;background:#111;font-weight:900}.dictation-intro small{color:#746d4d;font-size:12px}
.dictation-stage{display:grid;min-height:0;flex:1;place-items:center;align-content:center;gap:4px;text-align:center}.dictation-stage>p{margin:0;color:#57575e;font-size:14px;font-weight:750}.dictation-mascot{position:relative;width:min(244px,68vw);aspect-ratio:1;animation:dictationBob .9s ease-in-out infinite}.dictation-mascot img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.dictation-mascot__open{animation:dictationOpen .36s step-end infinite}.dictation-mascot__closed{animation:dictationClosed .36s step-end infinite}.dictation-composer{padding-top:5px}.dictation-typed-text{display:block;overflow:hidden;max-width:100%;white-space:nowrap;animation:dictationType 2.35s steps(24,end) both}.voice-orb--activating{animation:voiceActivate 1s ease-in-out infinite}.voice-utterance{padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.14);font-size:13px;font-weight:800}.voice-center>p{max-width:290px;margin:0;font-size:18px;font-weight:850;line-height:1.5}
@keyframes dictationBob{50%{transform:translateY(-3px)}}@keyframes dictationOpen{0%,49%{opacity:1}50%,100%{opacity:0}}@keyframes dictationClosed{0%,49%{opacity:0}50%,100%{opacity:1}}@keyframes dictationType{from{max-width:0}to{max-width:100%}}@keyframes voiceActivate{50%{filter:brightness(1.18);transform:scale(.96)}}
@media(prefers-reduced-motion:reduce){.dictation-mascot,.dictation-mascot__open,.dictation-mascot__closed,.dictation-typed-text,.voice-orb--activating,.voice-orb--reply{animation:none}.dictation-mascot__closed{display:none}}
.android-share-sheet{position:absolute;right:0;bottom:0;left:0;padding:22px;border:1px solid #dedee2;border-radius:24px 24px 0 0;background:#fff}.android-share-sheet div{display:flex;justify-content:space-around}.android-share-sheet button{display:grid;width:76px;height:76px;place-items:center;border:0;border-radius:20px;color:#171719;background:#ededf0}
.notification-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 18px}.notification-quick button{display:grid;aspect-ratio:1;padding:0;place-items:center;border:0;border-radius:50%;color:#171719;background:#e1e6ec;font-size:10px}.notification-card{align-items:flex-start}.notification-card>small{margin-left:auto;color:#73737a}
@media(max-width:820px){.sai-lab--smartphone .phone-shell{width:min(390px,100%);min-height:0;border:0;border-radius:0}.sai-lab--smartphone .phone-app{height:calc(100% - 24px);min-height:0;padding:0 14px 16px}.sai-lab--smartphone .phone-homebar{display:block}.coach-card{width:calc(100% - 24px)}}

/* One phone-stage and one interaction model at every viewport size. */
.sai-lab--smartphone .practice-stage{position:relative;display:grid;grid-template-columns:1fr;place-items:start center;isolation:isolate}
.sai-lab--smartphone .phone-shell{container-type:size}
.sai-lab--smartphone .phone-app{position:relative;z-index:1}
.sai-lab--smartphone .marker-layer{position:absolute;z-index:20;inset:0;pointer-events:none}
.sai-lab--smartphone .target-pointer{position:absolute;width:0;height:0;border-right:10px solid transparent;border-left:10px solid transparent;border-top:15px solid var(--guide);filter:drop-shadow(0 3px 4px rgba(0,0,0,.5));transform:translate(-50%,-100%);animation:targetArrow 1.25s ease-in-out infinite}
.sai-lab--smartphone .target-pointer[hidden]{display:none}@keyframes targetArrow{50%{transform:translate(-50%,calc(-100% - 5px))}}
.sai-lab--smartphone .coach-input-tools{margin:9px 0 0}.sai-lab--smartphone .coach-input-tools button{color:#332079;background:#fff}.sai-lab--smartphone .coach-input-tools [data-phrase-fill]{display:grid;min-height:48px;padding:9px 12px;text-align:left}.sai-lab--smartphone .coach-input-tools [data-phrase-fill] span{margin-top:4px;color:#17131f;font-size:13px;font-weight:650}
.sai-lab--smartphone .composer-trigger{min-width:0;min-height:44px;flex:1;padding:7px 4px;border:0;color:#d8d8dc;background:transparent;font:inherit;text-align:left;overflow-wrap:anywhere}.sai-lab--smartphone .playstore-search .composer-trigger,.sai-lab--smartphone .calendar-quick .composer-trigger{width:100%;min-height:44px;color:inherit}

/* PC practice parity hardening: proximity-first guidance and a clean completion state. */
.sai-lab--smartphone .phone-app{z-index:auto}
.sai-lab--smartphone .marker-layer{z-index:6;background:transparent}


.phone-step-back{min-height:36px;margin-top:5px;padding:4px 9px;border:0;border-radius:9px;color:#fff;background:rgba(255,255,255,.13);font-size:12px;font-weight:800;pointer-events:auto}
.phrase-dock{position:absolute;z-index:12;right:12px;bottom:82px;left:12px;display:grid;pointer-events:none}
.phrase-dock button{min-height:52px;padding:8px 12px;border:2px solid var(--guide);border-radius:14px;color:#17131f;background:#fff;text-align:left;pointer-events:auto}
.phrase-dock strong,.phrase-dock span{display:block}.phrase-dock span{margin-top:3px;font-size:12px;line-height:1.35}
.sai-lab--smartphone .practice-confirm{position:relative;z-index:9;display:block;width:100%;min-height:48px;margin:12px 0 0;border:2px solid var(--guide);color:#201b08;background:#fff3b7;font-weight:900}
.sai-lab--smartphone .lab-card__number{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;color:#2a2100;background:#ffbd2e;font-size:15px;font-weight:900}
.sai-lab--smartphone .lab-card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sai-lab--smartphone .lab-card__stars{display:none}

.sai-lab--smartphone .lab-run.is-complete .coach-card,.sai-lab--smartphone .lab-run.is-complete .marker-layer,.sai-lab--smartphone .lab-run.is-complete .run-status{display:none}

/* Mobile browsers expose less space than the layout viewport. Use one measured stage. */
@media(max-width:820px){
  html{height:var(--lab-viewport-height,100dvh);overflow:hidden}
  body.is-running{position:fixed;inset:0;width:100%;height:var(--lab-viewport-height,100dvh);overflow:hidden}
  body.is-running .phone-lab-bar{display:none}
  .sai-lab--smartphone.is-running main{position:fixed;inset:0;display:block;width:100%;height:var(--lab-viewport-height,100dvh);padding:0;overflow:hidden}
  .sai-lab--smartphone .lab-run{display:grid;height:100%;grid-template-rows:auto 5px minmax(0,1fr);overflow:hidden}
  .sai-lab--smartphone .run-toolbar{min-height:68px;padding:8px 12px;background:#f8f8fc}
  .sai-lab--smartphone .run-progress{height:5px;margin:0}
  .sai-lab--smartphone .practice-stage{width:100%;height:auto;min-height:0;overflow:hidden}
  .sai-lab--smartphone .phone-shell{width:100%;height:100%;min-height:0;max-height:none;overflow:hidden}
  .sai-lab--smartphone .phone-app{height:calc(100% - 24px);min-height:0;padding-bottom:16px}
  .sai-lab--smartphone .composer-wrap{padding-bottom:max(4px,env(safe-area-inset-bottom))}
  .sai-lab--smartphone .phrase-dock{bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px))}
}
.sai-lab--smartphone .camera-view{position:absolute;inset:0;height:auto;margin:0;background:linear-gradient(135deg,#654b36,#a7815c 45%,#5f422f)}
.sai-lab--smartphone .camera-view .icon-button{border-color:rgba(255,255,255,.28);color:#fff;background:rgba(0,0,0,.38)}
.sai-lab--smartphone .image-progress{color:#fff}


.sai-lab--smartphone .camera-modes{bottom:max(22px,env(safe-area-inset-bottom))}
@media(orientation:landscape) and (max-height:500px){
  html{height:var(--lab-viewport-height,100dvh);overflow:hidden}
  body.is-running{position:fixed;inset:0;width:100%;height:var(--lab-viewport-height,100dvh);overflow:hidden}
  body.is-running .lab-header,body.is-running .phone-lab-bar{display:none}
  .sai-lab--smartphone.is-running main{position:fixed;inset:0;width:100%;height:var(--lab-viewport-height,100dvh);padding:0;overflow:hidden}
  .sai-lab--smartphone .lab-run{display:grid;width:100%;height:100%;max-width:none;grid-template-rows:58px 4px minmax(0,1fr);overflow:hidden}
  .sai-lab--smartphone .run-toolbar{min-height:58px;padding:5px 12px;background:#f8f8fc}
  .sai-lab--smartphone .run-progress{height:4px;margin:0}
  .sai-lab--smartphone .practice-stage{width:100%;height:auto;min-height:0;overflow:hidden}
  .sai-lab--smartphone .phone-shell{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;border-radius:0}
  .sai-lab--smartphone .phone-homebar{display:block}
  .sai-lab--smartphone .phone-app{width:100%;height:calc(100% - 24px);min-height:0;padding-bottom:12px}
  
  .sai-lab--smartphone .camera-modes{bottom:max(6px,env(safe-area-inset-bottom))}
  .sai-lab--smartphone .phone-app>.robot-art{position:absolute;inset:8px 14px;width:auto;height:auto;min-height:0;margin:0}
  .sai-lab--smartphone .robot-scene{transform:scale(.72)}
}

/* 2026-09-02 mobile fidelity pass: visual controls stay native-sized; guidance is independent. */


.sai-lab--smartphone .target-ring{position:absolute;z-index:23;border:0;border-radius:10px;outline:3px solid var(--guide);outline-offset:0;box-shadow:0 0 0 2px rgba(255,255,255,.72);pointer-events:none}
.sai-lab--smartphone .target-ring.is-round{border-radius:999px}
.sai-lab--smartphone .target-ring[hidden]{display:none}
.sai-lab--smartphone .target-pointer{z-index:24;width:0;height:0;border:6px solid transparent;border-top:10px solid var(--guide);filter:drop-shadow(0 2px 2px rgba(0,0,0,.45));transform:translate(-50%,-50%);animation:none;pointer-events:none}
.sai-lab--smartphone .target-pointer[data-direction="up"]{transform:translate(-50%,-50%) rotate(180deg)}
.sai-lab--smartphone .target-pointer[data-direction="left"]{transform:translate(-50%,-50%) rotate(90deg)}
.sai-lab--smartphone .target-pointer[data-direction="right"]{transform:translate(-50%,-50%) rotate(-90deg)}
.sai-lab--smartphone .coach-hint,.sai-lab--smartphone .coach-repeat{display:none}
.sai-lab--smartphone .phone-step-back{display:none}
.sai-lab--smartphone .phrase-dock{right:10px;bottom:max(74px,calc(env(safe-area-inset-bottom) + 62px));left:10px}
.sai-lab--smartphone .phrase-dock button{min-height:48px;padding:7px 10px;border-width:2px;border-radius:12px}
.sai-lab--smartphone .camera-top span{min-width:24px}


.sai-lab--smartphone .camera-modes{bottom:max(16px,env(safe-area-inset-bottom))}
/* Adversarial review fixes: preserve accessible hit boxes without enlarging the visible glyphs. */
.sai-lab--smartphone .app-topbar__actions{min-width:92px;width:92px;overflow:visible}
.sai-lab--smartphone .app-topbar__actions .icon-button,
.sai-lab--smartphone .app-topbar__actions .icon-button:first-child,
.sai-lab--smartphone .app-topbar__actions .icon-button:last-child{width:44px;height:44px;flex:0 0 44px}
.sai-lab--smartphone .composer-trigger:focus-visible,.sai-lab--smartphone .composer-trigger:focus{outline:3px solid #4c1d95;outline-offset:-3px;border-radius:24px;box-shadow:inset 0 0 0 1px #fff}
.sai-lab--smartphone .phone-lab-bar__title{margin:0;color:var(--sai-ink);font-size:25px;font-weight:850;letter-spacing:-.03em;white-space:nowrap}
@media(max-width:620px){.sai-lab--smartphone .phone-lab-bar__title{font-size:20px}}
/* 안내 표시는 제품 UI를 변형하지 않고 별도 target-ring/target-pointer가 담당한다. */
.sai-lab--smartphone .target-active{position:relative;z-index:10}
.sai-lab--smartphone .camera-shutter{position:absolute;right:auto;bottom:max(72px,calc(env(safe-area-inset-bottom) + 56px));left:50%;display:grid;width:72px;height:72px;padding:0;place-items:center;border:5px solid #fff;border-radius:50%;background:transparent;font-size:0;line-height:0;transform:translateX(-50%)}
.sai-lab--smartphone .camera-shutter:before{content:"";width:54px;height:54px;border-radius:50%;background:#fff}
@media(max-height:700px){.sai-lab--smartphone .camera-shutter{bottom:max(54px,calc(env(safe-area-inset-bottom) + 42px))}}

/* The shared subsetted font sheet loads only the Noto Sans KR ranges used on screen. */
.sai-lab--smartphone,
.sai-lab--smartphone button,
.sai-lab--smartphone input,
.sai-lab--smartphone textarea,
.sai-lab--smartphone select{font-family:"Noto Sans KR",Roboto,"Malgun Gothic",sans-serif}

/* New Mobile AI: keep the real-app practice surface and teaching controls in separate rows. */
.sai-lab--smartphone .practice-stage{display:grid;min-height:0;grid-template-rows:minmax(0,1fr) auto;gap:5px;align-items:stretch;justify-items:stretch;overflow:hidden;background:#e5e5e7}
.sai-lab--smartphone .practice-viewport{display:grid;min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr);justify-items:center;overflow:hidden;background:#fff}
.sai-lab--smartphone .practice-watermark{z-index:26;width:100%;margin:0;padding:6px 12px;border-bottom:1px solid rgba(255,255,255,.16);color:#fff1a8;background:#171719;font-size:12px;font-weight:850;text-align:center}
.sai-lab--smartphone .practice-viewport .phone-shell{min-height:0;height:100%;max-height:100%;margin:0;border-radius:0;box-shadow:none}
.sai-lab--smartphone .practice-viewport .phone-app{height:calc(100% - 24px);min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.sai-lab--smartphone .gallery-done{box-sizing:border-box}
.sai-lab--smartphone .gallery-grid .photo-tile{min-height:0;height:auto}
.sai-lab--smartphone .coach-card{position:relative;z-index:31;top:auto;right:auto;bottom:auto;left:auto;width:100%;max-width:none;max-height:118px;margin:0;padding:10px max(14px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-bottom));border:0;border-radius:0;color:#fff;background:var(--sai-violet-700);box-shadow:0 -8px 24px rgba(20,20,36,.16);overflow:hidden;pointer-events:auto}
.sai-lab--smartphone .coach-summary{display:grid;gap:3px;align-items:start}
.sai-lab--smartphone .coach-meta{display:flex;min-width:0;gap:8px;align-items:center}
.sai-lab--smartphone .coach-step{flex:none;min-width:46px;margin:0;padding:3px 8px;border-radius:999px;color:#2b2b2b;background:#ffb52a;font-size:11px;font-weight:900;text-align:center}
.sai-lab--smartphone .coach-title{min-width:0;margin:0;overflow:hidden;color:#f0d8ff;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.sai-lab--smartphone .coach-card h2{display:none}
.sai-lab--smartphone .coach-caption{display:-webkit-box;min-height:0;margin:0;overflow:hidden;color:#fff;font-size:clamp(16px,4.2vw,19px);font-weight:900;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:keep-all}
.sai-lab--smartphone .coach-helper{display:-webkit-box;margin:0;overflow:hidden;color:#f5eaff;font-size:13px;font-weight:650;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:keep-all}
.sai-lab--smartphone .coach-card[data-action-kind="phrase"] .coach-caption{-webkit-line-clamp:2}.sai-lab--smartphone .coach-card[data-action-kind="phrase"] .coach-helper{display:none}
.sai-lab--smartphone :is(button,a,input,summary,[tabindex]):focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #4c1d95}
.sai-lab--smartphone .coach-caption:focus-visible{outline:0;box-shadow:none}
.sai-lab--smartphone .coach-card .run-status{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.sai-lab--smartphone .phone-device-option:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.56}
.sai-lab--smartphone .phone-device-option:disabled b{color:var(--sai-muted);background:var(--sai-surface-2)}
@media(min-width:821px){.sai-lab--smartphone .practice-stage{width:min(480px,100%);height:min(850px,calc(100dvh - 150px));margin:0 auto;border:1px solid var(--sai-line-strong);border-radius:24px;box-shadow:var(--sai-shadow-lg)}.sai-lab--smartphone .practice-viewport .phone-shell{width:100%;border:0}.sai-lab--smartphone .coach-card{max-height:118px}}
@media(max-width:820px){.sai-lab--smartphone .practice-stage{height:auto;min-height:0}.sai-lab--smartphone .practice-viewport .phone-shell{width:100%;height:100%}.sai-lab--smartphone .coach-card{max-height:118px}.sai-lab--smartphone .run-status{right:auto;bottom:auto;left:auto}.sai-lab--smartphone .phrase-dock{display:none}}
@media(max-width:820px){.sai-lab--smartphone .run-toolbar__actions .restart-button{display:inline-flex;min-height:44px;padding:0 10px;align-items:center;font-size:12px}.sai-lab--smartphone .run-title-wrap h1{max-width:120px}}
@media(max-width:380px),(max-height:720px){.sai-lab--smartphone .coach-card{max-height:104px;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.sai-lab--smartphone .coach-caption{font-size:16px}.sai-lab--smartphone .coach-helper{font-size:12px}}

.sai-lab--smartphone .store-install-progress{display:grid;min-height:52px;grid-template-columns:44px 1fr;align-items:center;gap:12px;color:#c9f5d0}
.sai-lab--smartphone .store-install-progress span{width:36px;height:36px;border:4px solid #4c6951;border-top-color:#9ae6aa;border-radius:50%;animation:storeSpin 1s linear infinite}
.sai-lab--smartphone .store-safety-note{margin:10px 0 0;color:#48634f;font-size:12px}
@keyframes storeSpin{to{transform:rotate(360deg)}}
.sai-lab--smartphone .sim-detour{display:grid;height:100%;grid-template-rows:64px 1fr;background:#fff;color:#171719}
.sai-lab--smartphone .sim-detour__bar{display:grid;grid-template-columns:48px 1fr;align-items:center;border-bottom:1px solid #dedee2}
.sai-lab--smartphone .sim-detour__bar button{display:grid;width:44px;height:44px;padding:0;place-items:center;border:0;border-radius:50%;color:#171719;background:#f2f2f3}
.sai-lab--smartphone .sim-detour__body{display:grid;padding:28px;place-items:center;align-content:center;gap:18px;text-align:center}
.sai-lab--smartphone .sim-detour__body p{max-width:280px;margin:0;color:#57575e;font-size:17px;line-height:1.6}
.sai-lab--smartphone .sim-detour__body button{min-height:48px;padding:10px 18px;border:1px solid #cfcfd4;border-radius:14px;color:#171719;background:#f2f2f3;font-weight:800}
.sai-lab--smartphone .drawer-link,.sai-lab--smartphone .drawer-recent,.sai-lab--smartphone .drawer-search{border:0;color:inherit;background:transparent;font:inherit;text-align:left}
.sai-lab--smartphone .drawer-link{display:flex;width:100%;min-height:48px;align-items:center;gap:10px}.sai-lab--smartphone .drawer-recent{width:100%;min-height:44px}
.sai-lab--smartphone .lab-evidence-note,.sai-lab--smartphone .lab-storage-note,.sai-lab--smartphone .lab-storage-warning{max-width:720px;margin:10px 0 0;padding:12px 14px;border:1px solid var(--sai-line);border-radius:13px;color:var(--sai-muted);background:var(--sai-surface);font-size:14px;line-height:1.55}.sai-lab--smartphone .lab-storage-warning{border-color:#d69e2e;color:#5c4600;background:#fff8dc;font-weight:800}
.sai-lab--smartphone .lab-evidence-note strong{color:var(--sai-ink)}
.sai-lab--smartphone .lab-card__evidence{margin-top:10px;color:#b9a7ee;font-size:12px;font-weight:800}
.sai-lab--smartphone .task-suggestion{width:100%;color:#57575e;background:#fff;text-align:left}.sai-lab--smartphone .task-starters--composer{margin-top:18px;padding:18px;border-radius:18px;background:#f3f3f5}.sai-lab--smartphone .task-starters--composer h2{margin:0 0 7px;font-size:20px}.sai-lab--smartphone .task-starters--composer p{margin:0;color:#57575e;font-size:14px;line-height:1.5}

/* Galaxy reference geometry: each top-bar slot is independent, so no grouped border or stacking context can duplicate the voice control. */
.sai-lab--smartphone .app-topbar--chat{z-index:auto;min-height:64px;grid-template-columns:52px minmax(0,1fr) 52px;gap:6px;padding:4px 0;background:#fff}
.sai-lab--smartphone .app-topbar--chat .app-topbar__left,.sai-lab--smartphone .chat-voice-slot{display:grid;width:52px;min-width:52px;place-items:center;border:0;background:transparent;overflow:visible}
.sai-lab--smartphone .app-topbar--chat .app-topbar__left .icon-button,.sai-lab--smartphone .chat-voice-button{display:grid;width:48px;height:48px;padding:0;place-items:center;border:1px solid #dedee2;border-radius:50%;color:#171719;background:#f2f2f3}
.sai-lab--smartphone .chat-mode-switch{display:grid;width:100%;min-width:0;max-width:190px;height:48px;margin:0 auto;grid-template-columns:1fr 1fr;align-items:center;border-radius:24px;color:#171719;background:#ededf0;font-size:16px;text-align:center}
.sai-lab--smartphone .chat-mode-switch button{display:grid;height:44px;margin:2px;padding:0;place-items:center;border:0;border-radius:22px;color:#3f3f46;background:transparent;font-weight:500}
.sai-lab--smartphone .chat-mode-switch .is-current{background:#fff;font-weight:650;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.sai-lab--smartphone .phone-app,.sai-lab--smartphone .chat-space{background:#fff}
.sai-lab--smartphone .chat-composer{border-color:#dedee2;background:#f4f4f5}

/* App menu and attachment sheet: fixed layer order, independent controls and the requested real-app information hierarchy. */
.sai-lab--smartphone .chat-drawer{z-index:20;inset:0 16% 0 0;padding:12px 10px;overflow:hidden}
.sai-lab--smartphone .drawer-scrim{z-index:19;inset:0;padding:0;border:0}
.sai-lab--smartphone .drawer-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.sai-lab--smartphone .drawer-head{min-height:52px;padding:0 4px}.sai-lab--smartphone .drawer-search{width:46px;height:46px}
.sai-lab--smartphone .drawer-links{gap:0;margin-top:6px}.sai-lab--smartphone .drawer-link{min-height:46px;gap:12px;padding:0 10px;border-radius:12px;color:#171719;font-size:15px}.sai-lab--smartphone .drawer-link .icon{width:22px;height:22px}
.sai-lab--smartphone .drawer-recent-title{margin:14px 10px 5px}.sai-lab--smartphone .drawer-recent{min-height:44px;padding:0 10px;border:0;text-align:left}
.sai-lab--smartphone .drawer-bottom{display:grid;flex:0 0 auto;gap:2px;margin-top:8px;padding-top:9px;border-top:1px solid #e5e5e8}
.sai-lab--smartphone .drawer-account{display:flex;min-height:54px;gap:12px;padding:5px 10px;align-items:center;border:0;border-radius:13px;color:#171719;background:transparent;text-align:left}.sai-lab--smartphone .drawer-account .icon{width:24px;height:24px}.sai-lab--smartphone .drawer-account span{min-width:0}.sai-lab--smartphone .drawer-account strong,.sai-lab--smartphone .drawer-account small{display:block}.sai-lab--smartphone .drawer-account small{margin-top:2px;color:#73737a;font-size:12px}.sai-lab--smartphone .drawer-chat{background:#f1f1f3}
.sai-lab--smartphone .attachment-scrim{position:absolute;z-index:10;inset:0;padding:0;border:0;background:rgba(0,0,0,.18)}
.sai-lab--smartphone .attachment-menu{position:absolute;z-index:12;right:auto;bottom:86px;left:14px;width:min(68%,390px);max-height:calc(100% - 104px);gap:0;margin:0;padding:8px;overflow-y:auto;overscroll-behavior:contain}
.sai-lab--smartphone .attachment-item{min-height:52px;gap:12px;padding:0 10px;color:#171719;font-size:15px}.sai-lab--smartphone .attachment-icon{width:38px;height:38px;border-radius:12px}.sai-lab--smartphone .attachment-icon .icon{width:22px;height:22px}

/* Response actions share one visible size and one 48px touch target. */
.sai-lab--smartphone .chat-tools{min-height:48px;gap:4px;flex-wrap:wrap}.sai-lab--smartphone .chat-tool{width:48px;height:48px;flex:0 0 48px}.sai-lab--smartphone .chat-tool .icon{width:24px;height:24px;stroke-width:1.8}
.sai-lab--smartphone .run-toolbar__actions .restart-button{display:inline-flex;min-height:44px;padding:0 12px;align-items:center}
@media(max-width:340px){.sai-lab--smartphone .app-topbar--chat{grid-template-columns:48px minmax(0,1fr) 48px;gap:4px}.sai-lab--smartphone .app-topbar--chat .app-topbar__left,.sai-lab--smartphone .chat-voice-slot{width:48px;min-width:48px}.sai-lab--smartphone .chat-mode-switch{font-size:15px}.sai-lab--smartphone .chat-drawer{right:12%}}

/* PC식 문장 선택 단계: 제품 UI의 예약 슬롯에 고정 문장 버튼 하나만 둔다. */
.sai-lab--smartphone .practice-sentence-slot{display:grid;min-height:52px;width:100%;align-items:center}
.sai-lab--smartphone .practice-sentence-slot--above{margin-bottom:7px}
.sai-lab--smartphone .practice-sentence-slot--below{margin-top:7px}
.sai-lab--smartphone .practice-sentence-button{box-sizing:border-box;width:100%;min-height:48px;padding:9px 14px;border:1px solid #d5c06c;border-radius:14px;color:#332600;background:#fff7ce;font:inherit;font-size:14px;font-weight:900;text-align:center}
.sai-lab--smartphone .practice-sentence-button--prepared{display:grid;gap:4px;padding:10px 14px;text-align:left}
.sai-lab--smartphone .practice-sentence-button--prepared span{color:#766016;font-size:12px;font-weight:800}
.sai-lab--smartphone .practice-sentence-button--prepared strong{font-size:15px;line-height:1.45;word-break:keep-all}
.sai-lab--smartphone .virtual-phone-home{display:flex;min-height:100%;padding:18px 4px 24px;flex:1;flex-direction:column;border-radius:26px;background:linear-gradient(155deg,#eef4ff 0,#f9f2ff 48%,#effcf8 100%)}
.sai-lab--smartphone .virtual-phone-home__status{display:flex;padding:0 10px;align-items:center;justify-content:space-between;color:#3c3c44;font-size:12px}
.sai-lab--smartphone .virtual-phone-home__welcome{display:grid;gap:5px;margin:44px 14px 0;color:#24242a}
.sai-lab--smartphone .virtual-phone-home__welcome span{color:#6750a4;font-size:13px;font-weight:850}
.sai-lab--smartphone .virtual-phone-home__welcome strong{font-size:23px;line-height:1.35;letter-spacing:-.04em}
.sai-lab--smartphone .virtual-phone-home__apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:42px 8px 0}
.sai-lab--smartphone .virtual-app-icon{display:grid;width:auto;min-width:0;min-height:108px;padding:8px 2px;place-items:center;align-content:center;gap:8px;border:0;border-radius:20px;background:rgba(255,255,255,.62)}
.sai-lab--smartphone .virtual-app-icon>span{position:relative;display:grid;width:58px;height:58px;place-items:center;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(54,43,90,.14)}
.sai-lab--smartphone .virtual-app-icon>span::before{width:0;height:0;border-top:18px solid transparent;border-bottom:18px solid transparent;border-left:31px solid #34a853;content:"";transform:translateX(3px)}
.sai-lab--smartphone .virtual-app-icon>span::after{position:absolute;left:13px;width:33px;height:9px;border-radius:8px;background:linear-gradient(90deg,#4285f4 0 34%,#fbbc04 34% 66%,#ea4335 66%);content:"";transform:rotate(-31deg)}
.sai-lab--smartphone .virtual-app-icon strong{font-size:11px;letter-spacing:-.05em;white-space:nowrap}
.sai-lab--smartphone .virtual-app-icon--other{width:auto}
.sai-lab--smartphone .virtual-app-icon--other>span{font-size:28px}
.sai-lab--smartphone .virtual-app-icon--other>span::before,.sai-lab--smartphone .virtual-app-icon--other>span::after{display:none}
.sai-lab--smartphone .virtual-phone-home__note{margin:auto 12px 0;color:#66616d;font-size:12px;text-align:center}
.sai-lab--smartphone .composer-trigger{color:#65656c;cursor:pointer}
.sai-lab--smartphone .calendar-composer{margin-top:auto}
.sai-lab--smartphone .calendar-composer .calendar-quick{margin-top:0}

/* 실제 표적 상자는 그대로 두고, outline과 바깥 shadow만으로 안내·비표적 감광을 그린다. */
.sai-lab--smartphone .target-ring{box-sizing:border-box;border:0;background:transparent;outline:3px solid var(--guide);outline-offset:0;box-shadow:0 0 0 2px rgba(255,255,255,.78),0 0 0 9999px rgba(18,18,24,.46)}
.sai-lab--smartphone .marker-layer{z-index:24}

/* 오탭 안내는 제품 화면을 덮지 않고 하단 안내 패널 안에서 약 9초간 한 번만 보인다. */
.sai-lab--smartphone .coach-card.is-nudging .coach-summary{display:none}
.sai-lab--smartphone .coach-card.is-nudging .run-status{position:static;display:block;width:auto;height:auto;min-height:44px;margin:0;padding:4px 0;overflow:visible;clip:auto;clip-path:none;color:#fff;font-size:15px;font-weight:850;line-height:1.5;white-space:normal}

/* Enlarge the teaching layer without changing the real-app practice geometry. */
.sai-lab--smartphone.has-large-text .coach-caption{font-size:calc(16px * var(--lab-text-scale,1));line-height:1.35;-webkit-line-clamp:3}
.sai-lab--smartphone.has-large-text .coach-helper{font-size:calc(12px * var(--lab-text-scale,1));-webkit-line-clamp:1}
.sai-lab--smartphone.has-large-text .coach-title{font-size:calc(12px * var(--lab-text-scale,1))}
.sai-lab--smartphone.has-large-text .coach-step{font-size:calc(11px * var(--lab-text-scale,1))}
.sai-lab--smartphone.has-large-text .run-title-wrap h1{font-size:calc(17px * var(--lab-text-scale,1))}
.sai-lab--smartphone.has-large-text .restart-button{font-size:calc(12px * var(--lab-text-scale,1))}
.sai-lab--smartphone.has-large-text .lab-intro>p:not(.lab-eyebrow),
.sai-lab--smartphone.has-large-text .lab-card p{font-size:calc(16px * var(--lab-text-scale,1))}
@media(max-width:820px){.sai-lab--smartphone.has-large-text .coach-card{max-height:160px}}

/* Combined camera/gallery description flows and deterministic image editing. */
.sai-lab--smartphone .practice-photo-thumb{display:block;width:116px;height:88px;margin-left:auto;border:1px solid #dedee2;border-radius:14px;object-fit:cover}
.sai-lab--smartphone .chat-thread>.thinking span{background:#74747c}
.sai-lab--smartphone .camera-practice-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sai-lab--smartphone .camera-top,.sai-lab--smartphone .camera-focus,.sai-lab--smartphone .camera-shutter,.sai-lab--smartphone .camera-modes{z-index:2}
.sai-lab--smartphone .camera-top{position:relative}
.sai-lab--smartphone .camera-review{position:absolute;inset:0;display:grid;grid-template-rows:64px minmax(0,1fr) 76px;background:#08080a;color:#fff}
.sai-lab--smartphone .camera-review__top{display:grid;padding:0 12px;grid-template-columns:52px 1fr 52px;align-items:center;text-align:center}.sai-lab--smartphone .camera-review__top .icon-button{color:#fff;background:#242428}.sai-lab--smartphone .camera-review__top strong{font-size:16px}
.sai-lab--smartphone .camera-review>img{width:100%;height:100%;min-height:0;object-fit:contain}
.sai-lab--smartphone .camera-review__actions{display:grid;padding:10px 16px;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.sai-lab--smartphone .camera-review__actions button{min-height:48px;border:1px solid #55555d;border-radius:14px;color:#fff;background:#242428;font:inherit;font-weight:850}.sai-lab--smartphone .camera-review__actions button:last-child{border-color:#b9a5ff;background:#6b50ca}
.sai-lab--smartphone .photo-tile--flower{overflow:hidden;padding:0;background:#eef4ed}.sai-lab--smartphone .photo-tile--flower img{display:block;width:100%;height:100%;object-fit:cover}
.sai-lab--smartphone .image-edit-preview{display:grid;min-height:0;flex:1;grid-template-rows:minmax(150px,1fr) auto;gap:8px}.sai-lab--smartphone .image-edit-preview .robot-art{min-height:0}.sai-lab--smartphone .image-edit-preview .robot-scene{transform:scale(.72)}.sai-lab--smartphone .image-edit-preview p,.sai-lab--smartphone .image-edit-success{margin:0;color:#57575e;text-align:center;font-size:14px;font-weight:750}
.sai-lab--smartphone .robot-art--edited{background:radial-gradient(circle at 50% 25%,#425aa1,#15234d 52%,#050817 90%)}
.sai-lab--smartphone .robot-scene--night{overflow:hidden;border-radius:24px;background:linear-gradient(#111b4e 0 62%,#263b54 62%)}
.sai-lab--smartphone .robot-stars{position:absolute;z-index:0;top:24px;left:28px;width:5px;height:5px;border-radius:50%;background:#fff6b0;box-shadow:35px -12px #fff,74px 9px #fff6b0,112px -4px #fff,142px 28px #fff6b0,15px 48px #fff,128px 66px #fff}
.sai-lab--smartphone .robot-scene--night .robot-antenna,.sai-lab--smartphone .robot-scene--night .robot-body,.sai-lab--smartphone .robot-scene--night .robot-head,.sai-lab--smartphone .robot-scene--night .robot-book{z-index:1}
.sai-lab--smartphone .image-full-view{display:grid;min-height:0;flex:1;grid-template-rows:minmax(0,1fr) auto;gap:8px}.sai-lab--smartphone .image-full-view .robot-art{width:100%;min-height:0}.sai-lab--smartphone .image-full-view .robot-scene{transform:scale(.78)}.sai-lab--smartphone .image-full-view .image-tool-sheet{margin-top:0}
.sai-lab--smartphone .image-progress p{margin:10px 0 0;color:#d5d5da;font-size:13px;line-height:1.5}
@media(max-height:700px){.sai-lab--smartphone .practice-photo-thumb{width:96px;height:70px}.sai-lab--smartphone .image-edit-preview .robot-scene{transform:scale(.58)}}
