/* AIGC workshop: scoped styles so the existing New API shell and header stay intact. */
#xiongmao-workshop-root {
  --wk-ink: #263748;
  --wk-muted: #74849a;
  --wk-line: #dfe8f1;
  --wk-card: rgba(255,255,255,.92);
  --wk-blue: #328fe0;
  --wk-violet: #6756c6;
  position: fixed;
  z-index: 80;
  inset: var(--wk-top, 64px) 0 0;
  overflow: hidden;
  /* kill injected 64px pad under site header — root already starts below it */
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html[data-xm-workshop-route="1"] #xiongmao-workshop-root {
  padding-top: 0 !important;
  margin-top: 0 !important;
  color: var(--wk-ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(195,239,236,.76), transparent 42%),
    linear-gradient(145deg,#f4fbfc 0%,#f4f7fd 56%,#fbf8ff 100%);
  color-scheme: light;
}
#xiongmao-workshop-root.wk-no-site-header {
  inset: 0;
  display: flex;
  flex-direction: column;
}
#xiongmao-workshop-root.wk-no-site-header .wk-app {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
}
#xiongmao-workshop-root *, #xiongmao-workshop-root *::before, #xiongmao-workshop-root *::after { box-sizing:border-box; }
#xiongmao-workshop-root button, #xiongmao-workshop-root input, #xiongmao-workshop-root textarea, #xiongmao-workshop-root select { font:inherit; }
#xiongmao-workshop-root button { cursor:pointer; }
.wk-app { width:100%; height:100%; display:grid; grid-template-columns:216px minmax(0,1fr); }
.wk-rail {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:6px;
  margin:16px 0 16px 14px;
  padding:18px 12px 16px;
  border:none;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 50px rgba(72,58,130,.12), 0 2px 10px rgba(72,58,130,.06);
  backdrop-filter:blur(18px);
}
.wk-rail-user { display:flex;align-items:center;gap:11px;padding:4px 8px 16px;border-bottom:1px solid rgba(230,228,242,.9);margin-bottom:12px; }
.wk-user-meta { min-width:0; }
.wk-user-name { font-size:13px;font-weight:700;color:#2b2350;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3; }
.wk-user-balance { font-size:11px;color:#8b84a8;margin-top:2px; }
.wk-user-balance em { font-style:normal;color:#5b41b8;font-weight:700; }
.wk-rail-nav { display:flex;flex-direction:column;gap:4px; }
.wk-rail-btn {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  min-height:44px;
  padding:0 12px;
  border:none;
  border-radius:14px;
  background:transparent;
  color:#5d5678;
  font-size:13.5px;
  font-weight:600;
  text-align:left;
  text-decoration:none !important;
  position:relative;
  transition:.18s ease;
}
.wk-rail-btn *, .wk-rail-label, .wk-rail-btn span { text-decoration:none !important; }
.wk-rail-btn:hover { background:rgba(107,86,198,.07);color:#3f3670; }
.wk-rail-btn.active {
  background:linear-gradient(135deg,#4a3178 0%,#3d2a68 100%);
  color:#fff;
  box-shadow:0 8px 18px rgba(74,49,120,.32);
}
.wk-rail-btn.active:hover { color:#fff; }
.wk-rail-btn svg { width:19px;height:19px;flex:0 0 auto;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.wk-rail-label { white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.wk-rail-spacer { flex:1; }
.wk-avatar {
  width:40px;
  height:40px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#4a3178,#34245c);
  color:#fff;
  font-weight:700;
  font-size:15px;
}
.wk-body { min-width:0;height:100%;overflow:auto;padding:26px clamp(18px,4.2vw,68px) 38px;scrollbar-color:#cad9e4 transparent; }
.wk-topline {
  max-width:1480px;
  margin:0 auto 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 2px 0 6px;
  background: transparent;
  border-radius: 0;
}
.wk-topline[hidden] { display:none !important; }
.wk-compact-top .wk-topline { display:none !important; }
.wk-compact-top .wk-body { padding-top:12px; }
.wk-kicker { display:flex;align-items:center;gap:8px;color:#46858b;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase; }
.wk-kicker-dot { width:7px;height:7px;border-radius:50%;background:#35b38e;box-shadow:0 0 0 4px rgba(53,179,142,.11); }
.wk-user-tools { display:flex;align-items:center;gap:9px; }
.wk-balance { border:1px solid #d8e8e7;border-radius:999px;background:rgba(255,255,255,.76);padding:8px 13px;color:#3b686b;font-size:13px;font-weight:700;white-space:nowrap; }
.wk-balance strong { color:#178b83;font-variant-numeric:tabular-nums; }
.wk-connect { min-height:38px;padding:0 14px;border-radius:10px;border:1px solid #9bb7cf;background:#fff;color:#2f4a63;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px rgba(40,80,120,.08); }
.wk-connect.ready { border-color:#b9e4d7;background:#f1fbf7;color:#14845f; }
.wk-connect:hover { background:#f4f8fc; }
.wk-hero { max-width:1480px;margin:0 auto;text-align:center; }
.wk-hero h1 { margin:0;color:#34445a;font-size:clamp(31px,4.2vw,50px);font-weight:750;letter-spacing:.13em;line-height:1.18; }
.wk-hero h1 span { color:#7161cb; }
.wk-hero p { margin:11px 0 22px;color:#8290a2;font-size:13px;letter-spacing:.32em; }
.wk-mode-switch { width:fit-content; max-width:100%; margin:0 auto 22px; padding:5px; display:inline-grid; grid-template-columns:repeat(auto-fit,minmax(132px,1fr)); gap:4px; border:1px solid #dce6f4; border-radius:999px; background:rgba(255,255,255,.72); box-shadow:0 8px 28px rgba(79,106,154,.08); }
.wk-mode { min-height:42px; min-width:132px; padding:0 22px; border:0; border-radius:999px; background:transparent; color:#718097; font-weight:650; font-size:14px; display:flex; align-items:center; justify-content:center; gap:8px; transition:.2s; white-space:nowrap; }
.wk-mode svg { width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8; }
.wk-mode.active { background:linear-gradient(110deg,#50437f,#6955ae);color:white;box-shadow:0 5px 14px rgba(86,70,145,.22); }
.wk-workspace { width:min(100%,1280px);margin:0 auto;padding:24px 28px 22px;border:1px solid rgba(211,223,242,.95);border-radius:23px;background:var(--wk-card);box-shadow:0 22px 54px rgba(95,110,153,.12); }
.wk-prompt-label { margin:0 0 8px;color:#50657d;font-size:13px;font-weight:650;display:flex;justify-content:space-between;align-items:center; }
.wk-prompt { width:100%;min-height:106px;resize:vertical;padding:15px 16px;border:1px solid #dce5ed;border-radius:13px;background:rgba(255,255,255,.98);color:#263748;outline:none;font-size:14px;line-height:1.65;transition:.18s; }
.wk-prompt:focus { border-color:#9fc8ee;box-shadow:0 0 0 3px rgba(76,151,222,.12); }
.wk-prompt::placeholder { color:#a0adbd; }
.wk-drop { margin-top:10px;min-height:64px;padding:9px 12px;border:1px dashed #c8d6ee;border-radius:13px;background:#fbfcff;display:flex;align-items:center;gap:12px;color:#8591a4;font-size:12px; }
.wk-drop.drag { border-color:#5c9ee0;background:#eff7ff; }
.wk-add { width:46px;height:46px;border:1px dashed #b1c2e7;border-radius:12px;background:#fff;color:#8194b6;font-size:26px;line-height:1;display:grid;place-items:center;flex:0 0 auto; }
.wk-add:hover { color:#4389c7;border-color:#4389c7; }
.wk-refs { display:flex;gap:8px;overflow:auto;align-items:center; }
.wk-ref { width:48px;height:48px;position:relative;flex:0 0 auto;border-radius:9px;overflow:hidden;border:1px solid #dce4ec;background:#fff; }
.wk-ref img,.wk-ref video { width:100%;height:100%;object-fit:cover; }
.wk-ref button { position:absolute;top:2px;right:2px;width:17px;height:17px;border:0;border-radius:50%;background:rgba(30,40,50,.74);color:#fff;font-size:13px;line-height:17px;padding:0; }
.wk-tool-row { display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px;padding-top:13px;border-top:1px solid #edf1f7; }
.wk-select,.wk-chip,.wk-number { min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #dce5ef;border-radius:999px;background:#fff;color:#53637b;font-size:12px;font-weight:600; }
.wk-select select { max-width:190px;border:0;background:transparent;color:#53637b;outline:none; }
.wk-chip { cursor:pointer; }
.wk-chip-group { display:inline-flex;align-items:center;gap:5px; }
.wk-chip.active { border-color:#7666c1;background:#f3f1ff;color:#5948b0; }
.wk-chip:disabled,.wk-select:has(select:disabled) { opacity:.55;cursor:not-allowed; }
.wk-number { padding:0 7px; }
.wk-number input { width:42px;border:0;outline:none;text-align:center;color:#405268;background:transparent;font-weight:700; }
.wk-tool-spacer { flex:1; }
.wk-estimate { color:#8491a3;font-size:12px;white-space:nowrap;display:inline-flex;align-items:baseline;gap:6px;flex-wrap:nowrap; }
.wk-estimate .wk-est-usd { color:#d28c2c;font-weight:800;font-size:13px; }
.wk-estimate .wk-est-cny { color:#94a3b8;font-weight:600;font-size:11px; }
.wk-submit { min-height:40px;padding:0 20px;border:0;border-radius:999px;background:linear-gradient(110deg,#408fd4,#38b4aa);color:#fff;font-size:13px;font-weight:700;box-shadow:0 8px 19px rgba(54,151,183,.19);transition:.18s; }
.wk-submit:hover { filter:brightness(1.04);transform:translateY(-1px); }
.wk-submit:disabled { background:#aab6c4;box-shadow:none;cursor:not-allowed;transform:none; }
.wk-note { min-height:17px;margin:9px 2px 0;color:#8290a2;font-size:11px; }
.wk-note.error { color:#d04c55; }
.wk-note.ok { color:#168b6b; }
.wk-section { max-width:1320px;margin:27px auto 0; }
.wk-section-head { display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(208,221,236,.8);padding:0 2px 10px; }
.wk-tabs { display:flex;align-items:center;gap:22px; }
.wk-tab { position:relative;padding:6px 0;border:0;background:transparent;color:#8793a6;font-size:13px;font-weight:650; }
.wk-tab.active { color:#34445a; }
.wk-tab.active::after { content:"";position:absolute;bottom:-11px;left:0;right:0;height:2px;border-radius:2px;background:#7666c1; }
.wk-section-caption { color:#9aa5b5;font-size:11px; }
.wk-gallery { display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;padding-top:15px; }
.wk-empty { grid-column:1/-1;min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8a96a8;text-align:center; }
.wk-empty-icon { width:48px;height:48px;display:grid;place-items:center;margin-bottom:10px;border-radius:15px;background:#fff;color:#698fa7;font-size:24px;box-shadow:0 6px 18px rgba(70,111,139,.08); }
.wk-empty strong { color:#52657a;font-size:14px; }
.wk-empty span { margin-top:5px;font-size:12px; }
.wk-work-card { position:relative;overflow:hidden;border:1px solid #dce6ed;border-radius:14px;background:#fff;box-shadow:0 5px 15px rgba(49,76,98,.05); }
.wk-work-media { width:100%;aspect-ratio:4/3;background:#eef4f7;display:grid;place-items:center;overflow:hidden; }
.wk-work-media img,.wk-work-media video { width:100%;height:100%;object-fit:cover; }
.wk-work-placeholder { color:#8d9caf;font-size:12px; }
.wk-work-info { padding:10px 11px 11px; }
.wk-work-prompt { color:#53657a;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px; }
.wk-work-meta { display:flex;justify-content:space-between;align-items:center;margin-top:8px;color:#9aa5b3;font-size:10px;gap:8px; }
.wk-work-actions { display:flex;gap:6px; }
.wk-mini-btn { min-height:27px;padding:0 8px;border:1px solid #e1e8ef;border-radius:7px;background:#fff;color:#63748b;font-size:10px; }
.wk-mini-btn:hover { color:#338ac4;border-color:#b9d7ed; }
.wk-template-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;padding-top:15px; }
.wk-template { padding:14px;border:1px solid #dde7ef;border-radius:13px;background:rgba(255,255,255,.84); }
.wk-template h3 { margin:0 0 6px;color:#445970;font-size:13px; }
.wk-template p { margin:0;color:#8190a3;font-size:12px;line-height:1.55; }
.wk-template button { margin-top:10px;min-height:29px;padding:0 10px;border:1px solid #d8e5f0;border-radius:8px;background:white;color:#4f83af;font-size:11px;font-weight:650; }
.wk-panel { max-width:1180px;margin:0 auto;padding:10px 0; }
.wk-panel-title { margin:4px 0 6px;color:#374a60;font-size:24px;font-weight:730; }
.wk-panel-desc { margin:0 0 20px;color:#8391a3;font-size:13px; }
.wk-panel-box { padding:18px;border:1px solid #dce6ed;border-radius:16px;background:rgba(255,255,255,.87); }
.wk-canvas { position:relative;height:min(66vh,720px);min-height:420px;overflow:hidden;border:1px solid #d8e4ed;border-radius:15px;background-color:#fbfdff;background-image:radial-gradient(#cbd8e5 1px,transparent 1px);background-size:20px 20px; }
.wk-canvas-toolbar { display:flex;gap:8px;margin-bottom:11px; }
.wk-canvas-node { position:absolute;width:210px;min-height:118px;padding:12px;border:1px solid #cedbe6;border-radius:12px;background:white;box-shadow:0 7px 20px rgba(48,75,98,.12);cursor:move; }
.wk-canvas-node textarea { width:100%;min-height:80px;border:0;resize:both;outline:none;color:#52657a;font-size:12px; }
.wk-canvas-node img { max-width:100%;max-height:140px;object-fit:contain; }
.wk-canvas-node button { position:absolute;top:5px;right:6px;border:0;background:transparent;color:#9aa7b6; }
.wk-backdrop { position:fixed;inset:0;z-index:110;background:rgba(26,41,56,.25);display:grid;place-items:center;padding:20px; }
.wk-modal { width:min(480px,100%);max-height:85vh;overflow:auto;padding:20px;border:1px solid #d9e5ed;border-radius:17px;background:#fff;box-shadow:0 22px 64px rgba(35,58,77,.22); }
.wk-modal h2 { margin:0 0 8px;color:#33475d;font-size:18px; }
.wk-modal p { margin:0 0 14px;color:#8291a2;font-size:12px;line-height:1.6; }
.wk-modal-row { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e2eaf0;border-radius:11px;margin-top:8px; }
.wk-modal-row strong { color:#42576d;font-size:13px; }
.wk-modal-row small { display:block;color:#94a1af;font-size:11px;margin-top:3px; }
.wk-modal-row button,.wk-modal-foot button { min-height:34px;padding:0 12px;border:1px solid #d9e5ed;border-radius:9px;background:#fff;color:#4a6984;font-size:12px;font-weight:650; }
.wk-modal-row button.primary,.wk-modal-foot button.primary { border-color:#398fd0;background:#398fd0;color:#fff; }
.wk-modal-foot { display:flex;justify-content:flex-end;gap:8px;margin-top:15px; }
.wk-overlay { position:absolute;inset:0;z-index:10;background:rgba(248,251,253,.78);display:grid;place-items:center;backdrop-filter:blur(2px); }
.wk-overlay-card { max-width:430px;padding:20px;text-align:center; }
.wk-overlay-card strong { display:block;color:#465a70;font-size:15px; }
.wk-overlay-card p { color:#8795a5;font-size:12px;line-height:1.65; }
.wk-spinner { width:25px;height:25px;border:3px solid #d8e8ef;border-top-color:#3ba5a1;border-radius:50%;animation:wk-spin .7s linear infinite;margin:0 auto 11px; }
@keyframes wk-spin { to { transform:rotate(360deg); } }
@media(max-width:900px) {
  .wk-app { grid-template-columns:188px minmax(0,1fr); }
  .wk-rail { margin:12px 0 12px 10px;padding:14px 10px 12px;border-radius:20px; }
  .wk-rail-btn { min-height:40px;font-size:13px; }
  .wk-body { padding:20px 18px 28px; }
  .wk-workspace { padding:16px; }
  .wk-tool-spacer { display:none; }
}
@media(max-width:600px) {
  #xiongmao-workshop-root { inset:var(--wk-top,58px) 0 0; }
  .wk-app { grid-template-columns:56px minmax(0,1fr); }
  .wk-rail { gap:4px;margin:10px 0 10px 8px;padding:12px 8px;border-radius:18px; }
  .wk-rail-user { flex-direction:column;gap:0;padding:2px 0 10px;margin-bottom:8px; }
  .wk-user-meta { display:none; }
  .wk-avatar { width:34px;height:34px;font-size:13px; }
  .wk-rail-btn { justify-content:center;padding:0;min-height:38px;border-radius:12px; }
  .wk-rail-label { display:none; }
  .wk-rail-btn svg { width:18px;height:18px; }
  .wk-body { padding:15px 11px 24px; }
  .wk-topline { align-items:flex-start;flex-direction:column;margin-bottom:15px; }
  .wk-user-tools { width:100%;justify-content:space-between; }
  .wk-hero h1 { font-size:30px; }
  .wk-hero p { margin:7px 0 16px;letter-spacing:.2em; }
  .wk-mode-switch { margin-bottom:14px; }
  .wk-mode { min-height:38px;font-size:12px;gap:5px; }
  .wk-workspace { border-radius:17px;padding:12px; }
  .wk-prompt { min-height:96px; }
  .wk-select { flex:1 1 auto;justify-content:space-between; }
  .wk-select select { max-width:145px; }
  .wk-submit { flex:1; }
  .wk-gallery { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
  .wk-work-info { padding:8px; }
}

/* ===== Console + model plaza product layer ===== */
.xm-plaza-intro,.xm-dashboard-welcome{width:min(1180px,calc(100% - 40px));margin:18px auto 12px;padding:24px 28px;display:flex;align-items:flex-end;justify-content:space-between;gap:26px;border:1px solid #dce5ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(44,67,91,.06)}
.xm-eyebrow{display:block;color:#4787a1;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.xm-plaza-intro h2,.xm-dashboard-welcome h2{margin:7px 0 7px;color:#26384d;font-size:24px;line-height:1.2;letter-spacing:0}
.xm-plaza-intro p,.xm-dashboard-welcome p{max-width:650px;margin:0;color:#7a899a;font-size:13px;line-height:1.7}
.xm-plaza-actions,.xm-dashboard-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.xm-plaza-actions a,.xm-dashboard-actions a{display:inline-flex;align-items:center;gap:8px;min-height:37px;padding:0 14px;border:1px solid #d7e4ee;border-radius:9px;background:#f8fbfd;color:#3e6884;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.xm-plaza-actions a:first-child,.xm-dashboard-actions a:first-child{border-color:#438fd0;background:#438fd0;color:#fff}
.xm-plaza-actions a:hover,.xm-dashboard-actions a:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(52,119,164,.12)}
.xm-empty-extra{width:min(1180px,calc(100% - 40px));margin:18px auto 42px;padding:24px 28px;border:1px solid #dce5ef;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);box-shadow:0 10px 28px rgba(44,67,91,.05)}
.xm-empty-extra-head h3{margin:7px 0 6px;color:#2b4057;font-size:20px}
.xm-empty-extra-head p{max-width:680px;margin:0;color:#7b8998;font-size:13px;line-height:1.7}
.xm-empty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.xm-empty-card{display:flex;flex-direction:column;min-height:150px;padding:16px;border:1px solid #dfe8f0;border-radius:13px;background:#fff;color:inherit;text-decoration:none;transition:.18s ease}
.xm-empty-card:hover{border-color:#9bc8e5;box-shadow:0 9px 20px rgba(58,112,149,.1);transform:translateY(-2px)}
.xm-empty-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:13px;border-radius:10px;background:#edf6fb;color:#3188b3;font-size:11px;font-weight:800}
.xm-empty-card strong{color:#31485f;font-size:14px}.xm-empty-card>span:not(.xm-empty-icon){margin-top:6px;color:#8492a2;font-size:12px;line-height:1.5}.xm-empty-card b{margin-top:auto;padding-top:14px;color:#347eb0;font-size:12px}
.xm-plaza-count{color:#52748a!important;font-weight:650}
@media(max-width:760px){.xm-plaza-intro,.xm-dashboard-welcome{width:calc(100% - 24px);margin:12px auto;padding:18px;align-items:flex-start;flex-direction:column}.xm-plaza-intro h2,.xm-dashboard-welcome h2{font-size:20px}.xm-plaza-actions,.xm-dashboard-actions{width:100%;justify-content:flex-start}.xm-empty-extra{width:calc(100% - 24px);padding:18px;margin-bottom:28px}.xm-empty-grid{grid-template-columns:1fr}}

.xm-console-shell{width:min(1180px,calc(100% - 40px));margin:16px auto 12px;padding:22px 26px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border:1px solid #dce5ef;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(44,67,91,.05)}
.xm-console-shell h2{margin:7px 0 7px;color:#26384d;font-size:23px;line-height:1.22;letter-spacing:0}.xm-console-shell p{max-width:620px;margin:0;color:#7a899a;font-size:13px;line-height:1.7}.xm-console-shell-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.xm-console-shell-links a{display:inline-flex;align-items:center;gap:7px;min-height:35px;padding:0 12px;border:1px solid #d7e4ee;border-radius:9px;background:#f8fbfd;color:#3e6884;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.xm-console-shell-links a:first-child{border-color:#438fd0;background:#438fd0;color:#fff}.xm-console-shell-links a:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(52,119,164,.1)}
@media(max-width:760px){.xm-console-shell{width:calc(100% - 24px);margin:12px auto;padding:18px;align-items:flex-start;flex-direction:column}.xm-console-shell h2{font-size:20px}.xm-console-shell-links{width:100%;justify-content:flex-start}}

/* ===== Strong visual refresh: console + model plaza ===== */
:root{--xm-ink:#1d2b3a;--xm-muted:#748396;--xm-line:#dce5ee;--xm-blue:#3b88c7;--xm-surface:#fff;--xm-page:#f4f7fb}
body.xm-route-pricing,body.xm-route-console{background:var(--xm-page)!important;color:var(--xm-ink)}
body.xm-route-pricing{background:#030b18!important;color:#f4f7ff}
/* Keep site header chrome unchanged (light fixed bar) */
body.xm-route-pricing header.pointer-events-none,body.xm-route-console header.pointer-events-none{height:64px!important;min-height:64px!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #e7e9ee!important;box-shadow:0 1px 3px rgba(20,30,50,.04)!important;backdrop-filter:blur(16px);z-index:60}
body.xm-route-pricing header.pointer-events-none>div,body.xm-route-console header.pointer-events-none>div{height:64px!important;min-height:64px!important;max-width:none!important;padding:0 20px!important}
body.xm-route-pricing header.pointer-events-none nav a,body.xm-route-console header.pointer-events-none nav a{font-size:15px!important;font-weight:500!important;padding:8px 12px!important;border-radius:8px!important}
body.xm-route-pricing header.pointer-events-none nav a:hover,body.xm-route-console header.pointer-events-none nav a:hover{background:#f3f4f6!important}
body.xm-route-pricing header.pointer-events-none a,body.xm-route-console header.pointer-events-none a{transition:.18s ease;color:#3d4b5d!important}
body.xm-route-pricing header.pointer-events-none a:hover,body.xm-route-console header.pointer-events-none a:hover{color:#2375ad!important;background:#f1f7fb;border-radius:9px}
/* Plaza content is owned by xiongmao-plaza.css — do not paint light cards here */
body.xm-route-pricing .xm-plaza-intro{display:none!important}
body.xm-route-console .xm-console-shell{width:100%!important;max-width:none!important;margin:0 0 18px!important;padding:24px 28px!important;border-radius:17px!important;background:#fff!important;box-shadow:0 10px 26px rgba(40,76,105,.06)!important}
@media(max-width:640px){body.xm-route-pricing header.pointer-events-none>div,body.xm-route-console header.pointer-events-none>div{padding:0 14px!important}}

/* ===== Branded authentication surface ===== */
body.xm-route-auth{background:#f4f8fb!important;color:#21364a!important}
body.xm-route-auth [data-xm-auth-shell]{display:grid!important;grid-template-columns:minmax(300px,1.05fr) minmax(420px,.95fr)!important;min-height:100svh!important;background:#f4f8fb!important;overflow:hidden}
body.xm-route-auth [data-xm-auth-shell]>a{position:relative!important;top:auto!important;left:auto!important;z-index:2!important;grid-column:1!important;grid-row:1!important;align-self:start!important;margin:34px 0 0 48px!important;width:max-content!important;color:#21364a!important}
body.xm-route-auth [data-xm-auth-shell]>a h1{font-weight:800!important;letter-spacing:-.02em!important}
body.xm-route-auth [data-xm-auth-shell]>div.container{grid-column:1!important;grid-row:1!important;align-self:center!important;justify-self:center!important;width:min(480px,calc(100% - 80px))!important;padding:0!important;margin:0!important}
body.xm-route-auth [data-xm-auth-shell]>div.container>div{width:100%!important;padding:36px!important;border:1px solid #dce7ef!important;border-radius:22px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 22px 58px rgba(37,71,98,.11)!important}
body.xm-route-auth [data-xm-auth-shell] h2{margin:0!important;color:#1f3348!important;font-size:30px!important;letter-spacing:-.02em!important}
body.xm-route-auth [data-xm-auth-shell] form{gap:16px!important}
body.xm-route-auth [data-xm-auth-shell] input{height:44px!important;border:1px solid #d5e2eb!important;border-radius:11px!important;background:#fbfdff!important;padding:0 13px!important;color:#21364a!important}
body.xm-route-auth [data-xm-auth-shell] input:focus{border-color:#5aa3d5!important;box-shadow:0 0 0 3px rgba(77,157,211,.14)!important}
body.xm-route-auth [data-xm-auth-shell] form>button[type="submit"]{height:44px!important;border-radius:11px!important;background:#3d97d2!important;box-shadow:0 8px 18px rgba(44,132,192,.2)!important;font-weight:750!important}
body.xm-route-auth [data-xm-auth-shell] form>button[type="submit"]:hover{background:#2f87c1!important;transform:translateY(-1px)}
.xm-auth-aside{position:fixed;top:0;right:0;bottom:0;width:min(47.5vw,720px);display:flex;align-items:center;justify-content:center;padding:58px;background:linear-gradient(145deg,#dff4f2 0%,#e6f1fc 58%,#eef0fb 100%);border-left:1px solid #d9e7ef;overflow:hidden;z-index:5;box-sizing:border-box}
body.xm-route-auth [data-xm-auth-aside="1"]:before{content:"";position:absolute;width:360px;height:360px;right:-120px;top:-100px;border:1px solid rgba(71,147,182,.2);border-radius:50%;box-shadow:0 0 0 36px rgba(71,147,182,.05),0 0 0 72px rgba(71,147,182,.035)}
body.xm-route-auth [data-xm-auth-aside="1"] .xm-auth-aside-inner{position:relative;max-width:430px}.xm-auth-aside h2{margin:12px 0 12px;color:#203b52;font-size:38px;line-height:1.16;letter-spacing:-.03em}.xm-auth-aside p{margin:0;color:#668096;font-size:14px;line-height:1.85}body.xm-route-auth [data-xm-auth-aside="1"] .xm-auth-points{display:grid;gap:12px;margin-top:28px}body.xm-route-auth [data-xm-auth-aside="1"] .xm-auth-points span{display:flex;align-items:center;gap:12px;color:#35566d;font-size:13px;font-weight:650}body.xm-route-auth [data-xm-auth-aside="1"] .xm-auth-points b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #b9d9e6;border-radius:9px;background:rgba(255,255,255,.66);color:#3985ae;font-size:10px}body.xm-route-auth [data-xm-auth-aside="1"] .xm-auth-mark{margin-top:60px;color:#77a1b4;font-size:11px;font-weight:800;letter-spacing:.14em}
@media(max-width:860px){body.xm-route-auth [data-xm-auth-shell]{display:block!important;overflow:auto!important}body.xm-route-auth [data-xm-auth-shell]>a{display:flex!important;margin:22px 22px 0!important}body.xm-route-auth [data-xm-auth-shell]>div.container{width:min(500px,calc(100% - 28px))!important;margin:52px auto 32px!important}body.xm-route-auth [data-xm-auth-shell]>div.container>div{padding:26px!important}.xm-auth-aside{display:none!important}}

/* Douyin parser panel */
.wk-parser .wk-parser-card{margin-top:18px;border:1px solid var(--wk-line);border-radius:12px;background:var(--wk-card);overflow:hidden}
.wk-parser-head{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--wk-line);background:#f8fafc}
.wk-parser-head svg{width:18px;height:18px;color:#175cd3;flex:0 0 auto}
.wk-parser-head strong{font-size:13px;color:#344054}
.wk-parser-head span{margin-left:auto;color:#98a2b3;font-size:11px}
.wk-parser-form{display:grid;gap:12px;padding:18px}
.wk-parser-label{font-size:12px;color:#475467;font-weight:600}
.wk-parser-input{width:100%;min-height:80px;resize:vertical;padding:10px 12px;border:1px solid var(--wk-line);border-radius:8px;font-size:13px;line-height:1.6;font-family:inherit;color:var(--wk-ink);background:#fff;box-sizing:border-box}
.wk-parser-input:focus{outline:2px solid #b6d4fe;outline-offset:-1px;border-color:#84b5f5}
.wk-parser-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.wk-parser-status{font-size:12px;color:#667085;line-height:1.5;flex:1;min-width:120px}
.wk-parser-status.error{color:#b42318}
.wk-parser-status.success{color:#067647}
.wk-parser-result{margin-top:16px;border:1px solid var(--wk-line);border-radius:12px;overflow:hidden;background:var(--wk-card);box-shadow:0 4px 14px rgba(16,24,40,.06)}
.wk-parser-video-wrap{padding:14px;background:#101828}
.wk-parser-video-wrap video{width:100%;max-height:480px;display:block;margin:auto;background:#000;border-radius:6px}
.wk-parser-result-body{padding:16px 18px 18px}
.wk-parser-result-body h3{margin:0;color:#101828;font-size:15px;line-height:1.5}
.wk-parser-meta{margin:5px 0 0;color:#98a2b3;font-size:11px}
.wk-parser-link-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:13px}
.wk-parser-link-row input{min-width:0;padding:8px 10px;border:1px solid var(--wk-line);border-radius:6px;font-size:12px;color:#475467;background:#f9fafb}
.wk-parser-actions{display:flex;gap:9px;margin-top:13px;flex-wrap:wrap}
.wk-parser-actions .wk-submit{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.wk-parser-expiry{margin:14px 0 0;color:#667085;font-size:11px;line-height:1.5}
@media(max-width:640px){.wk-parser-row{flex-direction:column;align-items:stretch}.wk-parser-row .wk-submit{width:100%}.wk-parser-actions{flex-direction:column}.wk-parser-actions>*{width:100%;box-sizing:border-box}}

/* ===== generation progress bar =====
.wk-progress{margin:12px 0 4px;display:none}
.wk-progress-inner{background:#f7f6fc;border:1px solid #e6e0f4;border-radius:12px;padding:12px 14px}
.wk-progress-inner.done{background:#eefaf4;border-color:#b7e6cf}
.wk-progress-inner.error{background:#fdf0f0;border-color:#f0c4c4}
.wk-progress-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12.5px}
.wk-progress-phase{color:#4c3d80;font-weight:600;display:flex;align-items:center;gap:6px}
.wk-progress-inner.done .wk-progress-phase{color:#0e9f6e}
.wk-progress-inner.error .wk-progress-phase{color:#d94a4a}
.wk-progress-meta{color:#8a7cc0;font-size:11.5px;font-variant-numeric:tabular-nums}
.wk-progress-track{height:8px;background:#e6e0f4;border-radius:99px;overflow:hidden}
.wk-progress-fill{height:100%;background:linear-gradient(90deg,#7c5cd6,#4b7cf6);border-radius:99px;transition:width .4s ease;min-width:2%}
.wk-progress-fill.done{background:linear-gradient(90deg,#12b886,#0e9f6e)}
.wk-progress-fill.error{background:linear-gradient(90deg,#e5484d,#d94a4a)}

/* Injected base forces padding-top:64px — kill it everywhere */
html[data-xm-workshop-route="1"] #xiongmao-workshop-root,
#xiongmao-workshop-root {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.wk-body { padding-top: 14px !important; }
.wk-topline { top: 0 !important; margin-bottom: 8px !important; }
