:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#07145a;background:#eef8ff;--blue:#1478ff;--ink:#07145a;--muted:#758bb6;--line:#d9e9ff;--glass:rgba(255,255,255,.77)}
*{box-sizing:border-box}html{min-width:0}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 23% 0%,#d7ecff 0%,#f6fbff 43%,#eaf6ff 85%);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}svg{width:1.35em;height:1.35em;flex:none}
.app{width:min(100%,480px);min-height:100dvh;margin:auto;position:relative;padding-bottom:calc(64px + env(safe-area-inset-bottom));overflow:hidden;background:linear-gradient(165deg,rgba(227,243,255,.72),rgba(255,255,255,.55) 52%,rgba(232,245,255,.86));box-shadow:0 0 34px #8dbcf222}
.app:before{content:"";position:absolute;top:12px;right:-80px;width:360px;height:210px;opacity:.4;background:linear-gradient(135deg,transparent 28%,#b9ddff 40%,transparent 56%);transform:rotate(-14deg);pointer-events:none}
.topbar{height:72px;padding:18px 15px 8px;display:flex;align-items:center;position:relative;z-index:1;gap:8px}.brand{display:flex;align-items:center;flex:none}.brand img{width:116px;height:39px;object-fit:contain}.topbar-home .brand img{width:85px;height:31px}.header-divider{height:24px;width:1px;background:#8d9ec5}.header-title{font-size:21px;font-weight:800;white-space:nowrap}.header-tools{margin-left:auto;display:flex;gap:13px}.header-tools button{display:grid;justify-items:center;gap:1px;border:0;background:transparent;color:#06135d;padding:0;font-size:10px;white-space:nowrap}.header-tools svg{width:22px;height:22px}
.page{position:relative;z-index:1;padding:0 14px 24px}.home-page{padding-bottom:30px}.hero-banner{display:block;width:100%;aspect-ratio:2.10;overflow:hidden;border-radius:16px;box-shadow:0 8px 30px #3374d214}.hero-banner img{width:100%;height:100%;object-fit:fill}.home-section{margin-top:11px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 1px 8px}.section-heading h1,.section-heading h2{margin:0;font-size:19px;line-height:1.4;font-weight:800;white-space:nowrap}.section-heading span,.section-heading .section-more{color:#788eb6;font-size:10px;white-space:nowrap}.section-more{border:0;background:transparent;padding:0}.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.entry-grid a{display:block;overflow:hidden;border-radius:14px;box-shadow:0 7px 19px #64a3e91c}.entry-grid img{width:100%;aspect-ratio:1.90;object-fit:fill}.cases-section{margin-top:12px}.case-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:1px 1px 3px}.case-strip::-webkit-scrollbar{display:none}.case-strip img{width:calc((100% - 18px)/4);min-width:calc((100% - 18px)/4);height:auto;aspect-ratio:.82;object-fit:cover;border-radius:10px;scroll-snap-align:start}.member-banner{display:block;margin-top:7px;overflow:hidden;border-radius:13px;box-shadow:0 8px 30px #3374d214}.member-banner img{width:100%;height:auto;aspect-ratio:5.15;object-fit:fill}
.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);height:calc(62px + env(safe-area-inset-bottom));padding:5px 11px calc(6px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);align-items:start;background:rgba(255,255,255,.94);border-radius:20px 20px 0 0;box-shadow:0 -5px 22px #8cb1db22;backdrop-filter:blur(16px)}.bottom-nav a{display:grid;justify-items:center;gap:0;color:#99a8c4;font-size:11px;font-weight:600}.bottom-nav a.is-active{color:#1478ff}.bottom-nav svg{width:25px;height:25px;stroke-width:2.5}.bottom-nav:after{content:"";position:absolute;bottom:calc(3px + env(safe-area-inset-bottom)/2);left:36%;width:28%;height:4px;border-radius:9px;background:#b3b8c3}
.agent-switcher{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 7px}.agent-tab{display:flex;align-items:center;min-width:0;gap:8px;border:1px solid white;border-radius:13px;padding:8px 10px;text-align:left;background:rgba(255,255,255,.55);color:#07145a;box-shadow:0 5px 14px #588fcd12}.agent-tab.is-active{color:white;background:linear-gradient(115deg,#2bbbff,#1676ff 62%,#2fc5ff)}.agent-tab-icon{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:10px;color:#1478ff;background:#e1f1ff}.agent-tab.is-active .agent-tab-icon{color:#1478ff;background:#ecf9ff}.agent-tab-icon svg{width:23px;height:23px}.agent-tab strong{display:block;font-size:14px;white-space:nowrap}.agent-tab small{display:block;margin-top:2px;color:#8194ba;font-size:9px;white-space:nowrap}.agent-tab.is-active small{color:#ecf8ff}
.conversation-card,.composer-card{border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.66);border-radius:14px;box-shadow:0 8px 30px #3374d211;backdrop-filter:blur(12px)}.conversation-card{height:clamp(215px,32dvh,280px);padding:15px 10px;overflow-y:auto}.welcome-row{display:flex;align-items:center;gap:5px}.assistant-avatar{width:82px;height:62px;flex:none;border-radius:50%;background:#e6f5ff;overflow:hidden;display:grid;place-items:center}.assistant-avatar img{width:78px;height:90px;object-fit:contain;object-position:center 11px}.welcome-bubble{background:white;border-radius:12px;padding:7px 10px;box-shadow:0 8px 20px #90bae918;min-width:0}.welcome-bubble strong{font-size:12px;white-space:nowrap}.welcome-bubble p{margin:4px 0 0;font-size:9px;line-height:1.55;color:#8798b9}.suggestion-grid{margin:6px 8px 0;display:grid;grid-template-columns:1fr 1fr;gap:5px}.suggestion{min-width:0;border:0;border-radius:20px;background:#edf5ff;color:#6b83b4;padding:5px 7px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:2px;font-size:9.5px;white-space:nowrap}.suggestion span{font-size:15px;color:#1678ff}.chat-messages{padding:7px 2px 0;display:grid;gap:6px}.user-row{display:flex;justify-content:flex-end;align-items:center;gap:6px}.user-row>span:first-child{max-width:80%;border-radius:13px 13px 2px 13px;background:#d2e6ff;padding:8px 11px;font-size:9px;color:#09165e;overflow-wrap:anywhere}.user-avatar{height:25px;width:25px;display:grid;place-items:center;border-radius:50%;background:#d7ecff;color:#2587ff}.user-avatar svg{width:18px;height:18px}.typing-row{display:flex;align-items:center;gap:8px}.typing-avatar{width:28px;height:28px;border-radius:50%;background:#e6f5ff;overflow:hidden}.typing-avatar img{height:39px;max-width:none;position:relative;left:0}.typing-dots{border-radius:13px;padding:6px 10px;background:#edf5ff;color:#4c9aff;font-size:9px;letter-spacing:2px}
.composer-card{margin-top:5px;padding:7px}.upload-row{display:flex;gap:6px}.upload-button{height:30px;min-width:0;width:50%;max-width:160px;border:1px dashed #8dbbff;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;color:#061358;font-size:10px;font-weight:700;background:rgba(255,255,255,.45);cursor:pointer}.upload-button svg{color:#187cff;width:20px;height:20px}.file-list{display:flex;gap:5px;overflow:auto;padding-top:5px}.file-list span{display:flex;align-items:center;max-width:180px;gap:3px;padding:3px 5px;border-radius:6px;background:#e8f3ff;color:#526c9d;font-size:10px;white-space:nowrap;overflow:hidden}.file-list button{border:0;background:none;color:#4b7ed1}.prompt-box{margin-top:4px;height:53px;border:1px solid #d8eaff;border-radius:8px;background:rgba(233,244,255,.62);display:flex;flex-direction:column}.prompt-box textarea{width:100%;min-height:0;flex:1;resize:none;border:0;outline:0;padding:7px 9px 0;background:transparent;color:#07145a;font-size:10px}.prompt-box textarea::placeholder{color:#8a9abc}.prompt-foot{height:22px;padding:0 5px 2px;display:flex;align-items:center;justify-content:flex-end;gap:7px;color:#91a0c2;font-size:10px}.prompt-foot button{width:25px;height:21px;border:0;border-radius:6px;color:white;background:linear-gradient(135deg,#84bfff,#4a91f5);display:grid;place-items:center}.prompt-foot svg{width:15px;height:15px}.settings-head{display:flex;justify-content:space-between;align-items:center;margin:5px 1px 2px}.settings-head h2{margin:0;color:#07145a;font-size:12px;font-weight:800}.settings-head h2:before{content:"";display:inline-block;width:4px;height:12px;margin-right:5px;border-radius:5px;vertical-align:-1px;background:#1683ff}.settings-head button{border:0;background:transparent;color:#8898b9;font-size:10px}.parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.parameter-grid label{height:29px;display:flex;align-items:center;gap:3px;min-width:0;padding:0 5px;border:1px solid #dcecff;border-radius:6px;background:#f0f7ff;color:#07145a;font-size:9px;font-weight:700}.parameter-grid svg{width:17px;height:17px;color:#121f73}.parameter-grid select{min-width:0;width:100%;flex:1;border:0;background:transparent;color:#15276d;outline:0;font-size:8.5px}.skill-head{margin-top:6px}.skill-grid{display:flex;flex-wrap:wrap;gap:3px}.skill-chip{border:0;border-radius:20px;padding:5px 8px;min-height:25px;background:#edf5ff;color:#111c67;font-size:10px;white-space:nowrap}.skill-chip.is-active{color:white;background:linear-gradient(105deg,#35c0ff,#1775ff);box-shadow:0 3px 8px #4ba3ef47}
.profile-slogan{height:30px;color:#607eaf;letter-spacing:4px;font-size:11px;display:flex;align-items:center;justify-content:space-between}.profile-slogan img{height:28px;width:80px;object-fit:contain}.profile-card{min-height:148px;border:1px solid white;border-radius:15px;background:rgba(255,255,255,.72);box-shadow:0 8px 30px #3374d211;display:grid;grid-template-columns:107px minmax(0,1fr);padding:10px;gap:5px}.profile-mascot{display:grid;place-items:end center;overflow:hidden;border-radius:50%;background:#e3f4ff;height:115px}.profile-mascot img{height:140px;max-width:none;position:relative;top:13px}.profile-details{min-width:0}.profile-name-row{display:flex;align-items:center;justify-content:space-between;gap:4px}.profile-name-row strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-name-row button{border:1px solid #accbff;border-radius:20px;padding:3px 7px;color:#4166ac;background:#f3f9ff;font-size:9px;white-space:nowrap}.profile-details p{margin:5px 0;color:#697fab;font-size:10px}.profile-details p button{border:0;background:none;color:#6c82ad;padding:0}.badges{display:flex;gap:5px;white-space:nowrap}.badges span{border-radius:15px;padding:3px 6px;background:#d7e8ff;color:#0065ec;font-size:9px;font-weight:700}.badges span+span{background:#dbf7e6;color:#08b466}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:15px}.profile-stats>div{border-right:1px solid #d5e4f7}.profile-stats>div:last-child{border:0}.profile-stats span{display:block;color:#6f85b0;font-size:9px}.profile-stats strong{font-size:17px}.recharge-banner{display:block;margin-top:8px;border-radius:14px;overflow:hidden}.recharge-banner img{width:100%;height:auto;aspect-ratio:3.38;object-fit:fill}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.quick-grid a,.wide-grid a,.security-card{border:1px solid white;border-radius:13px;background:rgba(255,255,255,.78);box-shadow:0 7px 20px #3374d20d}.quick-grid a{min-width:0;min-height:84px;padding:9px 6px;display:flex;flex-direction:column;align-items:flex-start}.quick-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(130deg,#40c3ff,#176cff);color:white;font-size:22px;font-weight:800}.quick-icon svg{width:20px;height:20px;stroke-width:2.2}.quick-icon.purple{background:linear-gradient(130deg,#a7a4ff,#7168f8)}.quick-grid strong{font-size:10px;margin-top:5px;white-space:nowrap}.quick-grid small{font-size:8px;color:#7488b2;white-space:nowrap}.wide-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.wide-grid a,.security-card{min-height:68px;padding:8px;display:flex;align-items:center;gap:7px}.wide-grid strong,.security-card strong{display:block;font-size:11px;white-space:nowrap}.wide-grid small,.security-card small{display:block;color:#7389b5;font-size:8px;white-space:nowrap}.wide-grid b,.security-card b{margin-left:auto;font-size:22px;color:#6c83b3;font-weight:400}.security-card{margin-top:7px;min-height:54px}
.back-link{display:inline-block;margin:4px 0 13px;color:#6083b8}.extra-page h1{margin:0 0 12px;font-size:23px}.extra-card{padding:20px;border-radius:15px;background:#ffffffd9;color:#506d9e;line-height:1.6}
.extra-page .extra-card{padding:14px;color:#153d7b}.member-mobile-toolbar,.member-mobile-filters,.member-mobile-pager{display:flex;align-items:center;justify-content:space-between;gap:8px}.member-mobile-toolbar label,.member-mobile-filters label{display:flex;align-items:center;gap:5px;color:#6681ac;font-size:12px;min-width:0}.member-mobile-toolbar select,.member-mobile-filters select{min-width:0;max-width:130px;height:36px;border:1px solid #cbdfff;border-radius:9px;background:#fff;color:#164b9a;padding:0 7px}.member-mobile-toolbar>button,.member-mobile-pager button{border:1px solid #cbdfff;border-radius:9px;background:#fff;color:#1262d3;padding:8px 10px;font-weight:700;font-size:12px}.member-mobile-pager button:disabled{opacity:.45}.member-mobile-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:13px}.member-mobile-metric{min-width:0;padding:11px;border:1px solid #d7e7ff;border-radius:10px;background:#f6faff}.member-mobile-metric span{display:block;color:#7189b1;font-size:11px}.member-mobile-metric strong{display:block;margin-top:5px;color:#073574;font-size:18px;overflow-wrap:anywhere}.member-mobile-health{display:flex;flex-wrap:wrap;gap:15px;margin:12px 0;padding:10px;border-radius:9px;background:#eef5ff;color:#466ca5;font-size:12px}.member-mobile-subtitle{margin:17px 0 0;font-size:16px;color:#073574}.member-mobile-note{margin:2px 0 8px;font-size:11px;color:#7189b1}.member-mobile-chart{display:flex;align-items:flex-end;gap:5px;min-height:180px;overflow-x:auto;padding:8px 2px 2px;border:1px solid #e0edff;border-radius:9px;background:#fff}.member-mobile-chart>p{align-self:center;width:100%;text-align:center;color:#7189b1}.member-mobile-day{display:flex;flex:1 0 34px;min-width:34px;height:155px;align-items:center;justify-content:flex-end;flex-direction:column;gap:3px;font-size:9px;text-align:center;color:#5676a7}.member-mobile-day>span:first-child{font-size:8px;white-space:nowrap}.member-mobile-bar{display:block;width:70%;min-height:3px;max-height:95px;border-radius:5px 5px 0 0;background:linear-gradient(#66adff,#347df2)}.member-mobile-bar.is-refund{background:linear-gradient(#91dfc1,#38ae82)}.member-mobile-day small{white-space:nowrap;font-size:9px}.member-mobile-status{min-height:18px;margin:10px 0 0;color:#6480a9;font-size:12px}.member-mobile-kinds{display:flex;gap:3px;padding:3px;border-radius:9px;background:#eef5ff}.member-mobile-kinds button{border:0;border-radius:7px;background:transparent;color:#6783b1;padding:7px;font-size:12px}.member-mobile-kinds button[aria-pressed=true]{background:#fff;color:#1262d3;font-weight:700}.member-mobile-filters{justify-content:flex-start;flex-wrap:wrap;margin:12px 0}.member-mobile-table-wrap{overflow-x:auto;border:1px solid #dbe9fc;border-radius:9px;background:#fff}.member-mobile-table-wrap table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}.member-mobile-table-wrap th,.member-mobile-table-wrap td{padding:10px 6px;border-bottom:1px solid #e7effb;text-align:left;vertical-align:top;overflow-wrap:anywhere}.member-mobile-table-wrap th{background:#f2f7fe;color:#5173a7;font-weight:700}.member-mobile-table-wrap th:first-child{width:34%}.member-mobile-table-wrap th:nth-child(2){width:40%}.member-mobile-table-wrap th:last-child{width:26%}.member-mobile-table-wrap tr:last-child td{border-bottom:0}.member-mobile-table-wrap td:last-child{color:#0b5ed2}.member-mobile-pager{justify-content:flex-end;margin-top:10px;font-size:11px;color:#7890b5}.member-mobile-pager span{margin-right:auto}
.member-mobile-day{flex:0 0 42px}
.profile-account{overflow-wrap:anywhere}.profile-details #profileEmail{color:#082d6d;font-weight:700}.profile-details #profileUid{color:#315b9b}
.wide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wide-grid a,.wide-grid a>span:not(.quick-icon){min-width:0}.wide-grid strong,.wide-grid small{white-space:normal;overflow-wrap:anywhere}
.login-dialog{border:0;border-radius:18px;padding:0;width:min(calc(100% - 32px),360px);box-shadow:0 22px 60px #16407b55;background:#f7fbff;color:#07145a}.login-dialog::backdrop{background:#061d55a8}.login-dialog form{position:relative;padding:24px;display:grid;gap:11px}.login-dialog h2{margin:0;font-size:20px}.login-dialog p{margin:0;color:#768db6;font-size:12px}.login-dialog label{display:grid;gap:4px;color:#526ba2;font-size:12px}.login-dialog input{width:100%;height:39px;border:1px solid #cddffa;border-radius:8px;padding:0 10px;background:white;outline-color:#1478ff}.dialog-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:25px;color:#7c92b8}.outline-button,.primary-button{height:38px;border-radius:20px}.outline-button{border:1px solid #8bb9ff;background:white;color:#176cf0}.primary-button{border:0;background:#167aff;color:white;font-weight:700}.login-status{min-height:16px;color:#617eae;font-size:11px}.toast{position:fixed;z-index:50;bottom:calc(86px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 35px);padding:10px 14px;border-radius:12px;color:white;background:#102c65e8;box-shadow:0 8px 20px #0a2b6944;font-size:12px;text-align:center}
@media(max-width:370px){.topbar{padding-left:11px;padding-right:11px}.page{padding-left:11px;padding-right:11px}.brand img{width:104px}.header-title{font-size:19px}.header-tools{gap:6px}.agent-tab{gap:4px;padding:7px}.agent-tab strong{font-size:12px}.agent-tab small{font-size:8px}.suggestion{font-size:8px}.welcome-bubble strong{font-size:10px}.welcome-bubble p{font-size:8px}.assistant-avatar{width:65px}.skill-chip{font-size:9px;padding:5px 7px}.quick-grid{gap:4px}.quick-grid a{padding:7px 4px}.quick-grid strong{font-size:9px}.quick-grid small{font-size:7px}}
@media(min-height:800px){.conversation-card{height:clamp(230px,35dvh,340px)}.prompt-box{height:72px}.composer-card{padding:11px}}

/* Compact mobile shell: the conversation owns the space freed by the controls. */
.app{padding-bottom:calc(50px + env(safe-area-inset-bottom))}
.topbar{height:54px;padding:7px 14px 5px}
.brand img,.topbar-home .brand img{width:85px;height:31px}
.header-divider{height:20px}
.header-title{font-size:19px}
.header-tools{gap:10px}.header-tools button{font-size:9px}.header-tools svg{width:19px;height:19px}
.workbench-page{height:calc(100dvh - 104px - env(safe-area-inset-bottom));min-height:0;display:flex;flex-direction:column;padding-bottom:4px}
@media(max-height:620px){.workbench-page{height:auto;min-height:calc(100dvh - 104px - env(safe-area-inset-bottom))}.workbench-page .conversation-card{flex:none;height:clamp(120px,28dvh,180px)}}
.agent-switcher{margin-bottom:5px}.agent-tab{min-height:47px;padding:5px 7px;gap:6px;border-radius:11px}.agent-tab-icon{width:28px;height:28px;border-radius:8px}.agent-tab-icon svg{width:19px;height:19px}.agent-tab strong{font-size:12px}.agent-tab small{font-size:8px;margin-top:1px}
.conversation-card{height:auto;min-height:105px;flex:1;padding:8px;display:flex;flex-direction:column;overflow:hidden;position:relative}
.chat-messages{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;padding:3px;gap:7px;overscroll-behavior:contain}
.chat-messages::before{content:"";flex:1 0 0}
.chat-messages.has-intro::before{display:none}
.chat-messages>*{flex:none}
.composer-card{flex:none;margin-top:5px;padding:6px}.prompt-box{height:62px;margin-top:0}.prompt-box textarea{padding:7px 8px 0;font-size:10px}.prompt-foot{height:28px;padding:0 5px 3px;gap:6px}.upload-row{display:flex;flex:1;gap:4px;align-items:center}.upload-button{width:auto;max-width:none;height:22px;padding:0 7px;border-radius:6px;gap:4px;white-space:nowrap;font-size:9px}.upload-button svg{width:15px;height:15px}.file-list{padding:3px 0 0}
.settings-head{margin:4px 1px 1px}.parameter-grid label{height:27px}.skill-head{margin-top:4px}.skill-chip{min-height:22px;padding:3px 7px}
.downloads-card{display:grid;gap:11px}.downloads-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border-radius:12px;background:#eaf3ff}.downloads-tabs button{min-height:38px;border:0;border-radius:9px;background:transparent;color:#637eab;font-size:14px;font-weight:700}.downloads-tabs button[aria-selected=true]{background:#fff;color:#1168df;box-shadow:0 2px 8px #4281c725}.downloads-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.downloads-toolbar span{flex:1;color:#607aa8;font-size:12px}.downloads-toolbar button,.downloads-more{min-height:34px;border:1px solid #c9dcfb;border-radius:9px;padding:0 9px;background:#fff;color:#1768d3;font-size:12px;font-weight:700}.downloads-toolbar #downloadsBatch{border-color:#187cf2;background:#187cf2;color:#fff}.downloads-toolbar button:disabled,.downloads-more:disabled{opacity:.48}.downloads-list{display:grid;gap:10px}.download-work{display:grid;grid-template-columns:24px 84px minmax(0,1fr);gap:9px;align-items:start;padding:9px;border:1px solid #dceaff;border-radius:12px;background:#f9fcff}.download-work.is-selected{border-color:#65a7ff;background:#f0f7ff}.download-work-select{padding-top:28px;display:flex;justify-content:center}.download-work-select input{width:18px;height:18px;accent-color:#1678f6}.download-work-preview{position:relative;width:84px;aspect-ratio:1;overflow:hidden;border-radius:8px;background:#e6f0fc}.download-work-preview img{width:100%;height:100%;object-fit:cover}.download-work-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#071c58a8;color:#fff;font-size:12px}.download-work-details{min-width:0;display:grid;gap:5px}.download-work-details strong{font-size:12px;line-height:1.35;color:#102c69;overflow-wrap:anywhere}.download-work-details small{font-size:10px;color:#718bb4}.download-work-actions{display:flex;gap:12px}.download-work-actions a{color:#126de6;font-size:12px;font-weight:700}.downloads-empty{margin:2px 0;padding:25px 5px;text-align:center;color:#718bb4;font-size:13px}.downloads-more{width:100%}.downloads-status{min-height:18px;margin:0;color:#6784b3;font-size:12px}.work-template-form{display:flex;gap:7px;margin-top:3px;min-width:0;width:100%;flex-wrap:wrap}.work-template-form input{min-width:0;flex:1 1 100px;border:1px solid #d3e6ff;border-radius:9px;padding:8px;color:#13236f;font-size:12px}.work-template-form button{min-height:32px;border:0;border-radius:9px;background:#1683ff;color:white;padding:0 11px;font-size:11px;font-weight:700;white-space:nowrap}.work-template-form button:disabled{opacity:.5}
.bottom-nav{height:calc(49px + env(safe-area-inset-bottom));padding:3px 11px calc(5px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}.bottom-nav a{font-size:9px}.bottom-nav svg{width:20px;height:20px}.bottom-nav:after{height:3px;bottom:calc(2px + env(safe-area-inset-bottom)/2)}
.toast{bottom:calc(60px + env(safe-area-inset-bottom))}
.assistant-message{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.assistant-message>span{max-width:85%;border-radius:12px 12px 12px 2px;background:#fff;padding:8px 10px;color:#13236d;font-size:11px;overflow-wrap:anywhere}
.assistant-message img,.assistant-message video{max-width:min(75%,240px);max-height:220px;object-fit:contain;border-radius:9px}
.case-strip{min-height:112px}.case-strip.is-empty{min-height:0}.case-item{position:relative;display:block;flex:none;width:calc((100% - 18px)/4);min-width:calc((100% - 18px)/4);aspect-ratio:.82;border-radius:10px;overflow:hidden;scroll-snap-align:start;background:#dfeeff}.case-item img{width:100%;height:100%;object-fit:cover}.case-item span{position:absolute;bottom:0;left:0;right:0;padding:14px 4px 4px;color:white;background:linear-gradient(transparent,#17355cab);font-size:9px;font-weight:700}.case-empty{padding:7px 6px 14px;margin:0;color:#728bb6;font-size:11px}
.depth-confirm{margin-top:6px;width:100%;border:0;border-radius:8px;padding:7px;background:#1478ff;color:white;font-size:11px;font-weight:700}
.mobile-replica-slots{display:grid;gap:8px;width:min(100%,430px);margin-top:8px;padding:10px;border:1px solid #c6dcfb;border-radius:10px;background:#f7fbff}
.mobile-replica-flow{display:flex;flex-wrap:wrap;gap:4px;margin:7px 0;padding:0;list-style:none}
.mobile-replica-flow li{padding:3px 5px;border:1px solid #d8e5f7;border-radius:6px;background:#fff;color:#6981a1;font-size:9px}
.mobile-replica-flow .is-done{background:#eef9ff;color:#2e749c}
.mobile-replica-flow .is-current{border-color:#85b8fa;background:#e8f2ff;color:#075ac7;font-weight:700}
.mobile-replica-flow .is-failed{border-color:#f0bdc4;background:#fff1f2;color:#b62239;font-weight:700}
.mobile-replica-slots>strong{font-size:12px;color:#17437d}
.mobile-replica-slots label{display:grid;gap:4px;font-size:10px;color:#365c8d}
.mobile-replica-slots select{width:100%;min-height:34px;border:1px solid #bdd4f3;border-radius:7px;background:#fff;color:#17437d}
.mobile-replica-summary,.mobile-replica-categories{display:flex;flex-wrap:wrap;gap:5px;font-size:10px;color:#355b8d}
.mobile-replica-categories span{padding:3px 5px;border:1px solid #d4e4fa;border-radius:6px;background:#fff}
.mobile-replica-categories .is-detected{background:#e8f2ff;border-color:#9abff3;color:#075ac7}
.mobile-replica-slot-card{display:grid;gap:6px;padding:7px;border:1px solid #d6e5f8;border-radius:8px;background:#fff}
.mobile-replica-mode-note{margin:0;color:#536f97;font-size:10px;line-height:1.5}
.mobile-replica-slot-card.is-role{border-left:3px solid #458df0}
.mobile-replica-slot-card.is-appearance{margin-left:10px;border-left:3px solid #d269ae;background:#fff9fd}
.mobile-replica-slot-card.is-outfit{border-left:3px solid #8b6deb}
.mobile-replica-slot-card.is-footwear{border-left:3px solid #00a6a6}
.mobile-replica-slot-card.is-prop{border-left:3px solid #e19a36}
.mobile-replica-slot-card.is-product{border-left:3px solid #e25a78}
.mobile-replica-slot-card.is-scene{border-left:3px solid #4ea66b}
.mobile-replica-slot-top{display:flex;align-items:flex-start;gap:9px;min-width:0}
.mobile-replica-slot-source{flex:0 0 68px;width:68px;height:76px;border-radius:7px;background:#edf3fb;overflow:hidden}
.mobile-replica-slot-source img{width:100%;height:100%;object-fit:cover}
.mobile-replica-slot-details{min-width:0;flex:1}
.mobile-replica-slot-details strong{display:block;font-size:12px;line-height:1.3;color:#17437d}
.mobile-replica-slot-details p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:3px 0 0;font-size:11px;line-height:1.35;color:#355b8d}
.mobile-replica-slot-value{display:none}
.mobile-replica-slot-actions{display:flex;align-items:center;gap:6px;min-width:0}
.mobile-replica-slot-actions button{min-height:32px;padding:5px 9px;border:1px solid #bdd4f3;border-radius:7px;background:#fff;color:#075ac7;font-size:11px}
.mobile-replica-slot-actions .mobile-replica-library{flex:1;text-align:left}
.mobile-replica-slot-actions .mobile-replica-library::after{content:"⌄";float:right;font-size:16px;line-height:12px}
.mobile-replica-slot-actions .mobile-replica-reset{color:#536f97}
.mobile-replica-slot-actions .mobile-replica-reset[hidden]{display:none}
.mobile-replica-slot-card p{margin:0;color:#355b8d}
.mobile-replica-image-choices{display:flex;flex-wrap:wrap;gap:5px}
.mobile-replica-image-choices[hidden]{display:none}
.mobile-replica-image-choices p{font-size:11px}
.mobile-replica-image-choices button{display:grid;flex:0 0 66px;gap:3px;padding:3px;border:1px solid #c5d8f1;border-radius:6px;background:#fff;color:#17437d;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-replica-image-choices img{width:58px;height:50px;object-fit:cover;border-radius:4px}
.mobile-replica-selected{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid #a5c7f3;border-radius:6px;background:#eaf3ff;color:#17437d;font-size:10px;min-width:0;overflow:hidden}
.mobile-replica-selected img{width:30px;height:30px;object-fit:cover;border-radius:4px}
.mobile-replica-selected[hidden]{display:none}
.mobile-replica-selected strong{flex:none}
.mobile-replica-prompt{max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.5 inherit;color:#274d7e;background:#f7fbff;border:1px solid #c6dcfb;border-radius:8px;padding:8px}
.case-slots{border:1px solid #c8e1ff;border-radius:10px;background:#eef7ff;padding:8px;margin-bottom:7px;flex:none}.case-slots[hidden]{display:none}.case-slots>strong{font-size:11px}.case-slots p{margin:4px 0 0;color:#6781b1;font-size:10px}.case-slot{display:flex;align-items:center;gap:5px;margin-top:5px;padding:5px 7px;border:1px dashed #9dc7ff;border-radius:7px;background:#fff;position:relative;overflow:hidden;font-size:10px}.case-slot span{flex:1}.case-slot small{color:#2480e8}.case-slot input{position:absolute;inset:0;opacity:0;cursor:pointer}
@media(max-width:370px){.brand img,.topbar-home .brand img{width:80px}.header-title{font-size:17px}.agent-tab strong{font-size:11px}}

/* Paint the complete page together; never expose the empty shell during module loading. */
.app:not(.is-ready){visibility:hidden}

/* Profile navigation and its detail pages share the wallet's clear hierarchy. */
.topbar[hidden]{display:none}
.extra-page{padding-top:14px}
.extra-page .back-link{display:inline-flex;align-items:center;min-height:26px;margin:0 0 12px;color:#0762e8;font-size:14px;font-weight:600;line-height:26px}
.extra-page .back-link:hover{text-decoration:underline}
.extra-page .back-link:focus-visible{outline:2px solid #1678ff;outline-offset:3px;border-radius:3px}
.profile-page .quick-grid{gap:8px;margin-top:12px}
.profile-page .wide-grid{gap:8px;margin-top:8px}
.profile-page .quick-grid a,.profile-page .wide-grid a,.profile-page .security-card{border:1px solid #e4efff;border-radius:16px;background:linear-gradient(155deg,#fff 18%,#f7fbff 100%);box-shadow:0 7px 20px #3676c414;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.profile-page .quick-grid a:hover,.profile-page .wide-grid a:hover,.profile-page .security-card:hover{transform:translateY(-2px);border-color:#a9cfff;box-shadow:0 10px 24px #3676c429}
.profile-page .quick-grid a:active,.profile-page .wide-grid a:active,.profile-page .security-card:active{transform:scale(.98)}
.profile-page .quick-grid a:focus-visible,.profile-page .wide-grid a:focus-visible,.profile-page .security-card:focus-visible{outline:2px solid #1678ff;outline-offset:2px}
.profile-page .quick-grid a{min-height:108px;padding:11px 9px;gap:0}
.profile-page .quick-icon{width:38px;height:38px;flex:none;border-radius:11px;background:linear-gradient(140deg,#40baff,#1874f9);box-shadow:0 5px 12px #3294f734}
.profile-page .quick-icon svg{width:23px;height:23px}
.profile-page .quick-icon.purple{background:linear-gradient(140deg,#aba3ff,#7665f7);box-shadow:0 5px 12px #8478ef38}
.profile-page .quick-grid a:nth-child(4) .quick-icon{background:linear-gradient(140deg,#4bb9ff,#3175ee)}
.profile-page .quick-grid strong{margin-top:8px;color:#0b2d70;font-size:12px;line-height:1.35}
.profile-page .quick-grid small{margin-top:2px;color:#6781ad;font-size:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.profile-page .wide-grid a,.profile-page .security-card{min-height:77px;padding:11px 10px;gap:9px}
.profile-page .wide-grid strong,.profile-page .security-card strong{color:#0b2d70;font-size:12px;line-height:1.35}
.profile-page .wide-grid small,.profile-page .security-card small{margin-top:3px;color:#6781ad;font-size:10px;line-height:1.35}
.profile-page .wide-grid b,.profile-page .security-card b{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;background:#edf5ff;color:#3680e2;font-size:18px}
.profile-page .security-card{margin-top:8px;min-height:72px}
@media(max-width:370px){.profile-page .quick-grid{gap:5px}.profile-page .quick-grid a{min-height:105px;padding:10px 6px}.profile-page .quick-grid strong{font-size:11px}.profile-page .quick-grid small{font-size:9px}.profile-page .wide-grid a{padding:9px 7px;gap:6px}.profile-page .wide-grid .quick-icon{width:34px;height:34px}.profile-page .wide-grid strong{font-size:11px}.profile-page .wide-grid small{font-size:9px}.profile-page .wide-grid b{width:18px;height:18px}}

/* The same compact composer layout is used by both mobile agents. */
.composer-card{background:rgba(255,255,255,.9);padding:7px 8px}
.composer-card .file-list{padding:0 0 4px}
.composer-card .prompt-box{height:102px;margin:0;display:flex;flex-direction:row;gap:6px;border:0;background:transparent}
.asset-library-card{width:46px;min-width:46px;height:60px;margin-top:8px;padding:2px 1px 3px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #c7d8f1;border-radius:6px;background:#fff;color:#1464c8;box-shadow:0 9px 15px #2b64ad1e;transform:rotate(-7deg);cursor:pointer}
.asset-library-card img{width:35px;height:40px;object-fit:contain}
.asset-library-card span{font-size:9px;font-weight:800;line-height:1;white-space:nowrap}
.asset-library-card:focus-visible{outline:2px solid #1478ff;outline-offset:3px}
.prompt-main{min-width:0;flex:1;display:flex;flex-direction:column}
.prompt-main textarea{flex:1;min-height:0;padding:10px 0 0;font-size:12px;line-height:1.4}
.prompt-main .prompt-foot{height:40px;padding:0 0 3px;justify-content:flex-start;align-items:end;gap:7px}
.composer-card .upload-row{flex:none;align-self:flex-start;align-items:center;gap:6px;padding:8px 3px 0}
.composer-card .upload-button{width:46px;min-width:46px;max-width:none;height:60px;padding:0;border:1px solid #c7d8f1;border-radius:6px;background:#fff;box-shadow:0 9px 15px #2b64ad1e;transform:rotate(-7deg);display:grid;place-items:center;color:#2284ff}
.composer-card .upload-button svg{width:25px;height:25px;padding:4px;border:1px solid #c8ddff;border-radius:5px;background:#f0f7ff;stroke-width:2.1}
.composer-card .upload-button:focus-within{outline:2px solid #1478ff;outline-offset:3px}
.asset-library-dialog{width:min(420px,calc(100vw - 20px));max-height:min(74dvh,620px);padding:0;border:1px solid #d1e3fa;border-radius:17px;background:#f5f9ff;color:#10296e;box-shadow:0 18px 48px #062d7060}
.asset-library-dialog::backdrop{background:#071c50a6}
.asset-library-shell{display:flex;flex-direction:column;max-height:min(74dvh,620px);padding:13px;gap:10px}
.asset-library-shell header{display:flex;align-items:center;justify-content:space-between}
.asset-library-shell header strong{font-size:15px}
.asset-library-shell header button{width:29px;height:29px;border:0;border-radius:50%;background:#e3efff;color:#204581;font-size:20px}
.asset-library-tabs,.asset-library-filters{display:flex;align-items:center;gap:6px}
.asset-library-tabs button,.asset-library-filters button{min-height:30px;padding:4px 10px;border:1px solid #c6dbf5;border-radius:9px;background:#fff;color:#244785;font-size:11px}
.asset-library-tabs button.is-active,.asset-library-filters button.is-active{border-color:#177bff;background:#177bff;color:#fff}
.asset-library-filters input{min-width:0;flex:1;height:30px;padding:0 8px;border:1px solid #c6dbf5;border-radius:9px;background:#fff;color:#183269;font-size:11px}
.asset-library-shell #assetLibraryStatus{margin:0;color:#6c83a9;font-size:10px}
.asset-library-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow-y:auto;padding:1px 1px 6px}
.asset-library-item{min-width:0;padding:5px;border:1px solid #d4e3f7;border-radius:10px;background:#fff;text-align:left;color:#173669}
.asset-library-item img{width:100%;height:70px;display:block;object-fit:cover;border-radius:6px;background:#e8f2ff}
.asset-library-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin-top:4px}
.asset-library-item small{font-size:9px;color:#7389aa}
@media(max-width:350px){.asset-library-items{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-library-filters{flex-wrap:wrap}.asset-library-filters input{flex-basis:100%}}
.prompt-main #promptCount{margin-left:auto;align-self:center;white-space:nowrap}
.prompt-main #sendPrompt{width:33px;height:33px;flex:none;border-radius:50%;background:#1378ff}
.prompt-main #sendPrompt svg{width:18px;height:18px}
.workbench-options .settings-head{height:16px;margin:0 1px 3px}
.workbench-options .settings-head h2{font-size:10px}.workbench-options .settings-head h2:before{height:10px}
.workbench-options .parameter-grid label{height:34px;border-color:#d6e5fa;background:#fff;border-radius:8px;font-size:9px}
.workbench-options .parameter-grid select{font-size:9px}
.workbench-options .parameter-grid label[hidden]{display:none}
.workbench-options .parameter-grid label span{flex:none;white-space:nowrap}
.video-skill-guide{margin:7px 2px 1px;color:#58729f;font-size:11px;line-height:1.5}
.mobile-short-drama-card{width:100%;min-width:0;box-sizing:border-box;padding:14px;border:1px solid #d7e7ff;border-radius:16px;background:#fff;color:#173b76;box-shadow:0 8px 24px #2871c214;font-size:12px;line-height:1.55}
.mobile-short-drama-card small{color:#417fdf;font-size:10px;font-weight:700}
.mobile-short-drama-card h3{margin:4px 0 6px;color:#082e74;font-size:16px}
.mobile-short-drama-card p{margin:5px 0;overflow-wrap:anywhere}
.mobile-short-drama-card .stage{font-weight:700;color:#1268cf}
.mobile-short-drama-card .error{color:#ad4351}
.mobile-short-drama-card details{margin:8px 0;padding:9px;border:1px solid #dce9fb;border-radius:10px;background:#f7fbff}
.mobile-short-drama-card summary{cursor:pointer;font-weight:700}
.mobile-short-drama-card pre{max-height:260px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
.mobile-short-drama-card .fields,.mobile-short-drama-card .person{display:grid;gap:8px;margin:10px 0}
.mobile-short-drama-card label{display:grid;gap:4px;min-width:0;font-size:11px;font-weight:700}
.mobile-short-drama-card input,.mobile-short-drama-card textarea,.mobile-short-drama-card select,.mobile-short-drama-card details>select{box-sizing:border-box;width:100%;min-height:36px;padding:7px 9px;border:1px solid #cedffc;border-radius:8px;background:#fff;color:#173b76;font:inherit}
.mobile-short-drama-card textarea{min-height:70px;resize:vertical}
.mobile-short-drama-card .person{padding:9px;border:1px solid #dce9fb;border-radius:10px;background:#f7fbff}
.mobile-short-drama-card .actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.mobile-short-drama-card button{min-height:34px;padding:6px 10px;border:1px solid #bed6fb;border-radius:9px;background:#f5f9ff;color:#1252ac;font-size:11px;font-weight:700}
.mobile-short-drama-card button.is-primary{border-color:#1878f4;background:#1878f4;color:#fff}
.mobile-short-drama-card button:disabled{opacity:.55}
.mobile-short-drama-card .history{margin-top:9px;padding-top:8px;border-top:1px solid #dce9fb}
.mobile-short-drama-card video{display:block;width:100%;max-height:280px;margin-top:8px;border-radius:8px;background:#08244d}

/* Both sides of the chat use durable account or IP Studio portraits. */
.assistant-message,.user-row{display:flex;align-items:flex-start;gap:7px;width:100%}
.user-row{flex-direction:row-reverse;justify-content:flex-start}
.chat-avatar,.user-row>.chat-avatar:first-child{width:30px;height:30px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:50%;padding:0;background:#e6f4ff;color:#167aff}
.chat-avatar.is-assistant{background:#e6f4ff}
.chat-avatar img,.assistant-message .chat-avatar img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:50%}
.chat-avatar.is-assistant img{object-fit:cover;object-position:center 12%;transform:scale(1.2)}
.chat-avatar svg{width:19px;height:19px}
.chat-content{min-width:0;max-width:calc(100% - 40px);display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.user-row .chat-content{align-items:flex-end}
.assistant-message .chat-content>span,.user-row .chat-content>span{display:block;width:fit-content;max-width:100%;border-radius:12px 12px 12px 2px;background:#fff;padding:8px 10px;color:#13236d;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.user-row .chat-content>span{border-radius:12px 12px 2px 12px;background:#d2e6ff}
.assistant-message .chat-content>img,.assistant-message .chat-content>video{display:block;width:auto;max-width:min(100%,260px);max-height:260px;object-fit:contain;border-radius:9px}
.chat-intro{flex-direction:row}
.chat-intro .chat-content>span{padding:8px 10px}
.chat-intro strong{display:block;font-size:11px;line-height:1.4}
.chat-intro p{margin:3px 0 0;color:#8293b4;font-size:10px;line-height:1.45}

.composer-card .file-list{gap:6px;padding-bottom:5px}
.composer-card .file-list>.file-chip{display:flex;flex:none;align-items:center;gap:5px;width:auto;max-width:148px;padding:3px 5px 3px 3px;border:1px solid #d8e8ff;border-radius:9px;background:#edf5ff}
.file-chip-preview{display:block;width:30px;height:30px;flex:none;object-fit:cover;border-radius:6px;background:#d9eaff}
.composer-card .file-list .file-chip>span{display:block;min-width:0;max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;background:none;font-size:10px;color:#526c9d}
.composer-card .file-list .file-chip>button{flex:none;padding:0 2px;font-size:14px}
.skill-workbench{width:min(100vw,480px);height:100dvh;max-width:100vw;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:15px;background:#f6fbff;color:#08185e;box-shadow:0 20px 70px #0c286b55}
.skill-workbench::backdrop{background:#071937ad}
.skill-workbench.is-preparing{background:transparent;box-shadow:none}
.skill-workbench.is-preparing::backdrop{background:transparent}
.skill-workbench.is-preparing header{position:absolute;z-index:2;top:50%;left:calc(50% + 91px);width:auto;height:auto;padding:0;transform:translateY(-50%);background:transparent;border:0}
.skill-workbench.is-preparing header strong{display:none}
.skill-workbench.is-preparing header button{width:27px;height:27px;font-size:18px;box-shadow:none}
.skill-workbench.is-preparing p[role="status"]{box-sizing:border-box;position:absolute;top:50%;left:50%;width:250px;max-width:calc(100% - 30px);padding:12px 44px 12px 16px;transform:translate(-50%,-50%);border:1px solid #d7e7ff;border-radius:16px;background:#fff;color:#41649d;box-shadow:0 12px 32px #1958a533;text-align:left}
.skill-workbench.is-preparing iframe{visibility:hidden}
.skill-chip.is-opening::after{content:"";display:inline-block;width:11px;height:11px;margin-left:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-1px;animation:skill-opening-spin .75s linear infinite}
@keyframes skill-opening-spin{to{transform:rotate(360deg)}}
.skill-workbench-shell{display:flex;flex-direction:column;width:100%;height:100%}
.skill-workbench header{height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#fff;border-bottom:1px solid #dce9fa}
.skill-workbench header strong{font-size:15px}
.skill-workbench header button{width:32px;height:32px;border:0;border-radius:50%;background:#edf5ff;color:#284a86;font-size:24px;line-height:1}
.skill-workbench p[role="status"]{margin:0;padding:14px;color:#627ba5;font-size:12px}
.skill-workbench iframe{display:block;flex:1;width:100%;min-height:0;border:0;background:#f6fbff}
.skill-workbench iframe[hidden]{display:none}
.skill-workbench.is-image-design-skill{background:#dcecff}
.skill-workbench.is-image-design-ready .skill-workbench-shell>header{display:none}
.skill-workbench.is-image-design-skill iframe{background:#dcecff}

.jump-latest{position:absolute;right:15px;bottom:13px;z-index:2;width:42px;height:42px;border:1px solid #d2e3fb;border-radius:50%;display:grid;place-items:center;color:#849abd;background:#fff;box-shadow:0 7px 18px #4f80c53d}
.jump-latest[hidden]{display:none}
.jump-latest svg{width:21px;height:21px;stroke-width:2.4}

/* The portrait on My is also the edit control. */
.profile-mascot{position:relative;border:0;padding:0;cursor:pointer;color:#fff}
.profile-mascot.has-custom img{width:100%;height:100%;top:0;object-fit:cover}
.avatar-edit{position:absolute;left:0;right:0;bottom:0;padding:5px 2px 4px;background:linear-gradient(transparent,#153c8ddc);font-size:10px;font-weight:700;text-align:center}
.profile-mascot:disabled{opacity:.6;cursor:wait}
.profile-name-row{justify-content:flex-end}

/* Mobile artwork is composed from text, SVG icons and CSS; only the mascot remains an image. */
.brand{gap:1px;white-space:nowrap;color:#0644c7}.brand-mark{font-family:Georgia,serif;font-size:29px;font-weight:800;font-style:italic;line-height:1;letter-spacing:-8px;width:22px;text-shadow:1px 1px 0 #8bd8ff}.brand-wordmark{font-family:Georgia,"Times New Roman",serif;font-size:17px;font-weight:800;letter-spacing:-1.5px}.brand-wordmark span{font-size:16px;letter-spacing:-1.2px}
.hero-banner{position:relative;isolation:isolate;aspect-ratio:1.96;background:radial-gradient(circle at 75% 56%,#d7e9ff 0 22%,transparent 57%),linear-gradient(114deg,#e7f6ff 0%,#c6e1ff 52%,#e9f5ff 100%)}
.hero-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(142deg,transparent 38%,#fff7 38.5%,transparent 48%),linear-gradient(15deg,#fff7,transparent 47%);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}
.hero-carousel{position:relative;width:100%;aspect-ratio:1.96}.hero-carousel .hero-slide{position:absolute;inset:0;height:100%;aspect-ratio:auto}.hero-carousel .hero-slide[hidden]{display:none}.hero-carousel .hero-slide:before{display:none}.hero-carousel .hero-slide img{display:block;width:100%;height:100%;object-fit:cover}.hero-dots{position:absolute;z-index:3;bottom:8px;left:50%;display:flex;gap:7px;transform:translateX(-50%)}.hero-dots button{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:#ffffffa8;box-shadow:0 1px 4px #16447d80}.hero-dots button[aria-current="true"]{width:18px;background:#fff}
.hero-copy{position:absolute;z-index:2;top:11%;left:5%;width:52%;display:flex;flex-direction:column;align-items:flex-start;color:#051d64}.hero-copy small{font-size:clamp(8px,2.1vw,11px);font-weight:800;letter-spacing:2px;color:#87b4e7}.hero-copy strong{margin-top:5px;font-size:clamp(20px,6.5vw,31px);line-height:1.1;font-weight:900;white-space:nowrap}.hero-copy>span:not(.hero-cta){margin-top:9px;font-size:clamp(9px,2.75vw,12px);line-height:1.45;font-weight:600}.hero-cta{margin-top:10px;min-height:29px;padding:5px 12px;display:flex;align-items:center;gap:3px;border-radius:25px;background:linear-gradient(100deg,#39a7ff,#006bf0);color:#fff;font-size:clamp(10px,2.8vw,13px);font-weight:800;box-shadow:0 5px 12px #2686e85c}.hero-cta svg{width:14px;height:14px}
.hero-art{position:absolute;inset:0;overflow:hidden}.hero-orbit{position:absolute;right:-6%;top:-34%;width:68%;height:145%;border:2px solid #ffffffa8;border-radius:50%;transform:rotate(-24deg);box-shadow:0 0 0 11px #e8f6ff54}.hero-banner .hero-mascot{position:absolute;z-index:1;right:10%;bottom:-11%;width:45%;height:112%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 12px #1873be48)}.hero-float{position:absolute;z-index:2;display:grid;place-items:center;width:12%;aspect-ratio:1;border:3px solid #ffffffcf;border-radius:12px;background:linear-gradient(145deg,#cbe6ff,#4f9dff);color:white;transform:rotate(-15deg);box-shadow:0 6px 14px #277cc242}.hero-float svg{width:63%;height:63%}.hero-float-image{left:43%;top:52%}.hero-float-video{right:4%;top:49%;transform:rotate(14deg)}.hero-spark{position:absolute;z-index:2;color:#fff;font-size:24px;text-shadow:0 1px 7px #2c95f3}.hero-spark-one{right:6%;top:16%}.hero-spark-two{left:61%;top:10%}
.entry-grid{align-items:stretch}.entry-grid .entry-card{position:relative;min-width:0;min-height:102px;padding:13px 9px;display:flex;align-items:flex-start;gap:7px;border:1px solid #ffffffeb}.entry-image{background:linear-gradient(145deg,#d9f2ff,#b8dfff 66%,#eaf8ff)}.entry-video{background:linear-gradient(145deg,#e8e9ff,#c9ceff 65%,#f0efff)}.entry-icon{z-index:1;width:46px;height:46px;flex:none;display:grid;place-items:center;border-radius:14px;background:linear-gradient(140deg,#39bcff,#0874ed);color:white;box-shadow:0 6px 12px #2d88e555}.entry-video .entry-icon{background:linear-gradient(140deg,#8798ff,#5d59ed);box-shadow:0 6px 12px #6b72e455}.entry-icon svg{width:28px;height:28px;stroke-width:2.1}.entry-copy{z-index:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding-top:3px}.entry-copy strong{font-size:clamp(11px,3.2vw,15px);white-space:nowrap}.entry-copy small{font-size:clamp(8px,2.3vw,10px);line-height:1.3;color:#43618e}.entry-arrow{position:absolute;z-index:1;right:8px;bottom:7px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#288aff;color:white;box-shadow:0 3px 8px #2c7dd277}.entry-arrow svg{width:16px;height:16px}.entry-decoration{position:absolute;right:22%;bottom:-16px;color:#ffffffad;font-size:95px;line-height:1;transform:rotate(-18deg)}
.case-strip.is-empty{min-height:0}.case-empty{min-height:32px}
.member-banner{position:relative;min-height:72px;padding:10px;display:flex;align-items:center;gap:8px;border:1px solid #fff;background:linear-gradient(110deg,#d3eaff,#e6f3ff 62%,#c6e4ff)}.member-banner:before{content:"";position:absolute;right:9%;top:-55%;width:120px;height:120px;border-radius:50%;background:#ffffff78}.member-gem{z-index:1;width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#9bbdff,#2678eb);color:white;box-shadow:0 4px 9px #3788e955}.member-gem svg{width:27px;height:27px}.member-copy{z-index:1;min-width:0;display:flex;flex-direction:column;gap:3px}.member-copy strong{font-size:clamp(10px,3vw,14px);white-space:nowrap}.member-copy small{font-size:clamp(7px,2.1vw,10px);color:#6881b2;white-space:nowrap}.member-crown{position:absolute;right:23%;bottom:-20px;color:#f5c77e;font-family:Georgia,serif;font-size:65px;transform:rotate(-14deg);opacity:.85}.member-cta{z-index:1;margin-left:auto;padding:6px 8px;display:flex;align-items:center;gap:2px;flex:none;border-radius:20px;background:linear-gradient(100deg,#ffe8ba,#ffc96e);color:#173975;box-shadow:0 3px 8px #bf8e4452;font-size:clamp(9px,2.5vw,11px);font-weight:800;white-space:nowrap}.member-cta svg{width:13px;height:13px}
.profile-slogan span{font-size:10px;font-weight:800;letter-spacing:1px;color:#4293f0}.recharge-banner{min-height:80px;padding:11px 13px;display:flex;align-items:center;gap:11px;border:1px solid #fff;background:linear-gradient(110deg,#dceeff,#b9dcff 55%,#e8f6ff)}.recharge-icon{width:47px;height:47px;flex:none;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#58b3ff,#1378f2);color:#fff}.recharge-icon svg{width:28px;height:28px}.recharge-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.recharge-copy strong{font-size:16px;color:#0b337d}.recharge-copy small{font-size:10px;line-height:1.35;color:#5e7cac}.recharge-arrow{margin-left:auto;flex:none;color:#1675eb}.recharge-arrow svg{width:21px;height:21px}
@media(max-width:350px){.brand-wordmark{font-size:15px}.brand-wordmark span{font-size:14px}.hero-copy strong{font-size:19px}.hero-copy>span:not(.hero-cta){margin-top:5px}.hero-cta{margin-top:6px;min-height:25px;padding:3px 8px}.hero-banner .hero-mascot{right:6%;width:46%}.hero-float-image{left:48%}.entry-grid .entry-card{min-height:112px;padding:9px 7px;gap:3px;flex-direction:column}.entry-icon{width:32px;height:32px;border-radius:10px}.entry-icon svg{width:20px;height:20px}.entry-copy{padding-top:0}.entry-copy strong{font-size:10px}.entry-copy small{font-size:8px;white-space:nowrap}.member-banner{gap:5px;padding:8px}.member-gem{width:34px;height:34px}.member-gem svg{width:20px;height:20px}.member-copy strong{font-size:9px}.member-copy small{font-size:7px}.member-cta{font-size:8px;padding:5px}.member-crown{display:none}}

/* Mobile Agent conversations use the existing account-scoped Web history. */
.invite-landing{display:grid;gap:8px;padding:14px;border:1px solid #bbdafc;border-radius:14px;background:#edf6ff;color:#153d7d}.invite-landing strong{font-size:16px}.invite-landing span{font-size:12px;line-height:1.5}.invite-landing button,.invite-actions button,.invite-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:0;border-radius:9px;background:#1677ef;color:#fff;font-size:13px;font-weight:700;text-decoration:none}.invite-landing button{justify-self:start}
.invite-card{display:grid;gap:18px}.invite-lead{margin:0;color:#274a81;font-size:14px;line-height:1.65}.invite-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.invite-stats>div{display:grid;gap:5px;padding:11px 6px;border-radius:10px;background:#edf5ff;text-align:center}.invite-stats span{color:#6784aa;font-size:11px}.invite-stats strong{color:#0d4fa8;font-size:18px}.invite-share{display:grid;justify-items:center;gap:10px}.invite-share[hidden]{display:none}.invite-qr{width:min(230px,75vw);height:auto;aspect-ratio:1;background:#fff}.invite-share label{justify-self:start;color:#496895;font-size:12px;font-weight:700}.invite-share input{width:100%;min-height:40px;padding:8px;border:1px solid #c7d9ee;border-radius:8px;background:#fff;color:#174075;font-size:11px}.invite-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}.invite-actions a{background:#e5f0ff;color:#1764c7}.invite-list-title{margin:0;color:#143d78;font-size:15px}.invite-list{display:grid;gap:7px}.invite-list>p{margin:0;color:#7b8ea8;font-size:12px}.invite-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px;border:1px solid #e0eaf8;border-radius:9px;background:#fff}.invite-row strong{font-size:12px;color:#254b83}.invite-row span{font-size:11px;color:#1769cb}.invite-row small{grid-column:1/-1;color:#8296b0;font-size:10px}
.topbar-workbench{z-index:3}
.workbench-header-actions{margin-left:auto;display:flex;align-items:center;gap:5px;min-width:0}
.workbench-header-actions button{flex:none;min-height:29px;padding:4px 6px;border:1px solid #d6e3f8;border-radius:8px;background:#ffffffc9;color:#224b93;font-size:10px;font-weight:700;white-space:nowrap}
.workbench-header-actions button:disabled{opacity:.55}
.mobile-conversation-history{position:absolute;top:calc(100% - 2px);right:12px;width:min(290px,calc(100vw - 24px));max-height:min(360px,55dvh);display:flex;flex-direction:column;overflow:hidden;border:1px solid #d7e6fc;border-radius:13px;background:#fff;box-shadow:0 14px 35px #14428638}
.mobile-conversation-history[hidden]{display:none}
.mobile-conversation-history header{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-bottom:1px solid #e6effc;color:#102b74;font-size:12px}
.mobile-conversation-history header span{color:#8498bc;font-size:10px}
#conversationHistoryList{overflow-y:auto;padding:5px}
#conversationHistoryList p{margin:10px;text-align:center;color:#8295b8;font-size:11px}
.mobile-history-item{width:100%;display:grid;gap:3px;text-align:left;padding:9px;border:0;border-radius:8px;background:transparent;color:#173775}
.mobile-history-item strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-history-item span{font-size:9px;color:#8498bc}
.mobile-history-item:hover,.mobile-history-item.is-active{background:#edf5ff}
.mobile-history-row{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:2px 0}
.mobile-history-row .mobile-history-item{flex:1;min-width:0}
.mobile-history-actions{display:flex;gap:2px}
.mobile-history-actions button,.mobile-history-edit button{min-height:30px;padding:3px 5px;border:0;border-radius:6px;background:#edf5ff;color:#285292;font-size:10px;white-space:nowrap}
.mobile-history-actions [data-history-delete],.mobile-history-edit [data-history-confirm-delete]{color:#b43c4b}
.mobile-history-edit{width:100%;display:flex;align-items:center;gap:4px;padding:4px 6px 7px}
.mobile-history-edit input{width:100%;min-width:0;min-height:30px;padding:4px 6px;border:1px solid #c7dbf7;border-radius:6px;font:inherit;color:#173775}
.mobile-history-edit span{flex:1;font-size:10px;color:#6f7f9d}
@media(max-width:370px){.topbar-workbench{gap:6px;padding-left:10px;padding-right:10px}.topbar-workbench .brand img{width:clamp(50px,18vw,68px)}.topbar-workbench .brand-wordmark span{display:none}.topbar-workbench .header-title{font-size:17px}.workbench-header-actions button{padding:4px 5px;font-size:9px}}

/* Image skills stay inside the mobile workbench; this sheet uses the same palette and spacing. */
.mobile-image-skill{inset:0;width:min(100vw,520px);height:100dvh;max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:0;background:#f4f8ff;color:#10336d}
.mobile-image-skill::backdrop{background:#12345a80}
.mobile-image-skill-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.mobile-image-skill header{display:flex;align-items:flex-start;gap:12px;padding:calc(18px + env(safe-area-inset-top)) 18px 16px;background:linear-gradient(135deg,#e9f4ff,#fff);border-bottom:1px solid #dbeaff}
.mobile-image-skill header>div{flex:1;min-width:0}
.mobile-image-skill header small{font-size:11px;font-weight:800;color:#2477df}
.mobile-image-skill h2{margin:6px 0;color:#0e3171;font-size:24px;line-height:1.2}
.mobile-image-skill header p{margin:6px 0 0;font-size:12px;line-height:1.55;color:#6280ac}
.mobile-image-skill .skill-close{width:36px;height:36px;flex:none;border:1px solid #cde1fc;border-radius:50%;background:#fff;color:#32629c;font-size:24px}
.mobile-image-skill-scroll{flex:1;min-height:0;overflow:auto;padding:16px 14px 24px}
.mobile-image-skill section.skill-source,.mobile-image-skill section.skill-options{margin-bottom:14px;padding:15px;border:1px solid #d8e7fc;border-radius:17px;background:#fff;box-shadow:0 5px 18px #306bb50d}
.mobile-image-skill h3{margin:0 0 12px;font-size:16px;color:#0d3475}
.mobile-image-skill h4{margin:14px 0 7px;font-size:13px;color:#235897}
.mobile-image-skill .skill-roles{display:grid;gap:8px}
.mobile-image-skill .skill-role-group{min-width:0}
.mobile-image-skill .skill-role-picker{min-width:0;margin:8px 0 12px}
.mobile-image-skill .skill-role{display:flex;align-items:center;gap:10px;width:100%;min-height:72px;padding:8px;border:1px solid #d5e6fb;border-radius:12px;background:#f7fbff;text-align:left;color:#17467f}
.mobile-image-skill .skill-role.is-active{border-color:#3086f5;box-shadow:inset 0 0 0 1px #3086f5;background:#ecf5ff}
.mobile-image-skill .skill-role img{width:54px;height:54px;flex:none;border-radius:9px;background:#e4efff;object-fit:cover}
.mobile-image-skill .skill-role span{min-width:0;display:grid;gap:4px}.mobile-image-skill .skill-role strong{font-size:14px}.mobile-image-skill .skill-role small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6888b5;font-size:11px}
.mobile-image-skill .skill-source-actions{display:flex;gap:8px;margin:12px 0}
.mobile-image-skill .skill-source-actions button{min-height:38px;flex:1;border:1px solid #bcd8fb;border-radius:10px;background:#eff6ff;color:#1569d8;font-weight:750}
.mobile-image-skill .skill-source-actions .skill-upload-button{background:#1777ef;border-color:#1777ef;color:#fff}
.mobile-image-skill .skill-search{width:100%;min-height:39px;padding:7px 10px;border:1px solid #d4e5fb;border-radius:10px;background:#fff;color:#17467f;font:inherit}
.mobile-image-skill .skill-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:35dvh;overflow:auto;margin-top:10px}
.mobile-image-skill .skill-assets>p{grid-column:1/-1;color:#7c93b8;font-size:12px}
.mobile-image-skill .skill-asset{min-width:0;padding:5px;border:1px solid #d7e6f9;border-radius:11px;background:#fff;color:#315d96;text-align:left}
.mobile-image-skill .skill-asset.is-selected{border-color:#1678f4;background:#edf6ff;box-shadow:inset 0 0 0 1px #1678f4}
.mobile-image-skill .skill-asset:disabled{opacity:.58;cursor:not-allowed}
.mobile-image-skill .skill-asset img{width:100%;aspect-ratio:1;display:block;border-radius:7px;background:#edf5ff;object-fit:cover}
.mobile-image-skill .skill-asset span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 2px 1px;font-size:10px}
.mobile-image-skill .skill-options>p{font-size:12px;color:#6886b0}
.mobile-image-skill .skill-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mobile-image-skill .skill-checks label{display:flex;align-items:center;gap:7px;padding:11px;border:1px solid #d5e5fa;border-radius:10px;background:#f8fbff;font-size:13px}
.mobile-image-skill .skill-checks input{accent-color:#1677ef}
.mobile-image-skill .skill-count{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;font-size:13px;font-weight:700}
.mobile-image-skill .skill-count input{width:76px;padding:8px;border:1px solid #c9defa;border-radius:9px;font:inherit}
.mobile-image-skill .skill-operations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
.mobile-image-skill .skill-operations section{min-width:0}.mobile-image-skill .skill-operations button{display:block;width:100%;min-height:40px;margin:0 0 7px;padding:7px;border:1px solid #d5e6fb;border-radius:9px;background:#f8fbff;color:#2a548b;text-align:left;font-size:11px}
.mobile-image-skill .skill-operations button.is-selected{border-color:#1677ef;background:#e8f3ff;color:#0d65d8}
.mobile-image-skill footer{display:flex;align-items:center;gap:8px;min-height:70px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dce9fb;background:#fff}
.mobile-image-skill .skill-status{flex:1;margin:0;color:#c04a55;font-size:11px;line-height:1.4}
.mobile-image-skill .skill-submit{min-width:135px;min-height:44px;padding:9px 16px;border:0;border-radius:11px;background:#1477f5;color:#fff;font-size:14px;font-weight:800}
.mobile-image-skill .skill-submit:disabled{opacity:.55}

/* Contact page: the blue-white poster treatment is drawn in CSS; only the mascot and QR are images. */
.contact-page{padding:12px 12px 30px}
.contact-page .back-link{display:inline-flex;align-items:center;min-height:28px;margin:0 0 10px 5px;color:#0866e9;font-size:14px;font-weight:700}
.contact-page .back-link:focus-visible,.contact-qr-viewport:focus-visible{outline:3px solid #126ff1;outline-offset:3px}
.contact-hero{position:relative;isolation:isolate;min-height:700px;overflow:hidden;padding:22px 18px 32px;border:1px solid #e1efff;border-radius:23px;background:radial-gradient(ellipse 72% 36% at 94% 11%,#b9dcff 0%,#dbefff 53%,transparent 87%),radial-gradient(ellipse 80% 48% at 10% 71%,#fff 0%,#edf7ff 76%,transparent 100%),linear-gradient(155deg,#f8fcff 8%,#e6f3ff 63%,#c9e4ff 100%);box-shadow:0 15px 42px #3177d21b}
.contact-hero:before{content:"";position:absolute;z-index:-1;top:-105px;right:-178px;width:460px;height:370px;border:48px solid #ffffff88;border-radius:50%;transform:rotate(-28deg);box-shadow:0 0 0 40px #8fc5ff31}
.contact-logo{position:relative;z-index:2;width:138px;height:auto;filter:drop-shadow(0 4px 8px #5a9de533)}
.contact-eyebrow{position:relative;z-index:2;margin:4px 0 0;color:#6e9bd0;font-size:8px;font-weight:800;letter-spacing:1.8px}
.contact-art{position:absolute;z-index:0;top:24px;right:-17px;width:210px;height:285px;pointer-events:none}
.contact-art img{position:absolute;top:0;right:0;width:100%;height:auto;filter:drop-shadow(0 15px 18px #2b79d43b)}
.contact-star{position:absolute;z-index:2;color:#236ad9;text-shadow:0 0 16px #9dceff;line-height:1}
.contact-star-one{top:10px;right:28px;font-size:32px}.contact-star-two{top:143px;left:4px;font-size:21px}
.contact-hero h1{position:relative;z-index:2;margin:86px 0 5px;color:#08439b;font-size:clamp(35px,9vw,43px);font-weight:900;line-height:1.15;letter-spacing:2px;text-shadow:0 2px 0 #fff,0 9px 17px #337edc24}
.contact-intro{position:relative;z-index:2;max-width:205px;margin:0;color:#274f85;font-size:13px;font-weight:600;line-height:1.6}
.contact-qr-card{position:relative;z-index:2;max-width:336px;margin:28px auto 0;padding:19px 17px 16px;border:1px solid #fff;border-radius:30px;background:#ffffffee;box-shadow:0 0 0 8px #ffffff7d,0 16px 33px #3478c53d;text-align:center}
.contact-qr-card strong{display:block;color:#11396f;font-size:18px;line-height:1.4}
.contact-qr-viewport{position:relative;display:block;width:min(100%,230px);aspect-ratio:1;margin:13px auto 8px;overflow:hidden;background:#fff}
.contact-qr-viewport img{position:absolute;top:-150%;left:-65.957%;width:231.064%;max-width:none;height:auto}
.contact-qr-card p{margin:0;color:#7390b1;font-size:11px;line-height:1.5}
.contact-wave{position:absolute;z-index:1;left:-17%;width:135%;height:135px;pointer-events:none;border-radius:50% 50% 0 0}
.contact-wave-back{bottom:-79px;transform:rotate(-9deg);background:linear-gradient(100deg,#9fd3ff 3%,#ebf7ff 45%,#63a9f8 100%);box-shadow:0 -12px 24px #82bfff55}
.contact-wave-front{bottom:-108px;transform:rotate(8deg);background:linear-gradient(96deg,#cce9ff 0%,#3d93ed 56%,#a9d6ff 100%);box-shadow:0 -9px 22px #ffffffa8}
.contact-signature{position:absolute;z-index:2;right:17px;bottom:12px;color:#628dc7;font-size:8px;font-weight:700;letter-spacing:1.5px}
@media(max-width:370px){.contact-page{padding-left:10px;padding-right:10px}.contact-hero{padding-left:15px;padding-right:15px}.contact-art{right:-22px;width:175px}.contact-hero h1{margin-top:82px}.contact-intro{max-width:180px;font-size:12px}.contact-qr-card{padding-left:12px;padding-right:12px}.contact-qr-viewport{width:min(100%,214px)}}

/* Both mobile agents share the same viewport proportions; settings follow in page flow. */
.workbench-page{height:auto;min-height:0;padding-bottom:14px}
.workbench-page .agent-switcher{flex:none}
.workbench-page .agent-tab{height:35px;min-height:0;padding:3px 7px}
.workbench-page .agent-tab-icon{width:25px;height:25px}
.workbench-page .agent-tab-icon svg{width:17px;height:17px}
.workbench-page .agent-tab small{display:none}
.workbench-page .conversation-card{flex:none;height:57dvh;min-height:0}
.workbench-page .composer-card{display:flex;flex-direction:column;flex:none;height:18dvh;min-height:116px;max-height:170px;margin-top:5px;scroll-margin-bottom:calc(56px + env(safe-area-inset-bottom))}
.workbench-page .composer-card .prompt-box{flex:1;min-height:0;height:auto}
.workbench-options{margin-top:8px;padding:9px 8px 12px;border:1px solid rgba(255,255,255,.85);border-radius:14px;background:rgba(255,255,255,.66);box-shadow:0 8px 30px #3374d211}

/* Public case categories and finished-video examples. */
.studio-case-gallery{display:block!important;min-width:0}
.studio-case-categories{display:flex;gap:8px;overflow-x:auto;padding:0 0 14px}
.studio-case-categories button{flex:none;border:1px solid #d8e3f3;border-radius:18px;padding:7px 15px;background:transparent;color:inherit;cursor:pointer;white-space:nowrap}
.studio-case-categories button[aria-pressed="true"]{background:#2463eb;border-color:#2463eb;color:white}
.studio-case-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1px;align-items:start;column-gap:12px;overflow:visible;padding-bottom:8px}
.studio-case-cards>.studio-home-empty{grid-column:1/-1;grid-row:span 80}
.studio-case-cards .studio-home-case{display:flex;flex-direction:column;position:relative;width:100%;max-width:100%;margin:0 0 12px;break-inside:avoid;border:1px solid #d8e3f3;border-radius:16px;overflow:hidden;background:transparent;scroll-snap-align:start}
.studio-case-media{position:relative;width:100%;aspect-ratio:9/16;overflow:hidden;background:#10141a}
.studio-case-cards .studio-case-media img,.studio-case-cards .studio-case-media video{display:block;width:100%;height:auto;object-fit:contain;background:#10141a}
.studio-case-cards .studio-case-media video{aspect-ratio:9/16}
.studio-case-cards .studio-case-media img{aspect-ratio:auto 9/16;min-width:0;border-radius:0}
.studio-case-cards .studio-case-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;margin:0;border:0;border-radius:0;padding:12px;background:transparent;color:#fff;cursor:pointer}
.studio-case-play svg{width:56px;height:56px;padding:14px;border:1px solid #ffffffb3;border-radius:50%;background:#10213a88;box-shadow:0 4px 18px #0003;filter:drop-shadow(0 1px 2px #0005)}
.studio-case-play:hover svg{background:#10213ab3}
.studio-case-cards .studio-case-play:focus-visible{outline:3px solid #246ce2;outline-offset:-4px}
.studio-case-cards .studio-case-play-label{display:none}
.studio-case-cards .studio-case-play.is-error .studio-case-play-label{display:block;padding:6px 10px;border-radius:8px;background:#10213acc;color:#fff;font-size:12px;white-space:normal;text-align:center}
.studio-case-cards [hidden]{display:none!important}
.studio-case-cards strong{display:block;font-size:15px;padding:12px 14px 6px;overflow-wrap:anywhere}
.studio-case-reuse{margin:5px 12px 10px;border:1px solid #d8e3f3;border-radius:10px;padding:8px;text-align:center;text-decoration:none;background:transparent;color:inherit;cursor:pointer}
.studio-case-reuse{background:#2463eb;color:#fff;border-color:#2463eb}

/* Four phone destinations, with content kept clear of the safe-area navigation. */
.app{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
.bottom-nav{height:calc(64px + env(safe-area-inset-bottom));grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 10px calc(6px + env(safe-area-inset-bottom));align-items:stretch}
.bottom-nav a{align-content:center;gap:4px;font-size:12px;min-width:0}
.bottom-nav svg{width:23px;height:23px}
.bottom-nav:after{display:none}
.entry-grid .entry-card{min-height:72px;padding:12px 9px;flex-direction:row;align-items:center;gap:8px}
.entry-grid .entry-icon{width:36px;height:36px;border-radius:12px}
.entry-grid .entry-icon svg{width:24px;height:24px}
.entry-grid .entry-copy{padding-top:0}
.entry-grid .entry-copy strong{font-size:clamp(12px,3.5vw,15px)}
.entry-grid .entry-arrow,.entry-grid .entry-decoration{display:none}
.studio-case-cards strong{font-size:13px;padding:9px 10px 4px}
.studio-case-reuse{margin:5px 8px 8px;font-size:12px}

/* Works actions wrap on narrow phones and share the application state button. */
.download-work-actions{flex-wrap:wrap;align-items:center;gap:8px}
.download-work-actions button{border:0;background:transparent;color:#126de6;padding:0;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}
.download-work-actions button:disabled{opacity:.6;cursor:default}
.download-work-actions [data-template-application-key]{flex-basis:100%;text-align:left;min-height:28px}

/* Completed chat videos use the same contained preview and metadata as PC. */
.chat-content .run-result{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:center;margin:12px 0;padding:10px;border:1px solid #cfe3fb;border-radius:12px;background:#f7fbff}
.chat-content .run-result video{width:100%;max-height:180px;object-fit:contain;border-radius:9px;background:#10213a}
.chat-content .run-result-meta{min-width:0;color:#143f7d;font-size:13px;overflow-wrap:anywhere}
.chat-content .case-task-progress{display:block;width:100%;height:8px;margin:12px 0;accent-color:#1769ef}
@media(min-width:600px){.chat-content .run-result{grid-template-columns:minmax(160px,250px) minmax(0,1fr)}}

.mobile-replica-slot-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px}.mobile-replica-slot-actions button{white-space:nowrap}
