:root {
  --ink: #17212b;
  --muted: #7e8b98;
  --line: #e7ebef;
  --paper: #f7f9fb;
  --white: #ffffff;
  --accent: #2764ff;
  --accent-soft: #edf2ff;
  --warm: #fff6e9;
  --green: #17a673;
  --shadow: 0 18px 50px rgba(26, 40, 66, .08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.api-loading-indicator { position: fixed; top: 16px; left: 50%; z-index: 1000; display: flex; align-items: center; gap: 8px; transform: translateX(-50%); padding: 9px 17px; border: 1px solid #c9d7ff; border-radius: 999px; color: #2857c8; background: rgba(246,249,255,.98); box-shadow: 0 8px 24px rgba(39,100,255,.22); font-size: 12px; font-weight: 650; }
.api-loading-indicator::before { content: ""; width: 13px; height: 13px; border: 2px solid #b9caff; border-top-color: #2764ff; border-radius: 50%; animation: apiLoadingSpin .75s linear infinite; }
.api-loading-indicator[hidden] { display: none; }
@keyframes apiLoadingSpin { to { transform: rotate(360deg); } }

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 14px; }
body.auth-locked { background: #0a111a; }
body.auth-locked .shell { display: none; }
body.auth-checking .shell, body.auth-checking .login-gate { visibility: hidden; }
.login-gate { min-height: 100vh; position: relative; display: grid; place-items: center; overflow: hidden; color: #edf4ff; background: radial-gradient(circle at 16% 18%, rgba(45, 105, 196, .2), transparent 31%), radial-gradient(circle at 83% 80%, rgba(107, 75, 212, .18), transparent 34%), #0a111a; }
body:not(.auth-locked) .login-gate { display: none; }
.login-gate:before { content: ""; position: absolute; inset: -20%; opacity: .31; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 88%); transform: perspective(500px) rotateX(58deg) translateY(18%); transform-origin: center bottom; animation: loginGridDrift 18s linear infinite; }
.login-gate:after { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle at 30% 42%, rgba(66, 139, 255, .17), transparent 15%), radial-gradient(circle at 72% 63%, rgba(129, 86, 255, .15), transparent 18%), conic-gradient(from 180deg at 50% 50%, transparent, rgba(84, 137, 255, .07), transparent 28%, rgba(142, 94, 255, .05), transparent 62%); mix-blend-mode: screen; animation: loginAurora 22s ease-in-out infinite alternate; pointer-events: none; }
.login-atmosphere { position: absolute; border: 1px solid rgba(131, 170, 255, .13); border-radius: 50%; pointer-events: none; }
.login-atmosphere-one { width: 620px; height: 620px; left: -265px; bottom: -300px; box-shadow: 0 0 0 42px rgba(93, 135, 219, .035), 0 0 0 105px rgba(93, 135, 219, .025); }
.login-atmosphere-two { width: 480px; height: 480px; right: -170px; top: -220px; box-shadow: 0 0 0 32px rgba(155, 119, 255, .035), 0 0 0 84px rgba(155, 119, 255, .025); }
.login-atmosphere-one { animation: loginOrbit 28s linear infinite; }
.login-atmosphere-two { animation: loginOrbitReverse 34s linear infinite; }
.login-particle-field { position: absolute; inset: 0; opacity: .72; background-image: radial-gradient(circle at 11% 24%, rgba(145,190,255,.9) 0 1px, transparent 2px), radial-gradient(circle at 22% 73%, rgba(117,163,255,.7) 0 1px, transparent 2px), radial-gradient(circle at 35% 19%, rgba(188,173,255,.7) 0 1px, transparent 2px), radial-gradient(circle at 47% 82%, rgba(121,193,255,.8) 0 1px, transparent 2px), radial-gradient(circle at 61% 16%, rgba(143,174,255,.7) 0 1px, transparent 2px), radial-gradient(circle at 75% 32%, rgba(195,177,255,.75) 0 1px, transparent 2px), radial-gradient(circle at 88% 71%, rgba(111,192,255,.85) 0 1px, transparent 2px), radial-gradient(circle at 93% 18%, rgba(155,191,255,.65) 0 1px, transparent 2px); animation: loginParticles 16s ease-in-out infinite alternate; pointer-events: none; }
.login-scanline { position: absolute; top: -30%; left: -15%; width: 130%; height: 1px; background: linear-gradient(90deg, transparent, rgba(114,168,255,.5), rgba(183,143,255,.28), transparent); box-shadow: 0 0 24px rgba(100,148,255,.4); opacity: .45; animation: loginScan 9s ease-in-out infinite; pointer-events: none; }
@keyframes loginGridDrift { from { transform: perspective(500px) rotateX(58deg) translateY(18%); } to { transform: perspective(500px) rotateX(58deg) translateY(26%); } }
@keyframes loginAurora { from { transform: rotate(-5deg) scale(1); opacity: .65; } to { transform: rotate(8deg) scale(1.08); opacity: 1; } }
@keyframes loginOrbit { to { transform: rotate(360deg); } }
@keyframes loginOrbitReverse { to { transform: rotate(-360deg); } }
@keyframes loginParticles { from { transform: translate3d(0, 0, 0) scale(1); opacity: .5; } to { transform: translate3d(0, -12px, 0) scale(1.04); opacity: .9; } }
@keyframes loginScan { 0%, 100% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: .55; } 55% { transform: translateY(125vh); } }
.login-shell { width: min(1260px, calc(100% - 108px)); position: relative; z-index: 3; }
.login-brand-line { display: flex; align-items: center; gap: 12px; margin-bottom: 62px; }
.login-brand-mark { width: 42px; height: 42px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(255, 112, 24, .18); }
.login-brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.login-brand-line b { display: block; color: #fff; font-size: 17px; letter-spacing: .3px; }
.login-brand-line span { display: block; margin-top: 4px; color: #718294; font-size: 9px; letter-spacing: 1.8px; }
.login-grid { display: grid; grid-template-columns: 620px 460px; gap: 108px; align-items: center; justify-content: center; }
.login-story { min-height: 456px; padding: 54px 56px 50px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(173, 203, 244, .16); border-radius: 22px; background: linear-gradient(145deg, rgba(23, 43, 72, .42), rgba(9, 18, 32, .2) 64%, rgba(70, 104, 178, .1)); box-shadow: 0 24px 70px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(6px); overflow: hidden; }
.login-story:before { content: ""; position: absolute; left: 56px; right: 56px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(126, 169, 255, .9), rgba(106, 222, 190, .38), transparent); opacity: .72; }
.login-kicker { color: #7e9ff0; font-size: 10px; letter-spacing: 2.2px; font-weight: 800; }
.login-story h1 { margin: 24px 0 34px; color: #f3f7ff; font-size: 52px; letter-spacing: 0; line-height: 1.18; }
.login-story h1 { position: relative; z-index: 2; max-width: 610px; }
.login-headline-nowrap { white-space: nowrap; }
.login-story h1 em { color: #8eaaff; font-style: normal; }
.login-story p { max-width: 520px; margin: 0; color: #a8b7c9; font-size: 14px; line-height: 1.9; }
.login-story { position: relative; }
.login-story p { max-width: 455px; position: relative; z-index: 2; }
.login-visual-system { position: fixed; z-index: 1; left: 50%; top: 50%; width: min(78vw, 940px); height: min(78vw, 940px); transform: translate(-50%, -50%); border-radius: 50%; opacity: .58; filter: drop-shadow(0 0 66px rgba(118, 174, 255, .48)) saturate(1.16); pointer-events: none; }
.login-visual-system:before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(171, 216, 255, .78); border-radius: 50%; box-shadow: inset 0 0 116px rgba(81, 151, 255, .22), 0 0 96px rgba(84, 157, 255, .27); }
.login-visual-system:after { content: ""; position: absolute; inset: 74px; border: 1px dashed rgba(222, 200, 255, .82); border-radius: 50%; animation: loginSystemSpinReverse 25s linear infinite; }
.login-system-label { position: absolute; right: 8%; top: 17%; color: #c7d7ff; font-size: 9px; letter-spacing: 2.2px; white-space: nowrap; }
.login-system-label i { display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%; background: #52e0aa; box-shadow: 0 0 11px #52e0aa; animation: loginNodePulse 1.5s ease-in-out infinite; }
.login-system-core { position: absolute; z-index: 4; left: 50%; top: 50%; width: 118px; height: 118px; display: grid; place-items: center; align-content: center; transform: translate(-50%, -50%); border: 1px solid rgba(199, 222, 255, .74); border-radius: 50%; color: #f5f8ff; background: radial-gradient(circle at 35% 28%, rgba(145,190,255,.9), rgba(53,87,187,.72) 42%, rgba(18,29,85,.74) 75%); box-shadow: 0 0 0 16px rgba(71, 119, 255, .08), 0 0 38px rgba(86, 137, 255, .72), 0 0 110px rgba(75, 83, 220, .46); animation: loginCoreBreath 3.8s ease-in-out infinite; }
.login-system-core:before { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(122, 171, 255, .32); border-radius: 50%; animation: loginCoreRing 2.8s ease-out infinite; }
.login-system-core span { font-size: 25px; font-weight: 800; letter-spacing: 3px; }
.login-system-core small { margin-top: 4px; color: #c6d8ff; font-size: 7px; letter-spacing: 1.7px; }
.login-system-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.login-system-ring-one { width: 190px; height: 190px; border: 1px solid rgba(185, 226, 255, .96); border-left-color: transparent; border-bottom-color: rgba(205, 185, 255, 1); animation: loginSystemSpin 7s linear infinite; }
.login-system-ring-two { width: 440px; height: 220px; border: 1px solid rgba(181, 207, 255, .92); border-right-color: transparent; transform: translate(-50%, -50%) rotate(31deg); animation: loginSystemSpin 12s linear infinite reverse; box-shadow: 0 0 38px rgba(121, 174, 255, .3); }
.login-system-ring-three { width: 760px; height: 450px; border: 1px dashed rgba(229, 204, 255, .86); border-top-color: rgba(160, 224, 255, 1); transform: translate(-50%, -50%) rotate(-26deg); animation: loginSystemSpinReverse 18s linear infinite; }
.login-system-node { position: absolute; z-index: 6; width: 11px; height: 11px; border: 2px solid #e7f0ff; border-radius: 50%; background: #4d82ff; box-shadow: 0 0 0 5px rgba(74, 130, 255, .14), 0 0 22px #5f93ff; animation: loginNodePulse 2s ease-in-out infinite; }
.node-one { left: 13%; top: 42%; animation-delay: -.3s; }
.node-two { right: 14%; top: 29%; background: #a77dff; box-shadow: 0 0 0 5px rgba(167,125,255,.15), 0 0 22px #a77dff; animation-delay: -.9s; }
.node-three { right: 22%; bottom: 12%; animation-delay: -1.5s; }
.node-four { left: 21%; bottom: 20%; background: #55d9ad; box-shadow: 0 0 0 5px rgba(85,217,173,.14), 0 0 22px #55d9ad; animation-delay: -1.1s; }
.node-five { left: 50%; top: 6%; background: #d6a55c; box-shadow: 0 0 0 5px rgba(214,165,92,.14), 0 0 22px #d6a55c; animation-delay: -.6s; }
.login-system-beam { position: absolute; z-index: 2; left: 50%; top: 50%; width: 360px; height: 2px; transform-origin: left center; background: linear-gradient(90deg, rgba(164, 207, 255, 1), rgba(96, 164, 255, .42), transparent); opacity: .9; }
.beam-one { transform: rotate(32deg); }
.beam-two { transform: rotate(211deg); background: linear-gradient(90deg, rgba(211, 180, 255, .98), rgba(167, 125, 255, .42), transparent); }
@keyframes loginSystemSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes loginSystemSpinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes loginCoreBreath { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.08); } }
@keyframes loginCoreRing { 0% { opacity: .8; transform: scale(.78); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes loginNodePulse { 0%, 100% { opacity: .6; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.25); } }
.login-signal { display: flex; align-items: center; gap: 11px; margin-top: 48px; color: #a9bad0; }
.signal-pulse { width: 9px; height: 9px; border-radius: 50%; background: #59d8a2; box-shadow: 0 0 0 6px rgba(89,216,162,.1), 0 0 22px rgba(89,216,162,.62); }
.login-signal b { display: block; color: #ced9e8; font-size: 10px; letter-spacing: 1.4px; }
.login-signal small { display: block; margin-top: 5px; color: #6f8194; font-size: 10px; }
.login-card { padding: 34px; border: 1px solid rgba(180, 204, 244, .17); border-radius: 20px; background: linear-gradient(145deg, rgba(28, 42, 60, .88), rgba(14, 24, 35, .92)); box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(18px); }
.login-card-head h2 { margin: 9px 0 8px; color: #f7faff; font-size: 25px; letter-spacing: -.6px; }
.login-card-head p { margin: 0 0 26px; color: #7f91a5; font-size: 12px; }
.login-gate-form { display: grid; gap: 14px; }
.login-gate-form label { display: grid; gap: 7px; color: #a6b7c9; font-size: 11px; }
.login-gate-form input { width: 100%; border: 1px solid rgba(167, 192, 231, .15); border-radius: 9px; padding: 12px 13px; outline: none; color: #eef5ff; background: rgba(5, 12, 20, .42); }
.login-gate-form input::placeholder { color: #607286; }
.login-gate-form input:focus { border-color: #6f91ed; box-shadow: 0 0 0 3px rgba(91, 125, 227, .14); }
.login-submit { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 5px; padding: 12px 14px; }
.login-submit span { font-size: 18px; font-weight: 400; line-height: 0; }
.login-error { min-height: 16px; color: #ff9c9c; font-size: 11px; line-height: 1.5; }
.login-hint { display: flex; gap: 9px; margin-top: 17px; padding: 12px; border: 1px solid rgba(126, 160, 226, .12); border-radius: 10px; background: rgba(91, 125, 227, .07); }
.login-hint-icon { width: 16px; height: 16px; display: grid; place-items: center; flex: 0 0 16px; border: 1px solid #718dd1; border-radius: 50%; color: #9fb8ff; font-size: 10px; }
.login-hint b { display: block; color: #c7d6ee; font-size: 10px; }
.login-hint small { display: block; margin-top: 4px; color: #7489a2; font-size: 10px; line-height: 1.6; }
.login-hint code { color: #b7caff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.login-card-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(174, 198, 233, .1); color: #5f7185; font-size: 9px; letter-spacing: .8px; }
.login-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 58px; color: #516276; font-size: 10px; letter-spacing: .5px; }
@media (max-width: 1220px) { .login-shell { width: min(1080px, calc(100% - 56px)); } .login-brand-line { margin-bottom: 48px; } .login-grid { grid-template-columns: minmax(500px, 560px) 420px; gap: 52px; } .login-story { padding: 48px; } .login-story:before { left: 48px; right: 48px; } .login-story h1 { font-size: 46px; } .login-card { padding: 30px; } }
@media (max-width: 1040px) { .login-shell { width: min(560px, calc(100% - 40px)); } .login-grid { grid-template-columns: 1fr; gap: 22px; } .login-story { min-height: auto; } .login-card { width: 100%; } .login-footer { margin-top: 34px; } }
@media (max-width: 820px) { .login-shell { width: min(560px, calc(100% - 30px)); } .login-brand-line { margin-bottom: 32px; } .login-story { padding: 30px; border-radius: 18px; } .login-story:before { left: 30px; right: 30px; } .login-story h1 { font-size: 34px; letter-spacing: 0; } .login-signal { margin-top: 25px; } .login-card { padding: 25px; } .login-footer { margin-top: 30px; } }
@media (max-width: 820px) { .login-story p { max-width: 285px; } .login-visual-system { left: 50%; top: 58%; right: auto; bottom: auto; width: min(92vw, 430px); height: min(92vw, 430px); opacity: .32; } .login-system-ring-two { width: 330px; height: 165px; } .login-system-ring-three { width: 520px; height: 310px; } .login-system-beam { width: 220px; } .login-system-label { right: 4%; top: 13%; font-size: 7px; } }

/* Wide-screen login composition: use the full canvas instead of centering two narrow cards. */
@media (min-width: 1221px) {
  .login-shell { width: calc(100% - 128px); max-width: 1780px; }
  .login-brand-line { margin-bottom: 84px; }
  .login-grid { grid-template-columns: minmax(700px, 1fr) minmax(420px, 480px); gap: clamp(90px, 9vw, 180px); justify-content: stretch; }
  .login-story { min-height: 510px; padding: 68px 0 68px 2.4vw; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; overflow: visible; }
  .login-story:before { display: none; }
  .login-story h1 { font-size: clamp(52px, 4.2vw, 72px); }
  .login-story p { max-width: 520px; }
  .login-card { width: 100%; justify-self: end; }
  .login-footer { margin-top: 78px; }
}

/* Balanced desktop composition: intentionally narrower than the full-canvas variant. */
@media (min-width: 1221px) {
  .login-shell { width: min(1480px, calc(100% - 128px)); }
  .login-brand-line { margin-bottom: 68px; }
  .login-grid { grid-template-columns: minmax(650px, 760px) 460px; gap: 100px; justify-content: center; }
  .login-story { min-height: 500px; padding: 60px 0 60px 18px; }
  .login-story h1 { font-size: clamp(48px, 3.6vw, 58px); max-width: 700px; line-height: 1.16; }
  .login-visual-system { width: min(68vw, 780px); height: min(68vw, 780px); opacity: .34; }
  .login-system-ring-two { width: 390px; height: 195px; }
  .login-system-ring-three { width: 640px; height: 380px; }
  .login-system-beam { width: 300px; }
  .login-footer { margin-top: 62px; }
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { min-height: 100vh; display: flex; }
.sidebar { width: 238px; background: #101820; color: #dce6ee; padding: 26px 16px 18px; display: flex; flex-direction: column; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 28px; }
.brand strong { display: block; color: #fff; font-size: 16px; letter-spacing: .3px; }
.brand span { display: block; color: #8091a0; font-size: 10px; margin-top: 4px; letter-spacing: .6px; text-transform: uppercase; }
.brand-mark { width: 42px; height: 42px; overflow: hidden; display: block; flex: 0 0 42px; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(255, 112, 24, .28); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
nav { display: grid; gap: 7px; }
.nav-item { border: 0; background: transparent; color: #91a0ad; border-radius: 10px; padding: 12px 13px; display: flex; align-items: center; gap: 12px; text-align: left; transition: .2s; }
.nav-item span { width: 19px; text-align: center; font-size: 18px; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: #273545; color: #fff; box-shadow: inset 3px 0 0 #6485ff; }
.sidebar-foot { margin-top: auto; display: flex; gap: 9px; align-items: center; padding: 14px 11px; border-top: 1px solid rgba(255,255,255,.08); color: #a5b6c5; }
.sidebar-foot b { display: block; color: #dce6ee; font-size: 12px; }
.sidebar-foot small { display: block; margin-top: 4px; color: #748694; font-size: 10px; }
.sidebar-user-copy { min-width: 0; flex: 1; }
.sidebar-user-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-logout { width: 26px; height: 26px; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; color: #9badbd; background: transparent; font-size: 16px; }
.sidebar-logout:hover { border-color: rgba(151,175,255,.55); color: #dce6ff; background: rgba(105,135,225,.14); }
.status-dot { width: 8px; height: 8px; background: #4bd495; border-radius: 50%; box-shadow: 0 0 0 5px rgba(75,212,149,.12); }
.work-title-link { color: inherit; text-decoration: none; }
.work-title-link:hover { color: var(--accent); text-decoration: underline; }
.work-original-link { color: var(--accent); text-decoration: none; white-space: nowrap; }
.work-original-link:hover { text-decoration: underline; }
.work-original-missing { color: var(--muted); white-space: nowrap; }
.main { flex: 1; min-width: 0; padding: 24px 32px 54px; max-width: 1700px; margin: 0 auto; }
.topbar { min-height: 77px; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.eyebrow, .section-kicker { margin: 0 0 7px; color: #94a0ac; font-size: 10px; letter-spacing: 1.7px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 25px; letter-spacing: -.5px; }
h2 { margin-bottom: 12px; font-size: 28px; letter-spacing: -.8px; line-height: 1.18; }
h3 { margin-bottom: 0; font-size: 16px; letter-spacing: -.15px; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.pill, .factory-badge { border: 1px solid #dbe3ff; background: var(--accent-soft); color: #4b62c7; padding: 7px 11px; border-radius: 99px; font-size: 12px; }
.ghost-btn, .secondary-btn, .primary-btn { border-radius: 9px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .2s; }
.ghost-btn:hover, .secondary-btn:hover { border-color: #b7c5ff; color: var(--accent); }
.primary-btn { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 7px 17px rgba(39,100,255,.2); }
.primary-btn:hover { background: #1c52dd; transform: translateY(-1px); }
.primary-btn:disabled { background: #c4cad4; border-color: #c4cad4; box-shadow: none; cursor: not-allowed; transform: none; }
.wide { width: 100%; }
.view { display: none; animation: fadein .22s ease; }
.view.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hero { min-height: 230px; background: linear-gradient(112deg, #1b2d45 0%, #243e62 54%, #3f57b7 100%); border-radius: 18px; padding: 32px 38px; color: #fff; display: flex; justify-content: space-between; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.hero:after { content: ""; width: 330px; height: 330px; position: absolute; right: 130px; top: -190px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.025); }
.hero h2 { font-size: 31px; max-width: 570px; margin-bottom: 15px; }
.hero h2 em { color: #b8c8ff; font-style: normal; }
.hero p { max-width: 620px; color: #b8c5d9; line-height: 1.7; margin: 0; }
.hero-kicker { display: inline-block; color: #b6c5e5; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 12px; }
.hero-orbit { width: 260px; height: 160px; position: relative; margin-right: 26px; z-index: 1; }
.orbit-center { position: absolute; top: 50px; left: 90px; width: 83px; height: 83px; border-radius: 50%; display: grid; place-items: center; align-content: center; text-align: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); font-size: 26px; font-weight: 800; line-height: 1; }
.orbit-center small { display: block; margin-top: 5px; color: #c1d0e3; font-size: 10px; font-weight: 500; }
.orb { position: absolute; padding: 7px 10px; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.23); border-radius: 99px; font-size: 11px; font-style: normal; }
.orb-1 { left: 22px; top: 22px; } .orb-2 { right: 0; top: 33px; } .orb-3 { left: 28px; bottom: 10px; } .orb-4 { right: 10px; bottom: 5px; }
.metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 16px 0; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.metric .label { color: var(--muted); font-size: 11px; } .metric .value { margin-top: 8px; font-size: 25px; font-weight: 750; letter-spacing: -.7px; } .metric .trend { margin-top: 5px; color: var(--green); font-size: 11px; }
.quick-row, .two-col, .factory-layout, .library-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; margin-bottom: 16px; }
.two-col { grid-template-columns: 1.35fr .65fr; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 21px; box-shadow: 0 5px 22px rgba(26,40,66,.025); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.panel-head h3 { margin-top: 2px; }
.icon-bubble { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.inline-form { display: flex; gap: 9px; } input, textarea, select { border: 1px solid #dfe5ea; border-radius: 8px; background: #fff; padding: 10px 11px; color: var(--ink); outline: none; min-width: 0; } input:focus, textarea:focus, select:focus { border-color: #8097ff; box-shadow: 0 0 0 3px rgba(39,100,255,.08); } .inline-form input:first-child { flex: 1; } .inline-form input[type=number] { width: 75px; }
.muted { color: var(--muted); font-size: 12px; } .mini-link { color: var(--accent); font-size: 12px; cursor: pointer; white-space: nowrap; } .quick-collect .muted { margin: 11px 0 0; }
.pulse-bar { margin-bottom: 10px; } .pulse-label { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 12px; } .pulse-track { height: 6px; overflow: hidden; background: #edf0f3; border-radius: 99px; } .pulse-fill { height: 100%; border-radius: inherit; background: var(--bar, #5876ff); }
.work-list { display: grid; gap: 4px; } .work-item { display: grid; grid-template-columns: 47px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f2f4; } .work-item:last-child { border-bottom: 0; } .work-thumb { width: 47px; height: 38px; border-radius: 7px; background-size: cover; background-position: center; } .work-title { font-size: 13px; font-weight: 650; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .work-meta { margin-top: 4px; font-size: 10px; color: var(--muted); } .score { text-align: right; color: #ee8a28; font-weight: 750; font-size: 13px; } .score small { display: block; color: var(--muted); font-weight: 400; font-size: 10px; margin-top: 3px; }
.idea-mini { padding: 13px 0; border-bottom: 1px solid #f0f2f4; cursor: pointer; } .idea-mini:last-child { border-bottom: 0; } .idea-mini b { display: block; font-size: 13px; margin-bottom: 6px; } .idea-mini span { color: var(--muted); font-size: 11px; }
.section-intro { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin: 10px 0 21px; } .section-intro h2 { margin-bottom: 8px; } .section-intro p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 680px; }
.filter-bar { display: flex; gap: 9px; margin-bottom: 16px; } .filter-bar input { flex: 1; } .filter-bar select { min-width: 130px; }
.research-account-hint { display: none; margin: -7px 0 16px; padding: 10px 12px; border: 1px solid #dce5ff; border-radius: 8px; background: #f5f7ff; color: #52628d; font-size: 11px; line-height: 1.6; }
.research-account-hint.show { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.research-account-hint .ghost-btn { flex: 0 0 auto; padding: 5px 8px; font-size: 11px; }
.real-insight { margin: -4px 0 16px; padding: 13px 15px; border-left: 3px solid var(--accent); border-radius: 8px; background: #f2f5ff; color: #52628d; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.quick-search-status { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #f5f7fb; color: #667383; font-size: 11px; line-height: 1.5; }
.search-state-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #93a0ad; }
.quick-search-status.status-running { background: #eef4ff; color: #4261a8; } .quick-search-status.status-running .search-state-dot { background: #4374ff; animation: search-pulse 1.1s infinite; }
.quick-search-status.status-completed { background: #edf9f2; color: #267a4c; } .quick-search-status.status-completed .search-state-dot { background: #31a866; }
.quick-search-status.status-failed { background: #fff1f1; color: #b53a43; } .quick-search-status.status-failed .search-state-dot { background: #d04d57; }
@keyframes search-pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.dashboard-bottom { margin-top: 16px; }
.dashboard-empty { display: grid; gap: 7px; padding: 12px 0; } .dashboard-empty b { font-size: 13px; } .dashboard-empty span { color: var(--muted); font-size: 11px; line-height: 1.6; } .dashboard-empty .ghost-btn { justify-self: start; margin-top: 4px; }
.run-card { display: grid; gap: 8px; padding: 12px; border: 1px solid #e8edf4; border-radius: 10px; background: #fbfcff; } .run-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; } .run-card-head b { font-size: 12px; } .run-card p { margin: 0; color: #637184; font-size: 11px; line-height: 1.55; } .run-card small { color: var(--muted); font-size: 10px; } .run-card .ghost-btn { justify-self: start; padding: 6px 9px; }
.search-status { display: inline-flex; padding: 3px 7px; border-radius: 99px; background: #edf0f5; color: #687585; font-size: 10px; white-space: nowrap; } .search-status.status-running { background: #eaf1ff; color: #3f68c2; } .search-status.status-completed { background: #e9f8ef; color: #2a8151; } .search-status.status-failed { background: #fff0f0; color: #bd4c53; } .search-status.status-cancelled { background: #fff6e5; color: #a56613; }
.next-action { position: relative; display: grid; gap: 4px; width: 100%; padding: 11px 30px 11px 12px; border: 1px solid #edf0f3; border-radius: 9px; background: #fff; text-align: left; cursor: pointer; } .next-action + .next-action { margin-top: 8px; } .next-action:hover { border-color: #cbd7ff; background: #fbfcff; } .next-action span { color: var(--ink); font-size: 12px; font-weight: 650; } .next-action small { color: var(--muted); font-size: 10px; line-height: 1.5; } .next-action b { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--accent); font-size: 16px; }
.dashboard-hero { min-height: 218px; display: flex; justify-content: space-between; gap: 30px; padding: 30px 34px; color: #fff; border-radius: 18px; background: linear-gradient(116deg, #17283e 0%, #27466d 58%, #4358bc 100%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.dashboard-hero:after { content: ""; position: absolute; width: 420px; height: 420px; right: 70px; top: -270px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.025); pointer-events: none; }
.dashboard-hero h2 { position: relative; z-index: 1; max-width: 620px; margin: 9px 0 14px; font-size: 30px; line-height: 1.25; }
.dashboard-hero h2 em { color: #b9c7ff; font-style: normal; }
.dashboard-hero p { position: relative; z-index: 1; max-width: 660px; margin: 0; color: #bdcbe0; font-size: 12px; line-height: 1.75; }
.dashboard-hero-side { position: relative; z-index: 1; display: grid; align-content: center; justify-items: stretch; gap: 9px; width: 165px; flex: 0 0 165px; }
.dashboard-hero-side .primary-btn { white-space: nowrap; }
.dashboard-hero-side .secondary-btn { color: #233d61; white-space: nowrap; }
.dashboard-sync { margin-bottom: 2px; color: #cbd7e8; font-size: 10px; text-align: right; }
.dashboard-metrics { margin-top: 14px; }
.metric { position: relative; overflow: hidden; }
.metric:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--metric-color, #5876ff); }
.metric .trend { color: var(--muted); }
.metric-blue { --metric-color: #5277f2; } .metric-orange { --metric-color: #ed922c; } .metric-purple { --metric-color: #8c62d8; } .metric-teal { --metric-color: #20a38d; } .metric-red { --metric-color: #dd6472; } .metric-green { --metric-color: #22a977; }
.dashboard-pipeline-panel { margin-bottom: 16px; }
.dashboard-pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dashboard-pipeline-stage { position: relative; min-width: 0; padding: 14px; border: 1px solid #e6ebf1; border-radius: 11px; color: var(--ink); background: #fbfcfe; text-align: left; cursor: pointer; transition: .2s; }
.dashboard-pipeline-stage:hover { border-color: #adc0ff; background: #f7f9ff; transform: translateY(-1px); }
.pipeline-index { display: inline-block; color: #9aa6b5; font-size: 10px; letter-spacing: 1px; }
.pipeline-stage-head { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.pipeline-stage-head b { font-size: 13px; }
.pipeline-stage-head i { color: var(--stage-color, var(--accent)); font-size: 15px; font-style: normal; }
.dashboard-pipeline-stage strong { display: block; margin-top: 14px; color: var(--stage-color, var(--accent)); font-size: 25px; line-height: 1; }
.dashboard-pipeline-stage small { display: block; margin-top: 6px; color: #536273; font-size: 10px; }
.dashboard-pipeline-stage em { display: block; min-height: 30px; margin-top: 10px; color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.5; }
.pipeline-stage-action { display: block; margin-top: 10px; color: var(--stage-color, var(--accent)); font-size: 10px; font-weight: 700; }
.stage-research { --stage-color: #5277f2; } .stage-ideas { --stage-color: #8c62d8; } .stage-production { --stage-color: #20a38d; } .stage-publish { --stage-color: #dd7c49; }
.dashboard-main-grid, .dashboard-results-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-bottom: 16px; }
.dashboard-results-grid { grid-template-columns: 1.2fr .8fr; }
.dashboard-results-grid-bottom { grid-template-columns: 1fr 1fr; }
.dashboard-priority-panel, .dashboard-research-panel { min-width: 0; }
.dashboard-research-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: -2px 0 14px; }
.dashboard-research-stats div { padding: 10px 9px; border-radius: 9px; background: #f5f7fb; }
.dashboard-research-stats b { display: block; color: #2d4e9c; font-size: 20px; }
.dashboard-research-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.dashboard-latest-research { display: grid; gap: 6px; padding: 11px 12px; border-left: 3px solid #5277f2; border-radius: 8px; background: #f6f8ff; }
.dashboard-latest-research span { color: #71809a; font-size: 10px; }
.dashboard-latest-research b { color: #3b4b67; font-size: 11px; line-height: 1.55; }
.dashboard-latest-research small { color: var(--muted); font-size: 10px; }
.dashboard-health-note { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.dashboard-health-note b { color: #536273; font-size: 11px; }
.dashboard-platform-pulse { margin-top: 15px; padding-top: 13px; border-top: 1px solid #edf0f3; }
.dashboard-subhead { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.dashboard-subhead b { font-size: 11px; } .dashboard-subhead span { color: var(--muted); font-size: 10px; }
.dashboard-output-item, .dashboard-activity-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0f2f4; }
.dashboard-output-item:last-child, .dashboard-activity-item:last-child { border-bottom: 0; }
.dashboard-output-item > div { min-width: 0; }
.dashboard-output-item b { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-output-item span { display: block; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-output-status { flex: 0 0 auto; padding: 4px 7px; border-radius: 99px; color: #687585; background: #f0f2f5; font-size: 9px; white-space: nowrap; }
.dashboard-output-status.status-pending_review { color: #a56613; background: #fff5df; } .dashboard-output-status.status-approved { color: #2863ca; background: #edf3ff; } .dashboard-output-status.status-success { color: #128057; background: #e7f8f0; }
.dashboard-activity-item { align-items: flex-start; }
.dashboard-activity-item .activity-kind { flex: 0 0 64px; padding-top: 2px; color: var(--accent); font-size: 10px; }
.dashboard-activity-item div { min-width: 0; flex: 1; }
.dashboard-activity-item b { display: block; color: #4a5867; font-size: 11px; font-weight: 600; line-height: 1.5; }
.dashboard-activity-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.next-action.action-warning { border-color: #f0d6a2; background: #fffaf0; } .next-action.action-warning b { color: #d0821f; }
.next-action.action-accent { border-color: #dce4ff; background: #fbfcff; }
.quick-platform { min-width: 126px; }
#collectBtn, #seedMoreBtn { display: none !important; }
.research-layout { display: grid; grid-template-columns: 1.6fr .7fr; gap: 16px; } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; min-width: 720px; } th { text-align: left; color: #98a2ad; text-transform: uppercase; letter-spacing: .7px; font-size: 10px; font-weight: 800; padding: 0 11px 10px; } td { border-top: 1px solid #eff2f4; padding: 12px 11px; vertical-align: middle; font-size: 12px; } .table-work { display: flex; align-items: center; gap: 10px; min-width: 245px; } .table-work .work-thumb { flex-shrink: 0; } .platform-tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 5px 8px; background: #f1f3f6; font-size: 11px; white-space: nowrap; } .platform-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tag-color, #7d8a98); }
.source-panel { max-height: 625px; overflow: auto; } .source-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f2f4; } .source-item:last-child { border-bottom: 0; } .source-item b { display: block; font-size: 12px; } .source-item small { display: block; color: var(--muted); margin-top: 4px; font-size: 10px; } .source-followers { font-weight: 700; font-size: 11px; color: #536273; }
.factory-badge { color: #19825f; background: #ebfbf4; border-color: #c9f0df; } .factory-layout { grid-template-columns: .7fr 1.3fr; } .form-panel label { display: block; font-size: 12px; color: #526170; margin-bottom: 13px; } .form-panel label input, .form-panel label textarea, .form-panel label select { width: 100%; margin-top: 6px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .idea-panel { min-height: 345px; } .idea-card { padding: 14px 15px; border: 1px solid #edf0f2; border-radius: 11px; margin-bottom: 8px; cursor: pointer; transition: .2s; } .idea-card:hover, .idea-card.selected { border-color: #a7b8ff; background: #f7f9ff; } .idea-card h4 { margin: 0 0 7px; font-size: 13px; } .idea-card p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0 0 8px; } .idea-card-footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; } .priority-high { color: #f06e49; } .priority-medium { color: #d38b25; } .priority-low { color: #7c8a95; }
.idea-research-badge { display: inline-flex; margin-left: 4px; padding: 2px 5px; border-radius: 99px; color: #4261a8; background: #edf3ff; font-size: 9px; }
.generation-panel { margin-bottom: 16px; } .generation-actions { display: flex; gap: 8px; } .generation-actions select { padding: 9px; } .platform-picker { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid #eef1f3; } .platform-choice { position: relative; } .platform-choice input { position: absolute; opacity: 0; } .platform-choice span { display: block; padding: 8px 10px; border: 1px solid #e1e6ea; border-radius: 99px; color: #65727e; font-size: 11px; cursor: pointer; } .platform-choice input:checked + span { color: #fff; border-color: var(--choice-color); background: var(--choice-color); } .selected-idea-preview { background: #fafbfc; border-radius: 10px; margin-top: 14px; padding: 14px; color: var(--muted); line-height: 1.6; white-space: pre-wrap; font-size: 12px; } .selected-idea-preview strong { color: var(--ink); }
.production-guidance-panel { margin-top: 14px; padding: 16px; border: 1px solid #dfe7f5; border-radius: 12px; background: linear-gradient(145deg, #fbfdff, #f6f9ff); }
.production-guidance-launcher { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 15px; border: 1px solid #b9caf4; border-radius: 12px; background: linear-gradient(135deg, #f5f8ff, #edf3ff); box-shadow: 0 5px 16px rgba(68, 97, 180, .08); }
.production-guidance-launcher > div:first-child { display: grid; gap: 4px; min-width: 0; }
.production-guidance-launcher b { color: #243652; font-size: 13px; }
.production-guidance-launcher small { color: #748197; font-size: 10px; line-height: 1.5; }
.production-guidance-launch-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.production-guidance-launch-actions .primary-btn { padding: 8px 12px; white-space: nowrap; box-shadow: 0 4px 10px rgba(47, 99, 224, .18); }
.production-guidance-modal .app-modal-dialog { max-width: 820px; }
.production-guidance-modal .production-guidance-grid { margin-top: 0; }
.production-guidance-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.production-guidance-head h4 { margin: 3px 0 4px; color: #243652; font-size: 14px; }
.production-guidance-head small { display: block; color: #748197; font-size: 10px; line-height: 1.55; }
.production-guidance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.production-guidance-grid label { display: grid; gap: 6px; color: #566474; font-size: 11px; }
.production-guidance-grid textarea { min-height: 82px; resize: vertical; background: #fff; border-color: #dfe6f1; line-height: 1.55; }
.production-guidance-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.production-guidance-actions small { color: #7c8798; font-size: 10px; line-height: 1.5; }
.production-guidance-actions .secondary-btn { flex: 0 0 auto; }
@media (max-width: 700px) { .production-guidance-grid { grid-template-columns: 1fr; } .production-guidance-actions { align-items: stretch; flex-direction: column; } .production-guidance-launcher { align-items: stretch; flex-direction: column; } .production-guidance-launch-actions { justify-content: space-between; } }
.media-generation-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #eef1f3; } .media-generation-bar label:first-child { display: flex; align-items: center; gap: 7px; color: #5c6874; font-size: 11px; } .media-generation-bar select { padding: 7px 9px; } .media-check { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid #e1e6ea; border-radius: 8px; color: #5c6874; font-size: 11px; } .media-check input { accent-color: var(--accent); } .reference-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 37px; padding-top: 10px; } .reference-label { color: #7c8792; font-size: 11px; } .reference-choice input { position: absolute; opacity: 0; } .reference-choice span { display: block; padding: 6px 9px; border: 1px solid #e1e6ea; border-radius: 7px; color: #687581; font-size: 10px; cursor: pointer; } .reference-choice input:checked + span { color: #315aca; border-color: #9cb1ff; background: #eff3ff; } .content-media-status { margin-top: 10px; color: #8994a0; font-size: 10px; } .content-media-status a { color: var(--accent); text-decoration: none; }
.workflow-config { display: grid; grid-template-columns: 1fr 1fr auto 1.8fr; gap: 10px; align-items: end; padding: 14px 0; border-bottom: 1px solid #eef1f3; }
.workflow-config label { display: grid; gap: 6px; color: #566472; font-size: 11px; }
.workflow-config select { width: 100%; background: #f7f9fc; }
.workflow-config .secondary-btn { white-space: nowrap; }
.content-structure-panel { margin-top: 14px; padding: 15px; border: 1px solid #e7edf5; border-radius: 11px; background: #fbfcff; }
.structure-head, .material-workflow-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.structure-head h3 { margin-top: 3px; }
.structure-confirm-btn { flex: 0 0 auto; padding: 7px 11px; font-size: 11px; }
.workflow-badge { display: inline-flex; padding: 5px 8px; border-radius: 99px; background: #eef1f5; color: #768291; font-size: 10px; white-space: nowrap; }
.workflow-badge.ready { color: #267a4c; background: #eaf8ef; }
.structure-preview { margin-top: 11px; padding: 13px 14px; border: 1px solid #edf0f3; border-radius: 9px; background: #fff; color: #546171; font-size: 11px; line-height: 1.65; max-height: 330px; overflow: auto; }
.structure-format { display: inline-flex; margin-bottom: 11px; padding: 4px 8px; border-radius: 99px; background: #edf3ff; color: #4261a8; font-size: 10px; }
.structure-preview ul { margin: 6px 0 8px 19px; padding: 0; }
.structure-preview li { margin: 4px 0; }
.structure-object { display: grid; gap: 8px; }
.structure-field { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid #f0f2f4; }
.structure-field b { color: #334155; font-size: 11px; }
.structure-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.structure-editor-field { display: grid; gap: 6px; min-width: 0; }
.structure-editor-field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #334155; font-size: 11px; }
.structure-editor-field > span small { color: #9aa6b5; font-size: 9px; }
.structure-editor-field textarea { min-height: 66px; width: 100%; resize: vertical; border-color: #dce5f3; background: #fff; color: #35445a; font-size: 11px; line-height: 1.55; }
.structure-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf0f3; }
.structure-editor-actions small { color: #7c8798; font-size: 10px; line-height: 1.5; }
.structure-ai-revise, .content-ai-revise { display: grid; gap: 8px; padding: 11px; border: 1px solid #dce5fa; border-radius: 10px; background: linear-gradient(145deg, #f8faff, #f1f5ff); }
.structure-ai-revise label, .content-ai-revise label { display: grid; gap: 6px; color: #4d5f78; font-size: 11px; }
.structure-ai-revise label > span, .content-ai-revise label > span { display: grid; gap: 3px; }
.structure-ai-revise label small, .content-ai-revise label small { color: #7c8aa1; font-size: 10px; line-height: 1.5; }
.structure-ai-revise textarea, .content-ai-revise textarea { width: 100%; min-height: 68px; resize: vertical; background: #fff; border-color: #cbd8f0; line-height: 1.55; }
.structure-ai-revise button, .content-ai-revise button { justify-self: start; }
.format-options-panel { display: grid; gap: 9px; padding: 12px; border: 1px solid #dce5fa; border-radius: 11px; background: linear-gradient(145deg, #fbfcff, #f3f6ff); }
.format-options-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.format-options-head > div { display: grid; gap: 3px; }
.format-options-head b { color: #263b73; font-size: 12px; }
.format-options-head small, .format-options-tip { color: #758198; font-size: 10px; line-height: 1.5; }
.format-options-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.format-options-grid-simple { grid-template-columns: minmax(140px, 220px); }
.format-options-grid label { display: grid; gap: 5px; color: #566472; font-size: 10px; }
.format-options-grid select { width: 100%; height: 34px; }
.format-checkbox { display: flex !important; align-items: center; gap: 6px !important; min-height: 34px; }
.format-checkbox input { width: auto !important; height: auto !important; }
.format-options-subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 3px; color: #41516d; font-size: 10px; }
.format-options-subhead small { color: #8692a7; font-size: 9px; }
.format-sentence-list, .format-subheading-list { display: grid; gap: 5px; max-height: 190px; overflow: auto; padding: 7px; border: 1px solid #e4eaf5; border-radius: 8px; background: rgba(255,255,255,.74); }
.format-sentence-row { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 7px !important; padding: 5px 6px; border-radius: 6px; color: #4d5f78 !important; font-size: 10px !important; line-height: 1.5; cursor: pointer; }
.format-sentence-row:hover { background: #eef4ff; }
.format-sentence-row input { flex: 0 0 auto; margin-top: 2px; }
.format-sentence-row span { min-width: 0; }
.format-subheading-row { display: grid !important; grid-template-columns: 48px minmax(0, 1fr) !important; align-items: center; gap: 7px !important; color: #6a7890 !important; font-size: 10px !important; }
.format-subheading-row input { min-width: 0; height: 30px !important; }
.format-options-empty { padding: 7px 2px; color: #8994a7; font-size: 10px; }
.rich-body-editor { display: grid; gap: 7px; padding: 10px; border: 1px solid #dce5fa; border-radius: 11px; background: #fbfcff; }
.rich-body-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #64748b; font-size: 10px; }
.rich-body-toolbar b { margin-right: 3px; color: #263b73; font-size: 12px; }
.rich-body-toolbar button, .rich-body-toolbar select, .rich-body-toolbar input { min-width: 30px; height: 28px; padding: 0 8px; border: 1px solid #d5deef; border-radius: 6px; background: #fff; color: #334155; cursor: pointer; }
.rich-body-toolbar input[data-rich-size] { width: 82px; min-width: 82px; }
.rich-current-style { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 7px; border: 1px solid #e3e9f5; border-radius: 6px; color: #64748b; background: #f8faff; font-size: 10px; white-space: nowrap; }
.rich-body-toolbar button:hover, .rich-body-toolbar select:hover, .rich-body-toolbar input:hover, .rich-body-toolbar input:focus { border-color: #8ea9e8; background: #f3f7ff; }
.rich-body-content { min-height: 245px; max-height: 420px; overflow: auto; padding: 12px; border: 1px solid #cbd8f0; border-radius: 8px; background: #fff; color: #243247; font-size: 13px; line-height: 1.85; outline: none; }
.rich-body-content:focus { border-color: #6f91dc; box-shadow: 0 0 0 3px rgba(76,113,210,.12); }
.editor-tools-details { margin: 10px 0; border: 1px solid #dce5fa; border-radius: 10px; background: #f8faff; }
.editor-tools-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 13px; border-radius: 9px; color: #fff; background: #2563eb; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.editor-tools-details > summary::-webkit-details-marker { display: none; }
.editor-tools-summary-action { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; color: #fff; font-size: 10px; font-weight: 600; }
.editor-tools-summary-action::before { content: '＋'; font-size: 13px; line-height: 1; }
.editor-tools-details[open] .editor-tools-summary-action::before { content: '－'; }
.editor-tools-details-body { display: grid; gap: 10px; padding: 0 12px 12px; }
.content-editor-focus-mode { align-items: stretch !important; padding: 10px !important; }
.content-editor-focus-mode .content-editor-dialog { width: min(1500px, 99vw); max-height: 98vh; }
.content-editor-focus-mode .content-editor-layout { min-height: calc(98vh - 110px); }
.rich-body-content p { margin: 0 0 13px; }
.rich-body-content h1 { margin: 20px 0 10px; color: #111827; font-size: 19px; font-weight: 850; text-align: center; }
.rich-body-content h2, .rich-body-content h3 { margin: 18px 0 8px; color: #111827; font-size: 16px; font-weight: 850; text-align: left; }
.rich-body-editor > small { color: #7b879b; font-size: 9px; line-height: 1.5; }
@media (max-width: 780px) { .format-options-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .structure-editor-grid { grid-template-columns: 1fr; } .structure-editor-actions { align-items: stretch; flex-direction: column; } }
.material-workflow { margin-top: 14px; }
.material-workflow-head { align-items: center; }
.material-workflow-head b { display: block; font-size: 12px; }
.material-workflow-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.material-search { display: flex; gap: 7px; min-width: min(420px, 48%); }
.material-search input { flex: 1; min-width: 0; }
.material-search .ghost-btn { white-space: nowrap; }
.workflow-materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.workflow-material-choice { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border: 1px solid #e7edf3; border-radius: 9px; background: #fff; cursor: pointer; }
.workflow-material-choice input { margin-top: 3px; accent-color: var(--accent); }
.workflow-material-choice span { min-width: 0; }
.workflow-material-choice b { display: block; overflow: hidden; color: #3f4c59; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.workflow-material-choice small, .workflow-material-choice em { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.45; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .content-card { border: 1px solid #edf0f2; border-radius: 11px; padding: 14px; min-height: 165px; } .content-card-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; } .content-card h4 { font-size: 13px; margin: 0 0 7px; line-height: 1.45; } .content-card p { color: #697681; font-size: 11px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } .variant { border-radius: 4px; color: #6f7d88; background: #f0f3f5; padding: 3px 5px; font-size: 10px; }
.content-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .content-actions .ghost-btn { padding: 6px 8px; font-size: 10px; text-decoration: none; } .generation-status { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #f5f7fb; color: #667383; font-size: 11px; line-height: 1.5; } .generation-status.status-running { background: #eef4ff; color: #4261a8; } .generation-status.status-completed { background: #edf9f2; color: #267a4c; } .generation-status.status-warning { background: #fff7e7; color: #a56613; } .generation-status.status-failed { background: #fff1f1; color: #b53a43; }
.content-editor-modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: rgba(16, 26, 40, .55); } .content-editor-dialog { width: min(1120px, 96vw); max-height: 92vh; overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.25); padding: 22px; } .content-editor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; } .content-editor-head h3 { margin-top: 4px; } .content-editor-layout { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr); gap: 18px; } .content-editor-form { display: grid; gap: 12px; } .content-editor-form label { display: grid; gap: 6px; color: #566472; font-size: 11px; } .content-editor-form textarea { resize: vertical; line-height: 1.65; } .content-editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; } .content-editor-preview { min-height: 480px; padding: 12px; border: 1px solid #edf0f3; border-radius: 10px; background: #f5f7fa; } .preview-label { margin-bottom: 9px; color: var(--muted); font-size: 10px; letter-spacing: .5px; } .formatted-preview { min-height: 420px; padding: 28px 24px; border-radius: 8px; color: #1f2937; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; } .formatted-preview small { color: #64748b; font-size: 10px; letter-spacing: 1px; } .formatted-preview h1 { margin: 16px 0 22px; font-size: 25px; line-height: 1.4; } .formatted-preview h2 { margin: 22px 0 9px; font-size: 18px; } .formatted-preview p { margin: 0 0 15px; font-size: 14px; line-height: 1.85; } .formatted-preview footer { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid #e5e7eb; font-size: 12px; }
.publish-actions { display: flex; gap: 8px; } .publish-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; } .summary-chip { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px; } .summary-chip b { display: block; font-size: 22px; } .summary-chip span { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; } .job-list { display: grid; gap: 9px; } .job-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; border: 1px solid #edf0f2; border-radius: 10px; padding: 13px; } .job-platform { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--job-color, #5876ff); font-weight: 750; } .job-item b { display: block; font-size: 13px; } .job-item small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; } .job-status { display: grid; justify-items: end; gap: 8px; text-align: right; } .job-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; } .job-actions .primary-btn, .job-actions .ghost-btn { padding: 7px 10px; font-size: 10px; white-space: nowrap; } .status-label { display: inline-block; border-radius: 99px; padding: 5px 8px; font-size: 10px; } .status-pending_review { color: #a56613; background: #fff5df; } .status-approved { color: #2863ca; background: #edf3ff; } .status-draft_ready { color: #146f56; background: #e5f8ef; } .status-scheduled_auto { color: #6350ae; background: #f0ecff; } .status-manual_opened { color: #86641a; background: #fff5d9; } .status-success { color: #128057; background: #e7f8f0; } .status-queued { color: #6f55c4; background: #f0ebff; }
.publish-controls { margin-bottom: 16px; }
.publish-control-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.publish-account-form { display: grid; grid-template-columns: .8fr 1fr .95fr 1.25fr auto; gap: 8px; align-items: end; }
.publish-account-form label, .user-create-form label { display: grid; gap: 6px; color: #566474; font-size: 11px; }
.publish-account-form label input, .publish-account-form label select { width: 100%; }
.publish-account-form input, .publish-account-form select { min-width: 0; background: #f7f9fc; border-color: #e5e9ee; }
.publish-account-form .primary-btn { padding: 9px 11px; white-space: nowrap; }
.publish-account-list { display: grid; gap: 8px; margin-top: 12px; max-height: 180px; overflow: auto; }
.publish-account-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid #edf0f2; border-radius: 9px; padding: 9px 11px; }
.publish-account-row b { font-size: 12px; }
.publish-account-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.publish-account-row .ghost-btn { padding: 6px 8px; color: #bd4c53; }
.account-row-actions { display: flex; align-items: center; gap: 6px; }
.account-row-actions .authorize-user-publish-account { color: #2563eb; }
.publish-account-row .ghost-btn:disabled { color: #7c8796; cursor: not-allowed; opacity: .85; }
.publish-auth-panel { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid #cbd8ff; border-radius: 12px; background: linear-gradient(135deg, #f5f7ff, #eef5ff); }
.publish-auth-copy { display: grid; gap: 4px; min-width: 0; }
.publish-auth-copy b { color: #263b73; font-size: 12px; }
.publish-auth-copy span { color: #66748f; font-size: 11px; line-height: 1.5; }
.publish-auth-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.publish-auth-actions .primary-btn, .publish-auth-actions .ghost-btn { padding: 7px 10px; white-space: nowrap; }
.publish-auth-error { color: #bd4c53; font-size: 11px; }
@media (max-width: 820px) { .publish-auth-panel { align-items: stretch; flex-direction: column; } .publish-auth-actions { flex-wrap: wrap; } }
.publish-account-select { width: 100%; margin-bottom: 10px; background: #f7f9fc; }
.publish-content-picker { display: grid; gap: 7px; max-height: 230px; overflow: auto; margin-bottom: 10px; }
.publish-content-choice { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border: 1px solid #edf0f2; border-radius: 8px; background: #fbfcfd; }
.publish-content-choice input { margin-top: 2px; accent-color: var(--accent); }
.publish-content-choice span { min-width: 0; color: #44515e; font-size: 11px; line-height: 1.45; }
.publish-content-choice small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.publish-queue-status { min-height: 18px; margin-top: 9px; color: #667383; font-size: 11px; line-height: 1.5; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; } .material-card { overflow: hidden; border: 1px solid #edf0f2; border-radius: 10px; } .material-cover { height: 91px; background: linear-gradient(135deg,#dbe2f9,#eff3fc); background-size: cover; background-position: center; } .material-info { padding: 11px; } .material-info b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .material-info small { display: block; color: var(--muted); font-size: 10px; margin-top: 6px; } .rights { display: inline-block; margin-top: 8px; border-radius: 99px; padding: 3px 6px; color: #a56613; background: #fff5df; font-size: 9px; } .vision-analyze { display: block; margin-top: 9px; padding: 6px 8px; font-size: 10px; }
.activity-item { padding: 10px 0; border-bottom: 1px solid #f0f2f4; display: flex; justify-content: space-between; gap: 15px; font-size: 12px; } .activity-item:last-child { border-bottom: 0; } .activity-item span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.settings-actions { display: flex; align-items: center; gap: 9px; } .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .settings-card { min-width: 0; } .settings-wide { grid-column: 1 / -1; } .settings-fields { display: grid; gap: 12px; } .settings-fields label { display: grid; gap: 6px; color: #566472; font-size: 11px; } .settings-fields input, .settings-fields select { width: 100%; background: #f7f9fc; border-color: #e5e9ee; } .three-fields { grid-template-columns: 1fr .65fr 1.35fr; align-items: end; } .crawler-options { margin-top: 12px; } .toggle-field { display: flex !important; grid-template-columns: 1fr auto !important; align-items: center; height: 40px; border: 1px solid #e5e9ee; border-radius: 8px; padding: 0 10px; background: #f7f9fc; } .toggle-field input { width: 18px !important; height: 18px; accent-color: var(--accent); } .settings-field-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 2px; } .settings-field-grid label { font-size: 10px; } .settings-field-grid input, .settings-field-grid select { padding: 8px 7px; } .settings-card .panel-head { align-items: center; } .settings-card .panel-head .ghost-btn { padding: 7px 9px; font-size: 11px; } .settings-tip { border-radius: 9px; background: #f5f7fb; color: #7b8794; font-size: 11px; line-height: 1.65; padding: 12px; } .license-warning { margin-top: 12px; color: #956626; background: #fff7e7; border: 1px solid #f4dfb5; }
.account-manager { margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf0f3; } .account-form { display: grid; grid-template-columns: .8fr 1fr 1.5fr 1.4fr auto; gap: 8px; } .account-form input, .account-form select { min-width: 0; background: #f7f9fc; border-color: #e5e9ee; } .account-form .primary-btn { padding: 9px 11px; white-space: nowrap; } .account-list { display: grid; gap: 8px; margin-top: 12px; } .account-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #edf0f2; border-radius: 9px; padding: 10px 12px; } .account-row b { font-size: 12px; } .account-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; } .account-actions { display: flex; gap: 6px; flex: 0 0 auto; } .account-row .ghost-btn { padding: 6px 8px; } .account-row .clear-account { color: #bd4c53; } .crawler-login-status { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #f5f7ff; color: #52628d; font-size: 11px; line-height: 1.55; } .crawler-login-status.error { background: #fff1f1; color: #b53a43; } .crawler-login-preview { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 12px; border: 1px solid #dfe7f3; border-radius: 9px; background: #fbfdff; } .crawler-login-preview-image { flex: 0 0 164px; width: 164px; height: 164px; display: grid; place-items: center; padding: 7px; background: #fff; border: 1px solid #e6ebf2; border-radius: 8px; } .crawler-login-preview-image img { display: block; width: 148px; height: 148px; object-fit: contain; } .crawler-login-preview-copy { min-width: 0; color: #52628d; font-size: 11px; line-height: 1.6; } .crawler-login-preview-copy b { display: block; color: #1c2d45; font-size: 13px; } .crawler-login-preview-copy p { margin: 5px 0; } .crawler-login-preview-copy small { color: var(--muted); } @media (max-width: 760px) { .crawler-login-preview { align-items: flex-start; } .crawler-login-preview-image { flex-basis: 142px; width: 142px; height: 142px; } .crawler-login-preview-image img { width: 126px; height: 126px; } }
.empty { color: var(--muted); padding: 26px 5px; text-align: center; font-size: 12px; } .toast { position: fixed; right: 26px; bottom: 25px; transform: translateY(20px); opacity: 0; pointer-events: none; background: #162231; color: #fff; padding: 12px 16px; border-radius: 9px; box-shadow: var(--shadow); transition: .25s; z-index: 20; font-size: 12px; } .toast.show { transform: none; opacity: 1; }
@media (max-width: 1100px) { .sidebar { width: 190px; } .main { padding: 22px; } .metric-grid { grid-template-columns: repeat(3, 1fr); } .hero-orbit { transform: scale(.8); margin-right: -10px; } }
@media (max-width: 820px) { .shell { display: block; } .sidebar { width: 100%; padding: 12px 14px; position: sticky; top: 0; z-index: 5; } .brand { padding: 0 4px 10px; } .sidebar nav { display: flex; overflow-x: auto; } .nav-item { padding: 8px 10px; white-space: nowrap; } .sidebar-foot { display: none; } .main { padding: 18px 14px 38px; } .hero { padding: 25px; } .hero-orbit { display: none; } .quick-row, .two-col, .factory-layout, .library-layout, .research-layout, .publish-control-grid, .content-editor-layout { grid-template-columns: 1fr; } .content-grid, .material-grid, .workflow-materials { grid-template-columns: 1fr 1fr; } .settings-grid { grid-template-columns: 1fr; } .settings-wide { grid-column: auto; } .three-fields, .account-form, .publish-account-form, .workflow-config { grid-template-columns: 1fr; } .settings-field-grid { grid-template-columns: repeat(2, 1fr); } .material-search { min-width: 0; width: 100%; } .material-workflow-head { align-items: stretch; flex-direction: column; } .section-intro, .topbar { align-items: flex-start; flex-direction: column; gap: 14px; } .top-actions { width: 100%; justify-content: space-between; } }
@media (max-width: 520px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } .inline-form, .filter-bar, .generation-actions { flex-wrap: wrap; } .inline-form input:first-child { min-width: 100%; } .filter-bar input, .filter-bar select, .filter-bar button { width: 100%; } .content-grid, .material-grid { grid-template-columns: 1fr; } .publish-summary { grid-template-columns: 1fr 1fr; } .hero h2 { font-size: 25px; } }

/* Publish center: one compact queue, grouped by the platform that will receive it. */
.publish-board-panel { padding: 0; overflow: hidden; }
.publish-board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.publish-board-toolbar > div:first-child { display: grid; gap: 4px; }
.publish-board-toolbar > div:first-child b { font-size: 14px; }
.publish-board-filters { display: flex; align-items: center; gap: 8px; }
.publish-board-filters select { min-width: 120px; background: #fff; }
.publish-platform-group { border-bottom: 1px solid var(--line); }
.publish-platform-group:last-child { border-bottom: 0; }
.publish-platform-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; }
.publish-platform-head > div { display: flex; align-items: center; gap: 10px; }
.publish-platform-head > div > div { display: grid; gap: 3px; }
.publish-platform-head b { font-size: 14px; }
.publish-platform-head small { color: var(--muted); font-size: 10px; }
.publish-platform-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--publish-color); font-weight: 750; }
.publish-platform-count { min-width: 26px; height: 24px; padding: 0 7px; display: grid; place-items: center; color: var(--publish-color); background: color-mix(in srgb, var(--publish-color) 10%, #fff); border-radius: 99px; font-size: 11px; font-weight: 750; }
.publish-job-list { display: grid; gap: 8px; padding: 0 18px 15px; }
.publish-job-card { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 18px; padding: 14px; border: 1px solid #e8edf3; border-left: 3px solid var(--publish-color); border-radius: 10px; background: #fff; }
.publish-failure-reason { color: #b53a43 !important; font-weight: 600; }
.publish-job-title { display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap; }
.publish-job-title b { min-width: 0; font-size: 13px; line-height: 1.5; }
.publish-job-main p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.publish-job-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 7px; color: #526171; font-size: 10px; }
.review-meta { display: block; margin-top: 8px; color: #8995a3; font-size: 10px; }
.publish-job-side { display: grid; align-content: center; gap: 10px; }
.publish-job-side label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.publish-job-side select { width: 100%; min-width: 0; background: #f8fafc; }
.publish-job-side .job-actions { justify-content: flex-start; }
.text-danger { border: 0; padding: 7px 4px; color: #c34e5c; background: transparent; font-size: 10px; cursor: pointer; }
.text-danger:hover { color: #a93443; text-decoration: underline; }
.status-rejected { color: #b43d4b; background: #fff0f1; }
.status-auto_pending { color: #7c58bb; background: #f2ecff; }
.publish-empty { display: grid; justify-items: center; gap: 5px; padding: 54px 18px; color: var(--muted); text-align: center; }
.publish-empty b { color: #3c4b5a; font-size: 13px; }
.publish-empty span { font-size: 11px; }
.user-center-layout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.publish-account-manager, .user-admin-panel { grid-column: 1 / -1; }
.publish-auth-qrcode { width: 180px; height: 180px; object-fit: contain; padding: 8px; background: #fff; border: 1px solid #e5eaf2; border-radius: 8px; }
.publish-auth-code-form { display: flex; gap: 8px; align-items: center; flex: 1 1 320px; }
.publish-auth-code-form input { min-width: 150px; }
.user-admin-panel { grid-column: 1 / -1; }
.user-login-form, .user-create-form { display: grid; gap: 10px; }
.user-login-form small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.user-session-note { min-height: 16px; margin-top: 12px; color: #53708f; font-size: 10px; line-height: 1.5; }
.user-create-form { grid-template-columns: 1fr 1fr 1fr .8fr; align-items: end; }
.user-create-form > label input, .user-create-form > label select { width: 100%; }
.permission-picker { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 9px 10px; border: 1px solid #e8edf2; border-radius: 8px; background: #fbfcfe; color: var(--muted); font-size: 10px; }
.permission-picker label { display: inline-flex; align-items: center; gap: 4px; color: #566474; }
.permission-picker input { accent-color: #2563eb; }
.permission-picker button { margin-left: auto; }
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #edf0f3; }
.user-row-main { min-width: 0; }
.user-row b { display: block; font-size: 12px; }
.user-row b small { color: var(--muted); font-size: 10px; font-weight: 500; }
.user-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.user-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: 0 0 auto; }
.user-row-actions .ghost-btn { padding: 6px 9px; font-size: 10px; }
.user-row-actions .delete-user { color: #bd4c53; }
.user-row-hint { white-space: nowrap; color: #8a96a3 !important; font-size: 10px !important; }
.user-current-badge, .user-protected-badge { display: inline-block; margin-left: 6px; padding: 3px 6px; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 500; vertical-align: 1px; }
.user-current-badge { color: #1e78a9; background: #eaf6ff; }
.user-protected-badge { color: #84611f; background: #fff5df; }
@media (max-width: 820px) { .publish-board-toolbar, .publish-board-filters { align-items: stretch; flex-direction: column; } .publish-job-card, .user-center-layout { grid-template-columns: 1fr; } .user-create-form { grid-template-columns: 1fr 1fr; } .user-admin-panel { grid-column: auto; } }
/* Generated media shown in the content editor preview. */
.formatted-preview-media { display: block; width: 100%; max-height: 360px; object-fit: cover; margin: 0 0 20px; border-radius: 10px; background: #e5e7eb; }
.formatted-preview-missing { margin: 0 0 18px; padding: 12px; border: 1px dashed #f0b44d; border-radius: 8px; background: #fff8e7; color: #a56613; font-size: 12px; line-height: 1.6; }

/* Publish summary mirrors the currently filtered queue and shows the platform split. */
.publish-summary { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 10px; }
.summary-chip { min-height: 106px; padding: 14px 16px; overflow: hidden; }
.summary-chip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-chip-head > span { display: inline-flex; align-items: center; gap: 6px; color: #536273; font-size: 11px; font-weight: 650; }
.summary-chip-head > b { color: #142338; font-size: 23px; line-height: 1; }
.summary-total { position: relative; background: linear-gradient(135deg, #f7f9ff 0%, #eef3ff 100%); border-color: #dce5ff; box-shadow: inset 4px 0 0 #5278ef; }
.summary-total-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #4261a8; font-size: 11px; font-weight: 700; }
.summary-total-label em { color: #7b8fbd; font-size: 10px; font-style: normal; font-weight: 500; }
.summary-total-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; }
.summary-total-main strong { display: inline-block; color: #172b5b; font-size: 29px; line-height: 1; }
.summary-total-main small { display: inline-block; margin-left: 6px; color: #7183aa; font-size: 10px; }
.summary-total-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: #5278ef; box-shadow: 0 7px 16px rgba(82,120,239,.25); font-size: 16px; font-style: normal; }
.summary-total-statuses { display: flex; flex-wrap: wrap; gap: 5px 9px; margin-top: 11px; }
.summary-platform-chip { border-top: 3px solid var(--publish-color, #2563eb); background: #fff; }
.summary-platform-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--publish-color, #2563eb); }
.summary-chip-statuses { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-top: 7px; }
.summary-platform-subtitle { margin-top: 7px; color: #96a1ad; font-size: 10px; }
.summary-status-item { color: #7a8794; font-size: 9px; white-space: nowrap; }
.summary-status-item b { color: #4d5d6d; font-weight: 700; }
.summary-status-item.status-pending_review { color: #a56613; }
.summary-status-item.status-approved { color: #4261a8; }
.summary-status-item.status-draft_ready { color: #146f56; }
.summary-status-item.status-scheduled_auto { color: #6350ae; }
.summary-status-item.status-rejected { color: #b43d4b; }
.summary-status-item.status-success { color: #26805a; }
.summary-status-empty { color: #9aa5b0; font-size: 9px; }

/* Publish groups are collapsible; each platform owns its own ten-item page. */
.publish-platform-group > summary { list-style: none; cursor: pointer; }
.publish-platform-group > summary::-webkit-details-marker { display: none; }
.publish-platform-head { position: relative; padding-right: 92px; }
.publish-platform-head::after { content: '展开'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); min-width: 48px; padding: 5px 9px; border: 1px solid #cbd8ff; border-radius: 999px; color: #3565d8; background: #f3f6ff; font-size: 10px; font-weight: 650; line-height: 1.2; text-align: center; transition: .18s ease; }
.publish-platform-group[open] > .publish-platform-head::after { content: '收起'; color: #fff; border-color: #3565d8; background: #3565d8; box-shadow: 0 5px 12px rgba(53,101,216,.18); }
.publish-platform-count { margin-right: 68px; }
.publish-platform-content { padding-top: 2px; }
.publish-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 15px; color: #8a96a3; font-size: 10px; }
.publish-pagination > div { display: flex; gap: 6px; }
.publish-pagination .ghost-btn { padding: 6px 9px; font-size: 10px; }
.publish-pagination .ghost-btn:disabled { cursor: default; opacity: .45; }

/* Asset library and published-work archive. */
.archive-library-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 16px; align-items: start; }
.asset-library-panel, .published-archive-panel { min-width: 0; }
.material-create-form { display: grid; grid-template-columns: 1.2fr 1.5fr .8fr 1fr; gap: 8px; align-items: end; padding: 12px; margin-bottom: 14px; border: 1px solid #e8edf3; border-radius: 10px; background: #fbfcfe; }
.material-create-form label { display: grid; gap: 6px; color: #566472; font-size: 10px; }
.material-create-form input, .material-create-form select { width: 100%; min-width: 0; }
.material-create-form label:nth-of-type(5) { grid-column: 1 / span 3; }
.material-create-form .primary-btn { white-space: nowrap; }
.archive-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 12px; }
.archive-filter-row b { color: #4d5d6d; font-size: 11px; }
.archive-filter-row select { width: 160px; background: #f8fafc; }
.material-cover { position: relative; display: grid; place-items: center; }
.material-cover-type { color: rgba(50,72,110,.62); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.material-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.material-card-title b { min-width: 0; }
.material-category-tag { flex: 0 0 auto; padding: 3px 5px; border-radius: 999px; color: #5b6b7c; background: #eef2f6; font-size: 9px; white-space: nowrap; }
.material-category-tag.category-video { color: #4665a7; background: #edf3ff; }
.material-category-tag.category-searched-image { color: #6d5c9e; background: #f2efff; }
.material-category-tag.category-ai-image { color: #21805c; background: #eaf8f1; }
.material-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 9px; }
.material-card-actions .ghost-btn { padding: 5px 7px; font-size: 9px; text-decoration: none; }
.material-card-actions .text-danger { padding: 5px 3px; }
.archive-disabled-action { color: #a3adb8; font-size: 9px; }
.published-archive-list { display: grid; gap: 9px; max-height: 650px; overflow: auto; }
.published-archive-item { padding: 12px; border: 1px solid #e7ecf2; border-left: 3px solid var(--publish-color, #2563eb); border-radius: 10px; background: #fff; }
.published-archive-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.published-archive-platform { color: var(--publish-color, #2563eb); font-size: 10px; font-weight: 700; }
.published-archive-item h4 { margin: 8px 0 5px; color: #253447; font-size: 12px; line-height: 1.45; }
.published-archive-item p { display: -webkit-box; margin: 0; overflow: hidden; color: #6f7d8b; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.published-archive-accounts { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 9px; color: #7d8997; font-size: 9px; line-height: 1.5; }
.published-archive-accounts span { white-space: nowrap; }
.published-archive-accounts b { color: #40536c; font-weight: 700; }
.published-archive-item > small { display: block; margin-top: 8px; color: #98a2ad; font-size: 9px; }
.published-archive-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.published-archive-actions .ghost-btn { padding: 5px 7px; font-size: 9px; text-decoration: none; }
.activity-item > div { min-width: 0; }
.activity-item > div b { display: inline-block; min-width: 58px; margin-right: 8px; color: #5270a8; font-size: 10px; font-weight: 650; }
.activity-item > div span { color: #536273; font-size: 11px; }
.activity-item time { color: var(--muted); font-size: 10px; white-space: nowrap; }
@media (max-width: 820px) { .archive-library-layout { grid-template-columns: 1fr; } .material-create-form { grid-template-columns: 1fr 1fr; } .material-create-form label:nth-of-type(5) { grid-column: 1 / -1; } }
.summary-status-item { display: inline-flex; align-items: center; gap: 4px; padding: 0 !important; border-radius: 0; background: transparent !important; }
.summary-status-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.summary-status-item.status-manual_opened { color: #86641a !important; }
.summary-status-item.status-auto_pending { color: #7c58bb !important; }
.status-failed { color: #b43d4b !important; background: #fff0f1 !important; }
.summary-status-item.status-failed { color: #b43d4b !important; background: transparent !important; }

.secret-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.secret-field .ghost-btn { min-height: 38px; white-space: nowrap; }
.secret-field .ghost-btn:disabled { cursor: default; opacity: .55; }
.xhs-data-config { display: grid; gap: 8px; margin-top: 12px; background: #f4f8ff; color: #53677f; }
.xhs-data-config b { color: #27466c; font-size: 12px; }
.xhs-data-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.xhs-data-fields label { display: grid; gap: 6px; color: #566472; font-size: 11px; }

/* Research controls live on the research page; the factory starts with the analysis output. */
.research-command-row { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; margin-bottom: 16px; }
.research-account-hint { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.research-mode-badge { display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid #cdebdc; border-radius: 99px; color: #278052; background: #eefaf3; font-size: 11px; white-space: nowrap; }
.pulse-label > span { display: inline-flex; align-items: center; gap: 6px; }
.pulse-more-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf0f3; color: #526170; font-size: 12px; }
.pulse-more-row:last-child { border-bottom: 0; }
.pulse-more-row > div { min-width: 0; display: grid; gap: 4px; }
.pulse-more-row > div > span { display: inline-flex; align-items: center; gap: 7px; }
.pulse-more-row small { overflow: hidden; color: #8a96a4; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.pulse-more-row b { flex: 0 0 auto; }
.panel-head-actions { display: flex; align-items: center; gap: 8px; }
.factory-research-output { margin-bottom: 16px; }
.factory-ideas-panel { min-height: 0; margin-bottom: 16px; }
.idea-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.idea-card-head h4 { min-width: 0; }
.idea-card-actions { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.idea-edit-btn, .idea-delete-btn { border: 0; padding: 2px 0; background: transparent; font-size: 10px; cursor: pointer; }
.idea-edit-btn { color: #315fe8; }
.idea-edit-btn:hover { color: #1d46c0; }
.idea-delete-btn { color: #bd4c53; }
.idea-delete-btn:hover { color: #9f2630; }
.copy-research-links-btn { color: #315fe8; border-color: #b8c9ff; background: #f7f9ff; }
.copy-research-links-btn:hover:not(:disabled) { color: #1d46c0; border-color: #315fe8; background: #eef3ff; }
.copy-research-links-btn:disabled { color: #9aaddf; border-color: #d5def6; background: #f8faff; }
.idea-more-list { display: grid; gap: 8px; }
.idea-more-list .idea-card { margin-bottom: 0; }
.app-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 22px; background: rgba(16, 26, 40, .5); }
.app-modal-dialog { width: min(760px, 94vw); max-height: 88vh; overflow: auto; padding: 21px; border: 1px solid #e7ebf2; border-radius: 15px; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.22); }
.app-modal-small { width: min(520px, 94vw); }
.schedule-publish-dialog { width: min(540px, 94vw); padding: 25px; border: 1px solid #dce6fb; box-shadow: 0 24px 80px rgba(30, 64, 125, .24); }
.schedule-publish-dialog .app-modal-head { margin-bottom: 19px; }
.schedule-publish-dialog .app-modal-head h3 { color: #203657; font-size: 21px; letter-spacing: 0; }
.schedule-publish-dialog .app-modal-head p { margin-top: 7px; line-height: 1.55; }
.schedule-publish-summary { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; padding: 12px 13px; border: 1px solid #e3eaf8; border-radius: 11px; background: linear-gradient(135deg, #f7f9ff, #fbfcff); }
.schedule-publish-summary-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #416fe9, #3155c9); font-size: 15px; font-weight: 800; box-shadow: 0 5px 12px rgba(49, 85, 201, .2); }
.schedule-publish-summary div { min-width: 0; }
.schedule-publish-summary b { display: block; overflow: hidden; color: #253a5a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-publish-summary small { display: block; margin-top: 4px; overflow: hidden; color: #8290a4; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-publish-fields { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.schedule-publish-field { display: grid; gap: 7px; color: #566474; font-size: 11px; font-weight: 700; }
.schedule-publish-field input, .schedule-publish-field select { width: 100%; min-height: 41px; border-color: #dce5f3; background: #fbfcff; color: #263b59; font-size: 13px; }
.schedule-publish-field input:focus, .schedule-publish-field select:focus { border-color: #6d8ff1; background: #fff; box-shadow: 0 0 0 3px rgba(75, 112, 227, .11); }
.schedule-time-controls { display: grid; grid-template-columns: 1fr 16px 1fr 16px; align-items: center; gap: 5px; }
.schedule-time-controls label { display: contents; }
.schedule-time-controls em { color: #8390a3; font-size: 11px; font-style: normal; text-align: center; }
.schedule-publish-preview { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 12px 13px; border: 1px solid #cfe6dc; border-radius: 10px; background: #f2fbf6; }
.schedule-publish-preview-icon { display: inline-grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #19835c; background: #dbf3e7; font-size: 15px; }
.schedule-publish-preview small { display: block; color: #6e8b7e; font-size: 10px; }
.schedule-publish-preview b { display: block; margin-top: 3px; color: #1e7655; font-size: 12px; }
.schedule-publish-dialog .app-modal-actions { margin-top: 20px; }
.schedule-publish-dialog .app-modal-actions .primary-btn { min-width: 118px; box-shadow: 0 6px 15px rgba(47, 99, 224, .22); }
@media (max-width: 520px) { .schedule-publish-dialog { padding: 20px; } .schedule-publish-fields { grid-template-columns: 1fr; } }
.app-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.app-modal-head h3 { margin-top: 4px; }
.app-modal-dialog form { display: grid; gap: 12px; }
.app-modal-dialog form label { display: grid; gap: 6px; color: #566472; font-size: 11px; }
.app-modal-dialog form textarea { resize: vertical; line-height: 1.65; }
.app-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.app-modal[hidden] { display: none; }
.feishu-check-dialog { width: min(980px, 96vw); }
.feishu-check-summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 12px; }
.feishu-summary-pass { color: #176d4b; border: 1px solid #bfe6d5; background: #f3fcf7; }
.feishu-summary-warning { color: #9a4b18; border: 1px solid #f2d2aa; background: #fff8ed; }
.feishu-summary-no_evidence { color: #5d6b7a; border: 1px solid #dce3eb; background: #f7f9fb; }
.feishu-check-note { margin-bottom: 12px; padding: 9px 11px; color: #9a4b18; border-radius: 8px; background: #fff8ed; font-size: 11px; }
.feishu-check-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 14px; }
.feishu-check-columns section, .feishu-source-list { min-width: 0; padding: 13px; border: 1px solid #e8edf3; border-radius: 11px; background: #fff; }
.feishu-check-columns h4, .feishu-source-list h4 { margin: 0 0 10px; color: #24344b; font-size: 12px; }
.feishu-subcheck-summary { margin: -2px 0 10px; color: #718092; font-size: 10px; line-height: 1.55; }
.feishu-check-items, .feishu-sensitive-list { display: grid; gap: 8px; }
.feishu-check-item, .feishu-sensitive-item { padding: 10px 11px; border: 1px solid #e7ebf1; border-left: 3px solid #b9c4d2; border-radius: 8px; background: #fbfcfe; }
.feishu-check-supported { border-left-color: #1e9d6d; background: #f6fcf8; }
.feishu-check-conflict { border-left-color: #d34a4a; background: #fff6f6; }
.feishu-check-insufficient { border-left-color: #e39a2b; background: #fffaf1; }
.feishu-check-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; }
.feishu-check-item-head b { color: #315fb9; }
.feishu-check-conflict .feishu-check-item-head b { color: #b9363f; }
.feishu-check-item p { margin: 7px 0 5px; color: #25344a; font-size: 12px; line-height: 1.6; }
.feishu-check-item small, .feishu-sensitive-item small { display: block; margin-top: 4px; color: #718092; font-size: 10px; line-height: 1.5; }
.feishu-check-item a, .feishu-source-list a { color: #315fe8; text-decoration: none; }
.feishu-check-item a:hover, .feishu-source-list a:hover { text-decoration: underline; }
.feishu-sensitive-item { border-left-color: #d34a4a; background: #fff7f7; }
.feishu-sensitive-item b { color: #b9363f; margin-right: 8px; }
.feishu-sensitive-item span { color: #475569; font-size: 11px; }
.feishu-source-list { margin-top: 14px; }
.feishu-source-list ol { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: #526174; font-size: 11px; }
.feishu-source-list li { padding-left: 2px; }
.feishu-source-list li small { display: block; margin-top: 3px; color: #8a96a5; line-height: 1.45; }
@media (max-width: 760px) { .feishu-check-columns { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .research-command-row { grid-template-columns: 1fr; } }

.research-inspiration-panel { margin-bottom: 16px; background: linear-gradient(135deg, #fff, #fbfcff); }
.interest-form { display: flex; gap: 8px; }
.interest-form input { flex: 1; min-width: 0; background: #f8faff; }
.interest-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.interest-chip { border: 1px solid #d9e3ff; border-radius: 99px; padding: 5px 9px; color: #4261a8; background: #f3f6ff; font-size: 10px; cursor: pointer; }
.interest-chip:hover { border-color: #9cb1ff; background: #edf2ff; }
.hot-inspiration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.hot-inspiration-card { min-width: 0; padding: 11px; border: 1px solid #e9edf3; border-radius: 10px; background: #fff; }
.hot-inspiration-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.hot-inspiration-head em { overflow: hidden; color: #a2742d; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.hot-inspiration-card > b, .hot-inspiration-card > a { display: -webkit-box; overflow: hidden; min-height: 34px; color: var(--ink); font-size: 11px; line-height: 1.55; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hot-inspiration-card > a:hover { color: var(--accent); }
.hot-inspiration-card > small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.hot-inspiration-card .ghost-btn { margin-top: 9px; padding: 5px 7px; font-size: 10px; }
.app-modal-wide { width: min(1120px, 96vw); }
.production-console { margin-bottom: 16px; background: linear-gradient(135deg, #fbfcff, #f5f8ff); }
.production-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 16px; }
.production-track > i { color: #a4afbf; font-size: 18px; font-style: normal; text-align: center; }
.production-track-item { min-height: 72px; padding: 10px; border: 1px solid #e4e9f1; border-radius: 10px; background: #fff; }
.production-track-item.completed { border-color: #b9e8d1; background: #f0fbf5; }
.production-track-item > span { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: #fff; background: #a0acbb; font-size: 10px; font-weight: 800; }
.production-track-item.completed > span { background: #18a66a; }
.production-track-item b { display: block; margin-top: 7px; color: #334155; font-size: 11px; }
.production-track-item.completed b { color: #197a53; }
.production-track-item small { display: block; margin-top: 4px; color: #7b8794; font-size: 9px; line-height: 1.4; }
.production-summary { display: grid; grid-template-columns: .8fr .9fr 1.8fr; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e8edf5; }
.production-summary > div { min-width: 0; padding: 10px; border-radius: 9px; background: rgba(255,255,255,.75); }
.production-summary small { display: block; color: #8a96a4; font-size: 9px; }
.production-summary b { display: block; margin-top: 6px; color: #334155; font-size: 12px; }
.production-summary p { margin: 6px 0 0; color: #627184; font-size: 10px; line-height: 1.55; }
.production-summary .secondary-btn { margin-top: 7px; padding: 6px 8px; font-size: 10px; }
#productionFocusBtn, #productionBuildBtn, .production-summary, .generation-actions { display: none !important; }
.workflow-config { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.workflow-config label { display: none; }
.workflow-config .muted { font-size: 10px; }
.platform-output-configs { margin-top: 12px; padding: 12px 14px; border: 1px solid #e5eaf2; border-radius: 11px; background: #fbfcff; }
.platform-output-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.platform-output-head b { display: block; color: #334155; font-size: 12px; }
.platform-output-head small, .platform-output-head > span { color: #8793a1; font-size: 9px; }
.platform-output-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.platform-output-row { display: grid; grid-template-columns: minmax(110px, .85fr) 1fr 1fr 1fr; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid #e8edf4; border-radius: 9px; background: #fff; }
.platform-output-identity { display: grid; grid-template-columns: 7px minmax(0, 1fr); column-gap: 7px; align-items: center; min-width: 0; }
.platform-output-identity i { grid-row: span 2; width: 7px; height: 26px; border-radius: 99px; }
.platform-output-identity b { overflow: hidden; color: #334155; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.platform-output-identity small { overflow: hidden; color: #8a96a4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.platform-output-row label { display: grid; gap: 4px; color: #8a96a4; font-size: 8px; }
.platform-output-row select, .platform-output-row input { min-width: 0; padding: 7px 8px; color: #4b5b70; font-size: 10px; }
.platform-output-empty { padding: 10px; color: #8a96a4; font-size: 10px; }
.production-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 12px 14px; border: 1px solid #d9e5ff; border-radius: 11px; background: linear-gradient(135deg, #f5f8ff, #eef4ff); }
.production-action-bar b { display: block; color: #244b9b; font-size: 11px; }
.production-action-bar small { display: block; margin-top: 4px; color: #7182a3; font-size: 9px; }
.production-action-controls { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.production-action-controls label { display: flex; align-items: center; gap: 6px; color: #7182a3; font-size: 9px; white-space: nowrap; }
.production-action-controls select { width: 90px; padding: 8px; }
.content-platform-group { margin-top: 14px; padding: 12px; border: 1px solid #e5eaf2; border-left: 3px solid var(--group-color, #64748b); border-radius: 11px; background: #fbfcff; }
#contentPreview { display: block; }
.content-platform-group:first-child { margin-top: 0; }
.content-platform-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.content-platform-group-head > div { display: flex; align-items: center; gap: 7px; min-width: 0; }
.content-platform-group-head b { color: #334155; font-size: 12px; }
.content-platform-group-head small, .content-platform-group-head > span:last-child { color: #8a96a4; font-size: 9px; }
.content-platform-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--group-color, #64748b); }
.platform-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.content-format-chip { padding: 3px 5px; border-radius: 5px; color: #526b9b; background: #edf3ff; font-size: 9px; }
.content-platform-group .content-card { background: #fff; }
.recent-content-actions { flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.recent-action { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border-radius: 7px; font-size: 10px; line-height: 1; white-space: nowrap; cursor: pointer; }
.more-action { border: 1px solid #c9d9ff; color: #2563eb; background: #f4f7ff; font-weight: 650; }
.more-action:hover { border-color: #8eb0ff; background: #eaf0ff; }
.recent-content-actions .danger-link { border: 1px solid transparent; color: #b95a63; background: transparent; }
.recent-content-actions .danger-link:hover { border-color: #f1cdd1; background: #fff6f7; color: #9f3d48; }
.publish-action { color: #2563eb; background: transparent; font-weight: 600; }
.publish-action:hover { color: #1d4ed8; background: #eef3ff; }
.recent-content-actions button:disabled { cursor: wait; opacity: .55; }
@media (max-width: 900px) { .hot-inspiration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .production-track { grid-template-columns: 1fr 1fr; } .production-track > i { display: none; } .production-summary { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .platform-output-grid, .platform-content-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .platform-output-grid, .platform-content-grid { grid-template-columns: 1fr; } .platform-output-row { grid-template-columns: 1fr 1fr; } .platform-output-identity { grid-column: 1 / -1; } .production-action-bar { align-items: stretch; flex-direction: column; } .production-action-controls { justify-content: space-between; } }

/* Content factory actions follow the production order: prepare, build, publish. */
#productionFocusBtn { display: inline-flex !important; align-items: center; justify-content: center; min-width: 132px; padding: 10px 15px; }
#productionFocusBtn:disabled { opacity: .55; }
.workflow-config { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 13px 14px; border: 1px solid #dce6f5; border-radius: 10px; background: #f8fbff; }
.workflow-config:before { content: "02"; display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 8px; color: #fff; background: #3d73e8; font-size: 10px; font-weight: 850; }
.workflow-config .secondary-btn { min-width: 174px; color: #fff; border-color: #3d73e8; background: #3d73e8; box-shadow: 0 6px 14px rgba(61,115,232,.18); font-weight: 750; }
.workflow-config .secondary-btn:hover { color: #fff; border-color: #2c5fc9; background: #2c5fc9; }
.workflow-config .secondary-btn:disabled { color: #fff; border-color: #b8c7df; background: #b8c7df; box-shadow: none; }
.production-action-bar { align-items: center; min-height: 64px; border-color: #bfe6d5; background: linear-gradient(135deg, #f3fcf7, #eaf8f1); box-shadow: 0 7px 18px rgba(36,143,96,.08); }
.production-action-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.production-step-number { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 9px; color: #fff; background: #1e9d6d; font-size: 10px; font-weight: 850; }
.production-action-bar b { color: #176d4b; font-size: 12px; }
.production-action-bar small { color: #638477; font-size: 10px; }
.production-final-btn { min-width: 118px; padding: 10px 17px; border-color: #1e9d6d; background: #1e9d6d; box-shadow: 0 7px 15px rgba(30,157,109,.2); }
.production-final-btn:hover { border-color: #16875c; background: #16875c; }
.production-final-btn:disabled { border-color: #b8c7c0; background: #b8c7c0; }
.platform-output-configs { border-color: #d9e3f0; background: #fbfdff; }
.platform-output-head { padding-bottom: 2px; }
.platform-output-row { border-color: #e1e9f3; }
.production-guidance-launch-actions { min-width: 0; }
.content-media-failure { display: inline-block; margin-right: 6px; color: #b45309; }
.content-actions .stage-content { color: #fff; border-color: #1e9d6d; background: #1e9d6d; box-shadow: 0 5px 12px rgba(30,157,109,.16); }
.content-actions .stage-content:hover { border-color: #16875c; background: #16875c; }
.content-actions .edit-content { color: #315fb9; border-color: #cbdafa; background: #f3f7ff; }
.crawler-login-verification { margin-top: 10px; padding: 11px 12px; border: 1px solid #f0d9a4; border-radius: 9px; background: #fffaf0; color: #6e5521; font-size: 11px; line-height: 1.55; }
.crawler-login-verification b { display: block; color: #5d4518; font-size: 13px; }
.crawler-login-verification p { margin: 4px 0 8px; }
.crawler-login-verification-options { display: flex; flex-wrap: wrap; gap: 8px; }
.crawler-login-verification-options .verification-option { padding: 8px 12px; border: 1px solid #e4c982; border-radius: 7px; background: #fff; color: #6e5521; cursor: pointer; }
.crawler-login-verification-options .verification-option:hover { border-color: #b57a18; background: #fff5d9; }
.crawler-login-verification-options .verification-option:disabled { opacity: .6; cursor: wait; }
.crawler-login-verification form { display: flex; gap: 8px; align-items: center; max-width: 420px; }
.crawler-login-verification input { flex: 1 1 auto; min-width: 0; padding: 8px 9px; border: 1px solid #e4c982; border-radius: 7px; background: #fff; color: #332a18; letter-spacing: 2px; }
.crawler-login-verification button { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 7px; background: #b57a18; color: #fff; cursor: pointer; }
@media (max-width: 560px) { .crawler-login-verification form { align-items: stretch; flex-direction: column; } }

.crawler-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.crawler-actions .primary-btn, .crawler-actions .ghost-btn { padding: 7px 10px; font-size: 11px; white-space: nowrap; }
@media (max-width: 760px) { .crawler-actions { gap: 6px; } .crawler-actions .primary-btn, .crawler-actions .ghost-btn { padding: 7px 8px; } }
@media (max-width: 620px) { .content-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .content-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.content-actions .feishu-check-content, .feishu-check-editor { color: #315fe8; border-color: #b8c9ff; background: #f7f9ff; }
.content-actions .feishu-check-content:hover:not(:disabled), .feishu-check-editor:hover:not(:disabled) { color: #1d46c0; border-color: #315fe8; background: #eef3ff; }
.work-link-divider { display: inline-block; margin: 0 6px; color: #c4ccd7; }
.copy-work-link-btn { margin: 0; padding: 0; border: 0; border-radius: 0; color: var(--accent); background: transparent; font: inherit; line-height: inherit; cursor: pointer; }
.copy-work-link-btn:hover:not(:disabled) { color: var(--accent); text-decoration: underline; }
.copy-work-link-btn:disabled { color: #a4afc2; background: transparent; cursor: not-allowed; }

.add-research-sample { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 84px; font-weight: 650; transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.add-research-sample.is-add { color: #315fb9; border-color: #cbdafa; background: #f3f7ff; }
.add-research-sample.is-add:hover { color: #244da0; border-color: #9fb7ed; background: #eaf1ff; }
.add-research-sample.is-selected { color: #14774f; border-color: #8fd5b4; background: #eaf9f1; box-shadow: inset 0 0 0 1px rgba(20, 119, 79, .08); }
.add-research-sample.is-selected:hover { color: #a43e35; border-color: #efb4ae; background: #fff2f0; }
.sample-state-mark { width: 7px; height: 7px; flex: 0 0 7px; border: 1.5px solid currentColor; border-radius: 50%; }
.add-research-sample.is-selected .sample-state-mark { border: 0; border-radius: 2px; background: currentColor; box-shadow: inset 0 0 0 2px #eaf9f1; }
.source-relevance { color: #7a8795; }
.source-relevance.has-match { color: #245ec1; font-weight: 700; }
.interaction-summary { min-width: 104px; color: #586777; font-size: 10px; line-height: 1.55; white-space: normal; }
.sample-state-legend { display: inline-flex; align-items: center; gap: 8px; color: #7b8794; font-size: 10px; white-space: nowrap; }
.sample-state-legend .legend-add { color: #315fb9; }
.sample-state-legend .legend-selected { color: #14774f; font-weight: 700; }
@media (max-width: 760px) { .sample-state-legend { display: none; } }
@media (max-width: 620px) { .workflow-config { align-items: stretch; flex-wrap: wrap; } .workflow-config:before { align-self: center; } .workflow-config .secondary-btn { flex: 1 1 180px; } .production-action-copy { align-items: flex-start; } .production-action-controls { align-items: stretch; flex-wrap: wrap; } .production-final-btn { flex: 1 1 120px; } }

/* Keep production actions compact, right-aligned, and free of decorative step numbers. */
.production-track-item > span, .production-step-number { display: none !important; }
.production-track-item { min-height: 60px; padding: 12px 13px; }
.workflow-config { justify-content: flex-end; min-height: 54px; padding: 10px 12px; }
.workflow-config:before { display: none; content: none; }
.workflow-config > .muted { order: 1; margin-right: auto; }
.workflow-config .workflow-build-btn { order: 2; min-width: 116px; padding: 9px 12px; color: #fff; border-color: #2764ff; background: #2764ff; box-shadow: 0 6px 14px rgba(39,100,255,.18); }
.workflow-config .workflow-build-btn:hover { color: #fff; border-color: #1c52dd; background: #1c52dd; }
.workflow-config .workflow-build-btn:disabled { color: #fff; border-color: #b8c2d1; background: #b8c2d1; box-shadow: none; }
.production-action-bar { border-color: #d9e3ff; background: linear-gradient(135deg, #f7f9ff, #eef4ff); box-shadow: 0 7px 18px rgba(39,100,255,.08); }
.production-action-copy { flex: 1 1 auto; }
.production-action-bar b { color: #244b9b; }
.production-action-bar small { color: #7182a3; }
.production-final-btn { min-width: 104px; padding: 9px 14px; color: #fff; border-color: #2764ff; background: #2764ff; box-shadow: 0 7px 15px rgba(39,100,255,.2); }
.production-final-btn:hover { border-color: #1c52dd; background: #1c52dd; }
.production-final-btn:disabled { color: #fff; border-color: #b8c2d1; background: #b8c2d1; }
.production-guidance-launch-actions, .workflow-config-actions, .production-action-controls { justify-content: flex-end; }
.content-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.content-actions .primary-btn, .content-actions .ghost-btn, .content-actions > a { width: auto; min-width: 96px; padding: 7px 10px; }
.content-actions .stage-content { order: 4; }
.content-actions .edit-content { color: #315fb9; border-color: #cbdafa; background: #f3f7ff; }
.content-actions .stage-content { color: #fff; border-color: #1e9d6d; background: #1e9d6d; }
.content-actions .stage-content:hover { border-color: #16875c; background: #16875c; }
.content-actions { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 6px; }
.content-actions .primary-btn, .content-actions .ghost-btn, .content-actions > a { box-sizing: border-box; width: 100% !important; min-width: 0; min-height: 34px; padding: 0 7px; line-height: 1.25; white-space: normal; }
.production-console #productionFocusBtn { display: none !important; }
.structure-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.structure-head-actions .workflow-build-btn { min-width: 116px; padding: 8px 12px; color: #fff; border-color: #2764ff; background: #2764ff; box-shadow: 0 6px 14px rgba(39,100,255,.18); }
.structure-head-actions .workflow-build-btn:hover { border-color: #1c52dd; background: #1c52dd; }
.structure-head-actions .workflow-build-btn:disabled { border-color: #b8c2d1; background: #b8c2d1; box-shadow: none; }
.structure-head-actions .structure-revise-btn { min-width: 116px; padding: 8px 12px; color: #2764ff; border-color: #b9c9f4; background: #f5f8ff; }
.structure-head-actions .structure-revise-btn:hover { color: #1c52dd; border-color: #8ea9ef; background: #edf3ff; }
.structure-head-actions .structure-revise-btn:disabled { color: #9aa7ba; border-color: #d7deea; background: #f4f6f9; }
.structure-revision-modal-label { display: grid; gap: 7px; color: #4d5f78; font-size: 11px; }
.structure-revision-modal-label > span { display: grid; gap: 3px; }
.structure-revision-modal-label small { color: #7c8aa1; font-size: 10px; line-height: 1.5; }
.structure-revision-modal-label textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.workflow-config[hidden] { display: none !important; }
@media (max-width: 620px) { .workflow-config { align-items: center; flex-wrap: wrap; } .workflow-config > .muted { flex: 1 1 100%; margin-right: 0; } .workflow-config .workflow-build-btn { flex: 0 0 auto; } .content-actions .primary-btn, .content-actions .ghost-btn, .content-actions > a { flex: 1 1 calc(50% - 6px); } }

/* Keep card actions aligned and make material preview an obvious first action. */
.content-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.primary-recent-action { border-color: #2764ff !important; color: #fff !important; background: linear-gradient(135deg, #2764ff, #4f7ff2) !important; box-shadow: 0 6px 16px rgba(39,100,255,.22); letter-spacing: .1px; }
.content-import-dialog { width: min(1080px, 96vw); }
.content-import-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.content-import-form { display: grid; gap: 11px; }
.content-import-form label { display: grid; gap: 6px; color: #566472; font-size: 11px; }
.content-import-form textarea { resize: vertical; min-height: 280px; line-height: 1.65; }
.content-import-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 3px; }
.content-import-status { min-height: 18px; color: #4261a8; font-size: 11px; line-height: 1.5; }
.import-smart-toggle { display: flex !important; grid-template-columns: auto 1fr !important; align-items: flex-start; gap: 8px !important; padding: 11px 12px; border: 1px solid #cbd8ff; border-radius: 10px; background: #f5f7ff; }
.import-smart-toggle input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }
.import-smart-toggle span { display: grid; gap: 4px; }
.import-smart-toggle b { color: #263b73; font-size: 12px; }
.import-smart-toggle small, .import-guide-card span { color: #6d7890; font-size: 10px; line-height: 1.55; }
.content-import-guide { display: none !important; }
.import-guide-card { display: grid; gap: 6px; padding: 14px; border: 1px solid #e6ebf4; border-radius: 12px; background: linear-gradient(145deg, #fbfcff, #f5f8ff); }
.import-guide-card b { color: #263b73; font-size: 12px; }
.illustration-tools { display: grid; gap: 9px; padding: 12px; border: 1px solid #dce5fa; border-radius: 11px; background: linear-gradient(145deg, #f8faff, #f1f5ff); }
.illustration-tools-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.illustration-tools-head > div:first-child { display: grid; gap: 4px; }
.illustration-tools-head b { color: #263b73; font-size: 12px; }
.illustration-tools-head small { color: #6d7890; font-size: 10px; line-height: 1.45; }
.illustration-tools-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.illustration-tools-actions select { width: auto; padding: 7px 8px; }
.illustration-tools-actions .secondary-btn { white-space: nowrap; }
.illustration-item { display: grid; grid-template-columns: 18px 48px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #e3e9f5; cursor: grab; }
.illustration-item.is-dragging { opacity: .48; }
.illustration-item.is-drop-target { border-top-color: #2764ff; background: #f5f8ff; }
.illustration-drag-handle { color: #8ea0bd; font-size: 18px; line-height: 1; cursor: grab; }
.illustration-item-main { min-width: 0; }
.illustration-position-label { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: #7a8799; font-size: 9px; }
.illustration-position-select { width: auto !important; min-width: 0; height: 26px !important; padding: 3px 6px !important; color: #41516f; font-size: 9px !important; }
.illustration-item-thumb { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; color: #a56613; background: #fff7e7; font-size: 9px; text-align: center; }
.illustration-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.manual-illustration-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; align-items: center; padding-top: 9px; border-top: 1px solid #e3e9f5; }
.manual-illustration-tools b { grid-column: 1 / -1; color: #41516f; font-size: 11px; }
.manual-illustration-tools input { min-width: 0; font-size: 10px; }
.manual-illustration-tools select { min-width: 150px; font-size: 10px; }
.manual-illustration-tools small { grid-column: 1 / -1; color: #8390a4; font-size: 9px; line-height: 1.45; }
.wechat-cover-field { display: grid; gap: 6px; }
.wechat-cover-field small { color: #7b879b; font-size: 10px; line-height: 1.5; }
#editContentCoverPreview { min-height: 0; }
#editContentCoverPreview:empty { display: none; }
#editContentCoverPreview img { display: block; width: min(220px, 100%); max-height: 150px; object-fit: cover; border: 1px solid #e3e9f5; border-radius: 6px; }
.import-cover-option { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; padding: 10px 11px; border: 1px solid #dce5fa; border-radius: 8px; background: #f7f9ff; color: #40516f; }
.import-cover-option input { margin-top: 2px; }
.import-cover-option b, .import-cover-option small { display: block; }
.import-cover-option small { margin-top: 3px; color: #7b879b; font-size: 10px; line-height: 1.5; }
.illustration-item b, .illustration-item small { display: block; }
.illustration-item b { overflow: hidden; color: #41516f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.illustration-item small { margin-top: 4px; color: #8390a4; font-size: 9px; }
.illustration-item .ghost-btn { padding: 5px 7px; font-size: 9px; }
.illustration-empty { padding: 8px 0 2px; color: #8390a4; font-size: 10px; line-height: 1.55; }
.formatted-illustration { margin: 18px 0 22px; text-align: center; }
.formatted-illustration img { display: block; width: 100%; max-height: 360px; object-fit: cover; border-radius: 10px; }
.formatted-illustration figcaption { margin-top: 6px; color: #94a3b8; font-size: 10px; line-height: 1.45; }
.content-editor-layout { align-items: start; }
.content-editor-form { align-content: start; align-items: start; min-width: 0; }
.content-editor-form > label { width: 100%; min-width: 0; align-content: start; }
.content-editor-form > label input, .content-editor-form > label select { width: 100%; height: 40px; }
.content-editor-form > label textarea { width: 100%; min-height: 280px; }
.content-editor-preview { min-width: 0; }
.formatted-preview { border: 1px solid rgba(255,106,0,.12); box-shadow: 0 8px 24px rgba(24,32,51,.06); }
.formatted-preview h1 { text-align: center; font-weight: 850; color: #182033; }
.formatted-preview h2.semantic-heading { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 30px 0 15px; font-size: 19px; line-height: 1.4; font-weight: 800; text-align: center; }
.formatted-preview h2.semantic-heading-primary { font-size: 21px; gap: 10px; }
.formatted-preview h2.semantic-heading-secondary { margin-top: 22px; font-size: 18px; gap: 8px; }
.formatted-preview h2.semantic-heading span:first-child, .formatted-preview h2.semantic-heading span:last-child { color: #ff6a00; font-size: 14px; }
.formatted-preview h2.semantic-heading .semantic-logo-icon { display: inline-block; width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.formatted-preview p strong { font-weight: 850; color: #182033; }
.formatted-preview .semantic-callout { margin: 20px 0; padding: 14px 16px; border-left: 4px solid #ff6a00; border-radius: 0 12px 12px 0; color: #182033; background: rgba(255,106,0,.08); font-size: 14px; line-height: 1.9; }
.formatted-preview .semantic-callout b { display: block; margin-bottom: 3px; color: #ff6a00; font-size: 13px; }
.formatted-preview blockquote { margin: 20px 0; padding: 12px 16px; border-left: 4px solid #ff6a00; border-radius: 0 10px 10px 0; color: #182033; background: rgba(255,106,0,.06); font-size: 14px; line-height: 1.85; }
.formatted-preview ul, .formatted-preview ol { margin: 0 0 18px; padding-left: 24px; color: #182033; font-size: 14px; line-height: 1.75; }
.formatted-preview code { padding: 2px 5px; border-radius: 4px; color: #334155; background: #eef2f7; }
.formatted-table-wrap { width: 100%; margin: 20px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.formatted-table { width: 100%; min-width: 560px; border: 1px solid #e7ebf0; border-radius: 8px; border-spacing: 0; border-collapse: separate; overflow: hidden; background: #fff; }
.formatted-table th { padding: 10px 11px; border-bottom: 2px solid #ff6a00; color: #182033; background: rgba(255,106,0,.08); font-size: 13px; font-weight: 850; line-height: 1.5; white-space: nowrap; }
.formatted-table td { padding: 10px 11px; border-top: 0; border-bottom: 1px solid #e7ebf0; color: #182033; font-size: 13px; line-height: 1.7; vertical-align: top; }
.formatted-table tbody tr:last-child td { border-bottom: 0; }
.formatted-table tbody tr:nth-child(even) { background: #fffdfa; }
.platform-native-preview { border-color: #e7ebf0; box-shadow: 0 8px 24px rgba(24,32,51,.05); }
.xhs-native-preview { padding: 18px 16px 24px; color: #222; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.xhs-native-preview small { display: block; margin-bottom: 12px; color: #9aa1ad; font-size: 10px; letter-spacing: .4px; }
.xhs-designed-pages { display: grid; gap: 10px; margin: 0 -16px; padding: 0; background: #eef1f5; }
.xhs-designed-cover { position: relative; min-height: 390px; overflow: hidden; background: #13223a; }
.xhs-designed-cover img { display: block; width: 100%; height: 390px; object-fit: cover; }
.xhs-designed-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,31,.06) 32%, rgba(6,15,31,.84) 100%); }
.xhs-designed-cover-copy { position: absolute; left: 28px; right: 28px; bottom: 30px; color: #fff; }
.xhs-designed-cover-copy small { margin-bottom: 9px; color: #ff6a00; font-size: 9px; letter-spacing: 1.5px; }
.xhs-designed-cover-copy b { display: block; margin-bottom: 10px; font-size: 25px; line-height: 1.35; }
.xhs-designed-cover-copy span { font-size: 12px; font-weight: 700; }
.xhs-designed-card { margin: 0; padding: 28px 24px 30px; color: #182033; }
.xhs-designed-card > small { margin-bottom: 16px; font-weight: 750; }
.xhs-designed-card h2.semantic-heading { margin-top: 22px; }
.xhs-designed-card p { font-size: 14px; line-height: 1.85; }
.xhs-designed-illustration { text-align: center; }
.xhs-designed-illustration img { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; }
.xhs-designed-illustration p { margin: 10px 0 0; font-weight: 750; }
.xhs-title-limit-note { margin: 12px 0 -8px; padding: 7px 10px; border-radius: 8px; color: #a56613; background: #fff7e7; font-size: 10px; line-height: 1.5; }
.xhs-native-caption { margin-top: 18px; padding: 16px 2px 0; border-top: 1px solid #edf0f3; }
.xhs-native-caption > small { margin-bottom: 10px; color: #a0a8b3; font-size: 10px; letter-spacing: .3px; }
.xhs-native-caption p { margin: 0 0 16px; color: #31353b; font-size: 16px; line-height: 1.9; }
.xhs-native-caption h2.semantic-heading { margin: 22px 0 12px; font-size: 18px; line-height: 1.45; }
.xhs-native-caption h2.semantic-heading-primary { font-size: 20px; }
.xhs-native-caption .semantic-callout { margin: 16px 0; }
.xhs-native-gallery { display: grid; gap: 8px; margin: 0 -16px 18px; background: #f5f6f7; }
.xhs-native-gallery img { display: block; width: 100%; max-height: 430px; object-fit: cover; border-radius: 0; background: #f1f3f5; }
.xhs-native-preview h1.xhs-platform-title { margin: 24px 0 18px; color: #222; font-size: 23px; line-height: 1.45; font-weight: 750; text-align: left; }
.xhs-native-body p { margin: 0 0 17px; color: #252525; font-size: 16px; line-height: 1.9; white-space: normal; }
.xhs-native-preview footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 0; border-top: 0; color: #56708f; font-size: 14px; }
.xhs-native-preview footer span { color: #56708f; }
.xhs-native-note { display: block; margin-top: 18px; color: #a6adb7; font-size: 10px; font-style: normal; line-height: 1.5; }
.wechat-native-preview h1 { text-align: center; font-weight: 850; }
.wechat-native-preview .wechat-preview-title { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 32px; line-height: 1.32; }
.wechat-native-preview .wechat-preview-title { display: block; }
.wechat-native-preview .wechat-preview-title .semantic-logo-icon { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.wechat-native-preview .wechat-preview-title .wechat-title-icon { font-size: 16px; line-height: 1; }
.formatted-preview p.semantic-heading { display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 850; }
.formatted-preview p.semantic-heading-level-1 { margin-top: 30px; font-size: 24px; }
.formatted-preview p.semantic-heading-level-2 { margin-top: 22px; font-size: 20px; }
.formatted-preview p.semantic-heading-level-3 { margin-top: 16px; font-size: 17px; }
@media (max-width: 620px) { .illustration-tools-head { align-items: stretch; flex-direction: column; } .illustration-tools-actions { justify-content: flex-end; } .illustration-item { grid-template-columns: 18px 42px minmax(0, 1fr); } .illustration-item > .ghost-btn { grid-column: 3; justify-self: end; } }
.content-import-actions .primary-btn { border-color: #2764ff; background: linear-gradient(135deg, #2764ff, #4f7ff2); box-shadow: 0 7px 17px rgba(39,100,255,.2); }
.content-actions .primary-btn, .content-actions .ghost-btn, .content-actions > a { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 32px; padding: 0 7px; border-radius: 8px; font-size: 10px; line-height: 1; white-space: nowrap; }
.material-preview-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.material-preview-trigger:hover .material-preview-overlay { opacity: 1; }
.material-preview-overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(22,34,49,.46); font-size: 11px; font-weight: 650; opacity: 0; transition: opacity .18s ease; }
.material-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 5px; }
.asset-action-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 30px; min-width: 0; min-height: 30px; padding: 0 5px; border: 1px solid #dfe6ef; border-radius: 7px; color: #526273; background: #fff; font: inherit; font-size: 9px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; box-sizing: border-box; appearance: none; }
.asset-action-btn:hover { border-color: #afc2f5; color: #2f61d1; background: #f5f8ff; }
.asset-action-btn.asset-delete { border-color: #eadde0; color: #bd4c53; background: #fff; }
.asset-action-btn.asset-delete:hover { border-color: #f1cdd1; background: #fff6f7; }
.archive-disabled-action.asset-action-btn { color: #9da8b3; border-color: #e5eaf1; background: #f8fafc; cursor: default; opacity: .72; pointer-events: none; }
.material-preview-dialog { width: min(900px, 94vw); }
.material-preview-media { display: grid; place-items: center; min-height: 260px; padding: 16px; border-radius: 10px; background: #f4f7fb; }
.material-preview-image, .material-preview-video { display: block; max-width: 100%; max-height: 64vh; border-radius: 8px; object-fit: contain; }
.material-preview-audio { width: min(620px, 100%); }
.material-preview-empty { color: #8a96a3; font-size: 12px; }
.material-preview-meta { display: grid; gap: 6px; margin-top: 12px; }
.material-preview-meta b { color: #253447; font-size: 13px; }
.material-preview-meta span, .material-preview-meta small { color: #7a8794; font-size: 10px; line-height: 1.5; }
@media (max-width: 620px) { .content-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .material-card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .interest-form { flex-wrap: wrap; } .interest-form input, .interest-form button { width: 100%; } .hot-inspiration-grid { grid-template-columns: 1fr; } }

.research-radar-panel { margin-bottom: 16px; padding: 14px 18px; background: linear-gradient(135deg, #fbfcff, #f7f9ff); }
.radar-header, .radar-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.radar-header { margin-bottom: 10px; }
.radar-header h3 { margin-top: 3px; }
.radar-note { color: #7686a5; font-size: 10px; }
.radar-topline { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(310px, .92fr); align-items: center; gap: 20px; }
.radar-search, .radar-platforms { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.radar-search { align-self: center; }
.radar-platforms { align-self: center; display: flex; flex-direction: column; padding-left: 20px; border-left: 1px solid #e5eaf3; }
.radar-search-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.radar-search-title b, .radar-section-title b { color: #334155; font-size: 12px; }
.radar-search-title small, .radar-section-title small { color: #8a96a4; font-size: 9px; }
.radar-search .inline-form { gap: 7px; }
.radar-search .inline-form #quickKeyword { flex: 1 1 auto; min-width: 160px; }
.radar-search .inline-form .quick-platform { flex: 0 0 126px; }
.radar-search .inline-form input:first-child { min-width: 0; }
.radar-search .inline-form input[type=number] { width: 55px; }
.radar-search .quick-search-status { margin-bottom: 0; }
.radar-platforms #platformPulse { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; padding-top: 9px; }
.radar-platforms .pulse-bar { min-width: 0; margin-bottom: 7px; }
.radar-platforms .pulse-label { margin-bottom: 4px; font-size: 10px; }
.radar-platforms .pulse-track { height: 5px; }
.radar-platforms .radar-section-title .ghost-btn,
#morePlatformPulseBtn, #moreWorksBtn, #moreSourcesBtn, #moreIdeasBtn { border: 0; color: #2563eb; background: transparent; box-shadow: none; padding: 4px 2px; font-size: 10px; font-weight: 650; cursor: pointer; }
.radar-platforms .radar-section-title .ghost-btn:hover,
#morePlatformPulseBtn:hover, #moreWorksBtn:hover, #moreSourcesBtn:hover, #moreIdeasBtn:hover { color: #1d4ed8; background: #eef3ff; }
.radar-inspiration,
.radar-platforms .radar-signal-divider,
.radar-platforms .radar-signal-divider + .radar-section-title,
.radar-platforms #radarTopicMetrics,
.radar-platforms #radarTopicSummary { display: none !important; }
.radar-signal-divider { margin: 11px 0 9px; border-top: 1px solid #e7ecf4; }
.radar-topic-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 3px 0 8px; }
.radar-topic-metrics > div { min-width: 0; padding: 7px 6px; border: 1px solid #edf0f4; border-radius: 7px; background: #fbfcff; }
.radar-insight-card { min-width: 0; padding: 8px 9px !important; }
.radar-insight-card b { display: block; overflow: hidden; color: #334155; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.radar-insight-card small { display: block; margin-top: 4px; color: #8793a1; font-size: 8px; line-height: 1.45; }
.radar-insight-empty { background: #fffaf1 !important; border-color: #f4e4bd !important; }
.radar-topic-metrics b { display: block; overflow: hidden; color: #334155; font-size: 13px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.radar-topic-metrics small { display: block; margin-top: 3px; overflow: hidden; color: #8a96a4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.radar-platforms #radarTopicSummary { flex: 1; min-height: 0; }
.radar-topic-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; margin-bottom: 6px; padding: 8px 9px; border: 1px solid #edf0f4; border-radius: 8px; background: #fbfcff; }
.radar-topic-row:last-child { margin-bottom: 0; }
.radar-topic-row b { overflow: hidden; color: #334155; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.radar-topic-row span, .radar-topic-row em { color: #8994a0; font-size: 8px; font-style: normal; white-space: nowrap; }
.radar-topic-row em { color: #d0832f; }
.radar-topic-row .radar-action-btn { margin: -3px 0; padding: 4px 7px; font-size: 9px; }
.radar-guidance-empty { padding: 8px 9px; border: 1px dashed #dce5f4; border-radius: 8px; background: #fbfcff; }
.radar-guidance-empty b { display: block; color: #52627a; font-size: 10px; }
.radar-guidance-empty p { margin: 5px 0 7px; color: #8793a1; font-size: 9px; line-height: 1.5; }
.radar-guidance-empty .radar-action-btn { padding: 5px 8px; font-size: 9px; }
.radar-inspiration { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e7ecf4; }
.radar-inspiration .interest-form { flex: 1; justify-content: flex-end; }
.radar-inspiration .interest-form input { width: min(360px, 44vw); }
.radar-inspiration .interest-form .secondary-btn { padding: 7px 9px; font-size: 10px; }
.radar-inspiration .interest-chips { margin-top: 8px; }
.radar-inspiration .hot-inspiration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 9px; padding: 1px; overflow: visible; }
.radar-inspiration .hot-inspiration-card { min-height: 105px; padding: 9px; }
.radar-inspiration .hot-inspiration-card > b, .radar-inspiration .hot-inspiration-card > a { min-height: 31px; font-size: 10px; }
.radar-inspiration .hot-inspiration-card > small { margin-top: 5px; font-size: 8px; }
.radar-inspiration .hot-inspiration-card .ghost-btn { margin-top: 7px; padding: 4px 6px; font-size: 9px; }
.hot-topic-card { min-width: 0; min-height: 105px; padding: 9px; border: 1px solid #e9edf3; border-radius: 10px; background: #fff; }
.hot-topic-card > b { display: block; min-height: 31px; color: var(--ink); font-size: 11px; line-height: 1.55; }
.hot-topic-card > small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.hot-topic-card > p { overflow: hidden; margin: 5px 0 0; color: #8793a1; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.hot-topic-card .topic-kind { display: inline-flex; padding: 3px 6px; border-radius: 99px; color: #4261a8; background: #edf3ff; font-size: 8px; }
.hot-topic-card .topic-platforms { display: flex; gap: 4px; margin-top: 6px; overflow: hidden; }
.hot-topic-card .topic-platforms span { flex: 0 0 auto; max-width: 70px; overflow: hidden; padding: 2px 5px; border-radius: 99px; color: #6b7785; background: #f1f3f6; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.hot-topic-card .ghost-btn { margin-top: 7px; padding: 4px 6px; font-size: 9px; }
@media (max-width: 900px) { .radar-topline { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .radar-section-title { align-items: flex-start; flex-direction: column; } .radar-inspiration .interest-form { width: 100%; justify-content: stretch; } .radar-inspiration .interest-form input { width: 100%; } .radar-inspiration .hot-inspiration-grid { grid-template-columns: 1fr; } .radar-platforms { padding-left: 0; padding-top: 12px; border-top: 1px solid #e5eaf3; border-left: 0; } .radar-platforms #platformPulse { grid-template-columns: 1fr; } }
.xhs-data-config small { line-height: 1.6; }
.research-layout { align-items: start; }

.research-samples-panel { margin-top: 16px; }
.sample-actions { display: flex; align-items: center; gap: 10px; }
.research-sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.research-sample-card { position: relative; border: 1px solid var(--line); border-left: 4px solid var(--sample-color, #7d8a98); border-radius: 12px; padding: 14px; background: #fff; }
.research-sample-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sample-media-label { color: #778392; font-size: 10px; white-space: nowrap; }
.sample-video { background: linear-gradient(135deg, #fff 0%, #fff 72%, #fff4f0 100%); }
.sample-video .sample-media-label { color: #c85c2d; }
.sample-image .sample-media-label { color: #4775bf; }
.sample-text .sample-media-label { color: #718096; }
.research-sample-card .sample-title { display: -webkit-box; margin: 12px 0 4px; color: var(--ink); font-weight: 700; line-height: 1.45; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.research-sample-card .sample-title.is-expanded { display: block; -webkit-line-clamp: unset; }
.research-sample-card a.sample-title:hover { color: var(--accent); text-decoration: underline; }
.sample-title-toggle { display: block; margin: 0 0 8px; padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 10px; cursor: pointer; }
.sample-title-toggle:hover { text-decoration: underline; }
.research-sample-card small { display: block; color: var(--muted); line-height: 1.6; }
.research-sample-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.candidate-title-block { min-width: 0; }
.candidate-work-title { display: -webkit-box; color: var(--ink); font-weight: 700; line-height: 1.45; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.candidate-work-title.is-expanded { display: block; -webkit-line-clamp: unset; }
.candidate-work-title:hover { color: var(--accent); }
.candidate-title-toggle { display: block; margin: 2px 0 0; padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 10px; cursor: pointer; }
.candidate-title-toggle:hover { text-decoration: underline; }
.research-summary-callout { margin-top: 10px; padding: 10px 11px; border-left: 3px solid #8aa3ff; border-radius: 7px; background: #f3f6ff; color: #53627a; }
.research-summary-callout p { margin: 4px 0 0; color: #53627a; }
.research-analysis-status { margin-top: 9px; color: #267a4c; font-size: 11px; }
.research-advice-list { display: grid; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e9edf3; color: #687584; font-size: 11px; line-height: 1.5; }
.research-advice-list > b { color: var(--ink); }
.research-process-panel { margin-top: 16px; background: linear-gradient(135deg, #fbfcff, #f6f8ff); }
.research-process-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.research-process-description { margin-top: 5px; color: #7b8794; font-size: 11px; line-height: 1.5; }
.research-process-actions { display: flex; align-items: center; gap: 9px; }
.research-process-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.research-process-step { min-height: 94px; padding: 11px; border: 1px solid #e4e9f1; border-radius: 10px; background: #fff; }
.research-process-step.ready { border-color: #b7c8ff; background: #f4f7ff; }
.research-process-step.completed { border-color: #b9e8d1; background: #f0fbf5; }
.research-process-step.pending { opacity: .72; }
.process-number { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; color: #fff; background: #9aa7b8; font-size: 10px; font-weight: 800; }
.research-process-step.ready .process-number { background: var(--accent); }
.research-process-step.completed .process-number { background: #18a66a; }
.research-process-step.completed b { color: #197a53; }
.research-process-step b { display: block; margin-top: 9px; color: #334155; font-size: 12px; }
.research-process-step small { display: block; margin-top: 5px; color: #7d8997; font-size: 10px; line-height: 1.45; }
.source-panel { max-height: none; }
.source-panel-tools { display: flex; align-items: center; gap: 8px; }
.source-panel-tools .ghost-btn { padding: 5px 7px; font-size: 10px; }
.source-panel-intro { margin: -3px 0 8px; color: #7b8794; font-size: 10px; line-height: 1.5; }
.source-item { position: relative; align-items: flex-start; gap: 8px; padding: 12px 0 12px 10px; border-bottom: 1px solid #f0f2f4; }
.source-item::before { position: absolute; top: 13px; bottom: 13px; left: 0; width: 3px; border-radius: 4px; background: var(--source-color, #7d8a98); content: ''; }
.source-item.active { padding-left: 12px; border-radius: 8px; background: #f5f7ff; }
.source-item-main { min-width: 0; flex: 1; }
.source-item-title { display: flex; align-items: center; gap: 7px; }
.source-rank { color: #a2acb8; font-size: 10px; font-variant-numeric: tabular-nums; }
.source-item small { white-space: normal; }
.source-metrics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; color: #687686; font-size: 10px; }
.source-item > .ghost-btn { flex: 0 0 auto; padding: 6px 8px; font-size: 10px; }
.source-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.source-item-actions .ghost-btn { min-width: 58px; padding: 6px 8px; font-size: 10px; white-space: nowrap; }
.source-item-actions .copy-source-works { color: #2563eb; border-color: #c9d8ff; background: #f5f8ff; }
.source-item-actions .copy-source-works:hover:not(:disabled) { color: #1d4ed8; border-color: #8eb0ff; background: #edf3ff; }
@media (max-width: 1100px) { .research-process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .research-sample-grid { grid-template-columns: 1fr; } .sample-actions { flex-wrap: wrap; } }
.idea-reference-box { display: grid; gap: 9px; padding: 11px; border: 1px solid #e5eaf2; border-radius: 10px; background: #fbfcff; }
.idea-reference-head { display: grid; gap: 4px; }
.idea-reference-head b { color: #334155; font-size: 11px; }
.idea-reference-head small, .idea-file-label small { color: #8a96a4; font-size: 10px; line-height: 1.5; }
.idea-file-label input { padding: 7px; border: 1px dashed #cfd8e6; border-radius: 7px; background: #fff; }
.idea-reference-file-list { display: flex; flex-wrap: wrap; gap: 5px; }
.idea-reference-file-list span { padding: 4px 6px; border-radius: 5px; color: #53627a; background: #edf3ff; font-size: 9px; }
.idea-reference-hint { display: block; margin-top: -4px; color: #8a96a4; font-size: 10px; line-height: 1.5; }
.idea-draft-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.idea-draft-actions small { color: #8a96a4; font-size: 10px; line-height: 1.45; }
.idea-draft-actions .secondary-btn { flex: 0 0 auto; padding: 7px 9px; font-size: 10px; }
.idea-reference-summary { display: grid; gap: 3px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #e8edf3; }
.idea-reference-summary b { color: var(--ink); }
.idea-reference-summary span, .idea-reference-summary small { color: var(--muted); font-size: 10px; line-height: 1.5; }
@media (max-width: 1100px) { .dashboard-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .dashboard-hero { padding: 24px; flex-direction: column; } .dashboard-hero-side { width: 100%; flex: 0 0 auto; grid-template-columns: 1fr 1fr; } .dashboard-sync { grid-column: 1 / -1; text-align: left; } .dashboard-main-grid, .dashboard-results-grid, .dashboard-results-grid-bottom { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .dashboard-pipeline { grid-template-columns: 1fr; } .dashboard-hero-side { grid-template-columns: 1fr; } .dashboard-sync { grid-column: auto; } .dashboard-hero h2 { font-size: 25px; } }
.dashboard-task-hero { min-height: 190px; }
.dashboard-task-hero .dashboard-hero-side { width: 178px; flex-basis: 178px; }
.dashboard-workspace-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 16px; margin: 16px 0; }
.dashboard-current-research, .dashboard-current-production { min-width: 0; min-height: 400px; }
.dashboard-result-context { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 13px; border-left: 3px solid #5277f2; border-radius: 9px; background: #f5f7ff; }
.dashboard-result-context > div { min-width: 0; display: grid; gap: 5px; }
.dashboard-result-context span, .dashboard-production-topic span { color: #71809a; font-size: 10px; }
.dashboard-result-context b { color: #334155; font-size: 12px; line-height: 1.5; }
.dashboard-result-context small { color: var(--muted); font-size: 10px; }
.dashboard-result-context .ghost-btn { flex: 0 0 auto; padding: 7px 9px; font-size: 10px; }
.dashboard-result-stats { display: flex; gap: 8px; margin: 13px 0; }
.dashboard-result-stats span { flex: 1; padding: 9px 10px; border-radius: 8px; color: var(--muted); background: #f7f8fa; font-size: 10px; }
.dashboard-result-stats b { margin-right: 3px; color: #3153a5; font-size: 17px; }
.dashboard-research-works, .dashboard-production-outputs { display: grid; gap: 0; }
.dashboard-research-work, .dashboard-production-output { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 11px 0; border-bottom: 1px solid #f0f2f4; }
.dashboard-research-work:last-child, .dashboard-production-output:last-child { border-bottom: 0; }
.dashboard-research-work > div, .dashboard-production-output > div { min-width: 0; }
.dashboard-research-work b, .dashboard-production-output b { display: block; max-width: 100%; overflow: hidden; margin-top: 5px; color: #3e4b59; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-research-work span { display: inline-flex; }
.dashboard-research-work strong { flex: 0 0 auto; color: #e98a28; font-size: 13px; }
.dashboard-result-actions { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf0f3; }
.dashboard-result-actions .primary-btn { padding: 8px 10px; font-size: 10px; }
.dashboard-result-actions span { color: var(--muted); font-size: 10px; }
.dashboard-production-topic { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px; border-radius: 9px; background: #faf8ff; border-left: 3px solid #8c62d8; }
.dashboard-production-topic > div { min-width: 0; display: grid; gap: 5px; }
.dashboard-production-topic b { display: block; color: #403a58; font-size: 13px; line-height: 1.5; }
.dashboard-production-topic small { display: block; overflow: hidden; color: #77728a; font-size: 10px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-production-topic .primary-btn { flex: 0 0 auto; padding: 8px 10px; font-size: 10px; }
.dashboard-production-meta { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 13px 0 3px; color: var(--muted); font-size: 10px; }
.dashboard-production-meta b { color: #4d5967; font-size: 12px; }
.dashboard-production-output > div { min-width: 0; }
.dashboard-production-output .platform-tag { display: inline-flex; }
.dashboard-production-output b { max-width: 280px; }
.dashboard-publish-task { margin-bottom: 10px; }
.dashboard-queue-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f2f4; }
.dashboard-queue-item:last-child { border-bottom: 0; }
.dashboard-queue-platform { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--queue-color); font-size: 10px; font-weight: 750; }
.dashboard-queue-main { min-width: 0; }
.dashboard-queue-main b { display: block; overflow: hidden; color: #3d4b58; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-queue-main span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.dashboard-queue-item .ghost-btn { padding: 6px 9px; font-size: 10px; }
.dashboard-compact-footer { display: flex; justify-content: space-between; gap: 15px; padding: 3px 2px 20px; color: var(--muted); font-size: 10px; }
@media (max-width: 820px) { .dashboard-workspace-grid { grid-template-columns: 1fr; } .dashboard-current-research, .dashboard-current-production { min-height: auto; } }
@media (max-width: 520px) { .dashboard-result-context, .dashboard-production-topic { flex-direction: column; } .dashboard-result-stats { flex-wrap: wrap; } .dashboard-result-stats span { min-width: calc(50% - 4px); } .dashboard-queue-item { grid-template-columns: 34px minmax(0, 1fr) auto; } .dashboard-queue-platform { width: 34px; height: 34px; } .dashboard-queue-item .ghost-btn { grid-column: 2 / -1; justify-self: start; } .dashboard-compact-footer { align-items: flex-start; flex-direction: column; } }
.dashboard-analytics-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 17px; padding: 24px 27px; border: 1px solid #e5eaf1; border-radius: 15px; background: #fff; box-shadow: 0 7px 24px rgba(26,40,66,.035); }
.dashboard-analytics-head h2 { margin: 6px 0 7px; color: #1c2c3d; font-size: 28px; letter-spacing: -.8px; }
.dashboard-analytics-head p { max-width: 620px; margin: 0; color: #748292; font-size: 12px; line-height: 1.65; }
.dashboard-range-filter { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 4px; border: 1px solid #e5eaf0; border-radius: 10px; background: #f6f8fb; }
.dashboard-range-filter span { padding: 0 7px; color: #8793a1; font-size: 10px; }
.dashboard-range-filter button { padding: 7px 10px; border: 0; border-radius: 7px; color: #6c7987; background: transparent; font-size: 11px; cursor: pointer; }
.dashboard-range-filter button:hover { color: var(--accent); }
.dashboard-range-filter button.active { color: #fff; background: var(--accent); box-shadow: 0 4px 10px rgba(39,100,255,.18); }
.dashboard-kpi-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.dashboard-kpi { position: relative; min-width: 0; min-height: 96px; padding: 14px 13px 12px; border: 1px solid #e5eaf0; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(26,40,66,.025); overflow: hidden; }
.dashboard-kpi:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--kpi-color); }
.dashboard-kpi span, .dashboard-kpi small { display: block; color: #7b8896; font-size: 10px; }
.dashboard-kpi strong { display: block; margin: 12px 0 5px; color: #1e2e40; font-size: 24px; line-height: 1; letter-spacing: -.6px; }
.dashboard-kpi-blue { --kpi-color: #5277f2; } .dashboard-kpi-orange { --kpi-color: #ed922c; } .dashboard-kpi-purple { --kpi-color: #8c62d8; } .dashboard-kpi-teal { --kpi-color: #20a38d; } .dashboard-kpi-red { --kpi-color: #dd6472; } .dashboard-kpi-green { --kpi-color: #22a977; } .dashboard-kpi-gold { --kpi-color: #c99a3e; }
.dashboard-funnel-panel { margin-bottom: 16px; }
.dashboard-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 3px 2px 0; }
.dashboard-funnel-step { position: relative; display: grid; justify-items: center; align-content: end; min-width: 0; min-height: 133px; text-align: center; }
.dashboard-funnel-step + .dashboard-funnel-step { border-left: 1px solid #edf0f4; }
.dashboard-funnel-bar { display: flex; align-items: flex-end; width: 54px; height: 76px; padding: 0 10px; border-radius: 8px 8px 3px 3px; background: #f1f4f8; }
.dashboard-funnel-bar i { display: block; width: 100%; min-height: 8px; border-radius: 5px 5px 2px 2px; opacity: .88; }
.dashboard-funnel-step strong { margin-top: 9px; color: #26384b; font-size: 18px; }
.dashboard-funnel-step span { margin-top: 4px; color: #7a8795; font-size: 10px; }
.dashboard-funnel-step em { position: absolute; top: 38px; right: -9px; z-index: 1; color: #a9b3bf; font-size: 15px; font-style: normal; }
.dashboard-analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.dashboard-analytics-grid .panel { min-width: 0; min-height: 350px; }
.dashboard-analytics-grid-bottom .panel { min-height: 390px; }
.dashboard-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: -2px 0 16px; }
.dashboard-mini-stats span { display: block; padding: 10px 11px; border-radius: 8px; color: #7c8997; background: #f6f8fb; font-size: 10px; }
.dashboard-mini-stats b { display: block; margin-bottom: 4px; color: #2d4a82; font-size: 19px; line-height: 1; }
.dashboard-section-label { margin: 15px 0 9px; color: #657384; font-size: 10px; font-weight: 750; letter-spacing: .3px; }
.dashboard-bar-list { display: grid; gap: 9px; }
.dashboard-bar-row { min-width: 0; }
.dashboard-bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; color: #596879; font-size: 10px; }
.dashboard-bar-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-bar-label b { color: #33475d; font-size: 10px; }
.dashboard-bar-track { height: 7px; overflow: hidden; border-radius: 99px; background: #edf1f5; }
.dashboard-bar-track i { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: var(--bar-color, #5876ff); }
.dashboard-topic-list { display: flex; flex-wrap: wrap; gap: 6px; }
.dashboard-topic-list span { padding: 5px 8px; border: 1px solid #e4eaf3; border-radius: 99px; color: #596a80; background: #f8faff; font-size: 10px; }
.dashboard-topic-list b { margin-left: 3px; color: #2d64d4; font-size: 9px; }
.dashboard-topic-list small { color: #9aa5b1; font-size: 10px; }
.dashboard-split-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dashboard-status-list { display: grid; gap: 8px; }
.dashboard-status-list span { display: flex; align-items: center; gap: 6px; color: #697788; font-size: 10px; }
.dashboard-status-list b { margin-left: auto; color: #33475d; font-size: 11px; }
.dashboard-status-list-wide { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.dashboard-status-list i.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #9aa6b4; box-shadow: none; }
.dashboard-status-list .status-backlog { background: #8c62d8; } .dashboard-status-list .status-in_production { background: #20a38d; } .dashboard-status-list .status-pending_review { background: #dc8a28; } .dashboard-status-list .status-approved { background: #5277f2; } .dashboard-status-list .status-success { background: #22a977; } .dashboard-status-list .material-status-dot { background: #c99a3e; }
.dashboard-platform-table { display: grid; gap: 0; }
.dashboard-platform-table-head, .dashboard-platform-table-row { display: grid; grid-template-columns: 1.45fr repeat(3, .8fr); gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #edf0f3; }
.dashboard-platform-table-head { color: #9aa5b0; font-size: 9px; letter-spacing: .3px; }
.dashboard-platform-table-row { color: #5d6c7c; font-size: 10px; }
.dashboard-platform-table-row:last-child { border-bottom: 0; }
.dashboard-platform-table-row > span { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-platform-table-row b { color: #3d5066; font-size: 11px; font-weight: 650; }
.dashboard-top-works { display: grid; gap: 0; }
.dashboard-top-works > div { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf0f3; }
.dashboard-top-works > div:last-child { border-bottom: 0; }
.dashboard-top-works .platform-tag { justify-self: start; padding: 4px 6px; font-size: 9px; }
.dashboard-top-works b { display: -webkit-box; overflow: hidden; color: #465668; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dashboard-top-works strong { color: #e78a28; font-size: 12px; }
.dashboard-trend-panel { margin-bottom: 16px; }
.dashboard-trend-chart { display: flex; align-items: flex-end; gap: 7px; height: 150px; padding: 0 4px; border-bottom: 1px solid #e8edf2; }
.dashboard-trend-column { display: grid; justify-items: center; align-items: end; gap: 5px; min-width: 20px; height: 100%; flex: 1; }
.dashboard-trend-column i { display: block; width: 100%; max-width: 28px; min-height: 5px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #5277f2, #9ab2ff); }
.dashboard-trend-column span { color: #9aa5b0; font-size: 9px; white-space: nowrap; }
.dashboard-trend-value { min-height: 11px; color: #607185; font-size: 9px; }
@media (max-width: 1200px) { .dashboard-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .dashboard-analytics-head { align-items: stretch; flex-direction: column; } .dashboard-range-filter { align-self: flex-start; } .dashboard-analytics-grid { grid-template-columns: 1fr; } .dashboard-analytics-grid .panel, .dashboard-analytics-grid-bottom .panel { min-height: auto; } }
@media (max-width: 520px) { .dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dashboard-kpi strong { font-size: 21px; } .dashboard-funnel { overflow-x: auto; min-width: 560px; } .dashboard-funnel-panel { overflow-x: auto; } .dashboard-mini-stats { grid-template-columns: 1fr 1fr; } .dashboard-split-columns { grid-template-columns: 1fr; gap: 8px; } .dashboard-platform-table-head, .dashboard-platform-table-row { grid-template-columns: 1.25fr repeat(3, .75fr); gap: 5px; } .dashboard-top-works > div { grid-template-columns: 60px minmax(0, 1fr) auto; } }

/* Premium data dashboard skin: restrained contrast, depth, and one visual language. */
#view-dashboard { position: relative; }
#view-dashboard:before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 5%, rgba(94,126,255,.08), transparent 25%), radial-gradient(circle at 16% 48%, rgba(42,174,167,.045), transparent 24%); }
#view-dashboard .dashboard-analytics-head { min-height: 164px; align-items: center; padding: 29px 32px; color: #eef4ff; border: 0; background: radial-gradient(circle at 85% 18%, rgba(106,146,255,.34), transparent 26%), radial-gradient(circle at 68% 115%, rgba(45,203,177,.12), transparent 30%), linear-gradient(126deg, #132337 0%, #1b385c 56%, #283f96 100%); box-shadow: 0 16px 38px rgba(23,43,74,.2); overflow: hidden; }
#view-dashboard .dashboard-analytics-head:before { content: "DATA / 01"; position: absolute; right: 32px; bottom: 17px; color: rgba(212,226,255,.25); font-size: 9px; font-weight: 750; letter-spacing: 2.5px; }
#view-dashboard .dashboard-analytics-head:after { content: ""; position: absolute; width: 460px; height: 460px; right: 170px; top: -340px; border: 1px solid rgba(195,218,255,.14); border-radius: 50%; box-shadow: 0 0 0 33px rgba(185,211,255,.04), 0 0 0 78px rgba(185,211,255,.025); pointer-events: none; }
#view-dashboard .dashboard-analytics-head > div:first-child { position: relative; z-index: 1; }
#view-dashboard .dashboard-analytics-head h2 { color: #f5f8ff; font-size: 30px; letter-spacing: -1px; }
#view-dashboard .dashboard-analytics-head p { color: #b9c9df; }
#view-dashboard .dashboard-analytics-head .hero-kicker { color: #99b5f0; font-weight: 750; letter-spacing: 2px; }
#view-dashboard .dashboard-range-filter { position: relative; z-index: 2; border-color: rgba(255,255,255,.15); background: rgba(8,20,38,.3); backdrop-filter: blur(10px); }
#view-dashboard .dashboard-range-filter span { color: #9eafc8; }
#view-dashboard .dashboard-range-filter button { color: #bcc9dd; }
#view-dashboard .dashboard-range-filter button:hover { color: #fff; }
#view-dashboard .dashboard-range-filter button.active { color: #1c3560; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.14); }
#view-dashboard .dashboard-kpi { border-color: #e1e7f0; background: linear-gradient(145deg, #fff 0%, #fbfcff 100%); box-shadow: 0 8px 21px rgba(29,47,75,.055); transition: transform .2s, box-shadow .2s, border-color .2s; }
#view-dashboard .dashboard-kpi:hover { border-color: #b9caff; box-shadow: 0 12px 28px rgba(34,67,124,.1); transform: translateY(-2px); }
#view-dashboard .dashboard-kpi:after { content: ""; position: absolute; right: -18px; top: -22px; width: 62px; height: 62px; border: 1px solid color-mix(in srgb, var(--kpi-color) 20%, transparent); border-radius: 50%; box-shadow: 0 0 0 10px color-mix(in srgb, var(--kpi-color) 4%, transparent); }
#view-dashboard .dashboard-kpi strong { color: #182b41; font-weight: 780; }
#view-dashboard .dashboard-funnel-panel, #view-dashboard .dashboard-analytics-grid .panel, #view-dashboard .dashboard-trend-panel { border-color: #e2e8f0; box-shadow: 0 8px 26px rgba(28,48,77,.045); }
#view-dashboard .panel-head { margin-bottom: 19px; }
#view-dashboard .panel-head h3 { color: #23374c; letter-spacing: -.25px; }
#view-dashboard .section-kicker { color: #7486a2; font-size: 9px; font-weight: 800; letter-spacing: 1.9px; }
#view-dashboard .dashboard-funnel-panel { background: linear-gradient(180deg, #fff, #fcfdff); }
#view-dashboard .dashboard-funnel-bar { background: linear-gradient(180deg, #f0f3f8, #e8edf4); box-shadow: inset 0 1px 2px rgba(36,54,79,.04); }
#view-dashboard .dashboard-funnel-bar i { box-shadow: 0 4px 10px color-mix(in srgb, currentColor 10%, transparent); }
#view-dashboard .dashboard-funnel-step strong { color: #23384e; font-weight: 780; }
#view-dashboard .dashboard-mini-stats span { border: 1px solid #e8edf3; background: linear-gradient(145deg, #f8faff, #f4f7fb); }
#view-dashboard .dashboard-mini-stats b { color: #294a88; font-weight: 780; }
#view-dashboard .dashboard-section-label { color: #77879a; letter-spacing: .5px; }
#view-dashboard .dashboard-bar-track { height: 8px; background: #edf1f6; box-shadow: inset 0 1px 2px rgba(31,49,74,.04); }
#view-dashboard .dashboard-bar-track i { background: linear-gradient(90deg, color-mix(in srgb, var(--bar-color) 74%, #fff), var(--bar-color)); box-shadow: 0 2px 7px color-mix(in srgb, var(--bar-color) 20%, transparent); }
#view-dashboard .dashboard-topic-list span { border-color: #e0e8f4; background: linear-gradient(145deg, #fbfdff, #f3f7fd); box-shadow: 0 2px 7px rgba(44,75,123,.04); }
#view-dashboard .dashboard-platform-table-head { color: #9aa9ba; font-weight: 750; letter-spacing: .7px; }
#view-dashboard .dashboard-platform-table-row { border-color: #edf1f5; }
#view-dashboard .dashboard-platform-table-row:hover { background: #fbfcff; }
#view-dashboard .dashboard-platform-table-row b { color: #2f4864; font-weight: 750; }
#view-dashboard .dashboard-top-works > div { border-color: #edf1f5; }
#view-dashboard .dashboard-top-works > div:hover { background: linear-gradient(90deg, #fbfcff, transparent); }
#view-dashboard .dashboard-top-works strong { font-weight: 780; }
#view-dashboard .dashboard-trend-chart { position: relative; background: repeating-linear-gradient(to top, transparent 0, transparent 36px, rgba(205,214,226,.32) 37px); }
#view-dashboard .dashboard-trend-column i { background: linear-gradient(180deg, #718df6, #b5c6ff); box-shadow: 0 4px 10px rgba(82,119,242,.2); }
@media (max-width: 820px) { #view-dashboard .dashboard-analytics-head { min-height: auto; padding: 24px; } #view-dashboard .dashboard-analytics-head:before { right: 20px; bottom: 12px; } #view-dashboard .dashboard-analytics-head h2 { font-size: 26px; } }

/* Final refinement: quieter surfaces, stronger hierarchy, and more editorial spacing. */
#view-dashboard { --dashboard-ink: #1b2d42; --dashboard-muted: #8491a0; --dashboard-line: #e7ecf2; background: transparent; }
#view-dashboard .dashboard-analytics-head { min-height: 151px; padding: 27px 31px; border-radius: 17px; background: radial-gradient(circle at 91% 5%, rgba(143,175,255,.33), transparent 22%), linear-gradient(120deg, #14263b 0%, #1b3a5c 58%, #293e92 100%); box-shadow: 0 17px 38px rgba(25,47,82,.19), inset 0 1px 0 rgba(255,255,255,.1); }
#view-dashboard .dashboard-analytics-head:after { opacity: .8; border-color: rgba(216,231,255,.18); }
#view-dashboard .dashboard-analytics-head h2 { font-size: 32px; font-weight: 760; letter-spacing: -1.2px; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
#view-dashboard .dashboard-analytics-head .hero-kicker { font-size: 9px; letter-spacing: 2.4px; }
#view-dashboard .dashboard-range-filter { border-radius: 11px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
#view-dashboard .dashboard-range-filter button { min-width: 48px; font-size: 10px; letter-spacing: .1px; }
#view-dashboard .dashboard-kpi-grid { gap: 11px; }
#view-dashboard .dashboard-kpi { min-height: 100px; padding: 15px 14px 13px; border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,253,.96)); }
#view-dashboard .dashboard-kpi:before { height: 4px; }
#view-dashboard .dashboard-kpi:after { opacity: .75; }
#view-dashboard .dashboard-kpi span { color: #788697; font-size: 10px; font-weight: 650; }
#view-dashboard .dashboard-kpi strong { margin-top: 14px; font-size: 26px; letter-spacing: -1px; }
#view-dashboard .dashboard-kpi small { color: #a0aab5; font-size: 9px; }
#view-dashboard .panel { border-radius: 16px; border-color: var(--dashboard-line); box-shadow: 0 10px 28px rgba(27,47,73,.045), 0 1px 2px rgba(27,47,73,.025); }
#view-dashboard .panel-head { position: relative; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid #edf1f5; }
#view-dashboard .panel-head h3 { color: var(--dashboard-ink); font-size: 16px; font-weight: 730; letter-spacing: -.35px; }
#view-dashboard .panel-head .muted { color: #a0aab5; font-size: 10px; }
#view-dashboard .panel-head .mini-link { color: #3569d8; font-size: 10px; font-weight: 650; }
#view-dashboard .section-kicker { color: #8695aa; font-size: 8px; letter-spacing: 2.1px; }
#view-dashboard .dashboard-funnel-panel { padding-bottom: 23px; }
#view-dashboard .dashboard-funnel { counter-reset: dashboard-funnel; }
#view-dashboard .dashboard-funnel-step { counter-increment: dashboard-funnel; }
#view-dashboard .dashboard-funnel-step:before { content: "0" counter(dashboard-funnel); position: absolute; top: 0; color: #a4afbc; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
#view-dashboard .dashboard-funnel-bar { width: 58px; height: 81px; padding: 0 11px; border: 1px solid #e9eef4; box-shadow: inset 0 2px 5px rgba(35,54,78,.035); }
#view-dashboard .dashboard-funnel-bar i { border-radius: 6px 6px 3px 3px; }
#view-dashboard .dashboard-funnel-step strong { margin-top: 10px; font-size: 20px; letter-spacing: -.5px; }
#view-dashboard .dashboard-funnel-step span { color: #8190a0; font-size: 9px; }
#view-dashboard .dashboard-funnel-step em { top: 42px; color: #b5c0cb; }
#view-dashboard .dashboard-mini-stats { gap: 8px; }
#view-dashboard .dashboard-mini-stats span { padding: 11px 12px; border-radius: 9px; }
#view-dashboard .dashboard-mini-stats b { font-size: 21px; }
#view-dashboard .dashboard-bar-list { gap: 10px; }
#view-dashboard .dashboard-bar-label { color: #67788a; font-size: 10px; }
#view-dashboard .dashboard-bar-label b { color: #3a5068; font-weight: 750; }
#view-dashboard .dashboard-bar-track { height: 7px; border-radius: 3px; }
#view-dashboard .dashboard-bar-track i { border-radius: 3px; }
#view-dashboard .dashboard-topic-list { gap: 7px; }
#view-dashboard .dashboard-topic-list span { padding: 6px 9px; color: #607186; font-size: 9px; }
#view-dashboard .dashboard-platform-table-row { min-height: 34px; }
#view-dashboard .dashboard-platform-table-row:nth-child(even) { background: linear-gradient(90deg, rgba(247,249,252,.82), transparent); }
#view-dashboard .dashboard-platform-table-row > span { color: #566a7f; }
#view-dashboard .dashboard-top-works > div { padding: 11px 0; }
#view-dashboard .dashboard-top-works b { color: #3a5068; font-weight: 650; }
#view-dashboard .dashboard-top-works strong { font-size: 13px; }
#view-dashboard .dashboard-trend-chart { height: 165px; padding: 0 8px; }
#view-dashboard .dashboard-trend-column i { width: 20px; max-width: 20px; }
#view-dashboard .dashboard-trend-column span { color: #9ba7b3; font-size: 8px; }

/* Final production action overrides must stay after legacy card rules. */
.production-track-item > span, .production-step-number { display: none !important; }
.workflow-config:before { display: none !important; content: none !important; }
.workflow-config > .muted { order: 1; margin-right: auto; }
.workflow-config .workflow-build-btn { order: 2; min-width: 116px; color: #fff; border-color: #2764ff; background: #2764ff; }
.workflow-config .workflow-build-btn:hover { color: #fff; border-color: #1c52dd; background: #1c52dd; }
.production-final-btn { color: #fff !important; border-color: #2764ff !important; background: #2764ff !important; }
.production-final-btn:hover { border-color: #1c52dd !important; background: #1c52dd !important; }
.production-final-btn:disabled { border-color: #b8c2d1 !important; background: #b8c2d1 !important; }
.content-actions { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 6px; }
.content-actions > button, .content-actions > a { display: inline-flex; box-sizing: border-box; width: 100% !important; min-width: 0; min-height: 34px; margin: 0; padding: 0 7px; border-radius: 8px; font-size: 10px; line-height: 1.25; white-space: normal; align-items: center; justify-content: center; }
.content-actions .stage-content { order: 4; color: #fff; border-color: #1e9d6d; background: #1e9d6d; }
.content-actions .stage-content:hover { border-color: #16875c; background: #16875c; }
.content-actions .edit-content { color: #315fb9; border-color: #cbdafa; background: #f3f7ff; }
.research-intro-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.logged-platforms{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #ccebdd;border-radius:999px;background:#f1fbf5;color:#18794e;font-size:12px}.logged-platforms.is-empty{border-color:#e5e7eb;background:#f8fafc;color:#64748b}.logged-platform{display:inline-flex;align-items:center;gap:4px;margin-left:4px}.logged-platform .platform-dot{width:6px;height:6px;background:#20a464}.account-status-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:700;vertical-align:middle}.account-status-badge.is-logged-in{color:#18794e;background:#e8f8ef;border:1px solid #b9e8cc}.account-status-badge.is-logged-out{color:#9a6700;background:#fff7df;border:1px solid #f2d58b}
.import-file-picker { display: grid; gap: 6px; padding: 12px; border: 1px dashed #b8c9ea; border-radius: 10px; background: #f8fbff; color: #42516b; }
.import-file-picker input[type=file] { width: 100%; padding: 8px; border: 1px solid #d8e2f3; border-radius: 7px; background: #fff; }
.import-file-picker small, .import-file-name { color: #7b879c; font-size: 11px; line-height: 1.5; }
.import-preserve-note { display: grid; gap: 4px; padding: 11px 12px; border-left: 3px solid #2563eb; background: #f5f8ff; color: #52617b; font-size: 11px; line-height: 1.6; }
.import-preserve-note b { color: #1d4ed8; }
.import-mode-tabs { display: flex; gap: 6px; padding: 4px; border: 1px solid #dce5f2; border-radius: 9px; background: #f6f8fc; }
.import-mode-tab { flex: 1; min-height: 32px; border: 0; border-radius: 6px; background: transparent; color: #66758d; font-size: 12px; cursor: pointer; }
.import-mode-tab.active { background: #fff; color: #1d4ed8; box-shadow: 0 1px 4px rgba(41,69,125,.12); font-weight: 700; }
.imported-format-preview { min-height: 420px; padding: 28px 24px; border: 1px solid #edf0f3; border-radius: 8px; background: #fff; color: #1f2937; overflow-wrap: anywhere; }
.imported-format-preview h1 { margin: 16px 0 22px; font-size: 25px; line-height: 1.4; text-align: center; }
.imported-format-badge { display: inline-block; padding: 4px 8px; border-radius: 999px; color: #1d4ed8; background: #eff6ff; font-size: 10px; }
.imported-format-preview img { max-width: 100%; }
.docx-table-wrap { width: 100%; margin: 18px 0 24px; overflow: visible; }
.docx-preserved-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; border-spacing: 0; }
.docx-preserved-table th, .docx-preserved-table td { max-width: 0; overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.imported-format-preview .docx-preserved-table img, .rich-body-content .docx-preserved-table img { display: block; width: auto; max-width: 100%; height: auto; }
.docx-single-row-table .docx-preserved-table { border: 0; }
.docx-single-row-table td { border: 0; background: transparent; }
.docx-single-cell-table .docx-preserved-table { border: 0; }
.docx-single-cell-table td { border: 0; border-bottom: 2px solid #f45211; background: transparent; }
