/* ==========================================================================
   应用外壳与业务组件（工作台 / 创作台 / 创作中心 / 任务 / 账户 / 企业 / 平台）
   ========================================================================== */

/* ---------- 外壳 ---------- */
.app {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  grid-template-rows: var(--topbar) minmax(0, 1fr);
  height: 100vh;
  overflow: hidden;
  background: var(--bone);
}
.app-no-rail { grid-template-columns: minmax(0, 1fr); }

/* 顶栏 */
.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--topbar);
  padding: 0 18px 0 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}
.tb-brand { display: flex; align-items: center; gap: 9px; }
.tb-brand .mark {
  width: 25px; height: 25px;
  border-radius: var(--r-4);
  background: var(--ink);
  color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
}
.tb-brand .nm { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.tb-brand .nm small {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--faint); text-transform: uppercase; font-weight: 400; margin-left: 5px;
}

/* 工作空间切换 */
.ws {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 9px 0 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-6);
  background: var(--surface-2);
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.ws:hover { border-color: var(--line-3); background: var(--surface); }
.ws .ws-ic {
  width: 20px; height: 20px;
  border-radius: var(--r-4);
  background: var(--pine-soft);
  color: var(--pine);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  flex: none;
}
.ws .ws-ic.ent { background: var(--ochre-soft); color: var(--ochre); }
.ws .ws-tx { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.ws .ws-n { font-size: 12.5px; font-weight: 500; }
.ws .ws-s { font-size: 10px; color: var(--faint); font-family: var(--mono); }
.ws svg { width: 12px; height: 12px; color: var(--faint); }

.menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-10);
  box-shadow: var(--sh-3);
  padding: 6px;
  z-index: 200;
  display: none;
}
.menu[data-open="true"] { display: block; animation: rise 0.16s ease both; }
.menu .m-hd {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 10px 6px;
}
.menu .m-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--r-4);
  text-align: left;
  font-size: 13px;
  color: var(--ink-2);
}
.menu .m-item:hover { background: var(--surface-3); }
.menu .m-item[data-on="true"] { background: var(--pine-soft); color: var(--pine-700); }
.menu .m-item .mi-tx { display: flex; flex-direction: column; }
.menu .m-item .mi-s { font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.menu .m-div { height: 1px; background: var(--line); margin: 6px 4px; }
.menu .m-foot { padding: 6px 10px 8px; font-size: 11px; color: var(--faint); line-height: 1.5; }

/* 顶部导航 */
.tb-nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.tb-nav a {
  height: 32px;
  padding: 0 11px;
  border-radius: var(--r-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.15s ease;
}
.tb-nav a:hover { background: var(--surface-3); color: var(--ink); }
.tb-nav a[data-on="true"] { background: var(--surface-3); color: var(--ink); font-weight: 500; }

.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* 积分胶囊 */
.credits {
  display: flex;
  align-items: center;
  gap: 0;
  height: 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-6);
  overflow: hidden;
  background: var(--surface-2);
}
.credits .c-main {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 12.5px;
}
.credits .c-main .lbl { color: var(--faint); font-size: 11px; }
.credits .c-main b { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -0.01em; }
.credits .c-frz {
  border-left: 1px solid var(--line);
  padding: 0 9px;
  font-size: 11px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 4px;
}
.credits .c-frz b { color: var(--warn); font-weight: 500; }
.credits .c-cta {
  border-left: 1px solid var(--line);
  padding: 0 9px;
  font-size: 11.5px;
  color: var(--pine);
  display: flex; align-items: center; gap: 3px;
}
.credits .c-cta:hover { background: var(--pine-soft); }

/* 左侧导航 */
.rail {
  background: var(--coal);
  color: rgba(243, 241, 235, 0.62);
  border-right: 1px solid var(--coal);
  overflow-y: auto;
  padding: 14px 10px 18px;
  display: flex;
  flex-direction: column;
}
.rail-grp { margin-bottom: 18px; }
.rail-grp > .rg-hd {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 241, 235, 0.3);
  padding: 0 10px 7px;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 33px;
  padding: 0 10px;
  border-radius: var(--r-4);
  font-size: 13px;
  color: rgba(243, 241, 235, 0.62);
  position: relative;
  transition: background 0.14s ease, color 0.14s ease;
  width: 100%;
  text-align: left;
}
.rail-item:hover { background: rgba(243, 241, 235, 0.07); color: var(--bone); }
.rail-item[data-on="true"] {
  background: rgba(243, 241, 235, 0.1);
  color: var(--bone);
  font-weight: 500;
}
.rail-item[data-on="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 2px;
  background: var(--bone);
}
.rail-item svg { width: 15px; height: 15px; flex: none; opacity: 0.72; }
.rail-item[data-on="true"] svg { opacity: 1; }
.rail-item .ri-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: var(--r-2);
  background: rgba(243, 241, 235, 0.12);
  color: rgba(243, 241, 235, 0.72);
}
.rail-item .ri-badge.warn { background: rgba(200, 160, 90, 0.18); color: #d9b573; }
.rail-sep { height: 1px; background: rgba(243, 241, 235, 0.08); margin: 8px 10px 14px; }
.rail-foot {
  margin-top: auto;
  padding: 12px;
  border-radius: var(--r-6);
  background: rgba(243, 241, 235, 0.05);
  border: 1px solid rgba(243, 241, 235, 0.08);
}
.rail-foot .rf-k { font-size: 10.5px; color: rgba(243, 241, 235, 0.4); font-family: var(--mono); letter-spacing: 0.06em; }
.rail-foot .rf-v { font-size: 13px; color: var(--bone); margin-top: 3px; font-weight: 500; }
.rail-foot .bar { background: rgba(243, 241, 235, 0.12); margin-top: 9px; }
.rail-foot .bar > i { background: #8fb79d; }

/* 页面容器 */
.page {
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bone);
}
.page-hd {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 26px 34px 0;
}
.page-hd .ph-t { flex: 1; min-width: 0; }
.page-hd h1 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; }
.page-hd .ph-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.page-hd .ph-actions { display: flex; align-items: center; gap: 8px; }
.page-body { padding: 22px 34px 40px; }
.page-body-tight { padding: 18px 34px 32px; }

.crumbs { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--faint); margin-bottom: 6px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- 工作台 ---------- */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.entry {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-10);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.entry:hover {
  border-color: var(--line-3);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.entry .e-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-3);
  overflow: hidden;
}
.entry .e-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.entry:hover .e-media img { transform: scale(1.03); }
.entry .e-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 13, 0.55), transparent 58%);
}
.entry .e-kind {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(12, 14, 13, 0.5);
  border: 1px solid rgba(243, 241, 235, 0.2);
  border-radius: var(--r-2);
  padding: 2px 6px;
  backdrop-filter: blur(6px);
}
.entry .e-bd { padding: 14px 16px 15px; position: relative; z-index: 1; }
.entry .e-bd h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.entry .e-bd p { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.entry .e-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
}
.entry .e-foot .go { margin-left: auto; color: var(--pine); font-size: 11.5px; display: flex; align-items: center; gap: 3px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
.grid-1-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-10 { display: flex; flex-direction: column; gap: 10px; }

/* KPI 卡 */
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-10);
  padding: 15px 16px 16px;
}
.kpi .k-hd { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.kpi .k-hd svg { width: 13px; height: 13px; color: var(--faint); }
.kpi .k-v {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.kpi .k-v .u { font-size: 11.5px; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.kpi .k-d { font-size: 11px; color: var(--faint); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.kpi .k-d .up { color: var(--ok); }
.kpi .k-d .down { color: var(--danger); }

/* 最近项目行 */
.proj-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.proj-row:last-child { border-bottom: 0; }
.proj-thumb {
  width: 44px; height: 34px;
  border-radius: var(--r-4);
  overflow: hidden;
  flex: none;
  background: var(--surface-3);
  border: 1px solid var(--line);
}
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proj-row .p-tx { min-width: 0; flex: 1; }
.proj-row .p-n { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-row .p-m { font-size: 11px; color: var(--faint); margin-top: 1px; font-variant-numeric: tabular-nums; }

/* 任务小行 */
.task-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.task-line:last-child { border-bottom: 0; }
.tl-ic {
  width: 22px; height: 22px;
  border-radius: var(--r-4);
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.tl-ic svg { width: 12px; height: 12px; }
.tl-n { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-m { display: block; font-size: 10.5px; color: var(--faint); font-family: var(--mono); }

/* 额度条 */
.quota { display: flex; flex-direction: column; gap: 9px; }
.quota-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.quota-row .q-k { width: 78px; color: var(--muted); flex: none; }
.quota-row .bar { flex: 1; }
.quota-row .q-v { width: 82px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------- 创作台（三栏） ---------- */
.studio {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr) 392px;
  height: 100%;
  overflow: hidden;
}
.studio-tools {
  border-right: 1px solid var(--line);
  background: var(--surface);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.st-tool-hd { padding: 15px 14px 10px; }
.st-tool-hd .t { font-size: 12.5px; font-weight: 600; }
.st-tool-hd .s { font-size: 10.5px; color: var(--faint); margin-top: 1px; }
.tool-grp-lbl {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 10px 14px 5px;
}
.tool-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 14px;
  border-left: 2px solid transparent;
  transition: background 0.14s ease;
  text-align: left;
  width: 100%;
}
.tool-item:hover { background: var(--surface-2); }
.tool-item[data-on="true"] {
  background: var(--pine-soft);
  border-left-color: var(--pine);
}
.tool-item .ti-id {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.tool-item .ti-nm { font-size: 12.5px; color: var(--ink-2); }
.tool-item[data-on="true"] .ti-nm { color: var(--pine-700); font-weight: 500; }
.tool-item[data-on="true"] .ti-id { color: var(--pine); }

/* 画布区 */
.studio-canvas {
  background: var(--bone-2);
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}
.canvas-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  min-height: 46px;
}
.ctb-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.ctb-btn {
  height: 28px;
  padding: 0 9px;
  border-radius: var(--r-4);
  font-size: 12px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ctb-btn:hover { background: var(--surface-3); }
.ctb-btn[data-on="true"] { background: var(--ink); color: var(--bone); }
.ctb-btn svg { width: 13px; height: 13px; }

.canvas-stage {
  flex: 1;
  overflow: auto;
  padding: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
}
.artboard {
  position: relative;
  width: 100%;
  max-width: 760px;
  border-radius: var(--r-6);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-3);
  border: 1px solid var(--line-2);
}
.artboard img { width: 100%; display: block; }
.artboard .ab-lbl {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--bone);
  background: rgba(12, 14, 13, 0.55);
  padding: 3px 7px;
  border-radius: var(--r-2);
  backdrop-filter: blur(4px);
}
.artboard .ab-sel {
  position: absolute;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(12, 14, 13, 0.5), 0 0 0 9999px rgba(12, 14, 13, 0.28);
  border-radius: 2px;
}
.artboard .ab-sel::before, .artboard .ab-sel::after,
.artboard .ab-sel i::before, .artboard .ab-sel i::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  background: #fff;
  border: 1px solid rgba(12, 14, 13, 0.4);
  border-radius: 1px;
}
.artboard .ab-sel::before { top: -4px; left: -4px; }
.artboard .ab-sel::after { top: -4px; right: -4px; }
.artboard .ab-sel i::before { bottom: -4px; left: -4px; }
.artboard .ab-sel i::after { bottom: -4px; right: -4px; }

/* 参考素材区 */
.ref-bar {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 14px 12px;
  flex: none;
}
.ref-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.ref-hd .cnt { font-family: var(--mono); color: var(--ink-2); }
.ref-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.ref-thumb {
  position: relative;
  width: 66px;
  height: 50px;
  border-radius: var(--r-4);
  overflow: hidden;
  border: 1px solid var(--line-2);
  flex: none;
  background: var(--surface-3);
}
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ref-thumb[data-on="true"] { border-color: var(--pine); box-shadow: 0 0 0 2px rgba(29, 74, 56, 0.15); }
.ref-thumb .rt-idx {
  position: absolute;
  top: 2px; left: 2px;
  font-family: var(--mono);
  font-size: 8.5px;
  background: rgba(12, 14, 13, 0.6);
  color: #fff;
  padding: 0 3px;
  border-radius: 2px;
}
.ref-add {
  width: 66px; height: 50px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--faint);
  font-size: 9.5px;
  flex: none;
}
.ref-add:hover { border-color: var(--pine); color: var(--pine); background: var(--pine-soft); }
.ref-add svg { width: 13px; height: 13px; }

/* 右侧对话面板 */
.studio-chat {
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chat-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.chat-hd .ch-t { font-size: 13px; font-weight: 600; }
.chat-hd .ch-s { font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }

.msg { display: flex; flex-direction: column; gap: 5px; }
.msg .msg-hd { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--faint); }
.msg .msg-hd .who { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.msg-user .bubble {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--r-6) var(--r-6) var(--r-6) 2px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.msg-sys .bubble {
  background: var(--pine-soft);
  border: 1px solid var(--pine-line);
  border-radius: var(--r-6);
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--pine-700);
}
.msg .meta-row { display: flex; flex-wrap: wrap; gap: 4px; }
.msg .meta-row .tag { font-size: 9.5px; height: 17px; }

/* 结果缩略 */
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.result-cell {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-4);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-3);
}
.result-cell img { width: 100%; height: 100%; object-fit: cover; }
.result-cell .rc-badge {
  position: absolute;
  left: 4px; bottom: 4px;
  font-family: var(--mono);
  font-size: 8.5px;
  padding: 1px 4px;
  border-radius: 2px;
  background: rgba(12, 14, 13, 0.6);
  color: #fff;
}
.result-cell.skeleton {
  background: linear-gradient(100deg, var(--surface-3) 30%, var(--bone-2) 45%, var(--surface-3) 60%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -60% 0; }
}

/* 参数区 */
.chat-params { border-top: 1px solid var(--line); flex: none; }
.param-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-bottom: 1px solid var(--line);
}
.param-row .p-k { font-size: 11.5px; color: var(--muted); width: 56px; flex: none; }
.param-row .p-v { flex: 1; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.param-row .p-link { font-size: 11px; color: var(--pine); }
.param-select {
  height: 26px;
  padding: 0 24px 0 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-4);
  font-size: 11.5px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%236c736c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 7px center;
  appearance: none;
  cursor: pointer;
  max-width: 148px;
}
.ratio-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.ratio-chip {
  height: 24px;
  padding: 0 7px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-4);
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ratio-chip[data-on="true"] { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.ratio-chip.disabled { opacity: 0.35; pointer-events: none; }

/* 报价条 */
.quote {
  padding: 12px 16px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  flex: none;
}
.quote .q-row { display: flex; align-items: baseline; justify-content: space-between; }
.quote .q-lbl { font-size: 11.5px; color: var(--muted); }
.quote .q-val { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.quote .q-val small { font-size: 11px; font-weight: 400; color: var(--faint); margin-left: 3px; }
.quote .q-calc { font-family: var(--mono); font-size: 10px; color: var(--faint); margin-top: 2px; }
.quote .q-actions { display: flex; gap: 8px; margin-top: 10px; }
.quote .q-note { font-size: 10.5px; color: var(--faint); margin-top: 7px; line-height: 1.5; }

/* 输入框 */
.composer { border-top: 1px solid var(--line); padding: 10px 14px 12px; flex: none; }
.composer-box {
  border: 1px solid var(--line-2);
  border-radius: var(--r-6);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.composer-box:focus-within { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(29, 74, 56, 0.08); }
.composer-box textarea {
  width: 100%;
  border: 0;
  padding: 9px 11px 4px;
  font-size: 12.5px;
  line-height: 1.65;
  resize: none;
  height: 58px;
  background: none;
  outline: none;
}
.composer-box textarea::placeholder { color: var(--faint); }
.composer-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 7px;
}
.composer-foot .cf-btn {
  height: 24px;
  padding: 0 7px;
  border-radius: var(--r-4);
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.composer-foot .cf-btn:hover { background: var(--surface-3); color: var(--ink); }
.composer-foot .cf-btn svg { width: 12px; height: 12px; }
.composer-foot .hint { font-size: 10px; color: var(--faint); font-family: var(--mono); }

/* 版本历史 */
.ver-item {
  display: flex;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.ver-item .v-thumb {
  width: 44px; height: 34px;
  border-radius: var(--r-2);
  overflow: hidden;
  border: 1px solid var(--line);
  flex: none;
}
.ver-item .v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ver-item .v-tx { flex: 1; min-width: 0; }
.ver-item .v-t { font-size: 12px; font-weight: 500; }
.ver-item .v-m { font-size: 10.5px; color: var(--faint); font-family: var(--mono); margin-top: 1px; }

/* ---------- 视频创作 ---------- */
.mode-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
}
.mode-tab {
  flex: 1;
  height: 32px;
  border-radius: var(--r-4);
  font-size: 12.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mode-tab[data-on="true"] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: var(--sh-1); }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.story-cell {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-4);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-3);
}
.story-cell img { width: 100%; height: 100%; object-fit: cover; }
.story-cell .sc-idx {
  position: absolute;
  top: 5px; left: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  background: rgba(12, 14, 13, 0.62);
  color: #fff;
  padding: 1px 4px;
  border-radius: 2px;
}
.story-cell .sc-dur {
  position: absolute;
  bottom: 5px; right: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  background: rgba(12, 14, 13, 0.62);
  color: #fff;
  padding: 1px 4px;
  border-radius: 2px;
}
.story-cell.empty {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 10px;
  background: var(--surface-2);
}

/* 播放器 */
.player {
  position: relative;
  border-radius: var(--r-6);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0b0d0c;
  box-shadow: var(--sh-3);
}
.player img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; opacity: 0.94; }
.player .pl-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 13, 0.12);
}
.player .pl-c {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.92);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-3);
  transition: transform 0.15s ease;
}
.player .pl-c:hover { transform: scale(1.05); background: #fff; }
.player .pl-c svg { width: 18px; height: 18px; margin-left: 2px; }
.player .pl-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10.5px;
  font-family: var(--mono);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}
.player .pl-track {
  height: 3px;
  flex: 1;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  overflow: hidden;
}
.player .pl-track i { display: block; height: 100%; width: 36%; background: #fff; border-radius: 2px; }
.player .pl-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(12, 14, 13, 0.55);
  padding: 3px 6px;
  border-radius: var(--r-2);
  backdrop-filter: blur(4px);
}

/* 分阶段报价 */
.stage-price { display: flex; flex-direction: column; gap: 0; }
.sp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.sp-row:last-child { border-bottom: 0; }
.sp-row .sp-n { flex: 1; }
.sp-row .sp-v { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.sp-row.total { border-top: 1px solid var(--line-2); font-weight: 600; }
.sp-row.total .sp-n, .sp-row.total .sp-v { color: var(--ink); }

/* ---------- 创作中心 ---------- */
.filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0 14px;
}
.filterbar .spacer { flex: 1; }

.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
  gap: 14px;
}
.asset {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-8, 8px);
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
}
.asset:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.asset .a-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-3); overflow: hidden; }
.asset .a-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.asset:hover .a-media img { transform: scale(1.025); }
.asset .a-pick {
  position: absolute;
  top: 8px; left: 8px;
  width: 17px; height: 17px;
  border-radius: var(--r-2);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(12, 14, 13, 0.28);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.asset:hover .a-pick, .asset.is-picked .a-pick { opacity: 1; }
.asset.is-picked { border-color: var(--pine); box-shadow: 0 0 0 2px rgba(29, 74, 56, 0.14); }
.asset.is-picked .a-pick { background: var(--pine); border-color: var(--pine); }
.asset.is-picked .a-pick::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}
.asset .a-bd { padding: 9px 11px 10px; }
.asset .a-t {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.asset .a-m {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--faint);
  margin-top: 3px;
  font-family: var(--mono);
}
.asset .a-m .tag { font-size: 9.5px; height: 16px; padding: 0 4px; }
.asset .a-act {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.asset:hover .a-act { opacity: 1; }
.asset .a-act button {
  width: 22px; height: 22px;
  border-radius: var(--r-2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.asset .a-act button:hover { background: #fff; }
.asset .a-act svg { width: 12px; height: 12px; }
.asset .a-state {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 4px 8px;
  background: rgba(12, 14, 13, 0.62);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
}

/* 批量操作条 */
.batchbar {
  position: sticky;
  bottom: 14px;
  display: none;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 10px 14px;
  background: var(--coal);
  color: var(--bone);
  border-radius: var(--r-8, 8px);
  box-shadow: var(--sh-3);
  z-index: 20;
}
.batchbar[data-open="true"] { display: flex; animation: rise 0.2s ease both; }
.batchbar .bb-n { font-size: 12.5px; }
.batchbar .bb-n b { font-variant-numeric: tabular-nums; }
.batchbar .btn-ghost { color: rgba(243, 241, 235, 0.8); }
.batchbar .btn-ghost:hover { background: rgba(243, 241, 235, 0.12); color: #fff; }

/* 侧栏项目树 */
.side-list .sl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--r-4);
  font-size: 12.5px;
  color: var(--ink-2);
}
.side-list .sl-item:hover { background: var(--surface-3); }
.side-list .sl-item[data-on="true"] { background: var(--pine-soft); color: var(--pine-700); font-weight: 500; }
.side-list .sl-item .n { margin-left: auto; font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.side-list .sl-dot { width: 6px; height: 6px; border-radius: 2px; background: var(--line-2); flex: none; }

/* 创作日历 */
.cal { max-width: 336px; }
.cal-wrap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-hd {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
  text-align: center;
  letter-spacing: 0.04em;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: var(--r-2);
  background: var(--surface-3);
  border: 1px solid transparent;
  position: relative;
}
.cal-cell[data-l="1"] { background: #dee9e0; }
.cal-cell[data-l="2"] { background: #b9cfbd; }
.cal-cell[data-l="3"] { background: #7fa78a; }
.cal-cell[data-l="4"] { background: var(--pine); }
.cal-cell[data-on="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.cal-legend { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--faint); }
.cal-legend i { width: 9px; height: 9px; border-radius: 2px; background: var(--surface-3); display: block; }
.cal-legend i[data-l="1"] { background: #dee9e0; }
.cal-legend i[data-l="2"] { background: #b9cfbd; }
.cal-legend i[data-l="3"] { background: #7fa78a; }
.cal-legend i[data-l="4"] { background: var(--pine); }

/* ---------- 任务表 ---------- */
.task-table td { font-size: 12.5px; }
.task-table th { padding-top: 0; }
.task-id { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.task-in { display: flex; align-items: center; gap: 9px; }
.task-in .tthumb {
  width: 32px; height: 26px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: none;
}
.task-in .tthumb img { width: 100%; height: 100%; object-fit: cover; }
.task-in .tt { min-width: 0; }
.task-in .tt b { font-weight: 500; font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; color: var(--ink); }
.task-in .tt span { display: block; font-size: 10px; color: var(--faint); font-family: var(--mono); }

/* 通用双行单元格（表格里不套 .task-in 时使用） */
.tt { min-width: 0; }
.tt b { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink); }
.tt span { display: block; font-size: 10px; color: var(--faint); font-family: var(--mono); }

/* 时间线 */
.timeline { position: relative; padding-left: 18px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.tl-node { position: relative; padding-bottom: 15px; }
.tl-node:last-child { padding-bottom: 0; }
.tl-node::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-2);
}
.tl-node[data-state="done"]::before { background: var(--pine); border-color: var(--pine); }
.tl-node[data-state="active"]::before { background: var(--surface); border-color: var(--pine); box-shadow: 0 0 0 3px var(--pine-soft); }
.tl-node[data-state="fail"]::before { background: var(--danger); border-color: var(--danger); }
.tl-node .tn-t { font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 7px; }
.tl-node .tn-m { font-size: 11px; color: var(--faint); margin-top: 1px; font-family: var(--mono); }
.tl-node .tn-d { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.55; }

/* 状态图例 */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-8, 8px);
  overflow: hidden;
}
.legend-cell { background: var(--surface); padding: 11px 13px; }
.legend-cell .lc-h { display: flex; align-items: center; gap: 7px; }
.legend-cell .lc-d { font-size: 11px; color: var(--faint); margin-top: 4px; line-height: 1.5; }

/* ---------- 账户 ---------- */
.batch-list { display: flex; flex-direction: column; gap: 0; }
.batch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 92px 78px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.batch-row:last-child { border-bottom: 0; }
.batch-row .b-src { font-weight: 500; }
.batch-row .b-exp { font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.batch-row .b-v { font-variant-numeric: tabular-nums; text-align: right; }

.plan-card {
  border: 1px solid var(--pine-line);
  background: linear-gradient(150deg, var(--pine-700), var(--pine) 120%);
  color: var(--bone);
  border-radius: var(--r-10);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}
.plan-card .pc-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 241, 235, 0.45); }
.plan-card .pc-n { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: 6px; }
.plan-card .pc-m { font-size: 11.5px; color: rgba(243, 241, 235, 0.6); margin-top: 3px; }
.plan-card .pc-r {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 241, 235, 0.16);
}
.plan-card .pc-r .k { font-size: 10px; color: rgba(243, 241, 235, 0.45); }
.plan-card .pc-r .v { font-size: 14px; font-weight: 500; margin-top: 2px; }

/* ---------- 企业后台 ---------- */
.contract-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-10);
  overflow: hidden;
}
.contract-top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.contract-top .ct-badge {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  background: var(--ochre-soft);
  border: 1px solid var(--ochre-line);
  border-radius: var(--r-2);
  padding: 3px 6px;
}
.contract-top h3 { font-size: 15px; font-weight: 600; margin-top: 8px; }
.contract-top .ct-m { font-size: 11.5px; color: var(--faint); margin-top: 3px; font-family: var(--mono); }

.ent-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.ent-kpi-row > div {
  padding: 15px 20px;
  border-right: 1px solid var(--line);
}
.ent-kpi-row > div:last-child { border-right: 0; }
.ent-kpi-row .ek-k { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.ent-kpi-row .ek-v {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.ent-kpi-row .ek-v small { font-size: 10.5px; font-weight: 400; color: var(--faint); margin-left: 3px; }
.ent-kpi-row .ek-d { font-size: 10.5px; color: var(--faint); margin-top: 3px; }

/* 成员消耗条 */
.member-usage { display: flex; align-items: center; gap: 9px; }
.member-usage .bar { width: 74px; flex: none; }
.member-usage .mu-v { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 平台后台：左侧窄导航复用 .rail，内容区用 .page */
.admin-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  border: 1px solid var(--ochre-line);
  background: var(--ochre-soft);
  padding: 1px 5px;
  border-radius: var(--r-2);
}

/* ---------- 浮层：抽屉 / 弹窗 / 提示 ---------- */
.mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 13, 0.42);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(1.5px);
}
.mask[data-open="true"] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 92vw;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--sh-4);
  z-index: 310;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.drawer[data-open="true"] { transform: none; }
.drawer-hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer-hd h3 { font-size: 15px; font-weight: 600; }
.drawer-hd .dh-s { font-size: 11px; color: var(--faint); font-family: var(--mono); margin-top: 2px; }
.drawer-bd { padding: 18px; overflow-y: auto; flex: 1; }
.drawer-ft {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  flex: none;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  width: 560px;
  max-width: 94vw;
  max-height: 88vh;
  background: var(--surface);
  border-radius: var(--r-14);
  box-shadow: var(--sh-4);
  z-index: 310;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.modal-hd { padding: 18px 22px 0; }
.modal-hd h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.modal-hd p { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.modal-bd { padding: 18px 22px; overflow-y: auto; }
.modal-ft {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-6);
  background: var(--coal);
  color: var(--bone);
  font-size: 12.5px;
  box-shadow: var(--sh-3);
  animation: rise 0.2s ease both;
  max-width: 76vw;
}
.toast svg { width: 14px; height: 14px; flex: none; color: #8fb79d; }

/* 小屏 */
@media (max-width: 1440px) {
  .studio { grid-template-columns: 218px minmax(0, 1fr) 366px; }
}
@media (max-width: 1220px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .studio { grid-template-columns: 200px minmax(0, 1fr); }
  .studio-chat { display: none; }
  .entry-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
