:root {
  --ink: #111214;
  --ink-2: #25272b;
  --muted: #6d7179;
  --soft: #f5f6f8;
  --line: #e8e9ec;
  --white: #fff;
  --yellow: #f7be38;
  --pink: #dd2785;
  --blue: #347bb3;
  --cyan: #3db4d0;
  --green: #4ba83e;
  --purple: #7357d7;
  --shadow: 0 16px 48px rgba(20, 22, 28, .08);
  --radius: 18px;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8f8f9; font: 14px/1.5 var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, [data-view] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(61, 180, 208, .35); outline-offset: 2px; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 248px; display: flex; flex-direction: column; padding: 22px 16px 16px; background: #101113; color: #fff; overflow: auto; transition: transform .25s ease; }
.brand { height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-bottom: 22px; }
.brand img { width: 78px; height: 40px; object-fit: contain; border-radius: 7px; filter: invert(1); mix-blend-mode: screen; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; border-left: 1px solid #36383d; padding-left: 12px; }
.brand-copy strong { font: 800 17px var(--font-display); letter-spacing: -.04em; }
.brand-copy span { color: #92969f; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.workspace-chip { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid #2a2c30; background: #191a1d; border-radius: 13px; }
.workspace-chip > span:nth-child(2), .user-card > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; text-align: left; }
.workspace-chip small { color: #7e828b; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.workspace-chip strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--pink); border-radius: 9px; font: 800 10px var(--font-display); }
.nav { padding-top: 20px; flex: 1; }
.nav-label { margin: 17px 12px 7px; color: #6e727a; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { position: relative; width: 100%; height: 42px; padding: 0 12px; margin: 2px 0; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 11px; color: #aeb1b7; background: transparent; cursor: pointer; text-align: left; transition: .18s ease; }
.nav-item:hover { color: #fff; background: #1b1c20; }
.nav-item.active { color: #fff; background: #27292e; font-weight: 600; }
.nav-item.active::before { content: ""; position: absolute; left: -16px; height: 22px; width: 3px; border-radius: 0 4px 4px 0; background: var(--yellow); }
.nav-item svg { width: 17px; height: 17px; }
.nav-item span { flex: 1; }
.nav-badge { padding: 2px 6px; border-radius: 6px; color: #ffbdda; background: #3b2030; font-size: 8px; font-style: normal; font-weight: 700; }
.count-badge { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 10px; color: #111; background: var(--yellow); font-size: 9px; font-style: normal; font-weight: 800; }
.count-badge.pink { color: #fff; background: var(--pink); }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(75,168,62,.15); }
.sidebar-bottom { display: grid; gap: 10px; padding-top: 20px; }
.help-card { display: flex; align-items: center; gap: 9px; padding: 11px; border-radius: 12px; background: #191a1d; }
.help-card > div { flex: 1; display: flex; flex-direction: column; }
.help-card strong { font-size: 11px; }.help-card span { color: #7f838c; font-size: 9px; }
.help-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--cyan); background: rgba(61,180,208,.1); border-radius: 8px; }
.user-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 7px; border: 0; border-top: 1px solid #292b30; color: #fff; background: transparent; cursor: pointer; }
.user-card strong { font-size: 11px; }.user-card small { color: #7f838c; font-size: 9px; }.user-card > svg { color: #686c74; width: 15px; }
.avatar { position: relative; width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg,#f2b92f,#ef7b32); color: #2b2106; font-weight: 800; font-size: 11px; }
.presence { position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border: 2px solid #101113; border-radius: 50%; background: var(--green); }

.main-area { min-width: 0; margin-left: 248px; flex: 1; }
.topbar { position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 34px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.global-search { width: min(480px, 45vw); height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: #f8f8f9; }
.global-search svg { width: 16px; color: #8e9197; }.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }.global-search kbd { padding: 3px 6px; border: 1px solid #dedfe2; border-radius: 5px; color: #8c8f95; background: #fff; font: 9px var(--font-body); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.presence-control { position: relative; }.presence-button { height: 42px; min-width: 205px; display: grid; grid-template-columns: 8px 1fr auto 13px; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; text-align: left; }.presence-button:hover { background: var(--soft); }.presence-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--presence-color,var(--green)); box-shadow: 0 0 0 3px color-mix(in srgb,var(--presence-color,var(--green)) 14%,transparent); }.presence-button > span:nth-of-type(1) { display: flex; flex-direction: column; line-height: 1.2; }.presence-button small { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .06em; }.presence-button strong { font-size: 9px; }.presence-button time { color: #6f737a; font: 700 9px/1 var(--font-body); font-variant-numeric: tabular-nums; }.presence-button > span:last-child { display: grid; place-items: center; color: #9a9da4; }.presence-button svg { width: 12px; }
.presence-menu { position: absolute; z-index: 80; top: calc(100% + 9px); right: 0; width: 300px; overflow: hidden; padding: 7px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 20px 55px rgba(20,22,28,.17); animation: pageIn .18s ease; }.presence-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }.presence-menu-header > span { display: flex; flex-direction: column; }.presence-menu-header strong { font-size: 10px; }.presence-menu-header small { color: var(--muted); font-size: 8px; }.presence-menu-header time { padding: 6px 8px; color: #fff; border-radius: 7px; background: var(--ink); font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; }.presence-menu > button { width: 100%; display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; text-align: left; }.presence-menu > button:hover { background: var(--soft); }.presence-menu > button.active { background: #f3f4f5; }.presence-menu > button > i { width: 8px; height: 8px; border-radius: 50%; background: var(--status); }.presence-menu > button > span { display: flex; flex-direction: column; }.presence-menu > button strong { font-size: 9px; }.presence-menu > button small { color: var(--muted); font-size: 8px; }.presence-menu > button.active::after { content: "✓"; color: var(--green); font-size: 11px; font-weight: 800; }
.status-pill { display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #70747b; background: #f5f6f7; border-radius: 20px; font-size: 10px; font-weight: 600; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(75,168,62,.12); }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.icon-button:hover { background: var(--soft); }.icon-button svg { width: 17px; height: 17px; }.icon-button.compact { width: 26px; height: 26px; border: 0; color: #747881; background: transparent; }.icon-button.has-alert { position: relative; }.icon-button.has-alert::after { content: ""; position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: var(--pink); }
.menu-button { display: none; }
.primary-button, .secondary-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 10px; border: 1px solid var(--ink); font-weight: 700; cursor: pointer; transition: .18s ease; }
.primary-button { color: #fff; background: var(--ink); }.primary-button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(17,18,20,.18); }.primary-button.small { min-height: 38px; font-size: 11px; }.primary-button svg { width: 15px; }
.secondary-button { background: #fff; border-color: var(--line); }.secondary-button:hover { background: var(--soft); }

#app { padding: 28px 34px 60px; max-width: 1600px; margin: auto; }
.page-enter { animation: pageIn .28s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-title .eyebrow, .eyebrow { color: #92959b; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.page-title h1 { margin: 4px 0 3px; font: 700 clamp(25px, 3vw, 34px)/1.15 var(--font-display); letter-spacing: -.045em; }
.page-title p { margin: 0; color: var(--muted); font-size: 12px; }
.page-controls { display: flex; align-items: center; gap: 9px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.segmented button { min-width: 60px; padding: 6px 11px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }.segmented button.active { color: var(--ink); background: var(--soft); font-weight: 700; }
.select-control { height: 36px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #555960; font-size: 10px; }

.hero-strip { position: relative; min-height: 155px; display: grid; grid-template-columns: 1.3fr .7fr; overflow: hidden; margin-bottom: 18px; border-radius: 22px; color: #fff; background: #131417; }
.hero-copy { position: relative; z-index: 2; padding: 28px 30px; }.hero-copy h2 { max-width: 540px; margin: 4px 0 8px; font: 700 24px/1.25 var(--font-display); letter-spacing: -.035em; }.hero-copy p { margin: 0; color: #a8abb1; font-size: 11px; }.hero-copy strong { color: #fff; }
.hero-visual { position: relative; min-height: 150px; overflow: hidden; }.orb { position: absolute; border-radius: 50%; filter: saturate(1.05); }.orb.one { width: 170px; height: 170px; right: 60px; top: -35px; background: var(--pink); }.orb.two { width: 115px; height: 115px; right: -5px; bottom: -25px; background: var(--cyan); }.orb.three { width: 58px; height: 58px; left: 20px; bottom: 20px; background: var(--yellow); }.orb-ring { position: absolute; width: 210px; height: 210px; right: 18px; top: -45px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.goal-mini { position: absolute; z-index: 2; left: 68px; top: 38px; width: 105px; height: 105px; display: grid; place-items: center; border: 10px solid rgba(255,255,255,.18); border-top-color: #fff; border-right-color: #fff; border-radius: 50%; transform: rotate(23deg); }.goal-mini span { transform: rotate(-23deg); text-align: center; }.goal-mini strong { display: block; font: 800 22px var(--font-display); }.goal-mini small { display: block; color: #fff; font-size: 8px; text-transform: uppercase; }

.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 12px; margin-bottom: 18px; }
.metric-card, .card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.metric-card { position: relative; overflow: hidden; min-height: 125px; padding: 17px; }.metric-card::after { content: ""; position: absolute; top: 0; right: 0; width: 3px; height: 100%; background: var(--accent, var(--ink)); opacity: .8; }.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }.metric-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--accent, var(--ink)); background: color-mix(in srgb, var(--accent, var(--ink)) 11%, white); border-radius: 8px; }.metric-icon svg { width: 14px; }.metric-value { margin-top: 12px; display: flex; align-items: baseline; gap: 5px; }.metric-value strong { font: 700 22px var(--font-display); letter-spacing: -.04em; }.metric-value small { color: var(--muted); font-size: 9px; }.delta { margin-top: 4px; color: var(--green); font-size: 9px; font-weight: 700; }.delta.neutral { color: var(--muted); }.delta.down { color: var(--pink); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 18px; }.stack { display: grid; gap: 18px; align-content: start; }
.card { padding: 20px; }.card-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }.card-title h3 { margin: 0; font: 700 15px var(--font-display); letter-spacing: -.02em; }.card-title p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }.text-button { display: inline-flex; align-items: center; gap: 6px; border: 0; color: #555960; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }.text-button svg { width: 13px; }
.chart-shell { height: 235px; position: relative; padding: 8px 0 22px 34px; }.chart-grid { position: absolute; inset: 10px 0 30px 34px; display: grid; grid-template-rows: repeat(4,1fr); }.chart-grid i { border-top: 1px dashed #e7e8eb; }.y-labels { position: absolute; left: 0; top: 5px; bottom: 24px; display: flex; flex-direction: column; justify-content: space-between; color: #a0a3aa; font-size: 8px; }.line-chart { position: absolute; inset: 6px 0 25px 34px; width: calc(100% - 34px); height: calc(100% - 31px); overflow: visible; }.x-labels { position: absolute; left: 34px; right: 0; bottom: 0; display: flex; justify-content: space-between; color: #969aa1; font-size: 8px; }.chart-legend { display: flex; gap: 14px; }.chart-legend span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }.chart-legend i { width: 7px; height: 7px; border-radius: 50%; }
.tool-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.tool-shortcut { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; }.tool-shortcut:hover { border-color: #cdd0d5; box-shadow: 0 7px 20px rgba(20,22,28,.06); transform: translateY(-1px); }.tool-logo, .app-logo { display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #fff; background: var(--tool); font-weight: 800; }.tool-logo { width: 35px; height: 35px; font-size: 11px; }.tool-shortcut span { min-width: 0; flex: 1; display: flex; flex-direction: column; }.tool-shortcut strong { font-size: 10px; }.tool-shortcut small { color: var(--muted); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.tool-shortcut > svg { width: 13px; color: #b0b3b9; }
.agenda-list { display: grid; gap: 3px; }.agenda-item { display: grid; grid-template-columns: 38px 4px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f1f2; }.agenda-item:last-child { border: 0; }.agenda-time { font-size: 9px; font-weight: 700; }.agenda-mark { width: 3px; height: 32px; border-radius: 3px; background: var(--mark); }.agenda-info { display: flex; flex-direction: column; }.agenda-info strong { font-size: 10px; }.agenda-info small { color: var(--muted); font-size: 8px; }.agenda-action { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; color: var(--blue); background: #f2f7fb; cursor: pointer; }.agenda-action svg { width: 13px; }
.notice-card { padding: 17px; border: 1px solid #f0d9a5; border-radius: 15px; background: #fffaf0; }.notice-card .tag { color: #9a6b00; background: #fce8b4; }.notice-card h4 { margin: 10px 0 5px; font: 700 12px var(--font-display); }.notice-card p { margin: 0 0 11px; color: #6f6655; font-size: 9px; }.notice-meta { display: flex; align-items: center; gap: 8px; color: #9a8e76; font-size: 8px; }.tag { display: inline-flex; padding: 3px 7px; border-radius: 20px; font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.daily-compact { display: flex; align-items: center; gap: 12px; padding: 16px; color: #fff; background: var(--ink); border-radius: 15px; }.daily-compact .round-icon { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; color: var(--yellow); background: #292b2f; border-radius: 10px; }.daily-compact .round-icon svg { width: 16px; }.daily-compact div { flex: 1; display: flex; flex-direction: column; }.daily-compact strong { font-size: 11px; }.daily-compact small { color: #9a9da4; font-size: 8px; }.daily-compact button { border: 0; color: #111; background: var(--yellow); border-radius: 8px; padding: 8px 10px; font-size: 8px; font-weight: 800; cursor: pointer; }

.content-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }.span-12 { grid-column: span 12; }.span-8 { grid-column: span 8; }.span-7 { grid-column: span 7; }.span-6 { grid-column: span 6; }.span-5 { grid-column: span 5; }.span-4 { grid-column: span 4; }
.big-number { font: 700 34px var(--font-display); letter-spacing: -.05em; }.muted { color: var(--muted); }.micro-label { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.progress-list { display: grid; gap: 16px; }.progress-item { display: grid; grid-template-columns: 100px 1fr 55px; gap: 12px; align-items: center; }.progress-item label { font-size: 10px; font-weight: 600; }.progress-track { height: 7px; overflow: hidden; border-radius: 6px; background: #eff0f2; }.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--bar); }.progress-item strong { text-align: right; font-size: 10px; }
.bar-chart { height: 240px; display: flex; align-items: flex-end; justify-content: space-around; gap: 12px; padding: 20px 8px 0; border-bottom: 1px solid var(--line); }.bar-group { height: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; position: relative; }.bar-group i { width: min(18px, 38%); border-radius: 5px 5px 0 0; background: var(--bar); transition: height .4s ease; }.bar-group span { position: absolute; bottom: -22px; color: var(--muted); font-size: 8px; }
.donut-wrap { display: grid; place-items: center; min-height: 225px; }.donut { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--pink) 0 42%, var(--cyan) 42% 67%, var(--yellow) 67% 84%, #e9eaec 84%); }.donut::after { content: ""; width: 105px; height: 105px; border-radius: 50%; background: #fff; }.donut-copy { position: absolute; text-align: center; }.donut-copy strong { display: block; font: 700 23px var(--font-display); }.donut-copy small { color: var(--muted); font-size: 8px; }

.filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }.filter-search { max-width: 360px; flex: 1; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }.filter-search svg { width: 15px; color: var(--muted); }.filter-search input { width: 100%; border: 0; outline: 0; font-size: 11px; }.category-chips { display: flex; gap: 7px; overflow: auto; padding-bottom: 2px; }.category-chips button { white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: #fff; font-size: 9px; cursor: pointer; }.category-chips button.active { color: #fff; border-color: var(--ink); background: var(--ink); }
.tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.app-card { position: relative; min-height: 175px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s ease; }.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; }.app-logo { width: 44px; height: 44px; font-size: 13px; }.favorite { border: 0; color: #b9bbc0; background: transparent; cursor: pointer; }.favorite.active { color: var(--yellow); }.favorite svg { width: 17px; fill: currentColor; }.app-card h3 { margin: 14px 0 3px; font: 700 13px var(--font-display); }.app-card p { margin: 0; flex: 1; color: var(--muted); font-size: 9px; }.app-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }.app-card-footer span { display: flex; align-items: center; gap: 5px; color: var(--green); font-size: 8px; }.app-card-footer span i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.launch-button { display: inline-flex; align-items: center; gap: 5px; border: 0; color: var(--ink); background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }.launch-button svg { width: 12px; }

.podium { min-height: 285px; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 20px 15px 0; }.podium-person { width: 120px; text-align: center; }.podium-person .avatar { margin: auto; width: 48px; height: 48px; border: 4px solid #fff; box-shadow: 0 4px 15px rgba(0,0,0,.12); }.podium-person strong { display: block; margin-top: 7px; font-size: 10px; }.podium-person small { color: var(--muted); font-size: 8px; }.podium-block { position: relative; height: var(--height); display: grid; place-items: start center; padding-top: 15px; margin-top: 10px; border-radius: 10px 10px 0 0; background: var(--podium); font: 800 18px var(--font-display); }.podium-person.winner .avatar { width: 58px; height: 58px; background: linear-gradient(145deg,var(--yellow),#ee8f2d); }.podium-person.winner .podium-block::before { content: "★"; position: absolute; top: -25px; color: var(--yellow); font-size: 17px; }
.ranking-table { width: 100%; border-collapse: collapse; }.ranking-table th { padding: 9px 12px; color: #979aa1; font-size: 8px; text-align: left; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }.ranking-table td { padding: 12px; border-bottom: 1px solid #f0f1f2; font-size: 10px; }.ranking-table tr:last-child td { border: 0; }.person-cell { display: flex; align-items: center; gap: 9px; }.person-cell .avatar { width: 29px; height: 29px; font-size: 8px; }.rank-num { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--soft); font-weight: 800; }.you-row { background: #fffaf0; }

.sapiens-hero { position: relative; overflow: hidden; min-height: 280px; padding: 35px; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 22px; color: #fff; background: radial-gradient(circle at 80% 20%, #583157, transparent 32%), linear-gradient(135deg,#141519,#222129); }.sapiens-hero h2 { max-width: 500px; margin: 12px 0; font: 700 30px/1.2 var(--font-display); letter-spacing: -.04em; }.sapiens-hero p { max-width: 480px; color: #b9bbc1; font-size: 11px; }.sapiens-hero .primary-button { margin-top: 14px; color: #111; border-color: var(--yellow); background: var(--yellow); }.ai-orbit { position: relative; min-height: 210px; display: grid; place-items: center; }.ai-core { width: 110px; height: 110px; display: grid; place-items: center; border-radius: 36px; background: linear-gradient(145deg,var(--pink),#9d4ec9); box-shadow: 0 0 60px rgba(221,39,133,.35); }.ai-core svg { width: 45px; }.ai-ring { position: absolute; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; animation: orbit 15s linear infinite; }.ai-ring::after, .ai-ring::before { content:""; position:absolute; width:14px; height:14px; border-radius:50%; background:var(--cyan); }.ai-ring::before { left: 17px; top: 28px; }.ai-ring::after { right: 4px; bottom: 55px; background:var(--yellow); }.ai-ring.second { width: 250px; height: 250px; animation-direction: reverse; animation-duration: 22s; }.ai-ring.second::before { background:var(--green); }.ai-ring.second::after { background:var(--pink); } @keyframes orbit { to { transform: rotate(360deg); } }
.skill-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.skill-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }.skill-card-top { display: flex; align-items: center; justify-content: space-between; }.skill-card span { font-size: 9px; font-weight: 700; }.skill-card strong { font: 700 18px var(--font-display); }.skill-card .progress-track { margin-top: 10px; }

.communication-list { display: grid; gap: 10px; }.communication { display: grid; grid-template-columns: 44px 1fr auto; gap: 13px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.comm-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--color); background: color-mix(in srgb,var(--color) 10%, white); }.comm-icon svg { width: 19px; }.communication h3 { margin: 0 0 3px; font: 700 12px var(--font-display); }.communication p { margin: 0; color: var(--muted); font-size: 9px; }.communication-meta { display: flex; align-items: center; gap: 8px; margin-top: 7px; color: #9a9da4; font-size: 8px; }.unread-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

.chat-layout { height: calc(100vh - 135px); min-height: 560px; display: grid; grid-template-columns: 300px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }.chat-sidebar { border-right: 1px solid var(--line); overflow: auto; }.chat-sidebar-header { padding: 18px; border-bottom: 1px solid var(--line); }.chat-sidebar-header h2 { margin: 0 0 12px; font: 700 17px var(--font-display); }.chat-search { height: 35px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--soft); border-radius: 9px; }.chat-search svg { width: 14px; color: var(--muted); }.chat-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 9px; }.conversation { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 13px 16px; border: 0; border-bottom: 1px solid #f0f1f2; background: #fff; cursor: pointer; text-align: left; }.conversation.active { background: #fff9eb; }.conversation .avatar { width: 38px; height: 38px; font-size: 9px; }.conversation-copy { min-width: 0; }.conversation-copy strong, .conversation-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.conversation-copy strong { font-size: 10px; }.conversation-copy small { color: var(--muted); font-size: 8px; }.conversation-time { align-self: start; color: #9a9da4; font-size: 7px; }.chat-main { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }.chat-header { display: flex; align-items: center; gap: 11px; padding: 14px 18px; border-bottom: 1px solid var(--line); }.chat-header .avatar { width: 36px; height: 36px; }.chat-header > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }.chat-header strong { font-size: 11px; }.chat-header small { color: var(--green); font-size: 8px; }.messages { padding: 20px; overflow: auto; background: #fafafa; }.date-divider { margin: 0 auto 18px; width: max-content; color: #999da4; font-size: 8px; }.message { max-width: 62%; margin: 8px 0; }.message.me { margin-left: auto; }.message-bubble { padding: 10px 13px; border: 1px solid var(--line); border-radius: 5px 13px 13px 13px; background: #fff; font-size: 10px; }.message.me .message-bubble { color: #fff; border: 0; border-radius: 13px 5px 13px 13px; background: var(--ink); }.message-time { display: block; margin-top: 3px; color: #a0a3a9; font-size: 7px; }.message.me .message-time { text-align: right; }.chat-compose { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-top: 1px solid var(--line); }.chat-compose input { flex: 1; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; font-size: 10px; }.send-button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; color: #fff; background: var(--ink); cursor: pointer; }.send-button svg { width: 15px; }

.team-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 18px; }.team-stat { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }.team-stat span { color: var(--muted); font-size: 9px; }.team-stat strong { display: block; margin: 6px 0 2px; font: 700 24px var(--font-display); }.team-stat small { color: var(--green); font-size: 8px; font-weight: 700; }.agent-list { display: grid; gap: 2px; }.agent-row { display: grid; grid-template-columns: minmax(150px,1.2fr) 100px 1fr 90px 35px; gap: 15px; align-items: center; padding: 12px 8px; border-bottom: 1px solid #f0f1f2; }.agent-row:last-child { border: 0; }.agent-status { display: flex; align-items: center; gap: 5px; font-size: 8px; }.agent-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--status); }.activity-chip { width: fit-content; padding: 4px 7px; border-radius: 7px; color: #53565c; background: var(--soft); font-size: 8px; }.mini-progress { display: flex; align-items: center; gap: 7px; }.mini-progress .progress-track { flex: 1; height: 5px; }.mini-progress span { font-size: 8px; font-weight: 700; }
.sync-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }.sync-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(75,168,62,.12); }
.team-switcher { display: grid; grid-template-columns: repeat(5,minmax(150px,1fr)); gap: 10px; margin-bottom: 17px; }.team-choice { min-height: 70px; display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: left; transition: .18s ease; }.team-choice:hover { transform: translateY(-1px); border-color: #cdd0d5; box-shadow: 0 8px 24px rgba(20,22,28,.06); }.team-choice.active { border-color: var(--team-color,var(--ink)); box-shadow: inset 0 0 0 1px var(--team-color,var(--ink)); }.team-choice > i { width: 9px; height: 34px; flex: 0 0 auto; border-radius: 6px; background: var(--team-color); }.team-choice > span:last-child { min-width: 0; display: flex; flex-direction: column; }.team-choice strong { font-size: 10px; white-space: nowrap; }.team-choice small { color: var(--muted); font-size: 8px; white-space: nowrap; }.team-choice-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; border-radius: 10px; background: var(--ink); }.team-choice-icon svg { width: 16px; }.selection-label { display: flex; align-items: baseline; gap: 9px; margin: 0 2px 10px; }.selection-label span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }.selection-label strong { font: 700 13px var(--font-display); }.selection-label small { color: var(--muted); font-size: 8px; }
.team-mini-list { display: grid; gap: 3px; }.team-mini-list button { display: grid; grid-template-columns: 5px 1fr auto 38px; gap: 9px; align-items: center; width: 100%; padding: 10px 5px; border: 0; border-bottom: 1px solid #f0f1f2; background: transparent; cursor: pointer; text-align: left; }.team-mini-list button:last-child { border-bottom: 0; }.team-mini-list button:hover { background: var(--soft); border-radius: 9px; }.team-mini-list > button > i { width: 4px; height: 30px; border-radius: 4px; background: var(--team-color); }.team-mini-list span { display: flex; flex-direction: column; }.team-mini-list strong { font-size: 9px; }.team-mini-list small { color: var(--muted); font-size: 7px; }.team-mini-list b { display: flex; flex-direction: column; text-align: right; font-size: 11px; }.team-mini-list b small { font-weight: 400; }.team-mini-list em { color: var(--green); font-size: 9px; font-style: normal; font-weight: 800; text-align: right; }
.presence-overview { display: grid; grid-template-columns: 1.3fr repeat(4,1fr); gap: 10px; margin-bottom: 14px; }.presence-kpi { min-height: 74px; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }.presence-kpi > i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: var(--kpi-color); border-radius: 10px; background: color-mix(in srgb,var(--kpi-color) 11%,white); }.presence-kpi > i svg { width: 15px; }.presence-kpi > span { display: flex; flex-direction: column; }.presence-kpi small { color: var(--muted); font-size: 8px; }.presence-kpi strong { font: 700 17px var(--font-display); }.presence-kpi em { color: var(--muted); font-size: 7px; font-style: normal; }.status-breakdown { display: grid; gap: 12px; }.status-breakdown-row { display: grid; grid-template-columns: 110px 1fr 60px; gap: 10px; align-items: center; }.status-breakdown-row > span { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 600; }.status-breakdown-row > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--status); }.status-breakdown-row strong { text-align: right; font-size: 9px; font-variant-numeric: tabular-nums; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(15,16,18,.58); backdrop-filter: blur(6px); }.modal { width: min(540px,100%); padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: modalIn .2s ease; } @keyframes modalIn { from { opacity: 0; transform: scale(.97) translateY(8px); } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }.modal h2 { margin: 3px 0 0; font: 700 21px var(--font-display); letter-spacing: -.035em; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal label { display: grid; gap: 7px; margin-bottom: 15px; color: #575a60; font-size: 9px; font-weight: 700; }.modal input, .modal textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: #fafafa; resize: vertical; }.money-input { position: relative; }.money-input b { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }.money-input input { padding-left: 27px; }.form-note { display: flex; align-items: center; gap: 7px; padding: 10px; border-radius: 9px; color: #6b6f76; background: var(--soft); font-size: 8px; }.form-note svg { width: 14px; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 120; min-width: 290px; display: flex; align-items: center; gap: 11px; padding: 14px; border-radius: 13px; color: #fff; background: #17181a; box-shadow: 0 20px 50px rgba(0,0,0,.24); transform: translateY(90px); opacity: 0; pointer-events: none; transition: .3s ease; }.toast.show { transform: translateY(0); opacity: 1; }.toast > svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; color: #111; background: var(--green); }.toast div { display: flex; flex-direction: column; }.toast strong { font-size: 10px; }.toast small { color: #9fa2a8; font-size: 8px; }

@media (max-width: 1200px) {
  .metric-grid { grid-template-columns: repeat(3,1fr); }.tools-grid { grid-template-columns: repeat(3,1fr); }.tool-row { grid-template-columns: repeat(2,1fr); }.span-8,.span-7 { grid-column: span 12; }.span-5,.span-4 { grid-column: span 6; }.team-switcher { grid-template-columns: repeat(3,1fr); }.presence-overview { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }.main-area { margin-left: 0; }.menu-button { display: grid; }.topbar { padding: 0 20px; }.status-pill { display: none; } #app { padding: 22px 20px 50px; }.dashboard-grid { grid-template-columns: 1fr; }.tools-grid { grid-template-columns: repeat(2,1fr); }.hero-strip { grid-template-columns: 1fr .55fr; }.team-summary { grid-template-columns: repeat(2,1fr); }.team-switcher { grid-template-columns: repeat(2,1fr); }.presence-overview { grid-template-columns: repeat(2,1fr); }.chat-layout { grid-template-columns: 250px 1fr; }
}
@media (max-width: 640px) {
  .topbar { height: 62px; padding: 0 13px; gap: 8px; }.global-search { width: auto; flex: 1; }.global-search kbd,.global-search input::placeholder { color: transparent; }.top-actions .primary-button { width: 38px; padding: 0; font-size: 0; }.top-actions .primary-button svg { margin: 0; }.presence-button { min-width: 44px; width: 44px; grid-template-columns: 8px 1fr; }.presence-button > span:nth-of-type(1),.presence-button time,.presence-button > span:last-child { display: none; }.presence-menu { position: fixed; top: 68px; left: 12px; right: 12px; width: auto; }.page-header { align-items: flex-start; flex-direction: column; }.page-controls { width: 100%; overflow: auto; }.metric-grid { grid-template-columns: repeat(2,1fr); }.metric-card { min-height: 115px; }.hero-strip { grid-template-columns: 1fr; }.hero-copy { padding: 24px; }.hero-visual { display: none; }.tools-grid { grid-template-columns: 1fr; }.tool-row { grid-template-columns: 1fr; }.content-grid { display: block; }.content-grid > * { margin-bottom: 14px; }.span-4,.span-5,.span-6,.span-7,.span-8 { grid-column: auto; }.form-grid { grid-template-columns: 1fr; gap: 0; }.sapiens-hero { grid-template-columns: 1fr; padding: 25px; }.ai-orbit { min-height: 240px; }.skill-grid { grid-template-columns: 1fr; }.communication { grid-template-columns: 38px 1fr; }.communication > .secondary-button { grid-column: 2; width: fit-content; }.chat-layout { display: block; height: auto; min-height: 0; }.chat-sidebar { display: none; }.chat-main { height: calc(100vh - 155px); }.team-summary { grid-template-columns: 1fr 1fr; }.team-switcher { display: flex; overflow-x: auto; padding-bottom: 5px; }.team-choice { min-width: 190px; }.selection-label small { display: none; }.presence-overview { grid-template-columns: 1fr 1fr; }.status-breakdown-row { grid-template-columns: 95px 1fr 52px; }.agent-row { grid-template-columns: 1fr 80px 35px; }.agent-row > :nth-child(3),.agent-row > :nth-child(4) { display: none; }.toast { left: 15px; right: 15px; bottom: 15px; min-width: 0; }
}
