/* The merchant and operations surfaces use the same navy, cyan and lavender as the creative studio. */
:root {
  color-scheme: dark;
  --ink: #edf4ff; --muted: #a3b3cd; --line: #273b58; --base: #080e1b; --paper: #101c32;
  --sans: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
}
body { background: #080e1b; color: var(--ink); }
.workspace { background: radial-gradient(900px 370px at 44% -145px, #183253 0%, transparent 88%), #09111f; }
.workspace .sidebar { background: linear-gradient(175deg,#101c33,#091321 76%); border-color:#243b59; }
.workspace .sidebar-nav { border-color:#283c55; }
.workspace .brand-logo { outline:1px solid #789dc849; }
.workspace .brand small,.workspace .nav-caption,.workspace .sidebar-footer,.workspace .support,
.workspace .nav-link,.workspace .side-link,.workspace .switch-link { color:#b9cce4; }
.workspace .nav-link:hover,.workspace .support:hover { background:#1a2e49; color:#e4f4ff; }
.workspace .nav-link.active { background:linear-gradient(105deg,#28456b,#20314f); box-shadow:inset 0 0 0 1px #45678d; color:#dff4ff; }
.workspace .topbar { background:rgba(12,23,42,.94); border-color:#273a56; color:#ceddf1; }
.workspace .topbar svg,.workspace .breadcrumb strong,.workspace .breadcrumb span { color:#b1c5df; }
.workspace .account,.workspace .switch-link,.workspace .text-link,.auth-switch button {color:#a4dcff;}
.workspace .account .user-avatar,.workspace .top-balance,.audio-cover,.catalog-icon,.empty-icon,.voice-icon {
  color:#a4dcff; background:#203652; border-color:#385575;
}
.panel,.stat,.auth-layout,dialog,.package-card,.catalog-card,.workspace .work-row,.workspace .payment-summary {
  background:var(--paper); border-color:var(--line); color:var(--ink);
}
.panel,.stat { border-radius:15px; }
.panel-head,.dialog-head { background:#132139; border-color:var(--line); }
.page-head h1,.panel h2,.dialog-head h2,.stat strong,.field span,.catalog-values dd,.work-info strong {color:var(--ink);}
.stat-top,.stat strong small,.page-head p,.dialog-copy,.subtle,.details dt,.field small,.empty small,
.work-info small,.catalog-values dt,.catalog-values dd small,.panel-head small,.form-body p,.table-scroll td small { color:var(--muted); }
.stat-top svg,.panel-head svg {color:#93d6ff;}
.stat { background:linear-gradient(145deg,#172942,#111d32 75%); border:1px solid #2d4564; }
.table-scroll th,.script-footer,.voice-row,.work-row,.paging,.auth-card,.dialog-main,.playback,.details,.empty,.form-body,.payment-summary,.stat-top,.filter-form,.panel-content {background-color:transparent;color:var(--ink);}
.table-scroll th {background:#14243c;color:#a9bdd6;}
.table-scroll tr,.table-scroll th,.table-scroll td,.work-row,.form-foot,.details,.dialog-head,.sidebar-footer {border-color:var(--line);}
.table-scroll tbody tr:hover {background:#192b44;}
.table-scroll td,.table-scroll b,.mono,.field,.auth-card h2,.package-card b,.package-card strong { color:var(--ink); }
.btn,.btn.secondary,.btn.tiny,.icon-btn,.auth-form .btn.secondary { color:#d8ebff; background:#1b304a; border-color:#375373; }
.btn.primary { background:linear-gradient(110deg,#9bdfff,#99b6ff); color:#0a1a33; border-color:#90b8ee; }
.btn.secondary:hover,.btn.tiny:hover,.icon-btn:hover { background:#243c5c; }
.btn:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {outline-color:#9fddff;}
.field input,.field textarea,.field select,.filter-form input,.filter-form select,.script-text {
  background:#0b1628;color:#e9f2ff;border-color:#344a68;
}
.field input::placeholder,.script-text::placeholder { color:#8194b0; }
.workspace .studio-hero,.auth-intro {background:radial-gradient(ellipse at 68% 28%,#29496b,#182944 48%,#121b35 100%);}
.auth-copy p,.hero-copy p {color:#c4d7ee;}
.voice-row:has(input:checked),.voice-option:has(input:checked) {background:#1b324d;border-color:#5597c7;color:#d8eeff;}
.badge {text-shadow:none;}
dialog {box-shadow:0 24px 100px #0008;}
dialog::backdrop {background:#040b18b5;}
.cloud-panel {padding:20px 24px;max-width:900px;}
.cloud-panel .details {margin:0 0 20px;}
.cloud-controls {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap;}
.cloud-controls .btn.danger {color:#ffc1c4;border-color:#804957;background-color:#3b2434;}
.workspace .empty b {color:#c1d2e9;}
.workspace .empty p {color:#a4b8d4;}
.workspace .sidebar-version {display:block;color:#97acc9;font-size:11px;letter-spacing:.04em;margin:8px 0 0;}
.oem-products .panel-head {align-items:center;gap:16px;}
.oem-products .panel-head p {color:var(--muted);font-size:13px;margin:6px 0 0;line-height:1.6;}
.oem-products .text-link {flex-shrink:0;}
.oem-product-filter {display:flex;align-items:center;gap:12px;margin:20px 22px 4px;flex-wrap:wrap;}
.oem-product-filter label {flex:1 1 210px;display:flex;align-items:center;gap:10px;}
.oem-product-filter label,.oem-product-filter select {border:1px solid #3a506d;border-radius:8px;background:#0c1729;color:#c3d6ee;padding:9px 12px;}
.oem-product-filter input {color:var(--ink);background:transparent;border:0;outline:0;width:100%;font:inherit;}
.oem-product-filter label:focus-within {outline:2px solid #93d6ff;}
.oem-product-filter select {width:auto;max-width:100%;}
.oem-product-filter input[type="search"] {padding:0;border:0;background:transparent;}
.oem-product-filter [data-product-count] {color:var(--muted);font-size:13px;}
.oem-product-groups {padding:0 22px 24px;}
.oem-product-group h3,.oem-product-detail h3 {font-size:16px;font-weight:650;margin:21px 0 12px;}
.oem-product-group h3 small,.oem-product-detail h3 small {font-size:12px;color:var(--muted);margin-left:4px;}
.oem-product-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:10px;}
.oem-product {display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:11px;border:1px solid #304762;border-radius:10px;background:#14243b;color:var(--ink);cursor:pointer;}
.oem-product:not([hidden]):hover,.oem-product:focus-visible {background:#1a304b;border-color:#77a1c9;}
.oem-product-thumb {width:52px;height:58px;flex:none;overflow:hidden;border-radius:6px;background:#223b57;display:grid;place-items:center;}
.oem-product-thumb img {width:100%;height:100%;object-fit:cover;}
.oem-product-copy {display:grid;gap:4px;min-width:0;flex:1;}
.oem-product-copy b {font-size:14px;}
.oem-product-copy small {font-size:12px;color:#b9cae1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.oem-product-copy span,.oem-product>svg {font-size:11px;color:#99cdec;}
.oem-products [hidden] {display:none;}
.oem-product-empty,.oem-product-detail p {color:#c1d0e4;line-height:1.7;}
.oem-product-detail .details {margin:16px 0;}
.oem-product-detail ul {margin:0;padding:0;list-style:none;max-height:34vh;overflow:auto;}
.oem-product-detail li {display:flex;gap:10px;justify-content:space-between;align-items:center;padding:8px 3px;border-bottom:1px solid var(--line);font-size:13px;}
.oem-product-detail li small {flex:none;font-size:12px;color:#abd1ef;}
@media (max-width:580px) {.oem-products .panel-head{align-items:flex-start;flex-wrap:wrap}.oem-product-filter,.oem-product-groups{margin-left:0;margin-right:0;padding-left:14px;padding-right:14px;}}

.gw-tabs {display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 24px;border-bottom:1px solid #344861}
.gw-tabs button {background:transparent;color:inherit;border:0;border-bottom:3px solid transparent;padding:12px 16px;font:inherit;cursor:pointer}
.gw-tabs button[aria-pressed="true"] {color:#a7d0ff;border-color:#88b9f6;font-weight:700}
.gw-tabs button:focus-visible {outline:2px solid currentColor;outline-offset:-3px}
.gw-active {color:#86e6bd}
