:root{--bg:#f8f6fc;--paper:#fffefd;--ink:#292239;--muted:#696078;--accent:#6942c8;--tint:#eee7fc;--line:#e5def0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:var(--tint);color:var(--accent);min-height:44px;padding:10px 16px;border-radius:10px;transition:background .15s,transform .15s}button:active{transform:scale(.98);background:#ddd0f7}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ac91e9;outline-offset:3px}.primary{background:var(--accent);color:var(--paper)}.primary:active{background:#52309f}h1{font-size:28px;line-height:1.25;letter-spacing:-.02em;margin:8px 0}h2{font-size:21px;line-height:1.35;margin:0 0 14px}h3{font-size:17px;line-height:1.4;margin:10px 0}p{margin:8px 0}.muted,small{color:var(--muted)}.shell{max-width:960px;margin:auto;padding-bottom:calc(100px + env(safe-area-inset-bottom))}.header{display:flex;align-items:center;gap:12px;padding:22px 20px 18px}.header img{width:44px;height:44px}.header .grow{flex:1}.header h1{font-size:20px;margin:0}.header small{font-size:12px}.page{padding:0 20px 24px}.page.full{padding:0 0 24px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.title-row button{font-size:14px;white-space:nowrap}.card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px;margin-bottom:16px}.tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.tool{background:var(--paper);border:1px solid var(--line);text-align:left;padding:18px;color:var(--ink);min-height:106px}.tool span{display:block;color:var(--accent);font-size:24px;margin-bottom:8px}.tool strong{display:block;font-size:17px}.tool small{display:block;font-size:12px;margin-top:4px}.banner{position:relative;overflow:hidden;border-radius:14px;aspect-ratio:14/5;background:#4b346f}.banner img{width:100%;height:100%;object-fit:cover}.banner button{position:absolute;inset:0;border-radius:0;background:linear-gradient(transparent,rgba(27,14,43,.72));color:white;text-align:left;display:flex;flex-direction:column;justify-content:flex-end;padding:14px 18px}.banner h2{font-size:19px;margin:0}.banner small{color:#f4eafb}.dots{display:flex;justify-content:center;gap:8px;margin-top:8px}.dots button{width:7px;min-height:7px;height:7px;padding:0;background:#d8cde9;border-radius:50%}.dots button.active{background:var(--accent)}.news{display:block;text-align:left;background:transparent;border-radius:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);padding:16px 0}.news small{display:block;margin-top:5px;font-size:12px}.news strong{font-size:16px}.section-row{display:flex;justify-content:space-between;align-items:center}.section-row button{background:transparent}.search{margin:0 20px 16px}.catalog{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:start}.rail{position:sticky;top:8px;max-height:calc(100dvh - 120px);overflow:auto;background:#eee9f6}.rail button{display:block;border-radius:0;background:transparent;color:var(--muted);width:100%;padding:14px 5px;font-size:13px;line-height:1.6;word-break:break-word}.rail button.active{color:var(--accent);font-weight:500;background:var(--paper);box-shadow:inset 3px 0 var(--accent)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px}.item{padding:0;background:var(--paper);border:1px solid var(--line);color:var(--ink);text-align:left;overflow:hidden;border-radius:12px;min-width:0}.item img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:var(--tint)}.item.video img{aspect-ratio:16/10}.item .caption{padding:12px}.item h3{font-size:15px;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item p{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item small{font-size:11px;color:var(--accent)}.item.overlay img{object-fit:contain}.item.overlay button{margin:0 12px 12px;width:calc(100% - 24px)}.empty{grid-column:1/-1;padding:28px 14px;color:var(--muted);text-align:center}.tabs{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:960px;display:grid;grid-template-columns:repeat(4,1fr);background:var(--paper);border-top:1px solid var(--line);padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.tabs button{background:transparent;color:var(--muted);padding:4px;font-size:12px;border-radius:0}.tabs .symbol{display:block;height:30px;font-size:24px;line-height:30px;margin-bottom:3px}.tabs .active{color:var(--accent);font-weight:500}.tabs img{width:32px;height:32px;object-fit:contain;background:var(--paper);border-radius:50%;padding:2px;box-shadow:0 3px 8px #33204d29,0 1px 0 #fff inset}.stack{display:grid;gap:16px}label{display:block;font-size:14px;font-weight:500;margin:12px 0}input:not([type=checkbox]),textarea,select{display:block;width:100%;min-height:50px;color:var(--ink);padding:12px 14px;background:var(--paper);border:1px solid #d7cde8;border-radius:10px;margin-top:6px;font-size:16px}textarea{min-height:124px;resize:vertical}input::placeholder,textarea::placeholder{color:#746a81}input[type=file]{font-size:13px}input[type=checkbox]{accent-color:var(--accent);width:20px;height:20px;vertical-align:middle}.form-row{display:flex;gap:12px}.form-row>*{flex:1;min-width:0}.pre{white-space:pre-wrap;word-break:break-word}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.actions button{flex:1}.detail-image{width:100%;height:auto;border-radius:8px}.photo-row{display:flex;gap:10px;flex-wrap:wrap}.photo-row img{width:90px;height:90px;object-fit:cover;border-radius:8px}.script textarea{margin-top:10px}.error{color:#a02838;padding:14px;background:#fff0f1;border-radius:8px}.gate{max-width:440px;margin:12vh auto;padding:24px;text-align:center}.gate img{width:72px;height:72px}.gate button{margin-top:18px}.chat{min-height:45vh;display:flex;flex-direction:column;gap:16px}.bubble{max-width:88%;padding:15px 18px;border-radius:12px;background:var(--paper);border:1px solid var(--line);white-space:pre-wrap;align-self:flex-start}.bubble.user{align-self:flex-end;background:var(--tint);border:0}.composer{display:flex;align-items:center;gap:8px;margin-top:20px}.composer textarea{min-height:52px;max-height:120px;flex:1;margin:0}.composer button{border-radius:50%;width:48px;height:48px;padding:0;font-size:25px}.profile{display:flex;align-items:center;gap:16px;margin:8px 0 24px}.avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;background:var(--tint);display:grid;place-items:center;font-size:26px;color:var(--accent)}.profile h1{margin:0 0 4px}.profile small{display:block}.metric-main{padding:4px 0 22px;border-bottom:1px solid var(--line)}.amount{font-size:38px;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin-top:10px}.metric-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}.metric-row strong{font-size:23px;display:block}.metric-row small{font-size:12px}.stat-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:16px}.stat-three strong{font-size:17px;display:block;overflow-wrap:anywhere}.stat-three small{font-size:11px}.date-range label{font-size:12px}.date-range input{font-size:13px;padding:10px 6px}.check{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;font-weight:400}.check input{flex:none}#toast{position:fixed;z-index:100;left:50%;bottom:120px;transform:translateX(-50%);max-width:90%;background:#30263eea;color:white;border-radius:8px;padding:12px 18px;font-size:14px;display:none}.splash{position:fixed;inset:0;z-index:90;background:#1d1530}.splash img{width:100%;height:100%;object-fit:cover;display:block}.splash button{position:absolute;right:20px;top:calc(20px + env(safe-area-inset-top));border-radius:24px;background:#21162cc7;color:white}.back{background:transparent;padding-left:0;margin-bottom:12px}.file-hint{font-size:12px;color:var(--muted)}video{width:100%;border-radius:10px;max-height:70vh;background:#221b2e}.thumb-empty{aspect-ratio:1;display:grid;place-items:center;background:var(--tint);color:var(--muted);font-size:13px}.safe-link{color:var(--accent)}@media(min-width:700px){.page{padding:0 36px 30px}.header{padding:28px 36px}.catalog{grid-template-columns:110px minmax(0,1fr)}.rail button{font-size:15px}.tools{grid-template-columns:repeat(3,1fr)}.grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 28px;gap:18px}.banner{max-height:280px}.chat{max-width:700px;margin:auto}.page.narrow{max-width:700px;margin:auto}}@media(max-width:350px){.grid{gap:8px;padding:0 10px}.catalog{grid-template-columns:64px minmax(0,1fr)}.caption{padding:9px!important}.amount{font-size:32px}.stat-three strong{font-size:14px}.header{padding:18px 16px}.page{padding:0 16px 24px}}@media(prefers-reduced-motion:reduce){button{transition:none}button:active{transform:none}}

/* Mobile web: readable forms, stable navigation, safe areas. */
.header{padding-top:calc(18px + env(safe-area-inset-top));position:relative}.header .grow{min-width:0}.header h1{font-size:19px}.identity-entry{position:absolute;right:18px;top:22px;background:transparent;font-size:13px;padding:4px 8px}.header small{display:block}.header .grow{padding-right:64px}.page{padding-left:16px;padding-right:16px}.page.full{padding-left:0;padding-right:0}.tools{gap:10px;margin:24px 0 32px}.tool{min-height:116px;padding:16px}.tool span{font-size:26px;line-height:1.2}.tool small{line-height:1.5}.tabs{max-width:720px;padding-top:10px;box-shadow:0 -4px 18px #29223908}.shell{max-width:720px}.login-panel{padding:30px 8px}.login-panel>img{width:64px;height:64px}.login-panel>button{display:block;width:100%;margin:16px 0}.grid{gap:10px;padding:0 12px}.card{padding:18px}.banner{aspect-ratio:14/6}.banner button{padding-bottom:16px}.banner h2{font-size:18px}.dots button{width:28px;height:28px;min-height:28px;position:relative;background:transparent}.dots button:after{content:'';position:absolute;inset:10px;border-radius:50%;background:#c7b9e7}.dots button.active{background:transparent}.dots button.active:after{background:var(--accent)}.pre{line-height:1.8}button{touch-action:manipulation}.actions{gap:8px}.actions button{min-width:100px}.catalog .rail{top:0}.tabs .symbol{height:34px}.tabs .active img{width:34px;height:34px}.title-row h1{font-size:26px}.page>h1{margin:10px 0 20px}input,textarea{scroll-margin-bottom:140px}html{scroll-padding-bottom:140px}@media(min-width:700px){.page{padding:0 28px 32px}.page.full{padding:0 0 32px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 20px}.tools{grid-template-columns:repeat(2,minmax(0,1fr))}}

.tool-heading{margin-top:26px}.tool-heading h2{margin-bottom:4px}.tool-heading small{font-size:13px}.tools{margin:14px 0 28px}.tool{border:0;border-radius:16px;padding:16px;min-height:128px;box-shadow:0 3px 14px #39256806}.tool .tool-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:10px;border-radius:12px;background:#ede4ff;box-shadow:0 4px 8px #6942c81c,inset 0 1px 0 #ffffffcc}.tool-icon img{width:30px;height:30px;object-fit:contain}.tool strong{font-size:17px;line-height:1.35}.tool small{margin-top:5px;line-height:1.5}.tool-wide{grid-column:1/-1;display:flex;align-items:center;gap:12px;min-height:84px;background:#eee5ff;border:1px solid #dfd1fa}.tool-wide .tool-icon{margin:0;flex:none}.tool-wide b{margin-left:auto;color:var(--accent);font-size:24px}.banner-unavailable{border-radius:18px;padding:22px;background:linear-gradient(125deg,#443076,#8663c8);color:#fff;min-height:150px}.banner-unavailable small{color:#ddd0f8}.banner-unavailable h2{margin:8px 0;font-size:19px}.banner-unavailable button{min-height:36px;font-size:13px;padding:6px 12px;background:#ffffff20;color:#fff}.header{padding-bottom:22px}.banner{border-radius:18px}.banner h2{max-width:85%;font-size:18px}.banner small{max-width:85%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs .symbol img.nav-icon{padding:4px;background:none;box-shadow:none;border-radius:0}

/* Restored from mini program 2.0.15: the original mobile composition. */
body{background:#f8f5ff;font-size:14px;line-height:1.45;color:#262039}.shell{max-width:480px;background:radial-gradient(circle at 94% 0%,#ebe0ff 0,transparent 35%),#f8f5ff;padding-bottom:calc(75px + env(safe-area-inset-bottom));min-height:100dvh}.header{padding:14px 15px 12.5px;gap:7px}.header img{width:36.5px;height:36.5px;border-radius:50%;box-shadow:0 2.5px 7px #49308520}.header h1{font-size:14px;line-height:1.25;font-weight:500}.header small{font-size:12px;margin-top:2px;line-height:1.35}.header .grow{padding-right:54px}.identity-entry{right:15px;top:22px;border:1px solid #cfc0ed;border-radius:5px;font-size:11.5px;min-height:0;padding:2.5px 4.5px;color:#6544be}.page,.page.narrow{padding:0 15px 24px;max-width:none}.page.full{padding:0 0 24px}.banner{height:127.4px;aspect-ratio:auto;border-radius:12px;box-shadow:0 8.5px 16px #4b2c9830;background:linear-gradient(115deg,#35205f,#6540ba 66%,#7959ce)}.banner>img{position:absolute;inset:0}.banner>button{padding:12px 14px;display:block;background:transparent}.banner-copy{display:block;text-align:left}.banner-label{display:block;color:#e8dcff;font-size:12px;font-weight:500}.banner h2{font-size:18px;line-height:1.28;max-width:95%;margin:6px 0 3.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.banner-summary{display:block;font-size:12px;line-height:1.35;max-width:91%;color:#eee7ff}.banner-foot{position:absolute;right:13.5px;bottom:9.5px;font-size:12px}.has-image>button{background:linear-gradient(180deg,transparent 30%,#120c1f2e 55%,#120c1fd1 100%)}.has-image .banner-copy{position:absolute;left:12px;right:12px;bottom:17px;padding-right:56px}.has-image .banner-label{display:none}.has-image h2{font-size:15px;line-height:1.3;margin:0;max-width:100%;-webkit-line-clamp:1}.has-image .banner-summary{font-size:11px;max-width:100%;margin-top:3px}.has-image .banner-foot{bottom:17px;font-size:11px}.banner .dots{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);margin:0;gap:0;z-index:2}.banner .dots button{position:relative;inset:auto;display:block;width:18px;height:18px;min-height:18px;padding:0;background:transparent}.banner .dots button:after{inset:6px;background:#c7b9e7}.banner .dots button.active:after{background:#fff}.tool-heading{margin-top:16px;margin-bottom:7px}.tool-heading h2,.hotspot-heading h2{font-size:17px;margin:0;line-height:1.3}.tool-heading small,.hotspot-heading small{font-size:12px;margin-top:1px;display:block}.tools{gap:6px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}.tool{min-height:89px;padding:9px 9.5px;border:1px solid #fff;border-radius:11px;background:#ffffffcb;box-shadow:0 3.5px 11px #392a6410}.tool .tool-icon{width:29px;height:29px;border-radius:8.5px;margin:0;background:linear-gradient(145deg,#f2edff,#ddcfff);box-shadow:inset 0 1px #fff,0 2.5px 5px #5a3e9429}.tool-icon img{width:21px;height:21px}.tool strong{font-size:14px;line-height:1.25;margin-top:7px}.tool small{font-size:12px;line-height:1.35;margin-top:2px}.ready-entry{display:flex;align-items:center;gap:8.5px;margin-top:7.5px;padding:8.5px 10px;background:#ede5ff;border:1px solid #dfd3f7;border-radius:9.5px;text-align:left;width:100%;color:#262039}.ready-entry .grow{flex:1}.ready-entry strong{font-size:14px;display:block}.ready-entry small{font-size:12px;display:block;margin-top:.5px}.ready-mark{width:29px;height:29px;flex:none;border-radius:8.5px;background:#6b46d8;color:#fff;display:grid;place-items:center;font-weight:500;box-shadow:0 3px 6px #5e38c038}.ready-arrow{font-size:16px;color:#6b46d8}.today-head{margin-top:17px;margin-bottom:7px}.today-head>small{font-size:12px;color:#6b46d8;font-weight:500}.today-head h2{font-size:17px;margin:2px 0 0}.continue-card{display:block;width:100%;text-align:left;padding:12px;background:#fff;border:1px solid #e7e0f1;border-radius:11px;color:#262039;box-shadow:0 3.5px 9px #392a640d}.continue-top,.continue-bottom{display:flex;justify-content:space-between;font-size:12px}.continue-top>span,.continue-bottom>span{color:#6b46d8;font-weight:500}.continue-card>strong{display:block;font-size:15px;line-height:1.38;margin-top:5.5px}.continue-card p{font-size:12px;line-height:1.48;color:#625b78;margin:2.5px 0 0}.progress-track{height:4px;background:#eeeaf4;border-radius:4px;margin:10px 0 5px}.continue-bottom{font-size:11px}.hotspot-heading{margin:16.5px 0 7px}.hotspot-heading button{font-size:12px;padding:4px;white-space:nowrap}.hotspot-list{background:#fff;border:1px solid #e7e0f1;border-radius:10.5px;padding:1.5px 10px}.hotspot-list .news{padding:8.5px 1px}.hotspot-list .news strong{font-size:13.5px}.hotspot-list .news:last-child{border-bottom:0}.tabs{max-width:480px;height:calc(53px + env(safe-area-inset-bottom));padding:0 8.5px env(safe-area-inset-bottom);box-shadow:none;border-top:1px solid #e7e0f1}.tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;line-height:1.2;padding:0;gap:1px}.tabs .symbol{display:grid;place-items:center;height:30.5px;width:37px;margin:0}.tabs .symbol img.nav-icon{width:19.5px;height:19.5px;padding:0}.tabs .active .symbol img{height:31px;width:31px;padding:2px;background:linear-gradient(145deg,#fff,#f3ecff);border:1.5px solid #fff;box-shadow:0 2px 0 #b59bdc,0 4px 6px #4d2c9a3d;transform:translateY(-1.5px)}.tabs .active{font-weight:500;color:#6540ba}.catalog{grid-template-columns:70px minmax(0,1fr)}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px}.card{border-radius:11px;padding:15px}h1{font-size:22px}h2{font-size:17px}.composer{position:sticky;bottom:calc(60px + env(safe-area-inset-bottom));padding:7px;background:#fff;border:1px solid #d5c1f6;border-radius:12px;box-shadow:0 2px 10px #6544be30}.composer textarea{border:0;min-height:40px;padding:8px;font-size:14px}.composer button{width:34px;height:40px;font-size:24px;background:linear-gradient(145deg,#7347d3,#9b75ed)}
.login-panel form{display:grid;gap:16px;text-align:left;margin:24px 0}.login-panel label{display:grid;gap:8px;font-size:14px;font-weight:500}.login-panel input{width:100%;box-sizing:border-box;min-height:48px;padding:12px;border:1px solid #ddd4f0;border-radius:12px;font-size:16px;background:white}.login-panel input:focus{outline:2px solid #b699ef;outline-offset:2px}

/* Keep native iOS date/time controls inside their grid tracks. */
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-row>label{min-width:0}.form-row input,.form-row select{min-width:0;max-width:100%;height:50px}input[type=time],input[type=date]{appearance:none;-webkit-appearance:none;min-width:0}input::-webkit-date-and-time-value{text-align:left;min-width:0}.composer textarea{min-width:0;resize:none}.composer button{flex:0 0 48px;aspect-ratio:1;width:48px;height:48px}

/* Clear profile entry and compact chat composer. */
.identity-entry{min-width:52px;min-height:44px;padding:0 10px;top:12px;background:#ede4ff;border:1px solid #b9a0e2;border-radius:9px;color:#5632a1;font-size:13px;font-weight:500}.header .grow{padding-right:64px}.identity-entry:focus-visible{outline:2px solid #6540ba;outline-offset:3px}.composer{padding:5px 6px;align-items:center;box-shadow:0 2px 6px #6544be18}.composer textarea{height:40px;min-height:40px;max-height:40px;line-height:22px;padding:9px 7px;margin:0;overflow-y:auto}.composer button{flex:0 0 44px;width:44px;height:44px;min-height:44px;border-radius:50%;padding:0}

/* iOS focus must not zoom the composer or push send outside the viewport. */
.composer{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.composer textarea{font-size:16px;flex:1 1 0%;width:0;min-width:0;box-sizing:border-box;border-radius:6px}.composer:focus-within{border-color:#8762cf;box-shadow:0 0 0 2px #8762cf22}.composer textarea:focus-visible{outline:none}.composer button:focus-visible{outline:2px solid #6540ba;outline-offset:2px}

/* Approved assistant composition: quiet page, light only at composer. */
.assistant-shell{background:#f8f5ff}.identity-entry{display:flex;align-items:center;gap:6px;border:1px solid #e4d7fa;border-radius:24px;background:#eee6fa;padding:0 10px;box-shadow:inset 0 1px 0 #fff;color:#493080;font-size:12px}.profile-glyph{width:22px;height:22px;border-radius:50%;background:#e2d4f6;color:#754dc7;display:grid;place-items:center;font-size:11px;position:relative}.profile-glyph:after{content:'';width:12px;height:5px;background:#754dc7;border-radius:7px 7px 3px 3px;position:absolute;bottom:4px}.header .grow{padding-right:76px}.assistant-greeting{font-size:22px;line-height:1.5;margin:22px 0 12px;min-height:66px;font-weight:500}.typing-caret{display:inline-block;height:22px;width:2px;background:#8056d8;margin-left:5px;vertical-align:-3px;animation:caret-pulse 1.1s steps(1) infinite}.assistant-starters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;gap:10px}.assistant-starters button{font-size:13px;padding:10px 9px;display:flex;align-items:center;justify-content:space-between;gap:5px;background:#eee7fa;color:#493080}.assistant-starters button>span:first-child{font-size:19px;color:#8056d8}.assistant-shell .chat{min-height:0;margin-top:22px;padding-bottom:190px}.assistant-shell .composer{position:fixed;z-index:3;bottom:calc(65px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;margin:0;border:1px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(110deg,#9670e2,#d8a6ee,#8762d5) border-box;box-shadow:0 0 0 2px #b99aeb30,0 0 13px #ae72e447;border-radius:16px}.assistant-shell .composer:focus-within{box-shadow:0 0 0 2px #b99aeb45,0 0 15px #ae72e459}.assistant-pet{position:absolute;width:96px;height:128px;right:13px;bottom:calc(100% - 27px);pointer-events:none;background-image:url('/assets/xiaode-maid-sprite.png');background-size:400% 100%;background-repeat:no-repeat;transform-origin:50% 100%;animation:pet-idle 7s ease-in-out infinite}.assistant-pet[data-frame="0"]{background-position:0% 0}.assistant-pet[data-frame="1"]{background-position:33.333333% 0}.assistant-pet[data-frame="2"]{background-position:66.666667% 0}.assistant-pet[data-frame="3"]{background-position:100% 0}@keyframes caret-pulse{50%{opacity:0}}@keyframes pet-idle{0%,100%{transform:rotate(0deg) translateY(0)}50%{transform:rotate(1deg) translateY(-1px)}}@media(prefers-reduced-motion:reduce){.assistant-pet,.typing-caret{animation:none}}
/* Learning and recap: shared hierarchy, real progress and distinct work areas. */
.workspace-intro{position:relative;padding:24px 0 22px;border-bottom:1px solid #e4dced;overflow:hidden}.section-kicker{font-size:11px;letter-spacing:.12em;color:#7652b2;font-weight:500}.workspace-intro h1{font-size:29px;font-weight:500;line-height:1.4;margin:9px 0 11px}.workspace-intro p{font-size:12px;line-height:1.8;color:#6d627d;max-width:270px;margin:0}.intro-emblem{position:absolute;right:3px;top:37px;width:66px;height:66px;border:1px solid #e6dbf2;background:#f0e9f9;border-radius:20px;display:grid;place-items:center;transform:rotate(-8deg);box-shadow:inset 0 1px #fff,0 6px 12px #4c2b7710;pointer-events:none}.intro-emblem img{width:33px;height:33px;opacity:.7}.learning-overview{margin:20px 0 26px;padding:18px;background:#fff;border:1px solid #e6dff0;border-radius:16px;box-shadow:0 5px 16px #40285508}.learning-overview small{font-size:11px}.learning-overview strong{display:block;margin-top:4px;font-size:18px}.progress-count{color:#6a44b7;font-size:21px;font-weight:500}.learning-progress{height:5px;background:#eee8f7;border-radius:5px;margin:15px 0 10px;overflow:hidden}.learning-progress i{height:100%;display:block;background:#8060c0;border-radius:5px}.learning-overview p{font-size:11px;color:#776d85;margin:0 0 15px}.continue-learning{width:100%;display:flex;justify-content:space-between;padding:10px 14px;font-size:13px;border-radius:10px;background:#6640ae}.learning-list-head{margin-bottom:12px}.learning-list-head h2{font-size:17px;margin:0}.learning-list-head small{font-size:11px}.lesson-path{display:flex;flex-direction:column;gap:12px}.lesson-card{display:flex;align-items:flex-start;gap:13px;width:100%;padding:17px 14px;text-align:left;background:#fff;color:#292239;border:1px solid #e9e2f0;border-radius:14px;box-shadow:0 3px 8px #35244d05}.lesson-number{width:32px;height:32px;border-radius:10px;flex:none;display:grid;place-items:center;background:#f0eaf9;color:#6c4fa6;font-size:13px;font-weight:500}.lesson-info{min-width:0;flex:1}.lesson-meta{display:flex;justify-content:space-between;font-size:10px;color:#7c718b;margin-bottom:7px;align-items:center}.lesson-status{font-size:10px;padding:2px 6px;background:#f4f0f9;border-radius:4px;color:#75618f}.lesson-card strong{display:block;font-size:15px;line-height:1.5;margin-bottom:5px}.lesson-description{display:block;font-size:12px;line-height:1.65;color:#71677e}.lesson-footer{display:flex;justify-content:space-between;font-size:11px;color:#7757b4;border-top:1px solid #f0eaf5;margin-top:13px;padding-top:9px}.lesson-card.complete .lesson-number,.lesson-card.complete .lesson-status{background:#eaf3ed;color:#48745c}.lesson-section{display:flex;gap:13px;padding:22px 0;border-bottom:1px solid #e6dff0}.section-number{font-size:12px;color:#967fae;padding-top:3px;flex:none}.lesson-section h2{font-size:17px;margin-bottom:9px}.lesson-section p{font-size:14px;margin:0}.detail-lead{font-size:12px;color:#786981}.lesson-detail>.card{margin-top:24px}.recap-process{display:flex;justify-content:space-between;align-items:center;padding:18px 0;color:#74647f;font-size:10px;gap:5px}.recap-process b{color:#7356aa;margin-right:3px;font-size:10px}.recap-process i{font-style:normal;color:#b9a9cd}.recap-workbench{background:#fff;border:1px solid #e6dff0;border-radius:16px;box-shadow:0 5px 16px #40285508;padding:0 17px;overflow:hidden}.recap-block{padding:22px 0;border-bottom:1px solid #ece6f2}.block-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.block-icon{width:35px;height:35px;display:grid;place-items:center;background:#f1eafa;border-radius:10px;color:#815abb;font-size:22px;flex:none}.block-heading small{font-size:10px;color:#8b759f}.block-heading h2{font-size:15px;line-height:1.5;margin:2px 0 0}.recap-workbench .field-label{font-size:12px;color:#594b67;margin:0 0 7px;font-weight:500}.recap-workbench textarea{background:#fbf9fd;border:1px solid #e5dced;font-size:16px;line-height:1.6;padding:12px;min-height:130px;margin:0;border-radius:10px}.recap-workbench textarea::placeholder{font-size:13px;line-height:1.7;color:#81768c}.field-tip{font-size:11px;color:#887b93;margin:9px 0 0}.recap-upload{display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;border:1px dashed #cdbde2;background:#faf7fe;border-radius:12px;padding:17px 8px;cursor:pointer;margin:0}.upload-plus{width:32px;height:32px;display:grid;place-items:center;background:#eee5fa;border-radius:50%;color:#7c56b7;font-size:23px}.recap-upload strong{font-size:13px;color:#5b407e}.recap-upload>span:last-of-type{font-size:10px;color:#85728e}.recap-upload input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.recap-upload:focus-within{outline:2px solid #8b64c6;outline-offset:3px}.upload-status{font-size:11px;color:#82768b;line-height:1.6;min-height:18px;margin:10px 0 18px}.recap-submit{padding:18px 0 20px}.recap-submit p{font-size:12px;color:#73627f;line-height:1.7;margin:0 0 13px}.recap-submit button{display:flex;justify-content:space-between;align-items:center;width:100%;background:#6640ae;font-size:14px;border-radius:10px}.recap-submit>small{display:block;text-align:center;font-size:10px;margin-top:9px;color:#93829e}.recap-result{margin-top:22px;border-top:3px solid #9472c5}@media(max-width:350px){.workspace-intro h1{font-size:26px}.intro-emblem{width:53px;height:53px;right:0}.workspace-intro p{max-width:225px}.recap-workbench{padding:0 14px}.recap-process{font-size:9px}}

/* Compact script setup; the full catalog lives on its own selection screen. */
.live-workbench h2{margin:0;font-size:18px}.live-choices{display:grid;gap:8px}.live-choice{display:flex;gap:12px;align-items:center;margin:0;padding:12px;border:1px solid #e4dcf1;border-radius:12px;background:#fcfbff;min-height:64px;cursor:pointer}.live-choice input{width:20px;height:20px;margin:0;flex:none;accent-color:#7145cd}.live-choice span{min-width:0}.live-choice strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.live-choice small{display:block;margin-top:3px;color:#62556f;font-size:12px}.live-choice.selected{background:#f0e9fc;border-color:#9773d5}.live-choice:focus-within{outline:2px solid #7145cd;outline-offset:2px}.live-more{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:48px;margin:12px 0 20px;color:#6940b1}.live-more span{font-size:12px}.live-search{display:block;margin-bottom:16px}.live-picker-footer{position:sticky;bottom:calc(82px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;background:#f8f6fc;border-top:1px solid #e4dcf1;margin-top:16px}.live-picker-footer span{font-size:14px;color:#62556f}.live-picker-footer button{min-width:120px;min-height:44px}#live-picker-list{padding-bottom:12px}.live-choice:active{background:#eee5fa}
.login-panel .remember-account{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:14px}.login-panel .remember-account input{width:18px;height:18px;accent-color:var(--purple,#6b46d8)}.login-password-hint{display:block;font-size:12px;line-height:1.6;color:#625b78}
.live-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.live-category-card{position:relative;text-align:left;min-height:104px;padding:18px 34px 18px 16px;background:#fdfcfe;border:1px solid #ded5ec;border-radius:12px}.live-category-card strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.live-category-card small{display:block;font-size:12px;color:#62556f;margin-top:8px;line-height:1.5}.live-category-card>span{position:absolute;right:14px;top:20px;color:#6940b1}.live-category-card:active{background:#eee5fa}.live-category-card:focus-visible{outline:2px solid #7145cd;outline-offset:3px}
.contribution-card form{display:grid;gap:12px}.contribution-card textarea{min-height:140px}.contribution-card small{font-size:12px;line-height:1.6;color:#62556f}.contribution-card button{justify-self:start;min-height:44px}.contribution-card [role=status]{font-size:13px;line-height:1.6;color:#34704d}
/* A focused, mobile-first broadcast workspace. */
.live-studio{--live-ink:#282235;--live-muted:#655c76;--live-line:#e3ddeb;color:var(--live-ink);padding-bottom:12px}.live-intro{padding:4px 0 20px}.live-intro>.back{display:block;margin:0 0 26px;padding:0;font-size:13px}.live-intro>small{font-size:11px;color:#7653b4;letter-spacing:.04em;font-weight:500}.live-intro h1{font-size:27px;letter-spacing:-.03em;line-height:1.25;margin:9px 0}.live-intro p{font-size:13px;color:var(--live-muted);margin:0;line-height:1.6}.live-block{padding:20px 0;border-top:1px solid var(--live-line)}.live-block-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.live-step{font-size:11px;font-weight:500;color:#7653b4;background:#eae2f6;border:1px solid #ded1ee;border-radius:7px;min-width:29px;height:29px;display:grid;place-items:center}.live-block-head h2{font-size:17px;margin:1px 0 4px;line-height:1.3}.live-block-head p{font-size:12px;color:var(--live-muted);margin:0;line-height:1.5}.live-studio .live-category-grid{gap:10px;margin:12px 0}.live-studio .live-category-card{min-height:91px;border-radius:12px;padding:15px 32px 14px 15px;background:#fdfcfe;border:1px solid #e4ddec;color:var(--live-ink);box-shadow:0 2px 5px #30204404;transition:background-color .15s ease-out,border-color .15s ease-out,transform .15s ease-out}.live-studio .live-category-card strong{font-size:14px;font-weight:500;color:var(--live-ink)}.live-studio .live-category-card small{font-size:11px;margin-top:7px;color:var(--live-muted)}.live-studio .live-category-card>span{font-size:14px;right:13px;top:16px;color:#8b759f}.live-studio .live-category-card.is-active{background:#eee6fa;border-color:#9d7ccf}.live-studio .live-category-card.is-active>span{color:#6940b1;font-weight:500}.live-studio .live-more{background:transparent;border:1px dashed #cfc1df;border-radius:9px;padding:12px 14px;margin:12px 0 0;font-size:13px;font-weight:500;min-height:46px}.live-studio .live-more span{font-size:11px;font-weight:400;color:var(--live-muted)}.live-current{margin-top:15px;background:#eae2f5;border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.live-current>span{font-size:10px;color:var(--live-muted)}.live-current strong{display:block;color:var(--live-ink);font-size:13px;margin-top:3px}.live-current button{font-size:12px;min-height:40px}.live-empty{padding:20px 14px;background:#f5f1fa;border-radius:10px;color:var(--live-muted);font-size:12px;line-height:1.7;margin:0}.live-selected-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--live-line);padding:10px 0}.live-selected-row>span{flex:1;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.live-selected-row button{font-size:11px;min-height:40px;flex:none;padding:8px;background:transparent}.live-studio .form-row{gap:12px;margin:0}.live-studio .form-row label{font-size:12px;font-weight:500;min-width:0}.live-studio input[type=time],.live-studio select,.live-studio input[type=search]{font-size:15px;min-height:48px;background:#fdfcfe;border:1px solid #ddd3e9;border-radius:10px}.live-submit{display:grid;gap:11px;padding:16px 0}.live-submit>small{font-size:11px;color:var(--live-muted);text-align:center}.live-submit .primary{display:flex;justify-content:center;align-items:center;gap:22px;font-size:14px;font-weight:500;min-height:50px;box-shadow:0 4px 12px #58388f1a}.live-category-title{padding:15px 0}.live-category-title small{font-size:11px;color:#7653b4;font-weight:500}.live-category-title h1{font-size:26px;line-height:1.3;margin:8px 0}.live-category-title p{font-size:12px;color:var(--live-muted);margin:0}.live-pick-tools{display:flex;justify-content:space-between;gap:10px;margin:0 0 12px}.live-pick-tools button{font-size:11px;min-height:40px;background:#eee7f7}.live-product-picker .live-choice{padding:13px 12px;border-radius:10px;gap:12px;min-height:72px}.live-product-picker .live-choice strong{font-size:13px;font-weight:500}.live-product-picker .live-choice small{font-size:11px}.live-product-picker .live-choice input{width:18px;height:18px}.live-studio .live-picker-footer{background:#f8f5fc;min-height:78px;padding:12px 0;bottom:calc(53px + env(safe-area-inset-bottom));margin-top:20px}.live-studio .live-picker-footer>span{font-size:12px}.live-studio .live-picker-footer .primary{font-size:13px;min-height:44px;min-width:136px}.live-studio #live-picker-list{padding-bottom:8px}@media(hover:hover) and (pointer:fine){.live-category-card:hover{border-color:#a38bc0;background:#f3eef9}}@media(prefers-reduced-motion:reduce){.live-studio .live-category-card{transition:none}.live-studio button:active{transform:none}}

.live-studio .live-category-card{padding:17px 15px 15px;min-height:92px;border-color:#e5deed;box-shadow:0 2px 7px #36234e06}.live-studio .live-category-card strong{font-size:15px;letter-spacing:.01em}.live-studio .live-category-card small{margin-top:9px}.live-studio .live-category-card.is-active{padding-right:36px;background:#eee6f8;border-color:#a88bd0;box-shadow:inset 0 0 0 1px #a88bd020}.live-studio .live-category-card>.live-category-check{top:auto;bottom:16px;right:14px;width:19px;height:19px;display:grid;place-items:center;background:#7450b4;color:#fff;border-radius:50%;font-size:11px}
/* Purple category inventory cards */
.live-studio .live-category-card{background:#eee5fb;border-color:#d8c5ef;padding:20px 16px;min-height:104px;box-shadow:0 3px 10px #57318509}
.live-studio .live-category-card:nth-child(4n+2),.live-studio .live-category-card:nth-child(4n+3){background:#e5d7f5}
.live-studio .live-category-card strong{font-size:18px;color:#4f297f;line-height:1.4}
.live-studio .live-category-card small{font-size:14px;color:#70518c;margin-top:10px}
.live-studio .live-category-card.is-active{background:#6941a6;border-color:#6941a6}
.live-studio .live-category-card.is-active strong,.live-studio .live-category-card.is-active small{color:#fff}
.live-studio .live-category-card:focus-visible{outline:3px solid #9472c8;outline-offset:3px}
.live-product-read{border:1px solid #e1d3ee;background:#faf7ff;border-radius:15px;padding:16px;margin:10px 0}
.live-product-title{display:flex;align-items:start;gap:10px;justify-content:space-between}
.live-product-title strong{font-size:17px;line-height:1.5}.live-product-title small{flex-shrink:0;color:#6b409e;background:#eee3fb;padding:4px 7px;border-radius:6px;font-size:12px}
.live-product-read>p{color:#786888;font-size:14px}.live-product-read>button{background:#eadef8;color:#62379b;padding:10px 14px;border-radius:9px;font-size:15px;font-weight:500}
.live-product-copy{margin-top:16px;border-top:1px solid #dfd0ec}.live-product-copy h3{font-size:16px;color:#62379b}.live-product-copy p{font-size:16px;line-height:1.8}
.live-product-name{padding:14px 0;border-bottom:1px solid #e5d9f0;font-size:17px;font-weight:500;color:#39274d;line-height:1.6;overflow-wrap:anywhere}
.live-products-fold{margin-top:12px}.live-products-fold>summary{cursor:pointer;list-style:none;color:#6941a6;background:#eee3fa;border-radius:10px;padding:12px 15px;font-size:15px;font-weight:500}.live-products-fold>summary::-webkit-details-marker{display:none}.live-products-fold[open]>summary{margin-bottom:4px}.live-products-fold>summary:focus-visible{outline:3px solid #9472c8;outline-offset:2px}
