/* 共享儿女 · 运营后台 —— 一张暖纸，一抹橙（桌面工作台版） */
:root {
  --paper: #FBF6F0; --surface: #FFFFFF; --sunk: #F4ECE3; --hover: #FAF4ED;
  --ink: #1F2329; --ink-2: #5E554C; --ink-3: #8A8076; --line: #EDE3D8; --line-2: #E2D5C7;
  --accent: #FF6B35; --accent-text: #C94A1C; --accent-soft: #FFF1E6;
  --green: #2E8B57; --green-soft: #E7F3EC; --red: #D64545; --red-soft: #FBEAEA; --warn: #9A6412; --warn-soft: #FBF1DE; --blue: #3D6E9A; --blue-soft: #E8F0F7;
  --r-s: 6px; --r-m: 10px; --r-l: 14px;
  --side: 216px; --top: 56px;
  --ease: cubic-bezier(.2,.8,.2,1);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  color: var(--ink); font-size: 14px; line-height: 1.55;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.num, td.r, .kpi b { font-variant-numeric: tabular-nums; }
img.ic { width: 16px; height: 16px; vertical-align: -3px; flex-shrink: 0; }
img.ic.l { width: 18px; height: 18px; } img.ic.s { width: 14px; height: 14px; vertical-align: -2px; }

/* 布局 */
.side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--side); background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; }
.brand { height: var(--top); display: flex; align-items: center; gap: 10px; padding: 0 18px; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand small { font-weight: 400; color: var(--ink-3); font-size: 12px; margin-left: -4px; }
.nav { flex: 1; overflow-y: auto; padding: 4px 10px 20px; }
.nav-g { margin-top: 2px; }
.nav-h { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); cursor: pointer; user-select: none; }
.nav-h:hover { background: var(--hover); color: var(--ink); }
.nav-h .arr { margin-left: auto; transition: transform 200ms var(--ease); opacity: .6; }
.nav-g.open .nav-h .arr { transform: rotate(90deg); }
.nav-h.on { color: var(--ink); font-weight: 600; }
.nav-items { display: none; padding: 2px 0 6px; }
.nav-g.open .nav-items { display: block; }
.nav-i { display: block; padding: 7px 10px 7px 38px; border-radius: 8px; color: var(--ink-2); position: relative; font-size: 13.5px; }
.nav-i:hover { background: var(--hover); color: var(--ink); }
.nav-i.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(60,40,20,.06); }
.nav-i.on::before { content: ""; position: absolute; left: 24px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--ink); }
.nav-i .cnt { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 9px; background: var(--red); color: #fff; padding: 0 5px; font-weight: 600; }
.nav-i .p1 { font-size: 10px; color: var(--ink-3); margin-left: 4px; font-weight: 400; }
.side-foot { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }

.top { position: fixed; left: var(--side); right: 0; top: 0; height: var(--top); background: rgba(251,246,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 24px; z-index: 15; }
.crumb { color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.crumb b { color: var(--ink); font-weight: 600; }
.top .sp { flex: 1; }
.scope { display: flex; align-items: center; gap: 6px; padding: 0 10px; height: 34px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.scope select { border: 0; background: transparent; outline: none; cursor: pointer; font-weight: 600; }
.me { display: flex; align-items: center; gap: 8px; }
.me .av { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.bell { position: relative; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bell:hover { background: var(--hover); }
.bell i { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); border: 1.5px solid var(--paper); }

.main { margin-left: var(--side); padding: calc(var(--top) + 20px) 24px 48px; min-height: 100vh; }
.main.full { max-width: none; }

/* 页面头 */
.ph { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; min-height: 36px; }
.ph h1 { font-size: 20px; margin: 0; font-weight: 700; }
.ph .sub { color: var(--ink-3); font-size: 13px; }
.ph .acts { margin-left: auto; display: flex; gap: 8px; }
.back { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.back img { transform: rotate(180deg); }

/* 面板 */
.panel { background: var(--surface); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); }
.panel + .panel, .grid + .panel, .panel + .grid { margin-top: 16px; }
.grid > .panel + .panel { margin-top: 0; }
.grid > div > .panel + .panel { margin-top: 16px; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-h h3 { margin: 0; font-size: 15px; font-weight: 600; }
.panel-h .more { margin-left: auto; color: var(--ink-2); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 2px; }
.panel-h .more:hover { color: var(--ink); }
.panel-b { padding: 16px 18px; }
.panel-b.tight { padding: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.g21 { grid-template-columns: 2fr 1fr; } .g12 { grid-template-columns: 1fr 2fr; } .g31 { grid-template-columns: 3fr 1.2fr; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .mb { margin-bottom: 16px; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.kpi { padding: 16px 20px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi span { color: var(--ink-2); font-size: 13px; display: block; }
.kpi b { display: block; font-size: 26px; font-weight: 700; margin-top: 4px; line-height: 1.2; letter-spacing: -.5px; }
.kpi b small { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-left: 3px; letter-spacing: 0; }
.kpi em { font-style: normal; font-size: 12px; color: var(--ink-3); display: block; margin-top: 4px; }
.kpi em.up { color: var(--green); } .kpi em.down { color: var(--red); }
.kpi.click { cursor: pointer; } .kpi.click:hover { background: var(--hover); }

/* 工具栏 */
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.bar .sp { flex: 1; }
.seg { display: inline-flex; background: var(--sunk); border-radius: 8px; padding: 3px; gap: 2px; }
.seg a { padding: 4px 12px; border-radius: 6px; color: var(--ink-2); cursor: pointer; font-size: 13px; white-space: nowrap; }
.seg a:hover { color: var(--ink); }
.seg a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(60,40,20,.08); }
.seg a i { font-style: normal; color: var(--ink-3); margin-left: 4px; font-weight: 400; font-size: 12px; }
.inp, .sel { height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 0 10px; outline: none; min-width: 0; }
.inp:focus, .sel:focus, textarea.inp:focus { border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(31,35,41,.08); }
.search { position: relative; }
.search img { position: absolute; left: 10px; top: 9px; }
.search .inp { padding-left: 32px; width: 220px; }
textarea.inp { height: auto; padding: 8px 10px; resize: vertical; width: 100%; line-height: 1.6; }

/* 按钮 */
.btn { height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; transition: transform 80ms var(--ease), background 120ms; }
.btn:hover { background: var(--hover); }
.btn:active { transform: scale(.97); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.pri:hover { background: #F25E28; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: #343a42; }
.btn.danger { color: var(--red); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--hover); color: var(--ink); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 6px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.lnk { color: var(--ink); font-weight: 600; cursor: pointer; border-bottom: 1px solid transparent; }
.lnk:hover { border-bottom-color: var(--ink-2); }
.lnk.mute { color: var(--ink-2); font-weight: 500; }
.lnk.red { color: var(--red); }
.ops { display: flex; gap: 14px; justify-content: flex-end; white-space: nowrap; }

/* 表格 */
.tw { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12.5px; padding: 10px 14px; background: #FDFAF6; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; }
.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr { transition: background 120ms; }
.t tbody tr:hover { background: var(--hover); }
.t tr.click { cursor: pointer; }
.t th.r, .t td.r { text-align: right; }
.t th.c, .t td.c { text-align: center; }
.t td.nw { white-space: nowrap; }
.t .chk { width: 36px; padding-right: 0; }
.t tr.sel { background: var(--accent-soft); }
.t th:first-child, .t td:first-child { padding-left: 18px; } .t th:last-child, .t td:last-child { padding-right: 18px; }
.who { display: flex; align-items: center; gap: 10px; }
.av, .who .av { width: 32px; height: 32px; border-radius: 50%; background: var(--sunk); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--ink-2); font-size: 13px; flex-shrink: 0; overflow: hidden; }
.av img { width: 100%; height: 100%; }
.av.lg { width: 56px; height: 56px; font-size: 20px; }
.who b { font-weight: 600; display: block; } .who small { color: var(--ink-3); font-size: 12px; display: block; }
.muted { color: var(--ink-3); } .ink2 { color: var(--ink-2); } .small { font-size: 12.5px; } .bold { font-weight: 600; }
.red { color: var(--red); } .green { color: var(--green); } .warn { color: var(--warn); } .acc { color: var(--accent-text); }
.empty { padding: 48px 0; text-align: center; color: var(--ink-3); }
.empty img { width: 160px; display: block; margin: 0 auto 8px; opacity: .9; }
.pager { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.pager .sp { flex: 1; }
.pager a { min-width: 30px; height: 30px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); padding: 0 6px; }
.pager a:hover { background: var(--hover); }
.pager a.on { background: var(--ink); color: #fff; }
.batch { display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 10px; margin: 0 12px 12px; }
.batch .btn { height: 28px; font-size: 13px; background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }

/* 状态 */
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; background: var(--sunk); color: var(--ink-2); font-size: 12px; white-space: nowrap; margin: 1px 4px 1px 0; }
.tag.red { background: var(--red-soft); color: var(--red); } .tag.green { background: var(--green-soft); color: var(--green); } .tag.warn { background: var(--warn-soft); color: var(--warn); } .tag.blue { background: var(--blue-soft); color: var(--blue); } .tag.acc { background: var(--accent-soft); color: var(--accent-text); } .tag.dark { background: var(--ink); color: #fff; }
.lv { display: inline-flex; width: 22px; height: 22px; border-radius: 6px; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.lv.A { background: var(--green-soft); color: var(--green); } .lv.B { background: var(--warn-soft); color: var(--warn); } .lv.C { background: var(--red-soft); color: var(--red); }
.tk { display: inline-flex; min-width: 22px; height: 22px; border-radius: 6px; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: #fff; }
.tk.A { background: var(--red); } .tk.B { background: var(--warn); } .tk.C { background: #B4552D; } .tk.D { background: var(--ink); } .tk.E { background: var(--ink-3); }

/* 详情 */
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 12px; font-size: 13.5px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; min-width: 0; }
.kv.two { grid-template-columns: 96px 1fr 96px 1fr; }
.sec-h { font-size: 13px; color: var(--ink-3); margin: 18px 0 10px; font-weight: 500; }
.sec-h:first-child { margin-top: 0; }
.tl { position: relative; padding-left: 20px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-i { position: relative; padding-bottom: 14px; }
.tl-i::before { content: ""; position: absolute; left: -19px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); }
.tl-i.done::before { background: var(--green); box-shadow: none; }
.tl-i.now::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,107,53,.18); }
.tl-i .t1 { display: flex; justify-content: space-between; gap: 8px; } .tl-i .t2 { color: var(--ink-3); font-size: 12.5px; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; }
.photos img { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; background: var(--sunk); }
.signbox { height: 96px; border-radius: 8px; background: var(--sunk); display: flex; align-items: center; justify-content: center; }
.note { background: var(--warn-soft); color: var(--warn); padding: 10px 14px; border-radius: 8px; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.note.red { background: var(--red-soft); color: var(--red); } .note.blue { background: var(--blue-soft); color: var(--blue); } .note.gray { background: var(--sunk); color: var(--ink-2); }
.meter { height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink-2); border-radius: 3px; }
.meter.acc i { background: var(--accent); } .meter.green i { background: var(--green); } .meter.red i { background: var(--red); }

/* 看板 */
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.col { background: var(--sunk); border-radius: var(--r-l); padding: 10px; min-height: 200px; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-weight: 600; }
.col-h i { font-style: normal; color: var(--ink-3); font-weight: 500; }
.card { background: var(--surface); border-radius: 10px; padding: 12px; box-shadow: 0 1px 2px rgba(60,40,20,.06); margin-bottom: 8px; cursor: pointer; transition: box-shadow 150ms, transform 150ms var(--ease); }
.card:hover { box-shadow: 0 4px 14px rgba(60,40,20,.1); transform: translateY(-1px); }
.card .c1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .c2 { color: var(--ink-2); font-size: 12.5px; margin-top: 6px; }
.card .c3 { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.card.warn { box-shadow: inset 3px 0 0 var(--red), 0 1px 2px rgba(60,40,20,.06); }

/* 排班 */
.sch { width: 100%; border-collapse: separate; border-spacing: 0; }
.sch th { font-weight: 500; color: var(--ink-3); font-size: 12.5px; padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.sch th.today { color: var(--ink); font-weight: 700; }
.sch td { border-bottom: 1px solid var(--line); padding: 6px; vertical-align: top; height: 64px; }
.sch td.today { background: #FFFBF6; }
.sch td:first-child { width: 170px; padding-left: 18px; }
.slot { font-size: 12px; border-radius: 6px; padding: 4px 6px; margin-bottom: 4px; background: var(--sunk); color: var(--ink-2); line-height: 1.35; cursor: pointer; }
.slot b { color: var(--ink); font-weight: 600; }
.slot.serving { background: var(--accent-soft); } .slot.serving b { color: var(--accent-text); }
.slot.leave { background: repeating-linear-gradient(45deg, #F4ECE3, #F4ECE3 6px, #EFE4D8 6px, #EFE4D8 12px); color: var(--ink-3); text-align: center; }

/* 浮层 */
.mask { position: fixed; inset: 0; background: rgba(31,25,20,.32); z-index: 50; opacity: 0; transition: opacity 200ms; }
.mask.in { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 92vw; background: var(--surface); z-index: 51; display: flex; flex-direction: column; transform: translateX(24px); opacity: 0; transition: transform 240ms var(--ease), opacity 200ms; box-shadow: -12px 0 40px rgba(40,25,10,.12); }
.drawer.in { transform: none; opacity: 1; }
.drawer.wide { width: 760px; }
.dh { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dh h3 { margin: 0; font-size: 16px; }
.dh .x { margin-left: auto; cursor: pointer; width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.dh .x:hover { background: var(--hover); }
.db { flex: 1; overflow-y: auto; padding: 20px; }
.df { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 20px; border-top: 1px solid var(--line); }
.modal { position: fixed; left: 50%; top: 50%; width: 480px; max-width: 92vw; max-height: 86vh; background: var(--surface); border-radius: var(--r-l); z-index: 51; display: flex; flex-direction: column; transform: translate(-50%, -48%) scale(.98); opacity: 0; transition: transform 220ms var(--ease), opacity 180ms; box-shadow: 0 20px 60px rgba(40,25,10,.2); }
.modal.in { transform: translate(-50%, -50%); opacity: 1; }
.modal.wide { width: 720px; }
.form { display: grid; grid-template-columns: 100px 1fr; gap: 14px 14px; align-items: center; }
.form label { color: var(--ink-2); font-size: 13.5px; text-align: right; }
.form label.lt { align-self: start; padding-top: 7px; }
.form .full { grid-column: 1 / -1; }
.form .inp, .form .sel { width: 100%; }
.form .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.radio { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.radio a { padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line-2); cursor: pointer; font-size: 13px; }
.radio a.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.sw { width: 36px; height: 20px; border-radius: 10px; background: var(--line-2); position: relative; cursor: pointer; display: inline-block; vertical-align: middle; transition: background 200ms; flex-shrink: 0; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 200ms var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sw.on { background: var(--green); } .sw.on::after { transform: translateX(16px); }
.toast { position: fixed; left: 50%; top: 72px; transform: translate(-50%, -8px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; z-index: 80; opacity: 0; transition: all 220ms var(--ease); display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }
.ck { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; vertical-align: middle; background: var(--surface); }
.ck.on { background: var(--ink); border-color: var(--ink); }
.ck.on::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

/* 规则配置 */
.rules { display: grid; gap: 0; }
.rule { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule .rn { font-weight: 600; } .rule .rd { color: var(--ink-2); font-size: 13px; }
.rule .rv { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rule .rv .inp { width: 72px; text-align: right; height: 30px; }
.chart { display: block; }
.chartbox { width: 100%; }
.chartbox text { font-family: inherit; font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row.click { cursor: pointer; } .list-row.click:hover { background: var(--hover); }
.cov { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--sunk); }
.duo { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.duo img { width: 22px; height: 22px; }
.wm { position: relative; overflow: hidden; }
.wm::after { content: attr(data-wm); position: absolute; inset: -50%; pointer-events: none; color: rgba(31,35,41,.06); font-size: 14px; line-height: 70px; white-space: pre-wrap; word-spacing: 50px; transform: rotate(-24deg); }
.role-tip { background: var(--ink); color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }

@media print {
  .side, .top, .ph .acts, .noprint { display: none !important; }
  .main { margin: 0; padding: 0; }
  .panel { box-shadow: none; }
  body { background: #fff; }
}

.hover-band { fill: transparent; cursor: default; transition: fill 120ms; }
.hover-band.on { fill: rgba(31,35,41,.05); }
.ctip { position: absolute; z-index: 60; pointer-events: none; opacity: 0; transition: opacity 120ms; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 12.5px; min-width: 128px; box-shadow: 0 6px 20px rgba(31,25,20,.18); }
.ctip b { display: block; font-weight: 600; margin-bottom: 4px; }
.ctip div { display: flex; align-items: center; gap: 6px; line-height: 1.7; color: rgba(255,255,255,.8); }
.ctip div span { margin-left: auto; padding-left: 12px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ctip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
