/* Shared product language for merchant and operations workspaces. */
:root{--ui-accent:#3564d8;--ui-ink:#203450;--ui-muted:#63748b;--ui-line:#e2e8f1;--ui-soft:#f1f5fc;--ac-blue:var(--ui-accent);--ac-muted:var(--ui-muted);--ac-ink:var(--ui-ink)}
body{background:#f5f7fb;color:var(--ui-ink);font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}
body button,body input,body select,body textarea{font-family:inherit}
body .btn{border-radius:10px;min-height:40px;font-size:13px;font-weight:600;box-shadow:none}
body .btn.primary{background:var(--ui-accent);border-color:var(--ui-accent);color:#fff;box-shadow:0 3px 8px #3564d81a}
body button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}
body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #95b5ff;outline-offset:3px}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),body select,body textarea{border-color:#d7e0ec;border-radius:9px;font-size:14px}
body textarea{line-height:1.75}
body .dash-wrap{background:#f5f7fb;padding-top:24px}
body .zw-sidebar{background:#fff;border-right:1px solid var(--ui-line);box-shadow:none}
body .zw-brand{padding-top:26px;padding-bottom:28px}
body .zw-nav-item{min-height:44px;font-size:14px;border-radius:10px;margin:3px 0;color:#5c708d}
body .zw-nav-item.active{background:#edf3ff;color:#315dce;box-shadow:none;font-weight:650}
body .zw-nav-icon{background:transparent;border-color:transparent;border-radius:9px}
body .zw-nav-item.active .zw-nav-icon{background:#e0eaff;color:#3564d8}
body .zw-section-label{font-size:11px;letter-spacing:1px;color:#7888a0}
body .zw-side-account{background:#f8faff;border-top:1px solid var(--ui-line)}
body .zw-mobile-toggle{border:1px solid #dbe4f1;border-radius:11px;background:#fff;color:var(--ui-accent);width:44px;height:44px;box-shadow:0 4px 16px #1e365a14;display:none;align-items:center;justify-content:center}
body .zw-mobile-toggle svg{width:20px;height:20px}
.workspace-utility{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 22px;padding:10px 14px;border:1px solid var(--ui-line);border-radius:12px;background:#fff;min-height:58px}
.workspace-utility #wallet-badge{min-width:0;flex:1}
.workspace-utility .billing-wallet-badge{background:none;border:0;padding:0;margin:0;gap:14px;font-size:13px;color:var(--ui-muted);box-shadow:none}
.workspace-utility .billing-wallet-badge b{color:var(--ui-ink);font-size:16px}
.workspace-utility .billing-wallet-badge a{font-size:12px;text-decoration:none;color:var(--ui-accent)}
.workspace-utility #product-notices{margin:0;gap:8px;flex-shrink:0}
.workspace-utility #product-notices .btn{min-height:34px;padding:7px 10px;background:#f6f8fc;border-color:#edf1f7;color:#536987;font-size:12px}
body .card,body .ac-panel{border:1px solid var(--ui-line);border-radius:16px;box-shadow:0 3px 14px #19365a03;background:#fff}
body .product-start{padding:0;overflow:hidden}
.product-welcome{padding:34px 34px 26px;background:linear-gradient(115deg,#eef4ff,#f8faff 72%,#edf3ff);border-bottom:1px solid #e6edf8}
.product-eyebrow{font-size:11px;color:#5673a0;letter-spacing:1.4px;font-weight:650}
body .product-welcome h1{font-size:32px;letter-spacing:-.7px;line-height:1.45;margin:15px 0 12px;color:#213d67}
body .product-welcome p{color:#647993;line-height:1.85;margin:0;font-size:14px}
.product-flow{display:flex;align-items:center;gap:16px;margin-top:24px;font-size:12px;color:#4e6b97}
.product-flow i{font-style:normal;color:#9bb1cf}
body .product-goals{margin:24px 28px;gap:16px}
body .product-goals .btn{position:relative;background:#fff;border:1px solid var(--ui-line);padding:23px 24px;min-height:178px;border-radius:14px;transition:border-color .15s,box-shadow .15s}
body .product-goals .btn:hover{border-color:#94b1ed;box-shadow:0 6px 18px #3564d810;background:#fbfcff;transform:none}
body .product-goals strong{font-size:19px;line-height:1.5;margin:4px 0 8px;color:var(--ui-ink)}
body .product-goals .product-goal-number{position:absolute;right:20px;top:20px;font-size:12px;color:#a1b3cf;letter-spacing:1px}
body .product-goals .product-goal-cta{display:flex;width:100%;justify-content:space-between;font-size:12px;color:var(--ui-accent);margin-top:22px;font-weight:600}
.product-goal-cta i{font-style:normal;font-size:17px}
.product-start-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 28px;padding:22px 0;border-top:1px solid var(--ui-line)}
.product-start-footer strong{font-size:14px}.product-start-footer p{font-size:12px;color:var(--ui-muted);margin:7px 0 0}
body .product-start .product-start-note{font-size:11px;line-height:1.8;color:#70819a;background:#fafbfd;padding:12px 28px;margin:0}
body .ml-hero{background:linear-gradient(115deg,#edf4ff,#fafcff);border-color:var(--ui-line);padding:28px 30px;border-radius:16px}
body .ml-hero h1{font-size:28px;line-height:1.5;color:#27466e}
body .ml-hero p{color:#647993;font-size:14px;line-height:1.8}
body .ml-eyebrow{color:#5876a5}
body .ml-tabs button[aria-selected=true]{color:var(--ui-accent);background:#edf3ff;border-color:#bcd0f7}
body .ml-tabs button{border-radius:11px;min-height:66px}
body .ml-save-bar{background:#f7f9fd;border-radius:11px;padding:15px 18px;margin-top:22px}
body .ml-inline-status{font-size:13px;line-height:1.7;color:#4265a2}
body .ml-empty{padding:40px 24px;border:1px dashed #d8e2f0;border-radius:13px;background:#fafcff;text-align:center;margin:20px 0;color:var(--ui-muted)}
body .ml-empty h3{font-size:17px;color:var(--ui-ink);margin:10px 0}
body .ml-empty p{font-size:13px;line-height:1.8;margin:8px 0 18px}
body .ml-doc{border-radius:13px;box-shadow:none}
body .ml-doc-open{color:var(--ui-accent)}
body .ml-hero-art b{color:#456bc0;background:#e4edff}
body .ml-hero-art span{color:#5a78aa}
body .zh-history-toolbar{background:#fff;border-color:var(--ui-line);box-shadow:none}
body dialog{border:1px solid var(--ui-line);border-radius:18px;box-shadow:0 24px 90px #16345629;max-height:90dvh;overflow:auto}
body dialog::backdrop{background:#162d4b55;backdrop-filter:blur(3px)}
body .sidebar{background:#fff;border-color:var(--ui-line)}
body .topbar{height:72px;border-color:var(--ui-line)}
body .content{padding-top:24px}
body .ac-range{margin-bottom:18px;font-size:13px}
body .ac-intro{margin-bottom:22px}
body .ac-intro h1{font-size:28px;color:var(--ui-ink)}
body .ac-intro p,body .ac-panel-head p{font-size:13px}
body .ac-metric{padding:17px 20px;border-radius:13px}
body .ac-metric>strong{font-size:28px;margin:10px 0}
body .ac-metric>small,body .ac-table th,body .ac-table td small,body .ac-cohort span,body .ac-footnote,body .ac-pill{font-size:12px}
body .ac-table{font-size:13px}
body .ac-table td{padding:15px 20px}
body .ac-link{font-size:13px}
body .ac-panel-head{padding:20px 22px 15px}
body .ac-filters input,body .ac-filters select{font-size:13px;min-height:42px}
body .ac-panel>[data-task-search],body .ac-panel>p:not(.ac-footnote){margin:14px 22px}
body .ac-panel>[data-task-search]{display:flex;gap:10px;flex-wrap:wrap}
body .ac-panel>[data-task-search] input{min-width:0;padding:10px 12px;flex:1;border:1px solid var(--ui-line)}
body .studio-v4{--studio-accent:var(--ui-accent);--studio-ink:var(--ui-ink);--studio-muted:var(--ui-muted);--studio-line:var(--ui-line);border-color:var(--ui-line)}
body .studio-v4 .studio-home-hero{background:linear-gradient(115deg,#edf4ff,#f8fbff 65%,#e7effc)}
body .studio-v4 .studio-home-hero h2{color:#25466e}
body .studio-v4 .studio-home-hero p,body .studio-v4 .studio-kicker{color:#607c9f}
body .studio-v4 .studio-home-hero button{background:var(--ui-accent)}
body .studio-v4 .studio-new-button{background:#edf3ff;color:#3564d8}
body .studio-v4 .studio-nav-items button.active{background:#edf3ff;color:#3564d8}
body .studio-v4 .studio-hero-art{background:#dce7f8;box-shadow:8px 15px 30px #46689c18}
body .studio-v4 .studio-quick-grid small,body .studio-v4 .studio-brand small,body .studio-v4 .studio-nav-note,body .studio-v4 .studio-scope-label{font-size:12px;color:#687b95}
body .studio-v4 .studio-quick-grid strong{font-size:14px}
body .studio-v4 button{font-size:13px}
body .studio-v4 .btn.primary{background:var(--ui-accent);border-color:var(--ui-accent);color:#fff}
body .studio-v4 .studio-editor-path .active,body .studio-v4 .studio-steps li.active,body .studio-v4 .library-tabs button.active{background:#edf3ff;color:#3564d8}
body .studio-v4 .studio-help,body .studio-v4 .studio-canvas-note,body .studio-v4 .studio-composer-settings p,body .studio-v4 .studio-create-footer span{font-size:12px;color:#63748b}
body .studio-v4 .studio-scope-label{white-space:normal;text-align:right}
body .studio-v4 .notice:has([data-studio-tab="create"]){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
body .studio-v4 .notice:has([data-studio-tab="create"]) strong{min-width:0;line-height:1.7;flex:1 1 150px}
body .studio-v4 .notice:has([data-studio-tab="create"]) button{flex:0 0 auto}
@media(min-width:1450px){body .ac-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}body .ac-metric{padding:16px}body .ac-metric>small{min-height:38px}}
@media(min-width:1000px){body.studio-focus .zw-mobile-toggle{display:flex}body.studio-focus.studio-nav-open .zw-nav-item{justify-content:flex-start;padding:10px 14px}body.studio-focus.studio-nav-open .zw-brand{padding:24px 18px}}
@media(max-width:999px){body .zw-mobile-toggle{display:flex}.workspace-utility{gap:8px}.workspace-utility #product-notices{flex-wrap:wrap}body .dash-wrap,body.studio-focus .dash-wrap{padding-top:72px}}
@media(max-width:650px){body .product-welcome{padding:26px 20px}body .product-welcome h1{font-size:25px}.product-flow{gap:9px;font-size:11px}body .product-goals{margin:18px;grid-template-columns:1fr;gap:12px}body .product-goals .btn{min-height:154px;padding:20px}.product-start-footer{align-items:flex-start;flex-direction:column;margin:0 18px}.product-start-footer .actions{display:flex;flex-wrap:wrap}body .product-start .product-start-note{padding:12px 18px}.workspace-utility{padding:10px;align-items:flex-start}.workspace-utility #wallet-badge{flex-basis:100%}.workspace-utility .billing-wallet-badge{gap:9px;flex-wrap:wrap}.workspace-utility #product-notices .btn{font-size:11px}body .ml-hero{padding:23px 20px}body .ml-hero h1{font-size:23px}body .ml-hero p{font-size:13px}body .ac-intro h1{font-size:24px}body .ac-filters{flex-wrap:wrap;padding:16px}body .ac-filters input{width:100%}body .ac-filters>span{margin-left:0}body .ac-range{align-items:flex-start;flex-direction:column;gap:10px}body .ac-columns{grid-template-columns:1fr}body .ac-cohort{gap:8px;padding:10px 14px}body .ac-cohort>div{padding:12px 8px}body .ac-panel-head{padding:18px 16px}body .studio-v4 .studio-page-header{align-items:flex-start}body dialog{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
