:root {
    color-scheme: light;
    /* 2026-09-25 吕老师反馈「文字发淡 / 白色与绿色不搭」，本轮统一收紧：
       墨绿加深、次级文字提高对比度、白色面板改为带绿韵的近白（与豆绿同族）。 */
    --ink: #35452f;
    --muted: #667463;
    /* 2026-09-25 第二轮：吕老师反馈「线条太浅，看不清，视觉上不舒服」。
       实测原 --line (#ccd8c8) 对面板底色只有 1.44:1，远低于 WCAG 对
       UI 组件边界要求的 3:1（输入框、可交互控件的边界属强制项）。
       --line        -> 3.0:1  所有分割线、表格行线、卡片/面板外框
       --line-strong -> 3.5:1  输入框、下拉、可交互控件、选中/悬停态 */
    --line: #7d9b73;
    --line-strong: #709066;
    /* 选中/激活态：4.0:1，与 hover 拉开明显跳变 */
    --line-active: #68855f;
    --sage: #9baf95;
    --sage-deep: #657b5d;
    --sage-soft: #e2e9dd;
    --ice: #e8eee3;
    --green: #2d9a75;
    /* 面板基色：不是纯白，而是绿色家族最亮的一档，避免无彩色与豆绿并置「打架」。 */
    --surface: #fbfdf8;
    --shadow: 0 16px 42px rgba(114, 139, 106, .13);
}

/* A layout: welcoming artwork beside a focused sign-in form. Centering uses auto margins (not justify-content) so focusing an input never triggers the overflow scroll jump. */
.login-page { min-height: 100svh; padding: 32px max(24px, calc((100vw - 1280px) / 2)); display: flex; flex-direction: column; background: radial-gradient(ellipse at 28% 38%, #cfdbcb 0, transparent 53%), linear-gradient(135deg, #dde6d9, #e8eee4 68%); }
.login-home { align-self: flex-start; color: #6b7967; text-decoration: none; font-size: 14px; padding: 10px 0; }
/* 吕老师 2026-10-01（图4）：左右两块视觉比例调匀——品牌区放大一点、登录卡片收窄一点，大小接近。
   吕老师 2026-10-02（R40）：品牌区再放大、卡片再收窄、两栏间距收拢（56→40px），
   卡片贴向品牌区一侧（justify-self:start），左右不留大空档。
   吕老师 2026-10-02（R41）：品牌区继续放大——画布 1180→1260、logo 600→680px、标语再升一档。 */
.login-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; width: 100%; max-width: 1260px; margin: auto; }
.login-art { position: relative; min-width: 0; /* R43c（吕老师 2026-10-02）：品牌块右移一点点（48px），登录卡随列宽右移半栏 */ padding-left: 48px; }
.login-eyebrow { display: block; color: #687a62; font-size: 11px; letter-spacing: .16em; font-weight: 700; margin: 0 0 26px 24px; /* R43：上移到品牌区顶部；R43c：右移对准吕老师红圈位置（约逻辑 x96） */ }
.login-art > img { display: block; width: 100%; max-width: 680px; height: auto; aspect-ratio: 1; object-fit: contain; margin: -4px auto 0; }
.login-art__copy { padding: 0 20px; text-align: center; }
.login-art h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.4; letter-spacing: -.03em; margin: 4px 0 12px; white-space: nowrap; }
.login-art p { color: #6d7869; margin: 0; font-size: 17px; }
.login-card { background: var(--surface); border: 1px solid #fff; border-radius: 24px; padding: 30px 30px 22px; box-shadow: 0 22px 64px rgba(89, 116, 80, .14); min-width: 0; max-width: 430px; justify-self: start; width: 100%; }
.login-brand { color: #667b5f; font-size: 16px; font-weight: 700; }
.login-card h1 { font-size: clamp(23px, 2.4vw, 29px); letter-spacing: -.04em; margin: 28px 0 10px; }
.login-card > p { color: #6e786a; margin: 0 0 30px; }
.runtime-field { display: flex; flex-direction: column; gap: 9px; color: #6b7968; font-size: 13px; font-weight: 600; margin: 18px 0; min-width: 0; }
/* R20e：预览账号勾选行——横向排列，与普通字段区分 */
.runtime-field.runtime-check { flex-direction: row; align-items: center; gap: 8px; font-size: 12.5px; }
.runtime-field.runtime-check input[type="checkbox"] { width: 15px; height: 15px; accent-color: #1d7a55; flex: none; }
.runtime-field input, .runtime-field select { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; background: #fff; color: #3f5039; font: inherit; font-size: 16px; font-weight: 400; }
.runtime-field input:focus-visible, .runtime-field select:focus-visible { outline: none; }
/* R50（吕老师 2026-10-02 手机端截图）：日期/时间输入框有浏览器固有最小宽度
   （Chrome 约 130px，iOS 更宽），width:100% 压不住 → 撑破卡片、溢出到屏幕外。
   显式 min-width:0 + max-width:100% 破掉固有宽度，窄屏改纵向堆叠。 */
.runtime-field input[type="date"],
.runtime-field input[type="datetime-local"],
.runtime-field input[type="time"] { min-width: 0; max-width: 100%; }
.runtime-field input[type="number"] { min-width: 0; max-width: 100%; }
.runtime-field input::placeholder { color: #6e786b; font-size: 13px; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; right: 4px; top: 4px; bottom: 4px; border: 0; background: transparent; color: #6a7964; padding: 0 12px; cursor: pointer; }
.runtime-primary { background: #51654a !important; border-color: #51654a !important; color: #fff !important; }
.runtime-primary:hover { background: #63795b !important; }
.login-submit { width: 100%; min-height: 52px; border-radius: 12px; font-size: 16px; font-weight: 650; border: 1px solid; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
#login-message { min-height: 20px; color: #6c7869; font-size: 13px; line-height: 1.6; margin: 10px 0 16px; }
.login-note { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; color: #6c7867; font-size: 12px; line-height: 1.8; }
.login-note > span { font-size: 26px; color: #657b5d; }.login-note p { margin: 0; }.login-note small { color: #6e786b; }
.login-footer { text-align: center; color: #6d786a; font-size: 12px; margin: 12px 0; }
.runtime-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 16px 0; min-width: 0; overflow-wrap: anywhere; }
.runtime-panel h2 { font-size: 18px; margin: 0 0 14px; }.runtime-panel p { line-height: 1.7; }
.runtime-settings { grid-column: 1 / -1; margin: 0; }
.runtime-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.runtime-panel button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #667a60; font-weight: 600; cursor: pointer; }
button:disabled { cursor: not-allowed !important; opacity: .55; }
.runtime-hint { color: #6d786a; font-size: 12px; line-height: 1.7; }.runtime-error, .is-error { color: #b14545 !important; }
.runtime-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ima-admin { padding-top: 12px; }.ima-admin summary { cursor: pointer; font-weight: 650; padding: 12px 0; }
.runtime-article { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
/* 吕老师 2026-09-28（第6轮）：问句文字与按钮严格同排——文字侧弹性伸缩、
   超长省略，按钮侧永不换行，杜绝长问句把按钮挤到下一行。 */
.runtime-article > div:first-child { flex: 1 1 auto; min-width: 0; }
.runtime-article strong { display: block; overflow-wrap: anywhere; }
.runtime-article .runtime-hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runtime-article button { flex-shrink: 0; }.runtime-history { margin-top: 0; }
/* 吕老师 2026-09-28：文章行操作区（查看内容 / 下载 MD 同排）+ 在线正文预览。 */
.runtime-article__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; white-space: nowrap; }
.runtime-article-preview { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdf8; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto; font-size: 13px; line-height: 1.7; color: var(--ink); }
/* 吕老师 2026-09-28：文章存储卡片紧凑化——无需展开查看，直接列问句与按钮。 */
.runtime-compact { padding: 14px 16px; }
.runtime-compact > h2 { margin-bottom: 2px; }
.runtime-compact .runtime-article { padding: 10px 0; }
/* 进度条显式配色：原生 track 在 Edge 深色模式下是黑色的，必须覆盖（吕老师 2026-09-19 反馈）。 */
.runtime-panel progress { width: 100%; height: 14px; accent-color: #9baf95; appearance: none; -webkit-appearance: none; background: #d8dfd5; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.runtime-panel progress::-webkit-progress-bar { background: #d8dfd5; border-radius: 999px; }
.runtime-panel progress::-webkit-progress-value { background: linear-gradient(90deg, #8ba284, #708968); border-radius: 999px; transition: width .5s ease; }
.runtime-panel progress::-moz-progress-bar { background: linear-gradient(90deg, #8ba284, #708968); border-radius: 999px; }
.runtime-step-detail { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #657b5e; }
.runtime-failure { border: 1px solid #cb7e7e; border-radius: 10px; padding: 10px 14px; margin: 8px 0; background: #fff9f9; }
.runtime-failure summary { cursor: pointer; color: #9d3737; font-size: 14px; }
.runtime-draft-preview { white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.7; color: #5e695a; }
.runtime-toast { position: fixed; z-index: 300; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: min(700px, calc(100vw - 32px)); padding: 16px 22px; border: 1px solid #cb7e7e; background: #fff9f9; color: #9d3737; border-radius: 14px; box-shadow: 0 8px 30px rgba(60, 80, 54, .18); font-size: 14px; line-height: 1.6; cursor: pointer; }
.geo-preview--documents .runtime-field { padding: 0 16px; }
@media (max-width: 800px) {
  .login-page { padding: 18px 20px; justify-content: flex-start; }
  .login-layout { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 12px auto 0; }
  .login-art { text-align: center; padding-left: 0; }.login-art > .login-eyebrow, .login-art__copy { display: none; }
  .login-art > img { width: 200px; margin: 0 auto -10px; position: relative; z-index: 1; }
  .login-card { padding: 30px 24px 24px; border-radius: 22px; }.login-card h1 { margin-top: 20px; }
  .login-card > p { margin-bottom: 22px; }.login-note { margin-top: 22px; padding-top: 18px; }
  .runtime-columns { grid-template-columns: 1fr; gap: 0; }.runtime-panel { padding: 18px; }
  .saas-admin-grid { grid-template-columns: 1fr; gap: 12px; }
  .runtime-article { align-items: flex-start; }.runtime-buttons > button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

* { box-sizing: border-box; }

html { min-width: 320px; background: #e2e9dd; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 7% 3%, rgba(174, 190, 168, .3), transparent 27rem),
        radial-gradient(circle at 94% 9%, rgba(208, 218, 203, .6), transparent 25rem),
        #e6ece2;
    font-family: "Microsoft YaHei", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
    font-size: 14px;
}

button, input, select { font: inherit; }

button, a, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(155, 175, 149, .16); }

[hidden] { display: none !important; }

button:focus-visible,
a:focus-visible {
    outline: none;
}

/* 2026-09-18: 用户要求全局取消选中/聚焦边框（输入框、按钮、选项卡等一律无描边） */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
    outline: none;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 9px 14px;
    border-radius: 10px;
    color: white;
    background: #5a6e53;
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.geo-shell {
    display: grid;
    /* 吕老师 2026-10-01（R22 图1）：删除右侧状态舱后主内容区占满剩余宽度 */
    grid-template-columns: 292px minmax(600px, 1fr);
    grid-template-rows: 64px minmax(calc(100vh - 64px), auto);
    grid-template-areas:
        "top top"
        "side main";
    min-height: 100vh;
    gap: 14px;
    padding: 0 16px 16px;
}

.geo-topbar {
    grid-area: top;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-width: 0;
}

.geo-home-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #697a63;
    font-weight: 700;
    text-decoration: none;
}

.geo-home-link span { font-size: 20px; }

/* 吕老师 2026-09-29（R19 图4）：顶栏「返回官网」移除后只剩标题+退出按钮，
   显式指定列位，标题仍居中、按钮仍在最右。 */
.geo-topbar__title { grid-column: 2; text-align: center; line-height: 1.2; }
.geo-topbar .geo-mode-pill { grid-column: 3; }
.geo-topbar__title strong { display: block; font-size: 15px; }
.geo-topbar__eyebrow { color: #687a62; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
/* 吕老师 2026-10-01（R22 图3）：顶栏右侧 = 实时积分徽章 + 退出登录。 */
.geo-topbar__right { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.geo-topbar__credits {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 9px;
    border: 1px solid rgba(45, 122, 85, .22);
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(45, 154, 117, .12) 0%, rgba(255, 255, 255, .85) 55%, rgba(45, 154, 117, .08) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 4px 14px rgba(89, 116, 80, .10);
    position: relative;
}
.geo-topbar__credits::after {
    /* AI/GEO 装饰：右上一颗小星轨点 */
    content: "✦"; position: absolute; top: -7px; right: 10px;
    color: #2d9a75; font-size: 9px; opacity: .85; pointer-events: none;
}
.geo-topbar__credits-icon {
    display: grid; place-items: center; width: 26px; height: 26px; flex: none;
    border-radius: 50%; color: #1d7a55;
    background: radial-gradient(circle at 32% 28%, #eaf5ee, #cfe7d8);
    border: 1px solid rgba(45, 122, 85, .28);
}
.geo-topbar__credits-body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.geo-topbar__credits-body b { color: #1d7a55; font-size: 12.5px; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.geo-topbar__credits-body small { color: #6a7965; font-size: 10px; overflow-wrap: anywhere; }

.geo-mode-pill {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #6b7968;
    background: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
}

.geo-mode-pill i { width: 6px; height: 6px; border-radius: 50%; background: #45ba90; box-shadow: 0 0 0 3px rgba(69,186,144,.12); }

/* 吕老师 2026-09-29（图3）：右上角徽标改为真正可点击的「退出登录」按钮。 */
/* 吕老师 2026-09-29 深夜（图2）：加"触感"——hover 深绿填充反白、按下缩放回弹。 */
button.geo-mode-pill { font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .08s ease, box-shadow .15s ease; }
button.geo-mode-pill i { transition: background .15s ease, box-shadow .15s ease; }
button.geo-mode-pill:hover { background: #1d7a55; border-color: #1d7a55; color: #fff; box-shadow: 0 4px 14px rgba(29, 122, 85, .28); }
button.geo-mode-pill:hover i { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
button.geo-mode-pill:active { transform: scale(.94); box-shadow: 0 1px 4px rgba(29, 122, 85, .3); }
button.geo-mode-pill:focus-visible { outline: 2px solid #45ba90; outline-offset: 2px; }
button.geo-mode-pill:disabled { opacity: .6; cursor: wait; }

.geo-sidebar,
.geo-cabin,
.geo-workspace {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.geo-sidebar {
    grid-area: side;
    position: sticky;
    top: 14px;
    display: flex;
    flex-direction: column;
    align-self: start;
    min-height: calc(100vh - 94px);
    padding: 20px 17px;
    border-radius: 18px;
    background: rgba(230, 237, 224, .95);
}

.geo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.geo-brand__mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 13px;
    background: transparent;
}
/* 新版品牌图自带圆角绿色方块，容器不再加底与描边，避免出现「方中方」。 */
.geo-brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

.geo-brand strong, .geo-brand small { display: block; }
.geo-brand strong { font-size: 21px; letter-spacing: .02em; }
.geo-brand small { margin-top: 4px; color: #6e786b; font-size: 12px; }

.geo-steps {
    position: relative;
    display: grid;
    gap: 6px;
    margin: 30px 0 22px;
    padding: 0;
    list-style: none;
}

.geo-steps::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 20px;
    width: 1px;
    background: var(--line);
}

.geo-steps li {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 13px;
}

.geo-steps li.is-active { border-color: var(--line-active); background: #e5eae4; }
.geo-step__number { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; color: #626f60; background: #edf0ec; font-weight: 800; }
.geo-steps li.is-active .geo-step__number { color: white; border-color: var(--line-active); background: var(--sage-deep); }
.geo-steps strong, .geo-steps small { display: block; }
.geo-steps strong { font-size: 14px; }
.geo-steps small { margin-top: 4px; color: #6e786a; font-size: 10px; }

.geo-sidebar__nav { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.geo-sidebar__nav button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border: 0; border-radius: 11px; color: #6d7869; background: transparent; font-weight: 700; text-align: left; cursor: pointer; }
.geo-sidebar__nav button:hover { color: #5b6e54; background: #e8ece6; }
/* R20j（吕老师 2026-09-30）：选中项太浅看不清——白底+深绿字+描边，与灰绿侧栏底明显区分 */
.geo-sidebar__nav button.is-selected { color: #33502e; background: #ffffff; box-shadow: inset 0 0 0 1.5px #9fb89a; }
.geo-sidebar__nav button.is-selected svg { color: #2d7a55; }
.geo-sidebar__nav svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.geo-sidebar__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #e7ebe5; }
.geo-sidebar__foot strong, .geo-sidebar__foot small { display: block; }
.geo-sidebar__foot small { margin-top: 3px; color: #6e786a; font-size: 10px; }
.geo-shield { display: grid; place-items: center; width: 28px; height: 28px; color: #657b5d; border: 1px solid var(--line); border-radius: 50%; }

.geo-main { grid-area: main; min-width: 0; padding: 14px 0 30px; }
/* R11（吕老师 2026-09-29）：统一各功能页最小高度——短页面不再把整页高度
   拉低，切换功能时页面不再「缩短伸长」跳动。长列表照常向下延伸。 */
.geo-view { min-width: 0; min-height: calc(100vh - 118px); }

.geo-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 4px 16px; }
.geo-heading h1 { margin: 5px 0 5px; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.geo-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.geo-heading__eyebrow { color: #697a62; font-size: 9px; font-weight: 900; letter-spacing: .19em; }
.geo-model-badges { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-end; gap: 8px; }
.geo-model-badge { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.75); }
.geo-model-badge small, .geo-model-badge strong { display: block; }
.geo-model-badge small { color: #6c7869; font-size: 9px; }
.geo-model-badge strong { margin-top: 2px; font-size: 10px; }

.geo-workspace { padding: clamp(14px, 2vw, 24px); border-radius: 18px; background: rgba(232, 239, 226, .92); }
.geo-upload-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #f3f7ef; }
.geo-upload-card + .geo-upload-card { margin-top: 14px; }
.geo-card-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 13px; margin-bottom: 15px; }
.geo-card-heading__index { margin-top: 4px; color: #687a63; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.geo-card-heading h2 { margin: 0; font-size: 15px; }
.geo-card-heading p { margin: 4px 0 0; color: #6d7869; font-size: 10px; }
.geo-card-heading__state { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #616c5d; background: #e7ece5; font-size: 9px; font-weight: 800; }

.geo-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px; padding: 24px; border: 1px dashed var(--line); border-radius: 14px; background: linear-gradient(145deg, #fff 0%, #eaeee9 100%); cursor: pointer; text-align: center; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.geo-dropzone:hover { border-color: var(--line-strong); background: #e8ece6; transform: translateY(-1px); }
.geo-dropzone input, .geo-document-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.geo-upload-symbol { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 50%; background: #e7ebe5; box-shadow: 0 0 0 9px rgba(225, 231, 223, .55); }
.geo-upload-symbol svg { width: 28px; fill: none; stroke: #94a98d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.geo-dropzone strong { font-size: 15px; }
.geo-dropzone > span:last-child { margin-top: 7px; color: #6d786a; font-size: 10px; line-height: 1.6; }

.geo-file-slot { margin-top: 10px; }
.geo-file-slot__empty, .geo-file-list__empty { display: block; padding: 10px 12px; border-radius: 9px; color: #616b5e; background: #e6ebe4; font-size: 10px; text-align: center; }
.geo-file-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.geo-file-item > span { min-width: 0; }
.geo-file-item strong { display: block; overflow-wrap: anywhere; font-size: 11px; }
.geo-file-item small { display: block; margin-top: 3px; color: #6d7869; font-size: 9px; overflow-wrap: anywhere; }
.geo-file-item em { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: #626b5e; background: #e6ebe4; font-size: 8px; font-style: normal; font-weight: 800; }
.geo-file-item.is-ready em { color: #227d5f; background: #eaf8f2; }
.geo-file-item.is-error { border-color: #db757c; background: #fffafb; }
.geo-file-item.is-error em { color: #b94852; background: #fff0f1; }

.geo-document-picker { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: #657b5e; background: white; cursor: pointer; }
.geo-document-picker > span { font-size: 18px; }
.geo-document-picker strong { font-size: 11px; }
.geo-document-picker small { color: #6d786a; font-size: 9px; }
.geo-file-list { display: grid; gap: 7px; margin: 11px 0 0; padding: 0; list-style: none; }

.geo-preview { margin-top: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.geo-preview__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.geo-preview__heading h3 { margin: 0; font-size: 12px; }
.geo-preview__heading select { min-width: 130px; max-width: 50%; padding: 6px 28px 6px 9px; border: 1px solid var(--line-strong); border-radius: 8px; color: #62765b; background: white; font-size: 10px; }
.geo-preview__meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.geo-preview__meta > span { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 7px; background: #e7ece5; }
.geo-preview__meta small { color: #6e786b; font-size: 8px; }
.geo-preview__meta strong { font-size: 9px; }
.geo-table-wrap { overflow: auto; max-height: 360px; border: 1px solid var(--line); border-radius: 9px; }
.geo-table-wrap table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 9px; }
.geo-table-wrap th, .geo-table-wrap td { min-width: 90px; max-width: 250px; padding: 8px 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: pre-wrap; overflow-wrap: anywhere; }
.geo-table-wrap th { position: sticky; top: 0; z-index: 1; color: #5b6e55; background: #e7ebe5; }
.geo-preview--documents { display: grid; gap: 8px; }
.geo-preview--documents details { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #edf0ec; }
.geo-preview--documents details.is-error { border-color: #d77780; background: #fffafb; }
.geo-preview--documents summary { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; cursor: pointer; }
.geo-preview--documents summary strong { overflow-wrap: anywhere; font-size: 10px; }
.geo-preview--documents summary span { flex: 0 0 auto; color: #4c7e6e; font-size: 8px; font-weight: 800; }
.geo-preview--documents details.is-error summary span { color: #b4444d; }
.geo-preview--documents pre { max-height: 360px; overflow: auto; margin: 0; padding: 12px; border-top: 1px solid var(--line); color: #5e6b5a; background: white; font: 11px/1.8 "Microsoft YaHei UI", "PingFang SC", sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }

.geo-preflight { margin-top: 14px; padding: 16px 18px; border: 1px solid #50a280; border-radius: 14px; background: #f2faf7; }
.geo-preflight__title { display: flex; align-items: center; gap: 10px; }
.geo-preflight__title > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #53a282; border-radius: 50%; color: #258461; }
.geo-preflight h2 { margin: 0; font-size: 13px; }
.geo-preflight p { margin: 2px 0 0; color: #607b6f; font-size: 9px; }
.geo-preflight__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.geo-preflight__grid div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 11px; border: 1px solid #52a285; border-radius: 9px; background: rgba(255,255,255,.72); font-size: 9px; }
.geo-preflight__grid span { color: #647a71; }
.geo-preflight__grid strong { color: #378268; text-align: right; }
/* 模型名等长文案单元格：标签在上、取值在下整体居中，与同排其他单元格观感一致 */
.geo-preflight__grid div.is-stacked { flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.geo-preflight__grid div.is-stacked span { flex: none; }
.geo-preflight__grid div.is-stacked strong { width: 100%; text-align: center; font-size: 11px; line-height: 1.6; }

.geo-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.geo-clear-button, .geo-run-button { min-height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 800; }
.geo-clear-button { border: 1px solid var(--line); color: #697a62; background: white; cursor: pointer; }
.geo-clear-button:disabled { opacity: .46; cursor: not-allowed; }
.geo-run-area { display: flex; align-items: center; gap: 12px; }
.geo-run-area span { color: #6f776b; font-size: 9px; }
.geo-run-button { border: 0; transition: color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.geo-run-button:not(:disabled) { color: #fff; background: #5e7457; box-shadow: 0 8px 18px rgba(94, 116, 87, .2); cursor: pointer; }
.geo-run-button:not(:disabled):hover { background: #6e8766; }
.geo-run-button:disabled { color: #6e786a; background: #dbe2d9; box-shadow: none; cursor: not-allowed; }

.geo-empty-state { display: grid; place-items: center; min-height: 430px; padding: 40px; border: 1px solid var(--line); border-radius: 18px; color: #6e786b; background: rgba(237, 241, 236, .9); text-align: center; box-shadow: var(--shadow); }
.geo-empty-state > span { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid var(--line); border-radius: 50%; color: #5a6e53; background: #e7ebe5; font-size: 28px; }
.geo-empty-state h2 { margin: 16px 0 0; color: #50614b; font-size: 18px; }
.geo-empty-state p { margin: 8px 0 0; font-size: 11px; }
.geo-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* 2026-09-28（图18）：退出登录移入个人设置页顶部的账号操作条 */
.geo-settings-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.geo-settings-account small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.geo-logout-button { padding: 8px 18px; border: 1px solid #d3797f; border-radius: 8px; background: #fff; color: #b4232c; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s ease; }
.geo-logout-button:hover:not(:disabled) { background: #fbf1f1; }
.geo-logout-button:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.geo-logout-button:disabled { opacity: .6; cursor: wait; }
.geo-settings-grid > article { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(237, 241, 236, .9); box-shadow: 0 9px 24px rgba(114, 139, 106, .08); }
.geo-settings-grid > article > span, .geo-settings-grid > article > strong { display: block; }
.geo-settings-grid > article > span { color: #6e786a; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.geo-settings-grid > article > strong { margin-top: 8px; font-size: 16px; }
.geo-settings-grid > article > p { margin: 8px 0 0; color: #6e786a; font-size: 10px; line-height: 1.7; }
.geo-model-setting { display: grid; grid-column: 1 / -1; gap: 16px; }
.geo-model-setting__intro > span, .geo-model-setting__intro > strong { display: block; }
.geo-model-setting__intro > span { color: #6e786a; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.geo-model-setting__intro > strong { margin-top: 5px; color: #4f6049; font-size: 18px; }
.geo-model-setting__intro > p { max-width: 720px; margin: 8px 0 0; color: #6e786a; font-size: 10px; line-height: 1.7; }
.geo-model-catalog { min-width: 0; margin: 0; padding: 0; border: 0; }
.geo-model-catalog > legend { margin-bottom: 9px; color: #6e786a; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.geo-provider-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.geo-provider-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.88); transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.geo-provider-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.geo-provider-card:has(input:checked) { border-color: var(--line-active); background: linear-gradient(145deg, #e7ece6, #e3e8e1); box-shadow: inset 3px 0 0 var(--line-active); }
.geo-provider-card__header { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; }
.geo-provider-card__logo { display: grid !important; place-items: center; width: 42px; height: 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.geo-provider-card__logo img { display: block; width: 31px; height: 31px; object-fit: contain; }
.geo-provider-card__identity { min-width: 0; }
.geo-settings-grid .geo-provider-card__identity strong { overflow: hidden; margin: 0; color: #4c5d46; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.geo-settings-grid .geo-provider-card__identity small { display: block; overflow: hidden; margin-top: 3px; color: #6d786a; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.geo-provider-card__status { align-self: start; color: #6d7869 !important; font-size: 8px !important; letter-spacing: 0 !important; white-space: nowrap; }
.geo-provider-card__keylink { align-self: start; justify-self: end; margin-right: 2px; color: #4a6b52 !important; font-size: 9px !important; font-weight: 600; letter-spacing: 0 !important; text-decoration: none; border-bottom: 1px dashed rgba(74,107,82,.55); white-space: nowrap; }
.geo-provider-card__keylink:hover { color: #2e4a36 !important; border-bottom-style: solid; }
.geo-provider-card__keylink:focus-visible { outline: 2px solid var(--line-active); outline-offset: 2px; border-radius: 2px; }
.geo-provider-card__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.geo-model-option { position: relative; min-width: 0; cursor: pointer; }
/* R33（吕老师 2026-10-02 图2）：点模型选项时文字被拖蓝（文本选中）看着像"选不上"
   ——模型弹窗整体禁文本选中，点哪都是干净的单选。 */
.geo-model-picker__dialog, .geo-model-picker__dialog * { -webkit-user-select: none; user-select: none; }
.geo-model-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.geo-model-option > span { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; color: #6c7869; background: #fff; transition: border-color .16s ease, color .16s ease, background-color .16s ease; }
.geo-model-option i { display: block; flex: 0 0 13px; width: 13px; height: 13px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #fff; }
.geo-settings-grid .geo-model-option strong { min-width: 0; margin: 0; color: inherit; font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; white-space: nowrap; }
.geo-model-option:hover > span { border-color: var(--line-strong); color: #5c7055; background: #ebefea; }
.geo-model-option input:checked + span { border-color: var(--line-active); color: #5c7155; background: #fff; box-shadow: 0 3px 10px rgba(124, 147, 116, .1); }
.geo-model-option input:checked + span i { border-color: var(--line-strong); background: #9baf95; }
.geo-model-option input:focus-visible + span { outline: none; }
.geo-model-option:focus-within { outline: 0; }
.geo-model-setting__footer { padding-top: 2px; }
.geo-model-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #eaeee8; }
.geo-model-summary > span { grid-row: 1 / span 2; text-transform: uppercase; }
.geo-settings-grid .geo-model-summary strong { margin: 0; color: #576a50; font-size: 13px; }
.geo-model-summary code { overflow-wrap: anywhere; color: #6d786a; font-family: "Cascadia Mono", Consolas, monospace; font-size: 9px; text-align: right; }

.geo-cabin {
    grid-area: cabin;
    position: sticky;
    top: 14px;
    display: flex;
    flex-direction: column;
    align-self: start;
    min-height: calc(100vh - 94px);
    padding: 19px 14px 14px;
    border-radius: 18px;
    background: rgba(234, 238, 232, .92);
}

.geo-cabin__heading span, .geo-cabin__heading strong { display: block; }
.geo-cabin__heading span { color: #6a7965; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.geo-cabin__heading strong { margin-top: 8px; font-size: 16px; }
.geo-character { position: relative; overflow: hidden; aspect-ratio: 1 / 1; margin: 16px 0 12px; border-radius: 14px; background: radial-gradient(circle at 50% 45%, #ecf0eb 0, #e3e8e1 58%, #d9e1d7 100%); }
.geo-character::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 36px rgba(134, 158, 126, .15); pointer-events: none; }
.geo-character img { display: block; width: 100%; height: 100%; object-fit: cover; }

.geo-status-list { margin: 0; padding: 4px 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.72); }
.geo-status-list div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.geo-status-list div:last-child { border-bottom: 0; }
.geo-status-list dt { color: #6d786a; }
.geo-status-list dd { margin: 0; font-weight: 800; text-align: right; }
/* 当前模型行：堆叠布局让模型名独占整行，超长时省略号截断（悬停 title 看全名），不再折行 */
.geo-status-list div.is-stacked { flex-direction: column; align-items: flex-start; gap: 4px; }
.geo-status-list div.is-stacked dd { width: 100%; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geo-service-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; padding-top: 12px; }
.geo-service-chips span { padding: 8px 4px; border: 1px solid #5ea087; border-radius: 8px; color: #427b67; background: #eff9f5; font-size: 8px; font-weight: 800; text-align: center; }
.geo-saas-status { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.geo-saas-status span { padding: 9px 8px; border: 1px solid var(--line); border-radius: 9px; color: #6a7964; background: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; text-align: center; }
.saas-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 24px; }
.saas-admin-grid h3 { margin: 4px 0 16px; font-size: 16px; }
.wechat-contact { display: block; width: min(100%, 260px); margin: 20px auto 0; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.saas-admin-grid > * { min-width: 0; }
#subscription-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
#member-form .runtime-columns, #subscription-form .runtime-columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 18px; }
.runtime-ledger { overflow-x: auto; margin-top: 16px; }
.runtime-ledger table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.runtime-ledger th, .runtime-ledger td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.runtime-ledger th { color: #5a6c54; background: #e7ebe5; }
.runtime-ledger tbody tr:nth-child(even) { background: #ebefea; }
.runtime-ledger td.ledger-in { color: #1c7c54; font-weight: 800; }
.runtime-ledger td.ledger-out { color: #c2455a; font-weight: 800; }
.ledger-summary { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #eaeee8; color: #5c7055; font-weight: 800; font-size: 13px; }
/* S0 运行日志工具条（吕老师 2026-09-24：筛选与刷新按钮不得挤在一起）。 */
.logs-toolbar { display: flex; gap: 10px; align-items: center; margin: 12px 0 10px; }
.logs-toolbar select { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: #3f5039; font: inherit; font-size: 13px; }
/* 共享缓存工作区：展示已获取的知识库目录/文件缓存资料 */
/* 吕老师 2026-09-20：管理中心「IMA 知识库」文件树（只显示文件名与预热状态）。 */
.ima-kb-tree { margin-top: 14px; }
.ima-kb-group { margin-top: 10px; border: 1px solid var(--line); border-radius: 9px; background: #edf0ec; }
.ima-kb-group summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; cursor: pointer; font-size: 12px; font-weight: 800; color: #657b5d; }
.ima-kb-group summary small { flex: none; font-weight: 500; color: #6d7869; }
.ima-kb-group ul { margin: 0; padding: 0 12px 10px; list-style: none; }
.ima-kb-files li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 12px; color: #5e6b5a; }
.ima-kb-files li:last-child { border-bottom: none; }
.ima-kb-badge { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.ima-kb-badge.is-cached { background: #e3f4e8; color: #22713b; }
.ima-kb-badge.is-missing { background: #fdeaea; color: #a33a3a; }
.ima-kb-badge.is-manual { background: #e3e9e2; color: #596c52; }
/* 吕老师 2026-09-21：自定义上传文件按份删除按钮——跟行内小字对齐，低调不抢眼。 */
.ima-kb-delete { flex: none; margin-left: auto; padding: 1px 9px; border: 1px solid #c78080; border-radius: 999px; background: #fdf3f3; color: #a33a3a; font-size: 10px; font-weight: 700; cursor: pointer; }
.ima-kb-delete:hover { background: #f7dcdc; }
.ima-kb-delete:disabled { opacity: 0.5; cursor: default; }
.ima-kb-supplement { margin-top: 14px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface); }
.ima-kb-supplement summary { padding: 9px 12px; cursor: pointer; font-size: 12px; font-weight: 800; color: #657b5d; }
.ima-kb-supplement > div { padding: 4px 12px 12px; }
.ima-kb-supplement button { margin-top: 8px; }

/* 吕老师 2026-09-20：资料库（小仓库）页面。 */
.repo-create-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.repo-create-form .runtime-field { flex: 1; min-width: 220px; margin: 0; }
.repo-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-top: 10px; overflow: hidden; }
.repo-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.repo-card > summary::-webkit-details-marker { display: none; }
.repo-card__title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.repo-card__title strong { font-size: 14px; color: var(--ink); }
.repo-card__title small { color: var(--muted); font-size: 12px; }
.repo-card__chevron::after { content: "▸"; color: #657b5d; font-size: 13px; transition: transform 0.15s ease; }
.repo-card[open] .repo-card__chevron::after { content: "▾"; }
.repo-card__actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 12px; }
.repo-card__files { padding: 0 16px 14px; border-top: 1px dashed var(--line); }
.repo-file-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.repo-file-row:last-child { border-bottom: none; }
.repo-file-row__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.repo-file-row small { flex: none; color: var(--muted); font-size: 11px; }
/* R15（图1）：知识库文件名可点击展开正文 */
.repo-file-row__name--toggle { cursor: pointer; text-decoration: underline dotted rgba(46,110,78,.55); text-underline-offset: 3px; }
.repo-file-row__name--toggle:hover { color: var(--acc, #2e6e4e); }
.repo-file-row__name--toggle.is-loading { opacity: .55; }
.repo-file-preview { margin: 6px 0 10px; padding: 10px 12px; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-word; background: #f7f9f7; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; line-height: 1.6; color: var(--ink); }

/* 吕老师 2026-09-20：问句存储重设计——容器级外边框 + 行分隔线，去掉逐条大边框；
   标题字号缩小，箭头圆钮展开/收起问句，行高稳定不再随加载状态跳变。 */
.question-store-list { display: grid; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.question-store-list > .console-empty { padding: 14px 16px; }
.question-store-item { border-bottom: 1px solid var(--line); padding: 8px 14px; background: var(--surface); }
.question-store-item:last-child { border-bottom: none; }
.question-store-row { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.question-store-arrow { flex: none; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: #eaeee8; color: #5c7055; font-size: 12px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.question-store-arrow:hover:not(:disabled) { background: #e2e8e1; }
.question-store-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ink); }
.question-store-meta { flex: none; color: var(--muted); font-size: 11px; }
.question-store-actions { display: flex; gap: 6px; flex: none; }
.question-store-actions button { padding: 4px 10px; font-size: 11px; border-radius: 6px; }
.question-store-bodywrap { margin-top: 6px; padding: 8px 36px 6px 0; border-top: 1px dashed var(--line); }
/* 联系客服：真实企微二维码（可扫码尺寸）+ 零雪合掌感谢形象，置于说明文字下方 */
.service-contact { margin-top: 20px; }
.service-contact__qr { display: flex; align-items: flex-end; gap: 20px; margin-top: 16px; }
.wechat-qr { flex: none; width: 200px; height: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.runtime-settings select { color: #4e6248; background: #fff; }
.runtime-panel button:focus-visible { outline: none; }
@media (max-width: 800px) {
    .saas-admin-grid { grid-template-columns: minmax(0, 1fr); }
    .service-contact__qr { justify-content: center; }
}

@media (min-width: 1181px) and (max-width: 1900px) {
    .geo-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
    .geo-shell { grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "top top" "side main"; }
    .geo-cabin { display: none; }
}

@media (max-width: 860px) {
    .geo-shell { display: block; padding: 0 12px 24px; }
    .geo-topbar { display: flex; justify-content: space-between; height: 58px; }
    .geo-topbar__title { display: none; }
    .geo-sidebar { position: static; min-height: auto; margin-bottom: 14px; padding: 14px; }
    .geo-brand, .geo-sidebar__foot { display: none; }
    .geo-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
    .geo-steps::before, .geo-steps small { display: none; }
    .geo-steps li { justify-content: center; min-height: 54px; padding: 6px; text-align: center; }
    .geo-step__number { flex-basis: 30px; height: 30px; }
    .geo-steps strong { font-size: 10px; }
    .geo-sidebar__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; padding-top: 8px; }
    .geo-sidebar__nav button { justify-content: center; gap: 5px; padding: 8px 4px; font-size: 9px; text-align: center; }
    .geo-sidebar__nav svg { width: 14px; }
    .geo-main { padding-top: 4px; }
}

@media (max-width: 760px) {
    .geo-heading { display: block; }
    .geo-model-badges { justify-content: flex-start; margin-top: 12px; }
    .geo-model-badge { display: inline-block; }
    .geo-workspace { padding: 11px; }
    .geo-upload-card { padding: 13px; }
    .geo-card-heading { grid-template-columns: 1fr auto; }
    .geo-card-heading__index { display: none; }
    .geo-dropzone { min-height: 160px; padding: 18px 12px; }
    .geo-document-picker { width: 100%; flex-wrap: wrap; justify-content: center; text-align: center; }
    .geo-preflight__grid { grid-template-columns: 1fr; }
    .geo-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; text-align: center; }
    .geo-run-area { display: grid; width: min(100%, 280px); justify-items: center; }
    .geo-run-area span { text-align: center; }
    .geo-clear-button, .geo-run-button { width: min(100%, 240px); }
    .geo-settings-grid { grid-template-columns: 1fr; }
    .geo-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .geo-model-summary { grid-template-columns: 1fr; }
    .geo-model-summary > span { grid-row: auto; }
    .geo-model-summary code { text-align: left; }
    .geo-preview__heading { align-items: stretch; flex-direction: column; }
    .geo-preview__heading select { max-width: none; width: 100%; }
}

@media (max-width: 520px) {
    .geo-mode-pill { padding: 6px 9px; font-size: 10px; }
    .geo-sidebar { padding: 9px; }
    .geo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .geo-steps li { justify-content: flex-start; gap: 8px; min-height: 64px; padding: 10px; text-align: left; }
    .geo-step__number { flex: 0 0 34px; height: 34px; margin: 0; }
    .geo-steps strong { font-size: 12px; white-space: nowrap; }
    .geo-heading h1 { font-size: 27px; }
    .geo-file-item { align-items: flex-start; flex-direction: column; gap: 4px; }
    .geo-sidebar__nav { overflow-x: visible; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .geo-model-setting { gap: 15px; padding: 14px !important; }
    .geo-provider-grid { grid-template-columns: 1fr; gap: 8px; }
    .geo-provider-card { padding: 11px; }
    .geo-settings-grid .geo-model-option strong { font-size: 11px; }
}

/* Approved A+B console: compact Microsoft YaHei, with no page-scale transforms. */
.geo-shell { --console-body: 12px; --console-caption: 11px; --console-title: 14px; font-size: var(--console-body); }
.geo-shell h1 { font-size: 22px; line-height: 1.35; letter-spacing: -.02em; text-wrap: initial; }
.geo-shell h2, .geo-shell h3 { font-size: var(--console-title); line-height: 1.5; }
.geo-shell p { line-height: 1.65; }
.geo-shell .runtime-field { font-size: 12px; margin: 14px 0; gap: 6px; }
.geo-shell .runtime-field input, .geo-shell .runtime-field select { min-height: 38px; padding: 9px 11px; font-size: 12px; border-radius: 7px; }
.geo-shell .runtime-panel { padding: 20px; border-radius: 10px; margin: 0 0 16px; box-shadow: none; }
.geo-shell .runtime-panel button { min-height: 34px; padding: 7px 12px; border-radius: 7px; font-size: 12px; }
.geo-shell .runtime-hint, .geo-shell .geo-heading p { font-size: 11px; }
.geo-shell .geo-heading { margin: 0 0 20px; }
.geo-shell .geo-model-setting__intro > strong { font-size: 14px; }
.geo-shell .geo-settings-grid .geo-model-summary strong { font-size: 12px; }
.geo-shell .runtime-ledger table { font-size: 12px; }
.geo-shell .runtime-ledger th, .geo-shell .runtime-ledger td { padding: 9px; }
.geo-shell .geo-cabin { display: none; }
.console-summary { display: flex; gap: 0; margin: 0 0 22px; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
.console-summary > div { padding: 0 28px; border-right: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
.console-summary > div:first-child { padding-left: 0; }
.console-summary > div:last-child { border: 0; }
.console-summary span { color: var(--muted); white-space: nowrap; }
.console-summary strong { font-size: 23px; font-variant-numeric: tabular-nums; }
.console-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.console-panel-heading h2 { margin: 0; }
.console-panel-heading__actions { display: flex; align-items: center; gap: 10px; }
.console-table-wrap { max-width: 100%; overflow-x: auto; }
.console-table-wrap table { width: 100%; border-collapse: collapse; font-size: 12px; }
.console-table-wrap th { background: var(--ice); color: var(--muted); font-weight: 500; }
.console-table-wrap th, .console-table-wrap td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.console-table-wrap td:first-child { font-weight: 600; min-width: 150px; }
.console-table-wrap td:not(:first-child) { white-space: nowrap; }
.console-table-wrap tbody tr:hover { background: var(--ice); }
.geo-shell .console-link-button { background: transparent; color: #62785b; border-color: transparent; }
.console-empty { min-height: 170px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.console-brand-note { display: flex; align-items: center; gap: 14px; padding: 14px 2px; }
.console-brand-note img { object-fit: cover; border-radius: 12px; }
.console-brand-note strong { font-size: 13px; }
.console-brand-note p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.console-directory { display: grid; grid-template-columns: 168px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; min-height: 520px; }
.console-directory__nav { padding: 20px 12px; background: var(--ice); border-right: 1px solid var(--line); }
.console-directory__nav button { display: block; width: 100%; margin: 0 0 5px; padding: 10px 12px; border: 0; border-radius: 6px; font: inherit; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.console-directory__nav button.is-selected { background: #e1e7df; color: #586b51; font-weight: 600; }
.console-directory__nav button:hover { color: #596c52; background: #e4e9e2; }
.console-directory__body { padding: 24px; min-width: 0; }
.console-directory__pane { min-width: 0; }
.console-directory__pane > h2 { margin: 0 0 16px; }
.console-directory__pane .runtime-panel, .console-directory__pane .geo-model-setting { border: 0; box-shadow: none; padding: 0; background: transparent; }
.console-directory__pane .geo-model-setting { margin-bottom: 18px; }
.console-directory__pane form { max-width: 900px; }
.console-directory__pane .runtime-field { max-width: 820px; }
.console-directory__pane #subscription-form { border: 0; margin: 0; padding: 0; }
.console-directory__pane .service-contact { margin-top: 0; }
.console-directory__pane .ima-admin { padding: 0; }
.console-directory__pane .ima-admin > summary { display: none; }
.geo-shell #tenant-admin { padding: 0; border: 0; background: transparent; }
.console-managed-user { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.console-managed-user .runtime-field { margin-top: 0; max-width: 480px; }
.console-detail-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.console-detail-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 10px 0; font: inherit; white-space: nowrap; color: var(--muted); background: transparent; cursor: pointer; }
.console-detail-tabs button.is-selected { border-bottom-color: var(--line-strong); color: #54674e; font-weight: 600; }
.console-new-task { color: #51654a; text-align: left; cursor: pointer; font: inherit; }
.console-new-task > span:first-child { font-size: 24px; }
.console-new-task small { color: var(--muted); }
@media (min-width: 861px) {
    /* 吕老师 2026-09-29：左侧导航栏 180px 太窄，统一加宽到 208px（四处断点同步）。
       R28（图1）：data-view=workspace 的三列网格（192px 舱列）已随状态舱删除作废，
       它 (0,2,0) 压过 1151+ 的两列规则，导致内容创作页右侧一大块空位——删除。 */
    .geo-shell { grid-template-columns: 208px minmax(0, 1fr); grid-template-areas: "side top" "side main"; grid-template-rows: 54px 1fr; gap: 0 26px; padding: 0 28px 0 0; }
    .geo-topbar { border-bottom: 1px solid var(--line); }
    .geo-topbar__title strong { font-size: 12px; }
    .geo-topbar__eyebrow { font-size: 8px; }
    .geo-home-link, .geo-mode-pill { font-size: 11px; }
    .geo-sidebar { position: sticky; top: 0; min-height: 100vh; max-height: 100vh; overflow-y: auto; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 12px 12px 18px; box-shadow: none; background: linear-gradient(170deg,#e3e9e2,#eaeee9 60%); }
    .geo-brand { gap: 8px; margin: 0 0 10px; }
    .geo-brand strong { font-size: 15px; letter-spacing: 0; white-space: nowrap; }
    .geo-brand small { font-size: 10px; }
    .geo-sidebar__nav { margin: 0; padding: 8px 0 12px; gap: 2px; }
    .geo-sidebar__nav button { padding: 6px 10px; min-height: 30px; font-size: 12px; font-weight: 500; border-radius: 7px; }
    .geo-sidebar__nav svg { width: 15px; }
    .geo-sidebar__foot { padding: 10px; border-radius: 8px; gap: 8px; }
    .geo-main { padding-top: 27px; }
    .geo-heading--workspace { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
    .geo-heading--workspace > div:first-child { display: contents; }
    .geo-heading--workspace .geo-heading__eyebrow { grid-column: 1; grid-row: 1; }
    .geo-heading--workspace h1 { grid-column: 1; grid-row: 2; }
    .geo-heading--workspace p { grid-column: 1 / -1; grid-row: 3; }
    .geo-heading--workspace .geo-model-badges { grid-column: 2; grid-row: 1 / 3; align-self: center; flex-wrap: nowrap; }
    .geo-model-badge { min-width: 62px; padding: 6px 9px; border-radius: 7px; }
    .geo-model-badge small { font-size: 10px; white-space: nowrap; }
    .geo-model-badge strong { font-size: 11px; white-space: nowrap; }
    .geo-workspace { border-radius: 10px; padding: 16px; box-shadow: none; background: var(--surface); }
    .geo-upload-card { padding: 14px; border-radius: 8px; }
    .geo-card-heading h2 { font-size: 14px; }
    .geo-card-heading p, .geo-dropzone > span:last-child { font-size: 11px; }
    .geo-card-heading__state { font-size: 10px; padding: 4px 7px; }
    .geo-dropzone { min-height: 126px; padding: 14px; }
    .geo-dropzone strong { font-size: 13px; }
    .geo-upload-symbol { width: 42px; height: 42px; }
    .geo-file-slot__empty, .geo-file-list__empty { font-size: 11px; }
    .geo-file-item { padding: 9px 10px; }
    .geo-file-item strong, .geo-document-picker strong { font-size: 12px; }
    .geo-file-item small, .geo-document-picker small { font-size: 10px; }
    .geo-file-item em { font-size: 10px; }
    .geo-preview { padding: 12px; }
    .geo-preview__heading h3 { font-size: 13px; }
    .geo-preview__heading select { min-height: 32px; font-size: 11px; }
    .geo-preview__meta small { font-size: 10px; }
    .geo-preview__meta strong { font-size: 11px; }
    .geo-table-wrap table { font-size: 12px; line-height: 1.5; }
    .geo-table-wrap th, .geo-table-wrap td { padding: 8px 10px; }
    .geo-preview--documents summary { padding: 10px; }
    .geo-preview--documents summary strong { font-size: 12px; }
    .geo-preview--documents summary span { font-size: 10px; }
    .geo-preview--documents pre { font: 12px/1.8 "Microsoft YaHei", "Microsoft YaHei UI", sans-serif; }
    .geo-preflight h2 { font-size: 13px; }
    .geo-preflight p { font-size: 10px; }
    .geo-preflight__grid div { padding: 9px 10px; font-size: 11px; }
    .geo-clear-button, .geo-run-button { min-height: 36px; font-size: 12px; }
    .geo-run-area span { font-size: 10px; }
    .geo-shell[data-view=workspace] .geo-cabin { display: flex; min-height: 0; margin-top: 27px; padding: 16px; border-radius: 10px; box-shadow: none; }
    .geo-cabin__heading strong { font-size: 14px; }
    .geo-character { width: 64px; height: 64px; margin: 14px 0; border-radius: 9px; }
    .geo-status-list { padding: 0; border: 0; background: transparent; }
    .geo-status-list div { font-size: 11px; padding: 10px 0; }
    .geo-status-list dt { flex-shrink: 0; }
    .geo-service-chips span, .geo-saas-status span { font-size: 10px; padding: 7px 4px; }
}
@media (min-width:861px) and (max-width:1150px) {
    .geo-shell[data-view=workspace] { grid-template-columns: 208px minmax(0,1fr); grid-template-areas: "side top" "side main"; }
    .geo-shell[data-view=workspace] .geo-cabin { display: none; }
}
@media (max-width:860px) {
    .geo-shell .geo-brand { display: flex; margin-bottom: 12px; }
    .geo-shell .geo-sidebar__nav { display: flex; overflow-x: auto; padding-top: 8px; margin: 0; }
    .geo-shell .geo-sidebar__nav button { width: auto; flex: 0 0 auto; font-size: 11px; padding: 9px; }
    .geo-shell .geo-sidebar__nav svg { display: none; }
    .console-new-task { display: flex; width: 100%; margin-top: 12px; justify-content: center; min-height: 40px; padding: 8px; }
    .console-new-task small { display: none; }
    .console-directory { grid-template-columns: minmax(0,1fr); min-height: 0; }
    .console-directory__nav { display: flex; overflow-x: auto; gap: 8px; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
    .console-directory__nav button { flex: 0 0 auto; width: auto; white-space: nowrap; margin: 0; }
    .console-directory__body { padding: 15px; }
    .console-summary > div { padding: 0 14px; gap: 10px; }
    .console-summary strong { font-size: 20px; }
    .console-summary span { font-size: 10px; }
    .geo-shell .runtime-panel { padding: 14px; }
    .geo-shell .console-directory__pane .runtime-panel { padding: 0; }
    .geo-shell .runtime-field input, .geo-shell .runtime-field select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

.geo-brand__mark { flex: 0 0 48px; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; }
.geo-brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Five independent workspaces: compact strip, never a global model switch. */
.workspace-tabs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; margin: 0 0 18px; padding: 2px 2px 6px; }
.workspace-tabs button { flex: 1 0 96px; min-width: 0; max-width: 200px; text-align: left; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.workspace-tabs button strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-tabs button small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.workspace-tabs button[aria-current=page] { border-color: var(--line-active); background: var(--ice); box-shadow: inset 0 2px var(--line-active); }
.workspace-tabs button:hover, .workspace-toolbar button:hover { border-color: var(--line-strong); }
.workspace-toolbar { display: grid; grid-template-columns: minmax(140px,1fr) minmax(150px,1fr) auto; align-items: end; gap: 12px; margin: 0 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.workspace-toolbar label { display: grid; gap: 6px; min-width: 0; font-size: 11px; color: var(--muted); }
.workspace-toolbar input, .workspace-toolbar select { width: 100%; min-width: 0; height: 34px; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 6px; font: 12px "Microsoft YaHei",sans-serif; color: var(--ink); background: #fff; }
.workspace-toolbar__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.workspace-toolbar button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--ice); color: var(--ink); font: inherit; cursor: pointer; white-space: nowrap; }
.workspace-toolbar > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; }
.workspace-toolbar > p.is-error { color: #b34242; }
.workspace-tabs button:focus-visible, .workspace-toolbar :is(button,input,select):focus-visible { outline: none; }
.workspace-tabs button:disabled, .workspace-toolbar :disabled, .console-new-task:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 1280px) { .workspace-toolbar { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .workspace-toolbar__actions { grid-column: 1 / -1; } }
@media (max-width: 860px) { .workspace-toolbar { grid-template-columns: minmax(0,1fr); } .workspace-toolbar input,.workspace-toolbar select { font-size: 16px; min-height: 40px; } .workspace-tabs button { flex-basis: 138px; } }
@media (min-width: 861px) { .geo-shell .geo-service-chips { grid-template-columns: minmax(0,1fr); } .geo-shell .geo-service-chips span { white-space: nowrap; } }

/* ===== 2026-09-16 workspace creation feedback and overview empty state ===== */
.workspace-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 18px; padding: 42px 24px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.workspace-empty strong { color: var(--ink); font-size: 16px; }
.workspace-empty p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 460px; }
.workspace-empty button { min-height: 44px; padding: 10px 26px; border: 1px solid var(--sage-deep); border-radius: 11px; background: var(--sage-deep); color: #fff; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.workspace-empty button:hover { background: #708968; border-color: #708968; }
.workspace-empty button:disabled { opacity: .6; cursor: not-allowed; }
.console-empty-state { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; padding: 20px; }
.console-empty-state img { width: 72px; height: 72px; object-fit: contain; }
.console-empty-state strong { color: var(--ink); font-size: 15px; }
.console-empty-state p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 420px; }
.console-empty-state button { margin-top: 6px; min-height: 40px; padding: 8px 22px; border: 1px solid var(--sage-deep); border-radius: 10px; background: var(--sage-deep); color: #fff; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.console-empty-state button:hover { background: #708968; border-color: #708968; }
.console-empty-state button:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 760px) { .workspace-empty { padding: 30px 16px; } .console-empty-state { min-height: 140px; } }

/* ===== 2026-09-16 local saving directory page (phase B) ===== */
/* R30（图3）：align-items:flex-start 会让改密表单缩成内容宽（右侧大片空白）——
   改 stretch 让子元素铺满面板宽度；R24-⑪ 的 26/30 大内边距在设置目录里另行收掉。 */
#saving-settings { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
/* 吕老师 2026-09-28：按钮与正文别贴太紧——待补存区内部也走纵向间距。 */
#saving-pending-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
#saving-settings h2 { margin: 0; }
#saving-settings p { margin: 0; max-width: 560px; }
#saving-settings .geo-run-button { min-width: 140px; }
#saving-message.is-error { color: #b3423f; }
@media (max-width: 760px) { #saving-settings { gap: 8px; } }

/* ===== 2026-09-16 boot anti-flash, focus polish, model picker modal, overview icons ===== */
html.booting #login-page { visibility: hidden; }

.console-h2-icon { width: 15px; height: 15px; margin-right: 7px; vertical-align: -2px; fill: none; stroke: #94a98d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.console-ws-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.console-ws-cell > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-ws-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 7px; background: var(--ice); }
.console-ws-icon svg { width: 14px; fill: none; stroke: #94a98d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.geo-model-picker__trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.geo-model-picker__trigger:hover { border-color: var(--line-strong); }
.geo-model-picker__trigger:focus-visible { outline: none; }
.geo-model-picker__current { display: flex; align-items: center; gap: 10px; min-width: 0; }
.geo-model-picker__current img { width: 30px; height: 30px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.geo-model-picker__text { min-width: 0; }
.geo-model-picker__text strong { display: block; font-size: 13px; }
.geo-model-picker__text small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.geo-model-picker__action { flex: 0 0 auto; color: #667b5f; font-size: 12px; font-style: normal; font-weight: 700; }
.geo-model-picker { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 20px; }
.geo-model-picker__backdrop { position: absolute; inset: 0; background: rgba(63, 80, 57, .4); }
.geo-model-picker__dialog { position: relative; width: min(880px, 100%); max-height: min(80vh, 760px); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 64px rgba(63, 80, 57, .26); }
.geo-model-picker__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.geo-model-picker__header strong { display: block; font-size: 16px; }
.geo-model-picker__header small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.geo-model-picker__close { flex: 0 0 auto; }
.geo-provider-grid--modal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.geo-model-picker__footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #eaeee8; }
.geo-model-picker__footer > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.geo-model-picker__footer strong { color: #576a50; font-size: 12px; }
.geo-model-picker__footer code { margin-left: auto; overflow-wrap: anywhere; color: #6d786a; font-family: "Cascadia Mono", Consolas, monospace; font-size: 10px; text-align: right; }
@media (max-width: 760px) {
    .geo-provider-grid--modal { grid-template-columns: 1fr; }
    .geo-model-picker { padding: 10px; }
    .geo-model-picker__dialog { padding: 14px; }
    .geo-model-picker__footer { flex-wrap: wrap; }
    .geo-model-picker__footer code { margin-left: 0; text-align: left; }
}

/* ===== 2026-09-18 P3 二次优化：总览统计卡片、状态徽章、工作区精修 ===== */
.console-summary > div { padding: 16px 26px; border-right: 0; border-radius: 14px; background: rgba(251, 253, 248, .86); box-shadow: 0 6px 18px rgba(89, 116, 80, .1); gap: 14px; }
.console-summary { gap: 14px; }
.console-summary strong { font-size: 26px; color: #51654a; }

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-badge--ok { background: #e5f5ea; color: #23774a; }
.status-badge--info { background: #e1e7df; color: #586b51; }
.status-badge--warn { background: #fdf1dd; color: #976212; }
.status-badge--error { background: #fbe7e7; color: #a84040; }
.status-badge--muted { background: #e4e7e2; color: #61685e; }

.console-table-wrap table { font-size: 13px; }
.console-table-wrap th { font-size: 12px; letter-spacing: .04em; }
.console-table-wrap tbody tr { transition: background .15s ease; }
.console-ws-icon { color: #657b5d; }

.workspace-tabs button { border-radius: 10px; padding: 10px 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.workspace-tabs button[aria-current=page] { border-color: var(--line-active); box-shadow: inset 0 2px var(--line-active); }
.workspace-toolbar { border-radius: 12px; box-shadow: 0 6px 18px rgba(89, 116, 80, .07); }
.workspace-toolbar input, .workspace-toolbar select { border-radius: 8px; }
.console-panel-heading__actions button { min-height: 38px; }

/* ===== 2026-09-18 下午 UI 精修：统一字号、压缩空旷、消除闪烁感 ===== */
.console-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 10px; padding: 0 0 16px; }
.console-summary > div { padding: 10px 18px; border-radius: 12px; background: rgba(251, 253, 248, .92); box-shadow: 0 4px 14px rgba(89, 116, 80, .08); align-items: baseline; gap: 12px; }
.console-summary span { font-size: 13px; font-weight: 500; }
.console-summary strong { font-size: 20px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.workspace-empty { gap: 8px; padding: 26px 20px; margin: 0 0 14px; }
.workspace-empty strong { font-size: 15px; }
.console-empty-state { min-height: 110px; gap: 6px; padding: 14px; }
.console-empty-state img { width: 56px; height: 56px; }

.geo-character { max-width: 168px; margin: 12px auto 10px; border-radius: 12px; }
.geo-status-list { padding: 2px 12px; }
.geo-status-list div { padding: 9px 0; font-size: 12px; }
.geo-status-list dt { color: #6d786a; font-size: 12px; }
.geo-status-list dd { font-weight: 650; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.geo-saas-status span { font-size: 12px; }

.console-panel-heading { margin-bottom: 10px; }
.console-table-wrap th, .console-table-wrap td { padding: 11px 12px; }

/* ===== 2026-09-18 晚：历史批次/已完成文章工作区边框 + 居中空状态文案 ===== */
#history-list, #completed-list { min-height: 340px; padding: 8px; border: 1.5px solid var(--line); border-radius: 18px; background: rgba(251, 253, 248, .92); display: flex; flex-direction: column; gap: 10px; }
#history-list > .runtime-panel, #completed-list > .runtime-panel { margin: 0; }
.list-empty { flex: 1; min-height: 320px; display: grid; place-items: center; align-content: center; gap: 12px; }
.list-empty-phrase { color: rgba(121, 132, 118, .42); font-size: 20px; font-weight: 650; letter-spacing: .14em; }
/* 历史批次：虚线边框 + 淡时钟图标 */
.list-empty--history svg { width: 44px; height: 44px; fill: none; stroke: rgba(121, 132, 118, .35); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#history-list { border-style: dashed; border-color: var(--line); }
/* 已完成文章：实线边框 + 吉祥物水印 */
.list-empty--completed { position: relative; overflow: hidden; }
.list-empty--completed img { position: absolute; width: 150px; height: auto; opacity: .15; filter: grayscale(.25); }
.list-empty--completed .list-empty-phrase { position: relative; }

/* ===== 2026-09-18 晚二：统计卡片文字居中；已完成空状态去水印、文案区分 ===== */
.console-summary > div { justify-content: center; }
.list-empty--completed img { display: none; }

/* ===== 2026-09-18 晚四：全局布局改造（双列上传卡 / 状态条 / 操作通栏 / 限宽居中） ===== */
/* 2026-10-01 吕老师（截图：问句查询右侧大空位）：geo-cabin 元素早已不存在，
   三栏网格却仍保留 192px 死列——拆掉第三列，中间内容区占满全部剩余宽度。 */
@media (min-width: 1151px) {
    .geo-shell { grid-template-columns: 208px minmax(0, 1fr); grid-template-areas: "side top" "side main"; grid-template-rows: 54px minmax(calc(100vh - 54px), auto); gap: 0 22px; max-width: 1500px; margin: 0 auto; }
    /* R11：54px 顶栏断点下同步统一视图最小高度 */
    .geo-view { min-height: calc(100vh - 108px); }
    .geo-shell .geo-cabin { display: none; }
}
/* 批次工作区：每个模块独立一排，预览内容不被遮挡（2026-09-18 用户确认，撤回双列方案） */
@media (min-width: 900px) {
    .geo-workspace { display: flex; flex-direction: column; gap: 14px; }
    .geo-upload-card { margin: 0 !important; }
    .geo-upload-card + .geo-upload-card { margin-top: 0; }
}
/* 创作准备：水平四段状态条 */
.geo-preflight { padding: 14px 18px 16px; }
.geo-preflight__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.geo-preflight__grid div { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px; padding: 12px 8px; }
.geo-preflight__grid span { font-size: 11px; }
.geo-preflight__grid strong { text-align: center; font-size: 12px; }
/* 底部操作通栏：清除靠左，主按钮加大靠右 */
.geo-actions { margin-top: 14px; padding-top: 14px; }
.geo-run-button { min-height: 48px; padding: 0 30px; font-size: 14px; border-radius: 12px; }
.geo-clear-button { min-height: 44px; }
/* 标题层级拉大，页面更精神 */
.geo-shell h1 { font-size: 26px; }
.geo-shell .geo-heading { margin: 0 0 16px; }

/* ===== 2026-09-18 深夜三：状态舱积分/有效期卡片文字居中 ===== */
.geo-saas-status span { display: block; text-align: center; line-height: 1.55; overflow-wrap: anywhere; }

/* ===== 2026-09-18 深夜四：公司文档选择器拉满、验证模块、预检/积分卡垂直居中 ===== */
@media (min-width: 900px) {
    .geo-document-picker { width: 100%; }
    .geo-verify-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.geo-verify-panel { margin-top: 14px; padding: 14px 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: #eaeee9; }
.geo-verify-panel__title { display: flex; align-items: center; gap: 10px; }
.geo-verify-panel__title > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: #657b5d; }
.geo-verify-panel h2 { margin: 0; font-size: 13px; }
.geo-verify-panel p { margin: 2px 0 0; color: #6d7868; font-size: 10px; }
.geo-verify-panel__grid { display: grid; gap: 10px; margin-top: 12px; }
.geo-verify-panel__grid div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 64px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.75); text-align: center; }
.geo-verify-panel__grid span { color: #697a63; font-size: 11px; }
.geo-verify-panel__grid strong { color: #657b5d; font-size: 12px; }
.geo-verify-panel__grid div.is-stacked strong { line-height: 1.6; }
.geo-preflight__grid div { justify-content: center; min-height: 64px; }
.geo-saas-status span { display: grid; place-items: center; align-content: center; }

/* ===== 侧边栏大目录（问句板块/内容板块）：无序圆点标记 + 可展开收缩 ===== */
.geo-nav-group { display: grid; gap: 0; }
.geo-nav-group__toggle { display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 12px 2px; border: 0; background: transparent; color: #6b7966; font: inherit; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-align: left; cursor: pointer; }
.geo-nav-group__toggle::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.geo-nav-group__chevron { margin-left: auto; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: #e4e9e2; color: #596c52; font-size: 13px; line-height: 1; font-weight: 700; transition: transform .18s ease; }
.geo-nav-group__toggle:hover { color: #657b5d; }
.geo-nav-group__items { display: grid; gap: 1px; }
.geo-nav-group.is-collapsed .geo-nav-group__chevron { transform: rotate(-90deg); }
.geo-nav-group.is-collapsed .geo-nav-group__items { display: none; }

/* R20（吕老师 2026-09-29）：AI板块导航小 logo + 六平台/官网板块占位页卡片。 */
/* R20c：侧边栏小 logo 内缩 2px 留白，满幅图不贴圆角框、不被遮挡 */
.geo-nav-logo { width: 18px; height: 18px; padding: 2px; box-sizing: border-box; flex: none; border-radius: 4px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(89, 108, 82, .14); }
.ai-platform-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line, #d7e0d2); border-radius: 16px; background: rgba(255, 255, 255, .8); }
/* R20c：平台 logo 统一"芯片"处理——满幅图（元宝/千问/豆包/Kimi）不再贴边，六家视觉一致 */
.ai-platform-card img { width: 54px; height: 54px; padding: 7px; box-sizing: content-box; flex: none; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(89, 108, 82, .12); }
.ai-platform-card .runtime-hint { margin: 0; }
/* R20c：GEO 配置页四项基础配置卡片 */
.geo-config-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.geo-config-item { border: 1px solid var(--line, #d7e0d2); border-radius: 16px; background: rgba(255, 255, 255, .8); padding: 18px 20px; }
.geo-config-item h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: #3c4a37; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .01em; }
.geo-config-item p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #6b7968; }
@media (max-width: 860px) { .geo-config-grid { grid-template-columns: 1fr; } }

/* R20n（吕老师 2026-09-30）：GEO配置生成——可勾选配置卡片 + 全选 + 进度/结果 */
.geo-config-kinds { margin-top: 14px; }
.geo-config-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.geo-config-head b { font-size: 14px; color: #3c4a37; }
.geo-config-all-btn { border: 1px solid var(--line, #d7e0d2); background: #fff; color: #3c5540; font-size: 12.5px; font-weight: 600; padding: 6px 16px; border-radius: 8px; cursor: pointer; }
.geo-config-all-btn:hover { background: #f2f6ee; }
.geo-config-grid .geo-config-kind { cursor: pointer; display: block; position: relative; transition: border-color .15s, background .15s; }
.geo-config-grid .geo-config-kind input { position: absolute; opacity: 0; pointer-events: none; }
.geo-config-grid .geo-config-kind:hover { border-color: #9db396; }
.geo-config-grid .geo-config-kind.selected { border-color: #3c5540; background: #f4f7f1; box-shadow: inset 0 0 0 1px #3c5540; }
.geo-config-grid .geo-config-kind.selected h3 { color: #2f4230; }
.geo-config-grid .geo-config-kind.selected::after { content: '✓'; position: absolute; top: 12px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: #3c5540; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.geo-config-kind__file { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 6px; background: #eef2ea; color: #3c5540; font-size: 11.5px; font-weight: 600; font-family: ui-monospace, Consolas, monospace; }
.geo-config-files { display: grid; gap: 12px; margin-top: 12px; }

/* ===== 工作区三个详情标签最小高度一致，切换时整块区域长度不跳变 ===== */
.workspace-materials, #batch-progress, #workspace-articles { min-height: 560px; }

/* ===== 问句查询页 ===== */
.question-count-input { width: 88px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; font: inherit; text-align: center; }
.question-notes-field { margin-top: 14px; display: grid; gap: 6px; }
.question-notes-field label { font-size: 13px; font-weight: 650; color: #4d5849; }
.question-notes-field textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: inherit; line-height: 1.6; resize: vertical; min-height: 72px; }
.question-notes-field textarea:focus { outline: 2px solid #cbd5c7; border-color: var(--line-active); }
.question-notes-field small { color: #6f776c; font-size: 12px; }
.question-analysis { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #eaeee8; color: #5f6f59; font-size: 13px; line-height: 1.8; text-align: center; }
/* 吕老师 2026-09-20：问句列表改为 2-3 个并排的网格——去掉每个问句的边框盒子
   （文字曾与边框贴合、字号过大），多问句不再一列霸屏。 */
.question-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.question-item { display: grid; gap: 2px; align-content: start; justify-items: start; padding: 0; text-align: left; }
.question-item strong { color: var(--ink); font-size: 12px; line-height: 1.6; font-weight: 700; }
.question-item__meta { color: var(--muted); font-size: 11px; line-height: 1.5; }

/* 窄屏侧边栏铺平为原网格：分组标题隐藏，按钮直接参与网格排布 */
@media (max-width: 1150px) {
  .geo-nav-group, .geo-nav-group__items { display: contents; }
  .geo-nav-group__toggle { display: none; }
}

/* ===== 问句查询：进度条与清除按钮 ===== */
.question-progress { margin-top: 14px; display: grid; gap: 8px; justify-items: center; }
.question-progress__bar { width: min(420px, 100%); height: 8px; border-radius: 999px; background: #e0e6de; overflow: hidden; }
.question-progress__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #8ba284, #708968); transition: width .6s ease; }
/* 中断/停止态的进度条：同一根条在「已停止」时不能还是一副「跑完了」的样子（2026-09-25）。 */
.question-progress.is-error .question-progress__bar { background: #ecdcdc; }
.question-progress.is-error .question-progress__bar span { background: linear-gradient(90deg, #cf9f9f, #b47272); }
/* 吕老师 2026-09-29（图1）：获取结束=深绿完成态，与红色「已中断」一眼区分。 */
.question-progress.is-done .question-progress__bar span { background: linear-gradient(90deg, #45ba90, #1d7a55); }
.question-progress.is-done p { color: #1d7a55; font-weight: 700; }
.question-progress p { margin: 0; }

/* ===== 吕老师 2026-09-19：历史批次紧凑化 + 按钮并排；问句存储列表 ===== */
/* 历史批次：不再是整块大面板，压低内边距与字号；状态文字与按钮同行并排。 */
.runtime-list .runtime-history { padding: 10px 14px; border-width: 1px; border-radius: 8px; }
.runtime-list .runtime-history h2 { margin: 0 0 2px; font-size: 14px; line-height: 1.4; }
.runtime-list .runtime-history .runtime-history__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.runtime-list .runtime-history .runtime-history__row p { margin: 0; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runtime-list .runtime-history .runtime-history__actions { display: flex; gap: 6px; flex-shrink: 0; }
.runtime-list .runtime-history button { padding: 5px 12px; font-size: 12px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 640px) { .runtime-list .runtime-history .runtime-history__row { flex-wrap: wrap; } }

/* 工作区条带（每个新建任务）只在内容创作页展示，其他页面不再出现。 */
.geo-shell:not([data-view="workspace"]) .workspace-tabs { display: none; }

/* 问句存储条目的详细样式统一放在上方「2026-09-20 重设计」区块；此处仅保留正文列表。 */
/* 吕老师 2026-09-20：问句存储展开区沿用全局紧凑网格（旧的覆盖规则已并入上方）。 */
.question-store-bodywrap .question-list { padding: 2px 0 4px; }
/* 吕老师 2026-09-21：一排固定两列（按需三列）。
   上一版用 repeat(auto-fill, minmax(250px, 1fr))——但展开区实际可用宽度排不满两列，
   auto-fill 就只生成一列，右侧留出一大片空白（截图已确认）。这里改为**强制列数**，
   不再依赖容器宽度是否够放；列宽用 minmax(0, 1fr) 让长问句正常折行不撑破栅格。 */
.question-store-bodywrap .question-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 一次生成 ≥20 条时自动排三列并整体缩小字号，避免过长滚动。 */
.question-store-body[data-density="3"] .question-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.question-store-body[data-density="3"] .question-item strong { font-size: 11px; line-height: 1.5; }
.question-store-body[data-density="3"] .question-item__meta { font-size: 10px; line-height: 1.45; }
/* 吕老师 2026-09-26：横排是硬要求——只在真正的小屏（≤640px 手机竖屏）才退回单列；
   旧断点 900px 会把半屏桌面窗口也打成单列纵排，已按吕老师要求收紧。 */
@media (max-width: 640px) {
  .question-store-bodywrap .question-list,
  .question-store-body[data-density="3"] .question-list { grid-template-columns: 1fr; }
}

/* 吕老师 2026-09-19：任务总览行——图标在前文字在后，同行并排、垂直水平居中。 */
.console-task-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.console-task-title > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 吕老师 2026-09-20：全局紧凑化——整站按标准 Web 应用尺寸缩小 ===== */
.geo-heading h1 { font-size: clamp(20px, 1.8vw, 24px); margin: 4px 0; }
.geo-heading { margin: 0 2px 12px; gap: 16px; }
.geo-heading p { font-size: 13px; }
.geo-card-heading h2 { font-size: 14px; }
.geo-card-heading p { font-size: 12px; }
.geo-card-heading__state { font-size: 10px; }
.geo-card-heading__index { font-size: 9px; }
.runtime-panel { padding: 16px; border-radius: 12px; margin: 12px 0; }
.runtime-panel h2 { font-size: 15px; }
.runtime-field { font-size: 13px; }
.runtime-field input, .runtime-field select, .runtime-field textarea { min-height: 38px; padding: 8px 12px; font-size: 14px; border-radius: 10px; }
.geo-clear-button, .geo-run-button { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.runtime-primary { min-height: 36px; font-size: 13px; }
.runtime-buttons button { min-height: 34px; font-size: 12px; }
.geo-upload-card { padding: 14px; border-radius: 12px; }
/* 吕老师 2026-09-20：110px 大投放区只属于 Excel 任务表；「选择本地文档」是紧凑
   入口（此前被一起拉高成大方框，问句查询侧同样问题）。 */
.geo-dropzone { min-height: 110px; padding: 16px; }
.geo-document-picker { padding: 10px 13px; }
.geo-preflight { padding: 12px 14px; }
.geo-preflight__grid strong { font-size: 13px; }
.geo-actions { margin-top: 12px; padding-top: 12px; }
.login-art > img { max-width: min(480px, 56svh); } /* R43b（吕老师 2026-10-02）：品牌区缩小（70svh 太大），与登录卡同中线居中 */
.login-art h2 { font-size: clamp(22px, 2.3vw, 30px); }
.login-card h1 { font-size: clamp(20px, 2vw, 24px); margin: 20px 0 8px; }
.console-summary strong { font-size: 22px; }

/* ===== 资料库：新建表单对齐 + 仓库选择器 ===== */
/* 吕老师 2026-09-20：面板外框收紧（此前 padding 偏大显得空旷），展开/收缩时
   内容区行高固定，消除每次点击高度不一的感觉。 */
#repos-panel { padding: 12px 14px; }
.repo-create-form { margin-bottom: 10px; }
.repo-create-form { align-items: flex-end; }
.repo-create-form .runtime-field { margin: 0; }
.repo-create-form .geo-run-button { min-height: 38px; }
.repo-picker-slot { margin-top: 10px; }
.repo-picker { width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #3f5039; font: inherit; font-size: 13px; }
.repo-card__actions { padding: 0 14px 10px; gap: 8px; }
.repo-card > summary { padding: 10px 14px; }
.repo-card__files { padding: 0 14px 12px; }

/* ---------- 首屏骨架屏 ----------
   boot.js 在 <head> 同步挂上 html.booting，此时登录页保持 visibility:hidden（防未登录
   内容闪烁）。骨架用与登录页同构的版式顶替那段空白，避免"打开先白屏"。
   runtime.js 确认登录态后移除 booting，骨架随之 display:none，真实界面接管。
   动画在 @media (prefers-reduced-motion) 下已被全局关闭。 */
.boot-skeleton { display: none; }
html.booting .boot-skeleton {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100svh;
  padding: 32px max(24px, calc((100vw - 1280px) / 2));
  background: radial-gradient(ellipse at 28% 38%, #cfdbcb 0, transparent 53%), linear-gradient(135deg, #dde6d9, #e8eee4 68%);
}
@keyframes boot-skeleton-pulse { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
.boot-skeleton__art { width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto; border-radius: 36px; background: linear-gradient(160deg, #dbe3d6, #e7ede2); animation: boot-skeleton-pulse 1.5s ease-in-out infinite; }
.boot-skeleton__card { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid #fff; border-radius: 28px; padding: 44px 38px 30px; box-shadow: 0 22px 64px rgba(89, 116, 80, .14); }
.boot-skeleton__brand { color: #667b5f; font-size: 16px; font-weight: 700; }
.boot-skeleton__line, .boot-skeleton__block, .boot-skeleton__button { background: #dde5d8; border-radius: 8px; animation: boot-skeleton-pulse 1.5s ease-in-out infinite; }
.boot-skeleton__line { height: 14px; }
.boot-skeleton__line.is-title { height: 26px; width: 68%; margin-top: 12px; }
.boot-skeleton__line.is-short { width: 46%; }
.boot-skeleton__block { height: 46px; border-radius: 12px; margin-top: 12px; background: #e0e8da; }
.boot-skeleton__button { height: 48px; border-radius: 14px; margin-top: 10px; background: linear-gradient(135deg, #d3ddcd, #e1e8da); }
.boot-skeleton__status { margin: 6px 0 0; color: #6d786a; font-size: 13px; }
@media (max-width: 800px) {
  .boot-skeleton { padding: 18px 20px; }
  html.booting .boot-skeleton { grid-template-columns: 1fr; gap: 0; }
  .boot-skeleton__art { display: none; }
  .boot-skeleton__card { border-radius: 22px; padding: 30px 24px 24px; }
}

/* ===== 吕老师 2026-09-21：批量删除（工作区总览 + 问句存储） ===== */
/* 问句存储顶部工具栏：默认隐藏，列表里有记录时才出现。 */
.bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaeee9;
  font-size: 12px;
}
.bulk-toolbar__all { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--ink); }
.bulk-toolbar__count { color: var(--muted); }
.bulk-toolbar button { padding: 4px 12px; font-size: 12px; border-radius: 6px; }
.bulk-toolbar button:disabled { opacity: .45; cursor: not-allowed; }
/* 勾选框：问句存储行内 / 工作区表格列。 */
.bulk-toolbar input[type="checkbox"],
.question-report-pick,
.console-pick-cell input { width: 15px; height: 15px; margin: 0; accent-color: #708968; cursor: pointer; flex: none; }
.question-store-row > .question-report-pick { margin-right: 2px; }
.console-pick-cell { width: 34px; text-align: center; }
.console-pick-cell input { vertical-align: middle; }
/* 总览「删除选中」用克制的危险色，未选中时保持中性，避免误以为随时可点。 */
.console-danger-button { color: #b4232c; border-color: #d3797f; }
.console-danger-button:disabled { color: var(--muted); border-color: var(--line); opacity: .6; cursor: not-allowed; }

/* 吕老师 2026-09-24：运行日志展开详情 + 批次进度百分比 + IMA 收敛清单（豆绿体系） */
.logs-detail-row td { background: var(--sage-soft); border-top: 1px dashed var(--line); padding: 10px 14px; }
.logs-detail-list { margin: 0; padding-left: 18px; color: var(--ink); font-size: 12.5px; line-height: 1.9; }
.logs-detail-list li { list-style: disc; }
.logs-detail-list li:last-child { color: var(--muted); }

/* v15 任务运行记录（吕老师 2026-09-28：运行日志精细化，按任务分组展示） */
.run-event-group { margin: 0 0 14px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
/* 吕老师 2026-09-28（第6轮）：任务卡默认收起，标题行即开关——问句 + 结论 + 步骤数。 */
.run-event-group__toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; }
.run-event-group__chevron { flex-shrink: 0; color: var(--muted, #6b7a64); font-size: 13px; }
.run-event-group__title { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
/* R50（吕老师 2026-10-02 手机端截图）：count 原本 flex-shrink:0 且不换行，
   窄屏（手机/平板）下把长统计串撑成每行一个字（看着像乱码）。改为可收缩可换行，
   并让整行在窄屏纵向堆叠——账号看板 / 任务总览 / 运行日志三类卡片同时修好。 */
.run-event-group__count { flex: 0 1 auto; min-width: 0; font-size: 12px; color: var(--muted, #6b7a64); overflow-wrap: anywhere; word-break: break-word; }
.run-event-group__list { margin: 4px 0 8px; padding: 10px 0 0; border-top: 1px dashed var(--line); list-style: none; display: grid; gap: 8px; }
.run-event-group__list li { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 8px; font-size: 12.5px; line-height: 1.7; }
.run-event-group__list li p.run-event-detail { grid-column: 1 / -1; margin: 0; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
/* 吕老师 2026-09-29：模型运行日志组内的审核问题区——红字逐条列出「什么问题不通过」。 */
.logs-audit-problems { padding: 10px 12px; border: 1px solid #d8b4b4; border-radius: 8px; background: #fbf1f1; margin: 0 0 12px; }
.logs-audit-problems > p { margin: 0 0 6px; font-weight: 600; color: #8f3b3b; }
.logs-audit-problems ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.logs-audit-problems li { font-size: 12.5px; line-height: 1.65; }
.run-event-step { color: var(--muted); white-space: nowrap; }
.run-event-tag { display: inline-block; min-width: 34px; text-align: center; border-radius: 999px; padding: 1px 8px; font-size: 11px; background: var(--sage-soft); color: var(--sage-deep); }
.run-event-tag--warn { background: #fdf3e2; color: #8a5a13; }
.run-event-tag--error { background: #fbe9e7; color: #a03a2c; }
@media (max-width: 720px) { .run-event-group__list li { grid-template-columns: auto 1fr; } }

/* ===== R11（吕老师 2026-09-29 图2/3/4）：运行记录合并重构 =====
   1) 任务卡边框加明显（1px 变 1.5px + 描边色加深 + hover 反馈）；
   2) 步骤序号化、一行两步、去加粗、缩小；
   3) 模型调用明细收进同一张卡；
   4) 删除按钮改为带边框的独立按钮「删除该日志记录」。 */
.run-event-group { border: 1.5px solid var(--line-strong, #b9c6b4); transition: border-color .15s ease, box-shadow .15s ease; }
.run-event-group:hover { border-color: var(--sage-deep, #5c7a5e); box-shadow: 0 1px 6px rgba(76, 101, 78, .12); }
.run-record-group--error { border-color: #d8a5a5; }
.run-record-group--warn { border-color: #d9c194; }
.run-event-group__title { font-size: 13.5px; font-weight: 500; }
.run-event-group__count { font-size: 11.5px; }
/* 步骤两列网格：序号圆点 + 步骤名（常规字重） + 状态胶囊 + 时间，全部小号。 */
.run-record-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 4px 0 12px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface, #f7f9f5); }
@media (max-width: 720px) { .run-record-steps { grid-template-columns: 1fr; } }
.run-record-step { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--ink); }
.run-record-step__no { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: var(--sage-deep, #5c7a5e); color: #fff; font-size: 10.5px; font-weight: 500; }
.run-record-step__name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-record-step__time { margin-left: auto; color: var(--muted, #869283); font-size: 11px; white-space: nowrap; }
.run-record-step--bad .run-record-step__name { color: #a03a2c; }
/* 卡内调用明细表：紧凑小字。 */
.run-record-calls { width: 100%; border-collapse: collapse; font-size: 12px; margin: 0 0 10px; }
.run-record-calls th { text-align: left; color: var(--muted, #869283); font-weight: 500; padding: 5px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.run-record-calls td { padding: 5px 8px; border-bottom: 1px dashed var(--line); color: var(--ink); white-space: nowrap; }
/* 删除按钮：带明显边框的独立按钮（原 console-link-button 无边框不像可点）。 */
.logs-delete-button { display: inline-block; padding: 5px 14px; border: 1.5px solid #c98f8f; border-radius: 8px; background: #fff; color: #a03a2c; font: inherit; font-size: 12.5px; cursor: pointer; }
.logs-delete-button:hover { background: #fbf1f1; border-color: #a03a2c; }
.logs-delete-button:disabled { opacity: .55; cursor: default; }

#batch-progress progress, .runtime-panel progress { width: 100%; height: 10px; accent-color: var(--sage-deep); }
.ima-pending-list { margin: 8px 0 0; padding-left: 20px; color: var(--ink); font-size: 12.5px; line-height: 1.8; }
.ima-pending-list li { list-style: disc; }

/* 吕老师 2026-09-27 三模式：内容模板库（管理中心「内容模板」）+ 内容板块「模板说明」。
   复用 repo-card / runtime-panel 的豆绿体系；红区提示用克制的警示色，不用高饱和红，
   避免与「红区 = 模板里标红的那几行」这一业务语义混淆。 */
/* 2026-09-28 吕老师反馈：8 格矩阵在宽屏出 3 列导致末行空位——固定 4 列正好 2 行；窄屏降级 */
.template-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (max-width: 980px) { .template-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .template-matrix { grid-template-columns: 1fr; } }
.template-matrix__cell { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.template-matrix__cell[data-state=missing] { background: var(--sage-soft); border-style: dashed; }
/* R10（吕老师反馈「内容模板页文字偏大加粗」）：标签去加粗、版本名收细两行截断 */
.template-matrix__label { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.template-matrix__cell strong { color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.template-matrix__cell em, .template-matrix__cell small { color: var(--muted); font-size: 11.5px; font-style: normal; }
/* 2026-09-28 模板列表紧凑行 + 内容查看面板（吕老师图2/3/4 反馈） */
.template-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; }
.template-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 320px; }
.template-row__main strong { color: var(--ink); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.template-row__meta { color: var(--muted); font-size: 11.5px; }
.template-row__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.template-viewer { margin-top: 10px; }
.template-viewer__text { max-height: 440px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 12.5px; line-height: 1.8; color: var(--ink); }
/* R10：内容模板页标题统一为「色条 + 常规字重」，与模板说明页同一套视觉 */
[data-admin-pane="templates"] h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 22px 0 10px; }
[data-admin-pane="templates"] h3::before { content: ""; flex: none; width: 4px; height: 14px; border-radius: 2px; background: var(--sage-deep, #5c7a5e); }
[data-admin-pane="templates"] h4 { font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
[data-admin-pane="templates"] .template-import-table th { font-weight: 500; }
/* 资料与任务「任务填写信息」回显表（吕老师图5/6） */
.material-form-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
.material-form-table th { width: 150px; text-align: left; vertical-align: top; color: var(--muted); font-size: 12px; font-weight: 700; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); }
.material-form-table td { color: var(--ink); font-size: 13px; line-height: 1.7; padding: 7px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.material-form-table tr:last-child th, .material-form-table tr:last-child td { border-bottom: none; }
.template-toggle { display: flex; align-items: center; gap: 8px; margin: 10px 0; color: var(--ink); font-size: 13px; }
.template-toggle input { width: 16px; height: 16px; accent-color: var(--sage-deep); }
.template-import-list { margin-top: 10px; }
.template-import-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 8px 0; }
.template-import-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.template-import-table td { padding: 8px 10px; border-bottom: 1px dashed var(--line); color: var(--ink); vertical-align: top; overflow-wrap: anywhere; }
.template-import-table td small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.template-import-table select, .template-import-table input[type=text] { width: 100%; min-width: 90px; min-height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 8px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; }
.template-import-table select[data-missing=true] { border-color: #d3797f; background: #fdf5f5; }
.repo-card__state { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.repo-card__state--on { color: #1f6b4f; background: #e6f2ec; border-color: #9ac4b3; }
.repo-card__state--off { color: var(--muted); background: var(--sage-soft); }
.repo-card__files h4 { margin: 14px 0 4px; font-size: 13px; color: var(--ink); }
.template-source { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.template-source--user { background: #e6f2ec; border-color: #9ac4b3; }
.template-source--template_default { background: var(--sage-soft); }
.template-source--blank { color: var(--muted); }
.template-modules { margin: 6px 0 0; padding-left: 20px; color: var(--ink); font-size: 12.5px; line-height: 1.7; }
.template-modules li { list-style: decimal; margin-bottom: 6px; }
.template-modules p { margin: 2px 0 0; }
.template-guide__steps { margin: 10px 0; padding-left: 20px; color: var(--ink); font-size: 12.5px; line-height: 1.9; }
.template-guide__steps li { list-style: decimal; }
.template-guide__steps strong { font-weight: 600; }
/* 2026-09-29 吕老师反馈：卡片标题 17px 太大不好看、行标签全加粗太重 →
   标题降到全站 14px 档并加左侧色条强调，行标签改常规字重、缩小一号。 */
.template-guide__grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 20px 0; }
.template-guide__card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 16px 18px; min-width: 0; }
.template-guide__card h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.template-guide__card h3::before { content: ""; flex: none; width: 4px; height: 14px; border-radius: 2px; background: var(--sage-deep, #5c7a5e); }
.template-guide__stage { margin: 6px 0 12px 12px; color: var(--sage-deep); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.template-guide__row { margin-bottom: 10px; }
.template-guide__row > span { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin-bottom: 2px; }
.template-guide__row p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink); }
.template-guide__examples { margin: 0; padding-left: 18px; color: var(--ink); font-size: 12.5px; line-height: 1.8; }
.template-guide__examples li { list-style: disc; }

/* 吕老师 2026-09-27 三模式：工作台 STEP 00 模式卡 + STEP 01 表单字段
   （方案 §6.1 表单替换 Excel / §6.2 模式切换交互 / §6.3 提交前校验）。
   2026-09-27 晚拍板：三张卡并排一行（快速→标准→高质量），卡内只留名称+一句定位；
   选中态只换底色，不再加内描边/投影（「点击就有选中边框，实在不好看」）。 */
.mode-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (max-width: 720px) { .mode-cards { grid-template-columns: 1fr; } }
/* 2026-09-28（图1/图10）：卡内名称+定位词竖排，定位词不换行（高质量选择后不再
   把整卡挤换行）；未选中卡片不再画大边框（透明边框+近白底），悬停/选中才出现 */
.mode-card { display: flex; flex-direction: column; gap: 3px; text-align: center; align-items: center; padding: 9px 10px; border: 1px solid transparent; border-radius: 12px; background: #f6faf2; color: var(--ink); font: inherit; cursor: pointer; min-width: 0; transition: border-color .15s ease, background .15s ease; }
.mode-card:hover:not(:disabled) { border-color: var(--line-active); background: #f4f9f0; }
.mode-card.is-selected { border-color: var(--line-active); background: #eef4e7; }
.mode-card:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.mode-card:disabled { cursor: not-allowed; opacity: .6; }
/* R66f（吕老师 2026-10-04）：高质量模式暂时置灰禁选——浅灰底、无 hover、不写提示 */
.mode-card.is-disabled:disabled { background: #f0f1ee; color: #9aa09a; border-color: transparent; }
.mode-card.is-disabled.is-selected { border-color: var(--line); background: #f0f1ee; }
.mode-card__head { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.mode-card__head strong { font-size: 15px; color: var(--ink); white-space: nowrap; }
.mode-card.is-selected .mode-card__head strong::after { content: ' · 已选'; color: var(--green); font-size: 12px; font-weight: 800; }
.mode-card__tagline { font-style: normal; font-size: 12px; font-weight: 700; color: var(--sage-deep); letter-spacing: .02em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* 字段区：宽屏两列；2026-09-28（图11/图14）问句缩为半栏与品牌名同宽，
   备注通栏独自一行；文字超出自动扩展（见 mode-form 的 grow 逻辑）。 */
.mode-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin-top: 10px; }
@media (max-width: 720px) { .mode-fields { grid-template-columns: 1fr; } }
.mode-field { display: flex; flex-direction: column; gap: 3px; margin: 4px 0; min-width: 0; }
.mode-field__label { display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.mode-field__label strong { color: var(--ink); font-size: 13px; }
.mode-field input, .mode-field select, .mode-field textarea { display: block; width: 100%; min-width: 0; min-height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; background: #fff; color: #3f5039; font: inherit; font-size: 13.5px; font-weight: 400; }
.mode-field textarea { min-height: 46px; resize: vertical; line-height: 1.6; overflow: hidden; }
.mode-field input::placeholder, .mode-field textarea::placeholder { color: #6e786b; font-size: 12.5px; }
.mode-field input:focus-visible, .mode-field select:focus-visible, .mode-field textarea:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 1px; border-color: var(--line-active); }
.mode-field__hint { color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.mode-field__advisory { color: var(--sage-deep); font-size: 11.5px; font-weight: 700; line-height: 1.6; }
/* 2026-09-28（图8/图16）：AI 平台选定后的深度档说明固定一行，不换行 */
.mode-field__advisory[data-advisory="ai"] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 2026-09-28（图15）：媒体平台「点箭头才展开」的自定义下拉 */
.mode-combo { position: relative; display: block; min-width: 0; }
.mode-combo input { padding-right: 32px; }
.mode-combo__arrow { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: none; border-radius: 6px; background: transparent; color: var(--ink); font-size: 12px; line-height: 1; cursor: pointer; }
.mode-combo__arrow:hover:not(:disabled) { background: var(--ice); }
.mode-combo__arrow:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 1px; }
.mode-combo__list { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 8px 24px rgba(53, 69, 47, .14); max-height: 220px; overflow: auto; }
.mode-combo__list li { padding: 7px 10px; border-radius: 6px; font-size: 13px; color: #3f5039; cursor: pointer; }
.mode-combo__list li:hover { background: var(--ice); }
.mode-combo__list li.is-active { background: var(--sage-soft); font-weight: 700; }
/* 通栏字段由 mode-form 的 WIDE_FIELDS 按模式加类（2026-09-28 起只有备注通栏，
   问句已缩为半栏与品牌名同宽——吕老师 图11/图14 指令）。 */
.mode-field--wide { grid-column: 1 / -1; }
.mode-advanced { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 18px; grid-column: 1 / -1; margin-top: 8px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; background: #f3f7ef; }
.mode-advanced > summary { grid-column: 1 / -1; cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.mode-advanced[open] > summary { margin-bottom: 8px; }
.geo-local-docs { margin-top: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f3f7ef; }
.geo-local-docs > summary { cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.geo-local-docs[open] > summary { margin-bottom: 10px; }
.geo-local-docs .geo-document-picker { margin-top: 4px; }

/* 页内确认小窗（吕老师 2026-09-27：替代浏览器原生 confirm/alert 整页弹窗）。
   页面内居中小卡片：是否删除（是/否），点遮罩或 Esc = 否。 */
.confirm-overlay { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; background: rgba(38, 48, 34, .38); padding: 16px; }
.confirm-dialog { width: min(420px, 100%); background: var(--surface, #fff); border: 1px solid var(--line-strong, #b8c6ae); border-radius: 14px; padding: 18px 20px 16px; box-shadow: 0 18px 40px rgba(30, 42, 26, .22); }
.confirm-dialog h3 { margin: 0 0 8px; font-size: 15px; color: var(--ink, #2c3a27); }
.confirm-dialog__message { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--ink, #2c3a27); overflow-wrap: anywhere; white-space: pre-line; }
.confirm-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; }
.confirm-dialog__btn { min-width: 76px; min-height: 34px; border-radius: 9px; border: 1px solid var(--line-strong, #b8c6ae); background: #fff; color: var(--ink, #2c3a27); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; padding: 5px 14px; }
.confirm-dialog__btn--yes { background: var(--sage-deep, #55704a); border-color: var(--sage-deep, #55704a); color: #fff; }
.confirm-dialog__btn--yes:hover { filter: brightness(1.06); }
.confirm-dialog__btn--no:hover { background: #f0f4ec; }
/* R19（吕老师 2026-09-29）：promptDialog 输入弹窗（重置密码等输入场景替代原生 prompt）。 */
.confirm-dialog__input { display: block; width: 100%; min-height: 42px; margin: 0 0 14px; border: 1px solid var(--line-strong, #b8c6ae); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--ink, #2c3a27); font: inherit; font-size: 14px; }
.confirm-dialog__input:focus { outline: 2px solid rgba(85, 112, 74, .35); outline-offset: 1px; }

/* R19（吕老师 2026-09-29 图5）：文章存储批量管理——工具条 + 勾选行。 */
.completed-toolbar { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.completed-toolbar button { min-height: 34px; padding: 6px 14px; border: 1px solid var(--line-strong, #b8c6ae); border-radius: 999px; background: #fff; color: #5b6b55; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.completed-toolbar button:hover { background: #f0f4ec; }
.completed-toolbar .console-danger-button { border-color: #cb7e7e; color: #9d3737; }
.completed-toolbar .console-danger-button:hover { background: #fff3f3; }
.completed-toolbar .console-danger-button:disabled { opacity: .5; cursor: not-allowed; }
.completed-pick { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14.5px; font-weight: 700; color: var(--ink, #2c3a27); cursor: pointer; }
.completed-pick input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--sage-deep, #55704a); cursor: pointer; flex: none; }

/* ===== R20g（吕老师 2026-09-29）：AI 平台认知档案排版（目录可收缩 + 章节卡） ===== */
.platform-doc__toc { margin: 0 0 16px; border: 1px solid var(--line, #d7e0d2); border-radius: 14px; background: rgba(255, 255, 255, .8); overflow: hidden; }
.platform-doc__toc summary { cursor: pointer; padding: 13px 18px; font-size: 13.5px; font-weight: 800; color: #3c4a37; list-style: none; display: flex; align-items: center; gap: 8px; user-select: none; }
.platform-doc__toc summary::-webkit-details-marker { display: none; }
.platform-doc__toc summary::before { content: "▸"; font-size: 11px; color: #45ba90; transition: transform .15s ease; }
.platform-doc__toc[open] summary::before { transform: rotate(90deg); }
.platform-doc__toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; padding: 2px 18px 14px; border-top: 1px dashed var(--line, #d7e0d2); padding-top: 10px; }
.platform-doc__toc a { color: #1d7a55; text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 5px 8px; border-radius: 7px; line-height: 1.5; }
.platform-doc__toc a:hover { background: #eef3ea; }
.platform-doc__chapter { margin: 0 0 14px; padding: 18px 22px 16px; border: 1px solid var(--line, #d7e0d2); border-radius: 16px; background: rgba(255, 255, 255, .8); scroll-margin-top: 70px; }
.platform-doc__chapter--top { border-left: 3px solid #45ba90; }
.platform-doc__h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 15.5px; font-weight: 800; color: #3c4a37; }
.platform-doc__h b { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 7px; background: #1d7a55; color: #fff; font-size: 12px; font-weight: 800; }
.platform-doc__body h4 { margin: 16px 0 6px; font-size: 13.5px; font-weight: 800; color: #465640; }
.platform-doc__body h4:first-child { margin-top: 0; }
.platform-doc__body p { margin: 7px 0; font-size: 12.8px; line-height: 1.85; color: #44523f; }
.platform-doc__body ul, .platform-doc__body ol { margin: 7px 0; padding-left: 20px; }
.platform-doc__body li { font-size: 12.8px; line-height: 1.8; color: #44523f; margin: 4px 0; }
.platform-doc__body li::marker { color: #45ba90; font-weight: 700; }
.platform-doc__body table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 12px; line-height: 1.6; }
.platform-doc__body td { border: 1px solid #dbe3d6; padding: 7px 10px; color: #44523f; vertical-align: top; }
.platform-doc__body tr:first-child td { background: #eef3ea; font-weight: 700; color: #3c4a37; }
.platform-doc__body tr:not(:first-child) td { background: #fff; }
.platform-doc__body tr:nth-child(odd):not(:first-child) td { background: #fafcF8; }
@media (max-width: 860px) { .platform-doc__toc nav { grid-template-columns: 1fr; } }

/* ===== R20h（吕老师 2026-09-29）：媒体源清单统一口径 Top10 表格 =====
   起因：① 同一信源两套数字冲突（豆包今日头条 35.2% vs 16%、搜狐 0.8% vs 9%）需要统一；
   ② 只保留前 10 名；③ 改为表格更直观；④ 短列（序/信源/层级/占比）必须不折行，
   否则"T0 微信生态（核心·第一优先）"这类长格被压成三行很难看。
   做法：定宽表 + 短列 nowrap 居中 + 依据列独占 52% 宽承接换行 + 占比列下方细进度条。 */
.pd-tablewrap { margin: 10px 0 2px; overflow-x: auto; }
.pd-table { width: 100%; min-width: 540px; table-layout: fixed; border-collapse: collapse; font-size: 12.4px; }
.pd-table th { border: 1px solid #dbe3d6; background: #eef3ea; padding: 7px 8px; color: #3c4a37; font-weight: 800; font-size: 12px; text-align: center; white-space: nowrap; }
.pd-table th:last-child { text-align: left; }
.pd-table td { border: 1px solid #dbe3d6; padding: 7px 8px; vertical-align: middle; color: #44523f; text-align: center; white-space: nowrap; }
.pd-table td.c-name { font-weight: 700; color: #3c4a37; }
.pd-table td.c-rank { color: #8a9684; font-weight: 700; }
.pd-table td.c-tier em { display: inline-block; min-width: 26px; padding: 1px 5px; border-radius: 6px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pd-table td.c-tier em.t0 { background: #1d7a55; color: #fff; }
.pd-table td.c-tier em.t1 { background: #dff0e6; color: #1d7a55; }
.pd-table td.c-tier em.t2 { background: #eef1ec; color: #5b6b55; }
.pd-table td.c-tier em.t3 { background: #f4f5f1; color: #7f8a79; }
.pd-table td.c-pct { position: relative; padding-bottom: 13px; font-weight: 800; color: #2f7d59; }
.pd-table td.c-pct::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; border-radius: 2px; background: #e7ede1; }
.pd-table td.c-pct i { position: absolute; left: 10px; bottom: 6px; height: 3px; border-radius: 2px; width: calc((100% - 20px) * var(--w, 0) / 100); background: linear-gradient(90deg, #6fcfa8, #1d7a55); }
.pd-table td.c-why { text-align: left; white-space: normal; font-size: 12.2px; line-height: 1.55; color: #4d5a48; }
.pd-table tbody tr:hover td { background: #f4f9f0; }
.platform-doc__body p.pd-lead { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid #45ba90; border-radius: 0 8px 8px 0; background: #f2f8f0; font-size: 12.8px; font-weight: 700; color: #3c4a37; }
.platform-doc__body p.pd-note { margin: 8px 0 0; font-size: 12.2px; line-height: 1.7; color: #5b6b55; }
.platform-doc__body p.pd-legend { margin: 8px 0 0; font-size: 11.8px; color: #6e786b; }

/* R20j（吕老师 2026-09-30）：AI 平台档案页标题补 logo（用户提供的 ai-logos 素材） */
/* R28（图3/4/5）：logo 去边框去白底，缩到与平台名称文字相仿（随 h1 字号 em 缩放），
   移到名称右边（index.html 已调整顺序）。 */
/* R31b（吕老师 2026-10-02）：页头 logo 再扩大一些 + 明确无边框无阴影（透明 PNG 直出）。 */
.geo-heading h1 .pd-logo { width: 1.5em; height: 1.5em; border-radius: 8px; object-fit: contain; margin-left: 10px; vertical-align: -0.22em; border: 0; box-shadow: none; outline: none; background: transparent; }
@media (max-width: 520px) { .geo-heading h1 .pd-logo { margin-left: 8px; } }

/* R20k 整站 zoom 缩放已按吕老师 2026-09-30 指示全部撤销（"恢复到原来的样式和排版，
   不要改动我的了"）——排版回到 R20j 基线，不做任何整体缩放。 */

/* R20m（吕老师 2026-09-30）：GEO检测页改版（表单一行排布/说明独占一行/进度条/六维卡）
   与新增页面（官网提示词）。全部为新类名，不触碰任何既有排版。 */
.geo-audit-row--main { display: flex; align-items: center; gap: 12px; }
.geo-audit-row--main label { font-size: 14px; font-weight: 600; white-space: nowrap; }
.geo-audit-row--main input { flex: 1; min-width: 220px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; }
.geo-audit-row--main .geo-audit-run-btn { flex-shrink: 0; white-space: nowrap; }
.geo-audit-run-btn { background: var(--geo-btn, #3c5540); color: #fff; border: none; padding: 10px 26px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 600; }
.geo-audit-run-btn[disabled] { opacity: .55; cursor: wait; }
.geo-audit-hint { margin: 10px 0 0; font-size: 12.5px; color: #8a948a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .geo-audit-row--main { flex-wrap: wrap; } .geo-audit-hint { white-space: normal; } }

.geo-audit-progress { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-top: 14px; }
.geo-audit-progress__head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin-bottom: 10px; }
.geo-audit-progress__head span { color: #8a948a; font-variant-numeric: tabular-nums; }
.geo-audit-progress__bar { height: 8px; background: #eef2ea; border-radius: 4px; overflow: hidden; }
.geo-audit-progress__bar > div { height: 100%; width: 0; background: linear-gradient(90deg, #3c5540, #5b7a58); border-radius: 4px; transition: width .5s ease; }
.geo-audit-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; padding: 0; }
.geo-audit-steps li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); color: #8a948a; font-size: 13px; font-weight: 600; }
.geo-audit-steps li small { display: block; font-weight: 400; font-size: 11.5px; margin-top: 2px; }
.geo-audit-steps li i { width: 22px; height: 22px; border-radius: 50%; background: #eef2ea; color: #8a948a; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; flex-shrink: 0; }
.geo-audit-steps li.active { border-color: #3c5540; color: #2f4230; background: #f4f7f1; }
.geo-audit-steps li.active i { background: #3c5540; color: #fff; }
.geo-audit-steps li.done { color: #5b6b55; }
.geo-audit-steps li.done i { background: #7ba377; color: #fff; }
@media (max-width: 720px) { .geo-audit-steps { grid-template-columns: 1fr; } }

.geo-audit-toolbar { display: flex; gap: 12px; align-items: center; margin: 14px 0; flex-wrap: wrap; }
.geo-audit-toolbar button { background: #3c5540; color: #fff; border: none; padding: 8px 18px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; }

.geo-audit-dims { margin-top: 22px; }
.geo-audit-dims h3 { font-size: 15px; margin: 0 0 12px; color: #3c4a3c; }
.geo-audit-dims__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.geo-audit-dim { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.geo-audit-dim b { font-size: 13.5px; color: #3c4a3c; display: block; margin-bottom: 6px; }
.geo-audit-dim p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #6e786b; }
@media (max-width: 900px) { .geo-audit-dims__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .geo-audit-dims__grid { grid-template-columns: 1fr; } }

.geo-prompt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.geo-prompt-step { display: flex; gap: 10px; align-items: flex-start; background: #f4f7f1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.geo-prompt-step i { width: 24px; height: 24px; border-radius: 50%; background: #3c5540; color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.geo-prompt-step b { font-size: 13.5px; display: block; }
.geo-prompt-step p { margin: 3px 0 0; font-size: 12px; color: #6e786b; line-height: 1.5; }
@media (max-width: 900px) { .geo-prompt-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .geo-prompt-steps { grid-template-columns: 1fr; } }
.geo-prompt-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.geo-prompt-download { background: #eef2ea; color: #3c5540; border: none; padding: 10px 20px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 600; }
.geo-prompt-pre { background: #22301f; color: #dce8d8; border-radius: 10px; padding: 18px 20px; font-size: 12.5px; line-height: 1.75; font-family: ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; max-height: 520px; overflow-y: auto; margin: 0; }
.geo-audit-row--model { margin-top: 10px; }
.geo-audit-row--model select { flex: 0 1 260px; min-width: 180px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; background: #fff; }
@media (max-width: 720px) { .geo-audit-row--model select, .geo-audit-row--model input[type="text"] { flex: 1 1 100%; } }
/* R20m 修正：.ai-platform-card 是 flex——GEO 检测表单卡与官网提示词卡需要块级堆叠 */
.geo-audit-form { display: block; }
.geo-prompt-card { display: block; }
/* R20m 修正2（吕老师 2026-09-30）：去掉自定义模型 ID 输入框，下拉只列具体型号 */
.geo-audit-row--model select { flex: 0 1 320px; min-width: 220px; }

/* ── R21（吕老师 2026-09-30）：管理中心「模版库」大目录（可收缩展开）── */
.console-library { display: grid; gap: 12px; }
.console-library-group { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.console-library-group__summary {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; cursor: pointer; list-style: none;
  background: var(--ice, #eff5ec); user-select: none;
}
.console-library-group__summary::-webkit-details-marker { display: none; }
.console-library-group__summary b { font-size: 14.5px; color: #2c3a29; }
.console-library-group__summary small { flex: 1; color: #6e786b; font-size: 12px; }
.console-library-group__summary .console-library-group__chevron { color: #6e786b; transition: transform .18s ease; }
.console-library-group[open] .console-library-group__chevron { transform: rotate(180deg); }
.console-library-group > div:not(.console-library-group__summary),
.console-library-group > section { padding: 14px 18px; border-top: 1px solid var(--line); }
.console-library-group__summary + div { border-top: 1px solid var(--line); }

/* ── R21：官网模板管理（template-library.js）── */
.tpl-lib-section { margin-bottom: 14px; }
.tpl-lib-section h3 { margin: 0 0 4px; font-size: 15px; color: #2c3a29; }
/* R48（吕老师 2026-10-02 截图：GEO检测模板两张卡不并排）：auto-fill + minmax(220px)
   在管理中心实际容器宽度下放不下两张 220px 卡片 → 自动降为单列换行。改为两档断点：
   宽屏两列并排，窄屏（<640px，含手机）才单列。所有分类统一并排，泛行业不受影响。 */
.tpl-lib-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
@media (max-width: 640px) { .tpl-lib-slots { grid-template-columns: minmax(0, 1fr); } }
.tpl-lib-slot {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px dashed #b8c6b2; border-radius: 10px; padding: 12px 14px;
  cursor: pointer; background: #fbfdfa; transition: border-color .15s ease, background .15s ease;
}
.tpl-lib-slot:hover { border-color: #3c5540; background: #f3f7f0; }
.tpl-lib-slot__title { font-weight: 700; font-size: 13.5px; color: #2c3a29; }
.tpl-lib-slot__desc { font-size: 11.5px; color: #6e786b; line-height: 1.5; }
.tpl-lib-slot__action { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #3c5540; }
.tpl-lib-list { display: grid; gap: 8px; }
.tpl-lib-file {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff;
}
.tpl-lib-file__info { flex: 1; min-width: 200px; }
.tpl-lib-file__info b { font-size: 13.5px; color: #2c3a29; word-break: break-all; }
.tpl-lib-file__info small { display: block; margin-top: 2px; color: #8a948a; font-size: 11.5px; }
.tpl-lib-file__info em.tpl-lib-effective { font-style: normal; color: #22743b; font-weight: 700; }
.tpl-lib-file__actions { display: flex; gap: 6px; }
.tpl-lib-file__actions button { border: none; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; }
.tpl-lib-file__actions .tpl-lib-view { background: #3c5540; color: #fff; }
.tpl-lib-file__actions .tpl-lib-dl { background: #eef2ea; color: #3c5540; }
.tpl-lib-file__actions .tpl-lib-del { background: #f7e9e9; color: #a33; }
.tpl-lib-preview {
  grid-column: 1 / -1;
  background: #22301f; color: #dce8d8; border-radius: 10px;
  padding: 14px 16px; font-size: 12px; line-height: 1.7;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow-y: auto; margin: 0;
}

/* ── R21：GEO配置完成面板（生成结果不滞留，统一去报告存储）── */
.geo-config-done { text-align: center; padding: 36px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfa; }
.geo-config-done__icon {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%;
  background: #22743b; color: #fff; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.geo-config-done strong { font-size: 16px; color: #2c3a29; display: block; margin-bottom: 6px; }
.geo-config-done__actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }

/* ── R21：官网提示词页（新流程表单）── */
.geo-prompt-fields { display: grid; gap: 10px; margin: 12px 0; }
.geo-prompt-repo-select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13.5px; color: #2c3a29; }

/* ── R23（吕老师 2026-09-30 晚）：运行记录紧凑化——卡片宽度收窄、留白减少、字号降一档 ── */
.run-event-group { max-width: 760px; margin: 0 0 8px; padding: 8px 12px; }
.run-event-group__toggle { padding: 4px 0; gap: 8px; }
.run-event-group__title { font-size: 13px; }
.run-event-group__count { font-size: 11px; }
.run-record-steps { gap: 4px 12px; margin: 4px 0 8px; padding: 8px 10px; }
.run-record-step { font-size: 11.5px; }
.run-record-calls { font-size: 11.5px; margin: 0 0 8px; }
.run-record-calls th, .run-record-calls td { padding: 4px 6px; }
.logs-audit-problems { margin: 0 0 8px; padding: 8px 10px; }
.logs-delete-button { padding: 4px 12px; font-size: 12px; }
.logs-toolbar { margin: 8px 0; }

/* ── R23：文章记录行距与预览框收窄（吕老师：边框/空白不需要那么大）── */
.runtime-article { gap: 12px; }
.runtime-compact .runtime-article { padding: 7px 0; }
.runtime-article-preview { margin: 0 0 10px; padding: 10px 12px; max-height: 360px; }

/* ── R23：账号看板表格 ── */
.dashboard-table { font-size: 12.5px; }
.dashboard-table th, .dashboard-table td { padding: 7px 10px; vertical-align: top; }

/* ── R24-⑪⑫⑬（吕老师 2026-10-01）：官网 GEO 各功能板块去背景、扩大边距 ──
   去掉卡片背景直接展示配置板块；文字与边框不再贴合，用省出的空间补 padding。 */
.geo-shell .runtime-panel { background: transparent; padding: 26px 30px; }
.geo-shell .geo-config-item { background: transparent; padding: 22px 24px; }
.geo-shell .geo-config-grid .geo-config-kind.selected { background: #f4f7f1; }
.geo-shell .ai-platform-card { background: transparent; padding: 24px 28px; }
.geo-shell .geo-config-file { background: transparent; padding: 20px 24px; }
.geo-shell .geo-config-grid { gap: 16px; }
.geo-shell .geo-config-files { gap: 16px; }
.geo-shell .geo-verify-panel { background: transparent; }

/* ── R24-⑤⑦⑰：文档内容折叠块 / 时间戳小字 ── */
.runtime-article__time, .console-task-time { margin: 2px 0 0; color: var(--muted); font-size: 11.5px; }
.material-doc-content { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; background: transparent; }
.material-doc-content summary { cursor: pointer; display: flex; align-items: baseline; gap: 10px; }
.material-doc-preview { margin: 10px 0 4px; padding: 12px 14px; background: #f6f8f4; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; line-height: 1.7; max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ===== 2026-10-01 晚：吕布老师 18 条截图反馈修复批次（R26 前端部分） ===== */
/* 截图12：任务总览记录不再被横向挤压——允许单元格换行、标题列收窄，
   记录在原工作区大大方方显示完整，不再出现横向滚动条。 */
#overview-list.console-table-wrap td:not(:first-child) { white-space: normal; }
#overview-list.console-table-wrap td:first-child { min-width: 120px; }
/* 截图8：按键统一——同一排按钮同高同字号，杜绝上下偏差。 */
.tpl-lib-file__actions button,
.completed-toolbar button,
.console-panel-heading__actions button,
.runtime-article__actions button {
  min-height: 34px; height: 34px; padding: 0 14px; font-size: 12.5px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1; vertical-align: middle;
}
.console-panel-heading__actions { align-items: center; }
/* 截图11/15/16：文章存储行收窄——行内边距减小、首行不再压一条顶边框，
   顶部不再出现多条叠线，行与行之间不留空档。 */
.runtime-article { padding: 10px 0; }
#completed-list > .runtime-article:first-child { border-top: 0; }
#completed-list .runtime-article-preview { margin: 0 0 10px; }
/* 截图16：批量管理勾选行不再额外撑出空档。 */
#completed-list .completed-pick { margin: 0 12px 0 0; }
/* 截图19：账号看板每账号一张收缩卡片，内部两列信息表整齐排版。 */
.dashboard-account-card { padding: 0 !important; margin: 0 0 10px; }
.dashboard-account-card .run-event-group__toggle { width: 100%; }
.dashboard-account-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dashboard-account-table th, .dashboard-account-table td { padding: 9px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

/* ===== 2026-10-01 晚二：吕布老师 6 条截图反馈修复批次（R27 前端部分） ===== */
/* 截图5（任务总览）：记录区原本是白底、没有多一层框——R24-⑪「去背景」把
   .runtime-panel 一律设成 transparent，反倒多出一圈边框把记录区裹紧、宽度被吃掉，
   只能横向滚。这里给任务总览单独还原：白底、去掉多余边框层、铺满原工作区。 */
/* R28（图2）：撤掉 R27 对任务总览的「白底无边框贴边」覆盖——吕老师指出越改越丑，
   恢复原有 runtime-panel 卡片样式（浅底+描边+圆角+内边距）。保留单元格换行规则，
   防止再次出现 R27 图5 的横向挤压滚动。 */
#overview-list.console-table-wrap th,
#overview-list.console-table-wrap td { overflow-wrap: anywhere; }
/* R28（图2）续：R24-⑪ 的 .geo-shell .runtime-panel{transparent;26/30} 也压在任务总览
   面板上——按昨天（R24-⑪ 之前）的 runtime-panel 卡片原值还原。 */
.geo-shell .console-overview-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 0 0 16px; box-shadow: none; }
/* 截图4（选中后的底色不对）：选中态一律白底+深绿字+描边（可见性优先，
   不用浅色块——浅块在浅色底上根本看不出选中了哪一项）。 */
.model-dropdown__list li.selected { background: #fff; color: #2f5d3f; font-weight: 700; box-shadow: inset 0 0 0 1.5px #9fb89a; }
.repo-picker.is-picked, .geo-prompt-repo-select.is-picked { background: #fff; color: #2f5d3f; border-color: #9fb89a; box-shadow: inset 0 0 0 1px #9fb89a; }
/* 截图3（生成后引导）：下载客户端 + 上传提示词文件即可自动开始开发。 */
.geo-prompt-next { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.geo-prompt-next strong { display: block; margin: 0 0 6px; font-size: 13.5px; color: #2f4230; }
.geo-prompt-next p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.75; color: #5b6b55; }
.geo-prompt-next code { padding: 1px 5px; border-radius: 5px; background: #f2f5ee; font-size: 12px; }
.geo-prompt-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.geo-prompt-downloads li { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.geo-prompt-downloads a { font-size: 13px; font-weight: 650; color: #2f5d3f; text-decoration: none; }
.geo-prompt-downloads a:hover { text-decoration: underline; }
.geo-prompt-downloads small { color: #7b8776; font-size: 11px; }
.dashboard-account-table th { width: 130px; color: var(--muted); font-weight: 500; white-space: nowrap; background: var(--ice, #f2f5ee); }
.dashboard-account-table tr:last-child th, .dashboard-account-table tr:last-child td { border-bottom: 0; }

/* ===== 2026-10-01 晚三（图7）：运行日志任务卡被 R24-⑪「去背景大留白」误伤，原样恢复 =====
   R24-⑪ 的 .geo-shell .runtime-panel { background:transparent; padding:26px 30px; }
   与管理中心目录 .console-directory__pane .runtime-panel 的 border:0 叠加后，
   把「任务运行记录」外层面板和每张任务卡（.runtime-panel.run-event-group）撑成
   26/30 大空底、描边被吃掉——吕老师指出「每条记录后面多一层背景、间距那么开，
   没允许增加」。这里按 9-29 定稿的任务卡样式恢复：白卡 + 1.5px 描边 + 紧凑留白 +
   760 限宽；外层记录面板还原 padding:0。选择器带 .geo-shell 前缀压过 R24-⑪。 */
/* ===== R29（图3，吕老师 2026-10-01）：每条日志记录只留一层边框 =====
   之前是双层：外层任务卡描边 + 内层标题行按钮被 .runtime-panel button
   强加的默认描边——叠成两圈。现在外层任务卡彻底去框去底去内边距，
   边框只留在标题行上，间距 8px → 6px；错误/预警色跟着挪到标题行描边。 */
.geo-shell .runtime-panel.run-event-group {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 6px;
  max-width: 760px;
  box-shadow: none;
}
.geo-shell .runtime-panel.run-event-group > div { padding: 6px 2px 0; }
.geo-shell .runtime-panel button.run-event-group__toggle {
  border: 1.5px solid var(--line-strong, #b9c6b4);
  border-radius: 8px;
  background: #fff;
  min-height: 0;
  padding: 7px 12px;
}
.geo-shell .runtime-panel button.run-event-group__toggle:hover {
  border-color: var(--sage-deep, #5c7a5e);
  box-shadow: none;
}
.geo-shell .run-record-group--error > .run-event-group__toggle { border-color: #d8a5a5; }
.geo-shell .run-record-group--warn > .run-event-group__toggle { border-color: #d9c194; }
#admin-logs-panel { padding: 0; }

/* ===== 2026-10-01 晚四：R28 批次（吕布老师 15 条截图反馈） ===== */
/* 图7：管理中心「内容模板」页四个面板的空档是 runtime-panel 26/30 大留白 +
   上下双边距叠出来的——面板改紧凑通栏流式排列。 */
#admin-templates-pane .runtime-panel { padding: 0; margin: 0 0 14px; background: transparent; }
/* 图8：官网模板三分区同样收掉大留白；分区之间 16px 呼吸即可。 */
#geo-template-library .tpl-lib-section { padding: 0; margin: 0 0 16px; background: transparent; }
/* 图8：槽位「上传/替换」按钮统一贴底对齐（各槽描述长短不一也能齐平）。 */
.tpl-lib-slot__action { margin-top: auto; padding-top: 8px; }
.tpl-lib-slot__desc { flex: 1 0 auto; }
/* 图10：模型页「批次模型」区块字号放大，与下方「模型 API 凭据」h2 匹配。 */
.geo-model-setting__intro > span { font-size: 10px; letter-spacing: .12em; }
.geo-model-setting__intro > strong { margin-top: 4px; color: var(--ink); font-size: 20px; font-weight: 700; }
.geo-model-setting__intro > p { max-width: none; margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; }
/* 图11：设置页字段撑满面板宽度、字号加大、间距收紧——页面大了内容不能再挤成窄条。 */
.console-directory__pane form { max-width: none; }
.console-directory__pane .runtime-field { max-width: 100%; font-size: 13.5px; margin: 12px 0; }
.console-directory__pane .runtime-field input,
.console-directory__pane .runtime-field select { font-size: 14px; }
.console-directory__pane .runtime-panel h3 { font-size: 16px; }
/* 图12：积分流水表撑满面板宽度，列不再挤在半边。 */
#own-ledger table, #member-ledger table { width: 100%; }

/* ═══ R30（吕老师 2026-10-01 深夜 11 图反馈）═══ */
/* 图1/2：新建任务页压缩纵向间距——任务条/标题区/空态卡/工具条全面收紧，
   底部「资料与任务 / 运行进度 / 文章文件」页签要进入首屏 */
.geo-shell[data-view="workspace"] .geo-main { padding-top: 6px; }
.workspace-tabs { margin-bottom: 8px; padding-bottom: 2px; }
.workspace-tabs button { padding: 8px 12px; }
.geo-shell[data-view="workspace"] .geo-heading--workspace { margin-bottom: 8px; }
.geo-shell[data-view="workspace"] .geo-heading--workspace h1 { margin: 0; }
.geo-shell[data-view="workspace"] .geo-heading--workspace p { margin-top: 0; }
.workspace-empty { gap: 6px; padding: 12px 20px; margin-bottom: 8px; }
.workspace-toolbar { margin-bottom: 8px; padding: 8px 12px; }
.console-detail-tabs { margin-bottom: 12px; }
.console-detail-tabs button { padding: 8px 0; }

/* 图3/4/5/6/7：个人设置目录——顶部间隔收紧、内容统一左缘铺满。
   R24-⑪ 的 .geo-shell .runtime-panel{padding:26px 30px} 在设置目录里
   把每个面板都垫出 30px 内缩——这里统一收掉（目录面板本就应通栏平铺）。 */
.geo-shell [data-view-panel="settings"] .console-directory__body { padding: 14px 18px 20px; }
.geo-shell [data-view-panel="settings"] .console-directory__pane .runtime-panel { padding: 0; margin: 0 0 14px; }
.geo-shell [data-view-panel="settings"] .console-directory__pane .geo-model-setting { margin-bottom: 8px; padding: 0; }
.geo-shell [data-view-panel="settings"] .geo-settings-grid { gap: 6px; }
#account-password-form { width: 100%; max-width: none; }
/* 图3：改密表单铺满面板宽度，字段两列排布消除右侧空白（空白处用表单栅格补齐） */
#account-password-form { margin: 12px 0 0; }
#account-password-form .pw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; align-items: start; }
#account-password-form .runtime-field { margin: 0; }
#account-password-form .pw-actions { grid-column: 2; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
#account-password-form .pw-actions p { margin: 0; font-size: 12px; }
@media (max-width: 860px) {
  #account-password-form .pw-grid { grid-template-columns: 1fr; }
  #account-password-form .pw-actions { grid-column: 1; justify-content: flex-start; flex-wrap: wrap; }
}

/* 图11：GEO 配置模板四张卡 2×2（llms.txt 移到第二行，与 schema.org 对齐） */
.tpl-lib-section--geo-config .tpl-lib-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ===== R31（吕老师 2026-10-02，十图反馈） ===== */
/* 图5：Chrome 自动填充会把账号输入框刷成浅蓝——统一覆盖为主题底色与字色 */
.login-card input:-webkit-autofill,
.login-card input:-webkit-autofill:hover,
.login-card input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fbfcfa inset;
  -webkit-text-fill-color: #2f3b2c;
  caret-color: #2f3b2c;
  transition: background-color 99999s ease-in-out 0s;
  border-radius: 10px;
}
/* R32（图1）：Chrome 自动填充浅蓝底扩散到了创作表单（品牌名/问句等）——全站覆盖 */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill,
input:-webkit-autofill:hover, textarea:-webkit-autofill:hover, select:-webkit-autofill:hover,
input:-webkit-autofill:focus, textarea:-webkit-autofill:focus, select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fbfcfa inset;
  -webkit-text-fill-color: #2f3b2c;
  caret-color: #2f3b2c;
  transition: background-color 99999s ease-in-out 0s;
}
/* 图9：内置模板查看——槽位卡上的第二个动作 + 展开的内置正文预览 */
.tpl-lib-slot__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tpl-lib-slot__view { color: #4c6b45; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tpl-lib-slot__view:hover { color: #2f4230; }
.tpl-lib-builtin { margin: 12px 0 0; padding: 14px 16px; max-height: 340px; overflow: auto; background: #f4f7f1; border: 1px solid var(--line, #d7e0d2); border-radius: 10px; font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; color: #33402f; }

/* AI 图文 + 图片存储（R49）——配色与间距沿用工作台既有变量，不新增设计语言。 */

.aif {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}
.aif__form { display: grid; gap: 14px; }
.aif__result { display: grid; gap: 14px; }

.aif__card {
  border: 1px solid #d8e2d4;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
}
.aif__title { margin: 0 0 12px; font-size: 15px; color: #23331f; }
.aif__field { display: block; margin-bottom: 12px; }
.aif__label { display: block; font-size: 12.5px; color: #55634f; margin-bottom: 5px; font-weight: 600; }
.aif__select, .aif__textarea {
  width: 100%;
  border: 1px solid #cddac8;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13.5px;
  color: #2c3a29;
  background: #fbfdfa;
}
.aif__textarea { resize: vertical; min-height: 64px; line-height: 1.6; }
.aif__select:focus, .aif__textarea:focus {
  outline: 2px solid #3c5540;
  outline-offset: 1px;
  background: #fff;
}
.aif__hint { margin: 6px 0 0; font-size: 12px; color: #6e786b; line-height: 1.6; }

.aif__run {
  width: 100%;
  margin-top: 4px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: #2f6b3f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.aif__run:hover:not(:disabled) { background: #245730; }
.aif__run:disabled { background: #9bb2a3; cursor: not-allowed; }
.aif__status { margin: 10px 0 0; font-size: 12.5px; color: #55634f; min-height: 1.4em; line-height: 1.6; }

.aif__result-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.aif__result-head .aif__title { margin: 0; }
.aif__result-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.aif__mini {
  border: 1px solid #cddac8;
  background: #f3f7f0;
  color: #2f6b3f;
  border-radius: 6px;
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.aif__mini:hover:not(:disabled) { background: #e6efe2; }
.aif__mini:disabled { opacity: .5; cursor: not-allowed; }
.aif__mini--danger { color: #9b2f2f; border-color: #e0c4c4; background: #fdf5f5; }
.aif__mini--danger:hover:not(:disabled) { background: #f8e9e9; }

.aif__paragraph-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #2c3a29;
  white-space: pre-wrap;
  word-break: break-word;
}
.aif__paragraph-meta { margin: 8px 0 0; font-size: 12px; color: #6e786b; }

.aif__images { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.aif__img { margin: 0; border: 1px solid #e0e8dd; border-radius: 8px; overflow: hidden; background: #fbfdfa; }
.aif__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f2f6f0; }
.aif__img figcaption { padding: 6px 9px; font-size: 11.5px; color: #6e786b; border-top: 1px solid #eef3ec; }

/* 图片存储 */
.aif-store__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 8px;
}
.aif-store__head .aif__title { margin: 0; }
.aif-store__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.aif-card {
  position: relative;
  margin: 0;
  border: 1px solid #d8e2d4;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.aif-card.is-selected { border-color: #2f6b3f; box-shadow: 0 0 0 2px rgba(47,107,63,.18); }
.aif-card__pick { position: absolute; top: 8px; left: 8px; z-index: 1; }
.aif-card__pick input { width: 17px; height: 17px; cursor: pointer; }
.aif-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f2f6f0; }
.aif-card__meta {
  display: grid; gap: 3px;
  padding: 8px 10px;
  font-size: 11.5px; color: #6e786b;
  border-top: 1px solid #eef3ec;
}
.aif-card__id { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #2c3a29; }
.aif-card__notes { color: #55634f; word-break: break-word; }
.aif-card__actions { display: flex; gap: 6px; padding: 0 10px 10px; }

@media (max-width: 900px) {
  .aif { grid-template-columns: minmax(0, 1fr); }
}

/* 管理中心「图像模板」区 */
.aif-tpl__upload { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.aif-tpl__file { font-size: 12.5px; color: #55634f; }
.aif-tpl__list { display: grid; gap: 8px; }
.aif-tpl__item {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid #d8e2d4; border-radius: 8px;
  padding: 9px 12px; background: #fbfdfa;
}
.aif-tpl__name { font-size: 13.5px; color: #2c3a29; font-weight: 600; }
.aif-tpl__size { font-size: 12px; color: #6e786b; }
.aif-tpl__acts { margin-left: auto; display: flex; gap: 6px; }

/* R50（吕老师 2026-10-02）：图片存储空态——原来只有一句 hint 文本，左侧留白很大。
   改成居中的空态块（图标 + 说明 + 引导按钮），避免"上面一块字、下面空一大片"。 */
.aif-store__empty {
  display: grid; justify-items: center; gap: 10px;
  padding: 40px 20px; text-align: center;
  border: 1px dashed #cddac8; border-radius: 12px; background: #fbfdfa;
}
.aif-store__empty-mark { font-size: 30px; line-height: 1; color: #9db396; }
.aif-store__empty-text { margin: 0; font-size: 13.5px; color: #55634f; line-height: 1.7; }

/* R50（吕老师 2026-10-02）：图片存储空态——原来只有一句 hint 文本，左侧留白很大。
   改成居中的空态块（图标 + 说明 + 引导按钮），避免"上面一块字、下面空一大片"。 */
.aif-store__empty {
  display: grid; justify-items: center; gap: 10px;
  padding: 40px 20px; text-align: center;
  border: 1px dashed #cddac8; border-radius: 12px; background: #fbfdfa;
}
.aif-store__empty-mark { font-size: 30px; line-height: 1; color: #9db396; }
.aif-store__empty-text { margin: 0; font-size: 13.5px; color: #55634f; line-height: 1.7; }

/* R51：发布信息（抖音）三件套 + 封面图 + 图片放大层 */
.aif__publish { display: grid; gap: 10px; }
.aif__pub-row { display: grid; gap: 5px; }
.aif__pub-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #55634f;
}
.aif__pub-label i { font-style: normal; font-weight: 400; color: #8a9587; font-size: 11.5px; }
.aif__pub-input {
  width: 100%; min-width: 0;
  border: 1px solid #cddac8; border-radius: 8px;
  padding: 8px 10px; font: inherit; font-size: 13.5px; color: #2c3a29;
  background: #fbfdfa;
}
.aif__pub-input:focus { outline: 2px solid #3c5540; outline-offset: 1px; background: #fff; }
.aif__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.aif__topic {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: #eaf2e6; color: #2f6b3f; font-size: 12.5px; font-weight: 600;
}
.aif__cover { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.aif__cover-label {
  display: block; margin-bottom: 8px;
  font-size: 12.5px; font-weight: 600; color: #55634f;
}
/* R53：抖音发布页示例图——要比生成的封面图大，用户要能看清"填哪个位置" */
.aif__cover-img {
  display: block; width: 100%; max-width: 520px; border-radius: 10px;
  border: 1px solid #d8e2d4; cursor: zoom-in; background: #f2f6f0;
}
.aif__cover-img:hover { border-color: #3c5540; }

.aif__zoom {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 24px;
}
.aif__zoom[hidden] { display: none; }
.aif__zoom-backdrop { position: absolute; inset: 0; background: rgba(24, 32, 22, .78); }
.aif__zoom-figure {
  position: relative; margin: 0; max-width: min(92vw, 900px); max-height: 88vh;
  display: grid; gap: 10px; justify-items: center;
}
.aif__zoom-figure img {
  max-width: 100%; max-height: 78vh; border-radius: 12px; background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
}
.aif__zoom-figure figcaption {
  display: flex; align-items: center; gap: 12px;
  color: #e6efe2; font-size: 12.5px;
}

/* R51：发布信息（抖音）三件套 + 封面图 + 图片放大层 */
.aif__publish { display: grid; gap: 10px; }
.aif__pub-row { display: grid; gap: 5px; }
.aif__pub-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #55634f;
}
.aif__pub-label i { font-style: normal; font-weight: 400; color: #8a9587; font-size: 11.5px; }
.aif__pub-input {
  width: 100%; min-width: 0;
  border: 1px solid #cddac8; border-radius: 8px;
  padding: 8px 10px; font: inherit; font-size: 13.5px; color: #2c3a29;
  background: #fbfdfa;
}
.aif__pub-input:focus { outline: 2px solid #3c5540; outline-offset: 1px; background: #fff; }
.aif__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.aif__topic {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: #eaf2e6; color: #2f6b3f; font-size: 12.5px; font-weight: 600;
}
.aif__cover { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.aif__cover-label {
  display: block; margin-bottom: 8px;
  font-size: 12.5px; font-weight: 600; color: #55634f;
}
/* R53：抖音发布页示例图——要比生成的封面图大，用户要能看清"填哪个位置" */
.aif__cover-img {
  display: block; width: 100%; max-width: 520px; border-radius: 10px;
  border: 1px solid #d8e2d4; cursor: zoom-in; background: #f2f6f0;
}
.aif__cover-img:hover { border-color: #3c5540; }

.aif__zoom {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 24px;
}
.aif__zoom[hidden] { display: none; }
.aif__zoom-backdrop { position: absolute; inset: 0; background: rgba(24, 32, 22, .78); }
.aif__zoom-figure {
  position: relative; margin: 0; max-width: min(92vw, 900px); max-height: 88vh;
  display: grid; gap: 10px; justify-items: center;
}
.aif__zoom-figure img {
  max-width: 100%; max-height: 78vh; border-radius: 12px; background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
}
.aif__zoom-figure figcaption {
  display: flex; align-items: center; gap: 12px;
  color: #e6efe2; font-size: 12.5px;
}


/* ===== R55（吕老师 2026-10-03）：移动端乱码/遮挡批量修复 + 目录重构 ===== */

/* 截图3 账号看板：toggle 单行 flex 被压到 1ch，手机号一字一行竖排。
   允许换行 + 统计行独占一整行，文字不再被压缩逐字断行。 */
@media (max-width: 720px) {
  .run-event-group__toggle { flex-wrap: wrap; row-gap: 2px; }
  .run-event-group__count { flex-basis: 100%; }
  .dashboard-account-card .run-event-group__count { white-space: normal; }
}

/* 截图2 模板来源列：胶囊文字「合并一次调/用」中途折行——nowrap 保持完整胶囊。 */
.template-source { white-space: nowrap; }

/* 截图5 问句查询：① ✓ 圆圈被 flex 压缩裁切 → 禁止收缩；
   ② 问句数量输入框固定 88px 溢出窄格 → 限最大宽；③ ≤520px 四格改单列。 */
.geo-preflight__title > span { flex: 0 0 auto; }
.question-count-input { max-width: 100%; }
@media (max-width: 520px) {
  .geo-preflight__grid { grid-template-columns: 1fr; }
}

/* 截图8 AI平台档案：页面横向溢出——栅格子项缺 min-width:0 时表格的
   min-width:540px 会把整页撑宽。全链路加收缩保护 + 表格滚动容器限宽。 */
.geo-main, .geo-main [data-view-panel], .runtime-panel, .platform-doc, .platform-doc__body { min-width: 0; }
.pd-tablewrap { max-width: 100%; }

/* 截图8 侧栏模型横排：logo 图与 svg 一起缩小，chips 更紧凑不易溢出。 */
@media (max-width: 860px) {
  .geo-shell .geo-sidebar__nav img.geo-nav-logo { width: 14px; height: 14px; }
}

/* 截图7 登录页：❄ 字符在部分手机渲染成 emoji 乱码 → 换品牌图（index.html 已改）。 */
.login-brand { display: inline-flex; align-items: center; gap: 8px; }
.login-brand img { border-radius: 6px; display: block; }

/* AI图文 图片数量标签的计费提示 */
.aif__label-hint { font-style: normal; font-weight: 400; font-size: 11px; color: #8a9587; margin-left: 8px; }


/* ===== R56（吕老师 2026-10-03）：图像模型设置改语言模型同款厂商卡片 ===== */
/* R58（2026-10-03）：图像模型设置改为语言模型完全同款（触发卡+更换弹层+凭据表单），
   geo-provider-card--image 独立卡片样式随之废弃移除；厂商卡片复用通用样式。 */
.geo-provider-grid .geo-provider-card__identity strong { display: block; overflow: hidden; margin: 0; color: #4c5d46; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.geo-provider-grid .geo-provider-card__identity small { display: block; overflow: hidden; margin-top: 3px; color: #6d786a; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }


/* ===== R57（吕老师 2026-10-03）：移动端第二批修复 ===== */

/* ① 登录页雪花：R58b 按吕老师要求恢复原 ❄ 字符样式（只改颜色不改形状）——
   字符后加 U+FE0E 变体选择符强制文字渲染，避免 iOS 把 ❄ 渲染成蓝色 emoji；
   颜色由 CSS 控制为品牌绿。R57 的手绘 SVG 与原字形不一致，已撤。 */
.login-brand__flake { color: #55735a; font-size: 17px; line-height: 1; font-weight: 700; }

/* R65（吕老师 2026-10-04 截图投诉：移动端雪花不加粗，与 PC 端观感不一致）：
   根因不是 CSS 覆盖——两端 font-weight 相同（继承 .login-brand 的 700），
   而是 **iOS 字体对 U+10052❄ 没有 bold 字重**（该码位在 Apple 符号字体里
   只有常规字重），浏览器合成不出加粗；Windows 侧字体有真bold，所以显粗。
   修法：移动端用 text-stroke 描边补足笔画（描边不占布局空间，不动已定稿的
   布局尺寸）。PC 端不加，保持原有 700 观感。 */
@media (max-width: 860px) {
  .login-brand__flake { -webkit-text-stroke: 0.45px currentColor; }
}

/* ② 平台档案页（Kimi/文心/元宝）未包裹 pd-tablewrap 的裸表格——块级化+卡片内横向滚动，
    不再把整页撑宽（Kimi 页 intro 被挤压就是这 2 个裸表格造成的） */
.platform-doc__body table:not(.pd-table) { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.platform-doc__body table:not(.pd-table) td { border: 1px solid #dbe3d6; padding: 6px 9px; font-size: 12.2px; line-height: 1.5; vertical-align: top; }

/* ③ 管理中心日期输入超出大边框：栅格项允许收缩 + iOS datetime-local 去appearance
   （iOS 的原生控件有固有最小宽，会无视 width:100% 顶破父容器） */
.runtime-columns > .runtime-field { min-width: 0; }
.runtime-field input[type="date"],
.runtime-field input[type="datetime-local"],
.runtime-field input[type="time"] { -webkit-appearance: none; appearance: none; }
@media (max-width: 560px) {
  #member-form .runtime-columns, #subscription-form .runtime-columns { grid-template-columns: 1fr; }
}

/* ④ 运行日志工具栏（账号选择 + 筛选 + 刷新/清空）：移动端换行排布，账号选择独占一行 */
@media (max-width: 640px) {
  .logs-toolbar { flex-wrap: wrap; }
  .logs-toolbar select { flex: 1 1 100%; min-width: 0; }
  .logs-toolbar button { flex: 1 1 auto; white-space: nowrap; }
}

/* ⑤ 任务总览：移动端表格加滑动提示 + 收紧行距 */
.console-table-hint { display: none; }
@media (max-width: 760px) {
  .console-table-hint { display: block; margin: 0 0 8px; }
  .console-table-wrap th, .console-table-wrap td { padding: 10px 8px; }
}


/* ===== R59/R60（吕老师 2026-10-03）：图像模型双型号 + 凭据区间距收紧 ===== */
/* ① 型号 pill 的「推荐」角标（R60 定稿：secondary 的「最新」取消，改挂 primary 推荐；样式颜色沿用 R59） */
.geo-model-option__tag { font-style: normal; margin-left: 6px; padding: 1px 5px; border-radius: 999px; background: #e3edd9; color: #4c6b45; font-size: 9px; font-weight: 700; white-space: nowrap; }
/* R60/R61：弹窗内型号 pill 一律不换行；「推荐」角标统一靠 pill 最右端（吕老师：不要太靠前），
   型号文字在剩余空间居中——strong 占满 flex:1 后 text-align:center，角标自然贴右。
   弹窗 pill 的 gap/padding/角标内边距同步收紧，保证「GPT Image 2.5 Flare」+角标单行放得下不出现省略号。 */
.geo-model-picker .geo-model-option > span { gap: 4px; padding: 9px 8px; }
.geo-model-picker .geo-model-option > span strong { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.geo-model-picker .geo-model-option > span .geo-model-option__tag { flex: 0 0 auto; margin-left: 0; padding: 1px 4px; }
/* ② 图像模型页凭据区三段间距收紧（触发卡→凭据标题→当前编辑，此前空白过大） */
#image-model-list .geo-model-setting { gap: 10px; }
#image-model-list #image-credentials-title { margin: 14px 0 0; }
#image-model-list [data-img-credential] { margin: 0; }
#image-model-list #image-model-form { margin: 0; }
