:root {
  --nav: #101a26;
  --nav-soft: #1d2b3b;
  --brand: #d9a85a;
  --ink: #1d2b38;
  --muted: #708091;
  --line: #e6ebef;
  --surface: #ffffff;
  --canvas: #f5f7f9;
  --blue: #3979b9;
  --green: #2c9871;
  --danger: #c95c5c;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 1180px; background: var(--canvas); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { display: grid; grid-template-columns: 238px 1fr; min-height: 100vh; }
.sidebar { background: var(--nav); color: #c9d3dc; padding: 18px 12px; overflow: auto; }
.brand-lockup { padding: 4px 10px 18px; border-bottom: 1px solid #2a3949; margin-bottom: 12px; }
.brand-name { color: #fff; font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.brand-slogan { color: #aebbc7; margin-top: 8px; font-size: 11px; line-height: 1.5; }
.nav-group { margin: 15px 0; }
.nav-group-title { color: #8091a2; font-size: 11px; padding: 0 10px 7px; letter-spacing: 1px; }
.nav-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 5px; margin: 2px 0; color: #c8d2dc; font-size: 13px; }
.nav-item:hover { background: var(--nav-soft); color: #fff; }
.nav-item.active { background: #28425a; color: #fff; border-left: 0; padding-left: 10px; }
.nav-item small { color: #8193a4; font-size: 10px; }
.workspace { min-width: 0; }
.topbar { height: 68px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-title { font-size: 20px; font-weight: 700; letter-spacing: .3px; }
.top-subtitle { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .4px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.role-select { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 7px 10px; color: var(--ink); }
.user-chip { padding: 7px 10px; background: #f1f5f8; border-radius: 20px; color: #496071; font-size: 12px; }
.content { padding: 22px 28px 36px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 17px; }
.page-kicker { color: var(--muted); font-size: 12px; }
.page-title { font-size: 22px; font-weight: 700; margin-top: 4px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { border: 1px solid #d7e0e7; background: #fff; color: #435462; border-radius: 4px; padding: 8px 13px; font-size: 12px; }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn.gold { border-color: var(--brand); background: var(--brand); color: #202b35; }
.btn.danger { color: var(--danger); }
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 14px; }
.filter-label { color: var(--muted); font-size: 12px; }
.filter-input, .filter-select { height: 34px; border: 1px solid #d6e0e7; border-radius: 4px; padding: 0 10px; background: #fff; color: var(--ink); min-width: 150px; }
.filter-input { min-width: 230px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab { padding: 10px 17px; color: var(--muted); font-size: 13px; border-bottom: 2px solid transparent; }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { margin-top: 11px; font-size: 25px; font-weight: 700; }
.stat-unit { font-size: 12px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.data-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card-title { padding: 15px 18px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 960px; }
th, td { text-align: left; white-space: nowrap; border-bottom: 1px solid #edf1f4; padding: 11px 13px; font-size: 12px; }
th { color: #637482; background: #fbfcfd; font-weight: 700; }
td { color: #304452; }
tbody tr:hover { background: #f6faff; }
.link-cell { color: var(--blue); cursor: pointer; }
.tag { display: inline-flex; align-items: center; border-radius: 12px; padding: 3px 8px; background: #eef5fb; color: var(--blue); font-size: 11px; }
.tag.green { background: #edf8f3; color: var(--green); }
.tag.gray { background: #f0f2f4; color: #76838d; }
.tag.gold { background: #fbf4e7; color: #ae7420; }
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; color: var(--muted); font-size: 12px; }
.pager-actions { display: flex; align-items: center; gap: 5px; }
.pager-btn { min-width: 30px; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 4px; color: var(--muted); }
.pager-btn.active { border-color: var(--blue); color: var(--blue); }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.chart-card { min-height: 230px; padding: 17px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.chart-title { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.chart-note { color: var(--muted); font-size: 11px; font-weight: 400; }
.chart { height: 165px; display: flex; align-items: flex-end; gap: 16px; padding: 20px 10px 4px; border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #fbfcfd); }
.bar { width: 32px; background: linear-gradient(#74abd6, #3979b9); border-radius: 3px 3px 0 0; position: relative; }
.bar span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); }
.drawer-mask { position: fixed; inset: 0; background: rgba(15, 27, 39, .28); z-index: 10; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: 560px; background: #fff; z-index: 11; box-shadow: -6px 0 22px rgba(23, 42, 57, .16); display: flex; flex-direction: column; }
.drawer.wide { width: 760px; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.drawer-head, .project-detail-head { cursor: grab; touch-action: none; user-select: none; }
.drawer.dragging, .project-detail-modal.dragging { will-change: left, top; }
.drawer.dragging .drawer-head, .project-detail-modal.dragging .project-detail-head { cursor: grabbing; }
.drawer-title { font-weight: 700; font-size: 17px; }
.drawer-subtitle { font-size: 11px; color: var(--muted); margin-top: 5px; }
.close { border: 0; background: transparent; font-size: 23px; color: var(--muted); }
.drawer-body { padding: 20px 22px; overflow: auto; flex: 1; }
.drawer-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.drawer-tab { padding: 9px 0; font-size: 12px; color: var(--muted); border-bottom: 2px solid transparent; }
.drawer-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.field label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.field-value { min-height: 33px; padding: 8px 10px; background: #f8fafb; border: 1px solid #edf0f2; border-radius: 4px; font-size: 12px; }
.drawer-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.modal-form { max-width: 100%; }
.form-group { margin-bottom: 18px; }
.form-group-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.form-control { width: 100%; height: 35px; border: 1px solid #d7e0e7; border-radius: 4px; padding: 0 9px; }
.empty { padding: 48px; text-align: center; color: var(--muted); font-size: 13px; }
.notice { padding: 12px 14px; background: #fff9ed; border: 1px solid #f3dfb7; color: #8d6b2e; border-radius: 5px; font-size: 12px; margin-bottom: 14px; }
@media (max-width: 1350px) { .shell { grid-template-columns: 212px 1fr; } .content { padding-left: 20px; padding-right: 20px; } .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 参考软件操作界面复刻层：保留原有信息结构，覆盖为原页面的浅色外壳与紧凑节奏。 */
:root { --nav: #f7f7fb; --nav-soft: #e9eaf2; --canvas: #f4f4f8; --line: #e8e8ee; --ink: #30343b; --muted: #7f858e; --blue: #4c79d8; }
body { background: var(--canvas); }
.shell { grid-template-columns: var(--sidebar-width, 240px) minmax(0, 1fr); position: relative; height: 100vh; min-height: 100vh; overflow: hidden; }
.sidebar { width: var(--sidebar-width, 240px); height: 100vh; min-width: 0; background: #f7f7fb; color: #4e545d; border-right: 1px solid #ededf2; padding: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease; }
.sidebar-scroll { flex: 1 1 auto; min-height: 0; padding: 13px 11px 12px; overflow-y: auto; overflow-x: hidden; scrollbar-color: #c7ccd4 transparent; scrollbar-width: thin; }
.workspace { min-width: 0; min-height: 0; overflow: auto; }
.sidebar-controls { position: fixed; inset: 0; z-index: 9; pointer-events: none; }
.sidebar-toggle-control { position: fixed; left: calc(var(--sidebar-width, 240px) - 32px); top: 9px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #606a75; font-size: 18px; line-height: 24px; text-align: center; pointer-events: auto; }
.sidebar-toggle-control:hover { background: #e7e9ef; color: #303841; }
.sidebar-resizer { position: fixed; top: 0; bottom: 0; left: calc(var(--sidebar-width, 240px) - 3px); width: 6px; cursor: ew-resize; pointer-events: auto; z-index: 10; }
.sidebar-resizer:hover, .sidebar-resizer:active { background: rgba(76,121,216,.18); }
.shell.sidebar-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.shell.sidebar-collapsed .sidebar { transform: translateX(calc(-1 * var(--sidebar-width, 240px))); visibility: hidden; }
.shell.sidebar-collapsed .sidebar-resizer { display: none; }
.shell.sidebar-collapsed .sidebar-toggle-control { left: 16px; top: 9px; }
.shell.sidebar-collapsed .toolbar-title { padding-left: 34px; }
.shell.app-fullscreen { grid-template-columns: 0 minmax(0, 1fr); }
.shell.app-fullscreen .sidebar, .shell.app-fullscreen .sidebar-controls { display: none; }
.shell.app-fullscreen .workspace { width: 100vw; height: 100vh; height: 100dvh; }
.shell.app-fullscreen .toolbar-title { padding-left: 0; }
.brand-lockup { display: none; }
.source-app { flex: 0 0 auto; padding: 13px 8px 12px; background: inherit; border-bottom: 1px solid #e7e7ec; }
.source-back { color: #7d858d; font-size: 27px; line-height: 1; }
.source-brand { width: 100%; margin: 0 auto; color: #111; text-align: center; }
.source-brand-name { display: flex; justify-content: center; align-items: baseline; gap: 9px; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 24px; font-weight: 900; line-height: 28px; }
.source-brand-cn { font-size: 20px; }
.source-brand-slogan { margin-top: 6px; font-size: 11px; line-height: 15px; }
.source-brand-slogan-en { margin-top: 5px; font-family: Arial, sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: .25px; line-height: 12px; white-space: nowrap; }
.work-links { border-bottom: 1px solid #e7e7ec; padding: 13px 10px 12px; margin-bottom: 8px; }
.work-link { display: flex; align-items: center; gap: 9px; height: 40px; color: #263345; font-size: 14px; line-height: 1; }
.work-link-icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; align-items: center; justify-content: center; color: #53606d; }
.work-link-icon svg { display: block; width: 18px; height: 18px; fill: currentColor; overflow: visible; }
.work-link-icon .work-icon-cut { fill: #f7f7fb; }
.work-link-icon .work-icon-check { fill: none; stroke: #f7f7fb; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nav-search-wrap { position: relative; z-index: 20; margin: 0 1px 8px; }
.nav-search-row { display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 8px; height: 32px; }
.nav-search-field { display: flex; align-items: center; min-width: 0; height: 32px; color: #59636e; }
.nav-search-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav-search-field input { min-width: 0; width: 100%; height: 32px; padding: 0 5px 0 7px; border: 0; outline: 0; background: transparent; color: #26313e; font-size: 13px; }
.nav-search-field input::placeholder { color: #8a94a1; }
.nav-search-field:focus-within { color: #364657; }
.nav-search-clear { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 24px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #6b7480; }
.nav-search-clear:hover { background: rgba(19,29,46,.05); color: #303a46; }
.nav-search-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.nav-add-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: rgba(19,29,46,.04); color: #435163; }
.nav-add-button:hover, .nav-add-button[aria-expanded="true"] { background: rgba(19,29,46,.08); color: #26313e; }
.nav-add-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav-search-results { position: absolute; top: 36px; left: 0; right: 0; max-height: 280px; overflow: auto; padding: 4px; border: 1px solid #e2e4e9; border-radius: 6px; background: #fff; box-shadow: 0 8px 22px rgba(37,48,62,.16); z-index: 32; }
.nav-search-result { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 36px; padding: 0 7px; border: 0; border-radius: 4px; background: transparent; color: #35404d; font-size: 12px; text-align: left; }
.nav-search-result > span { display: flex; align-items: center; min-width: 0; }
.nav-search-result .nav-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-search-result:hover { background: rgba(19,29,46,.05); }
.nav-search-result.active { background: rgba(19,29,46,.08); color: #1f2935; font-weight: 600; }
.nav-search-result.disabled { opacity: .52; }
.nav-search-result small { font-size: 10px; color: #8b939d; }
.nav-search-empty { padding: 14px 10px; color: #858e99; font-size: 12px; text-align: center; }
.nav-create-menu { position: absolute; top: 36px; right: 0; width: 174px; padding: 5px; border: 1px solid #e2e4e9; border-radius: 6px; background: #fff; box-shadow: 0 8px 22px rgba(37,48,62,.16); z-index: 34; }
.nav-create-menu[hidden] { display: none; }
.nav-create-menu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 9px; border: 0; border-radius: 4px; background: transparent; color: #303a46; font-size: 12px; text-align: left; }
.nav-create-menu button:hover { background: rgba(19,29,46,.05); }
.nav-create-menu button:last-child { margin-top: 4px; border-top: 1px solid #eceef1; border-radius: 0; }
.nav-create-icon { display: inline-flex; width: 17px; height: 17px; flex: 0 0 17px; color: #616c79; }
.nav-create-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-home, .nav-item, .nav-group-title, .nav-subgroup-title { display: flex; align-items: center; width: 100%; height: 40px; min-height: 40px; margin: 0; border: 0; border-radius: 6px; background: transparent; color: #25313f; font-size: 13px; text-align: left; }
.nav-home { padding: 0 9px; }
.nav-home:hover, .nav-item:hover, .nav-group-title:hover, .nav-subgroup-title:hover { background: rgba(19,29,46,.05); color: #1f2935; }
.nav-home.active, .nav-item.active { border: 0; background: rgba(19,29,46,.08); color: #1f2935; font-weight: 600; }
.nav-label { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-group { margin: 0; }
.nav-group-title { padding: 0 9px; letter-spacing: 0; }
.nav-group-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-group-leading { position: relative; display: inline-flex; width: 20px; height: 20px; flex: 0 0 20px; margin-right: 7px; }
.nav-group-leading .folder { position: absolute; inset: 0; margin: 0; transition: opacity .1s ease; }
.nav-group-leading .folder svg { shape-rendering: geometricPrecision; }
.folder-tab { fill: #f4b33d; stroke: #dfa023; stroke-width: .72; stroke-linejoin: round; }
.folder-body { fill: #ffca57; stroke: #dfa023; stroke-width: .72; }
.folder-open-back { fill: #f4b33d; stroke: #dfa023; stroke-width: .72; stroke-linejoin: round; }
.folder-open-cover { fill: #ffca57; stroke: #dfa023; stroke-width: .72; stroke-linejoin: round; }
.nav-group-arrow { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; color: rgba(19,29,46,.78); opacity: 0; transform: rotate(0deg); transition: opacity .1s ease, transform .14s ease; }
.nav-group-arrow svg { width: 16px; height: 16px; fill: currentColor; }
.nav-group-title:hover .folder, .nav-group-title:focus-visible .folder { opacity: 0; }
.nav-group-title:hover .nav-group-arrow, .nav-group-title:focus-visible .nav-group-arrow { opacity: 1; }
.nav-group.expanded .nav-group-arrow { transform: rotate(90deg); }
.nav-group-children[hidden] { display: none; }
.nav-subgroup { margin: 0; }
.nav-subgroup-title { padding: 0 9px 0 29px; }
.nav-subgroup-title:hover .folder, .nav-subgroup-title:focus-visible .folder { opacity: 0; }
.nav-subgroup-title:hover .nav-group-arrow, .nav-subgroup-title:focus-visible .nav-group-arrow { opacity: 1; }
.nav-subgroup.expanded .nav-group-arrow { transform: rotate(90deg); }
.nav-subgroup.active > .nav-subgroup-title { color: #1f2935; font-weight: 600; }
.nav-subgroup-children[hidden] { display: none; }
.nav-item { justify-content: space-between; padding: 0 9px; }
.nav-child { padding-left: 29px; }
.nav-grandchild { padding-left: 49px; }
.nav-item.disabled { opacity: .52; }
.nav-standalone { margin: 0; }
.nav-item > span { display: flex; align-items: center; min-width: 0; }
.nav-home:focus-visible, .nav-item:focus-visible, .nav-group-title:focus-visible, .nav-subgroup-title:focus-visible, .nav-add-button:focus-visible, .nav-search-clear:focus-visible, .nav-search-result:focus-visible, .nav-create-menu button:focus-visible { outline: 2px solid rgba(69,111,196,.55); outline-offset: -2px; }
.nav-icon { --icon: #5f6c7b; --icon-soft: #e7ebf0; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: 0 0 20px; margin-right: 7px; }
.nav-icon svg { display: block; width: 20px; height: 20px; overflow: visible; }
.nav-icon .icon-fill { fill: var(--icon); }
.nav-icon .icon-soft { fill: var(--icon-soft); }
.nav-icon .icon-line { fill: none; stroke: var(--icon); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon .icon-cut { fill: #fff; }
.nav-icon .icon-cut-line { fill: none; stroke: #fff; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon-sky { --icon: #1589c7; --icon-soft: #dff3fc; }
.nav-icon-blue { --icon: #3978c5; --icon-soft: #e3effc; }
.nav-icon-cobalt { --icon: #456fc4; --icon-soft: #e5ecfb; }
.nav-icon-purple { --icon: #7659d7; --icon-soft: #eee9ff; }
.nav-icon-indigo { --icon: #5a63c2; --icon-soft: #e8eaff; }
.nav-icon-cyan { --icon: #178a9b; --icon-soft: #def5f6; }
.nav-icon-teal { --icon: #16877f; --icon-soft: #dff3f0; }
.nav-icon-green { --icon: #3b844d; --icon-soft: #e4f3e7; }
.nav-icon-orange { --icon: #cf741c; --icon-soft: #fff0dd; }
.nav-icon-amber { --icon: #c77b0d; --icon-soft: #ffe9b9; }
.nav-icon-rose { --icon: #c25578; --icon-soft: #fbe5ed; }
.nav-icon-customer { --customer-icon-primary: #02a1f0; --customer-icon-secondary: #38bcff; --customer-icon-highlight: #83d8fc; width: 16px; height: 16px; flex-basis: 16px; margin-right: 8px; }
.nav-icon-customer svg { width: 16px; height: 16px; }
.sidebar-footer { position: static; flex: 0 0 42px; display: flex; align-items: center; width: 100%; height: 42px; padding: 0 9px; border: 0; border-top: 1px solid #e8e8ed; background: #f7f7fb; color: #586574; font-size: 12px; text-align: left; cursor: pointer; }
.sidebar-footer:hover, .sidebar-footer.active { background: rgba(19,29,46,.08); color: #1f2935; font-weight: 600; }
.hr-workbench-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-workbench { color: #263445; }
.hr-wb-hero, .hr-wb-card, .hr-wb-metrics { background: #fff; border: 1px solid #e8ebf0; border-radius: 4px; }
.hr-wb-hero { padding: 10px 28px; }
.hr-wb-hero h2 { margin: 0; font-size: 26px; color: #344559; }
.hr-wb-shortcuts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-top: 0; }
.hr-wb-shortcuts button { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 78px; padding: 6px; background: transparent; border: 0; border-radius: 4px; color: #28384a; cursor: pointer; font: inherit; }
.hr-wb-shortcuts button:hover:not(:disabled) { background: #f3f7fc; }
.hr-wb-shortcuts button:disabled { cursor: default; color: #87929e; }
.hr-wb-shortcuts small { font-size: 11px; }
.hr-wb-shortcut-icon { display: block; width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.hr-wb-shortcuts button > span { font-size: 16px; }
.hr-wb-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin: 20px 0; }
.hr-wb-filters label { display: grid; gap: 8px; min-width: 160px; font-size: 12px; }
.hr-wb-filters select, .hr-wb-filters input { width: 100%; max-width: 260px; min-height: 34px; border: 1px solid #dfe5ec; border-radius: 4px; background: white; padding: 5px 10px; color: inherit; }
.hr-wb-filters > span { font-size: 11px; color: #758393; margin: auto 0 9px auto; }
.hr-wb-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 10px 0; }
.hr-workbench .hr-wb-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-wb-metrics article { display: grid; gap: 8px; text-align: center; padding: 4px 8px; border-right: 1px solid #edf0f5; }
.hr-wb-metrics article:last-child { border-right: 0; }
.hr-wb-metrics span { font-size: 12px; color: #5b6877; }
.hr-wb-metrics strong { font-size: 32px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hr-wb-note { color: #7b8794; font-size: 11px; line-height: 1.7; margin: 10px 0 16px; }
.hr-wb-main { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.hr-wb-card { min-width: 0; padding: 16px; }
.hr-wb-card h2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 500; }
.hr-wb-card h2 small { font-size: 11px; color: #86919d; font-weight: 400; }
.hr-wb-card h2 > span { display: flex; gap: 5px; }
.hr-wb-table { overflow: auto; height: 265px; }
.hr-wb-table table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
.hr-wb-table th { position: sticky; top: 0; background: #f6f8fb; z-index: 1; font-weight: 500; }
.hr-wb-table td, .hr-wb-table th { padding: 10px; border-bottom: 1px solid #e9edf2; text-align: left; }
.hr-wb-table td small { display: block; font-size: 10px; color: #7c8895; margin-top: 4px; }
.hr-wb-table .btn, .hr-wb-card h2 .btn { padding: 4px 8px; font-size: 11px; }
.hr-wb-empty { text-align: center; color: #8c98a5; padding: 35px 15px; }
.hr-wb-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hr-wb-bars { height: 210px; overflow: auto; padding: 12px 0; }
.hr-wb-bar-row { display: grid; grid-template-columns: 100px 1fr 25px; gap: 12px; align-items: center; margin: 13px 0; font-size: 12px; }
.hr-wb-bar-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-wb-bar-row > div { height: 14px; background: #f5f7fa; border-radius: 2px; overflow: hidden; }
.hr-wb-bar-row i { display: block; height: 100%; background: #85b7e9; }
.hr-wb-tone-0 i { background: #e7b778; } .hr-wb-tone-1 i { background: #86c9e7; }
.hr-wb-tone-3 i { background: #a99cd8; } .hr-wb-tone-4 i { background: #72bcb4; } .hr-wb-tone-5 i { background: #e6a8b7; }
.hr-wb-bar-row strong { font-weight: 500; }
.hr-wb-chart-body { min-height: 240px; }
.hr-wb-chart .hr-wb-bars { height: 240px; }
.hr-wb-plot { overflow-x: auto; }
.hr-wb-plot svg { width: 100%; height: 240px; display: block; }
.hr-wb-plot text { fill: #7b8794; font-size: 11px; font-family: inherit; }
.hr-wb-plot .hr-wb-value-label { fill: #3d5066; font-size: 12px; }
.hr-wb-radial-layout { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 16px 0; }
.hr-wb-radial { width: 170px; height: 170px; border-radius: 50%; flex: 0 0 170px; display: grid; place-items: center; }
.hr-wb-donut > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 112px; height: 112px; border-radius: 50%; background: white; }
.hr-wb-donut strong { font-size: 27px; font-weight: 500; }
.hr-wb-donut small { font-size: 11px; color: #8a96a4; }
.hr-wb-chart-legend { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; }
.hr-wb-chart-legend li { display: grid; grid-template-columns: 9px minmax(50px, 1fr) auto auto; align-items: center; gap: 9px; padding: 9px 0; font-size: 12px; }
.hr-wb-chart-legend i { width: 9px; height: 9px; border-radius: 2px; }
.hr-wb-chart-legend strong { font-weight: 500; }
.hr-wb-chart-legend small { color: #83909f; font-size: 11px; }
.hr-wb-chart { container-type: inline-size; container-name: hr-chart; }
.hr-wb-radial-reference { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hr-wb-radial-reference > svg { display: block; width: 100%; height: 245px; }
.hr-wb-radial-reference text { fill: #808998; font-size: 13px; font-family: inherit; }
.hr-wb-reference-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 17px; margin: 6px 0 12px; padding: 0; list-style: none; }
.hr-wb-reference-legend li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.hr-wb-reference-legend i { display: block; width: 12px; height: 12px; }
@container hr-chart (min-width: 560px) {
  .hr-wb-radial-reference { grid-template-columns: minmax(0, 1fr) minmax(85px, 120px); gap: 12px; }
  .hr-wb-reference-legend { flex-direction: column; align-items: flex-start; justify-content: center; margin: 0; }
  .hr-wb-reference-legend li { max-width: 120px; }
  .hr-wb-reference-legend i { flex-shrink: 0; }
}
.hr-wb-footer { display: flex; gap: 10px; margin: 20px 0; }
.hr-wb-contract-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; background: white; border: 1px solid #e8ebf0; }
.hr-wb-contract-summary small { color: #8a95a3; }
.hr-contract-drawer { width: min(1100px, 94vw); }
.hr-contract-drawer .field { display: grid; gap: 8px; margin-bottom: 14px; }
.hr-contract-drawer .drawer-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
@media (max-width: 1200px) { .hr-wb-main { grid-template-columns: 1fr; } .hr-wb-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hr-wb-shortcuts, .hr-wb-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hr-wb-charts { grid-template-columns: 1fr; } .hr-wb-filters > span { margin-left: 0; } .hr-wb-metrics { row-gap: 20px; } }
.hr-workbench-links button { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; min-height: 92px; padding: 18px 20px; border: 0; border-right: 1px solid #eceef1; background: #fff; color: #25313f; text-align: left; cursor: pointer; }
.hr-workbench-links button:last-child { border-right: 0; }
.hr-workbench-links button:hover { background: #f7f8fa; }
.hr-workbench-links button:focus-visible { outline: 2px solid rgba(69,111,196,.55); outline-offset: -2px; }
.hr-workbench-links span { align-self: end; font-size: 13px; font-weight: 600; }
.hr-workbench-links strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: #253f73; font-size: 24px; font-variant-numeric: tabular-nums; }
.hr-workbench-links small { color: #7c8794; font-size: 11px; }
.hr-workspace-pending { min-height: 180px; }
@media (max-width: 900px) { .hr-workbench-links { grid-template-columns: 1fr; } .hr-workbench-links button { border-right: 0; border-bottom: 1px solid #eceef1; } .hr-workbench-links button:last-child { border-bottom: 0; } }
.trial-home-card { overflow: hidden; }
.trial-home-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 18px; }
.trial-home-shortcuts > span { color: #7b8490; font-size: 13px; }
.trial-home-shortcut { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 10px; min-height: 78px; padding: 14px; border: 1px solid #e3e8ef; border-radius: 7px; background: #fff; color: #263548; text-align: left; }
.trial-home-shortcut:hover { border-color: #9fb5dc; background: #f5f8fd; }
.trial-home-shortcut > span { grid-row: 1 / span 2; align-self: center; color: #4c79d8; }
.trial-home-shortcut > span svg { width: 24px; height: 24px; }
.trial-home-shortcut strong { align-self: end; font-size: 14px; }
.trial-home-shortcut small { color: #7a8592; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trial-home-editor { display: grid; gap: 8px; padding: 14px 18px 18px; }
.trial-home-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 54px; padding: 8px 10px 8px 14px; border: 1px solid #e3e8ef; border-radius: 6px; background: #fff; }
.trial-home-edit-row.is-hidden { background: #f6f7f9; opacity: .72; }
.trial-home-edit-label { display: flex; align-items: center; min-width: 0; gap: 10px; }
.trial-home-edit-label > svg { width: 20px; height: 20px; flex: 0 0 auto; color: #4c79d8; }
.trial-home-edit-label > span { display: grid; gap: 3px; min-width: 0; }
.trial-home-edit-label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.trial-home-edit-label small { color: #87919d; font-size: 11px; }
.trial-home-edit-actions { display: flex; gap: 6px; }
.trial-home-edit-actions button { min-width: 36px; min-height: 34px; padding: 4px 9px; border: 1px solid #d8e0e9; border-radius: 5px; background: #fff; color: #435269; }
.trial-home-edit-actions button:hover:not(:disabled) { border-color: #8fa9d5; color: #315da8; }
.trial-home-edit-actions button:disabled { cursor: default; opacity: .35; }
.page-hr .content { min-height: 0; padding: 4px 10px 0 0; overflow: hidden; background: #f4f4f8; }
.shell.page-hr .sidebar, .shell.page-hr .sidebar-scroll, .shell.page-hr .sidebar-footer { background: #f3f3f8; }
.shell.page-hr .workspace { overflow: hidden; background: #f4f4f8; }
.shell.page-hr .topbar { height: 51px; margin: 5px 10px 0; padding: 0 12px; border-color: #e5e8ed; border-radius: 7px 7px 0 0; background: rgba(255,255,255,.96); }
.shell.page-hr .toolbar-title { gap: 8px; color: #131d2e; font-size: 14px; }
.shell.page-hr .toolbar-title .form-mode { width: 154px; height: 32px; padding: 0 28px 0 12px; border: 0; border-radius: 6px; background: rgba(19,29,46,.08); color: #131d2e; font-size: 14px; }
.shell.page-hr .hr-header-button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px; border-radius: 6px; color: rgba(19,29,46,.78); font-size: 14px; }
.shell.page-hr .hr-header-button:hover { background: rgba(19,29,46,.06); }
.hr-archive-page { position: relative; min-width: 0; overflow: hidden; border-radius: 4px 4px 0 0; background: #fff; color: #131d2e; }
.hr-reference-icon { display: inline-block; width: 16px; height: 20px; flex: 0 0 16px; font-family: 'NAFA Reference FX PC'; font-size: 16px; font-style: normal; font-weight: 400; line-height: 20px; text-align: center; }
.hr-reference-icon-pencil::before { content: '\e6c3'; }
.hr-reference-icon-data-manager::before { content: '\e688'; }
.hr-reference-icon-view-kanban::before { content: '\e6cb'; }
.hr-reference-icon-view-table::before { content: '\e655'; }
.hr-reference-icon-flow-other::before { content: '\e6c0'; }
.hr-reference-icon-plus-circle::before { content: '\e610'; }
.hr-reference-icon-plus::before { content: '\e783'; }
.hr-reference-icon-upload::before { content: '\e75b'; }
.hr-reference-icon-arrow-down::before { content: '\e62c'; }
.hr-reference-icon-trash::before { content: '\e624'; }
.hr-reference-icon-record::before { content: '\e65c'; }
.hr-reference-icon-filter::before { content: '\e68a'; }
.hr-reference-icon-page-view::before { content: '\e71a'; }
.hr-reference-icon-sort::before { content: '\e6cf'; }
.hr-reference-icon-table-group::before { content: '\e7be'; }
.hr-reference-icon-async::before { content: '\e6ec'; }
.hr-reference-icon-ellipsis::before { content: '\e884'; }
.hr-reference-icon-action-edit::before { content: '\e724'; }
.hr-reference-icon-action-exit::before { content: '\e866'; }
.hr-reference-icon-arrow-down-double::before { content: '\e7b1'; }
.hr-reference-icon-arrow-up-double::before { content: '\e7b2'; }
.hr-reference-icon-row-height::before { content: '\e851'; }
.hr-reference-icon-list-settings::before { content: '\e71f'; }
.hr-reference-icon-clear::before { content: '\e6e0'; }
.hr-reference-icon-drag::before { content: '\e018'; }
.hr-view-tabs { display: flex; align-items: stretch; height: 46px; padding: 0 12px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid #e5e8ed; background: #fff; scrollbar-width: none; }
.hr-view-tabs::-webkit-scrollbar { display: none; }
.hr-department-tabs { background: #fafbfc; }
.hr-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; padding: 16px; background: #fafbfc; }
.hr-album-card { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #e5e8ed; border-radius: 8px; background: #fff; color: #131d2e; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 2px 5px rgba(19,29,46,.04); }
.hr-album-card:hover { border-color: #03aba0; box-shadow: 0 3px 10px rgba(19,29,46,.1); }
.hr-album-card:focus-visible { outline: 2px solid #03aba0; outline-offset: 2px; }
.hr-album-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #edf1f5; }
.hr-album-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #8293a6; font-size: 36px; }
.hr-album-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hr-album-info { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px 14px; line-height: 20px; }
.hr-album-info strong { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.hr-album-info > span { color: #687382; font-size: 13px; overflow-wrap: anywhere; }
.hr-album-meta { display: flex; align-items: flex-start; gap: 5px; }
.hr-album-meta > svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 3px; }
.hr-album-meta > span { min-width: 0; }
.hr-album-notice { margin: 0; padding: 10px 16px 0; color: #7a683d; background: #fafbfc; font-size: 12px; line-height: 18px; }
.hr-album-empty { grid-column: 1 / -1; padding: 60px 16px; text-align: center; color: #687382; }
.hr-album-toolbar > span { white-space: nowrap; color: #687382; font-size: 13px; }
@media (max-width: 600px) { .hr-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; } .hr-album-toolbar { gap: 8px; } .hr-album-toolbar .hr-list-search { min-width: 0; } .hr-album-toolbar .hr-list-search label { width: 100%; min-width: 0; } .hr-album-toolbar input { min-width: 0; width: 100%; } }
.hr-view-tab { position: relative; display: inline-flex; height: 46px; flex: 0 0 auto; align-items: center; gap: 6px; padding: 0 12px; border: 0; background: transparent; color: #131d2e; font-size: 14px; line-height: 22px; cursor: pointer; }
.hr-view-tab[data-hr-employee-view="list"] { position: sticky; left: 0; z-index: 2; background: #fff; }
.hr-view-tab > .hr-reference-icon { width: 16px; color: rgba(19,29,46,.68); }
.hr-view-tab > .hr-department-icon { height: 16px; overflow: visible; }
.hr-view-tab:hover { background: #f7f8fa; }
.hr-view-tab.active { color: #03aba0; font-weight: 600; }
.hr-view-tab.active > .hr-reference-icon { color: #03aba0; }
.hr-view-tab.active::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #03aba0; }
.hr-view-tab .hr-view-more { width: 14px; margin-left: -2px; color: rgba(19,29,46,.47); font-size: 14px; }
.hr-departed-view-tab { color: #596372; }
.hr-departed-view-tab > .hr-reference-icon { color: #dc4f59; }
.hr-departed-view-tab.active { color: #c83e49; }
.hr-departed-view-tab.active > .hr-reference-icon { color: #c83e49; }
.hr-departed-view-tab.active::after { background: #dc4f59; }
.hr-departed-tab-count { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; padding: 0 5px; border-radius: 9px; background: #f5e9eb; color: #b53b45; font-size: 11px; font-weight: 600; line-height: 18px; }
.hr-view-tab:focus-visible { outline: 2px solid rgba(3,171,160,.45); outline-offset: -2px; }
.hr-list-toolbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; padding: 6px 12px; border-bottom: 1px solid #e5e8ed; background: #fff; }
.hr-list-actions, .hr-list-search { display: flex; align-items: center; gap: 4px; }
.hr-add-button, .hr-toolbar-text-button, .hr-filter-button, .hr-toolbar-icon-button { display: inline-flex; height: 32px; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: #131d2e; font-size: 14px; cursor: pointer; }
.hr-add-button { height: 30px; gap: 5px; padding: 0 12px; background: #03aba0; color: #fff; }
.hr-add-button .hr-reference-icon { font-size: 16px; }
.hr-toolbar-text-button { gap: 5px; padding: 0 8px; }
.hr-toolbar-text-button:hover, .hr-filter-button:hover, .hr-toolbar-icon-button:hover { background: rgba(19,29,46,.05); }
.hr-toolbar-text-button > .hr-reference-icon:first-child { color: rgba(19,29,46,.68); }
.hr-toolbar-svg { width: 16px; height: 16px; flex: 0 0 16px; fill: rgba(19,29,46,.68); }
.hr-toolbar-text-button .hr-button-caret { width: 10px; margin-left: -4px; color: rgba(19,29,46,.47); font-size: 12px; }
.hr-list-search { margin-left: auto; }
.hr-list-search label { display: flex; width: 202px; height: 30px; align-items: center; padding: 0 7px 0 8px; border: 1px solid #dadee5; border-radius: 6px; background: #fff; }
.hr-list-search label:focus-within { border-color: #03aba0; box-shadow: 0 0 0 2px rgba(3,171,160,.12); }
.hr-list-search label > .customer-toolbar-reference-svg-search { width: 16px; height: 16px; flex: 0 0 16px; margin-right: 6px; fill: rgba(19,29,46,.47); }
.hr-list-search label > button { display: inline-grid; width: 20px; height: 24px; flex: 0 0 20px; padding: 0; border: 0; background: transparent; place-items: center; }
.hr-list-search label > button svg { width: 12px; height: 12px; fill: rgba(19,29,46,.47); }
.hr-list-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #131d2e; font: 14px/20px inherit; }
.hr-filter-button { gap: 4px; padding: 0 8px; }
.hr-filter-button.open, .hr-toolbar-icon-button.open { background: #f0f2f5; }
.hr-toolbar-icon-button { width: 32px; padding: 0; color: rgba(19,29,46,.68); }
.hr-toolbar-icon-button.active { color: #03aba0; }
.hr-toolbar-popover { position: absolute; top: 42px; right: 12px; z-index: 30; width: 480px; padding: 16px; border: 1px solid #e5e8ed; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px rgba(19,29,46,.14); color: #131d2e; font-size: 14px; }
.hr-filter-title { margin-bottom: 12px; }
.hr-filter-title button { display: inline-flex; align-items: center; gap: 2px; padding: 2px 5px; border: 0; border-radius: 4px; background: #f0f2f5; color: #131d2e; }
.hr-filter-title .hr-reference-icon { width: 12px; font-size: 12px; }
.hr-popover-add { display: inline-flex; height: 30px; align-items: center; gap: 5px; margin-bottom: 12px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #03aba0; }
.hr-filter-rule, .hr-sort-rule, .hr-group-rule { display: grid; grid-template-columns: 1fr 100px 1fr; gap: 8px; margin-bottom: 12px; }
.hr-filter-rule select, .hr-filter-rule input, .hr-sort-rule select, .hr-group-rule select, .hr-popover-search { height: 32px; border: 1px solid #dadee5; border-radius: 6px; background: #fff; color: #131d2e; font-size: 13px; }
.hr-popover-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #edf0f3; }
.hr-popover-footer > div { display: flex; gap: 8px; }
.hr-popover-footer button { display: inline-flex; height: 30px; align-items: center; gap: 4px; padding: 0 12px; border: 1px solid #dadee5; border-radius: 6px; background: #fff; color: #131d2e; }
.hr-popover-footer button.primary { border-color: #03aba0; background: #03aba0; color: #fff; }
.hr-popover-footer button.link { border: 0; color: #286fca; }
.hr-popover-search { display: flex; align-items: center; padding: 0 8px; }
.hr-popover-search svg { width: 15px; height: 15px; margin-right: 6px; fill: rgba(19,29,46,.47); }
.hr-popover-search input { min-width: 0; flex: 1; border: 0; outline: 0; }
.hr-field-option { display: flex; height: 32px; align-items: center; gap: 8px; }
.hr-field-option > span { width: 16px; color: rgba(19,29,46,.47); text-align: center; }
.hr-field-caption, .hr-popover-title { margin: 10px 0 6px; color: rgba(19,29,46,.47); font-size: 12px; }
.hr-field-list { max-height: 310px; overflow: auto; }
.hr-sort-rule, .hr-group-rule { grid-template-columns: 18px 1fr 100px; align-items: center; }
.hr-more-popover { width: 190px; padding: 6px; }
.hr-more-popover button { display: block; width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: 4px; background: #fff; color: #131d2e; text-align: left; }
.hr-more-popover button:hover { background: #f0f2f5; }
.hr-employee-table-frame { position: relative; }
.hr-fixed-boundary { position: absolute; top: 0; bottom: var(--hr-scrollbar-height, 15px); z-index: 9; width: 2px; background: #dadee5; pointer-events: none; }
.hr-fixed-boundary-left { left: calc(var(--hr-select-width, 36px) + var(--hr-sequence-width, 48px) + var(--hr-number-width, 92px) + var(--hr-name-width, 88px) - 1px); }
.hr-fixed-boundary-right { right: calc(var(--hr-scrollbar-width, 15px) + var(--hr-actions-width, 222px) - 1px); }
.hr-employee-table-wrap { width: 100%; height: calc(100vh - 215px); min-height: 360px; overflow: auto; background: #fff; }
.hr-employee-table { width: 2900px; min-width: 2900px; border-collapse: separate; border-spacing: 0; table-layout: fixed; color: #334155; font-size: 12px; line-height: 18px; font-variant-numeric: tabular-nums; }
.hr-employee-table th, .hr-employee-table td { box-sizing: border-box; height: 30px; padding: 2px 8px; overflow: hidden; border-right: 1px solid #dfe5ec; border-bottom: 1px solid #dfe5ec; background: #fff; text-align: left; vertical-align: middle; text-overflow: ellipsis; white-space: nowrap; }
.hr-employee-table th { position: sticky; top: 0; z-index: 4; height: 32px; padding: 3px 8px; background: #f7f9fc; color: #465468; font-size: 12px; font-weight: 500; }
.hr-employee-table input[type="checkbox"] { width: 14px; height: 14px; margin: 0; accent-color: #2f75e8; vertical-align: middle; }
.hr-fixed-select { position: sticky !important; left: 0; z-index: 5 !important; width: var(--hr-select-width, 36px); text-align: center !important; background: #fff !important; }
.hr-fixed-number { position: sticky !important; left: calc(var(--hr-select-width, 36px) + var(--hr-sequence-width, 48px)); z-index: 5 !important; width: var(--hr-number-width, 92px); background: #fff !important; }
.hr-fixed-name { position: sticky !important; left: calc(var(--hr-select-width, 36px) + var(--hr-sequence-width, 48px) + var(--hr-number-width, 92px)); z-index: 5 !important; width: var(--hr-name-width, 88px); background: #fff !important; }
thead .hr-fixed-select, thead .hr-fixed-number, thead .hr-fixed-name, thead .hr-fixed-actions, thead .hr-fixed-sequence { z-index: 8 !important; background: #f7f8fa !important; }
.hr-fixed-actions { position: sticky !important; right: 0; z-index: 5 !important; width: var(--hr-actions-width, 286px); background: #fff !important; }
.hr-row-actions { display: flex; align-items: center; gap: 5px; }
.hr-column-heading { display: flex; min-width: 0; align-items: center; gap: 5px; }
.hr-column-heading > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-field-type-icon { width: 13px; height: 13px; flex: 0 0 13px; color: #7b8798; }
.hr-field-type-text { stroke-width: 1.35; }
.hr-fixed-sequence { position: sticky !important; left: var(--hr-select-width, 36px); z-index: 5 !important; width: var(--hr-sequence-width, 48px); text-align: center !important; background: #fff !important; color: #657384; font-variant-numeric: tabular-nums; }
.hr-column-resizer { position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; width: 7px; cursor: col-resize; touch-action: none; }
.hr-column-resizer::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 2px; background: transparent; }
.hr-column-resizer:hover::after, .hr-column-resizer:focus-visible::after, .hr-column-resizer.dragging::after { background: #03aba0; }
.hr-column-resizer:focus-visible { outline: none; }
.hr-column-resizer-left { left: 0; right: auto; }
.hr-column-resizer-left::after { left: 0; right: auto; }
.hr-employee-table.is-resizing, .hr-employee-table.is-resizing * { cursor: col-resize !important; user-select: none; }
.hr-row-action { display: inline-flex; height: 24px; align-items: center; gap: 3px; padding: 0 8px; border: 1px solid currentColor; border-radius: 6px; background: #fff; font-size: 12px; line-height: 22px; cursor: pointer; }
.hr-row-action .hr-reference-icon { width: 13px; height: 18px; font-size: 13px; line-height: 18px; }
.hr-row-action.promote { color: #286fca; }
.hr-row-action.transfer { color: #0db3a6; }
.hr-row-action.leave { color: #d93021; }
.hr-row-action.view { color: #52667e; }
.hr-row-action:hover:not(:disabled) { color: currentColor; }
.hr-row-action:disabled { border-color: #dadee5; background: rgba(19,29,46,.05); color: rgba(19,29,46,.47); cursor: not-allowed; }
.hr-cell-edit, .hr-relation-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.hr-relation-link { color: #2f75e8; }
.hr-cell-edit:hover, .hr-relation-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.hr-name-detail-cell { overflow: visible !important; }
.hr-name-detail-link { position: relative; z-index: 1; max-width: 100%; overflow: visible; text-overflow: ellipsis; white-space: nowrap; }
.hr-name-detail-link::before, .hr-name-detail-link::after { position: absolute; left: 50%; z-index: 20; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.hr-name-detail-link::after { top: 50%; bottom: auto; left: calc(100% + 10px); padding: 7px 10px; border-radius: 6px; background: #1f2329; color: #fff; content: attr(data-tooltip); font-size: 13px; font-weight: 400; line-height: 20px; text-decoration: none; white-space: nowrap; transform: translateY(-50%); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.hr-name-detail-link::before { top: 50%; bottom: auto; left: calc(100% + 5px); width: 10px; height: 10px; background: #1f2329; content: ''; transform: translate(-50%,-50%) rotate(45deg); }
.hr-name-detail-link:hover::before, .hr-name-detail-link:hover::after, .hr-name-detail-link:focus-visible::before, .hr-name-detail-link:focus-visible::after { visibility: visible; opacity: 1; }
.hr-department-row td, .hr-position-row td { height: 30px; padding: 2px 14px; background: #f4f7fa; text-align: left !important; font-size: 13px; }
.hr-department-row td { position: relative; }
.hr-position-row td { padding-left: 38px; }
.hr-department-row strong, .hr-position-row strong { margin: 0 8px; font-weight: 600; }
.hr-department-row .hr-department-details { padding-left: 10px; overflow: visible; }
.hr-department-label { position: sticky; left: 90px; z-index: 2; display: inline-block; background: #f4f7fa; }
.hr-department-row strong { margin-left: 0; }
.hr-department-row small, .hr-position-row small { color: rgba(19,29,46,.47); }
.hr-department-row em { margin-left: 12px; color: #a46724; font-style: normal; }
.hr-group-arrow { display: inline-flex; width: 18px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: rgba(19,29,46,.68); vertical-align: middle; cursor: pointer; }
.hr-department-row .hr-group-arrow { position: absolute; top: 5px; left: 6px; height: 20px; }
.hr-group-arrow .hr-reference-icon { width: 14px; font-size: 14px; transition: transform .16s ease; }
.hr-group-arrow.collapsed .hr-reference-icon { transform: rotate(-90deg); }
.hr-department-row input, .hr-position-row input { margin: 0 4px 0 0; vertical-align: middle; }
.hr-department-row > td > input[type="checkbox"] { position: absolute; top: 8px; left: 34px; margin: 0; }
.hr-employee-table tbody .hr-employee-row:nth-of-type(even) td { background: #fbfcfe; }
.hr-employee-table tbody .hr-employee-row:nth-of-type(even) .hr-fixed-select, .hr-employee-table tbody .hr-employee-row:nth-of-type(even) .hr-fixed-number, .hr-employee-table tbody .hr-employee-row:nth-of-type(even) .hr-fixed-name, .hr-employee-table tbody .hr-employee-row:nth-of-type(even) .hr-fixed-actions, .hr-employee-table tbody .hr-employee-row:nth-of-type(even) .hr-fixed-sequence { background: #fbfcfe !important; }
.hr-employee-row:hover td, .hr-employee-table tbody .hr-employee-row:nth-of-type(even):hover td { background: #f2f7ff; }
.hr-employee-row:hover .hr-fixed-select, .hr-employee-row:hover .hr-fixed-number, .hr-employee-row:hover .hr-fixed-name, .hr-employee-row:hover .hr-fixed-actions, .hr-employee-table tbody .hr-employee-row:nth-of-type(even):hover .hr-fixed-select, .hr-employee-table tbody .hr-employee-row:nth-of-type(even):hover .hr-fixed-number, .hr-employee-table tbody .hr-employee-row:nth-of-type(even):hover .hr-fixed-name, .hr-employee-table tbody .hr-employee-row:nth-of-type(even):hover .hr-fixed-actions, .hr-employee-row:hover .hr-fixed-sequence, .hr-employee-table tbody .hr-employee-row:nth-of-type(even):hover .hr-fixed-sequence { background: #f2f7ff !important; }
.hr-employee-row.selected td, .hr-employee-table tbody .hr-employee-row:nth-of-type(even).selected td { background: #eaf2ff; }
.hr-employee-row.selected .hr-fixed-select, .hr-employee-row.selected .hr-fixed-number, .hr-employee-row.selected .hr-fixed-name, .hr-employee-row.selected .hr-fixed-actions, .hr-employee-table tbody .hr-employee-row:nth-of-type(even).selected .hr-fixed-select, .hr-employee-table tbody .hr-employee-row:nth-of-type(even).selected .hr-fixed-number, .hr-employee-table tbody .hr-employee-row:nth-of-type(even).selected .hr-fixed-name, .hr-employee-table tbody .hr-employee-row:nth-of-type(even).selected .hr-fixed-actions, .hr-employee-row.selected .hr-fixed-sequence, .hr-employee-table tbody .hr-employee-row:nth-of-type(even).selected .hr-fixed-sequence { background: #eaf2ff !important; }
.hr-employee-table td.hr-photo-cell { padding: 0 10px; }
.hr-photo-thumbnail { display: block; width: 21px; height: 28px; padding: 0; border: 0; border-radius: 2px; background: #f7f8fa; cursor: zoom-in; }
.hr-photo-thumbnail img { display: block; width: 21px; height: 28px; object-fit: contain; border-radius: 2px; }
.hr-photo-thumbnail:focus-visible { outline: 2px solid #03aba0; outline-offset: 2px; }
.hr-photo-control { display: flex; align-items: flex-start; gap: 12px; }
.hr-photo-preview, .hr-photo-preview button, .hr-photo-preview img { display: block; width: 90px; height: 120px; }
.hr-photo-preview { display: grid; flex: 0 0 90px; place-items: center; background: #f7f8fa; outline: 1px solid #e5e8ed; border-radius: 3px; color: #8a929e; font-size: 12px; }
.hr-photo-preview button { padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.hr-photo-preview img { object-fit: contain; }
.hr-photo-attachment { flex: 1; min-width: 0; font-size: 12px; }
.hr-photo-filename { margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-photo-filename:empty { display: none; }
.hr-photo-buttons { display: flex; gap: 6px; }
.hr-photo-attachment p { margin: 8px 0 0; line-height: 1.5; color: #7e8995; }
.hr-photo-attachment .hr-photo-message { color: #a5682c; }
.hr-editor-error { padding: 0 22px 10px; color: #c43d43; font-size: 12px; }
.hr-editor-error:empty { display: none; }
.hr-photo-dialog { max-width: min(90vw, 900px); max-height: 90vh; padding: 14px; border: 0; border-radius: 6px; background: #fff; }
.hr-photo-dialog::backdrop { background: rgba(15, 27, 39, .55); }
.hr-photo-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 12px; font-size: 13px; }
.hr-photo-dialog header span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-photo-dialog header button { padding: 0 5px; border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.hr-photo-dialog > img { display: block; max-width: 100%; max-height: calc(90vh - 80px); margin: auto; object-fit: contain; }
.hr-list-footer { display: flex; height: 50px; align-items: center; padding: 8px 70px; border-top: 1px solid #e5e8ed; background: #fff; color: #131d2e; font-size: 12px; }
.hr-footer-leading { display: flex; align-items: center; gap: 10px; }
.hr-list-footer button { display: inline-flex; height: 20px; align-items: center; gap: 4px; padding: 0 4px; border: 0; background: transparent; color: #286fca; font-size: 12px; cursor: pointer; }
.hr-list-footer .hr-footer-icon { width: 20px; padding: 0; color: rgba(19,29,46,.47); }
.hr-list-footer .hr-reference-icon { width: 14px; font-size: 14px; }
.hr-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 240px)); gap: 12px; min-height: 360px; padding: 16px; background: #f5f6f8; }
.hr-employee-card { display: flex; gap: 12px; min-height: 116px; padding: 16px; border-radius: 6px; background: #fff; }
.hr-employee-card-photo { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; background: #e7f5f4; color: #137d75; font-weight: 600; }
.hr-employee-card > div:last-child { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.hr-employee-card span, .hr-employee-card small { overflow: hidden; color: #77828f; text-overflow: ellipsis; white-space: nowrap; }
.drawer-toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.hr-departments-drawer .table-wrap { max-height: calc(100vh - 230px); }
.hr-departments-drawer table { min-width: 0; table-layout: fixed; }
.hr-departments-drawer th:nth-child(1) { width: 20%; }
.hr-departments-drawer th:nth-child(2) { width: 24%; }
.hr-departments-drawer th:nth-child(3) { width: 20%; }
.hr-departments-drawer th, .hr-departments-drawer td { white-space: normal; overflow-wrap: anywhere; }
.drawer.hr-editor, .drawer.hr-departments-drawer, .drawer.hr-lifecycle-drawer, .drawer.hr-operation-log-drawer { inset: 0; margin: auto; height: fit-content; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); }
.hr-editor .drawer-head, .hr-editor .drawer-foot, .hr-editor .hr-editor-error, .hr-departments-drawer .drawer-head, .hr-departments-drawer .drawer-foot { flex-shrink: 0; }
.hr-editor .drawer-body, .hr-departments-drawer .drawer-body { min-height: 0; }
.hr-editor .field label, .hr-editor .form-control { font-size: 12px; }
.hr-editor .field[hidden] { display: none; }
.hr-editor .hr-colored-select .customer-option-neutral { font-size: 12px; }
.hr-editor .hr-colored-select .customer-source-pill { height: 18px; min-height: 18px; padding: 0 6px; font-size: 12px; line-height: 16px; }
.hr-editor .hr-colored-select .customer-colored-select-options > button { height: 20px; min-height: 20px; padding-top: 1px; padding-bottom: 1px; line-height: 18px; }
.hr-employee-table .customer-source-pill { height: 18px; min-height: 18px; padding: 0 6px; font-size: 11px; line-height: 16px; font-weight: 400; white-space: nowrap; }
.hr-lifecycle-drawer { width: 600px; }
.hr-lifecycle-drawer .drawer-head, .hr-lifecycle-drawer .drawer-foot, .hr-lifecycle-drawer .hr-editor-error, .hr-operation-log-drawer .drawer-head, .hr-operation-log-drawer .drawer-foot { flex-shrink: 0; }
.hr-lifecycle-drawer .drawer-body, .hr-operation-log-drawer .drawer-body { min-height: 0; }
.hr-lifecycle-employee { display: grid; grid-template-columns: auto 1fr; gap: 3px 9px; align-items: center; margin-bottom: 18px; padding: 13px 14px; border: 1px solid #e5e8ed; border-radius: 6px; background: #f8fafb; }
.hr-lifecycle-employee strong { color: #172435; font-size: 15px; }
.hr-lifecycle-employee span { color: #788493; font-size: 11px; }
.hr-lifecycle-employee small { grid-column: 1 / -1; color: #657384; font-size: 12px; }
.hr-lifecycle-form .field label { font-size: 12px; }
.hr-lifecycle-form .field label i { margin-right: 3px; color: #e24d4d; font-style: normal; }
.hr-lifecycle-form .form-control { font-size: 12px; }
.hr-lifecycle-form .field[hidden] { display: none; }
.hr-lifecycle-reason { position: relative; grid-column: 1 / -1; }
.hr-lifecycle-reason textarea.form-control { height: 88px; padding: 9px 10px 22px; resize: vertical; line-height: 1.55; }
.hr-lifecycle-reason small { position: absolute; right: 9px; bottom: 7px; color: #98a1ac; font-size: 10px; pointer-events: none; }
.hr-lifecycle-caution { margin-top: 16px; padding: 10px 12px; border-radius: 5px; background: #fff8e9; color: #86631f; font-size: 12px; line-height: 1.6; }
.hr-lifecycle-submit { min-width: 92px; color: #fff; }
.hr-lifecycle-submit.promote { border-color: #2f73dc; background: #2f73dc; }
.hr-lifecycle-submit.transfer { border-color: #0aa99f; background: #0aa99f; }
.hr-lifecycle-submit.leave { border-color: #e23f45; background: #e23f45; }
.hr-lifecycle-submit:disabled { opacity: 1; color: #fff !important; cursor: not-allowed; filter: saturate(.58); }
.hr-lifecycle-submit.promote:disabled { border-color: #6d9fe5; background: #6d9fe5; }
.hr-lifecycle-submit.transfer:disabled { border-color: #63bbb4; background: #63bbb4; }
.hr-lifecycle-submit.leave:disabled { border-color: #e67c80; background: #e67c80; }
.hr-lifecycle-submit:hover, .hr-lifecycle-submit:active, .hr-lifecycle-submit:focus-visible { color: #fff !important; }
.hr-lifecycle-submit:hover:not(:disabled) { filter: none; }
.hr-operation-log-drawer { width: min(1040px, calc(100vw - 48px)); }
.hr-operation-log-drawer .drawer-body { padding: 14px 18px; }
.hr-operation-log-drawer .table-wrap { max-height: calc(100vh - 190px); }
.hr-operation-log-drawer table { min-width: 960px; table-layout: fixed; }
.hr-operation-log-drawer th:nth-child(1) { width: 130px; }
.hr-operation-log-drawer th:nth-child(2) { width: 110px; }
.hr-operation-log-drawer th:nth-child(3) { width: 70px; }
.hr-operation-log-drawer th:nth-child(4) { width: 100px; }
.hr-operation-log-drawer th:nth-child(5) { width: 250px; }
.hr-operation-log-drawer th:nth-child(6) { width: 210px; }
.hr-operation-log-drawer th:nth-child(7) { width: 90px; }
.hr-operation-log-drawer td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; line-height: 1.5; }
.hr-operation-log-drawer td strong, .hr-operation-log-drawer td small { display: block; }
.hr-operation-log-drawer td small { margin-top: 2px; color: #8a95a3; font-size: 10px; }
.hr-operation-log-drawer .drawer-foot > span { margin-right: auto; color: #7a8592; font-size: 12px; }
.hr-departed-table-frame { min-height: 220px; }
.hr-departed-table { table-layout: fixed; }
.hr-departed-table th, .hr-departed-table td { position: static; }
.hr-departed-table td { height: 30px; }
.hr-departed-table .hr-cell-edit { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-departed-reason { overflow: hidden; color: #4e5969; text-overflow: ellipsis; white-space: nowrap; }
.hr-departed-status { display: inline-flex; height: 22px; align-items: center; padding: 0 8px; border-radius: 5px; background: #fff0f1; color: #c83e49; font-size: 12px; font-weight: 600; }
.hr-row-action.view { min-width: 86px; border-color: #8e9aa8; color: #465363; }
.hr-row-action.view:hover { border-color: #647181; background: #f5f7f9; color: #263445; }
.hr-departed-empty { height: 180px !important; color: #7b8794; text-align: center; }
.hr-departed-empty strong, .hr-departed-empty span { display: block; }
.hr-departed-empty strong { margin-bottom: 7px; color: #3b4654; font-size: 14px; }
.hr-departed-empty span { font-size: 12px; }
.hr-lifecycle-tag { display: inline-flex; min-width: 42px; justify-content: center; padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.hr-lifecycle-tag.promote { background: #eaf2ff; color: #2f6fc8; }
.hr-lifecycle-tag.transfer { background: #e8f8f5; color: #087e77; }
.hr-lifecycle-tag.leave { background: #fff0f0; color: #cf353b; }
.hr-operation-empty { padding: 72px 20px; text-align: center; color: #86919e; font-size: 13px; }
@media (max-width: 640px) { .hr-lifecycle-drawer .field-grid { grid-template-columns: 1fr; } .hr-lifecycle-reason { grid-column: auto; } }
@media (max-width: 1100px) { .hr-list-actions { min-width: max-content; } .hr-list-search { min-width: max-content; } .hr-list-toolbar { overflow-x: auto; } }
.sidebar-footer .nav-icon { margin-right: 7px; }
.settings-page { max-width: 1380px; margin: 0 auto; }
.settings-tabs { display: flex; gap: 5px; margin: 10px 0 14px; border-bottom: 1px solid #e3e7ed; }
.settings-tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #647184; padding: 10px 15px; font-size: 13px; cursor: pointer; }
.settings-tab:hover { color: #245ab0; }
.settings-tab.active { border-bottom-color: #347be5; color: #225bb6; font-weight: 700; }
.settings-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 18px 20px; border: 1px solid #e1e6ed; border-radius: 10px; background: #fff; }
.settings-eyebrow { color: #347be5; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.settings-intro h2 { margin: 5px 0 6px; color: #1f2c3d; font-size: 19px; }
.settings-intro p { margin: 0; color: #7a8796; font-size: 12px; line-height: 1.7; }
.settings-status-badge, .settings-admin-only { align-self: center; padding: 6px 10px; border-radius: 999px; background: #edf5ff; color: #3472c6; font-size: 11px; white-space: nowrap; }
.settings-account-grid, .settings-dictionary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.settings-account-card, .settings-dictionary-card { min-width: 0; padding: 15px 16px; border: 1px solid #e1e6ed; border-radius: 9px; background: #fff; }
.settings-account-head, .settings-card-title { display: flex; align-items: center; gap: 9px; }
.settings-account-head > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.settings-account-head strong, .settings-card-title strong { color: #263447; font-size: 13px; }
.settings-account-head small, .settings-card-title span, .settings-account-meta span, .settings-card-foot { color: #8a95a3; font-size: 11px; }
.settings-role { padding: 4px 7px; border-radius: 5px; background: #f2f5f8; color: #5d6978; font-size: 10px; white-space: nowrap; }
.settings-account-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 10px; border-top: 1px solid #edf0f3; }
.settings-account-meta b { color: #475467; font-size: 11px; font-weight: 500; text-align: right; }
.settings-dictionary-card-wide { grid-column: span 2; }
.settings-card-title { justify-content: space-between; }
.settings-card-title > div { display: flex; flex-direction: column; gap: 4px; }
.settings-count { color: #347be5 !important; white-space: nowrap; }
.settings-level-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 16px; }
.settings-dictionary-card p { margin: 18px 0 8px; color: #7d8996; font-size: 12px; line-height: 1.7; }
.settings-card-foot { padding-top: 10px; border-top: 1px solid #edf0f3; }
.settings-card-foot .btn { float: right; margin-top: -7px; }
.settings-audit-card { overflow: hidden; }
.settings-request-id { color: #8d98a5; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
@media (max-width: 980px) { .settings-account-grid, .settings-dictionary-grid { grid-template-columns: 1fr 1fr; } .settings-dictionary-card-wide { grid-column: span 2; } }
@media (max-width: 640px) { .settings-account-grid, .settings-dictionary-grid { grid-template-columns: 1fr; } .settings-dictionary-card-wide { grid-column: auto; } .settings-intro { flex-direction: column; } }
.workspace { background: #f4f4f8; }
.topbar { margin: 5px 10px 0; height: 32px; padding: 0 12px; border: 1px solid #e8e8ef; border-radius: 7px 7px 0 0; box-shadow: 0 1px 3px rgba(50, 60, 80, .03); }
.toolbar-title { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1; }
.toolbar-btn, .toolbar-icon { border: 0; background: transparent; color: #303841; padding: 2px; font-size: 12px; line-height: 1; }
.toolbar-icon { color: #59636d; font-size: 13px; }
.shell.page-customer .topbar { height: 32px; }
.shell.page-customer .toolbar-title { gap: 10px; font-size: 13px; }
.shell.page-customer .customer-header-scope { color: #66727e; font-size: 13px; line-height: 30px; }
.shell.page-customer .toolbar-btn { font-size: 13px; }
.shell.page-customer .toolbar-icon { font-size: 13px; }
.top-actions { gap: 9px; }
.role-select { height: 24px; padding: 1px 6px; font-size: 12px; border-color: #e3e5ea; }
.user-chip { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; background: #27b3c4; color: #fff; padding: 0; font-size: 11px; }
.top-subtitle { display: none; }
.content { padding: 8px 10px 32px; }
.customer-association-page { min-width: 0; }
.customer-association-context { display: flex; align-items: center; gap: 10px; min-height: 38px; margin: 0 0 10px; padding: 0 12px; border: 1px solid #dcebe9; border-radius: 6px; background: #f7fcfb; color: #64727d; font-size: 11px; }
.customer-association-context strong { color: #243746; font-size: 12px; }
.customer-association-context code { padding: 2px 6px; border-radius: 4px; background: #e7f3f2; color: #168e88; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.customer-association-context small { color: #8b97a2; }
.customer-association-context.empty { background: #fafbfc; border-color: #e5e9ee; }
.customer-association-card .card-title { display: flex; justify-content: space-between; }
.customer-association-card .card-title span { color: #82909a; font-size: 11px; font-weight: 400; }
.customer-association-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 210px; border-top: 1px solid #edf0f3; color: #7b8792; }
.customer-association-empty strong { color: #53616d; font-size: 13px; font-weight: 500; }
.customer-association-empty span { margin-top: 8px; font-size: 11px; }
.customer-association-links { margin: 0 0 16px; padding: 12px; border: 1px solid #e5eaee; border-radius: 6px; background: #fbfcfd; }
.customer-association-links-title { margin-bottom: 9px; color: #394957; font-size: 12px; font-weight: 600; }
.customer-association-links-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.customer-association-link { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 9px 10px; border: 1px solid #dce4ea; border-radius: 5px; background: #fff; color: #344b5b; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.customer-association-link:hover { border-color: #16aaa1; background: #f3fbfa; color: #078f88; }
.customer-association-link span { color: #8a98a4; font-size: 10px; }
.customer-association-links-empty { color: #8995a0; font-size: 11px; }
@media (max-width: 760px) { .customer-association-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-banner { height: 85px; background: linear-gradient(108deg, #26358d, #4a86d5); color: #fff; border-radius: 7px; padding: 8px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 26px; line-height: 1.05; font-weight: 700; letter-spacing: 1px; }
.hero-banner > div { line-height: 30px; text-align: center; }
.hero-banner small { display: block; margin-top: 4px; font-size: 0; font-weight: 400; letter-spacing: .35px; opacity: .94; text-align: center; }
.hero-banner small::before { content: '聚合全域，智驱未来'; display: block; font-size: 14px; line-height: 16px; text-align: center; }
.hero-banner small::after { content: 'CONNECT EVERY DOMAIN, DRIVE THE FUTURE'; display: block; margin-top: 0; font-size: 12px; line-height: 14px; text-align: center; }
.home-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 17px; }
.entry-card { background: #eef2fb; border-radius: 14px; padding: 19px 27px 20px; min-height: 130px; }
.entry-title { font-size: 13px; margin-bottom: 17px; font-weight: 700; }
.entry-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 25px; }
.entry-links button { border: 0; background: transparent; text-align: left; color: #3d4650; font-size: 12px; }
.entry-links button:hover { color: var(--blue); }
.report-tabs { display: flex; gap: 25px; border-bottom: 1px solid #e6e7ed; padding: 0 2px; margin-bottom: 12px; }
.report-tabs span { padding: 10px 0; font-size: 12px; }
.report-tabs .active { color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 700; }
.report-panel { background: #fff; border: 1px solid #ececf1; border-radius: 7px; padding: 15px 12px 16px; margin-bottom: 12px; }
.panel-title { font-size: 13px; color: #3e4650; margin-bottom: 12px; }
.sales-flow { display: grid; grid-template-columns: 280px 1fr; gap: 12px; }
.flow-list { background: #f8f9fd; border-radius: 8px; padding: 14px 16px; }
.flow-head { display: flex; justify-content: space-between; color: #38434f; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.flow-head b { color: #e45e6b; }
.flow-row { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 8px 0; color: #5a6570; font-size: 11px; border-bottom: 1px dashed #ebedf2; }
.report-main { min-width: 0; }
.date-shortcuts { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; }
.date-shortcuts b { font-size: 12px; margin-right: 5px; }
.date-shortcuts button { flex: 1; border: 1px solid #e6e7ec; background: #fff; border-radius: 4px; padding: 8px 6px; color: #5c6670; font-size: 11px; }
.date-shortcuts button:hover { border-color: var(--blue); color: var(--blue); }
.report-main .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 11px; gap: 9px; }
.report-main .stat-card { background: #f7f8fc; border: 0; min-height: 95px; text-align: center; padding: 15px 8px; }
.report-main .stat-value { color: #4e72bd; font-size: 23px; }
.chart-card { border: 0; background: #f8f9fd; border-radius: 8px; }
.secondary-panel .stat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.page-head { background: #fff; border: 1px solid #ececf1; border-radius: 7px 7px 0 0; padding: 13px 15px; margin-bottom: 0; }
.page-kicker { font-size: 11px; }
.page-title { font-size: 17px; }
.page-actions { gap: 5px; }
.btn { padding: 6px 10px; font-size: 11px; }
.tabs { background: #fff; padding: 0 15px; margin: 0; }
.filter-bar { border-radius: 0; margin: 0; border-left: 1px solid #ececf1; border-right: 1px solid #ececf1; padding: 12px 15px; }
.data-card { border-radius: 0 0 7px 7px; }
.card-title { font-size: 13px; padding: 13px 15px; }
.form-mode { border: 1px solid #e3e6ed; background: #f5f6fb; border-radius: 4px; padding: 7px 10px; color: #404952; font-size: 12px; }
.source-form { background: #fff; border: 1px solid #ececf1; min-height: calc(100vh - 89px); padding: 24px 25px 70px; position: relative; }
.form-context { font-size: 14px; font-weight: 700; color: #3d5fa7; border-bottom: 3px solid #dce3f4; padding: 0 0 10px; margin-bottom: 19px; }
.form-context span { display: block; color: #7e8791; font-size: 11px; font-weight: 400; margin-top: 8px; }
.source-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.source-field { min-width: 0; }
.source-field label { display: block; color: #313a44; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.source-field label i { color: #df5960; font-style: normal; margin-right: 3px; }
.source-control { width: 100%; height: 35px; border: 1px solid #e2e5eb; border-radius: 5px; padding: 0 10px; font-size: 12px; color: #485460; background: #fff; }
.source-control.readonly { background: #f5f6f8; color: #a1a8af; }
.source-control.source-textarea { min-height: 72px; height: auto; padding: 9px 10px; resize: vertical; line-height: 1.55; }
.source-select { height: 35px; border: 1px solid #e2e5eb; border-radius: 5px; background: #fff; color: #4c79d8; padding: 0 11px; font-size: 12px; }
.source-tabs { display: flex; gap: 8px; border-bottom: 1px solid #e8e9ee; margin-top: 28px; }
.source-tab { border: 1px solid #e5e7ec; border-bottom: 0; background: #f8f9fb; border-radius: 6px 6px 0 0; padding: 10px 17px; color: #47515c; font-size: 12px; }
.source-tab.active { background: #fff; color: #1ca79b; border-top: 2px solid #1ca79b; font-weight: 700; }
.source-tab-content { padding-top: 19px; }
.customer-directory-workbench { position: relative; height: calc(100vh - 77px); min-height: 540px; border: 1px solid #e7e8ed; border-radius: 0 0 7px 7px; background: #fff; overflow: hidden; display: grid; grid-template-rows: 43px 44px minmax(0, 1fr) 40px; }
.customer-directory-workbench.fullscreen { position: fixed; inset: 0; z-index: 40; width: 100vw; height: 100vh; min-height: 0; border: 0; border-radius: 0; }
.customer-view-tabs { display: flex; align-items: stretch; gap: 0; height: 43px; padding: 0 8px; border-bottom: 1px solid #e7e8ed; background: #fff; }
.customer-view-tabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 43px; padding: 0 16px; border: 0; border-right: 1px solid #eceef1; background: transparent; color: #303944; font-size: 11px; white-space: nowrap; }
.customer-view-tabs button:hover { background: #f7fafb; color: #08a89e; }
.customer-view-tabs button.active { color: #08a89e; font-weight: 700; }
.customer-view-tabs button.active::after { content: ''; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: #11aea4; }
.customer-view-tabs button span { color: #5f6874; font-size: 11px; font-weight: 400; }
.customer-view-tabs button.new-view { color: #08a89e; }
.customer-directory-toolbar { min-height: 44px; padding: 6px 10px; border-bottom: 1px solid #e8e9ed; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; }
.customer-toolbar-left, .customer-toolbar-right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.customer-toolbar-left { gap: 10px; }
.customer-toolbar-right { min-height: 36px; justify-content: flex-end; position: relative; gap: 0; color: #131d2e; font-size: 14px; line-height: 36px; }
.customer-toolbar-add, .customer-toolbar-left .customer-toolbar-text { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; font-family: inherit; font-weight: 400; white-space: nowrap; }
.customer-toolbar-add { width: 73px; height: 30px; padding: 0 12px; gap: 4px; border: 1px solid #03aba0; border-radius: 6px; background: #03aba0; color: #fff; font-size: 11px; line-height: 28px; }
.customer-toolbar-add:hover { border-color: #079d98; background: #079d98; }
.customer-toolbar-secondary { display: inline-flex; align-items: center; gap: 0; }
.customer-toolbar-text { height: 28px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: #48535f; font-size: 11px; white-space: nowrap; }
.customer-toolbar-left .customer-toolbar-text { width: 65px; height: 32px; padding: 0 2px 0 4px; gap: 3px; border-radius: 6px; color: #131d2e; font-size: 11px; line-height: 32px; }
.customer-toolbar-left .customer-toolbar-record { width: 93px; }
.customer-toolbar-svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: rgba(19,29,46,.78); }
.customer-toolbar-add .customer-toolbar-svg { color: #fff; stroke-width: 2; }
.customer-toolbar-text:hover, .customer-toolbar-icon:hover, .customer-toolbar-filter:hover, .customer-toolbar-text.open, .customer-toolbar-icon.open, .customer-toolbar-filter.open { background: #f0f4f5; color: #079f98; }
.customer-toolbar-filter,
.customer-toolbar-icon { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 32px; margin: 0 0 0 4px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: rgba(19,29,46,.78); font: inherit; font-size: 12px; line-height: 32px; cursor: pointer; white-space: nowrap; }
.customer-toolbar-filter { width: 63px; gap: 5px; }
.customer-toolbar-icon { width: 32px; min-width: 32px; }
.customer-toolbar-icon.active { background: #e9f7f6; color: #03aba0; }
.customer-reference-icon { display: block; width: 14px; height: 32px; flex: 0 0 14px; font-family: 'NAFA Reference FX PC'; font-size: 14px; font-style: normal; font-weight: 400; line-height: 32px; text-align: center; }
.customer-reference-icon-filter::before { content: '\e68a'; }
.customer-reference-icon-page-view::before { content: '\e71a'; }
.customer-reference-icon-sort::before { content: '\e6cf'; }
.customer-reference-icon-table-group::before { content: '\e7be'; }
.customer-reference-icon-async::before { content: '\e6ec'; }
.customer-reference-icon-ellipsis::before { content: '\e884'; }
.customer-reference-icon-tick::before { content: '\e615'; }
.customer-reference-icon-angleup::before { content: '\e634'; }
.customer-reference-icon-drag::before { content: '\e018'; }
.customer-reference-icon-trash::before { content: '\e624'; }
.customer-toolbar-reference-svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.customer-search-range-wrap { position: relative; width: 200px; height: 28px; flex: 0 0 200px; }
.customer-directory-search { box-sizing: border-box; position: relative; display: flex; align-items: center; width: 100%; height: 100%; padding: 0; border: 1px solid #dadee5; border-radius: 6px; background: #fff; color: rgba(19,29,46,.78); font-size: 12px; line-height: 28px; }
.customer-directory-search:focus-within { border-color: #24b7ae; box-shadow: 0 0 0 2px rgba(36,183,174,.12); }
.customer-directory-search > .customer-toolbar-reference-svg { position: absolute; left: 10px; width: 14px; height: 14px; pointer-events: none; }
.customer-directory-search input { min-width: 0; width: 100%; height: 27px; padding: 0 42px 0 28px; border: 0; outline: 0; background: transparent; color: #131d2e; font-size: 12px; line-height: 20px; }
.customer-directory-search input::placeholder { color: rgba(19,29,46,.42); }
.customer-directory-search button { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 34px; height: 27px; margin: 0; padding: 0; border: 0; background: transparent; color: rgba(19,29,46,.78); cursor: pointer; }
.customer-directory-search button .customer-toolbar-reference-svg { width: 12px; height: 12px; }
.customer-directory-table-wrap { width: 100%; min-height: 0; max-height: none; overflow: auto; scrollbar-color: #c3c9d0 #f7f8fa; scrollbar-width: thin; }
.customer-directory-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.customer-directory-table th, .customer-directory-table td { height: 25px; padding: 0 10px; border-right: 1px solid #dfe4ea; border-bottom: 1px solid #e8ebee; background: #fff; color: #3a4652; font-size: 11px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-directory-table th { position: sticky; top: 0; z-index: 4; height: 34px; padding-top: 3px; padding-bottom: 3px; background: #f7f8fa; color: #4d5965; font-weight: 400; font-size: 11px; }
.customer-column-heading { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; gap: 4px; vertical-align: middle; }
.customer-column-icon { display: block; width: 14px; height: 14px; flex: 0 0 14px; color: #77838f; }
.customer-column-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-column-sort { flex: 0 0 auto; margin-left: 1px; color: #566473; font-size: 11px; line-height: 1; }
.customer-directory-table th:nth-child(1), .customer-directory-table td:nth-child(1) { position: sticky; left: 0; z-index: 2; }
.customer-directory-table th:nth-child(2), .customer-directory-table td:nth-child(2) { position: sticky; left: 68px; z-index: 2; border-right: 2px solid #d3d9e0; box-shadow: 1px 0 1px rgba(33,43,54,.05); }
.customer-directory-table th:nth-child(1), .customer-directory-table th:nth-child(2) { z-index: 7; background: #f7f8fa; }
.customer-directory-table th.customer-directory-operation, .customer-directory-table td.customer-directory-operation { position: sticky; right: 0; z-index: 3; width: 335px; border-left: 2px solid #d3d9e0; box-shadow: -1px 0 2px rgba(33,43,54,.04); }
.customer-directory-table th.customer-directory-operation { z-index: 6; background: #f8f9fa; }
.customer-column-resizer { position: absolute; top: 0; right: -3px; z-index: 9; width: 6px; height: 100%; cursor: ew-resize; touch-action: none; }
.customer-column-resizer::after { content: ''; position: absolute; top: 0; bottom: 0; left: 2px; width: 1px; background: transparent; }
.customer-column-resizer:hover::after, .customer-column-resizer.dragging::after { background: #14aaa3; }
.customer-directory-table th.customer-directory-operation > .customer-column-resizer-left { left: 0; right: auto; width: 8px; }
.customer-directory-table th.customer-directory-operation > .customer-column-resizer-right { left: auto; right: -2px; width: 6px; }
.customer-directory-table th:nth-child(2) > .customer-column-resizer::after { left: 1px; width: 2px; background: #d3d9e0; }
.customer-directory-table.is-resizing { cursor: ew-resize; user-select: none; }
.customer-directory-table tbody tr:hover td { background: #f5f8fa; }
.customer-directory-table tbody tr.selected td { background: #eef7ff; }
.customer-directory-table .customer-directory-group-row td { height: 30px; background: #fff; }
.customer-directory-table .customer-directory-group-row td:nth-child(1), .customer-directory-table .customer-directory-group-row td:nth-child(2) { z-index: 5; background: #fff; }
.customer-directory-table .customer-directory-group-row:hover td { background: #fff; }
.customer-directory-table .customer-directory-group-row .customer-directory-name { overflow: visible; }
.customer-directory-table th.customer-directory-name, .customer-directory-table td.customer-directory-name { font-size: 11px; }
.customer-directory-select { padding-right: 0 !important; }
.customer-directory-select input { width: 14px; height: 14px; margin: 0 0 0 30px; accent-color: #0dafaa; vertical-align: middle; }
.customer-directory-group-row .customer-directory-select { display: flex; align-items: center; gap: 12px; padding-left: 12px !important; }
.customer-directory-group-row .customer-directory-select input { flex: 0 0 14px; margin: 0; }
.customer-directory-group-row .customer-directory-name { position: relative; padding-left: 0; padding-right: 28px; }
.customer-group-toggle { display: grid; place-items: center; flex: 0 0 16px; width: 16px; height: 22px; margin: 0; padding: 0; border: 0; background: transparent; transform: rotate(0deg); }
.customer-group-toggle::before { content: ''; width: 0; height: 0; border-right: 5px solid transparent; border-left: 5px solid transparent; border-top: 6px solid #4d5965; }
.customer-group-toggle.collapsed { transform: rotate(-90deg); }
.customer-group-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 400; line-height: 22px; }
.customer-group-badge.amber { background: #f3ac19; }
.customer-group-badge.blue { background: #3e8bf0; }
.customer-group-badge.green { background: #43b96b; }
.customer-group-badge.black { background: #17191c; }
.customer-directory-group-row .customer-group-badge { height: 18px; font-size: 11px; line-height: 16px; }
.customer-directory-group-row small { position: absolute; top: 5px; right: 6px; float: none; padding: 0; color: #87909a; font-size: 11px; }
.customer-directory-link, .customer-directory-owner { max-width: 100%; overflow: hidden; padding: 0; border: 0; background: transparent; color: #4d7bd7; font: inherit; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.customer-directory-link { color: #202b36; }
.customer-directory-link:hover, .customer-directory-owner:hover { text-decoration: underline; }
.customer-directory-owner { color: #4b7eda; }
.customer-directory-pill { display: inline-flex; max-width: 100%; height: 24px; align-items: center; padding: 0 6px; border-radius: 4px; background: #3f87ed; color: #fff; font-size: 11px; font-weight: 400; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-directory-pill.green { background: #39bc6b; }
.customer-directory-pill.blue { background: #3f87ed; }
.customer-directory-pill.amber { background: #f3af28; }
.customer-directory-pill.rose { background: #ed4773; }
.customer-directory-pill.stage { background: #eaf2ff; color: #3e70cb; }
.customer-directory-table .customer-directory-pill { height: 18px; line-height: 16px; }
.customer-directory-operation { white-space: nowrap; }
.customer-operation-button-group { display: flex; width: 100%; min-width: 0; align-items: center; }
.customer-operation-button-item { flex: 1 1 auto; min-width: 62px; max-width: 110px; margin-right: 8px; min-height: 24px; }
.customer-row-action { display: inline-flex; width: 100%; max-width: 100%; min-width: 0; align-items: center; justify-content: center; gap: 4px; height: 24px; margin: 0; padding: 0 8px; border: 1px solid currentColor; border-radius: 5px; background: #fff; font-size: 11px; line-height: 22px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.customer-row-action > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-row-action-svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.customer-row-action.contact { color: #08aaa0; border-color: #61d1ca; }
.customer-row-action.follow { color: #3f7edc; border-color: #9abdf0; }
.customer-row-action.owner { color: #e65173; border-color: #f2a2b2; }
.customer-row-action.valid { color: #5bb34a; border-color: #9bdc91; }
.customer-row-action:hover { background: #f7fafb; }
.customer-card-actions .customer-row-action { width: auto; height: 26px; margin: 0; padding: 0 7px; }
.customer-directory-empty { height: 150px !important; color: #8b949e !important; text-align: center; }
.customer-directory-footer { min-height: 40px; padding: 6px 13px; border-top: 1px solid #e7e9ec; display: flex; align-items: center; justify-content: flex-start; color: #7d8792; font-size: 11px; background: #fff; }
.customer-directory-footer > div { display: flex; align-items: center; gap: 12px; }
.customer-directory-footer button { height: 26px; padding: 0 7px; border: 0; border-radius: 4px; background: transparent; color: #596571; font-size: 11px; }
.customer-directory-footer button:hover { background: #f0f4f5; color: #0a9f98; }
.customer-directory-toolbar { position: relative; }
.customer-toolbar-popover { position: absolute; top: 100%; right: 12px; z-index: 20; border: 1px solid #e5e8eb; border-radius: 6px; background: #fff; box-shadow: 0 8px 22px rgba(24,35,48,.16); color: #36414c; font-size: 12px; }
.customer-directory-toolbar > .customer-toolbar-popover { max-height: 60vh; overflow: auto; }
.customer-toolbar-popover > label:not(.customer-field-option):not(.customer-popover-search) { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.customer-toolbar-popover [data-cl-view-name], .customer-toolbar-popover [data-cl-group], .customer-toolbar-popover [data-cl-mode] { min-height: 32px; border: 1px solid #dfe3e7; border-radius: 5px; padding: 4px 8px; }
.customer-toolbar-popover [data-cl-search-all] { margin: 6px 14px; padding: 7px 12px; border: 1px solid #dfe3e7; border-radius: 5px; background: #fff; color: #087f79; cursor: pointer; }
.customer-saved-view { display: flex; align-items: center; justify-content: space-between; }
.customer-toolbar-popover > p { padding: 0 14px 10px; color: #78838f; }
.customer-toolbar-popover button, .customer-toolbar-popover input, .customer-toolbar-popover select { font: inherit; }
.search-scope-popover { top: 38px; right: 0; box-sizing: border-box; width: 200px; height: 400px; padding: 4px 5px 4px 4px; border: 0; border-radius: 6px; overflow: auto; background: #fff; box-shadow: rgba(19,29,46,.05) 0 0 4px, rgba(19,29,46,.06) 0 6px 16px -1px, rgba(19,29,46,.04) 0 6px 32px 8px; color: #131d2e; font-size: 12px; line-height: 20px; scrollbar-color: #b4b9c2 transparent; scrollbar-width: thin; }
.search-scope-popover::-webkit-scrollbar { width: 8px; }
.search-scope-popover::-webkit-scrollbar-track { background: transparent; }
.search-scope-popover::-webkit-scrollbar-thumb { border-radius: 8px; background: #b4b9c2; }
.search-scope-popover .customer-search-range-item { box-sizing: border-box; width: 100%; height: 32px; padding: 0 12px; border: 0; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; background: #fff; color: #131d2e; font-family: inherit; font-size: 11px; line-height: 32px; text-align: left; cursor: pointer; }
.customer-search-range-item:hover { background: #f4f7f8; }
.customer-search-range-item.active { background: #e9f7f6; }
.customer-search-range-item > span { display: inline-flex; align-items: center; min-width: 0; }
.customer-search-range-status { height: 32px; color: #03aba0; font-size: 11px; line-height: 32px; }
.customer-search-range-caret { height: 32px; color: #131d2e; font-size: 11px; line-height: 32px; transition: transform .15s ease; }
.customer-search-range-caret.collapsed { transform: rotate(180deg); }
.customer-search-range-item .customer-toolbar-reference-svg-question { width: 12px; height: 12px; margin-left: 4px; color: #b4b9c2; }
.customer-search-scope-input { position: relative; display: flex; width: 100%; height: 24px; margin: 4px 0; color: rgba(19,29,46,.78); }
.customer-search-scope-input .customer-toolbar-reference-svg-search { position: absolute; z-index: 1; top: 4px; left: 7px; width: 16px; height: 16px; pointer-events: none; }
.customer-search-scope-input input { box-sizing: border-box; width: 100%; height: 24px; padding: 6px 6px 6px 30px; border: 0; border-radius: 6px; outline: 0; background: #f7f8fa; color: #131d2e; font-size: 12px; line-height: 12px; }
.customer-search-scope-input input::placeholder { color: rgba(19,29,46,.42); }
.customer-search-field-list { display: grid; width: 100%; row-gap: 3px; }
.customer-search-field-option { box-sizing: border-box; display: flex; align-items: flex-start; width: 100%; min-height: 20px; padding: 0; color: #131d2e; font-size: 11px; cursor: pointer; }
.customer-search-field-option input { appearance: none; box-sizing: border-box; width: 14px; height: 14px; flex: 0 0 14px; margin: 3px 0; border: 1px solid #b4b9c2; border-radius: 4px; background: #fff; cursor: pointer; }
.customer-search-field-option input:checked { border-color: #03aba0; background: #03aba0; box-shadow: inset 0 0 0 3px #fff; }
.customer-search-field-option > span { min-width: 0; padding-left: 4px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-popover button { width: 100%; height: 34px; padding: 0 12px; border: 0; background: #fff; color: #3c4752; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.more-popover button:hover { background: #f4f7f8; }
.customer-search-specific { max-height: 244px; overflow: auto; border-top: 1px solid #edf0f2; }
.customer-search-specific button { width: 100%; height: 30px; padding: 0 18px; border: 0; background: #fff; text-align: left; color: #53606c; }
.customer-search-specific button:hover { background: #f4f7f8; color: #08a89e; }
.filter-popover { right: 174px; width: 650px; }
.customer-filter-title { height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 6px; }
.customer-filter-title button { padding: 0 4px; border: 0; background: transparent; color: #4b5661; }
.customer-popover-add { margin: 0 14px 8px; padding: 0; border: 0; background: transparent; color: #08a89e; line-height: 28px; }
.customer-filter-rule { min-height: 52px; padding: 7px 14px 11px; display: grid; grid-template-columns: 162px 104px minmax(180px,1fr) 24px; gap: 10px; align-items: center; }
.customer-filter-rule select, .customer-filter-rule input { width: 100%; height: 32px; padding: 0 9px; border: 1px solid #dfe3e7; border-radius: 5px; background: #fff; color: #55616d; outline: 0; }
.customer-filter-rule input { background: #f4f5f6; }
.customer-rule-delete { width: 24px; height: 28px; border: 0; background: transparent; color: #9aa2ab; }
.customer-rule-delete .customer-reference-icon-trash { width: 16px; height: 20px; font-size: 16px; line-height: 20px; color: #878d99; }
.customer-popover-footer { min-height: 48px; padding: 8px 14px; border-top: 1px solid #e8ebee; display: flex; align-items: center; justify-content: space-between; }
.customer-popover-footer > div { display: flex; align-items: center; gap: 8px; }
.customer-popover-footer button { height: 30px; padding: 0 12px; border: 0; border-radius: 5px; background: transparent; color: #56616d; }
.customer-popover-footer button.teal { background: #0cabaa; color: #fff; }
.customer-popover-footer button.link { color: #0aa69f; }
.fields-popover { right: 127px; width: 230px; max-height: 520px; padding: 10px 0 8px; overflow: hidden; }
.customer-popover-search { height: 32px; margin: 0 10px 8px; padding: 0 8px; border: 1px solid #dde2e7; border-radius: 5px; display: flex; align-items: center; gap: 6px; color: #78838f; }
.customer-popover-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #35414c; }
.customer-field-caption { padding: 7px 13px 3px; color: #8a939d; font-size: 11px; }
.customer-field-list { max-height: 410px; overflow: auto; }
.customer-field-option { height: 31px; padding: 0 13px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.customer-field-option:hover { background: #f5f7f8; }
.customer-field-option input { width: 14px; height: 14px; margin: 0; accent-color: #0cabaa; }
.customer-field-option.all { color: #099e98; }
.customer-field-option .field-type { width: 16px; color: #66727e; font-size: 11px; text-align: center; }
.sort-popover { right: 72px; width: 380px; border: 0; box-shadow: rgba(19,29,46,.05) 0 0 4px, rgba(19,29,46,.06) 0 6px 16px -1px, rgba(19,29,46,.04) 0 6px 32px 8px; }
.group-popover { right: 42px; width: 400px; }
.group-popover .customer-sort-rule { grid-template-columns: minmax(0,1fr) 154px 20px 16px; }
.group-popover .customer-sort-rule > div { width: 154px; }
.group-popover .customer-sort-rule > div button { width: 154px; min-width: 154px; padding-right: 10px; padding-left: 10px; border-radius: 5px; }
.sort-popover > .customer-popover-add { box-sizing: border-box; width: auto; height: 60px; margin: 0; padding: 14px 20px 0; font-size: 12px; line-height: 30px; }
.sort-popover .customer-popover-footer { box-sizing: border-box; height: 50px; min-height: 50px; padding: 0 16px; border-top: 0; }
.sort-field-picker { position: absolute; top: 52px; left: 20px; z-index: 3; box-sizing: border-box; width: 240px; max-height: 360px; padding: 4px; overflow: auto; border-radius: 6px; background: #fff; box-shadow: rgba(19,29,46,.05) 0 0 4px, rgba(19,29,46,.06) 0 6px 16px -1px, rgba(19,29,46,.04) 0 6px 32px 8px; }
.sort-field-picker input { box-sizing: border-box; width: 100%; height: 32px; margin-bottom: 4px; padding: 0 8px 0 32px; border: 0; outline: 0; background: #f7f8fa; color: #131d2e; font-size: 14px; line-height: 32px; }
.sort-field-picker button { display: block; width: 100%; height: 32px; padding: 0 8px; border: 0; border-radius: 4px; background: #fff; color: #131d2e; font-size: 14px; line-height: 32px; text-align: left; white-space: nowrap; cursor: pointer; }
.sort-field-picker button:hover { background: #f4f7f8; }
.sort-field-picker-empty { display: block; padding: 12px 8px; color: #8b949e; font-size: 12px; text-align: center; }
.customer-sort-rule { box-sizing: border-box; height: 40px; min-height: 40px; margin: 0 5px 10px 10px; padding: 0 10px; display: grid; grid-template-columns: minmax(0,1fr) 106px 20px 16px; align-items: center; gap: 0; }
.customer-sort-rule strong { min-width: 0; font-size: 12px; font-weight: 400; line-height: 20px; }
.customer-sort-rule > div { width: 106px; height: 32px; display: flex; margin-right: 10px; }
.customer-sort-rule > div button { box-sizing: border-box; width: 53px; min-width: 53px; height: 32px; padding: 0 12px; border: 1px solid #dfe3e7; background: #fff; color: #53606b; font-size: 12px; line-height: 30px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-sort-rule > div button:first-child { border-radius: 5px 0 0 5px; }
.customer-sort-rule > div button:last-child { border-radius: 0 5px 5px 0; }
.customer-sort-rule > div button.selected { border-color: #12aaa3; color: #079f98; background: #f3fbfa; }
.customer-sort-rule > .customer-reference-icon-drag { width: 14px; height: 20px; margin-right: 6px; font-size: 14px; line-height: 20px; color: #878d99; }
.customer-sort-rule > button { width: 16px; height: 20px; padding: 0; border: 0; background: transparent; color: #878d99; line-height: 20px; }
.customer-sort-rule > button .customer-reference-icon-trash { width: 16px; height: 20px; font-size: 16px; line-height: 20px; color: #878d99; }
.more-popover { right: 6px; width: 92px; padding: 5px 0; }
.customer-view-card { min-width: 0; padding: 14px 14px 11px; border: 1px solid #e5e8eb; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(32,43,55,.05); }
.customer-view-card.compact { margin-bottom: 10px; }
.customer-view-card h3 { margin: 0 0 12px; font-size: 15px; }
.customer-view-card h3 button { max-width: 100%; padding: 0; border: 0; background: transparent; color: #24303d; font: inherit; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-view-card dl { margin: 0; }
.customer-view-card dt { margin-top: 8px; color: #68737f; font-size: 11px; }
.customer-view-card dd { min-height: 23px; margin: 3px 0 0; color: #303c48; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-card-actions { min-height: 30px; margin-top: 10px; display: flex; align-items: center; gap: 4px; }
.customer-card-actions .customer-row-action { margin: 0; }
.customer-card-more { width: 28px; height: 24px; padding: 0; border: 1px solid #dfe3e7; border-radius: 6px; background: #fff; color: #53606b; }
.customer-quick-mask { position: fixed; inset: 0; z-index: 52; background: rgba(15,23,34,.48); }
.customer-quick-modal { position: fixed; top: 50%; left: 50%; z-index: 53; width: 610px; max-width: calc(100vw - 24px); height: min(704px, calc(100vh - 16px)); max-height: calc(100vh - 16px); overflow: hidden; transform: translate(-50%, -50%); border-radius: 8px; background: #fff; box-shadow: 0 16px 48px rgba(17,30,48,.28); display: flex; flex-direction: column; }
.customer-quick-modal > header { min-height: 62px; padding: 12px 14px 11px 20px; border-bottom: 1px solid #e7eaf0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.customer-quick-modal.dragging { will-change: left, top; }
.customer-quick-modal > header[data-customer-quick-drag-handle] { cursor: grab; touch-action: none; user-select: none; }
.customer-quick-modal.dragging > header[data-customer-quick-drag-handle] { cursor: grabbing; }
.customer-quick-modal > header h3 { margin: 0; color: #182335; font-size: 11px; font-weight: 500; }
.customer-quick-modal > header p { margin: 5px 0 0; color: #7d8793; font-size: 11px; }
.customer-quick-modal > header button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #566170; font-size: 22px; }
.customer-quick-modal > header button:hover { background: #f1f3f6; }
.customer-quick-body { min-height: 0; flex: 1 1 auto; padding: 16px 20px 20px; overflow: auto; }
.customer-quick-context { min-height: 55px; margin-bottom: 16px; padding: 8px 11px; border: 1px solid #e4e8ed; border-radius: 6px; background: #f8fafb; display: grid; grid-template-columns: 76px 1fr; align-items: center; }
.customer-quick-context span { grid-row: 1 / span 2; color: #74808d; font-size: 11px; }
.customer-quick-context strong { color: #283544; font-size: 13px; font-weight: 600; }
.customer-quick-context small { overflow: hidden; color: #7f8995; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.filter-bar > .business-filled-select { min-width: 170px; max-width: 340px; flex: 1 1 170px; }
.business-filled-select .customer-colored-select-options { top: 27px; }
.business-filled-select .customer-colored-select-options .customer-source-pill,
.business-filled-select .customer-colored-select-trigger .customer-source-pill { height: 18px; min-height: 18px; padding: 1px 6px; line-height: 16px; font-size: 11px; font-weight: 400; }
.business-filled-select .customer-colored-select-options > button { height: 20px; min-height: 20px; padding-top: 1px; padding-bottom: 1px; }
.customer-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.customer-quick-grid label { min-width: 0; }
.customer-quick-grid label.wide { grid-column: 1 / -1; }
.customer-quick-grid label > span { display: block; margin-bottom: 6px; color: #344251; font-size: 11px; }
.customer-quick-grid label > span i { color: #eb4f58; font-style: normal; }
.customer-quick-control { width: 100%; height: 34px; padding: 0 9px; border: 1px solid #d9dfe6; border-radius: 5px; background: #fff; color: #283544; font: inherit; font-size: 11px; outline: 0; }
.customer-quick-control:focus { border-color: #24b7ae; box-shadow: 0 0 0 2px rgba(36,183,174,.12); }
.customer-quick-relationship { position: relative; z-index: 8; }
.customer-quick-relationship.is-open { z-index: 30; }
.customer-quick-relationship .customer-colored-select-trigger { box-sizing: border-box; }
.customer-quick-relationship .customer-colored-select-trigger .customer-source-pill,
.customer-quick-relationship .customer-colored-select-trigger .customer-option-neutral { min-height: 20px; padding: 1px 6px; font-size: 11px; line-height: 18px; }
.customer-quick-relationship .customer-colored-select-options { top: 36px; max-height: 220px; }
.customer-quick-relationship .customer-colored-select-options button { height: 20px; min-height: 20px; padding: 1px 6px; font-size: 11px; line-height: 18px; }
.customer-quick-relationship .customer-colored-select-options .customer-source-pill,
.customer-quick-relationship .customer-colored-select-options .customer-option-neutral { min-height: 18px; padding: 0 6px; font-size: 11px; line-height: 18px; }
.customer-quick-relationship .customer-colored-select-options .customer-source-pill { min-height: 18px; padding: 0 6px; font-size: 11px; line-height: 16px; }
.customer-quick-control.readonly { background: #f3f5f7; color: #7b8590; }
textarea.customer-quick-control { height: 70px; padding-top: 8px; line-height: 1.5; resize: vertical; }
.customer-quick-check { display: flex; align-items: center; gap: 7px; color: #3b4856; font-size: 11px; }
.customer-quick-check input { accent-color: #0dafaa; }
.customer-quick-modal > footer { min-height: 52px; padding: 9px 20px; border-top: 1px solid #e7eaf0; display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 11px; }
.customer-quick-modal > footer .btn { font-size: 11px; }
.customer-delete-modal { width: 620px; }
.customer-delete-warning { padding: 11px 13px; border: 1px solid #f1d7d9; border-radius: 6px; background: #fff7f7; display: grid; gap: 5px; }
.customer-delete-warning b { color: #a53f47; font-size: 13px; font-weight: 600; }
.customer-delete-warning span { color: #7a6063; font-size: 11px; line-height: 1.6; }
.customer-delete-list { max-height: 190px; margin: 14px 0; padding: 0; overflow: auto; border: 1px solid #e7eaee; border-radius: 6px; list-style: none; }
.customer-delete-list li { min-height: 48px; padding: 7px 11px; border-bottom: 1px solid #edf0f2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-delete-list li:last-child { border-bottom: 0; }
.customer-delete-list li div { min-width: 0; display: grid; gap: 3px; }
.customer-delete-list strong { overflow: hidden; color: #2f3b49; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.customer-delete-list span { color: #7c8792; font-size: 10px; }
.customer-delete-list em { flex: 0 0 auto; padding: 3px 7px; border-radius: 10px; font-size: 10px; font-style: normal; }
.customer-delete-list em.shared { background: #e8f5f3; color: #078b82; }
.customer-delete-list em.demo { background: #edf2f8; color: #52708d; }
.customer-delete-reason { display: grid; gap: 6px; }
.customer-delete-reason span { color: #465260; font-size: 11px; }
.customer-delete-reason i { margin-right: 3px; color: #df4451; font-style: normal; }
.customer-delete-reason textarea { min-height: 72px; padding: 8px 10px; resize: vertical; border: 1px solid #dce2e8; border-radius: 5px; color: #303d4b; font: inherit; font-size: 12px; line-height: 1.6; outline: none; }
.customer-delete-reason textarea:focus { border-color: #6f9fd7; box-shadow: 0 0 0 2px rgba(71,126,190,.12); }
.customer-delete-confirm { border-color: #c94f57; background: #c94f57; color: #fff; }
.customer-delete-confirm:hover { border-color: #ae3e46; background: #ae3e46; color: #fff; }
.customer-delete-confirm:disabled { cursor: not-allowed; opacity: .58; }
.customer-operation-modal { width: 900px; }
.customer-operation-modal .customer-quick-body { min-height: 300px; padding: 0; }
.customer-operation-table-wrap { width: 100%; max-height: calc(100vh - 190px); overflow: auto; }
.customer-operation-log-table { min-width: 820px; }
.customer-operation-log-table th { position: sticky; top: 0; z-index: 1; background: #f8fafb; }
.customer-operation-log-table th,
.customer-operation-log-table td { padding: 10px 12px; font-size: 11px; vertical-align: middle; }
.customer-operation-log-table td:nth-child(2) { min-width: 170px; }
.customer-operation-log-table td:nth-child(5) { max-width: 270px; white-space: normal; line-height: 1.55; }
.customer-operation-log-table td strong,
.customer-operation-log-table td span { display: block; }
.customer-operation-log-table td strong { color: #2d3b49; font-size: 11px; font-weight: 500; }
.customer-operation-log-table td span { margin-top: 3px; color: #84909b; font-size: 10px; }
.customer-audit-action { display: inline-flex; min-width: 38px; justify-content: center; padding: 3px 7px; border-radius: 10px; background: #edf2f8; color: #52708d; font-size: 10px; font-style: normal; }
.customer-audit-action.created { background: #e8f6f2; color: #078b72; }
.customer-audit-action.updated { background: #edf3fb; color: #3a6da8; }
.customer-audit-action.deleted { background: #fff0f1; color: #b64049; }
.customer-operation-empty { min-height: 300px; color: #86919c; font-size: 12px; display: grid; place-items: center; }
.customer-operation-error { margin: 12px 20px; padding: 9px 11px; border: 1px solid #f0d0d3; border-radius: 5px; background: #fff6f7; color: #a7434b; font-size: 11px; line-height: 1.6; }
.customer-delete-modal .customer-operation-error { margin: 12px 0 0; }
.customer-operation-count { margin-right: auto; color: #7f8a95; font-size: 11px; }
.customer-directory-link { border: 0; padding: 0; background: transparent; color: #202b36; font: inherit; cursor: pointer; }
.customer-directory-link:hover { text-decoration: underline; }
.customer-detail-mask { position: fixed; inset: 0; background: rgba(15, 23, 34, .64); z-index: 44; }
.customer-detail-modal {
  position: fixed;
  top: 24px;
  left: 50%;
  width: min(1080px, calc(100vw - 48px));
  height: calc(100vh - 48px);
  overflow: hidden;
  display: grid;
  grid-template-rows: 62px minmax(0, 1fr);
  transform: translateX(-50%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 26, 42, .28);
  z-index: 45;
}
.customer-detail-modal.expanded { inset: 10px; width: auto; height: auto; transform: none; }
.customer-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 14px 0 20px; border-bottom: 1px solid #e6e9ee; cursor: grab; touch-action: none; user-select: none; }
.customer-detail-modal.dragging { will-change: left, top; }
.customer-detail-modal.dragging .customer-detail-header { cursor: grabbing; }
.customer-detail-modal.expanded .customer-detail-header { cursor: default; }
.customer-detail-header h2 { min-width: 0; overflow: hidden; margin: 0; color: #1e2938; font-size: 18px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.customer-detail-header-actions { display: flex; align-items: center; gap: 7px; }
.customer-detail-action { height: 30px; padding: 0 10px; border: 1px solid currentColor; border-radius: 5px; background: #fff; font-size: 11px; white-space: nowrap; }
.customer-detail-action.teal { color: #14a69c; }
.customer-detail-action.blue { color: #4c79d8; }
.customer-detail-action.rose { color: #d65782; }
.customer-detail-action.neutral { color: #697685; }
.customer-detail-action:hover { background: #f7fafc; }
.customer-detail-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 5px; background: transparent; color: #65717e; font-size: 18px; }
.customer-detail-icon:hover { background: #f1f3f6; color: #2f3a48; }
.customer-detail-layout { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 286px; }
.customer-detail-main { min-width: 0; min-height: 0; display: grid; grid-template-rows: 47px 42px minmax(0, 1fr); border-right: 1px solid #eaedf1; }
.customer-detail-tabs { display: flex; align-items: end; gap: 2px; overflow-x: auto; padding: 0 14px; border-bottom: 1px solid #e8eaef; scrollbar-width: thin; }
.customer-detail-tab { height: 47px; flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; padding: 0 12px; background: transparent; color: #4e5966; font-size: 12px; }
.customer-detail-tab:hover { color: #12a69c; }
.customer-detail-tab.active { border-bottom-color: #16b0a5; color: #139d94; font-weight: 400; }
.customer-detail-toolbar { display: flex; align-items: center; gap: 4px; padding: 0 16px; border-bottom: 1px solid #edf0f3; background: #fff; }
.customer-detail-toolbar button { height: 27px; border: 0; border-radius: 4px; padding: 0 8px; background: transparent; color: #4f5b68; font-size: 11px; }
.customer-detail-toolbar button:hover { background: #f3f5f8; color: #3972bd; }
.customer-detail-toolbar span { margin-left: auto; color: #7c8793; font-size: 10px; }
.customer-detail-scroll { min-height: 0; overflow: auto; padding: 18px 24px 28px; background: #fff; scrollbar-width: thin; scrollbar-color: #c9cfd7 transparent; }
.customer-detail-section { margin-bottom: 22px; }
.customer-detail-section-title { position: relative; height: 28px; margin-bottom: 13px; border-bottom: 3px solid #dfeafb; color: #34404e; font-size: 12px; }
.customer-detail-section-title::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 84px; height: 5px; border-radius: 4px 4px 0 0; background: #3f82ed; }
.customer-detail-section-title span { position: relative; z-index: 1; }
.customer-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.customer-detail-field { min-width: 0; }
.customer-detail-field label,
.customer-detail-note label { display: block; margin-bottom: 6px; color: #5d6875; font-size: 11px; }
.customer-detail-value { min-height: 34px; overflow: hidden; padding: 8px 10px; border-radius: 3px; background: #f7f8fa; color: #283442; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.customer-detail-note { margin-top: 14px; }
.customer-detail-note p { min-height: 56px; margin: 0; padding: 10px 12px; border-radius: 4px; background: #f7f8fa; color: #344150; font-size: 12px; line-height: 1.7; }
.customer-detail-badge { display: inline-flex; align-items: center; min-height: 22px; border-radius: 4px; padding: 2px 8px; color: #fff; font-size: 11px; line-height: 18px; white-space: nowrap; }
.customer-detail-badge.blue { background: #3f82ed; }
.customer-detail-badge.teal { background: #20b98d; }
.customer-detail-badge.green { background: #45b96f; }
.customer-detail-badge.amber { background: #efa91f; }
.customer-detail-badge.red { background: #e94755; }
.customer-detail-badge.orange { background: #f1873b; }
.customer-detail-badge.black { background: #17191c; }
.customer-contact-cards { display: grid; gap: 12px; }
.customer-contact-card { padding: 16px; border: 1px solid #e7eaf0; border-radius: 7px; background: #fff; }
.customer-contact-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; padding-bottom: 11px; border-bottom: 1px solid #edf0f3; }
.customer-contact-card-head > div { display: flex; align-items: center; gap: 9px; color: #2f3a48; font-size: 13px; font-weight: 700; }
.customer-contact-card-head small { color: #8b949f; font-size: 10px; }
.customer-detail-table-wrap { overflow: auto; border: 1px solid #e7eaf0; border-radius: 6px; }
.customer-detail-table { min-width: 720px; }
.customer-detail-table th,
.customer-detail-table td { padding: 10px 11px; font-size: 11px; }
.customer-detail-empty { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #929ca8; text-align: center; }
.customer-detail-empty > span { display: grid; place-items: center; width: 52px; height: 42px; margin-bottom: 12px; border: 2px solid #bfe6df; border-radius: 8px; color: #65c1b5; font-size: 24px; }
.customer-detail-empty strong { color: #67727f; font-size: 13px; font-weight: 400; }
.customer-detail-empty small { max-width: 360px; margin-top: 7px; font-size: 11px; line-height: 1.6; }
.customer-detail-aside { min-width: 0; min-height: 0; display: grid; grid-template-rows: 47px minmax(0, 1fr); background: #fbfcfd; }
.customer-detail-aside-tabs { display: flex; gap: 6px; padding: 0 14px; border-bottom: 1px solid #e8eaef; }
.customer-detail-aside-tabs button { height: 47px; border: 0; border-bottom: 2px solid transparent; padding: 0 7px; background: transparent; color: #5b6672; font-size: 11px; }
.customer-detail-aside-tabs button.active { border-bottom-color: #16b0a5; color: #139d94; font-weight: 400; }
.customer-detail-aside-body { min-height: 0; overflow: auto; padding: 16px 14px; }
.customer-detail-aside .customer-detail-empty { min-height: 420px; }
.customer-detail-log-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 11px 0; border-bottom: 1px solid #eceff2; }
.customer-detail-log-item > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #29afbe; color: #fff; font-size: 11px; }
.customer-detail-log-item strong { display: block; color: #475360; font-size: 11px; line-height: 1.55; font-weight: 400; }
.customer-detail-log-item small { display: block; margin-top: 4px; color: #929ba5; font-size: 9px; line-height: 1.5; }
.customer-directory-table td,
.customer-directory-table td *,
.customer-detail-modal,
.customer-detail-modal * { font-weight: 400 !important; }
@media (max-width: 1280px) {
  .customer-detail-modal { width: calc(100vw - 32px); }
  .customer-detail-layout { grid-template-columns: minmax(0, 1fr) 240px; }
  .customer-detail-action { padding: 0 7px; }
}
.customer-modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 34, .56); z-index: 40; }
.customer-management-modal { position: fixed; top: 24px; left: 50%; width: 780px; height: calc(100vh - 48px); max-width: calc(100vw - 48px); transform: translateX(-50%); background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(17, 30, 48, .24); z-index: 41; display: flex; flex-direction: column; overflow: hidden; }
.customer-management-modal.expanded { inset: 10px; width: auto; height: auto; max-width: none; transform: none; }
.customer-modal-head { flex: 0 0 60px; height: 60px; padding: 0 10px 0 20px; border-bottom: 1px solid #e8eaf0; display: flex; align-items: center; justify-content: space-between; cursor: grab; touch-action: none; user-select: none; }
.customer-management-modal.dragging { will-change: left, top; }
.customer-management-modal.dragging .customer-modal-head { cursor: grabbing; }
.customer-management-modal.expanded .customer-modal-head { cursor: default; }
.customer-modal-head h2 { margin: 0; color: #182335; font-size: 20px; line-height: 1; font-weight: 500; }
.customer-modal-head > div { display: flex; align-items: center; gap: 3px; }
.customer-modal-icon { width: 34px; height: 34px; border: 0; background: transparent; color: #566170; font-size: 22px; line-height: 1; border-radius: 5px; cursor: pointer; }
.customer-modal-icon:first-child { font-size: 16px; }
.customer-modal-icon:hover { background: #f1f3f6; color: #1f2b3a; }
.customer-modal-icon:focus-visible, .customer-control:focus-visible { outline: 2px solid #78a9ef; outline-offset: 1px; }
.customer-modal-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 24px 28px; scrollbar-color: #b9c1cc transparent; scrollbar-width: thin; }
.customer-modal-scroll::-webkit-scrollbar { width: 8px; }
.customer-modal-scroll::-webkit-scrollbar-thumb { background: #b9c1cc; border: 2px solid #fff; border-radius: 8px; }
.customer-modal-section { margin: 0 0 16px; }
.customer-section-title { position: relative; height: 48px; margin-bottom: 4px; border-bottom: 4px solid #dbe8fa; display: flex; align-items: center; color: #141e31; font-size: 14px; font-weight: 600; }
.customer-section-title::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 84px; height: 8px; background: #2f7deb; border-radius: 0 8px 0 8px; }
.customer-section-title.tab-style { align-items: flex-end; border-bottom-width: 2px; }
.customer-section-title.tab-style span { position: relative; z-index: 1; padding: 9px 16px; color: #fff; background: #2f7deb; border-radius: 6px 6px 0 0; }
.customer-section-title.tab-style::after { display: none; }
.customer-section-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.customer-section-actions .customer-section-action { margin-left: 0; }
.customer-section-action { margin-left: auto; padding: 4px 9px; border: 1px solid #cbdcf5; border-radius: 4px; background: #f4f8fe; color: #2f70c9; font: inherit; font-size: 12px; cursor: pointer; }
.customer-section-action:hover { border-color: #8fb3e7; background: #eaf3ff; color: #1767c0; }
.customer-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; padding-top: 8px; }
.customer-contact-group + .customer-contact-group { margin-top: 14px; padding-top: 4px; border-top: 1px solid #edf0f4; }
.customer-contact-group-title { display: flex; align-items: center; justify-content: space-between; padding: 5px 0 1px; color: #536276; font-size: 12px; }
.customer-contact-group-title small { color: #8994a2; font-size: 11px; font-weight: 400; }
.customer-contact-group-actions { display: flex; align-items: center; gap: 12px; }
.customer-contact-remove { padding: 3px 7px; border: 1px solid #f0c9c9; border-radius: 4px; background: #fff8f8; color: #b85a5a; font-size: 11px; cursor: pointer; }
.customer-contact-remove:hover { border-color: #dc9696; background: #fff0f0; color: #a23f3f; }
.customer-primary-checkbox { width: 100%; height: 32px; padding: 0 10px; border: 1px solid #dadee5; border-radius: 6px; background: #fff; color: #253247; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; cursor: pointer; }
.customer-primary-checkbox:hover { border-color: #9dbdeb; background: #f8fbff; }
.customer-primary-checkbox:focus-within { border-color: #2f7deb; outline: 2px solid #b8d2fa; outline-offset: 0; }
.customer-primary-checkbox input { width: 15px; height: 15px; margin: 0; accent-color: #2f7deb; cursor: pointer; }
.customer-primary-checkbox span { font-weight: 400; }
.customer-section-primary,
.customer-contact-primary { width: auto; height: 28px; padding: 0; border: 0; background: transparent; white-space: nowrap; }
.customer-section-primary:hover,
.customer-contact-primary:hover { border-color: transparent; background: transparent; }
.customer-field { min-width: 0; }
.customer-field.wide { grid-column: 1 / -1; }
.customer-field > label:not(.customer-primary-checkbox) { display: block; min-height: 30px; padding: 5px 0; color: #141e31; font-size: 14px; line-height: 20px; font-weight: 400; }
.customer-field > label:not(.customer-primary-checkbox) i { margin-right: 2px; color: #ef4b56; font-style: normal; }
.customer-field small { display: block; min-height: 19px; margin-top: -4px; color: #7f8997; font-size: 11px; line-height: 17px; }
.customer-control { width: 100%; height: 32px; border: 1px solid #dadee5; border-radius: 6px; padding: 0 8px; background: #fff; color: #1f2a38; font: inherit; font-size: 14px; }
.customer-control::placeholder { color: #8b95a3; opacity: 1; }
.customer-control.readonly { border-color: #f3f4f6; background: #f5f6f8; color: #8f98a5; }
select.customer-control { padding-right: 28px; cursor: pointer; }
.customer-textarea { min-height: 88px; padding: 8px; line-height: 1.55; resize: vertical; }
.customer-editable-select-field { position: relative; z-index: 8; }
.customer-editable-select-field.expanded { z-index: 30; }
.customer-editable-select-input { padding-right: 36px; }
.customer-editable-select-field.has-value .customer-editable-select-input { padding-left: 28px; }
.customer-editable-select-dot { position: absolute; top: 50%; left: 10px; z-index: 2; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.customer-editable-select-dot[hidden] { display: none; }
.customer-editable-select-toggle { position: absolute; top: 1px; right: 1px; width: 34px; height: 30px; padding: 0; border: 0; border-radius: 0 5px 5px 0; background: transparent; color: #263244; display: grid; place-items: center; cursor: pointer; }
.customer-editable-select-toggle:hover { background: transparent; color: #1767c0; }
.customer-editable-select-toggle:focus-visible { outline: 2px solid #78a9ef; outline-offset: -2px; }
.customer-editable-select-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms cubic-bezier(.16,1,.3,1); }
.customer-editable-select-field.expanded .customer-editable-select-toggle svg { transform: rotate(180deg); }
.customer-editable-select-field.expanded .customer-editable-select-input { border-color: #2f7deb; outline: 2px solid #b8d2fa; outline-offset: 0; }
.customer-editable-select-options { position: absolute; top: 36px; left: 0; z-index: 24; width: 100%; max-height: 246px; overflow-y: auto; padding: 4px; border: 1px solid #d8dee7; border-radius: 6px; background: #fff; box-shadow: 0 8px 20px rgba(25, 43, 68, .16); }
.customer-editable-select-options[hidden] { display: none; }
.customer-editable-select-options button { width: 100%; min-height: 32px; padding: 4px 7px; border: 0; border-radius: 4px; background: #fff; color: #253247; font: inherit; font-size: 13px; line-height: 20px; text-align: left; cursor: pointer; }
.customer-editable-select-options button:hover, .customer-editable-select-options button:focus-visible { background: #eaf3ff; color: #1767c0; outline: none; }
.customer-editable-select-options button[hidden] { display: none; }
.customer-level-manager-mask { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 34, .42); }
.customer-level-manager { position: fixed; top: 50%; left: 50%; z-index: 51; width: 560px; max-width: calc(100vw - 40px); max-height: calc(100vh - 64px); transform: translate(-50%, -50%); border-radius: 8px; background: #fff; box-shadow: 0 16px 48px rgba(17, 30, 48, .28); display: flex; flex-direction: column; overflow: hidden; }
.customer-level-manager > header { min-height: 68px; padding: 14px 16px 12px 20px; border-bottom: 1px solid #e7eaf0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.customer-level-manager > header h3 { margin: 0 0 5px; color: #182335; font-size: 18px; line-height: 24px; font-weight: 500; }
.customer-level-manager > header p { margin: 0; color: #6f7b8b; font-size: 12px; line-height: 18px; font-weight: 400; }
.customer-level-manager > header > button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #566170; font-size: 22px; line-height: 1; cursor: pointer; }
.customer-level-manager > header > button:hover { background: #f1f4f8; color: #263244; }
.customer-level-manager-body { min-height: 0; padding: 16px 20px; overflow: auto; }
.customer-level-manager-toolbar { display: block; }
.customer-level-manager-toolbar label { display: block; min-width: 0; }
.customer-level-manager-toolbar label > span { display: block; margin-bottom: 5px; color: #253247; font-size: 12px; line-height: 18px; font-weight: 400; }
.customer-level-manager-toolbar input { width: 100%; height: 34px; padding: 0 9px; border: 1px solid #d7dde6; border-radius: 5px; background: #fff; color: #253247; font: inherit; font-size: 13px; outline: none; }
.customer-level-manager-toolbar input:focus, .customer-level-manager-edit-input:focus { border-color: #2f7deb; box-shadow: 0 0 0 2px #c9dcf8; }
.customer-level-manager-combined { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.customer-level-manager-combined button { height: 34px; padding: 0 14px; border: 1px solid #2f7deb; border-radius: 5px; background: #2f7deb; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.customer-level-manager-combined button:hover { border-color: #256ac9; background: #256ac9; }
.customer-level-manager-message { margin-top: 12px; padding: 8px 10px; border-radius: 5px; background: #eef8f5; color: #14725f; font-size: 12px; line-height: 18px; }
.customer-level-manager-message.error { background: #fff1f1; color: #ad4149; }
.customer-level-manager-list { margin-top: 14px; border: 1px solid #e2e7ee; border-radius: 6px; overflow: hidden; }
.customer-level-manager-row { min-height: 48px; padding: 7px 9px 7px 12px; border-bottom: 1px solid #edf0f4; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.customer-level-manager-row[hidden], .customer-level-manager-empty[hidden] { display: none; }
.customer-level-manager-row:last-child { border-bottom: 0; }
.customer-level-manager-row:hover { background: #f8faff; }
.customer-level-manager-color { width: 11px; height: 11px; border-radius: 3px; }
.customer-level-manager-name { min-width: 0; color: #243246; font-size: 13px; line-height: 20px; font-weight: 400; overflow-wrap: anywhere; }
.customer-level-manager-edit-input { width: 100%; height: 32px; padding: 0 8px; border: 1px solid #d7dde6; border-radius: 5px; color: #243246; font: inherit; font-size: 13px; outline: none; }
.customer-level-manager-actions { display: flex; align-items: center; gap: 6px; }
.customer-level-manager-actions button { height: 28px; padding: 0 9px; border: 1px solid #d6e1f1; border-radius: 4px; background: #f7f9fc; color: #356fc1; font: inherit; font-size: 11px; cursor: pointer; }
.customer-level-manager-actions button:hover { border-color: #9bb9e5; background: #eaf3ff; color: #1767c0; }
.customer-level-manager-actions button.danger { border-color: #efd1d3; background: #fff8f8; color: #ad4a50; }
.customer-level-manager-actions button.danger:hover { border-color: #dfa3a7; background: #fff0f0; color: #96363d; }
.customer-level-manager-empty { padding: 36px 16px; color: #7b8796; font-size: 12px; text-align: center; }
.customer-level-manager > footer { min-height: 50px; padding: 9px 20px; border-top: 1px solid #e7eaf0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-level-manager > footer span { color: #7a8593; font-size: 12px; }
.customer-level-manager > footer button { min-width: 88px; height: 32px; border: 1px solid #2f7deb; border-radius: 5px; background: #2f7deb; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.customer-level-manager > footer button:hover { border-color: #256ac9; background: #256ac9; }
@media (max-width: 640px) { .customer-level-manager-toolbar { grid-template-columns: 1fr; } .customer-level-manager { max-width: calc(100vw - 24px); } }
.customer-source-pill { display: inline-flex; max-width: 100%; min-height: 22px; padding: 3px 8px; align-items: center; border-radius: 4px; color: #fff; font-size: 12px; font-weight: 400; line-height: 16px; white-space: normal; }
.customer-option-neutral { display: inline-flex; max-width: 100%; min-height: 22px; align-items: center; color: #7f8997; font-size: 13px; font-weight: 400; line-height: 18px; white-space: normal; }
.customer-colored-select { position: relative; z-index: 7; }
.customer-colored-select.is-open { z-index: 29; }
.customer-colored-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 8px; text-align: left; cursor: pointer; }
.customer-colored-select-trigger:hover, .customer-colored-select.is-open .customer-colored-select-trigger { border-color: #2f7deb; }
.customer-colored-select-trigger svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms cubic-bezier(.16,1,.3,1); }
.customer-colored-select.is-open .customer-colored-select-trigger svg { transform: rotate(180deg); }
.customer-colored-select-options { position: absolute; top: 36px; left: 0; z-index: 25; width: 100%; max-height: 220px; overflow-y: auto; padding: 4px; border: 1px solid #d8dee7; border-radius: 6px; background: #fff; box-shadow: 0 8px 20px rgba(25, 43, 68, .16); }
.customer-colored-select-options[hidden] { display: none; }
.customer-colored-select-options button { width: 100%; min-height: 32px; padding: 4px 7px; border: 0; border-radius: 4px; background: #fff; text-align: left; cursor: pointer; }
.customer-colored-select-options button[aria-selected="true"],
.customer-colored-select-options button:hover,
.customer-colored-select-options button:focus-visible { background: #eaf3ff; outline: none; }
.customer-address-field { position: relative; z-index: 6; }
.customer-address-field:has(.customer-address-trigger.expanded) { z-index: 40; }
.customer-address-trigger { width: 100%; height: 32px; padding: 0 8px; border: 1px solid #dadee5; border-radius: 6px; background: #fff; color: #1f2a38; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; text-align: left; cursor: pointer; }
.customer-address-trigger.placeholder { color: #596678; }
.customer-address-trigger:hover, .customer-address-trigger.expanded { border-color: #2f7deb; }
.customer-address-trigger:focus-visible { outline: 2px solid #78a9ef; outline-offset: 1px; }
.customer-address-trigger svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms cubic-bezier(.16,1,.3,1); }
.customer-address-trigger.expanded svg { transform: rotate(180deg); }
.customer-address-cascader { position: absolute; top: 36px; left: 0; z-index: 41; width: min(720px, calc(100vw - 80px)); overflow: hidden; border: 1px solid #d8dee7; border-radius: 6px; background: #fff; box-shadow: 0 8px 20px rgba(25, 43, 68, .16); isolation: isolate; }
.customer-address-cascader[hidden] { display: none; }
.customer-address-search { height: 40px; padding: 0 12px; border-bottom: 1px solid #e3e7ed; display: flex; align-items: center; gap: 8px; }
.customer-address-search svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: #687789; stroke-width: 1.7; stroke-linecap: round; }
.customer-address-search input { width: 100%; height: 36px; border: 0; outline: 0; color: #273547; font-size: 13px; }
.customer-address-search input::placeholder { color: #8490a0; }
.customer-address-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 276px; }
.customer-address-column { min-width: 0; padding: 6px; overflow-y: auto; border-right: 1px solid #e3e7ed; scrollbar-color: #bcc4cf transparent; scrollbar-width: thin; }
.customer-address-column:last-child { border-right: 0; }
.customer-address-column button { width: 100%; min-height: 34px; padding: 6px 9px; border: 0; border-radius: 4px; background: transparent; color: #2b3849; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; text-align: left; cursor: pointer; }
.customer-address-column button:hover { background: #f2f6fb; }
.customer-address-column button.selected { background: #e9f2ff; color: #1768cf; font-weight: 600; }
.customer-address-column button i { color: #7b8796; font-size: 17px; font-style: normal; }
.customer-address-column p, .customer-address-empty { margin: 14px 10px; color: #748194; font-size: 12px; line-height: 1.5; }
.customer-address-search-results { max-height: 276px; padding: 6px; overflow-y: auto; }
.customer-address-search-results button { width: 100%; min-height: 38px; padding: 7px 10px; border: 0; border-radius: 4px; background: transparent; color: #344256; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; text-align: left; cursor: pointer; }
.customer-address-search-results button:hover { background: #f2f6fb; }
.customer-address-search-results button b { color: #1768cf; font-size: 13px; }
.customer-duplicate-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 10px 0 0; padding: 12px 14px; border: 1px solid #e2e7ef; border-radius: 6px; background: #f8f9fc; }
.customer-duplicate-panel strong { display: block; margin-bottom: 3px; color: #243246; font-size: 13px; }
.customer-duplicate-panel span { display: block; color: #667486; font-size: 11px; line-height: 1.5; }
.customer-duplicate-panel em { display: block; margin-top: 5px; color: #168b6d; font-size: 11px; font-style: normal; font-weight: 600; }
.customer-modal-foot { flex: 0 0 50px; height: 50px; padding: 9px 24px 8px; border-top: 1px solid #e8eaf0; background: #fff; display: flex; align-items: center; gap: 8px; }
.customer-modal-foot .btn { width: 120px; height: 32px; font-size: 14px; }
.customer-modal-foot .customer-submit { border-color: #0ea99d; background: #0ea99d; color: #fff; }
.customer-modal-foot .customer-submit:hover { border-color: #0b958b; background: #0b958b; }
.subtable { border: 1px solid #eceef2; border-radius: 5px; overflow: hidden; }
.subtable-title { padding: 12px 13px; font-size: 13px; font-weight: 700; }
.subtable-title span { margin-left: 10px; color: #88929c; font-size: 11px; font-weight: 400; }
.subtable table { min-width: 900px; }
.mini-control { width: 80px; height: 28px; border: 1px solid #dfe4ea; border-radius: 4px; }
.subtable-actions { display: flex; gap: 7px; padding: 10px 12px; }
.totals { margin-top: 18px; }
.source-bottom { position: fixed; right: 10px; left: calc(var(--sidebar-width, 240px) + 10px); bottom: 0; height: 54px; background: #fff; border-top: 1px solid #e8e9ee; display: flex; align-items: center; gap: 9px; padding-left: 25px; z-index: 4; }
.shell.sidebar-collapsed .source-bottom { left: 10px; }
.dash-page { background: #fff; border: 1px solid #ececf1; border-radius: 7px; padding: 16px 14px 22px; }
.analytics-brand { display: flex; flex-direction: column; align-items: flex-start; padding: 0 3px 13px; border-bottom: 1px solid #eceef3; }
.analytics-brand-title { color: #303a46; font-size: 18px; line-height: 24px; font-weight: 700; }
.analytics-brand-subtitle { margin-top: 3px; color: #4c79d8; font-size: 13px; line-height: 18px; }
.analytics-brand-subtitle-en { margin-top: 1px; color: #7f8894; font-size: 10px; line-height: 15px; letter-spacing: .45px; }
.dash-context { color: #3d5fa7; font-size: 15px; font-weight: 700; padding: 12px 3px 11px; border-bottom: 3px solid #dce3f4; }
.dash-tabs { display: flex; gap: 22px; border-bottom: 1px solid #e6e7ed; }
.dash-tab { border: 0; background: transparent; padding: 11px 1px 9px; color: #565f69; font-size: 12px; border-bottom: 2px solid transparent; }
.dash-tab.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.dash-filter { border: 0; border-bottom: 1px solid #eff0f3; padding: 13px 0; }
.dash-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 13px 0; gap: 9px; }
.dash-stats .stat-card { background: #f7f8fc; border: 0; text-align: center; min-height: 96px; }
.dash-stats .stat-value { color: #4e72bd; }
.dash-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 12px; }
.dash-charts .chart-card { background: #f8f9fd; min-height: 205px; }
.chart-op { border: 0; background: transparent; color: #87919b; margin-left: 8px; font-size: 13px; }
.chart-op:hover { color: var(--blue); }
.dash-table { border-radius: 6px; }

/* 原版看板的关键视觉：浅网格、折线与面积填充，避免用通用柱状块替代趋势图。 */
.line-chart { height: 176px; margin-top: 8px; overflow: hidden; }
.line-chart svg { display: block; width: 100%; height: 100%; }
.chart-grid line { stroke: #e5e9f1; stroke-width: 1; stroke-dasharray: 3 3; }
.chart-area { fill: rgba(76,121,216,.13); }
.chart-line { fill: none; stroke: #4c79d8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-dot { fill: #fff; stroke: #4c79d8; stroke-width: 2; cursor: pointer; }
.chart-dot:hover { fill: #4c79d8; r: 5; }
.chart-axis { fill: #9299a4; font-size: 10px; }
.hero-banner { position: relative; overflow: hidden; background: linear-gradient(108deg, #27358d 0%, #3f67ba 52%, #4f88d8 100%); }
.hero-banner::before, .hero-banner::after { content: ''; position: absolute; pointer-events: none; border: 1px solid rgba(255,255,255,.12); transform: rotate(32deg); }
.hero-banner::before { width: 310px; height: 180px; right: 9%; top: -72px; border-radius: 28px; }
.hero-banner::after { width: 210px; height: 138px; left: 7%; bottom: -80px; border-radius: 24px; }
.hero-banner > * { position: relative; z-index: 1; }
.entry-links button { display: flex; align-items: center; gap: 8px; }
.entry-icon { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 6px; font-size: 14px; font-weight: 700; }
.sales-icon { background: #e4ebff; color: #557bd3; }
.purchase-icon { background: #e1f5ef; color: #35aa91; }
.production-icon { background: #fff0d9; color: #d5952c; }
.inventory-icon { background: #f0e7ff; color: #8a64ca; }
.task-icon { background: #e7eefc; color: #4c79d8; }
.more-icon { background: #edf0f5; color: #7f8896; font-size: 11px; }
.flow-icon { color: #5d78b7; margin-right: 7px; }

/* 项目任务管理：轻量项目主档 + 任务看板 + 里程碑 + 预警。 */
.project-task-page { min-width: 0; overflow: hidden; }
.project-task-page .dash-context { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project-task-page .dash-context > span { min-width: 0; }
.project-task-page .dash-context .btn { flex: 0 0 auto; }
.project-task-page .dash-filter { min-width: 0; }
.project-task-page .dash-filter .filter-select { min-width: 122px; flex: 1 1 122px; }
.project-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 13px; }
.project-card { border: 1px solid #e7eaf0; background: #fbfcff; border-radius: 8px; padding: 15px 16px; }
.project-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.project-card-head small { display: block; color: #929aa4; font-size: 10px; margin-bottom: 5px; }
.project-card-head strong { display: block; color: #303a46; font-size: 13px; line-height: 1.45; }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; margin: 14px 0; color: #727c87; font-size: 11px; }
.project-progress-head { display: flex; justify-content: space-between; color: #68737e; font-size: 11px; margin-bottom: 6px; }
.project-progress-head b { color: #4c79d8; }
.progress-track { height: 7px; background: #e9edf4; border-radius: 10px; overflow: hidden; }
.progress-track i, .table-progress i { display: block; height: 100%; background: linear-gradient(90deg, #668add, #48b4a2); border-radius: inherit; }
.project-stage-table .card-title span, .data-card .card-title span { float: right; color: #8a939e; font-size: 11px; font-weight: 400; }
.table-progress { width: 118px; height: 7px; position: relative; background: #e9edf4; border-radius: 10px; }
.table-progress span { position: absolute; left: 124px; top: -5px; color: #65707b; font-size: 10px; }
.kanban-board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 11px; overflow-x: auto; padding-bottom: 3px; }
.kanban-column { background: #f6f7fb; border: 1px solid #e9ebf1; border-radius: 8px; min-height: 430px; }
.kanban-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; color: #3f4954; font-size: 12px; font-weight: 700; border-bottom: 1px solid #e8eaf0; }
.kanban-head b { display: inline-flex; min-width: 21px; height: 21px; align-items: center; justify-content: center; border-radius: 11px; background: #e5e9f3; color: #687586; font-size: 10px; }
.kanban-list { padding: 10px; }
.task-card { width: 100%; border: 1px solid #e5e8ef; background: #fff; border-radius: 7px; padding: 12px; margin-bottom: 9px; text-align: left; box-shadow: 0 2px 6px rgba(39,52,74,.035); }
.task-card:hover { border-color: #9eb2e2; box-shadow: 0 4px 12px rgba(53,78,130,.08); }
.task-card-top, .task-card-foot { display: flex; justify-content: space-between; align-items: center; }
.task-card-top small { color: #9aa2ac; font-size: 9px; }
.task-card strong { display: block; margin: 9px 0 5px; color: #303a45; font-size: 12px; line-height: 1.45; }
.task-card p { margin: 0 0 11px; color: #7d8690; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-card-foot { color: #77828c; font-size: 10px; border-top: 1px dashed #edf0f3; padding-top: 9px; }
.task-priority { padding: 2px 6px; border-radius: 9px; background: #eef1f4; color: #65707a; font-size: 9px; }
.task-priority.high { background: #fff2df; color: #b97822; }
.task-priority.urgent { background: #ffe8e8; color: #d65358; }
.overdue-text { color: #d65358 !important; font-weight: 700; }
.kanban-empty { padding: 32px 8px; text-align: center; color: #a0a7af; font-size: 11px; }
.alert-strip { display: flex; gap: 12px; align-items: center; padding: 11px 13px; margin-bottom: 11px; border: 1px solid #f0dcc2; background: #fff8ed; border-radius: 6px; color: #806841; font-size: 11px; }
.alert-strip strong { color: #9a681f; }
@media (max-width: 1250px) { .project-overview-grid { grid-template-columns: 1fr; } .kanban-board { grid-template-columns: repeat(4, 260px); } }

/* 登录与账号权限入口 */
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(500px, .92fr);
  background: #f4f4f8;
}
.login-brand-panel {
  --login-art-width: min(100%, 56.4vh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 56px;
  padding-right: max(40px, calc((100% - var(--login-art-width)) / 2 + 40px));
  padding-bottom: 44px;
  padding-left: max(40px, calc((100% - var(--login-art-width)) / 2 + 40px));
  color: #fff;
  background-color: #fff;
  background-image: url('./assets/login-whole-house-user.png');
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
}
.login-brand-panel::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--login-art-width);
  background: linear-gradient(90deg, rgba(13, 18, 26, .72) 0%, rgba(18, 23, 30, .56) 42%, rgba(25, 29, 34, .32) 74%, rgba(30, 32, 34, .18) 100%);
  transform: translateX(-50%);
}
.login-brand-panel::after {
  display: none;
}
.login-brand-lockup,
.login-brand-copy,
.login-permission-summary { position: relative; z-index: 1; }
.login-brand-lockup { display: flex; flex-direction: column; align-items: center; width: max-content; color: #fff; line-height: 1; text-align: center; }
.login-brand-name { display: flex; align-items: baseline; justify-content: center; gap: 13px; width: 100%; }
.login-brand-word { font-family: Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 900; letter-spacing: 1px; }
.login-brand-cn { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 26px; font-weight: 900; letter-spacing: -1px; }
.login-brand-tagline { margin-top: 18px; font-size: 13px; letter-spacing: 1.4px; }
.login-brand-tagline-en { margin-top: 7px; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; opacity: .9; }
.login-brand-copy { margin-top: auto; max-width: 620px; text-align: center; }
.login-brand-copy h1 { margin: 0; font-size: 19px; line-height: 1.32; letter-spacing: 0; white-space: nowrap; }
.login-brand-copy p { margin: 18px 0 5px; font-size: 17px; letter-spacing: 3px; }
.login-brand-copy small { font-size: 11px; letter-spacing: 1.55px; opacity: .78; }
.login-permission-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 580px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.login-permission-summary strong { font-size: 14px; }
.login-permission-summary span { max-width: 500px; font-size: 12px; line-height: 1.75; opacity: .78; }
.login-form-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 56px 76px 72px;
  background: #fff;
}
.login-form { width: 100%; max-width: 420px; }
.auth-account-editor { padding: 18px; margin-block-end: 16px; }
.auth-account-editor h3 { margin: 0 0 16px; }
.auth-account-editor p { color: var(--muted); line-height: 1.6; }
.auth-account-editor .field-grid { align-items: start; }
.auth-role-editor { padding: 18px; margin-block-end: 16px; }
.auth-role-editor h3 { margin: 0 0 16px; }
.auth-role-pages { margin: 14px 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfd; }
.auth-role-pages > p { margin: 5px 0 14px; color: var(--muted); }
.auth-role-pages section + section { margin-top: 14px; }
.auth-role-pages h4 { margin: 0 0 7px; color: #445066; font-size: 13px; }
.auth-role-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; }
.auth-role-page-grid label { display: flex; align-items: center; gap: 7px; min-height: 28px; color: #4b5668; }
@media (max-width: 900px) { .auth-role-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .auth-role-page-grid { grid-template-columns: 1fr; } }
.login-heading { margin-bottom: 28px; }
.login-heading h2 { margin: 0; color: #253245; font-size: 27px; line-height: 1.35; }
.login-heading p { margin: 8px 0 0; color: #7b8796; font-size: 13px; }
.login-field { display: block; margin-top: 17px; }
.login-field > span { display: block; margin-bottom: 7px; color: #566375; font-size: 12px; font-weight: 700; }
.login-field input,
.login-field select {
  width: 100%;
  height: 42px;
  border: 1px solid #dce2e9;
  border-radius: 6px;
  outline: 0;
  padding: 0 12px;
  background: #fff;
  color: #283547;
  font-size: 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-field input:hover,
.login-field select:hover { border-color: #b7c5d7; }
.login-field input:focus,
.login-field select:focus { border-color: #4b79c7; box-shadow: 0 0 0 3px rgba(75, 121, 199, .12); }
.login-password-wrap, .login-field > .login-password-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 56px; margin: 0; font-weight: 400; }
.login-password-wrap input { min-width: 0; }
.login-password-wrap input { border-radius: 6px 0 0 6px; }
.login-password-wrap button {
  border: 1px solid #dce2e9;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: #f7f9fc;
  color: #58708e;
  font-size: 11px;
}
.login-password-wrap button:hover { background: #eef3f9; color: #3565a8; }
.login-password-wrap button { cursor: pointer; }
.login-password-wrap button:focus-visible { outline: 2px solid #4b79c7; outline-offset: 2px; }
.login-access-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #e8ecf2;
  border-radius: 7px;
  background: #f7f8fb;
}
.login-access-preview span { display: block; margin-bottom: 5px; color: #8b95a2; font-size: 10px; }
.login-access-preview strong { display: block; color: #4b5869; font-size: 11px; line-height: 1.5; }
.login-error { margin-top: 14px; padding: 10px 12px; border: 1px solid #f0cece; border-radius: 5px; background: #fff6f6; color: #bd5459; font-size: 11px; line-height: 1.55; }
.login-submit {
  width: 100%;
  height: 42px;
  margin-top: 20px;
  border: 1px solid #3569b3;
  border-radius: 6px;
  background: #3f72bb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}
.login-submit:hover { background: #3567ae; }
.login-submit:focus-visible { outline: 3px solid rgba(63, 114, 187, .22); outline-offset: 2px; }
.login-demo-note { margin-top: 12px; color: #87919d; font-size: 11px; text-align: center; }
.login-demo-note strong { color: #5a6776; }
.login-form-footer { position: absolute; right: 0; bottom: 28px; left: 0; color: #9aa3ae; font-size: 10px; text-align: center; }

.account-summary { display: flex; align-items: center; gap: 7px; max-width: 370px; min-width: 0; }
.account-summary[data-auth-switch] { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.account-switch-label { color: #3568ae; font-size: 11px; white-space: nowrap; }
.account-summary[data-auth-switch]:focus-visible { outline: 2px solid #17a99c; outline-offset: 3px; }
.user-meta { display: flex; flex-direction: column; min-width: 0; max-width: 300px; }
.user-meta strong,
.user-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta strong { color: #3d4753; font-size: 9px; line-height: 10px; font-weight: 700; }
.user-meta small { color: #9199a3; font-size: 8px; line-height: 9px; }
.logout-button { height: 22px; border: 1px solid #e1e5eb; border-radius: 4px; padding: 0 8px; background: #fff; color: #65707c; font-size: 10px; }
.logout-button:hover { border-color: #9fb2ce; color: #3568ae; }

@media (max-height: 720px) {
  .login-brand-panel { padding-top: 38px; padding-bottom: 30px; }
  .login-form-panel { padding-top: 34px; padding-bottom: 54px; }
  .login-heading { margin-bottom: 20px; }
  .login-permission-summary { margin-top: 28px; }
}

/* 制云生产模块：生产准备、执行和质量事实的轻量化表达 */
.production-module-panel,
.production-cockpit-panel { margin-bottom: 14px; padding: 14px 16px; border: 1px solid #e5eaf1; border-radius: 7px; background: #fff; }
.production-panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 13px; color: #354457; font-size: 13px; font-weight: 700; }
.production-panel-title small { color: #8a96a4; font-size: 10px; font-weight: 400; }
.readiness-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.readiness-step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: 16px 15px; column-gap: 7px; padding: 9px 10px; border: 1px solid #e6ebf2; border-radius: 6px; background: #fafbfd; }
.readiness-step b { grid-row: 1 / span 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e5eaf1; color: #7c8998; font-size: 11px; }
.readiness-step span { overflow: hidden; color: #566475; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.readiness-step em { color: #99a3ae; font-size: 10px; font-style: normal; }
.readiness-step.done { border-color: #cfe7d9; background: #f5fbf7; }
.readiness-step.done b { background: #45a56b; color: #fff; }
.readiness-step.done em { color: #3f9964; }
.readiness-step.current { border-color: #efd9a9; background: #fffaf0; }
.readiness-step.current b { background: #c8922f; color: #fff; }
.readiness-step.current em { color: #b47d23; }
.readiness-track.compact { margin-bottom: 12px; }
.production-fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 11px; border-top: 1px solid #eef1f5; }
.production-fact-grid span,
.production-kpi-row span { display: block; margin-bottom: 4px; color: #929daa; font-size: 10px; }
.production-fact-grid strong { display: block; overflow: hidden; color: #4c5b6c; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.production-kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.production-kpi-row > div { padding: 10px 12px; border: 1px solid #edf0f4; border-radius: 6px; background: #fbfcfe; }
.production-kpi-row strong { color: #304f7e; font-size: 20px; line-height: 1; }
.production-kpi-row em { margin-left: 4px; color: #85919f; font-size: 10px; font-style: normal; }
.cockpit-alert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cockpit-alert-grid > div { padding: 10px 12px; border: 1px solid #edf0f4; border-radius: 6px; background: #fbfcfe; }
.cockpit-alert-grid strong { color: #566475; font-size: 11px; }
.cockpit-alert-grid p { margin: 6px 0 0; color: #85919f; font-size: 10px; line-height: 1.5; }
.alert-number { float: right; color: #bd7b25; font-size: 18px; font-weight: 700; line-height: 1; }
.alert-number span { margin-left: 2px; color: #8b97a4; font-size: 10px; font-weight: 400; }
@media (max-width: 980px) {
  .production-fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readiness-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 首页工作台：只承载当前岗位的待办、快捷处理、最近记录和业务提醒。 */
.workbench { width: 100%; max-width: 1480px; margin: 0 auto; color: #303a46; }
.workbench-brand-banner { margin-bottom: 12px; }
.workbench-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 20px 24px;
  border: 1px solid #e7e9ee;
  border-radius: 7px;
  background: #fff;
}
.workbench-welcome h1 { margin: 0; color: #263345; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.3px; }
.workbench-welcome p { margin: 7px 0 0; color: #5f6b78; font-size: 12px; line-height: 1.45; }
.workbench-welcome small { display: block; margin-top: 4px; color: #6b7784; font-size: 11px; line-height: 1.5; }
.workbench-summary { display: grid; grid-template-columns: repeat(3, minmax(82px, 1fr)); min-width: 330px; }
.workbench-summary > div { padding: 3px 22px; border-left: 1px solid #eceef2; text-align: center; }
.workbench-summary strong { display: block; color: #365f9d; font-size: 25px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.workbench-summary span { display: block; margin-top: 6px; color: #697582; font-size: 10px; }
.workbench-primary-grid,
.workbench-secondary-grid { display: grid; gap: 12px; margin-top: 12px; }
.workbench-primary-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); }
.workbench-primary-grid.single { grid-template-columns: minmax(0, 1fr); }
.workbench-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workbench-panel { min-width: 0; overflow: hidden; border: 1px solid #e7e9ee; border-radius: 7px; background: #fff; }
.workbench-panel-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; border-bottom: 1px solid #eceef2; }
.workbench-panel-head h2 { margin: 0; color: #344152; font-size: 14px; line-height: 1; font-weight: 600; }
.workbench-panel-link { border: 0; padding: 5px 0; background: transparent; color: #5274aa; font-size: 11px; }
.workbench-panel-link:hover { color: #2f61a7; text-decoration: underline; text-underline-offset: 3px; }
.workbench-todo-list,
.workbench-recent-list,
.workbench-alert-list { padding: 3px 14px 5px; }
.workbench-todo-row,
.workbench-recent-row,
.workbench-alert-row {
  display: grid;
  align-items: center;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid #f0f1f4;
  background: transparent;
  color: inherit;
  text-align: left;
}
.workbench-todo-row:last-child,
.workbench-recent-row:last-child,
.workbench-alert-row:last-child { border-bottom: 0; }
.workbench-todo-row { grid-template-columns: 30px minmax(0, 1fr) auto 16px; min-height: 58px; gap: 8px; padding: 6px 3px; }
.workbench-todo-row:hover,
.workbench-recent-row:hover,
.workbench-alert-row:hover { background: #f8f9fb; }
.workbench-todo-row:focus-visible,
.workbench-recent-row:focus-visible,
.workbench-alert-row:focus-visible,
.workbench-quick-action:focus-visible,
.workbench-panel-link:focus-visible { outline: 2px solid rgba(69, 111, 196, .5); outline-offset: -2px; }
.workbench-row-icon { display: inline-flex; align-items: center; justify-content: center; }
.workbench-row-icon .nav-icon,
.workbench-recent-row .nav-icon,
.workbench-quick-action .nav-icon { margin-right: 0; }
.workbench-row-copy,
.workbench-recent-row > span:nth-child(2),
.workbench-alert-row > span:nth-child(2),
.workbench-quick-action > span:nth-child(2) { min-width: 0; }
.workbench-row-copy strong,
.workbench-recent-row strong,
.workbench-alert-row strong,
.workbench-quick-action strong { display: block; overflow: hidden; color: #3c4857; font-size: 11px; line-height: 1.45; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.workbench-row-copy small,
.workbench-recent-row small,
.workbench-alert-row small,
.workbench-quick-action small { display: block; overflow: hidden; margin-top: 3px; color: #6e7985; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.workbench-status { min-width: 45px; padding: 3px 7px; border: 1px solid #e4e7eb; border-radius: 9px; color: #6f7984; font-size: 9px; line-height: 1.2; text-align: center; white-space: nowrap; }
.workbench-status.today { border-color: #c7d9ee; background: #f3f7fc; color: #426f9f; }
.workbench-status.pending { border-color: #ead7ad; background: #fffaf0; color: #956c28; }
.workbench-status.overdue { border-color: #eccdcd; background: #fff7f7; color: #b35156; }
.workbench-row-arrow,
.workbench-recent-row > svg,
.workbench-alert-row > svg { width: 15px; height: 15px; fill: none; stroke: #a3abb5; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.workbench-quick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3px 14px 5px; }
.workbench-quick-action { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; min-height: 70px; gap: 8px; padding: 8px 7px; border: 0; border-bottom: 1px solid #f0f1f4; background: transparent; color: inherit; text-align: left; }
.workbench-quick-action:nth-child(odd) { border-right: 1px solid #f0f1f4; }
.workbench-quick-action:hover { background: #f8f9fb; }
.workbench-recent-row { grid-template-columns: 30px minmax(0, 1fr) 16px; min-height: 61px; gap: 8px; padding: 6px 3px; }
.workbench-alert-row { grid-template-columns: 30px minmax(0, 1fr) 16px; min-height: 61px; gap: 9px; padding: 6px 3px; }
.workbench-alert-count { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid #dbe4ee; border-radius: 50%; background: #f5f8fb; color: #56718f; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.workbench-alert-row.warning .workbench-alert-count { border-color: #ebd9b8; background: #fffaf1; color: #9a712e; }
.workbench-alert-row.danger .workbench-alert-count { border-color: #e9cece; background: #fff7f7; color: #b35357; }
.workbench-empty { display: grid; min-height: 160px; place-items: center; color: #929ba5; font-size: 11px; }
.workbench-primary-grid,
.workbench-secondary-grid { animation: workbench-enter .24s cubic-bezier(.22, 1, .36, 1) both; }
.workbench-secondary-grid { animation-delay: .03s; }
@keyframes workbench-enter {
  from { opacity: .6; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .workbench-primary-grid,
  .workbench-secondary-grid { animation: none; }
}
@media (max-width: 1180px) {
  .workbench-primary-grid { grid-template-columns: minmax(0, 1fr); }
  .workbench-quick-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workbench-quick-action:nth-child(odd) { border-right: 0; }
  .workbench-quick-action:not(:nth-child(3n)) { border-right: 1px solid #f0f1f4; }
}
@media (max-width: 860px) {
  .workbench-welcome { align-items: flex-start; flex-direction: column; gap: 18px; }
  .workbench-summary { width: 100%; min-width: 0; }
  .workbench-summary > div:first-child { border-left: 0; }
  .workbench-secondary-grid { grid-template-columns: minmax(0, 1fr); }
  .workbench-quick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workbench-quick-action:not(:nth-child(3n)) { border-right: 0; }
  .workbench-quick-action:nth-child(odd) { border-right: 1px solid #f0f1f4; }
}

/* 客户录入弹窗与客户明细页统一文字规范 */
.customer-management-modal { font-size: 12px; font-weight: 400; }
.customer-management-modal .customer-modal-head h2 { font-size: 18px; font-weight: 400; }
.customer-management-modal .customer-section-title { height: 28px; margin-bottom: 13px; border-bottom-width: 3px; font-size: 12px; font-weight: 400; }
.customer-management-modal .customer-section-title::after { bottom: -3px; height: 5px; }
.customer-management-modal .customer-section-title.tab-style span { padding: 5px 10px; font-size: 12px; font-weight: 400; }
.customer-management-modal .customer-section-action { font-size: 11px; font-weight: 400; }
.customer-management-modal .customer-contact-group-title { font-size: 11px; font-weight: 400; }
.customer-management-modal .customer-contact-remove { font-size: 10px; font-weight: 400; }
.customer-management-modal .customer-primary-checkbox { font-size: 12px; font-weight: 400; }
.customer-management-modal .customer-primary-field { display: flex; align-items: flex-end; padding-top: 30px; }
.customer-management-modal .customer-primary-checkbox { padding: 0; border: 0; background: transparent; }
.customer-management-modal .customer-primary-checkbox:hover { border-color: transparent; background: transparent; }
.customer-management-modal .customer-primary-checkbox:focus-within { border-color: transparent; outline: 0; }
.customer-management-modal .customer-field > label:not(.customer-primary-checkbox) { font-size: 11px; line-height: 18px; font-weight: 400; }
.customer-management-modal .customer-field small { font-size: 10px; line-height: 16px; }
.customer-management-modal .customer-control,
.customer-management-modal .customer-address-trigger,
.customer-management-modal .customer-editable-select-options button { font-size: 12px; font-weight: 400; }
.customer-management-modal .customer-control:not(.customer-textarea),
.customer-management-modal .customer-primary-checkbox,
.customer-management-modal .customer-address-trigger { height: 34px; }
.customer-management-modal .customer-section-primary { height: 23px; }
.customer-management-modal .customer-contact-primary { height: 24px; }
.customer-management-modal .customer-editable-select-toggle { height: 23px; }
.customer-management-modal .customer-colored-select-trigger.customer-control { height: 25px; padding-top: 0; padding-bottom: 0; }
.customer-management-modal .customer-colored-select-options { top: 27px; }
.customer-management-modal .customer-source-pill { height: 18px; min-height: 18px; padding: 0 6px; font-size: 11px; line-height: 16px; font-weight: 400; }
.customer-management-modal .customer-duplicate-panel strong { font-size: 12px; font-weight: 400; }
.customer-management-modal .customer-duplicate-panel span,
.customer-management-modal .customer-duplicate-panel em { font-size: 10px; font-weight: 400; }
.customer-management-modal .customer-modal-foot .btn { font-size: 12px; font-weight: 400; }

/* 系统业务表单统一单行控件高度；搜索、多行输入和复选框保持独立尺寸 */
:root { --business-control-height: 25px; }
.filter-input,
.filter-select,
.form-control:not(textarea),
.source-control:not(.source-textarea),
.source-select,
.customer-quick-control:not(textarea),
.customer-control:not(.customer-textarea),
.customer-address-trigger,
.customer-level-manager-toolbar input,
.customer-level-manager-edit-input,
.role-select { height: var(--business-control-height) !important; }
.customer-editable-select-toggle { height: 23px; }
.customer-editable-select-options,
.customer-colored-select-options,
.customer-address-cascader { top: 27px; }
.customer-editable-select-options > button,
.customer-colored-select-options > button { display: flex; align-items: center; height: 20px; min-height: 20px; padding-top: 1px; padding-bottom: 1px; line-height: 18px; }

/* 分辨率自适配：1920×1080 保持紧凑，4K 增加可见事项而不放大控件。 */
.workbench { max-width: none; margin: 0; }
.workbench-todo-row:nth-child(n + 6),
.workbench-quick-action:nth-child(n + 7),
.workbench-recent-row:nth-child(n + 5),
.workbench-alert-row:nth-child(n + 5) { display: none; }

@media (min-width: 1600px) and (min-height: 850px) {
  .workbench-todo-row:nth-child(6),
  .workbench-quick-action:nth-child(7),
  .workbench-quick-action:nth-child(8),
  .workbench-recent-row:nth-child(5),
  .workbench-alert-row:nth-child(5) { display: grid; }
}

@media (min-width: 2200px) and (min-height: 1100px) {
  .workbench {
    min-height: calc(100vh - 53px);
    display: grid;
    grid-template-rows: 85px 104px minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 12px;
  }
  .workbench-brand-banner { height: auto; margin-bottom: 0; }
  .workbench-primary-grid,
  .workbench-secondary-grid { min-height: 0; margin-top: 0; }
  .workbench-todo-row:nth-child(n + 6),
  .workbench-quick-action:nth-child(n + 7),
  .workbench-recent-row:nth-child(n + 5),
  .workbench-alert-row:nth-child(n + 5) { display: grid; }
  .workbench-primary-grid { grid-template-columns: minmax(0, 1.45fr) minmax(420px, .75fr); }
  .workbench-panel { height: 100%; display: flex; flex-direction: column; }
  .workbench-todo-list,
  .workbench-recent-list,
  .workbench-alert-list,
  .workbench-quick-list { flex: 1 1 auto; min-height: 0; }
  .workbench-todo-list { display: grid; grid-template-rows: repeat(12, minmax(0, 1fr)); }
  .workbench-recent-list { display: grid; grid-template-rows: repeat(10, minmax(0, 1fr)); }
  .workbench-alert-list { display: grid; grid-template-rows: repeat(7, minmax(0, 1fr)); }
  .workbench-quick-list { grid-template-rows: repeat(6, minmax(0, 1fr)); }
  .workbench-todo-row,
  .workbench-recent-row,
  .workbench-alert-row,
  .workbench-quick-action { min-height: 0; }
}

/* 工作台自由布局：十二列网格负责宽度，标题栏负责换位，右下角负责缩放。 */
.workbench-welcome-side { display: flex; align-items: center; gap: 18px; }
.workbench-reset-layout { height: 28px; padding: 0 10px; border: 1px solid #dfe4ea; border-radius: 5px; background: #fff; color: #65717f; font-size: 10px; white-space: nowrap; }
.workbench-reset-layout:hover { border-color: #9eb1cb; color: #3565a8; background: #f8faff; }
.workbench-reset-layout:focus-visible { outline: 2px solid rgba(69, 111, 196, .5); outline-offset: 2px; }
.workbench-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; align-content: start; align-items: start; gap: 12px; margin-top: 12px; }
.workbench-layout .workbench-panel {
  position: relative;
  order: var(--workbench-order);
  grid-column: span var(--workbench-span);
  display: flex;
  flex-direction: column;
  height: var(--workbench-panel-height);
  min-height: 220px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.workbench-panel-heading { display: inline-flex; align-items: center; min-width: 0; }
.workbench-panel-head[data-workbench-drag-handle] { cursor: grab; user-select: none; }
.workbench-panel-head[data-workbench-drag-handle]:active { cursor: grabbing; }
.workbench-panel-head[data-workbench-drag-handle]:focus-visible { outline: 2px solid rgba(69, 111, 196, .48); outline-offset: -2px; }
.workbench-drag-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-right: 7px; fill: #a3acb7; }
.workbench-panel-head:hover .workbench-drag-icon,
.workbench-panel-head:focus-visible .workbench-drag-icon { fill: #607691; }
.workbench-layout .workbench-todo-list,
.workbench-layout .workbench-recent-list,
.workbench-layout .workbench-alert-list,
.workbench-layout .workbench-quick-list { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #c9d0da transparent; }
.workbench-layout .workbench-todo-row,
.workbench-layout .workbench-recent-row,
.workbench-layout .workbench-alert-row,
.workbench-layout .workbench-quick-action { display: grid; flex: 0 0 auto; min-height: 58px; }
.workbench-layout .workbench-quick-action { min-height: 70px; }
.workbench-resize-handle { position: absolute; right: 1px; bottom: 1px; z-index: 2; display: inline-flex; align-items: flex-end; justify-content: flex-end; width: 28px; height: 28px; padding: 4px; border: 0; border-radius: 5px 0 5px 0; background: linear-gradient(135deg, transparent 46%, rgba(244,246,249,.96) 47%); color: #8f9aa7; cursor: nwse-resize; touch-action: none; }
.workbench-resize-handle:hover,
.workbench-resize-handle:focus-visible { color: #456fa6; background: linear-gradient(135deg, transparent 42%, #eef3fa 43%); }
.workbench-resize-handle:focus-visible { outline: 2px solid rgba(69, 111, 196, .5); outline-offset: -2px; }
.workbench-resize-handle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; }
.workbench-panel.is-dragging { opacity: .56; }
.workbench-panel.is-drag-target { border-color: #7fa3d4; box-shadow: 0 7px 18px rgba(57, 88, 131, .12); }
.workbench-panel.is-resizing { border-color: #6f97ca; box-shadow: 0 8px 20px rgba(57, 88, 131, .14); transition: none; }

@media (min-width: 2200px) and (min-height: 1100px) {
  .workbench { grid-template-rows: 85px 104px auto; }
  .workbench-layout { min-height: 0; margin-top: 0; }
  .workbench-layout .workbench-panel { height: var(--workbench-panel-height); }
  .workbench-layout .workbench-todo-list,
  .workbench-layout .workbench-recent-list,
  .workbench-layout .workbench-alert-list { display: block; }
  .workbench-layout .workbench-quick-list { grid-template-rows: none; }
  .workbench-layout .workbench-todo-row,
  .workbench-layout .workbench-recent-row,
  .workbench-layout .workbench-alert-row { min-height: 58px; }
  .workbench-layout .workbench-quick-action { min-height: 70px; }
}

@media (max-width: 860px) {
  .workbench-welcome-side { width: 100%; align-items: flex-start; flex-direction: column-reverse; gap: 10px; }
  .workbench-layout { grid-template-columns: minmax(0, 1fr); }
  .workbench-layout .workbench-panel { grid-column: 1 / -1; height: auto; min-height: 280px; }
  .workbench-resize-handle { display: none; }
}
@font-face {
  font-family: 'NAFA Reference FX PC';
  src: url('./assets/reference-fx-pc.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
