/* One · 极简新界面。沿用极光现有的颜色、字体（MiSans）和组件形状；只改交互。
   青蓝只在输入互动时出现；不用绿色、不用波点、不用渐变。 */
:root {
  /* 动效规格（UI 10-31 走查）：三档时长、三条曲线、一种转圈。新写的动效只用这几个；
     快 = 悬停、按下、小东西出现 · 中 = 弹层、卡片进出 · 慢 = 整块挪动（输入框上下、页面切换）。
     出现用 out，离开用 in，原地挪动用 move；循环的东西（转圈、呼吸）不在这里。 */
  --t-fast: .15s; --t-mid: .24s; --t-slow: .36s;
  --ease-out: cubic-bezier(.2,.8,.2,1); --ease-in: cubic-bezier(.4,0,1,1); --ease-move: cubic-bezier(.4,0,.2,1);
  --spin: .8s;
  --cx: calc((100vw - 760px) / 2); --cw: 760px; --dock-h: 200px;
  --ink: #0E1B2A; --body: #253545; --sec: #4A5B6B; --muted: #5E6F7E; --faint: #7A8B98; --line: #D3DCE0; --line-2: #E1E8EB; --line-3: #EDF2F4;
  --soft: #F2F6F7; --soft-2: #F5F8F9; --cyan: #53BFD5; --cyan-ring: rgba(83,191,213,.18); --teal: #0F6E85; --navy: #13253D; --navy-h: #1E3654;
  --amber: #B4570A; --amber-ink: #7A4206; --red: #8E2219;
  --font: "MiSans", "MiSans VF", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  /* 数字、时间、ID 也用 MiSans（等宽数字）；只有代码块用等宽字体。 */
  --mono: "MiSans", "MiSans VF", "PingFang SC", "Microsoft YaHei", sans-serif;
  --code: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sh-top: 0 0 0 1px #53BFD5, 0 5px 14px rgba(19,35,66,.12), 0 18px 46px rgba(19,35,66,.2);
  --sh-back: 0 3px 10px rgba(19,35,66,.08), 0 10px 28px rgba(19,35,66,.12);
  /* 菜单类（下拉、弹层、「⋯」、头像菜单、通知）统一一种阴影 */
  --sh-menu: 0 12px 32px rgba(10,29,53,.12), 0 2px 6px rgba(10,29,53,.05);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body.one { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.7; overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--teal); } a:hover { color: #0B5568; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }
.one-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.one-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.one-fill { flex: 1; }
.one-small { margin: 0; font-size: 13px; line-height: 1.6; color: var(--sec); }
body:not(.is-ready) .one-dock { opacity: 0; }
/* UI 10-31 走查：首屏在读数据时不再一片空白——0.4 秒还没好，中间出一个慢慢呼吸的极光标记；页面出来时整块一起淡入。 */
body.one:not(.is-ready)::after { content: ""; position: fixed; left: 50%; top: 42%; width: 22px; height: 30px; margin: -15px 0 0 -11px; background: url("/auroviagent-mark-tight.png") center / contain no-repeat;
  opacity: 0; animation: one-boot-in var(--t-mid) var(--ease-out) .4s forwards, ar-breath 2.4s var(--ease-move) .64s infinite; pointer-events: none; }
body.one:has(#gate:not([hidden]))::after { display: none; }
body.is-ready .one-dock { transition: opacity var(--t-mid) var(--ease-out); }
@keyframes one-boot-in { to { opacity: .9; } }

/* ---- 顶栏 ---- */
.one-top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; pointer-events: none; }
.one-top > * { pointer-events: auto; }
.one-brand { display: flex; align-items: center; gap: 10px; height: 40px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.one-brand img { display: block; width: 20px; height: 28px; object-fit: contain; }
.one-brand span span { margin-left: 3px; font-weight: 500; }
.one-old { font-size: 13px; color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.one-old:hover { background: var(--soft); color: var(--body); }

/* ---- 对话列 ---- */
.one-scroll { position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain; }
body.is-home .one-scroll { visibility: hidden; }
.one-col { position: relative; margin-left: var(--cx); width: var(--cw); padding: 76px 0 calc(var(--dock-h) + 48px); transition: margin-left var(--t-mid) var(--ease-move), width var(--t-mid) var(--ease-move); }
.one-thread { display: flex; flex-direction: column; gap: 28px; }
.one-user { align-self: flex-end; max-width: 560px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.one-user-bubble { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.one-user time, .one-answer > time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.one-answer { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.one-running { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--sec); }
.one-running .one-mono { font-size: 12px; color: var(--muted); }

/* 回答正文的排版、表格、图表、数据卡：直接用旧版 /app 的样式（app-body.css），这里不再另写。 */
.typing-caret { display: none; }
.response-pending { color: var(--muted); }

/* 过程、状态 */
details.process-history { font-size: 13px; color: var(--sec); }
details.process-history > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 2px 6px; margin-left: -6px; border-radius: 6px; }
details.process-history > summary::-webkit-details-marker { display: none; }
details.process-history > summary:hover { background: var(--soft); color: var(--body); }
details.process-history > summary > span { white-space: nowrap; }
.process-history-status { flex: none; width: 14px; height: 14px; }
.process-history-chevron { flex: none; width: 12px; height: 12px; transition: transform var(--t-fast) var(--ease-out); }
details.process-history[open] .process-history-chevron { transform: rotate(90deg); }
.process-history-body { margin: 6px 0 0; padding-left: 12px; border-left: 2px solid var(--line-3); display: flex; flex-direction: column; gap: 4px; }
.conversation-status-note { display: flex; align-items: center; gap: 6px; margin: 0; padding-top: 8px; border-top: 1px solid var(--line-3); font-size: 13px; color: var(--sec); }
.conversation-status-note svg { flex: none; width: 14px; height: 14px; }

/* 下一步建议 */
.one-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.one-suggestions > span { width: 100%; font-size: 12px; font-weight: 600; color: var(--sec); }
.one-suggestions button { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 12px 4px 6px; border: 1px solid var(--line); border-radius: 9px; background: #FFFFFF; font-size: 14px; color: var(--body); cursor: pointer; text-align: left; }
.one-suggestions button:hover { background: var(--soft); border-color: #C3CDD2; }
.one-suggestions button i { font-style: normal; flex: none; height: 20px; padding: 0 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; line-height: 20px; color: var(--teal); }
.one-suggestions button[data-kind="input"] i { color: var(--amber-ink); }
.one-suggestions.is-asking > span { color: var(--amber-ink); }

/* 确认卡：永远在阅读列中间，浮窗不挡它 */
.one-confirm { border: 1px solid #E4C29C; border-radius: 12px; background: #FFFFFF; overflow: hidden; }
.one-confirm header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-3); }
.one-confirm header b { color: var(--amber-ink); font-size: 14px; }
.one-confirm header span { font-size: 12px; color: var(--muted); }
.one-confirm-action { padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--line-3); }
.one-confirm-action p { margin: 4px 0; }
.one-confirm-action pre { max-height: 220px; overflow: auto; margin: 6px 0; padding: 8px 10px; background: var(--soft-2); border-radius: 8px; font-family: var(--code); font-size: 12px; }
.one-confirm-action details summary { cursor: pointer; font-size: 12px; color: var(--muted); }
.commerce-approval-diff { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 13px; }
.commerce-approval-diff :is(th, td) { padding: 6px 8px; border-bottom: 1px solid var(--line-3); text-align: left; }
.commerce-gate { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px #E4C29C; color: var(--amber-ink); font-size: 12px; }
.one-confirm footer { display: flex; gap: 8px; padding: 10px 14px; }
.one-confirm footer button { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #FFFFFF; cursor: pointer; font-size: 14px; }
.one-confirm footer button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-confirm footer button.is-primary:hover { background: var(--navy-h); }

/* 拿出来 / 已浮出 */
.one-answer :is(figure.data-card, .md-table) { position: relative; }
.one-lift { position: absolute; top: 8px; right: 8px; z-index: 2; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #FFFFFF; font-size: 12px; color: var(--body); cursor: pointer; opacity: 0; transition: opacity var(--t-fast) var(--ease-out); }
.one-answer :is(figure.data-card, .md-table):hover > .one-lift, .one-lift:focus-visible { opacity: 1; }
.one-lift:hover { background: var(--soft); }
.is-lifted { min-height: 44px; max-height: 44px; overflow: hidden !important; border: 1px dashed #C3CDD2 !important; border-radius: 10px; background: #FFFFFF; }
.is-lifted > :not(.one-lift):not(.one-lift-note) { visibility: hidden; }
.is-lifted > .one-lift { opacity: 1; top: 8px; left: 10px; right: auto; border: 0; color: var(--muted); }
.is-lifted > .one-lift:hover { color: var(--teal); }

/* ---- 输入框区域 ---- */
.one-dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; pointer-events: none; }
.one-wrap { position: relative; pointer-events: auto; margin-left: var(--cx); width: var(--cw); padding: 10px 0 20px; background: #FFFFFF; transition: margin-left var(--t-mid) var(--ease-move), width var(--t-mid) var(--ease-move); }
body.is-home .one-dock { top: 0; display: flex; flex-direction: column; justify-content: center; }
body.is-home .one-wrap { background: transparent; padding: 0 0 14vh; }
.one-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; }
.one-hero h1 { margin: 0; text-align: center; font-size: 28px; line-height: 1.3; font-weight: 600; letter-spacing: .01em; }
.one-edge { position: relative; height: 0; }

.abox { border: 1px solid var(--line); background: #FFFFFF; box-shadow: 0 1px 2px rgba(10,29,53,.04), 0 8px 24px rgba(10,29,53,.05); transition: border-color var(--t-mid) var(--ease-in), box-shadow var(--t-mid) var(--ease-in); }
.abox:hover { border-color: #C3CDD2; }
/* 040 · 10-27《输入框的边和光》：颜色不变（聚焦青、创造紫），边上亮下深，贴边一圈很淡的光 + 一层薄光晕，上沿右边一小截高光；
   点进去 0.28 秒淡入（先快后慢），青↔紫 0.32 秒交叉淡入，收回 0.2 秒。不浮起、不弹跳。 */
.abox:focus-within, .abox.on { border-color: #4FBBD3; border-top-color: #6FCADF; box-shadow: 0 0 0 3px rgba(83,191,213,.08), 0 0 14px rgba(83,191,213,.24), 0 12px 28px -16px rgba(10,29,53,.10), inset 0 14px 18px -16px rgba(83,191,213,.10); transition-duration: var(--t-mid); transition-timing-function: var(--ease-out); }
.one-box-hl { position: absolute; top: -1px; left: 46%; right: 7%; height: 1px; border-radius: 1px; pointer-events: none; opacity: 0; transition: opacity var(--t-mid) var(--ease-in); background: linear-gradient(90deg, rgba(111,202,223,0), #A9EAF5 50%, rgba(111,202,223,0)); box-shadow: 0 0 5px rgba(120,222,240,.55); }
.abox:focus-within > .one-box-hl, .abox.on > .one-box-hl { opacity: 1; transition: opacity var(--t-mid) var(--ease-out); }
/* 在造东西（创造：长期任务 / 悬浮窗、调整：…）：同一套层次换成紫色；没聚焦时只留边和近光 */
.one-box.is-creation { border-color: #B9A8EE; border-top-color: #C6B8F2; box-shadow: 0 0 0 3px rgba(122,92,214,.06), 0 1px 2px rgba(10,29,53,.04), 0 8px 24px rgba(10,29,53,.05); transition: border-color var(--t-slow) var(--ease-move), box-shadow var(--t-slow) var(--ease-move); }
.one-box.is-creation:focus-within { border-color: #A28CEA; border-top-color: #B3A2EE; box-shadow: 0 0 0 3px rgba(122,92,214,.07), 0 0 14px rgba(122,92,214,.20), 0 12px 28px -16px rgba(10,29,53,.10), inset 0 14px 18px -16px rgba(122,92,214,.09); }
.one-box.is-creation > .one-box-hl { background: linear-gradient(90deg, rgba(179,162,238,0), #D6CCF8 50%, rgba(179,162,238,0)); box-shadow: 0 0 5px rgba(170,145,245,.50); }
/* 进创造时一道淡紫光沿边扫过一次 */
.one-box-sweep { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(122,92,214,0) 0%, rgba(122,92,214,0) 44%, rgba(122,92,214,.55) 50%, rgba(122,92,214,0) 56%, rgba(122,92,214,0) 100%) 120% 0 / 300% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.one-box.is-sweep > .one-box-sweep { animation: one-box-sweep .7s var(--ease-move) .05s 1 both; }
@keyframes one-box-sweep { 0% { opacity: 1; background-position: 120% 0; } 92% { opacity: 1; } 100% { opacity: 0; background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .one-box.is-sweep > .one-box-sweep { animation: none; } }
.one-box { position: relative; border-radius: 16px; padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.one-box textarea { display: block; width: 100%; min-height: 52px; max-height: 220px; margin: 0; padding: 0; border: 0; outline: 0; resize: none; background: transparent; font-size: 15px; line-height: 24px; color: var(--ink); }
.one-box textarea::placeholder { color: var(--faint); opacity: 1; }
.one-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.one-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 4px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.one-chip:hover { background: var(--soft); }
.one-doing { padding: 0 10px; gap: 6px; font-weight: 400; font-size: 13px; color: var(--body); }
.one-doing.is-empty { color: var(--muted); }
.one-task-empty { margin: 6px 0 2px; padding: 0 12px; }
.one-shop-mark { flex: none; width: 24px; height: 24px; border-radius: 6px; background: #E3F4F8; color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.one-icon-btn { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--sec); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.one-icon-btn:hover:not(:disabled) { background: #EAF0F2; }
.one-icon-btn:disabled { opacity: .45; cursor: default; }
.one-stop { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #FFFFFF; color: var(--body); font-size: 14px; cursor: pointer; }
.one-stop:hover { background: var(--soft); }
.one-send { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--navy); color: #FFFFFF; font-size: 14px; font-weight: 500; cursor: pointer; }
.one-send:hover:not(:disabled) { background: var(--navy-h); }
.one-send:disabled { background: #E8EEF1; color: #9AAAB6; cursor: default; }

.one-strip { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--soft); font-size: 12px; color: var(--body); }
.one-auto-strip > svg { flex: none; color: var(--amber); }
#shopChip > svg { flex: none; color: var(--muted); }
.one-strip-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-strip-text b { font-weight: 600; color: var(--amber-ink); }
.one-strip button, .one-reply button, .one-attach button { flex: none; border: 0; background: transparent; color: var(--teal); font-size: 12px; font-weight: 500; cursor: pointer; padding: 2px 4px; }
.one-reply, .one-attach { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--body); }
.one-reply span, .one-attach-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-attach-kind { flex: none; height: 20px; padding: 0 6px; border-radius: 4px; background: #E3F4F8; color: var(--teal); font-size: 12px; line-height: 20px; }
.one-attach-state { flex: none; font-size: 12px; color: var(--muted); }
.one-railchip button { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: #FFFFFF; color: var(--muted); font-size: 12px; cursor: pointer; }
.one-railchip button span { color: var(--teal); }

/* ---- 操作提示（040 UI · 10-26《极光提示统一》第四节）：石墨灰 80% 加背景模糊、白字；只有前面一个小点分口气。
   一般的固定在屏幕顶部正中（#notice，直接在 body 下），被挡住的操作贴在按钮旁（#noticeTip），和卡有关的写在卡上（.one-card-note）。 ---- */
.one-toast { --toast-bg: rgba(58, 65, 72, .80); display: flex; align-items: center; gap: 9px; width: fit-content; max-width: min(560px, calc(100% - 24px)); padding: 7px 7px 7px 13px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px;
  background: var(--toast-bg); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); box-shadow: 0 10px 30px rgba(20, 24, 28, .22); color: #F3F5F6; font-size: 13px; line-height: 1.5; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .one-toast { --toast-bg: #3A4148; } }
/* 用户 11-06：固定在屏幕顶部正中；popover 放进浏览器顶层，弹窗也盖不住。 */
#notice.one-toast { position: fixed; z-index: 90; inset: max(16px, env(safe-area-inset-top)) 0 auto 0; width: fit-content; height: fit-content; max-width: min(640px, calc(100vw - 32px)); margin: 0 auto; padding: 9px 8px 9px 14px; overflow: visible; font-size: 14px; pointer-events: auto; }
#notice.one-toast[hidden] { display: none; }
.one-toast-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3BA9C1; }
.one-toast-dot[data-tone="ok"] { background: #2F9E6B; } .one-toast-dot[data-tone="warn"] { background: #E0904A; } .one-toast-dot[data-tone="err"] { background: #D5604F; }
/* 用户 11-06：出错和留意不能只靠一个小点分口气，整条实色底、白字加图标。 */
.one-toast[data-tone="err"] { --toast-bg: #B3382C; } .one-toast[data-tone="warn"] { --toast-bg: #A8590F; }
.one-toast:is([data-tone="err"], [data-tone="warn"]) { border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 12px 34px rgba(20, 24, 28, .34); color: #FFFFFF; font-weight: 500; }
.one-toast:is([data-tone="err"], [data-tone="warn"]) .one-toast-x { color: #FFFFFF; }
.one-toast-mark { flex: none; }
.one-toast-text { flex: 1; min-width: 0; }
.one-toast a { flex: none; color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.one-toast-act { flex: none; height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .14); color: #FFFFFF; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.one-toast-act:hover { background: rgba(255, 255, 255, .22); }
.one-toast-x { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #B7BEC4; cursor: pointer; }
.one-toast-x:hover { background: rgba(255, 255, 255, .10); color: #FFFFFF; }
.one-toast :focus-visible { outline: 2px solid #FFFFFF; outline-offset: 1px; }
/* 贴在按钮旁的气泡：同一个样子，带小尖角（--arrow 是尖角离左边多远）。 */
.one-toast-tip { position: fixed; z-index: 80; max-width: min(320px, calc(100vw - 24px)); padding: 8px 10px 8px 12px; font-size: 12.5px; line-height: 1.6; align-items: flex-start; }
.one-toast-tip[hidden] { display: none; }
.one-toast-tip .one-toast-dot { margin-top: 7px; } .one-toast-tip .one-toast-mark { margin-top: 3px; }
.one-toast-tip::before { content: ""; position: absolute; left: calc(var(--arrow, 50%) - 5px); width: 10px; height: 10px; border-radius: 2px; background: var(--toast-bg); transform: rotate(45deg); }
.one-toast-tip[data-side="below"]::before { top: -5px; } .one-toast-tip[data-side="above"]::before { bottom: -5px; }
.one-toast-tip.is-in { animation: one-bar-in var(--t-fast) var(--ease-out); }
/* 有提示时，输入框这一层提到悬浮窗上面，提示不被盖住（和 F8 弹层同一做法）。 */
/* 写在确认卡上的一行：正文深灰的字，前面一个口气小点，不上底色。 */
.one-card-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border-top: 1px solid var(--line-3); font-size: 13px; line-height: 1.6; color: var(--body); }
/* 只在刚写上去时淡入一次；之后对话重画不再播放（否则会一闪一闪）。 */
.one-card-note.is-new { animation: one-bar-in var(--t-fast) var(--ease-out); }
.one-card-note span { flex: 1; min-width: 0; }
.one-card-note button { flex: none; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.one-card-note button:hover { background: var(--soft); }

/* ---- 凸起：一条细线，悬停/聚焦才升起 ---- */
.one-bump { position: absolute; left: 12px; bottom: -1px; z-index: 3; }
.one-sliver { position: absolute; left: 8px; bottom: 0; width: 40px; height: 7px; border: 1px solid var(--line); border-bottom: 0; border-radius: 3px 3px 0 0; background: #FFFFFF; transition: opacity var(--t-fast) var(--ease-out); }
.one-sliver span { position: absolute; left: 13px; top: 2px; width: 12px; height: 2px; border-radius: 1px; background: #A9B6BF; }
.one-tabs { position: absolute; left: 0; bottom: 0; display: flex; gap: 4px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.one-wrap:hover .one-tabs, .one-wrap:focus-within .one-tabs, .one-bump.is-open .one-tabs { opacity: 1; transform: none; pointer-events: auto; }
.one-wrap:hover .one-sliver, .one-wrap:focus-within .one-sliver, .one-bump.is-open .one-sliver { opacity: 0; }
.one-tabs button { display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 9px 1px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: #FFFFFF; color: var(--sec); font-size: 12px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.one-tabs button[aria-selected="true"] { border-color: #9AAAB6; color: var(--ink); font-weight: 600; }
.one-tabs button:hover { color: var(--ink); }
.one-tabs small { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* 输入框上沿的小标签（收起的浮窗） */
.one-tray { position: absolute; right: 12px; bottom: -1px; z-index: 3; display: flex; gap: 4px; max-width: 60%; overflow: hidden; }
.one-tray-tab { display: inline-flex; align-items: center; gap: 4px; height: 25px; padding: 0 9px 1px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: #FFFFFF; color: var(--body); font-size: 12px; cursor: pointer; white-space: nowrap; }
.one-tray-tab small { font-size: 11px; color: var(--muted); }
.one-tray-tab:hover { background: var(--soft); }

/* ---- 面板与弹层 ---- */
.one-panel, .one-pop { position: absolute; z-index: 5; left: 0; right: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-menu); overflow: hidden; }
.one-panel-list { display: flex; flex-direction: column; padding: 6px; max-height: 46vh; overflow: auto; }
.one-panel-title { padding: 10px 10px 4px; font-size: 12px; font-weight: 600; color: var(--sec); }
.one-panel-title:first-child { padding-top: 6px; }
.one-row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.one-row:hover, .one-row.is-sel { background: var(--soft); }
.one-row-ic { flex: none; width: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.one-row-ic.is-up { color: var(--teal); }
.one-row-title { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-row-meta { flex: none; font-size: 12px; color: var(--muted); }
.one-row-meta.is-amber { color: var(--amber-ink); }
/* 040 · 10-27《交互衔接》：菜单三组。组标题后面的件数、要你处理的琥珀小点、标题后的说明、右边的动作 */
.one-panel-title em { margin-left: 6px; font-style: normal; font-weight: 400; color: var(--muted); }
.one-panel-list .one-row + .one-panel-title { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-3); }
.one-row.has-dot { position: relative; padding-left: 18px; }
.one-row-dot { position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #E0904A; }
.one-row-title small { margin-left: 8px; font-size: 12.5px; color: var(--muted); }
.one-row-meta.is-act { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; color: var(--teal); }
.one-row-meta.is-run { display: inline-flex; align-items: center; gap: 5px; color: var(--sec); }
.one-row-meta.is-run::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot-info, #3BA9C1); }
.one-panel-foot .one-link svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.one-panel-hint { margin-left: auto; font-size: 12px; color: var(--muted); }
.one-panel-foot:has(.one-panel-hint) { justify-content: flex-start; gap: 16px; }
/* 下拉和弹层的高度由 positionOverlay 按屏幕剩下的空间给（max-height），中间的列表自己滚动，头和底不动。 */
.one-panel:not([hidden]) { display: flex; flex-direction: column; }
.one-panel > .one-panel-list, .one-pop > .one-pop-body, .one-pop > .one-pop-tasks, .one-pop > .one-pop-list, .one-pop > .one-win-body { flex: 1 1 auto; min-height: 0; }
.one-panel > .one-panel-foot, .one-pop > header, .one-pop > footer { flex: none; }
.one-pop-body > .one-pop-list, .one-pop-body > nav { min-height: 0; }
.one-panel-foot { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; border-top: 1px solid var(--line-3); font-size: 12px; color: var(--muted); }

.one-pop { right: auto; width: min(660px, var(--cw)); display: flex; flex-direction: column; }
.one-pop header { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line-3); }
.one-pop header b { font-size: 14px; } .one-pop header span { font-size: 12px; color: var(--muted); }
.one-pop footer { padding: 8px 16px; border-top: 1px solid var(--line-3); font-size: 12px; color: var(--muted); }
.one-pop-body { display: flex; min-height: 0; max-height: 52vh; }
.one-pop-body nav { flex: none; width: 150px; padding: 8px; border-right: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.one-pop-body nav button { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; font-size: 13px; color: var(--body); cursor: pointer; text-align: left; }
.one-pop-body nav button small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.one-pop-body nav button:hover, .one-pop-body nav button.is-on { background: var(--soft); }
.one-pop-body nav button.is-on { font-weight: 600; color: var(--ink); }
.one-pop-list { flex: 1; min-width: 0; padding: 6px; overflow: auto; }
.one-pop-row { display: flex; align-items: center; gap: 8px; border-radius: 8px; }
.one-pop-row:hover { background: var(--soft); }
.one-pop-row > button { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.one-pop-row b { font-size: 14px; font-weight: 500; }
.one-pop-row span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-switch { flex: none; display: inline-flex; align-items: center; gap: 4px; padding-right: 10px; font-size: 12px; color: var(--sec); cursor: pointer; }
.one-pop-tasks { padding: 6px; max-height: 46vh; overflow: auto; }
/* 定时任务的「删除」「全部删除」：平时淡灰字，点一次变浅红底红字等确认（颜色同确认卡「受阻」标签，UI 评审 #1817）；
   删除按钮定宽，确认态不把「暂停」和标题往左挤。 */
.one-pop button.one-sch-del { flex: none; height: 30px; min-width: 52px; padding: 0 6px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.one-pop button.one-sch-del:hover { color: #B42318; background: var(--soft); }
.one-pop button.one-sch-del.is-armed { color: #B42318; background: #FBE9E7; font-weight: 600; }
.one-sch-spent { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 10px 2px; padding-top: 8px; border-top: 1px solid var(--line-3); font-size: 12px; color: var(--muted); }
.one-sch-spent button.one-sch-del { height: 26px; font-size: 12px; }
/* 菜单里「删除这个任务」不折行（说明在右边小字）。 */
.one-sch-menu > button { white-space: nowrap; }
@media (max-width: 720px) { .one-pop button.one-sch-del { height: 36px; } }
.one-task-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.one-task-row:hover { background: var(--soft); }
.one-task-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.one-task-row b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-task-row span { font-size: 12px; color: var(--muted); }
.one-task-row button { height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; font-size: 13px; cursor: pointer; }
.one-pop.is-shop { width: 280px; }
.one-menu { display: flex; flex-direction: column; padding: 6px; }
.one-menu > :is(button, a) { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--body); font-size: 14px; text-decoration: none; cursor: pointer; text-align: left; }
.one-menu > :is(button, a):hover, .one-menu > button.is-on { background: var(--soft); }
.one-menu small { margin-left: auto; font-size: 12px; color: var(--muted); }
.one-menu hr { width: 100%; border: 0; border-top: 1px solid var(--line-3); margin: 6px 0; }

/* ---- 旁白：输入框左右两侧，跟着话题出现 ---- */
.one-rail { position: fixed; z-index: 20; width: 264px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; }
.one-rail-notes, .one-rail-dock { display: flex; flex-direction: column; gap: 10px; flex: none; }
.one-rail-notes[hidden], .one-rail-notes:empty, .one-rail-dock:empty { display: none; }
/* 停到侧栏的浮窗：旁白里的一张卡，跟旁白一起滚动；拖出来就变回浮窗 */
.one-float.is-docked-card { position: relative; left: auto; top: auto; flex: none; width: 100%; max-height: min(520px, 70vh); box-shadow: 0 1px 2px rgba(10,29,53,.04); border-color: var(--line-2); transition: none; animation: one-in-r var(--t-mid) var(--ease-out) both; }
.one-rail-l .one-float.is-docked-card { animation-name: one-in-l; }
.one-float.is-docked-card.is-top { box-shadow: 0 1px 2px rgba(10,29,53,.04); }
.one-float.is-docked-card.is-lifting { position: fixed; z-index: 60; box-shadow: var(--sh-top); animation: none; }
.one-rail-l { left: calc(var(--cx) - 28px - 264px); }
.one-rail-r { left: calc(var(--cx) + var(--cw) + 28px); }
.one-rail-tag { display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 12px; color: var(--teal); }
.one-rail-tag b { font-weight: 600; } .one-rail-tag span { color: var(--muted); }
.one-note { width: 100%; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(10,29,53,.04); animation: one-in-l var(--t-slow) var(--ease-out) both; }
.one-rail-r .one-note { animation-name: one-in-r; }
@keyframes one-in-l { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes one-in-r { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.one-note-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--sec); }
.one-note-h .one-ib { margin-left: auto; width: 22px; height: 22px; color: #9AAAB6; font-size: 15px; }
.one-kv { margin: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 10px; font-size: 13px; line-height: 1.55; }
.one-kv dt { color: var(--muted); } .one-kv dd { margin: 0; color: var(--body); overflow-wrap: anywhere; }
.one-qchip { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); background: #FFFFFF; color: var(--body); font-size: 13px; line-height: 1.5; text-align: left; cursor: pointer; }
.one-qchip span { flex: none; color: var(--teal); }
.one-qchip:hover { background: var(--soft); }
.one-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.one-steps li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.one-steps li[data-state="done"] { color: var(--body); }
.one-steps li[data-state="run"] { color: var(--ink); font-weight: 500; }
.one-steps li[data-state="you"] { color: var(--ink); font-weight: 500; }
.one-steps li .one-you { margin-top: 4px; }
.one-steps svg, .one-steps .one-spin, .one-steps .one-wait { flex: none; margin-top: 3px; }
.one-steps li[data-state="done"] > svg { color: var(--teal); }
.one-you { flex: none; width: 12px; height: 12px; margin: 0 2px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); animation: one-you 2s var(--ease-move) infinite; }
@keyframes one-you { 50% { box-shadow: 0 0 0 5px rgba(83,191,213,.08); } }
@media (prefers-reduced-motion: reduce) { .one-you { animation: none; } }
.one-bullets { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.6; color: var(--body); }
.one-toc { display: flex; flex-direction: column; gap: 1px; }
.one-toc button { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; font-size: 13px; color: var(--body); text-align: left; cursor: pointer; }
.one-toc button[data-level="3"] { padding-left: 20px; color: var(--sec); }
.one-toc button:hover { background: var(--soft); }

.one-spin { display: inline-block; width: 12px; height: 12px; border: 1.6px solid #BDE7F0; border-top-color: #2A9BB8; border-radius: 50%; animation: one-spin var(--spin) linear infinite; }
.one-spin.is-small { width: 10px; height: 10px; }
.one-wait { display: inline-block; width: 10px; height: 10px; margin: 1px; border: 1.5px solid #C3CDD2; border-radius: 50%; }
@keyframes one-spin { to { transform: rotate(360deg); } }


/* ---- 纵深：浮窗 ---- */
.one-layer { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.one-float { position: absolute; pointer-events: auto; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--sh-back);
  transition: left var(--t-mid) var(--ease-out), top var(--t-mid) var(--ease-out), width var(--t-mid) var(--ease-out), height var(--t-mid) var(--ease-out), max-height var(--t-mid) var(--ease-out); animation: one-float-in var(--t-mid) var(--ease-out) both; }
.one-float.is-resizing, .one-float.is-dragging { transition: none; user-select: none; -webkit-user-select: none; }
@keyframes one-float-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.one-float.is-top { box-shadow: var(--sh-top); }
.one-float.is-dragging { transition: none; }
.one-float-h { flex: none; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 8px; border-bottom: 1px solid var(--line-3); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.one-float-h:active { cursor: grabbing; }
.one-float-h b { flex: 0 1 auto; min-width: 0; max-width: 60%; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-float-h .one-ib { flex: none; }
.one-float-topic { min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-float-badge { flex: none; height: 18px; padding: 0 6px; border-radius: 999px; background: #E3F4F8; color: var(--teal); font-size: 11px; line-height: 18px; white-space: nowrap; }
.one-float-fill { flex: 1; }
.one-ib { flex: none; width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.one-ib:hover { background: #EAF0F2; color: var(--ink); }
.one-float-b { flex: 1; min-height: 0; overflow: auto; }
/* 悬浮框 2.0：头部第二行（来源 · 数据截至 · 第 N 轮 · 状态）、状态说明、正在更新的细进度条、问极光、放大、停靠 */
.one-float-c:empty { display: none; }
.one-float-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; padding: 5px 10px; border-bottom: 1px solid var(--line-3); color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.one-float-meta > i { font-style: normal; color: #B5C2CA; }
.one-float-state { margin-left: auto; height: 18px; padding: 0 7px; border-radius: 9px; font-size: 11px; line-height: 18px; white-space: nowrap; background: #EEF3F5; color: var(--sec); }
.one-float-state.is-good { background: #E6F2EC; color: #125E48; } .one-float-state.is-warn { background: #FBEFE3; color: var(--amber-ink); }
.one-float-state.is-info { background: #E3F4F8; color: var(--teal); } .one-float-state.is-bad { background: #F7E6E4; color: var(--red); }
.one-float-n:empty { display: none; }
.one-float-note { display: flex; flex-direction: column; gap: 8px; padding: 12px; color: var(--body); font-size: 13px; line-height: 1.6; animation: one-bar-in var(--t-fast) var(--ease-out); }
.one-float-note p { margin: 0; }
.one-float-note.is-warn p { color: var(--amber-ink); } .one-float-note.is-bad p { color: var(--red); }
.one-float-act { align-self: flex-start; height: 28px; padding: 0 10px; border: 1px solid #C3CDD2; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-float-act:hover { background: var(--soft); }
.one-float-skel { display: flex; flex-direction: column; gap: 6px; }
.one-float-skel i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #EEF3F5 0%, #F7FAFB 50%, #EEF3F5 100%); background-size: 200% 100%; animation: one-skel 1.4s var(--ease-move) infinite; }
.one-float-skel i:nth-child(2) { width: 82%; } .one-float-skel i:nth-child(3) { width: 64%; }
@keyframes one-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.one-float.is-updating .one-float-h { position: relative; }
.one-float.is-updating .one-float-h::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: one-float-bar 1.2s var(--ease-move) infinite; }
@keyframes one-float-bar { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.one-float-view { padding: 10px 12px 12px; }
.one-float-f { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-top: 1px solid var(--line-3); }
.one-float-f button { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--teal); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-float-f button:hover { background: #EEF6F8; }
.one-float-f span { min-width: 0; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-float.is-docking { box-shadow: 0 0 0 2px var(--cyan), var(--sh-top); }
.one-tray-tab.has-dot::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .one-float-skel i, .one-float.is-updating .one-float-h::after { animation: none; } }
.one-lifted { padding: 8px; font-size: 14px; }
.one-lifted > :is(figure, .md-table) { margin: 0; }
.one-study-media { display: block; width: 100%; max-height: 380px; background: #0E1B2A; object-fit: contain; }
/* UI 11-05（Owner：视频 / 图片无法在窗口全屏）：窗口多大画面就铺多大——下面的状态和文件照常，其余高度都给画面，按原比例、不裁切；
   浮着、固定在右侧、最大化一样。右下「全屏」（视频放右上，让开播放条）：鼠标移上去出现，手机上一直在；全屏时黑底、居中。 */
.one-float-b:has(> .one-study-stage) { display: flex; flex-direction: column; overflow: hidden auto; }
.one-float-b:has(> .one-study-stage) > :not(.one-study-stage) { flex: none; }
.one-study-stage { position: relative; flex: 1 1 auto; min-height: 180px; display: flex; align-items: center; justify-content: center; background: #0E1B2A; overflow: hidden; }
.one-study-stage > .one-study-media { width: 100%; height: 100%; max-height: none; }
.one-study-fs { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: rgba(14,27,42,.72); color: #FFFFFF; font: inherit; font-size: 12.5px; cursor: pointer; opacity: 0; transition: opacity var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.one-study-stage.is-video .one-study-fs { top: 10px; bottom: auto; }
.one-study-stage:hover .one-study-fs, .one-study-fs:focus-visible { opacity: 1; }
.one-study-fs:hover { background: rgba(14,27,42,.9); }
.one-study-fs:focus-visible { outline: 2px solid #53BFD5; outline-offset: 2px; }
.one-study-fs .is-out { display: none; }
.one-study-stage:is(:fullscreen, :-webkit-full-screen), .one-study-stage:is(:fullscreen, :-webkit-full-screen) > .one-study-media { background: #000000; }
.one-study-stage:is(:fullscreen, :-webkit-full-screen) .one-study-fs { top: 16px; right: 16px; bottom: auto; height: 34px; padding: 0 12px; background: rgba(255,255,255,.14); font-size: 13px; opacity: 1; }
.one-study-stage:is(:fullscreen, :-webkit-full-screen) .one-study-fs .is-in { display: none; }
.one-study-stage:is(:fullscreen, :-webkit-full-screen) .one-study-fs .is-out { display: inline; }
@media (hover: none) { .one-study-fs { opacity: 1; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .one-study-fs { transition: none; } }
.one-study-state { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px; color: var(--sec); }
.one-study-state span:first-child { flex: none; height: 20px; padding: 0 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); line-height: 20px; color: var(--teal); }
.one-study-state span[data-tone="working"] { color: #0F5E73; }
.one-study-state span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-study-wait { margin: 0; padding: 10px; font-size: 13px; color: var(--sec); }
.one-study-preview { display: block; margin: 16px auto; height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; cursor: pointer; }
.one-timeline { margin: 0; padding: 8px 10px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.one-timeline li { display: flex; gap: 8px; font-size: 12px; line-height: 1.5; color: var(--body); }
.one-timeline button { flex: none; border: 0; padding: 0; background: transparent; color: var(--teal); font-size: 12px; cursor: pointer; }
.one-widget { display: flex; flex-direction: column; }
.one-widget-frame { display: block; width: 100%; height: 200px; border: 0; }
/* 组件在右侧大窗、整页或拉过大小时：沙箱铺满窗口 */
.one-float.is-fixed-h .one-float-b:has(> .one-widget) { display: flex; flex-direction: column; }
.one-float.is-fixed-h .one-float-b > .one-widget { flex: 1; min-height: 0; }
.one-float.is-fixed-h .one-widget-frame { flex: 1; min-height: 0; height: auto !important; }
.one-widget-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-top: 1px solid var(--line-3); font-size: 11px; color: var(--muted); }
.one-widget-foot button { border: 0; background: transparent; color: var(--teal); font-size: 12px; cursor: pointer; }
/* 056：老浮窗按固定日期读、又开着自动更新时的一句提示。 */
.one-widget-foot .one-wfoot-hint { display: block; margin-top: 2px; font-style: normal; color: var(--amber-ink); line-height: 1.5; }

/* ---- 登录提示 ---- */
.one-gate { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.one-gate-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 36px; border: 1px solid var(--line); border-radius: 14px; }
.one-gate-card p { margin: 0; color: var(--sec); font-size: 14px; }
.one-gate-card a { margin-top: 8px; height: 36px; padding: 0 18px; border-radius: 9px; background: var(--navy); color: #FFFFFF; line-height: 36px; text-decoration: none; }

/* ---- 窄屏 ---- */
@media (max-width: 920px) {
  .one-top { padding: 0 16px; }
  .one-hero h1 { font-size: 22px; }
  .one-pop { width: 100%; }
  .one-pop-body nav { width: 112px; }
}
body:not(.is-home) .one-top { background: #FFFFFF; }

/* ===== 第二轮：对话区细节（对照画布样板「会话 · 阅读结果」「回复进行中」「回复被停止或中途出错」） ===== */
.one-mark { flex: none; display: block; width: 16px; height: 22px; object-fit: contain; }
.one-answer { gap: 14px; }
.one-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 26px; font-size: 14px; color: var(--body); }
.one-head-title { font-weight: 600; color: var(--ink); }
.one-head-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* 结束后的状态字和进行中的标题同一字重：「正在分析…」收成「已完成」时不变细 */
.one-head-state { color: var(--ink); font-weight: 600; }
.one-dot { color: #9AAAB6; }
.one-head-toggle { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding: 2px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--body); font-size: 14px; cursor: pointer; }
.one-head-toggle:hover { background: var(--soft); color: var(--ink); }
.one-head-toggle .one-chev { transition: transform var(--t-fast) var(--ease-out); }
.one-head-toggle[aria-expanded="true"] .one-chev { transform: rotate(90deg); }
.one-proc { margin: 0 0 0 26px; padding: 12px 16px; border-radius: 10px; background: var(--soft-2); list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--body); }
.one-proc li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.one-proc-ic { flex: none; display: inline-flex; margin-top: 3px; color: var(--teal); }
.one-proc-ic.is-slow { color: var(--amber); }
.one-proc .one-spin { flex: none; margin: 4px 1px 0; }
.one-proc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.one-proc li.is-current .one-proc-text { color: var(--ink); font-weight: 500; }
.one-proc li.is-say .one-proc-text { color: var(--body); font-weight: 400; }
.one-proc-text small { font-size: 12px; font-weight: 400; color: var(--muted); }
.one-proc li.is-slow small { color: var(--amber-ink); }
.one-proc-meta { flex: none; font-size: 12px; color: var(--muted); }
.one-proc-ic.is-partial { color: var(--amber); }
.one-proc li.is-partial .one-proc-text { color: var(--sec); }
/* 查看过程 / 收起过程：高度过渡，内容晚一拍淡入（同进行中的进度块 .ar-run-fold） */
.one-fold { --fold-gap: 14px; display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t-mid) var(--ease-out), margin-top var(--t-mid) var(--ease-out); }
.one-fold[data-open="false"] { grid-template-rows: 0fr; margin-top: calc(-1 * var(--fold-gap)); transition-duration: var(--t-fast); transition-timing-function: var(--ease-in); }
.one-fold > div { min-height: 0; overflow: hidden; opacity: 1; transition: opacity var(--t-fast) var(--ease-out) .06s; }
.one-fold[data-open="false"] > div { opacity: 0; transition-duration: var(--t-fast); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .one-fold, .one-fold > div { transition: none !important; } }
.one-safety { margin: 0 0 0 26px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sec); }
.one-safety.is-amber { color: var(--amber-ink); }
.one-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--body); }
.one-pill.is-fail { color: var(--red); }
.one-pill.is-amber { color: var(--amber-ink); }
.one-answer.is-pending { min-height: 60px; }
.one-answer.is-streaming .one-md { min-height: 24px; }

/* 正文排版：结论、分节标题、证据限制 */
.one-md h1 { font-size: 22px; } .one-md h2 { font-size: 20px; margin: 24px 0 8px; } .one-md h3 { font-size: 17px; margin: 20px 0 6px; }
.one-md h2:first-child, .one-md h3:first-child { margin-top: 2px; }
.one-md blockquote { margin: 12px 0; padding: 12px 16px; border: 0; border-radius: 10px; background: var(--soft-2); color: var(--body); font-size: 14px; }
.one-md blockquote > :first-child { margin-top: 0; } .one-md blockquote > :last-child { margin-bottom: 0; }
.one-md .typing-caret { margin-left: 3px; }

/* 表格：标题行 + 复制 / 导出 / 引用 / 拿出来；超过 5 行先收起；数字列右对齐 */
.one-table-caption-src { display: none; }
.one-table-bar { display: flex; align-items: center; gap: 4px; margin: 16px 0 -2px; font-size: 14px; flex-wrap: wrap; }
.one-table-bar b { font-weight: 600; color: var(--ink); }
.one-table-bar > span:not(.one-fill) { color: var(--sec); }
.one-table-bar button { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--sec); font-size: 12px; cursor: pointer; }
.one-table-bar button:hover { background: var(--soft); color: var(--ink); }
.one-table-more { display: block; width: 100%; height: 38px; border: 0; border-top: 1px solid var(--line-3); background: transparent; color: var(--teal); font-size: 14px; cursor: pointer; }
.one-table-more:hover { background: var(--soft); }
.md-table.is-lifted { min-height: 44px; max-height: 44px; }

/* 下一步：卡片列表 */
.one-next h3 { margin: 6px 0 10px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.one-next-list { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.one-next-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; flex-wrap: wrap; }
.one-next-row + .one-next-row { border-top: 1px solid var(--line-3); }
.one-next-row > div { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 2px; }
.one-next-row b { font-weight: 500; font-size: 15px; }
.one-next-row span { font-size: 12px; color: var(--sec); }
.one-next-row button { flex: none; height: 34px; padding: 0 12px; border: 1px solid #C3CDD2; border-radius: 8px; background: #FFFFFF; color: var(--ink); font-size: 14px; cursor: pointer; }
.one-next-row button:hover { background: var(--soft); }
.one-next-row button[data-next="send"] { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-next-row button[data-next="send"]:hover { background: var(--navy-h); }
.one-suggestions.is-asking > span { display: flex; align-items: center; gap: 6px; }

/* 回答末尾：复制全文 · 追问这条回答 · 时间 */
.one-foot { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: -2px; }
.one-foot button { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--sec); font-size: 12px; cursor: pointer; }
.one-foot button:hover { background: var(--soft); color: var(--ink); }
.one-foot time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
/* 本轮用了什么：回答下面的小标签，点开是一张只读明细（数量，不是正文）。 */
.one-foot .one-usage { color: var(--teal); }
.one-foot .one-usage[aria-expanded="true"] { background: #EEF7F9; color: #0F5E73; }
.one-usage-panel { margin: 4px 0 6px; max-width: 420px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #FFFFFF; font-size: 13px; color: var(--body); animation: one-menu-in var(--t-fast) var(--ease-out); }
.one-usage-panel > b { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--sec); }
.one-usage-panel ul { margin: 0; padding: 0; list-style: none; }
.one-usage-panel li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 0; }
.one-usage-panel li small { margin-left: 6px; font-size: 11px; color: var(--muted); font-family: var(--mono); }
.one-usage-panel li em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink); }
.one-usage-panel li.is-zero, .one-usage-panel li.is-zero em { color: var(--muted); }
.one-usage-panel p { margin: 8px 0 0; font-size: 12px; color: var(--sec); line-height: 1.55; }
.one-usage-panel .one-usage-link { margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--teal); font-size: 13px; cursor: pointer; }
.one-usage-panel .one-usage-link:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .one-usage-panel { animation: none; } }
/* 回答反馈：有用 / 没用 / 哪里不对（answer-quality.js 生成） */
.one-fb { display: contents; }
.one-fb .answer-feedback { display: contents; }
.one-fb .answer-feedback > button:first-of-type { position: relative; margin-left: 9px; }
.one-fb .answer-feedback > button:first-of-type::before { content: ""; position: absolute; left: -6px; top: 8px; width: 1px; height: 14px; background: var(--line); }
.one-fb .answer-feedback button[aria-pressed="true"] { background: #E6F3F6; color: var(--teal); font-weight: 500; }
.one-fb .answer-feedback-status { font-size: 12px; color: var(--muted); margin-left: 4px; }
.one-fb .answer-feedback-comment { order: 99; flex-basis: 100%; display: flex; gap: 8px; align-items: flex-end; margin: 6px 0 2px; animation: one-bar-in var(--t-fast) var(--ease-out); }
.one-fb .answer-feedback-comment label { flex: 1; display: grid; gap: 4px; font-size: 12px; color: var(--sec); }
.one-fb .answer-feedback-comment textarea { outline: none; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; min-height: 44px; color: var(--ink); }
.one-fb .answer-feedback-comment button[type="submit"] { background: var(--navy); color: #fff; }

.one-answer > time { display: none; }

/* 用户消息：工作入口标签、附件卡 */
.one-user-bubble { display: flex; flex-direction: column; gap: 6px; }
.one-entry-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 22px; padding: 2px 8px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line); color: var(--sec); font-size: 12px; line-height: 18px; }
.one-entry-tag svg { flex: none; }
.one-entry-tag svg { color: var(--teal); }
.one-attach-card { display: flex; align-items: center; gap: 10px; min-width: 220px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; color: var(--ink); text-decoration: none; }
a.one-attach-card:hover { border-color: #C3CDD2; color: var(--ink); }
.one-attach-thumb { flex: none; width: 26px; height: 34px; border-radius: 4px; background: #E8EEF1; color: var(--sec); display: inline-flex; align-items: center; justify-content: center; }
.one-attach-card > span:not(.one-attach-thumb) { display: flex; flex-direction: column; min-width: 0; }
/* PD 11-13：你发出去的图片 / 视频点得开——有缩略图画缩略图，没有就是一张小卡，右边写「看原图」。 */
button.one-attach-card { appearance: none; font: inherit; line-height: 1.5; text-align: left; cursor: pointer; }
button.one-attach-card:hover { border-color: #C3CDD2; }
.one-attach-go { flex: none; margin-left: auto; font-style: normal; font-size: 12px; color: #0F6E85; }
.one-attach-media { position: relative; display: block; align-self: flex-start; max-width: 100%; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #F2F5F7; cursor: zoom-in; }
.one-attach-media.is-video { cursor: pointer; }
.one-attach-media img { display: block; max-width: min(260px, 100%); max-height: 180px; min-width: 96px; min-height: 64px; object-fit: cover; }
.one-attach-hint { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(19,37,61,.72); color: #FFFFFF; font-size: 11.5px; line-height: 1; opacity: 0; transition: opacity var(--t-fast) var(--ease-out); }
.one-attach-media:hover .one-attach-hint, .one-attach-media:focus-visible .one-attach-hint, .one-attach-media.is-video .one-attach-hint { opacity: 1; }
:is(.one-attach-media, button.one-attach-card):focus-visible { outline: 2px solid #53BFD5; outline-offset: 2px; }
@media (hover: none) { .one-attach-hint { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .one-attach-hint { transition: none; } }
.one-attach-card b { font-size: 14px; font-weight: 500; }
.one-attach-card small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-mono-s { font-family: var(--mono); }

/* 确认卡头部、停止按钮、引用条 */
.one-confirm header { align-items: center; }
.one-confirm header svg { color: var(--amber); flex: none; }
.one-confirm-title { font-weight: 600; }
.one-confirm footer { align-items: center; flex-wrap: wrap; }
.one-confirm footer span { font-size: 12px; color: var(--muted); }
.one-stop { display: inline-flex; align-items: center; gap: 7px; }
.one-reply { gap: 8px; background: var(--soft); box-shadow: none; font-size: 12px; }
.one-reply svg { flex: none; color: var(--teal); }
.one-reply button { font-size: 14px; color: var(--muted); }

.one-md blockquote ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.one-md blockquote li { margin: 0; }
.one-md blockquote p { margin: 4px 0; }
body:not(.is-home) .one-wrap { padding-top: 34px; }

/* MiSans 全局：数字用等宽数字，按钮、输入框、表格、浮窗一律继承 MiSans */
:where(.one-mono, .one-mono-s, .one-foot time, .one-user time, .one-tabs small, .one-pop-body nav small, .md-table :is(th, td), .one-head-time, .one-timeline button) { font-variant-numeric: tabular-nums; }
.one, .one :is(button, input, textarea, select, table, th, td, figure, figcaption, svg text) { font-family: var(--font); }
.one :is(pre, code, .md-code pre) { font-family: var(--code); }

/* 所有内联图标兜底：没写尺寸的 svg 不会被撑满 */
.one-answer svg:not([width]) { width: 14px; height: 14px; flex: none; }
.one-answer figure.data-card svg { width: 100%; height: auto; }
.one-answer .ov-trend svg { width: 100%; height: 96px; }
.one-answer .ov-ic svg { width: 16px; height: 16px; }
.one-internal { margin: 6px 0; font-size: 12px; color: var(--muted); }
.one-internal summary { cursor: pointer; width: fit-content; padding: 2px 6px; margin-left: -6px; border-radius: 6px; }
.one-internal summary:hover { background: var(--soft); color: var(--body); }
.one-internal p { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

/* 持续任务：「N 件在做」点开的列表与任务浮窗 */
.one-task-row { padding: 2px; }
.one-task-open { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.one-task-open:hover { background: var(--soft); }
.one-task-open b { font-size: 14px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-task-open > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.one-task { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; font-size: 13px; }
.one-task-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.one-task-state[data-tone="quiet"] { color: var(--sec); }
.one-task-attn { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #FBF5EE; color: var(--amber-ink); }
.one-task-attn svg { flex: none; margin-top: 3px; color: var(--amber); }
.one-task-attn > div { display: flex; flex-direction: column; gap: 2px; }
.one-task-attn span, .one-task-attn small { color: var(--body); font-size: 12px; }
.one-task .one-kv { grid-template-columns: 52px minmax(0, 1fr); }
.one-task-log-h { font-size: 12px; font-weight: 600; color: var(--sec); }
.one-task-log { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.one-task-log li { display: grid; grid-template-columns: auto auto 1fr; gap: 2px 8px; align-items: baseline; }
.one-task-log time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.one-task-kind { font-size: 12px; color: var(--teal); }
.one-task-log p { grid-column: 1 / -1; margin: 0; color: var(--body); line-height: 1.55; }
.one-task-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line-3); }
.one-task-actions button { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; font-size: 13px; cursor: pointer; }
.one-task-actions button:hover { background: var(--soft); }
.one-task-actions button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-task-row > .one-task-open { height: auto; border: 0; font-size: inherit; }
.one-task-row > button[data-task] { flex: none; }
.one-task-new { flex: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 16px; border-top: 1px solid var(--line-3); }
.one-task-new > span { font-size: 12px; color: var(--muted); margin-right: 2px; }
.one-task-new button { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; font-size: 13px; color: var(--ink); cursor: pointer; }
.one-task-new button:hover { background: var(--soft); border-color: var(--teal); color: var(--teal); }
.one-task-actions { position: sticky; bottom: 0; margin: 0 -14px -12px; padding: 8px 14px 12px; background: #FFFFFF; }

/* ---- 顶栏：会话标题 · 会话 · 通知 ---- */
.one-top { background: linear-gradient(#fff 70%, rgba(255,255,255,0)); }
body.is-home .one-top { background: transparent; }
.one-title { position: absolute; left: 50%; transform: translateX(-50%); max-width: min(520px, calc(100vw - 420px)); display: flex; align-items: center; gap: 6px; }
.one-title.is-wide { max-width: min(760px, calc(100vw - 360px)); }
.one-title-btn { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.one-title-btn:hover { background: var(--soft); }
.one-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-title-btn svg { flex: none; color: var(--muted); }
.one-title-btn { min-width: 0; }
/* 新会话：标题右边，和置顶 / 归档隔一条细线；比它们醒目一点（常用）。 */
.one-new-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; margin-left: 4px; padding: 0 10px 0 8px; border: 1px solid var(--line, #E6E8EB); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.one-new-btn:hover { background: var(--soft); border-color: transparent; }
.one-new-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.one-new-btn svg { color: var(--muted); }
@media (max-width: 720px) { .one-new-btn span { display: none; } .one-new-btn { padding: 0 7px; } }
.one-row-ic.is-new { color: var(--teal); }
.one-title-tag { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 8px; }
.one-title-tag.is-memory-off { color: #0F5E73; background: #EEF7F9; }
.one-pin { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.one-top-r { display: flex; align-items: center; gap: 4px; }
.one-top-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--sec); font: inherit; font-size: 13px; cursor: pointer; }
.one-top-btn:hover, .one-top-btn[aria-expanded="true"] { background: var(--soft); color: var(--ink); }
.one-badge { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--amber); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-family: var(--mono); }
.one-rename { display: flex; align-items: center; gap: 6px; width: 100%; }
.one-rename input { flex: 1; min-width: 160px; height: 32px; padding: 0 10px; border: 1px solid var(--cyan); border-radius: 8px; font: inherit; font-size: 14px; outline: 3px solid var(--cyan-ring); }
.one-rename button { height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.one-rename button[type="submit"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.one-float-menu { position: fixed; z-index: 95; min-width: 180px; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-menu); animation: one-menu-in var(--t-fast) var(--ease-out); }
.one-float-menu .is-warn { color: var(--amber-ink); background: #FFF6EC; white-space: normal; }
/* 菜单类（下拉、弹层、「⋯」、头像菜单、通知）统一一种过渡：淡入并从按钮那一侧滑出 4px；离场反过来。阴影跟着一起淡，不会闪。 */
@keyframes one-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes one-menu-in-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes one-menu-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes one-menu-out-up { to { opacity: 0; transform: translateY(4px); } }

/* 通知 */
.one-notes { position: fixed; inset: auto; margin: 0; width: min(380px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 90px)); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-menu); overflow: hidden; flex-direction: column; }
.one-notes:popover-open { display: flex; animation: one-menu-in var(--t-fast) var(--ease-out); }
.one-notes header, .one-drawer header { display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px; font-size: 13px; color: var(--muted); }
.one-notes header b, .one-drawer header b { font-size: 15px; color: var(--ink); }
.one-notes-status { padding: 4px 14px 12px; margin: 0; }
.one-notes-list { overflow-y: auto; padding: 0 6px 8px; }
.one-notes-list .notification-item { display: flex; gap: 10px; width: 100%; padding: 10px 8px; border: 0; border-radius: 10px; background: transparent; text-align: left; font: inherit; cursor: pointer; position: relative; }
.one-notes-list .notification-item:hover { background: var(--soft); }
.one-notes-list .notification-item-icon { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--soft); color: var(--sec); font-size: 12px; display: grid; place-items: center; }
.one-notes-list .notification-item strong { display: block; font-size: 13px; color: var(--ink); font-weight: 500; }
.one-notes-list .notification-item p { margin: 2px 0; font-size: 12px; color: var(--sec); line-height: 1.5; }
.one-notes-list .notification-item small { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.one-notes-list .notification-item.unread i { position: absolute; top: 14px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* 全部会话：输入框下的同一个面板 */
.one-row-wrap { display: flex; align-items: center; border-radius: 8px; }
.one-row-wrap > .one-row { flex: 1; min-width: 0; }
.one-row-wrap:hover { background: var(--soft); }
.one-row-wrap:hover > .one-row { background: transparent; }
.one-row-more { margin-right: 6px; opacity: 0; }
.one-row-wrap:hover .one-row-more, .one-row-more:focus-visible { opacity: 1; }
.one-row.is-current .one-row-title { color: var(--teal); }
.one-row-title .one-pin { display: inline-block; margin-right: 6px; vertical-align: middle; }
.one-panel-list { max-height: min(420px, calc(100vh - 260px)); overflow-y: auto; }
@media (max-width: 720px) { .one-top-btn span:not(.one-badge):not(.one-bell-dot) { display: none; } .one-title { max-width: calc(100vw - 230px); } }
.one-link { border: 0; background: transparent; padding: 0; font: inherit; font-size: 12px; color: var(--teal); cursor: pointer; }
.one-link:hover { text-decoration: underline; }
.one-task-actions .is-quiet { margin-left: auto; color: var(--muted); }
.one-task-actions .is-warn, .one-pop .is-warn { color: var(--amber-ink); background: #FFF6EC; border-color: #F1D2AE; }
.one-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--soft); margin-left: 8px; }
.one-seg button { height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--sec); font: inherit; font-size: 12px; cursor: pointer; }
.one-seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10,29,53,.08); }
.one-seg small { font-family: var(--mono); color: var(--muted); margin-left: 2px; }
b.one-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-left: 4px; }
.one-stale { margin: 0; padding: 6px 14px; color: var(--amber-ink); background: #FFF6EC; }
.one-pop em.is-amber { font-style: normal; color: var(--amber); }
.one-menu-search { margin: 2px 2px 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.one-menu-shops { display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; }
.one-menu-shops > button { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--body); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.one-menu-shops > button:hover, .one-menu-shops > button.is-on { background: var(--soft); }
.one-auth-tag { font-style: normal; font-size: 11px; color: var(--amber-ink); background: #FFF6EC; border-radius: 999px; padding: 1px 6px; white-space: nowrap; }
.one-menu > a.is-amber { color: var(--amber-ink); }
.one-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40vh; color: var(--muted); font-size: 14px; animation: one-menu-in var(--t-mid) var(--ease-out); }
/* 创造模式 */
.one-mode { color: #5B3FA8; background: #F4F0FC; border-color: #DCD2F3; }
.one-mode:hover { background: #ECE5FA; }
.one-mode-x { margin-left: 2px; opacity: .6; }
.one-creation { margin: 12px 0; }
.one-row-ic.is-create { color: #5B3FA8; background: #F4F0FC; }
.one-loading.is-small { min-height: 120px; font-size: 13px; }

/* 首页：输入框下方的全部会话，向下滚动查看 */
.one-home-list { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; animation: one-menu-in var(--t-mid) var(--ease-out); }
.one-home-list h3 { display: flex; align-items: baseline; gap: 6px; margin: 18px 10px 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.one-home-list h3 small { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.one-hl-row { display: flex; align-items: center; border-radius: 10px; }
.one-hl-row:hover { background: var(--soft); }
.one-hl-row:hover .one-row-more { opacity: 1; }
.one-hl-open { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; padding: 10px 10px; border: 0; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.one-hl-t { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.one-hl-p { grid-column: 1; min-width: 0; font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.one-hl-m { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-family: var(--mono); white-space: nowrap; }
.one-hl-m .is-amber { color: var(--amber); font-weight: 500; font-family: var(--font); }
.one-hl-archived summary { margin: 16px 10px 6px; font-size: 12px; color: var(--muted); cursor: pointer; }
.one-hl-empty { text-align: center; margin-top: 12px; }
.one-hl-mode { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px dashed #DCD2F3; border-radius: 10px; background: #FBF9FE; font: inherit; font-size: 13px; color: var(--sec); cursor: pointer; text-align: left; }
.one-hl-mode b { color: #5B3FA8; font-weight: 600; }
.one-hl-mode:hover { background: #F4F0FC; }
/* 个人设置 · 会话的置顶/归档图标 · 连接与设置 */
.one-avatar { width: 32px; height: 32px; padding: 0; justify-content: center; border-radius: 50%; background: var(--soft); color: var(--sec); font-size: 12px; font-weight: 600; }
.one-menu-head { display: grid; gap: 2px; padding: 8px 10px 6px; }
.one-menu-head b { font-size: 14px; color: var(--ink); }
.one-menu-head small { font-size: 12px; color: var(--muted); }
.one-account-menu { width: 260px; }
.one-menu-who { display: flex; align-items: center; gap: 10px; padding: 8px 10px 6px; }
.one-menu-who > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.one-menu-who b { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-menu-who small { margin: 0; font-size: 12px; color: var(--sec); }
.one-menu-av { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #E3F4F8; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.one-account-menu > :is(button, a) svg { flex: none; color: var(--sec); }
.one-referral-menu-label { display: grid; gap: 2px; min-width: 0; }
.one-referral-menu-label small { margin: 0; color: var(--sec); font-size: 12px; }
/* UI 11-03：两行的菜单项（套餐与用量、邀请新团队）图标对齐第一行；用量进度条 4px，青色，90% 起琥珀色。 */
.one-account-menu > button:has(> .one-referral-menu-label) { align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
.one-account-menu > button:has(> .one-referral-menu-label) > svg { margin-top: 2px; }
.one-account-menu .one-referral-menu-label { flex: 1; }
/* PD 11-11 多语言：头像菜单里的「语言」，选了就按新语言刷新页面。 */
.one-menu-lang { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px; color: var(--body); font-size: 14px; }
.one-menu-lang select { margin-left: auto; max-width: 150px; height: 28px; padding: 0 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--body); font: inherit; font-size: 13px; }
.one-usage-bar { display: block; height: 4px; margin-top: 4px; border-radius: 999px; background: var(--line-3); overflow: hidden; }
.one-usage-bar b { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: #2A9BB8; transition: width var(--t-mid, .24s) var(--ease-out, cubic-bezier(.2,.8,.2,1)); }
.one-usage-bar.is-high b { background: var(--amber); }
.one-menu-hint { margin: 6px 4px 2px; padding: 8px 8px 2px; border-top: 1px solid var(--line-3); font-size: 12px; color: var(--muted); }
.one-conv-acts { display: inline-flex; gap: 2px; }
.one-conv-acts .one-ib { width: 28px; height: 28px; }
.one-conv-acts .one-ib.is-on { color: var(--teal); }
.one-conv-acts .is-armed { width: auto; padding: 0 8px; font-size: 12px; white-space: nowrap; }
.one-hl-row .one-conv-acts { opacity: 0; margin-right: 6px; }
.one-hl-row:hover .one-conv-acts, .one-hl-row:focus-within .one-conv-acts { opacity: 1; }
.one-title .one-conv-acts { opacity: .55; }
.one-title:hover .one-conv-acts { opacity: 1; }
.one-hl-auth { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-bottom: 8px; padding: 10px 12px; border: 1px solid #F1D2AE; border-radius: 10px; background: #FFF8F0; text-align: left; font: inherit; cursor: pointer; }
.one-hl-auth b { font-size: 13px; color: var(--amber-ink); }
.one-hl-auth span { grid-column: 1; font-size: 12px; color: var(--sec); }
.one-hl-auth em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 12px; color: var(--amber-ink); white-space: nowrap; }
/* 「需要管理员来做」的小提示。原来叫 .one-setup，和首页开工方案的容器（#setupPlan）同名，把方案卡套上了灰底灰框、串改了里面的字和按钮（UI 评审 11-11 P0），改名分开。 */
.one-admin-need { display: flex; align-items: center; gap: 14px; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft-2); }
.one-admin-need > div { flex: 1; display: grid; gap: 2px; }
.one-admin-need b { font-size: 14px; color: var(--ink); }
.one-admin-need span { font-size: 12px; color: var(--sec); line-height: 1.5; }
.one-admin-need-go { flex: none; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; text-decoration: none; }
.one-row-wrap .one-conv-acts { opacity: 0; margin-right: 6px; }
.one-row-wrap:hover .one-conv-acts, .one-row-wrap:focus-within .one-conv-acts { opacity: 1; }

/* ================= 出现 / 消失的过渡 ==========   出现：元素从 hidden 变为显示时播放；消失：motion.js 先加 is-leaving 播放离场再隐藏。 */
@keyframes one-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes one-bar-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes one-bar-out { to { opacity: 0; transform: translateY(4px); } }
@keyframes one-chip-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes one-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes one-bump { 0% { transform: translateX(0); } 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } 100% { transform: none; } }
@keyframes one-float-out { to { opacity: 0; transform: scale(.96); } }
@keyframes one-tuck { to { opacity: 0; transform: translateY(24px) scale(.9); } }

/* 输入框下拉（点进输入框、「会话」、搜索）、店铺 / 任务 / 我的浮窗弹层：和头像菜单同一种过渡。
   首页向下展开（从上往下滑出），会话里向上展开（从下往上滑出）。原来用 clip-path 展开，会把阴影裁掉、结束时阴影一下子冒出来。 */
.one-panel:not([hidden]), .one-pop:not([hidden]) { animation: one-menu-in var(--t-fast) var(--ease-out); }
.one-panel[data-dir="up"]:not([hidden]), .one-pop[data-dir="up"]:not([hidden]) { animation-name: one-menu-in-up; }
.one-panel.is-leaving, .one-pop.is-leaving { animation: one-menu-out var(--t-fast) var(--ease-in) forwards; pointer-events: none; }
.one-panel[data-dir="up"].is-leaving, .one-pop[data-dir="up"].is-leaving { animation-name: one-menu-out-up; }
/* 下拉在「最近 ↔ 全部会话」之间切换时淡入（打字搜索不重播，避免闪） */
.one-panel.is-switch .one-panel-list { animation: one-fade var(--t-fast) var(--ease-out); }
/* 菜单（个人设置、会话图标确认） */
.one-float-menu.is-leaving { animation: one-menu-out var(--t-fast) var(--ease-in) forwards; pointer-events: none; }
/* 通知：打开和关闭都有过渡 */
.one-notes { opacity: 0; transform: translateY(-4px); transition: opacity var(--t-fast) var(--ease-in), transform var(--t-fast) var(--ease-in), display var(--t-fast) allow-discrete, overlay var(--t-fast) allow-discrete; }
.one-notes:popover-open { opacity: 1; transform: none; animation: none; transition-duration: var(--t-fast); transition-timing-function: var(--ease-out); }
@starting-style { .one-notes:popover-open { opacity: 0; transform: translateY(-4px); } }

/* 输入框上方的条：等你确认、引用 / 回答 / 补充排队、附件、旁白已收起、提示 */
.one-strip:not([hidden]), .one-reply:not([hidden]), .one-attach:not([hidden]), .one-railchip:not([hidden]), .one-tray:not([hidden]) { animation: one-bar-in var(--t-fast) var(--ease-out); }
#notice:not([hidden]) { animation: one-bar-in var(--t-fast) var(--ease-out); }
#notice.is-bump { animation: one-bump var(--t-slow) var(--ease-out); }
#notice.is-leaving { animation: one-bar-out var(--t-fast) var(--ease-in) forwards; }
/* 输入框里的小块：任务、创造模式、停止本轮 */
.one-doing:not([hidden]), .one-win:not([hidden]), .one-mode:not([hidden]), .one-stop:not([hidden]) { animation: one-chip-in var(--t-fast) var(--ease-out); }
/* 顶栏标题、改名框 */
.one-title:not([hidden]), .one-rename { animation: one-fade var(--t-mid) var(--ease-out); }
/* 首页 ↔ 会话 */
.one-hero:not([hidden]) { animation: one-rise var(--t-mid) var(--ease-out); }
.one-thread.is-arriving { animation: one-fade var(--t-mid) var(--ease-out); }
/* 会话里新出现的：消息、建议、确认卡、数据卡、方案卡、配置卡 */
.one-user.is-enter, .one-answer.is-enter { animation: one-rise var(--t-mid) var(--ease-out); }
.one-answer .is-enter { animation: one-rise var(--t-slow) var(--ease-out) .06s both; }
.one-proc > li.is-enter, .one-proc.is-enter > li { animation: one-bar-in var(--t-mid) var(--ease-out) both; }
.one-proc.is-enter > li:nth-child(2) { animation-delay: .03s; } .one-proc.is-enter > li:nth-child(3) { animation-delay: .06s; }
.one-proc.is-enter > li:nth-child(4) { animation-delay: .09s; } .one-proc.is-enter > li:nth-child(n+5) { animation-delay: .12s; }
tr.is-enter { animation: one-fade var(--t-mid) var(--ease-out); }
/* 反馈的「哪里不对」表单 */
.one-fb .answer-feedback-comment { animation: one-bar-in var(--t-fast) var(--ease-out); }
/* 浮窗：关闭缩小淡出；收进上沿朝下淡出；上沿新出现的小标签弹出 */
.one-float.is-leaving { animation: one-float-out var(--t-fast) var(--ease-in) forwards; pointer-events: none; }
.one-float.is-tucking { animation: one-tuck var(--t-fast) var(--ease-in) forwards; pointer-events: none; }
.one-tray-tab.is-enter { animation: one-chip-in var(--t-mid) var(--ease-out); }
/* 旁白收起成一行时 */
.one-rail:not([hidden]) { animation: one-fade var(--t-mid) var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .one-spin { animation-duration: 1s !important; }
  body.one:not(.is-ready)::after { animation: none; opacity: .9; }
}

/* 进行中的开头一行：沿旧版 /app「回复进行中」——Logo 呼吸（ar-breath），标题不加特效，下面一行活动说明。 */
@keyframes ar-breath { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.92); } }
.one-head.is-live .one-mark { transform-origin: center; animation: ar-breath 2.4s var(--ease-move) infinite; }
.one-activity { margin: 2px 0 0 26px; color: var(--sec); font-size: 13px; line-height: 1.6; }
.one-activity.is-slow { color: var(--amber-ink); }
.one-fb .answer-feedback-comment textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); }
/* 会话里打字时的一行轻提示（不是整块面板）；输入框上方「会话」标签 */
.one-panel.is-slim { border-color: var(--line-2); box-shadow: 0 6px 18px rgba(10,29,53,.08); }
.one-panel.is-slim .one-panel-list { padding: 4px; }
.one-tabs .one-tab-conv svg { color: var(--muted); }
.one-tabs .one-tab-conv[aria-selected="true"] svg { color: var(--teal); }

/* ---- 窗口：拉伸、内容缩放、右侧大窗、整页（悬浮窗口与画布综合方案 A 批） ---- */
.one-float-rz { position: absolute; z-index: 3; display: block; }
.one-float-rz[data-rz="n"] { top: -3px; left: 10px; right: 10px; height: 7px; cursor: ns-resize; }
.one-float-rz[data-rz="s"] { bottom: -3px; left: 10px; right: 10px; height: 7px; cursor: ns-resize; }
.one-float-rz[data-rz="e"] { right: -3px; top: 10px; bottom: 10px; width: 7px; cursor: ew-resize; }
.one-float-rz[data-rz="w"] { left: -3px; top: 10px; bottom: 10px; width: 7px; cursor: ew-resize; }
.one-float-rz[data-rz="ne"] { top: -3px; right: -3px; width: 13px; height: 13px; cursor: nesw-resize; }
.one-float-rz[data-rz="sw"] { bottom: -3px; left: -3px; width: 13px; height: 13px; cursor: nesw-resize; }
.one-float-rz[data-rz="nw"] { top: -3px; left: -3px; width: 13px; height: 13px; cursor: nwse-resize; }
.one-float-rz[data-rz="se"] { bottom: -3px; right: -3px; width: 13px; height: 13px; cursor: nwse-resize; }
.one-float-rz[data-rz="se"]::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-right: 1.5px solid #B5C2CA; border-bottom: 1.5px solid #B5C2CA; opacity: 0; transition: opacity var(--t-fast); }
.one-float:hover .one-float-rz[data-rz="se"]::after { opacity: 1; }
.one-float.is-docked-card .one-float-rz:not([data-rz="s"]), .one-float.is-mode-panel .one-float-rz, .one-float.is-mode-page .one-float-rz { display: none; }
.one-float-split { display: none; position: absolute; z-index: 4; left: -4px; top: 0; bottom: 0; width: 8px; cursor: col-resize; }
.one-float-split::after { content: ""; position: absolute; left: 3px; top: 50%; width: 2px; height: 36px; margin-top: -18px; border-radius: 1px; background: #C3CDD2; opacity: 0; transition: opacity var(--t-fast); }
.one-float.is-mode-panel .one-float-split { display: block; }
.one-float.is-mode-panel:hover .one-float-split::after, .one-float.is-mode-panel.is-resizing .one-float-split::after { opacity: 1; }
.one-float.is-mode-panel, .one-float.is-mode-page { box-shadow: 0 12px 40px rgba(10,29,53,.10); border-color: var(--line-2); }
.one-float.is-mode-panel .one-float-h, .one-float.is-mode-page .one-float-h { cursor: default; height: 40px; padding-left: 12px; }
.one-float.is-mode-panel .one-float-h b, .one-float.is-mode-page .one-float-h b { max-width: 60%; font-size: 13px; }
.one-float-kind { flex: none; height: 18px; padding: 0 6px; border-radius: 4px; background: #EEF3F5; color: var(--sec); font-size: 11px; line-height: 18px; font-weight: 600; letter-spacing: .02em; }
.one-float-zoom { display: inline-flex; align-items: center; gap: 2px; }
.one-float-f .one-float-zoom button { min-width: 26px; height: 24px; padding: 0 6px; color: var(--sec); font-variant-numeric: tabular-nums; justify-content: center; }
.one-float.is-flash { animation: one-win-flash .7s var(--ease-out); }
@keyframes one-win-flash { 0% { box-shadow: 0 0 0 3px rgba(83,191,213,.45), var(--sh-top); } 100% { box-shadow: var(--sh-top); } }
.one-win-menu { padding: 6px; display: flex; flex-direction: column; min-width: 160px; }
.one-win-menu > :is(a, button) { display: flex; align-items: center; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; text-decoration: none; cursor: pointer; }
.one-win-menu > :is(a, button):hover { background: var(--soft); }
@media (prefers-reduced-motion: reduce) { .one-float.is-flash { animation: none; } }

/* ---- 「窗口」：收纳（打开着的 / 我的浮窗 / 最近关掉的）与「我的浮窗」整页 ---- */
/* 和「任务」同一种样子：常规字重、正文色；什么都没有时浅一档。 */
.one-chip.one-win { padding: 0 10px; gap: 6px; font-weight: 400; font-size: 13px; color: var(--body); }
.one-chip.one-win.is-empty { color: var(--muted); }
.one-pop.is-windows { width: min(460px, var(--cw)); }
.one-win-body { display: flex; flex-direction: column; gap: 12px; max-height: min(460px, 60vh); overflow-y: auto; padding: 4px 2px; }
.one-win-g h4 { margin: 0 0 4px; padding: 0 8px; color: var(--sec); font-size: 12px; font-weight: 600; }
.one-win-g h4 small { color: var(--muted); font-weight: 400; }
.one-win-g > .one-small { margin: 0; padding: 2px 8px 4px; }
.one-win-row { display: flex; align-items: center; gap: 6px; border-radius: 8px; transition: background var(--t-fast); animation: one-bar-in var(--t-fast) var(--ease-out); }
.one-win-row:hover { background: var(--soft); }
.one-win-open { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 7px 8px; border: 0; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.one-win-open > .one-float-kind { grid-row: 1 / 3; }
.one-win-open b { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-win-open small { grid-column: 2; min-width: 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-win-row .one-switch { flex: none; margin-right: 6px; }
.one-win-row > .one-ib { flex: none; margin-right: 4px; color: #9AAAB6; }
.one-wpage { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; }
.one-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.one-wcard { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(10,29,53,.04); animation: one-rise var(--t-mid) var(--ease-out) both; transition: border-color var(--t-mid), box-shadow var(--t-mid); }
.one-wcard.is-open { border-color: #9FD2DE; box-shadow: 0 0 0 1px #CBE7EE inset; }
.one-wcard > header { display: flex; align-items: center; gap: 8px; min-width: 0; }
.one-wcard > header b { min-width: 0; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-wcard-d { margin: 0; color: var(--sec); font-size: 13px; line-height: 1.6; }
.one-wcard-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.one-wcard .cn-link.is-warn { color: var(--amber-ink); }
.one-wvers { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; padding: 0; list-style: none; }
.one-wvers li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.one-wvers li b { flex: none; font-weight: 500; color: var(--ink); }
.one-wvers li span { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-wvers li em { flex: none; font-style: normal; color: var(--teal); font-size: 12px; }
.one-wpage-h { margin: 8px 0 0; color: var(--sec); font-size: 13px; font-weight: 600; }
.one-wgones { display: flex; flex-direction: column; gap: 4px; }
.one-wgone { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: var(--soft-2); font-size: 13px; }
.one-wgone b { font-weight: 500; color: var(--sec); } .one-wgone small { flex: 1; color: var(--muted); }
.one-wempty { padding: 28px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--sec); }
.one-wempty b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; } .one-wempty p { margin: 0 auto; max-width: 460px; font-size: 13px; line-height: 1.7; }

/* ---- 文件预览：Excel 报表、拆解稿（Markdown / PDF）、回答全文（综合方案 A3） ---- */
.one-xl { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fff; }
.one-xl-grid { flex: 1; min-height: 0; overflow: auto; outline: none; }
.one-xl-grid table { border-collapse: separate; border-spacing: 0; font-size: 12.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.one-xl-grid th, .one-xl-grid td { height: 26px; padding: 3px 8px; border-right: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3); white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; text-align: left; vertical-align: middle; }
.one-xl-grid td { color: var(--body); background: #fff; }
.one-xl-grid td.is-num { text-align: right; }
.one-xl-grid thead th { position: sticky; top: 0; z-index: 2; background: var(--soft-2); color: var(--muted); font-weight: 500; font-size: 11.5px; text-align: center; border-bottom-color: var(--line-2); }
.one-xl-grid tbody th { position: sticky; left: 0; z-index: 1; min-width: 34px; background: var(--soft-2); color: var(--faint); font-weight: 400; font-size: 11.5px; text-align: right; border-right-color: var(--line-2); }
.one-xl-grid thead th.one-xl-corner { left: 0; z-index: 3; }
.one-xl-grid tr.is-head td { position: sticky; top: 26px; z-index: 1; background: #F7FAFB; color: var(--ink); font-weight: 600; border-bottom-color: var(--line-2); }
.one-xl-grid tbody tr:hover td { background: #F4FAFC; }
.one-xl-grid tbody tr.is-head:hover td { background: #F7FAFB; }
.one-xl-tabs { flex: none; display: flex; align-items: center; gap: 2px; padding: 4px 6px; border-top: 1px solid var(--line-2); background: var(--soft-2); overflow-x: auto; }
.one-xl-tabs button { flex: none; height: 26px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--sec); font: inherit; font-size: 12.5px; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.one-xl-tabs button:hover { background: #E9F0F2; }
.one-xl-tabs button[aria-selected="true"] { background: #fff; color: var(--teal); font-weight: 600; box-shadow: 0 0 0 1px var(--line-2); }
.one-xl-tabs span { padding: 0 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.one-xl-note { flex: none; margin: 0; padding: 6px 12px; border-top: 1px solid var(--line-3); color: var(--muted); font-size: 12px; }
.one-xl-empty { margin: 0; padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }
.one-float-b:has(> .one-xl), .one-float-b:has(> .one-pdf) { display: flex; flex-direction: column; overflow: hidden; }
.one-float-b > .one-xl, .one-float-b > .one-pdf { flex: 1; min-height: 0; }
.one-pdf { display: flex; background: #EEF2F4; }
.one-pdf iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: #EEF2F4; }
.one-doc { padding: 14px 18px 22px; font-size: 14px; }
.one-float.is-mode-page .one-doc { max-width: 820px; margin: 0 auto; padding: 24px 28px 40px; font-size: 15px; }
.one-xl-open { display: flex; align-items: center; gap: 10px; padding: 0 14px 12px 62px; margin-top: -4px; }
.one-xl-open button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid #CFE0EA; border-radius: 7px; background: #fff; color: var(--teal); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.one-xl-open button:hover { background: #EEF6F8; border-color: #9FD2DE; }
.one-xl-open span { color: var(--muted); font-size: 12px; }
.one-study-docs { display: flex; gap: 6px; padding: 0 10px 10px; }
.one-study-docs button { flex: 1; height: 28px; border: 1px solid var(--line-2); border-radius: 7px; background: #fff; color: var(--teal); font: inherit; font-size: 12.5px; cursor: pointer; transition: background var(--t-fast); }
.one-study-docs button:hover { background: #EEF6F8; }
@media (max-width: 520px) { .one-xl-open { padding-left: 14px; } }
/* 窄窗口：头部先让出类型标签和话题，按钮一个都不被挤掉。 */
.one-float { container-type: inline-size; container-name: one-win; }
@container one-win (max-width: 300px) {
  .one-float-h .one-float-kind, .one-float-h .one-float-topic, .one-float-h .one-float-badge { display: none; }
  .one-float-h b { max-width: none; }
}

/* ---- 画布 2.0：消息类组件的发送预览确认条（画在沙箱外，这一版不开放发送） ---- */
.one-widget-send { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-top: 1px solid #F1D9B9; background: #FFF8EE; animation: one-bar-in var(--t-fast) var(--ease-out); }
.one-widget-send > div { flex: 1; min-width: 0; }
.one-widget-send b { display: block; color: var(--amber-ink); font-size: 12px; font-weight: 600; }
.one-widget-send p { margin: 2px 0; color: var(--ink); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 84px; overflow: auto; }
.one-widget-send small { color: var(--muted); font-size: 11.5px; }
.one-widget-send > span { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.one-widget-send .cn-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---- 文档附件：输入框里的文件、消息里的文件、拖进来时的提示（综合方案 C 批） ---- */
.one-attach-docs { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.one-attach-doc { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 30px; padding: 0 4px 0 6px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 12.5px; animation: one-chip-in var(--t-fast) var(--ease-out); }
.one-attach-doc[data-doc-open] { cursor: pointer; }
.one-attach-doc[data-doc-open]:hover { border-color: #9FD2DE; background: #F4FAFC; }
.one-attach-doc .one-attach-kind { flex: none; }
.one-attach-doc .one-attach-name { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.one-attach-doc .one-attach-state { flex: none; color: var(--muted); font-size: 11.5px; }
.one-attach-doc.is-error { border-color: #F1C7C2; background: #FDF6F5; }
.one-attach-doc.is-error .one-attach-state { color: var(--red); }
.one-attach-doc button { flex: none; width: 22px; height: 22px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.one-attach-doc button:hover { background: var(--soft); color: var(--ink); }
.one-doc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.one-doc-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 30px; padding: 0 10px 0 6px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.one-doc-chip:hover { border-color: #9FD2DE; background: #F4FAFC; }
.one-doc-chip b { min-width: 0; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--ink); }
.one-doc-pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--code); font-size: 12.5px; line-height: 1.6; color: var(--body); }
body.is-file-drag .one-box { border-color: #4FBBD3; border-top-color: #8FE2F0; box-shadow: 0 0 0 3px rgba(83,191,213,.10), 0 0 16px rgba(83,191,213,.30), 0 12px 28px -16px rgba(10,29,53,.10); }
body.is-file-drag .one-box::after { content: "松手就上传 · 图片、视频、PDF、Excel、Word、CSV、Markdown、TXT"; position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: rgba(240, 249, 251, .92); color: var(--teal); font-size: 14px; font-weight: 600; pointer-events: none; z-index: 5; animation: one-chip-in var(--t-fast) var(--ease-out); }

/* 状态图标（画板「左侧会话栏：一行一条，状态用图标」）：任务在前、回复在后，最多两个；文字在 title 与读屏标签里。 */
.one-mk { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 14px; height: 14px; font-style: normal; color: var(--muted); }
i.one-mk > svg { display: block; width: 14px; height: 14px; color: inherit; }
.one-mk.is-task-run { color: #2A9BB8; }
.one-mk.is-task-run > svg { animation: one-spin 3.2s linear infinite; }
.one-mk.is-task-run.is-live > svg { animation-duration: 1.4s; }
.one-mk.is-task-you { color: var(--amber); }
.one-mk.is-task-pause, .one-mk.is-task-done, .one-mk.is-pin { color: var(--muted); }
.one-mk.is-pin > svg { width: 13px; height: 13px; }
.one-mk.is-sched-on { color: #2A9BB8; }
.one-mk.is-reply-running::before { content: ""; width: 13px; height: 13px; box-sizing: border-box; border: 2px solid #BDE7F0; border-top-color: #2A9BB8; border-radius: 50%; animation: one-spin var(--spin) linear infinite; }
/* UI 10-31 走查：和铃铛同一个规矩——等你的点出现时光圈两次就停，不一直呼吸（一直动的只留给“正在跑”）。 */
.one-mk.is-reply-waiting::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E0904A; animation: one-mk-ring 1.8s var(--ease-out) 2; }
.one-mk.is-reply-unread::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3FB591; animation: one-mk-pop var(--t-slow) var(--ease-out); }
.one-mk.is-reply-failed { color: var(--red); animation: one-mk-pop var(--t-slow) var(--ease-out); }
@keyframes one-mk-ring { 0% { box-shadow: 0 0 0 0 rgba(180,87,10,.45); } 70% { box-shadow: 0 0 0 5px rgba(180,87,10,0); } 100% { box-shadow: 0 0 0 0 rgba(180,87,10,0); } }
@keyframes one-mk-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.one-marks { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.one-row .one-marks { margin-left: -2px; }
.one-row-ic > .one-mk { vertical-align: middle; }
.one-doing > .one-mk { margin-left: -1px; }
/* 任务弹层：每行前面一个状态图标，标题和说明在右边两行。 */
.one-task-open.has-mk { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center; justify-items: start; }
.one-task-open.has-mk > .one-mk { grid-row: 1 / span 2; align-self: center; }
.one-task-open.has-mk > b, .one-task-open.has-mk > span { grid-column: 2; }
@media (prefers-reduced-motion: reduce) { .one-mk, .one-mk > svg, .one-mk::before { animation: none !important; } }

/* 滚动条：全站统一一种细滑块，紧贴所在一侧的边缘（不留轨道、滑块不内缩）。悬停时深一点。
   Chrome / Safari 用 ::-webkit-scrollbar 画；不支持的浏览器（Firefox）用标准的 thin。 */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-thumb { border: 0; border-radius: 999px; background: rgba(94, 111, 126, .32); }
  ::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active { background: rgba(94, 111, 126, .58); }
  /* 旧版搬来的正文样式里那几处（表格、弹窗）原来是 9px 带内缩，也统一。 */
  html .one-app:not(x-a) :is(dialog, .member-dialog-scroll, .workspace-action-editor, .table-scroll, .ads-store-list)::-webkit-scrollbar { width: 6px; height: 6px; }
  html .one-app:not(x-a) :is(dialog, .member-dialog-scroll, .workspace-action-editor, .table-scroll, .ads-store-list)::-webkit-scrollbar-thumb { border: 0; background: rgba(94, 111, 126, .32); }
  html .one-app:not(x-a) :is(dialog, .member-dialog-scroll, .workspace-action-editor, .table-scroll, .ads-store-list)::-webkit-scrollbar-thumb:hover { background: rgba(94, 111, 126, .58); }
}
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: rgba(94, 111, 126, .4) transparent; }
}

/* 「常用」的管理（沿旧版快捷入口）：右侧「⋯」和拖动手柄悬停才出现；拖着的那一行变淡，影子跟手；插入位置是一条青色线；拖到左边分类上分类标亮。 */
.one-pop-row.is-shortcut { position: relative; }
.one-pop-row .one-row-tool { flex: none; width: 26px; height: 26px; color: var(--muted); opacity: 0; transition: opacity var(--t-fast); }
.one-pop-row:hover .one-row-tool, .one-pop-row .one-row-tool:focus-visible, .one-pop-row.is-picked .one-row-tool { opacity: 1; }
.one-drag-handle { margin-right: 4px; cursor: grab; touch-action: none; }
.one-drag-handle:active { cursor: grabbing; }
@media (hover: none) { .one-pop-row .one-row-tool { opacity: 1; } }
.one-pop-row.is-picked { opacity: .35; }
.one-pop-row.is-drop-before::before, .one-pop-row.is-drop-after::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: var(--cyan); pointer-events: none; }
.one-pop-row.is-drop-before::before { top: -1px; } .one-pop-row.is-drop-after::after { bottom: -1px; }
.one-pop-body nav button.is-drop { background: #E9F6F9; box-shadow: inset 0 0 0 1px var(--cyan); color: var(--teal); }
.one-drag-ghost { position: fixed; z-index: 120; pointer-events: none; background: #fff; border-radius: 8px; box-shadow: var(--sh-menu); opacity: .95; }
.one-drag-ghost .one-row-tool { opacity: 1; }
body.is-shortcut-dragging, body.is-shortcut-dragging * { cursor: grabbing !important; user-select: none; }
.one-pop-btn { flex: none; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-pop-btn:hover { background: var(--soft); }
.one-pop-btn:disabled { opacity: .5; cursor: default; }
.one-pop-new { margin-top: 4px; justify-content: flex-start !important; color: var(--teal) !important; font-size: 12.5px !important; }
.one-pop-hint { font-style: normal; color: var(--amber-ink); }
.one-pop-status { color: var(--sec); }
.one-pop footer .one-link { margin-left: 8px; }
.one-shortcut-menu { padding: 6px; display: flex; flex-direction: column; min-width: 220px; }
.one-shortcut-menu .one-menu-head { padding: 6px 10px 8px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line-3); margin-bottom: 4px; }
.one-shortcut-menu .one-menu-head b { font-size: 13px; } .one-shortcut-menu .one-menu-head small { font-size: 11.5px; color: var(--muted); }
.one-shortcut-menu > button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.one-shortcut-menu > button:hover { background: var(--soft); }
.one-shortcut-menu > button small { font-size: 11.5px; color: var(--muted); }
.one-shortcut-menu > button.is-warn { color: var(--amber-ink); }
.one-shortcut-menu > button:disabled { opacity: .5; cursor: default; }
.one-shortcut-menu > button.is-armed { color: var(--red); font-weight: 600; } /* PD 11-17：删除类「再点一次」统一红字 */

/* ---- 综-11：附件旁的授权按钮与普通操作倒计时 ---- */
.one-auth { position: relative; }
.one-auth.is-full { color: var(--amber); background: #FBF1E6; }
.one-auth.is-full::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px #FBF1E6; }
.one-pop.is-auth { width: min(320px, var(--cw)); }
.one-auth-menu > button, .one-auth-full > button { align-items: flex-start; }
.one-auth-menu i { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 1.5px solid #9AAAB6; box-sizing: border-box; }
.one-auth-menu .is-on > i, .one-auth-full.is-on > button > i { border: 4px solid var(--navy); }
.one-auth-menu b { display: block; font-size: 13px; font-weight: 600; }
.one-auth-menu small { display: block; margin: 0; font-size: 12px; color: var(--muted); }
.one-auth-full { border-radius: 8px; }
.one-auth-full.is-on { background: var(--soft); }
.one-auth-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px 10px 32px; }
.one-auth-caps label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.one-auth-caps input { height: 28px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 13px; color: var(--ink); background: #FFFFFF; }
.one-auth-go { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); }
.one-auth-go button { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--navy); color: #FFFFFF; font-size: 12px; cursor: pointer; }
.one-auth-note { margin: 0; padding: 0 10px 10px 32px; font-size: 12px; color: var(--amber-ink); }
.one-auth.is-paused::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #FFFFFF; }
.one-auth-paused { margin: 0 6px 6px; padding: 8px 10px; border-radius: 8px; background: #F7E6E4; color: var(--red); font-size: 12px; line-height: 1.5; }
.one-auto-count { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--amber-ink); }
.one-auth-full > button { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--body); font-size: 14px; text-align: left; cursor: pointer; }
.one-auth-full > button:hover:not(:disabled) { background: var(--soft); }
.one-auth-full > button:disabled { opacity: .5; cursor: default; }
.one-pop.is-auth header { flex-direction: column; align-items: flex-start; gap: 2px; }

/* ---- 常用弹层：和旧版 /app「单次处理」同一个样子和用法（搜索、分类、入口卡、拖动、常驻） ---- */
.one-pop.is-common { width: min(460px, calc(100vw - 32px)); }
.one-qa { flex: 1 1 auto; min-height: 0; max-height: min(360px, calc(100vh - 200px)); display: grid; grid-template-columns: 136px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
.one-qa-head { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 4px; padding: 10px 10px 9px; border-bottom: 1px solid var(--line-3); }
.one-qa-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 30px; margin-right: 2px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.one-qa-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); }
.one-qa-search svg { flex: none; }
.one-qa-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.one-qa-search input::placeholder { color: #7A8B98; opacity: 1; }
.one-qa-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.one-qa-search button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.one-qa-search button:hover { background: var(--soft); color: var(--ink); }
.one-qa-search button[hidden] { display: none; }
.one-qa-adjust, .one-qa-more { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--body); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.one-qa-more { width: 28px; padding: 0; color: var(--sec); }
.one-qa-adjust:hover:not(:disabled), .one-qa-more:hover, .one-qa-more[aria-expanded="true"] { background: var(--soft); color: var(--ink); }
.one-qa-adjust:disabled { opacity: .5; cursor: not-allowed; }
.one-qa-rail { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow-y: auto; padding: 6px; border-right: 1px solid var(--line-3); background: var(--soft-2); }
.one-qa-rail > button { display: flex; align-items: center; gap: 7px; width: 100%; height: 32px; flex: none; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--body); font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: background-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.one-qa-rail > button > i { width: 14px; height: 14px; flex: none; background: var(--qa-tone, var(--sec)); -webkit-mask: var(--qa-icon) center / 14px no-repeat; mask: var(--qa-icon) center / 14px no-repeat; }
.one-qa-rail > button > span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.one-qa-rail > button > small { color: var(--muted); font-size: 11px; }
.one-qa-rail > button:hover { background: rgba(255,255,255,.7); }
.one-qa-rail > button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(10,29,53,.08); }
.one-qa-list { grid-column: 2; grid-row: 2; min-height: 0; overflow-y: auto; padding: 6px 8px; scrollbar-width: thin; }
.one-qa-group { display: none; flex-direction: column; gap: 4px; }
.one-qa-group.is-on { display: flex; }
.one-qa[data-searching] .one-qa-rail { display: none; }
.one-qa[data-searching] .one-qa-list { grid-column: 1 / -1; }
.one-qa[data-searching] .one-qa-group { display: flex; }
.one-qa[data-searching] .one-qa-group + .one-qa-group { margin-top: 4px; }
.one-qa .is-miss { display: none !important; }
.one-qa-empty { margin: 8px 4px; font-size: 12.5px; color: var(--sec); }
.one-qa-tile { position: relative; border-radius: 9px; }
.one-qa-btn { position: relative; display: flex; align-items: center; width: 100%; min-height: 42px; margin: 0; padding: 5px 30px 5px 38px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.one-qa-btn::before { content: ""; position: absolute; left: 8px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; background: var(--qa-tint, var(--soft)); }
.one-qa-btn::after { content: ""; position: absolute; left: 13.5px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; background: var(--qa-tone, var(--sec)); -webkit-mask: var(--qa-icon) center / 11px no-repeat; mask: var(--qa-icon) center / 11px no-repeat; }
.one-qa-btn:hover:not(:disabled) { border-color: #9AAAB6; background: var(--soft-2); }
.one-qa-btn:disabled { opacity: .6; cursor: not-allowed; }
.one-qa-btn.is-cursor { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); }
.one-qa-btn > span { display: flex; flex-direction: column; min-width: 0; width: 100%; line-height: 1.28; }
.one-qa-btn b { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-qa-btn small { overflow: hidden; font-size: 11.5px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.one-qa-btn em { font-size: 11.5px; font-style: normal; color: var(--amber-ink); }
.one-qa-grip { position: absolute; top: 50%; right: 4px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 22px; height: 28px; margin-top: -14px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); opacity: 0; cursor: grab; transition: opacity var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); touch-action: none; }
.one-qa-tile:is(:hover, :focus-within) .one-qa-grip, .one-qa-grip:focus-visible { opacity: 1; }
.one-qa-grip:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.one-qa-grip:disabled { display: none; }
@media (hover: none) { .one-qa-grip { opacity: 1; } }
.one-qa-tile.is-dragging { outline: 1px dashed #B4BFC8; outline-offset: -1px; background: var(--soft-2); }
.one-qa-tile.is-dragging > * { visibility: hidden; }
.one-qa-ghost { border-radius: 9px; box-shadow: 0 14px 32px rgba(10,29,53,.16); cursor: grabbing; will-change: left, top, transform; }
.one-qa-ghost .one-qa-btn { border-color: #9AAAB6; background: #fff; }
.one-qa-ghost .one-qa-grip { opacity: 1; }
.one-qa-switch { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.one-qa-tile:has(.one-qa-switch) .one-qa-btn { padding-right: 92px; }
.one-qa-foot { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 12px; border-top: 1px solid var(--line-3); font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.one-qa-status { color: var(--sec); }
.one-qa-pin { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 4px; border: 0; border-radius: 6px; background: transparent; color: var(--body); font: inherit; font-size: 11.5px; cursor: pointer; }
.one-qa-pin:hover { color: var(--ink); }
.one-qa-pin > i { position: relative; width: 26px; height: 15px; flex: none; border-radius: 8px; background: var(--line); transition: background-color var(--t-fast) var(--ease-out); }
.one-qa-pin > i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(10,29,53,.2); transition: left var(--t-fast) var(--ease-out); }
.one-qa-pin[aria-checked="true"] > i { background: var(--navy); }
.one-qa-pin[aria-checked="true"] > i::after { left: 13px; }
:is(.one-qa-search button, .one-qa-adjust, .one-qa-more, .one-qa-rail > button, .one-qa-btn, .one-qa-grip, .one-qa-pin):focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
/* 常驻显示常用项：输入框空着、没在回复时，凸起一直升着，后面跟前 3 个常用 */
.one-qa-pins { display: none; align-items: center; gap: 2px; height: 27px; box-sizing: border-box; padding: 0 6px 1px 4px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: #fff; }
.one-tabs .one-qa-pins button { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 7px 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--body); font-size: 12px; font-weight: 500; }
.one-tabs .one-qa-pins button:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.one-qa-pins > button > i { width: 12px; height: 12px; flex: none; background: var(--qa-tone, var(--sec)); -webkit-mask: var(--qa-icon) center / 12px no-repeat; mask: var(--qa-icon) center / 12px no-repeat; }
.one-wrap:has(#draft:placeholder-shown) .one-bump.is-pinned:not(.is-busy) .one-tabs { opacity: 1; transform: none; pointer-events: auto; }
.one-wrap:has(#draft:placeholder-shown) .one-bump.is-pinned:not(.is-busy) .one-sliver { opacity: 0; }
.one-wrap:has(#draft:placeholder-shown) .one-bump.is-pinned:not(.is-busy) .one-qa-pins { display: flex; }
body.is-shortcut-dragging, body.is-shortcut-dragging * { cursor: grabbing !important; user-select: none; }
@media (prefers-reduced-motion: reduce) { .one-qa-btn, .one-qa-rail > button, .one-qa-pin > i, .one-qa-pin > i::after { transition: none; } }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-tone="cyan"] { --qa-tone:#2A9BB8; --qa-tint:#E3F4F8; }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-tone="green"] { --qa-tone:#18765B; --qa-tint:#E2F4EC; }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-tone="violet"] { --qa-tone:#6E6AC0; --qa-tint:#ECEBF8; }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-tone="slate"] { --qa-tone:#3B5A7A; --qa-tint:#E8EEF4; }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="bolt"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13%203L5%2014h6l-1%207%208-11h-6l1-7z%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="chart"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019V11M11%2019V5M17%2019v-6M3%2019.5h18%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="play"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%209.5v5l4-2.5z%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="bag"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%208h14l-1%2012H6L5%208z%22%2F%3E%3Cpath%20d%3D%22M9%208a3%203%200%20016%200%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="person"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2020a7%207%200%200114%200%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="box"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%208l-8-4.5L4%208v8l8%204.5%208-4.5z%22%2F%3E%3Cpath%20d%3D%22M4%208l8%204.5L20%208M12%2012.5v8%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="clock"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Cpath%20d%3D%22M12%208v4l3%202%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="chat"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2012a8%208%200%2001-11.6%207.1L4%2020l1-4.4A8%208%200%201120%2012z%22%2F%3E%3C%2Fsvg%3E"); }
:is(.one-qa-rail > button, .one-qa-group, .one-qa-pins > button, .one-qa-ghost)[data-group-icon="spark"] { --qa-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204l1.9%206.1L20%2012l-6.1%201.9L12%2020l-1.9-6.1L4%2012l6.1-1.9z%22%2F%3E%3C%2Fsvg%3E"); }

.one-scope-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #ddd; border-radius: 16px; padding: 24px; }
.one-scope-dialog form { display: grid; gap: 14px; }
.one-scope-dialog label { display: block; }
.one-scope-dialog fieldset label { display: inline-block; margin: 5px; }
.one-scope-dialog::backdrop { background: #0005; }
/* #1850：常用「邀约达人」两步浮窗（选商品 → 佣金与条件），与工作区同一口径。 */

/* 窄屏将会话操作放在第二行，保留知识、通知和账号入口的独立命中区域。 */
@media (max-width: 720px) {
  .one-top { height: 104px; align-items: flex-start; padding-top: 8px; }
  .one-top-r { height: 40px; align-items: center; }
  .one-title, .one-title.is-wide { left: 16px; right: 16px; top: 56px; transform: none; max-width: none; }
  body:not(.is-home) .one-col { padding-top: 112px; }
}
/* 输入框底行的入口按钮（达人合作工作区 · 任务 · 我的浮窗）：只有图标和数字，名称悬停或键盘选中时出现（2026-10-22 Owner 定）。 */
.one-chip.one-chip-ic { position: relative; gap: 5px; padding: 0 9px; min-width: 34px; justify-content: center; font-weight: 500; color: var(--body); }
.one-chip.one-chip-ic.is-empty { color: var(--muted); }
.one-chip-ic > svg, .one-chip-ic > .one-mk { flex: none; width: 15px; height: 15px; }
.one-chip-ic > .one-mk > svg { width: 15px; height: 15px; }
.one-chip-n { font-size: 12.5px; font-weight: 600; font-style: normal; line-height: 1; }
.one-chip-ic[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 3px);
  padding: 4px 8px; border-radius: 6px; background: #13253D; color: #FFFFFF; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity var(--t-fast) var(--ease-out) .2s, transform var(--t-fast) var(--ease-out) .2s; }
.one-chip-ic[data-tip]:hover::after, .one-chip-ic[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .one-chip-ic[data-tip]::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .one-chip-ic[data-tip]::after { transition: none; } }

/* 回答底下的操作（复制全文 · 追问这条回答 · 在窗口里看 · 本轮用了什么）：只有图标，名称悬停或键盘选中时出现；复制后变对勾（2026-10-22 Owner 定）。 */
.one-foot .one-foot-ic { position: relative; width: 30px; padding: 0; justify-content: center; }
.one-foot .one-foot-ic > svg { flex: none; width: 15px; height: 15px; }
.one-foot .one-foot-ic.is-flash { color: var(--teal); }
.one-foot-ic[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 3px);
  padding: 4px 8px; border-radius: 6px; background: #13253D; color: #FFFFFF; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity var(--t-fast) var(--ease-out) .2s, transform var(--t-fast) var(--ease-out) .2s; }
.one-foot-ic[data-tip]:hover::after, .one-foot-ic[data-tip]:focus-visible::after, .one-foot-ic.is-flash::after { opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: none) { .one-foot-ic[data-tip]:not(.is-flash)::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .one-foot-ic[data-tip]::after { transition: none; } }

/* ---- U8-2 常用：受限条目只标橙点，原因说一次（2026-10-22，UI） ---- */
.one-qa-dot { display: inline-block; flex: none; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--amber, #D97706); vertical-align: middle; }
.one-qa-notice { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 4px; margin: 0; padding: 6px 12px; border-bottom: 1px solid var(--line-3); background: var(--soft); font-size: 12px; color: var(--body); }
.one-qa-notice > span { flex: 1; min-width: 0; }
.one-qa-notice .one-link { flex: none; font-size: 12px; }
.one-qa:has(> .one-qa-notice) { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.one-qa:has(> .one-qa-notice) :is(.one-qa-rail, .one-qa-list) { grid-row: 3; }
.one-qa:has(> .one-qa-notice) .one-qa-foot { grid-row: 4; }

/* ---- U9-a 达人工作区没授权时灰着，不再消失（2026-10-22，UI） ---- */
.one-chip.one-chip-ic.is-locked { color: var(--muted); border-style: dashed; background: transparent; }
.one-chip.one-chip-ic.is-locked svg { opacity: .55; }

/* ---- U10-2 顶栏「⋯」菜单：置顶、记忆、归档带文字（2026-10-22，UI） ---- */
.one-conv-menu { width: 248px; }
.one-conv-menu > button { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; text-align: left; }
.one-conv-menu small { margin-left: 0; font-size: 11.5px; }

/* ---- U11 手机宽度：店铺按钮只显示头像，附件和发送回到同一行（2026-10-22，UI） ---- */
@media (max-width: 520px) {
  #shopChip > span:not(.one-shop-mark) { display: none; }
  #shopChip { gap: 4px; padding-right: 6px; }
  /* 发送只留箭头：「发送」两个字还在按钮里，读屏照读 */
  .one-send { width: 40px; padding: 0; gap: 0; justify-content: center; font-size: 0; }
}

/* ---- U4 浮窗收成一条：内容挪到别处时（素材表放大到中间）只留标题和一行（2026-10-23，UI） ---- */
.one-float.is-compact { height: auto !important; max-height: none !important; }
.one-float.is-compact :is(.one-float-c, .one-float-n, .one-float-f) { display: none; }
.one-float.is-compact .one-float-b { flex: none; overflow: visible; }

/* ---- U5 开启完全授权前的确认面板（2026-10-23，UI） ---- */
.one-auth-consent { grid-column: 1 / -1; display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--line-3); font-size: 12px; color: var(--body); }
.one-auth-consent .one-auth-h { margin: 4px 0 0; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.one-auth-consent .one-auth-h:first-child { margin-top: 0; }
.one-auth-consent ul { margin: 0; padding-left: 16px; line-height: 1.5; }
.one-auth-first { margin: 6px 0 0; color: var(--amber-ink); }
.one-pop.is-auth:has(.one-auth-caps:not([hidden])) { width: min(400px, var(--cw)); }
.one-pop.is-auth > .one-auth-menu { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.one-pop.is-auth > :is(header, footer, .one-auth-paused) { flex: none; }

/* ---- 回答后的按钮三种外形（2026-10-23，UI；《方案-回答后的按钮统一》）----
   共用类名，回答里的问题卡、确认卡、「接着做」（R）和创造模式、交办、托管（UI）都用这一套：
   .ax-choice  要你选：.ax-q（问题 + .ax-state）、.ax-why、.ax-opts > .ax-opt（.ax-dot、.ax-opt-t、.ax-rec）、.ax-foot > .ax-other
   .ax-confirm 要你确认：.ax-head、.ax-body、.ax-actions > .ax-btn / .ax-btn.is-primary（整个回答区只有这里用深色）
   .ax-next    可以接着做：.ax-label + .ax-chip（短标题，完整说明放 data-tip）+ .ax-edit（铅笔：改一改再发） */
.ax-choice { overflow: hidden; }
.ax-q { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px 4px; }
.ax-q b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ax-state { margin-left: auto; flex: none; font-size: 12px; color: var(--teal); }
.ax-why { margin: 0; padding: 0 16px; font-size: 13px; color: var(--sec); line-height: 1.6; }
.ax-opts { display: flex; flex-direction: column; gap: 2px; padding: 8px 8px 6px; }
.ax-opt { position: relative; display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--body); text-align: left; font: inherit; cursor: pointer; }
.ax-opt:hover:not(:disabled), .ax-opt:focus-visible { background: var(--soft); }
.ax-opt:disabled { cursor: default; opacity: .6; }
.ax-dot { flex: none; width: 16px; height: 16px; margin-top: 2px; border: 1.5px solid var(--line-2, #C9D3DA); border-radius: 50%; background: #FFFFFF; transition: border-color var(--t-fast), border-width var(--t-fast); }
.ax-opt:hover:not(:disabled) .ax-dot { border-color: var(--navy); }
.ax-opt[aria-checked="true"] .ax-dot { border: 5px solid var(--navy); }
.ax-opt-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ax-opt-t b { font-size: 14px; font-weight: 600; color: var(--ink); }
.ax-opt-t > span { font-size: 13px; color: var(--sec); line-height: 1.55; }
.ax-opt-t small { font-size: 12px; color: var(--amber-ink); }
.ax-rec { flex: none; margin-top: 2px; padding: 0 7px; height: 20px; border-radius: 10px; background: #E3F4F8; color: var(--teal); font-size: 12px; font-style: normal; line-height: 20px; }
.ax-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 8px 16px 12px; font-size: 12px; color: var(--muted); }
.ax-other { padding: 0; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--teal); cursor: pointer; }
.ax-other:hover { text-decoration: underline; }
.ax-confirm .ax-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ax-btn { height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; color: var(--body); font: inherit; font-size: 13px; cursor: pointer; }
.ax-btn.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.ax-next { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ax-label { font-size: 12px; color: var(--muted); }
.ax-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 0; border-radius: 14px; background: var(--soft); color: var(--body); font: inherit; font-size: 13px; cursor: pointer; }
.ax-chip:hover { background: #E8EEF1; }
@media (prefers-reduced-motion: reduce) { .ax-dot { transition: none; } }

/* ================= One 界面（UI）· 10-24 一轮小修 =================
   V4：弹层开着时，它的按钮不再出悬停提示（按钮带 aria-expanded="true"）。
   V7：任务弹层空状态里的「交给极光长期盯着一件事」「广告经营托管」带一个 ›，看得出能点。 */
.one-chip-ic[aria-expanded="true"][data-tip]::after { display: none; }
.one-task-open[data-task-start] { position: relative; padding-right: 30px; }
.one-task-open[data-task-start]::after { content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.one-task-open[data-task-start]:hover::after { color: var(--ink); }
/* V8：手机上顶栏改成两行（PM 10-24）以后，设置页没有标题，第二行空着却把「回到对话」盖住了。设置页顶栏回到一行高。 */
@media (max-width: 720px) { body.is-settings .one-top { height: 64px; } }

/* 单次任务深度（UI 040 · 10-24）：输入框旁的思考强度 / 目标模式，回答上的本轮档位和目标进度 */
.one-chip.one-depth { gap: 5px; padding: 0 9px 0 7px; font-weight: 400; color: var(--sec); }
.one-chip.one-depth > svg { flex: none; }
.one-chip.one-depth.is-on { color: var(--ink); border-color: #B9CCD4; }
.one-chip.one-depth.is-goal { color: var(--teal); border-color: #9FCBD6; background: #EEF7F9; }
.one-chip.one-depth[aria-expanded="true"] { background: var(--soft); }
.one-chip.one-mode-btn { gap: 5px; padding: 0 9px 0 7px; font-weight: 400; color: var(--sec); }
.one-chip.one-mode-btn > svg { flex: none; }
.one-chip.one-mode-btn[aria-expanded="true"] { background: var(--soft); }
.one-mode-menu > button { display: flex; align-items: flex-start; gap: 10px; }
.one-mode-menu > button > svg:last-child { margin-left: auto; flex: none; color: var(--teal); }
.one-mode-ic { flex: none; display: inline-flex; width: 16px; justify-content: center; padding-top: 2px; color: var(--muted); }
.one-mode-ic.is-create { color: #5B3FA8; }
.one-mode-x { cursor: pointer; border-radius: 4px; }
.one-mode-x:hover { opacity: 1; background: rgba(91,63,168,.10); }
.one-pop.is-depth { width: min(340px, var(--cw)); overflow-y: auto; overscroll-behavior: contain; }
.one-depth-menu > button { align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
.one-depth-menu > button:disabled { opacity: .5; cursor: default; }
.one-depth-menu > button:disabled:hover { background: transparent; }
.one-depth-menu b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.one-depth-menu > button small { display: block; margin: 1px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.one-depth-dot { flex: none; width: 14px; height: 14px; margin-top: 2px; border-radius: 50%; border: 1.5px solid #9AAAB6; box-sizing: border-box; }
.one-depth-opt.is-on .one-depth-dot { border: 4px solid var(--navy); }
.one-depth-sw { flex: none; position: relative; width: 28px; height: 16px; margin-top: 1px; border-radius: 999px; background: #CBD5DB; transition: background var(--t-fast); }
.one-depth-sw > i { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(10, 29, 53, .2); transition: transform var(--t-fast); }
.one-depth-goal.is-on .one-depth-sw { background: var(--teal); }
.one-depth-goal.is-on .one-depth-sw > i { transform: translateX(12px); }
.one-foot .one-depth-note { margin-right: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.one-goal { display: grid; gap: 5px; margin: 10px 0 2px; }
.one-goal p { margin: 0; font-size: 12.5px; color: var(--sec); font-variant-numeric: tabular-nums; }
.one-goal-bar { height: 3px; border-radius: 999px; background: #E6ECEF; overflow: hidden; }
/* 040 · 10-26：办完 / 停下只写一行，不画条。 */
.one-goal-line { display: flex; align-items: center; gap: 6px; margin: 10px 0 2px; font-size: 12.5px; color: var(--sec); font-variant-numeric: tabular-nums; }
.one-goal-line.is-done svg { flex: none; color: #2F7D5B; }
.one-goal-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--teal); transition: width var(--t-slow); }
.one-goal[data-tone="wait"] { border-color: #EBD3B6; background: #FFFAF4; }
.one-goal[data-tone="wait"] .one-goal-bar > i { background: var(--amber); }
.one-goal[data-tone="wait"] p { color: var(--amber-ink); }
.one-goal[data-tone="done"] .one-goal-bar > i { background: var(--navy); }
.one-goal[data-tone="warn"] p, .one-goal[data-tone="idle"] p { color: var(--muted); }
.one-goal[data-tone="warn"] .one-goal-bar > i, .one-goal[data-tone="idle"] .one-goal-bar > i { background: #9AAAB6; }
@media (prefers-reduced-motion: reduce) { .one-depth-sw, .one-depth-sw > i, .one-goal-bar > i { transition: none; } }
@media (max-width: 720px) { .one-chip.one-depth > span { display: none; } .one-chip.one-depth { padding: 0 7px; } }
/* 手机上输入框底行放不下时收紧一点（思考强度按钮加进来以后，390 宽要一行放下发送）。 */
@media (max-width: 480px) { .one-tools { gap: 4px; } .one-tools .one-chip.one-chip-ic, .one-tools .one-chip.one-depth { min-width: 30px; padding: 0 6px; } .one-tools .one-icon-btn { width: 30px; } }

/* ================= 悬浮窗（F）· F1 修硬伤 =================
   拿出来的表格：回答里的表格样式只认「回答正文」里的表格，拿到浮窗里就只剩几行字。这里给浮窗里的表格补同一套样子（边框、表头底色、行线、数字等宽）。 */
.one-float .one-lifted .md-table { margin: 0; border: 1px solid #DEDEE1; border-radius: 11px; background: #FFFFFF; overflow: auto hidden; }
.one-float .one-lifted .md-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.one-float .one-lifted .md-table th { color: #1C1D20; background: #F1F1F2; padding: 8px 12px; font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; border-bottom: 1px solid #E2E2E4; }
.one-float .one-lifted .md-table td { color: #292B2E; padding: 8px 12px; white-space: nowrap; border-bottom: 1px solid #E2E2E4; font-variant-numeric: tabular-nums; }
.one-float .one-lifted .md-table tr:last-child td { border-bottom: 0; }

/* ================= 悬浮窗（F）· F2 右侧工作区 =================
   拿出来的东西默认进右侧工作区：上面一排标签，下面铺着在前面的那一样；左边的竖线拖动调宽；收起后是右边一条细栏。
   窄屏上工作区从输入框上面铺满屏宽（手机上可以半屏 / 全屏），收起后在输入框上沿。 */
.one-ws { position: fixed; z-index: 28; pointer-events: auto; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 40px rgba(10,29,53,.10); overflow: hidden; }
.one-ws[hidden] { display: none; }
.one-ws-bar { flex: none; display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 6px 0 4px; border-bottom: 1px solid var(--line-3); background: var(--soft-2); }
.one-ws-tabs { flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 2px; height: 100%; overflow-x: auto; scrollbar-width: none; }
.one-ws-tabs::-webkit-scrollbar { display: none; }
.one-ws-tab { flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; max-width: 220px; height: 100%; padding: 0 6px 0 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--sec); font-size: 13px; cursor: pointer; }
.one-ws-tab b { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-ws-tab small { flex: none; font-size: 11px; color: var(--muted); white-space: nowrap; }
.one-ws-tab:hover { color: var(--ink); background: rgba(14,27,42,.03); }
.one-ws-tab.is-on { color: var(--ink); border-bottom-color: var(--navy); background: #FFFFFF; }
.one-ws-tab.is-on b { font-weight: 600; }
.one-ws-tab.has-dot::after { content: ""; position: absolute; top: 9px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.one-ws-kind { flex: none; height: 18px; padding: 0 5px; border-radius: 4px; background: #EEF3F5; color: var(--sec); font-size: 11px; line-height: 18px; font-weight: 600; }
.one-ws-x { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; color: #9AAAB6; font-size: 14px; line-height: 1; opacity: 0; }
.one-ws-tab:hover .one-ws-x, .one-ws-tab.is-on .one-ws-x, .one-ws-x:focus-visible { opacity: 1; }
.one-ws-x:hover { background: var(--line-3); color: var(--ink); }
.one-ws-acts { flex: none; display: inline-flex; align-items: center; gap: 2px; }
.one-ws-collapse { width: auto; padding: 0 6px; gap: 4px; }
.one-ws-collapse span { display: none; font-size: 13px; }
.one-ws-split { position: fixed; z-index: 30; width: 8px; pointer-events: auto; cursor: col-resize; touch-action: none; }
.one-ws-split[hidden] { display: none; }
.one-ws-split::after { content: ""; position: absolute; left: 3px; top: 50%; width: 2px; height: 40px; margin-top: -20px; border-radius: 2px; background: var(--line); opacity: 0; transition: opacity var(--t-fast); }
.one-ws-split:hover::after, .one-ws-split.is-resizing::after { opacity: 1; }
.one-ws.is-drop { box-shadow: 0 0 0 2px var(--cyan), 0 12px 40px rgba(10,29,53,.10); }
/* 工作区里在前面的那一样：没有自己的头部（标签栏就是它的头部），平铺在框里。 */
.one-float.is-in-ws { border: 0; border-radius: 0 0 12px 12px; box-shadow: none; animation: none; }
.one-float.is-in-ws > .one-float-h, .one-float.is-in-ws .one-float-rz { display: none; }
.one-float.is-ws-hidden { display: none !important; }
/* 收起后：右边一条细栏，每样东西一个小方块。 */
.one-ws-strip { position: fixed; z-index: 28; pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--sh-back); }
.one-ws-strip[hidden] { display: none; }
.one-ws-strip button { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 7px; background: var(--soft); color: var(--sec); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.one-ws-strip button:hover { background: var(--line-3); color: var(--ink); }
.one-ws-strip-open { background: transparent !important; color: var(--muted) !important; grid-template-rows: auto auto; height: auto !important; padding: 2px 0; }
.one-ws-strip-open small { font-size: 10px; font-family: var(--mono); }
.one-ws-chip.has-dot::after { content: ""; position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
/* 窄屏：工作区铺满屏宽，到输入框上沿为止；手机半屏时上面露出对话；「回到对话」写字。 */
.one-ws.is-sheet { border-radius: 14px 14px 0 0; box-shadow: 0 -8px 32px rgba(10,29,53,.14); }
.one-ws.is-sheet .one-ws-collapse span { display: inline; }
.one-ws.is-sheet + .one-ws-strip { display: none; }
@media (prefers-reduced-motion: reduce) { .one-ws, .one-ws-strip { transition: none; animation: none; } }

/* ================= 悬浮窗（F）· F3 组件框架 =================
   「组件」弹层和整页里的官方组件：随极光提供，不能删；缺授权时灰着写原因。官方组件在工作区里铺满。 */
.one-official-row .one-official-tag { flex: none; margin-right: 8px; height: 18px; padding: 0 6px; border-radius: 4px; background: #E8F4F7; color: var(--teal); font-size: 11px; line-height: 18px; font-weight: 600; }
.one-official-row.is-locked .one-win-open b { color: var(--muted); }
.one-official-ic { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--soft); color: var(--sec); grid-row: 1 / 3; }
.one-official-ic svg { width: 14px; height: 14px; }
.one-wcard.is-official { border-color: #CDE6EC; }
.one-official-note { font-size: 12px; color: var(--muted); }
.one-official { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.one-official > * { flex: 1; min-height: 0; }
/* 官方悬浮窗「达人对接台」（原「邀约进度」leonlee01 11-13；PD 11-18 改版，UI 会话设计稿 ui-design-invite-panel）：一屏一个视图（名单 / 对接方案），整块一起滚。
   状态色只用在点、竖线、胶囊：要你处理琥珀、进行中青、申样以后绿、没发出虚线框；每块最多一个深色主按钮。数字一律等宽，读不到写「—」。 */
.one-ip { display: flex; flex-direction: column; overflow: hidden; font-size: 13px; color: var(--body); }
.one-ip-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.one-ip-top { display: grid; gap: 6px; padding: 8px 12px 2px; }
/* PD 11-19：顶部看板固定，名单单独滚；整体收紧。 */
.one-ip-scroll.is-split { overflow: hidden; }
.one-ip-head { flex: none; background: #fff; border-bottom: 1px solid var(--line-3); }
.one-ip-scroll.is-split > .one-ip-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; border-top: 0; }
.one-ip-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.one-ip-round { flex: 1; min-width: 0; height: 30px; font: inherit; color: var(--ink); }
select.one-ip-round { padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.one-ip-round.is-one { font-weight: 600; height: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-time { flex: none; font-size: 11px; color: var(--faint); font-family: var(--mono); }
.one-ip .entity-reference-id { display: none; }
.one-ip-prod { margin: -2px 0 0; min-width: 0; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-prog { display: flex; align-items: center; gap: 8px; }
.one-ip-prog p { flex: none; display: flex; align-items: baseline; gap: 4px; margin: 0; color: var(--ink); }
.one-ip-prog p b { font-size: 16px; font-weight: 600; font-family: var(--mono); }
.one-ip-prog p span:last-of-type { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.one-ip-prog em { flex: none; font-style: normal; font-size: 12px; color: var(--sec); font-family: var(--mono); }
.one-ip-bar { flex: 1; min-width: 40px; height: 6px; border-radius: 3px; background: var(--line-3); overflow: hidden; }
.one-ip-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--teal)); }
.one-ip-status { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 7px; margin: 0; padding: 5px 9px; border-radius: 8px; background: var(--soft-2); font-size: 12px; line-height: 1.5; }
.one-ip-status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.one-ip-status[data-k="paused"] i { background: #E2873E; }
.one-ip-status[data-k="stopped"] i { background: var(--faint); }
.one-ip-status[data-k="empty"] i { background: #35A577; }
.one-ip-status b { flex: none; font-weight: 600; color: var(--ink); }
.one-ip-status span { flex: 1 1 160px; min-width: 0; color: var(--sec); }
.one-ip-status .one-ip-until { flex: none; font-size: 11.5px; color: var(--muted); }
/* 顶部这一行放不下时（手机）「发起新一轮」换到下一行，轮次名不被挤掉。 */
.one-ip-line:has(.one-ip-new) { flex-wrap: wrap; row-gap: 6px; }
.one-ip-line:has(.one-ip-new) .one-ip-round { flex: 1 1 220px; }
.one-ip-line .one-ip-new { margin-left: auto; }
.one-ip-state .one-ip-flash { max-width: 320px; }
.one-ip-followup { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 12.5px; color: var(--sec); }
.one-ip-link { flex: none; margin-left: auto; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--teal); cursor: pointer; white-space: nowrap; }
.one-ip-followup .one-ip-link + .one-ip-link { margin-left: 12px; }
.one-ip-link:disabled { color: var(--muted); cursor: default; }
.one-ip-dm { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--ink); }
.one-ip-dm time { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.one-ip-dm.is-warn { color: #B8641F; }
.one-ip-said { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.one-ip-said li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line-3); font-size: 13px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.one-ip-said time { font-size: 11.5px; color: var(--muted); }
.one-ip-foot .one-ip-btn { display: inline-flex; margin-top: 8px; }
.one-ip-funnel { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 4px 12px 0; }
.one-ip-step { display: grid; justify-items: center; gap: 0; padding: 2px 0 4px; border-radius: 8px; transition: background-color var(--t-fast) var(--ease-out); }
.one-ip-step > button { border: 0; background: none; padding: 0 8px; font: inherit; color: var(--ink); cursor: pointer; }
.one-ip-step:hover { background: var(--soft); }
.one-ip-step.is-on { background: #E3F4F8; }
.one-ip-step.is-on b { color: #0F5E73; }
.one-ip-step b { display: block; font-size: 15px; font-weight: 600; font-family: var(--mono); line-height: 1.2; }
.one-ip-step small { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.one-ip-step.is-unknown b { color: var(--faint); font-weight: 400; }
.one-ip-step.is-unknown:hover { background: none; }
.one-ip-i { display: inline-grid; place-items: center; width: 16px; height: 16px; margin: -2px 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; }
.one-ip-i svg { width: 12px; height: 12px; }
.one-ip-i:hover, .one-ip-i[aria-expanded="true"] { color: var(--teal); background: var(--soft); }
.one-ip-tip { position: absolute; right: 10px; top: 100%; z-index: 5; width: min(260px, calc(100% - 20px)); display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; box-shadow: var(--sh-menu); }
.one-ip-tip b { font-size: 13px; color: var(--ink); }
.one-ip-tip p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--sec); }
.one-ip-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 8px; }
.one-ip-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font: inherit; font-size: 12px; color: var(--sec); cursor: pointer; transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.one-ip-chip b { font-weight: 600; font-family: var(--mono); color: var(--ink); }
.one-ip-chip:hover { border-color: var(--cyan); }
.one-ip-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.one-ip-chip.is-on b { color: #fff; }
.one-ip-chip.is-warn:not(.is-on) { border-color: #F0D3AE; background: #FFF6EA; color: var(--amber-ink); }
.one-ip-chip.is-warn:not(.is-on) b { color: var(--amber-ink); }
.one-ip-body { border-top: 1px solid var(--line-3); }
.one-ip-group > header { position: sticky; top: 0; z-index: 1; padding: 6px 12px; background: var(--soft-2); border-bottom: 1px solid var(--line-3); }
.one-ip-group > header div { display: flex; align-items: baseline; gap: 6px; }
.one-ip-group > header b { font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-group > header span { font-size: 12px; color: var(--muted); }
.one-ip-group > header div { flex-wrap: wrap; }
.one-ip-group > header p { margin: 0; font-size: 11.5px; color: var(--sec); }
.one-ip-group.is-off > header { background: #fff; }
.one-ip-group + .one-ip-group > header { border-top: 1px solid var(--line-3); }
.one-ip-list { list-style: none; margin: 0; padding: 0; }
.one-ip-row { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 12px; border-top: 1px solid var(--line-3); cursor: pointer; }
.one-ip-row:hover { background: var(--soft-2); }
.one-ip-list .one-ip-row:first-child { border-top: 0; }
.one-ip-row.is-todo { box-shadow: inset 2px 0 0 #E2873E; }
.one-ip-av { position: relative; overflow: hidden; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--sec); font-size: 11px; font-weight: 600; }
.one-ip-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.one-ip-av.is-lg { width: 44px; height: 44px; font-size: 14px; }
.one-ip-av[data-tone="1"] { background: #E3F4F8; color: #0F5E73; }
.one-ip-av[data-tone="2"] { background: #FFF1DE; color: var(--amber-ink); }
.one-ip-av[data-tone="3"] { background: #F1EEFA; color: #4B3F8F; }
.one-ip-av[data-tone="4"] { background: #E5F4EE; color: #187A5A; }
/* 账号和一句状态排一行（原来两行）。 */
.one-ip-who { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.one-ip-who b { flex: 0 1 auto; max-width: 62%; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-who small { flex: 1 1 0; min-width: 0; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-who small.is-warn { color: var(--amber-ink); }
.one-ip-plan { flex: none; min-height: 0; height: 22px; line-height: 22px; border: 0; background: none; padding: 0 0 0 2px; font: inherit; font-size: 12px; font-weight: 500; color: var(--teal); cursor: pointer; white-space: nowrap; }
.one-ip-row:hover .one-ip-plan { text-decoration: underline; }
/* 方案页的五项得分（原来在达人卡上）。 */
/* 复查 U6：缺项写「缺（按 x/满分 计）」，三列共用一套网格，分数列按最宽的那项对齐。 */
.one-ip-parts { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 4px 6px; margin: 0 0 8px; font-size: 11.5px; color: var(--sec); }
.one-ip-parts > div { display: contents; }
.one-ip-parts i { height: 5px; border-radius: 3px; background: var(--line-3); overflow: hidden; }
.one-ip-parts i b { display: block; height: 100%; border-radius: 3px; background: var(--cyan); }
.one-ip-parts em { font-style: normal; font-family: var(--mono); color: var(--ink); text-align: right; white-space: nowrap; }
.one-ip-parts .is-miss i b { background: repeating-linear-gradient(135deg, var(--line), var(--line) 3px, var(--line-3) 3px, var(--line-3) 6px); }
.one-ip-parts .is-miss em { color: var(--muted); font-family: inherit; }
.one-ip-score { flex: none; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 6px; background: var(--soft); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.one-ip-score.is-lg { height: 24px; line-height: 24px; font-size: 13px; }
.one-ip-pill { flex: none; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--soft); color: var(--sec); font-size: 11px; line-height: 20px; white-space: nowrap; }
.one-ip-pill[data-k="warn"] { background: #FFF1DE; color: var(--amber-ink); }
.one-ip-pill[data-k="talk"] { background: #E3F4F8; color: #0F5E73; }
.one-ip-pill[data-k="good"] { background: #E5F4EE; color: #187A5A; }
.one-ip-pill[data-k="off"] { background: none; color: var(--faint); outline: 1px dashed var(--line); outline-offset: -1px; }
.one-ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background-color var(--t-fast) var(--ease-out); }
.one-ip-btn:hover { background: var(--soft); }
.one-ip-btn.is-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.one-ip-btn.is-primary:hover { background: var(--navy-h); }
.one-ip-btn.is-sm { flex: none; height: 28px; padding: 0 10px; font-size: 12px; }
.one-ip-none, .one-ip-warn { margin: 0; padding: 18px 14px; color: var(--muted); font-size: 12px; text-align: center; }
.one-ip-warn { padding: 6px 14px; color: var(--amber-ink); text-align: left; }
.one-ip-foot { margin: 0; padding: 10px 14px 14px; border-top: 1px solid var(--line-3); font-size: 12px; line-height: 1.6; color: var(--muted); }
/* 对接方案 */
.one-ip-dhead { display: grid; gap: 10px; padding: 10px 14px 12px; border-bottom: 1px solid var(--line-3); }
.one-ip-back { justify-self: start; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 8px 0 6px; border: 0; border-radius: 7px; background: var(--soft); font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.one-ip-who2 { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.one-ip-who2 > div { min-width: 0; display: grid; gap: 3px; }
.one-ip-who2 > div > b { font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.one-ip-who2 small { font-size: 12px; color: var(--muted); }
.one-ip-who2 p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; }
.one-ip-tier { height: 22px; padding: 0 8px; border-radius: 6px; background: #F1EEFA; color: #4B3F8F; font-size: 12px; line-height: 22px; }
.one-ip-meta { min-width: 0; font-size: 12px; color: var(--muted); }
.one-ip-terms { display: grid; gap: 2px; margin: 0; padding: 8px 10px; border-radius: 9px; background: var(--soft-2); font-size: 12px; color: var(--sec); }
.one-ip-terms b { font-weight: 500; color: var(--ink); }
.one-ip-terms span:last-child { color: var(--muted); }
.one-ip-todo { display: grid; gap: 8px; margin: 12px 14px 0; padding: 12px; border: 1px solid #F0D3AE; border-radius: 12px; background: #FFFBF5; }
.one-ip-todo p { margin: 0; font-size: 13px; line-height: 1.6; }
.one-ip-todo-h { display: flex; align-items: center; gap: 6px; }
.one-ip-todo-h svg { flex: none; color: #E2873E; }
.one-ip-todo-h b { font-weight: 600; color: var(--ink); }
.one-ip-todo small { font-size: 12px; line-height: 1.55; color: var(--muted); }
.one-ip-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.one-ip-plan { padding: 4px 14px 16px; }
.one-ip-sec { padding: 12px 0; border-top: 1px solid var(--line-3); }
.one-ip-sec:first-child { border-top: 0; }
.one-ip-sec > header { margin-bottom: 6px; }
.one-ip-sec > header b { font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-sec p { margin: 0; font-size: 13px; line-height: 1.65; }
.one-ip-why { color: var(--sec); }
.one-ip-facts { display: grid; gap: 4px; margin: 6px 0 0; padding: 0 0 0 16px; font-size: 12.5px; line-height: 1.55; color: var(--ink); }
.one-ip-facts.is-warn { color: var(--amber-ink); }
.one-ip-sec .one-ip-risk-h { margin-top: 8px; font-size: 12px; color: var(--muted); }
.one-ip-ladder { display: grid; margin: 0; padding: 0; list-style: none; }
.one-ip-ladder li { position: relative; display: grid; gap: 1px; padding: 6px 0 6px 16px; font-size: 12.5px; line-height: 1.55; }
.one-ip-ladder li::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.one-ip-ladder li::after { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 2px #fff; }
.one-ip-ladder li b { font-weight: 600; color: var(--ink); }
.one-ip-ladder li span { color: var(--sec); }
.one-ip-ladder li.is-line::after { background: var(--navy); }
.one-ip-ladder li.is-off::after { background: var(--faint); }
.one-ip-ladder li.is-off b, .one-ip-ladder li.is-off span { color: var(--muted); }
.one-ip-qa { display: grid; gap: 6px; margin: 0; }
.one-ip-qa > div { display: grid; gap: 1px; padding: 7px 10px; border-radius: 8px; background: var(--soft-2); font-size: 12.5px; line-height: 1.55; }
.one-ip-qa dt { color: var(--muted); }
.one-ip-qa dd { margin: 0; color: var(--ink); }
.one-ip-cadence { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.one-ip-cadence li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.55; }
.one-ip-cadence b { font-weight: 500; color: var(--ink); }
.one-ip-plan .one-ip-mute, .one-ip-mute { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.one-ip-state { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 200px; padding: 24px; text-align: center; color: var(--muted); }
.one-ip-state p { margin: 0; color: var(--sec); }
.one-ip-state small { max-width: 300px; font-size: 12px; line-height: 1.6; }
.one-ip-retry { height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: 12px; color: var(--teal); cursor: pointer; }
/* 第三批：和极光调整（设计稿 ⑦ ⑧）、时间线（⑥）、组头「调整」入口。 */
.one-ip-group > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
.one-ip-group > header > div, .one-ip-group > header > p { grid-column: 1; }
.one-ip-gadj { grid-column: 2; grid-row: 1 / span 2; align-self: center; height: 28px; padding: 0 6px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--teal); cursor: pointer; }
.one-ip-gadj:hover { background: #E3F4F8; }
.one-ip-pending { display: flex; align-items: center; gap: 6px; margin: 12px 14px 0; padding: 8px 10px; border: 1px solid #9ED6E3; border-radius: 9px; background: #EEF8FA; font: inherit; font-size: 12.5px; color: #0F5E73; text-align: left; cursor: pointer; }
.one-ip-pending.is-list { margin: 6px 14px 0; }
.one-ip-tabs { position: sticky; top: 0; z-index: 1; display: flex; gap: 4px; margin-top: 12px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line-3); }
.one-ip-tabs button { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 6px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--sec); cursor: pointer; }
.one-ip-tabs button small { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.one-ip-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.one-ip-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; border-radius: 1px; background: var(--navy); }
.one-ip-tl { display: grid; margin: 0; padding: 8px 14px 16px; list-style: none; }
.one-ip-tl li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px; padding: 10px 0 10px 12px; border-top: 1px solid var(--line-3); }
.one-ip-tl li:first-child { border-top: 0; }
.one-ip-tl li::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--line-2); }
.one-ip-tl li.is-you::before { background: #E2873E; }
.one-ip-tl-k { font-size: 12px; font-weight: 600; color: var(--ink); }
.one-ip-tl time { grid-row: 1; grid-column: 2; justify-self: end; font-size: 11px; color: var(--faint); font-family: var(--mono); }
.one-ip-tl p { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.6; }
.one-ip-dfoot { position: sticky; bottom: 0; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: auto; padding: 10px 14px; border-top: 1px solid var(--line-3); background: #fff; }
.one-ip-dfoot span { font-size: 12px; color: var(--muted); }
.one-ip-btn.is-ai { border-color: #9ED6E3; background: #EEF8FA; color: #0F5E73; }
.one-ip-btn.is-ai:hover { background: #E3F4F8; }
.one-ip-btn[disabled] { opacity: .55; cursor: default; }
.one-ip-adj-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-3); }
.one-ip-adj-h b { min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-adj-h small { flex: none; margin-left: auto; font-size: 12px; color: var(--muted); }
.one-ip-adj { flex: 1; display: grid; align-content: start; gap: 12px; padding: 12px 14px; }
.one-ip-impact { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--soft-2); }
.one-ip-impact p { display: grid; gap: 1px; margin: 0; font-size: 12.5px; line-height: 1.55; }
.one-ip-impact p b { font-weight: 600; color: var(--ink); }
.one-ip-impact p span { color: var(--sec); }
.one-ip-avs { display: flex; flex-wrap: wrap; }
.one-ip-av.is-sm { width: 24px; height: 24px; margin-right: -2px; font-size: 9.5px; box-shadow: 0 0 0 2px var(--soft-2); }
.one-ip-av.is-sm[data-tone="0"] { background: #E6ECEF; }
.one-ip-av.is-sm.is-more { background: #fff; color: var(--muted); }
.one-ip-hint { margin: 0; padding: 10px 12px; border: 1px dashed #9ED6E3; border-radius: 10px; font-size: 12.5px; line-height: 1.6; color: var(--sec); }
.one-ip-hint .one-ip-link { margin-left: 6px; }
.one-ip-draft { display: grid; gap: 8px; transition: opacity var(--t-fast) var(--ease-out); }
.one-ip-draft.is-stale { opacity: .5; }
.one-ip-draft p { margin: 0; font-size: 13px; line-height: 1.6; }
.one-ip-draft .one-ip-said { justify-self: end; max-width: 86%; padding: 8px 12px; border-radius: 12px; background: var(--soft); }
.one-ip-draft small { font-size: 12px; color: var(--muted); }
.one-ip-diff { width: 100%; border-collapse: collapse; border: 1px solid var(--line-2); font-size: 12.5px; }
.one-ip-diff th { padding: 6px 8px; background: var(--soft-2); color: var(--sec); font-weight: 500; text-align: left; }
.one-ip-diff td { padding: 7px 8px; border-top: 1px solid var(--line-3); vertical-align: top; line-height: 1.5; overflow-wrap: anywhere; }
.one-ip-diff td:first-child { color: var(--muted); white-space: nowrap; }
.one-ip-diff s { color: var(--muted); }
.one-ip-diff td b { font-weight: 600; color: var(--ink); }
.one-ip-flash { margin: 0; padding: 8px 10px; border-radius: 9px; background: var(--soft-2); font-size: 12.5px; line-height: 1.55; color: var(--sec); }
.one-ip-ask { position: sticky; bottom: 0; z-index: 1; display: flex; align-items: flex-end; gap: 8px; margin: auto 14px 14px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.one-ip-ask textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; padding: 4px 0; background: transparent; font: inherit; font-size: 13px; line-height: 1.5; color: var(--ink); }
/* 「发起新一轮」（PD 11-19）：选商品沿用达人合作工作区的商品卡（.commerce-entity）和实际售价（.cw-price）；设条件是一列表单。 */
.one-ip-search { display: flex; gap: 8px; }
.one-ip-search input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
.one-ip-search input:focus, .one-ip-tform input:focus, .one-ip-tform select:focus, .one-ip-tform textarea:focus { outline: 2px solid var(--cyan-ring); border-color: var(--cyan); }
.one-ip-products { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.one-ip-products button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.one-ip-products button:hover:not(:disabled) { border-color: var(--cyan); background: #F7FCFD; }
.one-ip-products button:disabled { opacity: .55; cursor: not-allowed; }
.one-ip-products .commerce-entity { flex: 1; min-width: 0; margin: 0; }
.one-ip-products .commerce-entity__text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-pside { flex: none; display: grid; justify-items: end; gap: 2px; max-width: 42%; }
.one-ip-zero { font-size: 11px; color: var(--amber-ink); }
/* 按关系邀约第二步（PD 11-19「复用现在的悬浮窗及视觉风格」）：第 1 步多选。勾上的卡沿用悬停的青色描边，左边一个勾选框。 */
.one-ip-products button.is-on { border-color: var(--cyan); background: #F7FCFD; }
.one-ip-tick { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid #B8C6CC; border-radius: 4px; background: #fff; }
.one-ip-products button.is-on .one-ip-tick { border-color: var(--navy); background: var(--navy); }
.one-ip-products button.is-on .one-ip-tick::after { content: ""; width: 4px; height: 8px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.one-ip-cat { font-size: 11px; color: var(--muted); }
.one-ip-cat.is-diff { color: var(--amber-ink); }
.one-ip-dfoot .one-ip-count { margin-right: auto; font-size: 13px; color: var(--ink); }
.one-ip-count b { font-weight: 600; }
.one-ip-count small { margin-left: 2px; font-size: 11.5px; color: var(--muted); }
/* UI 评审 #2028 第 6 条：「不同类」提醒一行（浅灰底、琥珀色小点，同顶部状态那一句），点开再看完整说明。 */
.one-ip-mixed { flex-basis: 100%; display: grid; gap: 2px; padding: 5px 9px; border-radius: 8px; background: var(--soft-2); font-size: 12px; line-height: 1.5; color: var(--sec); }
.one-ip-mixed-h { display: flex; align-items: center; gap: 7px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.one-ip-mixed-h i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #E2873E; }
.one-ip-mixed-h span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-mixed-h b { flex: none; font-weight: 500; color: var(--muted); transition: transform var(--t-fast) var(--ease-out); }
.one-ip-mixed.is-open .one-ip-mixed-h b { transform: rotate(90deg); }
.one-ip-mixed p { margin: 0; padding-left: 14px; color: var(--sec); }
.one-ip-prod.is-many { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; white-space: normal; }
/* 第 2 步多款：每款一行（商品卡 + 各自的普通佣金、底线、单品毛利），不同类的那款淡琥珀底。 */
.one-ip-mhead { display: flex; align-items: center; gap: 8px; }
.one-ip-mhead b { font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-mlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.one-ip-mrow { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 6px; padding: 6px 10px 8px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.one-ip-mrow.is-diff { border-color: #F0D9B8; background: #FFFBF4; }
.one-ip-mrow .one-ip-picked { padding: 0; border: 0; background: none; }
.one-ip-mterms { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding-left: 46px; }
.one-ip-tform .one-ip-mterms label { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.one-ip-tform .one-ip-mterms input { width: 56px; height: 30px; padding: 4px 6px; }
.one-ip-mterms i { font-style: normal; color: var(--muted); }
.one-ip-mmargin { margin-left: auto; font-size: 12px; color: #187A5A; }
.one-ip-mmargin.is-mute { color: var(--muted); }
.one-ip-mmargin.is-warn { color: var(--amber-ink); }
.one-ip-brief p.one-ip-brief-row { display: flex; gap: 6px; }
.one-ip-brief-row b { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.one-ip-brief-row span.is-mute { color: var(--faint); }
.one-ip-brief-row em { font-style: normal; color: var(--amber-ink); }
/* 「本店的老面孔」（按关系邀约第二步）：四格人数 + 一句话输入 + 可点的说法。 */
.one-ip-faces { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.one-ip-faces p { margin: 0; }
.one-ip-faces-h { display: flex; align-items: baseline; gap: 8px; }
.one-ip-faces-h b { font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-faces-h small { margin-left: auto; min-width: 0; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-faces-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.one-ip-face { display: grid; gap: 1px; padding: 7px 10px; border-radius: 8px; background: var(--soft-2); font-size: 12px; line-height: 1.45; color: var(--sec); }
.one-ip-face b { font-size: 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.one-ip-face[data-k="friend"] { background: #E5F4EE; }
.one-ip-face[data-k="friend"] b { color: #187A5A; }
/* UI 评审 #2028 第 4 条：琥珀色在对接台表示「要你处理」，「回过没谈成」用和「邀过没回」一样的浅灰底；四格里只有老朋友用绿色。 */
.one-ip-face[data-k="novideo"] { background: #fff; border: 1px dashed var(--line); }
.one-ip-face[data-k="novideo"] b { color: var(--muted); }
.one-ip-faces-wait, .one-ip-faces-note { font-size: 12px; line-height: 1.55; color: var(--muted); }
.one-ip-faces-note.is-warn { color: var(--amber-ink); }
.one-ip-tform label.one-ip-faces-say > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-faces-say small { font-weight: 400; color: var(--muted); }
.one-ip-faces-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.one-ip-faces-how { font-size: 12px; line-height: 1.55; color: var(--sec); }
.one-ip-faces-rule { padding-top: 6px; border-top: 1px solid var(--line-3); font-size: 12px; color: var(--muted); }
.one-ip-picked { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.one-ip-picked .commerce-entity { flex: 1; min-width: 0; margin: 0; }
/* PD 11-19：标题太长。选中的商品只占一行（鼠标停上去看全名），ID 不再单占一行。 */
.one-ip-picked .commerce-entity__text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-picked .commerce-entity__id { display: none; }
.one-ip-picked .commerce-entity__image, .one-ip-picked .commerce-entity__image img { width: 36px; height: 36px; flex-basis: 36px; }
.one-ip-tform .one-ip-adj { gap: 10px; grid-template-columns: minmax(0, 1fr); }
.one-ip-picked .commerce-entity__text { min-width: 0; }
.one-ip-tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.one-ip-tgrid label { align-content: start; }
.one-ip-tgrid label > span { min-height: 20px; align-items: center; }
.one-ip-tgrid .one-ip-source { line-height: 18px; }
.one-ip-tgrid input, .one-ip-tgrid select { height: 34px; }
.one-ip-tgrid label > small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-ip-tgrid label > small.is-wrap { white-space: normal; }
/* 第 2 步联系方式（PD 11-19）：一行，类型 + 值。 */
.one-ip-contact { display: grid; gap: 3px; font-size: 12px; }
.one-ip-contact > span:first-child { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.one-ip-contact .one-ip-contact-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 6px; }
.one-ip-contact-row select, .one-ip-contact-row input { height: 34px; min-width: 0; }
.one-ip-contact > small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-ip-contact > small.one-ip-contact-more { white-space: normal; overflow-wrap: anywhere; }
.one-ip-contact > b { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
/* 第 2 步「极光看了这款商品」（PD 11-19）。 */
.one-ip-brief { display: grid; gap: 5px; padding: 8px 10px; border-radius: 10px; background: #F5FBFC; border: 1px solid #E3F0F3; font-size: 12px; color: var(--sec); }
.one-ip-brief.is-loading { color: var(--muted); }
.one-ip-brief p { margin: 0; line-height: 1.5; }
.one-ip-brief-h { font-weight: 600; color: var(--ink); }
.one-ip-brief-facts { display: flex; flex-wrap: wrap; gap: 4px; }
.one-ip-brief-facts span { padding: 1px 7px; border-radius: 10px; background: #fff; border: 1px solid var(--line-3); color: var(--ink); white-space: nowrap; }
.one-ip-brief-facts span.is-mute { color: var(--faint); }
.one-ip-brief-pick { display: flex; align-items: center; gap: 6px; }
.one-ip-brief-pick > span { flex: none; color: var(--ink); font-weight: 500; }
.one-ip-brief-pick input { flex: 1; min-width: 0; height: 30px; }
.one-ip-brief-pick i { flex: none; font-style: normal; color: var(--muted); }
.one-ip-brief-note { color: var(--amber-ink); }
.one-ip-tform label.one-ip-brief-focus { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 6px; }
.one-ip-brief-focus > span { color: var(--ink); font-weight: 500; }
.one-ip-tform .one-ip-brief-focus select { height: 30px; }
.one-ip-brief-focus small { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }
/* UI 评审 #2028 第 7 条：五项分权重收进「怎么打分 ›」。 */
.one-ip-brief-how { font-size: 11.5px; color: var(--muted); }
.one-ip-brief-how > summary { width: fit-content; cursor: pointer; list-style: none; color: var(--teal); }
.one-ip-brief-how > summary::-webkit-details-marker { display: none; }
.one-ip-brief-how > small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.5; }
.one-ip-brief-cost { display: flex; align-items: center; gap: 8px; }
.one-ip-brief-cost .one-ip-link { margin-left: auto; }
/* 单品毛利（#1920 共用入口）。 */
.one-ip-brief-profit { display: grid; gap: 2px; padding-top: 4px; border-top: 1px dashed #D5E7EC; }
.one-ip-brief-profit p { color: var(--ink); }
.one-ip-brief-profit b { font-weight: 600; }
.one-ip-brief-eq { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.one-ip-brief-profit small { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.one-ip-brief-profit small[data-ip-brief-commission] { color: var(--sec); }
.one-ip-brief-profit .is-warn, .one-ip-brief-profit.is-loss p { color: var(--amber-ink); }
.one-ip-more { font-size: 12.5px; color: var(--sec); }
.one-ip-more > summary { cursor: pointer; padding: 2px 0; }
.one-ip-more[open] > summary { margin-bottom: 4px; }
.one-ip-tform { flex: 1; display: flex; flex-direction: column; background: #fff; }
.one-ip-tform label { display: grid; gap: 4px; font-size: 12.5px; color: var(--sec); }
.one-ip-tform label > span { display: flex; align-items: baseline; gap: 6px; }
.one-ip-tform label > small { font-size: 12px; color: var(--muted); }
.one-ip-tform input, .one-ip-tform select, .one-ip-tform textarea { width: 100%; min-width: 0; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); }
.one-ip-tform textarea { resize: vertical; }
.one-ip-opening { display: grid; gap: 6px; margin: 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.one-ip-opening small { font-size: 12px; line-height: 1.55; color: var(--muted); }
.one-ip-opening-body { display: grid; gap: 6px; }
.one-ip-opening-body[hidden] { display: none; }
.one-ip-opening-count { justify-self: end; font-family: var(--mono); }
.one-ip-opening-count.is-near { color: var(--amber-ink); }
/* 最要紧的一句单独一行、颜色深一档（UI 复审 #1906）。 */
.one-ip-opening .one-ip-opening-auto { color: var(--sec); }
.one-ip-tform label.one-ip-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.one-ip-tform .one-ip-check input { width: auto; margin: 0; }
.one-ip-tl li.is-dm::before { background: var(--line-2); }
.one-ip-tl li.is-dm-failed::before { background: #E2873E; }
.one-ip-tl li.is-reply::before { background: var(--teal); }
.one-ip-tl li.is-reply p { white-space: pre-wrap; overflow-wrap: anywhere; }
.one-ip-tl .one-ip-tl-note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
.one-ip-tl .one-ip-link { grid-column: 1 / -1; justify-self: start; }
/* 来源标签沿用 #1820 定的对比度。 */
.one-ip-source { padding: 0 6px; border-radius: 4px; background: #EEF4F8; font-size: 11px; color: #46606F; }
.one-ip-idrow { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; min-width: 0; }
/* 商品 ID 不折行；价格放不下时整段换到下一行（带折扣的价格比较长）。 */
.one-ip-idrow .commerce-entity__id { white-space: nowrap; }
.one-ip-idprice { display: none; flex: none; }
@media (max-width: 520px) {
  .one-ip-search input, .one-ip-terms input, .one-ip-terms select { height: 40px; }
  /* 手机上价格放在商品 ID 那一行的右边（一屏多看几款）；库存为 0 的说明仍在下面。 */
  .one-ip-products .one-ip-idprice { display: inline-flex; }
  .one-ip-products .one-ip-pside .cw-price { display: none; }
  .one-ip-products button { flex-wrap: wrap; row-gap: 2px; }
  .one-ip-products .one-ip-pside { width: 100%; max-width: none; justify-items: start; padding-left: 80px; }
  .one-ip-products .one-ip-pside:empty { display: none; }
  .one-ip-tform .one-ip-mterms input { height: 36px; }
  .one-ip-mterms { padding-left: 0; }
}
/* 按关系邀约第四步 A（PD leonlee01 11-19）：名单行关系标签（老朋友绿、再试浅灰底、新人不加颜色；琥珀色只留给「要你处理」）、
   顶部「这一轮的原则」、方案页「和本店的往来」。UI 评审 #2046：标签里只写关系、三组一样长，理由和战绩放后面用灰字。 */
.one-ip-who:has(.one-ip-relw) { flex-wrap: wrap; row-gap: 1px; }
.one-ip-relw { flex: 1 0 100%; min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.one-ip-rel { flex: none; height: 18px; padding: 0 6px; border-radius: 5px; background: none; font-size: 11.5px; line-height: 18px; color: var(--sec); white-space: nowrap; }
.one-ip-rel[data-r="friend"] { background: #E5F4EE; color: #187A5A; }
.one-ip-rel[data-r="invited"] { background: var(--soft); color: var(--sec); }
.one-ip-rel[data-r="new"] { padding: 0; }
.one-ip-reltext { min-width: 0; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 关系组的组头名字可以点：收起 / 展开这一组。 */
.one-ip-group > header > .one-ip-gname { grid-column: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.one-ip-gname i { font-style: normal; font-size: 11px; color: var(--muted); transition: transform var(--t-fast) var(--ease-out); }
.one-ip-group.is-folded .one-ip-gname i { transform: rotate(-90deg); }
.one-ip-group.is-folded > header { border-bottom: 1px solid var(--line-3); }
/* 商品那一行和手机上的「原则 ›」。 */
.one-ip-prodline { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.one-ip-prodline > .one-ip-prod { flex: 1 1 auto; }
.one-ip-rule-mini { display: none; flex: none; margin-left: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--teal); cursor: pointer; white-space: nowrap; }
.one-ip-meta.is-many { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.one-ip-zh { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.55; color: var(--muted); white-space: normal; }
.one-ip-tl .one-ip-zhp { grid-column: 1 / -1; margin: 2px 0 0; }
@media (max-width: 640px) {
  /* 手机上顶部收矮：「＋ 发起新一轮」只在 ⋯ 菜单里；原则缩成商品那一行末尾的「原则 ›」，点开才出全文。 */
  .one-ip-line .one-ip-new { display: none; }
  .one-ip-rule-mini { display: inline-flex; }
  .one-ip-rule:not(.is-open) { display: none; }
}
.one-ip-rule { display: flex; align-items: baseline; gap: 2px; min-width: 0; width: 100%; margin: 0; padding: 5px 9px; border: 0; border-radius: 8px; background: var(--soft-2); font: inherit; font-size: 12px; line-height: 1.5; color: var(--sec); text-align: left; cursor: pointer; }
.one-ip-rule b { flex: none; font-weight: 500; color: var(--ink); }
.one-ip-rule span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-rule.is-open span { white-space: normal; overflow-wrap: anywhere; }
.one-ip-relpage { display: grid; gap: 10px; padding: 12px 14px 16px; }
.one-ip-relhead { margin: 0; }
.one-ip-relhead .one-ip-rel { display: inline-block; height: 22px; line-height: 22px; font-size: 12px; }
.one-ip-relhead .one-ip-rel[data-r="new"] { padding: 0 6px; background: var(--soft-2); }
.one-ip-judge { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #9ED6E3; border-radius: 10px; background: #EEF8FA; }
.one-ip-judge b { font-size: 13px; font-weight: 600; color: #0F5E73; }
.one-ip-judge p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; }
.one-ip-relpage .one-ip-tl { padding: 0; }
.one-ip-tl.is-rel li.is-now::before { background: var(--cyan); }
.one-ip-tl.is-rel p { overflow-wrap: anywhere; }
.one-ip-cite { margin-left: 4px; padding: 0 5px; border-radius: 4px; background: #E3F4F8; font-style: normal; font-size: 11px; color: #0F5E73; white-space: nowrap; }
.one-ip-quote, .one-ip-open { grid-column: 1 / -1; margin: 4px 0 0; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.one-ip-quote { background: var(--soft); color: var(--ink); }
.one-ip-quote span { display: block; font-size: 11.5px; color: var(--muted); }
.one-ip-quote small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.one-ip-open { background: #E3F4F8; color: #0F5E73; }
.one-ip-open + .one-ip-open { margin-top: 4px; }
/* 「极光记住的」（按关系邀约第四步 B）：判断下面一块，逐条要点、来源和「删掉」；删前在原地确认。 */
.one-ip-mem { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.one-ip-mem > b { font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-mem > p { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.one-ip-mem ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.one-ip-mem li { display: grid; gap: 2px; padding: 7px 0; border-top: 1px solid var(--soft-2); }
.one-ip-mem li:first-child { border-top: 0; padding-top: 2px; }
.one-ip-memrow { display: flex; align-items: baseline; gap: 10px; }
.one-ip-memrow > p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.one-ip-memdel { flex: none; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.one-ip-memdel:hover { color: var(--red); }
.one-ip-memmeta { margin: 0; font-size: 11.5px; color: var(--muted); }
.one-ip-memsrc { padding: 0; border: 0; background: none; font: inherit; font-size: 11.5px; color: var(--muted); }
button.one-ip-memsrc { color: var(--teal); cursor: pointer; }
.one-ip-memask { display: grid; gap: 6px; margin-top: 4px; padding: 8px 10px; border-radius: 8px; background: #F7E6E4; }
.one-ip-memask p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--red); }
.one-ip-memask > div { display: flex; gap: 8px; }
.one-ip-memask .one-ip-memerr { font-weight: 500; }
.one-ip-gone { margin-left: 4px; font-size: 12px; color: var(--muted); }
.one-ip-btn.is-danger { border-color: var(--red); background: var(--red); color: #fff; }
.one-ip-btn.is-danger:hover { background: #761C14; }
@media (pointer: coarse) { .one-ip-memdel, button.one-ip-memsrc { min-height: 32px; } }
/* 按关系邀约第五步 A（PD leonlee01 11-20）：「拆开看」小表（默认收起，胶囊沿用筛选 chip）、方案页条件块下面的常在线 / 开场说法 / 开场发出。
   琥珀色只留给「要你处理」，这里一律灰字和青色。 */
.one-ip-split-open { display: flex; align-items: baseline; gap: 8px; width: calc(100% - 24px); margin: 6px 12px 8px; padding: 6px 10px; border: 1px solid var(--line-3); border-radius: 8px; background: #fff; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.one-ip-split-open b { flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.one-ip-split-open span { min-width: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-ip-split-open i { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.one-ip-split { display: grid; gap: 8px; margin: 6px 12px 10px; padding-top: 10px; border-top: 1px solid var(--line-3); }
.one-ip-split > header { position: relative; display: flex; align-items: baseline; gap: 8px; }
.one-ip-split > header .one-ip-link { margin-left: auto; }
.one-ip-splitt thead th small { display: block; font-size: 10.5px; color: var(--faint); }
.one-ip-split > header b { font-size: 13px; font-weight: 600; color: var(--ink); }
.one-ip-split > header span { font-size: 12px; color: var(--muted); }
.one-ip-split-by { display: flex; flex-wrap: wrap; gap: 6px; }
.one-ip-splitt { width: 100%; border-collapse: collapse; font-size: 12.5px; color: var(--ink); }
.one-ip-splitt th, .one-ip-splitt td { padding: 6px 0 6px 4px; text-align: right; font-weight: 400; vertical-align: top; white-space: nowrap; }
.one-ip-splitt thead th { padding-top: 2px; padding-bottom: 4px; font-size: 11.5px; color: var(--muted); }
.one-ip-splitt tbody tr { border-top: 1px solid var(--line-3); }
.one-ip-splitt tbody th { padding-left: 0; text-align: left; white-space: normal; color: var(--sec); }
.one-ip-splitt td { font-family: var(--mono); }
.one-ip-splitt td small { display: block; font-size: 11px; color: var(--muted); }
.one-ip-split .one-ip-mute { margin: 0; line-height: 1.6; }
.one-ip-reach { display: grid; gap: 2px; margin: 0; padding: 8px 10px; border-radius: 9px; background: var(--soft-2); font-size: 12px; line-height: 1.6; }
.one-ip-terms:has(+ .one-ip-reach) { border-radius: 9px 9px 0 0; }
.one-ip-terms + .one-ip-reach { margin-top: -10px; padding-top: 6px; border-top: 1px solid var(--line-3); border-radius: 0 0 9px 9px; }
.one-ip-reach > div { display: flex; gap: 8px; min-width: 0; }
.one-ip-reach dt { flex: none; width: 56px; color: var(--muted); }
.one-ip-reach dd { min-width: 0; margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.one-ip-reach dd small { font-size: 11.5px; color: var(--muted); }
/* 达人 / 商品悬浮卡上的「这一轮」（只在从对接台打开时出现）。 */
.entity-hover-card .entity-hover-round { display: flex; align-items: center; gap: 10px; margin: 0 16px 4px; padding: 8px 10px; border-radius: 10px; background: #F5FBFC; border: 1px solid #E3F0F3; font-size: 12px; }
.entity-hover-round > strong { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #E3F4F8; color: #0F5E73; font-family: var(--mono); font-size: 16px; font-weight: 600; }
.entity-hover-round-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.entity-hover-round-main > header { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.entity-hover-round-main > header b { flex: none; font-size: 12px; font-weight: 600; color: var(--ink, #0E1B2A); }
.entity-hover-round-main > header small { min-width: 0; font-size: 11px; color: var(--muted, #5E6F7E); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entity-hover-round dl { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0; line-height: 1.6; }
.entity-hover-round dl > div { display: inline-flex; gap: 4px; min-width: 0; }
.entity-hover-round dt { color: var(--muted, #5E6F7E); }
.entity-hover-round dd { margin: 0; color: var(--ink, #0E1B2A); font-weight: 500; }
.entity-hover-round dl > div.is-warn dd { color: var(--amber-ink, #9A5B13); }
.entity-hover-round-open { flex: none; align-self: center; border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--teal, #0F7C93); cursor: pointer; white-space: nowrap; }
.entity-hover-round-open:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .one-ip-btn { height: 40px; }
  .one-ip-btn.is-sm { height: 34px; }
  .one-ip-chip { height: 32px; }
  .one-ip-acts .one-ip-btn.is-primary { flex: 1 1 100%; }
}
@media (pointer: coarse) { .one-ip-chip, .one-ip-i { min-height: 32px; min-width: 32px; } }
@media (prefers-reduced-motion: reduce) { .one-ip-step, .one-ip-chip, .one-ip-btn { transition: none; } }
.one-float.is-in-ws .one-float-b:has(> .one-official) { overflow: hidden; display: flex; flex-direction: column; }

/* ---- F6：工作区标签按组排；回答里拿出来的东西原位统一写「在右边 · 放回」 ---- */
.one-ws-tab.is-group-start { margin-left: 6px; }
.one-ws-tab.is-group-start::before { content: ""; position: absolute; left: -5px; top: 11px; bottom: 11px; width: 1px; background: var(--line); }
.md-table.is-lifted { position: relative; }
.one-lift-note { position: absolute; left: 12px; top: 0; height: 42px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); visibility: visible; }
.one-lift-note button { height: 26px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--sec); font-size: 12px; cursor: pointer; }
.one-lift-note button:hover { color: var(--teal); background: var(--soft); }
.one-lift-note button[data-lift-focus] { color: var(--teal); font-weight: 500; }
/* 执行回执标签（F6） */
.one-receipts { padding: 12px 14px 16px; display: grid; gap: 8px; }
.one-receipts-head, .one-receipts-foot, .one-receipts-empty { margin: 0; font-size: 12px; color: var(--muted); }
.one-receipts-empty { padding: 18px 2px; font-size: 13px; color: var(--sec); }
.one-receipt { display: grid; gap: 4px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; text-align: left; cursor: pointer; }
.one-receipt:hover { border-color: #C3CDD2; background: var(--soft); }
.one-receipt-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.one-receipt-top b { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-receipt-top time { flex: none; font-size: 11px; color: var(--muted); }
.one-receipt-state { justify-self: start; padding: 1px 7px; border-radius: 999px; font-size: 11px; background: #E8F3F5; color: var(--teal); }
.one-receipt-state.is-warn { background: #FDF3E1; color: #9A5B00; }
.one-receipt-line { font-size: 12px; color: var(--sec); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.one-answer.is-flash { animation: one-answer-flash 1.2s var(--ease-out); border-radius: 12px; }
@keyframes one-answer-flash { 0% { background: rgba(15,110,133,.10); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .one-answer.is-flash { animation: none; } }
/* 花漾历史会话（F6，只读） */
.one-history { padding: 12px 14px 16px; display: grid; gap: 8px; font-size: 13px; }
.one-history-note, .one-history-status { margin: 0; font-size: 12px; color: var(--muted); }
.one-history-bar button, .one-history-more { justify-self: start; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #FFFFFF; font-size: 12px; color: var(--sec); cursor: pointer; }
.one-history-body p > button { width: 100%; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; text-align: left; font-size: 13px; color: var(--ink); cursor: pointer; }
.one-history-body p > button:hover { background: var(--soft); }
.one-history-body article { padding: 8px 0; border-bottom: 1px solid var(--line-3); }
.one-history-body article > strong { font-size: 12px; color: var(--sec); }
button.cn-quiet { border: 0; background: transparent; padding: 0; font-family: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* 排查 A6（R）：系统接着办那一轮的说明行 */
.one-sysline { display: flex; justify-content: center; gap: 8px; align-items: baseline; margin: 10px 0 4px; color: var(--muted); font-size: 12px; }
.one-sysline span::before { content: none; }
.one-sysline time { color: var(--faint); }
/* 排查 A1（R）：上一笔结果还没核对清楚时卡上的一句提示（点确认照样执行，不另外勾选） */
.one-confirm-risk { display: flex; gap: 6px; align-items: flex-start; margin: 0; padding: 8px 14px; background: #FBF4EC; border-top: 1px solid var(--line-3); color: var(--amber-ink); font-size: 13px; }
.one-confirm-risk svg { flex: none; width: 14px; height: 14px; margin-top: 3px; }

/* 第二轮（R）：过期的卡、失败说明的去处、回执的「核对结果」 */
.one-confirm.is-expired { opacity: .85; }
.one-confirm.is-expired header b { color: var(--muted); }
.one-failure-go, .one-receipt-check { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.one-failure-go { flex-wrap: wrap; }
.one-failure-go button, .one-receipt-check button { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; cursor: pointer; }
.one-failure-go button:hover, .one-receipt-check button:hover { border-color: var(--teal); color: var(--teal); }
.one-receipt-check button:disabled { opacity: .6; cursor: default; }

/* ---- U12 输入框底行（2026-10-25，UI 收尾）：框里只有输入和圆形发送；其余按钮挪到框下一行，都不带框，悬停才出浅灰底。
   顺序：＋附件 · 店铺 ｜ 达人 · 任务 · 组件 ……… 思考 默认 · 盾牌。原型见 One 老画布 Bar2～Bar4。 ---- */
.one-box { padding: 14px 12px 12px 16px; }
.one-input { display: flex; align-items: flex-end; gap: 10px; }
.one-input > textarea { flex: 1 1 auto; min-width: 0; width: auto; }
.one-input > :is(.one-send, .one-stop) { position: relative; flex: none; width: 34px; height: 34px; padding: 0; gap: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #FFFFFF; font-size: 0; cursor: pointer; }
.one-input > :is(.one-send, .one-stop):hover:not(:disabled) { background: var(--navy-h); }
.one-input > .one-send:disabled { background: #E8EEF1; color: #9AAAB6; cursor: default; }
.one-input > .one-stop:disabled { opacity: .6; cursor: default; }
.one-input > .one-stop[hidden], .one-input > .one-send[hidden] { display: none; }
.one-tools { flex-wrap: nowrap; gap: 2px; min-width: 0; padding: 6px 6px 0; }
.one-tools :is(.one-chip, .one-icon-btn) { flex: none; height: 30px; min-width: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--sec); font-size: 13px; font-weight: 500; }
.one-tools .one-icon-btn { width: 30px; padding: 0; }
.one-tools :is(.one-chip, .one-icon-btn):hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.one-tools :is(.one-chip, .one-icon-btn)[aria-expanded="true"] { background: var(--soft); }
.one-tools .one-chip.one-chip-ic { gap: 4px; padding: 0 6px; min-width: 30px; }
.one-tools .one-chip-ic > svg, .one-tools .one-chip-ic > .one-mk, .one-tools .one-chip-ic > .one-mk > svg { width: 16px; height: 16px; }
.one-tools .one-chip.one-chip-ic.is-empty, .one-tools .one-chip.one-win.is-empty { color: var(--muted); }
.one-tools .one-chip.one-chip-ic.is-locked { border: 0; color: var(--muted); }
.one-tools #shopChip { gap: 6px; padding: 0 6px 0 4px; color: var(--body); }
.one-tools #shopChip .one-shop-mark { width: 20px; height: 20px; border-radius: 5px; font-size: 10px; }
.one-tools-sep { flex: none; width: 1px; height: 14px; margin: 0 4px; background: var(--line-3); }
.one-tools .one-chip.one-mode { padding: 0 8px; gap: 6px; background: #F4F0FC; color: #5B3FA8; }
.one-tools .one-chip.one-mode:hover { background: #ECE5FA; color: #5B3FA8; }
.one-tools .one-chip.one-depth { gap: 4px; padding: 0 6px 0 8px; font-weight: 400; color: var(--sec); }
.one-tools .one-chip.one-depth > span { display: inline; }
.one-tools .one-chip.one-depth > svg { color: var(--muted); }
.one-tools .one-chip.one-depth.is-on { color: var(--ink); }
.one-tools .one-chip.one-depth.is-goal, .one-tools .one-chip.one-depth.is-goal:hover { color: var(--teal); background: #EEF7F9; }
.one-tools .one-auth.is-full, .one-tools .one-auth.is-full:hover { color: var(--amber); background: #FBF1E6; }
/* 名称提示：和达人、任务按钮一样，悬停片刻在上方出一个深色小签。 */
:is(.one-tools .one-icon-btn, .one-input > .one-send, .one-input > .one-stop, .one-tools .one-chip.one-depth)[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 30; width: max-content; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 3px);
  padding: 4px 8px; border-radius: 6px; background: #13253D; color: #FFFFFF; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity var(--t-fast) var(--ease-out) .2s, transform var(--t-fast) var(--ease-out) .2s; }
:is(.one-tools .one-icon-btn, .one-input > .one-send, .one-input > .one-stop, .one-tools .one-chip.one-depth)[data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0); }
.one-tools .one-icon-btn { position: relative; }
.one-tools .one-chip.one-depth { position: relative; }
.one-tools [aria-expanded="true"][data-tip]::after { display: none; }
/* 靠右的按钮提示往左收，不出屏幕。 */
.one-input > :is(.one-send, .one-stop)[data-tip]::after, .one-tools .one-auth[data-tip]::after { left: auto; right: 0; transform: translate(0, 3px); }
.one-input > :is(.one-send, .one-stop)[data-tip]:is(:hover, :focus-visible)::after, .one-tools .one-auth[data-tip]:is(:hover, :focus-visible)::after { transform: none; }
@media (hover: none) { :is(.one-tools .one-icon-btn, .one-input > .one-send, .one-input > .one-stop, .one-tools .one-chip.one-depth)[data-tip]::after { display: none; } }
@media (max-width: 520px) {
  .one-box { padding: 12px 10px 10px 14px; }
  .one-input > :is(.one-send, .one-stop) { width: 36px; height: 36px; }
  .one-tools { padding: 6px 0 0; }
  .one-tools #shopChip { padding: 0 4px; gap: 4px; }
  .one-tools-sep { margin: 0 2px; }
}
/* 360 这类窄屏：「思考」两个字收起，只留档位。 */
/* 040 · 10-27：多了「模式」，390 宽也按窄屏收（原来 380） */
@media (max-width: 420px) { .one-tools .one-chip.one-depth > .one-depth-k { display: none; } .one-tools { gap: 0; } }
/* ---- V9 会话里输入框上方那条白带（2026-10-25，UI 收尾）：标签条那 34px 不再是整块白底，改成从透明渐变到白，
   上面的表格、卡片滚到这里时看得见，只在贴近输入框时淡出；标签自己仍是白底。 ---- */
body:not(.is-home) .one-wrap { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .72) 22px, #FFFFFF 34px); }
/* R 10-25：目标模式开着时芯片最前面写「⟳ 目标模式」（会话里的开关，发出去不再自动关上）。 */
.one-tools .one-chip.one-depth > svg:first-child { flex: none; }
.one-tools .one-chip.one-depth .one-depth-goal-k { display: inline; font-weight: 600; }
@media (max-width: 480px) { .one-tools .one-chip.one-depth.is-goal > .one-depth-k, .one-tools .one-chip.one-depth .one-depth-long { display: none; } }
/* 040 · 10-27：手机上「模式」只写两个字，紫色标签收起「创造：」，下沿一行放得下 */
@media (max-width: 480px) { .one-tools .one-chip.one-mode-btn > .one-mode-now, .one-tools .one-chip.one-mode .one-mode-long { display: none; } .one-tools .one-chip.one-mode-btn, .one-tools .one-chip.one-depth { padding: 0 6px; } }
/* 达人对接台调整对接方案时手机上也写「调整：再试」（UI 评审 #2046 第 8 条；名字最多 18 个字，放不下照样省略号）。 */
@media (max-width: 480px) { .one-tools .one-chip.one-mode.is-plan .one-mode-long { display: inline; } }
@media (max-width: 420px) { .one-tools .one-chip.one-mode { padding: 0 6px; gap: 3px; } .one-tools .one-chip.one-mode > svg:first-child { display: none; } }
@media (max-width: 380px) { .one-tools:has(.one-mode:not([hidden])) .one-tools-sep, .one-tools:has(.one-mode:not([hidden])) #shopChip > svg:last-of-type { display: none; } }

/* ---- 回答时间线（040 UI · 10-25，接 R S6；画布「模式呈现」Mode1–5）：极光说的话是正文，步骤一行灰字，计划在最前面 ---- */
.one-tl { display: flex; flex-direction: column; gap: 12px; }
.one-tl-text { margin: 0; }
.one-tl-row { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 24px; padding: 2px 6px 2px 2px; margin-left: -2px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; line-height: 20px; text-align: left; cursor: pointer; }
.one-tl-row:hover { background: var(--soft); color: var(--body); }
.one-tl-row > svg, .one-tl-list svg { flex: none; }
.one-tl-row .one-tl-head { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-tl-row small, .one-tl-list small { flex: none; color: var(--faint); font-size: 12.5px; }
.one-tl-row small::before, .one-tl-list small::before { content: "· "; }
.one-tl-chev { color: #9AAAB6; transition: transform var(--t-fast) var(--ease-out); }
.one-tl-row[aria-expanded="true"] .one-tl-chev { transform: rotate(90deg); }
.one-tl-steps.is-running > .one-tl-row { color: var(--body); }
.one-tl svg.is-ok { color: var(--teal); }
.one-tl svg.is-warn { color: var(--amber); }
.one-tl svg.is-todo { color: #9AAAB6; }
.one-tl svg.is-half, .one-tl svg.is-now { color: var(--teal); }
/* PD 11-12：计划这一行——做完的灰、正在做的青弧（跑着时和下面的转圈一起转）、还没做的浅灰虚线圈 */
.one-tl svg.is-done { color: var(--muted); }
.one-tl-plan-list > .is-pending svg.is-todo, .one-tl-plan-list > .is-missed svg.is-todo { color: #B4C0C8; }
.one-tl svg.is-stop { color: var(--muted); }
.one-tl-plan-list > .is-stopped { color: var(--body); }
.one-tl-plan-list > .is-missed { color: #9AAAB6; }
.one-tl.is-live .one-tl-plan-list svg.is-now { animation: one-tl-spin var(--spin) linear infinite; }
@media (prefers-reduced-motion: reduce) { .one-tl.is-live .one-tl-plan-list svg.is-now { animation: none; } }
/* 接回原进度块的折叠和淡入（run-block.css）；这里只适配时间线原有间距。 */
.one-tl-steps > .ar-run-fold[data-open="true"] { margin-top: 6px; }
.one-tl-steps > .ar-run-fold[data-open="false"] { margin-top: 0; }
.one-tl-list { display: flex; flex-direction: column; gap: 6px; margin: 0 0 0 7px; padding: 2px 0 2px 13px; border-left: 1px solid var(--line-3); list-style: none; }
.one-tl-list li { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.one-tl-list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-tl-list li.is-running { color: var(--body); }
.one-tl-spin { flex: none; width: 14px; height: 14px; box-sizing: border-box; border: 2px solid #D3DCE0; border-top-color: var(--teal); border-radius: 50%; animation: one-tl-spin var(--spin) linear infinite; }
@keyframes one-tl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .one-tl-spin { animation: none; } .one-tl-chev { transition: none; } }
/* 计划：一行小清单；答完全部做完收成一行（点开看）；手机上进行中也收成一行。 */
.one-tl-plan { font-size: 13px; line-height: 20px; color: var(--muted); }
.one-tl-plan-sum { display: none; }
.one-tl-plan-full { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.one-tl-plan-full b { font-weight: 600; color: var(--body); }
.one-tl-plan-list { display: contents; }
.one-tl-plan-list > span { display: inline-flex; align-items: center; gap: 4px; }
.one-tl-plan-list > .is-in_progress { color: var(--ink); }
.one-tl-plan-list > .is-blocked { color: var(--amber-ink); }
.one-tl-plan.is-folded .one-tl-plan-sum { display: inline-flex; }
.one-tl-plan.is-folded .one-tl-plan-full { display: none; }
.one-tl-plan.is-open .one-tl-plan-sum { display: inline-flex; }
.one-tl-plan.is-open .one-tl-plan-full { display: flex; margin-top: 4px; padding-left: 20px; }
@media (max-width: 520px) {
  .one-tl-plan.is-live:not(.is-open) .one-tl-plan-sum { display: inline-flex; }
  .one-tl-plan.is-live:not(.is-open) .one-tl-plan-full { display: none; }
  .one-tl-plan.is-live.is-open .one-tl-plan-sum { display: inline-flex; }
}
/* 进行中：时间线在上，开头那一行挪到末尾当运行状态行（小一号，不加粗），旧的步骤清单不画。 */
.ar-run[data-mode="timeline"] { display: flex; flex-direction: column; gap: 8px; }
.ar-run[data-mode="timeline"] .ar-run-tl { order: 0; }
.ar-run[data-mode="timeline"] .ar-run-tl .one-tl { margin-bottom: 4px; }
.ar-run[data-mode="timeline"] .ar-run-head { order: 1; gap: 8px; min-height: 22px; }
.ar-run[data-mode="timeline"] .ar-run-title { font-size: 13px; font-weight: 400; color: var(--sec); }
.ar-run[data-mode="timeline"] .ar-run-elapsed { margin-left: 0; font-size: 13px; color: var(--sec); }
.ar-run[data-mode="timeline"] .ar-run-elapsed::before { content: "· "; }
.ar-run[data-mode="timeline"] .ar-run-icon[data-icon="mark"] { width: 14px; height: 14px; box-sizing: border-box; border: 2px solid #D3DCE0; border-top-color: var(--teal); border-radius: 50%; background: none; animation: one-tl-spin var(--spin) linear infinite; }
.ar-run[data-mode="timeline"] .ar-run-icon[data-icon="mark"] > i { display: none; }
.ar-run[data-mode="timeline"] :is(.ar-run-activity, .ar-run-safety) { order: 2; margin-left: 22px; }
.ar-run[data-mode="timeline"] .ar-run-safety { order: 3; font-size: 12.5px; color: var(--faint); }
.ar-run-tl[hidden] { display: none; }
/* 「只看结论」：答完的回答里藏起中间结论和步骤；计划、最终回答、收尾卡照常。运行中（进度块里）不藏。 */
body.is-lean .one-answer .one-tl:not(.is-live) > :is(.one-tl-text, .one-tl-steps) { display: none; }
.one-lean-toggle[aria-pressed="true"] { color: var(--teal); background: #EEF7F9; }
/* 底行：用时、思考档位、自检。 */
.one-foot .one-spent { margin-right: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.one-depth-check { display: inline-flex; align-items: center; gap: 3px; vertical-align: -2px; }
.one-depth-check > svg { flex: none; }
.one-depth-check.is-ok { color: var(--teal); }
.one-depth-check.is-warn { color: var(--amber); }
@media (max-width: 520px) { .one-foot .one-spent { display: none; } }

/* 自动续做的分隔线（040 · 10-25）：两边细线，中间「⟳ 接着做（第 n 轮）：…」。 */
.one-sysline { align-items: center; gap: 12px; margin: 14px 0 6px; color: var(--teal); font-size: 12.5px; }
.one-sysline::before, .one-sysline::after { content: ""; flex: 1 1 24px; min-width: 24px; height: 1px; background: var(--line-3); }
.one-sysline span { display: inline-flex; align-items: center; gap: 6px; max-width: 78%; text-align: center; line-height: 1.5; }
.one-sysline span > svg { flex: none; }
.one-sysline time { flex: none; order: 3; margin-left: -4px; }
.one-sysline::after { order: 4; }
/* 目标条（040 · 10-25）：输入框里最上面一行，和倒计时条同一个位置。 */
.one-goal-strip { display: block; padding: 0; background: #F3F9FA; color: var(--body); }
.one-goal-strip[data-tone="idle"] { background: var(--soft); }
.one-goal-strip[data-tone="wait"] { background: #FFF8F1; }
.one-goal-strip[data-tone="warn"] { background: #FFF8F1; }
.one-goal-line { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 8px; font-size: 12.5px; white-space: nowrap; }
.one-goal-line > svg, .one-goal-line > .one-tl-spin { flex: none; color: var(--teal); }
.one-goal-strip[data-tone="idle"] .one-goal-line > svg { color: var(--muted); }
.one-goal-strip[data-tone="warn"] .one-goal-line > svg, .one-goal-strip[data-tone="wait"] .one-goal-line > svg { color: var(--amber); }
.one-goal-line b { flex: none; font-weight: 600; color: var(--teal); }
.one-goal-strip[data-tone="idle"] .one-goal-line b { color: var(--sec); }
.one-goal-strip:is([data-tone="warn"], [data-tone="wait"]) .one-goal-line b { color: var(--amber-ink); }
.one-goal-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--body); }
.one-goal-text i { margin: 0 6px; font-style: normal; color: var(--faint); }
.one-goal-line button { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 24px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--teal); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-goal-line button:hover { background: rgba(15, 110, 133, .08); }
.one-goal-line .one-goal-more { color: var(--sec); }
.one-goal-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.one-goal-missing { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0 10px 8px 28px; list-style: none; font-size: 12.5px; line-height: 1.6; color: var(--body); }
.one-goal-missing li { display: flex; align-items: flex-start; gap: 6px; }
.one-goal-missing li > svg { flex: none; margin-top: 3px; color: #9AAAB6; }
.one-goal-short { display: none; }
@media (max-width: 520px) {
  .one-goal-line { gap: 4px; padding: 6px; }
  .one-goal-long { display: none; }
  .one-goal-short { display: inline; }
  /* 底行一行放下：「思考 · 自检」那段太长时截断，不把时间挤到下一行。 */
  .one-foot { flex-wrap: nowrap; }
  .one-foot .one-depth-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .one-depth-check { display: inline; }
  .one-depth-note .one-depth-head { display: none; }
  .one-depth-check > svg { vertical-align: -2px; margin-right: 2px; }
  .one-foot time { flex: none; }
}
/* 收尾卡（040 · 10-25）：目标办完，挂在最终回答后面。 */
.one-finish { margin: 4px 0 2px; padding: 12px 16px 14px; border: 1px solid #CFE3E9; border-radius: 12px; background: #F3F9FA; }
.one-finish h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--teal); }
.one-finish h4 small { font-size: 12.5px; font-weight: 400; color: var(--sec); }
.one-finish ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.one-finish li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; font-size: 13.5px; line-height: 1.65; color: var(--body); }
.one-finish li > span { color: var(--muted); }
@media (max-width: 520px) { .one-finish { padding: 12px 12px 12px; } .one-finish li { grid-template-columns: 48px minmax(0, 1fr); font-size: 13px; } }

/* ---- 悬浮窗（F）· F8：只有悬浮窗（Owner 10-25）——层级、最大化与首页、标签徽标 ---- */
/* 悬浮窗在页面所有内容的最上面（你自己放的可以盖住输入框）；最大化、右侧那一栏、自动摆的都停在输入框以外，不会真的盖住它。弹出菜单仍在最上面。 */
.one-layer { z-index: 55; }
/* 首页有最大化的（或手机上铺满的）悬浮窗：首页摆法让开，问候语收起，输入框回到底部，和会话里一样。 */
body.is-home.is-covered .one-dock { top: auto; display: block; }
body.is-home.is-covered .one-wrap { padding: 34px 0 20px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .72) 22px, #FFFFFF 34px); }
body.is-home.is-covered .one-hero { display: none; }
.one-lift-note > span:first-child { color: var(--muted); }
.one-ws-badge { flex: none; padding: 1px 6px; border-radius: 999px; background: #FDF3E1; color: #9A5B00; font-size: 11px; font-weight: 500; white-space: nowrap; }
/* 输入框的弹层（店铺、任务、悬浮窗列表、授权）打开时，输入框这一层提到悬浮窗上面，弹层不会被最大化的或右侧的悬浮窗挡住（F8）。 */
body:has(#pop:not([hidden]), #panel:not([hidden])) .one-dock { z-index: 60; }
.one-float-badge.is-act { border: 0; cursor: pointer; font: inherit; font-size: 11px; background: #FDF3E1; color: #9A5B00; }
.one-float-badge.is-act:hover, .one-ws-badge.is-act:hover { background: #F8E3BC; }
.one-ws-badge.is-act { cursor: pointer; }
/* ---- 悬浮窗（F）· 10-27：固定在右侧的也能看出来能拖（040「拖出来没人发现」）——平时和以前一样干净，抓手和底色只在鼠标移到顶部时出现 ---- */
.one-float-h { border-radius: 12px 12px 0 0; transition: background-color var(--t-fast); }
.one-float-grip { display: inline-flex; flex: none; width: 14px; opacity: 0; transition: opacity var(--t-fast); }
.one-float-h:hover { background: var(--soft-2); }
.one-float-h:hover .one-float-grip { opacity: 1; }
.one-float.is-mode-page .one-float-h:hover, .one-float.is-mode-panel .one-float-h:hover { background: transparent; }
.one-ws-tab.is-on { cursor: grab; }
.one-ws-grip { display: inline-flex; flex: none; width: 14px; margin-left: -6px; opacity: 0; transition: opacity var(--t-fast); }
.one-ws-tab.is-on:hover .one-ws-grip { opacity: 1; }
.one-ws-tab.is-on:hover { background: var(--soft-2); }
/* 拖的时候：轻轻抬起、阴影加深；原位置留虚线空位；靠近右边亮起一条可以放的（青色）。 */
.one-float.is-lifting { box-shadow: var(--sh-top); transform: scale(1.012); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); z-index: 61; cursor: grabbing; }
.one-float.is-in-ws.is-lifting { position: fixed; border: 1px solid var(--line); border-radius: 12px; }
.one-float.is-in-ws.is-lifting > .one-float-h { display: flex; }
.one-float-slot { flex: none; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--faint); font-size: 12.5px; transition: border-color var(--t-fast), color var(--t-fast); }
.one-float-slot.is-back, .one-ws-slot.is-back { border-color: #9AAAB6; color: var(--muted); }
.one-ws-slot { position: fixed; z-index: 30; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--line); border-radius: 0 0 12px 12px; background: var(--soft-2); color: var(--faint); font-size: 13px; pointer-events: none; transition: border-color var(--t-fast), color var(--t-fast); }
.one-ws-zone { position: fixed; right: 8px; z-index: 50; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--cyan); border-radius: 12px; background: rgba(83,191,213,.08); color: var(--teal); font-size: 13px; letter-spacing: .2em; writing-mode: vertical-rl; pointer-events: none; opacity: .55; transition: opacity var(--t-fast), background-color var(--t-fast); }
.one-ws-zone[hidden] { display: none; }
.one-ws-zone.is-hot { opacity: 1; background: rgba(83,191,213,.14); }
/* 「悬浮窗」面板「我的」第一行、整页「我的」右边：「新做一个」（10-27，进「创造：悬浮窗」；不用紫色）。 */
.one-win-open > .one-win-plus { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: var(--soft); color: var(--teal); }
.one-win-new b { color: var(--teal); }
.one-wpage-hrow { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.one-wpage-hrow .one-wpage-h { margin: 0; }
.one-wpage-hrow .cn-btn { display: inline-flex; align-items: center; gap: 4px; }
/* 按住拖的时候沙箱不接指针（不然经过它时拖动会停）；从旁白提起的卡片所在那一栏提到最上面。 */
html.is-float-pressing iframe { pointer-events: none !important; }
.one-rail.is-lifting-from { z-index: 62; }
@media (max-width: 920px) { .one-ws-grip { display: none; } .one-ws-tab.is-on { cursor: pointer; } .one-ws-tab.is-on:hover { background: transparent; } }
/* 紫色标签放不下时：名字省略号，× 一直看得见（10-27，「调整：悬浮窗名」「调整：任务名」都适用）。 */
.one-tools .one-chip.one-mode { min-width: 0; flex-shrink: 1; }
.one-tools .one-chip.one-mode > span:not(.one-mode-x) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-tools .one-chip.one-mode > .one-mode-x { flex: none; }
/* #2078 UI 评审：手机上「调整：」「设跟进：」保留前缀、截名字；连前缀加一个字都放不下时，名字换到第二行被裁掉，只剩前缀（完整内容在 title）。 */
@media (max-width: 480px) {
  .one-tools .one-chip.one-mode > span:has(> .one-mode-pre) { display: flex; flex-wrap: wrap; height: 1.5em; line-height: 1.5em; }
  .one-tools .one-chip.one-mode .one-mode-pre { flex: none; }
  .one-tools .one-chip.one-mode .one-mode-name { flex: 1 1 0; min-width: 2em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* 手机、窄屏（≤720）和没有鼠标的：不出抓手、不换底色，只用按钮和菜单。 */
@media (max-width: 720px), (hover: none) {
  .one-float-grip, .one-ws-grip { display: none; }
  .one-float-h:hover, .one-ws-tab.is-on:hover { background: transparent; }
}
/* 关掉动效的人：抬起、亮起只是出现 / 消失，不做动画。 */
@media (prefers-reduced-motion: reduce) {
  .one-float.is-lifting { transform: none; transition: none; }
  .one-float-h, .one-float-grip, .one-ws-grip, .one-float-slot, .one-ws-slot, .one-ws-zone { transition: none; }
}
/* 执行回执（040 · 10-25，接 R 多轮实测）：「## 执行结果」整段按回执版式画；结果那句按结果上色；「涉及」「平台编号」用次要字号。 */
.one-rc { display: flex; flex-direction: column; gap: 10px; }
.one-rc-title { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.one-rc-lead { margin: 0; font-size: 14px; line-height: 1.7; color: var(--body); }
.one-rc-lead .is-fail { color: var(--red); font-weight: 500; }
.one-rc-lead .is-warn { color: var(--amber-ink); font-weight: 500; }
.one-rc-list { display: flex; flex-direction: column; border: 1px solid var(--line-3); border-radius: 12px; overflow: hidden; }
.one-rc-item { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; }
.one-rc-item + .one-rc-item { border-top: 1px solid var(--line-3); }
.one-rc-head { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.one-rc-status { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: var(--body); }
.one-rc-status > svg { flex: none; margin-top: 3px; }
.one-rc-status.is-ok > svg { color: var(--teal); }
.one-rc-status.is-wait > svg { color: var(--muted); }
.one-rc-status.is-warn { color: var(--amber-ink); }
.one-rc-status.is-warn > svg { color: var(--amber); }
.one-rc-status.is-fail { color: var(--red); }
.one-rc-item.is-fail { background: #FCF5F4; }
.one-rc-item.is-warn { background: #FFFAF4; }
.one-rc-more { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--body); }
.one-rc-minor { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); word-break: break-all; }
.one-rc-tail { margin: 0; font-size: 13px; line-height: 1.7; color: var(--sec); }
/* 中断的那一轮：还记着进行中的步骤按「没做完」画（空心圈，不转圈）。 */
.one-tl-list li.is-stop { color: var(--muted); }
.one-depth-check.is-plain { color: var(--muted); }
/* 已停下的目标（不是办完）：回答里只写一行字，不画进度条（040 · 10-25）。 */
.one-goal[data-status="stopped"] .one-goal-bar { display: none; }

/* ---- 040 · 10-26 极光提示统一：动画在「减少动态效果」下关掉 ---- */
@media (prefers-reduced-motion: reduce) { #notice:not([hidden]), #notice.is-bump, #notice.is-leaving, .one-toast-tip.is-in, .one-card-note.is-new { animation: none; } }

/* ---- 040 · 10-26《极光提示统一》第六节：去掉彩色底、彩色字。字回到正文深灰；
   成块的改成左边一道 2px 细竖线，小标签改成白底细边加一个口气小点；颜色只留在竖线、小点和图标上。 ---- */
.one-confirm header b { color: var(--ink); }
.one-confirm-risk { background: transparent; color: var(--body); box-shadow: inset 2px 0 0 #E0904A; }
.one-confirm-risk svg { color: var(--amber); }
.one-safety.is-amber { color: var(--body); }
.one-safety.is-amber svg { color: var(--amber); }
.one-auth-note, .one-pop-hint { color: var(--sec); }
.one-receipt-state.is-warn, .one-ws-badge, .one-float-badge.is-act { display: inline-flex; align-items: center; gap: 4px; background: #FFFFFF; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-2); }
.one-receipt-state.is-warn::before, .one-ws-badge::before, .one-float-badge.is-act::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #E0904A; }
.one-float-badge.is-act:hover, .one-ws-badge.is-act:hover { background: var(--soft); }
.one-float-state.is-warn { background: #FFFFFF; color: var(--body); box-shadow: inset 0 0 0 1px var(--line-2); }
.one-float-note.is-warn p { color: var(--body); } .one-float-note.is-bad p { color: var(--body); }
.one-float-menu .is-warn, .one-task-actions .is-warn, .one-pop .is-warn { color: var(--ink); background: #FFFFFF; }
.one-task-actions .is-warn, .one-pop .is-warn { border-color: var(--line); }
.one-goal-strip[data-tone="wait"], .one-goal-strip[data-tone="warn"] { background: var(--soft); }
.one-depth-check.is-warn { color: var(--body); }
.one-depth-check.is-warn svg { color: var(--amber); }
/* 回执（040 · 10-25）同一原则：结果那句用正文色，颜色只在图标上；整块不上底色。 */
.one-rc-lead .is-fail, .one-rc-lead .is-warn { color: var(--ink); font-weight: 600; }
.one-rc-status.is-warn, .one-rc-status.is-fail { color: var(--ink); }
.one-rc-status.is-fail > svg { color: var(--red); }
.one-rc-item.is-warn, .one-rc-item.is-fail { background: transparent; }
.one-rc-item.is-warn { box-shadow: inset 2px 0 0 #E0904A; } .one-rc-item.is-fail { box-shadow: inset 2px 0 0 #D5604F; }

/* ---- 040 · 10-26 补充那一轮的进度区第一行（对话里还没出现那条补充时） ---- */
.ar-run-supp { order: -1; margin: 0 0 6px; padding-left: 10px; box-shadow: inset 2px 0 0 #CFE3DA; font-size: 13.5px; line-height: 1.6; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-run-supp[hidden] { display: none; }

/* ---- 040 · 10-26 排队的补充改成对话最后一条淡一点的你的消息（Owner 01:47–01:50）：虚线框、次要色；
   左边三个图标（改一下 · 复制 · 撤回）悬停才出，手机上一直在；下面一行「这一步做完就发 · 立即发送 ⌘↵」。 ---- */
.one-queued { align-self: flex-end; max-width: 560px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 2px 0 8px; }
.one-queued-row { display: flex; align-items: flex-start; gap: 4px; max-width: 100%; }
.one-queued-acts { flex: none; display: flex; gap: 2px; padding-top: 6px; opacity: 0; transition: opacity var(--t-fast) var(--ease-out); }
.one-queued:hover .one-queued-acts, .one-queued:focus-within .one-queued-acts { opacity: 1; }
@media (hover: none) { .one-queued-acts { opacity: 1; } }
.one-queued-acts .one-foot-ic { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.one-queued-acts .one-foot-ic:hover { background: var(--soft); color: var(--ink); }
.one-queued-bubble { min-width: 0; padding: 11px 14px; border: 1px dashed #C9D4DA; border-radius: 12px; background: #FFFFFF; color: var(--sec); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.one-queued.is-sending .one-queued-bubble { border-style: solid; border-color: var(--line-2); background: var(--soft); color: var(--ink); }
/* UI 11-05（Owner：补充发送缺少动效）：出现浮起；换状态时框线 / 底色过渡、下面那行字淡入；撤回淡出；
   接进这一轮时那条你的消息从排队的样子（虚线框、白底）过渡过来（main.js settleQueued）。 */
.one-queued.is-enter { animation: one-rise var(--t-mid) var(--ease-out); }
.one-queued-bubble { transition: border-color var(--t-mid) var(--ease-out), background-color var(--t-mid) var(--ease-out), color var(--t-mid) var(--ease-out); }
.one-queued-foot.is-swap { animation: one-fade var(--t-mid) var(--ease-out); }
.one-queued.is-leaving { animation: one-queued-out var(--t-fast) var(--ease-in) forwards; pointer-events: none; }
@keyframes one-queued-out { to { opacity: 0; transform: translateY(6px); } }
.one-user.is-settling .one-user-bubble { outline: 1px dashed #C9D4DA; outline-offset: -1px; background: #FFFFFF; color: var(--sec); }
.one-user.is-settling.is-settled .one-user-bubble { outline-color: transparent; background: var(--soft); color: var(--ink); transition: outline-color var(--t-slow) var(--ease-out), background-color var(--t-slow) var(--ease-out), color var(--t-slow) var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .one-queued.is-enter, .one-queued-foot.is-swap, .one-queued.is-leaving { animation: none; } .one-queued-bubble { transition: none; } }
.one-queued-foot { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--faint); }
.one-queued-foot svg { flex: none; color: #D5604F; }
.one-queued-now { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--sec); font: inherit; font-size: 12px; cursor: pointer; }
.one-queued-now:hover { color: var(--ink); }
.one-queued-now kbd { padding: 0 4px; border: 1px solid var(--line-2); border-radius: 4px; font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); }
.one-queued-wait { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); }
.one-queued-wait::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- 040 · 10-26 定时任务（接 R 定时包；方案《方案-040-定时任务界面-20261026》） ---- */
/* 建议卡：和数据提示同一个口吻（极光小标 + 一句话），细边白底，不上彩色底 */
.one-offer { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 10px; margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; }
.one-offer-body { min-width: 0; }
.one-offer p { margin: 0; }
.one-offer-title { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.one-offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 2px !important; font-size: 12.5px; color: var(--muted); }
.one-offer-meta i { font-style: normal; color: var(--faint); }
.one-offer-time { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px 0 8px; border: 0; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-offer-time svg { color: var(--muted); }
.one-offer-time:hover { box-shadow: inset 0 0 0 1px var(--teal); }
/* 一次性提醒的时间不能改：同样的外形，不给可点的手感。 */
.one-offer-time.is-fixed, .one-offer-time.is-fixed:hover { padding-right: 8px; box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.one-offer-goal { margin-top: 6px !important; font-size: 13px; line-height: 1.6; color: var(--body); }
.one-offer .one-card-note { margin: 8px 0 0; padding: 0; border-top: 0; }
.one-offer-acts { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.one-offer-acts button { height: 30px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.one-offer-acts button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-offer-acts button.is-primary:hover { background: var(--navy-h); }
.one-offer-acts button.is-quiet { border-color: transparent; color: var(--muted); padding: 0 8px; }
.one-offer-acts button.is-quiet:hover { color: var(--ink); }
.one-offer-acts button:disabled, .one-offer-time:disabled { opacity: .6; cursor: default; }
.one-offer-done { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--body); }
.one-offer-done svg { flex: none; color: #2F7D5B; }
.one-offer-done span { flex: 1; min-width: 0; }
.one-offer-done button { flex: none; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.one-offer-quiet { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); }
/* 改时间的小面板 */
.one-se-pop { position: fixed; z-index: 85; width: min(340px, calc(100vw - 24px)); }
.one-se-pop[hidden] { display: none; }
.one-se { padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(14, 27, 42, .14); font-size: 13px; color: var(--body); animation: one-menu-in var(--t-fast) var(--ease-out); }
.one-se-kinds, .one-se-days { display: flex; flex-wrap: wrap; gap: 4px; }
.one-se-kinds button { height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--sec); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-se-kinds button.is-on { background: var(--navy); box-shadow: none; color: #FFFFFF; }
.one-se-days { margin-top: 10px; }
.one-se-days button { width: 34px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--sec); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-se-days.is-month button { width: calc((100% - 24px) / 7); }
.one-se-days button.is-on { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; }
.one-se-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; color: var(--sec); }
.one-se-line input, .one-se-line select { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: #FFFFFF; color: var(--ink); font-family: var(--mono); font-size: 13px; }
.one-se-line small { margin-left: auto; font-size: 12px; color: var(--faint); }
.one-se-error { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; color: var(--body); }
.one-se-error svg { color: #D5604F; }
.one-se-acts { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.one-se-acts button { height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.one-se-acts button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-se-acts button:disabled { opacity: .6; cursor: default; }
/* 任务整页 › 定时：管理 */
.one-sch.cn-card { overflow: visible; }
.one-sch .cn-head { flex-wrap: wrap; gap: 8px 12px; }
.one-sch-tabs { display: flex; gap: 2px; }
.one-sch-tabs button { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--sec); font: inherit; font-size: 13px; cursor: pointer; }
.one-sch-tabs button small { margin-left: 4px; color: var(--faint); font-size: 12px; }
.one-sch-tabs button.is-on { background: var(--soft); color: var(--ink); font-weight: 600; }
.one-sch [data-sch-new] { display: inline-flex; align-items: center; gap: 4px; }
.one-sch-note { display: flex; align-items: center; gap: 6px; margin: 0; padding: 8px 16px; border-top: 1px solid var(--line-3); font-size: 12.5px; color: var(--body); }
.one-sch-note svg { color: var(--muted); }
.one-sch-list { margin: 0; padding: 0 16px; list-style: none; }
.one-sch-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 11px 0; border-top: 1px solid var(--line-3); }
.one-sch-row:first-child { border-top: 0; }
.one-sch-main { min-width: 0; }
.one-sch-name { display: block; max-width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.one-sch-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink); }
.one-sch-name:hover b { text-decoration: underline; text-underline-offset: 3px; }
.one-sch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 2px 0 0; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.one-sch-tag { padding: 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11px; color: var(--sec); }
.one-sch-state { display: inline-flex; align-items: center; gap: 5px; color: var(--body); }
.one-sch-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9AAAB6; }
.one-sch-state[data-tone="ok"]::before { background: #2F9E6B; } .one-sch-state[data-tone="warn"]::before { background: #E0904A; } .one-sch-state[data-tone="err"]::before { background: #D5604F; }
.one-sch-faint { color: var(--faint); }
.one-sch-acts { position: relative; display: flex; align-items: center; gap: 4px; }
.one-sch-menu { position: absolute; z-index: 20; right: 0; top: calc(100% + 4px); min-width: 200px; border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(14, 27, 42, .12); }
.one-sch-menu.is-up { top: auto; bottom: calc(100% + 4px); }
.one-sch-menu > button.is-armed { color: var(--red); font-weight: 600; } /* PD 11-17：删除、收回类「再点一次」统一红字，不用左边竖条 */
.one-sch-runs { grid-column: 1 / -1; margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--soft-2); list-style: none; }
.one-sch-run { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding: 4px 0; font-size: 12.5px; line-height: 1.6; color: var(--body); }
.one-sch-run time { font-family: var(--mono); color: var(--muted); }
.one-sch-run b { font-weight: 600; }
.one-sch-run.is-quiet { color: var(--faint); }
@media (max-width: 480px) { .one-sch-list { padding: 0 12px; } .one-sch-run { grid-template-columns: 1fr; gap: 0; } }
/* 任务弹层顶部：今天的定时结果 */
.one-today { margin: 0 0 8px; padding: 8px 10px; border-radius: 9px; background: var(--soft-2); }
.one-today-line { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--body); }
.one-today-line > span:nth-child(2) { flex: 1; min-width: 0; }
.one-today-line .one-dn-mark { width: 12px; height: 17px; flex: none; }
.one-today-line .one-link { flex: none; }
.one-today-list { margin: 6px 0 0; padding: 0; list-style: none; }
.one-today-list button { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; width: 100%; padding: 5px 4px; border: 0; border-radius: 6px; background: none; text-align: left; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.one-today-list button:hover { background: #FFFFFF; }
.one-today-list b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-today-list time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.one-today-list small { grid-column: 2 / -1; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-today-dot { width: 6px; height: 6px; border-radius: 50%; background: #9AAAB6; }
.one-today-dot[data-tone="ok"] { background: #2F9E6B; } .one-today-dot[data-tone="warn"] { background: #E0904A; } .one-today-dot[data-tone="err"] { background: #D5604F; }
@media (prefers-reduced-motion: reduce) { .one-se { animation: none; } }
/* 定时任务的会话还没有结果时的一行说明（不再看起来像回到首页）。 */
.one-sched-empty { margin: 48px auto 0; max-width: 520px; padding: 14px 16px; border: 1px dashed #D3DCE0; border-radius: 12px; color: var(--muted); text-align: center; line-height: 1.6; }

/* ---- 040 · 10-27 接 047 / S / D 的界面 ---- */
/* 确认卡：请先核对（大幅改动、极光代填）——卡头下面一块，左边琥珀细线，不用彩色底 */
.one-confirm-attn { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line-3); box-shadow: inset 2px 0 0 #E0904A; }
.one-confirm-attn-h { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13px; color: var(--ink); }
.one-confirm-attn-h svg { flex: none; color: var(--amber); }
.one-confirm-attn-h span { margin-left: auto; font-size: 12px; color: var(--muted); }
.one-confirm-attn ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.one-confirm-attn li { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.one-confirm-attn li i { flex: none; font-style: normal; font-size: 12px; padding: 0 6px; border-radius: 4px; background: #FBF1E4; color: var(--amber-ink); }
/* 这张卡为什么没有自动执行（approval.autoHeld） */
.one-confirm-held { display: flex; gap: 6px; align-items: flex-start; margin: 0; padding: 8px 14px; border-top: 1px solid var(--line-3); font-size: 13px; line-height: 1.6; color: var(--body); }
.one-confirm-held svg { flex: none; margin-top: 3px; color: var(--muted); }
.one-confirm-held b { font-weight: 500; color: var(--ink); }
/* 回执：已受理（极光还不会自动核对结果）——中性色，打一个勾，下面一行小字 */
.one-rc-status.is-accepted > svg { color: var(--sec); }
.one-rc-status.is-accepted > span { display: flex; flex-direction: column; }
.one-rc-status.is-accepted b { font-weight: 500; color: var(--ink); }
.one-rc-status.is-accepted small { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.one-rc-lead .is-accepted { color: var(--ink); font-weight: 500; }
/* 回执上的「继续剩余 N 项」 */
.one-receipt-check button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-receipt-check button.is-primary:hover { border-color: var(--navy-h); background: var(--navy-h); color: #FFFFFF; }
/* 持续交办卡：每项写操作的执行方式（自动 / 每批先过目 / 每笔先过目）和每天上限 */
.lt-tier { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 0 7px; height: 20px; border-radius: 999px; font-size: 12px; font-weight: 500; vertical-align: 1px; box-shadow: inset 0 0 0 1px var(--line); color: var(--body); white-space: nowrap; }
.lt-tier.is-auto { box-shadow: inset 0 0 0 1px #A8D5DF; color: var(--teal); background: #F3F9FA; }
.lt-tier small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.lt-writes { display: flex; gap: 6px; align-items: flex-start; margin: 8px 16px 0; font-size: 12.5px; line-height: 1.6; color: var(--sec); }
.lt-writes svg { flex: none; margin-top: 2px; color: var(--muted); }
/* 托管：「已按你改的值接着办」——一行确认的口气（青色勾），写清改了什么、之后怎么算 */
.tk-manual { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; box-shadow: inset 2px 0 0 var(--cyan); font-size: 13.5px; line-height: 1.65; color: var(--body); }
.tk-manual > svg { flex: none; margin-top: 3px; color: var(--teal); }
.tk-manual > div > b { display: block; font-weight: 600; color: var(--ink); }
.tk-manual span b { font-weight: 600; color: var(--ink); }
.notification-item .notification-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: #EAF4F7; color: var(--teal); font-size: 11.5px; font-style: normal; font-weight: 500; vertical-align: 1px; }
/* 040 · 10-27（接 D）：定时任务会话顶上的任务条——这个会话是哪个定时任务、现在怎样、最该点的一个，⋯ 里改时间、暂停 */
.one-sched-bar { position: sticky; top: 64px; z-index: 6; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 10px 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.one-sched-bar .one-sched-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--soft); color: var(--sec); }
.one-sched-bar .one-sch-meta { flex: 1; min-width: 0; margin: 0; }
.one-sched-bar .one-sch-meta b { max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.one-sched-bar .cn-btn { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.one-sched-bar .one-sch-acts > .one-sch-faint { font-size: 12px; white-space: nowrap; }
.one-sch-tag.is-write { box-shadow: inset 0 0 0 1px #E8C9A8; color: var(--amber-ink); }
@media (max-width: 480px) {
  .one-sched-bar { align-items: flex-start; gap: 8px; padding: 8px; }
  .one-sched-bar .one-sched-ic { display: none; }
  .one-sched-bar .one-sch-meta b { flex-basis: 100%; max-width: none; }
  .one-sched-bar .one-sch-acts > .one-sch-faint { display: none; }
}
/* 运行记录一行可以点：打开任务会话、定位到那一次回答 */
.one-sch-run[data-run-message] { margin: 0 -6px; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.one-sch-run[data-run-message]:hover { background: #FFFFFF; }
/* 弹层里定时任务一行的状态字 */
.one-pop .one-task-open em { font-style: normal; }
/* 建议卡「不用」：就地问一句为什么（可以不选） */
.one-offer-why { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.one-offer-why > span { margin-right: 2px; }
.one-offer-why button { height: 28px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-offer-why button:hover { border-color: var(--line); background: var(--soft-2); }
.one-offer-why button.is-quiet { border-color: transparent; background: none; color: var(--muted); }
.one-offer-why button:disabled { opacity: .6; cursor: default; }
.one-notes-list .notification-item .notification-tag { margin: 3px 0 1px; }
/* 有任务条时，定位到某一次回答别被顶栏和条挡住；手机上顶栏两行高，条不吸顶，跟着内容走 */
.one-sched-bar ~ * { scroll-margin-top: 132px; }
@media (max-width: 720px) { .one-sched-bar { position: relative; top: auto; } .one-sched-bar ~ * { scroll-margin-top: 112px; } }

/* 040 · 10-27（Owner 反馈）
   ① 输入框上沿：原来上沿颜色太浅、又被高光盖住，看着只有光晕没有线。现在上沿比两侧只浅一点，高光也带色，线一直在。
   ② 「模式 普通」「思考 最高」同一套字色：前面的名字灰，后面的值深色；选了档位只靠边框区分。
   ③ 思考强度弹层：每档一行（名字 + 短说明并排），标题说明一句，整体更矮更窄。 */
.one-tools .one-chip.one-mode-btn, .one-tools .one-chip.one-depth, .one-tools .one-chip.one-depth.is-on { color: var(--sec); }
.one-tools .one-chip.one-mode-btn > .one-mode-now, .one-tools .one-chip.one-depth > span:not(.one-depth-k):not(.one-depth-goal-k) { color: var(--ink); font-weight: 500; }
.one-tools .one-chip.one-depth.is-on { border-color: #B9CCD4; }
.one-tools .one-chip.one-depth.is-goal > span:not(.one-depth-k) { color: var(--teal); }
.one-pop.is-depth { width: min(280px, var(--cw)); }
.one-depth-menu .one-depth-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 4px; }
.one-depth-menu .one-depth-head small { font-size: 12px; color: var(--muted); }
.one-depth-menu > button.one-depth-opt { align-items: center; padding-top: 6px; padding-bottom: 6px; }
.one-depth-menu > button.one-depth-opt .one-depth-dot { margin-top: 0; }
.one-depth-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.one-depth-menu .one-depth-line b { display: inline; flex: none; }
.one-depth-menu > button .one-depth-line small { display: inline; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-depth-menu > hr { margin: 4px 0; }
.one-depth-menu > button.one-depth-goal { padding-top: 7px; padding-bottom: 7px; }
.one-task-new button:disabled { opacity: .5; cursor: default; }
.one-task-new button:disabled:hover { background: #FFFFFF; border-color: var(--line); color: var(--ink); }
/* 040 · 10-27（接 D 收尾）：定时任务的确认卡——到点自动执行的范围、每天自动恢复，醒目写在卡上 */
/* 定时任务确认卡的内容：到点做什么、什么时候；改任务时「原来 → 改成」。 */
.one-confirm-plan { display: grid; gap: 6px; margin: 6px 0 2px; }
.one-confirm-plan > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 1.6; }
.one-confirm-plan dt { color: var(--muted); }
.one-confirm-plan dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.one-confirm-plan dd s { color: var(--muted); }
.one-confirm-plan dd i { margin: 0 6px; font-style: normal; color: var(--muted); }
.one-confirm-plan dd small { margin-left: 8px; font-size: 12px; color: var(--muted); }
.one-confirm-sched { display: flex; gap: 8px; margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line-3); background: #FBF6EE; box-shadow: inset 3px 0 0 #E0904A; }
.one-confirm-sched > svg { flex: none; margin-top: 2px; color: var(--amber); }
.one-confirm-sched ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.one-confirm-sched li { display: grid; gap: 2px; font-size: 13px; line-height: 1.6; color: var(--body); }
.one-confirm-sched li b { font-size: 14px; font-weight: 600; color: var(--ink); }
.one-confirm-sched li small { font-size: 12px; color: var(--muted); }
/* 定时任务会话的任务条：写操作授权一行（按授权自动执行 · 范围 · 今天几笔；暂停、作废时琥珀） */
.one-sched-bar { flex-wrap: wrap; }
.one-sched-writes { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 2px 0 0 36px; font-size: 12.5px; line-height: 1.55; color: var(--sec); }
.one-sched-writes b { font-weight: 600; color: var(--ink); }
.one-sched-writes[data-tone="warn"] b { color: var(--amber-ink); }
.one-sched-writes em { font-style: normal; color: var(--teal); }
.one-sched-writes .one-link { font-size: 12.5px; }
@media (max-width: 480px) { .one-sched-writes { margin-left: 0; } }
/* 运行记录补的一段：应到时间、目标改过、看回执 */
.one-sch-run-x { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: 6px; }
.one-sch-run-x .one-link { font-size: 12.5px; }
.one-sch-tag.is-goal { box-shadow: inset 0 0 0 1px #E8C9A8; color: var(--amber-ink); }
/* 运行记录一行：D 加了「补跑 / 自动执行 N 笔 / 留卡」这些标签后，原来两列的格子会把标签挤成一格一格的。
   改成一行排开：时间（固定宽）· 标签 · 摘要；要处理的事另起一行，和摘要对齐。手机上时间单独一行。 */
.one-sch-run { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.one-sch-run > time { flex: none; width: 7.5em; }
.one-sch-run > .one-sch-tag { flex: none; }
.one-sch-run > span:not(.one-sch-tag):not(.one-sch-run-x) { flex: 1 1 12em; min-width: 0; }
.one-sch-run > .one-sch-run-x { margin-left: 0; }
.one-sch-run > .one-sch-items { flex-basis: 100%; margin: 2px 0 0 calc(7.5em + 8px); }
@media (max-width: 480px) { .one-sch-run > time { width: auto; flex-basis: 100%; } .one-sch-run > .one-sch-items { margin-left: 0; } }
/* 弹层里定时一行的小字是一句话（时间 · 标签 · 状态 · 下次），按文字换行，不按块排 */
.one-task-open > span.one-sch-line { display: block; line-height: 1.5; }
/* 收尾2：续期写操作授权的确认卡（贴在点的地方，和改时间的小面板同一套） */
.one-rw-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 6px; }
.one-rw-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.one-rw-h small { font-size: 12px; color: var(--amber-ink); }
.one-rw-note { margin: 0 0 8px; font-size: 12.5px; line-height: 1.6; color: var(--sec); }
.one-rw-scope { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--soft-2); font-size: 13px; line-height: 1.6; color: var(--body); }
.one-rw-scope small { font-size: 11.5px; color: var(--muted); }
.one-rw-err { margin: 8px 0 0; font-size: 12.5px; color: var(--red); }
.one-rw .one-se-acts { flex-wrap: wrap; }

/* 052（10-28）：会话打不开（不存在或没有权限）时只留一句和「回到首页」，不留上一个会话的内容。 */
.one-gone { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 18vh auto 0; padding: 0 16px; text-align: center; }
.one-gone p { margin: 0; font-size: 15px; color: var(--body); }

/* 055（10-28）：首页输入框弹层放不下时，问候语和输入框整体往上挪（挪多少由 positionOverlay 算），弹层完整显示、不用在里面滑。用 top 不用 transform，免得改了里面浮层的定位基准。 */
body.is-home .one-wrap { top: calc(-1 * var(--home-lift, 0px)); }

/* 055（10-28，K-003）：逐条建议卡。顶上按建议分组计数（点一组只看这一组），每条一行：对象 · 建议 · 理由；超过 20 条先收着。手机上每条两行，不横向滚。 */
.one-isg { margin: 14px 0 4px; border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; overflow: hidden; }
.one-isg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 11px 14px 6px; }
.one-isg-head b { font-size: 14px; font-weight: 600; color: var(--ink); }
.one-isg-head span { font-size: 12px; color: var(--muted); }
.one-isg-counts { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; border-bottom: 1px solid var(--line-3); }
.one-isg-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF; color: var(--body); font: inherit; font-size: 13px; cursor: pointer; }
.one-isg-chip em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.one-isg-chip[data-tone="yes"] em { color: var(--teal); }
.one-isg-chip[data-tone="no"] em { color: var(--red); }
.one-isg-chip[data-tone="ask"] em { color: var(--amber-ink); }
.one-isg-chip:hover { background: var(--soft-2); }
.one-isg-chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-isg-chip[aria-pressed="true"] em { color: #FFFFFF; }
.one-isg-chip:focus-visible, .one-isg-more:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.one-isg-sum { margin: 0; padding: 0 14px 10px; font-size: 13px; color: var(--sec); border-bottom: 1px solid var(--line-3); }
.one-isg-list { margin: 0; padding: 0; list-style: none; }
.one-isg-row { display: grid; grid-template-columns: minmax(120px, 200px) 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 14px; border-top: 1px solid var(--line-3); font-size: 13.5px; line-height: 1.55; }
.one-isg-row:first-child { border-top: 0; }
.one-isg-who { min-width: 0; display: flex; flex-direction: column; }
.one-isg-who b { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.one-isg-who small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.one-isg-tag { justify-self: start; padding: 1px 8px; border-radius: 6px; background: var(--soft); font-size: 12.5px; font-weight: 500; color: var(--body); white-space: nowrap; }
.one-isg-tag[data-tone="yes"] { background: #E3F2F5; color: var(--teal); }
.one-isg-tag[data-tone="no"] { background: #F7E9E7; color: var(--red); }
.one-isg-tag[data-tone="ask"] { background: #FBF0E3; color: var(--amber-ink); }
.one-isg-why { min-width: 0; color: var(--body); overflow-wrap: anywhere; }
.one-isg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 9px 14px; border-top: 1px solid var(--line-3); background: var(--soft-2); font-size: 12.5px; color: var(--sec); }
.one-isg-more { margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--teal); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
@media (max-width: 720px) {
  .one-isg-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .one-isg-why { grid-column: 1 / -1; font-size: 13px; color: var(--sec); }
}

/* ---------------------------------------------------------------- 首页便签：极光看了你的店（Q 060 功能 → UI 10-31 方案，One 画布「首页推荐」）
   问候语和输入框下面常驻一张便签，只放 1 件；其余几件是底部一排小签，点了就地换。照「共用基础」：白底、1px 细线、圆角 12，
   不用浅青底、渐变、彩色胶囊；抬头一个极光标记（首页唯一一处），「先做这件」用状态圆点，方向只写灰字；一张便签一个深蓝主按钮。
   输入框的弹层出来时便签淡出，两样不同时出现。颜色只用 One 的变量和状态色。 */
.one-insight { margin: 14px 0 0; width: 100%; transition: opacity var(--t-fast) var(--ease-out), visibility var(--t-fast); }
/* UI 10-31 走查：便签不占输入框那一块的高度（挂在工具栏下面），读到、换一件、全办完都不会把问候语和输入框顶上顶下。 */
body.is-home .one-insight { position: absolute; left: 0; right: 0; }
/* 手机：便签挂在下面不算高度，输入框那一块往上提一点，给便签留出地方（不管便签读没读到，位置都一样，不跳）。 */
@media (max-width: 720px) { body.is-home:not(.is-covered) .one-wrap { padding-bottom: 240px; } }
.one-insight[hidden] { display: none; }
.one-wrap:has(> #panel:not([hidden]):not(.is-leaving)) > .one-insight, .one-wrap:has(> #pop:not([hidden])) > .one-insight { opacity: 0; visibility: hidden; pointer-events: none; }
body.is-home .one-wrap { transition: margin-left var(--t-mid) var(--ease-move), width var(--t-mid) var(--ease-move), top var(--t-mid) var(--ease-out); }
.one-brief { border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(10,29,53,.04); animation: one-brief-in var(--t-mid) var(--ease-out) both; }
.one-brief-h { display: flex; align-items: center; gap: 6px; padding: 12px 16px 0; font-size: 12.5px; color: var(--muted); }
.one-brief-h img { flex: none; width: 11px; height: 15px; }
.one-brief-h b { color: var(--ink); font-weight: 600; }
.one-brief-day { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.one-brief-dot, .one-brief-dim { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--body); white-space: nowrap; }
.one-brief-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3BA9C1; }
.one-brief-dim { color: var(--muted); }
.one-brief-done { flex: none; font-style: normal; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 500; line-height: 18px; }
.one-brief-b { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 8px 16px 14px; }
.one-brief-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.one-brief-title { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.one-brief.is-done .one-brief-title { color: var(--sec); }
.one-brief-fact { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0; }
.one-brief-big { color: var(--ink); font-size: 28px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.one-brief-label { color: var(--sec); font-size: 13px; line-height: 1.55; }
.one-brief-fact small { color: var(--muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.one-brief-why { margin: 0; color: var(--sec); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.one-brief-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.one-brief-go { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px 0 14px; border: 0; border-radius: 8px; background: var(--navy); color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.one-brief-go:hover { background: var(--navy-h); }
.one-brief.is-done .one-brief-go { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.one-brief.is-done .one-brief-go:hover { background: var(--soft); }
.one-brief-skip { height: 28px; padding: 0 6px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.one-brief-skip:hover { background: var(--soft); color: var(--sec); }
.one-brief-go:focus-visible, .one-brief-skip:focus-visible, .one-brief-chip:focus-visible, .one-brief-again:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.one-brief-f { display: flex; align-items: center; gap: 8px; padding: 10px 16px 12px; border-top: 1px solid var(--line-3); min-width: 0; }
.one-brief-more { flex: none; font-size: 12.5px; color: var(--muted); }
.one-brief-chips { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.one-brief-chips::-webkit-scrollbar { display: none; }
.one-brief-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; max-width: 240px; white-space: nowrap; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--body); font: inherit; font-size: 12.5px; cursor: pointer; }
.one-brief-chip em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; color: var(--muted); }
.one-brief-chip:hover { border-color: var(--line); background: var(--soft-2); }
.one-brief-chip.is-done { color: var(--muted); }
/* 都处理完：一行淡字，点「再看一遍」便签回来（办过的标「已办」）。 */
.one-brief-clear { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px; height: 34px; font-size: 13px; color: var(--muted); }
.one-brief-clear i { width: 6px; height: 6px; border-radius: 50%; background: #2F9E6B; }
.one-brief-again { height: 28px; padding: 0 6px; border: 0; border-radius: 6px; background: none; color: var(--teal); font: inherit; font-size: 13px; cursor: pointer; }
.one-brief-again:hover { background: var(--soft); }
@keyframes one-brief-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .one-brief, .one-insight, body.is-home .one-wrap { animation: none; transition: none; } }
/* 手机：一列，按钮横排；小签一行放不下就横着滑。 */
@media (max-width: 720px) {
  .one-insight { margin-top: 10px; }
  .one-brief-h { padding: 10px 14px 0; }
  .one-brief-day { display: none; }
  .one-brief-b { grid-template-columns: minmax(0, 1fr); padding: 8px 14px 12px; }
  .one-brief-title { font-size: 15px; }
  .one-brief-big { font-size: 24px; }
  .one-brief-acts { flex-direction: row; align-items: center; margin-top: 6px; }
  .one-brief-go { flex: 1; justify-content: center; height: 40px; border-radius: 10px; }
  .one-brief-skip { height: 40px; padding: 0 10px; }
  .one-brief-f { padding: 8px 14px 10px; }
  .one-brief-chip { max-width: 200px; }
}

/* ---------------------------------------------------------------- UI 066 · 商品成本：对话里的成本确认卡、「去录成本」
   卡：白底细边，和定时建议卡同一家族；左上一个青色小方标。每个 SKU 一行：勾选 · 名称（商品名、SKU 名、商家编码）· 数字。
   「原值 → 新值」原值灰色划掉，新值深色等宽。按钮按 One 小按钮（高 30、圆角 8）：保存深蓝实底，改一下线框，不用了淡字。 */
.one-cost { margin: 12px 0 0; padding: 14px 16px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; }
.one-cost p { margin: 0; }
.one-cost > header { display: flex; align-items: flex-start; gap: 10px; }
.one-cost > header > div { display: flex; flex-direction: column; min-width: 0; }
.one-cost > header b { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.one-cost > header span { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.one-cost-mark { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: var(--teal); box-shadow: 0 0 0 3px var(--cyan-ring); }
.one-cost-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 10px 0 2px !important; padding-left: 20px; font-size: 12.5px; color: var(--sec); }
.one-cost-meta b { font-weight: 600; color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.one-cost-day { display: inline-flex; align-items: center; gap: 8px; }
.one-cost-day input { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; color: var(--ink); }
.one-cost-rows { margin: 8px 0 0; padding: 0; list-style: none; }
.one-cost-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "chk name val" ". err err"; column-gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line-3); }
.one-cost-check { grid-area: chk; display: flex; height: 22px; align-items: center; }
.one-cost-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.one-cost-check input:disabled { cursor: default; }
.one-cost-ok { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; border-radius: 50%; background: #2F7D5B; color: #FFFFFF; font-size: 10px; line-height: 1; }
.cost-sku-image { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; border: 1px solid var(--line-3); border-radius: 7px; background: #F6F7F8; }
.cost-sku-image > span { padding: 3px; text-align: center; font-size: 10px; line-height: 1.3; color: var(--muted); }
.cost-sku-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.cost-sku-image.has-image > img { opacity: 1; }
.cost-sku-image.has-image > span { visibility: hidden; }
.cost-sku-image > button { position: absolute; inset: 0; width: 100%; padding: 2px; border: 0; border-radius: inherit; background: #F6F7F8; color: var(--muted); font-size: 9px; line-height: 1.25; white-space: pre-line; cursor: pointer; }
.cost-sku-image > button:disabled { cursor: wait; }
.one-cost-name { grid-area: name; min-width: 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.one-cost-name-text { min-width: 0; display: flex; flex-direction: column; }
.one-cost-name b { font-size: 13.5px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.one-cost-name-text span { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.one-cost-val { grid-area: val; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.one-cost-main { display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 2px 6px; font-size: 13px; color: var(--sec); }
.one-cost-k { font-size: 12px; color: var(--muted); }
.one-cost-main b { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.one-cost-main b.is-none { font-size: 13px; font-weight: 400; color: var(--muted); }
.one-cost-main small { margin-left: 3px; font-size: 11.5px; color: var(--muted); }
.one-cost-was s, .one-cost-sub s { color: var(--faint); text-decoration-color: #9AAAB6; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.one-cost-arrow { color: var(--teal); font-weight: 600; }
.one-cost-same { font-style: normal; font-size: 11.5px; color: var(--muted); }
.one-cost-sub { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 10px; font-size: 12px; color: var(--muted); }
.one-cost-sub b { font-weight: 500; color: var(--body); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.one-cost-row.is-off .one-cost-name, .one-cost-row.is-off .one-cost-val { opacity: .5; }
.one-cost-row.is-off .one-cost-main b { text-decoration: line-through; text-decoration-color: var(--faint); }
.one-cost-err { grid-area: err; margin-top: 4px !important; font-size: 12.5px; color: var(--red); }
.one-cost-err.is-card { margin: 8px 0 0 !important; padding: 7px 10px; border-radius: 8px; background: #FBEDEB; }
.one-cost-note { margin: 8px 0 0 !important; padding: 7px 10px; border-radius: 8px; background: #EEF7F9; font-size: 12.5px; color: #0F5E73; }
/* 改一下：每行一组小输入框 */
.one-cost-edit { grid-area: val; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 8px; }
.one-cost-f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--muted); }
.one-cost-f input { width: 92px; height: 30px; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--mono); font-size: 13.5px; color: var(--ink); font-variant-numeric: tabular-nums; background: #FFFFFF; }
.one-cost-f input:focus-visible, .one-cost-day input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 0; border-color: transparent; }
.one-cost-f input:disabled { background: var(--soft-2); color: var(--faint); }
.one-cost-inc { display: inline-flex; align-items: center; gap: 6px; height: 30px; font-size: 12.5px; color: var(--body); cursor: pointer; white-space: nowrap; }
.one-cost-inc input { width: 15px; height: 15px; margin: 0; accent-color: var(--teal); }
.one-cost.is-editing { border-color: #A9DCE8; box-shadow: 0 0 0 3px var(--cyan-ring); }
.one-cost.is-editing .one-cost-row { grid-template-areas: "chk name name" ". val val" ". err err"; row-gap: 8px; }
.one-cost.is-editing .one-cost-edit { justify-content: flex-start; }
.one-cost.is-editing .one-cost-val { align-items: flex-start; text-align: left; }
/* 按钮 */
.one-cost > footer { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-left: 20px; }
.one-cost-btn { height: 30px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.one-cost-btn:hover { border-color: #9AAAB6; }
.one-cost-btn.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-cost-btn.is-primary:hover { background: var(--navy-h); }
.one-cost-btn.is-quiet { border-color: transparent; color: var(--muted); padding: 0 8px; }
.one-cost-btn.is-quiet:hover { color: var(--ink); }
.one-cost-btn:disabled { opacity: .55; cursor: default; }
.one-cost-foot { margin-left: auto; font-size: 12px; color: var(--muted); }
/* 保存后：收成一条，下面列存了什么 */
.one-cost.is-saved { padding: 10px 14px; }
.one-cost-done { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--body); }
.one-cost-done-ic { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: #2F7D5B; color: #FFFFFF; font-size: 11px; }
.one-cost-done b { font-weight: 600; color: var(--ink); }
.one-cost-done > span:not(.one-cost-done-ic) { color: var(--muted); font-size: 12.5px; }
.one-cost-done .one-link { margin-left: auto; font-size: 12.5px; }
.one-cost-done-list { margin: 6px 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.one-cost-done-list li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--sec); }
.one-cost-done-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-cost-done-n code { font-family: var(--code); font-size: 11.5px; color: var(--muted); }
.one-cost-done-list b { font-family: var(--mono); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.one-cost-done-list small { margin-left: 3px; font-size: 11px; font-weight: 400; color: var(--muted); }
.one-cost-quiet { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.one-cost-quiet .one-link { margin: 0 2px; font-size: 12.5px; }
/* 「缺 n 个 SKU 的成本 · 去录成本」：回答里一条，悬浮窗外沿一条（紧凑） */
.one-costgap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: #FDF6EE; font-size: 13px; line-height: 1.6; color: var(--amber-ink); }
.one-costgap > i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.one-costgap > span { flex: 1; min-width: 200px; }
.one-costgap b { font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.one-costgap-go { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--navy); color: #FFFFFF; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.one-costgap-go:hover { background: var(--navy-h); }
.one-costgap-no { font-style: normal; font-size: 12px; color: var(--sec); }
.one-widget-costgap { padding: 6px 8px 0; }
.one-widget-costgap .one-costgap { margin: 0; padding: 6px 10px; font-size: 12px; gap: 4px 8px; }
.one-widget-costgap .one-costgap > span { min-width: 120px; }
.one-widget-costgap .one-costgap-go { height: 26px; padding: 0 10px; font-size: 12px; }
@media (max-width: 720px) {
  .one-cost { padding: 12px 12px 10px; }
  .one-cost-meta, .one-cost > footer { padding-left: 0; }
  .one-cost-row { grid-template-columns: 20px minmax(0, 1fr); grid-template-areas: "chk name" ". val" ". err"; row-gap: 4px; }
  .one-cost.is-editing .one-cost-row { grid-template-areas: "chk name" ". val" ". err"; }
  .one-cost-val { align-items: flex-start; text-align: left; }
  .one-cost-main, .one-cost-sub { justify-content: flex-start; }
  .one-cost-edit { justify-content: flex-start; }
  .one-cost-f { flex: 1 1 calc(50% - 4px); }
  .one-cost-f input { width: 100%; height: 36px; font-size: 15px; }
  .one-cost-btn { height: 36px; }
  .one-cost-foot { flex-basis: 100%; margin-left: 0; }
  .one-cost-done .one-link { margin-left: 0; }
  .one-cost-done-list { margin-left: 0; }
}
.one-cost-done-left { margin: 4px 0 0 28px !important; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) { .one-cost-done-left { margin-left: 0 !important; } }
/* 066 对接 P：认不出的项灰字列在卡下面；原来那版的生效日；没权限时只说一句 */
.one-cost-unres { margin: 8px 0 0; padding: 8px 0 0 20px; border-top: 1px dashed var(--line-2); list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.6; color: var(--muted); }
/* 成本表录入的结果卡：上面一段汇总；明细行放进一个可滚动的框。 */
.one-cost-sheet { margin: 10px 0 0; padding: 8px 12px 8px 30px; border-radius: 8px; background: #F6F8FA; list-style: disc; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.65; color: var(--sec); }
.one-cost-sheet b { font-weight: 600; color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.one-cost.is-sheet .one-cost-rows { max-height: 372px; overflow-y: auto; overscroll-behavior: contain; }
.one-cost.is-sheet .one-cost-unres { max-height: 132px; overflow-y: auto; }
.one-cost.is-sheet .one-cost-foot { display: block; margin: 8px 0 0; }
.one-cost-unres b { font-weight: 500; color: var(--sec); font-family: var(--code); font-size: 11.5px; }
.one-cost-since { color: var(--faint); }
.one-cost-quiet.is-err { color: var(--red); }
@media (max-width: 720px) { .one-cost-unres { padding-left: 0; } }

/* ---------------------------------------------------------------- 等你回复 · 通知中心三组 · 铃铛动画（UI 10-31 方案，One 画布「等你回复」一排）
   颜色各管一件事：琥珀 = 等你；青 = 有新结果；红 = 出错要你修（不配动画）；系统不提示。只为「要你」的动，而且只动一次（notes.js）。 */
.one-wait-pill { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; margin-right: 4px; padding: 0 12px 0 10px; border: 1px solid #F0D3B4; border-radius: 999px;
  background: #FFFFFF; color: #8A4A08; font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transform-origin: 100% 50%; }
.one-wait-pill[hidden] { display: none; }
.one-wait-pill::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #E0904A; }
.one-wait-pill:hover { background: #FFF8F1; }
.one-wait-pill:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.one-wait-pill[data-tone="err"] { border-color: #EFC4BD; color: var(--red); }
.one-wait-pill[data-tone="err"]::before { background: #D5604F; }
.one-wait-ring { position: absolute; inset: -1px; border-radius: 999px; border: 2px solid #E0904A; opacity: 0; pointer-events: none; }
.one-bell-dot { position: absolute; top: 6px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #3BA9C1; box-shadow: 0 0 0 2px #FFFFFF; }
.one-bell-dot[hidden] { display: none; }
.one-bell-dot[data-tone="wait"] { background: #E0904A; } .one-bell-dot[data-tone="err"] { background: #D5604F; }
/* 电脑上「要你处理」由胶囊说，铃铛上的点只管有新结果；手机上胶囊收进铃铛的点。 */
@media (min-width: 721px) { .one-bell-dot[data-tone="wait"], .one-bell-dot[data-tone="err"] { display: none; } }
@media (max-width: 720px) { .one-wait-pill { display: none; } }
#bellBtn svg { transform-origin: 50% 12%; }
#bellBtn.is-ring svg { animation: one-bell-shake .72s var(--ease-move) both; }
.one-wait-pill.is-arrive { animation: one-pill-grow .5s var(--ease-out) both; }
.one-wait-pill.is-arrive .one-wait-ring { animation: one-pill-ring .6s var(--ease-out) .45s 2; }
.one-wait-pill.is-remind .one-wait-ring { animation: one-pill-ring .9s var(--ease-out) 1; }
.one-bell-dot.is-pop { animation: one-dot-pop .5s var(--ease-out) both; }
@keyframes one-bell-shake { 0% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
@keyframes one-pill-grow { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes one-pill-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3, 1.6); } }
@keyframes one-dot-pop { 0% { transform: scale(0); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* 通知中心：顶部四个分组签；「要你处理」排第一、带按钮；有新结果只有小圆点；系统灰。 */
.one-notes { width: min(420px, calc(100vw - 24px)); }
.one-nt-tabs { display: flex; gap: 4px; padding: 0 12px 10px; border-bottom: 1px solid var(--line-3); overflow-x: auto; scrollbar-width: none; }
/* 070 走查：列表长的时候签条被压扁（24 高，签被切掉一截、列表顶上去）——签条不收缩。 */
.one-nt-tabs { flex: none; }
.one-nt-tab { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--sec); font: inherit; font-size: 13px; cursor: pointer; }
.one-nt-tab:hover { background: var(--soft-2); }
.one-nt-tab.is-on { background: var(--soft); color: var(--ink); font-weight: 500; }
.one-nt-tab em { font-style: normal; font-size: 12px; color: #8A4A08; font-variant-numeric: tabular-nums; }
.one-notes-list { padding: 0 6px 6px; }
.one-nt-group + .one-nt-group { margin-top: 4px; border-top: 1px solid var(--line-3); }
.one-nt-gh { display: flex; align-items: center; gap: 6px; margin: 0; padding: 12px 10px 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.one-nt-gh span:not(.one-nt-gd) { font-weight: 400; color: var(--muted); }
.one-nt-gd { width: 7px; height: 7px; border-radius: 50%; background: #E0904A; }
.one-nt-group.is-result .one-nt-gd { background: #3BA9C1; } .one-nt-group.is-system .one-nt-gd { background: #B5C1C9; }
.one-nt { border-radius: 10px; }
.one-nt:hover { background: var(--soft-2); }
.one-nt-main { position: relative; display: flex; gap: 12px; width: 100%; padding: 10px 10px 8px; border: 0; border-radius: 10px; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.one-nt-main:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.one-nt-ic { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--soft-2); color: var(--sec); display: grid; place-items: center; }
.one-nt.is-wait .one-nt-ic { background: #FDF3EA; color: #B0661F; }
.one-nt.is-err .one-nt-ic { background: #FBEDEB; color: #B5473A; }
.one-nt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.one-nt-t strong { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.one-nt-d { font-size: 12.5px; color: var(--muted); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.one-nt-q { font-size: 13px; color: var(--body); line-height: 1.55; }
.one-nt-t small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.one-nt .notification-tag { align-self: flex-start; margin: 2px 0 0; }
.one-nt-dot { position: absolute; top: 16px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: #3BA9C1; }
.one-nt.is-unread .one-nt-t { padding-right: 14px; }
.one-nt-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 10px 10px 54px; }
.one-nt-opt, .one-nt-verb { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.one-nt-opt:hover, .one-nt-verb:hover { background: var(--soft); }
.one-nt-verb.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; font-weight: 500; }
.one-nt-verb.is-primary:hover { background: var(--navy-h); border-color: var(--navy-h); }
.one-nt-opt:focus-visible, .one-nt-verb:focus-visible, .one-nt-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.one-nt-empty { margin: 0; padding: 18px 12px; font-size: 13px; color: var(--muted); text-align: center; }
.one-nt-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line-3); background: #FAFBFC; font-size: 12.5px; color: var(--muted); }
.one-nt-foot[hidden] { display: none; }
.one-nt-foot .one-link { font-size: 12.5px; }

/* 等你回复的弹窗：电脑右下角（输入框右上方，不挡输入框和正文）；手机从顶栏下面下来（铃铛还点得到）。一次一张，不自动消失。 */
.one-waitpop { position: fixed; z-index: 96; right: 20px; bottom: 20px; width: min(340px, calc(100vw - 40px)); border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(10,29,53,.14), 0 2px 6px rgba(10,29,53,.06); overflow: hidden; transition: opacity var(--t-fast) var(--ease-out), visibility var(--t-fast); }
.one-waitpop[hidden] { display: none; }
/* UI 10-31 走查：弹窗不压正文、不压便签。浮着的那种只在会话页右边空白够宽时出现（≥1440，宽度不超过阅读列外的空白）；
   其余（首页、会话页窄一点、手机）是输入框上面的一条（.is-strip，在输入框那一块里排着，正文和便签都让出位置）。 */
@media (min-width: 1440px) { body:not(.is-home) .one-waitpop:not(.is-strip), body.is-covered .one-waitpop:not(.is-strip) { bottom: 140px; width: min(340px, calc((100vw - var(--cw)) / 2 - 40px)); } }
.one-waitpop.is-strip { position: relative; z-index: 1; right: auto; bottom: auto; width: auto; margin: 0 0 36px; box-shadow: 0 2px 10px rgba(10,29,53,.08); }
.one-waitpop.is-strip .one-waitpop-h { padding-top: 10px; }
.one-waitpop.is-strip .one-waitpop-b { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 4px 14px 10px 16px; }
.one-waitpop.is-strip .one-waitpop-meta { flex-basis: 100%; }
.one-waitpop.is-strip .one-waitpop-ask { flex-basis: 100%; padding: 6px 10px; font-size: 13.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.one-waitpop.is-strip .one-waitpop-opts .one-waitpop-opt { flex: none; max-width: 180px; height: 32px; }
.one-waitpop.is-strip .one-waitpop-go, .one-waitpop.is-strip .one-waitpop-later { height: 32px; }
.one-waitpop.is-strip .one-waitpop-more { padding: 7px 16px; }
/* 让位：通知中心、输入框的下拉、弹层、菜单开着时，或者输入框正在首页和会话之间滑的时候，弹窗先藏起来（位置照旧占着，不跳）。 */
body:has(#notesPanel:popover-open) .one-waitpop, body:has(#panel:not([hidden]):not(.is-leaving)) .one-waitpop, body:has(#pop:not([hidden])) .one-waitpop,
body:has(.one-float-menu) .one-waitpop, body.is-sliding .one-waitpop, body.is-sliding #insight { opacity: 0; visibility: hidden; pointer-events: none; }
.one-waitpop.is-in { animation: one-waitpop-in var(--t-slow) var(--ease-out) both; }
.one-waitpop-h { display: flex; align-items: center; gap: 8px; padding: 12px 10px 0 16px; font-size: 13px; }
.one-waitpop-h b { font-weight: 600; color: var(--ink); }
.one-waitpop-pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #E0904A; box-shadow: 0 0 0 4px rgba(224,144,74,.18); }
.one-waitpop-x { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: none; color: var(--muted); cursor: pointer; }
.one-waitpop-x:hover { background: var(--soft); color: var(--sec); }
.one-waitpop-b { display: flex; flex-direction: column; gap: 8px; padding: 6px 16px 14px; }
.one-waitpop-meta { font-size: 12.5px; color: var(--muted); }
.one-waitpop-ask { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--soft-2); font-size: 14px; line-height: 1.6; color: var(--ink); }
.one-waitpop-opts { display: flex; gap: 8px; }
.one-waitpop-opt { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-waitpop-opt:hover { background: var(--soft); }
.one-waitpop-acts { display: flex; align-items: center; gap: 8px; }
.one-waitpop-go { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px 0 14px; border: 0; border-radius: 8px; background: var(--navy); color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.one-waitpop-go:hover { background: var(--navy-h); }
.one-waitpop-later { height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--sec); font: inherit; font-size: 13px; cursor: pointer; }
.one-waitpop-later:hover { background: var(--soft); }
.one-waitpop-more { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 16px; border: 0; border-top: 1px solid var(--line-3); background: #FAFBFC; color: var(--sec); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.one-waitpop-more span { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #E0904A; }
.one-waitpop-more b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--ink); }
.one-waitpop-more:hover { background: var(--soft-2); }
.one-waitpop button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* 070：选项上的「建议」（wait.options[].recommended）；要客户亲手点的确认卡写一行为什么（wait.autoHeld）；
   通知中心里马上自动执行的确认卡只列一行「N 秒后自动执行」（不弹不摇）。 */
.one-waitpop-opt em, .one-nt-opt em { margin-left: 6px; padding: 0 5px; border-radius: 4px; background: #E7F3F6; color: var(--teal); font-style: normal; font-size: 11px; font-weight: 500; line-height: 18px; vertical-align: 1px; }
.one-waitpop-held { font-size: 12.5px; line-height: 1.55; color: var(--amber-ink); }
.one-waitpop.is-strip .one-waitpop-held { flex-basis: 100%; }
.one-nt-t small.is-auto { color: var(--amber-ink); font-weight: 500; }
@keyframes one-waitpop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  /* 手机上都是输入框上面那一条。点了输入框（要打字、键盘要出来）就先藏起来（位置照旧，输入框不跳）。 */
  body:has(.one-box.on) .one-waitpop { opacity: 0; visibility: hidden; pointer-events: none; }
  .one-waitpop-opt, .one-waitpop-go { height: 40px; }
  .one-waitpop-go { flex: 1; justify-content: center; }
  /* 通知：手机上从底部拉起的抽屉。 */
  .one-notes { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; max-width: none; max-height: 80vh; border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .one-nt-acts { padding-left: 54px; }
  .one-nt-opt, .one-nt-verb { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  #bellBtn.is-ring svg, .one-wait-pill.is-arrive, .one-wait-pill.is-arrive .one-wait-ring, .one-wait-pill.is-remind .one-wait-ring, .one-bell-dot.is-pop, .one-waitpop.is-in { animation: none; }
}

/* ---------------------------------------------------------------- 手机点击区域（UI 10-31 走查）
   手机上首屏有 20 个按钮小于 32px（会话「⋯」24×24、输入框下面一排图标 30×30、「会话 / 常用」签 27 高……）。
   样子不变，用一层看不见的 ::before 把能点的范围撑到 44 高；左右最多各撑 5px，免得抢了旁边按钮。 */
@media (max-width: 720px) {
  .one-tools .one-chip, .one-tools .one-icon-btn, .one-top-btn, .one-new-btn, .one-conv-more, .one-foot-ic, .one-tabs > button, .one-table-bar button,
  .one-lift-inline, .one-waitpop-x, .one-brief-chip, .one-brief-skip, .one-nt-tab, .one-wait-pill { position: relative; }
  .one-tools .one-chip::before, .one-tools .one-icon-btn::before, .one-top-btn::before, .one-new-btn::before, .one-conv-more::before, .one-foot-ic::before, .one-tabs > button::before,
  .one-table-bar button::before, .one-lift-inline::before, .one-waitpop-x::before, .one-brief-chip::before, .one-brief-skip::before, .one-nt-tab::before {
    content: ""; position: absolute; top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px));
    left: max(-5px, min(0px, calc(50% - 22px))); right: max(-5px, min(0px, calc(50% - 22px))); }
  .one-waitpop-x { width: 36px; height: 36px; }
}

/* ---------------------------------------------------------------- 热更新 #1（Owner 10-31 实测）
   铃铛：要你处理的件数是红色数字角标（代替「N 件等你」文字胶囊）；新来一件时像手摇铃——一上来最急、幅度最大，铃身带一点红，
   越摇越慢、越摇越小，红色褪回原色，约 1.5 秒停住。只有新结果时一个青色小点。 */
/* 热更新 #2：角标小一号，挂在铃铛右上角外沿（左边对着铃铛中线往右 3px），不压住铃铛。 */
.one-bell-dot[data-tone="count"] { top: 2px; left: calc(50% + 3px); right: auto; width: auto; min-width: 14px; height: 14px; padding: 0 3px; box-sizing: border-box; border-radius: 7px;
  background: #D5604F; box-shadow: 0 0 0 1.5px #FFFFFF; color: #FFFFFF; font-size: 9px; font-weight: 700; line-height: 14px; letter-spacing: -.2px; text-align: center; font-variant-numeric: tabular-nums; }
@media (min-width: 721px) { .one-bell-dot[data-tone="count"] { display: block; } .one-bell-dot[data-tone="count"][hidden] { display: none; } }
.one-top-btn span.one-bell-dot { display: block; } .one-top-btn span.one-bell-dot[hidden] { display: none; }
#bellBtn { color: var(--navy); width: 40px; justify-content: center; padding: 0; }
#bellBtn svg { width: 20px; height: 20px; }
#bellBtn svg { transform-origin: 50% 8%; }
#bellBtn.is-ring svg { animation: one-bell-ring 1.5s linear both; }
@keyframes one-bell-ring {
  0% { transform: rotate(0); color: #D5604F; animation-timing-function: ease-out; }
  4% { transform: rotate(18deg); color: #D5604F; }
  9% { transform: rotate(-18deg); color: #D5604F; }
  15% { transform: rotate(15deg); color: #C85A4B; }
  22% { transform: rotate(-12deg); color: #B5523F; }
  31% { transform: rotate(9deg); color: #8E4A45; }
  42% { transform: rotate(-6deg); color: #5A3B4A; }
  55% { transform: rotate(4deg); color: #33334A; }
  70% { transform: rotate(-2deg); }
  85% { transform: rotate(1deg); }
  100% { transform: rotate(0); }
}

/* 等你弹窗：从铃铛下面出来（右上角），不再挤在输入框上面；手机在顶栏下面。「稍后」「不再弹出」收在 ⋯ 里。 */
.one-waitpop, .one-waitpop.is-strip { position: fixed; z-index: 96; top: 60px; right: 16px; bottom: auto; left: auto; width: min(340px, calc(100vw - 32px)); margin: 0;
  box-shadow: 0 12px 32px rgba(10,29,53,.14), 0 2px 6px rgba(10,29,53,.06); }
@media (min-width: 1440px) { body:not(.is-home) .one-waitpop:not(.is-strip), body.is-covered .one-waitpop:not(.is-strip) { bottom: auto; width: min(340px, calc(100vw - 32px)); } }
.one-waitpop-menu { display: flex; flex-direction: column; margin: 6px 12px 0; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; background: #FAFBFC; }
.one-waitpop-menu button { height: 34px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--body); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.one-waitpop-menu button:hover { background: var(--soft); }
.one-waitpop-x svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .one-waitpop, .one-waitpop.is-strip { top: 56px; left: 10px; right: 10px; width: auto; }
  body:has(.one-box.on) .one-waitpop { opacity: 1; visibility: visible; pointer-events: auto; }
}

/* 首页：平时只有问候语和输入框；客户切店、从会话回到首页时，问候语那一行换成极光看到的一件事（insight.js），一行行淡入、轻轻上浮。 */
.one-insight { display: none !important; }
.one-hero.is-find #greet { display: none; }
.one-find-box:empty { display: none; }
.one-find { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 680px; text-align: center; }
.one-find p { margin: 0; }
.one-find > * { opacity: 0; animation: one-find-in var(--t-slow) var(--ease-out) both; }
.one-find > :nth-child(2) { animation-delay: .12s; } .one-find > :nth-child(3) { animation-delay: .24s; } .one-find > :nth-child(4) { animation-delay: .36s; } .one-find > :nth-child(5) { animation-delay: .48s; }
@keyframes one-find-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.one-find-src { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--sec); }
.one-find-title { font-size: 26px; line-height: 1.35; font-weight: 700; color: var(--ink); text-wrap: balance; }
.one-find-facts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.one-find-ev { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: 13px; background: var(--soft); }
.one-find-ev b { font-weight: 600; color: var(--ink); }
.one-find-k { color: var(--faint); }
/* 等你弹窗抬头的圆点：极光青（原型里定的），不再用琥珀。 */
.one-waitpop-pulse { background: #3BA9C1; box-shadow: 0 0 0 4px rgba(83,191,213,.22); }
.one-waitpop-more span { background: #3BA9C1; }
.one-find-why { max-width: 560px; font-size: 13.5px; line-height: 1.65; color: var(--body); }
.one-find-acts { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; font-size: 14px; }
.one-find-acts i { font-style: normal; color: #C2CCD3; }
.one-find-acts button { display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; cursor: pointer; }
.one-find-acts button:hover { background: var(--soft); color: var(--ink); }
.one-find-acts .one-find-go { color: var(--ink); font-weight: 600; }
.one-find-acts button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (max-width: 720px) { .one-find-title { font-size: 21px; } .one-find-acts button { height: 40px; } }
@media (prefers-reduced-motion: reduce) { #bellBtn.is-ring svg, .one-find > * { animation: none; opacity: 1; } }

/* 热更新 #3（Owner 实测：点了完全授权内容太多，找不到确认按钮）
   上限和「开启」钉在弹层可滚动区的底部；仍出卡的、有效期、怎么切回收进一行。 */
.one-auth-dock { grid-column: 1 / -1; position: sticky; bottom: -6px; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0 -10px -10px -32px; padding: 10px 10px 10px 32px; background: #FFFFFF; border-top: 1px solid var(--line-3); box-shadow: 0 -6px 12px -8px rgba(10,29,53,.12); }
.one-auth-full.is-on .one-auth-dock { background: var(--soft); }
.one-auth-go button { height: 32px; padding: 0 16px; font-size: 13px; font-weight: 600; }
.one-auth-more { margin-top: 4px; }
.one-auth-more > summary { cursor: pointer; font-size: 12px; color: var(--teal); list-style: none; padding: 2px 0; }
.one-auth-more > summary::-webkit-details-marker { display: none; }
.one-auth-more > summary::after { content: " ›"; }
.one-auth-more[open] > summary::after { content: " ⌄"; }
.one-auth-menu > button > span, .one-auth-full > button > span { min-width: 0; }
.one-auth-menu > button { height: auto; }

/* 热更新 #4（Owner：看看布局和排版）：点了「完全授权」、确认面板展开时——
   「请求授权」收成一行、不再高亮；圆点落到「完全授权」上（选中待开启）；清单去掉框线，和上限、开启对齐成一列。 */
.one-auth-menu:has(.one-auth-caps:not([hidden])) > [data-auth-mode] { min-height: 32px; background: transparent; }
.one-auth-menu:has(.one-auth-caps:not([hidden])) > [data-auth-mode] small { display: none; }
.one-auth-menu:has(.one-auth-caps:not([hidden])) > [data-auth-mode] > i { border: 1.5px solid #9AAAB6; }
.one-auth-full:has(.one-auth-caps:not([hidden])) { background: var(--soft); }
.one-auth-full:has(.one-auth-caps:not([hidden])) > button > i { border: 4px solid var(--navy); }
.one-auth-full:has(.one-auth-caps:not([hidden])) > button:hover { background: transparent; }
.one-auth-caps { padding-bottom: 0; }
.one-auth-consent { padding: 0; border: 0; background: transparent; }
.one-auth-consent .one-auth-h { font-size: 12px; margin-top: 6px; }
.one-auth-consent ul { color: var(--body); }
.one-auth-dock { background: var(--soft); border-top-color: var(--line); margin-top: 4px; border-radius: 0 0 8px 8px; }
.one-pop.is-auth header span { line-height: 1.5; }

/* 热更新 #5：审查模式（?find=1）放不出来时，问候语下面一行原因。 */
.one-find-audit { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* 热更新第 7 轮（Owner：「交给极光」后面字太多、行数太多）：四行；动作 = 交给极光 + 1/N › + ⋯。 */
.one-find { gap: 12px; }
.one-find-acts { gap: 6px; }
.one-find-acts .one-find-go { height: 34px; padding: 0 14px 0 16px; border-radius: 17px; background: var(--navy); color: #FFFFFF; font-weight: 600; }
.one-find-acts .one-find-go:hover { background: var(--navy-h); color: #FFFFFF; }
.one-find-acts .one-find-next { padding: 0 6px 0 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.one-find-acts .one-find-more { width: 34px; padding: 0; justify-content: center; }
.one-find-menu-wrap { position: relative; display: inline-flex; }
.one-find-menu { position: absolute; z-index: 6; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; min-width: 168px; padding: 6px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-menu); text-align: left; }
.one-find-acts .one-find-menu button { width: 100%; height: 34px; justify-content: flex-start; color: var(--body); white-space: nowrap; }
.one-find-src { flex-wrap: wrap; justify-content: center; }
.one-find.is-still > * { animation: none; opacity: 1; }

/* 热更新第 7 轮（Owner：问候语和几件发现交替循环）：换之前整块淡出、上移一点；问候语回来时也淡入；
   转的时候按最高那件留好高度（JS 写 min-height），内容在里面居中，输入框不跳。 */
.one-hero.is-loop { justify-content: center; }
.one-hero.is-loop:not(.is-find) #greet { animation: one-find-in var(--t-slow) var(--ease-out) both; }
.one-hero.is-out > #greet, .one-hero.is-out .one-find { opacity: 0; transform: translateY(-6px); transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out); }
.one-find-acts .one-find-off { width: 30px; height: 30px; padding: 0; justify-content: center; color: var(--faint); }
.one-find-acts .one-find-off:hover { color: var(--ink); }
.one-find-acts .one-find-next { font-variant-numeric: normal; }
@media (prefers-reduced-motion: reduce) { .one-hero.is-loop:not(.is-find) #greet { animation: none; } .one-hero.is-out > #greet, .one-hero.is-out .one-find { transition: none; } }

/* 热更新第 8 轮（Owner：授权弹层内容太多，再精简）：一句「会自动执行：…」+「细则」；上限两格和「开启」排一行。 */
.one-auth-sum { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--body); }
.one-auth-sum b { font-weight: 600; color: var(--ink); }
.one-auth-dock { grid-template-columns: 1fr 1fr auto; align-items: center; row-gap: 6px; }
.one-auth-dock label { flex-direction: row; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.one-auth-dock input { min-width: 0; width: 100%; height: 32px; }
.one-auth-dock > button { height: 32px; padding: 0 16px; border: 0; border-radius: 7px; background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 600; cursor: pointer; }
.one-auth-when { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }

/* 069-Q 补2：第一步做什么（what）一行、在哪做（where）小字；没有可转的发现时，问候语下面一行原因 + 按钮。 */
/* 最多两行（对象名常在句末，不能一行截掉）；where 小字跟在后面。 */
.one-find-step { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 600px; font-size: 13px; line-height: 1.6; color: var(--body); text-wrap: balance; }
.one-find-step small { margin-left: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.one-find-reason { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; max-width: 600px; margin: 10px auto 0; font-size: 13px; line-height: 1.6; color: var(--sec); text-align: center; }
.one-find-reason img { display: inline; vertical-align: -2px; margin-right: 6px; }
.one-find-reason button { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 15px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.one-find-reason button:hover { border-color: var(--teal); color: var(--teal); }
@media (max-width: 720px) { .one-find-step { -webkit-line-clamp: 3; } }
/* D 10-31：定时任务通知写明是哪个任务。 */
.one-nt-from { display: block; font-size: 12px; font-weight: 500; color: var(--teal); }
/* 店名长时手机上来源那行换行，标记跟着第一行走，不单独占一行。 */
@media (max-width: 720px) { .one-find-src { display: block; text-align: center; } .one-find-src img { display: inline; vertical-align: -2px; margin-right: 6px; } }
/* 072（完全授权跟账号走）：开着时写这家店今天已用多少、什么时候会自己关掉；设置页「账号」里同一个开关。 */
.one-auth-on { display: grid; gap: 4px; padding: 0 10px 10px 32px; }
.one-auth-on .one-auth-note { padding: 0; }
.one-auth-used { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; font-size: 12.5px; color: var(--body); }
.one-auth-used b { display: inline; font-size: inherit; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.one-auth-used small { display: block; margin: 0; }
.one-auth-used small { font-size: 11.5px; color: var(--muted); }
.one-auth-reset { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.one-auth-settings .one-auth-st { display: block; padding-top: 0; }
.one-auth-settings .one-auth-on { padding: 0 0 6px; }
.one-auth-settings .one-auth-caps { padding: 0; }
.one-auth-settings .one-auth-dock { position: static; margin: 8px 0 0; padding: 10px 0 0; background: transparent; box-shadow: none; border-radius: 0; }

/* 数据限制方案 ⑥（UI 11-04）：过程里的排队 / 限流 / 额度 / 后台继续说明——一行小字，前面一个小圆点分清是谁那边：
   我们排队 = 灰，平台限流 = 琥珀，平台额度 = 深琥珀，后台在接着读 / 额度提示 = 青。不用彩色底。 */
.one-limit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.one-limit::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.one-limit[data-tone="rate"]::before { background: var(--amber); }
.one-limit[data-tone="quota"] { color: var(--amber-ink); }
.one-limit[data-tone="quota"]::before { background: var(--amber-ink); }
.one-limit[data-tone="progress"]::before, .one-limit[data-tone="info"]::before { background: #2A9BB8; }
.one-proc-text .one-limit { display: flex; margin-top: 1px; white-space: normal; }
.one-tl-list li .one-limit { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.one-tl-list li small.one-limit::before { content: ""; }
.one-tl-row .one-tl-headnote { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.one-tl-row small.one-limit::before { content: ""; }
@media (max-width: 560px) {
  .one-tl-row .one-tl-headnote { display: none; }
  .one-tl-list li:has(.one-limit) { flex-wrap: wrap; row-gap: 0; }
  .one-tl-list li .one-limit { flex-basis: 100%; padding-left: 20px; white-space: normal; }
}

.one-cost-source { grid-column: 2 / -1; justify-content: flex-start; overflow-wrap: anywhere; margin-top: 6px; }

/* 长期记忆 / 店铺规则确认卡（11-07）：按钮发出与手打相同的「确认保存」等原话。卡片结构来自 /memory-change-card.js。 */
.one-answer .memory-card { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 8px 0 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.one-answer .memory-card > header { display: flex; align-items: center; gap: 8px; }
.one-answer .memory-card > header strong { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.one-answer .memory-card > header i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.one-answer .memory-card[data-state="pending"] > header i { background: var(--amber); }
.one-answer .memory-card[data-state="done"] > header i { background: var(--teal); }
.one-answer .memory-card blockquote { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--soft); color: var(--ink); font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.one-answer .memory-card .memory-card-note { margin: 0; color: var(--sec); font-size: 12px; line-height: 1.6; }
.one-answer .memory-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.one-answer .memory-card-actions button { height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--body); font-size: 14px; cursor: pointer; transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.one-answer .memory-card-actions button:hover:not(:disabled) { background: var(--soft-2); border-color: var(--faint); }
.one-answer .memory-card-actions button.memory-card-primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.one-answer .memory-card-actions button.memory-card-primary:hover:not(:disabled) { border-color: var(--navy-h); background: var(--navy-h); }
.one-answer .memory-card-actions button:disabled { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.one-answer .memory-card:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) { gap: 6px; padding: 10px 14px; border-style: dashed; background: transparent; }
.one-answer .memory-card:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) > header strong { color: var(--body); font-size: 13px; font-weight: 500; }
.one-answer .memory-card:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) blockquote { padding: 0; background: transparent; color: var(--sec); font-size: 13px; }

/* 方案卡上点的通过 / 拒绝：对话里只留一行（sample-write-thread.js）；办成的点开看完整回执。 */
.one-sw-line.is-failed { color: var(--muted); }
.one-sw-done { margin: 14px 0 6px; }
.one-sw-done > summary { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--teal); font-size: 12.5px; cursor: pointer; list-style: none; }
.one-sw-done > summary::-webkit-details-marker { display: none; }
.one-sw-done > summary small { margin-left: 4px; color: var(--faint); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.one-sw-done[open] > summary small { visibility: hidden; }
.one-sw-ok { font-weight: 700; }

/* 1111（Q）：首页「开工方案」——这家店还没有任务在跑时，在输入框下面列出值得交给极光持续做的事。 */
.one-setup { margin: 14px 0 0; width: 100%; transition: opacity var(--t-fast) var(--ease-out), visibility var(--t-fast); }
/* 和便签一样挂在工具栏下面、不占输入框那一块的高度：出现和收起都不把问候语和输入框顶上顶下。 */
body.is-home .one-setup { position: absolute; left: 0; right: 0; }
.one-setup[hidden], body:not(.is-home) .one-setup { display: none; }
.one-wrap:has(> #panel:not([hidden]):not(.is-leaving)) > .one-setup, .one-wrap:has(> #pop:not([hidden])) > .one-setup { opacity: 0; visibility: hidden; pointer-events: none; }
/* 行的排法照 UI 评审（11-11）和 11-06 原型的步骤卡：编号圆、标题一行、依据一行（悬停看全）、右侧无框频率加统一小按钮。 */
.one-setup-card { border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(10,29,53,.04); overflow: hidden; animation: one-brief-in var(--t-mid) var(--ease-out) both; }
/* 矮窗口放不下时（main.js fitSetup 给 --setup-max）：卡头不动，下面的行在卡里自己滚，不被屏幕底边挡住。 */
.one-setup-card:not(.is-slim) { display: flex; flex-direction: column; max-height: var(--setup-max, none); }
.one-setup-card:not(.is-slim) > .one-setup-h { flex: none; }
.one-setup-card:not(.is-slim) > .one-setup-rows { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.one-setup-h { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 16px; border-bottom: 1px solid var(--line-3); font-size: 12.5px; color: var(--muted); min-width: 0; }
.one-setup-h img { flex: none; width: 11px; height: 15px; }
.one-setup-h b { flex: none; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.one-setup-h span:not(.one-fill) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-setup-off { flex: none; height: 32px; border: 0; background: none; padding: 0 6px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; transition: color var(--t-fast) var(--ease-out); }
.one-setup-off:hover { color: var(--ink); }
.one-setup-rows { list-style: none; margin: 0; padding: 0; counter-reset: setup; }
.one-setup-row { counter-increment: setup; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line-3); transition: background var(--t-fast) var(--ease-out); }
.one-setup-row:not(.is-more):hover { background: var(--soft-2); }
.one-setup-row:first-child { border-top: 0; }
.one-setup-row::before { content: counter(setup); width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #8A9AA6; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.one-setup-row.is-first::before { border-color: var(--teal); background: var(--teal); color: #FFFFFF; }
.one-setup-row.is-more { display: flex; justify-content: center; padding: 4px 16px; }
.one-setup-row.is-more::before { content: none; }
.one-setup-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.one-setup-main b { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 20px; }
.one-setup-main small { font-size: 12px; line-height: 18px; color: var(--sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-setup-main small em { font-style: normal; color: var(--muted); }
.one-setup-main small em::after { content: " · "; }
.one-setup-do { display: flex; align-items: center; gap: 8px; }
.one-setup-freq { display: inline-flex; align-items: center; gap: 4px; }
.one-setup-freq select { appearance: none; -webkit-appearance: none; height: 32px; border: 0; background: transparent; padding: 0 16px 0 4px; font: inherit; font-size: 13px; color: var(--sec); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-size: 4px 4px; background-position: right 6px center, right 2px center; background-repeat: no-repeat; }
.one-setup-freq select:hover { color: var(--ink); }
.one-setup-freq input { font: inherit; font-size: 12px; padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); }
/* 按钮统一规格（画布「极光开工方案」⑥）：电脑一律高 32、圆角 8、13 号字 500；一张卡最多一个实心（第 1 行），其余描边，关掉类用灰字、往前看类用青字。 */
.one-setup-go { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.one-setup-go svg { transition: transform var(--t-fast) var(--ease-out); }
.one-setup-go:hover { border-color: var(--ink); }
.one-setup-row:hover .one-setup-go svg, .one-setup-go:hover svg { transform: translateX(2px); }
.one-setup-go:active, .one-setup-card.is-slim .one-setup-ask:active { transform: scale(.98); }
.one-setup-go.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-setup-go.is-primary:hover { border-color: var(--navy-h); background: var(--navy-h); }
.one-setup-go:focus-visible, .one-setup-ask:focus-visible, .one-setup-off:focus-visible, .one-setup-more:focus-visible, .one-setup-freq select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.one-setup-more { display: inline-flex; align-items: center; height: 32px; border: 0; background: none; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 500; color: var(--teal); cursor: pointer; }
.one-setup-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.one-setup-ask { flex: none; height: 32px; border: 0; background: none; padding: 0 6px; font: inherit; font-size: 13px; color: var(--teal); font-weight: 500; cursor: pointer; }
/* 只有一行的入口（没答题、每周成绩单、已交了几件）：照原型提醒卡的浅青底，主动作是实心小按钮。 */
.one-setup-card.is-slim { border-color: #BFE3EC; background: #F4FAFC; box-shadow: none; }
.one-setup-card.is-slim .one-setup-h { padding: 8px 10px 8px 14px; border-bottom: 0; font-size: 13px; color: var(--sec); }
.one-setup-card.is-slim .one-setup-h img { width: 13px; height: 18px; }
.one-setup-card.is-slim .one-setup-ask { height: 32px; padding: 0 12px; border-radius: 8px; background: var(--navy); color: #FFFFFF; transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.one-setup-card.is-slim .one-setup-ask:hover { background: var(--navy-h); }
/* 微光提示（PD 11-12，画布「极光开工方案」⑧）：整张方案不在时，工具栏下面一行淡字；一道浅青的光从字上掠过 3 次就停，下次回首页再来。
   鼠标停上去字变深、出箭头。点了：还没答题打开 5 道题，其余展开开工方案。 */
.one-setup-glow { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; margin: 2px 0 0; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--faint); cursor: pointer; animation: one-find-in var(--t-mid) var(--ease-out) both; }
.one-setup-glow img { flex: none; width: 10px; height: 14px; opacity: .7; }
.one-setup-glow > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: linear-gradient(100deg, var(--faint) 0%, var(--faint) 42%, var(--cyan) 50%, var(--faint) 58%, var(--faint) 100%); background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: one-setup-shine 7s var(--ease-move) 1s 3; }
.one-setup-glow svg { flex: none; color: var(--sec); opacity: 0; transform: translateX(-2px); transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.one-setup-glow:hover > span, .one-setup-glow:focus-visible > span { animation: none; background: none; color: var(--sec); }
.one-setup-glow:hover svg, .one-setup-glow:focus-visible svg { opacity: 1; transform: none; }
.one-setup-glow:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
@keyframes one-setup-shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
/* 小青点：入口细条比方案卡晚一点进来，外圈扩两下就停，告诉客户「这里有新东西」。 */
.one-setup-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); animation: one-setup-dot 1.6s var(--ease-move) .6s 2; }
.one-setup-card.is-slim { animation-delay: .2s; }
/* 动效（画布「极光开工方案」⑤）：只在卡从无到有时播；一行行出来；第 1 行的编号外圈呼吸 3 次就停；「先不用」淡出往上收。 */
.one-setup-row { animation: one-find-in var(--t-mid) var(--ease-out) both; }
.one-setup-row:nth-child(1) { animation-delay: .12s; } .one-setup-row:nth-child(2) { animation-delay: .16s; } .one-setup-row:nth-child(3) { animation-delay: .2s; } .one-setup-row:nth-child(4) { animation-delay: .24s; }
.one-setup.is-settled .one-setup-card, .one-setup.is-settled .one-setup-row:not(.is-later) { animation: none; }
.one-setup.is-settled .one-setup-row.is-later { animation-delay: 0s; }
.one-setup-row.is-first::before { animation: one-setup-ring 2.4s var(--ease-move) 1s 3; }
.one-setup.is-settled .one-setup-row.is-first::before { animation: none; }
.one-setup.is-leaving .one-setup-card { animation: one-setup-out var(--t-mid) var(--ease-in) both; }
@keyframes one-setup-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(15,110,133,0); } 50% { box-shadow: 0 0 0 5px rgba(15,110,133,.16); } }
@keyframes one-setup-dot { 0%, 100% { box-shadow: 0 0 0 3px var(--cyan-ring); } 50% { box-shadow: 0 0 0 6px rgba(83,191,213,.08); } }
@keyframes one-setup-out { to { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 640px) {
  .one-setup-row { grid-template-columns: 18px minmax(0, 1fr); row-gap: 8px; }
  .one-setup-do { grid-column: 2; justify-content: flex-end; }
  .one-setup-main small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .one-setup-card.is-slim .one-setup-h { flex-wrap: wrap; row-gap: 6px; }
  /* 手机：按钮统一高 40、14 号字 */
  .one-setup-go, .one-setup-card.is-slim .one-setup-ask { height: 40px; padding: 0 16px; border-radius: 9px; font-size: 14px; }
  .one-setup-off, .one-setup-more, .one-setup-freq select { height: 40px; font-size: 14px; }
  .one-setup-glow { height: 40px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .one-setup-card, .one-setup-row, .one-setup-row.is-first::before, .one-setup-dot, .one-setup.is-leaving .one-setup-card, .one-setup-glow, .one-setup-glow > span { animation: none; }
  .one-setup-glow > span { background: none; color: var(--faint); }
  .one-setup-row, .one-setup-go, .one-setup-go svg, .one-setup-off, .one-setup-card.is-slim .one-setup-ask { transition: none; }
}
/* 开工方案（整张，不是细条）出现的那一次，问候语位置那件发现收成一行小字，首页上下不再两块都在叫客户点（PD 11-12）。 */
body.is-home:has(#setupPlan:not([hidden]) > .one-setup-card:not(.is-slim)) .one-find { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 8px; }
body.is-home:has(#setupPlan:not([hidden]) > .one-setup-card:not(.is-slim)) .one-find-title { font-size: 13px; line-height: 34px; font-weight: 500; color: var(--body); }
body.is-home:has(#setupPlan:not([hidden]) > .one-setup-card:not(.is-slim)) :is(.one-find-facts, .one-find-step, .one-find-why) { display: none; }
/* 1111（Q）：5 道题的答题页（一屏一题，全部点选）；样子照 11-06 原型：整页、五段进度、勾选列表、右侧数字标签、右边一张读店卡 */
.one-needs { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #FFFFFF; color: var(--ink); overflow: auto; }
.one-needs::backdrop { background: #FFFFFF; }
.one-needs-page { min-height: 100%; display: flex; flex-direction: column; }
.one-needs-top { display: flex; align-items: center; gap: 8px; padding: 14px 20px; font-size: 15px; }
.one-needs-top b { font-weight: 600; }
.one-needs-x { border: 0; background: none; padding: 6px 8px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.one-needs-x:hover { color: var(--ink); }
.one-needs-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); column-gap: 36px; align-items: start; padding: 28px 20px 48px; }
.one-needs-main { grid-column: 2; display: flex; flex-direction: column; margin: 0; min-width: 0; }
.one-needs-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.one-needs-prog { display: inline-flex; gap: 4px; }
.one-needs-prog i { width: 20px; height: 3px; border-radius: 2px; background: var(--line-2); }
.one-needs-prog i.is-done { background: var(--teal); }
.one-needs-prog i.is-now { background: var(--navy); }
.one-needs-about { margin: 18px 0 -10px; font-size: 13px; color: var(--muted); }
.one-needs-t { margin: 18px 0 0; font-size: 22px; font-weight: 600; line-height: 1.4; }
.one-needs-kind { margin: 8px 0 12px; font-size: 13px; color: var(--muted); }
.one-needs-opts { list-style: none; margin: 0; padding: 0; }
.one-needs-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14.5px; color: var(--ink); text-align: left; cursor: pointer; }
.one-needs-opt:hover { background: var(--soft-2); }
.one-needs-opt i { flex: none; width: 16px; height: 16px; border: 1.5px solid var(--line); background: #FFFFFF; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
.one-needs-opt i.is-radio { border-radius: 50%; }
.one-needs-opt i.is-check { border-radius: 4px; }
.one-needs-opt.is-on i { border-color: var(--navy); background: var(--navy); }
.one-needs-opt.is-on i.is-check::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: rotate(-45deg); }
.one-needs-opt.is-on i.is-radio { box-shadow: inset 0 0 0 3px #FFFFFF; }
.one-needs-opt span { flex: 1; min-width: 0; line-height: 1.45; }
.one-needs-opt small { flex: none; padding: 2px 8px; border-radius: 999px; background: #E6F3F6; color: var(--teal); font-size: 12px; white-space: nowrap; }
.one-needs-opt small.is-warm { background: #FBEEDD; color: #8A4B08; }
.one-needs-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.one-needs-err { margin: 8px 0 0; font-size: 12.5px; color: #B3261E; }
.one-needs-f { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.one-needs-f button { height: 36px; padding: 0 16px; border-radius: 9px; font: inherit; font-size: 13.5px; cursor: pointer; }
.one-needs-back, .one-needs-skip { border: 0; background: none; color: var(--muted); }
.one-needs-back { padding-left: 0 !important; }
.one-needs-back:hover, .one-needs-skip:hover { color: var(--ink); }
.one-needs-next { border: 0; background: var(--navy); color: #FFFFFF; font-weight: 600; }
.one-needs-next:hover { background: var(--navy-h); }
.one-needs-f button:disabled { opacity: .45; cursor: default; }
.one-needs-side { grid-column: 3; justify-self: start; width: 220px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #FFFFFF; font-size: 13px; }
.one-needs-side b { display: block; margin-bottom: 8px; font-weight: 600; }
.one-needs-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.one-needs-side li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.one-needs-side li i { flex: none; width: 12px; height: 12px; border: 1.5px dashed var(--line); border-radius: 50%; box-sizing: border-box; }
.one-needs-side li.is-ok i { border: 0; background: var(--teal); }
.one-needs-side li span { color: var(--ink); }
.one-needs-side li small { margin-left: auto; font-size: 12px; white-space: nowrap; }
@media (max-width: 1020px) { .one-needs-body { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-top: 12px; } .one-needs-main, .one-needs-side { grid-column: 1; width: auto; max-width: 560px; justify-self: center; }
  .one-needs-main { width: 100%; } .one-needs-side { order: -1; width: 100%; box-sizing: border-box; } .one-needs-side ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
@media (max-width: 520px) { .one-needs-opt { flex-wrap: wrap; } .one-needs-opt small { margin-left: 26px; white-space: normal; } .one-needs-skip { padding: 0 6px !important; } }

.one-gmail-compose label { display: grid; gap: 4px; }
.one-gmail-compose :is(input, select, textarea) { font: inherit; width: 100%; }
.one-gmail-compose textarea { resize: vertical; }
.one-gmail-compose footer { display: flex; justify-content: flex-end; gap: 8px; }
.one-gmail-empty { border: 1px dashed #d5d5d5; border-radius: 12px; padding: 12px 14px; }
.one-gmail-empty p { margin: 4px 0 10px; color: #666; font-size: 13px; }
.one-gmail-manage summary { cursor: pointer; color: #666; font-size: 13px; }
.one-gmail-manage ul { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.one-gmail-manage li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.one-gmail-manage small { color: #a15c00; }
.one-gmail-error { margin: 0; color: #b42318; font-size: 13px; }
.one-gmail-preview dd { white-space: pre-wrap; }
.one-gmail-compose footer .one-gmail-batch-entry { margin-right: auto; }
.one-gmail-batch-dialog { width: min(720px, calc(100vw - 32px)); }
.one-gmail-batch-dialog form, .one-gmail-batch-dialog [data-step] { display: grid; gap: 12px; }
.one-gmail-batch-dialog fieldset { border: 1px solid #e5e5e5; border-radius: 10px; padding: 8px 12px; display: grid; gap: 6px; margin: 0; }
.one-gmail-batch-dialog fieldset label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.one-gmail-batch-dialog fieldset input[type=datetime-local] { width: auto; }
.one-gmail-batch-dialog fieldset input[type=checkbox], .one-gmail-batch-dialog fieldset input[type=radio] { width: auto; }
.one-gmail-batch-note { margin: 0; color: #666; font-size: 13px; }
.one-gmail-batch-summary { margin: 0; }
.one-gmail-batch-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.one-gmail-batch-table :is(th, td) { text-align: left; padding: 4px 6px; border-bottom: 1px solid #eee; overflow-wrap: anywhere; }
.one-gmail-batch-table label { display: flex; gap: 4px; align-items: center; }
.one-gmail-batch-table input { width: auto; }
.one-gmail-batch-dialog details { max-height: 260px; overflow: auto; }
.one-gmail-batch-sample { border-top: 1px solid #eee; padding: 6px 0; font-size: 13px; }
.one-gmail-batch-sample p { margin: 2px 0; }
.one-gmail-batch-sample pre { white-space: pre-wrap; font: inherit; margin: 4px 0 0; }
.one-gmail-batch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.one-gmail-batch { border: 1px solid #e5e5e5; border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; }
.one-gmail-batch > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.one-gmail-batch > div:first-child span { color: #666; font-size: 13px; white-space: nowrap; }
.one-gmail-batch p { margin: 0; font-size: 13px; }
.one-gmail-batch-actions { display: flex; gap: 8px; }
.one-gmail-batch-dialog footer { flex-wrap: wrap; }

/* ---- 确认卡统一外壳（PD leonlee01 2026-11-17，原型「确认卡统一」第 7 版；HTML 在 confirm-shell.js） ----
   白卡细边圆角 14，不用彩色边框、不用左边竖条；卡头左边浅底状态标签（图标状态色、字深色），右边有效期；
   一句话说做什么 + 店铺，下面灰色小标签；要先核对的是浅灰块 + 小橙图标；底栏浅灰。 */
.cfs { border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF; overflow: hidden; }
.cfs .cfs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 12px 16px 0; border: 0; }
.cfs .cfs-state { --st: var(--amber); --st-bg: #FBF1E4; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px; border-radius: 6px; background: var(--st-bg); color: var(--ink); font-size: 12.5px; white-space: nowrap; }
.cfs .cfs-state svg { flex: none; color: var(--st); }
.cfs .cfs-state b { color: var(--ink); font-size: 12.5px; font-weight: 600; }
.cfs .cfs-state[data-state="auto"] { --st: var(--teal); --st-bg: #E3F4F8; }
.cfs .cfs-state[data-state="done"] { --st: #187A5A; --st-bg: #E5F4EE; }
.cfs .cfs-state[data-state="off"] { --st: var(--muted); --st-bg: var(--soft); }
.cfs .cfs-state[data-state="off"] b { color: var(--muted); }
.cfs .cfs-state[data-state="danger"] { --st: #B42318; --st-bg: #FBE9E7; }
.cfs .cfs-meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cfs .cfs-what { padding: 8px 16px 12px; border-bottom: 1px solid var(--line-3); }
.cfs .cfs-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; }
.cfs .cfs-title :is(b, strong) { color: var(--ink); font-size: 16px; font-weight: 650; letter-spacing: -.01em; line-height: 1.45; overflow-wrap: anywhere; }
.cfs .cfs-title span { color: var(--sec); font-size: 13px; }
.cfs .cfs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cfs .cfs-tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 5px; background: var(--soft); color: var(--sec); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.cfs .cfs-tag svg { flex: none; color: var(--muted); }
.cfs .cfs-how { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
/* 店铺操作确认卡套上外壳：旧的黄框、卡头、左边竖条都换掉，底栏浅灰。 */
.one-confirm.cfs { border-color: var(--line-2); border-radius: 14px; }
.one-confirm.cfs > footer { padding: 12px 16px; background: var(--soft-2); border-top: 1px solid var(--line-3); }
.one-confirm.cfs .one-confirm-action { padding: 10px 16px; }
.one-confirm.cfs .one-confirm-list > summary { padding: 8px 16px; }
.one-confirm.cfs .one-confirm-attn { margin: 10px 16px 0; padding: 9px 12px; border: 0; border-radius: 10px; background: var(--soft-2); box-shadow: none; }
.one-confirm.cfs .one-confirm-attn li i { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--amber-ink); }
.one-confirm.cfs .one-confirm-risk { margin: 10px 16px; padding: 9px 12px; border: 0; border-radius: 10px; background: var(--soft-2); box-shadow: none; color: var(--ink); }
.one-confirm.cfs .one-confirm-risk svg { color: var(--amber); }
.one-confirm.cfs .one-confirm-held { padding: 8px 16px; }
.one-confirm.cfs .one-confirm-sched { margin: 10px 16px 0; border-radius: 10px; }
.one-confirm.cfs .commerce-gate { box-shadow: none; background: var(--soft); color: var(--sec); }
.one-confirm.cfs.is-expired { opacity: 1; }
.one-confirm.cfs.is-expired .cfs-title b { color: var(--sec); }
/* 一组私信：每位达人一行，点开看整段消息；先列前 5 位。 */
.one-confirm-msgs { border-bottom: 1px solid var(--line-3); }
.cfs-msgs { margin: 0; padding: 0; list-style: none; }
.cfs-msgs > li + li, .cfs-more > .cfs-msgs > li { border-top: 1px solid var(--line-3); }
.cfs-msg > summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 10px; align-items: start; padding: 10px 16px; cursor: pointer; list-style: none; }
.cfs-msg > summary::-webkit-details-marker { display: none; }
.cfs-msg > summary::after { content: ""; width: 7px; height: 7px; margin: 9px 0 0 3px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform var(--t-fast, .15s) var(--ease-out, ease-out); }
.cfs-msg[open] > summary::after { transform: rotate(225deg); margin-top: 12px; }
.cfs-msg > summary:hover { background: var(--soft-2); }
.cfs-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #E3F4F8; color: var(--teal); font-size: 13px; font-weight: 600; }
.cfs-who { min-width: 0; }
.cfs-who b { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.cfs-who small { margin-left: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.cfs-who small.is-new { padding: 0 6px; border-radius: 4px; background: var(--soft); color: var(--sec); }
.cfs-prev { display: -webkit-box; margin-top: 2px; overflow: hidden; color: var(--sec); font-size: 13px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cfs-msg[open] .cfs-prev { display: none; }
.cfs-msg-body { padding: 0 16px 12px 56px; }
.cfs-bubble { padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: #E3F4F8; color: var(--ink); font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.cfs-bubble p, .cfs-bubble h4 { margin: 0; }
.cfs-msg-note { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.cfs-tech > summary { margin-top: 4px; color: var(--teal); font-size: 12px; cursor: pointer; }
.cfs-more > summary { display: block; padding: 8px 16px; border-top: 1px solid var(--line-3); color: var(--teal); font-size: 13px; font-weight: 500; text-align: center; cursor: pointer; list-style: none; }
.cfs-more > summary::-webkit-details-marker { display: none; }
.cfs-more[open] > summary { display: none; }
@media (max-width: 640px) {
  .cfs-who small { display: table; margin: 2px 0 0; }
  .cfs-msg-body { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cfs-msg > summary::after { transition: none; } }
/* 记忆 / 规则确认卡套上外壳：内容一块、按钮在浅灰底栏；办完、取消、过期的收紧成一小块（不再用虚线框）。 */
.one-answer .memory-card.cfs { display: block; gap: 0; padding: 0; max-width: 560px; border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF; }
.one-answer .memory-card.cfs > .cfs-head { display: flex; }
.one-answer .memory-card.cfs .memory-card-body { padding: 10px 16px 12px; }
.one-answer .memory-card.cfs .memory-card-body .memory-card-note { margin-top: 8px; }
.one-answer .memory-card.cfs > .memory-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; background: var(--soft-2); border-top: 1px solid var(--line-3); }
.one-answer .memory-card.cfs > .memory-card-actions span { color: var(--muted); font-size: 12px; }
.one-answer .memory-card.cfs:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) { border-style: solid; background: #FFFFFF; padding: 0; }
.one-answer .memory-card.cfs:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) .cfs-what { padding: 6px 16px 0; border: 0; }
.one-answer .memory-card.cfs:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) .cfs-title strong { font-size: 14px; font-weight: 600; }
.one-answer .memory-card.cfs:is([data-state="done"], [data-state="cancelled"], [data-state="expired"]) .memory-card-body { padding: 4px 16px 12px; }
/* 商品成本确认卡套上外壳：内容一块（留出左右 16），按钮在浅灰底栏。 */
.one-cost.cfs { padding: 0; border-radius: 14px; }
.one-cost.cfs .one-cost-body { padding: 4px 16px 12px; }
.one-cost.cfs .one-cost-body .one-cost-meta { padding-left: 0; }
.one-cost.cfs > footer { margin: 0; padding: 12px 16px; background: var(--soft-2); border-top: 1px solid var(--line-3); }

/* ---- 会话里的定时任务卡（定时任务升级方案第一期，PD 2026-11-18）：确认卡统一外壳，底栏按钮同建议卡 ---- */
.one-tcards { display: flex; flex-direction: column; gap: 10px; max-width: 600px; margin-top: 10px; }
.one-tcard .cfs-what { border-bottom: 0; padding-bottom: 8px; }
.one-tcard .cfs-how { color: var(--sec); }
.one-tcard-plan { margin: 0; padding: 0 16px 12px; }
.one-tcard-plan > div { grid-template-columns: 72px minmax(0, 1fr); }
.one-tcard-plan dd.is-warn { color: var(--amber-ink); }
.one-tcard-plan time { color: var(--muted); font-variant-numeric: tabular-nums; }
.one-tcard-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: var(--soft-2); border-top: 1px solid var(--line-3); }
.one-tcard-foot button { height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.one-tcard-foot button:hover { background: var(--soft); }
.one-tcard-foot button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-tcard-foot button.is-primary:hover { background: var(--navy-h); }
.one-tcard-foot button.is-quiet { border-color: transparent; background: transparent; color: var(--sec); padding: 0 8px; }
.one-tcard-foot button.is-quiet:hover { background: var(--soft); color: var(--ink); }
.one-tcard-foot button:disabled { opacity: .55; cursor: default; }
.one-tcard-foot .one-fill { flex: 1; }
@media (max-width: 720px) { .one-tcard-foot button { height: 36px; } }

/* ---- 定时任务详情面板（定时任务升级方案第二期，PD 2026-11-18）：右侧滑出，层级在输入框之上、改时间面板之下 ---- */
.one-sp { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); display: flex; flex-direction: column; background: #FFFFFF; border-left: 1px solid var(--line-2); box-shadow: -12px 0 32px rgba(10, 29, 53, .10); animation: one-sp-in var(--t-mid) var(--ease-out); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.one-sp[hidden] { display: none; }
@keyframes one-sp-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .one-sp { animation: none; } }
.one-sp-head { display: flex; align-items: flex-start; gap: 10px; padding: 16px 16px 8px 20px; }
.one-sp-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.one-sp-head h2 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.one-sp-head small { color: var(--muted); font-size: 12.5px; }
.one-sp .cfs-state { --st: var(--amber); --st-bg: #FBF1E4; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--st-bg); font-size: 12px; }
.one-sp .cfs-state b { color: var(--ink); font-weight: 600; font-size: 12px; }
.one-sp .cfs-state[data-state="auto"] { --st-bg: #E3F4F8; } .one-sp .cfs-state[data-state="done"] { --st-bg: #E5F4EE; }
.one-sp .cfs-state[data-state="off"] { --st-bg: var(--soft); } .one-sp .cfs-state[data-state="off"] b { color: var(--muted); }
.one-sp .cfs-state[data-state="danger"] { --st-bg: #FBE9E7; }
.one-sp-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line-3); }
.one-sp-tabs button { height: 36px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--sec); font-size: 13.5px; cursor: pointer; }
.one-sp-tabs button.is-on { border-bottom-color: var(--navy); color: var(--ink); font-weight: 600; }
.one-sp-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 20px 16px; }
.one-sp-list { display: grid; gap: 2px; margin: 0; }
.one-sp-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-3); font-size: 13.5px; }
.one-sp-row dt { color: var(--muted); }
.one-sp-row dd { margin: 0; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.one-sp-row dd small { display: block; color: var(--muted); font-size: 12px; }
.one-sp-row dd .is-err { color: #B42318; }
.one-sp-act .one-link { font-size: 13px; white-space: nowrap; }
.one-sp-act .one-link.is-armed { color: #B42318; font-weight: 600; }
.one-sp-edit { display: flex; flex-direction: column; gap: 6px; }
.one-sp-edit :is(input, textarea) { width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13.5px; color: var(--ink); resize: vertical; }
.one-sp-edit :is(input, textarea):focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); }
.one-sp-edit-acts { display: flex; gap: 6px; }
.one-sp-edit-acts button { height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 7px; background: #FFFFFF; font-size: 12.5px; cursor: pointer; }
.one-sp-edit-acts button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-sp-edit small { color: var(--muted); font-size: 12px; }
.one-sp-rules { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.one-sp-rules svg { flex: none; margin-top: 3px; }
.one-sp-note { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.one-sp-runs { margin: 0; }
.one-sp-runs [data-run-message] { cursor: pointer; border-radius: 8px; }
.one-sp-runs [data-run-message]:hover { background: var(--soft-2); }
.one-sp-error { display: flex; gap: 6px; align-items: flex-start; margin: 10px 20px 0; padding: 8px 10px; border-radius: 8px; background: #FBE9E7; color: #B42318; font-size: 12.5px; }
.one-sp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 20px; background: var(--soft-2); border-top: 1px solid var(--line-3); }
.one-sp-foot button { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); font-size: 13px; cursor: pointer; white-space: nowrap; }
.one-sp-foot button.is-primary { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.one-sp-foot button.is-quiet { border-color: transparent; background: transparent; color: var(--sec); }
.one-sp-foot button.is-quiet.is-armed { background: #FBE9E7; color: #B42318; font-weight: 600; }
.one-sp-foot button:disabled { opacity: .55; cursor: default; }
.one-sp-foot .one-fill { flex: 1; }
.one-sp-empty { padding: 24px 20px; color: var(--sec); font-size: 13.5px; }
/* 弹层：定时任务分组小标题、每行的「⋯」 */
.one-sch-group { margin: 8px 10px 2px; font-size: 12px; color: var(--muted); }
.one-pop .one-task-row > button.one-sch-more { flex: none; width: 30px; height: 30px; padding: 0; border-color: transparent; background: transparent; color: var(--muted); }
.one-pop .one-task-row > button.one-sch-more:hover { background: var(--soft); color: var(--ink); }
@media (max-width: 720px) {
  .one-sp { top: auto; height: min(86vh, 720px); width: 100vw; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 16px 16px 0 0; }
  .one-sp-foot button { height: 38px; }
  .one-sp-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
}
/* ---- 结果卡（第三期）：任务会话里每次运行的回答上面；完整文字收进「看全文」 ---- */
.one-runcard { max-width: 600px; margin: 4px 0 8px; }
.one-runcard .cfs-what { border-bottom: 0; }
.one-runcard-items { margin: 0; padding: 0 16px 12px; list-style: none; display: grid; gap: 6px; }
.one-runcard-items li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line-3); border-radius: 10px; font-size: 13.5px; color: var(--ink); }
.one-runcard-items li > i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.one-runcard-items li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.one-runcard-items button { flex: none; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 7px; background: #FFFFFF; color: var(--teal); font-size: 12.5px; cursor: pointer; }
.one-runcard-items button:hover { background: var(--soft); }
.one-run-full > summary { width: fit-content; padding: 2px 8px; margin: 2px 0 4px -8px; border-radius: 6px; color: var(--teal); font-size: 13px; cursor: pointer; }
.one-run-full > summary:hover { background: var(--soft); }
/* 面板：通知方式三选一、新建表单 */
.one-sp-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.one-sp-seg button { height: 26px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--sec); font-size: 12.5px; cursor: pointer; }
.one-sp-seg button.is-on { border-color: var(--teal); color: var(--teal); font-weight: 600; }
.one-sp-create { display: flex; flex-direction: column; gap: 14px; }
.one-sp-tpl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.one-sp-tpl > span { color: var(--muted); font-size: 12.5px; margin-right: 2px; }
.one-sp-tpl button { height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; color: var(--ink); font-size: 13px; cursor: pointer; }
.one-sp-tpl button.is-on, .one-sp-tpl button:hover { border-color: var(--teal); color: var(--teal); }
.one-sp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.one-sp-field > span small { margin-left: 6px; color: var(--faint); }
.one-sp-field :is(input, textarea) { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 14px; color: var(--ink); resize: vertical; }
.one-sp-field :is(input, textarea):focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-ring); }
.one-sp-field .one-offer-time { align-self: flex-start; }
/* UI 评审 #2088：桌面上面板打开时，对话和输入框整体往左让出面板的宽度（不再盖住输入框右半边）；右侧旁白先收起。手机上是底部升起，不受影响。 */
@media (min-width: 721px) {
  body.has-sp .one-col, body.has-sp .one-wrap { width: min(var(--cw), calc(100vw - 420px - 48px)); margin-left: max(24px, calc((100vw - 420px - min(var(--cw), calc(100vw - 468px))) / 2)); }
  body.has-sp .one-rail-r { display: none; }
}
/* 运行记录一行：日期时间 · 结论，下面每件一行（小圆点同结果卡） */
.one-sp-runs { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.one-sp-run { padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.one-sp-run:hover { background: var(--soft-2); }
.one-sp-run > p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 13.5px; }
.one-sp-run time { color: var(--muted); font-variant-numeric: tabular-nums; }
.one-sp-run b { color: var(--ink); font-weight: 600; }
.one-sp-run[data-tone="wait"] b { color: var(--amber-ink); }
.one-sp-run[data-tone="danger"] b { color: #B42318; }
.one-sp-run[data-tone="off"] b, .one-sp-run[data-tone="done"] b { color: var(--sec); font-weight: 500; }
.one-sp-run ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.one-sp-run ul li { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--body); }
.one-sp-run ul li > i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translateY(-1px); }
.one-sp-run small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
/* 结果卡底部：「看全文」在卡里 */
.one-runcard-foot { padding: 0 16px 10px; }
.one-runcard-foot .one-run-full > summary { margin-left: -8px; }
.one-runcard-foot .one-run-full[open] { padding-top: 4px; border-top: 1px solid var(--line-3); }
