/* 苹果06 医生端体验版（11-12）：左窄栏 76（<1440 为 64）/ 顶栏 56 / 候诊 240（接诊中收成 76 头像条）/ 中栏 / 副栏 390（<1440 为 340，可收成 56 图标条）/ 底部录音坞 + 输入栏 */
html.a6-on:not(.is-mobile) body { min-width: 1200px; }
html.a6-on:not(.is-mobile) .app { grid-template-columns: 76px minmax(0, 1fr); }
html.a6-on .sidebar { width: 76px; }
html.a6-on .sb-brand { justify-content: center; padding: 10px 0 6px; min-height: 56px; }
html.a6-on .sb-brand-text, html.a6-on .sb-close { display: none; }
html.a6-on .sb-groups { padding: 4px 6px; overflow: visible; }
html.a6-on .sb-bottom { padding: 6px; display: flex; flex-direction: column; gap: 4px; position: relative; border-top: 1px solid var(--line); }
html.a6-on .sb-scale, html.a6-on .sb-bottom .sb-item { display: none; }
.a6-rail { display: flex; flex-direction: column; gap: 4px; }
.a6-ri { width: 100%; border: 0; background: transparent; border-radius: 10px; padding: 7px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.a6-ri:hover { background: rgba(0,0,0,.05); }
.a6-ri-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--fill); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--text); }
.a6-ri.on { color: var(--accent); font-weight: 700; } .a6-ri.on .a6-ri-ic { background: var(--accent); color: #fff; }
.a6-ri.app .a6-ri-ic { background: #e3f5e8; color: #1a7f37; } .a6-ri.app { color: #1a7f37; }
.a6-ri.store .a6-ri-ic { background: #efe9fd; color: #6941c6; font-size: 18px; }
.a6-rail-sep { height: 1px; background: var(--line); margin: 4px 8px; }
.a6-setpop { left: 82px; bottom: 6px; width: 320px; position: absolute; }
.a6-links { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
/* 顶栏 */
html.a6-on .toolbar { gap: 8px; height: 56px; padding: 0 12px; }
html.a6-on #tb-crumb, html.a6-on #ver-tag, html.a6-on #link-temp-plan { display: none; }
html.a6-on .tb-search { width: 40px; min-width: 40px; overflow: hidden; transition: width .15s; }
html.a6-on .tb-search:focus-within { width: 240px; }
html.a6-on .tb-insp .insp-long { display: none; } html.a6-on .tb-insp .insp-short { display: inline; }
html.a6-on .toolbar > .sb-foot { border-top: 0; padding: 0; position: relative; }
html.a6-on .toolbar > .sb-foot .sb-me { min-height: 40px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 10px; }
html.a6-on .toolbar > .sb-foot .sb-me-text span { display: none; }
html.a6-on .toolbar > .sb-foot .avatar { width: 26px; height: 26px; font-size: 13px; }
html.a6-on .toolbar > .sb-foot .popover { left: auto; right: 0; top: calc(100% + 6px); bottom: auto; width: 260px; }
.a6-tb { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; position: relative; }
.a6-clinic { height: 36px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0 10px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.a6-clinic i { width: 8px; height: 8px; border-radius: 50%; background: #1a9e5a; display: inline-block; }
.a6-mods { display: flex; background: var(--fill); border-radius: 10px; padding: 3px; gap: 2px; }
.a6-mods button { border: 0; background: transparent; border-radius: 8px; height: 30px; padding: 0 12px; font-size: 14px; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.a6-mods button.on { background: var(--surface); color: var(--accent); font-weight: 700; box-shadow: var(--sh-1); }
.a6-badge { min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; display: inline-grid; place-items: center; padding: 0 5px; }
.a6-todo-btn { padding: 0 8px !important; }
.a6-pop { position: absolute; z-index: 120; background: var(--surface); border-radius: 12px; box-shadow: var(--sh-3); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.a6-clinicpop { top: 42px; left: 0; width: 280px; }
.a6-clinicpop button, .a6-todopop button { border: 0; background: transparent; text-align: left; padding: 8px; border-radius: 8px; display: flex; justify-content: space-between; gap: 8px; cursor: pointer; flex-direction: column; }
.a6-todopop button { flex-direction: row; }
.a6-clinicpop button.on { background: var(--accent-soft); }
.a6-clinicpop small { color: var(--text-2); font-size: 12px; }
.a6-todopop { top: 42px; left: 200px; width: 300px; }
.a6-tbrec { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 12px; border-radius: 999px; background: #fdecea; color: #b42318; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.a6-tbrec i { width: 9px; height: 9px; border-radius: 50%; background: #d92d20; animation: a6blink 1.2s infinite; }
@keyframes a6blink { 50% { opacity: .3; } }
.a6-tbrec .btn { height: 26px; min-height: 26px; padding: 0 8px; background: #fff; }
/* 工作台网格 */
html.a6-on .a6-desk { display: grid; grid-template-columns: 240px minmax(0, 1fr) 390px; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; height: calc(100vh - 56px - 24px); min-height: 600px; }
html.a6-on .a6-desk[data-q="mini"] { grid-template-columns: 76px minmax(0, 1fr) 390px; }
html.a6-on .a6-desk[data-side="strip"], html.a6-on .a6-desk[data-side="float"] { grid-template-columns: 240px minmax(0, 1fr) 56px; }
html.a6-on .a6-desk[data-q="mini"][data-side="strip"], html.a6-on .a6-desk[data-q="mini"][data-side="float"] { grid-template-columns: 76px minmax(0, 1fr) 56px; }
@media (max-width: 1439px) {
  html.a6-on:not(.is-mobile) .app { grid-template-columns: 64px minmax(0, 1fr); }
  html.a6-on .sidebar { width: 64px; }
  html.a6-on .a6-desk { grid-template-columns: 240px minmax(0, 1fr) 340px; }
  html.a6-on .a6-desk[data-q="mini"] { grid-template-columns: 76px minmax(0, 1fr) 340px; }
  html.a6-on .a6-mods button { padding: 0 9px; }
  html.a6-on .a6-ri { font-size: 11px; }
}
html.a6-on .a6-desk > .a6-queue, html.a6-on .a6-desk > .a6-center, html.a6-on .a6-desk > .a6-right { grid-row: 1; min-height: 0; }
html.a6-on .a6-bottom { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 12px; align-items: stretch; }
@media (max-width: 1439px) { html.a6-on .a6-bottom { grid-template-columns: 390px minmax(0, 1fr); } }
html.a6-on .a6-bottom .a5-aibar { margin: 0 !important; grid-column: 2; grid-row: 1; }
html.a6-on .v4-zoom { display: none; }
html.a6-on #toast { left: 50%; right: auto; top: 64px; bottom: auto; transform: translateX(-50%); }
/* 队列 */
.a6-queue { display: flex; flex-direction: column; background: var(--surface); border-radius: 14px; padding: 12px; box-shadow: var(--sh-1); overflow: hidden; position: relative; }
.a6-queue .v4-col-h { display: flex; align-items: center; justify-content: space-between; }
.a6-cnt { font-size: 12px; font-weight: 600; background: var(--fill); border-radius: 8px; padding: 1px 7px; margin-left: 4px; }
.a6-q-mini-t { display: none; font-size: 11px; color: var(--text-2); }
.a6-qf { display: flex; gap: 4px; margin: 8px 0; }
.a6-qf button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-size: 12.5px; padding: 3px 8px; cursor: pointer; }
.a6-qf button.on { background: var(--text); color: #fff; border-color: var(--text); }
.a6-queue .v4-q-list { flex: 1; overflow-y: auto; margin: 6px 0; }
.a6-q-row { display: grid !important; grid-template-columns: 34px 22px minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.a6-av { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; font-weight: 700; }
.a6-dot { position: absolute; right: -1px; top: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; display: none; }
.a6-dot.rec { display: block; background: #d92d20; } .a6-dot.pause { display: block; background: #f79009; } .a6-dot.away { display: block; background: #eaaa08; } .a6-dot.on { display: block; background: var(--accent); }
.a6-st { font-size: 12px; border-radius: 8px; padding: 2px 7px; white-space: nowrap; background: var(--fill); }
.a6-st.on { background: var(--accent-soft); color: var(--accent); } .a6-st.rec { background: #fdecea; color: #b42318; font-weight: 700; } .a6-st.pause { background: #fef0c7; color: #93370d; }
.a6-st.away { background: #fef7c3; color: #854a0e; } .a6-st.absent { background: #fff; border: 1px dashed #98a2b3; color: #475467; } .a6-st.fee { background: #fff1e6; color: #b54708; } .a6-st.done { background: #e7f6ec; color: #1a7f37; }
.a6-q-row.st-away { background: #fffbeb; }
.a6-queue .v4-q-foot { position: relative; }
.a6-next-rec { width: 100%; border: 1.5px solid var(--accent) !important; color: var(--accent) !important; background: #fff !important; }
.a6-switch { bottom: calc(100% + 8px); left: 0; width: 300px; }
.a6-switch .btn { width: 100%; justify-content: center; }
.a6-queue.mini { padding: 8px 6px; }
.a6-queue.mini .v4-col-h h2, .a6-queue.mini .a6-qf, .a6-queue.mini .a5-sr-btn, .a6-queue.mini .v4-selfreg, .a6-queue.mini .v4-q-no, .a6-queue.mini .v4-q-name, .a6-queue.mini .a6-st, .a6-queue.mini #a5-q-next { display: none; }
.a6-queue.mini .a6-q-mini-t { display: block; text-align: center; width: 100%; }
.a6-queue.mini .a6-q-row { grid-template-columns: 1fr; justify-items: center; padding: 6px 0; }
.a6-queue.mini .v4-next { font-size: 12px; padding: 4px; min-height: 44px; white-space: normal; line-height: 1.2; }
.a6-queue.mini:hover, .a6-queue.mini:focus-within { position: absolute; z-index: 60; width: 240px; height: 100%; box-shadow: var(--sh-3); padding: 12px; }
.a6-queue.mini:hover .v4-col-h h2, .a6-queue.mini:hover .a6-qf, .a6-queue.mini:hover .v4-q-no, .a6-queue.mini:hover .v4-q-name, .a6-queue.mini:hover .a6-st, .a6-queue.mini:hover #a5-q-next,
.a6-queue.mini:focus-within .v4-col-h h2, .a6-queue.mini:focus-within .v4-q-name, .a6-queue.mini:focus-within .a6-st { display: revert; }
.a6-queue.mini:hover .a6-q-row, .a6-queue.mini:focus-within .a6-q-row { grid-template-columns: 34px 22px minmax(0, 1fr) auto; justify-items: stretch; }
.a6-queue.mini:hover .a6-q-mini-t { display: none; }
/* 患者条 */
.a6-center { display: flex; flex-direction: column; min-width: 0; min-height: 0; gap: 10px; overflow: hidden; }
.a6-head { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--sh-1); flex-wrap: nowrap; min-width: 0; }
.a6-head .v4-pt { font-size: 18px; }
.a6-pt-sub { color: var(--text-2); font-size: 14px; white-space: nowrap; }
.a6-strip-al { background: #fdecea; color: #b42318; font-weight: 700; border-radius: 6px; padding: 2px 8px; font-size: 13px; white-space: nowrap; }
.a6-strip-al.unk { background: #fff1e6; color: #b54708; }
.a6-strip-ch { background: #eef4ff; color: #2e4ea3; border-radius: 6px; padding: 2px 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.a6-only { color: #b42318; font-size: 12.5px; font-weight: 700; white-space: nowrap; } .a6-only.pause { color: #93370d; }
.a6-undo { display: flex; align-items: center; gap: 8px; background: #ecfdf3; border: 1px solid #abefc6; border-radius: 10px; padding: 6px 12px; font-size: 13.5px; }
.a6-undo .src { margin: 0; }
/* 录音中两列 */
.a6-rec { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--surface); border-radius: 14px; box-shadow: var(--sh-1); margin: 0; }
.a6-rec-l { display: flex; flex-direction: column; min-height: 0; }
.a6-rec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .a6-rec-h .src { margin: 0; font-size: 12px; }
.a6-rec-st { font-size: 12px; color: #b42318; background: #fdecea; border-radius: 6px; padding: 1px 6px; } .a6-rec-st.pause { color: #93370d; background: #fef0c7; }
.a6-live { flex: 1; min-height: 200px; font-size: 17px !important; line-height: 1.75 !important; resize: none; }
.a6-rec-r { min-height: 0; overflow-y: auto; border-left: 1px solid var(--line); padding-left: 14px; }
.a6-pv-h { font-weight: 700; margin: 4px 0 6px; } .a6-pv-h .src { display: inline; margin-left: 6px; font-weight: 400; font-size: 12px; }
.a6-pv-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; border-radius: 6px; }
.a6-pv-k { color: var(--text-2); font-weight: 700; text-align: right; }
.a6-pv-row.hl { background: #fff6d6; animation: a6hl 2.4s ease-out 1; }
@keyframes a6hl { from { background: #ffe58f; } to { background: #fff6d6; } }
.a6-was { color: #98a2b3; } .a6-none { color: #98a2b3; } .a6-pre { color: var(--text-2); }
.a6-miss { margin-bottom: 6px; }
/* 录音坞 */
.a6-dock { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap !important; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 8px 10px; min-height: 60px; box-shadow: 0 6px 18px rgba(0,0,0,.08); min-width: 0; flex-wrap: wrap; }
.a6-dock-go { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; text-align: left; width: 100%; }
.a6-dock-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--fill); flex: none; position: relative; }
.a6-dock-ic.go, .a6-dock-ic.rec { background: #d92d20; } .a6-dock-ic.go::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.a6-dock-ic.rec::after { content: ""; position: absolute; inset: 14px; border-radius: 2px; background: #fff; } .a6-dock-ic.pause { background: #f79009; }
.a6-dock-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; overflow: hidden; } .a6-dock-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .a6-dock .btn { white-space: nowrap; flex: none; } .a6-dock-t b { font-size: 14px; white-space: nowrap; } .a6-dock-t small { font-size: 12px; color: var(--text-2); }
.a6-mic-tip { color: #b54708 !important; }
.a6-wave { width: 40px; height: 18px; background: repeating-linear-gradient(90deg, #f04438 0 2px, transparent 2px 5px); opacity: .6; }
.a6-dock kbd { font-size: 10.5px; background: var(--fill); border-radius: 4px; padding: 1px 4px; color: var(--text-2); }
.btn.danger { background: #b42318; color: #fff; border-color: #b42318; }
.a6-more-in { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; width: 100%; margin-top: 4px; }
.a6-more-in .v4-input { flex: 1; min-width: 120px; }
.a6-to { font-size: 12.5px; color: #b42318; font-weight: 700; white-space: nowrap; }
.a6-slash { margin: 0; white-space: nowrap; font-size: 12px; }
/* 步骤条与第 1 步纸面 */
.a6-steps .a6-left { font-style: normal; font-size: 11.5px; background: #fff1e6; color: #b54708; border-radius: 6px; padding: 0 5px; margin-left: 4px; }
.a6-legend { flex-wrap: wrap; gap: 10px; } .a6-legend .src { margin: 0; display: inline; }
.a6-center .a5-stepbody { flex: 1; min-height: 0; overflow-y: auto; }
.a6-paper { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 22px 10px; position: relative; color: #1d1d1f; }
.a6-paper-h { text-align: center; border-bottom: 3px double #1d1d1f; padding-bottom: 6px; margin-bottom: 10px; } .a6-paper-h b { display: block; font-size: 19px; letter-spacing: 2px; } .a6-paper-h span { font-size: 14px; letter-spacing: 6px; }
.a6-gen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; font-size: 14px; color: #6e6e73; padding-bottom: 8px; border-bottom: 1px solid #d0d0d6; margin-bottom: 6px; } .a6-gen b { color: #1d1d1f; font-weight: 600; } .a6-gen b.red { color: #b42318; }
.a6-ps { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 5px 0; position: relative; }
.a6-pk { font-size: 15px; font-weight: 800; text-align: right; color: #1d1d1f; }
.a6-pv2 { font-size: 15.5px; line-height: 1.75; min-width: 0; }
.a6-vits { display: flex; flex-wrap: wrap; gap: 4px 18px; font-variant-numeric: tabular-nums; } .a6-pe-rest { color: #3a3a3c; }
.a6-tx p { margin: 0 0 2px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; } .a6-tx p b { color: #6e6e73; font-size: 14px; }
.a6-tx-rx { width: 100%; border-collapse: collapse; font-size: 14.5px; } .a6-tx-rx td { padding: 1px 8px 1px 0; white-space: nowrap; } .a6-tx-rx td:first-child { white-space: normal; }
.a6-sig { display: flex; gap: 18px; border-top: 1px solid #1d1d1f; margin-top: 8px; padding-top: 6px; font-size: 14px; }
.a6-dx-src { margin-left: 8px; font-size: 12px; color: var(--text-2); background: var(--fill); border-radius: 6px; padding: 0 6px; }
.a5-m { cursor: pointer; } .a5-m.cur { outline: 2px solid var(--accent); outline-offset: 1px; }
.a6-ok { font-style: normal; color: #1a7f37; font-size: 12px; margin-left: 2px; }
.a6-card { position: absolute; z-index: 30; top: calc(100% - 2px); left: 98px; width: 340px; background: #fff; border-radius: 14px; box-shadow: var(--sh-3); padding: 12px 14px; font-size: 14px; }
.a6-card.mo { border-top: 3px solid #e8660c; } .a6-card.my { border-top: 3px solid #e0a800; }
.a6-card-h { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 4px; } .a6-card-h span { color: var(--text-2); font-size: 12px; white-space: nowrap; }
.a6-quote { background: var(--fill); border-radius: 8px; padding: 6px 8px; margin: 4px 0 8px; } .a6-quote mark { background: #ffe58f; } .a6-quote.none { color: var(--text-2); }
.a6-enter { margin: 0 !important; }
/* 第 3–5 步 */
.a6-chks { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.a6-chk { font-size: 12.5px; border-radius: 999px; padding: 2px 10px; } .a6-chk.ok { background: #e7f6ec; color: #1a7f37; } .a6-chk.bad { background: #fdecea; color: #b42318; font-weight: 700; } .a6-chk.warn { background: #fef0c7; color: #93370d; }
.a6-blk { border: 1.5px solid #f04438; background: #fff5f4; border-radius: 12px; padding: 10px 12px; margin: 8px 0; } .a6-blk b { color: #b42318; } .a6-blk p { margin: 2px 0 6px; font-size: 13.5px; }
.a6-stk { border: 1.5px solid #f79009; background: #fffaeb; border-radius: 12px; padding: 10px 12px; margin: 8px 0; } .a6-stk b { color: #b54708; }
.a6-stk-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; } .a6-stk-acts .btn { justify-content: center; }
.a6-diff { background: #f5f8ff; border: 1px solid #c7d7fe; border-radius: 10px; padding: 8px 12px; margin: 8px 0; font-size: 13.5px; } .a6-diff p { margin: 2px 0 0; }
.a6-dtag { font-style: normal; font-size: 11.5px; background: #eef4ff; color: #2e4ea3; border-radius: 6px; padding: 0 5px; margin-right: 4px; white-space: nowrap; } .a6-dtag.out { background: #fff1e6; color: #b54708; }
.a6-exc { border: 1.5px solid #f79009; background: #fffaeb; border-radius: 12px; padding: 10px 12px; margin: 8px 0; } .a6-exc.done { border-color: #abefc6; background: #ecfdf3; }
.a6-ref { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; background: #fcfcfd; } .a6-ref p { margin: 2px 0; font-size: 14px; } .a6-ref.none { display: flex; gap: 10px; align-items: center; } .a6-ref .src { display: inline; margin: 0; }
.a6-arch-acts { margin-top: 8px; flex-wrap: wrap; }
/* 副栏 */
.a6-right { background: var(--surface); border-radius: 14px; box-shadow: var(--sh-1); display: flex; flex-direction: column; min-height: 0; position: relative; padding: 0 !important; overflow: visible !important; }
.a6-right.open { padding: 12px 14px !important; overflow: hidden !important; }
.a6-right.wide.open { position: absolute; right: 0; top: 0; bottom: 0; width: 600px; z-index: 50; box-shadow: var(--sh-3); }
.a6-desk { position: relative; }
.a6-side-h { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; } .a6-side-h b { font-size: 16px; }
.btn.plain { background: transparent; border: 0; color: var(--accent); box-shadow: none; padding: 0 6px; }
.a6-side-body { flex: 1; overflow-y: auto; min-height: 0; display: block !important; position: static !important; width: auto !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
.a6-strip { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; align-items: center; }
.a6-strip button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--fill); font-weight: 700; cursor: pointer; }
.a6-strip button.on { background: var(--accent-soft); color: var(--accent); }
.a6-side-float { position: absolute; right: calc(100% + 8px); top: 0; bottom: 0; width: 390px; background: var(--surface); border-radius: 14px; box-shadow: var(--sh-3); padding: 12px 14px; display: flex; flex-direction: column; z-index: 55; }
@media (max-width: 1439px) { .a6-side-float { width: 340px; } }
.a6-kv { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: center; } .a6-kv > span { color: var(--text-2); } .a6-kv b { font-weight: 600; }
.a6-prior { background: var(--fill); border-radius: 8px; padding: 6px 10px; font-size: 13px; } .a6-prior p { margin: 2px 0; }
.a6-gsq { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: #98a2b3; }
.a6-gsq.urgent { background: #b42318; } .a6-gsq.high { background: #e8660c; } .a6-gsq.watch { background: #fdb022; } .a6-gsq.ok { background: #12b76a; }
.a6-pcx { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.a6-warn { color: #b54708; font-size: 12.5px; }
.a6-store { display: grid; gap: 8px; } .a6-app { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .a6-app.on { border-color: #abefc6; background: #f6fef9; } .a6-app p { margin: 2px 0 6px; }
.a6-qual { font-size: 11.5px; background: #fef0c7; color: #93370d; border-radius: 6px; padding: 0 6px; margin-left: 6px; }
.a6-tpl { border-bottom: 1px solid var(--line); padding: 6px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .a6-tpl > span { flex: 1; font-size: 13.5px; } .a6-tpl.off { opacity: .6; }
.a6-cal-h { display: flex; align-items: center; justify-content: space-between; }
.a6-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: 6px 0; } .a6-cal em { font-style: normal; text-align: center; font-size: 12px; color: var(--text-2); }
.a6-cal button { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 8px; height: 38px; cursor: pointer; font-size: 13px; } .a6-cal button.today { border-color: var(--accent); color: var(--accent); font-weight: 700; } .a6-cal button.on { background: var(--accent); color: #fff; }
.a6-cal button i { position: absolute; right: 2px; top: 1px; font-style: normal; font-size: 10px; background: #e8660c; color: #fff; border-radius: 7px; padding: 0 4px; }
.a6-rule { display: flex; gap: 6px; font-size: 13.5px; padding: 3px 0; }
.a6-feebar { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; } .a6-feebar .src { margin: 0; }
.a6-dest { margin: 4px 0; font-size: 13.5px; color: #1a7f37; }
.a6-sidept .label { margin-top: 10px; }
/* 打印与完整病历 */
.a6-modal { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 200; display: grid; place-items: center; }
.a6-modal-in { background: var(--surface); border-radius: 16px; width: 760px; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; padding: 14px 18px; } .a6-modal-in.wide { width: 1080px; }
.a6-print-docs { overflow-y: auto; } .a6-cut { border: 0; border-top: 1px dashed #98a2b3; margin: 14px 0; }
.a6-full-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; overflow-y: auto; } .a6-full-side { border-left: 1px solid var(--line); padding-left: 12px; }
.a6-doc-pt { font-size: 14px; color: #3a3a3c; }
.a6-rcpt-r { display: flex; justify-content: space-between; margin: 0; font-size: 14px; }
.a6-paper.print .a5-m, .a6-paper.full .a5-m { background: none; border: 0; }
.a6-done-paper .a6-paper { border: 0; padding: 0; }
@media print {
  body * { visibility: hidden !important; }
  #a6-print-docs, #a6-print-docs * { visibility: visible !important; }
  #a6-print-docs { position: absolute; left: 0; top: 0; width: 100%; }
  .a6-paper { border: 0; }
}
@media (max-width: 1439px) {
  html.a6-on #btn-inspector { display: none; }
  html.a6-on .toolbar > .sb-foot .sb-me-text { display: none; }
  html.a6-on .a6-tbrec { font-size: 12.5px; padding-left: 8px; }
  html.a6-on .a6-clinic { padding: 0 8px; }
  html.a6-on .crit-chip, html.a6-on .a5u-chip { font-size: 12px; }
}
/* 候诊行：05 窄屏规则会改行内网格，06 统一四列 */
html.a6-on .a6-queue:not(.mini) .a6-q-row, html.a6-on .a6-queue.mini:hover .a6-q-row { grid-template-columns: 34px 22px minmax(0, 1fr) auto !important; grid-template-areas: none !important; }
html.a6-on .a6-q-row > * { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; position: static; }
html.a6-on .a6-q-row .a6-av { position: relative; }
html.a6-on .a6-q-row .v4-q-name { display: flex; flex-direction: column; min-width: 0; text-align: left; }
html.a6-on .a6-q-row .v4-q-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.a6-on .a6-queue.mini .a6-q-row { grid-template-columns: 1fr !important; }
/* 接诊中候诊栏收成头像条：名字/编号/状态一律隐藏（悬停展开时再显示） */
html.a6-on .a6-queue.mini:not(:hover):not(:focus-within) .v4-q-name,
html.a6-on .a6-queue.mini:not(:hover):not(:focus-within) .v4-q-no,
html.a6-on .a6-queue.mini:not(:hover):not(:focus-within) .a6-st { display: none !important; }
html.a6-on .a6-dock .a6-wave { display: none; }
html.a6-on .a6-dock-t { min-width: 64px; }
html.a6-on #toast { top: auto !important; bottom: 96px !important; }

/* ===== 06 增补：补录语音面板 / 一键审核完毕 ===== */
html.a6-on .a6-dock { position: relative; }
html.a6-on .a6-sup { position: absolute; left: 0; bottom: calc(100% + 8px); width: min(560px, 46vw); z-index: 40; background: #fff; border: 1px solid #d9dee7; border-radius: 12px; box-shadow: 0 8px 28px rgba(20,30,50,.16); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
html.a6-on .a6-sup-h { display: flex; align-items: center; gap: 8px; }
html.a6-on .a6-sup-mode { font-size: 12px; color: #1f6f43; background: #eaf6ef; border-radius: 6px; padding: 1px 6px; }
html.a6-on .a6-sup-mode:empty { display: none; }
html.a6-on .a6-sup textarea { width: 100%; box-sizing: border-box; resize: vertical; }
html.a6-on .a6-sup-live { color: #8a93a3; font-size: 13px; margin: 0; min-height: 0; }
html.a6-on .a6-sup-live:empty, html.a6-on .a6-sup-err:empty { display: none; }
html.a6-on .a6-sup-err { color: #8a5a00; font-size: 13px; margin: 0; }
html.a6-on .a6-sup-note { font-size: 12px; color: #5b6475; margin: 0; }
html.a6-on .a6-sup-set { background: #f6f8fb; border-radius: 8px; padding: 8px; font-size: 13px; }
html.a6-on .a6-sup-set label { display: flex; gap: 6px; align-items: flex-start; }
html.a6-on .a6-sup .a5-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
html.a6-on .a6-dtag.sup, html.a6-on .a6-sup-tag { background: #fff4c2; color: #7a5b00; }
html.a6-on tr.a6-sup-tr > td { background: #fffbe6; }
html.a6-on .a6-supchk { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
html.a6-on .a6-sup-row { background: #fffbe6; }
html.a6-on .a6-bulk-blk { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-right: 8px; }
html.a6-on .a6-bchip { border: 1px solid #f3c38b; background: #fff3e4; color: #8a4b00; border-radius: 999px; padding: 2px 9px; font-size: 12px; cursor: pointer; }
html.a6-on .a6-bchip.red { border-color: #f0a3a3; background: #fdeeee; color: #a12a2a; }
html.a6-on #a6-bulk { margin-right: 8px; }
html.a6-on .a6-bulk-undo { margin: 6px 0; }
html.a6-on .a6-bulk-log { font-size: 12px; color: #5b6475; margin-top: 6px; }
html.a6-on .a6-bulk-log > div { padding: 2px 0; }
/* 底部「说或写给 AI」：窄胶囊入口 + 浮层（不挤压布局） */
html.a6-on .a6-bottom { grid-template-columns: 440px auto minmax(0, 1fr); }
@media (max-width: 1439px) { html.a6-on .a6-bottom { grid-template-columns: 390px auto minmax(0, 1fr); } }
html.a6-on .a6-bottom .a5-aibar.a6-cmpbar { grid-column: 2; display: flex; align-items: center; gap: 8px; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; position: relative; min-height: 0; }
html.a6-on .a6-cmp-entry { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #d4dae4; background: #fff; cursor: pointer; font-size: 14px; white-space: nowrap; }
html.a6-on .a6-cmp-entry small { color: #6b7385; font-size: 12px; }
html.a6-on .a6-cmp-entry em { font-style: normal; font-size: 12px; color: #1f6f43; }
html.a6-on .a6-cmp-entry em:empty { display: none; }
html.a6-on .a6-cmp-entry.on { border-color: #2f6fec; box-shadow: 0 0 0 2px rgba(47,111,236,.15); }
html.a6-on .a6-cmp-entry.listening { border-color: #d14343; }
html.a6-on .a6-cmp-entry.listening em { color: #d14343; }
html.a6-on .a6-cmp-entry.listening .a6-cmp-ic { animation: a6pulse 1.2s ease-in-out infinite; }
@keyframes a6pulse { 50% { opacity: .35; } }
html.a6-on .a6-cmp { position: fixed; z-index: 60; background: #fff; border: 1px solid #d9dee7; border-radius: 12px; box-shadow: 0 10px 32px rgba(20,30,50,.2); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; overflow: auto; text-align: left; }
html.a6-on .a6-cmp .a6-sup-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html.a6-on .a6-cmp-who { font-size: 12px; color: #5b6475; }
html.a6-on .a6-cmp #a5-ai { width: 100%; box-sizing: border-box; height: 38px; }
html.a6-on .a6-cmp .a5-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
html.a6-on .a6-cmpbar .a5-pop { left: 0; }
