/* Zhiwei Connect: reference-led light workspace. Existing data widgets stay intact. */
:root{--zw-blue:#3876df;--zw-purple:#7561da;--zw-ink:#344f74;--zw-muted:#7b91af;--zw-line:#dce6f8;--zw-sidebar:274px;color:var(--zw-ink);background:#fbfdff;font-size:15px}
body{background:#fbfdff url('/zhiwei-flow.svg') center top / cover fixed no-repeat;color:var(--zw-ink)}
button,input,textarea,select{font-family:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #5787e4;outline-offset:3px}button svg{width:20px;height:20px;flex-shrink:0}
.zw-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#283f61;flex-shrink:0}.zw-brand img{display:block}.zw-brand strong{display:block;font-size:25px;font-weight:750;letter-spacing:2px;line-height:1.3}.zw-brand small{display:block;font-size:9px;font-weight:600;letter-spacing:2.3px;margin-top:5px;color:#7289a8}
.zw-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:var(--zw-sidebar);display:flex;flex-direction:column;padding:30px 20px 0;border-right:1px solid var(--zw-line);background:linear-gradient(155deg,#f7fdffed,#fffffff7 55%,#f5f3ffed);backdrop-filter:blur(20px);height:100dvh}.zw-sidebar>.zw-brand{padding:0 6px 29px}.zw-sidebar .zw-brand img{width:43px;height:43px}.zw-sidebar .zw-brand strong{font-size:23px}.zw-new{height:49px;min-height:49px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #8b99eb70;border-radius:13px;background:linear-gradient(105deg,#3d79df,#7561da);color:#fff;font-weight:600;box-shadow:0 7px 20px #587ae321;margin-bottom:22px}.zw-new:hover{filter:brightness(1.05)}
.zw-side-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#ccdaf0 transparent;padding:0 2px 16px;margin-right:-7px;padding-right:7px;overscroll-behavior:contain}.zw-main-nav,.zw-tools-nav{display:flex;flex-direction:column;gap:5px}.zw-nav-item{width:100%;display:flex;align-items:center;gap:11px;min-height:49px;padding:7px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#5f7797;text-align:left;font-size:14px;transition:background .15s,color .15s}.zw-nav-item:hover{background:#eaf2ff80;color:#3a66a4}.zw-nav-item.active{background:linear-gradient(110deg,#eaf8ffb3,#eeebffb3);border-color:#d5e1fc;color:#3b64a1;font-weight:650;box-shadow:inset 0 1px #fff}.zw-nav-icon{width:32px;height:32px;flex-shrink:0;border:1px solid #e1eafa;border-radius:10px;background:#ffffffa6;display:grid;place-items:center}.zw-nav-icon svg{width:19px;height:19px}.active>.zw-nav-icon{background:linear-gradient(130deg,#377ae6,#7b62df);color:#fff;border-color:transparent;box-shadow:0 4px 9px #526fdf22}.zw-chevron{font-size:21px;margin-left:auto;color:#8fa5c0;font-weight:400}
.zw-history{margin:25px 0 22px}.zw-section-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7890b0;font-weight:600;padding:0 7px;margin-bottom:12px}.zw-section-label button{border:0;background:transparent;color:#8198b9;display:flex;padding:2px}.zw-section-label svg{width:17px;height:17px}.zw-history-search{display:flex;align-items:center;gap:8px;border:1px solid #dbe5f7;background:#ffffffc9;border-radius:9px;height:37px;margin-bottom:10px;padding:0 10px}.zw-history-search svg{width:17px;height:17px;color:#92a7c4;flex-shrink:0}.zw-history-search input{min-width:0;width:100%;padding:0;background:transparent;border:0;box-shadow:none;font-size:12px;outline:none;color:#466185}.zw-history-search input::placeholder{color:#8a9db7}.zw-history-item{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;text-align:left;padding:10px 7px;border-radius:9px;color:#486488}.zw-history-item:hover{background:#edf3ff}.zw-history-item>span:last-child{min-width:0}.zw-history-glyph{width:30px;height:30px;display:grid;place-items:center;background:#ebf3fe;color:#638bd4;border-radius:8px;flex-shrink:0}.zw-history-glyph svg{width:17px;height:17px}.zw-history-item b{display:block;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zw-history-item small{display:block;font-size:10px;color:#91a0b6;margin-top:4px}.zw-side-empty,.zw-history-error{font-size:11px;line-height:1.9;color:#889bb6;margin:12px 7px}.zw-history-error{color:#98713e}.zw-tools-nav{border-top:1px solid #e3eaf7;padding-top:19px}.zw-side-account{padding:15px 5px 18px;border-top:1px solid #dce5f4;background:#ffffff24;flex-shrink:0}.zw-account-select{display:flex;align-items:center;gap:8px;font-size:10px;color:#8096b3;margin-bottom:13px}.zw-account-select>span{flex-shrink:0}.zw-account-select select{width:100%;min-width:0;font-size:11px;padding:5px;color:#59759b;border:1px solid #dce6f7;border-radius:7px;background:#ffffffa8}.zw-user{display:flex;align-items:center;gap:9px}.zw-avatar{width:33px;height:33px;border:1px solid #d4e2fb;border-radius:11px;display:grid;place-items:center;background:#edf3ff;color:#6484c2;font-size:13px;flex-shrink:0}.zw-username{flex:1;min-width:0;font-size:12px;color:#486487;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zw-username small{font-size:10px;display:block;color:#90a1ba;margin-top:2px;overflow:hidden;text-overflow:ellipsis}.zw-user button{border:0;background:transparent;padding:4px;color:#8298b9}.zw-user button svg{width:17px;height:17px}
.dash-wrap{margin-left:var(--zw-sidebar);max-width:none;width:auto;padding:36px 36px 24px;min-height:100dvh;background:transparent}.dash-footer{border-color:var(--zw-line);color:#8ba0b9;font-size:11px}.zw-page-title{margin-bottom:24px;display:flex;align-items:center;gap:11px}.zw-page-title>span{font-size:11px;letter-spacing:1.5px;color:#8b9eb7}.zw-page-title h1{font-size:27px;letter-spacing:0;font-weight:650;color:#355276}.dash-scope{border:1px solid var(--zw-line);border-radius:13px;background:#ffffffc9;margin-bottom:20px;padding:14px 18px}.dash-scope .dash-finance{flex-wrap:wrap}.dash-board{border-color:var(--zw-line);border-radius:16px;background:#ffffffd9;box-shadow:0 6px 22px #7194ce06}.dash-board-body{background:transparent}.dash-media-tabs{background:#f8fbffab;border-color:var(--zw-line);border-radius:16px 16px 0 0}.dash-metric-grid{background:#dfe8f4}.dash-metric{background:#ffffffed}.dash-metric:hover{background:#f0f6ff}.dash-metric-label{color:#7087a4}.dash-metric-bottom strong{color:#355780}.dash-metric-label,.dash-change{font-size:12px}.dash-metric-bottom strong{font-size:24px}.dash-table-toolbar{background:#f7faff}.dash-refresh,.btn.primary{background:linear-gradient(105deg,#3e7be3,#7564da);border-color:transparent;color:#fff}.btn,.dash-date{border-color:#d7e3f6;color:#5979a5;border-radius:9px}.card{border-color:var(--zw-line);background:#ffffffd9;box-shadow:0 4px 18px #6584ac04;border-radius:16px}.page-intro h2{font-size:26px;color:#38567c}.page-intro p{color:#8096b2}.video-section{border-color:var(--zw-line)}
/* Chat: one component, one treatment for copywriting, media and sales. */
.dash-wrap.copywriter-page,.dash-wrap.ad-assistant-page{margin-left:var(--zw-sidebar);padding:22px 30px 12px;min-height:100dvh}.copywriter-page #page-content,.ad-assistant-page #page-content{height:calc(100dvh - 34px);min-height:540px}.cw-workspace,.aa-analysis-workspace{border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--zw-ink)}.cw-topline{padding:9px 6px 20px;color:#7188ab}.cw-eyebrow{color:#89a0bc}.cw-title{font-weight:600;color:#5b769b}.cw-top-actions .cw-text-button{font-size:12px;color:#6d87ad}.cw-top-actions [data-cw=new],.cw-top-actions [data-cw=history]{display:none}.cw-welcome{padding:0 20px 28px;min-height:290px}.cw-welcome h1{font-size:clamp(27px,2.7vw,43px);font-weight:650;color:#345276;line-height:1.5;letter-spacing:0;margin:10px 0 15px}.cw-welcome h1 em{font-style:normal;color:#6e61ba}.cw-welcome p{font-size:14px;line-height:1.9;color:#7c93b3}.cw-compose-wrap{width:min(1000px,calc(100% - 65px));padding-bottom:7px}.cw-composer{border:1px solid #dce4f1;border-radius:22px;padding:23px 24px 17px;box-shadow:0 7px 26px #8195b908;background:#fff}.cw-composer textarea{min-height:84px;resize:vertical;color:#456184}.cw-composer textarea::placeholder{color:#8a9fbf}.cw-compose-meta{font-size:10px;color:#90a1b9}.cw-feedback{font-size:11px;color:#8095b3}.cw-add,.cw-model-trigger{color:#6482ae}.cw-add{border:1px solid #dce6fa;background:#f7faff;border-radius:10px;font-size:12px}.cw-add svg{color:#6487c5}.cw-icon{color:#6989b8}.cw-send{border-radius:12px;width:40px;height:40px;background:linear-gradient(140deg,#3d7ce8,#7761d9)}.cw-send:disabled{background:#e9eff9;color:#93a9ca}.cw-user{background:linear-gradient(115deg,#e8f3ff,#f0edff);color:#3d597e}.cw-assistant>img{box-shadow:none;border-radius:9px}.cw-messages{max-width:920px}.cw-answer-content{color:#405976}.cw-model-menu{background:#fff}.aa-advisor-account{color:#8ca1bb;font-size:11px;padding-left:6px}.aa-mode-switch button{display:none}.aa-mode-switch button[aria-pressed=true]{display:inline-flex;border:0;padding:0;background:transparent;color:#6481a7;font-size:13px;font-weight:600}.aa-mode-switch span{display:none}.aa-mode-switch{border:0;background:transparent;box-shadow:none}.aa-analysis-scroll{background:transparent}.aa-analysis-heading h1{color:#36577c}.aa-analysis-empty{background:#ffffff9c;border:1px dashed #dce5f4;border-radius:18px}.aa-analysis-report,.aa-analysis-scope{background:#ffffffbd;border-color:#dce6f8}.ms-heading{margin-top:0}.ms-heading h1{color:#355276}.ms-panel,.ms-sidebar{border-color:var(--zw-line);background:#ffffffd9}.ms-sidebar>button.active{background:linear-gradient(110deg,#edf7ff,#f0ecff);color:#5779b0}
/* Orb illustration: crisp orbital geometry and soft translucent light. */
.zw-orb{position:relative;width:235px;height:235px;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#d2f7ff90,transparent 65%),radial-gradient(circle at 75% 75%,#dccbff73,transparent 65%);border-radius:50%;flex-shrink:0}.zw-orb-core{display:grid;place-items:center;position:relative;z-index:2;width:125px;height:125px;border-radius:50%;background:radial-gradient(circle at 30% 22%,#fff 8%,#edf8ff 38%,#dbdefb 65%,#bcb0e5 100%);box-shadow:inset 4px 6px 22px #ffffffbb,10px 15px 24px #b9c1f426;color:#5683c3;font-family:'Segoe UI',sans-serif;font-size:51px;font-weight:400;letter-spacing:-3px}.zw-orbit{position:absolute;left:20px;top:28px;width:195px;height:175px;border:1px solid #acd7ed90;border-radius:50%;transform:rotate(-28deg)}.zw-orbit.o2{transform:rotate(35deg);height:116px;top:60px;border-color:#9abce99c}.zw-orbit.o3{transform:rotate(80deg);height:112px;top:62px}.zw-orbit.o4{transform:rotate(140deg);height:115px;top:61px;border-color:#b6b8e8a8}.zw-orbit.o5{transform:rotate(8deg);width:180px;left:27px;height:195px;top:20px;border-color:#b7d9f285}.zw-orb i,.zw-orb b{position:absolute;width:7px;height:7px;border-radius:50%;background:#63b7c7;left:36px;bottom:49px}.zw-orb b{left:auto;right:52px;top:37px;width:5px;height:5px;background:#a29dd5}
/* AI market: searchable real capabilities, no synthetic usage counters. */
.zw-market{max-width:1480px;margin:0 auto}.zw-market-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:center;padding:14px 4px 32px;border-bottom:1px solid var(--zw-line)}.zw-kicker{display:flex;align-items:center;gap:10px;font-size:11px;color:#4e96ae;font-weight:600}.zw-kicker i{width:6px;height:6px;background:#3fb2c0;border-radius:50%;box-shadow:0 0 0 5px #81dbdf18}.zw-kicker span{border-left:1px solid #d9e6f4;padding-left:15px;margin-left:5px;color:#8097b6}.zw-market h1{font-size:clamp(33px,3.5vw,48px);line-height:1.5;letter-spacing:0;font-weight:650;color:#344e70;margin:21px 0}.zw-market h1 em{font-style:normal;color:#397695}.zw-market-copy>p{font-size:14px;color:#7b91ae;line-height:1.9}.zw-market-search{display:flex;align-items:center;gap:13px;min-height:61px;padding:9px 10px 9px 20px;border:1px solid #ccddf9;border-radius:13px;background:#fff;box-shadow:0 6px 24px #92b3de0a;margin-top:26px}.zw-market-search>svg{width:22px;height:22px;color:#7b9bc9;flex-shrink:0}.zw-market-search input{min-width:0;flex:1;border:0;box-shadow:none;outline:none;font-size:13px;padding:0;color:#5578a5;background:transparent}.zw-market-search input::placeholder{color:#8b9db7}.zw-market-search button{background:linear-gradient(110deg,#3d7ce5,#7463dd);color:white;border:0;border-radius:9px;height:41px;padding:0 22px;font-size:13px}.zw-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:13px;font-size:11px;color:#8a9fbc}.zw-suggestions button{border:1px solid #e0e9fa;background:#f5f8fe;border-radius:5px;padding:4px 11px;color:#6c87b0;font-size:11px}.zw-market-count{display:flex;align-items:center;gap:7px;color:#879cba;font-size:11px;margin-top:22px}.zw-market-count strong{font-size:18px;font-weight:600;color:#5484cb}.zw-market-count span{height:12px;width:1px;background:#cfdaec;margin:0 14px}.zw-market-visual{position:relative;display:flex;flex-direction:column;align-items:center}.zw-market-visual .zw-orb{width:300px;height:300px}.zw-market-visual .zw-orb-core{width:142px;height:142px;font-size:60px}.zw-market-visual .zw-orbit{left:52px;top:62px}.zw-market-visual .o2,.zw-market-visual .o3,.zw-market-visual .o4{top:91px}.zw-market-visual .o5{left:58px;top:51px}.zw-market-visual>p{font-size:11px;letter-spacing:3px;color:#93a3bf;margin-top:30px}.zw-orb-label{position:absolute;font-size:10px;letter-spacing:.5px;background:#ffffffeb;border:1px solid #d4e2fa;color:#7b96bc;padding:12px;border-radius:11px;box-shadow:0 6px 20px #c0cbeb0d;z-index:3}.label1{left:-18px;top:24px}.label2{right:-8px;bottom:95px;display:flex;align-items:center;gap:8px}.label2 svg{width:15px;height:15px}.zw-category-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0 36px}.zw-category-row>button{position:relative;display:grid;grid-template-columns:40px 1fr;column-gap:11px;row-gap:4px;align-items:center;padding:17px 15px;background:#ffffffc9;border:1px solid var(--zw-line);border-radius:13px;text-align:left;color:#607ca4}.zw-category-row>button>span{width:36px;height:38px;display:grid;place-items:center;background:#eff5ff;color:#7194ce;border:1px solid #dce7fa;border-radius:10px;grid-row:1/3}.zw-category-row b{font-size:13px;font-weight:600;white-space:nowrap}.zw-category-row small{font-size:10px;color:#8ba1bd}.zw-category-row i{position:absolute;right:12px;top:25px;font-style:normal;color:#96acd0}.zw-category-row>button.active{border-color:#b9d2fa;background:linear-gradient(125deg,#eefaff,#f0edff);box-shadow:0 5px 16px #789ce70b}.zw-market-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}.zw-market-heading h2{font-size:20px;color:#426286}.zw-market-heading>span{font-size:11px;color:#9aaac0}.zw-agent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.zw-agent-card{position:relative;text-align:left;padding:25px;border:1px solid var(--zw-line);border-radius:17px;background:linear-gradient(130deg,#ffffffec,#f6f9ffcd);transition:transform .15s,box-shadow .15s}.zw-agent-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #829bcb16;border-color:#bfcef0}.zw-agent-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#ebf4ff;border:1px solid #dce8fc;color:#658fc6;margin-bottom:19px}.zw-agent-icon.pen{background:#f0ebff;color:#9479ca;border-color:#e3d9fb}.zw-agent-icon.chat{background:#eaf7f4;color:#5aab9b;border-color:#d8eee8}.zw-agent-category{position:absolute;right:24px;top:31px;font-size:10px;color:#94a7c1}.zw-agent-card h3{font-size:18px;letter-spacing:.2px;color:#476586;font-weight:600;margin-bottom:9px}.zw-agent-card p{color:#8398b2;font-size:12px;line-height:1.9;max-width:340px}.zw-agent-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e5ebf7;margin-top:23px;padding-top:16px;color:#7292c2;font-size:12px}.zw-agent-footer svg{width:18px;height:18px}.zw-market-empty{grid-column:1/-1;text-align:center;padding:60px 20px;color:#7b92b2;border:1px dashed #d6e4f8;border-radius:16px}.zw-market-empty p{font-size:13px;margin-top:10px}.zw-market-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:28px;padding:21px 2px;color:#8fa2bd;font-size:11px}.zw-market-bottom span,.zw-market-bottom button{display:flex;align-items:center;gap:10px}.zw-market-bottom button{border:0;background:transparent;color:#6d8dbd;font-size:11px}.zw-market-bottom svg{width:17px;height:17px}
/* Split authentication page. */
.auth{display:grid;grid-template-columns:51% 49%;width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;gap:0;background:#fff;align-items:stretch}.auth-story{display:flex;flex-direction:column;justify-content:flex-start;min-height:100dvh;padding:54px clamp(38px,5vw,92px) 35px;border-right:1px solid #e0e7ef;background:radial-gradient(ellipse at 18% 34%,#fff 15%,transparent 58%),repeating-linear-gradient(138deg,#f6f7f8 0,#fafafa 70px,#f3f4f6 200px,#fff 330px);color:#293b54;border-radius:0;position:relative;overflow:hidden}.auth-story .zw-brand{align-self:flex-start}.auth-story .zw-brand img{width:57px;height:57px}.auth-story .zw-brand strong{font-size:32px;letter-spacing:4px}.auth-story .zw-brand small{letter-spacing:4px;font-size:11px}.auth-slogan{font-size:12px;letter-spacing:5px;margin-top:16px;margin-left:70px;color:#7a8ca4}.auth-story-content{margin-top:auto;padding-top:80px;padding-bottom:50px;margin-bottom:auto}.auth-eyebrow{font-size:11px;letter-spacing:2px;color:#6d87ab;font-weight:500}.auth-story h1{font-size:clamp(36px,4.3vw,68px);font-weight:600;letter-spacing:5px;line-height:1.65;margin:29px 0 30px;color:#1e2d44}.auth-story h1 em{color:#164ea2;font-style:normal}.auth-divider{display:flex;gap:13px;align-items:center;color:#a28c72;margin:28px 0 32px;font-size:13px;letter-spacing:3px}.auth-divider:before{content:'';width:66px;height:1px;background:#a58d6c}.auth-story-content>p{color:#7a8ea9;font-size:14px;line-height:2.1;max-width:440px}.auth-signature{display:flex;align-items:center;gap:20px;font-size:12px;letter-spacing:2px;color:#a28c71;margin-top:40px}.auth-signature b{font-size:17px;font-weight:500}.auth-story>footer{font-size:10px;letter-spacing:2px;color:#7b91ad;margin:0;position:static}.auth>.card{display:flex;flex-direction:column;justify-content:center;max-width:460px;width:calc(100% - 90px);margin:50px auto;border:0;background:#fff;border-radius:0;padding:0;box-shadow:none}.auth .eyebrow{font-size:10px;color:#ad8a61;letter-spacing:1.5px;margin-bottom:15px}.auth h2{font-size:27px;letter-spacing:.1px;font-weight:650;color:#172c49;margin:0 0 16px}.auth .card>.muted{font-size:12px;line-height:1.9;color:#8092a9}.auth form{margin-top:30px}.auth .field{margin-bottom:19px;gap:9px}.auth .field>span{font-size:12px;font-weight:600;color:#314663}.auth input:not([type=checkbox]){height:49px;padding:11px 15px;border:1px solid #dbe3ee;border-radius:9px;background:#fff;color:#405674;font-size:13px}.auth input::placeholder{color:#96a5ba}.auth form .primary{width:100%;min-height:49px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#0c47a1;font-size:14px;font-weight:600}.auth .actions{justify-content:center;gap:15px;flex-wrap:wrap;margin:20px 0 21px}.auth .actions button{background:transparent;border:0;padding:0;font-size:12px;color:#5579a9}.auth .actions button:first-child{color:#164e9f;font-weight:600;text-decoration:underline;text-underline-offset:4px}.auth .card>footer{margin-top:21px;border-top:1px solid #e1e7ef;padding-top:20px;text-align:center}.auth .card>footer a{font-size:11px;color:#8295af;text-decoration:none}.auth-password{position:relative}.auth-password .field input{padding-right:60px}.auth-password>button{position:absolute;right:14px;top:41px;background:transparent;border:0;color:#8193ab;font-size:11px;padding:0}.auth .check{font-size:11px;color:#8092a9}.auth .form-error{font-size:12px}.auth .auth-local-note{font-size:10px;color:#a2afbf;text-align:center;margin-top:12px}.zw-mobile-toggle,.zw-sidebar-scrim{display:none}
@media(min-width:1700px){:root{--zw-sidebar:300px}.zw-sidebar{padding:35px 24px 0}.zw-nav-item{min-height:55px;font-size:15px}.zw-new{height:53px;min-height:53px}.dash-wrap{padding:44px 48px}.zw-history-item b{font-size:13px}.zw-market-hero{grid-template-columns:minmax(0,1fr) 360px;gap:70px}.zw-market h1{font-size:51px}.zw-market-copy>p{font-size:15px}.zw-market-visual .zw-orb{transform:scale(1.15)}.zw-market-search{margin-top:32px}.zw-market-hero{padding-bottom:34px}.zw-orb{width:280px;height:280px}.cw-welcome .zw-orbit{left:44px;top:53px}.cw-welcome .o2,.cw-welcome .o3,.cw-welcome .o4{top:86px}.cw-welcome .o5{top:41px;left:49px}.cw-welcome .zw-orb-core{width:144px;height:144px;font-size:61px}.cw-welcome h1{margin-top:20px}.auth>.card{max-width:510px}}
@media(max-width:1150px){:root{--zw-sidebar:242px}.zw-sidebar{padding:22px 15px 0}.zw-brand strong{font-size:21px}.zw-sidebar .zw-brand strong{font-size:21px}.zw-brand small{letter-spacing:1.7px}.dash-wrap{padding:28px 23px}.zw-market-hero{grid-template-columns:minmax(0,1fr) 210px;gap:15px}.zw-market-visual{transform:scale(.82)}.zw-market h1{font-size:35px}.zw-category-row{gap:9px}.zw-category-row>button{grid-template-columns:1fr;padding:13px;row-gap:8px}.zw-category-row>button>span{grid-row:auto}.zw-category-row i{right:13px;top:18px}.zw-category-row b{font-size:12px}.zw-market-visual>p{white-space:nowrap}.cw-compose-wrap{width:calc(100% - 24px)}.cw-welcome h1{font-size:30px}.zw-orb{width:205px;height:205px;transform:scale(.9)}.zw-orbit{left:5px;top:12px}.zw-orbit.o2,.zw-orbit.o3,.zw-orbit.o4{top:43px}.zw-orbit.o5{left:12px;top:3px}.zw-market-bottom{align-items:flex-start}.zw-market-bottom span{max-width:60%}.auth-story{padding-left:38px;padding-right:30px}.auth-story h1{font-size:43px;letter-spacing:2px}.auth>.card{width:calc(100% - 64px)}.auth h2{font-size:23px}.auth-story-content{padding-top:60px}.auth-signature{gap:14px}}
@media(max-width:820px){.zw-sidebar{transform:translateX(-100%);transition:transform .2s;width:270px}.zw-sidebar-open .zw-sidebar{transform:translateX(0)}.zw-sidebar-open .zw-sidebar-scrim{display:block;position:fixed;inset:0;background:#24395140;backdrop-filter:blur(3px);border:0;z-index:29}.zw-mobile-toggle{display:flex;align-items:center;justify-content:center;position:fixed;top:13px;left:14px;width:36px;height:36px;border:1px solid #d4e3f9;border-radius:10px;background:#ffffffed;color:#6f8eb8;z-index:25}.dash-wrap,.dash-wrap.copywriter-page,.dash-wrap.ad-assistant-page{margin-left:0;padding:64px 20px 20px}.copywriter-page #page-content,.ad-assistant-page #page-content{height:calc(100dvh - 84px);min-height:540px}.cw-topline{padding:4px 4px 18px}.cw-welcome{min-height:270px;padding-bottom:25px}.cw-welcome h1{font-size:28px}.zw-market-hero{padding-top:5px}.zw-page-title{margin-bottom:18px}.zw-page-title h1{font-size:25px}.auth{grid-template-columns:45% 55%}.auth-story{padding:36px 25px}.auth-story .zw-brand img{width:42px;height:42px}.auth-story .zw-brand strong{font-size:23px;letter-spacing:2px}.auth-story .zw-brand small{font-size:8px;letter-spacing:1.6px}.auth-slogan{margin-left:0;font-size:11px;letter-spacing:3px}.auth-story h1{font-size:34px}.auth-story-content>p{font-size:12px}.auth-signature{display:block}.auth-signature b{display:block;margin-bottom:10px}}
@media(max-width:600px){body{background-size:auto 100dvh}.auth{display:block;min-height:100dvh}.auth-story{min-height:0;padding:30px 25px 24px;border-right:0;border-bottom:1px solid #e5ebf3;background:linear-gradient(125deg,#f3faff,#f8f6ff)}.auth-story .zw-brand img{width:42px;height:42px}.auth-story .zw-brand strong{font-size:23px}.auth-slogan{margin-top:10px;font-size:10px;letter-spacing:3px}.auth-story-content{padding:0;margin:0}.auth-eyebrow,.auth-divider,.auth-story-content>p,.auth-signature,.auth-story>footer{display:none}.auth-story h1{font-size:27px;line-height:1.55;margin:22px 0 0;letter-spacing:1px}.auth-story h1 br{display:none}.auth>.card{width:calc(100% - 50px);max-width:460px;margin:35px auto;padding-bottom:25px}.auth h2{font-size:23px}.auth form{margin-top:24px}.auth .field{margin-bottom:17px}.auth .actions{gap:14px}.dash-wrap,.dash-wrap.copywriter-page,.dash-wrap.ad-assistant-page{padding:60px 14px 16px}.copywriter-page #page-content,.ad-assistant-page #page-content{height:calc(100dvh - 76px);min-height:500px}.cw-welcome h1{font-size:26px;margin:0 0 11px}.cw-welcome h1 em{display:block}.cw-welcome p{font-size:12px}.cw-welcome .zw-orb{width:190px;height:190px;transform:scale(.8);margin-top:-15px;margin-bottom:-8px}.cw-welcome .zw-orbit{left:-2px;top:10px}.cw-welcome .o2,.cw-welcome .o3,.cw-welcome .o4{top:40px}.cw-welcome .o5{left:5px;top:0}.cw-compose-wrap{width:100%;padding-bottom:0}.cw-composer{padding:17px 13px 13px;border-radius:18px}.cw-composer textarea{min-height:74px;font-size:13px}.cw-compose-meta{font-size:9px;margin-top:8px}.cw-compose-meta span:last-child{display:none}.cw-right-tools{gap:5px}.cw-model-trigger>span{max-width:128px}.cw-add{padding:7px}.cw-send{width:34px;height:34px}.cw-feedback{font-size:10px}.cw-messages{width:100%}.cw-topline{padding-bottom:10px}.cw-eyebrow{display:inline;font-size:11px}.cw-title{font-size:12px}.zw-market-hero{display:block;padding:0 2px 24px}.zw-market-visual{display:none}.zw-market h1{font-size:35px;margin:18px 0}.zw-market-copy>p{font-size:12px}.zw-kicker{font-size:10px}.zw-market-search{margin-top:23px;min-height:55px;padding-left:12px;gap:8px}.zw-market-search input{font-size:11px}.zw-market-search button{font-size:12px;padding:0 16px;height:36px}.zw-market-search>svg{width:18px;height:18px}.zw-category-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 28px}.zw-category-row>button{grid-template-columns:35px 1fr;gap:4px 10px;padding:13px 11px}.zw-category-row>button>span{grid-row:1/3;width:33px;height:35px}.zw-category-row b{font-size:12px}.zw-category-row small{font-size:9px}.zw-category-row i{display:none}.zw-market-heading h2{font-size:18px}.zw-agent-grid{grid-template-columns:1fr;gap:13px}.zw-agent-card{padding:21px}.zw-agent-icon{margin-bottom:14px}.zw-agent-card h3{font-size:17px}.zw-agent-card p{font-size:12px;max-width:none}.zw-agent-footer{margin-top:17px;padding-top:13px}.zw-market-bottom{flex-direction:column;align-items:flex-start;gap:18px}.zw-market-bottom span{max-width:none;font-size:10px}.dash-scope{padding:12px;margin-bottom:14px}.dash-scope .dash-date-actions{flex-wrap:wrap}.dash-metric-bottom strong{font-size:21px}.dash-metric-label{font-size:11px}.zw-page-title>span{display:none}.dash-footer{font-size:10px}.ms-page{padding:0}.aa-analysis-workspace{min-height:100%}.aa-analysis-heading h1{font-size:23px}.zw-sidebar .zw-brand small{font-size:9px}.zw-mobile-break{display:block}}
#sales-root{height:100%}
.dash-metric-grid{background:transparent;gap:14px}
.dash-metric{border:1px solid #e2eaf8;box-shadow:0 3px 12px #5879aa03;background:linear-gradient(125deg,#ffffff,#fafcff)}
.dash-refresh{border-radius:9px;padding:9px 16px;font-size:12px;min-height:38px}
.dash-media-tabs>button{font-size:16px;font-weight:550;color:#7790b1}
.dash-media-tabs>button.active{color:#385f94}
.zw-nav-item{font-size:15px}
.zw-market-copy>p{font-size:15px}
@media(max-width:820px){.zw-sidebar{visibility:hidden}.zw-sidebar-open .zw-sidebar{visibility:visible}}
@media(max-width:600px){.auth-story h1 em{display:block}.auth-story h1{font-size:28px}.dash-metric-grid{gap:9px}.dash-media-tabs>button{font-size:14px}.zw-market-copy>p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Live orbital light: independent travel, rotation and a slow breathing core. */
.zw-orb-live{isolation:isolate;background:none;overflow:visible;transform:none}
.zw-orb-halo{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 28% 32%,#a7efff5c,transparent 65%),radial-gradient(circle at 70% 74%,#c6aaff55,transparent 66%);animation:zw-halo-breathe 5.5s ease-in-out infinite;will-change:transform,opacity}
.zw-orb-field{position:absolute;inset:0;animation:zw-field-turn 26s linear infinite;will-change:transform;z-index:1}
.zw-light-orbit{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;transform:rotate(var(--angle));color:#77bfe5;--period:7s}
.orbit-0{--angle:-35deg;--period:7.2s}.orbit-1{--angle:30deg;--period:8.5s;color:#94a8e8}.orbit-2{--angle:88deg;--period:10s}.orbit-3{--angle:142deg;--period:9s;color:#ac99df}.orbit-4{--angle:8deg;--period:12s;color:#8dcfe8}
.zw-orbit-track{stroke:currentColor;stroke-width:.8;opacity:.4}
.zw-orbit-light{stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-dasharray:12 88;animation:zw-light-travel var(--period) linear infinite;filter:drop-shadow(0 0 3px currentColor);opacity:.78}
.zw-orbit-particle{stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-dasharray:.02 99.98;animation:zw-light-travel var(--period) linear infinite;filter:drop-shadow(0 0 4px currentColor)}
.orbit-1 .zw-orbit-light,.orbit-1 .zw-orbit-particle{animation-delay:-2.7s}.orbit-2 .zw-orbit-light,.orbit-2 .zw-orbit-particle{animation-direction:reverse;animation-delay:-5s}.orbit-3 .zw-orbit-light,.orbit-3 .zw-orbit-particle{animation-delay:-4.2s}.orbit-4 .zw-orbit-light,.orbit-4 .zw-orbit-particle{animation-direction:reverse;animation-delay:-6s}
.zw-orb-live .zw-orb-core{width:54%;height:54%;font-size:clamp(46px,4vw,61px);font-weight:400;box-shadow:inset 6px 8px 22px #fff9,8px 16px 32px #a7c0f334;animation:zw-core-breathe 5.5s ease-in-out infinite;will-change:transform}
.zw-orb-sheen{position:absolute;inset:23%;border-radius:50%;z-index:3;pointer-events:none;background:radial-gradient(ellipse at 25% 20%,#ffffff8a,transparent 65%);animation:zw-sheen 11s ease-in-out infinite}
@keyframes zw-light-travel{to{stroke-dashoffset:-100}}
@keyframes zw-field-turn{to{transform:rotate(360deg)}}
@keyframes zw-core-breathe{0%,100%{transform:scale(.97)}50%{transform:scale(1.035)}}
@keyframes zw-halo-breathe{0%,100%{transform:scale(.96);opacity:.65}50%{transform:scale(1.08);opacity:1}}
@keyframes zw-sheen{0%,100%{transform:rotate(-20deg);opacity:.3}50%{transform:rotate(80deg);opacity:.8}}
/* Shared workspace header and a searchable, scalable account picker. */
.zw-workspace-header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:58px;margin:0 0 20px}
.zw-workspace-location>span{font-size:9px;letter-spacing:2.1px;color:#8ca2bd}.zw-workspace-location h1{font-size:19px;font-weight:650;line-height:1.45;color:#4a678d;margin:4px 0 0}
.zw-account-picker{position:relative;max-width:100%;width:320px;flex-shrink:0}
.zw-account-picker summary{list-style:none;display:flex;align-items:center;gap:10px;border:1px solid #d6e3f8;border-radius:14px;padding:10px 13px;background:linear-gradient(115deg,#ffffffea,#f4f3ffda);box-shadow:0 4px 16px #7088c408;cursor:pointer;min-width:0}
.zw-account-picker summary::-webkit-details-marker{display:none}.zw-account-picker summary:focus-visible{outline:2px solid #6a8de2;outline-offset:3px}.zw-account-picker[open] summary{border-color:#aabff3;box-shadow:0 5px 20px #869de016}
.zw-account-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf2ff;color:#6c85d2;flex-shrink:0}.zw-account-symbol svg{width:18px;height:18px}.zw-current-account{flex:1;min-width:0}.zw-current-account small{display:block;font-size:9px;color:#879dbb;letter-spacing:.5px}.zw-current-account strong{display:block;margin-top:3px;font-size:13px;font-weight:600;color:#47638a;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.zw-switch-label{font-size:11px;color:#6e82b9;flex-shrink:0}.zw-picker-chevron{color:#94a5c8;margin-left:1px}
.zw-account-popover{position:absolute;right:0;top:calc(100% + 10px);width:400px;max-width:calc(100vw - 28px);padding:18px;border:1px solid #d6e2f7;border-radius:18px;background:#fffffffa;backdrop-filter:blur(24px);box-shadow:0 20px 60px #334d7a24;z-index:40}
.zw-account-popover-head{display:flex;justify-content:space-between;align-items:center;margin:1px 2px 15px}.zw-account-popover-head strong{font-size:14px;font-weight:600}.zw-account-popover-head>span{font-size:11px;color:#8d9fbb}
.zw-account-search{display:flex;align-items:center;gap:9px;background:#f6f9ff;border:1px solid #dce7f8;border-radius:10px;padding:10px 12px}.zw-account-search svg{width:18px;height:18px;color:#8ca4c8;flex-shrink:0}.zw-account-search input{width:100%;min-width:0;border:0;outline:none;box-shadow:none;background:transparent;font-size:12px;padding:0;color:#4c688e}
.zw-account-options{max-height:min(360px,55dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:10px -4px;padding:0 4px}.zw-account-options button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 10px;background:transparent;border:1px solid transparent;border-radius:11px;text-align:left;color:#587394;margin:3px 0}.zw-account-options button[hidden]{display:none}.zw-account-options button:hover{background:#f6f9ff}.zw-account-options button[aria-pressed=true]{background:linear-gradient(110deg,#eef8ff,#f3efff);border-color:#dde5ff}.zw-account-monogram{display:grid;place-items:center;width:36px;height:36px;background:#edf3ff;border-radius:11px;font-size:14px;color:#6d8dc6;flex-shrink:0}.zw-account-options button>span:nth-child(2){min-width:0;flex:1}.zw-account-options b{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.zw-account-options small{display:block;font-size:10px;color:#94a5bd;margin-top:5px}.zw-account-options i{font-style:normal;font-size:16px;color:#6e76ce}.zw-account-no-result{font-size:12px;text-align:center;color:#93a4bc;padding:20px 0}.zw-account-no-result[hidden]{display:none}.zw-account-manage{display:flex;align-items:center;gap:8px;width:100%;padding:13px 6px 0;border:0;border-top:1px solid #e4ebf7;background:transparent;color:#7d91b3;font-size:11px}.zw-account-manage svg{width:16px;height:16px}.zw-account-manage svg:last-child{margin-left:auto}
.copywriter-page #page-content,.ad-assistant-page #page-content{height:calc(100dvh - 116px);min-height:510px}.cw-topline,.aa-analysis-workspace .cw-topline{display:none}.zw-chat-context{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;padding:0 5px 6px;color:#8ca0b9;font-size:11px}.zw-chat-context>span+span{font-size:10px}.zw-chat-context .zw-analysis-linked{color:#54a499}.zw-legacy-notice{padding:12px 16px;margin:10px 0;background:#f4f6fe;border:1px solid #e2e7f8;border-radius:10px;font-size:12px;color:#7b89a3;line-height:1.8}
/* Original artwork is shared by cards, the picker, details and team members. */
.mk-avatar.mk-original-avatar{padding:3px;border:1px solid #dfe8fa;border-radius:19px;background:#fff;box-shadow:0 4px 15px #6a90ca09;overflow:hidden}.mk-original-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:15px}.mk-original-avatar>span{width:100%;height:100%;display:grid;place-items:center;border-radius:15px;background:#ebf3ff;color:#3e70b8;font-size:17px;font-weight:700;letter-spacing:.5px}
/* Analysis uses the same welcoming canvas, then a focused report surface. */
.aa-analysis-scroll{padding:5px 12px 28px}.aa-analysis-workspace.is-welcome .aa-analysis-scroll{display:flex;flex-direction:column}.aa-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 20px 28px;min-height:320px;text-align:center}.aa-welcome h1{font-size:clamp(26px,2.65vw,42px)}.aa-welcome .zw-orb{width:230px;height:230px}
.aa-launch-panel{width:min(100%,1000px);margin:0 auto 8px;padding:22px 28px 19px;border:1px solid #dce5f7;border-radius:22px;background:linear-gradient(115deg,#ffffffed,#f9faffdf);box-shadow:0 8px 30px #8b9fc90a}.aa-analysis-scope{background:transparent;margin:0;padding:0;gap:9px 18px;align-items:center;font-size:11px;color:#879bb7}.aa-analysis-scope>span{display:flex;align-items:center;gap:7px}.aa-analysis-scope svg{width:15px;height:15px;color:#8da8ce}.aa-analysis-scope strong{color:#617fa3;font-weight:500}.aa-launch-main{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0}.aa-launch-main h2{margin:0 0 7px;font-size:18px;font-weight:600;color:#426184}.aa-launch-main p{margin:0;color:#8a9eb8;font-size:12px;line-height:1.8}.aa-analysis-start{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;min-width:176px;font-size:13px;margin:0;box-shadow:0 5px 18px #607ce31a}.aa-analysis-start svg{width:17px;height:17px}.aa-analysis-start:disabled{opacity:.5}.aa-launch-footer{display:flex;align-items:center;flex-wrap:wrap;gap:18px;border-top:1px solid #e5ebf6;padding-top:15px;color:#8aa0bc;font-size:11px}.aa-launch-footer>span{display:flex;align-items:center;gap:6px}.aa-launch-footer svg{width:14px;height:14px}.aa-launch-footer small{font-size:10px;margin-left:auto;color:#9baac1}.aa-eyebrow{color:#91a4c1;letter-spacing:2px;font-size:10px}.aa-analysis-heading{max-width:1080px;margin:25px auto}.aa-analysis-heading h1{margin:8px 0 0;font-size:28px;color:#426284}.has-report .aa-analysis-scope{max-width:1080px;margin:0 auto 22px;padding:14px 18px;background:#fff9;border:1px solid #e0e8f8;border-radius:12px}.aa-analysis-report{max-width:1080px;border:1px solid #dce6f8;border-radius:20px;padding:28px 34px;margin:0 auto 18px;background:#fffffff0;box-shadow:0 8px 35px #8197bf0a}.aa-analysis-report-head h2{display:flex;align-items:center;gap:8px;font-size:17px;color:#4e6f99}.aa-analysis-report-head h2 svg{width:21px;height:21px;color:#7c80d3}.aa-continue{max-width:1080px;margin:0 auto 22px;padding:22px 26px;background:linear-gradient(120deg,#eef9ffb3,#f0edffba);border:1px solid #d8e5fa;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.aa-continue strong{font-size:16px;font-weight:600;color:#567397}.aa-continue p{margin:7px 0 0;font-size:11px;color:#8aa0bb;line-height:1.8}.aa-continue button{display:flex;align-items:center;gap:8px;padding:13px 17px;white-space:nowrap;font-size:12px}.aa-analysis-progress,.aa-analysis-error,.aa-analysis-warning,.aa-analysis-model-note,.aa-source-details{width:min(100%,1080px);margin-left:auto;margin-right:auto}.aa-source-details{margin-top:4px}.aa-analysis-workspace.is-welcome .aa-analysis-progress{font-size:11px;padding:5px;text-align:center;justify-content:center}
@media(min-width:1700px){.aa-welcome .zw-orb{width:280px;height:280px}}
@media(max-width:820px){.dash-wrap,.dash-wrap.copywriter-page,.dash-wrap.ad-assistant-page{padding:12px 20px 16px}.zw-workspace-header{margin-bottom:16px;min-height:52px;justify-content:flex-end;padding-left:42px}.zw-workspace-location{display:none}.zw-account-picker{width:300px}.copywriter-page #page-content,.ad-assistant-page #page-content{height:calc(100dvh - 96px);min-height:520px}.zw-account-picker summary{padding:8px 10px;border-radius:12px}.zw-chat-context{font-size:10px}.aa-analysis-scroll{padding:0 0 18px}.aa-welcome h1{font-size:28px}.aa-launch-panel{padding:19px}.aa-launch-main{gap:15px}.aa-launch-footer small{margin-left:0;width:100%}}
@media(max-width:600px){.dash-wrap,.dash-wrap.copywriter-page,.dash-wrap.ad-assistant-page{padding:10px 14px 12px}.zw-workspace-header{gap:0;padding-left:46px;margin-bottom:14px}.zw-account-picker{width:100%}.zw-current-account strong{font-size:12px}.zw-switch-label{font-size:10px}.zw-account-symbol{width:27px;height:30px}.zw-account-popover{padding:15px}.copywriter-page #page-content,.ad-assistant-page #page-content{height:calc(100dvh - 88px);min-height:520px}.zw-chat-context{gap:4px 10px;padding-left:2px}.aa-welcome{padding:0 2px 23px;min-height:300px}.aa-welcome h1{font-size:26px}.aa-welcome .zw-orb{width:205px;height:205px;transform:none;margin:0}.aa-launch-main{display:block;margin:17px 0}.aa-launch-main h2{font-size:16px}.aa-launch-main p{font-size:11px}.aa-launch-main .aa-analysis-start{width:100%;margin-top:17px;min-height:45px}.aa-analysis-scope{gap:5px 12px;font-size:10px}.aa-launch-footer{gap:13px}.aa-analysis-heading{margin:20px 0}.aa-analysis-heading h1{font-size:24px}.aa-analysis-heading .aa-analysis-start{width:auto;margin-top:16px;min-width:145px}.aa-analysis-report{padding:20px 18px;border-radius:16px}.aa-analysis-report-head{gap:8px}.aa-continue{padding:20px;display:block}.aa-continue button{margin-top:15px;width:100%;justify-content:center}.mk-original-avatar>span{font-size:16px}}
@media(prefers-reduced-motion:reduce){.zw-orb-live *{animation:none!important;will-change:auto!important}}


.mk-chat-team>span{display:inline-flex;align-items:center;gap:7px}.mk-chat-team img{width:22px;height:22px;border-radius:7px;object-fit:cover}.aa-analysis-start.btn.primary{background:linear-gradient(105deg,#3e7be3,#7564da);color:#fff}.aa-analysis-start.btn.primary:disabled{background:linear-gradient(105deg,#8caae1,#a297d8)}

.aa-analysis-start.btn.primary{transition:none}

/* Persistent digital studio: reuse the existing card, field and button system. */
#digital-studio-root .card,#account-monitor-root .card,#digital-library-root .card{overflow-wrap:anywhere}
#digital-studio-root img,#digital-library-root img{display:block;width:auto;max-width:min(100%,360px);max-height:400px;object-fit:contain;margin:12px 0}
#digital-studio-root video{display:block;max-width:100%;max-height:540px;margin:12px 0}
#digital-studio-root audio,#digital-library-root audio{max-width:100%;margin:12px 0}
#digital-studio-root p,#account-monitor-root p{margin:10px 0}
#digital-studio-root .actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#digital-studio-root details,#account-monitor-root details{padding:12px 0;border-top:1px solid var(--line,#e5e7eb)}
.studio-cue{display:grid;grid-template-columns:85px 85px minmax(140px,1fr);gap:6px;margin:8px 0}.studio-cue input{width:100%;min-width:0}
#account-monitor-root pre{white-space:pre-wrap;font-size:12px}
@media(max-width:600px){.studio-cue{grid-template-columns:65px 65px minmax(100px,1fr)}}

.digital-asset-card{padding:16px 0;border-top:1px solid #e5e7eb}.digital-asset-card>summary{cursor:pointer;font-weight:600}.digital-media-preview{margin:12px 0}.digital-media-preview audio{display:block;width:min(100%,420px)}.digital-media-preview .media-error{color:#a43d30}.studio-persona-preview{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.studio-persona-preview>p{flex-basis:100%}.studio-persona-preview>.digital-media-preview{flex:1 1 300px;min-width:0;max-width:420px}
/* Digital studio: scoped merchant creation workspace */
.studio-v2{--studio-ink:#243455;--studio-muted:#71809b;color:var(--studio-ink);max-width:1360px;margin:auto}
.studio-v2 [hidden]{display:none!important}.studio-v2 button,.studio-v2 input,.studio-v2 select,.studio-v2 textarea{font:inherit}
.studio-v2 button:focus-visible,.studio-v2 input:focus-visible,.studio-v2 textarea:focus-visible,.studio-v2 select:focus-visible{outline:3px solid #9ab7ff;outline-offset:3px}
.studio-v2 .card{border:1px solid #e4eaf5;border-radius:20px;background:#fff;box-shadow:0 6px 24px #273e6410;padding:24px;margin:0;min-width:0}
.studio-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:6px 0 24px}.studio-eyebrow{font-size:10px;letter-spacing:2px;color:#7489b0;font-weight:700}.studio-top h2{font-size:27px;margin:8px 0;letter-spacing:-.6px}.studio-top p,.studio-help{color:var(--studio-muted);font-size:12px;line-height:1.7;margin:8px 0}
.studio-tabs{display:flex;gap:24px;border-bottom:1px solid #dce5f4;margin-bottom:24px}.studio-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#71809b;font-weight:600;padding:13px 2px;cursor:pointer}.studio-tabs button.active{color:#466be9;border-bottom-color:#5274f0}
.studio-create-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:24px;align-items:start}.studio-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.studio-section-heading h3{font-size:15px;margin:0}.studio-section-heading>span{font-size:11px;color:var(--studio-muted)}
.studio-intents{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.studio-intents button{background:#f6f8fc;color:#61718d;border:1px solid #e8edf5;border-radius:8px;padding:7px 11px;font-size:12px;cursor:pointer}.studio-intents button.active{background:#edf2ff;color:#466be9;border-color:#c8d6ff}
.studio-v2 .field{display:block;margin:12px 0}.studio-v2 .field>span{display:block;font-size:12px;color:#62728e;margin-bottom:7px}.studio-v2 input:not([type=checkbox]),.studio-v2 select,.studio-v2 textarea{border:1px solid #dfe6f2;border-radius:9px;padding:11px 12px;background:#fff;color:#253655;max-width:100%;box-sizing:border-box}.studio-v2 .field input,.studio-v2 .field select,.studio-v2 .field textarea{width:100%}.studio-v2 textarea[name=script]{min-height:170px;line-height:1.85;resize:vertical;background:#fcfdff;font-size:15px}.studio-v2 textarea:focus{border-color:#7390ef}.studio-ai-row{display:flex;gap:8px}.studio-ai-row input{flex:1;min-width:0;font-size:12px!important}.studio-ai-row .btn{white-space:nowrap;font-size:12px}.studio-create>.studio-section-heading:not(:first-child){margin-top:24px}.studio-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.studio-advanced{margin-top:10px;border-top:1px solid #edf0f7;padding-top:16px}.studio-v2 summary{cursor:pointer;color:#61718d;font-size:13px;padding:5px 0}.studio-link{background:none;border:0;color:#4c70e6;font-size:12px!important;cursor:pointer;padding:4px}
.studio-preview{position:sticky;top:20px}.studio-phone{width:min(100%,245px);aspect-ratio:9/16;max-height:360px;background:#e9edf5;border:7px solid #f5f7fb;border-radius:20px;margin:0 auto;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.studio-preview-person{width:100%;height:100%;object-fit:contain}.studio-preview-empty{color:#8490a6;text-align:center;line-height:2;font-size:15px}.studio-preview-empty small{font-size:11px}.studio-live-script{position:absolute;bottom:16%;left:9%;right:9%;background:#15213db8;border-radius:5px;padding:6px;color:#fff;text-align:center;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.studio-live-script:empty{display:none}.studio-v2 audio{width:100%;max-width:430px;height:36px}.studio-estimate{display:flex;justify-content:space-between;border-top:1px solid #eef1f7;margin-top:18px;padding-top:16px;font-size:12px}.studio-estimate strong{color:#4e70dc}.studio-preview-label{background:#f0f3f9;padding:5px 8px;border-radius:6px}.studio-preview>.studio-section-heading:not(:first-child){margin-top:18px}.studio-person-name{font-size:13px}
.studio-create-footer,.studio-next-bar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fffefefa;border:1px solid #e2e8f4;border-radius:14px;padding:14px 18px;margin-top:22px;box-shadow:0 5px 28px #22395614}.studio-save-status{font-size:12px;color:#648477}.studio-next-bar>span{font-size:12px;color:#71809b}.studio-v2 .btn.primary{background:linear-gradient(110deg,#4279ed,#7560dd);color:white;border:0;padding:12px 20px;border-radius:10px}.studio-v2 .btn{border-radius:9px}.studio-v2 .btn:disabled{opacity:.55;cursor:wait}
.studio-work-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px}.studio-search{flex:1;min-width:0}.studio-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.studio-work-card{text-align:left;border:1px solid #e3e9f4;border-radius:14px;overflow:hidden;background:white;padding:0 0 14px;cursor:pointer;color:#293a59;min-width:0}.studio-work-card.selected{border:2px solid #6c89eb;box-shadow:0 0 0 3px #eaf0ff}.studio-work-cover{height:140px;background:#edf1f8;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.studio-work-cover img{height:100%;width:100%;object-fit:contain}.studio-cover-placeholder{font-size:22px;letter-spacing:8px;color:#a6b3ca}.studio-work-card strong,.studio-work-card small{display:block;margin:12px 14px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-work-card strong{font-size:13px}.studio-work-card small{font-size:11px;color:#8490a6}.studio-status{display:inline-block;background:#eff3ff;color:#526fc6;padding:5px 9px;border-radius:6px;font-size:11px}.studio-work-cover .studio-status{position:absolute;bottom:10px;left:10px;background:#ffffffed}.studio-empty{padding:40px;color:#8793aa;grid-column:1/-1;text-align:center}
.studio-detail:empty{display:none}.studio-detail{scroll-margin-top:20px}.studio-detail-head{display:flex;justify-content:space-between;align-items:center}.studio-steps{display:flex;list-style:none;gap:8px;padding:0;margin:20px 0 24px}.studio-steps li{flex:1;background:#f5f7fb;padding:10px;font-size:12px;border-radius:8px;color:#8793aa;text-align:center}.studio-steps li.active{color:#5274df;background:#edf2ff;font-weight:700}.studio-detail>h3{font-size:17px}.studio-detail>p{font-size:13px;color:#71809b;line-height:1.8}.studio-detail video{display:block;margin:14px auto;max-height:430px!important;border-radius:12px;background:#15213d}.studio-detail>img{display:block;margin:12px auto;border-radius:12px}.studio-confirm{background:#fafbfe;padding:20px;border-radius:14px;margin:20px 0}.studio-confirm h3{margin:0 0 12px;font-size:15px}.studio-confirm p{font-size:12px;line-height:1.8;color:#71809b}.studio-records{margin-top:22px;border-top:1px solid #e6ebf5;padding-top:16px}.studio-records details{padding:12px}.studio-records p{font-size:12px;overflow-wrap:anywhere}.studio-cue{display:grid;grid-template-columns:80px 80px minmax(0,1fr);gap:8px;margin:8px 0}.studio-cue input{min-width:0}.studio-script-review p{line-height:1.9;font-size:14px}.studio-assets-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.studio-assets-heading p{font-size:13px;color:#71809b}.studio-library .card{margin-bottom:20px}.studio-cloud-voices p{font-size:12px;overflow-wrap:anywhere}.studio-sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0,0,0,0)}
body:has(.studio-v2) .zw-history{display:none}body:has(.studio-v2) .zw-account-picker{display:none}body:has(.studio-v2) .zw-new{display:none}body:has(.studio-v2) .zw-workspace-header{margin-bottom:14px}body:has(.studio-v2) .billing-wallet-badge{font-size:12px;padding:10px 16px;margin-bottom:20px}
@media(min-width:1600px){.studio-phone{max-height:440px}.studio-v2 textarea[name=script]{min-height:220px}}
@media(max-width:1050px){.studio-create-layout{grid-template-columns:minmax(0,1.2fr) minmax(220px,1fr);gap:16px}.studio-v2 .card{padding:18px}.studio-create-footer .studio-help{display:none}.studio-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-top h2{font-size:23px}}
@media(max-width:760px){.studio-create-layout{grid-template-columns:1fr}.studio-preview{position:static}.studio-phone{max-height:300px}.studio-top{align-items:flex-start}.studio-top h2{font-size:21px}.studio-top .btn{white-space:nowrap;font-size:12px}.studio-tabs{gap:18px}.studio-tabs button{font-size:13px}.studio-create-footer{bottom:6px;flex-wrap:wrap;gap:8px}.studio-work-toolbar{flex-wrap:wrap}.studio-work-toolbar input{flex-basis:100%}.studio-next-bar{flex-direction:column;align-items:stretch}.studio-steps{gap:4px}.studio-steps li{font-size:10px;padding:8px 4px}.studio-cue{grid-template-columns:65px 65px minmax(0,1fr)}.studio-assets-heading{align-items:flex-start}.studio-assets-heading .btn{white-space:nowrap}.studio-v2 input,.studio-v2 select{min-width:0}.studio-ai-row{flex-wrap:wrap}.studio-ai-row input{flex-basis:65%}}


body:has(.studio-v2) .zw-workspace-header{display:none}.studio-top{margin:4px 0 14px}.studio-top h2{margin:6px 0}.studio-top p{margin:5px 0}.studio-tabs{margin-bottom:18px}.studio-v2 .studio-library .digital-media-preview img{max-height:210px;object-fit:contain}.studio-v2 .studio-library pre{max-height:160px;overflow:auto}.studio-v2 .studio-library .digital-asset-card{margin:12px 0;border:1px solid #e6ebf5;border-radius:12px;padding:14px}
.studio-v2 .studio-work-toolbar .studio-search{width:auto;flex:1 1 260px;min-width:160px}.studio-v2 .studio-work-toolbar .studio-filter{width:180px;flex:0 0 180px}.studio-v2 .studio-work-toolbar .btn{flex-shrink:0;white-space:nowrap}@media(max-width:760px){.studio-v2 .studio-work-toolbar .studio-search{flex-basis:100%;width:100%}.studio-v2 .studio-work-toolbar .studio-filter{flex:1 1 160px}}

@media(max-width:760px){body:has(.studio-v2) .dash-wrap{padding-top:58px}}
.library-heading,.library-upload-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.library-v3 h2{font-size:23px;margin:0 0 8px}.library-v3 p{font-size:13px;color:#6b7c97;line-height:1.8}.library-tabs{display:flex;gap:10px;margin:20px 0 24px;flex-wrap:wrap}.library-tabs button{border:1px solid #e0e7f4;border-radius:10px;background:#f7f9fd;padding:10px 16px;color:#61718b;cursor:pointer}.library-tabs button.active{background:#edf2ff;color:#456bd8;border-color:#9fb6f8}.library-tabs small{margin-left:7px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.library-persona,.library-asset{border:1px solid #e0e7f4;border-radius:16px;overflow:hidden;background:white;min-width:0}.library-persona{display:flex;flex-direction:column}.library-portrait{width:100%;height:220px;object-fit:contain;background:#f0f3f8}.library-persona-body,.library-asset{padding:20px}.library-persona h3,.library-asset h3{font-size:17px;margin:0 0 12px}.library-persona h3 small{font-size:11px;color:#5576d8;background:#eef3ff;padding:4px 8px;border-radius:6px}.library-bound-scene{display:flex;gap:12px;align-items:center;background:#f7f9fc;border-radius:10px;padding:12px;margin:16px 0;font-size:12px;color:#74809a}.library-bound-scene img{width:70px;height:55px;object-fit:cover;border-radius:8px}.library-v3 .library-asset .digital-media-preview img{width:100%;height:180px;object-fit:contain}.library-empty{grid-column:1/-1;padding:32px;text-align:center;background:#f6f8fc;border:1px dashed #ced8ec;border-radius:12px;color:#7584a0}.library-new,.library-editors details,.library-help{margin-top:24px;border-top:1px solid #e4eaf4;padding-top:16px}.library-v3 .persona-form fieldset{border:0;padding:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:14px}.library-v3 .persona-form .field{margin:0}.library-v3 .persona-form [data-photo-preview] img{max-height:160px}.library-v3 .persona-form .digital-media-preview a{font-size:11px}.library-v3 .asset-review label{display:block;margin:8px 0}.library-v3 pre{max-height:160px;overflow:auto}.library-heading>.btn,.library-upload-heading>.btn{flex-shrink:0}.audio-tools{background:#f6f8fc;border:1px solid #e4eaf4;border-radius:10px;padding:12px;margin:10px 0 18px;max-width:100%;box-sizing:border-box}.audio-actions{display:flex;gap:7px;flex-wrap:wrap}.audio-tools .btn{font-size:11px!important;padding:7px 9px!important}.audio-tools label{display:flex;align-items:center;gap:12px;font-size:12px;color:#61718b;margin-top:10px}.audio-tools input[type=range]{max-width:180px;padding:0!important;accent-color:#587aed}.audio-tools .audio-status{font-size:11px!important;margin:8px 0 0;line-height:1.7}.studio-scene-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.studio-scene-heading .btn{flex-shrink:0}.studio-scene-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.studio-scene-grid button{border:2px solid #e1e7f2;background:#fff;padding:0;border-radius:10px;overflow:hidden;cursor:pointer;color:#4e6180}.studio-scene-grid button.selected{border-color:#5a7cf0;box-shadow:0 0 0 2px #e2eaff}.studio-scene-grid img{width:100%;height:90px;object-fit:cover}.studio-scene-grid span{display:block;padding:8px;font-size:12px}.scene-empty{grid-column:1/-1;background:#eef3ff;border-radius:10px;padding:18px}.library-upload-dialog{width:min(540px,90vw);max-height:85vh;overflow:auto;border:1px solid #dfe6f3;border-radius:18px;padding:28px;color:#253655;box-shadow:0 18px 80px #20304a44}.library-upload-dialog::backdrop{background:#14223b66}.library-upload-dialog p{font-size:13px;color:#6d7d97;line-height:1.8}.library-upload-dialog .field{display:block;margin:18px 0}.library-upload-dialog .field span{display:block;margin-bottom:8px}.library-upload-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #dce4f2;border-radius:9px;padding:10px}.library-upload-dialog .upload-error{color:#be3434}.library-upload-dialog label{font-size:13px}.library-upload-dialog .actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.library-upload-dialog .btn.primary{background:#5877ec;color:white}.library-v3 .library-editors details:not([open]){display:none}
@media(max-width:1050px){.library-grid{grid-template-columns:1fr}.library-persona{display:grid;grid-template-columns:180px minmax(0,1fr)}.library-portrait{height:100%;min-height:220px}.studio-scene-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.library-heading,.library-upload-heading,.studio-scene-heading{align-items:flex-start;flex-direction:column}.library-persona{display:flex}.library-portrait{height:190px;min-height:0}.library-v3 .persona-form fieldset{grid-template-columns:1fr}.studio-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-tabs{gap:7px}.library-tabs button{font-size:12px;padding:9px}.library-upload-dialog{padding:20px}.audio-tools input[type=range]{width:120px}.library-persona-body{padding:16px}}


.library-grid:has(.library-persona){grid-template-columns:1fr}.library-persona{display:grid;grid-template-columns:180px minmax(0,1fr)}#digital-studio-root .library-portrait,#digital-library-root .library-portrait{width:100%;max-width:100%;height:100%;max-height:400px;margin:0;object-fit:contain;background:#f0f3f8}.library-persona-body{min-width:0}.library-upload-heading,.studio-scene-heading{flex-wrap:wrap}.library-upload-heading>p{flex:1 1 260px}.scene-source{display:inline-block;border-radius:6px;padding:4px 8px;background:#edf2ff;color:#526bc4;font-size:11px}.scene-jobs{margin-top:24px;padding:18px;background:#f7f9fc;border-radius:12px}.scene-job{padding:12px 0;border-top:1px solid #dce5f2}.scene-job>span{margin-left:16px;color:#63738e;font-size:12px}.library-upload-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #dce4f2;border-radius:9px;padding:12px;font:inherit;resize:vertical}.library-upload-dialog .scene-progress{color:#4265c4}.library-v3 .audio-tools{margin-bottom:8px}.library-v3 .library-persona-body audio{width:100%}
@media(max-width:760px){.library-persona{display:flex;flex-direction:column}#digital-studio-root .library-portrait,#digital-library-root .library-portrait{height:190px}.scene-job>span{display:block;margin:8px 0}}

/* Analysis and chat switch directly below the wallet bar. */
.aa-work-mode-switch{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:4px;margin:0 0 18px;border:1px solid #dce5f7;border-radius:11px;background:#edf2fbcc;box-shadow:inset 0 1px 1px #ffffffb3}
.aa-work-mode-switch button{border:1px solid transparent;border-radius:8px;background:transparent;color:#788ba8;font:inherit;font-size:13px;font-weight:550;line-height:20px;padding:8px 18px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s}
.aa-work-mode-switch button[aria-pressed=true]{background:#fff;color:#506ed7;border-color:#dce5f7;box-shadow:0 2px 7px #526bd115;font-weight:650}
.aa-work-mode-switch button:hover{color:#496bd9;background:#ffffff80}.aa-work-mode-switch button:focus-visible{outline:2px solid #597ce6;outline-offset:2px}
@media(max-width:600px){.aa-work-mode-switch{margin-bottom:14px}.aa-work-mode-switch button{padding:8px 14px;font-size:12px}}

/* 一鱼多吃 — isolated from sales, digital studio and ad assistant. */
.mf-workspace.cw-workspace{height:auto;min-height:0;max-width:1200px;margin:0 auto;padding:0 0 24px;gap:0}
.copywriter-page:has(.mf-workspace) #page-content{height:auto;min-height:0}.mf-workspace .cw-topline{display:none}
.mf-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:10px 0 24px}.mf-intro .mf-eyebrow{font-size:11px;letter-spacing:2px;color:#7589bd;margin:0 0 10px}.mf-intro h1{font-size:27px;letter-spacing:-.6px;line-height:1.4;margin:0 0 9px;color:#304f7d}.mf-intro p{font-size:13px;color:#7a8ca8;margin:0}.mf-intro>button{flex-shrink:0}
.mf-picker{padding:22px;background:#ffffffd9;border:1px solid #dfe6f6;border-radius:18px;box-shadow:0 6px 26px #566ca805;margin-bottom:18px}.mf-step{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.mf-step>div{display:flex;align-items:center;gap:10px}.mf-step b{display:grid;place-items:center;width:24px;height:24px;background:#eaf0ff;border-radius:8px;color:#5875db;font-size:12px}.mf-step h2{font-size:15px;font-weight:650;margin:0;color:#314e78}.mf-step span{font-size:11px;color:#8b98ad}.mf-step>button,.mf-editing button{border:0;background:transparent;font:inherit;font-size:12px;color:#5875db;cursor:pointer;padding:6px}
.mf-channel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mf-channel{display:flex;flex-direction:column;align-items:stretch;text-align:left;border:1px solid #e1e7f2;border-radius:13px;background:#fff;color:#647894;padding:17px 16px;cursor:pointer;min-width:0;transition:background .15s,border-color .15s,box-shadow .15s;font:inherit}.mf-channel:hover{border-color:#a9b9e9;background:#fafbff}.mf-channel.selected{border-color:#7893eb;background:linear-gradient(130deg,#f2f6ff,#f8f5ff);box-shadow:0 0 0 1px #8a9fee22}.mf-card-top{display:flex;align-items:center;gap:8px;margin-bottom:15px}.mf-glyph{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#edf2fc;color:#6b84d3;font-size:23px}.mf-tag{font-size:10px;color:#8593ac}.mf-check{margin-left:auto;border:1px solid #d4ddec;border-radius:5px;width:17px;height:17px;line-height:17px;text-align:center;font-size:12px;color:#fff}.selected .mf-check{background:#617de5;border-color:#617de5}.mf-channel strong{font-size:16px;color:#3d5881;margin-bottom:9px}.mf-channel>span:not(.mf-card-top){font-size:11px;line-height:1.6}.mf-channel>small{font-size:10px;color:#98a4b8;margin-top:7px;line-height:1.6}.mf-channel:focus-visible{outline:2px solid #567af0;outline-offset:3px}.mf-channel:disabled{cursor:default;opacity:.65}
.mf-workspace .zw-chat-context{font-size:10px;margin:0 3px 12px;opacity:.8}.mf-workspace .cw-body{flex:none;min-height:0;max-height:none;overflow:visible;margin:0}.mf-workspace:not(.has-conversation) .cw-body{display:none}.mf-workspace .cw-compose-wrap{width:100%;max-width:none;padding:0;margin:0}.mf-compose-heading{margin:0 0 13px}.mf-compose-heading>span{max-width:65%;text-align:right;line-height:1.7}.mf-workspace .cw-composer{border:1px solid #d9e3f5;border-radius:17px;padding:21px 23px;box-shadow:0 4px 24px #5f79ad06;background:#fff}.mf-workspace textarea#cw-input{min-height:120px;font-size:14px;line-height:1.9;padding:0;margin:0 0 10px}.mf-workspace .cw-send{width:auto;min-width:128px;padding:10px 16px;border-radius:10px;font-size:12px;white-space:nowrap;background:linear-gradient(110deg,#4779e8,#7661dd);color:#fff;line-height:20px;height:auto}.mf-workspace .cw-send:disabled{background:#eef1f7;color:#a3afc6}.mf-workspace .cw-compose-meta{margin-top:9px;font-size:10px}.mf-workspace .cw-feedback{font-size:11px;margin-top:8px}.mf-editing{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;margin:0 0 12px;background:#eef3ff;border-radius:9px;color:#6780b0;font-size:12px}
.mf-workspace .cw-messages{max-width:none;padding:0}.mf-workspace .cw-turn{margin-bottom:26px}.mf-workspace .cw-assistant{gap:0}.mf-workspace .cw-assistant>img{display:none}.mf-workspace .cw-answer{width:100%;max-width:none;min-width:0}.mf-result-heading{display:flex;align-items:center;justify-content:space-between;margin:8px 0 14px;font-size:13px;color:#59719b}.mf-result-heading>span{font-size:11px;color:#8998b0}.mf-result{background:#fff;border:1px solid #dfe6f4;border-radius:15px;margin:0 0 16px;overflow:hidden;padding:22px}.mf-result-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f6;padding-bottom:14px;margin-bottom:18px}.mf-result h3{font-size:16px;color:#3d5881;margin:0}.mf-status{font-size:10px;padding:4px 9px;border-radius:6px;background:#f3f5f9;color:#8b98af}.mf-status.done{background:#edf8f3;color:#508b76}.mf-status.running{background:#eef2ff;color:#617ed6}.mf-status.failed,.mf-status.cancelled{background:#fff5ea;color:#a47d48}.mf-result-empty{font-size:12px;color:#95a2b8}.mf-workspace .cw-answer-content{font-size:14px;line-height:1.9;color:#3d506d;overflow-wrap:anywhere}.mf-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.mf-result-actions button{border:1px solid #dce5f7;background:#f8faff;color:#617bb2;border-radius:8px;padding:8px 12px;font:inherit;font-size:11px;cursor:pointer}.mf-result-actions button:disabled{opacity:.45;cursor:default}.mf-workspace .cw-user{max-width:85%;font-size:13px;margin-bottom:20px}.mf-workspace .cw-compose-tools{gap:12px}.mf-workspace .cw-right-tools{gap:10px}
@media(max-width:1150px){.mf-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mf-channel{padding:14px}.mf-card-top{margin-bottom:10px}.mf-intro h1{font-size:23px}}
@media(max-width:600px){.mf-intro{align-items:flex-start;margin-top:6px}.mf-intro h1{font-size:20px}.mf-intro>button{font-size:10px}.mf-picker{padding:14px}.mf-channel-grid{gap:8px}.mf-channel{padding:12px}.mf-channel strong{font-size:14px}.mf-channel>span:not(.mf-card-top){font-size:10px}.mf-tag{font-size:9px}.mf-step h2{font-size:13px}.mf-workspace .cw-composer{padding:16px}.mf-workspace .cw-compose-tools{flex-wrap:wrap}.mf-workspace .cw-right-tools{margin-left:auto;gap:5px}.mf-workspace .cw-send{min-width:110px;padding:9px}.mf-result{padding:16px}.mf-workspace .cw-compose-meta{flex-wrap:wrap;gap:5px}.mf-editing{font-size:10px}.mf-compose-heading>span{max-width:50%;font-size:10px}}
.mf-workspace .zw-chat-context{display:none}.mf-intro{margin:4px 0 16px}.mf-intro .mf-eyebrow{margin-bottom:6px}.mf-intro h1{font-size:24px;margin-bottom:6px}.mf-picker{padding:18px;margin-bottom:18px}.mf-step{margin-bottom:13px}.mf-channel{padding:14px}.mf-card-top{margin-bottom:10px}.mf-channel strong{margin-bottom:7px}.mf-workspace .cw-composer{padding:18px 20px}.mf-workspace textarea#cw-input{min-height:95px}.mf-workspace .cw-compose-meta{font-size:10px}

.mf-result-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.mf-result-tabs button{display:flex;align-items:center;gap:10px;border:1px solid #e0e7f6;background:#ffffffb3;border-radius:9px;padding:10px 13px;color:#7186aa;font:inherit;cursor:pointer}.mf-result-tabs strong{font-size:12px;font-weight:550}.mf-result-tabs small{font-size:10px;color:#98a6bb}.mf-result-tabs button[aria-pressed=true]{border-color:#97aff1;color:#526fd2;background:#edf2ff}.mf-result-tabs button:focus-visible{outline:2px solid #597de8;outline-offset:2px}
@media(min-width:1151px) and (max-height:780px){.mf-intro .mf-eyebrow{display:none}.mf-intro{margin:0 0 14px}.mf-picker{padding:16px}.mf-channel{padding:12px 14px}.mf-workspace textarea#cw-input{min-height:76px}.mf-workspace .cw-composer{padding:16px 20px}}

/* Conversation records belong to the active tool, never the global navigation. */
.zw-sidebar .zw-main-nav{padding-top:10px}.cw-top-actions[hidden]{display:none}.zh-module-history~#page-content .mf-intro>button{display:none}
.zh-module-history{position:relative;z-index:12;margin:0 0 16px;color:#345174}
.zh-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 17px;border:1px solid #dce5fa;border-radius:15px;background:#ffffffc9}
.zh-history-toolbar>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.zh-history-symbol{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#eef3ff;color:#6384d7;border-radius:11px}
.zh-module-history svg{width:18px;height:18px;flex-shrink:0}.zh-history-toolbar strong{display:block;font-size:13px;line-height:1.6}.zh-history-toolbar small{display:block;font-size:11px;color:#8395b2;margin-top:2px}
.zh-history-actions{display:flex;gap:9px;flex-shrink:0}.zh-history-actions button{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 12px;border:1px solid #dce5fa;border-radius:10px;background:white;font:inherit;font-size:12px;color:#607fae;cursor:pointer}.zh-history-actions button[aria-expanded=true]{background:#edf2ff;border-color:#9eb6f1;color:#486cd2}.zh-history-actions .zh-history-new{background:#5879df;color:#fff;border-color:#5879df}
#zh-history-count:empty{display:none}#zh-history-count{padding:1px 6px;background:#eaf0ff;border-radius:6px;font-size:11px}
.zh-history-panel{position:absolute;right:0;top:calc(100% + 8px);width:420px;max-width:100%;border:1px solid #dae4f9;border-radius:18px;padding:18px;background:#fff;box-shadow:0 16px 50px #203c6a24}.zh-history-panel[hidden]{display:none}.zh-history-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.zh-history-head>strong{font-size:14px}.zh-history-head>div{display:flex;gap:4px}.zh-history-head button{display:grid;place-items:center;padding:7px;background:#f5f7fc;border:0;border-radius:8px;color:#7c92b7;cursor:pointer}.zh-history-head button:disabled{opacity:.45}.zh-history-panel .zw-history-search{margin:0}.zh-history-scope{font-size:10px;color:#8b9bb5;margin:12px 0 6px}
.zh-history-panel #zw-history-list{max-height:min(440px,50dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.zh-history-group>p{margin:14px 6px 5px;font-size:11px;font-weight:600;color:#9aa8bf}.zh-history-panel .zw-history-item{width:100%;margin:3px 0;padding:11px 8px;text-align:left;display:flex;gap:10px;align-items:center}.zh-history-panel .zw-history-item>span:nth-child(2){flex:1;min-width:0}.zh-history-panel .zw-history-item b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}.zh-history-panel .zw-history-item small{display:block;font-size:10px;color:#93a4c0;margin-top:5px}.zh-history-arrow{font-size:19px;color:#9bafcc}.zh-history-panel .zw-history-item.is-current{background:#edf2ff}.zh-history-panel .zw-side-empty{padding:28px 14px;line-height:1.9;text-align:center}.zh-module-history button:focus-visible,.zh-module-history input:focus-visible{outline:2px solid #6684dd;outline-offset:3px}
@media(max-width:700px){.zh-history-toolbar{padding:11px;gap:8px;flex-wrap:wrap}.zh-history-toolbar>div:first-child{flex:1}.zh-history-toolbar small{font-size:10px}.zh-history-symbol{display:none}.zh-history-actions{gap:6px}.zh-history-actions button{padding:8px;font-size:11px}.zh-history-actions svg{width:15px;height:15px}.zh-history-panel{padding:14px;width:100%;box-sizing:border-box}.zh-history-panel #zw-history-list{max-height:45dvh}.zh-history-toolbar strong{font-size:12px}}
