/* review-ux.css - 户型核对 UX pass (2026-10-21)
   Only CSS variables are used for colour so the light theme and html.tq-dark both work.
   Borderless style: fills, soft shadows, rounded corners. Load after theme-c.css. */

/* ===== 1. CenterDialog (center-dialog.js) ===== */
dialog.cd-dialog{
  border:0;padding:0;margin:auto;background:transparent;color:var(--ui-text);
  max-width:min(440px,calc(100vw - 32px));width:max-content;min-width:min(320px,calc(100vw - 32px));
  overflow:visible;
}
dialog.cd-dialog::backdrop{background:rgba(8,14,26,.42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
dialog.cd-dialog.cd-scrim-soft::backdrop{background:rgba(8,14,26,.10);-webkit-backdrop-filter:none;backdrop-filter:none}
.cd-card{
  display:grid;gap:12px;padding:22px 22px 18px;border:0;border-radius:20px;color:var(--ui-text);
  background:var(--ui-surface);
  background:color-mix(in srgb,var(--ui-surface) 80%,transparent);
  -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);
  box-shadow:0 18px 50px rgba(0,0,0,.28),0 2px 8px rgba(0,0,0,.12);
}
.cd-title{margin:0;font-size:18px;line-height:1.4;font-weight:700;color:var(--ui-text)}
.cd-tone-danger .cd-title{color:var(--ui-danger)}
.cd-body{display:grid;gap:8px;font-size:15px;line-height:1.7;color:var(--ui-text)}
.cd-body p{margin:0}
.cd-body .error{color:var(--ui-danger)}
.cd-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:4px}
.cd-actions button{
  min-height:42px;min-width:96px;padding:8px 18px;border:0!important;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;
  box-shadow:none;
}
.cd-actions button.primary{background:var(--ui-primary);color:#fff}
.cd-actions button.secondary,.cd-actions button.ghost{background:var(--ui-surface-soft)!important;color:var(--ui-text)!important}
.cd-actions button.danger{
  background:color-mix(in srgb,var(--ui-danger) 22%,var(--ui-surface))!important;color:var(--ui-danger)!important;
}
.cd-actions button:focus-visible{outline:2px solid var(--ui-primary);outline-offset:2px}
.cd-actions button:disabled{opacity:.5;cursor:not-allowed}
@media (max-width:520px){.cd-actions button{flex:1 1 0}}

/* entrance question */
.cd-entrance-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:17px}
.cd-entrance-name em{font-style:normal;font-size:12px;padding:2px 8px;border-radius:999px;background:var(--ui-primary-soft);color:var(--ui-primary)}
.cd-hint{font-size:13px;color:var(--ui-muted)}

/* auto-advance countdown */
.review-next-countdown{display:flex;align-items:center;gap:14px}
.review-next-countdown p{margin:0}
.review-next-count{
  flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  font-size:22px;font-weight:700;color:var(--ui-primary);background:var(--ui-primary-soft);
}

/* ===== 3. Entrance panel notice box ===== */
html .simplified-opening .opening-candidate-confirm.opening-notice{
  position:relative;border:0!important;border-radius:12px;padding:14px 16px 14px 20px;
  background:rgba(227,200,143,.14)!important;color:var(--ui-text);box-shadow:none;
}
html .simplified-opening .opening-candidate-confirm.opening-notice::before{
  content:"";position:absolute;left:0;top:8px;bottom:8px;width:4px;border-radius:4px;background:var(--ui-primary);
}
html .simplified-opening .opening-notice h4,
html .simplified-opening .opening-notice .opening-explain,
html .simplified-opening .opening-notice p,
html .simplified-opening .opening-notice .small{color:var(--ui-text)}
html .simplified-opening .opening-notice .opening-explain{opacity:.9;font-size:13px}
html .simplified-opening .opening-choices-hint{color:var(--ui-text);opacity:.85}

/* ===== 1. Visible delete button ===== */
html .model-review-footer .review-delete-row{display:flex;justify-content:flex-end;order:9}
html .model-review-footer .review-direct-delete .review-delete-btn,
html .bed-more-actions .review-delete-btn{
  min-height:34px;padding:5px 12px;font-size:13px;font-weight:600;border:0!important;border-radius:10px;
  background:var(--ui-danger-soft)!important;color:var(--ui-danger)!important;box-shadow:none;width:auto;
}
html .model-review-footer .review-direct-delete .review-delete-btn:hover,
html .bed-more-actions .review-delete-btn:hover{background:color-mix(in srgb,var(--ui-danger) 24%,var(--ui-surface))!important}
html .model-review-footer .review-direct-delete .review-delete-btn:disabled,
html .bed-more-actions .review-delete-btn:disabled{opacity:.5}

/* ===== 7. 更多操作 dropdown (absolute, above siblings, frosted) ===== */
html .model-annotation-review .model-annotation-review-head{position:relative;z-index:30;overflow:visible}
html .model-annotation-review .model-review-more{position:relative!important;display:inline-block;grid-area:auto}
html .model-annotation-review .model-review-more>summary{
  list-style:none;cursor:pointer;padding:6px 12px;border-radius:10px;border:0;font-size:13px;
  background:var(--ui-surface-soft);color:var(--ui-text);
}
html .model-annotation-review .model-review-more>summary::-webkit-details-marker{display:none}
html .model-annotation-review .model-review-more[open]>summary{background:var(--ui-primary-soft);color:var(--ui-primary)}
html .model-annotation-review .model-review-more[open]>div{
  position:absolute!important;right:0;left:auto;top:calc(100% + 6px);bottom:auto;z-index:80;
  width:min(300px,calc(100vw - 32px));max-width:none;max-height:min(60vh,420px);overflow:auto;box-sizing:border-box;
  display:grid;gap:10px;padding:12px;border:0!important;border-radius:14px;
  background:var(--ui-surface);
  background:color-mix(in srgb,var(--ui-surface) 84%,transparent)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  box-shadow:0 12px 36px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.12)!important;color:var(--ui-text);
  animation:none;
}
html .model-annotation-review .model-review-more[open]>div button{width:100%;text-align:left;border:0!important}
html .model-annotation-review .model-review-more[open]>div label{display:flex;align-items:center;gap:8px;color:var(--ui-text)}
html .model-annotation-review .model-review-more details>summary{cursor:pointer;color:var(--ui-text)}

/* ===== 9. Tab strips: object tabs, step tabs, category chips ===== */
html .model-annotation-object-list{gap:6px;padding:6px;background:transparent;border:0}
html .model-annotation-object-list .model-annotation-object,
html .review-four-steps button,
html .model-review-categories button{
  border:0!important;border-radius:10px;
  background:var(--ui-surface-soft)!important;color:var(--ui-text)!important;
  box-shadow:none;
}
html .model-annotation-object-list .model-annotation-object strong,
html .model-annotation-object-list .model-annotation-object span,
html .review-four-steps button>span{color:var(--ui-text)}
html .model-annotation-object-list .model-annotation-object:hover:not(:disabled),
html .review-four-steps button:hover:not(:disabled),
html .model-review-categories button:hover:not(:disabled){background:color-mix(in srgb,var(--ui-primary) 10%,var(--ui-surface-soft))!important}
html .model-annotation-object-list .model-annotation-object.selected,
html .model-annotation-object-list .model-annotation-object[aria-selected="true"],
html .review-four-steps button[aria-current="step"],
html .model-review-categories button[aria-pressed="true"]{
  background:var(--ui-primary-soft)!important;color:var(--ui-text)!important;
  box-shadow:inset 0 -2px 0 var(--ui-primary)!important;
}
html .model-annotation-object-list .model-annotation-object.deleted{opacity:.6}

/* status text: small and coloured */
html .model-annotation-object small,
html .review-four-steps small,
html .model-review-categories small{font-size:12px;font-weight:600;line-height:1.3;opacity:1}
html .model-annotation-object small.st-pending,
html .review-four-steps small.missing{color:var(--ui-warning)!important}
html .model-annotation-object small.st-ok,
html .review-four-steps small.ready{color:var(--ui-success)!important}
html .model-annotation-object small.st-muted,
html .model-annotation-object small.st-deleted,
html .review-four-steps small.muted{color:var(--ui-muted)!important}
html .model-review-categories button.stage-done small{color:var(--ui-success)!important}
/* 2026-10-21 system notices: centred at the top of the window, frosted, readable */
@media (min-width:761px){
  html body .compact-layout .workflow-notice:not(.folded){right:auto;left:50%;transform:translateX(-50%);top:96px;max-width:min(560px,calc(100vw - 48px));
    padding:14px 18px;border-radius:16px;font-size:15px;line-height:1.6;border:0;
    background:color-mix(in srgb,var(--ui-surface,#fff) 82%,transparent)!important;backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);
    box-shadow:0 18px 50px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.08)}
  html body .compact-layout .workflow-notice.error:not(.folded){color:var(--ui-text,#1d1d1f)}
  html body .compact-layout .workflow-notice.error:not(.folded) [role=alert]::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff6b5e;margin-right:10px;vertical-align:middle}
  html body .compact-layout .workflow-notice.folded{right:auto;left:50%;transform:translateX(-50%)}
}
/* 2026-10-21 pillow help (bed-position-card) */
.pillow-help-link{margin-left:8px;font-size:12px!important;padding:2px 8px!important;min-height:0!important;color:var(--ui-primary)!important;background:transparent!important;border:0!important;text-decoration:underline;text-underline-offset:3px}
.pillow-help-figure{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:6px 0 10px}
.pillow-help-figure figure{margin:0;text-align:center}
.pillow-help-figure svg{width:100%;max-width:180px;height:auto}
.pillow-help-figure figcaption{font-size:13px;margin-top:4px;color:var(--ui-text)}

/* 2026-10-25 customer step prompts */
.coach-pulse{animation:coach-pulse 1.2s ease-in-out infinite;box-shadow:0 0 0 3px #e23b2f,0 0 0 7px rgba(226,59,47,.25)!important}
@keyframes coach-pulse{50%{box-shadow:0 0 0 3px #e23b2f,0 0 0 12px rgba(226,59,47,.05)!important}}
.coach-alert{outline:2px solid #e23b2f;outline-offset:4px;border-radius:10px;background:rgba(226,59,47,.08)}
.position-choice{display:flex;gap:10px}
.position-choice>button{flex:1 1 0;min-height:44px}
.canvas-stage.has-facing-controls>.canvas-viewport{overflow:visible!important;position:relative;z-index:6}
.canvas-stage.has-facing-controls>.canvas-toolbar{z-index:4}
.facing-human-overlay{z-index:40!important}
.facing-side-choice{z-index:41;touch-action:manipulation}
.feedback-modal{background:#f7f4ee!important;color:#1d1d1f!important;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.feedback-modal-backdrop{background:rgba(8,14,26,.55)!important}
html.tq-dark .feedback-modal{background:#152033!important;color:#e9edf4!important}
html.tq-dark dialog.feedback-editor,
html.tq-dark .feedback-editor{background:#152033!important;color:#e9edf4!important}
html.tq-dark .feedback-editor>header,
html.tq-dark .feedback-editor>footer,
html.tq-dark .feedback-context{background:#1b2940!important;color:#e9edf4!important}
html.tq-dark .plan-review-dialog{background:#152033!important;color:#e9edf4!important}
html.tq-dark .plan-review-dialog>header{background:#1b2940!important}
.cd-card{background:#f7f4ee!important}
html.tq-dark .cd-card{background:#152033!important}

/* 20261027-noscrim1：弹窗不再用半透明遮罩压暗页面（弹窗卡片本身保持不透明） */
dialog::backdrop{
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.feedback-modal-backdrop,
.layout-choice-backdrop,
.site-confirm-backdrop,
.home-dialog-backdrop{
  background:transparent!important;
}

/* 20261027-todo1：必填项目卡 + 未完成必填项的红色提醒 */
.review-todo-card{
  display:grid;gap:8px;margin:2px 0 6px;padding:10px 12px;
  border:1px solid var(--ui-border);border-radius:10px;
  background:var(--ui-surface-soft,#f7f9fb);
}
.review-todo-note{margin:0;font-size:13px;line-height:1.6;color:var(--ui-text-secondary)}
html.tq-dark .review-todo-note{color:#c3cddd}
.review-todo-card.is-done{border-color:rgba(62,155,107,.45);background:rgba(62,155,107,.06)}
.review-todo-head{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ui-text-secondary)}
.review-todo-head strong{font-size:15px;color:var(--ui-text)}
.review-todo-remain{margin-left:auto;font-weight:600;color:#b42318}
.review-todo-card.is-done .review-todo-remain{color:#2f855a}
.review-todo-missing{display:flex;flex-wrap:wrap;gap:6px}
.review-todo-chip{
  display:inline-flex;align-items:center;gap:4px;
  padding:2px 8px;border-radius:999px;font-size:12px;line-height:1.6;
  border:1px solid transparent;background:rgba(120,130,150,.12);color:var(--ui-text-secondary);
}
.review-todo-chip.is-required{
  border-color:rgba(217,45,32,.45);background:rgba(217,45,32,.08);color:#b42318;font-weight:600;
}
.review-todo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.review-todo-actions button{min-height:28px;padding:0 8px;font-size:12px}
.review-todo-toggle{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--ui-text-secondary);cursor:pointer}
.review-todo-card .input-issue-list{margin-top:2px}

.model-review-categories button.is-missing-required{
  border-color:#d92d20!important;
  outline:2px solid #d92d20!important;
  outline-offset:-2px;
  box-shadow:inset 0 0 0 1px rgba(217,45,32,.28);
  color:#b42318!important;
}
.model-review-categories button.is-missing-optional{border-style:dashed}

html.tq-dark .review-todo-card{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1)}
html.tq-dark .review-todo-card.is-done{background:rgba(63,184,168,.08);border-color:rgba(63,184,168,.4)}
html.tq-dark .review-todo-head strong{color:#e9edf4}
html.tq-dark .review-todo-remain{color:#ff9d8a}
html.tq-dark .review-todo-chip{background:rgba(255,255,255,.08);color:#b9c4d3}
html.tq-dark .review-todo-chip.is-required{border-color:rgba(255,107,94,.5);background:rgba(255,107,94,.12);color:#ffb3a7}
html.tq-dark .model-review-categories button.is-missing-required{
  border-color:rgba(255,107,94,.75)!important;
  outline-color:#ff6b5e!important;
  box-shadow:inset 0 0 0 1px rgba(255,107,94,.35);
  color:#ffb3a7!important;
}

/* 头部改成一行：标题 · 帮助 · 右侧两个按钮 */
.compact-layout .model-annotation-review-head{
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.compact-layout .model-annotation-review-head h3{flex:0 0 auto;margin:0}
.compact-layout .model-annotation-review-head .help-tip{grid-area:auto!important}
.compact-layout .model-annotation-review-head .extra-add-entry{margin-left:auto}
.compact-layout .model-annotation-review-head>button:last-child{grid-area:auto!important}

/* 桌面端底部按钮不再固定在面板底部，避免压住编辑区 */
@media (min-width:851px){
  .compact-layout .review-workbench .model-review-footer{position:static!important}
}

/* 「自动识别 / 手动标注」回到步骤条最右侧 */
.compact-layout .compact-progress-bar .workflow-input-modes{
  order:4!important;
  margin-left:auto!important;
}

/* 位置确认的错误提示只保留一层红框，避免重叠 */
.model-annotation-review .review-value-row.coach-alert{
  outline:2px solid #e23b2f!important;
  outline-offset:2px;
  border-radius:8px;
  background:rgba(226,59,47,.06);
}
.model-annotation-review .position-choice.coach-alert{
  outline:none!important;
  background:transparent!important;
}
.model-annotation-review .position-choice .coach-pulse{
  animation:none!important;
  box-shadow:none!important;
}

/* 大门朝向卡（C9）：去掉标题与方位大字，一句提示 + 主按钮 + 状态 */
.direction-door legend{display:none}
.direction-door .review-value-row{display:none}
.direction-door .direction-hint{
  display:block;margin:0 0 12px;font-size:13px;line-height:1.7;color:var(--ui-text-secondary);
}
.direction-door .direction-hint .help-tip{display:inline-flex;vertical-align:-3px;margin-left:4px}
.direction-door .direction-confirm-actions{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
}
.direction-door .direction-confirm-actions>button{
  flex:1 1 200px;min-height:44px;font-size:14px;
}
.direction-door .direction-confirm-actions>span{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;
  padding:2px 10px;border-radius:999px;background:rgba(120,130,150,.14);color:var(--ui-text-secondary);
}
.direction-door .direction-confirm-actions>span::before{
  content:'';width:7px;height:7px;border-radius:50%;background:currentColor;
}
.direction-door .direction-confirm-actions>span.ready{background:rgba(62,155,107,.12);color:#2f855a}
.direction-door .direction-confirm-actions>span.missing{background:rgba(217,45,32,.10);color:#b42318}
.direction-door .direction-fine-tune{margin-top:10px;font-size:12px;color:var(--ui-text-secondary)}

/* 对象状态条：对象名/状态/问题/处理 合并成一张卡 */
.review-object-status{
  border:1px solid rgba(140,150,170,.22);
  border-radius:12px;padding:8px;margin:8px 0;
  background:rgba(255,255,255,.02);
}
.review-object-status .model-annotation-object-list{margin:0;display:flex;flex-direction:column;gap:6px}
.review-object-issue{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:6px 9px;margin-bottom:8px;border-radius:8px;
  background:rgba(217,45,32,.09);color:#b42318;font-size:12.5px;
}
.review-object-issue span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.review-object-issue button{flex:0 0 auto;font-size:12px;min-height:26px;padding:2px 8px}
.review-object-status .obj-status{font-size:11.5px;line-height:1.7;padding:1px 8px;border-radius:999px}
.review-object-status .obj-status.st-pending{color:#8a5a12;background:rgba(201,162,77,.14)}
.review-object-status .obj-status.st-ok{color:#2f855a;background:rgba(62,155,107,.12)}
.review-object-status .obj-status.st-muted{color:#6b7280;background:rgba(120,130,150,.12)}
html.tq-dark .review-object-status{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.10)}
html.tq-dark .review-object-issue{background:rgba(255,107,94,.12);color:#ffb3a7}
html.tq-dark .review-object-status .obj-status.st-pending{color:#f3dcaa;background:rgba(227,200,143,.14)}
html.tq-dark .review-object-status .obj-status.st-ok{color:#8fe3d2;background:rgba(63,184,168,.14)}
.review-object-status + .review-four-steps{margin-top:8px}

/* 入口卡：左上返回 + 标题状态 + 候选行定位提示 */
.opening-card-back{margin:0 0 8px}
.opening-card-back .opening-back{padding:4px 10px;min-height:30px;font-size:12.5px;color:var(--ui-text-secondary)}
.opening-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.opening-card-title h4{margin:0}
.opening-state{
  flex:0 0 auto;font-size:12px;line-height:1.6;padding:2px 9px;border-radius:999px;
  border:1px solid rgba(120,130,150,.35);color:var(--ui-text-secondary);background:rgba(120,130,150,.10);
}
.opening-state.picked,.opening-state.confirmed{
  border-color:rgba(201,162,77,.55);color:#8a5a12;background:rgba(201,162,77,.14);font-weight:600;
}
html.tq-dark .opening-state{border-color:rgba(255,255,255,.18);color:#c3cddd;background:rgba(255,255,255,.06)}
html.tq-dark .opening-state.picked,html.tq-dark .opening-state.confirmed{
  border-color:rgba(227,200,143,.5);color:#f3dcaa;background:rgba(227,200,143,.12);
}
.opening-choice-locate{margin-left:auto;flex:0 0 auto;font-size:12px;color:var(--ui-text-secondary);white-space:nowrap}
.opening-choice.selected .opening-choice-locate{color:#8a5a12}
html.tq-dark .opening-choice.selected .opening-choice-locate{color:#f3dcaa}
.opening-extra-inner{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* 房屋主体确认按钮：可进入核对时才呼吸高亮 */
.frame-confirm-cta.is-ready{
  border-color:rgba(201,162,77,.7);
  animation:guided-question-breath 2.6s ease-in-out infinite;
}
.frame-confirm-cta.is-ready:disabled{animation:none;box-shadow:none}
html.tq-dark .frame-confirm-cta.is-ready{border-color:rgba(227,200,143,.75)}
.base-check-status{border:1px solid transparent;border-radius:999px;padding:2px 9px;font-size:12px;line-height:1.6}
.base-check-status.todo{color:#b42318;background:rgba(217,45,32,.10);border-color:rgba(217,45,32,.35);font-weight:600}
.base-check-status.done{color:#8a5a12;background:rgba(201,162,77,.14);border-color:rgba(201,162,77,.45);font-weight:600}
html.tq-dark .base-check-status.todo{color:#ffb3a7;background:rgba(255,107,94,.12);border-color:rgba(255,107,94,.4)}
html.tq-dark .base-check-status.done{color:#f3dcaa;background:rgba(227,200,143,.14);border-color:rgba(227,200,143,.45)}
.center-toast{
  position:fixed;inset:0;z-index:400;
  display:flex;align-items:center;justify-content:center;
  padding:24px;pointer-events:none;
}
.center-toast>span{
  display:inline-block;max-width:78vw;min-width:280px;padding:18px 36px;text-align:center;
  border-radius:16px;border:1px solid rgba(201,162,77,.5);
  background:#fff;color:#1f2733;font-size:17px;font-weight:600;letter-spacing:.5px;
  box-shadow:0 18px 50px rgba(10,20,40,.28);
  animation:ui-rise-in .18s ease-out both;
}
html.tq-dark .center-toast>span{
  background:#152033;color:#e9edf4;
  border-color:rgba(227,200,143,.45);
  box-shadow:0 18px 50px rgba(0,0,0,.55);
}
.stove-empty-card{
  display:grid;gap:10px;margin-top:8px;padding:14px;
  border:1px solid rgba(201,162,77,.6);
  outline:1px solid rgba(201,162,77,.5);
  outline-offset:-1px;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(201,162,77,.10),rgba(201,162,77,.02));
  animation:guided-question-breath 2.6s ease-in-out infinite;
}
.stove-empty-title{margin:0;font-size:15px;font-weight:700;line-height:1.6;color:#b42318}
.stove-empty-body{margin:0;font-size:14px;line-height:1.8;color:var(--ui-text-secondary)}
.stove-empty-cta{width:100%;min-height:44px;font-size:14px;animation:guided-question-breath 2.6s ease-in-out infinite}
.stove-empty-areas{display:flex;gap:8px;flex-wrap:wrap}
/* 有灶台提示卡时，隐藏重复的“厨房 / 选择位置开始核对”小字 */
.model-annotation-review .review-context-row:has(+ .stove-empty-card){display:none}
html.tq-dark .stove-empty-card{
  border-color:rgba(227,200,143,.55);
  outline-color:rgba(227,200,143,.45);
  background:linear-gradient(180deg,rgba(227,200,143,.10),rgba(227,200,143,.02));
}
html.tq-dark .stove-empty-title{color:#ffb3a7}
html.tq-dark .stove-empty-body{color:#c3cddd}
@media (prefers-reduced-motion: reduce){
  .stove-empty-card,.stove-empty-cta{animation:none}
}
.direction-tune-toggle{
  display:inline-flex;align-items:center;gap:6px;margin-top:10px;
  font-size:13px;color:var(--ui-text-secondary);cursor:pointer;
}
.direction-tune-row{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px;
}
.direction-tune-row input[type="range"]{flex:1 1 220px;min-width:160px;accent-color:#c9a24d}
.direction-tune-value{
  min-width:48px;font-size:13px;font-weight:600;color:var(--ui-text);
  font-variant-numeric:tabular-nums;text-align:right;
}
.direction-tune-row input[type="number"]{
  width:80px;min-height:32px;padding:2px 6px;text-align:center;
}
.direction-tune-unit{font-size:12px;color:var(--ui-text-secondary)}
html.tq-dark .direction-tune-toggle{color:#b9c4d3}
html.tq-dark .direction-tune-value{color:#e9edf4}
html.tq-dark .direction-door .direction-hint{color:#c3cddd}
html.tq-dark .direction-door .direction-confirm-actions>span{background:rgba(255,255,255,.08);color:#c3cddd}
html.tq-dark .direction-door .direction-confirm-actions>span.ready{background:rgba(63,184,168,.14);color:#8fe3d2}
html.tq-dark .direction-door .direction-confirm-actions>span.missing{background:rgba(255,107,94,.14);color:#ffb3a7}
.model-annotation-editor.review-step-editor{
  padding:12px 14px;
  border:1px solid rgba(201,162,77,.6);
  outline:1px solid rgba(201,162,77,.55);
  outline-offset:-1px;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(201,162,77,.08),rgba(201,162,77,.02));
  animation:guided-question-breath 2.6s ease-in-out infinite;
}
.model-annotation-editor.review-step-editor .review-guided-question h4{color:#8a5a12}
html.tq-dark .model-annotation-editor.review-step-editor{
  border-color:rgba(227,200,143,.55);
  outline-color:rgba(227,200,143,.5);
  background:linear-gradient(180deg,rgba(227,200,143,.09),rgba(227,200,143,.02));
}
html.tq-dark .model-annotation-editor.review-step-editor .review-guided-question h4{color:#f3dcaa}
@keyframes guided-question-breath{
  0%,100%{box-shadow:0 0 0 1px rgba(201,162,77,.18),0 0 10px rgba(201,162,77,.10)}
  50%{box-shadow:0 0 0 2px rgba(201,162,77,.55),0 0 22px rgba(201,162,77,.26)}
}
@media (prefers-reduced-motion: reduce){
  .model-annotation-editor.review-step-editor{animation:none;box-shadow:0 0 0 2px rgba(201,162,77,.4)}
}

/* ===== 画布方向按钮：小尺寸 + 位置避让 + 选中金色 ===== */
.facing-side-choice{
  min-width:56px!important;min-height:28px!important;padding:3px 9px!important;
  font-size:12px!important;font-weight:600!important;border-radius:9px!important;
  background:rgba(255,255,255,.94)!important;color:#1f2733!important;
  border:1px solid rgba(20,40,80,.28)!important;
  box-shadow:0 2px 8px rgba(10,20,40,.25)!important;
  white-space:nowrap;
}
.facing-side-choice[aria-pressed="true"]{
  background:#f3dcaa!important;color:#5a3b07!important;border-color:#c9a24d!important;
}
.facing-side-choice:hover,.facing-side-choice:focus-visible{outline:2px solid #c9a24d!important;outline-offset:2px!important}
html.tq-dark .facing-side-choice{
  background:rgba(22,35,58,.94)!important;color:#e9edf4!important;
  border-color:rgba(255,255,255,.30)!important;
}
html.tq-dark .facing-side-choice[aria-pressed="true"]{
  background:#e3c88f!important;color:#3a2a08!important;border-color:#f3dcaa!important;
}
@media (max-width:760px){
  .facing-side-choice{min-width:64px!important;min-height:34px!important;font-size:13px!important}
}

/* ===== 统一弹窗：毛玻璃表面（浅色/深色自动切换） ===== */
dialog.cd-dialog .cd-card,
dialog.ui-dialog,
dialog.feedback-editor,
dialog.plan-review-dialog,
dialog.adjustment-work-dialog,
dialog.adjustment-customer-preview,
dialog.feedback-image-preview{
  background:linear-gradient(180deg,rgba(27,40,64,.80),rgba(15,24,40,.74))!important;
  -webkit-backdrop-filter:blur(26px) saturate(155%)!important;
  backdrop-filter:blur(26px) saturate(155%)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.55),0 2px 10px rgba(0,0,0,.30)!important;
  color:#eef2f8!important;
  border-radius:20px!important;
}
dialog.cd-dialog .cd-card :is(.cd-title,.cd-body,.cd-body p,label,strong,h2,h3,h4){color:#eef2f8!important}
dialog.cd-dialog .cd-card :is(input,select,textarea),
dialog.ui-dialog :is(input,select,textarea){
  background:rgba(255,255,255,.10)!important;color:#eef2f8!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
dialog.cd-dialog .cd-card :is(.small,.muted,small){color:#b9c4d3!important}

html:not(.tq-dark) dialog.cd-dialog .cd-card,
html:not(.tq-dark) dialog.ui-dialog,
html:not(.tq-dark) dialog.feedback-editor,
html:not(.tq-dark) dialog.plan-review-dialog,
html:not(.tq-dark) dialog.adjustment-work-dialog,
html:not(.tq-dark) dialog.adjustment-customer-preview,
html:not(.tq-dark) dialog.feedback-image-preview{
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(246,250,255,.80))!important;
  border:1px solid rgba(20,40,80,.16)!important;
  box-shadow:0 24px 80px rgba(20,40,80,.22),0 2px 10px rgba(20,40,80,.10)!important;
  color:#1f2733!important;
}
html:not(.tq-dark) dialog.cd-dialog .cd-card :is(.cd-title,.cd-body,.cd-body p,label,strong,h2,h3,h4){color:#1f2733!important}
html:not(.tq-dark) dialog.cd-dialog .cd-card :is(.small,.muted,small){color:#5b6675!important}
html:not(.tq-dark) dialog.cd-dialog .cd-card :is(input,select,textarea),
html:not(.tq-dark) dialog.ui-dialog :is(input,select,textarea){
  background:rgba(255,255,255,.85)!important;color:#1f2733!important;
  border:1px solid rgba(20,40,80,.16)!important;
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  dialog.cd-dialog .cd-card,dialog.ui-dialog,dialog.feedback-editor,
  dialog.plan-review-dialog,dialog.adjustment-work-dialog{background:rgba(23,34,54,.96)!important}
  html:not(.tq-dark) dialog.cd-dialog .cd-card,html:not(.tq-dark) dialog.ui-dialog,
  html:not(.tq-dark) dialog.feedback-editor,html:not(.tq-dark) dialog.plan-review-dialog,
  html:not(.tq-dark) dialog.adjustment-work-dialog{background:rgba(255,255,255,.97)!important}
}

/* 2026-10-27 操作消息：上方正中、醒目、不自动消失（原来在右上角且 6 秒消失） */
html .compact-layout .workflow-notice,html .workflow-notice{
  position:fixed;top:72px;left:50%;right:auto;transform:translateX(-50%);z-index:400;
  max-width:min(560px,calc(100vw - 32px));padding:12px 16px;border-radius:14px;
  font-size:14px;font-weight:600;line-height:1.55;box-shadow:0 12px 32px rgba(0,0,0,.28);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html.tq-dark .workflow-notice.info{background:rgba(18,28,48,.92);color:#f3dcaa;border:1px solid rgba(227,200,143,.55)}
html.tq-dark .workflow-notice:not(.info){background:rgba(60,22,24,.94);color:#ffd9d4;border:1px solid rgba(255,140,128,.55)}
html .workflow-notice.folded{top:72px;padding:6px 12px}

/* 2026-10-27 已保存物件卡：标题 + 状态，下面一行一项事实 */
html .review-saved-summary{display:grid;gap:10px;padding:14px 16px;border-radius:14px;background:var(--ui-surface-soft);border:1px solid var(--ui-border)}
html .review-saved-summary .rss-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
html .review-saved-summary .rss-head strong{font-size:16px;font-weight:700;color:var(--ui-text)}
html .review-saved-summary .rss-chip{font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;background:color-mix(in srgb,var(--ui-success,#3fae7a) 18%,transparent);color:var(--ui-success,#3fae7a)}
html .review-saved-summary .rss-facts{margin:0;display:grid;gap:6px}
html .review-saved-summary .rss-facts>div{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:baseline}
html .review-saved-summary dt{font-size:13px;color:var(--ui-muted)}
html .review-saved-summary dd{margin:0;font-size:14px;color:var(--ui-text)}
html .review-saved-summary .rss-link{margin-left:10px;padding:0;min-height:0;border:0!important;background:none!important;color:var(--ui-primary)!important;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* 删除改为低调的文字按钮，避免和「修改」抢视线 */
html .model-review-footer .review-direct-delete .review-delete-btn,html .bed-more-actions .review-delete-btn{background:none!important;padding:4px 6px;font-weight:500;text-decoration:underline;text-underline-offset:3px}

/* 2026-10-27 AI 正在找入口：等待弹窗 */
html .cd-waiting{display:flex;align-items:center;gap:12px;margin:0}
html .cd-spinner{flex:0 0 22px;width:22px;height:22px;border-radius:50%;border:3px solid color-mix(in srgb,var(--ui-primary) 25%,transparent);border-top-color:var(--ui-primary);animation:cd-spin .8s linear infinite}
@keyframes cd-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){html .cd-spinner{animation-duration:2.4s}}

/* ===== 2026-10-27 全部弹窗统一为 CenterDialog 样式（深色 / 浅色自动切换） =====
   覆盖 ReviewDialog(.ui-dialog)、反馈、调整方案、首页发布、布局选择等弹窗：
   不透明度提高（不再透出底图变灰）、标题 18px 无分隔线、关闭为右上角 ×、主按钮金色/主色。 */
:root{--dlg-bg:linear-gradient(180deg,rgba(28,40,64,.97),rgba(17,26,44,.95));--dlg-border:rgba(255,255,255,.14);--dlg-text:#eef2f8;--dlg-muted:#aeb9c9;--dlg-soft:rgba(255,255,255,.08);--dlg-soft-hover:rgba(255,255,255,.14);--dlg-primary-bg:linear-gradient(180deg,#ecd49c,#caa65d);--dlg-primary-text:#1d2433;--dlg-shadow:0 24px 80px rgba(0,0,0,.55),0 2px 10px rgba(0,0,0,.3);--dlg-scrim:rgba(8,14,26,.42)}
html:not(.tq-dark){--dlg-bg:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,249,252,.97));--dlg-border:rgba(20,40,80,.12);--dlg-text:#1f2733;--dlg-muted:#5b6675;--dlg-soft:#eef1f5;--dlg-soft-hover:#e3e8ef;--dlg-primary-bg:var(--ui-primary,#b8893a);--dlg-primary-text:#fff;--dlg-shadow:0 24px 70px rgba(20,40,80,.22),0 2px 10px rgba(20,40,80,.1);--dlg-scrim:rgba(20,30,50,.28)}

dialog.cd-dialog .cd-card,dialog.ui-dialog,dialog.feedback-editor,dialog.adjustment-work-dialog,
.site-confirm-backdrop>section,.layout-choice-backdrop>section,.home-dialog{
  background:var(--dlg-bg)!important;border:1px solid var(--dlg-border)!important;color:var(--dlg-text)!important;
  box-shadow:var(--dlg-shadow)!important;border-radius:20px!important}
dialog.ui-dialog::backdrop,dialog.feedback-editor::backdrop,dialog.adjustment-work-dialog::backdrop,dialog.cd-dialog::backdrop{background:var(--dlg-scrim)!important}
dialog.ui-dialog{padding:0!important;max-width:min(480px,calc(100vw - 32px));min-width:min(340px,calc(100vw - 32px))}
dialog.ui-dialog>header,html.tq-dark .ui-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 4px 22px!important;border:0!important;background:transparent!important}
dialog.ui-dialog>header h3{margin:0;font-size:18px;font-weight:700;line-height:1.4;color:var(--dlg-text)!important}
dialog.ui-dialog>header button,.home-dialog-close{min-width:32px!important;width:32px;height:32px;min-height:32px!important;padding:0!important;border-radius:50%!important;border:0!important;background:var(--dlg-soft)!important;color:var(--dlg-muted)!important;font-size:0!important;position:relative}
dialog.ui-dialog>header button::before{content:"×";font-size:20px;line-height:32px;color:var(--dlg-muted)}
dialog.ui-dialog .ui-dialog-body{padding:8px 22px 20px!important;display:grid;gap:12px;font-size:15px;line-height:1.7;color:var(--dlg-text)}
:is(dialog.ui-dialog,dialog.feedback-editor,dialog.adjustment-work-dialog,.site-confirm-backdrop>section,.layout-choice-backdrop>section) :is(h2,h3,h4,strong,label,p,li){color:var(--dlg-text)!important}
:is(dialog.ui-dialog,dialog.feedback-editor,dialog.adjustment-work-dialog,.site-confirm-backdrop>section,.layout-choice-backdrop>section) :is(small,.small,.muted,.hint){color:var(--dlg-muted)!important}
/* 按钮：主按钮金色（浅色主题用主色），其他为柔和底色；与 CenterDialog 同尺寸 */
:is(dialog.ui-dialog .ui-dialog-body,dialog.feedback-editor,dialog.adjustment-work-dialog,.site-confirm-backdrop>section,.layout-choice-backdrop>section) button{
  min-height:42px;padding:8px 18px;border:0!important;border-radius:12px!important;font-size:15px;font-weight:600;box-shadow:none!important;
  background:var(--dlg-primary-bg)!important;color:var(--dlg-primary-text)!important}
:is(dialog.ui-dialog .ui-dialog-body,dialog.feedback-editor,dialog.adjustment-work-dialog,.site-confirm-backdrop>section,.layout-choice-backdrop>section) button:is(.secondary,.ghost,.link,.text){
  background:var(--dlg-soft)!important;color:var(--dlg-text)!important}
:is(dialog.ui-dialog .ui-dialog-body,dialog.feedback-editor,dialog.adjustment-work-dialog) button:is(.secondary,.ghost):hover{background:var(--dlg-soft-hover)!important}
:is(dialog.ui-dialog .ui-dialog-body,dialog.feedback-editor,dialog.adjustment-work-dialog,.site-confirm-backdrop>section) button.danger{background:color-mix(in srgb,var(--ui-danger,#d9534f) 20%,transparent)!important;color:var(--ui-danger,#e5695f)!important}
:is(dialog.ui-dialog .ui-dialog-body,dialog.feedback-editor,dialog.adjustment-work-dialog) button:disabled{opacity:.5}
dialog.ui-dialog .ui-dialog-body .row.wrap{justify-content:flex-end;gap:10px}
/* CenterDialog 也跟随同一套变量 */
dialog.cd-dialog .cd-card :is(.cd-title,.cd-body,.cd-body p,label,strong,h2,h3,h4){color:var(--dlg-text)!important}
dialog.cd-dialog .cd-card :is(.small,.muted,small){color:var(--dlg-muted)!important}
.cd-actions button.primary,.cd-actions button:not(.secondary):not(.ghost):not(.danger){background:var(--dlg-primary-bg)!important;color:var(--dlg-primary-text)!important}
.cd-actions button.secondary,.cd-actions button.ghost{background:var(--dlg-soft)!important;color:var(--dlg-text)!important}
dialog.ui-dialog .ui-dialog-body .row.wrap>button:not(.secondary):not(.ghost):not(.danger){order:2}

/* 2026-10-27 权限勾选说明：直接显示在选项下方，不再悬停弹出遮住其他内容 */
html .admin-mode .ui-permission-groups .admin-permission-toggle-card{align-items:flex-start!important}
html .admin-mode .ui-permission-groups .admin-permission-toggle-card small,
html .admin-mode .ui-permission-groups .admin-permission-toggle-card:hover small,
html .admin-mode .ui-permission-groups .admin-permission-toggle-card:focus-within small{
  display:block!important;position:static!important;z-index:auto!important;margin-top:2px;padding:0!important;
  background:none!important;box-shadow:none!important;border:0!important;width:auto!important;
  font-size:12px;line-height:1.5;color:var(--ui-muted,#8a94a6)!important}

/* 2026-10-27 待审核：勾选、备注、底部常驻批量操作栏 */
html .admin-pending-list{display:grid;gap:6px}
html .admin-pending-head{display:flex;align-items:center;gap:8px;padding:6px 10px;font-weight:600}
html .admin-pending-head label{display:flex;align-items:center;gap:8px;cursor:pointer}
html .admin-pending-row{display:grid;grid-template-columns:22px minmax(140px,1fr) minmax(160px,1.4fr) auto;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:var(--ui-surface-soft)}
html .admin-pending-row.is-picked{outline:1px solid color-mix(in srgb,var(--ui-primary) 60%,transparent)}
html .admin-pending-row>span{display:grid;min-width:0}
html .admin-pending-row>span small{color:var(--ui-muted,#8a94a6);font-size:12px}
html .admin-note-input{min-height:34px;padding:6px 10px;border-radius:10px;font-size:13px;width:100%;box-sizing:border-box}
html .admin-note-field{display:grid;gap:4px;margin:8px 0;font-size:13px;color:var(--ui-muted,#8a94a6)}
html .admin-pending-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:6px;padding:10px 12px;border-radius:14px;
  background:var(--dlg-bg,var(--ui-surface));border:1px solid var(--dlg-border,var(--ui-border));box-shadow:0 -6px 24px rgba(0,0,0,.18)}
html .admin-pending-bar>span{margin-right:auto;font-weight:600}
html .admin-pending-bar button{min-height:40px;padding:6px 18px;border-radius:12px;font-weight:600}
@media (max-width:640px){html .admin-pending-row{grid-template-columns:22px 1fr;}html .admin-pending-row .admin-note-input,html .admin-pending-row>button{grid-column:2}}

/* 2026-10-27 成员与权限：列表信息、排序、详情底部常驻保存栏 */
html .admin-account-sort{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ui-muted,#8a94a6);margin:6px 0}
html .admin-account-sort select{min-height:30px;font-size:12px}
html .admin-account-options button{display:grid;gap:2px;text-align:left}
html .admin-account-options .admin-account-note{color:var(--ui-primary)!important;font-size:12px}
html .admin-account-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:var(--ui-muted,#8a94a6)}
html .admin-account-points{font-weight:700;color:var(--ui-text)}
html .admin-user-card{display:flex!important;flex-direction:column}
html .admin-user-card>.admin-user-actions{order:99;position:sticky;bottom:0;z-index:6;margin-top:12px;padding:10px 12px;border-radius:14px;
  background:var(--dlg-bg,var(--ui-surface));border:1px solid var(--dlg-border,var(--ui-border));box-shadow:0 -6px 24px rgba(0,0,0,.18)}
html .admin-user-card>.admin-user-actions .admin-user-save-state{margin-left:auto;font-weight:600}
/* 后台任何页面有未保存修改：底部提示条 */
html .admin-dirty-bar{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:300;
  display:flex;align-items:center;gap:14px;padding:10px 12px 10px 18px;border-radius:16px;font-weight:600;
  background:var(--dlg-bg,var(--ui-surface));color:var(--dlg-text,var(--ui-text));border:1px solid var(--dlg-border,var(--ui-border));box-shadow:var(--dlg-shadow,0 12px 32px rgba(0,0,0,.3))}
html .admin-dirty-bar button{min-height:38px;padding:6px 18px;border:0;border-radius:12px;font-weight:700;background:var(--dlg-primary-bg)!important;color:var(--dlg-primary-text)!important}
html .admin-save-pulse{animation:admin-save-pulse .8s ease-in-out 3;outline:3px solid var(--ui-primary);outline-offset:3px}
@keyframes admin-save-pulse{50%{outline-color:transparent}}
@media (prefers-reduced-motion:reduce){html .admin-save-pulse{animation:none}}
/* 点数开通查看 */
html .vl-unlock-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
html .vl-unlock.secondary{background:var(--dlg-soft,rgba(255,255,255,.08))!important;color:var(--dlg-text,var(--ui-text))!important}

/* AI 没识别出来时，右侧框选按钮放大并加快呼吸，提醒客户马上框选 */
.review-category-actions .coach-big{min-height:52px;padding:0 26px;font-size:17px;font-weight:700;border-radius:14px;animation:coach-breathe .8s ease-in-out infinite}
@keyframes coach-breathe{0%,100%{transform:scale(1);box-shadow:0 0 0 3px #e23b2f,0 0 0 7px rgba(226,59,47,.28)}50%{transform:scale(1.05);box-shadow:0 0 0 3px #ff5a4d,0 0 0 16px rgba(226,59,47,.04)}}
@media (prefers-reduced-motion:reduce){.review-category-actions .coach-big{animation:none}}

/* “不要这样做”的提醒统一标红（弹窗、地图提示、说明文字） */
.cd-warn{color:#d70015;font-weight:600}
html.tq-dark .cd-warn{color:#ff8f84}
.canvas-step-hint .cd-warn{color:#ff9a90}
html:not(.tq-dark) .canvas-step-hint .cd-warn{color:#ff9a90}

/* 户型核对完成弹窗：逐项打钩（绿色，依次描出），按钮与其他弹窗一致 */
.done-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.done-row{display:flex;align-items:center;gap:10px;opacity:0;transform:translateY(6px);animation:done-row-in .32s ease-out forwards;animation-delay:calc(var(--i,0)*.16s + .1s)}
.done-check{flex:none}
.done-ring{fill:rgba(36,138,61,.14);stroke:#2f9e57;stroke-width:1.6;stroke-dasharray:63;stroke-dashoffset:63;animation:done-draw .45s ease-out forwards;animation-delay:calc(var(--i,0)*.16s + .1s)}
.done-tick{fill:none;stroke:#2f9e57;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:18;stroke-dashoffset:18;animation:done-draw .35s ease-out forwards;animation-delay:calc(var(--i,0)*.16s + .32s)}
html.tq-dark .done-ring{fill:rgba(77,208,122,.16);stroke:#4dd07a}
html.tq-dark .done-tick{stroke:#4dd07a}
.done-name{font-weight:600}
.done-state{margin-left:auto;font-size:13px;color:var(--ui-muted,#6e6e73)}
.done-ask{margin:6px 0 4px;font-weight:600}
.done-extra{display:block;margin:10px 0 0;padding:0;background:none;border:0;color:var(--ui-primary,#0a7d84);font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
html.tq-dark .done-extra{color:#f3dcaa}
@keyframes done-row-in{to{opacity:1;transform:none}}
@keyframes done-draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.done-row{animation:none;opacity:1;transform:none}.done-ring,.done-tick{animation:none;stroke-dashoffset:0}}
.bed-excess-note{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 12px;border-radius:12px;background:rgba(215,0,21,.08);margin:8px 0;font-size:13px}
.bed-excess-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.bed-excess-list{flex-direction:column;align-items:stretch}
.bed-excess-room{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;background:var(--surface-2,rgba(127,127,127,.08))}
.bed-excess-room>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bed-excess-room>span>button{margin-left:auto;padding:4px 10px}
.bed-excess-room>span>button+button{margin-left:0}
.bed-bunk{margin-top:12px;padding:12px;border-radius:12px;background:var(--surface-2,rgba(127,127,127,.08))}
.bed-bunk h4{margin:0 0 4px}
.bed-bunk p{margin:0 0 8px}

/* 邀请码（2026-10-27）：顶部栏入口 + 弹出卡片；注册表单；审核中页面的邀请码卡片 */
.invite-entry>summary.invite-chip{gap:6px;border-color:var(--ui-primary);color:var(--ui-primary);background:transparent;font-size:13px;white-space:nowrap}
.invite-entry>summary.invite-chip .invite-code-text{letter-spacing:1px}
.invite-entry>summary.invite-chip .invite-chip-hint{color:var(--ui-text-secondary)}
.invite-entry .nav-menu-list.invite-card{left:50%;right:auto;transform:translateX(-50%);width:320px;max-width:calc(100vw - 32px);padding:14px;gap:10px;background:var(--ui-surface);color:var(--ui-text)}
/* 深色主题的「玻璃」背景是半透明的，邀请卡片压在页面上会看不清：改成实底 + 阴影 */

.invite-card-title{font-size:15px}
.invite-card-rule,.invite-pending-card p{margin:0;font-size:12.5px;line-height:1.6;color:var(--ui-text-secondary)}
.invite-code-big{padding:10px;border-radius:8px;background:var(--ui-primary-soft);color:var(--ui-primary);text-align:center;font-size:22px;font-weight:600;letter-spacing:4px}
.invite-stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}
.invite-stats b{display:block;font-size:16px}
.invite-stats span{font-size:12px;color:var(--ui-text-secondary)}
.invite-actions{display:flex;gap:8px}
.invite-actions>button{flex:1;min-height:34px;font-size:13px}
.invite-copied{margin:0;font-size:12px;color:var(--ui-success)}
.invite-pending-card{display:flex;flex-direction:column;gap:8px;margin:10px 0;padding:12px;border:2px solid var(--ui-primary);border-radius:10px;text-align:left}
.invite-pending-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.invite-pending-head small{display:block;font-size:12px;color:var(--ui-text-secondary)}
.invite-pending-head .invite-code-text{font-size:20px;letter-spacing:3px}
.invite-pending-card .invite-pending-used{color:var(--ui-text)}
.invite-code-input{letter-spacing:2px;text-transform:uppercase}
.auth-invite-filled{margin:-4px 0 0;font-size:12px;color:var(--ui-success)}
.auth-invite-hint{margin:-4px 0 0;font-size:12px;line-height:1.6;color:var(--ui-text-secondary)}
.admin-invited-by{display:block;color:var(--ui-primary)}
@media (max-width:767px){.invite-entry>summary.invite-chip :is(.invite-chip-label,.invite-chip-hint){display:none}}

/* 画布与右侧面板之间的可拖分割线（2026-10-27，电脑端 ≥1001px）：保持原来的卡片布局，
   只把两栏之间的空隙换成可拖的分割线；没拖过时用原来的比例（核对约 38%，结果约 50%）。
   面板宽度 --tq-review-panel-w / --tq-results-panel-w 由 panel-splitter.js 写入。手机端不变。 */
.panel-splitter{display:none}
@media (min-width:1001px){
  .image2-workflow-shell .unified-workbench.review-workbench{grid-template-columns:minmax(0,1fr) 14px var(--tq-review-panel-w,minmax(320px,37.5%))!important;column-gap:0!important}
  .review-workbench>.unified-mode-bar{grid-column:1/-1!important}
  .review-workbench .unified-map-panel{grid-column:1/2!important}
  .review-workbench .panel-splitter{display:flex;grid-column:2/3;grid-row:2;align-self:stretch}
  .review-workbench>.model-annotation-review{grid-column:3/4!important}
  html.tq-panel-folded .image2-workflow-shell .unified-workbench.review-workbench{grid-template-columns:minmax(0,1fr) 14px 0!important}
  html.tq-panel-folded .review-workbench>.model-annotation-review{display:none!important}

  /* 页面左右、下方少留白（10-28） */
  .ui-page-container.image2-workflow-shell{width:min(100%,1880px)!important;max-width:none!important;padding:10px 16px 14px!important;gap:8px!important}
  .image2-workflow-shell .unified-workbench{row-gap:8px}
  /* 结果页：画布占左边整列一直到顶；「分析结果」栏只在右半部分，标题放大高亮；整块铺到窗口底部 */
  .results-mode .unified-map-grid.results-layout.result-mode-combined{grid-template-columns:minmax(0,1fr) 14px var(--tq-results-panel-w,minmax(320px,50%))!important;grid-template-areas:"map split resultbar" "map split analysis"!important;grid-template-rows:auto minmax(0,1fr)!important;column-gap:0!important;row-gap:8px!important;height:var(--tq-grid-h,calc(100dvh - 133px))!important;min-height:520px}
  body.compact-layout .image2-workflow-shell .results-mode .result-explorer.result-mode-combined>:is(.unified-map-panel,.unified-side-panel){height:auto!important;max-height:none!important;min-height:0!important;align-self:stretch!important}
  .results-layout.result-mode-combined>.unified-side-panel{overflow:auto}
  .results-layout.result-mode-combined>.result-explorer-bar{margin:0;min-height:0;padding:8px 12px;flex-wrap:wrap;gap:8px}
  .results-layout.result-mode-combined>.result-explorer-bar .result-explorer-title h2{font-size:20px;font-weight:700;letter-spacing:1px;color:var(--ui-primary)}
  .results-layout.result-mode-combined .panel-splitter{display:flex;grid-area:split;align-self:stretch}
  html.tq-panel-folded .results-mode .unified-map-grid.results-layout.result-mode-combined{grid-template-columns:minmax(0,1fr) 14px 0!important}
  html.tq-panel-folded .results-layout.result-mode-combined>.unified-side-panel{display:none!important}

  /* 结果页画布：上方的标题、筛选、罗盘勾选、罗盘工具、说明压成画布里浮动的一行；去掉画布外的内框，画布铺满左栏卡片 */
  .results-layout .unified-map-panel{position:relative;display:flex;flex-direction:column;padding:8px!important;overflow:visible!important}
  .results-layout .unified-map-stage .canvas-stage{overflow:hidden}
  .results-layout .unified-map-panel>.result-map-head.canvas-float-bar{position:absolute;top:16px;left:16px;right:16px;z-index:8;display:flex;align-items:center;gap:6px;margin:0;padding:0;border:0;background:none;pointer-events:none;min-height:0}
  .canvas-float-bar>*{pointer-events:auto}
  .canvas-float-bar>[role=group]{display:flex;gap:4px}
  .canvas-float-bar [role=group] button{min-height:30px;padding:3px 11px;border-radius:15px;border:1px solid var(--ui-border);background:rgba(var(--ui-surface-rgb),.94);color:var(--ui-text);font-size:13px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
  .canvas-float-bar [role=group] button[aria-pressed=true]{border-color:var(--ui-primary);color:var(--ui-primary)}
  .canvas-float-bar>.help-tip,.canvas-float-bar>:last-child{margin-left:auto}
  /* 员工 / 管理员：罗盘选项全部展开成一条紧凑工具条，和筛选同一块，放在画布上方（不压住户型图） */
  .results-layout .unified-map-panel:has(.result-compass-strip)>.result-map-head.canvas-float-bar{position:static;flex-wrap:wrap;margin:0 0 6px;pointer-events:auto}
  .result-compass-strip{order:2;flex:0 1 auto;display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;padding:0 0 0 8px;margin-left:2px;border:0;border-left:1px solid var(--ui-border);background:none}
  .result-compass-strip .strip-label{font-size:12px;font-weight:700;color:var(--ui-primary);margin-right:2px}
  .result-compass-strip .compass-size-controls{display:contents}
  .result-compass-strip .compass-choice-list{display:flex;flex-wrap:wrap;gap:4px;max-height:none;overflow:visible;flex:0 1 auto!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
  .result-compass-strip .compass-choice{display:inline-flex;align-items:center;gap:2px;padding:0 2px 0 6px;min-height:28px;border-radius:14px;border:1px solid var(--ui-border);background:transparent}
  .result-compass-strip .compass-choice.is-visible{border-color:rgba(var(--ui-primary-rgb),.6)}
  .result-compass-strip .compass-choice input{margin:0;width:14px;height:14px}
  .result-compass-strip .compass-choice button{min-height:24px!important;padding:1px 6px!important;font-size:12px!important;border:0!important;background:transparent!important;box-shadow:none!important;white-space:nowrap}
  .result-compass-strip .compass-target-tools{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px;flex:0 1 auto!important;width:auto!important;margin:0 0 0 2px!important;padding:0 0 0 8px!important;border:0!important;border-left:1px solid var(--ui-border)!important;border-radius:0!important;background:none!important}
  /* 还没选中罗盘时，只剩一句「点击图上的圆点切换」，不单独占一行（说明已放进 ?） */
  .result-compass-strip .compass-target-tools:not(:has(button)){display:none!important}
  .result-compass-strip .compass-target-tools strong{font-size:12px;font-weight:600;white-space:nowrap}
  .result-compass-strip :is(.compass-target-tools,.strip-tools) button{min-height:26px;padding:1px 8px;font-size:12px}
  .result-compass-strip .strip-tools{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;margin-left:auto}
  .result-compass-strip .strip-tools small{font-size:12px;color:var(--ui-primary)}
  .results-layout .unified-map-stage{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;margin:0}
  .results-layout .unified-map-stage .canvas-stage{flex:1 1 auto;min-height:0;height:auto!important;border:0!important;border-radius:6px!important;box-shadow:none!important}
  /* 缩放：画布左下角的图标竖条（＋ － ⤢查看全图 ◎回到当前物件），名称在提示里 */
  .results-layout .unified-map-stage .canvas-toolbar.result-camera-tools.compact-camera{top:auto!important;bottom:10px!important;left:10px!important;right:auto!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:auto!important;padding:4px!important;border-radius:12px!important;background:rgba(var(--ui-surface-rgb),.88)!important;border:1px solid var(--ui-border)!important;box-shadow:0 4px 14px rgba(0,0,0,.25)}
  .results-layout .canvas-toolbar.compact-camera button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;font-size:16px!important;line-height:1!important;display:flex;align-items:center;justify-content:center;border-radius:8px!important}
}
.panel-splitter{position:relative;justify-content:center;cursor:col-resize;touch-action:none;user-select:none;outline:0}
.panel-splitter:before{content:"";width:2px;height:100%;border-radius:1px;background:rgba(var(--ui-primary-rgb),.45);transition:width .15s,background .15s}
.panel-splitter:is(:hover,:focus-visible,.dragging):before{width:4px;background:var(--ui-primary)}
.panel-splitter.is-fresh:before{animation:tq-split-pulse 1.6s ease-in-out infinite}
@keyframes tq-split-pulse{0%,100%{box-shadow:0 0 0 0 rgba(var(--ui-primary-rgb),0)}50%{box-shadow:0 0 0 5px rgba(var(--ui-primary-rgb),.28)}}
.panel-splitter-grip{position:absolute;top:50%;left:50%;width:14px;height:44px;margin:-22px 0 0 -7px;border-radius:7px;background:var(--ui-primary);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;pointer-events:none}
.panel-splitter-grip i{width:3px;height:3px;border-radius:50%;background:var(--ui-surface)}
.panel-splitter-tip{position:absolute;top:50%;right:18px;transform:translateY(32px);padding:6px 10px;border-radius:8px;background:var(--ui-primary);color:var(--ui-surface);font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none;z-index:20}
.panel-splitter-fold{position:absolute;top:10px;left:50%;width:22px;height:22px;min-height:22px!important;margin-left:-11px;padding:0!important;border-radius:50%;font-size:12px;line-height:1;z-index:21;display:flex;align-items:center;justify-content:center}
body.dragging-panel,body:has(.panel-splitter.dragging){cursor:col-resize;user-select:none}

/* 结果页：重点关注的位置在画布上呼吸发散（不放大画布） */
/* 默认重点关注在呼吸；点评分卡里的「不利」「吉」卡片，换成那一档的所有位置同时呼吸 */
.result-map-marker{overflow:visible}
:is(.results-layout.pulse-alert .result-map-marker.signal-alert,.results-layout.pulse-unfavorable .result-map-marker.signal-unfavorable,.results-layout.pulse-good .result-map-marker.signal-good)::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:3px solid var(--tq-pulse,rgba(214,60,53,.9));animation:tq-alert-ripple 1.1s ease-out infinite;pointer-events:none}
.results-layout.pulse-unfavorable{--tq-pulse:rgba(20,24,32,.9)}
.results-layout.pulse-good{--tq-pulse:rgba(40,120,87,.95)}
@keyframes tq-alert-ripple{0%{transform:scale(.85);opacity:.95}70%{opacity:.25}100%{transform:scale(2.3);opacity:0}}
.result-map-marker[aria-pressed=true]::before{content:"";position:absolute;inset:-7px;border-radius:50%;border:3px solid var(--ui-primary);animation:tq-marker-flash .42s ease-in-out 4;pointer-events:none}
@keyframes tq-marker-flash{0%,100%{opacity:0;transform:scale(.9)}50%{opacity:1;transform:scale(1.25)}}
/* 评分卡里的颜色卡片可点：点哪一档，图上那一档的位置一起呼吸 */
.summary-group-tabs .show-all-results.is-filtered{border-color:var(--ui-primary);color:var(--ui-primary)}
/* 卡片改成按钮后被通用按钮样式盖掉了颜色：恢复红 / 橙 / 绿 */
.vl-chips button.vl-chip{font:inherit;cursor:pointer;min-height:0;line-height:1.2;border:1px solid color-mix(in srgb,var(--vl-c) 45%,transparent)!important;background:color-mix(in srgb,var(--vl-c) 16%,var(--ui-surface))!important;background-image:none!important;color:var(--vl-c)!important;font-weight:600}
.vl-chips button.vl-chip b{color:var(--vl-c)!important}
.vl-chips button.vl-chip:hover{background:color-mix(in srgb,var(--vl-c) 26%,var(--ui-surface))!important}
html body .vl-summary .vl-chips button.vl-chip.vl-chip.vl-chip[aria-pressed=true]{color:var(--vl-c)!important;background:color-mix(in srgb,var(--vl-c) 22%,var(--ui-surface))!important;border-color:var(--vl-c)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--vl-c) 55%,transparent)!important}
/* 未解锁时「解锁全部结果」固定浮在结果页下方正中，呼吸提醒 */
.vl-unlock-actions.vl-unlock-float{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:60;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 20px;border-radius:16px;background:var(--ui-surface)!important;background-image:none!important;border:1px solid rgba(var(--ui-primary-rgb),.65);animation:tq-unlock-glow 1.8s ease-in-out infinite;max-width:calc(100vw - 32px)}
.vl-unlock-float .vl-note{margin:0;font-size:12px;text-align:center}
@keyframes tq-unlock-glow{0%,100%{box-shadow:0 16px 40px rgba(0,0,0,.45),0 0 0 0 rgba(var(--ui-primary-rgb),.55)}50%{box-shadow:0 16px 40px rgba(0,0,0,.45),0 0 0 12px rgba(var(--ui-primary-rgb),0)}}
@media (max-width:1000px){.vl-unlock-actions.vl-unlock-float{bottom:calc(96px + env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion:reduce){.vl-unlock-actions.vl-unlock-float{animation:none}.result-map-marker[aria-pressed=true]::before{animation:none}.results-layout :is(.result-map-marker)::after{animation:none!important;transform:scale(1.4);opacity:.6}.panel-splitter.is-fresh:before{animation:none}}

/* 结果页「分析结果」栏的说明收进右侧 ⓘ（10-28）：半透明圆圈呼吸提醒，鼠标移上去或键盘聚焦自动展开；
   「暂不能生成结果」时变黄，展开里带「去户型核对」按钮 */
.result-explorer-bar .ui-result-toolbar{margin-left:auto}
.result-info-tip{position:relative;display:inline-flex;align-items:center;margin-left:4px;outline:0;--tq-info:var(--ui-primary-rgb)}
.result-info-tip.is-warning{--tq-info:242,193,78}
.result-info-dot{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:italic 700 14px Georgia,'Times New Roman',serif;color:rgb(var(--tq-info));background:rgba(var(--tq-info),.14);border:1px solid rgba(var(--tq-info),.6);cursor:help;animation:tq-info-breathe 2s ease-in-out infinite}
@keyframes tq-info-breathe{0%,100%{box-shadow:0 0 0 0 rgba(var(--tq-info),.5)}50%{box-shadow:0 0 0 7px rgba(var(--tq-info),0)}}
.result-info-pop{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,80vw);display:none;flex-direction:column;gap:8px;padding:12px 14px;border-radius:12px;background:var(--ui-surface)!important;background-image:none!important;border:1px solid rgba(var(--tq-info),.45);box-shadow:0 14px 34px rgba(0,0,0,.4);z-index:40;font-size:13px;line-height:1.65;text-align:left}
.result-info-pop::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.result-info-tip:is(:hover,:focus-within) .result-info-pop{display:flex}
.result-info-tip:is(:hover,:focus-within) .result-info-dot{animation:none}
.result-info-pop p{margin:0}
.result-info-pop .result-blocked-reason{display:block;padding:0;margin:0;border:0;background:none!important;color:rgb(242,193,78)}
.result-info-pop .result-blocked-reason button{display:inline-flex;margin:6px 0 0;min-height:30px}
.result-info-pop .customer-adjust-note{color:var(--ui-text-secondary)}
@media (prefers-reduced-motion:reduce){.result-info-dot{animation:none}}
/* 客户的罗盘开关：「罗盘：显示 | 关闭」，和筛选同在画布浮动的一行 */
.result-compass-switch{display:inline-flex;align-items:center;gap:2px;padding:2px 2px 2px 10px;border-radius:16px;border:1px solid var(--ui-border);background:rgba(var(--ui-surface-rgb),.94);font-size:13px;color:var(--ui-text);box-shadow:0 2px 8px rgba(0,0,0,.18)}
.result-compass-switch button{min-height:26px!important;padding:2px 11px!important;border-radius:13px!important;border:0!important;background:transparent!important;font-size:13px!important;color:var(--ui-text-secondary)}
.result-compass-switch button[aria-pressed=true]{background:var(--ui-primary)!important;color:var(--ui-surface)!important;font-weight:600}
/* 顶部栏放不下时（笔记本屏幕、客户多一个邀请码按钮）：页面不被撑宽，邀请码按钮先缩短，再不够就换行 */
.ui-page-container.image2-workflow-shell{grid-template-columns:minmax(0,1fr)}
.image2-workflow-shell>.ui-navbar,.image2-workflow-shell>.ui-navbar .ui-navbar-actions{min-width:0}
.image2-workflow-shell>.ui-navbar .ui-navbar-actions{flex-wrap:wrap;row-gap:6px}
@media (max-width:1440px){.invite-entry>summary.invite-chip .invite-chip-hint{display:none}}
@media (max-width:1200px){.invite-entry>summary.invite-chip .invite-chip-label{display:none}}
@media (max-width:1280px){.image2-workflow-shell>.ui-navbar .image2-control{flex:0 1 200px;min-width:150px}.image2-workflow-shell>.ui-navbar .history-case-select{width:100%;min-width:0}}
/* 客户已解锁全部结果：画布右侧居中「需要调整布局？请联系客服或右上角反馈」（10-28），呼吸提醒，可关掉 */
.results-layout .unified-map-panel{position:relative}
.result-adjust-cta{position:absolute;right:18px;top:50%;transform:translateY(-50%);z-index:9;width:min(220px,40%);padding:14px 16px 14px;border-radius:14px;background:var(--ui-surface)!important;background-image:none!important;border:1px solid rgba(var(--ui-primary-rgb),.6);color:var(--ui-text);font-size:13px;line-height:1.6;animation:tq-unlock-glow 2s ease-in-out infinite}
.result-adjust-cta strong{display:block;font-size:15px;color:var(--ui-primary);margin-bottom:4px}
.result-adjust-cta p{margin:0;color:var(--ui-text-secondary)}
.result-adjust-cta-close{position:absolute;top:4px;right:6px;width:24px;height:24px;min-height:24px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--ui-text-secondary);font-size:16px;line-height:1}
@media (max-width:1000px){.result-adjust-cta{position:static;transform:none;width:auto;margin:8px 0}}
@media (prefers-reduced-motion:reduce){.result-adjust-cta{animation:none}}

/* 流程步骤条（10-28）：去掉外面的方框；三个步骤放进一条磨砂胶囊轨道、居中，金色玻璃滑块滑到当前步骤（位置由 app.js 写入 --pill-x/--pill-w）。
   员工的「自动识别 / 手动标注」靠右 */
:root{--tq-ease:cubic-bezier(.32,.72,0,1);--tq-ease-pop:cubic-bezier(.2,.9,.25,1.12)}
.image2-workflow-shell .unified-mode-bar.unified-mode-bar{position:relative;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px;padding:0!important;margin:0;border:0!important;background:none!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important}
.image2-workflow-shell .unified-mode-bar .workflow-progress{position:relative;isolation:isolate;display:flex;justify-content:center;gap:2px;margin:0 auto;padding:4px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);box-shadow:0 6px 20px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.07)}
html:not(.tq-dark) .image2-workflow-shell .unified-mode-bar .workflow-progress{border-color:rgba(0,0,0,.08);background:rgba(255,255,255,.6)}
.image2-workflow-shell .unified-mode-bar .workflow-progress::before{content:"";position:absolute;z-index:-1;top:4px;bottom:4px;left:0;width:var(--pill-w,0);transform:translateX(var(--pill-x,0));border-radius:999px;border:1px solid rgba(var(--ui-primary-rgb),.75);background:linear-gradient(180deg,rgba(var(--ui-primary-rgb),.24),rgba(var(--ui-primary-rgb),.12));box-shadow:0 4px 16px rgba(var(--ui-primary-rgb),.25),inset 0 1px 0 rgba(255,255,255,.18);opacity:0}
.image2-workflow-shell .unified-mode-bar .workflow-progress.has-pill::before{opacity:1}
.image2-workflow-shell .unified-mode-bar .workflow-progress.pill-ready::before{transition:transform .5s var(--tq-ease),width .5s var(--tq-ease)}
html .image2-workflow-shell .unified-mode-bar .workflow-progress button,html .image2-workflow-shell .unified-mode-bar .workflow-progress button.current.current{position:relative;min-height:34px;padding:4px 18px 4px 6px!important;gap:8px;border-radius:999px!important;border:1px solid transparent!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--ui-text-secondary)!important;font-size:14px;transition:color .3s var(--tq-ease)}
html .image2-workflow-shell .unified-mode-bar .workflow-progress button.current.current{color:var(--ui-primary)!important;font-weight:700}
html .image2-workflow-shell .unified-mode-bar .workflow-progress button:not(.current):hover{color:var(--ui-text)!important;background:rgba(255,255,255,.05)!important}
.image2-workflow-shell .unified-mode-bar .workflow-input-modes{position:absolute;right:0;top:50%;transform:translateY(-50%)}
@media (max-width:1000px){.image2-workflow-shell .unified-mode-bar .workflow-input-modes{position:static;transform:none}}
/* 操作消息：展开时放在步骤条下方正中，收起后的小胶囊放到步骤条左侧空白，不再压住步骤 */
@media (min-width:761px){
  html body.compact-layout .workflow-notice.workflow-notice:not(.folded){top:116px}
  html body.compact-layout .workflow-notice.workflow-notice.folded{left:28px;right:auto;transform:none;top:72px}
}

/* 交互动态对齐 iPhone / Mac（10-28）：同一条缓动曲线；按下轻微缩小，菜单、提示、弹窗弹出时由小放大淡入 */
button:not(:disabled){transition:background-color .2s var(--tq-ease),border-color .2s var(--tq-ease),color .2s var(--tq-ease),box-shadow .25s var(--tq-ease),transform .18s var(--tq-ease)}
button:not(:disabled):active{transform:scale(.96)}
:is(.panel-splitter,.result-map-marker,.canvas-stage button):active{transform:none}
.result-map-marker:not(:disabled):active{transform:translate(-50%,-50%) scale(.94)}
@keyframes tq-pop-in{from{opacity:0;transform:translateY(-4px) scale(.96)}to{opacity:1;transform:none}}
:is(.nav-menu[open]>.nav-menu-list,.result-info-tip:is(:hover,:focus-within) .result-info-pop,.invite-entry[open] .invite-card){animation:tq-pop-in .32s var(--tq-ease) both}
.invite-entry[open] .invite-card{animation-name:tq-pop-in-centered}
@keyframes tq-pop-in-centered{from{opacity:0;transform:translateX(-50%) translateY(-4px) scale(.96)}to{opacity:1;transform:translateX(-50%)}}
dialog[open]{animation:tq-dialog-in .38s var(--tq-ease) both}
@keyframes tq-dialog-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
dialog[open]::backdrop{animation:tq-fade-in .3s var(--tq-ease) both}
@keyframes tq-fade-in{from{opacity:0}to{opacity:1}}
.result-adjust-cta,.vl-unlock-float{transition:opacity .3s var(--tq-ease)}
@media (prefers-reduced-motion:reduce){
  .image2-workflow-shell .unified-mode-bar .workflow-progress.pill-ready::before{transition:none}
  button:not(:disabled):active{transform:none}
  :is(.nav-menu[open]>.nav-menu-list,.result-info-pop,.invite-card,dialog[open],dialog[open]::backdrop){animation:none!important}
}

/* 评分卡右侧「需要调整布局？」玻璃提示（10-28）：客户解锁后一直显示、长期呼吸；点一下重新打开画布上的调整提示。浅色 / 深色各一套 */
.vl-summary:has(.vl-adjust-tip){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:10px;align-items:center}
.vl-summary:has(.vl-adjust-tip)>:not(.vl-adjust-tip){grid-column:1}
.vl-summary>button.vl-adjust-tip.vl-adjust-tip{grid-column:2;grid-row:1/span 3;display:flex;align-items:center;gap:10px;min-height:0;padding:10px 16px 10px 10px!important;border-radius:18px!important;text-align:left;cursor:pointer;font:inherit;color:var(--ui-text)!important;
  background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03))!important;border:1px solid rgba(var(--ui-primary-rgb),.5)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 22px rgba(0,0,0,.28);animation:tq-tip-breathe 2.4s ease-in-out infinite}
html:not(.tq-dark) .vl-summary>button.vl-adjust-tip.vl-adjust-tip{color:#17353a!important;background:linear-gradient(160deg,rgba(255,255,255,.88),rgba(255,255,255,.6))!important;border-color:rgba(var(--ui-primary-rgb),.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 22px rgba(22,70,78,.14)}
.vl-adjust-tip-icon{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--ui-surface);background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.55),rgba(var(--ui-primary-rgb),1) 60%)}
.vl-adjust-tip strong{display:block;font-size:14px;line-height:1.3;color:var(--ui-primary)}
.vl-adjust-tip small{display:block;font-size:12px;line-height:1.4;color:var(--ui-text-secondary);white-space:nowrap}
.vl-summary>button.vl-adjust-tip:hover{transform:translateY(-1px)}
@keyframes tq-tip-breathe{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 22px rgba(0,0,0,.22),0 0 0 0 rgba(var(--ui-primary-rgb),.45)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 22px rgba(0,0,0,.22),0 0 0 9px rgba(var(--ui-primary-rgb),0)}}
@media (max-width:600px){.vl-summary:has(.vl-adjust-tip){grid-template-columns:1fr}.vl-summary>button.vl-adjust-tip.vl-adjust-tip{grid-column:1;grid-row:auto}}
@media (prefers-reduced-motion:reduce){.vl-summary>button.vl-adjust-tip{animation:none}}
/* 深色主题下位置名称用正常文字色（「不利」的标记色接近黑色，名字会看不见），等级词保留颜色 */
html.tq-dark .comprehensive-location[style]{color:var(--ui-text)!important}
/* 步骤条（再调）：深色主题的玻璃面板规则会给步骤条加回底色和边框，这里用更高优先级去掉；滑块和步骤按钮上下对齐（各缩进 4px，高 34px） */
html body .image2-workflow-shell .unified-mode-bar.unified-mode-bar.compact-progress-bar{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .image2-workflow-shell .unified-mode-bar.unified-mode-bar.compact-progress-bar::before,html body .image2-workflow-shell .unified-mode-bar.unified-mode-bar.compact-progress-bar::after{content:none!important;display:none!important}
html body .image2-workflow-shell .unified-mode-bar .workflow-progress.workflow-progress::before{top:4px!important;bottom:4px!important;height:auto!important;box-sizing:border-box!important}
/* 系统操作提示统一放在画布框里（10-28）：有画布的页面，提示和短提示（已打开案例等）显示在画布正中；
   收起后的「待处理提示 / 查看操作消息」小胶囊放在画布框上方正中。位置变量由 notice-anchor.js 写入 */
@media (min-width:761px){
  html.tq-has-canvas body.compact-layout .workflow-notice.workflow-notice:not(.folded){left:var(--tq-canvas-cx);top:var(--tq-canvas-cy);right:auto;transform:translate(-50%,-50%);max-width:min(520px,calc(100vw - 48px))}
  html.tq-has-canvas body.compact-layout .workflow-notice.workflow-notice.folded{left:var(--tq-canvas-cx);top:calc(var(--tq-canvas-top) + 10px);right:auto;transform:translateX(-50%)}
  html.tq-has-canvas .center-toast{inset:auto;left:var(--tq-canvas-cx);top:var(--tq-canvas-cy);transform:translate(-50%,-50%);padding:0}
}
/* 画布卡片上的「?」说明被裁掉、被右侧面板压住（10-28）：深色主题给 .panel 加的 backdrop-filter 会让卡片变成 fixed 元素的定位容器，
   说明框按窗口坐标算位置却相对卡片摆放。画布卡片去掉这个滤镜（背景本来就是实色），说明框重新按窗口定位并浮在最上层 */
html body .image2-workflow-shell .unified-map-panel.panel{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;transform:none!important;position:relative!important;top:auto!important;inset:auto!important}
html body .viewport-help-tip{z-index:500!important}
html.tq-dark body.compact-layout .ui-help>.viewport-help-tip.viewport-help-tip{background:var(--ui-surface)!important;background-image:none!important;border:1px solid rgba(var(--ui-primary-rgb),.4);box-shadow:0 14px 34px rgba(0,0,0,.45)}
/* 原来的入场动画会覆盖居中用的 transform，导致提示偏右半个宽度：画布内的提示用自带居中的动画 */
@media (min-width:761px){
  html.tq-has-canvas body.compact-layout .workflow-notice.workflow-notice:not(.folded),html.tq-has-canvas .center-toast{animation:tq-notice-in .32s var(--tq-ease) both}
  html.tq-has-canvas body.compact-layout .workflow-notice.workflow-notice.folded{animation:tq-notice-fold-in .32s var(--tq-ease) both}
}
@keyframes tq-notice-in{from{opacity:0;transform:translate(-50%,-50%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%)}}
@keyframes tq-notice-fold-in{from{opacity:0;transform:translateX(-50%) scale(.96)}to{opacity:1;transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){html.tq-has-canvas body.compact-layout .workflow-notice,html.tq-has-canvas .center-toast{animation:none!important}}

/* 三大步骤框架统一（10-28 UI 走查）：内容都从步骤条下方 8px 开始、铺到窗口底部留 14px；卡片圆角都是 12px；左右两栏间距 14px；
   基础设置和户型核对左右比例一致（约 62 / 38），输出结果保持一半一半 */
@media (min-width:1001px){
  .image2-workflow-shell .unified-workbench.review-workbench{grid-template-rows:auto minmax(0,1fr)!important;height:var(--tq-workbench-h,calc(100dvh - 81px))!important;min-height:480px}
  .review-workbench .unified-map-panel,.review-workbench>.model-annotation-review{grid-row:2!important;height:auto!important;max-height:none!important;min-height:0!important;align-self:stretch!important}
  html body.compact-layout .image2-workflow-shell :is(.unified-map-panel,.unified-side-panel,.model-annotation-review).panel{border-radius:12px!important}
  html body.compact-layout .base-setup-screen.base-setup-workbench:not(.review-workbench)>.unified-map-grid{grid-template-columns:minmax(0,1fr) minmax(330px,37.5%)!important;gap:14px!important}
}

/* 基础设置按用户标注调整（10-28）：去掉「基础设置」标题行和文件名行；状态说明放进画布标题栏中间；「进入户型核对 →」放到步骤条右端；
   案例名称放到右侧面板最上面。三大步骤的内容都从步骤条下方开始 */
.image2-workflow-shell .unified-mode-bar .mode-bar-right{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:8px}
.image2-workflow-shell .unified-mode-bar .mode-bar-right:empty{display:none}
.image2-workflow-shell .unified-mode-bar .mode-bar-right .workflow-input-modes{position:static;transform:none}
.image2-workflow-shell .unified-mode-bar .base-skip-next{min-height:34px;padding:4px 18px!important;border-radius:999px!important;font-weight:700;box-shadow:0 4px 14px rgba(var(--ui-primary-rgb),.28)}
.base-map-caption{display:flex;align-items:center;gap:12px}
.base-map-caption>span,.base-map-caption>small{flex:none}
.base-map-caption .base-map-status{flex:1 1 auto;min-width:0;text-align:center;font-style:normal;font-size:13px;font-weight:600;color:var(--ui-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.base-case-name.base-case-name-panel{display:flex;flex-direction:column;gap:6px;margin:12px 12px 4px;font-size:13px;color:var(--ui-text-secondary)}
.base-case-name.base-case-name-panel input{width:100%;min-height:36px;box-sizing:border-box}
@media (max-width:1000px){.image2-workflow-shell .unified-mode-bar .mode-bar-right{position:static;transform:none}.base-map-caption .base-map-status{white-space:normal}}
@media (min-width:1001px){
  html body.compact-layout .image2-workflow-shell .base-setup-workbench:not(.review-workbench)>.unified-map-grid{height:var(--tq-grid-h,calc(100dvh - 133px))!important;min-height:480px;max-height:none!important}
}

/* 操作中的提示框（CenterDialog）也放到画布正中显示（有画布的页面） */
@media (min-width:761px){
  html.tq-has-canvas dialog.cd-dialog.cd-scrim-soft[open]{position:fixed;inset:auto;margin:0;left:var(--tq-canvas-cx);top:var(--tq-canvas-cy);transform:translate(-50%,-50%);animation:tq-notice-in .32s var(--tq-ease) both}
}

/* 三大步骤的缩放工具统一（10-28 UI 走查）：画布左下角图标竖条 */
@media (min-width:1001px){
  html body.compact-layout .unified-map-stage .canvas-toolbar.compact-camera.compact-camera{position:absolute!important;top:auto!important;bottom:10px!important;left:10px!important;right:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:auto!important;padding:4px!important;margin:0!important;border-radius:12px!important;background:rgba(var(--ui-surface-rgb),.88)!important;border:1px solid var(--ui-border)!important;box-shadow:0 4px 14px rgba(0,0,0,.25)!important;z-index:12}
  html body.compact-layout .unified-map-stage .canvas-toolbar.compact-camera.compact-camera button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;font-size:16px!important;line-height:1!important;display:flex!important;align-items:center;justify-content:center;border-radius:8px!important}
}

/* 选中状态的「底框重叠」（10-28 UI 走查）：原来用 inset 0 -2px 的底部金线，圆角按钮上会在两端弯上去，看起来像两层框叠在一起。
   所有选中 / 按下的按钮改成一圈 1px 的描边（深色主题再加一点光晕），不再只画底边 */
html .model-annotation-object-list .model-annotation-object.selected,
html .model-annotation-object-list .model-annotation-object[aria-selected="true"],
html .review-four-steps button[aria-current="step"],
html .model-review-categories button[aria-pressed="true"]{box-shadow:inset 0 0 0 1px var(--ui-primary)!important}
html.tq-dark body :is(button[aria-pressed="true"],button.active,button.selected,.ui-step.active):not(:is(.canvas-viewport,.konva-viewport,.canvas-stage) *):not(.vl-chip):not(.workflow-progress button){box-shadow:inset 0 0 0 1px rgba(227,200,143,.6),0 0 14px rgba(255,210,120,.14)!important}
html.tq-dark body :is(.model-annotation-object-list .model-annotation-object.selected,.model-review-categories button[aria-pressed="true"],.review-four-steps button[aria-current="step"]){box-shadow:inset 0 0 0 1px rgba(227,200,143,.6),0 0 14px rgba(255,210,120,.14)!important}
/* 画布上方的步骤提示（如「入户大门已确认……」）放在画布框上方正中：原来的入场动画会覆盖 translateX(-50%)，提示偏右半个宽度 */
html body .unified-map-stage .canvas-step-hint{left:50%!important;right:auto!important;top:10px!important;transform:translateX(-50%)!important;animation:tq-step-hint-in .3s var(--tq-ease) both!important}
@keyframes tq-step-hint-in{from{opacity:0;transform:translateX(-50%) translateY(-6px)}to{opacity:1;transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){html body .unified-map-stage .canvas-step-hint{animation:none!important}}
/* 收起的操作消息小胶囊放在画布上方步骤提示的下面，两者不重叠 */
@media (min-width:761px){html.tq-has-canvas body.compact-layout .workflow-notice.workflow-notice.folded{top:calc(var(--tq-canvas-top) + 52px)}}
/* 户型核对画布上方压成一行（和基础设置一致）：左边「场地图 · 滚轮缩放」，右边「显示入口」；不再显示底图文件名 */
@media (min-width:1001px){
  html body .review-workbench .unified-map-panel>.section-head{margin:0;padding:2px 4px 6px;min-height:0}
  html body .review-workbench .unified-map-panel>.section-head .tag{display:none}
  html body .review-workbench .unified-map-panel>.section-head>div:first-child{display:flex;align-items:baseline;gap:10px}
  html body .review-workbench .unified-map-panel>.section-head h3{margin:0;font-size:14px}
  html body .review-workbench .unified-map-panel>.review-opening-toolbar{position:absolute;top:8px;right:12px;padding:0!important;margin:0;border:0!important;background:none!important;display:flex;align-items:center;gap:8px;z-index:6}
  html body .review-workbench .unified-map-panel>.review-opening-toolbar button{min-height:28px;padding:2px 12px}
}

/* 画布上的提示在任何底图上都看得清（10-28）：底图可能是白色、彩色或深色，半透明 + 模糊的提示会被底图透出来看不见。
   画布里的操作消息、收起的小胶囊、短提示、步骤提示、缩放竖条统一改成不透明底 + 描边 + 投影，浅色、深色主题各一套 */
html body .workflow-notice.workflow-notice,html body .center-toast>span,html body .unified-map-stage .canvas-step-hint.canvas-step-hint,html body .canvas-toolbar.compact-camera{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-image:none!important;opacity:1}
html:not(.tq-dark) body .workflow-notice.workflow-notice.info{background:#fff!important;color:#5c4210!important;border:1px solid rgba(201,162,77,.7)!important;box-shadow:0 10px 28px rgba(10,20,40,.28)!important}
html:not(.tq-dark) body .workflow-notice.workflow-notice:not(.info){background:#fff4f2!important;color:#8a1f17!important;border:1px solid rgba(217,45,32,.55)!important;box-shadow:0 10px 28px rgba(10,20,40,.28)!important}
html.tq-dark body .workflow-notice.workflow-notice.info{background:#121c30!important;color:#f3dcaa!important;border:1px solid rgba(227,200,143,.6)!important;box-shadow:0 10px 28px rgba(0,0,0,.55)!important}
html.tq-dark body .workflow-notice.workflow-notice:not(.info){background:#3c1618!important;color:#ffd9d4!important;border:1px solid rgba(255,140,128,.6)!important;box-shadow:0 10px 28px rgba(0,0,0,.55)!important}
html body .workflow-notice.workflow-notice.folded button{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:inherit!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:1!important}
html:not(.tq-dark) body .unified-map-stage .canvas-step-hint.canvas-step-hint{background:#fff!important;color:#1f2733!important;border:1px solid rgba(201,162,77,.6)!important;box-shadow:0 6px 18px rgba(10,20,40,.22)!important}
html.tq-dark body .unified-map-stage .canvas-step-hint.canvas-step-hint{background:#121c30!important;color:#f3dcaa!important;border:1px solid rgba(227,200,143,.55)!important;box-shadow:0 6px 18px rgba(0,0,0,.5)!important}
html:not(.tq-dark) body .canvas-step-hint .cd-warn{color:#c0362c}
html:not(.tq-dark) body .canvas-toolbar.compact-camera{background:#fff!important;border:1px solid var(--ui-border)!important;box-shadow:0 4px 14px rgba(10,20,40,.2)!important}
html.tq-dark body .canvas-toolbar.compact-camera{background:#111b2e!important;border:1px solid rgba(227,200,143,.35)!important;box-shadow:0 4px 14px rgba(0,0,0,.45)!important}
/* 基础设置、户型核对的画布和结果页一样（10-28）：画布铺满卡片（四周 8px），画布上方不再单独占一行标题。
   基础设置的「房屋主体与中心 · 状态说明」变成画布顶部正中的一颗浮动胶囊；户型核对的「场地图 · 滚轮缩放」去掉，顶部只留步骤提示 */
@media (min-width:761px){
  html body .image2-workflow-shell :is(.base-setup-workbench,.review-workbench) .unified-map-panel.panel{padding:8px!important;gap:0!important}
  html body .image2-workflow-shell .base-setup-workbench .unified-map-panel>.base-map-caption{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:8;max-width:calc(100% - 120px);min-height:0;margin:0;gap:10px;padding:6px 14px;border-radius:999px;background:var(--ui-surface)!important;border:1px solid rgba(var(--ui-primary-rgb),.45);box-shadow:0 6px 18px rgba(0,0,0,.28);pointer-events:none}
  html body .image2-workflow-shell .base-setup-workbench .unified-map-panel>.base-map-caption>span{font-size:12px;color:var(--ui-text-secondary);white-space:nowrap}
  html body .image2-workflow-shell .base-setup-workbench .unified-map-panel>.base-map-caption>small{display:none}
  html body .image2-workflow-shell .base-setup-workbench .unified-map-panel>.base-map-caption .base-map-status{white-space:normal;text-align:left;line-height:1.45}
  html body .image2-workflow-shell .review-workbench .unified-map-panel>.section-head{display:none!important}
  html body .image2-workflow-shell .review-workbench .unified-map-panel>.review-opening-toolbar{top:18px;right:18px}
}
/* 基础设置右侧面板重排（10-28）：每一步一行，左边序号和名称，右边就是这一步的选择；完成用金色 ✓ 代替「完成」标签，
   未完成的序号是红圈；说明小字收进右侧 ⓘ（鼠标移上去或点一下展开）；方向与角度的箭头、度数、旋转放在同一行 */
.base-case-name.base-case-name-panel{flex-direction:row;align-items:center;gap:12px;margin:12px 12px 6px}
.base-case-name.base-case-name-panel>span{flex:none;font-size:13px}
.base-case-name.base-case-name-panel input{flex:1 1 auto;min-width:0;min-height:34px}
html body .base-checks-compact .base-check-section{padding:10px 12px!important;margin:0 4px!important;border-radius:0!important;background:none!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--ui-border)!important}
html body .base-checks-compact .base-check-section>header{display:flex;align-items:center;gap:10px;margin:0!important;min-height:32px}
html body .base-checks-compact .base-check-section>header h2{flex:none;display:flex;align-items:center;gap:9px;margin:0;font-size:15px;font-weight:600;white-space:nowrap}
html body .base-checks-compact .base-check-section>header h2>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;background:transparent!important;color:#e5484d!important;box-shadow:inset 0 0 0 1.5px #e5484d!important}
html body .base-checks-compact .base-check-section>header h2>span.is-done{color:var(--ui-surface)!important;background:var(--ui-primary)!important;box-shadow:none!important;font-weight:700}
.base-head-controls{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
html body .base-checks-compact .base-head-controls.base-scene-choice{margin:0 0 0 auto}
html body .base-checks-compact .base-head-controls [role=group]{display:inline-flex;padding:2px;gap:2px;border-radius:999px;border:1px solid var(--ui-border);background:rgba(var(--ui-surface-rgb),.6)}
html body .base-checks-compact .base-head-controls [role=group] button{min-height:28px!important;padding:2px 14px!important;border-radius:999px!important;border:0!important;background:transparent!important;font-size:13px!important;color:var(--ui-text-secondary)!important;box-shadow:none!important}
html body .base-checks-compact .base-head-controls [role=group] button[aria-pressed=true]{background:rgba(var(--ui-primary-rgb),.18)!important;color:var(--ui-primary)!important;font-weight:600;box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.6)!important}
.base-file-name{min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ui-text-secondary)}
html body .base-checks-compact .base-file-button{min-height:30px;padding:3px 14px;border-radius:999px;font-size:13px;margin:0}
.base-step-summary{font-size:13px;font-weight:600;color:var(--ui-primary);white-space:nowrap}
html body .base-checks-compact .base-step-sub{margin:8px 0 0 31px!important}
html body .base-checks-compact .base-direction-fields{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;grid-template-columns:none!important}
html body .base-checks-compact .base-direction-fields>*{margin:0!important}
html body .base-checks-compact .base-direction-fields .direct-choice,html body .base-checks-compact .base-direction-fields [role=group],html body .base-checks-compact .base-direction-fields [role=radiogroup]{flex:0 1 auto;width:auto!important}
html body .base-checks-compact .base-angle-field{width:92px;flex:none}
html body .base-checks-compact .base-angle-field input{min-height:32px}
html body .base-checks-compact .base-rotate{min-height:32px;padding:2px 12px;flex:none}
.base-how{font-size:12px;white-space:nowrap}
html body .base-checks-compact .base-occupancy{padding:0!important;border:0!important;gap:6px}
.base-tip{position:relative;display:inline-flex;flex:none;outline:0;cursor:help}
.base-tip-dot{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font:italic 700 12px Georgia,'Times New Roman',serif;color:var(--ui-text-secondary);border:1px solid var(--ui-border)}
.base-tip:is(:hover,:focus-visible,:focus-within) .base-tip-dot{color:var(--ui-primary);border-color:rgba(var(--ui-primary-rgb),.7)}
.base-tip-pop{position:absolute;top:calc(100% + 8px);right:-6px;z-index:60;width:min(300px,70vw);display:none;padding:10px 12px;border-radius:10px;background:var(--ui-surface)!important;background-image:none!important;border:1px solid rgba(var(--ui-primary-rgb),.45);box-shadow:0 12px 30px rgba(0,0,0,.35);font-size:12.5px;font-weight:400;line-height:1.65;color:var(--ui-text);text-align:left;white-space:normal}
.base-tip-pop::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.base-tip:is(:hover,:focus-visible,:focus-within) .base-tip-pop{display:block}
html body .base-checks-compact .base-head-controls.base-scene-choice{width:auto!important;flex:0 1 auto!important;min-width:0}
html body .base-checks-compact .base-direction-fields .direct-choice-options{display:inline-flex!important;flex-wrap:nowrap;padding:2px;gap:2px;border-radius:999px;border:1px solid var(--ui-border);background:rgba(var(--ui-surface-rgb),.6)}
html body .base-checks-compact .base-direction-fields .direct-choice-options button{min-height:28px!important;padding:2px 11px!important;border-radius:999px!important;border:0!important;background:transparent!important;font-size:13px!important;color:var(--ui-text-secondary)!important;box-shadow:none!important;white-space:nowrap}
html body .base-checks-compact .base-direction-fields .direct-choice-options button[aria-checked=true]{background:rgba(var(--ui-primary-rgb),.18)!important;color:var(--ui-primary)!important;font-weight:600;box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.6)!important}
html body .base-checks-compact .base-angle-field input{min-height:32px!important;height:32px;padding:2px 22px 2px 10px!important}
html body .base-checks-compact .base-rotate{min-height:32px!important;height:32px}
/* 全站按钮胶囊化（10-28）：工作区和弹窗里的按钮统一胶囊形、按下轻微缩小；多行的类别方块（核对页物件分类）保持原样。
   多选一按钮组（segmented-pill.js 标 data-tq-seg）变成磨砂轨道，选中项由金色玻璃滑块滑过去，和顶部步骤条同一套 */
html body :is(.image2-workflow-shell,dialog) button:not(.model-review-categories button):not(.canvas-toolbar button):not(.base-tip):not(.result-adjust-cta-close):not(.panel-splitter-fold){border-radius:999px!important;transition:transform .2s var(--tq-ease,ease),background-color .25s ease,color .25s ease,box-shadow .25s ease,border-color .25s ease}
html body :is(.image2-workflow-shell,dialog) button:not(:disabled):active{transform:scale(.96)}
html body [data-tq-seg][data-tq-seg]{position:relative;display:inline-flex!important;align-items:center;flex-wrap:nowrap;gap:2px!important;padding:3px!important;border-radius:999px!important;border:1px solid var(--ui-border)!important;background:rgba(var(--ui-surface-rgb),.55)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);isolation:isolate}
html body [data-tq-seg][data-tq-seg][data-tq-seg]>button{position:relative;z-index:1;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:999px!important;min-height:30px;padding:4px 14px!important;color:var(--ui-text-secondary)!important;white-space:nowrap}
html body [data-tq-seg][data-tq-seg][data-tq-seg]>button:is([aria-pressed=true],[aria-checked=true]){color:var(--ui-primary)!important;font-weight:600}
html body [data-tq-seg][data-tq-seg][data-tq-seg]>button:not(:is([aria-pressed],[aria-checked])){color:var(--ui-text)!important}
.tq-seg-pill{position:absolute;left:0;top:0;z-index:0;border-radius:999px;pointer-events:none;background:rgba(var(--ui-primary-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.6),inset 0 1px 0 rgba(255,255,255,.18),0 4px 14px rgba(var(--ui-primary-rgb),.18);transition:transform .45s var(--tq-ease,cubic-bezier(.32,.72,0,1)),width .45s var(--tq-ease,cubic-bezier(.32,.72,0,1)),opacity .2s ease}
html:not(.tq-dark) .tq-seg-pill{background:rgba(255,255,255,.85);box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.55),0 3px 10px rgba(10,20,40,.12)}
@media (prefers-reduced-motion:reduce){.tq-seg-pill{transition:none}html body :is(.image2-workflow-shell,dialog) button:active{transform:none}}
/* 「解锁全部结果」卡片（10-28 再调）：只有外圈呼吸；里面的按钮改成透明磨砂胶囊，不再自己发光 */
html body .vl-unlock-float.vl-unlock-float .vl-unlock{animation:none!important;border-radius:999px!important;min-height:40px;padding:8px 28px!important;background:rgba(var(--ui-primary-rgb),.1)!important;background-image:none!important;border:1px solid rgba(var(--ui-primary-rgb),.55)!important;color:var(--ui-primary)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html body .vl-unlock-float.vl-unlock-float .vl-unlock:hover{background:rgba(var(--ui-primary-rgb),.18)!important}
html:not(.tq-dark) body .vl-unlock-float.vl-unlock-float .vl-unlock{background:rgba(255,255,255,.7)!important}
html body .vl-unlock-actions.vl-unlock-float{border-radius:22px}
/* 全部胶囊化补充（10-28）：核对页物件类别也用滑块（保持两行网格，未完成的红色提示保留）；顶部栏案例下拉、邀请码按钮也是胶囊 */
html body .model-review-categories.model-review-categories[data-tq-seg]{display:grid!important;padding:4px!important;gap:6px!important;border-radius:22px!important}
html body .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button{border-radius:999px!important;background:rgba(255,255,255,.04)!important;border:1px solid var(--ui-border)!important;color:var(--ui-text)!important;padding:6px 10px!important;transition:color .25s ease,background-color .25s ease,border-color .25s ease,transform .2s var(--tq-ease,ease)}
html:not(.tq-dark) body .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button{background:rgba(255,255,255,.7)!important}
html body .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button.is-missing-required{color:#ff9a90!important;border-color:rgba(229,72,77,.6)!important}
html:not(.tq-dark) body .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button.is-missing-required{color:#c0362c!important}
html body .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button[aria-pressed=true]{background:transparent!important;border-color:transparent!important;color:var(--ui-primary)!important}
html body .model-review-categories>button:not(:disabled):active{transform:scale(.96)}
html body .image2-workflow-shell>.ui-navbar :is(select,.history-case-select,input),html body .invite-entry>summary{border-radius:999px!important}
/* 画布与面板之间的分割线（10-28 再调）：不再贯穿上下，只在中间留一段 1px 细线，头尾渐变消失；
   中间是磨砂小胶囊把手，收起按钮在把手上方；鼠标移上去线条变亮、变长 */
html body .panel-splitter.panel-splitter:before{width:1px!important;height:44%!important;align-self:center;border-radius:1px;background:linear-gradient(180deg,transparent,rgba(var(--ui-primary-rgb),.55) 30%,rgba(var(--ui-primary-rgb),.55) 70%,transparent)!important;animation:none!important;transition:height .45s var(--tq-ease,ease),background .3s ease}
html body .panel-splitter.panel-splitter:is(:hover,:focus-visible,.dragging):before{width:1px!important;height:64%!important;background:linear-gradient(180deg,transparent,rgba(var(--ui-primary-rgb),.95) 25%,rgba(var(--ui-primary-rgb),.95) 75%,transparent)!important}
html body .panel-splitter .panel-splitter-grip{width:8px;height:34px;margin:-17px 0 0 -4px;border-radius:999px;gap:4px;background:rgba(var(--ui-surface-rgb),.85);border:1px solid rgba(var(--ui-primary-rgb),.55);box-shadow:0 4px 14px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.12);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:height .3s var(--tq-ease,ease),border-color .3s ease}
html body .panel-splitter .panel-splitter-grip i{width:2px;height:2px;background:var(--ui-primary)}
html body .panel-splitter:is(:hover,.dragging) .panel-splitter-grip{height:42px;margin-top:-21px;border-color:var(--ui-primary)}
html body .panel-splitter .panel-splitter-fold{top:calc(50% - 50px);width:20px;height:20px;min-height:20px!important;margin-left:-10px;border-radius:50%!important;background:rgba(var(--ui-surface-rgb),.85)!important;border:1px solid rgba(var(--ui-primary-rgb),.4)!important;color:var(--ui-primary)!important;font-size:11px;opacity:0;transition:opacity .25s ease}
html body .panel-splitter:is(:hover,:focus-within) .panel-splitter-fold,html.tq-panel-folded body .panel-splitter .panel-splitter-fold{opacity:1}
html body .panel-splitter .panel-splitter-tip{border-radius:999px;background:rgba(var(--ui-surface-rgb),.92);color:var(--ui-primary);border:1px solid rgba(var(--ui-primary-rgb),.5)}
/* 基础设置右侧引导（10-28，按预览）：上面是进度条和五步，每步一行；中间引导卡占满剩下的高度，教当前这一步怎么做；
   主按钮固定在面板底部。引导卡按剩余高度自动缩放（容器查询）：空间小先去掉示意图，再缩小文字；空间大时字号放大 */
@media (min-width:1001px){
  html body .image2-workflow-shell .base-setup-workbench:not(.review-workbench) .unified-side-panel.panel{display:flex!important;flex-direction:column!important;overflow:hidden!important}
  html body .image2-workflow-shell .base-setup-workbench:not(.review-workbench) .unified-side-panel>.base-checks-guided{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  .base-checks-guided>.tq-guide{flex:1 1 auto}
}
.base-progress{display:grid;grid-template-columns:1fr auto;gap:2px 8px;margin:2px 16px 6px;font-size:12px;color:var(--ui-text-secondary)}
.base-progress i{grid-column:1/-1;height:4px;border-radius:9px;background:rgba(127,127,127,.18);position:relative;overflow:hidden}
.base-progress i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p,0%);border-radius:9px;background:var(--ui-primary);transition:width .6s var(--tq-ease,ease)}
html body .base-checks-guided .base-check-section{margin:1px 8px!important;padding:7px 8px!important;border:1px solid transparent!important;border-radius:12px!important;cursor:pointer;transition:background-color .3s ease,border-color .3s ease}
html body .base-checks-guided .base-check-section:hover{background:rgba(127,127,127,.06)!important}
html body .base-checks-guided .base-check-section.is-guided{background:rgba(var(--ui-primary-rgb),.08)!important;border-color:rgba(var(--ui-primary-rgb),.45)!important}
html body .base-checks-guided .base-check-section>header h2>span.is-next{color:var(--ui-primary)!important;box-shadow:inset 0 0 0 1.5px var(--ui-primary)!important}
html body .base-checks-guided .base-dir-toggle{min-height:28px;padding:2px 14px}
.base-guided-footer{margin-top:auto;padding:8px 10px 10px}
.base-guided-footer .base-confirm-footer{margin:0!important;padding:0!important;border:0!important;background:none!important;display:flex;flex-direction:column;gap:6px}
.base-guided-footer .base-confirm-footer p{margin:0;font-size:12px;text-align:center}
.base-guided-footer .base-confirm-footer button{width:100%;min-height:44px;font-size:15px;font-weight:600}
.base-guided-footer .base-center-confirm{display:flex;flex-direction:column;gap:6px}
.base-guided-footer .base-center-actions-wrap{display:flex;flex-direction:column;gap:6px}
.base-guided-footer .base-center-actions-wrap:empty{display:none}
.base-guided-footer .base-center-instructions,.base-guided-footer .base-center-help{margin:0;font-size:12.5px;color:var(--ui-text-secondary)}
/* 引导卡（基础设置、户型核对共用） */
.tq-guide{container-type:size;min-height:110px;margin:8px 10px 0;padding:12px 16px;border-radius:14px;background:linear-gradient(180deg,rgba(var(--ui-primary-rgb),.08),rgba(127,127,127,.03));border:1px solid rgba(var(--ui-primary-rgb),.28);overflow:hidden}
.tq-guide>*{margin:0}
.tq-guide{display:flex;flex-direction:column;gap:8px}
.tq-guide-kicker{font-size:12px;color:var(--ui-primary);letter-spacing:1px}
.tq-guide h3{font-size:17px;font-weight:700;color:var(--ui-text)}
.tq-guide-art{display:flex;justify-content:center;padding:6px;border-radius:10px;background:rgba(0,0,0,.16);border:1px solid var(--ui-border)}
html:not(.tq-dark) .tq-guide-art{background:rgba(10,20,40,.04)}
.tq-guide ol{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}
.tq-guide li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.55;color:var(--ui-text)}
.tq-guide li b{flex:none;width:21px;height:21px;margin-top:1px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;color:var(--ui-primary);box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.6)}
.tq-guide-tip{margin-top:auto!important;padding-top:8px;border-top:1px solid var(--ui-border);font-size:12.5px;color:var(--ui-text-secondary)}
.tq-guide-tip a{color:var(--ui-primary)}
.tq-guide{animation:tq-guide-in .35s var(--tq-ease,ease) both}
@keyframes tq-guide-in{from{opacity:.4}to{opacity:1}}
@container (max-height:330px){.tq-guide-art{display:none!important}}
@container (max-height:230px){.tq-guide h3{font-size:15px}.tq-guide li{font-size:12.5px;line-height:1.45}.tq-guide ol{gap:3px}.tq-guide-tip{display:none}}
@container (max-height:150px){.tq-guide-kicker{display:none}.tq-guide li b{width:18px;height:18px}}
@container (min-height:440px){.tq-guide{gap:12px}.tq-guide h3{font-size:19px}.tq-guide li{font-size:15px}.tq-guide-art svg{width:250px;height:90px}}
@media (max-width:1000px){.tq-guide{container-type:normal;min-height:0}}
@media (prefers-reduced-motion:reduce){.tq-guide{animation:none}}
@media (min-width:1001px){html body .image2-workflow-shell .base-setup-workbench:not(.review-workbench) .unified-side-panel.panel{align-self:stretch!important;height:auto!important;max-height:none!important}}
/* 户型核对右下引导卡：放在核对面板最下面，占满剩下的高度（内容多时面板滚动，引导卡保持最小高度）；当前步骤金色高亮，已完成打勾 */
@media (min-width:1001px){
  html body .image2-workflow-shell .model-annotation-review.panel{display:flex!important;flex-direction:column!important}
  html body .model-annotation-review>.review-guide{flex:1 0 150px;margin:10px 0 0}
}
.review-guide li.is-current{color:var(--ui-primary);font-weight:600}
.review-guide li.is-current b{background:var(--ui-primary);color:var(--ui-surface);box-shadow:none}
.review-guide li.is-done{color:var(--ui-text-secondary)}
.review-guide li.is-done b{background:rgba(var(--ui-primary-rgb),.18)}
@media (max-width:1000px){.model-annotation-review>.review-guide{margin:10px 0 0}}
html body .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button{padding:5px 6px!important;font-size:13px!important;line-height:1.25!important;white-space:normal!important;min-width:0;overflow-wrap:anywhere}
/* 还没上传图纸时，整个画布就是上传区：点一下选图（10-28） */
.base-canvas-upload{position:absolute;inset:14px;z-index:7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:14px;border:1.5px dashed rgba(var(--ui-primary-rgb),.55);background:rgba(var(--ui-primary-rgb),.04);color:var(--ui-text);cursor:pointer;text-align:center;transition:background-color .3s ease,border-color .3s ease,transform .3s var(--tq-ease,ease)}
.base-canvas-upload:hover{background:rgba(var(--ui-primary-rgb),.1);border-color:var(--ui-primary)}
.base-canvas-upload:active{transform:scale(.99)}
.base-canvas-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.base-canvas-upload.disabled{cursor:not-allowed;opacity:.6}
.base-canvas-upload.disabled input{cursor:not-allowed}
.base-canvas-upload-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:28px;color:var(--ui-primary);background:rgba(var(--ui-primary-rgb),.12);box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.5);animation:tq-upload-breathe 2.2s ease-in-out infinite}
.base-canvas-upload strong{font-size:18px;color:var(--ui-primary)}
.base-canvas-upload small{font-size:13px;color:var(--ui-text-secondary)}
@keyframes tq-upload-breathe{0%,100%{box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.5),0 0 0 0 rgba(var(--ui-primary-rgb),.35)}50%{box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.5),0 0 0 14px rgba(var(--ui-primary-rgb),0)}}
@media (prefers-reduced-motion:reduce){.base-canvas-upload-icon{animation:none}}
@media (min-width:1001px){html body.compact-layout .image2-workflow-shell .base-setup-workbench:not(.review-workbench){height:auto!important;max-height:none!important}html body.compact-layout .image2-workflow-shell .base-setup-workbench:not(.review-workbench)>.unified-map-grid{flex:none!important}}
html body .image2-workflow-shell .unified-side-panel>.base-case-name.base-case-name-panel{flex:none!important;height:auto!important}
html body .base-case-name.base-case-name-panel input{max-width:none!important;width:auto!important;flex:1 1 auto!important}
.unified-map-stage:has(.base-canvas-upload) .canvas-placeholder{display:none}
/* 引导卡高亮：外圈金色呼吸，左上角「操作提示」标签，告诉客户这里是当前这一步的说明 */
.tq-guide{border-color:rgba(var(--ui-primary-rgb),.55)!important;animation:tq-guide-in .35s var(--tq-ease,ease) both,tq-guide-breathe 2.6s ease-in-out .4s infinite}
@keyframes tq-guide-breathe{0%,100%{box-shadow:0 0 0 0 rgba(var(--ui-primary-rgb),.32),inset 0 1px 0 rgba(255,255,255,.06)}50%{box-shadow:0 0 0 7px rgba(var(--ui-primary-rgb),0),0 0 22px rgba(var(--ui-primary-rgb),.16),inset 0 1px 0 rgba(255,255,255,.06)}}
.tq-guide-kicker{display:flex;align-items:center;gap:8px}
.tq-guide-badge{padding:2px 9px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:1px;color:var(--ui-surface);background:var(--ui-primary)}
@media (prefers-reduced-motion:reduce){.tq-guide{animation:none}}
/* 引导卡（10-28 再调）：按内容高度显示，主按钮紧跟在卡片下面；空间不够时卡片自己缩短、里面滚动，按钮始终看得见。
   屏幕矮时先去掉示意图（原来的容器查询按卡片高度判断，卡片改成按内容高度后改用窗口高度） */
@media (min-width:1001px){
  html body .base-checks-guided>.tq-guide.tq-guide{flex:0 1 auto!important;container-type:normal!important;min-height:0!important;overflow:auto!important}
  html body .base-checks-guided>.base-guided-footer{margin-top:0!important;padding-top:12px}
  html body .model-annotation-review>.review-guide.tq-guide{flex:0 0 auto!important;container-type:normal!important;min-height:0!important}
  html body .tq-guide .tq-guide-tip{margin-top:4px!important}
}
@media (max-height:820px){.tq-guide-art{display:none!important}}
@media (max-height:700px){.tq-guide h3{font-size:15px}.tq-guide li{font-size:12.5px;line-height:1.45}.tq-guide-tip{display:none}}
/* 呼吸高亮加强：卡片金色描边 + 外发光；可以点的主按钮也呼吸，提示「下一步点这里」 */
@keyframes tq-guide-breathe{0%,100%{box-shadow:0 0 0 0 rgba(var(--ui-primary-rgb),.45),0 0 14px rgba(var(--ui-primary-rgb),.12)}50%{box-shadow:0 0 0 6px rgba(var(--ui-primary-rgb),0),0 0 28px rgba(var(--ui-primary-rgb),.32)}}
html body .tq-guide.tq-guide{border:1px solid rgba(var(--ui-primary-rgb),.75)!important}
html body .base-guided-footer .base-confirm-footer button:not(:disabled),html body .base-guided-footer .frame-confirm-cta.is-ready:not(:disabled){animation:tq-cta-breathe 2s ease-in-out infinite!important;border:1px solid rgba(var(--ui-primary-rgb),.85)!important}
@keyframes tq-cta-breathe{0%,100%{box-shadow:0 0 0 0 rgba(var(--ui-primary-rgb),.55)}50%{box-shadow:0 0 0 8px rgba(var(--ui-primary-rgb),0),0 0 20px rgba(var(--ui-primary-rgb),.3)}}
@media (prefers-reduced-motion:reduce){html body .base-guided-footer button{animation:none!important}}
/* 画布上的上 / 下 / 左 / 右侧选择按钮靠 transform 定位：不参加全局「按下缩小」和胶囊动效，否则会漂移 */
html body .image2-workflow-shell button.facing-side-choice.facing-side-choice:active{transform:translate(-50%,-50%)!important}
html body .image2-workflow-shell button.facing-side-choice{transition:background-color .25s ease,color .25s ease,box-shadow .25s ease!important}
/* 确认框不挡住高亮的门（10-28）：门在画布上半部时确认框贴画布底部，门在下半部时贴画布顶部；背后不加暗色遮罩，图纸保持看得清 */
html.tq-has-canvas[data-tq-focus=top] dialog.cd-dialog[open]{top:calc(2 * var(--tq-canvas-cy) - var(--tq-canvas-top) - 16px)!important;transform:translate(-50%,-100%)!important;animation:tq-dialog-up .32s var(--tq-ease,ease) both!important}
html.tq-has-canvas[data-tq-focus=bottom] dialog.cd-dialog[open]{top:calc(var(--tq-canvas-top) + 16px)!important;transform:translate(-50%,0)!important;animation:tq-dialog-down .32s var(--tq-ease,ease) both!important}
html.tq-has-canvas[data-tq-focus] dialog.cd-dialog::backdrop{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
@keyframes tq-dialog-up{from{opacity:0;transform:translate(-50%,-96%)}to{opacity:1;transform:translate(-50%,-100%)}}
@keyframes tq-dialog-down{from{opacity:0;transform:translate(-50%,-4%)}to{opacity:1;transform:translate(-50%,0)}}
/* 户型核对面板减框（10-28）：说明、类别外框、物件行、底部操作区都不再单独画框，只留当前步骤这一张卡片；
   必填问题去掉红色描边（未完成用文字颜色提示） */
html body .model-annotation-review .review-todo-card{background:none!important;border:0!important;box-shadow:none!important;padding:2px 4px 8px!important}
html body .model-annotation-review nav.model-review-categories.model-review-categories{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .model-annotation-review .review-object-status{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body .model-annotation-review .model-review-footer{background:none!important;border:0!important;box-shadow:none!important;padding:8px 0 0!important}
html body .model-annotation-review .review-value-row.coach-alert{outline:0!important;border:0!important;box-shadow:none!important;background:none!important;padding:0!important;color:#ff9a90}
html:not(.tq-dark) body .model-annotation-review .review-value-row.coach-alert{color:#c0362c}
html body .model-annotation-review .review-step-editor{outline:0!important;border:1px solid rgba(var(--ui-primary-rgb),.35)!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important}
/* 类别胶囊加立体感：上亮下暗的玻璃渐变 + 顶部高光 + 投影；未完成的偏红；鼠标移上去轻轻浮起 */
html body .model-annotation-review .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button{min-height:38px;background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.025))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 10px rgba(0,0,0,.3)!important;transition:transform .25s var(--tq-ease,ease),box-shadow .25s ease,color .25s ease}
html body .model-annotation-review .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button.is-missing-required{background:linear-gradient(180deg,rgba(229,72,77,.24),rgba(229,72,77,.07))!important;border-color:rgba(229,72,77,.6)!important}
html body .model-annotation-review .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button[aria-pressed=true]{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html body .model-annotation-review .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button:not([aria-pressed=true]):not(:disabled):hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 6px 14px rgba(0,0,0,.34)!important}
html:not(.tq-dark) body .model-annotation-review .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button{background:linear-gradient(180deg,#ffffff,#f1f3f7)!important;border-color:rgba(10,20,40,.1)!important;box-shadow:inset 0 1px 0 #fff,0 2px 6px rgba(10,20,40,.12)!important}
html:not(.tq-dark) body .model-annotation-review .model-review-categories.model-review-categories[data-tq-seg][data-tq-seg][data-tq-seg]>button.is-missing-required{background:linear-gradient(180deg,#fff5f4,#ffe6e3)!important;border-color:rgba(217,45,32,.45)!important}
html body .model-annotation-review .model-review-categories .tq-seg-pill{box-shadow:inset 0 0 0 1.5px rgba(var(--ui-primary-rgb),.85),inset 0 1px 0 rgba(255,255,255,.25),0 6px 16px rgba(var(--ui-primary-rgb),.25)}
/* 户型核对面板再减框（10-28）：物件行（床头 1、床头 2…）、步骤页签、床卡片里的「上下铺」小卡、枕头核对、居住者选项、
   面板里的小横幅和改名区都不再单独画框，只用细分隔线分组；当前步骤卡片是唯一的框 */
html body .model-annotation-review :is(.model-annotation-object-list,.subtle-banner,.review-name-editor){background:none!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body .model-annotation-review .review-four-steps{gap:6px!important;background:none!important;border:0!important}
html body .model-annotation-review .review-four-steps>button{background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;min-height:44px}
html body .model-annotation-review .review-four-steps>button[aria-current=step]{background:rgba(var(--ui-primary-rgb),.12)!important;border-color:rgba(var(--ui-primary-rgb),.55)!important}
html body .model-annotation-review .review-four-steps>button:not([aria-current=step]):hover{background:rgba(127,127,127,.08)!important}
html body .model-annotation-review :is(.bed-bunk,.bed-pillow-check){background:none!important;border:0!important;border-top:1px solid var(--ui-border)!important;border-radius:0!important;box-shadow:none!important;padding:12px 0 0!important;margin-top:12px!important}
html body .model-annotation-review .bed-person-choices>label{border:0!important;border-radius:999px!important;background:rgba(127,127,127,.1)!important;box-shadow:none!important;padding:6px 14px!important;transition:background-color .25s ease,color .25s ease}
html body .model-annotation-review .bed-person-choices>label.selected{background:rgba(var(--ui-primary-rgb),.18)!important;color:var(--ui-primary)!important;box-shadow:inset 0 0 0 1px rgba(var(--ui-primary-rgb),.6)!important}
html body .model-annotation-review .bed-residents{border:0!important;padding:0!important;margin:0!important;background:none!important}
html body .model-annotation-review .bed-name-edit{border:0!important;background:none!important;padding:8px 0 0!important}

/* 2026-10-28 (Claude) 查看某一年：那一年的流年结论直接显示在卡片顶部 */
.reading-year-focus{margin:6px 0 8px;padding:10px 12px;border-radius:12px;background:rgba(201,162,77,.10);border:1px solid rgba(201,162,77,.35)}
.reading-year-focus p{margin:0;display:flex;flex-direction:column;gap:4px;line-height:1.6}
.reading-year-focus p+p{margin-top:8px}
/* 2026-10-28 (Claude，用户要求) 画布步骤提示放在画布正中，略透明；点击穿透不挡操作 */
@keyframes tq-hint-mid-in{from{opacity:0;transform:translate(-50%,calc(-50% + 6px))}to{opacity:1;transform:translate(-50%,-50%)}}
html body .unified-map-stage .canvas-step-hint.canvas-step-hint{top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;animation:tq-hint-mid-in .3s ease both!important;pointer-events:none!important;height:auto!important;max-height:45%;max-width:min(520px,calc(100% - 48px))!important}
html:not(.tq-dark) body .unified-map-stage .canvas-step-hint.canvas-step-hint{background:rgba(255,255,255,.84)!important}
html.tq-dark body .unified-map-stage .canvas-step-hint.canvas-step-hint{background:rgba(18,28,48,.82)!important}
@media (prefers-reduced-motion:reduce){html body .unified-map-stage .canvas-step-hint.canvas-step-hint{animation:none!important}}
/* 户型核对：床位页签、步骤页签统一（10-28 晚）——同高胶囊，名字一行，状态是右侧小标签；当前项金色描边 */
html body .model-annotation-review{--tq-tab-bg:rgba(255,255,255,.72);--tq-tab-line:rgba(31,39,51,.12);--tq-tab-text:#1f2733;--tq-tab-on:rgba(201,162,77,.12)}
html.tq-dark body .model-annotation-review{--tq-tab-bg:rgba(255,255,255,.05);--tq-tab-line:rgba(255,255,255,.12);--tq-tab-text:#eef2f8;--tq-tab-on:rgba(227,200,143,.12)}
html body .model-annotation-review .model-annotation-object-list.review-object-status{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:8px!important;padding:0!important;flex-direction:initial!important}
html body .model-annotation-review .review-object-status>.review-object-issue{grid-column:1/-1}
html body .model-annotation-review .review-object-status .model-annotation-object,
html body .model-annotation-review nav.review-four-steps button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;height:40px!important;min-height:40px!important;padding:0 6px 0 14px!important;border-radius:999px!important;border:1px solid var(--tq-tab-line)!important;background:var(--tq-tab-bg)!important;color:var(--tq-tab-text)!important;text-align:left!important;box-shadow:none!important;transform:none!important}
html body .model-annotation-review .review-object-status .model-annotation-object strong,
html body .model-annotation-review nav.review-four-steps button>span{flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13.5px!important;font-weight:600!important;line-height:1.2!important;color:inherit!important}
html body .model-annotation-review .review-object-status .model-annotation-object small,
html body .model-annotation-review nav.review-four-steps button>small{flex:none!important;display:inline-flex!important;align-items:center!important;height:22px!important;width:auto!important;min-width:0!important;margin:0!important;padding:0 9px!important;border:0!important;border-radius:999px!important;font-size:11.5px!important;font-weight:600!important;line-height:22px!important;white-space:nowrap!important;box-shadow:none!important}
html body .model-annotation-review :is(.review-object-status .model-annotation-object small.st-ok,nav.review-four-steps button>small.ready){color:#2f855a!important;background:rgba(62,155,107,.13)!important}
html body .model-annotation-review :is(.review-object-status .model-annotation-object small.st-pending,nav.review-four-steps button>small.missing){color:#9a5b0c!important;background:rgba(214,140,40,.15)!important}
html body .model-annotation-review :is(.review-object-status .model-annotation-object small:is(.st-muted,.st-deleted),nav.review-four-steps button>small.muted){color:#6b7280!important;background:rgba(120,130,150,.13)!important}
html.tq-dark body .model-annotation-review :is(.review-object-status .model-annotation-object small.st-ok,nav.review-four-steps button>small.ready){color:#8fe3c2!important;background:rgba(63,184,140,.15)!important}
html.tq-dark body .model-annotation-review :is(.review-object-status .model-annotation-object small.st-pending,nav.review-four-steps button>small.missing){color:#f3c98a!important;background:rgba(227,160,80,.16)!important}
html.tq-dark body .model-annotation-review :is(.review-object-status .model-annotation-object small:is(.st-muted,.st-deleted),nav.review-four-steps button>small.muted){color:#aab4c3!important;background:rgba(170,180,195,.12)!important}
html body .model-annotation-review :is(.review-object-status .model-annotation-object:is(.selected,[aria-selected="true"]),nav.review-four-steps button[aria-current="step"]){border-color:rgba(201,162,77,.9)!important;background:var(--tq-tab-on)!important;box-shadow:0 0 0 1px rgba(201,162,77,.35) inset!important}
html body .model-annotation-review nav.review-four-steps{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:8px!important;padding:0!important;margin:8px 0!important;background:none!important;border:0!important}
/* 下一步该点的：列表里第一个没核对完的床闪烁；可以点的「完成…，下一步」按钮呼吸 */
@keyframes tq-attn{0%,100%{filter:drop-shadow(0 0 0 rgba(214,140,40,0))}50%{filter:drop-shadow(0 0 8px rgba(214,140,40,.8))}}
html body .model-annotation-review .review-object-status .model-annotation-object.tq-attention{border-color:rgba(214,140,40,.9)!important;animation:tq-attn 1.8s ease-in-out infinite!important}
html body .model-annotation-review button.review-next-cta{width:100%;min-height:44px;border-radius:999px!important;font-weight:700!important}
html body .model-annotation-review button.review-next-cta:not(:disabled){background:linear-gradient(180deg,#ecd49c,#caa65d)!important;color:#2a2111!important;border:1px solid rgba(201,162,77,.9)!important;animation:tq-gold-glow 2s ease-in-out infinite!important}
html body .model-annotation-review button.review-next-cta:disabled{opacity:.55!important;animation:none!important}
html body .model-annotation-review .review-next-hint{margin:6px 4px 0;font-size:12.5px;color:#9a5b0c;text-align:center}
html.tq-dark body .model-annotation-review .review-next-hint{color:#f3c98a}
@media (prefers-reduced-motion:reduce){html body .model-annotation-review :is(.tq-attention,button.review-next-cta){animation:none!important}}
/* 入口这一步：不常用的选项收进「更多选项」 */
html body .review-opening-editor details.opening-more-details{margin-top:8px}
html body .review-opening-editor details.opening-more-details>summary{cursor:pointer;font-size:12.5px;opacity:.75;padding:4px 2px;list-style:none}
html body .review-opening-editor details.opening-more-details>summary::before{content:'▸ ';}
html body .review-opening-editor details.opening-more-details[open]>summary::before{content:'▾ ';}
/* 户型核对的「下一步」高亮统一为金色呼吸；按钮还不能点（灰）时不闪，避免客户点不动（10-28 晚） */
@keyframes tq-gold-glow{0%,100%{filter:drop-shadow(0 0 0 rgba(201,162,77,0))}50%{filter:drop-shadow(0 0 9px rgba(201,162,77,.75))}}
html body .model-annotation-review button.coach-pulse:not(:disabled){animation:tq-gold-glow 2s ease-in-out infinite!important;border-color:rgba(201,162,77,.9)!important;box-shadow:0 0 0 2px rgba(201,162,77,.8)!important}
html body .model-annotation-review button.coach-pulse:disabled{animation:none!important;box-shadow:none!important}
/* 步骤页签：名字完整显示，状态改成右侧小圆点（绿=完成，橙=待补充，灰=可不填） */
html body .model-annotation-review nav.review-four-steps button{padding:0 12px!important;justify-content:center!important;gap:6px!important}
html body .model-annotation-review nav.review-four-steps button>span{flex:0 1 auto!important;text-align:center!important}
html body .model-annotation-review nav.review-four-steps button>small{width:8px!important;height:8px!important;min-width:8px!important;padding:0!important;font-size:0!important;line-height:0!important;order:2}
html body .model-annotation-review nav.review-four-steps button>small.ready{background:#3e9b6b!important}
html body .model-annotation-review nav.review-four-steps button>small.missing{background:#d68c28!important}
html body .model-annotation-review nav.review-four-steps button>small.muted{background:#9aa3b2!important}
/* 面板窄时步骤名可以折成两行，不再被省略成「1 …」 */
html body .model-annotation-review nav.review-four-steps button{height:auto!important;min-height:40px!important;padding:6px 10px!important;border-radius:16px!important}
html body .model-annotation-review nav.review-four-steps button>span{white-space:normal!important;overflow:visible!important;font-size:12.5px!important;line-height:1.25!important}
/* 提问框固定在画布正中（不再按高亮位置挪到上 / 下边），按住标题可拖到别处；后面不加暗色遮罩（10-28 晚） */
@media (min-width:761px){
  html.tq-has-canvas dialog.cd-dialog.cd-scrim-soft[open]:not(.cd-dragged),
  html.tq-has-canvas[data-tq-focus] dialog.cd-dialog[open]:not(.cd-dragged){left:var(--tq-canvas-cx)!important;top:var(--tq-canvas-cy)!important;transform:translate(-50%,-50%)!important}
}
html body dialog.cd-dialog .cd-title{cursor:move;user-select:none;touch-action:none}
html body dialog.cd-dialog .cd-title::after{content:'';display:block;width:36px;height:4px;border-radius:2px;margin:6px auto 0;background:currentColor;opacity:.18}
html body dialog.cd-dialog.cd-dragged .cd-card{box-shadow:0 18px 48px rgba(0,0,0,.28)}

/* ===== 10-28 晚：选填第 3 步 / 门外来路 / 添加物件开关 / 朝向方位 ===== */
html body .model-annotation-review nav.review-four-steps button.step-optional-ghost{border-style:dashed!important;opacity:.85}
html body .model-annotation-review nav.review-four-steps button.step-optional-ghost:hover{opacity:1}
.facing-side-choice{display:inline-flex;flex-direction:column;align-items:center;line-height:1.15}
.facing-side-choice .facing-side-compass{font-size:10.5px;font-weight:500;opacity:.8}
.facing-panel-controls .facing-picked{margin:6px 0 0;padding:7px 10px;border-radius:10px;font-size:13px;background:rgba(62,155,107,.12);border:1px solid rgba(62,155,107,.4);color:var(--ui-text)}
.facing-panel-controls .facing-picked b{margin-left:4px;color:#2f855a}
html.tq-dark .facing-panel-controls .facing-picked b{color:#8fe3c2}
.opening-choice.skip{border-style:dashed!important;opacity:.9}
.gate-approach-editor{display:flex;flex-direction:column;gap:10px}
.gate-approach-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gate-approach-kind{min-height:38px;border-radius:12px!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important;font-size:13.5px}
.gate-approach-kind[aria-pressed="true"]{border-color:#c9a24d!important;background:rgba(227,200,143,.18)!important;font-weight:600}
.gate-approach-kind.other{border-style:dashed!important;color:var(--ui-text-secondary)!important}
.gate-approach-custom{width:100%;box-sizing:border-box}
.gate-approach-pending,.gate-approach-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:rgba(62,155,107,.1);border:1px solid rgba(62,155,107,.35);font-size:13px}
.gate-approach-actions{display:flex;gap:10px}
.gate-approach-actions>button{flex:1 1 0;min-height:42px}
.gate-approach-actions>button.review-next-cta{flex:1.4 1 0}
.extra-object-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}
.extra-object-chip{min-height:38px;border-radius:12px!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important;font-size:13.5px}
.extra-object-chip[aria-checked="true"]{border-color:#c9a24d!important;background:rgba(227,200,143,.2)!important;font-weight:600}
.extra-object-switches{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.extra-switch{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:rgba(var(--ui-primary-rgb,120,140,170),.06);cursor:pointer}
.extra-switch>span{flex:1 1 auto;display:flex;flex-direction:column;gap:2px}
.extra-switch small{color:var(--ui-text-secondary);font-size:12px}
.extra-switch input{position:absolute;opacity:0;width:1px;height:1px}
.extra-switch i{flex:none;position:relative;width:42px;height:24px;border-radius:999px;background:rgba(128,140,160,.35);transition:background .15s}
.extra-switch i::after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.extra-switch.on i{background:#caa65d}
.extra-switch.on i::after{left:21px}
.extra-switch input:focus-visible+i{outline:2px solid #c9a24d;outline-offset:2px}
.extra-switch input:disabled+i{opacity:.6}
dialog.cd-dialog .extra-object-picker>.row:first-child{display:none}
dialog.cd-dialog .extra-object-picker{border:0;padding:0;background:none;box-shadow:none;min-width:min(480px,82vw)}
@media (max-width:560px){.extra-object-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Invitation-only completion: native palette/material, capsule actions and safe mobile layout. */
.invite-entry[open] .nav-menu-list.invite-card{position:fixed;left:50%;right:auto;top:72px;transform:translateX(-50%);width:min(400px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 88px - env(safe-area-inset-bottom,0px));box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:16px;border-radius:22px;background:color-mix(in srgb,var(--ui-surface) 80%,transparent);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);z-index:2147483000}
.invite-entry .invite-card .invite-card-head{position:relative;align-items:center;min-height:44px;gap:12px;flex-shrink:0}
.invite-entry .invite-card .invite-card-title{min-width:0;white-space:normal;line-height:1.45}
.invite-entry .invite-card .invite-card-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px}
.invite-entry .invite-card .invite-stats{gap:8px;align-items:start}
.invite-entry .invite-card .invite-stats>div{min-width:0}
.invite-entry .invite-card .invite-stats span{display:block;visibility:visible;opacity:1;position:static;width:auto;height:auto;max-height:none;white-space:normal;overflow:visible;font-size:12px;line-height:1.5;margin-top:4px;color:var(--ui-text-secondary)}
.invite-entry .invite-card .invite-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex-shrink:0}
.invite-entry .invite-card .invite-actions:has(>button:only-child){grid-template-columns:minmax(0,1fr)}
.invite-entry .nav-menu-list.invite-card .invite-actions>button,html body dialog:has(.points-guide) .cd-body button,html body dialog:has(.points-guide) .cd-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:44px!important;height:auto!important;padding:9px 14px;border-radius:999px;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.5!important;box-sizing:border-box;cursor:pointer}
.invite-entry .nav-menu-list.invite-card .invite-actions>button{border:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-surface) 80%,transparent);color:var(--ui-text);transition:transform .16s var(--tq-ease,ease),box-shadow .18s var(--tq-ease,ease),background .18s ease}
.invite-entry .nav-menu-list.invite-card .invite-actions>button:not(:disabled):active{transform:scale(.97)}
.invite-entry .nav-menu-list.invite-card .invite-actions>button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}
.invite-entry .invite-card .invite-code-big{border-radius:16px;overflow-wrap:anywhere}
dialog.cd-dialog:has(.points-guide){backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);width:min(600px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px))}
dialog:has(.points-guide) .cd-card{backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);display:flex;flex-direction:column;min-width:0;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));overflow:hidden}
dialog:has(.points-guide) .cd-head,dialog:has(.points-guide) .cd-actions{flex-shrink:0;min-width:0}
dialog:has(.points-guide) .cd-head{min-height:52px}
dialog:has(.points-guide) .cd-close{min-width:44px;min-height:44px;flex:0 0 44px;border-radius:50%}
dialog:has(.points-guide) .cd-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
dialog:has(.points-guide) .cd-actions{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
@media(max-width:680px){.invite-entry[open] .nav-menu-list.invite-card{top:max(12px,env(safe-area-inset-top,0px));max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}.invite-entry .nav-menu-list.invite-card .invite-actions>button{padding:9px 10px}.invite-entry .invite-card .invite-actions:has(.tqr-entry){grid-template-columns:minmax(0,1fr)}dialog:has(.points-guide) .cd-actions>button{flex:1 1 auto}dialog:has(.points-guide) .points-guide>div{max-width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.invite-entry[open] .invite-card,.invite-entry .nav-menu-list.invite-card .invite-actions>button{animation:none;transition:none}.invite-entry .nav-menu-list.invite-card .invite-actions>button:active{transform:none}}

/* Restore existing hidden semantics on legacy product-code controls; keep the live entry unchanged. */
.cu-row[hidden],.cu-row [hidden]{display:none!important}
.cu-row #cuOpen{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:0;max-width:100%;padding:9px 14px;box-sizing:border-box;border-radius:999px;border:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-surface) 80%,transparent);color:var(--ui-text);text-decoration:none;white-space:normal;line-height:1.5;backdrop-filter:blur(20px) saturate(160%)}
