@charset "UTF-8";
:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #263a33;
  --muted: #6f8176;
  --content: #334b3e;
  --border: #e9eeeb;
  --primary: #278568;
  --green: #278568;
  --primary-hover: #1d7157;
  --mint: #edf7f1;
  --danger: #cd6565;
  --shadow: 0 2px 12px rgba(27, 59, 43, .025);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 1024px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 2px solid #63b69a; }
input, select, textarea { color: var(--text); }
button .icon, .icon { flex: 0 0 auto; vertical-align: middle; }
input::placeholder, textarea::placeholder { color: #a0aaa4; }
input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--primary); cursor: pointer; vertical-align: middle; }
input[type="radio"] { accent-color: var(--primary); }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, a { transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
::selection { background: #d2ecde; color: #174b38; }
.app-shell { min-width: 1024px; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 232px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--border); padding: 28px 18px 0; }
.brand { padding: 0 5px; display: flex; align-items: center; gap: 9px; background: none; border: none; text-align: left; width: 100%; height: 40px; }
.brand-symbol { width: 39px; height: 39px; display: flex; align-items: center; justify-content: center; }
.brand-symbol svg { width: 36px; height: 36px; }
.brand-name { display: flex; align-items: baseline; gap: 7px; font-size: 21px; font-weight: 750; letter-spacing: -.6px; color: #234435; white-space: nowrap; }
.brand-name > span { font-size: 17px; letter-spacing: -.7px; font-weight: 640; }
.workspace-chooser { display: flex; gap: 8px; align-items: center; width: 100%; margin-top: 27px; height: 43px; background: #f8faf9; border: 1px solid var(--border); padding: 0 11px; border-radius: 8px; font-size: 12px; }
.workspace-chooser:hover { background: #f0f6f2; }
.workspace-chooser > span:nth-child(2) { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-chooser > .icon { color: #84938a; }
.workspace-mark { display: grid; place-items: center; width: 25px; height: 25px; color: #55866d; border-radius: 6px; background: #e8f0ea; }
.navigation { padding-top: 23px; }
.nav-group-label { font-size: 10px; color: #9fa9a3; padding: 0 13px; margin: 17px 0 11px; letter-spacing: .8px; font-weight: 500; }
.nav-group-label:first-child { margin-top: 0; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; border: none; background: none; border-radius: 7px; height: 43px; padding: 0 13px; margin-bottom: 5px; color: #6e7b73; font-size: 13px; text-align: left; }
.nav-item > span { flex: 1; white-space: nowrap; }
.nav-item > .icon { color: #8b9990; }
.nav-item:hover { background: #f5f8f5; color: #3b7054; }
.nav-item.active { color: #237b5b; background: #eaf4ee; font-weight: 600; }
.nav-item.active > .icon { color: #29845f; }
.active-dot { width: 5px; height: 5px; border-radius: 50%; background: #368e65; }
.nav-count { background: #f0f3f0; border-radius: 4px; padding: 2px 6px; min-width: 21px; text-align: center; font-size: 10px; font-weight: 500; color: #7d8c82; }
.nav-item.active .nav-count { color: #368766; background: #d8ebdf; }
.sidebar-bottom { margin-top: auto; padding-top: 24px; }
.sidebar-tip { background: linear-gradient(140deg, #f3f8f2, #f8faf7); border: 1px solid #e6eee5; border-radius: 9px; padding: 15px 14px 11px; }
.tip-icon { display: flex; align-items: center; color: #71a080; margin-bottom: 10px; }
.sidebar-tip strong { font-size: 11px; font-weight: 600; display: block; color: #4e7458; }
.sidebar-tip p { font-size: 10px; color: #8a9b8c; line-height: 1.85; margin: 7px 0 8px; }
.button.tip-button { color: #467855; border: none; background: none; font-size: 10px; padding: 5px 0; min-height: 26px; flex-direction: row-reverse; justify-content: space-between; width: 100%; }
.sidebar-footer { display: flex; align-items: center; gap: 6px; height: 57px; font-size: 9px; color: #a0aaa3; padding: 0 3px; }
.connection-indicator { width: 5px; height: 5px; border-radius: 50%; background: #7da28a; }
.sidebar-version { margin-left: auto; font-size: 9px; letter-spacing: .1px; }
.main-shell { margin-left: 232px; min-width: 792px; }
.topbar { height: 76px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #a0a9a3; white-space: nowrap; }
.breadcrumb strong { color: #697b6e; font-weight: 500; }
.breadcrumb > .icon { color: #b4beb7; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.global-search { display: flex; align-items: center; gap: 8px; color: #9ba69f; background: #f8faf9; border: 1px solid #edf0ee; border-radius: 7px; height: 34px; width: 235px; padding: 0 11px; font-size: 11px; text-align: left; }
.global-search:hover { background: #f1f6f3; border-color: #dde9e1; }
.global-search > span { flex: 1; }
.global-search kbd { background: #fff; border: 1px solid #e8ede9; color: #abb3ad; border-radius: 4px; font-family: inherit; font-size: 9px; padding: 1px 4px; }
.topbar-divider { width: 1px; height: 24px; background: var(--border); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 6px; width: 32px; height: 32px; padding: 0; background: transparent; color: #8a978f; }
.icon-button:hover { color: var(--primary); background: #f2f7f3; }
.notification-button { position: relative; }
.notification-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d3a97b; top: 4px; right: 5px; border: 1px solid #fff; }
.profile-button { border: none; background: none; display: flex; align-items: center; gap: 9px; padding: 0; font-size: 11px; }
.profile-button > .icon { color: #939e97; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 50%; font-size: 10px; font-weight: 600; flex: 0 0 auto; }
.avatar-0 { background: #e8f0e8; color: #648768; }
.avatar-1 { background: #e7eef2; color: #6c8ba1; }
.avatar-2 { background: #f3ebe1; color: #ab9273; }
.avatar-3 { background: #ece9f2; color: #9a8ca9; }
.avatar-4 { background: #e4f0ea; color: #629680; }
.avatar-small { width: 24px; height: 24px; font-size: 8px; }
.logout-button { margin-left: -10px; }
.demo-banner { height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 33px; background: #eff7f1; border-bottom: 1px solid #e2eee4; color: #7a9580; font-size: 10px; }
.demo-banner > span { display: flex; align-items: center; gap: 7px; }
.button.banner-login { border: none; background: none; color: #4d8260; flex-direction: row-reverse; gap: 7px; min-height: 24px; padding: 0; font-size: 10px; }
.page-content { padding: 31px 32px 22px; max-width: 1728px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading h1 { font-size: 25px; line-height: 1.3; letter-spacing: -.55px; font-weight: 650; color: #293b30; }
.page-heading p { font-size: 11px; color: #8b9990; margin-top: 8px; line-height: 1.65; }
.page-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.eyebrow { font-size: 10px; color: #8fa195; margin-bottom: 7px; letter-spacing: .4px; }
.button { border: 1px solid var(--border); border-radius: 7px; min-height: 35px; padding: 7px 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; font-weight: 500; background: #fff; color: #6b7c70; white-space: nowrap; line-height: 1.4; }
.button:hover { border-color: #c6dacf; background: #f8fbf8; }
.button.primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 3px #2785680b; }
.button.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.button.secondary { background: #fff; border-color: #e4eae6; }
.button.danger { color: #bc6262; background: #fff4f4; border-color: #eed4d4; }
.button.danger:hover { background: #fde9e9; border-color: #dfbcbc; }
.button.small { min-height: 29px; padding: 5px 10px; font-size: 10px; border-radius: 6px; }
.button.icon-button { padding: 0; width: 31px; height: 31px; min-height: 31px; }
.button.text-action { color: #5d9477; padding: 3px 0; border-color: transparent; background: none; gap: 6px; }
.button.text-action:hover { color: #206d4c; }
.button.text-action > .icon { order: 2; }
.button.claim-button { background: #edf7f1; border-color: #d7eadd; color: #4f8f66; }
.button.claim-button:hover { background: #e1f0e6; }
.text-button { border: none; background: none; padding: 0; text-align: left; color: inherit; font-size: inherit; }
.text-button:hover { color: var(--primary); }
.period-select { display: flex; align-items: center; gap: 8px; color: #849389; height: 35px; padding: 0 11px; background: #fff; border: 1px solid #e4eae6; border-radius: 7px; font-size: 11px; }
.period-select select, .filter-select select { appearance: none; -webkit-appearance: none; outline: none; border: none; background: none; cursor: pointer; padding: 0; font-size: inherit; color: #6e7f73; }
.period-select:focus-within, .filter-select:focus-within { border-color: #83b899; box-shadow: 0 0 0 2px #daf0e266; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 22px 23px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-header h2 { font-size: 13px; font-weight: 600; letter-spacing: .05px; display: flex; gap: 8px; align-items: center; }
.card-header p { margin-top: 6px; font-size: 10px; color: #9aa79e; line-height: 1.5; }
.card-caption { font-size: 10px; color: #9ca89f; font-weight: 400; }
.header-icon { color: #9daa9f; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 21px; }
.metric-card { padding: 18px 20px 15px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: #7d8a81; }
.metric-icon { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; border-radius: 7px; }
.metric-icon.green, .summary-icon.green { color: #6da486; background: #edf6ef; }
.metric-icon.blue, .summary-icon.blue { color: #7c9da9; background: #edf4f6; }
.metric-icon.amber, .summary-icon.amber { color: #c3a478; background: #faf4e9; }
.metric-icon.purple, .summary-icon.purple { color: #a299b7; background: #f3f0f8; }
.summary-icon.rose { color: #c58d8d; background: #fcf0f0; }
.summary-icon.gray { color: #8b9b91; background: #f0f4f0; }
.metric-value-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 12px; min-height: 47px; }
.metric-value-row > strong { font-size: 30px; letter-spacing: -1.2px; font-weight: 650; line-height: 1.2; color: #293b32; font-variant-numeric: tabular-nums; }
.metric-unit { font-size: 22px; margin-left: 1px; font-weight: 500; }
.sparkline { width: 90px; height: 42px; flex-shrink: 0; overflow: visible; }
.metric-comparison { display: flex; align-items: center; gap: 7px; margin-top: 10px; min-height: 16px; font-size: 9px; white-space: nowrap; }
.metric-delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; }
.metric-delta.up { color: #658a75; }
.metric-delta.down { color: #78968a; }
.metric-delta.flat { color: #9ba69f; font-weight: 400; }
.delta-caption { color: #a3ada6; font-size: 9px; }
.metric-note { color: #aab3ad; font-size: 9px; margin-top: 8px; }
.dashboard-middle { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); gap: 20px; margin-bottom: 21px; }
.trend-card .card-header { padding-bottom: 6px; }
.chart-legend { display: flex; align-items: center; gap: 13px; font-size: 9px; color: #91a095; }
.chart-legend > span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.chart-legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.chart-legend i.dashed { width: 11px; height: 0; border-radius: 0; border-top: 2px dashed #9abfb5; }
.trend-summary { margin: 11px 23px 5px; display: flex; align-items: center; gap: 10px; color: #a6b0a9; font-size: 9px; }
.trend-summary strong { font-size: 23px; font-weight: 600; color: #3d5848; letter-spacing: -.5px; }
.trend-summary strong > span { font-size: 9px; font-weight: 400; margin-left: 6px; color: #9aaa9d; }
.trend-divider { width: 1px; height: 13px; background: #e1e8e2; margin-left: 5px; }
.trend-chart { padding: 3px 17px 10px 12px; }
.trend-svg { display: block; width: 100%; height: 242px; }
.chart-axis { fill: #a7b2ab; font-size: 9px; font-family: inherit; }
.funnel-card .card-header { padding-bottom: 12px; }
.funnel { padding: 4px 23px 5px; }
.funnel-step { position: relative; min-height: 47px; padding-right: 41px; display: flex; align-items: flex-start; justify-content: center; }
.funnel-bar { height: 34px; border-radius: 5px; display: flex; justify-content: space-between; gap: 5px; align-items: center; padding: 0 12px; color: #49745d; font-size: 10px; min-width: 100px; position: relative; z-index: 1; }
.funnel-bar strong { font-size: 13px; font-weight: 600; }
.funnel-step:nth-child(3) .funnel-bar { color: #fff; }
.funnel-step:nth-child(4) .funnel-bar { color: #fff; }
.funnel-percent { position: absolute; right: 0; top: 10px; color: #9ba89e; font-size: 9px; }
.funnel-connector { height: 15px; width: 1px; background: #e3ece5; position: absolute; top: 33px; left: calc(50% - 20px); }
.funnel-footer { margin: 4px 23px 19px; padding-top: 13px; border-top: 1px dashed #e6ece7; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #9ca99f; font-size: 10px; }
.funnel-footer strong { color: #5e9173; font-size: 21px; font-weight: 600; letter-spacing: -.3px; }
.funnel-footer strong small { font-size: 13px; font-weight: 500; margin-left: 2px; }
.dashboard-bottom { display: grid; grid-template-columns: minmax(325px, 1fr) minmax(0, 1.62fr); gap: 20px; margin-bottom: 21px; }
.subtle-badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #eef2ee; border-radius: 4px; background: #fafcf9; color: #97a49a; font-size: 9px; padding: 3px 6px; white-space: nowrap; }
.source-distribution { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 3px 16px 11px 10px; min-height: 199px; }
.donut-svg { width: 174px; height: 174px; flex: 0 1 174px; min-width: 128px; }
.donut-total { font-family: inherit; font-size: 27px; font-weight: 600; fill: #3f5c48; letter-spacing: -.4px; }
.donut-label { font-family: inherit; font-size: 10px; fill: #a7b2a9; }
.source-list { flex: 1; min-width: 155px; max-width: 235px; }
.source-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 10px; }
.source-item-name { flex: 1; display: flex; align-items: center; gap: 6px; color: #85988b; white-space: nowrap; }
.source-item-name i { width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0; }
.source-item strong { min-width: 18px; text-align: right; font-weight: 500; color: #627b69; }
.source-item > span:last-child { font-size: 9px; width: 38px; text-align: right; color: #a5b0a7; }
.source-insight { display: flex; align-items: center; gap: 7px; font-size: 9px; color: #9eafa2; background: #f9fcf9; border-top: 1px solid #f0f4ef; padding: 13px 22px; }
.source-insight strong { color: #73967d; font-weight: 500; }
.recent-card .card-header { padding-bottom: 15px; }
.table-scroll { width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #dbe4dc transparent; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; white-space: nowrap; }
.data-table thead { background: #fafcfb; color: #9aa79e; border-top: 1px solid #edf2ee; border-bottom: 1px solid #edf2ee; }
.data-table th { height: 41px; font-size: 10px; font-weight: 450; padding: 0 17px; }
.data-table td { height: 78px; padding: 11px 17px; color: #7a8c7e; border-bottom: 1px solid #f0f3f0; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fbfdfb; }
.data-table tbody tr.selected-row { background: #f3faf5; }
.checkbox-cell { width: 44px; text-align: center !important; padding-left: 18px !important; padding-right: 8px !important; }
.align-right { text-align: right !important; }
.data-table th:last-child, .data-table td:last-child { padding-right: 23px; }
.company-cell { display: flex; align-items: center; gap: 10px; min-width: 188px; }
.company-cell > div { display: flex; flex-direction: column; gap: 7px; }
.company-mark { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 600; color: #81a68a; background: #edf5ee; flex: 0 0 auto; }
.company-mark-1 { background: #eff3f7; color: #90a5bb; }
.company-mark-2 { background: #f8f2e9; color: #b4a07e; }
.company-mark-3 { background: #f3f0f7; color: #aaa0bc; }
.company-mark-4 { background: #eff5f3; color: #8fada0; }
.company-name { font-size: 11px; font-weight: 550; color: #4e6556; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-contact { font-size: 9px; color: #a7b1a9; }
.contact-divider { margin: 0 5px; color: #c0c8c1; }
.owner-cell { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #829387; }
.owner-cell strong { font-size: 11px; font-weight: 500; color: #587060; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border-radius: 4px; padding: 4px 7px; line-height: 1.4; font-size: 9px; white-space: nowrap; }
.status-pill.amber { background: #fcf6e9; color: #c2a366; }
.status-pill.blue { background: #edf3f9; color: #809fba; }
.status-pill.green { background: #edf7ef; color: #77a385; }
.status-pill.gray { background: #f1f3f1; color: #a1aba4; }
.status-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; }
.status-dot.amber { color: #c7ac76; }
.status-dot.blue { color: #91b0c8; }
.status-dot.green { color: #87b598; }
.status-dot.gray { color: #b0bbb3; }
.source-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #8a9b8f; }
.source-dot { width: 6px; height: 6px; border-radius: 2px; display: inline-block; flex: 0 0 auto; }
.tier { display: inline-flex; align-items: baseline; gap: 2px; font-size: 10px; font-weight: 600; background: #f8f4ea; color: #b79f70; padding: 3px 6px; border-radius: 4px; }
.tier > span { font-size: 8px; font-weight: 400; }
.tier-B { background: #edf4f0; color: #8aaa91; }
.tier-C { background: #f0f3f6; color: #a1afbb; }
.date-cell { display: flex; flex-direction: column; gap: 6px; font-size: 10px; }
.date-cell small { font-size: 9px; color: #afb9b1; }
.compact-table th { height: 36px; padding: 0 16px; font-size: 9px; }
.compact-table td { height: 52px; padding: 8px 16px; }
.compact-table .company-cell { min-width: 146px; }
.compact-table .company-cell > div { gap: 5px; }
.compact-table .company-name { font-size: 10px; max-width: 183px; }
.compact-table .company-contact { font-size: 8px; }
.compact-table .owner-cell { font-size: 9px; }
.compact-table .avatar-small { width: 21px; height: 21px; font-size: 7px; }
.compact-table .status-pill { font-size: 8px; padding: 3px 6px; }
.compact-table .button.small { font-size: 9px; min-height: 24px; }
.count-badge { padding: 2px 6px; border-radius: 4px; background: #f0f5f0; color: #8a9e8d; font-size: 9px; font-weight: 450; }
.dashboard-tasks .card-header { padding-top: 18px; padding-bottom: 13px; }
.inline-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.summary-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.dashboard-tasks .summary-icon { width: 29px; height: 29px; border-radius: 6px; }
.inline-heading > .card-caption { margin-left: 4px; }
.today-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 23px 7px; column-gap: 30px; }
.task-row { display: flex; align-items: center; gap: 13px; padding: 18px 24px; border-top: 1px solid #eff3ef; min-height: 76px; }
.task-check { width: 17px; height: 17px; display: flex; align-items: center; justify-content: center; padding: 0; background: #fff; border: 1px solid #dce7dd; border-radius: 5px; color: #fff; flex-shrink: 0; }
.task-check:hover { border-color: #6ea880; background: #f1f8f2; }
.task-check.checked { background: #85b395; border-color: #85b395; opacity: 1; }
.task-content { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.task-title { font-size: 12px; color: #587160; font-weight: 450; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-done .task-title { text-decoration: line-through; color: #9cab9f; }
.task-meta { display: flex; align-items: center; gap: 0; font-size: 10px; color: #a0aea3; }
.task-meta .text-button { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-divider { margin: 0 7px; color: #bec8be; }
.task-time { color: #afbbb1; }
.task-assignee { width: 110px; flex-shrink: 0; }
.overdue-dot { width: 5px; height: 5px; border-radius: 50%; background: #d1a29a; margin: 0 5px; }
.done-label { font-size: 9px; color: #98b59c; }
.today-task-grid .task-row { padding: 14px 0; min-height: 65px; gap: 10px; }
.today-task-grid .task-title { font-size: 10px; }
.today-task-grid .task-meta { font-size: 9px; }
.today-task-grid .task-content { gap: 6px; }
.today-task-grid .task-check { width: 15px; height: 15px; border-radius: 4px; }
.today-clear { display: flex; align-items: center; gap: 10px; padding: 16px 23px 21px; color: #a0afa3; font-size: 10px; }
.today-clear > .button { margin-left: auto; }
.clear-check { width: 23px; height: 23px; border-radius: 50%; color: #86ad8c; background: #eef6ee; display: grid; place-items: center; }
.page-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; color: #a8b4ab; font-size: 9px; line-height: 1.6; }
.status-tabs { display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--border); min-height: 62px; gap: 28px; }
.status-tab { border: none; border-bottom: 2px solid transparent; background: none; align-self: stretch; display: flex; align-items: center; gap: 7px; padding: 0 1px; color: #98a59b; font-size: 11px; }
.status-tab > span { background: #f2f5f2; padding: 2px 6px; border-radius: 4px; font-size: 9px; color: #a1b0a3; }
.status-tab.active { border-bottom-color: #428865; color: #4f8964; font-weight: 550; }
.status-tab.active > span { background: #edf6ed; color: #80a385; }
.status-tab:hover { color: #537c5e; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; }
.table-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e5ece5; border-radius: 6px; height: 35px; padding: 0 10px; color: #a0b0a1; width: 300px; min-width: 200px; }
.table-search:focus-within { border-color: #8bb69a; box-shadow: 0 0 0 2px #e3f1e7; }
.table-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 10px; height: 100%; color: #5f7d66; }
.search-hint { font-size: 8px; color: #a2b8a7; white-space: nowrap; }
.filter-controls { display: flex; align-items: center; gap: 9px; }
.filter-select { display: flex; align-items: center; gap: 7px; border: 1px solid #e5ece5; border-radius: 6px; height: 35px; padding: 0 10px; color: #94a89a; font-size: 10px; }
.filter-select select { max-width: 145px; }
.view-switch { display: flex; align-items: center; background: #f8faf8; border: 1px solid #e9eee9; padding: 2px; border-radius: 6px; }
.view-switch .button { border: none; background: transparent; width: 28px; height: 28px; min-height: 28px; color: #a9b6ab; }
.view-switch .button.active { color: #72a182; background: #fff; box-shadow: 0 1px 4px #253e3010; }
.selection-bar { background: #f0f8f1; border-top: 1px solid #e5eee7; padding: 11px 22px; display: flex; align-items: center; gap: 20px; font-size: 11px; color: #809d85; }
.selection-bar .button.primary { background: #6c9f7b; border-color: #6c9f7b; font-size: 10px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #edf2ed; padding: 17px 23px; color: #a4b1a7; font-size: 10px; }
.pagination strong { color: #8c9e90; font-weight: 500; }
.pagination-controls { display: flex; align-items: center; gap: 7px; }
.pagination .icon-button { width: 27px; height: 27px; min-height: 27px; color: #8daa93; }
.pagination .icon-button .icon { width: 13px; height: 13px; }
.page-number { min-width: 25px; height: 27px; display: grid; place-items: center; background: #eef7ef; color: #72967a; border-radius: 5px; }
.page-total { margin-right: 4px; font-size: 10px; }
.pool-summary { display: flex; align-items: center; gap: 17px; background: #eff7f1; border: 1px solid #e0ede3; border-radius: 10px; margin-bottom: 22px; padding: 20px 23px; }
.pool-summary-icon { display: grid; place-items: center; height: 46px; width: 46px; border-radius: 11px; background: #e0eee4; color: #87ad90; }
.pool-summary strong { font-size: 24px; color: #65866b; font-weight: 600; letter-spacing: -.4px; }
.pool-summary strong > span { margin-left: 5px; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.pool-summary p { margin-top: 6px; font-size: 10px; color: #96ad9a; }
.pool-summary > .subtle-badge { margin-left: auto; background: #f8fcf9; }
.kanban-board { display: grid; grid-template-columns: repeat(4, minmax(205px, 1fr)); gap: 14px; padding: 0 20px 22px; overflow-x: auto; }
.kanban-column { background: #f8faf8; border: 1px solid #edf2ed; border-radius: 8px; padding: 0 10px 12px; min-width: 0; }
.kanban-header { display: flex; align-items: center; gap: 7px; height: 51px; padding: 0 3px; }
.kanban-header > .status-dot { width: 6px; height: 6px; }
.kanban-header h3 { font-size: 11px; font-weight: 500; color: #879d8b; }
.kanban-header .button { margin-left: auto; width: 24px; height: 24px; min-height: 24px; }
.kanban-cards { display: flex; flex-direction: column; gap: 10px; }
.kanban-card { border: 1px solid #e6eee7; background: #fff; border-radius: 7px; padding: 13px 12px 0; text-align: left; width: 100%; box-shadow: 0 1px 3px #244f3610; }
.kanban-card:hover { border-color: #bfd5c6; box-shadow: 0 3px 10px #244f3610; }
.kanban-card-heading { display: flex; align-items: center; justify-content: space-between; color: #b0bbb2; margin-bottom: 12px; }
.kanban-card h4 { font-size: 11px; color: #61806a; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanban-card p { margin-top: 7px; font-size: 9px; color: #abb8ae; }
.kanban-tags { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 16px 0 13px; }
.kanban-tags .source-label { font-size: 9px; }
.kanban-value { color: #b3b6a0; font-size: 9px; }
.kanban-footer { border-top: 1px solid #f0f4f0; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.kanban-footer > span:last-child { display: inline-flex; gap: 4px; color: #adb9b0; font-size: 8px; }
.kanban-footer .owner-cell { font-size: 9px; }
.kanban-footer .avatar-small { width: 20px; height: 20px; }
.kanban-empty { color: #b0beb3; font-size: 10px; text-align: center; padding: 35px 0; }
.customer-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 22px; }
.customer-summary > div { display: flex; align-items: center; gap: 14px; padding: 0 29px; border-right: 1px solid #edf2ee; }
.customer-summary > div:last-child { border: none; }
.customer-summary small { display: block; color: #a5b2a7; font-size: 10px; margin-bottom: 7px; }
.customer-summary strong { display: block; color: #6b886f; font-size: 24px; font-weight: 550; letter-spacing: -.3px; }
.customer-summary em { font-style: normal; font-size: 10px; font-weight: 400; color: #a8b5aa; margin-left: 6px; }
.customer-tags { display: flex; align-items: center; gap: 5px; }
.tag { display: inline-flex; color: #8ca394; background: #f4f8f5; border: 1px solid #e9f0e9; border-radius: 4px; padding: 3px 5px; font-size: 9px; }
.money-cell { color: #9da589 !important; font-variant-numeric: tabular-nums; }
.task-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 23px; }
.task-stat { border: 1px solid var(--border); border-radius: 9px; background: #fff; padding: 19px 22px; display: flex; align-items: center; gap: 15px; }
.task-stat small { color: #9cab9f; font-size: 10px; display: block; margin-bottom: 6px; }
.task-stat strong { font-size: 24px; font-weight: 550; color: #718e77; }
.overdue-alert { display: flex; align-items: center; gap: 9px; padding: 13px 17px; border: 1px solid #f0ddd8; border-radius: 7px; background: #fef8f5; color: #c3978c; font-size: 11px; margin-bottom: 20px; }
.task-card-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 19px 22px; }
.segmented-control { display: inline-flex; align-items: center; border: 1px solid #e9efea; background: #f8faf8; border-radius: 7px; padding: 3px; gap: 3px; }
.segment { position: relative; display: flex; align-items: center; justify-content: center; padding: 7px 13px; font-size: 10px; color: #a3b1a6; cursor: pointer; border-radius: 5px; }
.segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segment:focus-within { outline: 2px solid #b3d1bc; }
.segment b { font-size: 9px; font-weight: 400; margin-left: 4px; }
.segment.active { color: #7a9b83; background: #fff; box-shadow: 0 1px 3px #304e3810; }
.task-section-label { display: flex; align-items: center; gap: 7px; padding: 13px 24px; background: #fbfdfb; border-top: 1px solid #edf2ee; font-size: 10px; color: #99ac9e; }
.task-section-label > span { padding: 2px 5px; font-size: 8px; background: #eff5ef; border-radius: 4px; }
.workspace-settings { display: flex; align-items: center; gap: 18px; padding: 24px 26px; margin-bottom: 21px; }
.workspace-large-mark { width: 57px; height: 57px; display: grid; place-items: center; background: #e9f3ec; color: #81aa8c; border: 1px solid #dfede2; border-radius: 13px; }
.workspace-settings h2 { font-size: 19px; color: #69826c; font-weight: 550; }
.workspace-settings p { margin-top: 7px; font-size: 10px; color: #a1b0a4; }
.workspace-settings > .button { margin-left: auto; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 20px; margin-bottom: 21px; }
.member-table th:first-child, .member-table td:first-child { padding-left: 23px; }
.member-table td { height: 67px; }
.self-label { margin-left: 6px; font-size: 8px; color: #a8b9ae; background: #f1f7f2; padding: 2px 4px; border-radius: 3px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; padding: 4px 7px; color: #95a599; background: #f3f6f3; border-radius: 5px; font-weight: 450; white-space: nowrap; }
.badge.green { color: #84a38b; background: #edf6ef; }
.badge.blue { color: #8ea6b6; background: #eff5f9; }
.badge.amber { color: #baa37e; background: #fcf6ec; }
.badge.rose, .badge.danger { color: #c38d8d; background: #fcf0f0; }
.member-status { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #a1b4a5; }
.permission-list { padding: 5px 23px 0; }
.permission-list > div { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 19px; }
.permission-icon { background: #f3f8f3; color: #97b29c; width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; }
.permission-list strong { font-size: 11px; font-weight: 550; color: #89a08d; }
.permission-list p { font-size: 10px; line-height: 1.85; color: #a4b4a8; margin-top: 4px; }
.permission-note { margin: 0 22px 21px; padding: 12px; background: #f8fbf8; border: 1px solid #edf3ed; border-radius: 6px; font-size: 9px; line-height: 1.75; color: #a0b4a5; display: flex; align-items: flex-start; gap: 7px; }
.permission-note > .icon { margin-top: 1px; }
.history-list { padding: 0 23px; }
.history-row { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-bottom: 1px solid #edf3ef; }
.history-row:last-child { border-bottom: none; }
.history-row > div { flex: 1; min-width: 0; }
.history-row strong { display: block; font-size: 11px; font-weight: 450; color: #88a08e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-row p { font-size: 9px; color: #b0beb3; margin-top: 6px; }
.history-icon { width: 32px; height: 36px; display: grid; place-items: center; background: #f2f8f3; border-radius: 6px; color: #a1baa7; }
.audit-list { padding: 0 24px 18px; }
.audit-item { display: flex; gap: 13px; position: relative; padding: 8px 0 14px; }
.audit-item::before { content: ""; position: absolute; left: 3px; top: 17px; bottom: -7px; width: 1px; background: #e8f0e8; }
.audit-item:last-child::before { display: none; }
.audit-dot { height: 7px; width: 7px; border-radius: 50%; background: #d0e1d1; margin-top: 4px; position: relative; flex-shrink: 0; }
.audit-item strong { color: #91a997; font-size: 10px; font-weight: 450; word-break: break-word; }
.audit-item p { font-size: 9px; color: #b2c0b5; margin-top: 6px; }
.text-muted { color: #acb8ae !important; font-size: 10px; }
.text-danger { color: var(--danger) !important; }
.text-success { color: #639b79 !important; }
.empty-state { text-align: center; padding: 42px 24px 45px; color: #98ad9e; }
.empty-icon { width: 62px; height: 62px; border-radius: 16px; background: #f2f8f3; color: #b2c9b7; display: grid; place-items: center; margin: 0 auto 17px; }
.empty-state h3 { font-size: 13px; font-weight: 500; color: #809b87; }
.empty-state p { color: #b0bdb3; font-size: 10px; line-height: 1.9; max-width: 350px; margin: 9px auto 17px; }
.empty-state .button { font-size: 10px; }
.recent-card .empty-state { padding-top: 31px; padding-bottom: 31px; }
.history-card .empty-state, .audit-card .empty-state { padding-top: 19px; padding-bottom: 23px; }
.loading-bar { position: fixed; z-index: 60; left: 232px; top: 75px; right: 0; height: 2px; overflow: hidden; background: #e6f1e8; }
.loading-bar::after { content: ""; display: block; width: 35%; height: 100%; background: #6aa780; animation: loading-line 1.2s ease-in-out infinite; }
@keyframes loading-line { from { transform: translateX(-100%); } to { transform: translateX(385%); } }
.overlay { position: fixed; z-index: 100; inset: 0; background: rgba(27, 46, 35, .25); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 30px; animation: overlay-in .15s ease-out; }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
.modal { width: 610px; max-width: calc(100vw - 60px); max-height: calc(100vh - 60px); overflow: hidden; border-radius: 13px; background: #fff; border: 1px solid #e5ece5; box-shadow: 0 20px 80px #193a2a26; display: flex; flex-direction: column; }
.modal.wide, .modal.modal-wide { width: 820px; }
.modal.wide-modal { width: 800px; }
.modal.small, .modal.modal-small { width: 450px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 23px 26px 19px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.modal-header h2, .modal-header h3 { font-size: 17px; color: #446951; font-weight: 600; }
.modal-header p { font-size: 11px; color: #9daf9f; margin-top: 7px; line-height: 1.6; }
.modal-header .icon-button { margin: -3px -7px 0 0; }
.modal-body { padding: 23px 26px; overflow-y: auto; scrollbar-width: thin; line-height: 1.65; }
.modal-body > p { color: #8eaa96; font-size: 11px; margin-bottom: 15px; line-height: 1.8; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--border); padding: 17px 26px; background: #fcfdfb; flex-shrink: 0; }
.modal-footer .button { min-height: 36px; padding: 8px 17px; }
.modal-footer > .text-muted, .modal-footer > p { margin-right: auto; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; min-width: 0; }
.field > label, .field > span:first-child { font-size: 11px; font-weight: 450; color: #74947b; }
.field label > em, .field .required { color: #cb9993; font-style: normal; margin-left: 3px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .form-input { width: 100%; height: 38px; border: 1px solid #e0ebe2; border-radius: 6px; padding: 9px 11px; background: #fff; font-size: 11px; color: #69866f; outline: none; }
.field textarea { min-height: 95px; height: auto; resize: vertical; line-height: 1.75; }
.field input:focus, .field select:focus, .field textarea:focus, .form-input:focus { border-color: #8ab397; box-shadow: 0 0 0 2px #e8f3ea; }
.field small, .field .field-hint { font-size: 9px; color: #a6b9ab; line-height: 1.7; }
.field.inline { flex-direction: row; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.form-grid .field.full, .form-grid .full-width, .form-grid .span-2 { grid-column: 1 / -1; }
.form-section-title { font-size: 11px; color: #88a18f; font-weight: 550; border-bottom: 1px solid #eaf1ea; padding-bottom: 11px; margin-bottom: 18px; }
.error-box { display: flex; align-items: flex-start; gap: 8px; border: 1px solid #efd7d2; background: #fff7f5; color: #bd827b; border-radius: 7px; padding: 12px 14px; font-size: 11px; line-height: 1.7; margin-bottom: 17px; white-space: pre-wrap; overflow-wrap: anywhere; }
.error-box .icon { margin-top: 2px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 85vw; background: #fff; box-shadow: -10px 0 50px #23463020; display: flex; flex-direction: column; border-left: 1px solid #e6eee7; z-index: 101; }
.drawer-header { padding: 27px 27px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.drawer-header h2 { font-size: 19px; font-weight: 550; color: #4f7259; margin-bottom: 8px; }
.drawer-header p { color: #9bb1a1; font-size: 11px; }
.drawer-header > .icon-button { margin-right: -6px; }
.drawer-body { padding: 24px 27px 28px; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.drawer-body > h3 { color: #7e9c86; font-size: 12px; margin: 23px 0 16px; font-weight: 550; }
.drawer-body > h3:first-child { margin-top: 0; }
.drawer-footer { padding: 16px 27px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; background: #fcfdfb; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; border: 1px solid #e8efe8; background: #fbfdfb; border-radius: 8px; padding: 19px; }
.detail-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.detail-grid label, .detail-grid dt, .detail-grid small { font-size: 10px; color: #acbdb1; }
.detail-grid strong, .detail-grid dd, .detail-grid p { font-size: 11px; font-weight: 450; color: #77977f; word-break: break-word; margin: 0; }
.detail-grid .full-width { grid-column: 1 / -1; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.detail-section { margin-top: 24px; }
.website-inquiry { padding: 14px 0; border-bottom: 1px solid #e8efe8; }
.website-inquiry h4 { font-size: 14px; margin: 0 0 10px; }
.website-needs { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.website-inquiry dl { margin: 14px 0 0; font-size: 12px; }
.website-inquiry dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; margin: 7px 0; }
.website-inquiry dt { color: #65776b; }
.website-inquiry dd { margin: 0; overflow-wrap: anywhere; }
.detail-section h3 { font-size: 12px; color: #7d9d85; margin-bottom: 14px; }
.timeline { margin: 15px 0; padding: 0; list-style: none; }
.timeline > li, .timeline-item { position: relative; padding: 0 0 23px 25px; margin-left: 4px; border-left: 1px solid #e2ece3; }
.timeline > li::before, .timeline-item::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #bdd9c4; border: 3px solid #f3f8f4; box-sizing: content-box; left: -7px; top: 2px; }
.timeline > li:last-child, .timeline-item:last-child { border-color: transparent; padding-bottom: 0; }
.timeline strong, .timeline h4 { color: #7e9d85; font-size: 11px; font-weight: 500; }
.timeline p, .timeline-content { font-size: 11px; line-height: 1.85; color: #98b1a0; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 7px; }
.timeline small, .timeline time, .timeline-meta { font-size: 9px; color: #b0c2b5; margin-top: 7px; display: block; }
.toast { position: fixed; z-index: 200; right: 30px; bottom: 29px; max-width: 440px; padding: 13px 18px; display: flex; gap: 8px; align-items: center; border: 1px solid #d9e8db; border-radius: 8px; background: #fff; color: #678d70; box-shadow: 0 6px 28px #23463015; font-size: 11px; line-height: 1.6; animation: toast-in .2s ease-out; }
.toast.error { color: #c1877f; border-color: #efd8d3; }
.toast.success { color: #759d7e; }
@keyframes toast-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.import-drop { position: relative; background: #f8fcf8; border: 1.5px dashed #cadfce; border-radius: 10px; padding: 30px 22px; text-align: center; color: #8caf95; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.import-drop:hover, .import-drop.drag-over { background: #eef7f0; border-color: #8ab99a; }
.import-drop h3, .import-drop strong { font-size: 12px; font-weight: 500; }
.import-drop p, .import-drop small { font-size: 10px; color: #aac0b0; line-height: 1.8; }
.import-drop input[type="file"] { max-width: 100%; font-size: 10px; color: #91ae99; }
.import-drop input[type="file"]::file-selector-button { border: 1px solid #dbe8dd; background: #fff; border-radius: 5px; padding: 7px 10px; color: #8cab94; font: inherit; margin-right: 10px; cursor: pointer; }
.import-preview { margin-top: 20px; border: 1px solid #e5eee5; border-radius: 7px; overflow: auto; max-height: 310px; }
.import-preview table { border-collapse: collapse; width: 100%; white-space: nowrap; }
.import-preview th, .import-preview td { text-align: left; padding: 10px 12px; font-size: 10px; border-bottom: 1px solid #eef3ee; color: #98b1a0; }
.import-preview th { background: #f8fbf8; color: #a8bbb0; font-weight: 450; }
.import-summary { display: flex; gap: 12px; flex-wrap: wrap; margin: 15px 0; font-size: 10px; color: #99b3a1; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.login-layout .login-hero { text-align: center; padding: 10px 10px 4px; }
.login-layout .brand { justify-content: center; }
.login-layout h3 { font-size: 17px; font-weight: 550; color: #5e8068; }
.login-layout p { font-size: 11px; line-height: 1.9; color: #9fbaa7; margin-top: 8px; }
.login-layout .button.primary { min-height: 38px; }
.login-options { display: flex; align-items: center; gap: 12px; font-size: 10px; color: #a7b9ad; }
.login-options label { display: inline-flex; gap: 6px; align-items: center; }
.login-divider { display: flex; align-items: center; gap: 12px; font-size: 9px; color: #b7c8bb; margin: 15px 0; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: #e8f0e9; flex: 1; }
.auth-tabs { display: flex; align-items: center; border-bottom: 1px solid #e6efe7; margin-bottom: 22px; gap: 22px; }
.auth-tabs button { padding: 10px 0; border: none; border-bottom: 2px solid transparent; background: none; color: #a6bbad; font-size: 11px; }
.auth-tabs button.active { color: #80a88b; border-color: #80a88b; }
.login-intro { text-align: center; margin: 1px 0 25px; padding: 14px 10px 6px; }
.login-intro > .icon, .login-intro > span > .icon { width: 35px; height: 35px; color: #85aa90; margin-bottom: 12px; }
.login-intro h3 { color: #62836b; font-size: 17px; font-weight: 550; }
.login-intro p { color: #a0b3a5; font-size: 11px; line-height: 1.8; margin-top: 9px; }
.otp-row { display: flex; align-items: center; gap: 10px; }
.otp-row > input, .otp-row > .field { flex: 1; min-width: 0; }
.otp-row > .button { height: 38px; flex-shrink: 0; }
.form-note { font-size: 10px; color: #9bb1a3; line-height: 1.9; padding: 11px 13px; background: #f7fbf8; border: 1px solid #e9f0ea; border-radius: 6px; margin: 12px 0 5px; }
.check-line { display: flex; align-items: center; gap: 8px; color: #96aa9e; font-size: 10px; line-height: 1.75; margin: 13px 0 17px; }
.check-line input { flex-shrink: 0; }
.detail-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 21px; }
.detail-label { color: #a4b7aa; font-size: 10px; }
.detail-section h3 > small { font-size: 10px; color: #aac0b1; font-weight: 400; margin-left: 6px; }
.detail-task { display: flex; align-items: center; gap: 10px; border: 1px solid #e8f0e9; background: #fbfdfb; border-radius: 6px; padding: 12px 13px; margin-bottom: 9px; color: #8fa799; font-size: 10px; }
.detail-task > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.detail-task > small { font-size: 9px; color: #adc0b3; }
.timeline-item::before { display: none; }
.timeline-dot { position: absolute; width: 7px; height: 7px; background: #bdd9c4; border: 3px solid #f3f8f4; box-sizing: content-box; border-radius: 50%; top: 2px; left: -7px; }
.timeline-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.timeline-heading small { margin: 0; white-space: nowrap; font-size: 9px; }
.empty-state.compact { padding: 21px 15px; font-size: 11px; border: 1px dashed #e6eee7; border-radius: 7px; }
.badge.status-pending { background: #fcf6e9; color: #c2a366; }
.badge.status-following { background: #edf3f9; color: #809fba; }
.badge.status-converted { background: #edf7ef; color: #77a385; }
.badge.status-lost { background: #f1f3f1; color: #a1aba4; }
.project-settings { display: flex; align-items: center; gap: 16px; padding: 22px 25px; }
.project-settings > div { flex: 1; min-width: 0; }
.project-settings h2 { color: #78947f; font-size: 12px; font-weight: 550; }
.project-settings p { font-size: 10px; color: #a2b5a8; line-height: 1.85; margin-top: 7px; max-width: 740px; }
.project-settings > .button { flex-shrink: 0; margin-left: 14px; }
@media (min-width: 1560px) {
  .page-content { padding: 35px 40px 27px; }
  .topbar { padding-left: 40px; padding-right: 40px; }
  .demo-banner { padding-left: 40px; padding-right: 40px; }
  .metric-card { padding: 20px 24px 18px; }
  .metric-value-row > strong { font-size: 34px; }
  .sparkline { width: 106px; }
  .trend-svg { height: 268px; }
  .funnel { padding-top: 16px; }
  .funnel-step { min-height: 50px; }
  .funnel-footer { margin-top: 15px; }
  .source-distribution { padding-top: 13px; padding-bottom: 20px; min-height: 237px; gap: 18px; }
  .donut-svg { width: 195px; height: 195px; flex-basis: 195px; }
  .compact-table td { height: 59px; }
}
@media (max-width: 1320px) {
  .page-content { padding: 27px 25px 22px; }
  .topbar { padding: 0 25px; }
  .demo-banner { padding-left: 25px; padding-right: 25px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading p { font-size: 10px; max-width: 350px; }
  .metrics-grid { gap: 12px; }
  .metric-card { padding: 15px 15px 14px; }
  .sparkline { width: 66px; }
  .metric-value-row > strong { font-size: 27px; }
  .metric-comparison { gap: 4px; font-size: 8px; }
  .metric-delta { font-size: 8px; }
  .delta-caption { font-size: 8px; }
  .metric-note { font-size: 8px; }
  .dashboard-middle { grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr); gap: 16px; }
  .dashboard-bottom { grid-template-columns: minmax(310px, 1fr) minmax(0, 1.48fr); gap: 16px; }
  .card-header { padding: 20px 18px 15px; }
  .chart-legend { gap: 9px; font-size: 8px; }
  .source-distribution { flex-direction: column; gap: 0; padding-top: 0; padding-bottom: 14px; }
  .donut-svg { width: 133px; height: 133px; flex: 0 0 133px; }
  .source-list { max-width: none; width: 100%; padding: 0 10px; }
  .source-item { padding: 6px 0; }
  .source-insight { padding: 12px 17px; }
  .compact-table th, .compact-table td { padding-left: 11px; padding-right: 11px; }
  .compact-table td { height: 63px; }
  .compact-table .company-cell { min-width: 142px; }
  .settings-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); gap: 16px; }
  .list-toolbar { gap: 10px; }
  .table-search { width: 260px; }
  .filter-controls { gap: 7px; }
}
@media (max-width: 1140px) {
  .topbar-actions { gap: 13px; }
  .global-search { width: 191px; }
  .global-search kbd { display: none; }
  .page-content { padding: 25px 22px 22px; }
  .topbar { padding: 0 22px; }
  .demo-banner { padding: 0 22px; font-size: 9px; }
  .page-heading { gap: 12px; }
  .page-heading h1 { font-size: 22px; }
  .page-actions { gap: 7px; }
  .page-actions .button { padding-left: 10px; padding-right: 10px; font-size: 10px; }
  .page-heading p { max-width: 310px; }
  .metric-card { padding-left: 12px; padding-right: 12px; }
  .metric-top { font-size: 10px; }
  .metric-icon { width: 26px; height: 26px; border-radius: 6px; }
  .metric-icon .icon { width: 15px; height: 15px; }
  .metric-value-row { gap: 3px; }
  .metric-value-row > strong { font-size: 25px; }
  .metric-unit { font-size: 17px; }
  .sparkline { width: 54px; }
  .metric-comparison { flex-wrap: wrap; white-space: normal; }
  .dashboard-middle { grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr); gap: 15px; }
  .trend-card .card-header { flex-wrap: wrap; gap: 9px; }
  .trend-svg { height: 221px; }
  .trend-summary { margin-left: 18px; }
  .funnel { padding-left: 16px; padding-right: 16px; padding-top: 10px; }
  .funnel-footer { margin-left: 16px; margin-right: 16px; }
  .dashboard-bottom { grid-template-columns: 1fr; gap: 20px; }
  .source-distribution { flex-direction: row; padding: 0 28px 15px; gap: 36px; }
  .donut-svg { width: 160px; height: 160px; flex: 0 0 160px; }
  .source-list { width: auto; flex: 1; max-width: 330px; padding: 0; }
  .source-item { padding: 9px 0; }
  .compact-table td { height: 57px; }
  .compact-table th, .compact-table td { padding-left: 20px; padding-right: 20px; }
  .inline-heading > .card-caption { font-size: 9px; margin-left: 0; }
  .status-tabs { gap: 22px; padding-left: 20px; padding-right: 20px; }
  .table-search { width: 245px; min-width: 200px; }
  .list-toolbar { padding-left: 18px; padding-right: 18px; }
  .filter-select { padding-left: 8px; padding-right: 8px; gap: 5px; }
  .filter-select select { max-width: 110px; font-size: 9px; }
  .customer-summary > div { padding: 0 19px; gap: 11px; }
  .customer-summary strong { font-size: 21px; }
  .task-stat { padding: 17px 13px; gap: 9px; }
  .task-stat-grid { gap: 12px; }
  .settings-grid { grid-template-columns: 1fr; }
  .permission-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .permission-list > div { flex-direction: column; gap: 9px; }
}
@media (max-height: 760px) {
  .sidebar { padding-top: 21px; }
  .workspace-chooser { margin-top: 20px; }
  .navigation { padding-top: 17px; }
  .nav-group-label { margin-top: 14px; margin-bottom: 8px; }
  .nav-item { height: 39px; margin-bottom: 3px; }
  .sidebar-tip { padding-top: 11px; padding-bottom: 8px; }
  .sidebar-tip p { font-size: 9px; }
  .tip-icon { margin-bottom: 7px; }
  .sidebar-footer { height: 44px; }
}
@media (max-height: 650px) {
  .sidebar { overflow-y: auto; scrollbar-width: thin; }
  .sidebar-bottom { padding-top: 12px; }
}
@media (max-width: 920px) {
  .sidebar { position: absolute; min-height: 100vh; }
  .overlay { min-width: 0; padding: 16px; }
  .modal { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); }
  .modal-header, .modal-body, .modal-footer { padding-left: 20px; padding-right: 20px; }
  .drawer { max-width: 95vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.page-heading p, .card-header p, .card-caption, .page-footnote,
.metric-top, .metric-note, .metric-delta.flat, .delta-caption,
.chart-legend, .trend-summary, .trend-summary strong > span,
.funnel-percent, .funnel-footer, .source-insight,
.company-contact, .compact-table .company-contact,
.date-cell small, .task-meta, .today-task-grid .task-meta,
.task-done .task-title, .done-label, .today-clear,
.pagination, .pagination strong, .page-total,
.pool-summary p, .kanban-card p, .kanban-empty,
.kanban-footer > span:last-child, .customer-summary small,
.customer-summary em, .task-stat small, .workspace-settings p,
.permission-list p, .permission-note, .history-row p, .audit-item p,
.modal-header p, .modal-body small, .drawer-header p,
.field small, .field .field-hint, .form-note, .check-line,
.detail-grid label, .detail-grid dt, .detail-grid small, .detail-label,
.detail-section h3 > small, .detail-task > small,
.timeline small, .timeline time, .timeline-meta, .timeline-heading small,
.import-drop p, .import-drop small, .import-summary,
.login-layout p, .login-intro p, .login-options, .login-divider,
.project-settings p, .empty-state p {
  color: var(--muted);
  font-size: 11px;
}
.data-table, .data-table th, .data-table td,
.compact-table th, .compact-table td,
.import-preview th, .import-preview td {
  color: var(--content);
  font-size: 12px;
}
.data-table th, .compact-table th, .import-preview th {
  color: var(--muted);
  font-weight: 500;
}
.company-name, .compact-table .company-name,
.owner-cell, .owner-cell strong, .compact-table .owner-cell,
.date-cell, .source-label, .kanban-tags .source-label,
.kanban-footer .owner-cell, .kanban-card h4,
.task-title, .today-task-grid .task-title, .detail-task,
.history-row strong, .audit-item strong, .permission-list strong,
.modal-body, .modal-body > p, .drawer-body,
.detail-grid strong, .detail-grid dd, .detail-grid p,
.timeline strong, .timeline h4, .import-drop input[type="file"] {
  color: var(--content);
  font-size: 12px;
}
.timeline p, .timeline-content {
  color: var(--content);
  font-size: 13px;
  line-height: 1.85;
}
.field > label, .field > span:first-child,
.form-section-title, .detail-section h3, .drawer-body > h3 {
  color: var(--content);
  font-size: 12px;
  font-weight: 500;
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field select, .field textarea, .form-input,
.table-search input, .filter-select select, .period-select select {
  color: var(--content);
  font-size: 12px;
}
input::placeholder, textarea::placeholder { color: #7a8b80; }
.source-item, .source-item-name, .source-item strong,
.source-item > span:last-child { color: var(--content); font-size: 11px; }
.source-item > span:last-child { color: var(--muted); width: 44px; }
.chart-axis { fill: var(--muted); font-size: 10px; }
.donut-label { fill: var(--muted); font-size: 11px; }
.money-cell { color: var(--content) !important; }
.text-muted { color: var(--muted) !important; font-size: 11px; }
.status-pill, .compact-table .status-pill, .badge,
.tag, .tier, .tier > span, .count-badge, .member-status,
.status-tab, .status-tab > span, .subtle-badge,
.segment, .segment b, .task-section-label { font-size: 11px; }
.status-pill.amber, .badge.amber, .badge.status-pending, .tier-A { color: #8a6b30; }
.status-pill.blue, .badge.blue, .badge.status-following { color: #4d7294; }
.status-pill.green, .badge.green, .badge.status-converted, .tier-B { color: #3f7e54; }
.status-pill.gray, .badge.status-lost, .badge, .tier-C, .member-status { color: #657a6c; }
.tag { color: #526e5c; }
.badge.rose, .badge.danger { color: #aa5858; }
.button, .button.small, .compact-table .button.small,
.page-actions .button, .selection-bar .button.primary,
.empty-state .button { font-size: 12px; }
.button.secondary { color: #526e5d; }
.button.text-action, .button.claim-button { color: #2c7653; }
.button.danger, .error-box, .toast.error { color: #a95650; }
.toast, .error-box { font-size: 12px; }
.toast.success { color: #3f7e54; }
.nav-item, .breadcrumb strong, .profile-button { color: #526b5b; }
.nav-group-label, .breadcrumb, .global-search, .demo-banner,
.demo-banner .button.banner-login { color: var(--muted); font-size: 11px; }
.sidebar-tip strong { color: #476b51; }
.sidebar-tip p { color: var(--muted); font-size: 11px; }
.funnel-bar { font-size: 11px; }
.funnel-step:nth-child(3) .funnel-bar { color: #234635; }
.overdue-alert { color: #aa6255; }
@media print {
  body { min-width: 0; background: white; }
  .sidebar, .topbar, .demo-banner, .page-actions, .page-footnote, .overlay, .toast, .pagination-controls, .loading-bar { display: none !important; }
  .app-shell, .main-shell { margin: 0; min-width: 0; }
  .page-content { padding: 0; max-width: none; }
  .card { box-shadow: none; break-inside: avoid; }
  .dashboard-middle, .dashboard-bottom { grid-template-columns: 1fr; }
  .source-distribution { flex-direction: row; }
  .table-scroll { overflow: visible; }
  .data-table { white-space: normal; }
  .dashboard-tasks { margin-top: 15px; }
}
