:root {
  --sb: #2d3748; --sb-act: #1a202c; --page: #f9fafb; --ring: #eaecf0; --line: #e4e7ec; --ink: #101828; --ink2: #344054; --ink3: #475467; --mute: #667085; --mute2: #98a2b3;
  --blue: #155eef; --blue-ink: #004eeb; --blue-soft: #eff4ff; --tab: #38a0db; --green: #079455;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --rob: 'Roboto', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink2); background: var(--page); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.grow { flex: 1 1 auto; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.inert { cursor: default; }
.card { background: #fff; border: 1px solid var(--ring); border-radius: 12px; box-shadow: 0 4px 6px -2px rgba(16,24,40,.03), 0 12px 16px -4px rgba(16,24,40,.03); }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; margin-right: 8px; border-radius: 14px; background: #f2f4f7; color: var(--ink3); font-size: 12px; font-weight: 500; white-space: nowrap; }
.chip.x svg { opacity: .7; }
.av { display: inline-block; flex: none; border-radius: 50%; text-align: center; color: #4b5563; font: 400 12px var(--sans); text-transform: uppercase; }
.cb { display: inline-block; width: 16px; height: 16px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; vertical-align: middle; flex: none; }
.btn-p, .btn-o, .btn-ob, .btn-ai, .btn-tint { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.btn-p.dis { opacity: .5; }
.btn-o { background: #fff; border: 1px solid #d0d5dd; color: var(--ink2); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.btn-o.sq { width: 32px; padding: 0; }
.btn-o.xs { height: 24px; font-size: 12px; font-weight: 600; padding: 0 8px; }
.btn-o.wide { display: flex; width: 100%; }
.btn-ob { border: 1px solid #528bff; color: var(--blue-ink); background: #fff; }
.btn-ai { border: 1px solid #a48afb; background: #f4f3ff; color: #6938ef; }
.btn-tint { background: var(--blue-soft); border: 1px solid #b2ccff; color: var(--blue-ink); }
[hidden] { display: none !important; }
.big { height: 40px; font-size: 15px; padding: 0 18px; }
.lnk { color: var(--blue); font-weight: 500; }
.kebab { display: inline-flex; width: 24px; justify-content: center; color: var(--ink3); }
.search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; color: var(--mute); min-width: 0; }
.search input { border: 0; outline: 0; background: none; width: 100%; min-width: 0; color: var(--ink2); }
.search input::placeholder { color: #667085; }
.search.sm { height: 34px; }
.search .fl { color: var(--ink3); display: inline-flex; }
.vsep { width: 1px; height: 20px; background: var(--ring); }
.st-ok { color: #067647; } .st-won { color: #067647; } .st-lost { color: #b42318; } .st-open { color: var(--ink3); }

.app { display: flex; min-height: 100vh; }
.sb { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: 224px; background: var(--sb); color: #fff; font-family: var(--rob); display: flex; flex-direction: column; }
.sb-logo { height: 66px; display: flex; align-items: center; justify-content: center; padding-top: 4px; }
.sb-logo img { width: 40px; height: auto; }
.loc { margin: 6px 8px 0; height: 41px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border-radius: 6px; background: #4a5568; }
.loc-av { width: 24px; height: 24px; border-radius: 50%; background: #718096; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.loc-t { display: flex; flex-direction: column; min-width: 0; line-height: 15px; }
.loc-t b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.loc-t small { font-size: 12px; color: #cbd5e0; }
.loc-c { margin-left: auto; color: #cbd5e0; display: inline-flex; }
.sb-search { margin: 17px 8px 0; display: flex; gap: 6px; height: 27px; }
.sbs-in { flex: 1; display: flex; align-items: center; gap: 6px; padding: 0 6px; border-radius: 4px; background: #4a5568; color: #9ca3af; font-size: 14px; }
.sbs-in kbd { margin-left: auto; font: 12px var(--rob); background: #9ca3af; color: #000; padding: 0 4px; border-radius: 2px; line-height: 16px; }
.sbs-bolt { width: 28px; border-radius: 4px; background: #4a5568; color: #37ca37; display: inline-flex; align-items: center; justify-content: center; }
.sbs-bolt svg { fill: #37ca37; }
.nav-scroll { flex: 1; overflow-y: scroll; margin-top: 25px; }
.nav-scroll::-webkit-scrollbar { width: 15px; background: #f1f1f1; }
.nav-scroll::-webkit-scrollbar-thumb { background: #a8a8a8; border: 3px solid #f1f1f1; border-radius: 8px; }
.nav-scroll::-webkit-scrollbar-button:single-button { height: 14px; background: #f1f1f1; }
.nav { display: flex; flex-direction: column; }
.nav-a { display: flex; align-items: center; height: 36px; padding: 8px 12px 8px 16px; gap: 8px; font-size: 14px; font-weight: 500; color: #fff; border-radius: 0 6px 6px 0; }
.nav-a > * { opacity: .7; }
.nav-a:hover > *, .nav-a.active > * { opacity: 1; }
.nav-a.active { background: var(--sb-act); }
.nav-ico { width: 20px; height: 20px; flex: none; }
.nav-ico.spark { display: inline-flex; color: #fff; }
.nav-badge { margin-left: auto; font-size: 9.6px; line-height: 15px; padding: 0 4px; border-radius: 3px; background: #ffbc00; color: #0c2d3f; border: 1px solid #af8205; opacity: 1 !important; }
.nav-sep { height: 1px; background: rgba(255,255,255,.6); margin: 16px 0 16px 16px; width: 177px; }
.nav-foot { padding: 18px 0 14px; }
.nav-foot .nav-a { border-radius: 0; }
.sb-collapse { position: absolute; right: -8px; bottom: 26px; width: 20px; height: 20px; border-radius: 50%; background: #37ca37; color: #0c2d3f; display: flex; align-items: center; justify-content: center; }
.go-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 0; height: 36px; padding: 0 12px 0 8px; border-radius: 0 6px 6px 0; background: #4a5568; font-weight: 500; font-size: 14px; }
.set-title { font-size: 20px; font-weight: 500; padding: 26px 8px 8px; }
.set-h { display: flex; align-items: center; gap: 14px; padding: 14px 8px 6px 16px; font-size: 11px; font-weight: 400; color: #fff; }
.set-h i { flex: 1; height: 1px; background: rgba(255,255,255,.7); }
.nav-a.set { padding-left: 16px; }
.nav-a.set > * { opacity: .9; }
.main { flex: 1; min-width: 0; margin-left: 224px; display: flex; flex-direction: column; min-height: 100vh; }
.scrim { display: none; }
.tb { position: sticky; top: 0; z-index: 30; display: flex; align-items: flex-end; height: 90px; padding: 0 16px; background: #fff; box-shadow: 0 2px 3px rgba(0,0,0,.11); font-family: var(--rob); }
.tb-slim { height: 50px; box-shadow: none; border-bottom: 1px solid #fff; }
.tb-menu { display: none; }
.tb-title { font-size: 18px; font-weight: 500; color: var(--ink); height: 52px; line-height: 40px; margin-right: 28px; white-space: nowrap; }
.tb-slim .tb-title { display: none; }
.tb-tabs { display: flex; align-items: flex-end; height: 52px; gap: 0; overflow-x: auto; scrollbar-width: none; }
.tb-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.tb-tab.active { color: var(--tab); }
.tb-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--tab); }
.tb-tab.sep { margin-left: 12px; }
.tb-tab.sep::before { content: ''; position: absolute; left: -6px; top: 4px; bottom: 4px; width: 1px; background: #d0d5dd; }
.tb-new { position: absolute; top: -6px; left: 50%; transform: translateX(-30%); font-size: 9px; line-height: 12px; padding: 0 4px; background: #ffbc00; color: #0c2d3f; border-radius: 3px; border: 1px solid #af8205; }
.tb-icons { position: absolute; right: 16px; top: 9px; display: flex; gap: 10px; }
.tbi { position: relative; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.tbi.ai { background: radial-gradient(circle at 30% 30%, #7c3aed, #3b0f8f); }
.tbi.ai svg { fill: #fff; }
.tbi .dot { position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: #ff0000; border: 1px solid #fff; }
.page { flex: 1; padding: 16px; min-width: 0; }

.pg-dash { padding: 0; }
.db-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; height: 58px; background: #fff; border-bottom: 1px solid var(--ring); position: relative; z-index: 5; flex-wrap: nowrap; }
.db-sw { position: relative; display: flex; }
.db-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #fff; border: 1px solid #d0d5dd; color: var(--ink3); font-size: 15px; box-shadow: 0 1px 2px rgba(16,24,40,.05); white-space: nowrap; }
.db-btn b { font-weight: 600; color: var(--ink3); }
.db-sw .db-btn:first-child { border-radius: 4px 0 0 4px; }
.db-btn.new { border-left: 0; border-radius: 0 4px 4px 0; color: var(--blue); }
.db-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.db-btn.date { border-radius: 4px; padding: 0 16px; }
.db-btn.sq { width: 40px; padding: 0; justify-content: center; border-radius: 4px; }
.db-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 4px; font-weight: 600; font-size: 16px; }
.db-kebab { color: var(--ink3); display: inline-flex; }
.db-menu { position: absolute; top: 44px; left: 0; width: 382px; background: #fff; border: 1px solid var(--ring); border-radius: 6px; box-shadow: 0 12px 16px -4px rgba(16,24,40,.08), 0 4px 6px -2px rgba(16,24,40,.03); padding: 12px 16px; z-index: 50; }
.db-search { display: flex; align-items: center; gap: 8px; height: 36px; border: 1px solid #d0d5dd; border-radius: 6px; padding: 0 10px; color: var(--mute); }
.db-search input { border: 0; outline: 0; width: 100%; }
.db-h { margin: 16px -16px 8px; padding: 6px 16px; background: #f9fafb; color: var(--mute); font-size: 14px; font-weight: 500; border-top: 1px solid var(--ring); }
.db-item { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; margin-bottom: 8px; border: 1px solid var(--ring); border-radius: 6px; color: var(--ink); font-size: 15px; }
.db-item span { flex: 1; }
.db-item:hover, .db-item.cur { background: #f9fafb; }
.db-panel { margin: 16px; background: #fff; border-radius: 12px; padding: 0 16px 16px; }
.qf { display: flex; align-items: center; height: 52px; }
.qf span { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-ink); font-weight: 600; font-size: 15px; padding-right: 12px; border-right: 1px solid var(--ring); }
.ld { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.ld-title { height: 38px; border: 1px solid #d0d5dd; border-radius: 4px; padding: 0 8px; font: 700 20px/36px var(--sans); color: #1e2a2f; }
.ld-text { height: 200px; border: 1px solid #d0d5dd; border-radius: 4px; padding: 16px; color: #475467; font-size: 15px; line-height: 24px; }
.ld-text p { margin: 0 0 14px; }
.ld-c4 { grid-column: span 4; height: 308px; }
.ld-c6 { grid-column: span 6; height: 470px; }
.ld-link { height: 92px; border: 1px solid #d0d5dd; border-radius: 4px; padding: 16px; }
.ld-link a { color: #a26014; font-size: 16px; }
.wd { height: 100%; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.wd-h { display: flex; align-items: flex-start; gap: 8px; padding: 16px 16px 12px; border-bottom: 1px solid var(--ring); min-height: 57px; }
.wd-h > div:first-child { flex: 1; min-width: 0; }
.wd-h h3 { margin: 0; font: 700 16px/24px var(--sans); color: #101828; }
.wd-h small { display: block; font-size: 12px; color: #101828; margin-top: 2px; }
.wd-b { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px; min-height: 0; overflow: hidden; position: relative; }
.wd.num .wd-b { padding: 0; }
.bignum { font-weight: 400; color: #344054; line-height: 1; letter-spacing: -1px; }
.donut-row { display: flex; align-items: center; justify-content: space-around; width: 100%; gap: 16px; }
.lg { font-family: var(--sans); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #1d2939; }
.lg li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.lg i { width: 22px; height: 11px; border-radius: 2px; flex: none; }
.lg2 li { align-items: flex-start; } .lg2 i { margin-top: 3px; }
.nodata { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #475467; font-size: 15px; }
.nodata b { font-weight: 600; }
.nd-ic { width: 40px; height: 40px; border-radius: 50%; background: #eef4ff; color: #444ce7; display: flex; align-items: center; justify-content: center; }
.wd-tools { display: flex; align-items: center; gap: 10px; }
.wd-sel { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; height: 32px; padding: 0 8px; border: 1px solid #d0d5dd; border-radius: 4px; color: #101828; font-size: 15px; max-width: 100%; overflow: hidden; }
.wd-sel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-ic { display: inline-flex; color: var(--ink3); } .wd-ic.blue { color: var(--blue); }
.kpi { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; }
.kpi small { display: block; color: #475467; font-size: 12.5px; }
.kpi b { font-weight: 400; font-size: 19px; color: #1d2939; }
.wd .wd-b:has(.kpi) { align-items: flex-start; padding-bottom: 60px; }
.dd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 92px; gap: 16px; }
.dd-i { min-width: 0; min-height: 0; }
.wd-bar { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-bottom: 12px; }
.wd-bar .wd-sel { font-size: 13px; height: 30px; }
.col-w { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; height: 100%; }
.col-w .nodata { flex: 1; justify-content: center; }
table.mini.ls td small { display: block; color: var(--ink3); font-size: 12px; }
.ls-pg { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; width: 100%; }
.ls-pg .pg { height: 30px; padding: 0 10px; font-size: 13px; }
.wd-b:has(.ls-pg) { flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; padding-top: 8px; }
table.mini.ls td { padding: 5px 10px; line-height: 16px; } table.mini.ls th { padding: 6px 10px; }
.gbp { width: 100%; align-self: flex-start; }
.gbp-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.gbp-g div { text-align: center; } .gbp-g small { display: block; color: var(--ink3); font-size: 12px; min-height: 32px; } .gbp-g b { font-weight: 400; font-size: 20px; color: #1d2939; }
.dd-c5 { grid-column: span 5; } .dd-c4 { grid-column: span 4; } .dd-c3 { grid-column: span 3; } .dd-c6 { grid-column: span 6; } .dd-c12 { grid-column: span 12; }
.h4 { height: 415px; } .h6 { height: 631px; } .h3 { height: 300px; }
.fn { width: 100%; align-self: flex-start; }
.fn-ax { display: flex; align-items: flex-end; margin-bottom: 12px; }
.fn-ticks { flex: 1; display: flex; justify-content: space-between; color: #475467; font-size: 11.5px; padding-right: 4px; }
.fn-hp { width: 80px; text-align: center; font-size: 12px; color: #101828; line-height: 12px; }
.fn-r { display: flex; height: 58px; margin-bottom: 2px; }
.fn-bar { flex: 1; background: #f2f2f2; position: relative; }
.fn-bar span { display: block; height: 100%; border-radius: 0 6px 6px 0; padding: 8px 12px; color: #101828; font-size: 12px; line-height: 18px; white-space: nowrap; overflow: visible; }
.fn-p { width: 80px; margin-left: 4px; background: #f2f2f2; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #101828; clip-path: polygon(0 0, 50% 8%, 100% 0, 100% 100%, 50% 92%, 0 100%); }
.ma { display: flex; gap: 48px; } .ma div { text-align: center; } .ma small { display: block; color: #475467; } .ma b { font-size: 22px; font-weight: 400; color: #1d2939; }
.tbl-scroll { width: 100%; overflow-x: auto; }
table.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
table.mini th, table.mini td { padding: 8px 10px; border-bottom: 1px solid var(--ring); text-align: left; white-space: nowrap; }
table.mini th { background: #f9fafb; color: var(--ink3); font-weight: 600; }
.dd-c12 .wd-b { align-items: flex-start; }

.pg-contacts { padding-top: 0; }
.ct-sub { display: flex; align-items: center; height: 54px; margin: 0 -16px 16px; padding: 0 16px; background: #fff; border-bottom: 1px solid #eef0f3; }
.ct-lists { display: flex; align-items: center; height: 100%; }
.sl { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
.sl.active { color: var(--blue-ink); font-weight: 600; }
.sl.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-ink); }
.sl .grip { color: var(--blue-ink); display: inline-flex; }
.sl.add { color: var(--ink3); border-left: 1px solid var(--ring); height: 28px; margin-left: 2px; padding-left: 8px; font-weight: 600; }
.ct-act { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ct-card { padding: 16px; }
.ct-tool { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pill-o, .pill-b { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--ring); border-radius: 16px; background: #fff; color: var(--ink2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.pill-o.on, .pill-b { background: var(--blue-soft); border-color: #b2ccff; color: var(--blue-ink); }
.pill-b.off { background: #fff; color: var(--ink2); border-color: var(--ring); }
.count-pill { height: 32px; line-height: 32px; padding: 0 14px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.colcount { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
.ct-tool .search { width: 288px; }
.tbl-wrap { border: 1px solid var(--ring); border-radius: 4px; overflow: auto; max-height: calc(100vh - 290px); min-height: 200px; }
table.grid { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: max-content; min-width: 100%; }
table.grid th { position: sticky; top: 0; z-index: 2; height: 41px; padding: 0 12px; background: #f9fafb; border-bottom: 1px solid var(--ring); text-align: left; font: 700 13px var(--sans); color: var(--ink3); }
table.grid th + th { border-left: 1px solid var(--ring); }
.th-in { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sorter { display: inline-flex; color: var(--ink3); padding: 2px; border-radius: 4px; }
.sorter.on { color: var(--blue); }
table.grid td { height: 37px; padding: 0 12px; border-bottom: 1px solid var(--ring); font-size: 14px; color: var(--ink2); background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.grid tbody tr { cursor: pointer; }
table.grid tbody tr:hover td { background: #f2f4f7; }
table.grid .chk { width: 40px; padding: 0 12px; }
table.grid .fz { position: sticky; left: 0; z-index: 1; }
table.grid th.fz { z-index: 3; }
table.grid .fz2 { left: 40px; }
table.grid td.fz2 { padding-left: 6px; border-right: 1px solid var(--ring); }
table.grid td.c-created { padding: 0 6px 0 10px; font-size: 13px; }
.nm { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; color: var(--ink2); }
.nm:hover .ell { color: var(--blue); }
.em { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.dt { font-variant-numeric: tabular-nums; }
td.empty { text-align: center; color: var(--mute); height: 80px; }
.pager { display: flex; align-items: center; gap: 12px; padding-top: 14px; font-size: 15px; color: var(--ink2); }
.per { position: relative; display: inline-flex; align-items: center; height: 36px; border: 1px solid #d0d5dd; border-radius: 6px; padding: 0 10px; gap: 6px; }
.per select { appearance: none; border: 0; background: none; padding-right: 18px; font-size: 15px; outline: 0; }
.per svg { position: absolute; right: 8px; pointer-events: none; }
.pg { height: 36px; min-width: 36px; padding: 0 16px; border: 1px solid #e8eaed; border-radius: 8px; background: #fff; color: var(--ink3); font-weight: 500; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.pg:disabled, .pg.dis { color: #98a2b3; cursor: default; }
.pg.cur { padding: 0 12px; border-color: var(--blue); color: var(--blue); }

.pg-contact { padding: 16px 0 16px 16px; }
.cr { display: grid; grid-template-columns: 316px minmax(300px, 1fr) minmax(260px, 347px) 44px; gap: 13px; height: calc(100vh - 106px); }
.cr > .card { min-height: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 8px; }
.cr-left { padding: 0; }
.cr-scroll { overflow-y: auto; padding: 14px 16px 16px; height: 100%; }
.cr-back { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.cr-prof { border: 1px solid var(--ring); border-radius: 4px; padding: 14px 12px; margin-bottom: 8px; }
.cr-name { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--ink); }
.cr-name b { font-weight: 700; flex: 1; letter-spacing: .3px; }
.cr-del { color: var(--ink3); display: inline-flex; }
.cr-of { display: flex; gap: 24px; margin-top: 12px; }
.cr-of label, .cr-tags label { display: block; font-size: 15px; color: var(--ink3); margin-bottom: 4px; }
.pill-sel { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border: 1px solid #d0d5dd; border-radius: 13px; font-size: 14px; color: var(--ink3); }
.cr-tags { margin-top: 12px; }
.plus { display: inline-flex; width: 15px; height: 15px; border: 1px solid var(--blue); color: var(--blue); border-radius: 50%; align-items: center; justify-content: center; vertical-align: -2px; }
.seg { display: flex; border: 1px solid var(--ring); border-radius: 4px; margin: 0 0 8px; height: 30px; }
.seg span { flex: 1; text-align: center; line-height: 28px; font-size: 15px; color: var(--ink3); border-left: 1px solid var(--ring); }
.seg span:first-child { border: 0; }
.seg .on { background: #f2f4f7; color: var(--ink); }
.cr-left .search { margin-bottom: 16px; height: 36px; border-radius: 4px; }
.grp { border: 1px solid var(--ring); border-radius: 4px; margin-bottom: 12px; background: #fff; }
.grp summary { list-style: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px 0 16px; background: #f9fafb; font-size: 15px; color: var(--ink); cursor: pointer; }
.grp summary::-webkit-details-marker { display: none; }
.grp-b { padding: 6px 16px 4px; }
.fld { padding: 10px 0 6px; }
.fld label { display: block; font-size: 14px; color: var(--ink3); margin-bottom: 6px; }
.fv { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink); min-height: 22px; gap: 8px; }
.fv > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv .ph { color: var(--ink); }
.fv .selr { color: #98a2b3; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.fv.sel svg { color: var(--ink3); }
.cr-foot { border-top: 1px solid var(--ring); margin: 10px -16px 0; padding: 12px 16px 0; font-size: 13px; color: var(--ink3); }
.cr-foot p { margin: 0 0 6px; }
.cr-foot a { color: var(--blue); }
.cr-mid { padding: 0; background: #fff; }
.cm-tabs { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 12px; border-bottom: 1px solid var(--ring); }
.cm-tab { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; color: var(--blue); font-size: 15px; border-bottom: 2px solid var(--blue); }
.cm-cust { display: inline-flex; align-items: center; gap: 6px; color: var(--ink3); font-size: 15px; padding-right: 12px; }
.cm-head { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--ring); font-size: 16px; color: var(--ink); }
.cm-head b { font-weight: 400; }
.cm-ic { display: inline-flex; align-items: center; gap: 2px; color: var(--ink3); margin-left: 8px; }
.cm-thread { flex: 1; overflow-y: auto; padding: 24px 16px; background: #f9fafb; }
.daypill { display: flex; width: max-content; margin: 8px auto 16px; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 16px; background: #f2f4f7; color: var(--ink3); font-size: 14px; }
.act { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px; margin-bottom: 13px; background: #fff; border: 1px solid var(--ring); border-radius: 17px; font-size: 14px; }
.act-ic { color: var(--ink2); display: inline-flex; }
.act-t { flex: 1; font-weight: 600; color: var(--ink); }
.act-d { color: var(--blue); font-weight: 500; }
.act-date { color: var(--ink3); white-space: nowrap; }
.act-pop { position: absolute; z-index: 20; top: 38px; right: 0; width: 300px; background: #fff; border: 1px solid var(--ring); border-radius: 8px; box-shadow: 0 12px 16px -4px rgba(16,24,40,.1); padding: 12px 14px; font-size: 13px; }
.act-pop b { display: block; color: var(--ink); margin-bottom: 6px; }
.act-pop dl { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 4px 8px; }
.act-pop dt { color: var(--mute); } .act-pop dd { margin: 0; color: var(--ink2); }
.thread-empty { text-align: center; color: var(--mute); padding: 40px 0; }
.cm-comp { display: flex; align-items: center; margin: 12px 16px 12px; border: 1px solid #d0d5dd; border-radius: 4px; height: 42px; background: #fff; }
.cm-ch { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; height: 100%; border-right: 1px solid #d0d5dd; color: var(--blue); }
.cm-comp input { flex: 1; border: 0; background: none; padding: 0 8px; font-size: 15px; outline: 0; min-width: 0; }
.cm-send { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; height: 28px; padding: 0 6px; border-radius: 4px; background: #84adff; color: #fff; }
.cm-send i { display: inline-flex; border-left: 1px solid rgba(255,255,255,.5); padding-left: 3px; }
.cr-right { padding: 14px 16px; background: #f9fafb; }
.rp-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 15px; color: var(--ink); }
.rp-h b { font-weight: 500; flex: 1; }
.rp-a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink3); }
.rp-x { display: inline-flex; color: var(--ink3); }
.rp .search { border-radius: 4px; }
.rp-empty { text-align: center; padding-top: 16px; color: var(--ink3); }
.rp-empty b { display: block; font-weight: 600; color: var(--ink3); font-size: 15px; margin-top: 10px; }
.rp-empty p { margin: 8px 18px 10px; font-size: 14px; line-height: 18px; }
.rp-ei { width: 40px; height: 40px; border-radius: 50%; background: #f2f4f7; color: var(--ink2); display: inline-flex; align-items: center; justify-content: center; }
.apt, .opp-mini { display: flex; gap: 10px; background: #fff; border: 1px solid var(--ring); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; }
.opp-mini { flex-direction: column; gap: 2px; }
.apt-bar { width: 4px; border-radius: 2px; background: #1d6b5f; }
.apt b, .opp-mini b { display: block; color: var(--ink); font-weight: 600; }
.apt small, .opp-mini small { display: block; color: var(--ink3); }
.rp-acts .ra { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ring); font-size: 13px; }
.ra-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.ra b { display: block; color: var(--ink); font-weight: 600; } .ra small { display: block; color: var(--ink3); }
.cr-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 2px; }
.rail-b { width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.rail-b.on { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.rail-b.inert { cursor: default; }
.rail-kb { margin-top: auto; width: 34px; height: 30px; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); box-shadow: 0 1px 3px rgba(16,24,40,.1); }

.pg-opps { padding: 0 16px 0; display: flex; flex-direction: column; height: calc(100vh - 90px); flex: none; overflow: hidden; }
.op-top { display: flex; align-items: center; gap: 12px; height: 72px; flex: none; }
.pipe-sel { display: inline-flex; align-items: center; justify-content: space-between; width: 256px; height: 38px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; font-size: 17px; color: var(--ink); }
.op-count { height: 30px; line-height: 30px; padding: 0 12px; border-radius: 15px; background: var(--blue-soft); color: var(--blue-ink); font-size: 15px; white-space: nowrap; }
.vt { display: inline-flex; border: 1px solid #d0d5dd; border-radius: 6px; overflow: hidden; background: #fff; }
.vt a { width: 37px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink3); }
.vt a + a { border-left: 1px solid #d0d5dd; }
.vt a.on { background: #eff4ff; color: var(--blue); }
.op-top .btn-o { color: var(--blue); }
.op-views { display: flex; align-items: center; gap: 12px; height: 40px; border-bottom: 1px solid var(--ring); flex: none; }
.ov-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px; font-size: 15px; color: var(--ink3); }
.ov-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.ov-tab svg { color: var(--blue); }
.ov-add { display: inline-flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid var(--ring); color: var(--ink3); font-size: 15px; }
.op-tool { display: flex; align-items: center; gap: 10px; height: 58px; flex: none; }
.op-tool .search { width: 292px; border-radius: 6px; height: 36px; }
.mf-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink3); white-space: nowrap; padding: 0 0 0 8px; }
.op-body { flex: 1; min-height: 0; }
.bd { display: flex; gap: 10px; height: 100%; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; }
.col { flex: 0 0 305px; width: 305px; min-width: 0; display: flex; flex-direction: column; min-height: 0; border-radius: 6px; }
.col.over { background: #eef4ff; outline: 2px dashed #84adff; }
.col-h { flex: none; display: flex; align-items: flex-start; justify-content: space-between; height: 58px; padding: 8px 10px 8px 8px; background: #fff; border: 1px solid var(--ring); border-radius: 4px; margin-bottom: 15px; color: var(--ink3); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.col-h b { display: block; font: 700 14px/20px var(--sans); color: #101828; }
.col-h small { display: flex; gap: 10px; font-size: 12px; margin-top: 4px; color: #667085; }
.col-h em { font-style: normal; font-weight: 500; color: #000; }
.col-b { flex: 1; overflow-y: auto; padding-right: 6px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.oc { flex: none; background: #fff; border: 1px solid var(--ring); border-radius: 5px; padding: 9px 9px 14px; box-shadow: 0 1px 3px rgba(16,24,40,.08); cursor: grab; }
.oc.dragging { opacity: .5; }
.oc:hover { box-shadow: 0 4px 10px rgba(16,24,40,.12); }
.oc-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 31px; }
.oc-n { font-size: 15px; color: var(--ink); }
.oc-av { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #98a2b3; color: #667085; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.oc-t { border-collapse: collapse; width: 100%; margin: 10px 0 2px; }
.oc-t td { height: 30px; font-size: 12px; color: #667085; padding: 0; }
.oc-t td:first-child { width: 109px; font-weight: 600; color: #475467; }
.oc-f { display: flex; gap: 12px; color: #344054; padding-top: 2px; }
.oc-f > span { display: inline-flex; position: relative; }
.oc-tag i { position: absolute; top: -7px; right: -6px; min-width: 14px; height: 14px; border-radius: 7px; background: var(--blue); color: #fff; font: 600 9px/14px var(--sans); text-align: center; font-style: normal; }
.ol-wrap { max-height: calc(100vh - 330px); }
table.ol td { font-size: 14px; } table.ol th { font-size: 13px; white-space: nowrap; } table.ol th svg { color: var(--ink3); }
.blue { color: var(--blue); }
.stp { display: inline-block; padding: 1px 12px; border: 1px solid var(--ring); border-radius: 14px; }
td.dt2 { line-height: 18px; white-space: normal; }
.ov { position: fixed; inset: 0; z-index: 100; background: rgba(16,24,40,.45); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.md { width: 1000px; max-width: 100%; max-height: calc(100vh - 40px); background: #fff; border-radius: 12px; display: flex; flex-direction: column; padding: 0 24px; box-shadow: 0 20px 24px -4px rgba(16,24,40,.1); }
.md-h { display: flex; justify-content: space-between; padding: 18px 0 12px; border-bottom: 1px solid var(--ring); }
.md-h h2 { margin: 0; font: 500 18px var(--sans); color: var(--ink); }
.md-h p { margin: 12px 0 0; color: var(--ink3); font: 14px var(--sans); }
.md-x { color: var(--ink2); align-self: flex-start; margin-top: 8px; }
.md-body { display: flex; min-height: 0; flex: 1; }
.md-nav { width: 230px; flex: none; display: flex; flex-direction: column; padding: 14px 24px 14px 0; border-right: 1px solid var(--ring); font: 13px var(--sans); color: var(--ink3); }
.md-nav span { padding: 8px 8px; border-radius: 4px; }
.md-nav .on { background: var(--blue-soft); color: #1e40af; font-weight: 600; }
.md-mf { margin-top: auto; color: var(--blue) !important; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.md-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.md-sh { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--ring); }
.md-sh b { display: inline-flex; gap: 8px; align-items: center; font: 500 16px var(--sans); color: var(--ink2); }
.hef { display: inline-flex; gap: 8px; align-items: center; font: 15px var(--sans); color: var(--ink2); }
.md-scroll { overflow-y: auto; padding: 16px 16px 16px 18px; flex: 1; }
.md-scroll h4 { margin: 18px 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--ring); font: 500 16px var(--sans); color: var(--ink2); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mf { margin-bottom: 16px; }
.mf label { display: block; font: 500 14px var(--sans); color: var(--ink2); margin-bottom: 6px; }
.mf label i { color: #d92d20; font-style: normal; margin-left: 4px; }
.mi { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; width: 100%; min-height: 40px; padding: 4px 12px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font-size: 16px; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.05); outline: 0; }
.mi.sel { justify-content: space-between; font-family: var(--sans); }
.mi.sel > svg:last-child { margin-left: auto; color: var(--mute); }
.mi.ph { color: #667085; }
.mi .chip { margin: 0; }
.msel { position: relative; display: block; }
.msel select { appearance: none; width: 100%; height: 40px; padding: 0 36px 0 12px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font: 16px var(--sans); color: var(--ink); }
.msel svg { position: absolute; right: 10px; top: 12px; pointer-events: none; color: var(--mute); }
.md-f { display: flex; align-items: center; gap: 12px; padding: 14px 0 18px; border-top: 1px solid var(--ring); }
.md-meta p { margin: 0 0 4px; font: 13px var(--sans); color: var(--ink2); }
.btn-del { width: 80px; height: 44px; border: 1px solid #fda29b; border-radius: 6px; color: #d92d20; display: inline-flex; align-items: center; justify-content: center; cursor: default; }
.md-f .btn-o.big { width: 128px; height: 44px; } .md-f .btn-p.big { width: 128px; height: 44px; }
.ov.side { justify-content: flex-end; padding: 0; background: rgba(16,24,40,.35); backdrop-filter: none; }
.fp { width: 530px; max-width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; }
.fp-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--ring); }
.fp-h h2 { margin: 0; font: 500 21px var(--sans); color: var(--ink); }
.md-x.sq { width: 24px; height: 24px; background: #f2f4f7; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; margin: 0; }
.fp-b { flex: 1; padding: 24px; overflow-y: auto; }
.fp-g { border: 1px solid var(--ring); border-radius: 6px; background: #f9fafb; padding: 10px; margin-bottom: 16px; }
.fp-r { display: flex; gap: 8px; margin-bottom: 8px; }
.fp-r .mi { flex: 1; justify-content: space-between; }
.fp-r .chip { cursor: pointer; background: #fff; border: 1px solid #d0d5dd; border-radius: 4px; }
.fp-r .btn-o.sq { width: 44px; height: 40px; }
.fp-nest { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); font: 500 15px var(--sans); padding: 6px; }
.fp-add { height: 38px; font: 500 15px var(--sans); }
.fp-f { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--ring); }
.fp-f .lnk { color: var(--ink2); font: 500 15px var(--sans); }

.pg-conv { padding: 12px 0 0 0; }
.cvx { display: grid; grid-template-columns: 48px 320px minmax(320px, 1fr) minmax(240px, 300px) 52px; gap: 0; height: calc(100vh - 102px); }
.cv-strip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 0; }
.cv-strip i { width: 36px; height: 1px; background: #d0d5dd; margin: 4px 0; }
.cs-b { width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); }
.cs-b.blue { background: var(--blue); color: #fff; }
.cs-b.on { border: 1px solid var(--blue); color: var(--blue); background: #fff; }
.cv-list { background: #f9fafb; border-right: 1px solid var(--ring); display: flex; flex-direction: column; min-height: 0; margin-left: 8px; border-radius: 6px 0 0 0; }
.cvl-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px 18px; font-size: 17px; color: var(--ink); }
.cvl-h b { font-weight: 500; } .ib { display: inline-flex; color: var(--ink2); }
.cvl-tabs { display: flex; margin: 0 16px; border-bottom: 1px solid var(--ring); }
.cvl-tabs span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 14px; color: var(--ink3); }
.cvl-tabs .on { color: var(--ink); border-bottom: 2px solid var(--blue); }
.cv-s { margin: 10px 16px 4px; border-radius: 6px; }
.cvl-sel { display: flex; align-items: center; gap: 10px; padding: 8px 32px; font-size: 15px; color: var(--ink2); }
.cvl-items { flex: 1; overflow-y: auto; }
.cv { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 32px; border-bottom: 1px solid #f2f4f7; }
.cv .cb { margin-right: 0; }
.cv:hover { background: #f2f4f7; }
.cv.on { background: #eff4ff; }
.cv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cv-t b { font-weight: 600; color: var(--ink); font-size: 14px; }
.cv-t small { color: var(--ink3); font-size: 12.5px; display: flex; align-items: center; gap: 4px; }
.cv-d { font-size: 12px; color: var(--mute); }
.cv-thread { background: #fff; display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--ring); }
.cm-comp.big { flex-direction: column; align-items: stretch; height: auto; }
.cc-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ring); }
.cc-tabs span { padding: 8px 14px; font-size: 13px; color: var(--ink3); }
.cc-tabs .on { color: var(--blue); border-bottom: 2px solid var(--blue); }
.cm-comp textarea { border: 0; resize: none; height: 64px; padding: 10px 12px; outline: 0; background: #fff; }
.cc-f { display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--ring); }
.cv-contact { background: #fff; margin-left: 13px; padding: 20px 16px; overflow-y: auto; border-radius: 6px 6px 0 0; }
.cc-top { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-bottom: 16px; }
.cc-top .av { font-size: 18px; }
.cc-top b { color: var(--ink); font-size: 16px; font-weight: 600; }
.cc-top small { color: var(--ink3); font-size: 13px; word-break: break-all; }
.cc-sec { padding: 10px 0; border-top: 1px solid var(--ring); font-size: 14px; color: var(--ink); }
.cc-sec label { display: block; color: var(--ink3); font-size: 13px; margin-bottom: 4px; }
.cc-sec a { color: var(--blue); }
.cc-sec small { color: var(--ink3); }
.cv-contact .btn-o.wide { margin-top: 12px; }
.cv-rail { padding-left: 6px; }

.pg-cal { padding: 16px 0 0 16px; display: flex; flex-direction: column; height: calc(100vh - 90px); flex: none; overflow: hidden; }
.cal-bar { display: flex; align-items: center; gap: 12px; height: 36px; margin-bottom: 12px; padding-right: 16px; flex: none; }
.cal-bar .btn-o, .cal-bar .btn-tint, .cal-bar .btn-ob, .cal-bar .btn-p { height: 36px; font-size: 15px; }
.cal-nav { display: inline-flex; align-items: center; justify-content: space-between; width: 240px; height: 36px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; padding: 0 12px; color: var(--ink2); }
.cal-nav b { font-size: 15px; color: var(--ink2); }
.cal-nav a { display: inline-flex; color: var(--ink2); }
.cal-dd { position: relative; }
.cal-dd .btn-o { width: 120px; justify-content: space-between; }
.dd-menu { position: absolute; top: 40px; left: 0; z-index: 30; width: 120px; background: #fff; border: 1px solid var(--ring); border-radius: 6px; box-shadow: 0 12px 16px -4px rgba(16,24,40,.08); padding: 4px; }
.dd-menu a { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 8px; border-radius: 4px; font-size: 14px; color: var(--ink); }
.dd-menu a.on { background: #eff4ff; color: var(--blue); }
.cal-main { flex: 1; min-height: 0; display: flex; border-top: 1px solid var(--ring); }
.cal-grid { flex: 1; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.wk { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-x: auto; }
.wk-head, .wk-all { display: grid; grid-template-columns: 75px repeat(var(--n), minmax(90px, 1fr)); flex: none; min-width: calc(75px + var(--n) * 90px); }
.gmt { font-size: 10px; color: #344054; padding: 6px 0 0 10px; line-height: 14px; border-right: 1px solid var(--ring); }
.gmt.ad { font-size: 14px; text-align: right; padding: 10px 6px 0 0; color: var(--ink2); }
.wkd-h { height: 40px; text-align: center; font-size: 18px; font-weight: 500; color: #101828; line-height: 40px; border-right: 1px solid var(--ring); border-bottom: 1px solid var(--ring); }
.wkd-h.past { color: #98a2b3; } .wkd-h.today { color: var(--blue); }
.wk-all { height: 44px; border-bottom: 3px solid #eaecf0; }
.ad-c { border-right: 1px solid var(--ring); }
.wk-scroll { flex: 1; min-height: 0; overflow-y: auto; min-width: calc(75px + var(--n) * 90px); }
.wk-body { display: grid; grid-template-columns: 75px 1fr; position: relative; }
.wk-hours .hr { height: 72px; position: relative; }
.wk-hours .hr span { position: absolute; top: 12px; right: 6px; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.wk-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(90px, 1fr)); position: relative; }
.wk-col { position: relative; border-right: 1px solid var(--ring); z-index: 1; }
.wk-lines { position: absolute; inset: 0; pointer-events: none; }
.wk-lines .hr { height: 72px; border-top: 1px solid #e4e7ec; background: linear-gradient(to bottom, transparent 36px, #f2f4f7 36px, #f2f4f7 37px, transparent 37px); }
.now { position: absolute; left: -1px; right: 0; height: 1px; background: #f00; z-index: 3; }
.now::before { content: ''; position: absolute; left: -2px; top: -5px; border: 5px solid transparent; border-left: 7px solid #f00; }
.wev { position: absolute; left: 3px; right: 3px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 8px 0 10px; border-radius: 3px; background: #1d6b5f; color: #fff; text-align: left; border-left: 4px solid #8a9597; font-size: 13px; line-height: 16px; overflow: hidden; }
.wev b { font-weight: 600; max-width: 100%; } .wev span { max-width: 100%; }
.mo { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-x: auto; }
.mo-h { display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); height: 40px; border-bottom: 1px solid var(--ring); }
.mo-h div { text-align: center; font-size: 18px; color: #475467; line-height: 40px; font-weight: 500; }
.mo-g { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); grid-template-rows: repeat(6, minmax(80px, 1fr)); }
.mo-c { border-right: 1px solid var(--ring); border-bottom: 1px solid var(--ring); padding: 6px 4px; display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; }
.mo-n { align-self: flex-end; font-size: 15px; color: var(--ink2); padding-right: 6px; }
.mo-c.out .mo-n { color: #d0d5dd; } .mo-c.today .mo-n { color: var(--blue); }
.mev { display: block; width: 100%; height: 24px; padding: 0 10px; border-radius: 3px; background: #1d6b5f; color: #fff; font-size: 13px; font-weight: 600; text-align: left; border-left: 3px solid #8a9597; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv { width: 320px; flex: none; border-left: 1px solid var(--ring); background: #fff; padding: 12px 8px 12px 8px; overflow-y: auto; }
.mv-h { display: flex; justify-content: space-between; align-items: center; font-size: 17px; color: var(--ink); margin-bottom: 14px; }
.mv-h b { font-weight: 500; }
.mv-box { background: #f9fafb; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink2); margin: 0 6px; }
.mv-box b { font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.mv-box label { display: flex; align-items: center; gap: 10px; }
.rd { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #d0d5dd; display: inline-block; }
.rd.on { border: 5px solid var(--blue); }
.mv-f { display: flex; justify-content: space-between; align-items: center; margin: 22px 6px 10px; font-size: 15px; color: var(--ink); }
.mv-f b { font-weight: 400; }
.mv-f .lnk { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 600; }
.mv .search { margin: 0 6px; border-radius: 6px; }
.mv-g { display: flex; align-items: center; gap: 8px; padding: 12px 10px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--ring); }
.mv-g.open { border: 0; }
.cnt { background: var(--blue-soft); color: var(--blue); border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.mv-cal { display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 15px; color: var(--ink2); }
.ck { width: 16px; height: 16px; border-radius: 4px; border: 1px solid #1d6b5f; color: #1d6b5f; display: inline-flex; align-items: center; justify-content: center; }
.evp { position: fixed; z-index: 60; width: 320px; background: #fff; border: 1px solid var(--ring); border-radius: 8px; box-shadow: 0 12px 16px -4px rgba(16,24,40,.12); padding: 12px 16px; font-size: 14px; }
.evp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.evp-h b { flex: 1; color: var(--ink); }
.evp .sw { width: 12px; height: 12px; border-radius: 3px; background: #1d6b5f; }
.evp p { display: flex; align-items: center; gap: 8px; margin: 6px 0; color: var(--ink2); }
.evp a { color: var(--blue); }
.pg-appts { padding: 24px 16px 16px 24px; }
.al-h { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.al-h h1 { margin: 0; font: 400 32px var(--sans); color: var(--ink); }
.al-sel { display: inline-flex; align-items: center; justify-content: space-between; width: 160px; height: 40px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; font-size: 16px; }
.al-tabs { display: flex; align-items: center; gap: 4px; height: 40px; border-bottom: 1px solid var(--ring); margin-bottom: 14px; }
.al-tabs a { height: 100%; line-height: 38px; padding: 0 4px; margin-right: 16px; font-size: 15px; color: var(--ink3); font-weight: 500; }
.al-tabs a.on { color: var(--blue); border-bottom: 2px solid var(--blue); }
.al-tabs i { width: 1px; height: 24px; background: var(--ring); margin-right: 8px; }
.al-sl { display: inline-flex; align-items: center; gap: 4px; color: var(--ink3); font-size: 15px; }
.al-cl, .al-mc { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); font-weight: 600; font-size: 15px; white-space: nowrap; }
.al-tool { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.al-tool .search { width: 262px; height: 40px; }
.al-card { border-radius: 4px; }
table.al-t, table.cs-t, table.wl-t { width: 100%; border-collapse: collapse; }
table.al-t th { height: 42px; padding: 0 20px 0 24px; text-align: left; font-weight: 400; font-size: 12px; color: var(--ink3); border-bottom: 1px solid var(--ring); background: #fff; }
table.al-t td { padding: 12px 20px 12px 24px; font-size: 14px; border-bottom: 1px solid var(--ring); white-space: nowrap; }
.al-empty { text-align: center; padding: 90px 0 70px !important; color: var(--ink2); }
.al-empty b { display: block; font: 500 17px var(--sans); color: var(--ink); margin: 18px 0 8px; }
.al-empty p { margin: 0 0 24px; font-size: 15px; }
.al-ill { color: #344054; }
.pg-cset { padding: 0 16px 16px; background: #fcfcfd; }
.cs-tabs { display: flex; gap: 8px; padding: 18px 0 26px; }
.cs-tabs span { padding: 6px 10px; border-radius: 6px; font-size: 15px; color: var(--ink3); font-weight: 500; }
.cs-tabs .on { background: var(--blue-soft); color: var(--blue); }
.cs-row { display: flex; gap: 28px; }
.cs-side { width: 200px; flex: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink3); }
.cs-all { background: var(--blue-soft); color: var(--blue); padding: 8px 8px; border-radius: 4px; border-bottom: 1px solid var(--ring); }
.cs-side b { font: 500 16px var(--sans); color: var(--ink); margin-top: 6px; }
.cs-ng i { font-style: normal; font-size: 11px; background: #f2f4f7; border-radius: 10px; padding: 1px 6px; margin-left: 6px; }
.cs-new { background: var(--blue-soft); color: var(--blue); text-align: center; padding: 8px; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cs-main { flex: 1; min-width: 0; }
.cs-tool { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ddb { display: inline-flex; align-items: center; gap: 12px; height: 36px; padding: 0 10px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font-size: 15px; color: var(--ink2); white-space: nowrap; }
.cs-tool .search { width: 236px; border-radius: 4px; }
.cs-card { border-radius: 4px; }
table.cs-t th { height: 42px; padding: 0 12px 0 24px; text-align: left; font-weight: 500; font-size: 13px; color: var(--ink3); background: #f9fafb; border-bottom: 1px solid var(--ring); white-space: nowrap; }
table.cs-t td { padding: 14px 12px 14px 24px; font-size: 14px; color: var(--ink2); border-bottom: 1px solid var(--ring); vertical-align: middle; }
table.cs-t td b { font-weight: 500; color: var(--ink); font-size: 15px; } table.cs-t td small { display: block; color: #98a2b3; font-size: 12px; }
.st-act { background: #ecfdf3; color: #12b76a; border-radius: 14px; padding: 4px 12px; }
.cs-card .pager { padding: 16px 40px 18px; }

.pg-wf { padding: 26px 32px 16px 32px; }
.wl-h { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.wl-h h1 { margin: 0; font: 500 30px var(--sans); color: #101828; }
.wl-tabs { display: flex; align-items: center; gap: 36px; height: 40px; border-bottom: 1px solid var(--ring); font: 15px var(--sans); color: var(--ink3); }
.wl-tabs span { height: 100%; line-height: 40px; padding: 0 12px; }
.wl-tabs .on { color: var(--blue); border-bottom: 2px solid var(--blue); }
.wl-tabs i { width: 1px; height: 24px; background: var(--ring); margin: 0 -14px; }
.wl-ns { display: inline-flex; align-items: center; gap: 12px; }
.wl-cl { display: inline-flex; align-items: center; gap: 10px; color: #98a2b3; }
.wl-tool { display: flex; align-items: center; gap: 10px; margin: 12px 0 12px; }
.wl-tool .pill-o { font: 14px var(--sans); height: 28px; }
.seg3 { display: inline-flex; gap: 8px; }
.seg3 span { width: 50px; height: 40px; border: 1px solid #d0d5dd; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); background: #fff; }
.seg3 .on { background: #f2f4f7; }
.wl-tool .search { width: 262px; height: 40px; border-radius: 4px; }
.wl-home { padding: 6px 20px; font: 15px var(--sans); color: var(--ink2); }
.wl-card { border-radius: 4px; padding-bottom: 8px; }
table.wl-t th { height: 42px; padding: 0 10px; text-align: left; font: 500 13px var(--sans); color: var(--ink3); border-bottom: 1px solid var(--ring); white-space: nowrap; }
table.wl-t th.chk { padding-left: 24px; width: 70px; }
table.wl-t td { padding: 0 10px; height: 74px; border-bottom: 1px solid var(--ring); font: 13px var(--sans); color: var(--ink2); }
table.wl-t td.chk { padding-left: 24px; }
table.wl-t tbody tr { cursor: pointer; }
table.wl-t tbody tr:hover td { background: #f9fafb; }
.wn { max-width: 330px; font-size: 14px !important; color: var(--ink) !important; line-height: 24px; }
.wn a:hover { color: var(--blue); }
.ext { color: var(--ink3); }
.wst { display: inline-block; padding: 3px 10px; border-radius: 14px; border: 1px solid #d0d5dd; font: 500 13px var(--sans); color: var(--ink2); background: #fff; }
.wst.published { border-color: #75e0a7; background: #ecfdf3; color: #12b76a; }
td.num { color: var(--blue) !important; }
.wl-t td.dt { font-size: 13.5px; color: #475467; max-width: 120px; }
.wl-card .pager { padding: 16px 24px 4px; }

.full { min-height: 100vh; }
.bl { display: flex; flex-direction: column; height: 100vh; font-family: var(--sans); background: #f9fafb; }
.bl-top { display: flex; align-items: center; gap: 22px; height: 55px; padding: 0 32px; background: #fff; border-bottom: 1px solid #f2f4f7; flex: none; }
.bl-back { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); }
.bl-sq { width: 36px; height: 36px; border: 1px solid #d0d5dd; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); background: #fff; flex: none; }
.bl-title { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink); max-width: 46vw; }
.bl-r { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.bl-saved { height: 38px; line-height: 38px; padding: 0 14px; border-radius: 4px; background: #84adff; color: #fff; font-size: 15px; }
.bl-sub { display: flex; align-items: center; height: 48px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--ring); position: relative; flex: none; }
.bl-sb { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; height: 32px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 4px; color: var(--ink3); font-size: 15px; }
.bl-tabs { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 36px; height: 100%; }
.bl-tabs span { height: 100%; line-height: 46px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.bl-tabs .on { color: var(--blue); border-bottom: 2px solid var(--blue); }
.bl-r2 { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.bl-r2 b { font-weight: 500; }
.bl-test { background: #eff4ff; color: var(--blue); padding: 6px 14px; border-radius: 4px; margin-right: 10px; }
.tgl { width: 32px; height: 18px; border-radius: 9px; background: #e4e7ec; position: relative; }
.tgl i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tgl.on { background: var(--blue); } .tgl.on i { left: 16px; }
.bl-body { flex: 1; min-height: 0; display: flex; }
.bl-strip { width: 64px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 14px; color: var(--ink2); }
.bl-strip .pur { color: #7a2bf5; }
.bl-canvas { position: relative; flex: 1; min-width: 0; margin: 10px 14px 12px 0; border-radius: 8px; background-color: #f8f9fb; background-image: linear-gradient(#eef0f3 1px, transparent 1px), linear-gradient(90deg, #eef0f3 1px, transparent 1px); background-size: 20px 20px; overflow: hidden; box-shadow: 0 0 0 1px #f2f4f7; cursor: grab; touch-action: none; }
.bl-canvas.panning { cursor: grabbing; }
.bl-cwrap { position: relative; flex: 1; min-width: 0; margin: 10px 14px 12px 0; }
.bl-cwrap > .bl-canvas { position: absolute; inset: 0; margin: 0; }
.bl-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.b-lines { position: absolute; left: 0; top: 0; }
.b-node, .b-trig, .b-add, .b-branch { position: absolute; background: #fff; border: 1px solid #e4e7ec; border-radius: 8px; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.b-node { display: flex; align-items: center; gap: 10px; padding: 0 12px; text-align: left; cursor: pointer; }
.b-node:hover { border-color: #84adff; }
.b-ic { width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.b-nm { flex: 1; font-size: 13px; color: var(--ink3); line-height: 16px; }
.b-more { color: #98a2b3; display: inline-flex; }
.b-trig { display: flex; flex-direction: column; font-size: 13px; color: var(--ink3); }
.bt-h { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid #f2f4f7; height: 62px; font-size: 13px; color: var(--ink3); line-height: 20px; }
.bt-h em { font-style: normal; color: #079455; }
.bt-b { flex: 1; padding: 10px 12px; line-height: 22px; color: var(--ink2); overflow: hidden; }
.bt-f { display: flex; align-items: center; gap: 10px; padding: 0 12px 10px; color: var(--ink3); }
.bt-s { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 15px; }
.b-add { display: flex; align-items: center; gap: 12px; height: 70px; padding: 0 12px; border: 1px dashed #528bff; background: #f5f8ff; color: var(--blue); font-size: 14px; box-shadow: none; }
.b-addp { width: 36px; height: 36px; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.b-branch { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-bottom: 3px solid #7a5af8; padding: 0 8px; font-size: 13px; color: var(--ink3); }
.b-branch b { display: inline-flex; align-items: center; gap: 4px; color: #6938ef; font-size: 14px; }
.b-branch span { max-width: 100%; }
.b-branch.ai { border: 1px solid #d0d5dd; border-radius: 16px; background: #eaecf0; box-shadow: none; padding: 0 10px; } .b-branch.ai b { color: #101828; font-size: 13px; font-weight: 500; white-space: nowrap; }
.b-plus { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #f9fafb; border: 1px solid #d0d5dd; color: var(--ink3); display: inline-flex; align-items: center; justify-content: center; }
.b-end { position: absolute; width: 60px; height: 26px; line-height: 26px; text-align: center; border-radius: 13px; background: #d0d5dd; color: #475467; font-size: 13px; }
.bl-kb { position: absolute; left: 14px; top: 14px; width: 38px; height: 38px; border: 1px solid #e4e7ec; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink2); }
.bl-add { position: absolute; right: 14px; top: 14px; height: 38px; padding: 0 14px; border: 1px solid #e4e7ec; border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 15px; }
.bl-zoom { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.bl-zoom button, .bz-g span { display: flex; align-items: center; justify-content: center; width: 46px; height: 44px; background: #fff; color: var(--ink2); }
.bz { border: 1px solid #e4e7ec; border-radius: 6px; }
.bz-g { display: flex; flex-direction: column; border: 1px solid #e4e7ec; border-radius: 6px; overflow: hidden; }
.bz-g span { font-size: 13px; border-top: 1px solid #e4e7ec; border-bottom: 1px solid #e4e7ec; }
.bl-mini { position: absolute; right: 14px; bottom: 14px; width: 150px; height: 112px; background: #fff; border: 1px solid #e4e7ec; border-radius: 4px; padding: 10px; overflow: hidden; }
.bl-mini-in { width: 100%; height: 100%; border: 1px solid #98a2b3; position: relative; overflow: hidden; }
.bl-mini-in i { position: absolute; background: #e4e7ec; }
.bl-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100%; background: #fff; border-left: 1px solid var(--ring); box-shadow: -8px 0 16px rgba(16,24,40,.06); z-index: 5; cursor: default; display: flex; flex-direction: column; }
.dr-h { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ring); }
.dr-h small { display: block; color: var(--ink3); font-size: 13px; } .dr-h b { font-size: 17px; color: var(--ink); font-weight: 500; }
.dr-b { padding: 16px 20px; overflow-y: auto; }
.dr-b label { display: block; font-size: 14px; font-weight: 500; color: var(--ink2); margin: 10px 0 6px; }
.mi.ta { min-height: 100px; align-items: flex-start; padding: 10px 12px; font-size: 14px; line-height: 21px; display: block; }

@media (max-width: 1280px) {
  .cr { grid-template-columns: 300px minmax(280px, 1fr) minmax(220px, 300px) 50px; }
  .cvx { grid-template-columns: 48px 280px minmax(280px, 1fr) 240px 50px; }
  .ld-c4 { height: 250px; } .ld-c4 .bignum { transform: scale(.75); }
  .op-tool .search { width: 220px; }
}
@media (max-width: 1100px) {
  .cvx { grid-template-columns: 48px 260px minmax(260px, 1fr) 50px; }
  .cv-contact { display: none; }
  .cr { grid-template-columns: 290px minmax(260px, 1fr) 50px; }
  .cr-right { display: none; }
  .mv { display: none; }
}
@media (max-width: 860px) {
  .sb { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 4px 0 20px rgba(0,0,0,.25); }
  .sb.open { transform: none; }
  .scrim { position: fixed; inset: 0; z-index: 35; background: rgba(16,24,40,.4); }
  .scrim.on { display: block; }
  .main { margin-left: 0; }
  .tb { height: auto; flex-wrap: wrap; align-items: center; padding: 8px 12px 0; }
  .tb-menu { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--ink2); margin-right: 6px; }
  .tb-title { height: 36px; line-height: 36px; font-size: 17px; margin-right: 0; }
  .tb-icons { position: static; margin-left: auto; gap: 6px; }
  .tbi { width: 28px; height: 28px; }
  .tb-tabs { order: 5; flex: 0 0 100%; height: 44px; }
  .tb-tab { height: 36px; padding: 0 10px; }
  .tb-slim { height: auto; padding-bottom: 8px; }
  .tb-slim .tb-tabs { display: none; }
  .page { padding: 12px; }
  .db-bar { flex-wrap: wrap; height: auto; gap: 8px; padding: 10px 12px; }
  .db-right { margin-left: 0; flex-wrap: wrap; gap: 8px; }
  .db-btn { height: 36px; font-size: 14px; padding: 0 10px; }
  .db-btn.primary { font-size: 14px; }
  .db-menu { width: min(382px, calc(100vw - 24px)); }
  .db-panel { margin: 12px; padding: 0 12px 12px; }
  .ld, .dd { grid-template-columns: minmax(0, 1fr); }
  .ld > *, .dd > * { min-width: 0; }
  .dd { grid-auto-rows: auto; }
  .dd-i { grid-column: 1 / -1 !important; grid-row: auto !important; min-height: 300px; }
  .gbp-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd svg { max-width: 100%; height: auto; }
  .wd-tools { flex-wrap: wrap; } .wd-sel { width: auto !important; max-width: 180px; }
  .sb-collapse { display: none; }
  table.wl-t { min-width: 860px; } table.al-t { min-width: 720px; } table.cs-t { min-width: 760px; }
  .ld > *, .dd > * { grid-column: 1 / -1 !important; }
  .ld-text { height: auto; }
  .ld-c4 { height: 240px; } .ld-c6, .h4, .h6, .h3 { height: auto; min-height: 300px; }
  .ld-c4 .bignum { transform: scale(.7); }
  .donut-row { flex-direction: column; }
  .wd-h { flex-wrap: wrap; }
  .wd-b:has(.kpi) { padding-bottom: 70px; }
  .bars { max-width: 100%; height: auto; }
  .ct-sub { margin: 0 -12px 12px; padding: 0 12px; overflow-x: auto; }
  .ct-act { display: none; }
  .ct-card { padding: 12px; }
  .ct-tool { flex-wrap: wrap; gap: 8px; }
  .ct-tool .grow, .ct-tool .vsep, .colcount { display: none; }
  .ct-tool .search { width: 100%; order: 9; }
  .tbl-wrap { max-height: 60vh; }
  .pager { flex-wrap: wrap; gap: 8px; font-size: 14px; }
  .pager .grow { flex-basis: 100%; height: 0; }
  .pg-contact { padding: 12px; }
  .cr { display: flex; flex-direction: column; height: auto; gap: 12px; }
  .cr > .card { max-height: none; }
  .cr-left .cr-scroll { max-height: 70vh; }
  .cr-mid { height: 70vh; }
  .cr-right { display: flex; min-height: 240px; }
  .cr-rail { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .rail-kb { display: none; }
  .pg-opps { height: auto; padding: 0 12px 12px; }
  .op-top { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 8px; }
  .op-top .grow { display: none; }
  .pipe-sel { width: 100%; }
  .op-top .btn-o, .op-top .kebab { display: none; }
  .op-tool { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .op-tool .search { width: 100%; order: 9; }
  .mf-btn { display: none; }
  .bd { height: 70vh; }
  .col { flex-basis: 280px; }
  .ol-wrap { max-height: 60vh; }
  .md { padding: 0 14px; }
  .md-nav { display: none; }
  .g2 { grid-template-columns: 1fr; }
  .md-f { flex-wrap: wrap; } .md-f .grow { display: none; }
  .md-f .btn-o.big, .md-f .btn-p.big { width: auto; flex: 1; }
  .pg-conv { padding: 0; }
  .cvx { display: flex; flex-direction: column; height: auto; }
  .cv-strip, .cv-rail { display: none; }
  .cv-list { margin: 0; max-height: 45vh; border-right: 0; border-bottom: 1px solid var(--ring); }
  .cv-thread { height: 65vh; border-left: 0; }
  .cv-contact { display: block; margin: 0; border-top: 1px solid var(--ring); }
  .pg-cal { height: auto; padding: 12px 0 0 12px; }
  .cal-bar { flex-wrap: wrap; height: auto; gap: 8px; padding-right: 12px; }
  .cal-bar .grow, .cal-bar .btn-ob, .cal-bar .btn-o.sq { display: none; }
  .cal-nav { width: 220px; }
  .cal-main { flex: none; height: 70vh; }
  .wk-hours .hr span { font-size: 11px; right: 4px; }
  .wk-head, .wk-all { grid-template-columns: 58px repeat(var(--n), minmax(90px, 1fr)); min-width: calc(58px + var(--n) * 90px); }
  .wk-body { grid-template-columns: 58px 1fr; }
  .wk-scroll { min-width: calc(58px + var(--n) * 90px); }
  .wkd-h { font-size: 14px; }
  .mo-h div { font-size: 14px; }
  .pg-appts { padding: 16px 12px; }
  .al-h { flex-wrap: wrap; } .al-h h1 { font-size: 26px; }
  .al-tabs { overflow-x: auto; } .al-cl { display: none; }
  .al-tool { flex-wrap: wrap; } .al-tool .grow, .al-mc { display: none; } .al-tool .search { width: 100%; }
  .cs-row { flex-direction: column; }
  .cs-side { width: 100%; }
  .cs-tool { flex-wrap: wrap; } .cs-tool .grow { display: none; } .cs-tool .search { width: 100%; }
  .pg-wf { padding: 16px 12px; }
  .wl-h { flex-wrap: wrap; } .wl-h h1 { font-size: 24px; flex-basis: 100%; }
  .wl-h .btn-o, .wl-h .btn-ai { display: none; }
  .wl-tabs { gap: 12px; overflow-x: auto; overflow-y: hidden; } .wl-tabs i, .wl-ns, .wl-cl { display: none; }
  .wl-tool { flex-wrap: wrap; } .seg3 { display: none; } .wl-tool .search { width: 100%; }
  .bl-top { padding: 0 12px; gap: 10px; } .bl-top .bl-sq, .bl-r .bl-sq { display: none; }
  .bl-title { position: static; transform: none; flex: 1; min-width: 0; font-size: 14px; }
  .bl-back { font-size: 14px; }
  .bl-sub { padding: 0 12px; overflow-x: auto; } .bl-sb, .bl-test { display: none; }
  .bl-tabs { position: static; transform: none; gap: 16px; } .bl-tabs span { font-size: 13px; }
  .bl-r2 { margin-left: 16px; font-size: 13px; }
  .bl-strip { display: none; }
  .bl-canvas { margin: 8px; }
  .bl-cwrap { margin: 8px; } .bl-cwrap > .bl-canvas { margin: 0; }
  .bl-mini { display: none; }
}


/* Run surfaces (00010.e W3): execution logs, bot step, call and SMS rows, contact timeline */
.bl-tabs a { height: 100%; line-height: 46px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.bl-tabs a.on { color: var(--blue); border-bottom: 2px solid var(--blue); }
.bl-sub.el-mode .bl-sb, .bl-sub.el-mode .bl-r2 { visibility: hidden; }
.bl-logs { flex: 1; min-height: 0; overflow: auto; background: #f9fafb; font-family: var(--rob); }
.el { padding: 34px 72px 40px; }
.el h1 { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.el-sub { margin: 4px 0 0; font-size: 15px; color: var(--mute); }
.el-f { display: flex; align-items: center; gap: 11px; margin: 64px 0 40px; }
.el-f > span:not(.grow), .el-search { height: 39px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; font-size: 16px; color: var(--ink2); }
.el-date { gap: 18px; padding: 0 12px; width: 277px; } .el-date .ic { color: var(--mute2); } .el-date .ic:last-child { margin-left: auto; }
.el-sel { width: 223px; padding: 0 10px; justify-content: space-between; } .el-sel .ic { color: var(--mute2); }
.el-search { width: 277px; padding: 0 10px; gap: 6px; color: var(--mute2); } .el-search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; background: none; }
.el-rf { width: 66px; justify-content: space-around; color: var(--ink3); } .el-rf i { width: 1px; height: 22px; background: var(--ring); }
.el-card { background: #fff; border: 1px solid var(--ring); border-radius: 8px; overflow: hidden; }
.el-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.el-t th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink3); background: #f9fafb; height: 41px; padding: 0 12px; border-bottom: 1px solid var(--ring); }
.el-t th:first-child, .el-t td:first-child { padding-left: 31px; }
.el-t td { height: 67px; padding: 0 12px; border-bottom: 1px solid var(--ring); white-space: nowrap; color: var(--ink2); }
.el-t tr:last-child td { border-bottom: 0; }
.el-rec { display: inline-flex; align-items: center; gap: 9px; color: var(--ink3); }
.el-av { width: 31px; height: 31px; border-radius: 50%; background: #f2f4f7; display: inline-flex; align-items: center; justify-content: center; color: var(--mute); }
.el-act { display: inline-flex; align-items: center; gap: 9px; } .el-act b { font-weight: 500; color: var(--ink2); }
.el-ai { width: 33px; height: 33px; border-radius: 50%; background: #f2f4f7; display: inline-flex; align-items: center; justify-content: center; color: var(--ink3); }
.el-st { display: inline-block; padding: 2px 8px; border: 1px solid #75e0a7; border-radius: 14px; background: #ecfdf3; color: #079455; font-size: 12px; font-weight: 500; }
.el-dt { font-weight: 500; color: var(--ink2); }
.el-a { display: inline-flex; align-items: center; gap: 20px; color: var(--ink3); } .el-vd { color: var(--blue); font-weight: 500; margin-right: 22px; } .el-dim { color: var(--mute2); }
.el-empty { text-align: center; color: var(--mute); }
@media (max-width: 1300px) { .el { padding: 28px 32px; } .el-f { flex-wrap: wrap; margin: 32px 0 26px; } }
@media (max-width: 860px) { .el { padding: 20px 12px; } .el-date, .el-sel, .el-search { width: 100%; } }
.st-un { color: #b54708; }
.act-t b { font-weight: 600; } .act-call .act-t, .act-appt .act-t { font-weight: 400; color: var(--ink); }
.act-call .act-ic { color: #079455; } .act-call.missed .act-ic { color: #d92d20; }
a.act-d { white-space: nowrap; }
.msg { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 14px; max-width: 78%; }
.msg.out { margin-left: auto; align-items: flex-end; }
.bub { padding: 9px 13px; border-radius: 12px 12px 12px 3px; background: #f2f4f7; color: var(--ink); font-size: 14px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.out .bub { border-radius: 12px 12px 3px 12px; background: #d1e0ff; }
.msg.bot .bub { background: #ebe9fe; }
.msg-m { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--mute); max-width: 100%; }
.msg-m span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; } .msg-m span.ell { display: block; min-width: 0; }
.msg-m i { width: 3px; height: 3px; border-radius: 50%; background: var(--mute2); flex: none; }
.bot-b { padding: 0 6px; border-radius: 9px; background: #ebe9fe; color: #5925dc; font-weight: 600; font-size: 11px; line-height: 17px; }
.msg .bub.bub-em, .msg.out .bub.bub-em { background: #fff; border: 1px solid var(--ring); border-radius: 8px; width: 420px; max-width: 100%; white-space: normal; }
.em-h { display: flex; align-items: center; gap: 6px; color: var(--ink); } .em-h .ic { color: var(--blue); } .em-h b { font-weight: 600; min-width: 0; }
.em-to { font-size: 12px; color: var(--mute); margin: 2px 0 6px; }
.em-b { font-size: 13.5px; color: var(--ink2); }
.cm-comp { position: relative; }
button.cm-ch { cursor: pointer; }
.cm-pick { position: absolute; left: 14px; bottom: 50px; z-index: 25; width: 218px; padding: 4px 0; background: #fff; border-radius: 6px; box-shadow: 0 4px 16px rgba(16,24,40,.14), 0 0 0 1px rgba(16,24,40,.04); }
.cp-o { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cp-o span { flex: 1; } .cp-o .ic { color: var(--ink3); } .cp-o.on { background: #eff4ff; } .cp-o.on .ic { color: var(--blue); }
.note { border: 1px solid var(--ring); border-radius: 8px; background: #fff; padding: 12px 14px; margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink2); }
.note p { margin: 0 0 8px; } .note small { display: block; color: var(--mute); font-size: 12px; }
.rp-tz { color: var(--mute); font-weight: 400; font-size: 14px; }
.rp-tl { overflow-y: auto; }
.tl-day { font-size: 12px; font-weight: 600; color: var(--mute); margin: 10px 0 2px; text-transform: none; }
.tl { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f2f4f7; font-size: 13.5px; line-height: 19px; color: var(--ink2); }
.tl-ic { width: 28px; height: 28px; border-radius: 50%; background: #f2f4f7; color: var(--ink3); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tl-ic.k-call, .tl-ic.k-sms { background: #ecfdf3; color: #079455; } .tl-ic.k-opportunity, .tl-ic.k-appointment { background: #eff4ff; color: var(--blue); }
.tl-b { flex: 1; min-width: 0; overflow-wrap: anywhere; } .tl-b small { display: block; color: var(--mute); font-size: 12px; }
.tl-t { color: var(--mute); font-size: 12px; white-space: nowrap; padding-top: 1px; }
.cv.unread .cv-t b { font-weight: 700; } .cv.unread .cv-t small { color: var(--ink); font-weight: 500; }
.cv-d { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.cv-n { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.cv-thread .cm-comp { flex: none; }
@media (max-width: 1300px) { .cr-mid .act-call .act-date, .cr-mid .act-appt .act-date { display: none; } }
