/* 华夏非遗 Web 端设计系统 */
:root {
  --ink: #352625;
  --deep: #71302d;
  --deep-2: #4a2224;
  --jade: #8b6129;
  --red: #ae3830;
  --red-dark: #872924;
  --gold: #b98932;
  --paper: #f7f1e7;
  --paper-2: #eee2cf;
  --white: #fffdf8;
  --muted: #756962;
  --line: #dfd1ba;
  --shadow: 0 18px 50px rgba(73, 34, 32, .09);
  /* 档案展陈体系：字体、动效与纸纹 tokens（视觉迭代层） */
  --font-display: STKaiti, KaiTi, "Songti SC", "Noto Serif SC", serif;
  --font-carve: "Songti SC", STZhongsong, SimSun, "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-figure: Georgia, "Times New Roman", serif;
  --ease-brush: cubic-bezier(.22, .68, .26, 1);
  --dur-quick: .22s;
  --dur-flow: .48s;
  --paper-grain: repeating-linear-gradient(0deg, rgba(120, 104, 78, .022) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(120, 104, 78, .018) 0 1px, transparent 1px 4px);
  --grid-fine: repeating-linear-gradient(90deg, rgba(226, 216, 190, .16) 0 1px, transparent 1px 56px), repeating-linear-gradient(0deg, rgba(226, 216, 190, .16) 0 1px, transparent 1px 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); background-image: var(--paper-grain); font-family: var(--font-body); }
::selection { color: #fff; background: rgba(168, 58, 50, .88); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c8bfa9; border: 3px solid var(--paper); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

.shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; padding: 28px 20px 22px; color: #eef3ed; background: var(--deep-2); overflow: hidden; z-index: 20; display: flex; flex-direction: column; }
.sidebar::before { content: ""; position: absolute; inset: auto -95px 52px auto; width: 250px; height: 250px; border: 1px solid rgba(207, 180, 108, .09); border-radius: 50%; box-shadow: 0 0 0 34px rgba(207,180,108,.035), 0 0 0 68px rgba(207,180,108,.025); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; position: relative; }
.brand-seal { width: 40px; height: 40px; display: grid; place-items: center; font-family: SimSun, serif; font-size: 22px; border: 1px solid rgba(238,243,237,.5); background: var(--red); box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 4px rgba(255,255,255,.28); }
.brand strong { display: block; letter-spacing: 3px; font-family: SimSun, serif; font-size: 18px; }
.brand small { display: block; margin-top: 4px; font-size: 7px; letter-spacing: 1.6px; color: rgba(238,243,237,.54); }
.nav { margin-top: 42px; position: relative; }
.nav-label { margin: 22px 12px 9px; color: rgba(238,243,237,.35); font-size: 10px; letter-spacing: 2px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 0; border-radius: 7px; background: transparent; color: rgba(238,243,237,.68); text-align: left; font-size: 13px; transition: .2s; position: relative; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: #fff; background: rgba(255,255,255,.10); }
.nav-item.active::before { content: ""; position: absolute; left: 0; width: 3px; height: 18px; background: var(--red); border-radius: 0 3px 3px 0; }
.nav-icon { width: 18px; height: 18px; flex: 0 0 18px; display: inline-grid; place-items: center; text-align: center; color: #d4bd83; font-size: 16px; }
.nav-icon i { font-style: normal; }
.nav-icon svg { display: block; width: 18px; height: 18px; stroke-width: 1.8; }
.nav-dot { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.sidebar-card { margin-top: auto; position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.045); border-radius: 10px; overflow: hidden; }
.sidebar-card strong { font-family: SimSun, serif; font-size: 14px; }
.sidebar-card p { font-size: 11px; line-height: 1.7; color: rgba(238,243,237,.56); }
.sidebar-card button { padding: 0; border: 0; background: none; color: #e7cf98; font-size: 11px; }
.sidebar-card button span { padding-left: 5px; }
.tiny-knot { position: absolute; width: 44px; height: 44px; border: 5px double rgba(201,75,63,.25); transform: rotate(45deg); right: -14px; top: -14px; }
.sidebar-foot { margin-top: 18px; display: flex; align-items: center; gap: 9px; color: rgba(238,243,237,.66); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(213,164,72,.12); transition: background .25s ease, box-shadow .25s ease; }
.status-dot.configured { background: #73bda5; box-shadow: 0 0 0 4px rgba(115,189,165,.12); }
/* 模型最近一次真实调用状态（body[data-model-call] 由 app.js 维护）：绿=成功，红=失败已降级，金=尚未调用 */
body[data-model-call="ok"] .status-dot, body[data-model-call="ok"] .home-header .home-mode i { background: #73bda5; box-shadow: 0 0 0 4px rgba(115,189,165,.12); }
body[data-model-call="fail"] .status-dot, body[data-model-call="fail"] .home-header .home-mode i { background: var(--red); box-shadow: 0 0 0 4px rgba(200,75,63,.12); }
.sidebar-foot strong, .sidebar-foot small { display: block; font-size: 9px; font-weight: 500; }
.sidebar-foot small { color: rgba(238,243,237,.34); margin-top: 3px; }

.main { grid-column: 2; min-width: 0; }
.topbar { height: 68px; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(245,242,234,.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: 11px; color: #87908d; }
.breadcrumb b { font-weight: 400; color: #bbb9b0; }.breadcrumb strong { color: #4c5d58; }
.top-actions { display: flex; gap: 11px; align-items: center; }
.journey-state { min-width: 118px; padding-right: 11px; display: grid; gap: 2px; border-right: 1px solid var(--line); text-align: right; }
.journey-state span, .journey-state strong { display: block; letter-spacing: 0; }
.journey-state span { color: #9a9f9c; font-size: 7px; }
.journey-state strong { color: #4c5f59; font-size: 9px; font-weight: 600; }
.mode-pill { display: flex; gap: 7px; align-items: center; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; color: #66736f; background: rgba(255,255,255,.55); }
.mode-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.avatar { width: auto; min-width: 32px; height: 32px; padding: 0 10px; display: grid; place-items: center; border: 0; color: white; background: var(--deep); border-radius: 16px; font-family: SimSun, serif; font-size: 11px; }
.content { padding: 38px 42px 60px; max-width: 1510px; margin: 0 auto; }
.view { display: none; animation: fade .35s ease backwards; }
.view.active { display: block; }
.is-view-transitioning .view { animation: none; }
@supports (view-transition-name: root) { .view { animation: none; } }
/* fade 只动 opacity：任何 transform 都会让 #view-home 成为 fixed 后代的包含块，
   首页章节导航（position:fixed）会因此被定位到文档 50% 处而消失。 */
@keyframes fade { from { opacity: 0; } }
@keyframes qilu-view-out { to { opacity: 0; transform: translateY(-8px) scale(.995); } }
@keyframes qilu-view-in { from { opacity: 0; transform: translateY(12px) scale(.995); } }
::view-transition-old(root) { animation: qilu-view-out .22s ease both; }
::view-transition-new(root) { animation: qilu-view-in .42s cubic-bezier(.2,.7,.2,1) both; }

.section-kicker { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 2.2px; }
.primary-button { border: 0; padding: 13px 20px; color: #fff; background: var(--red); border-radius: 3px; font-weight: 700; font-size: 12px; box-shadow: 0 9px 20px rgba(200,75,63,.18); transition: .2s; }
.primary-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.primary-button span { padding-left: 13px; font-size: 15px; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.culture-card { position: relative; min-height: 178px; padding: 20px; border: 1px solid var(--line); background: rgba(255,253,248,.7); border-radius: 5px; overflow: hidden; transition: .25s; }
.culture-card:hover { transform: translateY(-3px); border-color: #c9bfa9; box-shadow: 0 13px 30px rgba(28,51,46,.08); }
.culture-card::after { content: attr(data-icon); position: absolute; right: -1px; bottom: -25px; color: rgba(24,56,52,.045); font-family: STKaiti, serif; font-size: 110px; }
.culture-top { display: flex; justify-content: space-between; align-items: center; }
.culture-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 50% 50% 50% 8px; font-family: STKaiti, serif; font-size: 17px; }
.culture-region { color: #8a928f; font-size: 9px; letter-spacing: 1px; }.culture-region b { color: var(--red); font-weight: 500; }
.culture-card h3 { margin: 15px 0 7px; font-family: STKaiti, KaiTi, serif; font-size: 19px; font-weight: 500; }
.culture-card p { margin: 0; max-width: 88%; color: #79837f; font-size: 10px; line-height: 1.6; }
.culture-genes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }.culture-genes span { padding: 3px 7px; border-radius: 2px; color: #697873; background: #f0ece3; font-size: 8px; }
.culture-source-status { min-width: 0; margin-top: 14px; padding-top: 11px; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; border-top: 1px solid #e7e1d5; }
.culture-source-status > span { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; color: #fff; background: var(--gold); font-family: STKaiti, serif; font-size: 11px; }
.culture-source-status > div { min-width: 0; }.culture-source-status strong, .culture-source-status small { display: block; letter-spacing: 0; }.culture-source-status strong { color: #52645f; font-size: 8px; }.culture-source-status small { margin-top: 2px; color: #929a96; font-size: 7px; line-height: 1.4; }
.culture-source-status.verified > span { background: var(--jade); }.culture-source-status.pending > span { background: var(--red); }
.culture-card .card-arrow { position: absolute; right: 17px; top: 74px; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #777; font-size: 11px; background: transparent; z-index: 2; }
.culture-card .card-arrow.icon-only-command { right: 14px; top: 68px; width: 40px; height: 40px; min-width: 40px; min-height: 40px; color: #65736e; background: rgba(255,253,248,.82); transition: color .2s ease, border-color .2s ease, background .2s ease; }.culture-card .card-arrow:hover, .culture-card .card-arrow:focus-visible { color: #fff; border-color: var(--jade); background: var(--jade); }
.page-intro { min-height: 160px; display: flex; justify-content: space-between; align-items: center; padding: 28px 35px; color: #fff; background: var(--deep); border-radius: 4px 4px 28px 4px; overflow: hidden; position: relative; }
.page-intro::after { content: ""; position: absolute; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -70px; top: -115px; box-shadow: 0 0 0 32px rgba(255,255,255,.025), 0 0 0 64px rgba(255,255,255,.015); }
.page-intro h1 { margin: 8px 0; font-family: STKaiti, serif; font-size: 31px; font-weight: 500; letter-spacing: 2px; }.page-intro p { margin: 0; color: rgba(255,255,255,.56); font-size: 11px; }
.intro-mark { margin-right: 70px; text-align: center; color: #e7ca8c; font-family: STKaiti, serif; font-size: 31px; position: relative; z-index: 2; }.intro-mark small { color: rgba(255,255,255,.4); font-family: inherit; font-size: 9px; }
.atlas-grid .culture-card { min-height: 220px; }.atlas-grid .culture-card p { font-size: 11px; line-height: 1.8; }

.culture-dossier-dialog { position: fixed; inset: 0; z-index: 180; display: flex; justify-content: flex-end; }
.culture-dossier-backdrop { position: absolute; inset: 0; background: rgba(7,26,23,.76); backdrop-filter: blur(7px); animation: culture-dossier-backdrop-in .24s ease both; }
.culture-dossier-panel { width: min(760px, calc(100vw - 42px)); height: 100dvh; position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; color: var(--ink); background: #f8f5ed; border-left: 1px solid #d9cba8; box-shadow: -28px 0 80px rgba(4,22,19,.28); animation: culture-dossier-in .38s cubic-bezier(.2,.75,.2,1) both; }
.culture-dossier-head { min-height: 188px; padding: 30px 78px 27px 34px; position: relative; display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--deep); border-bottom: 3px solid var(--dossier-accent, var(--gold)); overflow: hidden; }.culture-dossier-head::after { content: ""; width: 176px; height: 176px; position: absolute; right: 58px; top: -88px; border: 1px solid color-mix(in srgb, var(--dossier-accent, var(--gold)) 58%, #fff); box-shadow: 0 0 0 26px color-mix(in srgb, var(--dossier-accent, var(--gold)) 9%, transparent), 0 0 0 52px color-mix(in srgb, var(--dossier-accent, var(--gold)) 5%, transparent); transform: rotate(45deg); }
.culture-dossier-identity { min-width: 0; display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }.culture-dossier-seal { width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-items: center; color: #fff; background: var(--dossier-accent, var(--gold)); border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 0 0 5px rgba(14,47,44,.28); font-family: STKaiti, serif; font-size: 27px; transform: rotate(45deg); }.culture-dossier-seal b { font-weight: 400; transform: rotate(-45deg); }.culture-dossier-identity > div { min-width: 0; }.culture-dossier-identity small { color: color-mix(in srgb, var(--dossier-accent, var(--gold)) 78%, #fff); font-size: 8px; font-weight: 700; letter-spacing: 1.8px; }.culture-dossier-identity h2 { margin: 8px 0 5px; font-family: STKaiti, serif; font-size: 30px; font-weight: 500; letter-spacing: 0; }.culture-dossier-identity p { margin: 0; color: rgba(255,255,255,.58); font-size: 10px; }
.culture-dossier-verification { width: max-content; margin: 20px 0 0 81px; padding-top: 9px; position: relative; z-index: 1; color: rgba(255,255,255,.68); border-top: 1px solid rgba(255,255,255,.16); font-size: 8px; }.culture-dossier-verification.verified { color: #9bd7c3; }.culture-dossier-verification.pending { color: #efca76; }
.culture-dossier-close { position: absolute; z-index: 2; top: 24px; right: 24px; color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); }.culture-dossier-close:hover, .culture-dossier-close:focus-visible { color: var(--deep); border-color: #fff; background: #fff; }
.culture-dossier-body { min-height: 0; padding: 29px 34px 44px; overflow: auto; overscroll-behavior: contain; }.culture-dossier-body section + section { margin-top: 34px; padding-top: 29px; border-top: 1px solid #ddd5c6; }.culture-dossier-index { color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: 1.6px; }.culture-dossier-body h3 { margin: 7px 0 9px; font-family: STKaiti, serif; font-size: 21px; font-weight: 500; }.culture-dossier-overview > p { max-width: 640px; margin: 0; color: #66766f; font-size: 11px; line-height: 1.8; }
.culture-dossier-metrics { margin: 22px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #cfc4af; border-bottom: 1px solid #cfc4af; }.culture-dossier-metrics > div { min-width: 0; padding: 13px 15px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-left: 1px solid #ddd5c6; }.culture-dossier-metrics > div:first-child { border-left: 0; }.culture-dossier-metrics dt { color: #77827e; font-size: 8px; }.culture-dossier-metrics dd { margin: 0; color: var(--deep); font-family: Georgia, serif; font-size: 20px; }
.culture-dossier-claims, .culture-dossier-sources { margin-top: 18px; }.culture-dossier-claim { padding: 15px 0 16px 16px; position: relative; border-top: 1px solid #e1dbcf; }.culture-dossier-claim:first-child { border-top-color: #cfc4af; }.culture-dossier-claim::before { content: ""; width: 3px; position: absolute; left: 0; top: 16px; bottom: 16px; background: var(--gold); }.culture-dossier-claim.cited::before { background: var(--jade); }.culture-dossier-claim.pending::before { background: var(--red); }.culture-dossier-claim > div { display: flex; align-items: center; gap: 7px; }.culture-dossier-claim > div span, .culture-dossier-claim > div em { padding: 3px 6px; color: #65736e; background: #ece7dc; font-size: 7px; font-style: normal; }.culture-dossier-claim.cited > div em { color: #2e685e; background: #e6f0eb; }.culture-dossier-claim.pending > div em { color: #914a42; background: #f8e8e3; }.culture-dossier-claim strong { display: block; margin-top: 8px; color: #344b44; font-size: 11px; }.culture-dossier-claim p { margin: 5px 0; color: #6f7b77; font-size: 9px; line-height: 1.7; }.culture-dossier-claim small { color: #9a9e9b; font-size: 7px; }
.culture-dossier-source { padding: 18px 0; display: grid; grid-template-columns: minmax(0,1fr) 128px; column-gap: 22px; border-top: 1px solid #d8d0c0; }.culture-dossier-source > div { min-width: 0; }.culture-dossier-source > div span, .culture-dossier-source > div strong, .culture-dossier-source > div small { display: block; }.culture-dossier-source > div span { color: var(--jade); font-size: 7px; font-weight: 700; letter-spacing: 1px; }.culture-dossier-source > div strong { margin-top: 7px; color: #344b44; font-size: 11px; }.culture-dossier-source > div small { margin-top: 5px; color: #8a9390; font-size: 8px; line-height: 1.5; }.culture-dossier-source > p { grid-column: 1 / -1; margin: 11px 0 0; color: #6f7b77; font-size: 9px; line-height: 1.75; }.culture-dossier-source > a { min-height: 40px; align-self: center; justify-content: center; color: var(--jade); border: 1px solid #aec6bd; background: transparent; font-size: 8px; text-decoration: none; }.culture-dossier-source > a:hover, .culture-dossier-source > a:focus-visible { color: #fff; border-color: var(--jade); background: var(--jade); }.culture-dossier-source-unavailable, .culture-dossier-empty { color: #9a9f9c; font-size: 8px; }
.culture-dossier-foot { min-height: 78px; padding: 13px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #eee8dc; border-top: 1px solid #d6ccba; box-shadow: 0 -9px 28px rgba(25,48,42,.07); }.culture-dossier-foot > span { max-width: 285px; color: #78837f; font-size: 8px; line-height: 1.55; }.culture-dossier-foot .primary-button { min-height: 44px; justify-content: center; }
@keyframes culture-dossier-in { from { transform: translateX(42px); opacity: .35; } }
@keyframes culture-dossier-backdrop-in { from { opacity: 0; } }

.page-intro.compact { min-height: 125px; }.agent-chips { display: flex; align-items: center; gap: 10px; margin-right: 25px; position: relative; z-index: 2; }.agent-chips span { display: flex; gap: 7px; align-items: center; padding: 8px 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); border-radius: 4px; font-size: 9px; }.agent-chips i { width: 7px; height: 7px; border-radius: 50%; }.agent-red { background: var(--red); }.agent-green { background: #73bda5; }.agent-chips b { color: rgba(255,255,255,.35); font-size: 8px; font-weight: 400; }
.studio-layout { display: grid; grid-template-columns: 1fr 285px; gap: 20px; margin-top: 20px; }
.studio-main, .studio-side { min-width: 0; }.studio-main { padding: 28px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.studio-section + .studio-section { border-top: 1px solid #eee9df; margin-top: 28px; padding-top: 26px; }
.number-title { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 17px; }.number-title > b { color: var(--red); font-family: Georgia, serif; font-size: 17px; }.number-title h2 { margin: 0 0 4px; font-family: STKaiti, serif; font-size: 19px; font-weight: 500; }.number-title p { margin: 0; color: #7f8985; font-size: 10px; }
.culture-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.culture-option { min-height: 58px; padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }.culture-option:hover { border-color: #b8aa8d; transform: translateY(-1px); }.culture-option.selected { border-color: var(--red); background: rgba(200,75,63,.04); box-shadow: inset 0 0 0 1px rgba(200,75,63,.10); }.culture-option.draft { border-style: dashed; background: rgba(213,164,72,.05); }.culture-option.draft:hover, .culture-option.draft:focus-visible { border-color: var(--gold); }.culture-option i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-style: normal; font-family: STKaiti, serif; }.culture-option strong, .culture-option span { display: block; }.culture-option strong { font-family: STKaiti, serif; font-size: 13px; }.culture-option span { color: #7f8985; font-size: 9px; line-height: 1.4; margin-top: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.form-grid label > span { display: block; margin-bottom: 7px; color: #55645f; font-size: 10px; font-weight: 700; }.form-grid select, .form-grid input { width: 100%; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 3px; outline: none; color: #384843; background: #faf8f2; font-size: 11px; }.form-grid select:focus, .form-grid input:focus { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(43,111,104,.10); }
.culture-picker-tools { margin: 0 0 14px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.culture-picker-tools label { width: min(360px, 100%); display: grid; gap: 7px; color: #52645e; font-size: 11px; }
.culture-picker-tools input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.culture-picker-tools select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.culture-picker-tools .culture-province-field { width: min(210px, 100%); }
.culture-coverage-note { margin: 0 0 18px; color: #52645e; font-size: 12px; }
.culture-filter-empty { grid-column: 1 / -1; margin: 0; padding: 22px 12px; color: #52645e; border: 1px dashed var(--line); font-size: 12px; }
.culture-picker-tools > span { white-space: nowrap; color: #87928c; font-size: 10px; }
.culture-options { max-height: 300px; overflow-y: auto; align-content: start; }
.studio-directions { gap: 20px 16px; }
.studio-directions label { min-width: 0; }
.studio-directions label > span { font-size: 11px; }
.studio-directions select, .studio-directions input { min-height: 48px; font-size: 12px; }
.studio-directions .direction-custom { margin-top: 8px; border-left: 3px solid var(--jade); }
.direction-error { color: #a03932; font-size: 11px; }
.agent-consult-shell { max-width: 940px; height: min(620px, calc(100dvh - 310px)); min-height: 420px; margin: 20px auto 0; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; border: 1px solid var(--line); background: var(--white); }
.agent-consult-tabs { display: flex; border-bottom: 1px solid var(--line); background: #ede8dc; }
.agent-consult-tabs button { flex: 1; min-height: 52px; border: 0; border-bottom: 3px solid transparent; color: #566761; background: transparent; font-weight: 700; transition: color .22s ease, background .22s ease, border-color .22s ease; }
.agent-consult-tabs button[aria-selected="true"] { color: var(--deep); border-bottom-color: var(--red); background: var(--white); }
.agent-consult-context { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.agent-consult-context span { display: block; color: var(--red); font-size: 10px; }
.agent-consult-context strong { display: block; margin: 7px 0; font: 24px STKaiti, serif; }
.agent-consult-context p { margin: 0; color: #697972; font-size: 11px; }
.agent-consult-messages { min-height: 0; overflow-y: auto; padding: 24px 26px; }
.agent-consult-opening { padding: 52px 12px; text-align: center; color: #73817a; }
.agent-consult-opening strong { color: var(--deep); font: 23px STKaiti, serif; }
.agent-consult-message { max-width: min(75%, 610px); margin: 0 0 18px; }
.agent-consult-message.user { margin-left: auto; }
.agent-consult-message small { color: #84908b; font-size: 10px; }
.agent-consult-message p { margin: 5px 0 0; padding: 13px 16px; color: var(--deep); background: #eeeae0; line-height: 1.75; font-size: 12px; overflow-wrap: anywhere; }
.agent-consult-message.user p { color: white; background: var(--jade); }
.agent-consult-form { padding: 18px 26px 24px; border-top: 1px solid var(--line); }
.agent-consult-form label { display: block; margin-bottom: 8px; font-size: 10px; color: #65736d; }
.agent-consult-form > div { display: flex; gap: 10px; }
.agent-consult-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 13px; border: 1px solid var(--line); background: #fff; }
.agent-consult-form button { min-height: 48px; }
@media (max-width: 720px) {
  .agent-consult-shell { height: calc(100dvh - 340px); min-height: 380px; }
  .culture-picker-tools { align-items: stretch; flex-direction: column; }
  .culture-options { max-height: 280px; }
  .agent-consult-context, .agent-consult-messages, .agent-consult-form { padding-inline: 16px; }
  .agent-consult-message { max-width: 90%; }
  .agent-consult-form button span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .agent-consult-tabs button { transition: none; } }
.creation-note { margin-top: 22px; padding: 13px 15px; display: flex; gap: 14px; background: #f2efe7; border-left: 3px solid var(--gold); }.creation-note span { flex: 0 0 auto; color: #9b7634; font-size: 9px; font-weight: 700; }.creation-note p { margin: 0; color: #7e8582; font-size: 9px; line-height: 1.6; }
.studio-side { padding: 10px; display: flex; flex-direction: column; gap: 0; position: sticky; top: 88px; align-self: start; background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 16px 40px rgba(28,51,46,.07); }.selected-preview { padding: 14px; background: transparent; border: 0; border-radius: 0; }.selected-hero { min-height: 110px; display: grid; place-items: center; position: relative; overflow: hidden; margin: -3px -3px 12px; background: var(--deep); border-radius: 3px; }.selected-hero span { width: 61px; height: 61px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); color: #fff; font-family: STKaiti, serif; font-size: 27px; transform: rotate(45deg); }.selected-hero span b { transform: rotate(-45deg); font-weight: 400; }.selected-preview small { color: var(--red); font-size: 8px; }.selected-preview h3 { margin: 6px 0; font-family: STKaiti, serif; font-size: 18px; }.selected-preview p { margin: 0; color: #838d89; font-size: 9px; line-height: 1.6; }
.creation-run-panel { --run-accent: var(--jade); margin: 2px 14px 10px; padding: 14px 0 13px; position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #43534e; }.creation-run-panel.auth { --run-accent: #a87627; }.creation-run-panel.failed { --run-accent: var(--red); }.creation-run-panel.completed { --run-accent: #2f7466; }.creation-run-panel header { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; }.creation-run-seal { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--run-accent); border: 1px solid color-mix(in srgb, var(--run-accent) 82%, #152f2b); box-shadow: inset 0 0 0 3px rgba(255,255,255,.14); }.creation-run-seal .action-lucide { width: 16px; height: 16px; }.creation-run-panel header small, .creation-run-panel header strong { display: block; letter-spacing: 0; }.creation-run-panel header small { margin-bottom: 3px; color: var(--run-accent); font-size: 7px; font-weight: 700; }.creation-run-panel header strong { font-family: STKaiti, serif; font-size: 14px; font-weight: 500; line-height: 1.3; }.creation-run-panel > p { min-height: 32px; margin: 10px 0 8px; color: #7d8884; font-size: 8px; line-height: 1.65; }.creation-run-panel > time { display: block; margin: -3px 0 9px; color: var(--run-accent); font-size: 8px; font-variant-numeric: tabular-nums; }.creation-run-panel ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; }.creation-run-panel li { min-width: 0; position: relative; color: #a1a7a4; font-size: 7px; text-align: center; }.creation-run-panel li::before { content: ""; height: 1px; position: absolute; left: 0; right: 0; top: 5px; background: #dcd6ca; }.creation-run-panel li:first-child::before { left: 50%; }.creation-run-panel li:last-child::before { right: 50%; }.creation-run-panel li i { width: 11px; height: 11px; margin: 0 auto 5px; display: block; position: relative; z-index: 1; border: 2px solid #d0c8bb; border-radius: 50%; background: var(--white); }.creation-run-panel li.active, .creation-run-panel li.done, .creation-run-panel li.failed { color: #566660; }.creation-run-panel li.active i { border-color: var(--run-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--run-accent) 13%, transparent); }.creation-run-panel li.done i { border-color: var(--run-accent); background: var(--run-accent); }.creation-run-panel li.failed i { border-color: var(--red); background: var(--red); }.creation-run-action { width: 100%; min-height: 40px; margin-top: 12px; justify-content: center; border: 1px solid color-mix(in srgb, var(--run-accent) 45%, #d8d0c2); color: var(--run-accent); background: transparent; }.creation-run-action:hover, .creation-run-action:focus-visible { color: #fff; background: var(--run-accent); border-color: var(--run-accent); }.creation-run-panel.generating::after { content: ""; width: 34%; height: 2px; position: absolute; left: -34%; bottom: 0; background: var(--run-accent); animation: creation-run-flow 1.7s ease-in-out infinite; }.creation-run-panel.generating .creation-run-seal .lucide-loader-circle { animation: spin 1.2s linear infinite; }
/* 快速开始预设模板 */
.quick-start-templates { margin-bottom: 18px; padding: 18px; border: 1px solid rgba(213,164,72,.25); background: rgba(213,164,72,.04); border-radius: 4px; }
.quick-start-templates h3 { margin: 0 0 12px; color: #52645e; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.quick-start-templates h3::before { content: "⚡"; margin-right: 6px; }
.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.template-card { min-height: 72px; padding: 11px 13px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); background: #fff; border-radius: 3px; text-align: left; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.template-card:hover, .template-card:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(213,164,72,.15); }
.template-card strong { color: var(--deep); font-size: 13px; }
.template-card small { color: #7f8985; font-size: 9px; line-height: 1.4; }

.generate-button { min-height: 58px; margin: 5px; padding: 11px 13px; display: grid; grid-template-columns: 48px 1fr; gap: 2px 12px; text-align: left; border: 0; color: #fff; background: var(--red); border-radius: 2px; box-shadow: 0 10px 25px rgba(200,75,63,.20); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }.generate-button:hover, .generate-button:focus-visible { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(200,75,63,.25); }.generate-button > span { width: 48px; height: 48px; grid-row: 1 / 3; align-self: center; display: grid; place-items: center; border: 2px solid var(--gold); background: var(--red); box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 4px rgba(255,255,255,.28); font-family: STKaiti, serif; font-size: 20px; transform: rotate(45deg); transition: transform .35s var(--ease-brush), box-shadow .35s ease; }.generate-button > span b { transform: rotate(-45deg); }.generate-button:hover > span, .generate-button:focus-visible > span { transform: rotate(0deg) scale(1.06); box-shadow: inset 0 0 0 3px var(--red-dark), inset 0 0 0 4px rgba(255,255,255,.35); }.generate-button b { font-size: 11px; }.generate-button small { color: rgba(255,255,255,.74); font-size: 9px; }.privacy-note { margin: 4px 0 1px; color: #858e8b; font-size: 9px; text-align: center; }

.empty-state { min-height: 610px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.empty-seal { width: 72px; height: 72px; display: grid; place-items: center; color: #fff; background: var(--deep); border: 1px solid #bdac83; box-shadow: inset 0 0 0 5px var(--deep), inset 0 0 0 6px rgba(213,164,72,.45); font-family: STKaiti, serif; line-height: 1.1; font-size: 18px; transform: rotate(2deg); }.empty-state h2 { margin: 20px 0 7px; font-family: STKaiti, serif; font-weight: 500; }.empty-state p { max-width: 440px; color: #858e8a; font-size: 11px; }.empty-state .primary-button { margin-top: 12px; }
.result-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }.result-header h1 { margin: 5px 0 0; font-family: STKaiti, serif; font-weight: 500; }
.result-actions { min-width: 310px; display: grid; gap: 7px; }
.result-primary-action { width: 100%; min-height: 58px; padding: 7px 12px 7px 7px; position: relative; display: flex; align-items: center; gap: 11px; overflow: hidden; border: 0; border-bottom: 1px solid #cfc6b6; color: var(--deep); background: transparent; text-align: left; }
.result-primary-action::after { content: ""; height: 2px; position: absolute; inset: auto 0 -1px; background: var(--red); transform: scaleX(.24); transform-origin: left center; transition: transform .28s ease; }
.result-primary-action:hover::after, .result-primary-action:focus-visible::after { transform: scaleX(1); }
.result-action-seal { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: #f4d994; background: var(--deep); border: 1px solid #bda56d; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--deep), inset 0 0 0 4px rgba(255,255,255,.2); transition: transform .25s ease, background .25s ease; }
.result-primary-action:hover .result-action-seal, .result-primary-action:focus-visible .result-action-seal { background: var(--red); transform: rotate(-5deg); }
.result-primary-action strong, .result-primary-action small { display: block; letter-spacing: 0; }.result-primary-action strong { font-family: STKaiti, serif; font-size: 15px; font-weight: 600; }.result-primary-action small { margin-top: 3px; color: #7c8783; font-size: 8px; }
.result-secondary-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.result-secondary-action, .result-export-menu summary { min-width: 0; min-height: 40px; padding: 8px 9px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-bottom: 1px solid #d8d1c4; color: #5b6a65; background: transparent; font-size: 9px; }
.result-secondary-action:hover, .result-secondary-action:focus-visible, .result-export-menu summary:hover, .result-export-menu summary:focus-visible { color: var(--deep); border-color: var(--gold); background: rgba(213,164,72,.07); }
.action-lucide { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 18px; font-style: normal; line-height: 1; }.action-lucide svg, svg.action-lucide { width: 18px; height: 18px; stroke-width: 1.8; }
.icon-command { min-width: 0; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }.icon-command > span { min-width: 0; padding-left: 0; font-size: inherit; letter-spacing: 0; }.icon-only-command { width: 40px; height: 40px; min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; padding: 0; }.icon-command .lucide-loader-circle { animation: spin 1.2s linear infinite; }
.ghost-button { padding: 9px 12px; border: 1px solid var(--line); background: var(--white); color: #5e6b67; border-radius: 3px; font-size: 9px; }.image-download { display: inline-flex; align-items: center; text-decoration: none; }
.result-header.evidence-header { display: block; }.result-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.result-title-row > div:first-child { min-width: 0; }
.result-export-menu { min-width: 0; position: relative; z-index: 8; }.result-export-menu summary { cursor: pointer; list-style: none; }.result-export-menu summary::-webkit-details-marker { display: none; }.result-export-menu[open] summary { color: #fff; background: var(--deep); border-color: var(--deep); }.result-export-menu > div { width: 232px; padding: 7px; position: absolute; right: 0; top: calc(100% + 7px); display: grid; background: #fffdf8; border: 1px solid #d8d0bf; box-shadow: 0 18px 42px rgba(22,47,42,.18); }.result-tools-label { padding: 7px 9px 5px; color: #9a7740; font-size: 7px; font-weight: 700; letter-spacing: 0; }.result-tools-label + button { border-top: 1px solid #e6e0d5; }.result-export-menu button, .result-export-menu a { min-height: 42px; padding: 9px; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 9px; border: 0; color: #53635d; background: transparent; text-align: left; text-decoration: none; font-size: 9px; }.result-export-menu button:hover, .result-export-menu button:focus-visible, .result-export-menu a:hover, .result-export-menu a:focus-visible { color: var(--deep); background: #f1ede3; }.result-export-menu button:disabled { cursor: wait; opacity: .55; }
.evidence-strip { width: 100%; margin-top: 18px; padding: 14px 0; display: grid; grid-template-columns: minmax(175px, .72fr) minmax(0, 2.28fr); gap: 18px; align-items: center; border-top: 1px solid #d8d1c3; border-bottom: 1px solid #d8d1c3; }
.evidence-strip-label { min-width: 0; display: flex; align-items: center; gap: 10px; }.evidence-strip-label > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: #fff; background: var(--deep); box-shadow: inset 0 0 0 3px var(--deep), inset 0 0 0 4px rgba(255,255,255,.3); font-family: STKaiti, serif; font-size: 15px; }.evidence-strip.pending .evidence-strip-label > span { background: var(--gold); box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 4px rgba(255,255,255,.38); }.evidence-strip.legacy .evidence-strip-label > span { background: var(--red); box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 4px rgba(255,255,255,.32); }
.evidence-strip-label strong, .evidence-strip-label small { display: block; letter-spacing: 0; }.evidence-strip-label strong { color: #304740; font-family: STKaiti, serif; font-size: 14px; font-weight: 500; }.evidence-strip-label small { margin-top: 3px; color: #7e8985; font-size: 8px; line-height: 1.45; }
.evidence-overview { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(82px, 1fr)) minmax(132px, auto); gap: 7px; align-items: stretch; }.evidence-metric { min-width: 0; min-height: 54px; padding: 7px 9px; display: grid; grid-template-columns: 21px 1fr; grid-template-rows: 1fr 1fr; column-gap: 7px; align-items: center; background: rgba(255,253,248,.72); border-left: 2px solid var(--jade); }.evidence-metric > span { width: 21px; height: 21px; grid-row: 1 / 3; display: grid; place-items: center; color: #fff; background: var(--jade); font-family: STKaiti, serif; font-size: 10px; }.evidence-metric strong { align-self: end; color: #304640; font-family: Georgia, serif; font-size: 17px; font-weight: 400; line-height: 1; }.evidence-metric small { align-self: start; margin-top: 3px; color: #7f8985; font-size: 7px; line-height: 1.25; }.evidence-metric.creative { border-left-color: var(--gold); }.evidence-metric.creative > span { background: var(--gold); }.evidence-metric.pending { border-left-color: var(--red); }.evidence-metric.pending > span { background: var(--red); }
.evidence-details { min-width: 0; }.evidence-details[open] { grid-column: 1 / -1; }.evidence-details summary { min-height: 54px; padding: 0 12px; display: flex; align-items: center; justify-content: center; color: #4f625c; background: transparent; border: 1px solid #cfc7b8; cursor: pointer; list-style: none; font-size: 8px; text-align: center; }.evidence-details summary::-webkit-details-marker { display: none; }.evidence-details summary::after { content: "+"; margin-left: 7px; color: var(--red); font-size: 13px; }.evidence-details[open] summary { min-height: 38px; justify-content: flex-start; border-color: #beb5a5; }.evidence-details[open] summary::after { content: "−"; }
.evidence-detail-body { padding: 15px 0 2px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }.evidence-detail-body > section { min-width: 0; }.evidence-detail-body h3 { margin: 0 0 8px; color: #40554f; font-family: STKaiti, serif; font-size: 13px; font-weight: 500; }.evidence-source-list, .evidence-claim-list { border-top: 1px solid #ddd6c9; }.evidence-source-row { min-width: 0; padding: 10px 0; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; border-bottom: 1px solid #e5dfd4; }.evidence-record-seal { width: 25px; height: 25px; display: grid; place-items: center; color: #fff; background: var(--deep); font-family: STKaiti, serif; font-size: 10px; }.evidence-record-head { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.evidence-record-head strong { min-width: 0; color: #42554f; font-size: 9px; line-height: 1.45; }.evidence-record-head em { flex: 0 0 auto; color: #9b7130; font-size: 7px; font-style: normal; }.evidence-record-head em.verified { color: var(--jade); }.evidence-source-row small { display: block; margin-top: 3px; color: #949b98; font-size: 7px; line-height: 1.5; overflow-wrap: anywhere; }.evidence-source-row p { margin: 5px 0; color: #687670; font-size: 8px; line-height: 1.55; }.evidence-source-row a, .evidence-url-pending { color: #8f5c54; font-size: 7px; line-height: 1.45; overflow-wrap: anywhere; }.evidence-legacy-copy { margin: 0; padding: 10px 0; color: #77837f; border-top: 1px solid #ddd6c9; border-bottom: 1px solid #e5dfd4; font-size: 8px; line-height: 1.65; }
.evidence-claim-row { min-width: 0; padding: 8px 0; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; border-bottom: 1px solid #e5dfd4; }.evidence-claim-row > span { width: 23px; height: 23px; display: grid; place-items: center; color: #fff; background: var(--gold); font-family: STKaiti, serif; font-size: 9px; }.evidence-claim-row.fact > span { background: var(--jade); }.evidence-claim-row.pending > span { background: var(--red); }.evidence-claim-row strong, .evidence-claim-row small { display: block; }.evidence-claim-row strong { color: #43564f; font-size: 9px; }.evidence-claim-row small { margin-top: 2px; color: #8b9490; font-size: 7px; }.evidence-claim-row p { margin: 4px 0 0; color: #76827e; font-size: 7px; line-height: 1.5; }
.workflow-signal { --workflow-accent: var(--gold); margin: 16px 0 18px; padding: 18px 20px; position: relative; display: grid; grid-template-columns: minmax(170px,.72fr) minmax(0,2fr) 118px; align-items: center; gap: 20px; overflow: hidden; color: #fff; background: var(--deep); border-left: 4px solid var(--workflow-accent); }.workflow-signal::after { content: ""; width: 160px; height: 160px; position: absolute; right: -82px; top: -92px; border: 1px solid color-mix(in srgb, var(--workflow-accent) 55%, transparent); transform: rotate(45deg); }.workflow-signal > * { position: relative; z-index: 1; }.workflow-signal-intro small { color: color-mix(in srgb, var(--workflow-accent) 72%, #fff); font-size: 7px; font-weight: 700; letter-spacing: 1.5px; }.workflow-signal-intro h2 { margin: 6px 0 3px; font-family: STKaiti, serif; font-size: 18px; font-weight: 500; letter-spacing: 0; }.workflow-signal-intro p { margin: 0; color: rgba(255,255,255,.48); font-size: 8px; }.workflow-signal ol { min-width: 0; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--step-count,3),minmax(0,1fr)); gap: 10px; list-style: none; }.workflow-signal ol::before, .workflow-signal ol::after { content: ""; height: 1px; position: absolute; left: 17px; right: 17px; top: 17px; transform-origin: left; }.workflow-signal ol::before { background: rgba(255,255,255,.16); }.workflow-signal ol::after { background: var(--workflow-accent); animation: workflow-signal-flow 3.8s ease-in-out infinite; }.workflow-signal-step { min-width: 0; position: relative; z-index: 1; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 8px; }.workflow-signal-step-seal { width: 34px; height: 34px; display: grid; place-items: center; color: var(--deep); background: var(--workflow-accent); border: 1px solid color-mix(in srgb, var(--workflow-accent) 70%, #fff); box-shadow: 0 0 0 5px var(--deep); }.workflow-signal-step-seal .action-lucide { width: 15px; height: 15px; }.workflow-signal-step div { min-width: 0; }.workflow-signal-step small, .workflow-signal-step strong, .workflow-signal-step div > span { display: block; overflow-wrap: anywhere; }.workflow-signal-step small { color: rgba(255,255,255,.42); font-size: 6px; }.workflow-signal-step strong { margin-top: 3px; color: #fff; font-size: 8px; }.workflow-signal-step div > span { margin-top: 2px; color: color-mix(in srgb, var(--workflow-accent) 70%, #fff); font-size: 7px; line-height: 1.35; }.workflow-signal-proof { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 8px; }.workflow-signal-proof > div { display: flex; align-items: baseline; gap: 5px; }.workflow-signal-proof > div strong { font-family: Georgia,serif; font-size: 25px; font-weight: 400; line-height: 1; }.workflow-signal-proof > div span, .workflow-signal-proof > b { color: rgba(255,255,255,.52); font-size: 7px; font-weight: 400; }.workflow-signal-action { min-height: 40px; grid-column: 1 / -1; margin-top: 5px; padding: 0 9px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.22); font-size: 8px; }.workflow-signal-action:hover, .workflow-signal-action:focus-visible { color: var(--deep); background: var(--workflow-accent); border-color: var(--workflow-accent); }
.result-grid { display: grid; grid-template-columns: 330px 1fr; gap: 18px; }.ip-poster { --poster-shift-x: 0px; --poster-shift-y: 0px; min-height: 500px; padding: 26px; color: #fff; background: var(--deep); border-radius: 4px 4px 25px 4px; position: relative; isolation: isolate; overflow: hidden; }.ip-poster::before { content: ""; width: 245px; height: 245px; position: absolute; left: 78px; top: 104px; border: 1px solid color-mix(in srgb, var(--poster-color, var(--gold)) 80%, #fff); background: color-mix(in srgb, var(--poster-color, var(--gold)) 18%, transparent); box-shadow: 0 0 0 34px color-mix(in srgb, var(--poster-color, var(--gold)) 10%, transparent), 0 0 0 68px color-mix(in srgb, var(--poster-color, var(--gold)) 6%, transparent); transform: translate3d(var(--poster-shift-x), var(--poster-shift-y), 0) rotate(45deg); transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease; }.ip-poster::after { content: ""; position: absolute; inset: 0; opacity: .08; background: radial-gradient(circle at 2px 2px, #fff 1px, transparent 1px); background-size: 19px 19px; }.poster-top, .poster-bottom, .character-figure { position: relative; z-index: 2; }.poster-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.6); font-size: 8px; letter-spacing: 1px; }.poster-stamp { padding: 5px; color: #fff; background: var(--red); font-family: STKaiti, serif; font-size: 13px; }
.character-figure { height: 290px; display: grid; place-items: center; }.character-core { width: 145px; height: 190px; display: grid; place-items: center; border-radius: 50% 50% 46% 46%; color: var(--deep); background: #f2dba1; border: 7px solid rgba(255,255,255,.35); font-family: STKaiti, serif; font-size: 45px; box-shadow: 0 20px 40px rgba(0,0,0,.22); position: relative; }.character-core::before, .character-core::after { content: ""; position: absolute; width: 78px; height: 100px; top: 15px; background: var(--red); border: 4px solid #e5c575; z-index: -1; }.character-core::before { left: -65px; clip-path: polygon(100% 0, 100% 100%, 0 58%); }.character-core::after { right: -65px; clip-path: polygon(0 0, 100% 58%, 0 100%); }
.character-visual { height: 310px; margin: 15px -12px 0; display: grid; place-items: center; position: relative; z-index: 2; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(7,25,23,.34); }
.character-visual .character-figure { width: 100%; height: 100%; }.character-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 34%; }
.character-visual .protected-image-fallback { color: #fff; background: rgba(7,25,23,.76); }
.image-draft-badge { position: absolute; left: 10px; bottom: 10px; padding: 6px 8px; color: #fff; background: rgba(13,43,40,.84); border: 1px solid rgba(255,255,255,.24); font-size: 7px; letter-spacing: 0; backdrop-filter: blur(5px); }
.character-image.stale { filter: saturate(.62) contrast(.92); }.image-draft-badge.stale { color: #fff4d8; background: rgba(126,55,42,.92); border-color: rgba(255,222,154,.45); }.image-stale-action { color: #8f433a; border-color: #d7aaa3; background: #fff6f1; }
.character-image-state { width: 100%; min-height: 240px; padding: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 2; }.character-image-state strong { margin-top: 15px; font-family: STKaiti, serif; font-size: 18px; font-weight: 500; }.character-image-state small { max-width: 210px; margin-top: 6px; color: rgba(255,255,255,.55); font-size: 8px; line-height: 1.6; }
.culture-kinetic-state { min-height: 310px; overflow: hidden; }.culture-kinetic-state > :not(.culture-kinetic-scene) { position: relative; z-index: 2; }.culture-kinetic-scene { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; }.culture-kinetic-frame { position: absolute; display: block; border: 1px solid color-mix(in srgb, var(--poster-color, var(--gold)) 66%, #fff); transform: rotate(45deg); animation: culture-frame-drift 7s ease-in-out infinite; }.culture-kinetic-frame.outer { width: 168px; height: 168px; box-shadow: 0 0 0 22px color-mix(in srgb, var(--poster-color, var(--gold)) 7%, transparent); }.culture-kinetic-frame.inner { width: 96px; height: 96px; border-style: dashed; animation-direction: reverse; animation-duration: 5.2s; }.culture-kinetic-axis { position: absolute; display: block; background: color-mix(in srgb, var(--poster-color, var(--gold)) 45%, transparent); animation: culture-axis-breathe 3.6s ease-in-out infinite; }.culture-kinetic-axis.horizontal { width: 78%; height: 1px; }.culture-kinetic-axis.vertical { width: 1px; height: 78%; animation-delay: -1.8s; }.culture-kinetic-state .image-fallback-mark { width: 70px; height: 70px; color: #fff4d4; border-color: color-mix(in srgb, var(--poster-color, var(--gold)) 72%, #fff); background: color-mix(in srgb, var(--poster-color, var(--gold)) 24%, var(--deep)); box-shadow: inset 0 0 0 5px rgba(14,47,44,.5); font-size: 0; transform: rotate(45deg); }.culture-kinetic-state .image-fallback-mark::after { content: attr(data-mark); font-family: STKaiti, serif; font-size: 25px; transform: rotate(-45deg); }.culture-kinetic-state strong { margin-top: 20px; }.culture-kinetic-state .image-retry { backdrop-filter: blur(3px); }
.image-redraw-state { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: rgba(10,38,35,.72); backdrop-filter: blur(3px); text-align: center; }.image-redraw-state .action-lucide { width: 28px; height: 28px; color: #efd28a; animation: spin 1.5s linear infinite; }.image-redraw-state .action-lucide svg, .image-redraw-state svg.action-lucide { width: 28px; height: 28px; }.image-redraw-state strong { margin-top: 12px; font-family: STKaiti, serif; font-size: 17px; }.image-redraw-state small { margin-top: 5px; color: rgba(255,255,255,.68); font-size: 8px; }
.image-redraw-notice { max-width: calc(100% - 20px); min-height: 34px; padding: 7px 9px; position: absolute; z-index: 4; top: 10px; right: 10px; display: flex; align-items: center; gap: 6px; color: #fff3d8; background: rgba(126,55,42,.92); border: 1px solid rgba(255,220,150,.34); font-size: 8px; }.image-redraw-notice span { overflow-wrap: anywhere; }.image-redraw-notice .action-lucide { width: 15px; height: 15px; flex-basis: 15px; }.image-redraw-notice .action-lucide svg, .image-redraw-notice svg.action-lucide { width: 15px; height: 15px; }
.image-orbit { width: 78px; height: 78px; display: grid; place-items: center; position: relative; border: 1px solid rgba(229,197,117,.45); border-radius: 50%; animation: image-pulse 2s ease-in-out infinite; }.image-orbit i { position: absolute; inset: 9px; border: 1px dashed rgba(255,255,255,.35); border-radius: 50%; animation: spin 5s linear infinite; }.image-orbit b, .image-fallback-mark { font-family: STKaiti, serif; font-size: 25px; font-weight: 400; }.image-fallback-mark { width: 65px; height: 65px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); color: #eed89f; }
.image-retry { min-height: 44px; margin-top: 14px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent; font-size: 10px; }.image-retry:hover { border-color: #e5c575; color: #e5c575; }
@keyframes image-pulse { 50% { transform: scale(1.04); box-shadow: 0 0 28px rgba(229,197,117,.15); } }
@keyframes culture-frame-drift { 50% { transform: rotate(52deg) scale(1.04); opacity: .62; } }
@keyframes culture-axis-breathe { 50% { opacity: .28; transform: scale(.88); } }
.poster-bottom small { color: #e4c87f; font-size: 8px; letter-spacing: 2px; }.poster-bottom h2 { margin: 4px 0 0; font-family: STKaiti, serif; font-size: 35px; font-weight: 500; }.poster-bottom p { margin: 5px 0; color: rgba(255,255,255,.62); font-size: 10px; }.poster-bottom .image-meta { display: block; margin-top: 9px; padding-top: 8px; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.12); font-family: Arial, sans-serif; font-size: 7px; letter-spacing: 0; }
.result-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.info-panel { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }.info-panel.wide { grid-column: 1 / -1; }.panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }.panel-title h3 { margin: 0; font-family: STKaiti, serif; font-size: 16px; font-weight: 500; }.panel-title span { color: var(--red); font-size: 8px; letter-spacing: 1px; }.story-text { color: #667570; font-size: 10px; line-height: 1.85; }.trait-row, .visual-tags { display: flex; flex-wrap: wrap; gap: 6px; }.trait-row span { padding: 5px 9px; color: var(--red); background: rgba(200,75,63,.07); border-radius: 99px; font-size: 9px; }.visual-tags span { padding: 6px 8px; color: #536762; border: 1px solid #d8dedb; background: #f8f7f2; border-radius: 3px; font-size: 8px; }.palette-toolbar { margin-top: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }.palette { display: flex; flex-wrap: wrap; gap: 5px; }.palette-swatch { width: 40px; height: 40px; padding: 0; position: relative; border: 3px solid var(--white); border-radius: 50%; background: var(--swatch-color); box-shadow: 0 0 0 1px #d7d0c4, 0 3px 9px rgba(0,0,0,.12); transition: transform .2s ease, box-shadow .2s ease; }.palette-swatch::after { content: ""; width: 7px; height: 7px; position: absolute; inset: 50% auto auto 50%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); opacity: 0; transform: translate(-50%,-50%); }.palette-swatch:hover, .palette-swatch:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--jade), 0 5px 12px rgba(0,0,0,.16); }.palette-swatch.active::after { opacity: 1; }.palette-output { color: #7b8682; font-family: Arial, sans-serif; font-size: 8px; font-variant-numeric: tabular-nums; }
.application-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.application-card { padding: 12px; background: #f6f3eb; border-left: 2px solid var(--jade); }.application-card small { color: var(--red); font-size: 8px; }.application-card strong { display: block; margin: 5px 0; font-size: 10px; }.application-card p { margin: 0; color: #7d8783; font-size: 8px; line-height: 1.6; }
.panel-note { margin: -6px 0 11px; color: #8a938f; font-size: 9px; }
.branch-card { border-left-color: var(--gold); }.branch-card p b { margin-right: 6px; color: #9b7634; font-size: 8px; }
.price-chip { display: inline-block; margin-top: 7px; padding: 3px 8px; color: #536762; background: rgba(31,111,102,.08); border-radius: 99px; font-family: Arial, sans-serif; font-size: 8px; font-variant-numeric: tabular-nums; }
.commerce-panel .route-box strong { display: block; margin: 4px 0; font-size: 10px; }.commerce-panel .route-box p + p { margin-top: 4px; }
.commerce-note { margin: 11px 0 0; padding-top: 9px; color: #8a938f; border-top: 1px dashed var(--line); font-size: 8px; line-height: 1.7; }
.quote-box { padding: 11px 13px; color: #5b6b66; background: #f5f1e8; border-left: 3px solid var(--gold); font-family: STKaiti, serif; font-size: 11px; }
.workflow-panel { overflow: hidden; scroll-margin-top: 88px; }.workflow-panel:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
.export-declaration, .print-dossier-root { display: none; }
.workflow-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.workflow-timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 18px; height: 1px; background: #ded7c8; }
.workflow-node { position: relative; z-index: 1; padding: 0 8px 12px; background: var(--white); }
.workflow-node-index { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 12px; color: #fff; background: var(--deep); border: 4px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px #cfc7b7; font-family: Georgia, serif; font-size: 10px; }
.workflow-node-body > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.workflow-node-body strong { color: var(--red); font-size: 9px; }
.workflow-node-body small { color: #98a09d; font-size: 7px; }
.workflow-node-body h4 { margin: 7px 0 5px; color: #344a45; font-size: 10px; }
.workflow-node-body p { margin: 0; color: #7d8884; font-size: 8px; line-height: 1.65; }
.revision-compare { margin-top: 12px; display: grid; grid-template-columns: 1fr 28px 1fr; align-items: stretch; gap: 8px; }
.revision-compare > div { padding: 12px; background: #f3f0e8; border: 1px solid #e5dfd2; }
.revision-compare > div.revised { background: #eef4f0; border-color: #cadbd3; }
.revision-compare > span { display: grid; place-items: center; color: var(--red); }
.revision-compare small { color: #8c9591; font-size: 8px; }
.revision-compare p { margin: 5px 0 0; color: #566762; font-size: 9px; line-height: 1.6; }
.workflow-foot { display: flex; gap: 18px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #dfd9cd; color: #70807b; font-size: 8px; }

.audit-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }.score-card { min-height: 460px; padding: 28px; color: #fff; background: var(--deep); border-radius: 4px 4px 25px 4px; }.score-ring { width: 150px; height: 150px; margin: 25px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--score) * 1%), rgba(255,255,255,.1) 0); position: relative; }.score-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--deep); }.score-ring div { z-index: 2; text-align: center; }.score-ring strong { display: block; font-family: Georgia, serif; font-size: 40px; font-weight: 400; }.score-ring small { color: rgba(255,255,255,.5); font-size: 8px; }.score-card h2 { font-family: STKaiti, serif; font-weight: 500; text-align: center; }.score-card p { color: rgba(255,255,255,.5); font-size: 9px; line-height: 1.8; text-align: center; }.audit-list { display: flex; flex-direction: column; gap: 10px; }.audit-item { padding: 15px 17px; display: grid; grid-template-columns: 27px 1fr auto; gap: 10px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }.audit-status { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--jade); font-size: 10px; }.audit-item.warn .audit-status { background: var(--gold); }.audit-item strong { font-size: 11px; }.audit-item p { margin: 5px 0 0; color: #7e8884; font-size: 9px; line-height: 1.6; }.audit-item > small { color: var(--jade); font-size: 8px; }.audit-item.warn > small { color: #a7792c; }.revision-box { margin-top: 14px; padding: 18px; background: #fff7e5; border: 1px solid #ead9af; }.revision-box strong { color: #8e692a; font-size: 10px; }.revision-box p { color: #7d725e; font-size: 9px; line-height: 1.7; }
.audit-item.fail { border-color: #dfb7b1; background: #fff9f7; }.audit-item.fail .audit-status { background: var(--red); }.audit-item.fail > small { color: var(--red); }.audit-item-body { min-width: 0; }.audit-item-title { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }.audit-item-title > code { color: #89928f; font-family: Consolas, monospace; font-size: 7px; overflow-wrap: anywhere; }.audit-basis { display: block; margin-top: 8px; color: #55726a; font-size: 7px; font-weight: 700; }.audit-evidence { min-width: 0; margin-top: 7px; }.audit-evidence summary { color: #7a8581; cursor: pointer; font-family: Consolas, "Microsoft YaHei", sans-serif; font-size: 7px; line-height: 1.55; overflow-wrap: anywhere; }.audit-evidence-ids { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }.audit-evidence-ids > span { max-width: 100%; padding: 5px 7px; display: flex; flex-direction: column; gap: 2px; color: #536762; background: #f1eee6; border-left: 2px solid var(--jade); }.audit-evidence-ids code, .audit-invalid-ids code, .audit-draft-paths code { font-family: Consolas, monospace; font-size: 7px; overflow-wrap: anywhere; }.audit-evidence-ids small { color: #8b9490; font-size: 7px; }.audit-evidence-ids .empty { color: #9a6159; border-left-color: var(--red); }.audit-invalid-ids, .audit-draft-paths { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; color: #7e8985; font-size: 7px; }.audit-invalid-ids { color: var(--red); }.audit-invalid-ids strong, .audit-draft-paths strong { font-size: 7px; }.audit-invalid-ids code, .audit-draft-paths code { padding: 3px 5px; background: #f1eee6; }.audit-empty { padding: 18px; color: #974b43; background: #fff9f7; border: 1px solid #dfb7b1; font-size: 9px; line-height: 1.6; }

.project-library { margin-top: 22px; }.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }.project-card { min-width: 0; display: grid; grid-template-rows: 210px auto; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }.project-card-visual { min-width: 0; display: grid; place-items: center; position: relative; overflow: hidden; color: #ebd292; background: var(--deep); font-family: STKaiti, serif; font-size: 58px; }.project-card-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 30%; }.project-card-visual small { position: absolute; left: 10px; top: 10px; padding: 5px 7px; color: #fff; background: rgba(14,47,44,.82); border: 1px solid rgba(255,255,255,.2); font-family: inherit; font-size: 7px; }.project-card-body { padding: 17px; }.project-card-body > span { color: #8a9490; font-size: 8px; }.project-card-body h2 { margin: 7px 0 4px; font-family: STKaiti, serif; font-size: 21px; font-weight: 500; }.project-card-body p { margin: 0; color: #76827d; font-size: 9px; }.project-card-body > div { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }.project-card-body .primary-button { padding: 9px 13px; font-size: 9px; }.project-delete { padding: 7px 0; border: 0; color: #9c7670; background: transparent; font-size: 8px; }.project-delete:hover { color: var(--red); }.project-empty, .project-loading { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #7d8984; text-align: center; }.project-empty > span { width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: var(--deep); font-family: STKaiti, serif; font-size: 24px; }.project-empty h2 { margin: 18px 0 5px; font-family: STKaiti, serif; font-weight: 500; }.project-empty p { margin: 0 0 16px; font-size: 10px; }
.project-card-body .primary-button.icon-command { min-height: 40px; }.project-card-body .primary-button.icon-command > span { padding-left: 0; font-size: inherit; }.project-delete.icon-only-command { padding: 0; border: 1px solid transparent; font-size: inherit; }.project-delete.icon-only-command:hover, .project-delete.icon-only-command:focus-visible { color: var(--red); border-color: #e2bbb5; background: #fff5f1; }
.project-card-visual > [data-image-fallback] { width: 100%; height: 100%; display: grid; place-items: center; }
.project-card-state { display: block; width: max-content; max-width: 100%; margin-top: 9px; padding: 4px 6px; color: #2c665d; background: #edf4ef; border-left: 2px solid var(--jade); font-size: 7px; overflow-wrap: anywhere; }.project-card-state.stale { color: #914a42; background: #fff1ed; border-color: var(--red); }
.showcase-library { margin-top: 24px; padding: 24px 0 27px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.showcase-library > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }.showcase-library h2, .project-library-label h2 { margin: 5px 0 0; font-family: STKaiti, serif; font-size: 22px; font-weight: 500; }.showcase-library > header p { max-width: 420px; margin: 0; color: #78847f; font-size: 9px; line-height: 1.7; text-align: right; }.showcase-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }.showcase-case { min-width: 0; min-height: 188px; display: grid; grid-template-columns: 72px minmax(0,1fr); grid-template-rows: 1fr auto; overflow: hidden; position: relative; border: 1px solid #d9d2c4; border-radius: 4px; background: #fffdf8; }.showcase-case-mark { grid-row: 1 / 3; padding: 15px 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: var(--showcase-color); }.showcase-case-mark span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); font-family: STKaiti, serif; font-size: 21px; }.showcase-case-mark small { margin-top: 12px; font-size: 7px; line-height: 1.5; text-align: center; }.showcase-case-copy { min-width: 0; padding: 14px 14px 8px; }.showcase-case-copy > span { color: var(--red); font-size: 7px; font-weight: 700; }.showcase-case-copy h3 { margin: 6px 0 4px; font-family: STKaiti, serif; font-size: 19px; font-weight: 500; }.showcase-case-copy > p { min-height: 33px; margin: 0; color: #6e7b76; font-size: 8px; line-height: 1.65; }.showcase-case-meta { margin-top: 10px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }.showcase-case-meta strong { color: var(--deep); font-family: Georgia, serif; font-size: 18px; font-weight: 500; }.showcase-case-meta strong small { display: block; color: #929a96; font-family: "Microsoft YaHei", sans-serif; font-size: 6px; font-weight: 400; }.showcase-case-meta > div { display: flex; }.showcase-case-meta i { width: 15px; height: 15px; margin-left: -2px; border: 2px solid #fffdf8; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.14); }.showcase-case > button { min-height: 34px; grid-column: 2; border: 0; border-top: 1px solid #e4ded2; color: var(--jade); background: #f6f3eb; font-size: 8px; font-weight: 700; text-align: left; padding: 0 14px; }.showcase-case > button:hover { color: #fff; background: var(--jade); }.showcase-case > button:disabled { cursor: wait; opacity: .6; }.showcase-loading { min-height: 120px; grid-column: 1 / -1; display: grid; place-items: center; color: #85908c; font-size: 9px; }.showcase-loading.failed { color: var(--red); }.project-library-label { margin-top: 27px; }.project-library-label > span { color: var(--red); font-size: 7px; font-weight: 700; }
.showcase-case > button.icon-command { min-height: 40px; }

.auth-dialog { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 22px; }.auth-backdrop { position: absolute; inset: 0; background: rgba(7,26,23,.84); backdrop-filter: blur(8px); }.auth-panel { width: min(430px,100%); padding: 28px; position: relative; z-index: 1; color: var(--ink); background: #f7f3e8; border: 1px solid #ddcfac; box-shadow: 0 28px 80px rgba(0,0,0,.3); }.auth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.auth-head span { color: var(--red); font-size: 8px; font-weight: 700; }.auth-head h2 { margin: 6px 0 0; font-family: STKaiti, serif; font-size: 25px; font-weight: 500; }.auth-segments { height: 38px; margin: 22px 0 18px; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid #d8d0c0; background: #eee9de; }.auth-segments button { border: 0; color: #7c8782; background: transparent; font-size: 10px; }.auth-segments button.active { color: #fff; background: var(--deep); }.auth-form { display: grid; gap: 13px; }.auth-form label > span { display: block; margin-bottom: 6px; color: #53645e; font-size: 9px; font-weight: 700; }.auth-form input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d6cebe; outline: none; color: #30443e; background: #fffdf7; font-size: 11px; }.auth-form input:focus { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(43,111,104,.1); }.auth-error { margin: 0; padding: 9px 10px; color: #9e3c34; background: rgba(200,75,63,.08); border-left: 3px solid var(--red); font-size: 9px; line-height: 1.5; }.auth-submit { height: 44px; margin-top: 4px; border: 0; color: #fff; background: var(--red); font-size: 11px; font-weight: 700; }.auth-submit:disabled { cursor: wait; opacity: .6; }.account-panel { padding: 25px 0 4px; display: flex; flex-direction: column; align-items: center; text-align: center; }.account-seal { width: 66px; height: 66px; display: grid; place-items: center; color: #fff; background: var(--deep); border: 1px solid #d5b86e; box-shadow: inset 0 0 0 4px var(--deep), inset 0 0 0 5px rgba(255,255,255,.25); font-family: STKaiti, serif; font-size: 26px; }.account-panel strong { margin-top: 14px; font-family: STKaiti, serif; font-size: 22px; }.account-panel small { margin-top: 4px; color: #89918e; font-size: 9px; }.account-panel > div { display: flex; gap: 9px; margin-top: 20px; }

.result-version-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }.result-version-line h1 { min-width: 0; }.result-version-chip { padding: 5px 8px; color: #2b665d; background: #edf4ef; border: 1px solid #c8ddd4; font-size: 8px; font-weight: 700; white-space: nowrap; }.edit-project-button { color: var(--deep); border-color: #b9c9c2; background: transparent; }

.project-editor-dialog { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 24px; }.project-editor-backdrop { position: absolute; inset: 0; background: rgba(7,26,23,.82); backdrop-filter: blur(8px); }.project-editor-panel { width: min(1040px, 100%); height: min(860px, calc(100dvh - 48px)); min-height: 560px; position: relative; z-index: 1; display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: #f8f5ed; border: 1px solid #d9cba8; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.project-editor-head { min-height: 110px; padding: 24px 28px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; color: #fff; background: var(--deep); }.project-editor-head > div > span { color: #dfbd70; font-size: 8px; font-weight: 700; }.project-editor-head h2 { margin: 7px 0 5px; font-family: STKaiti, serif; font-size: 25px; font-weight: 500; }.project-editor-head p { margin: 0; color: rgba(255,255,255,.56); font-size: 9px; }.project-editor-head .custom-close { color: #fff; border-color: rgba(255,255,255,.28); }
.project-editor-tabs { min-height: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 22px; background: #eee9de; border-bottom: 1px solid #d9d1c1; }.project-editor-tabs button { position: relative; border: 0; color: #73807b; background: transparent; font-size: 10px; }.project-editor-tabs button::after { content: ""; position: absolute; inset: auto 28% 0; height: 3px; background: transparent; }.project-editor-tabs button.active { color: var(--deep); font-weight: 700; }.project-editor-tabs button.active::after { background: var(--red); }.project-editor-tabs span { margin-left: 4px; color: var(--red); }
.project-editor-form { min-height: 0; flex: 1; display: flex; flex-direction: column; }.project-editor-body { min-height: 0; flex: 1; padding: 24px 28px 32px; overflow: auto; }.project-editor-tab { display: none; }.project-editor-tab.active { display: block; }.project-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.project-editor-grid.compact-fields { margin-bottom: 16px; }
.project-editor-field { display: block; margin-bottom: 16px; }.project-editor-field > span, .project-editor-list-head > span { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #41574f; font-size: 9px; font-weight: 700; }.project-editor-field > span small, .project-editor-list-head small { color: #9a9f9c; font-size: 7px; font-weight: 400; }.project-editor-field input, .project-editor-field textarea, .project-editor-foot input { width: 100%; border: 1px solid #d6cebe; outline: none; color: #2f443e; background: #fffefa; font-size: 10px; }.project-editor-field input { height: 40px; padding: 0 11px; }.project-editor-field textarea { min-height: 92px; padding: 10px 11px; resize: vertical; line-height: 1.7; }.project-editor-field input:focus, .project-editor-field textarea:focus, .project-editor-foot input:focus { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(43,111,104,.1); }
.project-editor-list { padding: 15px; background: #f1ede3; border: 1px solid #ddd5c5; }.project-editor-list-head { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.project-editor-list-head > span { margin: 0; }.project-editor-list-head button { min-height: 32px; padding: 0 10px; color: var(--jade); background: transparent; border: 1px solid #acc7be; font-size: 8px; }.project-editor-list-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.project-editor-list-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 5px; align-items: center; }.project-editor-list-row:has(input[type="color"]) { grid-template-columns: 46px minmax(0, 1fr) 34px; }.project-editor-list-row input[type="color"] { width: 46px; padding: 3px; }.project-editor-list-row code { min-width: 0; padding: 9px 8px; color: #55645f; background: #fffefa; border: 1px solid #d6cebe; font-size: 9px; }.project-editor-list-row button { width: 34px; height: 40px; border: 1px solid #dfc1bb; color: var(--red); background: #fff8f4; font-size: 17px; }
.project-editor-list-head button.icon-command { min-height: 40px; }.project-editor-list-row { grid-template-columns: minmax(0, 1fr) 40px; }.project-editor-list-row:has(input[type="color"]) { grid-template-columns: 46px minmax(0, 1fr) 40px; }.project-editor-list-row button.icon-only-command { width: 40px; height: 40px; min-width: 40px; min-height: 40px; padding: 0; font-size: inherit; }
.project-editor-boundary { margin: 0 0 16px; padding: 10px 12px; color: #66766f; background: #edf3ee; border-left: 3px solid var(--jade); font-size: 9px; line-height: 1.7; }.project-editor-applications > section { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid #ddd6c9; }.project-editor-applications > section:first-child { border-top: 0; padding-top: 0; }.project-editor-applications > section > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--deep); font-size: 10px; }
.project-version-loading { min-height: 260px; display: grid; place-items: center; color: #7d8985; font-size: 10px; }.project-version-list { position: relative; padding-left: 30px; }.project-version-list::before { content: ""; position: absolute; inset: 9px auto 9px 8px; width: 1px; background: #cdbd94; }.project-version-item { position: relative; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid #ded7ca; }.project-version-item::before { content: ""; position: absolute; left: -27px; top: 8px; width: 9px; height: 9px; background: #f8f5ed; border: 2px solid #bea35f; border-radius: 50%; }.project-version-item.current::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(200,75,63,.1); }.project-version-line { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; }.project-version-line > span { color: var(--red); font-family: SimSun, serif; font-size: 15px; font-weight: 700; }.project-version-line strong, .project-version-line small { display: block; }.project-version-line strong { font-size: 10px; }.project-version-line small { margin-top: 3px; color: #8b9490; font-size: 8px; }.project-version-line b, .project-version-line button { padding: 6px 8px; border: 1px solid #c7b273; color: #7b6529; background: #fbf4df; font-size: 8px; }.project-version-line button { color: var(--jade); border-color: #aac6bd; background: #f3f8f5; }.project-version-item > p { margin: 10px 0 5px; color: #435850; font-size: 10px; }.project-version-fields { color: #8a918e; font-size: 8px; }.project-version-item details { margin-top: 10px; }.project-version-item summary { width: max-content; cursor: pointer; color: var(--jade); font-size: 8px; }.project-version-origin { color: #8a918e; font-size: 9px; }.project-version-diff { margin-top: 10px; display: grid; gap: 7px; }.project-version-diff > div { display: grid; grid-template-columns: 105px minmax(0, 1fr) 18px minmax(0, 1fr); align-items: start; gap: 7px; padding: 8px; background: #f0ece2; font-size: 8px; line-height: 1.55; }.project-version-diff strong { color: #53645d; }.project-version-diff span { overflow-wrap: anywhere; }.project-version-diff i { color: var(--red); font-style: normal; text-align: center; }.project-version-diff .after { color: #25665d; }
.project-editor-foot { padding: 14px 28px 16px; background: #eee9de; border-top: 1px solid #d7cdbb; }.project-editor-foot > label { display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: center; gap: 10px; color: #54665f; font-size: 9px; }.project-editor-foot input { height: 36px; padding: 0 10px; }.project-editor-foot > div { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }.project-editor-foot > div small { color: #7c8884; font-size: 8px; }.project-editor-foot > div button { min-width: 160px; min-height: 42px; padding: 0 16px; border: 0; color: #fff; background: var(--red); font-size: 10px; font-weight: 700; }.project-editor-foot button:disabled, .project-editor-form input:disabled, .project-editor-form textarea:disabled { cursor: wait; opacity: .58; }.project-editor-error { margin: 9px 0 0 115px; padding: 8px 10px; color: #9e3c34; background: rgba(200,75,63,.08); border-left: 3px solid var(--red); font-size: 9px; }
.auth-security-note { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid #ddd4c5; color: #82908b; font-size: 8px; line-height: 1.6; text-align: center; }
.account-panel > div { flex-wrap: wrap; justify-content: center; }

.admin-intro { position: relative; overflow: hidden; }.admin-intro::after { content: ""; width: 170px; height: 170px; position: absolute; right: 98px; top: -115px; border: 1px solid rgba(213,164,72,.22); transform: rotate(45deg); }.admin-intro-mark { min-width: 74px; display: grid; justify-items: center; gap: 5px; position: relative; z-index: 1; }.admin-intro-mark > span { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--red); border: 1px solid #e3b073; box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 5px rgba(255,255,255,.25); font-family: STKaiti,serif; font-size: 22px; }.admin-intro-mark small { color: rgba(255,255,255,.55); font-size: 11px; }
.admin-review-shell { min-height: 680px; margin-top: 20px; display: grid; grid-template-columns: 330px minmax(0,1fr); border: 1px solid var(--line); background: var(--white); }.admin-review-queue-panel { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #f4f0e7; }.admin-review-queue-panel > header { min-height: 76px; padding: 17px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #fff; background: var(--deep); }.admin-review-queue-panel > header span { color: #d7ba72; font-size: 11px; font-weight: 700; }.admin-review-queue-panel > header h2 { margin: 4px 0 0; font-family: STKaiti,serif; font-size: 22px; font-weight: 500; }.admin-review-queue-panel > header button { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.admin-review-filters { padding: 10px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; border-bottom: 1px solid var(--line); }.admin-review-filters button { min-width: 0; min-height: 42px; padding: 5px; color: #6e7b76; background: transparent; border: 1px solid transparent; font-size: 12px; }.admin-review-filters button b { margin-left: 3px; color: #a17c38; }.admin-review-filters button.active { color: #fff; background: var(--jade); border-color: var(--jade); }.admin-review-filters button.active b { color: #efd494; }
.admin-review-queue { min-height: 0; flex: 1; padding: 8px; overflow: auto; }.admin-review-card { width: 100%; min-height: 92px; padding: 13px 11px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; align-items: center; color: var(--ink); background: transparent; border: 1px solid transparent; border-bottom-color: #ddd6ca; text-align: left; }.admin-review-card:hover, .admin-review-card:focus-visible { background: #fffdf8; border-color: #cfc5b3; }.admin-review-card.active { background: #fff; border-color: #b9cfc7; box-shadow: inset 3px 0 0 var(--jade); }.admin-review-card-seal { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--jade); font-family: STKaiti,serif; font-size: 18px; }.admin-review-card-copy { min-width: 0; }.admin-review-card-copy small, .admin-review-card-copy strong, .admin-review-card-copy em { display: block; overflow-wrap: anywhere; }.admin-review-card-copy small { color: #8b9591; font-size: 11px; }.admin-review-card-copy strong { margin: 4px 0; font-size: 14px; }.admin-review-card-copy em { color: #78847f; font-size: 11px; font-style: normal; }.admin-review-card > b, .admin-review-detail-head > b { padding: 4px 6px; color: #8a6624; background: #fff4d8; font-size: 11px; white-space: nowrap; }.admin-review-card > b.approved, .admin-review-detail-head > b.approved { color: #2c665d; background: #e8f2ed; }.admin-review-card > b.rejected, .admin-review-detail-head > b.rejected { color: #95483f; background: #fff0ed; }
.admin-queue-state, .admin-review-empty { min-height: 300px; padding: 30px; display: grid; place-content: center; justify-items: center; gap: 9px; color: #71807a; text-align: center; }.admin-queue-state > span:not(.admin-spinner), .admin-review-empty > span:not(.admin-spinner) { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--jade); font-family: STKaiti,serif; font-size: 19px; }.admin-queue-state strong, .admin-review-empty h2 { margin: 0; color: var(--ink); font-size: 16px; }.admin-queue-state small, .admin-review-empty p { margin: 0; max-width: 380px; font-size: 12px; line-height: 1.7; }.admin-spinner { width: 24px; height: 24px; border: 2px solid #d5cdc0; border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
.admin-review-detail { min-width: 0; background: #fffdf8; }.admin-review-detail-head { min-height: 118px; padding: 22px 26px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; color: #fff; background: #1b4943; border-bottom: 3px solid #d5a448; }.admin-review-detail-head > div > span { color: #e0c276; font-size: 11px; font-weight: 700; }.admin-review-detail-head h2 { margin: 6px 0 3px; font-family: STKaiti,serif; font-size: 29px; font-weight: 500; }.admin-review-detail-head p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }.admin-mobile-back { display: none; }.admin-review-detail-body { padding: 7px 26px 34px; }.admin-review-section { padding: 24px 0; border-bottom: 1px solid #ded7ca; }.admin-review-section > header { margin-bottom: 16px; display: flex; align-items: center; gap: 11px; }.admin-review-section > header > span { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--red); font: 12px Georgia,serif; }.admin-review-section > header small { color: #9a793c; font-size: 11px; font-weight: 700; }.admin-review-section > header h3 { margin: 2px 0 0; font-family: STKaiti,serif; font-size: 21px; font-weight: 500; }
.admin-submission-meta { margin: 0; display: grid; grid-template-columns: 2fr 1fr; border: 1px solid var(--line); }.admin-submission-meta > div { min-width: 0; padding: 12px 14px; border-left: 1px solid var(--line); }.admin-submission-meta > div:first-child { border-left: 0; }.admin-submission-meta dt { color: #8a9591; font-size: 11px; }.admin-submission-meta dd { margin: 6px 0 0; color: #3d514a; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }.admin-gene-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }.admin-gene-list > span { padding: 7px 10px; color: #315f57; background: #e9f1ed; border-left: 2px solid var(--jade); font-size: 12px; }.admin-section-note, .admin-detail-muted { margin: -7px 0 15px; color: #75827d; font-size: 12px; line-height: 1.7; }
.admin-source-editors { display: grid; gap: 13px; }.admin-source-editor { margin: 0; padding: 15px; border: 1px solid #d8d0c1; background: #f8f5ee; }.admin-source-editor legend { padding: 0 7px; color: #385e57; font-size: 13px; font-weight: 700; }.admin-source-editor legend span { color: var(--red); font-family: Georgia,serif; }.admin-source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.admin-source-grid label.wide { grid-column: 1 / -1; }.admin-source-grid label > span, .admin-review-note > span { display: block; margin-bottom: 6px; color: #53655f; font-size: 12px; font-weight: 700; }.admin-source-grid input, .admin-source-grid textarea, .admin-review-note textarea { width: 100%; min-height: 42px; padding: 9px 10px; color: #2e443d; background: #fff; border: 1px solid #d2c9b9; outline: none; font: 13px/1.55 "Microsoft YaHei",sans-serif; resize: vertical; }.admin-source-grid input:focus, .admin-source-grid textarea:focus, .admin-review-note textarea:focus { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(43,111,104,.1); }
.admin-fact-genes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.admin-fact-genes label { min-width: 0; cursor: pointer; }.admin-fact-genes input { position: absolute; opacity: 0; }.admin-fact-genes label > span { min-height: 48px; padding: 9px 11px; display: flex; align-items: center; gap: 9px; color: #4b5f58; background: #f5f1e8; border: 1px solid #d8d0c1; font-size: 13px; }.admin-fact-genes label > span b { color: #a4463d; font: 11px Georgia,serif; }.admin-fact-genes input:checked + span { color: #fff; background: var(--jade); border-color: var(--jade); }.admin-fact-genes input:checked + span b { color: #efd18b; }.admin-fact-genes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }.admin-review-note { display: block; }.admin-review-note textarea { min-height: 96px; }.admin-self-review, .admin-decision-error { margin: 0 0 13px; padding: 10px 12px; color: #91453e; background: #fff0ed; border-left: 3px solid var(--red); font-size: 12px; line-height: 1.6; }
.admin-decision-actions { margin-top: 14px; display: flex; justify-content: flex-end; gap: 9px; }.admin-decision-actions button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }.admin-reject-button { color: #a0443c; background: #fff; border: 1px solid #d9aaa3; }.admin-approve-button { color: #fff; background: var(--jade); border: 1px solid var(--jade); }.admin-decision-actions button:disabled { cursor: not-allowed; opacity: .5; }
.admin-published-sources { display: grid; gap: 10px; }.admin-published-source { padding: 14px; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; border: 1px solid #d9d2c4; }.admin-published-source > span { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--jade); font: 11px Georgia,serif; }.admin-published-source strong, .admin-published-source small { display: block; }.admin-published-source strong { font-size: 14px; }.admin-published-source small { margin-top: 3px; color: #77837e; font-size: 11px; }.admin-published-source p { margin: 9px 0; color: #53655f; font-size: 12px; line-height: 1.7; }.admin-published-source a { color: #28665d; font-size: 12px; }.admin-published-source a svg { width: 13px; height: 13px; vertical-align: -2px; }.admin-review-note-readonly { margin: 0 0 14px; padding: 12px 14px; color: #5e5544; background: #fff6df; border-left: 3px solid var(--gold); font-size: 13px; line-height: 1.7; }
.admin-review-events { margin: 0; padding: 0 0 0 17px; list-style: none; border-left: 1px solid #cfc6b7; }.admin-review-events li { padding: 0 0 17px 18px; position: relative; display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 9px; }.admin-review-events li::before { content: ""; width: 8px; height: 8px; position: absolute; left: -21px; top: 7px; background: var(--red); box-shadow: 0 0 0 5px #fffdf8; }.admin-review-events li > span { color: #a5473f; font: 11px Georgia,serif; }.admin-review-events strong, .admin-review-events small { display: block; }.admin-review-events strong { font-size: 13px; }.admin-review-events small { margin-top: 3px; color: #7b8782; font-size: 11px; }.admin-review-events p { margin: 6px 0 0; color: #596a64; font-size: 12px; line-height: 1.6; }.admin-review-events li.empty { display: block; color: #7d8984; font-size: 12px; }

.chat-layout { min-height: 610px; display: grid; grid-template-columns: 292px minmax(0,1fr); background: var(--white); border: 1px solid var(--line); }.chat-profile { padding: 26px 27px 24px; color: #fff; background: var(--deep); position: relative; overflow: hidden; }.chat-profile::after { content: ""; position: absolute; inset: auto -72px -78px auto; width: 190px; height: 190px; border: 1px solid color-mix(in srgb, var(--chat-accent, var(--gold)) 48%, transparent); transform: rotate(45deg); }.chat-profile > * { position: relative; z-index: 1; }.chat-character-stage { min-height: 184px; margin: 20px -7px 18px; display: grid; place-items: center; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); background: rgba(4,25,22,.3); }.chat-character-image { width: 132px; height: 166px; position: relative; z-index: 2; object-fit: cover; object-position: center 30%; border: 1px solid rgba(255,255,255,.34); box-shadow: 0 16px 35px rgba(0,0,0,.25); }.chat-character-seal { width: 72px; height: 72px; position: relative; z-index: 2; display: grid; place-items: center; color: #fff4d4; background: color-mix(in srgb, var(--chat-accent, var(--gold)) 26%, var(--deep)); border: 1px solid color-mix(in srgb, var(--chat-accent, var(--gold)) 72%, #fff); box-shadow: inset 0 0 0 5px rgba(14,47,44,.48); font-family: STKaiti, serif; font-size: 28px; transform: rotate(45deg); }.chat-character-seal b { font-weight: 400; transform: rotate(-45deg); }.chat-profile h2 { margin: 0; font-family: STKaiti, serif; font-size: 25px; font-weight: 500; }.chat-profile > p { margin: 4px 0 0; color: rgba(255,255,255,.55); font-size: 9px; line-height: 1.7; }.chat-profile blockquote { margin: 14px 0; padding: 11px 0 11px 12px; color: #f0d894; border-left: 2px solid var(--chat-accent, var(--gold)); font-family: STKaiti, serif; font-size: 13px; line-height: 1.65; }.chat-profile-context { margin: 0 0 15px; display: grid; border-top: 1px solid rgba(255,255,255,.13); }.chat-profile-context > div { padding: 8px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }.chat-profile-context dt { color: rgba(255,255,255,.4); font-size: 8px; }.chat-profile-context dd { margin: 0; color: rgba(255,255,255,.84); font-size: 9px; text-align: right; }.chat-tags { display: flex; flex-wrap: wrap; gap: 5px; }.chat-tags span { padding: 4px 7px; background: rgba(255,255,255,.08); color: #e7ce90; font-size: 8px; }
.chat-presence-scene { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }.chat-presence-frame { position: absolute; display: block; border: 1px solid color-mix(in srgb, var(--chat-accent, var(--gold)) 62%, #fff); transform: rotate(45deg); animation: chat-presence-drift 7s ease-in-out infinite; }.chat-presence-frame.outer { width: 126px; height: 126px; box-shadow: 0 0 0 19px color-mix(in srgb, var(--chat-accent, var(--gold)) 7%, transparent); }.chat-presence-frame.inner { width: 74px; height: 74px; border-style: dashed; animation-direction: reverse; animation-duration: 5s; }.chat-presence-axis { position: absolute; display: block; background: color-mix(in srgb, var(--chat-accent, var(--gold)) 42%, transparent); animation: chat-presence-breathe 3.8s ease-in-out infinite; }.chat-presence-axis.horizontal { width: 86%; height: 1px; }.chat-presence-axis.vertical { width: 1px; height: 86%; animation-delay: -1.9s; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }.chat-head { min-height: 62px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }.chat-head strong { display: block; font-size: 12px; }.chat-model-status { min-height: 30px; padding: 6px 10px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; color: #687772; background: #f5f2e9; border: 1px solid #e2dccf; border-radius: 3px; font-size: 9px; line-height: 1.4; text-align: right; }.chat-model-status.configured .status-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(198,155,67,.12); }.chat-model-status.running .status-dot { background: var(--gold); animation: status-pulse 1s ease-in-out infinite; }.chat-model-status.ai { color: #2f695e; background: #eef5f1; border-color: #c7ddd4; }.chat-model-status.demo, .chat-model-status.failed { color: #914a42; background: #fff3f0; border-color: #e8c8c2; }.chat-model-status.demo .status-dot, .chat-model-status.failed .status-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(200,75,63,.1); }.messages { flex: 1; min-height: 0; padding: 22px 25px; overflow: auto; max-height: 470px; }.chat-opening { min-height: 310px; padding: 27px 24px 22px; position: relative; display: grid; grid-template-columns: 92px minmax(0,1fr); grid-template-rows: auto auto auto; align-content: center; column-gap: 22px; color: #3e554d; border: 1px solid #ded6c7; background: #faf8f2; overflow: hidden; }.chat-opening > :not(.chat-presence-scene) { position: relative; z-index: 2; }.chat-opening .opening-scene { inset: -20% 43% -20% -14%; opacity: .52; }.chat-opening-mark { width: 76px; height: 76px; grid-row: 1 / 3; align-self: center; display: grid; place-items: center; color: #fff; background: var(--chat-accent, var(--jade)); border: 1px solid color-mix(in srgb, var(--chat-accent, var(--jade)) 58%, #fff); box-shadow: inset 0 0 0 5px rgba(255,255,255,.16); font-family: STKaiti, serif; font-size: 30px; transform: rotate(45deg); }.chat-opening-mark b { font-weight: 400; transform: rotate(-45deg); }.chat-opening-copy { min-width: 0; }.chat-opening-copy small { color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }.chat-opening-copy h2 { margin: 6px 0 3px; font-family: STKaiti, serif; font-size: 27px; font-weight: 500; }.chat-opening-copy p { margin: 0; color: #526a62; font-family: STKaiti, serif; font-size: 14px; line-height: 1.65; }.chat-opening-context { grid-column: 2; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #d9d0bf; border-bottom: 1px solid #d9d0bf; }.chat-opening-context > div { min-width: 0; padding: 10px; border-left: 1px solid #e1dacd; }.chat-opening-context > div:first-child { border-left: 0; }.chat-opening-context dt { color: #89938f; font-size: 8px; }.chat-opening-context dd { margin: 4px 0 0; color: var(--deep); font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }.chat-opening-note { grid-column: 2; margin-top: 10px; color: #8b9692; font-size: 8px; }.message { max-width: min(78%, 620px); margin-bottom: 17px; }.message > span { display: block; margin-bottom: 5px; color: #7f8b86; font-size: 9px; }.message p { margin: 0; padding: 12px 14px; color: #435951; background: #f1eee6; border-radius: 3px 8px 8px 8px; font-size: 11px; line-height: 1.75; }.message.user { margin-left: auto; }.message.user > span { text-align: right; }.message.user p { color: #fff; background: var(--jade); border-radius: 8px 3px 8px 8px; }.message.demo p, .message.error p { background: #fff3f0; border-left: 3px solid var(--red); }.message-evidence { margin-top: 7px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; color: #788782; font-size: 9px; line-height: 1.5; }.message-evidence strong { padding: 3px 6px; color: #fff; background: var(--jade); font-size: 8px; }.message.demo .message-evidence strong, .message.error .message-evidence strong { background: var(--red); }.message-evidence span { overflow-wrap: anywhere; }.chat-retry { margin-top: 8px; padding: 6px 9px; color: var(--red); background: transparent; border: 1px solid #d9aaa3; font-size: 9px; }.chat-retry:hover { color: #fff; background: var(--red); }
.chat-runtime-warning { margin: 12px 20px 0; padding: 10px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; color: #7f3d37; background: #fff3f0; border: 1px solid #e3bdb6; border-left: 3px solid var(--red); font-size: 9px; line-height: 1.55; }.chat-runtime-warning strong { white-space: nowrap; }.chat-runtime-warning span { overflow-wrap: anywhere; }
.suggestions { padding: 0 20px 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }.suggestions button { min-width: 0; min-height: 58px; padding: 9px 8px; display: grid; grid-template-columns: 18px minmax(0,1fr) 14px; align-items: center; gap: 6px; color: #526862; background: #f8f5ed; border: 1px solid var(--line); font-size: 8px; line-height: 1.5; text-align: left; }.suggestions button small { align-self: start; color: var(--red); font-family: Georgia,serif; font-size: 8px; }.suggestions button span { min-width: 0; overflow-wrap: anywhere; }.suggestions button .action-lucide { width: 13px; height: 13px; color: #9aa29f; }.suggestions button:hover, .suggestions button:focus-visible { color: var(--deep); border-color: var(--chat-accent, var(--jade)); background: #fff; }.suggestions button:hover .action-lucide, .suggestions button:focus-visible .action-lucide { color: var(--chat-accent, var(--jade)); }.chat-form { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }.chat-form input { min-width: 0; flex: 1; height: 40px; padding: 0 13px; border: 1px solid var(--line); outline: none; background: #fbfaf6; font-size: 10px; }.chat-form input:focus { border-color: var(--chat-accent, var(--jade)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--chat-accent, var(--jade)) 12%, transparent); }.chat-form button { width: 80px; flex: 0 0 80px; border: 0; color: #fff; background: var(--red); font-size: 10px; }
.chat-form input:disabled, .chat-form button:disabled { cursor: wait; opacity: .58; }
.suggestions button:disabled { cursor: wait; opacity: .45; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes workflow-signal-flow { 0% { opacity: .22; transform: scaleX(.06); } 58% { opacity: .82; transform: scaleX(1); } 100% { opacity: .18; transform: scaleX(1); } }
@keyframes chat-presence-drift { 0%,100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(50deg) scale(1.04); } }
@keyframes chat-presence-breathe { 0%,100% { opacity: .34; } 50% { opacity: .82; } }
@keyframes creation-run-flow { 0% { transform: translateX(0); } 100% { transform: translateX(394%); } }
@keyframes status-pulse { 50% { opacity: .35; transform: scale(.82); } }
.toast { position: fixed; right: 25px; bottom: 25px; padding: 11px 15px; color: #fff; background: var(--deep); border-left: 3px solid var(--gold); box-shadow: var(--shadow); font-size: 10px; z-index: 120; transform: translateY(80px); opacity: 0; transition: .3s; }.toast.show { transform: translateY(0); opacity: 1; }

/* Root 平台治理：用户管理与模型 API 配置 */
.governance-intro { position: relative; overflow: hidden; }.governance-intro::after { content: ""; width: 240px; height: 240px; position: absolute; right: 40px; top: -155px; border: 1px solid rgba(213,164,72,.2); border-radius: 50%; box-shadow: 0 0 0 35px rgba(213,164,72,.05),0 0 0 70px rgba(213,164,72,.025); pointer-events: none; }.governance-intro-mark { min-width: 86px; display: grid; justify-items: center; gap: 6px; position: relative; z-index: 1; }.governance-intro-mark span { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--red); font: 27px STKaiti,serif; box-shadow: inset 0 0 0 4px rgba(255,255,255,.12); }.governance-intro-mark small { color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: 1px; }
.governance-stats { margin-top: 20px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }.governance-stats article { min-height: 92px; padding: 17px 18px; position: relative; overflow: hidden; background: #fffdf8; border: 1px solid var(--line); }.governance-stats article::after { content: ""; width: 45px; height: 45px; position: absolute; right: -17px; bottom: -17px; border: 1px solid rgba(43,111,104,.16); border-radius: 50%; box-shadow: 0 0 0 9px rgba(43,111,104,.04); }.governance-stats span,.governance-stats strong { display: block; }.governance-stats span { color: #7e8985; font-size: 11px; }.governance-stats strong { margin-top: 8px; color: var(--deep); font: 28px Georgia,serif; }
.governance-panel { margin-top: 14px; background: #fffdf8; border: 1px solid var(--line); }.root-user-filters { padding: 15px; display: grid; grid-template-columns: minmax(220px,1.4fr) minmax(150px,.7fr) minmax(150px,.7fr) auto; gap: 10px; align-items: end; background: #f3efe6; border-bottom: 1px solid var(--line); }.root-user-filters label > span,.provider-config-grid label > span { display: block; margin-bottom: 6px; color: #596b65; font-size: 11px; font-weight: 700; }.root-user-filters input,.root-user-filters select,.provider-config-grid input,.provider-config-grid select { width: 100%; min-height: 42px; padding: 9px 10px; color: #263c36; background: #fff; border: 1px solid #d3cabb; outline: none; font: 12px "Microsoft YaHei",sans-serif; }.root-user-filters input:focus,.root-user-filters select:focus,.provider-config-grid input:focus,.provider-config-grid select:focus { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(43,111,104,.1); }.root-user-search { position: relative; }.root-user-search input { padding-right: 38px; }.root-user-search > i,.root-user-search > svg { width: 16px; position: absolute; right: 12px; bottom: 13px; color: #77918a; }
.root-user-list { min-height: 260px; padding: 8px; display: grid; gap: 7px; }.root-user-card { min-width: 0; padding: 14px; display: grid; grid-template-columns: minmax(210px,.9fr) minmax(390px,1.7fr) minmax(210px,auto); gap: 16px; align-items: center; background: #fff; border: 1px solid #ddd5c8; border-left: 3px solid var(--jade); }.root-user-card.disabled { background: #f7f3ee; border-left-color: #a84b43; }.root-user-card.protected { border-left-color: var(--gold); }.root-user-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }.root-user-identity > span { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; color: #fff; background: var(--jade); font: 19px STKaiti,serif; }.root-user-card.protected .root-user-identity > span { background: var(--red); }.root-user-identity strong,.root-user-identity small { display: block; overflow-wrap: anywhere; }.root-user-identity strong { font-size: 14px; }.root-user-identity small { margin-top: 4px; color: #7b8782; font-size: 10px; }.root-user-facts { min-width: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }.root-user-facts > span { min-width: 0; padding-left: 9px; border-left: 1px solid #e1dbcf; }.root-user-facts small,.root-user-facts b { display: block; overflow-wrap: anywhere; }.root-user-facts small { color: #929b97; font-size: 9px; }.root-user-facts b { margin-top: 4px; color: #465a53; font-size: 10px; font-weight: 600; }.root-user-facts b.active { color: #287066; }.root-user-facts b.disabled { color: #a34239; }.root-user-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.root-user-actions button { min-height: 34px; padding: 6px 8px; display: inline-flex; align-items: center; gap: 4px; color: #385d55; background: #f4f0e7; border: 1px solid #d7cfc0; font-size: 10px; }.root-user-actions button svg { width: 13px; height: 13px; }.root-user-actions button.danger { color: #93443d; background: #fff1ee; border-color: #ecc8c2; }.root-user-actions button.enable { color: #25685f; background: #eaf3ee; border-color: #c6ddd4; }.root-protected-label { padding: 7px 9px; display: inline-flex; align-items: center; gap: 5px; color: #8c6a27; background: #fff5d8; font-size: 10px; }.root-protected-label svg { width: 14px; height: 14px; }
.governance-empty { min-height: 250px; padding: 30px; display: grid; place-content: center; justify-items: center; gap: 9px; color: #74807b; text-align: center; }.governance-empty > span:not(.admin-spinner) { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--jade); font-family: STKaiti,serif; }.governance-empty strong { color: var(--ink); }.governance-empty small { max-width: 400px; line-height: 1.6; }.root-user-pagination { min-height: 54px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); color: #78847f; font-size: 10px; }.root-user-pagination > div { display: flex; gap: 6px; }.root-user-pagination button { min-height: 32px; padding: 6px 12px; color: #365e56; background: #f2eee5; border: 1px solid #d4ccbd; }.root-user-pagination button:disabled { opacity: .38; }
.governance-events-panel > header { min-height: 66px; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: var(--deep); }.governance-events-panel > header span { color: #d9bd77; font-size: 9px; letter-spacing: 1px; }.governance-events-panel > header h2 { margin: 3px 0 0; font-family: STKaiti,serif; font-size: 19px; font-weight: 500; }.governance-events-panel > header button { color: #fff; border-color: rgba(255,255,255,.2); }.governance-event-list { padding: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.governance-event-list article { min-width: 0; padding: 11px; display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 9px; border: 1px solid #ded7ca; background: #fff; }.governance-event-list article > span { width: 29px; height: 29px; display: grid; place-items: center; color: #fff; background: var(--jade); }.governance-event-list article svg { width: 14px; height: 14px; }.governance-event-list strong,.governance-event-list p,.governance-event-list small { display: block; overflow-wrap: anywhere; }.governance-event-list strong { font-size: 12px; }.governance-event-list p { margin: 3px 0; color: #576961; font-size: 10px; }.governance-event-list small { color: #89938f; font-size: 9px; }.governance-event-empty { grid-column: 1/-1; padding: 30px; color: #7c8883; text-align: center; }.governance-event-empty.error { color: #99473f; }
.provider-config-status { min-height: 62px; margin-top: 20px; padding: 12px 15px; display: flex; align-items: center; gap: 11px; color: #fff; background: #6c756f; border-left: 4px solid #c0c5c1; }.provider-config-status > span { width: 11px; height: 11px; flex: 0 0 11px; background: #d4d8d5; border-radius: 50%; }.provider-config-status strong,.provider-config-status small { display: block; }.provider-config-status strong { font-size: 13px; }.provider-config-status small { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 10px; }.provider-config-status.configured { background: #245e56; border-left-color: #d5a448; }.provider-config-status.configured > span { background: #ecd083; box-shadow: 0 0 0 5px rgba(236,208,131,.12); }.provider-config-status.partial { background: #765f32; border-left-color: #e2b456; }.provider-config-status.failed { background: #8f453e; border-left-color: #efc4bd; }.provider-config-status.testing > span,.provider-config-status.loading > span { animation: status-pulse 1s infinite; }
.provider-config-form { margin-top: 12px; display: grid; gap: 12px; }.provider-config-card { background: #fffdf8; border: 1px solid var(--line); }.provider-config-card > header { min-height: 74px; padding: 14px 17px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 11px; align-items: center; color: #fff; background: var(--deep); }.provider-config-card.image-channel > header { background: #3d5750; }.provider-config-card > header > span { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--red); font: 18px STKaiti,serif; }.provider-config-card > header small { color: #d9bc75; font-size: 9px; letter-spacing: 1px; }.provider-config-card > header h2 { margin: 3px 0 0; font-family: STKaiti,serif; font-size: 21px; font-weight: 500; }.provider-config-card > header b { padding: 5px 8px; color: #dec680; background: rgba(255,255,255,.08); font-size: 9px; }.provider-config-grid { padding: 16px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.provider-config-grid label.wide { grid-column: span 2; }.provider-config-grid input:disabled,.provider-config-grid select:disabled { color: #9b9f9d; background: #efede7; cursor: not-allowed; }.provider-card-actions { padding: 0 16px 15px; display: flex; justify-content: flex-end; }.provider-card-actions button { display: inline-flex; align-items: center; gap: 6px; }.provider-card-actions svg { width: 15px; height: 15px; }.provider-cost-note { margin: 0 16px 12px; padding: 9px 11px; display: flex; align-items: center; gap: 7px; color: #835e20; background: #fff4d8; font-size: 10px; line-height: 1.5; }.provider-cost-note svg { width: 15px; height: 15px; flex: 0 0 15px; }.provider-config-error { margin: 0; padding: 11px 13px; color: #97443d; background: #fff0ed; border-left: 3px solid var(--red); font-size: 11px; }.provider-save-bar { min-height: 78px; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #fff; background: #173f3a; border-bottom: 3px solid var(--gold); }.provider-save-bar strong,.provider-save-bar small { display: block; }.provider-save-bar small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 10px; }.provider-save-bar button { display: inline-flex; align-items: center; gap: 6px; }.provider-save-bar button svg { width: 15px; height: 15px; }

@media (max-width: 1050px) {
  .shell { grid-template-columns: 74px 1fr; }.sidebar { width: 74px; padding: 24px 12px; }.brand > span:last-child, .nav-label, .nav-item:not(.active)::after, .nav-item { font-size: 0; }.brand { justify-content: center; }.nav-item { justify-content: center; padding: 12px; }.nav-icon { font-size: 16px; }.sidebar-card { display: none; }.sidebar-foot div { display: none; }.sidebar-foot { justify-content: center; }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }.studio-layout, .result-grid { grid-template-columns: 1fr; }.studio-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }.generate-button, .privacy-note { grid-column: 1/-1; }
  .project-grid, .showcase-case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-review-shell { grid-template-columns: 280px minmax(0,1fr); }.admin-review-detail-body { padding-inline: 20px; }.admin-review-detail-head { padding-inline: 20px; }
  .root-user-card { grid-template-columns: minmax(200px,.8fr) minmax(0,1.5fr); }.root-user-actions { grid-column: 1/-1; justify-content: flex-start; }.root-user-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }.provider-config-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .shell { display: block; }.sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 62px; padding: 7px; flex-direction: row; z-index: 50; }.brand, .sidebar-card, .sidebar-foot, .nav-label { display: none; }.nav { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }.nav-item { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 9px !important; padding: 5px 3px; }.nav-item[data-view-link="result"], .nav-item[data-view-link="audit"], .nav-item[data-view-link="admin"], .nav-item[data-view-link="users"], .nav-item[data-view-link="provider"] { display: none; }.nav-icon { font-size: 15px; }.main { padding-bottom: 62px; }.topbar { padding: 0 16px; }.breadcrumb span, .breadcrumb b, .journey-state { display: none; }.content { padding: 22px 15px 0; }.culture-grid { grid-template-columns: 1fr; }.page-intro { padding: 25px; }.intro-mark, .agent-chips { display: none; }.culture-options, .form-grid { grid-template-columns: 1fr 1fr; }.studio-main { padding: 20px 15px; }.studio-side { grid-template-columns: 1fr; }.result-header { align-items: flex-start; flex-direction: column; }.result-actions { width: 100%; justify-content: stretch; }.result-panels, .application-list, .workflow-timeline { grid-template-columns: 1fr; }.workflow-timeline::before { display: none; }.revision-compare { grid-template-columns: 1fr; }.revision-compare > span { transform: rotate(90deg); }.workflow-foot { flex-direction: column; gap: 5px; }.result-grid, .audit-wrap, .chat-layout { grid-template-columns: minmax(0,1fr); }.chat-layout { min-height: calc(100dvh - 152px); }.score-card { min-height: auto; }.chat-profile { display: none; }.message { max-width: 92%; }.messages { padding: 15px; max-height: none; }.messages:has(.chat-opening) { display: flex; }.messages:has(.chat-opening) .chat-opening { width: 100%; min-height: 100%; }.chat-opening { min-height: 294px; padding: 24px 18px 18px; grid-template-columns: 62px minmax(0,1fr); column-gap: 16px; }.chat-opening .opening-scene { inset: -10% 54% -10% -28%; }.chat-opening-mark { width: 54px; height: 54px; font-size: 23px; }.chat-opening-copy h2 { font-size: 23px; }.chat-opening-copy p { font-size: 12px; }.chat-opening-context { grid-column: 1 / -1; margin-top: 20px; }.chat-opening-context > div { padding: 9px 7px; }.chat-opening-note { grid-column: 1 / -1; }.suggestions { max-width: 100%; padding: 0 15px 10px; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }.suggestions::-webkit-scrollbar { display: none; }.suggestions button { min-width: min(270px,78vw); min-height: 52px; flex: 0 0 min(270px,78vw); scroll-snap-align: start; }.chat-form { padding: 12px 15px; }.chat-form button { width: 64px; flex-basis: 64px; white-space: nowrap; }
  .project-grid, .showcase-case-grid { grid-template-columns: 1fr; }.showcase-library > header { align-items: flex-start; flex-direction: column; gap: 8px; }.showcase-library > header p { text-align: left; }.auth-panel { padding: 22px 18px; }.chat-head { align-items: flex-start; flex-direction: column; gap: 6px; }.chat-model-status { justify-content: flex-start; text-align: left; }
  .result-title-row { width: 100%; flex-direction: column; }.result-actions { width: 100%; min-width: 0; }.result-primary-action { width: 100%; }.evidence-strip { grid-template-columns: minmax(0, 1fr); gap: 11px; }.evidence-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }.evidence-details, .evidence-details[open] { grid-column: 1 / -1; }.evidence-details summary { width: 100%; min-height: 40px; }.evidence-detail-body { grid-template-columns: minmax(0, 1fr); gap: 15px; }.evidence-metric { min-height: 58px; padding: 6px; grid-template-columns: 18px minmax(0, 1fr); column-gap: 5px; }.evidence-metric > span { width: 18px; height: 18px; }.evidence-metric strong { font-size: 15px; }.evidence-metric small { font-size: 7px; overflow-wrap: anywhere; }.audit-item { grid-template-columns: 24px minmax(0, 1fr); }.audit-item > small { grid-column: 2; }
  .result-export-menu > div { width: min(260px, calc(100vw - 30px)); left: auto; right: 0; }
  .project-editor-dialog { padding: 0; place-items: stretch; }.project-editor-panel { width: 100%; height: 100dvh; min-height: 0; border: 0; }.project-editor-head { min-height: 104px; padding: 19px 17px 15px; }.project-editor-head h2 { font-size: 21px; }.project-editor-head p { max-width: 280px; }.project-editor-tabs { min-height: 50px; padding: 0 4px; }.project-editor-tabs button { min-width: 0; padding: 0 3px; font-size: 8px; overflow-wrap: anywhere; }.project-editor-body { padding: 18px 15px 92px; }.project-editor-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }.project-editor-list-rows { grid-template-columns: minmax(0, 1fr); }.project-editor-list-row input, .project-editor-list-row button { min-height: 44px; }.project-editor-applications > section { grid-template-columns: 35px minmax(0, 1fr); gap: 8px; }.project-editor-applications > section > span { width: 32px; height: 32px; }.project-version-list { padding-left: 24px; }.project-version-item::before { left: -21px; }.project-version-line { grid-template-columns: 32px minmax(0, 1fr); }.project-version-line > b, .project-version-line > button { grid-column: 2; width: max-content; }.project-version-diff > div { grid-template-columns: minmax(0, 1fr); }.project-version-diff i { transform: rotate(90deg); text-align: left; }.project-editor-foot { position: absolute; inset: auto 0 0; padding: 10px 15px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(23,42,39,.08); }.project-editor-foot > label { grid-template-columns: minmax(0, 1fr); gap: 5px; }.project-editor-foot > div { margin-top: 8px; }.project-editor-foot > div small { display: none; }.project-editor-foot > div button { width: 100%; min-height: 44px; }.project-editor-error { margin: 7px 0 0; }
  .icon-only-command, .culture-card .card-arrow.icon-only-command, .project-editor-list-row button.icon-only-command, .palette-swatch { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .icon-command, .showcase-case > button.icon-command, .project-editor-list-head button.icon-command, .project-card-body .primary-button.icon-command { min-height: 44px; }.chat-form input { height: 44px; }
  .culture-dossier-panel { width: 100%; }.culture-dossier-head { min-height: 175px; padding: 24px 62px 23px 21px; }.culture-dossier-head::after { width: 138px; height: 138px; right: 18px; top: -82px; }.culture-dossier-close { top: 16px; right: 15px; }.culture-dossier-identity { gap: 14px; }.culture-dossier-seal { width: 54px; height: 54px; flex-basis: 54px; font-size: 23px; }.culture-dossier-identity h2 { font-size: 25px; }.culture-dossier-verification { margin: 17px 0 0 68px; }.culture-dossier-body { padding: 24px 20px 36px; }.culture-dossier-body h3 { font-size: 19px; }.culture-dossier-metrics > div { padding: 12px 8px; flex-direction: column-reverse; align-items: flex-start; gap: 4px; }.culture-dossier-claim { padding-left: 13px; }.culture-dossier-source { grid-template-columns: minmax(0,1fr); row-gap: 12px; }.culture-dossier-source > a { width: max-content; min-height: 44px; padding: 0 12px; }.culture-dossier-foot { min-height: 106px; padding: 11px 15px calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }.culture-dossier-foot > span { display: none; }.culture-dossier-foot .primary-button { width: 100%; min-height: 48px; }
  .admin-intro-mark { display: none; }.admin-review-shell { min-height: calc(100dvh - 190px); margin-top: 14px; display: block; border: 0; }.admin-review-queue-panel { min-height: calc(100dvh - 190px); border: 1px solid var(--line); }.admin-review-detail { display: none; min-height: calc(100dvh - 128px); border: 1px solid var(--line); }.admin-review-shell.detail-open .admin-review-queue-panel { display: none; }.admin-review-shell.detail-open .admin-review-detail { display: block; }.admin-review-detail-head { min-height: 154px; padding: 15px; grid-template-columns: minmax(0,1fr) auto; align-items: start; }.admin-review-detail-head .admin-mobile-back { grid-column: 1 / -1; width: max-content; display: inline-flex; color: #fff; border-color: rgba(255,255,255,.25); }.admin-review-detail-head h2 { font-size: 25px; }.admin-review-detail-body { padding: 2px 15px calc(78px + env(safe-area-inset-bottom)); }.admin-review-section { padding-block: 20px; }.admin-submission-meta, .admin-source-grid, .admin-fact-genes { grid-template-columns: minmax(0,1fr); }.admin-submission-meta > div { border-left: 0; border-top: 1px solid var(--line); }.admin-submission-meta > div:first-child { border-top: 0; }.admin-source-grid label.wide { grid-column: auto; }.admin-decision-actions { flex-direction: column-reverse; }.admin-decision-actions button { width: 100%; min-height: 48px; justify-content: center; }
  .governance-intro-mark { display: none; }.governance-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.root-user-filters { grid-template-columns: minmax(0,1fr); }.root-user-filters button { width: 100%; min-height: 44px; }.root-user-card { grid-template-columns: minmax(0,1fr); gap: 13px; }.root-user-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }.root-user-actions { grid-column: auto; display: grid; grid-template-columns: minmax(0,1fr); }.root-user-actions button { min-height: 44px; justify-content: center; }.root-user-pagination { align-items: flex-start; flex-direction: column; }.root-user-pagination > div { width: 100%; }.root-user-pagination button { flex: 1; min-height: 42px; }.governance-event-list { grid-template-columns: minmax(0,1fr); }.provider-config-grid { grid-template-columns: minmax(0,1fr); }.provider-config-grid label.wide { grid-column: auto; }.provider-config-card > header { grid-template-columns: 40px minmax(0,1fr); }.provider-config-card > header > b { grid-column: 1/-1; width: max-content; }.provider-card-actions button { width: 100%; min-height: 46px; justify-content: center; }.provider-save-bar { align-items: stretch; flex-direction: column; }.provider-save-bar button { width: 100%; min-height: 48px; justify-content: center; }
  .content { padding-bottom: 40px; }
  #view-chat { margin-bottom: -40px; }
  .workflow-signal { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 17px 15px; }.workflow-signal-intro { padding-right: 72px; }.workflow-signal-intro h2 { font-size: 17px; }.workflow-signal ol { gap: 5px; }.workflow-signal ol::before, .workflow-signal ol::after { left: 14px; right: 14px; top: 14px; }.workflow-signal-step { grid-template-columns: 28px minmax(0,1fr); gap: 6px; }.workflow-signal-step-seal { width: 28px; height: 28px; box-shadow: 0 0 0 4px var(--deep); }.workflow-signal-step-seal .action-lucide { width: 13px; height: 13px; }.workflow-signal-step strong { font-size: 8px; }.workflow-signal-step div > span { font-size: 7px; }.workflow-signal-proof { grid-template-columns: auto 1fr; align-items: center; }.workflow-signal-proof > b { text-align: right; }.workflow-signal-action { min-height: 44px; margin-top: 5px; }
}

@media (max-width: 560px) {
  .culture-options, .form-grid { grid-template-columns: minmax(0,1fr); }
  .culture-option { min-height: 52px; }
  #view-create { padding-bottom: 90px; }
  .generate-button { position: fixed; left: 15px; right: 15px; bottom: calc(69px + env(safe-area-inset-bottom)); z-index: 49; min-height: 56px; margin: 0; }
  .privacy-note { padding-bottom: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .view, .culture-option, .generate-button, .status-dot, .image-orbit, .image-orbit i, .image-redraw-state .action-lucide, .creation-run-panel::after, .creation-run-panel .lucide-loader-circle, .culture-kinetic-frame, .culture-kinetic-axis, .chat-presence-frame, .chat-presence-axis { animation: none !important; transition: none !important; }
  .result-primary-action::after, .result-action-seal, .toast, .ip-poster::before, .palette-swatch { transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .icon-command .lucide-loader-circle { animation: none !important; }
  .culture-dossier-panel, .culture-dossier-backdrop { animation: none !important; }
  .workflow-signal ol::after { animation: none !important; transform: scaleX(1); }
}

/* ============================================================
   视觉语言升级层 · 档案展陈体系
   参考中国非遗网的展陈式信息层级：克制的东方留白、纸张质感、
   刊刻式标题、统一的档案核验标签、呼吸感动效。
   本层只做级联覆盖与新增组件，不改动上方被测试锚定的规则。
   ============================================================ */

/* —— 全局材质与节奏 —— */
.topbar, .content, .studio-main, .info-panel, .showcase-library { position: relative; }
.sidebar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--paper-grain); opacity: .5; mix-blend-mode: overlay; }
.page-intro::before { content: ""; position: absolute; inset: 0; background: var(--grid-fine); opacity: .5; pointer-events: none; }
.page-intro::after { border-color: rgba(226, 200, 135, .34); box-shadow: 0 0 0 32px rgba(226, 200, 135, .045), 0 0 0 64px rgba(226, 200, 135, .028); }
.page-intro > div { position: relative; z-index: 1; }
.page-intro h1 { font-family: var(--font-display); letter-spacing: 3px; }
.page-intro h1::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--gold), rgba(213, 164, 72, 0)); }
.section-kicker { font-family: var(--font-carve); }

/* —— 文化档案卡：展陈签样式 —— */
.culture-card { --culture-accent: var(--gold); display: flex; flex-direction: column; border-radius: 0 0 3px 3px; background: linear-gradient(180deg, #fffdf8 0%, #fbf8f0 100%); transition: transform var(--dur-quick) var(--ease-brush), border-color var(--dur-quick) ease, box-shadow var(--dur-flow) var(--ease-brush); }
.culture-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--culture-accent), color-mix(in srgb, var(--culture-accent) 30%, transparent)); }
.culture-card::after { font-family: var(--font-display); opacity: .05; }
.culture-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(23, 48, 42, .12); }
.culture-card h3 { letter-spacing: 1px; }
.culture-icon { border-radius: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4), inset 0 0 0 5px rgba(255, 255, 255, .12); }
.culture-region { font-family: var(--font-carve); }
.culture-genes span { border: 1px solid #e2dccd; background: transparent; }
.culture-source-status { border-top: 1px dashed #ddd6c6; }

/* —— 统一档案标签体系：事实 / 转译 / 原创 · 核验状态 —— */
.seal-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid; font-size: 8px; font-weight: 700; letter-spacing: .8px; font-style: normal; white-space: nowrap; }
.seal-tag::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; background: currentColor; }
.seal-tag.fact, .seal-tag.cited { color: #2c6a5e; border-color: #b9d2c8; background: #ecf3ef; }
.seal-tag.interpretation, .seal-tag.recorded, .seal-tag.declared { color: #8a671f; border-color: #dcca9a; background: #faf4e3; }
.seal-tag.original { color: #96382c; border-color: #d9a89e; border-style: dashed; background: #fdf4f1; }
.seal-tag.pending { color: #a13c31; border-color: #cf9186; border-style: dashed; background: transparent; }
.seal-tag.pending::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; border-radius: 50%; }

/* —— 文化档案（侧滑卷宗）—— */
.culture-dossier-head::before { content: ""; position: absolute; inset: 0; background: var(--grid-fine); opacity: .4; pointer-events: none; }
.culture-dossier-index { font-family: var(--font-carve); }
.culture-dossier-metrics dd { font-family: var(--font-figure); }
.culture-dossier-claim > div span, .culture-dossier-claim > div em { padding: 3px 8px; font-size: 8px; font-weight: 700; letter-spacing: .8px; border: 1px solid transparent; }
.culture-dossier-claim.cited > div span, .culture-dossier-claim.declared > div span, .culture-dossier-claim.pending > div span { border-style: solid; }
.culture-dossier-claim > div em { font-style: normal; }
.culture-dossier-claim.pending > div em { border-style: dashed; background: transparent; }
.culture-dossier-source > div span { font-family: var(--font-carve); }

/* —— 结果页 · 数字 IP 档案卡仪式感 —— */
.ip-poster { border: 1px solid rgba(226, 200, 135, .4); outline: 1px solid rgba(226, 200, 135, .16); outline-offset: 5px; }
.ip-poster::before { border-color: color-mix(in srgb, var(--poster-color, var(--gold)) 62%, #fff); animation: poster-halo 9s var(--ease-brush) infinite; }
@keyframes poster-halo { 0%, 100% { opacity: .9; } 50% { opacity: .55; } }
.poster-stamp { letter-spacing: 2px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.result-version-chip { font-family: var(--font-carve); }

/* Red and gold are navigation and stage colors; culture-specific artwork keeps its own palette. */
.topbar { background: rgba(247, 241, 231, .94); }
.breadcrumb, .breadcrumb strong, .journey-state strong, .mode-pill { color: #624841; }
.nav-icon { color: #e4c27c; }
.studio-side, .info-panel { border-color: var(--line); }
.application-card { border-left-color: var(--gold); }
.result-version-chip, .project-card-state { color: #754024; background: #f9ecd6; border-color: #dec49a; }
.character-visual { background: rgba(49, 15, 16, .35); }
.character-visual .protected-image-fallback { background: rgba(49, 15, 16, .8); }
.image-draft-badge { background: rgba(75, 25, 25, .9); }
.image-redraw-state { background: rgba(67, 22, 24, .74); }
.character-image.turnaround { object-fit: contain; background: #f7f1e7; }
.image-mode-picker { min-width: 0; margin: 15px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
.image-mode-picker legend { width: 100%; margin-bottom: 7px; color: #765032; font-size: 11px; font-weight: 700; }
.image-mode-picker label { min-width: 0; flex: 1 1 155px; display: flex; align-items: flex-start; gap: 7px; padding: 10px 11px; color: #583d34; background: #fffaf2; border: 1px solid #ddc9a7; cursor: pointer; }
.image-mode-picker label:has(input:checked) { border-color: var(--red); background: #fff0e5; box-shadow: inset 0 0 0 1px rgba(174,56,48,.2); }
.image-mode-picker input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.image-mode-picker strong, .image-mode-picker small { display: block; line-height: 1.4; }
.image-mode-picker strong { font-size: 11px; }
.image-mode-picker small { margin-top: 3px; color: #776b62; font-size: 9px; }
.image-mode-picker:disabled { opacity: .65; }
.creation-image-mode { margin-top: 21px; }
.result-image-mode { margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(243, 211, 150, .35); }
.result-image-mode legend { color: #f0d496; font-size: 9px; }
.result-image-mode label { flex-basis: 120px; padding: 7px; color: #fff2d7; background: rgba(75, 25, 25, .58); border-color: rgba(235, 203, 143, .35); }
.result-image-mode label:has(input:checked) { background: rgba(185, 116, 49, .32); border-color: #f1d89c; }
.result-image-mode strong { font-size: 9px; }
.result-image-draw { min-height: 44px; margin-top: 10px; padding: 9px 12px; display: inline-flex; align-items: center; gap: 8px; color: #fff2d7; border: 1px solid #d8b879; background: rgba(85, 28, 28, .6); font-size: 10px; }
.result-image-draw:hover, .result-image-draw:focus-visible { color: #542522; background: #f1d89c; }
.result-image-draw:disabled { opacity: .6; cursor: wait; }

/* —— 双智能体轨迹：可回看的创作路线 —— */
.workflow-signal::before { content: ""; position: absolute; inset: 0; background: var(--grid-fine); opacity: .35; pointer-events: none; }
.workflow-timeline::before { left: 6%; right: 6%; top: 17px; background: repeating-linear-gradient(90deg, #cdbd94 0 7px, transparent 7px 13px); }
.workflow-node-index { border-radius: 0; border: 4px solid var(--white); box-shadow: 0 0 0 1px #b99f63, inset 0 0 0 2px rgba(226, 200, 135, .4); font-family: var(--font-figure); transition: transform var(--dur-quick) var(--ease-brush), background var(--dur-quick) ease; }
.workflow-node:hover .workflow-node-index { background: var(--red); transform: rotate(-4deg); }
.revision-compare > div { position: relative; }
.revision-compare > div::before { content: "初"; position: absolute; right: 9px; top: 9px; width: 18px; height: 18px; display: grid; place-items: center; color: #97815b; border: 1px solid #cbbd97; font-family: var(--font-display); font-size: 10px; }
.revision-compare > div.revised::before { content: "订"; color: #2c6a5e; border-color: #a9c8bc; }
.revision-fields { margin-top: 10px; padding: 9px 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; background: #f6f2e8; border-left: 3px solid var(--gold); color: #6d7a74; font-size: 8px; line-height: 1.6; }
.revision-fields strong { color: #8a671f; font-size: 8px; letter-spacing: .5px; }
.revision-fields code { padding: 2px 6px; background: #fffdf6; border: 1px solid #e0d8c6; font-family: Consolas, monospace; font-size: 7px; color: #5b6b64; }

/* —— 守正审校 · 为什么修改 —— */
.revision-why { margin-top: 16px; padding: 16px 18px 6px; background: #fbf6ea; border: 1px solid #e7d9b4; border-left: 4px solid var(--gold); }
.revision-why > strong { display: flex; align-items: center; gap: 8px; color: #7d5d1d; font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 1px; }
.revision-why > strong::before { content: "问"; width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--gold); font-size: 11px; }
.revision-why ol { margin: 10px 0 10px; padding: 0; list-style: none; }
.revision-why li { padding: 9px 0 10px; border-top: 1px dashed #e2d5b2; }
.revision-why li:first-child { border-top: 0; }
.revision-why li strong { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #4c5f58; font-size: 10px; }
.revision-why li strong em { padding: 2px 6px; color: #8a671f; background: #f7ecd2; font-size: 7px; font-style: normal; letter-spacing: .5px; }
.revision-why li p { margin: 5px 0 0; color: #77736a; font-size: 9px; line-height: 1.7; }
.revision-why .why-clean { padding: 8px 0 10px; color: #58705f; font-size: 9px; border-top: 0; }

/* —— 守正分数卡 —— */
.score-card::after { content: ""; width: 170px; height: 170px; position: absolute; right: -60px; bottom: -70px; border: 1px solid rgba(226, 200, 135, .22); transform: rotate(45deg); pointer-events: none; }
.score-card { position: relative; overflow: hidden; }
.score-ring { border: 1px solid rgba(226, 200, 135, .35); }
.score-card h2 { letter-spacing: 2px; }

/* 守正页先给判断和下一步，完整依据逐层展开。 */
#audit-content .audit-header { margin-bottom: 18px; }
.audit-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding: 24px 28px;
  border-left: 4px solid #2b6f68;
  background: #eaf3ef;
}
.audit-brief.caution { border-left-color: #b27a29; background: #fcf5e8; }
.audit-brief.risk { border-left-color: #b44b3e; background: #fff1ed; }
.audit-brief-kicker { color: #58716a; font-size: 11px; font-weight: 700; }
.audit-brief.caution .audit-brief-kicker { color: #8c6427; }
.audit-brief.risk .audit-brief-kicker { color: #a04437; }
.audit-brief h2 { margin: 7px 0 6px; color: #1b3d36; font-size: 26px; line-height: 1.25; }
.audit-brief p { max-width: 660px; margin: 0; color: #465d56; font-size: 13px; line-height: 1.6; }
.audit-brief-score { min-width: 100px; padding-left: 18px; border-left: 1px solid rgba(28, 70, 60, .18); text-align: center; }
.audit-brief-score strong { display: block; color: #214a42; font: 36px/1 Georgia, serif; }
.audit-brief-score small { display: block; margin-top: 7px; color: #60776f; font-size: 10px; }
.audit-jump { min-height: 44px; margin-top: 11px; padding: 0 12px; border: 1px solid #8daaa0; color: #214a42; background: transparent; cursor: pointer; }
.audit-jump:hover, .audit-jump:focus-visible { color: #fff; background: #214a42; }
.audit-boundary { margin: 9px 0 25px; color: #6d7973; font-size: 11px; line-height: 1.5; }
.audit-checklist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.audit-checklist-head h2 { margin: 0; color: #1b3d36; font-size: 18px; }
.audit-checklist-head span { color: #72827a; font-size: 11px; }
.audit-list { gap: 0; border-top: 1px solid #d6dfd9; }
.audit-item, .audit-item.warn, .audit-item.fail { display: block; padding: 0; background: transparent; border: 0; border-bottom: 1px solid #d6dfd9; border-radius: 0; }
.audit-item > summary { min-height: 62px; padding: 11px 10px; display: grid; grid-template-columns: 26px minmax(0,1fr) auto 18px; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.audit-item > summary::-webkit-details-marker { display: none; }
.audit-item > summary:hover { background: #f0f5f1; }
.audit-item > summary:focus-visible, .audit-evidence summary:focus-visible, .audit-full-report summary:focus-visible, .audit-jump:focus-visible { outline: 2px solid #276c60; outline-offset: -2px; }
.audit-item > summary strong { min-width: 0; color: #273f39; font-size: 14px; }
.audit-item > summary small { color: #2b6f68; font-size: 11px; white-space: nowrap; }
.audit-item.warn > summary small { color: #956920; }
.audit-item.fail > summary small { color: #a04437; }
.audit-item > summary svg { width: 18px; height: 18px; color: #668078; transition: transform .2s ease; }
.audit-item[open] > summary svg { transform: rotate(180deg); }
.audit-item .audit-status { width: 24px; height: 24px; }
.audit-item-body { padding: 0 18px 17px 48px; }
.audit-item-body > p { margin: 0; color: #4f625b; font-size: 12px; line-height: 1.7; }
.audit-evidence { margin-top: 10px; }
.audit-evidence summary { width: max-content; min-height: 44px; display: flex; align-items: center; color: #356b60; font-family: inherit; font-size: 11px; font-weight: 700; }
.audit-evidence .audit-basis { margin: 2px 0 8px; color: #6c7b74; font-size: 10px; }
.audit-check-id { display: block; color: #89938e; font: 10px Consolas, monospace; }
.audit-evidence-ids { margin-top: 8px; }
.audit-evidence-ids code, .audit-invalid-ids code, .audit-draft-paths code { font-size: 10px; }
.audit-evidence-ids small, .audit-invalid-ids strong, .audit-draft-paths strong { font-size: 10px; }
.audit-full-report { margin-top: 24px; border-top: 1px solid #d6dfd9; border-bottom: 1px solid #d6dfd9; }
.audit-full-report summary { min-height: 52px; display: flex; align-items: center; color: #315b52; font-size: 12px; font-weight: 700; cursor: pointer; }
.audit-full-report > div { padding: 0 0 18px; }
.audit-full-report strong { color: #2d5047; font-size: 11px; }
.audit-full-report p { max-width: 780px; margin: 6px 0 15px; color: #54645d; font-size: 12px; line-height: 1.7; }
@media (max-width: 720px) {
  .audit-brief { gap: 12px; padding: 20px 16px; }
  .audit-brief h2 { font-size: 22px; }
  .audit-brief p { font-size: 12px; }
  .audit-brief-score { min-width: 72px; padding-left: 10px; }
  .audit-brief-score strong { font-size: 28px; }
  .audit-brief-score small { font-size: 9px; }
  .audit-checklist-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .audit-item > summary { grid-template-columns: 24px minmax(0,1fr) auto 18px; gap: 8px; }
  .audit-item-body { padding-left: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .audit-item > summary svg { transition: none; }
}

/* —— 角色互动 · 首次相遇的叙事空间 —— */
.chat-opening { background: linear-gradient(180deg, #fbf9f2, #f5f1e6); box-shadow: inset 0 0 0 1px #efe9da, inset 0 0 42px rgba(201, 162, 75, .06); }
.chat-opening::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 75, .2); pointer-events: none; }
.chat-opening::after { content: "卷"; position: absolute; right: 14px; top: 10px; color: rgba(154, 124, 52, .3); font-family: var(--font-display); font-size: 44px; writing-mode: vertical-rl; letter-spacing: 10px; pointer-events: none; }
.chat-opening-copy h2, .chat-opening-copy p { letter-spacing: .5px; }
.chat-opening-context { background: rgba(255, 253, 246, .55); }
.chat-profile::before { content: ""; position: absolute; inset: 0; background: var(--grid-fine); opacity: .3; pointer-events: none; }
.chat-profile blockquote { line-height: 1.8; }

/* —— 版本记录：只追加、不覆盖 —— */
.project-version-list::before { background: repeating-linear-gradient(180deg, #cdbd94 0 7px, transparent 7px 13px); }
.project-version-item::before { border-radius: 0; transform: rotate(45deg); border-color: #b99f63; }
.project-version-item.current::before { border-radius: 0; background: var(--red); border-color: var(--red); transform: rotate(45deg) scale(1.1); }
.version-append-badge { margin-left: 7px; padding: 2px 6px; color: #8a671f; border: 1px dashed #cdb37c; font-size: 7px; font-style: normal; letter-spacing: .8px; vertical-align: 2px; }
.project-version-line > span { font-family: var(--font-figure); }

/* —— 管理后台 · 同一体系的核验工作台 —— */
.admin-review-section > header > span { border-radius: 0; font-family: var(--font-figure); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); }
.admin-review-detail-head::before { content: ""; position: absolute; inset: 0; background: var(--grid-fine); opacity: .3; pointer-events: none; }
.admin-review-detail-head { position: relative; }
.admin-review-detail-head > * { position: relative; z-index: 1; }
.admin-review-card-seal { border-radius: 0; }
.governance-stats article { border-top: 3px solid var(--jade); }
.governance-panel, .admin-review-shell { box-shadow: 0 10px 34px rgba(28, 51, 46, .06); }
.provider-config-card > header { position: relative; }
.provider-config-card > header::after { content: ""; position: absolute; inset: 0; background: var(--paper-grain); opacity: .35; pointer-events: none; }

/* —— 空状态展签 —— */
.empty-seal { border-radius: 0; }
.empty-state h2 { letter-spacing: 2px; }

/* —— 升级层动效的降级 —— */
@media (prefers-reduced-motion: reduce) {
  .culture-card, .culture-card::before, .workflow-node-index, .ip-poster::before, .home-culture-status, .seal-tag { animation: none !important; transition: none !important; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body.printing-project { margin: 0; color: #172a27; background: #fff; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.printing-project .shell,
  body.printing-project .toast,
  body.printing-project .custom-culture-dialog,
  body.printing-project .auth-dialog,
  body.printing-project .project-editor-dialog { display: none !important; }
  body.printing-project .print-dossier-root { width: 100%; display: block !important; }
  .print-dossier { width: 100%; font-size: 8.5pt; line-height: 1.65; }
  .print-dossier h1, .print-dossier h2, .print-dossier h3, .print-dossier p { margin-top: 0; }
  .print-cover { min-height: 260mm; page-break-after: always; background: #f5f2ea; }
  .print-brand { height: 18mm; padding: 0 6mm; display: flex; align-items: center; gap: 3mm; color: #fff; background: #143a36; }
  .print-brand > span { width: 9mm; height: 9mm; display: grid; place-items: center; background: #c84b3f; font-size: 15pt; }
  .print-brand > div strong, .print-brand > div small { display: block; }.print-brand > div strong { font-size: 11pt; }.print-brand > div small { color: rgba(255,255,255,.58); font-size: 5.5pt; }.print-brand > b { margin-left: auto; color: #e0c176; font-size: 8pt; }
  .print-cover-visual { height: 150mm; position: relative; overflow: hidden; background: #143a36; }.print-cover-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 30%; }.print-cover-visual > span { position: absolute; left: 5mm; bottom: 5mm; padding: 2mm 3mm; color: #fff; background: rgba(15,47,44,.88); font-size: 7pt; }.print-cover-visual.fallback { display: grid; place-items: center; }.print-cover-visual.fallback b { width: 34mm; height: 34mm; display: grid; place-items: center; color: #143a36; background: #d5a448; border-radius: 50%; font-size: 34pt; }.print-cover-visual.fallback span { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .print-cover-copy { padding: 10mm 9mm; }.print-cover-copy > small { color: #a13e35; font-size: 8pt; font-weight: 700; }.print-cover-copy h1 { margin: 3mm 0 0; font-size: 31pt; line-height: 1.15; }.print-cover-copy h2 { margin: 2mm 0; color: #53665f; font-size: 13pt; font-weight: 500; }.print-cover-copy p { margin: 5mm 0; padding-left: 4mm; border-left: 1mm solid #d5a448; color: #42564f; font-size: 12pt; }.print-cover-copy > span { padding: 2mm 3mm; display: inline-block; color: #2c665d; background: #e8f0eb; font-size: 7pt; }
  .print-section { margin-bottom: 7mm; padding-top: 5mm; border-top: .6mm solid #143a36; }.print-section > header { margin-bottom: 5mm; display: flex; align-items: center; gap: 3mm; break-after: avoid; }.print-section > header > span { width: 9mm; height: 9mm; display: grid; place-items: center; color: #fff; background: #c84b3f; font-size: 7pt; }.print-section > header h2 { margin: 0; font-size: 15pt; }.print-section > header small { color: #967031; font-size: 6pt; }.print-section h3 { margin-bottom: 2mm; font-size: 10pt; }.print-section p { color: #50625b; overflow-wrap: anywhere; }
  .print-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; }.print-two-column > div { padding: 4mm; background: #f3f0e7; break-inside: avoid; }
  .print-tags { display: flex; flex-wrap: wrap; gap: 1.5mm; }.print-tags span { padding: 1mm 2mm; color: #3e6057; background: #e4ece7; font-size: 7pt; }
  .print-palette { margin: 4mm 0; display: flex; gap: 2mm; }.print-palette i { width: 12mm; height: 12mm; position: relative; border: .5mm solid #fff; box-shadow: 0 0 0 .2mm #bdb6a9; }.print-palette small { position: absolute; left: 0; top: 13mm; color: #6f7975; font-size: 5pt; font-style: normal; }
  .print-applications { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; }.print-applications article { min-height: 44mm; padding: 4mm; break-inside: avoid; background: #f3f0e7; border-top: 1mm solid #2b6f68; }.print-applications article > b { color: #c84b3f; }.print-applications article > small { margin-left: 2mm; color: #8b6b2d; }.print-applications h3 { margin: 3mm 0 2mm; }
  .print-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; }.print-branches article { min-height: 34mm; padding: 4mm; break-inside: avoid; background: #f3f0e7; border-top: 1mm solid #d5a448; }.print-branches article > b { color: #c84b3f; }.print-branches article > small { margin-left: 2mm; color: #8b6b2d; font-weight: 700; }.print-branches article p { margin: 2mm 0 0; font-size: 7.5pt; }.print-branches article p strong { display: block; color: #8b6b2d; font-size: 6pt; }
  .print-price { display: inline-block; margin-top: 2mm; padding: 1mm 2mm; color: #2f665e; background: #e8f0eb; font-size: 6.5pt; }
  .print-boundary-note { margin-top: 4mm; padding: 2.5mm 3mm; background: #f1ede3; border-left: 1mm solid #d5a448; font-size: 6.5pt; }
  .print-metrics { margin-bottom: 5mm; display: grid; grid-template-columns: 24mm 24mm 24mm 1fr; gap: 2mm; align-items: stretch; }.print-metrics > div { padding: 3mm; background: #f1ede3; }.print-metrics b, .print-metrics span { display: block; }.print-metrics b { font-size: 16pt; }.print-metrics span { color: #6d7a75; font-size: 6pt; }.print-metrics > strong { padding: 3mm; display: grid; place-items: center; color: #2f665e; background: #e8f0eb; font-size: 8pt; }
  .print-sources { display: grid; gap: 3mm; }.print-sources article { padding: 3.5mm; break-inside: avoid; border: .25mm solid #d8d1c3; }.print-sources article > div { display: flex; justify-content: space-between; gap: 4mm; }.print-sources article > div span { color: #2b6f68; font-size: 7pt; }.print-sources article p { margin: 2mm 0; font-size: 7pt; }.print-sources code { display: block; color: #7c5a2d; font-size: 6pt; overflow-wrap: anywhere; }.print-sources blockquote { margin: 3mm 0 0; padding: 3mm; color: #5d6a65; background: #f3f0e7; font-size: 7pt; }
  .print-claims { margin: 0; padding: 0; list-style: none; }.print-claims li { padding: 2.5mm 0; display: grid; grid-template-columns: 22mm 1fr 18mm; gap: 3mm; border-bottom: .2mm solid #ddd6c9; }.print-claims li > span { color: #a13e35; font-weight: 700; }.print-claims li p { margin: 0; }.print-claims li small { color: #6d7b75; }
  .print-review-head { margin-bottom: 4mm; display: grid; grid-template-columns: 35mm 1fr; gap: 5mm; align-items: center; }.print-review-head > strong { padding: 4mm; color: #fff; background: #143a36; font-size: 25pt; text-align: center; }.print-review-head > strong small { display: block; color: rgba(255,255,255,.6); font-size: 6pt; }.print-checks { display: grid; gap: 2mm; }.print-checks article { padding: 3mm; display: grid; grid-template-columns: 16mm 1fr; gap: 3mm; break-inside: avoid; background: #f3f0e7; }.print-checks article > span { padding: 1mm; height: max-content; color: #fff; background: #c84b3f; text-align: center; }.print-checks article > span.pass { background: #2b6f68; }.print-checks article > span.warn { background: #d5a448; }.print-checks article p { margin: 1mm 0; }.print-checks article small { color: #78837f; }
  .print-mode { width: max-content; padding: 2mm 3mm; color: #fff !important; background: #143a36; }.print-steps { margin: 4mm 0; padding: 0; list-style: none; }.print-steps li { padding: 3mm 0; display: grid; grid-template-columns: 11mm 1fr; gap: 3mm; break-inside: avoid; border-bottom: .2mm solid #d8d1c3; }.print-steps li > b { width: 9mm; height: 9mm; display: grid; place-items: center; color: #fff; background: #2b6f68; }.print-steps li strong, .print-steps li span { display: block; }.print-steps li span { color: #9a7030; font-size: 7pt; }.print-steps li p { margin: 1mm 0 0; }
  .print-declarations { padding: 4mm; background: #f1ede3; border-left: 1mm solid #c84b3f; }.print-declarations p { margin-bottom: 3mm; }.print-declarations p:last-child { margin-bottom: 0; }.print-declarations strong { display: block; color: #172a27; }.print-section > footer { margin-top: 6mm; padding-top: 3mm; color: #7b8782; border-top: .2mm solid #d8d1c3; font-size: 6pt; }
  .print-empty { padding: 4mm; color: #8f4a42 !important; background: #fff1ed; }
}

/* ============ 公开展厅（匿名可访问） ============ */
.gallery-loading, .gallery-empty { padding: 40px 20px; text-align: center; color: #7b8682; font-size: 11px; }.gallery-empty strong { display: block; margin-bottom: 6px; font-family: STKaiti, serif; font-size: 16px; color: #536762; }.gallery-empty .ghost-button { margin-top: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-card { display: flex; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gallery-color, var(--jade)); border-radius: 4px; }
.gallery-card-mark { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: var(--gallery-color, var(--jade)); border-radius: 6px; font-family: STKaiti, serif; font-size: 26px; }
.gallery-card-body { min-width: 0; }.gallery-card-body small { color: #8a938f; font-size: 9px; }.gallery-card-body h2 { margin: 4px 0 2px; font-family: STKaiti, serif; font-size: 19px; font-weight: 500; }.gallery-card-body > p { margin: 0 0 6px; color: #667570; font-size: 10px; }.gallery-card-body blockquote { margin: 0 0 10px; padding-left: 8px; border-left: 2px solid var(--gold); color: #7e8582; font-family: STKaiti, serif; font-size: 10px; }
.gallery-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }.gallery-card-meta strong { font-family: Georgia, serif; font-size: 18px; }.gallery-card-meta small { margin-left: 3px; color: #8a938f; font-size: 8px; }
.gallery-evidence { padding: 3px 8px; border-radius: 99px; font-size: 8px; }.gallery-evidence.ok { color: #2f665e; background: #e8f0eb; }.gallery-evidence.warn { color: #8b6b2d; background: #f5efdd; }
.gallery-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-note { margin-top: 16px; color: #8a938f; font-size: 9px; }
.gallery-detail #gallery-back-list { margin-bottom: 14px; }
.gallery-detail-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; padding: 22px; color: #fff; background: var(--deep); border-left: 4px solid var(--gallery-color, var(--gold)); border-radius: 4px; }.gallery-detail-hero .gallery-card-mark { width: 64px; height: 64px; font-size: 30px; background: var(--gallery-color, var(--gold)); }.gallery-hero-copy { flex: 1; min-width: 0; }.gallery-hero-copy small { color: rgba(255,255,255,.55); font-size: 9px; }.gallery-hero-copy h1 { margin: 5px 0 3px; font-family: STKaiti, serif; font-size: 27px; font-weight: 500; }.gallery-hero-copy p { margin: 0 0 6px; color: rgba(255,255,255,.72); font-size: 11px; }.gallery-hero-copy blockquote { margin: 0; padding-left: 9px; border-left: 2px solid var(--gold); color: rgba(255,255,255,.62); font-family: STKaiti, serif; font-size: 11px; }
.gallery-hero-actions { display: grid; gap: 8px; }
.gallery-detail-grid { margin-top: 14px; }
.gallery-source-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }.gallery-source-list li { display: flex; align-items: center; gap: 9px; color: #667570; font-size: 10px; }
.gallery-package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.gallery-package-grid h4 { margin: 0 0 5px; color: #9b7634; font-size: 9px; }.gallery-package-grid p { margin: 0; color: #667570; font-size: 9px; line-height: 1.7; }
.gallery-boundary-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: #667570; font-size: 10px; line-height: 1.7; }.gallery-boundary-list strong { color: var(--red); }
.gallery-workflow-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--step-count,4),minmax(0,1fr)); gap: 10px; }
.gallery-workflow-step { min-width: 0; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 8px; }.gallery-workflow-seal { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--jade); border-radius: 4px; font-family: Arial, sans-serif; font-size: 12px; }.gallery-workflow-step small, .gallery-workflow-step strong, .gallery-workflow-step div > span { display: block; overflow-wrap: anywhere; }.gallery-workflow-step small { color: #8a938f; font-size: 8px; }.gallery-workflow-step strong { font-size: 10px; }.gallery-workflow-step div > span { margin-top: 2px; color: #7e8582; font-size: 8px; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-detail-hero { flex-direction: column; align-items: flex-start; }
  .gallery-package-grid { grid-template-columns: 1fr 1fr; }
  .gallery-workflow-list { grid-template-columns: 1fr; }
}

/* 本地策展视觉资产：图片只负责展陈，不进入文化事实或模型结果。 */
.showcase-case {
  min-height: 320px;
  grid-template-columns: 42% minmax(0, 1fr);
}
.showcase-case-media {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: var(--showcase-color, var(--jade));
}
.showcase-case-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.showcase-case-media span,
.gallery-card-media span,
.gallery-detail-visual span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  color: #fff;
  background: rgba(18, 47, 43, .84);
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 7px;
}
.showcase-media-fallback {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  color: #fff7e6;
  text-align: center;
}
.showcase-media-fallback strong { font: 24px var(--font-display, STKaiti, serif); }
.showcase-media-fallback small { color: #e0e7dd; font-size: 10px; }
.showcase-case-copy > p { min-height: 52px; }

.gallery-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  overflow: hidden;
}
.gallery-card-media {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  background: var(--gallery-color, var(--jade));
}
.gallery-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.gallery-card-media span { left: 10px; bottom: 10px; }
.gallery-card-body { padding: 20px 20px 20px 0; }

.gallery-detail-hero {
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.gallery-detail-visual {
  width: 220px;
  min-height: 230px;
  position: relative;
  flex: 0 0 220px;
  overflow: hidden;
  background: var(--gallery-color, var(--gold));
}
.gallery-detail-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.gallery-detail-visual span { left: 12px; bottom: 12px; }
.gallery-hero-copy { align-self: center; padding: 22px 0; }

@media (max-width: 900px) {
  .showcase-case { min-height: 270px; }
  .gallery-card { grid-template-columns: 120px minmax(0, 1fr); }
  .gallery-card-media { min-height: 230px; }
  .gallery-card-body { padding: 16px 16px 16px 0; }
  .gallery-detail-hero { flex-direction: column; align-items: stretch; }
  .gallery-detail-visual { width: 100%; min-height: 250px; flex-basis: 250px; }
  .gallery-hero-copy { padding: 0 22px 22px; }
  .gallery-hero-actions { padding: 0 22px 22px; }
}

@media (max-width: 560px) {
  .showcase-case { grid-template-columns: 38% minmax(0, 1fr); min-height: 250px; }
  .showcase-case-copy { padding: 12px 11px 8px; }
  .showcase-case-copy h3 { font-size: 17px; }
  .showcase-case-copy > p { min-height: 44px; }
  .showcase-case > button { padding: 0 11px; }
  .gallery-card { grid-template-columns: 1fr; gap: 0; }
  .gallery-card-media { min-height: 220px; }
  .gallery-card-body { padding: 16px; }
}

/* ============ 合作意向登记 + Root 线索管理 ============ */
.collaborate-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 14px; align-items: start; }
.collaborate-form { padding: 22px; display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.collaborate-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }.collaborate-field label, .collaborate-field legend { color: #536762; font-size: 10px; font-weight: 700; }.collaborate-field input, .collaborate-field select, .collaborate-field textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: 11px; background: #fbfaf6; }.collaborate-field textarea { resize: vertical; }
.collaborate-interests { display: flex; flex-wrap: wrap; gap: 8px; }.collaborate-interests label { display: flex; align-items: center; gap: 5px; padding: 6px 10px; background: #f6f3eb; border: 1px solid var(--line); border-radius: 99px; font-size: 10px; font-weight: 400; cursor: pointer; }.collaborate-interests input { accent-color: var(--jade); }
.collaborate-consent { display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px; background: #f5f1e8; border-left: 3px solid var(--gold); font-size: 9px; line-height: 1.7; color: #667570; cursor: pointer; }.collaborate-consent input { margin-top: 2px; accent-color: var(--red); }.collaborate-consent strong { color: var(--red); }
.collaborate-error { margin: 0; padding: 9px 12px; color: var(--red); background: rgba(200,75,63,.07); border-left: 3px solid var(--red); font-size: 10px; }.collaborate-error.hidden { display: none; }
.collaborate-form .primary-button { justify-self: start; min-height: 44px; }
.collaborate-aside { display: grid; gap: 12px; }
.collaborate-success { display: grid; justify-items: start; gap: 10px; padding: 10px 4px; }.collaborate-success-seal { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--jade); border-radius: 8px; font-family: STKaiti, serif; font-size: 26px; }.collaborate-success h2 { margin: 0; font-family: STKaiti, serif; font-size: 20px; font-weight: 500; }.collaborate-success p { margin: 0; color: #667570; font-size: 11px; line-height: 1.8; }.collaborate-success strong { color: var(--deep); font-family: Arial, sans-serif; }.collaborate-success-note { color: #8a938f !important; font-size: 9px !important; }
.lead-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lead-filter { padding: 7px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 99px; font: inherit; font-size: 10px; color: #667570; cursor: pointer; }.lead-filter.active { color: #fff; background: var(--deep); border-color: var(--deep); }
.lead-count { margin: 0 0 10px; color: #8a938f; font-size: 9px; }
.lead-list { display: grid; gap: 9px; }
.lead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.lead-row-main { display: flex; align-items: center; gap: 12px; min-width: 0; }.lead-row-main strong { font-size: 12px; }.lead-row-main small { display: block; margin-top: 2px; color: #8a938f; font-size: 9px; }
.lead-row-side { display: flex; align-items: center; gap: 12px; min-width: 0; }.lead-row-side span { color: #7e8582; font-size: 9px; text-align: right; }
.lead-status-badge { flex: 0 0 auto; padding: 4px 9px; border-radius: 99px; font-size: 8px; }.lead-status-badge.new { color: #8b6b2d; background: #f5efdd; }.lead-status-badge.contacted { color: #2f665e; background: #e8f0eb; }.lead-status-badge.closed { color: #536762; background: #eceae2; }.lead-status-badge.invalid { color: var(--red); background: rgba(200,75,63,.08); }
.lead-detail-panel { margin: 4px 0 10px; padding: 18px; display: grid; gap: 14px; background: #fbfaf6; border: 1px solid var(--gold); border-radius: 4px; }
.lead-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.lead-detail-head > div { display: flex; align-items: center; gap: 10px; }.lead-detail-head strong { font-family: Arial, sans-serif; font-size: 12px; }.lead-detail-head small { color: #8a938f; font-size: 9px; }
.lead-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.lead-detail-grid .wide { grid-column: 1 / -1; }.lead-detail-grid h4 { margin: 0 0 3px; color: #9b7634; font-size: 9px; }.lead-detail-grid p { margin: 0; color: #42564f; font-size: 11px; overflow-wrap: anywhere; }
.lead-status-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding-top: 11px; border-top: 1px dashed var(--line); }.lead-status-form label { display: grid; gap: 4px; color: #536762; font-size: 9px; font-weight: 700; }.lead-status-form select, .lead-status-form input { min-width: 160px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: 11px; background: var(--white); }
.lead-event-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }.lead-event-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px dashed var(--line); }.lead-event-list b { padding: 3px 8px; color: #fff; background: var(--jade); border-radius: 3px; font-size: 8px; font-weight: 400; }.lead-event-list small { display: block; color: #8a938f; font-size: 8px; }.lead-event-list span { color: #42564f; font-size: 10px; }
@media (max-width: 900px) {
  .collaborate-layout { grid-template-columns: 1fr; }
  .lead-row { flex-direction: column; align-items: flex-start; }
  .lead-row-side { width: 100%; justify-content: space-between; }
  .lead-detail-grid { grid-template-columns: 1fr; }
}
