/* ① 预约页 —— 尺寸与颜色逐项取自 origin/main 组件的 Tailwind class（注释写组件名）。 */

/* PageBody px-2 + 右侧 NowNextRail 64px */
.ap { flex: 1; min-height: 0; display: flex; padding: 0 8px; }
.ap-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.muted { color: var(--ink-muted); }
.lnk { color: var(--brand-700); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- appointment-toolbar.tsx ---------- */
.tb1 { margin: 0 -8px; height: 60px; flex: none; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--divider); padding: 0 20px; }
.tb2 { margin: 0 -8px; height: 48px; flex: none; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--divider); padding: 0 20px; }
.tb-trig { color: #64748B; }
.tb-title { margin: 0 8px 0 4px; font-size: 20px; line-height: 28px; font-weight: 600; color: #0A1629; white-space: nowrap; }
.tb-date { display: inline-flex; height: 36px; align-items: center; gap: 8px; border-radius: 10px; border: 1px solid #D8E0F0; background: #fff; padding: 0 12px; font-size: 13px; color: #0A1629; white-space: nowrap; }
.tb-date .lu { color: #64748B; }
.tb-date b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tb-date span { font-weight: 400; color: #64748B; }
.tb-ib { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #D8E0F0; background: #fff; color: #1C3E60; flex: none; }
.tb-btn { display: inline-flex; height: 36px; align-items: center; gap: 6px; border-radius: 10px; padding: 0 12px; font-size: 13px; font-weight: 500; border: 1px solid #D8E0F0; background: #fff; color: #1C3E60; white-space: nowrap; flex: none; }
.tb-btn.walk { border-color: #3DCAB1; color: #0F766E; }
.tb-btn.book { background: var(--brand-700); border-color: var(--brand-700); color: #fff; padding: 0 16px; }
.tb-gap { flex: 1; }
.tb-search { display: inline-flex; height: 36px; width: 190px; align-items: center; gap: 8px; border-radius: 10px; border: 1px solid #D8E0F0; background: #fff; padding: 0 10px; font-size: 13px; color: #A8B2C1; flex: none; }
.tb-search .lu { color: #94A3B8; }
.seg { display: flex; gap: 3px; border-radius: 10px; background: #F3F4F6; padding: 3px; flex: none; }
.seg-i { height: 28px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 0 12px; font-size: 13px; font-weight: 500; color: #64748B; white-space: nowrap; }
.seg-i.on { background: #fff; font-weight: 600; color: #0A1629; box-shadow: 0 1px 2px rgba(10, 22, 41, .08); }
.seg-n { font-size: 13px; font-weight: 600; color: #64748B; }
.seg-i.on .seg-n { color: #0F766E; }
.tb-sq { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #D8E0F0; background: #fff; color: #64748B; flex: none; }
.chip { display: inline-flex; height: 32px; align-items: center; gap: 6px; border-radius: 999px; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip.unpaid { border: 1px solid #F59E0B; background: #FFF7ED; color: #B45309; }
.chip.legend { border: 1px solid #3DCAB1; background: #fff; color: #0F766E; }

/* ---------- appointment-table.tsx：按时间 · 日（15 分钟 = 48px，列宽 144，时间栏 96） ---------- */
.gv { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.gc { position: absolute; left: 0; right: 0; top: 0; }
.g-cells { position: absolute; left: 96px; width: 1008px; top: 0;
  background-image: linear-gradient(to right, #F1F5F9 1px, transparent 1px), linear-gradient(to bottom, #E5E7EB 1px, transparent 1px), linear-gradient(to bottom, #F3F4F6 1px, transparent 1px);
  background-size: 144px 100%, 100% 192px, 100% 48px; }
.g-lab { position: absolute; left: 16px; font-size: 12px; line-height: 16px; font-weight: 600; color: #9CA3AF; font-variant-numeric: tabular-nums; }
.g-lab.cur { color: var(--brand-700); }
.nowline { position: absolute; left: 96px; right: 0; height: 2px; background: #3DCAB1; z-index: 15; }
.nowline i { position: absolute; left: -16px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #3DCAB1; }
.nowline span { position: absolute; left: -84px; top: -9px; border-radius: 4px; background: #fff; padding: 0 4px; font-size: 11.2px; line-height: 16px; font-weight: 600; color: #3DCAB1; }

/* ---------- appointment-item.tsx ---------- */
.card { position: absolute; width: 136px; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 6px 8px 6px 11px; z-index: 5; transition: top .5s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.card .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.c-row { display: flex; align-items: center; gap: 4px; min-width: 0; }
.c-svc { font-size: 14px; line-height: 18px; font-weight: 600; color: #0A1629; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.c-dot { width: 8px; height: 8px; border-radius: 50%; background: #0369A1; flex: none; }
.c-th { gap: 5px; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--brand-700); }
.c-av { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #fff; background: var(--brand-500); color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pill { align-self: flex-start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 999px; padding: 1px 6px; font-size: 11px; line-height: 14px; font-weight: 600; background: var(--violet-bg); color: var(--violet-ink); }
.pill.danger { background: var(--danger-bg); color: var(--danger); }
.c-shift { align-self: flex-start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 4px; padding: 1px 6px; font-size: 11px; line-height: 14px; font-weight: 600; background: #E7F7EF; color: #0F766E; }
.c-svc2 { font-size: 13px; line-height: 17px; color: #1C3E60; }
.c-cust { display: flex; align-items: center; gap: 4px; font-size: 13px; line-height: 17px; font-weight: 500; color: #334155; white-space: nowrap; min-width: 0; }
.c-cust span { overflow: hidden; text-overflow: ellipsis; }
.card.st-scheduled { opacity: .7; }
.card.st-completed { opacity: .55; }
.card.unpaid { outline: 2px dashed #F59E0B; outline-offset: -2px; }
.tri { position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; clip-path: polygon(100% 0, 100% 100%, 0 100%); color: #fff; }
.tri .lu { position: absolute; right: 2px; bottom: 2px; }
.tri-ip { background: #7C6BC9; animation: kt-tri 2s ease-in-out infinite; }
.tri-done { background: #059669; }
@keyframes kt-tri { 50% { opacity: .85; } }
.card.fresh { animation: kt-fresh 1.6s ease 2; }
@keyframes kt-fresh { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 202, 177, 0); } 40% { box-shadow: 0 0 0 3px #3DCAB1, 0 0 0 7px rgba(61, 202, 177, .25); } }
.card.dragging { opacity: .6; z-index: 25; box-shadow: 0 8px 20px rgba(10, 22, 41, .18); transition: none; }

/* 改约：reschedule-ghost.tsx / appointment-table.tsx 拖动指引 */
.ghost { position: absolute; width: 136px; border-radius: 8px; border: 1.5px dashed #94A3B8; background: repeating-linear-gradient(135deg, #F9FAFB 0 6px, #F1F5F9 6px 12px); display: flex; flex-direction: column; gap: 2px; padding: 8px; font-size: 12px; color: #64748B; z-index: 4; }
.ghost b { color: #1C3E60; font-weight: 600; }
.guide { position: absolute; left: 96px; right: 0; height: 3px; background: #3DCAB1; box-shadow: 0 0 0 3px rgba(61, 202, 177, .18); z-index: 20; transition: top .12s; }
.guide-t { position: absolute; top: -26px; left: 8px; border-radius: 6px; background: var(--brand-700); padding: 4px 8px; font-size: 12px; line-height: 14px; font-weight: 700; color: #fff; }
.drag-tip { position: absolute; top: 8px; left: 64px; border-radius: 8px; background: #0A1629; padding: 4px 10px; font-size: 12px; line-height: 18px; color: #fff; z-index: 30; }

/* ---------- now-next-rail.tsx（折叠态） ---------- */
.rail { width: 64px; flex: none; border-left: 1px solid var(--divider); background: #fff; padding: 16px 6px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.r-blk, .r-todo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rail strong { font-size: 20px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rail strong.v { color: var(--violet-ink); } .rail strong.g { color: #0F766E; } .rail strong.z { color: #94A3B8; }
.rail small { font-size: 10px; font-weight: 600; color: #64748B; }
.r-todo { width: 48px; padding: 8px 4px; border-radius: 10px; background: #FEF3C7; }
.r-todo strong, .r-todo small { color: #B45309; }
.svc-legend { flex: none; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; font-size: 12px; color: var(--ink-muted); border-top: 1px solid var(--divider); }
.svc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.svc-legend i { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- multi-create-appointment-dialog.tsx（1200×840，复核步 760） ---------- */
.dlg { position: absolute; left: 120px; top: 30px; width: 1200px; height: 840px; z-index: 50; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(10, 22, 41, .12); display: flex; flex-direction: column; overflow: hidden; animation: kt-pop .25s ease; }
@keyframes kt-pop { from { transform: scale(.97); opacity: 0; } }
.d-head { flex: none; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--divider); padding: 16px 24px; }
.d-title { font-size: 19px; font-weight: 700; color: #0A1629; }
.d-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); }
.d-add { font-size: 13px; font-weight: 600; color: #0F766E; }
.d-x { width: 36px; height: 36px; border-radius: 8px; background: #F9FAFB; display: inline-flex; align-items: center; justify-content: center; color: #64748B; margin-left: auto; flex: none; }
.d-x.sq { border-radius: 10px; background: #F3F4F6; }
.d-body { flex: 1; min-height: 0; display: flex; }
.form { width: 63%; max-width: 760px; display: flex; flex-direction: column; gap: 18px; border-right: 1px solid var(--divider); padding: 20px 24px; overflow: hidden; }
.sec { display: flex; flex-direction: column; gap: 10px; }
.stp { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.stp-n { width: 20px; height: 20px; border-radius: 50%; background: #0A1629; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.stp b { font-size: 13px; font-weight: 700; color: #0A1629; }
.stp-r { margin-left: auto; font-size: 12px; }
.seg.sm { border-radius: 12px; background: #F9FAFB; }
.seg.sm .seg-i { border-radius: 8px; font-size: 12px; font-weight: 600; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.fld { position: relative; display: flex; flex-direction: column; gap: 6px; }
.f-lab { font-size: 13px; font-weight: 500; color: #1C3E60; }
.f-lab i { font-style: normal; color: var(--danger); margin-right: 2px; }
.f-lab em { font-style: normal; font-size: 12px; color: #F97316; }
.f-box { display: flex; height: 42px; align-items: center; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 0 12px; font-size: 14px; color: #0A1629; }
.f-box.focus { border: 1.5px solid var(--brand-500); box-shadow: 0 0 0 3px #E7F7EF; }
.caret { display: inline-block; width: 1.5px; height: 18px; background: #0A1629; margin-left: 1px; animation: kt-caret 1s steps(1) infinite; }
@keyframes kt-caret { 50% { opacity: 0; } }
.dd { position: absolute; top: 72px; left: 0; width: 100%; z-index: 10; border-radius: 14px; border: 1px solid #D8E0F0; background: #fff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); overflow: hidden; }
.dd-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; color: #1C3E60; }
.dd-row:first-child { background: #F1F8F4; }
.dd-row b { font-weight: 700; }
.dd-row code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #64748B; }
.dd-row small { font-size: 12px; color: #94A3B8; }
.cust-card { display: flex; align-items: center; gap: 12px; border-radius: 12px; border: 1px solid #ADE8DC; background: #F1F8F4; padding: 10px 12px; animation: kt-pop .25s ease; }
.cc-av { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-700); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cc-av.lg { width: 48px; height: 48px; font-size: 18px; }
.cc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-main b { font-size: 14px; font-weight: 600; color: #0A1629; }
.cc-main small { font-size: 12px; color: #64748B; }
.tag-ex { margin-left: 8px; border-radius: 999px; background: #FEF3C7; color: #B45309; font-size: 11px; font-weight: 600; padding: 1px 8px; }
.when { position: relative; display: flex; gap: 12px; }
.pick { display: inline-flex; height: 42px; width: 200px; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 0 12px; font-size: 14px; color: #0A1629; }
.pick .lu { color: #64748B; }
.pick .chev { margin-left: auto; }
.pick.focus { border: 1.5px solid var(--brand-500); box-shadow: 0 0 0 3px #E7F7EF; }
.pick .ph { color: #94A3B8; }
.tpop { position: absolute; top: 48px; left: 212px; width: 300px; z-index: 12; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 8px; box-shadow: 0 16px 40px rgba(17, 24, 39, .18); animation: kt-pop .2s ease; }
.tp-h { padding: 4px 8px 6px; font-size: 12px; font-weight: 600; color: #64748B; }
.tp-row { display: flex; min-height: 42px; align-items: center; justify-content: space-between; border-radius: 8px; padding: 0 8px; font-size: 13px; color: #0A1629; font-variant-numeric: tabular-nums; }
.tp-row small { font-size: 12px; color: #64748B; }
.tp-row.sel { background: var(--brand-700); color: #fff; font-weight: 600; }
.tp-row.sel small { color: #E7F7EF; }
.sl-card { position: relative; display: flex; flex-direction: column; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; }
.sl-row { position: relative; display: flex; min-height: 64px; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #F3F4F6; animation: kt-pop .25s ease; }
.sl-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sl-main b { font-size: 14px; font-weight: 600; color: #0A1629; }
.sl-main small { font-size: 12px; color: #64748B; font-variant-numeric: tabular-nums; }
.sl-r { display: flex; align-items: center; gap: 6px; flex: none; }
.th-chip { display: inline-flex; height: 40px; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; padding: 0 10px 0 6px; font-size: 13px; font-weight: 600; color: #0A1629; }
.th-assign { display: inline-flex; height: 40px; align-items: center; gap: 8px; border-radius: 999px; border: 1.5px dashed #F59E0B; background: #FEF3C7; padding: 0 12px; font-size: 13px; font-weight: 600; color: #B45309; }
.av { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sl-more { width: 36px; height: 36px; border-radius: 8px; color: #64748B; display: inline-flex; align-items: center; justify-content: center; }
.sl-add { display: flex; height: 48px; align-items: center; gap: 6px; padding: 0 16px; font-size: 13px; font-weight: 600; color: #0F766E; }
.thp { position: absolute; top: 60px; right: 16px; width: 320px; z-index: 12; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 8px; box-shadow: 0 16px 40px rgba(17, 24, 39, .18); animation: kt-pop .2s ease; }
.thp-g { padding: 8px 8px 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.thp-row { display: flex; min-height: 48px; align-items: center; gap: 10px; border-radius: 8px; padding: 4px 8px; }
.thp-row.hov { background: #F1F8F4; }
.thp-row.dim { opacity: .6; }
.thp-row div { display: flex; flex-direction: column; gap: 3px; }
.thp-row b { font-size: 14px; font-weight: 500; color: #0A1629; }
.thp-row small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #64748B; }
.thp-row small i { width: 6px; height: 6px; border-radius: 50%; }
.thp-row small i.ok { background: #059669; } .thp-row small i.bad { background: #DC2626; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pop-lab { font-size: 12px; font-weight: 600; color: #64748B; margin-right: 4px; }
.pop-pill { display: inline-flex; height: 32px; align-items: center; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; padding: 0 12px; font-size: 13px; font-weight: 500; color: #1C3E60; }
.pop-pill.on { border-color: #3DCAB1; background: #E7F7EF; color: #0F766E; font-weight: 600; }
.rooms { display: flex; flex-wrap: wrap; gap: 8px; }
.room { display: inline-flex; height: 36px; align-items: center; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; padding: 0 14px; font-size: 13px; font-weight: 500; color: #1C3E60; }
.room.busy { color: #94A3B8; background: #F9FAFB; }
.room.on { border-color: #3DCAB1; background: #E7F7EF; color: #0F766E; font-weight: 600; }
.note-box { min-height: 42px; border-radius: 12px; border: 1px solid #E5E7EB; padding: 11px 12px; font-size: 14px; color: #94A3B8; }
.sum { flex: 1; min-width: 0; background: #F6F7F9; display: flex; flex-direction: column; }
.sum-b { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sum-h { font-size: 13px; font-weight: 700; color: #0A1629; }
.sum-card { border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.sum-card.on { border-color: #3DCAB1; box-shadow: 0 0 0 1px #3DCAB1; }
.sm-top { display: flex; justify-content: space-between; font-size: 14px; }
.sm-top b { font-weight: 600; color: #0A1629; }
.sm-top span { font-weight: 600; color: #0A1629; font-variant-numeric: tabular-nums; }
.sm-when { display: flex; gap: 8px; color: #64748B; }
.sm-when b { color: #0A1629; font-weight: 700; font-variant-numeric: tabular-nums; }
.sm-svc { display: flex; justify-content: space-between; gap: 8px; color: #1C3E60; }
.sm-svc b { font-weight: 600; } .sm-svc em { font-style: normal; color: #B45309; font-weight: 600; }
.sm-room { display: flex; align-items: center; gap: 6px; color: #64748B; }
.sum-f { flex: none; display: flex; gap: 10px; background: #fff; padding: 16px 20px; border-top: 1px solid var(--divider); }
.b-out { display: inline-flex; height: 40px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 0 16px; font-size: 14px; font-weight: 600; color: #1C3E60; white-space: nowrap; }
.b-pri { flex: 1; display: inline-flex; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-700); padding: 0 16px; font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; transition: opacity .2s; }
.b-pri.off { opacity: .5; }
.b-out.sm, .b-pri.sm { height: 36px; border-radius: 10px; font-size: 13px; flex: none; padding: 0 12px; }
.dlg.review { width: 760px; height: auto; left: 340px; top: 220px; }
.rv-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.rv-row { display: flex; gap: 14px; border-radius: 12px; border: 1px solid #E5E7EB; padding: 14px; align-items: flex-start; font-size: 13px; color: #1C3E60; }
.rv-main { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rv-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.rv-top b { color: #0A1629; font-weight: 700; }
.rv-top span { color: #1C3E60; font-variant-numeric: tabular-nums; }
.rv-note { display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; background: #F9FAFB; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; color: #64748B; }
.rv-note .lu { margin-top: 2px; }
.rv-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--divider); }
.rv-foot .b-pri { flex: none; }

/* ---------- reschedule-confirm-popover.tsx ---------- */
.rpop { position: absolute; z-index: 50; width: 320px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 16px; box-shadow: 0 12px 32px rgba(10, 22, 41, .16); display: flex; flex-direction: column; gap: 12px; animation: kt-pop .2s ease; }
.rp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rp-h b { font-size: 15px; font-weight: 600; color: #0A1629; white-space: nowrap; }
.rp-h span { font-size: 12px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-box { border-radius: 10px; background: var(--surface-subtle); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #1C3E60; }
.rp-r { display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.rp-l { width: 40px; color: #64748B; flex: none; }
.rp-r s { color: #94A3B8; } .rp-r b { color: var(--brand-700); font-weight: 600; } .rp-r .lu { color: #94A3B8; }
.rp-f { display: flex; align-items: center; gap: 8px; }

/* ---------- detail-sheet（1180，左栏 380） ---------- */
.sheet { position: absolute; top: 0; right: 0; bottom: 0; width: 1180px; z-index: 50; background: #fff; border-radius: 20px 0 0 20px; box-shadow: -12px 0 32px rgba(10, 22, 41, .16); display: flex; flex-direction: column; overflow: hidden; animation: kt-slide .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes kt-slide { from { transform: translateX(60px); opacity: 0; } }
.sh-head { flex: none; height: 64px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--divider); padding: 0 24px; font-size: 13px; }
.sh-head > b { font-size: 20px; font-weight: 600; color: #0A1629; }
.sh-head .sm { font-size: 12px; }
.spill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.spill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.spill.cf { background: var(--info-bg); color: var(--info); }
.spill.ip { background: var(--violet-bg); color: var(--violet-ink); }
.sh-body { flex: 1; min-height: 0; display: flex; }
.sh-left { width: 380px; flex: none; border-right: 1px solid var(--divider); background: #FBFCFD; display: flex; flex-direction: column; }
.sh-scroll { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sh-cust { position: relative; display: flex; gap: 12px; border-radius: 16px; border: 1.5px solid var(--brand-500); background: #fff; padding: 16px; }
.sh-cust > div:not(.sh-links) { display: flex; flex-direction: column; gap: 2px; }
.sh-cust b { font-size: 16px; font-weight: 600; color: #0A1629; }
.sh-cust small { font-size: 12px; color: #64748B; }
.sh-links { position: absolute; right: 16px; top: 16px; display: flex; gap: 12px; }
.sh-info { border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.shi-h { display: flex; justify-content: space-between; } .shi-h b { font-size: 14px; color: #0A1629; }
.shi-r { display: flex; justify-content: space-between; color: #64748B; } .shi-r b { color: #0A1629; font-weight: 600; }
.sh-act { flex: none; padding: 14px 16px; border-top: 1px solid var(--divider); display: flex; flex-direction: column; gap: 10px; }
.b-big { display: flex; height: 48px; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: var(--brand-700); color: #fff; font-size: 15px; font-weight: 600; }
.sh-icons { display: flex; gap: 8px; }
.b-ic { width: 48px; height: 48px; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; color: #1C3E60; display: inline-flex; align-items: center; justify-content: center; }
.b-more { flex: 1; height: 48px; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #1C3E60; }
.sh-right { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.strip { margin: 16px 24px 0; border-radius: 12px; border: 1px solid #BAE6FD; background: #F0F9FF; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #1C3E60; }
.strip b { font-size: 14px; color: #0A1629; }
.strip small { color: #64748B; }
.strip.live { border-color: #C9BEF4; background: var(--violet-soft); }
.mini { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: #94A3B8; }
.mini span.done { color: var(--brand-700); font-weight: 600; }
.tabs { display: flex; gap: 28px; padding: 16px 24px 0; border-bottom: 1px solid var(--divider); font-size: 14px; color: #64748B; }
.tabs span { padding-bottom: 10px; }
.tabs span.on { color: #0A1629; font-weight: 600; border-bottom: 2px solid var(--brand-500); }
.tab-body { padding: 20px 24px; }
.pref { display: flex; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px; font-size: 13px; color: #1C3E60; }
.pref .lu { color: #64748B; }
