@font-face {
  font-family: Poppins; src: url("assets/Poppins-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: Poppins; src: url("assets/Poppins-Medium.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: Poppins; src: url("assets/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
:root {
  color-scheme: light;
  --workspace: #f7f8fc;
  --paper: #fff;
  --ink: #191c29;
  --muted: #62697f;
  --line: #e2e6f0;
  --soft-line: #edf0f4;
  --blue: #2047cc;
  --blue-dark: #1c3bb3;
  --blue-muted: #ebf0ff;
  --green: #086731;
  --red: #ad2332;
  --amber: #936007;
  --radius: 11px;
  font: 13px/1.5 Poppins, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--workspace);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: 27px; font-weight: 600; letter-spacing: -.042em; line-height: 1.28; }
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.025em; line-height: 1.35; }
h3 { font-size: 13px; font-weight: 500; }
strong { font-weight: 500; }
small { font-size: 11px; }
svg { flex-shrink: 0; vertical-align: middle; }
.platform-label, .segment-label { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; vertical-align: middle; }
.identity .platform-label svg { width: 12px; height: 12px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 4; top: 8px; left: 10px; padding: 8px 12px; background: white; color: var(--blue); }
.muted { color: var(--muted); }
.positive { color: var(--green); }
.negative { color: var(--red); }
.shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.shell:has(.sidebar.is-collapsed) { grid-template-columns: 75px minmax(0, 1fr); }
.workspace { min-width: 0; }
.sidebar, .navigation-dialog {
  background: var(--paper); display: flex; flex-direction: column; overflow-y: auto;
}
.sidebar { position: sticky; top: 0; height: 100dvh; border-right: 1px solid var(--line); }
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 70px; padding: 10px 14px; border-bottom: 1px solid var(--soft-line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 54px; height: 54px; margin: -9px; transform: translateY(5px); }
.sidebar-header .sidebar-toggle {
  width: 30px; height: 30px; border-color: var(--soft-line); background: #f6f7f9; color: var(--ink);
}
.sidebar-header .sidebar-toggle:hover { background: var(--blue-muted); color: var(--blue); }
.sidebar-team, .sidebar-group { padding: 13px 13px 11px; border-bottom: 1px solid var(--soft-line); }
.sidebar-team > p, .sidebar-group > p { color: var(--muted); font-size: 11px; line-height: 1.3; margin: 1px 1px 8px; }
.sidebar-team .select-control { width: 100%; min-height: 42px; gap: 8px; padding: 0 8px; font-weight: 500; }
.sidebar-team select { flex: 1; width: 100%; align-self: stretch; padding-block: 0; white-space: nowrap; }
.team-badge {
  display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 7px;
  background: #2355d5; color: white; font-size: 10px; letter-spacing: .015em;
}
.sidebar-group { display: grid; gap: 2px; }
.sidebar-group > p { margin-bottom: 4px; }
.sidebar-group a {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px;
  min-height: 38px; color: #3b4357; white-space: nowrap;
}
.sidebar-group a svg { color: #576073; }
.sidebar-group a:hover { background: #f5f6fa; color: var(--blue-dark); }
.sidebar-group a[aria-current] { background: #f2f4f8; color: var(--ink); font-weight: 500; }
.sidebar-group a[aria-current] svg { color: var(--ink); }
.system {
  display: flex; align-items: center; gap: 8px; margin-top: auto; min-height: 45px; border: 0;
  border-top: 1px solid var(--soft-line); background: transparent; text-align: left; color: var(--muted); padding: 10px 15px;
}
.system:hover { color: var(--blue); }
.sidebar.is-collapsed .brand-name, .sidebar.is-collapsed .nav-label, .sidebar.is-collapsed .system > span { display: none; }
.sidebar.is-collapsed .sidebar-header { display: grid; justify-items: center; justify-content: center; gap: 7px; padding: 10px 0; }
.sidebar.is-collapsed .sidebar-team, .sidebar.is-collapsed .sidebar-group { padding-inline: 8px; text-align: center; }
.sidebar.is-collapsed .sidebar-team .select-control { gap: 3px; padding-inline: 5px; }
.sidebar.is-collapsed .sidebar-team select { color: transparent; }
.sidebar.is-collapsed .sidebar-group a, .sidebar.is-collapsed .system { justify-content: center; }
.topbar {
  min-height: 66px; padding: 11px 26px; border-bottom: 1px solid var(--line); display: flex;
  align-items: center; justify-content: space-between; gap: 12px;
}
.top-start, .top-end, .breadcrumb { display: flex; align-items: center; gap: 13px; min-width: 0; }
.top-end { flex-shrink: 0; }
.top-search { width: min(40vw, 425px); border-radius: 10px; border: 1px solid var(--line); background: white; }
.search-shell { display: flex; align-items: center; padding: 0 11px; gap: 8px; min-height: 38px; color: var(--muted); min-width: 0; }
.search-shell input { width: 100%; min-width: 0; background: none; border: 0; color: var(--ink); height: 35px; padding: 0 1px; }
.search-shell input::placeholder { color: var(--muted); }
.breadcrumb { color: var(--muted); white-space: nowrap; font-size: 12px; gap: 10px; }
.breadcrumb a { color: var(--ink); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.demo-indicator { padding: 3px 7px; border: 1px solid #c6d2f9; border-radius: 6px; color: var(--blue-dark); font-size: 10px; line-height: 1.4; white-space: nowrap; }
.account { display: grid; place-items: center; color: #fff; background: var(--blue-dark); width: 32px; height: 32px; border: 0; border-radius: 50%; font-size: 11px; font-weight: 500; }
.profile-picture-image { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.account:has(.profile-picture-image) { padding: 0; background: var(--blue-muted); }
.icon-button {
  position: relative; display: inline-grid; place-items: center; height: 36px; width: 36px;
  border: 1px solid transparent; border-radius: 8px; background: transparent; flex-shrink: 0;
}
.icon-button:hover { background: var(--blue-muted); color: var(--blue); }
.notification-count {
  position: absolute; top: 0; right: 0; min-width: 15px; height: 15px; padding: 0 3px;
  display: grid; place-items: center; border: 1px solid white; border-radius: 999px;
  color: white; background: #b92236; font-size: 9px; line-height: 1; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mobile-menu { display: none; }
main { padding: 24px 26px 30px; max-width: 1690px; margin: 0 auto; min-width: 0; }
main:focus { outline: none; }
.page-heading { margin: 0 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.page-heading p, .profile-heading p { margin-top: 5px; color: var(--muted); }
.my-profile-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.my-profile-picture { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--blue-muted); color: var(--blue-dark); font-size: 20px; font-weight: 500; }
.profile-picture-edit, .profile-return { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; }
.heading-controls, .directory-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.calendar-trigger {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; max-width: 100%;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); text-align: left;
}
.calendar-trigger > svg { color: var(--muted); }
.calendar-trigger > span { display: grid; gap: 1px; font-size: 12px; line-height: 1.2; }
.calendar-trigger small { color: var(--muted); font-size: 10px; }
.calendar-trigger:hover, body:has(.calendar-panel:popover-open) .calendar-trigger { border-color: var(--blue); }
body:has(.calendar-panel:popover-open) .calendar-trigger { box-shadow: 0 0 0 2px var(--blue-muted); }
body:has(.calendar-panel:popover-open) .calendar-trigger > svg:last-child { transform: rotate(180deg); }
.calendar-panel {
  --calendar-top: clamp(8px, calc(var(--calendar-anchor-bottom) + 7px), calc(100dvh - 390px));
  position: fixed; inset: auto; margin: 0;
  top: var(--calendar-top);
  right: clamp(10px, var(--calendar-right), calc(100% - min(316px, 100% - 20px) - 10px));
  width: min(316px, 100% - 20px); max-height: calc(100dvh - var(--calendar-top) - 8px); overflow: auto;
  padding: 13px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--paper); color: var(--ink); box-shadow: 0 13px 32px #282f5020;
}
.calendar-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 3px; border-radius: 8px; background: #f4f6f9; }
.calendar-modes button {
  min-height: 31px; border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: var(--muted); font-size: 11px; font-weight: 500;
}
.calendar-modes button[aria-pressed="true"] { background: var(--paper); border-color: var(--line); color: var(--blue-dark); }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin: 10px 2px 5px; min-height: 30px; }
.calendar-header h3 { font-size: 15px; }
.calendar-arrows { display: flex; gap: 2px; }
.calendar-arrows .icon-button { width: 29px; height: 29px; border-color: transparent; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.calendar-weekday {
  display: grid; place-items: center; min-height: 23px; color: var(--muted);
  font-size: 10px; font-weight: 500;
}
.calendar-day, .calendar-months button { border: 0; background: transparent; min-height: 32px; font-size: 11px; padding: 0; }
.calendar-day.in-range { background: var(--blue-muted); color: var(--blue-dark); }
.calendar-day.endpoint { border-radius: 99px; background: var(--blue); color: var(--paper); font-weight: 500; }
.calendar-day:not(:disabled, .endpoint):hover, .calendar-months button:not(:disabled):hover { background: var(--blue-muted); color: var(--blue-dark); }
.calendar-day:focus-visible, .calendar-months button:focus-visible { outline-offset: -2px; }
.calendar-day.endpoint:focus-visible { outline-color: var(--paper); }
.calendar-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.calendar-months button { border: 1px solid var(--soft-line); border-radius: 7px; }
.calendar-months button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue-dark); background: var(--blue-muted); }
.calendar-summary { margin: 8px 0 10px; min-height: 17px; color: var(--muted); font-size: 11px; }
.calendar-footer { display: flex; gap: 8px; }
.calendar-footer .button { flex: 1; min-height: 33px; border-radius: 99px; font-size: 11px; }
.select-control {
  display: inline-flex; width: max-content; max-width: 100%; min-height: 36px; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; background: var(--paper); position: relative;
}
.select-control select { appearance: none; outline: none; padding: 8px 19px 8px 0; margin-right: -19px; border: 0; background: transparent; cursor: pointer; min-width: 0; }
.select-control > svg { pointer-events: none; color: var(--muted); }
.pic-select-leading { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--muted); pointer-events: none; }
.select-control:hover { border-color: #b8c5da; }
.select-control:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
@supports (appearance: base-select) {
  .select-control select, .select-control select::picker(select) { appearance: base-select; }
  .select-control select { color: var(--ink); }
  .select-control select::picker-icon { display: none; }
  .select-control:has(select:open) { outline: 2px solid var(--blue); outline-offset: 2px; }
  .select-control:has(select:open) > svg:first-child { color: var(--blue); }
  .select-control select::picker(select) {
    border: 1px solid #dce1ea; background: var(--paper); border-radius: 12px;
    box-shadow: 0 4px 13px #232a4410, 0 1px 3px #232a4410;
  }
  .select-control select::picker(select) {
    margin-block: 6px; padding: 4px; min-inline-size: 158px; inline-size: max-content;
    max-inline-size: calc(100vw - 24px); max-block-size: min(300px, calc(100dvh - 24px)); overflow: auto;
    position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  }
  .filter-panel select::picker(select), .panel-head select::picker(select) {
    position-area: block-end span-inline-start; justify-self: end;
  }
  .sidebar-team select::picker(select) { margin-inline-start: -33px; }
  @media (min-width: 781px) {
    .heading-controls select::picker(select), .directory-toolbar > .select-control select::picker(select),
    .profile-heading select::picker(select) {
      position-area: block-end span-inline-start; justify-self: end;
    }
  }
  .select-control option {
    display: flex; align-items: center; gap: 9px; min-height: 35px; padding: 7px 9px;
    border-radius: 6px; color: var(--ink); font: 400 12px/1.4 Poppins, "Segoe UI", sans-serif;
  }
  .select-control option > svg { color: var(--muted); }
  .select-control option:checked { background: #f4f6fc; }
  .select-control option:hover, .select-control option:focus-visible { background: #eceff6; }
  .select-control option:first-child.all-option {
    margin-bottom: 3px; border-radius: 6px 6px 0 0; border-bottom: 1px solid var(--soft-line);
  }
  .select-control option::checkmark {
    order: 1; margin-inline-start: auto; padding-left: 4px; color: var(--blue);
    content: "✓"; font: 500 13px/1 system-ui, sans-serif;
  }
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line);
  color: var(--ink); background: white; border-radius: 8px; padding: 8px 13px; font-weight: 500; min-height: 36px; text-align: center;
}
.button:hover { border-color: #c0cdf8; color: var(--blue-dark); }
.button.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.danger { background: var(--red); border-color: var(--red); color: #fff; }
.button.danger:hover { background: #8d2130; border-color: #8d2130; }
.text-button, .inline-link, .back-link, .panel-foot a {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; border: 0; background: none; color: var(--blue-dark);
}
.text-button:hover, .inline-link:hover, .back-link:hover, .panel-foot a:hover { text-decoration: underline; text-underline-offset: 2px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 16px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.panel-head .muted { font-size: 11px; }
.panel-foot { display: flex; justify-content: flex-end; padding: 10px 1px 0; }
.panel.flush { padding: 0; }
.kpis { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; padding: 15px 0; }
.kpi { display: flex; align-items: flex-start; gap: 10px; padding: 2px 14px; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi h2 { font-size: 12px; letter-spacing: 0; font-weight: 500; margin-bottom: 2px; }
.kpi strong { font-size: clamp(17px, 2vw, 25px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); display: block; margin-top: 2px; line-height: 1.35; }
.kpi-icon, .event-icon, .recommend-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: var(--blue); border-radius: 50%; background: var(--blue-muted); }
.kpi-icon.green { color: var(--green); background: #e9f6ee; }
.kpi-icon.red { color: var(--red); background: #fceef0; }
.dashboard-grid, .profile-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.bottom-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 2fr); }
.team-breakdown { margin-bottom: 16px; }
.team-breakdown-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.team-breakdown-chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 12px; }
.team-breakdown-chart:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.team-breakdown-point {
  display: grid; gap: 7px; position: relative; min-width: 0;
  min-height: 40px; padding: 0; border: 0; background: transparent; text-align: left; border-radius: 4px;
}
.team-breakdown-value { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; }
.team-breakdown-value small { color: var(--muted); margin-right: 3px; }
.team-breakdown-value strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.team-breakdown-track { height: 10px; overflow: hidden; border-radius: 99px; background: #f0f2f9; }
.team-breakdown-track > span {
  display: block; width: 100%; height: 100%; border-radius: inherit;
  background: linear-gradient(to right, var(--stack-first) 0 var(--team-breakdown-split), var(--stack-second) var(--team-breakdown-split) 100%);
}
.team-breakdown-labels { display: flex; flex-wrap: wrap; gap: 4px 15px; color: var(--muted); font-size: 11px; }
.team-breakdown-labels > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.team-breakdown-labels i { width: 8px; height: 8px; border-radius: 2px; background: var(--stack-first); }
.team-breakdown-labels > span + span i { background: var(--stack-second); }
.team-breakdown-labels strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.team-breakdown-track > .team-platform-fill { display: flex; overflow: hidden; background: none; }
.team-platform-fill > i { flex: var(--segment-count) 1 0; background: var(--segment-color); }
.team-segment-0 { --segment-color: #485777; }
.team-segment-1 { --segment-color: #a1adc8; }
.team-segment-2 { --segment-color: #bd563e; }
.team-segment-3 { --segment-color: #ec927b; }
.team-platform-breakdown { display: grid; }
.team-platform-row {
  display: grid; grid-template-columns: minmax(84px, 1fr) minmax(0, 2fr); align-items: baseline;
  gap: 6px 12px; padding: 5px 0;
}
.team-platform-row + .team-platform-row { border-top: 1px solid var(--soft-line); }
.team-platform-value { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-variant-numeric: tabular-nums; }
.team-platform-row .team-breakdown-labels { gap: 4px 12px; }
.team-platform-row .team-breakdown-labels i { background: var(--segment-color); }
.team-breakdown-point .chart-tip {
  inset: auto 0 calc(100% + 4px) auto;
}
.dashboard-analysis { display: flex; flex-direction: column; background: #eef2ff; border-color: #dce4fa; padding: 16px; font-size: 12px; }
.dashboard-analysis .panel-head { flex-wrap: wrap; margin-bottom: 9px; }
.dashboard-analysis .recommend-icon { width: 30px; height: 30px; background: var(--paper); }
.dashboard-analysis-count { font-size: 17px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 2px; }
.dashboard-analysis-detail { margin: 8px 0; padding-top: 7px; border-top: 1px solid #dce4fa; }
.dashboard-analysis-detail p + p { margin-top: 3px; }
.dashboard-analysis-opportunity { margin: 0 0 9px; }
.dashboard-analysis .button { margin-top: auto; width: 100%; }
.chart { --chart-height: 159px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px; padding: 12px 1px 24px; }
.chart-labels { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; height: calc(var(--chart-height) + 13px); margin-top: -7px; color: var(--muted); padding-right: 2px; font-size: 10px; }
.plot { position: relative; height: var(--chart-height); border-left: 1px solid var(--line); }
.gridlines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.gridlines i { border-top: 1px solid var(--line); }
.chart-panel, .team-breakdown { --stack-first: #5667e5; --stack-second: #a7b8f4; }
.chart-panel { --previous-stripes: repeating-linear-gradient(135deg, #fff9 0 1px, transparent 1px 4px); }
.bar-chart { grid-template-columns: minmax(0, 1fr) 40px; }
.bar-chart .chart-labels { grid-area: 1 / 2; align-items: flex-start; padding: 0 0 0 2px; }
.bar-chart .plot { grid-area: 1 / 1; border-left: 0; border-right: 1px solid var(--line); }
.bars { position: relative; display: grid; grid-template-columns: repeat(var(--bar-count, 7), minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); padding: 0 clamp(4px, 1.5vw, 10px); height: 100%; }
.bar-slot { display: flex; justify-content: flex-end; flex-direction: column; }
.bar {
  --bar-in-house: var(--stack-first); --bar-out-house: var(--stack-second);
  display: flex; align-items: flex-end; justify-content: center; gap: min(4px, 12%);
  width: min(100%, 88px); height: var(--height); min-height: 2px; padding: 0; margin-inline: auto;
  border: 0; border-radius: 5px 5px 3px 3px; background: transparent;
}
.bar-stack {
  --stack-gradient: linear-gradient(to top, var(--bar-in-house) 0 var(--split), var(--bar-out-house) var(--split) 100%);
  flex: 1; min-width: 0; height: var(--stack-height, 0%); border-radius: 5px 5px 3px 3px; background: var(--stack-gradient);
}
.bar-stack-previous { background-image: var(--previous-stripes), var(--stack-gradient); opacity: .68; }
.bar.selected, .bar:focus-visible:not([data-tip-dismissed]) { --bar-in-house: var(--blue); --bar-out-house: #8da5f1; }
.bars:has(.bar:focus-visible:not([data-tip-dismissed])) .bar:not(:focus-visible) {
  --bar-in-house: var(--stack-first); --bar-out-house: var(--stack-second);
}
.chart-tip {
  --tip-width: 244px;
  display: none; position: absolute; z-index: 2; top: 5px;
  left: clamp(0px, calc(var(--point) - var(--tip-width) / 2), max(0px, calc(100% - var(--tip-width))));
  width: min(100%, var(--tip-width)); padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); color: var(--ink); box-shadow: 0 3px 10px #24293c1a; font-size: 11px; line-height: 1.2; text-align: left;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.chart-tip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 6px; }
.chart-tip-row small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.chart-tip-row strong { white-space: nowrap; }
.chart-tip-row + .chart-tip-row { border-top: 1px solid var(--soft-line); margin-top: 6px; padding-top: 6px; }
.bar .chart-tip {
  top: 0;
}
.chart-tip-date { display: block; color: var(--muted); margin-bottom: 4px; font-size: 10px; }
.bar-tip-period { display: block; }
.bar-tip-period + .bar-tip-period { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 5px; }
.chart-tip-availability { display: block; margin-top: 3px; color: var(--muted); }
.chart-tip-growth { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); }
.chart-tip-growth > span { flex-shrink: 0; }
.chart-tip-growth strong { text-align: end; }
:is(.bar, .team-breakdown-point) .chart-tip-row + .chart-tip-row { border: 0; margin-top: 2px; padding-top: 0; }
:is(.bar, .team-breakdown-point) .chart-tip-row:last-child { border-top: 1px solid var(--soft-line); margin-top: 4px; padding-top: 4px; }
.chart-point:is(:focus-visible, [data-tip-pinned]):not([data-tip-dismissed]) .chart-tip { display: block; }
:is(.plot, .team-breakdown-chart):has(.chart-point:focus-visible:not([data-tip-dismissed])) .chart-point[data-tip-pinned]:not(:focus-visible, :hover) .chart-tip { display: none; }
.bar-date { position: relative; top: 7px; height: 0; white-space: nowrap; text-align: center; font-size: 10px; color: var(--muted); }
.table-wrap { position: relative; overflow-x: auto; border-radius: inherit; }
.portfolio-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.portfolio-analysis { margin-bottom: 16px; font-size: 12px; }
.portfolio-analysis .panel-head { flex-wrap: wrap; align-items: flex-start; }
.portfolio-analysis-heading { display: flex; align-items: center; gap: 9px; }
.portfolio-analysis-heading .muted { margin-top: 2px; }
.portfolio-analysis-source { padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; }
.portfolio-analysis-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 20px; }
.portfolio-analysis-grid h3 { margin-bottom: 7px; }
.portfolio-analysis-overview { min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--workspace); }
.portfolio-analysis-profit strong { font-size: 21px; letter-spacing: -.025em; }
.portfolio-analysis-overview-detail { margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--line); }
.portfolio-analysis-flags { display: flex; flex-wrap: wrap; gap: 4px 7px; list-style: none; margin: 5px 0 0; padding: 0; }
.portfolio-analysis-flags li { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--muted); }
.portfolio-analysis-priorities { min-width: 0; }
.portfolio-analysis-actions { list-style: none; margin: 0; padding: 0; }
.portfolio-analysis-actions li + li { border-top: 1px solid var(--soft-line); margin-top: 8px; padding-top: 8px; }
.portfolio-analysis-actions p + p { margin-top: 3px; }
.portfolio-analysis-more { border-top: 1px solid var(--soft-line); margin-top: 9px; }
.portfolio-analysis-more summary { padding-block: 8px; cursor: pointer; color: var(--blue-dark); }
.portfolio-analysis-creator { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; }
:is(.portfolio-analysis, .dashboard-analysis) .text-button { display: inline; white-space: normal; overflow-wrap: anywhere; text-align: start; }
.portfolio-kpis { margin-bottom: 16px; }
.portfolio-kpis .panel-head { flex-wrap: wrap; }
.portfolio-kpis .empty { padding-block: 16px; }
.portfolio-kpi-history { border-top: 1px solid var(--soft-line); margin-top: 14px; padding-top: 14px; }
.portfolio-kpi-history h3 { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.kpi-history-figure { margin: 16px 0 0; }
.kpi-history-chart {
  --kpi-history-bar-height: 134px; --kpi-history-rate-height: 82px; --kpi-history-gap: 10px;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px;
}
.kpi-history-axis { color: var(--muted); font-size: 10px; text-align: end; padding-top: 6px; }
.kpi-history-amount-axis { height: var(--kpi-history-bar-height); display: flex; flex-direction: column; justify-content: space-between; line-height: 0; }
.kpi-history-rate-axis { position: relative; height: var(--kpi-history-rate-height); margin-top: var(--kpi-history-gap); }
.kpi-history-rate-axis span { position: absolute; inset-inline-end: 0; bottom: 0; transform: translateY(50%); }
.kpi-history-rate-axis span:first-child { bottom: var(--kpi-history-goal); }
.kpi-history-scroll { min-width: 0; overflow-x: auto; padding-block: 6px 2px; }
.kpi-history-plot.plot {
  display: grid; grid-template-columns: repeat(var(--kpi-history-months), minmax(65px, 1fr));
  min-width: calc(var(--kpi-history-months) * 65px); height: auto; border: 0;
}
.kpi-history-grid, .kpi-history-rate-plot { position: absolute; inset-inline: 0; pointer-events: none; }
.kpi-history-grid { inset-block-start: 0; height: var(--kpi-history-bar-height); display: flex; flex-direction: column; justify-content: space-between; }
.kpi-history-grid i { border-top: 1px solid var(--line); }
.kpi-history-rate-plot { inset-block-start: calc(var(--kpi-history-bar-height) + var(--kpi-history-gap));
  height: var(--kpi-history-rate-height); background: #f4f9f6; border-radius: 6px; }
.kpi-history-rate-plot::before { content: ""; position: absolute; inset-inline: 0; bottom: var(--kpi-history-goal); border-top: 1px dashed #819b8b; }
.kpi-history-rate-plot svg { width: 100%; height: 100%; overflow: visible; }
.kpi-history-rate-plot path { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linejoin: round; }
.kpi-history-point {
  position: relative; display: grid; grid-template-rows: var(--kpi-history-bar-height) var(--kpi-history-rate-height) auto;
  gap: var(--kpi-history-gap); min-width: 0; background: transparent; border: 0; border-radius: 6px; padding: 0 3px;
  -webkit-tap-highlight-color: transparent;
}
.kpi-history-point:is(:hover, :focus-visible, [data-tip-pinned]) { background: #2047cc08; }
.kpi-history-point:focus-visible { outline-offset: -2px; }
.kpi-history-bars { width: min(100%, 78px); display: flex; gap: 4px; align-items: flex-end; justify-content: center; margin-inline: auto; }
.kpi-history-bars > i { width: min(40%, 32px); height: var(--kpi-bar-height); min-height: 2px; border-radius: 3px 3px 0 0; }
.kpi-history-target { background: repeating-linear-gradient(135deg, #eef2ff 0 4px, #aab9ec 4px 5px); border: 1px solid #aab9ec; }
.kpi-history-actual { background: var(--blue); }
.kpi-history-missing { align-self: center; font-size: 11px; color: var(--muted); }
.kpi-history-rate-cell { position: relative; }
.kpi-history-rate-mark { position: absolute; bottom: var(--kpi-rate-height); left: 50%; transform: translate(-50%, 50%);
  width: 8px; height: 8px; border: 1px solid white; border-radius: 50%; background: var(--green); }
.kpi-history-rate-mark span { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); color: var(--green);
  max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-variant-numeric: tabular-nums; }
.kpi-history-month { justify-self: center; padding: 2px 4px; white-space: nowrap; color: var(--muted); font-size: 10px; }
.kpi-history-point[aria-current="date"] .kpi-history-month { background: var(--blue-muted); color: var(--blue-dark); border-radius: 4px; }
.kpi-history-point .chart-tip { position: fixed; inset: auto 12px 12px auto; width: min(var(--tip-width), calc(100vw - 24px)); }
.kpi-history-point .chart-tip-row { grid-template-columns: auto minmax(0, 1fr); }
.kpi-history-point .chart-tip-row strong { white-space: normal; overflow-wrap: anywhere; text-align: end; }
.kpi-history-comparison .chart-tip-row + .chart-tip-row { border: 0; margin-top: 3px; padding-top: 0; }
.kpi-history-legend { margin-top: 10px; }
.kpi-history-legend i { width: 10px; height: 10px; border-radius: 2px; }
.kpi-history-legend .kpi-history-rate-key { width: 14px; height: 2px; background: var(--green); }
.feed-search .search-shell { width: min(100%, 280px); border: 1px solid var(--line); border-radius: 22px; }
.feed-search { display: grid; gap: 4px; justify-items: start; margin-bottom: 8px; }
.feed-search > span:first-child { font-size: 11px; color: var(--muted); }
.feed-search .search-shell:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.feed-search input:focus-visible { outline: none; }
.portfolio-creators .table-wrap { border-radius: 8px 8px 0 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 9px 12px; font-weight: 400; white-space: nowrap; }
th { color: #545c72; font-size: 11px; font-weight: 500; background: #f5f6f9; }
td { border-top: 1px solid var(--soft-line); font-variant-numeric: tabular-nums; }
td small { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
.bd-kpi-period { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.bd-kpi-period h2 { margin-bottom: 3px; }
.bd-kpi-period p { font-size: 11px; }
.bd-kpis > .panel + .panel { margin-top: 14px; }
:is(.bd-kpis, #directory-summary) .kpis { background: linear-gradient(105deg, var(--blue-muted), var(--paper) 58%); }
#bd-kpi-feedback { margin-bottom: 10px; color: var(--green); }
#bd-kpi-feedback:empty, .bd-kpi-form [role="alert"]:empty { display: none; }
.bd-kpi-table table { min-width: 1010px; }
.bd-kpi-table :is(th, td) { padding-inline: 9px; }
.bd-kpi-table thead th { white-space: normal; }
.bd-kpi-table .sort { text-align: start; }
.bd-kpi-table thead :is(th:first-child, th:nth-child(9)) { white-space: nowrap; }
.bd-kpi-table tr > :not(:first-child) { text-align: end; }
.bd-kpi-table tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; }
.bd-kpi-table tbody td:first-child { background: var(--paper); }
.bd-kpi-table tr > .row-actions { position: sticky; inset-inline-end: 0; z-index: 1; width: 1px; padding: 3px 6px; border-inline-start: 1px solid var(--soft-line); }
.bd-kpi-table tbody .row-actions { background: var(--paper); }
.bd-kpi-table tfoot :is(th, td) { background: var(--workspace); color: var(--ink); font-size: inherit; font-weight: 500; border-top: 1px solid var(--line); }
.bd-kpi-note { margin-top: 10px; font-size: 11px; }
.bd-kpi-attainment { display: inline-block; padding: 3px 7px; border-radius: 6px; background: var(--blue-muted); color: var(--blue-dark); }
.bd-kpi-attainment.is-met { background: #e9f6ee; color: var(--green); }
.bd-kpi-empty { text-align: center; padding-bottom: 12px; }
.mini-table td { padding-top: 5px; padding-bottom: 5px; }
.mini-table .table-wrap { border-radius: 6px; }
.identity { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; min-height: 25px; }
.identity:hover { color: var(--blue-dark); }
.avatar { width: 25px; height: 25px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; background: var(--blue-muted); color: var(--blue-dark); font-size: 10px; line-height: 1; }
.pic-identity { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; max-width: 100%; }
.pic-portfolio-link { display: inline-flex; align-items: center; min-height: 24px; vertical-align: middle; color: var(--blue-dark); border-radius: 4px; }
.pic-portfolio-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.pic-avatar { display: inline-grid; place-items: center; flex: 0 0 auto;
  width: var(--pic-avatar-size, 22px); height: var(--pic-avatar-size, 22px); border-radius: 50%;
  background: var(--blue-muted) var(--person-picture, none) center / cover no-repeat;
  color: var(--person-initials, var(--blue-dark)); font-size: 9px; font-weight: 500; line-height: 1; }
.pic-avatar::before { content: attr(data-initials); }
.identity small { font-size: 10px; }
.status-text { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #96a0b7; flex: 0 0 auto; }
.dot.green { background: #19884c; }
.dot.red { background: #d74953; }
.dot.amber { background: #c18118; }
.dot.blue { background: #5272e0; }
.event-list { list-style-type: none; padding: 0; margin: 0; }
.event-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 1px; border-top: 1px solid var(--soft-line); }
.event-list li:first-child { border-top: 0; }
.event-list a { font-weight: 500; }
.event-list a:hover { color: var(--blue-dark); text-decoration: underline; }
.event-copy { min-width: 0; }
.event-title { font-weight: 500; overflow-wrap: anywhere; }
.event-list p { color: var(--muted); margin-top: 2px; }
:is(.event-assignment-change, .event-assignment-actor) { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; }
.event-assignment-change + :is(.event-assignment-change, .event-assignment-actor) { margin-top: 2px; }
.event-list small { display: block; color: var(--muted); margin-top: 2px; }
.event-list .event-icon { height: 29px; width: 29px; }
.event-compact li { border: 0; gap: 8px; padding: 8px 0; }
.event-compact .event-icon { height: 16px; width: 16px; background: transparent; }
.event-compact .dot { width: 8px; height: 8px; background: white; border: 1.5px solid #6d84dd; }
.directory-view { background: white; min-height: calc(100vh - 66px); }
.directory-view .directory-toolbar { justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.directory-toolbar > .calendar-trigger { margin-inline-start: auto; }
.directory-table-actions, .creator-selection { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.directory-table-actions, .portfolio-creators > .creator-selection { margin-bottom: 8px; }
.creator-selection-count { color: var(--muted); font-size: 11px; margin-inline: 3px; }
.creator-selection [data-action="change-selected-assignments"] { -webkit-tap-highlight-color: transparent; }
.creator-selection .delete-selected { color: var(--red); border-color: #ecc5ca; background: #fff8f7; }
.creator-selection .delete-selected:hover { background: #fceeea; }
.creator-selection .text-button { font-size: 11px; }
.directory-view .page-heading { margin-bottom: 17px; }
.search-and-filter { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: white; min-width: min(100%, 590px); position: relative; }
.search-and-filter .search-shell { flex: 1; min-width: 111px; }
.search-and-filter.portfolio-search-controls { flex: 0 1 420px; min-width: 0; max-width: 100%; }
.filter-toggle { display: inline-flex; min-height: 30px; align-items: center; gap: 8px; padding: 3px 11px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11px; white-space: nowrap; }
.filter-toggle .filter-summary { max-width: min(28vw, 330px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portfolio-search-controls .filter-toggle { min-width: 0; -webkit-tap-highlight-color: transparent; }
.portfolio-search-controls .filter-toggle > svg { flex-shrink: 0; }
.filter-toggle:hover, .filter-toggle[aria-expanded="true"] { color: var(--blue); }
.filter-toggle[aria-expanded="true"] { outline: 2px solid var(--blue); outline-offset: 1px; border-radius: 0 18px 18px 0; }
.filter-panel {
  position: absolute; z-index: 3; inset-block-start: calc(100% + 7px); inset-inline-end: 0;
  width: min(312px, 100%); padding: 4px; border: 1px solid #dce1ea; border-radius: 12px;
  background: var(--paper); box-shadow: 0 4px 13px #232a4410, 0 1px 3px #232a4410;
}
.filter-heading { color: var(--muted); padding: 8px 9px 7px; border-bottom: 1px solid var(--soft-line); font-size: 11px; font-weight: 500; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 42px; padding: 4px 8px; border-radius: 6px; }
.filter-row:hover { background: #f6f7fa; }
.filter-row > span { color: var(--muted); font-size: 11px; }
.filter-row .select-control { min-height: 31px; font-size: 12px; }
.filter-row select { padding-block: 6px; }
.filter-footer { border-top: 1px solid var(--soft-line); padding: 5px 8px 4px; }
.filter-panel .text-button { min-height: 30px; padding: 2px 0; font-size: 11px; }
.directory-table { min-width: 690px; font-size: 12px; }
.directory-table td { padding: 5px 12px; height: 43px; }
.directory-table thead { background: #f6f6f7; }
.directory-table th { background: none; font-size: 11px; font-weight: 400; padding: 5px 12px; }
.directory-table .numeric { text-align: right; }
.directory-table tbody tr { cursor: pointer; }
.directory-table tbody tr:hover, .directory-table tbody tr:focus-within { background: #f7f9ff; }
:is(.directory-table, .portfolio-creators) tbody tr:has(.row-select input:checked) { background: #eef2ff; }
:is(.directory-table, .portfolio-creators) .row-select { width: 1px; padding: 3px 4px; }
.row-select label { display: grid; place-items: center; width: 31px; height: 31px; cursor: pointer; }
.portfolio-creators .row-select label { -webkit-tap-highlight-color: transparent; }
.row-select input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); cursor: pointer; }
:is(.directory-table, .portfolio-creators) .row-actions { width: 1px; text-align: end; }
.portfolio-creators .row-actions { padding-block: 3px; }
.creator-menu-trigger.icon-button { width: 30px; height: 30px; border-color: transparent; background: transparent; }
.portfolio-creators .creator-menu-trigger { -webkit-tap-highlight-color: transparent; }
.creator-menu-trigger:hover, .row-actions:has(.creator-row-menu:popover-open) .creator-menu-trigger { background: var(--blue-muted); color: var(--blue); }
.creator-row-menu {
  position: fixed; inset: auto; margin: 5px 0; position-area: block-end span-inline-start;
  justify-self: end; position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  min-width: 140px; padding: 4px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper); color: var(--ink); box-shadow: 0 5px 16px #232a4420;
}
.creator-row-menu button {
  display: flex; align-items: center; gap: 7px; width: 100%; min-height: 33px; padding: 5px 8px;
  border: 0; border-radius: 5px; background: transparent; text-align: left; font-size: 12px;
}
.creator-row-menu button svg { color: var(--muted); }
.creator-row-menu button:hover { background: var(--blue-muted); }
.creator-row-menu .creator-delete-action, .creator-row-menu .creator-delete-action svg { color: var(--red); }
.creator-row-menu .creator-delete-action:hover { background: #fceeea; }
.creator-row-menu button:focus-visible { outline-offset: -2px; }
.directory-table .delta { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
small.delta { color: var(--green); }
small.delta.negative { color: var(--red); }
.sort { min-height: 25px; padding: 0; background: none; color: inherit; border: none; display: inline-flex; align-items: center; gap: 4px; }
.sort svg { color: var(--muted); opacity: .72; }
.sort:hover, th[aria-sort] .sort { color: var(--blue); }
th[aria-sort] .sort { font-weight: 500; }
.sort:hover svg, th[aria-sort] .sort svg { color: inherit; opacity: 1; }
.data-column-controls { display: inline-flex; align-items: center; gap: 4px; }
.column-filter-trigger {
  display: inline-grid; place-items: center; width: 25px; height: 25px; padding: 0;
  border: 0; border-radius: 5px; background: transparent; color: var(--muted);
}
.column-filter-trigger:hover, .column-filter-trigger.is-filtered, .column-filter-trigger[aria-expanded="true"] { background: var(--blue-muted); color: var(--blue); }
.column-filter {
  position: fixed; inset: auto; margin: 6px 0; position-area: block-end span-inline-end;
  justify-self: start; position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline;
  width: min(270px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); overflow: auto;
  padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); box-shadow: 0 5px 16px #232a4420;
  white-space: normal; text-align: left; font-weight: 400;
}
.column-filter h3 { font-size: 13px; margin-bottom: 8px; }
.column-filter label { display: grid; min-width: 0; gap: 4px; font-size: 11px; }
.column-filter input {
  width: 100%; min-width: 0; min-height: 35px; padding: 5px 7px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--workspace); font-size: 12px;
}
.column-filter-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.column-filter p { margin-top: 6px; font-size: 10px; }
.column-filter-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.column-filter-actions .button { min-height: 31px; padding: 5px 9px; font-size: 11px; }
.pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 10px 12px; gap: 9px; border-top: 1px solid var(--line); background: #f7f7f8; border-radius: 0 0 var(--radius) var(--radius); color: var(--muted); font-size: 11px; }
.page-count, .page-buttons { display: flex; align-items: center; gap: 6px; }
.page-count > span:last-child { margin-left: 7px; }
.pagination .select-control { min-height: 27px; padding: 0 7px; }
.pagination .select-control select { padding-block: 4px; }
.page-buttons button { display: grid; place-items: center; min-width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 11px; }
.page-buttons button[aria-current] { color: white; background: var(--blue); border-color: var(--blue); }
.page-buttons button:not(:disabled):hover { border-color: var(--blue); }
.empty { display: grid; justify-items: center; gap: 8px; color: var(--muted); padding: 32px 14px; text-align: center; }
.empty svg { color: #677cad; }
.back-link { margin-bottom: 15px; font-size: 12px; }
.profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.profile-heading .heading-controls { flex-shrink: 0; }
.profile-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.profile-identity > div { min-width: 0; overflow-wrap: anywhere; }
.avatar.large { width: 54px; height: 54px; color: #873b57; background: #faeaf1; font-size: 17px; }
.profile-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 7px; font-size: 11px; }
.profile-tags > span { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; background: white; }
.profile-tags .pic-avatar { --pic-avatar-size: 18px; }
.signal-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--blue-muted); padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; color: var(--blue-dark); }
.signal-banner.warning { background: #fbecef; color: var(--red); }
.signal-banner span { color: var(--ink); font-size: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 3px 17px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { display: flex; align-items: center; padding: 9px 2px; min-height: 37px; border-bottom: 2px solid transparent; color: var(--muted); }
.tabs a[aria-current], .tabs a:hover { color: var(--blue-dark); border-bottom-color: var(--blue); }
.tabs a[aria-current] { font-weight: 500; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.video-card, .recommendation { border: 1px solid var(--line); border-radius: 8px; background: white; overflow: hidden; }
.poster { position: relative; display: block; background: #edf1fa; width: 100%; border: 0; padding: 0; }
.poster img, .video-detail img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.poster:focus-visible { outline-offset: -3px; }
.poster-icon, .duration { position: absolute; bottom: 7px; background: #191e2cdd; color: #fff; border-radius: 5px; padding: 4px 5px; }
.poster-icon { left: 7px; }
.duration { right: 7px; font-size: 10px; }
.video-copy { padding: 9px 10px; }
.video-copy > small, .recommendation small { display: block; color: var(--muted); margin-bottom: 5px; }
.video-metric { display: flex; justify-content: space-between; align-items: center; gap: 5px; border-top: 1px solid var(--soft-line); margin-top: 8px; padding-top: 7px; font-size: 11px; }
.format { display: inline-block; padding: 3px 6px; border-radius: 5px; color: var(--blue-dark); background: var(--blue-muted); font-size: 10px; white-space: nowrap; }
.recommendations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.recommendations.compact { grid-template-columns: minmax(0,1fr); }
.recommendation { display: flex; align-items: flex-start; gap: 9px; padding: 11px; }
.recommendation p { color: var(--muted); margin: 6px 0; font-size: 12px; }
.recommendation .text-button, .recommendation .button { display: flex; width: max-content; max-width: 100%; font-size: 11px; }
.recommendation .button { margin-top: 8px; }
.catalog-controls {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.catalog-search { width: min(100%, 250px); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.brand-list { padding: 0; margin-bottom: 16px; }
.brand-list-toolbar { padding: 13px 16px; }
.brand-list-toolbar h2 { margin-bottom: 10px; }
.brand-list-toolbar .catalog-controls { margin-bottom: 0; }
.brand-list-toolbar .text-button { color: var(--muted); font-size: 11px; min-height: 32px; margin-inline-start: auto; }
.brand-list-toolbar .text-button:hover { color: var(--blue-dark); }
.brand-list .table-wrap { border-radius: 0; }
.brand-list table { min-width: 655px; font-size: 12px; }
.brand-list th { background: #f1f3f6; border-block: 1px solid var(--soft-line); }
.brand-list th, .brand-list td { padding: 5px 12px; }
.brand-list th:first-child, .brand-list td:first-child { padding-left: 16px; }
.brand-list td { height: 41px; }
.pid-list :is(th, td):nth-child(n+4) { text-align: right; font-variant-numeric: tabular-nums; }
.pid-list tbody tr:hover, .pid-list tbody tr:focus-within { background: #eef2ff; }
.brand-list-table .numeric { text-align: right; }
.brand-list-table tbody tr { cursor: pointer; }
.brand-list-table tbody tr:hover, .brand-list-table tbody tr:focus-within { background: #eef2ff; }
.brand-name-link { display: inline-flex; align-items: center; gap: 8px; min-height: 25px; }
.brand-name-link:hover { color: var(--blue-dark); }
.brand-row-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--blue-dark); background: var(--blue-muted); }
.brand-row-arrow { color: var(--muted); width: 1px; }
.brand-list-footer { border-top: 1px solid var(--soft-line); padding: 8px 16px; text-align: right; color: var(--muted); font-size: 11px; }
.brand-detail-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.brand-detail-heading .brand-selector { margin-bottom: 0; }
.brand-detail-heading .inline-link { font-size: 11px; }
.brand-selector { margin-bottom: 14px; width: min(100%, 310px); }
.brand-selector .select-control { width: 100%; background: #eef2ff; border-color: #dce4fa; font-weight: 500; }
.brand-selector select { flex: 1; }
.brand-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.brand-trend .panel-head { flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.brand-trend .panel-head h2 { min-width: 0; overflow-wrap: anywhere; }
.brand-change {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 5px;
  background: #eaf7ee; font-size: 10px; white-space: nowrap;
}
.brand-change.negative { background: #fbecef; }
.brand-change .delta { display: inline-flex; align-items: center; gap: 2px; font-size: inherit; }
.brand-chart-caption { font-size: 11px; }
.brand-chart { --chart-height: 169px; padding: 14px 17px 24px 0; grid-template-columns: 35px minmax(0, 1fr); }
.brand-lines { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.brand-lines polyline { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.brand-lines circle { fill: currentColor; }
.trend-points { position: absolute; inset: 0; display: grid; }
.trend-point { min-width: 0; padding: 0; border: 0; background: transparent; }
.trend-point:focus-visible { outline-offset: -2px; }
.trend-point::before {
  display: none; content: ""; position: absolute; inset-block: 0; left: var(--point);
  border-left: 1px dashed #8999c1; pointer-events: none;
}
.trend-point:is(:focus-visible, [data-tip-pinned]):not([data-tip-dismissed])::before { display: block; }
@media (hover: hover) {
  .chart-point[data-tip-follows-pointer]:hover .chart-tip {
    position: fixed; inset: var(--pointer-tip-top) auto auto var(--pointer-tip-left); width: min(var(--tip-width), calc(100vw - 16px));
  }
  .bars:has(.bar:hover:not([data-tip-dismissed])) .bar:not(:hover) {
    --bar-in-house: var(--stack-first); --bar-out-house: var(--stack-second);
  }
  .bars:has(.bar:hover:not([data-tip-dismissed])) .bar:hover { --bar-in-house: var(--blue); --bar-out-house: #8da5f1; }
  .chart-point:hover:not([data-tip-dismissed]) .chart-tip,
  .trend-point:hover:not([data-tip-dismissed])::before { display: block; }
  :is(.plot, .team-breakdown-chart):has(.chart-point:hover:not([data-tip-dismissed])) .chart-point:not(:hover) .chart-tip,
  .plot:has(.trend-point:hover:not([data-tip-dismissed])) .trend-point:not(:hover)::before { display: none; }
}
.current-series { color: var(--blue); }
.previous-series { color: #78839e; }
.previous-series polyline { stroke-dasharray: 6 4; }
.brand-dates { position: absolute; top: calc(100% + 7px); width: 100%; color: var(--muted); font-size: 10px; }
.brand-dates span { position: absolute; left: var(--point); transform: translateX(-50%); white-space: nowrap; }
.chart-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 17px; color: var(--muted); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.bar-legend i { width: 9px; height: 9px; border-radius: 2px; background: var(--stack-first); }
.bar-legend span + span i { background: var(--stack-second); }
.bar-legend .bar-previous-legend i { background: var(--previous-stripes), var(--stack-first); opacity: .68; }
.brand-legend i { width: 17px; border-top: 2px solid var(--blue); }
.brand-legend span + span i { border-top: 2px dashed #78839e; }
.brand-summary-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; }
.brand-summary-heading .kpi-icon { width: 36px; height: 36px; border-radius: 9px; }
.brand-summary-heading p { margin-top: 2px; font-size: 11px; }
.brand-summary dl > div { display: flex; align-items: center; justify-content: space-between; gap: 7px; border-top: 1px solid var(--soft-line); padding: 10px 0; }
.brand-summary dt { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.brand-summary dt .kpi-icon { width: 27px; height: 27px; border-radius: 6px; }
.brand-summary dd { font-size: 19px; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.catalog-brand-filter { display: inline-flex; align-items: center; gap: 6px; }
.catalog-brand-filter:hover { background: #e0e8ff; }
.brand-products .panel-head .inline-link { font-size: 11px; }
.brand-highlights {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 14px; margin-top: 14px;
}
.brand-highlights table th:last-child, .brand-highlights table td:last-child { text-align: right; }
.brand-highlights table td:first-child { color: var(--muted); width: 1px; }
.brand-highlights table tbody tr:hover { background: #f7f9ff; }
.creator-highlights { margin-top: 14px; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.pid-selector { width: min(100%, 385px); margin-bottom: 0; }
.pid-selector select { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pid-products { margin-top: 14px; }
.attainment { display: flex; align-items: center; gap: 8px; }
progress { accent-color: var(--blue); width: 85px; height: 8px; }
dialog { color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(520px, 90vw); max-height: 90dvh; }
dialog::backdrop { background: #222a474b; }
dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dialog-body { padding: 14px 16px 18px; }
#detail-dialog:has(#bd-kpi-form) { width: min(620px, calc(100% - 26px)); }
.bd-kpi-form { display: grid; gap: 10px; }
.bd-kpi-form details { border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; }
.bd-kpi-form summary { padding-block: 10px; cursor: pointer; font-weight: 500; }
.bd-kpi-form details .intake-field-grid { padding-bottom: 12px; }
.bd-kpi-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.demo-accounts { display: grid; gap: 7px; }
.demo-accounts button { min-height: 44px; justify-content: space-between; }
.demo-accounts small { font-size: 11px; }
#detail-dialog:has(.profile-picture-picker) { width: min(480px, calc(100% - 24px)); }
.profile-picture-picker fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.profile-picture-upload { margin-bottom: 12px; padding: 10px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--workspace); }
.profile-picture-upload-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.profile-picture-upload-button, .profile-picture-upload-choice { min-height: 44px; }
.profile-picture-upload-button[aria-disabled="true"] { opacity: .55; cursor: wait; }
.profile-picture-upload-choice { display: flex; align-items: center; gap: 6px; padding: 4px 8px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; }
.profile-picture-upload-choice:has(:checked) { border-color: var(--blue); background: var(--blue-muted); }
.profile-picture-upload-choice input { margin: 0; accent-color: var(--blue); }
.profile-picture-upload-preview { width: 34px; flex-shrink: 0; }
.profile-picture-upload-preview:empty { display: none; }
#profile-picture-upload-hint { margin-top: 5px; font-size: 11px; }
.profile-picture-crop { margin-bottom: 12px; padding: 8px 10px 10px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--workspace); }
.profile-picture-crop-heading, .profile-picture-zoom-heading { display: flex; justify-content: space-between;
  align-items: center; gap: 8px; }
.profile-picture-crop-heading h3 { font-weight: 600; }
.profile-picture-reset-crop { min-height: 44px; padding-inline: 6px; }
.profile-picture-crop-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(188px, 1fr);
  align-items: center; gap: 12px; }
.profile-picture-crop-preview { display: block; width: min(100%, 196px); height: auto; aspect-ratio: 1;
  justify-self: center; border-radius: 50%; outline: 1px solid var(--line); background: var(--paper);
  touch-action: none; cursor: grab; }
.profile-picture-crop-preview:active { cursor: grabbing; }
.profile-picture-crop-controls { min-width: 0; }
#profile-picture-crop-hint { margin-bottom: 8px; font-size: 11px; }
.profile-picture-zoom-heading label { font-weight: 500; }
.profile-picture-zoom-value { font-variant-numeric: tabular-nums; color: var(--muted); }
#profile-picture-zoom { display: block; width: 100%; min-height: 32px; margin: 0; accent-color: var(--blue); }
.profile-picture-move { display: flex; justify-content: space-between; gap: 4px; }
.profile-picture-move .icon-button { flex: 0 0 44px; width: 44px; height: 44px; }
@media (max-width: 440px) {
  .profile-picture-crop-layout { grid-template-columns: minmax(0, 1fr); }
  .profile-picture-crop-preview { width: min(100%, 160px); }
  .profile-picture-move { justify-content: center; gap: 8px; }
}
.profile-picture-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.profile-picture-choice { position: relative; display: grid; place-items: center; min-height: 44px; padding: 4px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.profile-picture-choice:hover { border-color: #a6b6eb; }
.profile-picture-choice:has(:checked) { border-color: var(--blue); background: var(--blue-muted); }
.profile-picture-choice:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.profile-picture-check { display: none; position: absolute; right: 0; bottom: 0; place-items: center; width: 18px; height: 18px;
  color: #fff; background: var(--blue); border: 1px solid var(--paper); border-radius: 50%; }
.profile-picture-choice:has(:checked) .profile-picture-check { display: grid; }
.profile-picture-initials { display: flex; align-items: center; gap: 6px; width: fit-content; min-height: 44px; margin-top: 8px; cursor: pointer; }
.profile-picture-initials input { accent-color: var(--blue); }
.profile-picture-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.profile-picture-picker:has(.profile-picture-crop:not([hidden])) .profile-picture-actions {
  position: sticky; z-index: 1; bottom: 0; padding: 6px 0; background: var(--paper);
}
.profile-picture-actions .button { min-height: 44px; touch-action: manipulation; }
.profile-picture-picker [role="alert"]:not(:empty) { margin-top: 6px; }
.creator-input-dialog {
  width: min(520px, calc(100% - 28px)); max-height: calc(100dvh - 28px);
  border-radius: 23px; box-shadow: 0 18px 60px #222a4729;
}
.creator-input-dialog::backdrop { background: #222a4744; }
.creator-input-form { padding: clamp(16px, 4vw, 27px); }
.intake-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.intake-top .icon-button, .creator-toast .icon-button { width: 29px; height: 29px; background: transparent; border-color: transparent; }
.intake-top .icon-button { margin-inline-start: auto; }
.intake-progress { display: block; appearance: none; width: 100%; height: 4px; margin-bottom: 15px; border: 0; background: var(--soft-line); border-radius: 99px; }
.intake-progress::-webkit-progress-bar { background: var(--soft-line); border-radius: 99px; }
.intake-progress::-webkit-progress-value { background: #6383eb; border-radius: 99px; }
.intake-progress::-moz-progress-bar { background: #6383eb; border-radius: 99px; }
.creator-input-form header h2 { font-size: 21px; }
.creator-input-form header h2:focus { outline: none; }
.creator-input-form header p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.intake-notice:not(:empty) { margin-top: 14px; }
.intake-fields { display: grid; gap: 13px; margin-top: 16px; }
.intake-field, .intake-field-grid { display: grid; gap: 6px; min-width: 0; }
.intake-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.intake-field > span:first-child, .intake-platforms legend { font-size: 12px; font-weight: 500; }
.intake-field input, .intake-field .select-control { width: 100%; min-height: 42px; border-radius: 9px; font-size: 12px; }
.intake-field input { padding: 8px 11px; background: var(--paper); border: 1px solid var(--line); }
.intake-field input::placeholder { color: var(--muted); opacity: 1; }
.intake-field .select-control { background: var(--workspace); }
.intake-field select { flex: 1; align-self: stretch; }
.intake-platforms { margin: 0; padding: 0; min-width: 0; border: 0; }
.intake-platforms legend { margin-bottom: 6px; }
.intake-platforms > div { display: flex; flex-wrap: wrap; gap: 8px; }
.intake-platforms label { position: relative; cursor: pointer; }
.intake-platforms input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.intake-platforms label > span { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; }
.intake-platforms label > span > svg { visibility: hidden; }
.intake-platforms input:checked + span { background: var(--blue-muted); color: var(--blue-dark); border-color: #c4d1f8; }
.intake-platforms input:checked + span > svg { visibility: visible; }
.intake-platforms input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.intake-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.intake-footer .button { min-height: 38px; min-width: 82px; justify-content: center; }
.intake-footer .intake-secondary { background: #f1f3f8; }
.intake-record { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.intake-record-person { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.intake-new-record .intake-record-person { margin-bottom: 0; }
.intake-creator-list { margin: 0; padding: 4px 12px; list-style: none; max-height: min(32dvh, 216px); overflow-y: auto; overscroll-behavior: contain; }
.intake-creator-list .intake-record-person { margin: 0; padding: 7px 0; }
.intake-creator-list li + li { border-top: 1px solid var(--soft-line); }
.intake-record-person p, .intake-record dt { color: var(--muted); font-size: 11px; }
.intake-record-person > div, .creator-toast-copy { min-width: 0; overflow-wrap: anywhere; }
.intake-record dl { display: grid; grid-template-columns: 1.25fr repeat(2, 1fr); gap: 6px; padding-top: 9px; border-top: 1px solid var(--soft-line); font-size: 12px; }
.intake-record dt { margin-bottom: 2px; }
.creator-toast-root { position: fixed; z-index: 6; right: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); }
.creator-toast {
  --toast-bg: #ebefff; --toast-accent: #3156c9;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center;
  padding: 10px; border-radius: 12px; background: var(--toast-bg);
}
.creator-toast.neutral { --toast-bg: #f0f1f3; --toast-accent: #565e6b; }
.creator-toast.warning { --toast-bg: #fff2e3; --toast-accent: #a6510c; }
.creator-toast.success { --toast-bg: #e2f5ed; --toast-accent: #087653; }
.creator-toast.error { --toast-bg: #fceeea; --toast-accent: #be3e2d; }
.creator-toast-root .creator-toast { box-shadow: 0 6px 20px #24293c1a; }
.creator-toast-icon { display: grid; place-items: center; width: 39px; height: 39px; color: var(--toast-accent); border-radius: 9px; background: #ffffffb8; }
.creator-toast-copy strong { display: block; font-weight: 600; line-height: 1.4; }
.creator-toast-copy p { margin-top: 2px; color: #4f5565; font-size: 12px; line-height: 1.45; }
.creator-toast-copy .text-button { min-height: 23px; margin-top: 2px; padding: 0; color: var(--toast-accent); font-size: 11px; }
.creator-toast .icon-button { width: 32px; height: 32px; color: #626675; }
.creator-toast .icon-button:hover { background: color-mix(in srgb, var(--toast-accent) 13%, transparent); color: var(--ink); }
@media (max-width: 540px) {
  .creator-input-form .intake-field-grid { grid-template-columns: minmax(0, 1fr); }
}
.notification-panel {
  --panel-width: min(550px, calc(100% - 24px));
  display: none;
  position: fixed;
  inset: auto;
  top: var(--notification-top);
  right: clamp(12px, var(--bell-right), calc(100% - var(--panel-width) - 12px));
  width: var(--panel-width);
  max-height: calc(100dvh - var(--notification-top) - 12px);
  margin: 0;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px #232a441a, 0 2px 6px #232a4410;
}
.notification-panel:popover-open { display: block; }
.notification-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 16px 7px 19px; }
.notification-panel h2 { font-size: 18px; }
.notification-header-actions { display: flex; align-items: center; gap: 8px; }
.notification-body { padding: 3px 19px 16px; }
.notification-mark-all { gap: 5px; font-size: 12px; font-weight: 500; min-height: 32px; white-space: nowrap; }
:is(.notification-filters, .portfolio-filters) {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px;
  border: 1px solid var(--soft-line); border-radius: 8px; background: #f5f6f9;
}
:is(.notification-filters, .portfolio-filters) button {
  display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 33px;
  color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 6px; font-size: 12px;
}
.portfolio-filters button { min-height: 36px; padding-inline: 10px; }
:is(.notification-filters, .portfolio-filters) button[aria-pressed="true"] {
  color: var(--blue-dark); background: var(--paper); border-color: var(--line); font-weight: 500;
}
:is(.notification-filters, .portfolio-filters) button:hover { color: var(--blue-dark); }
.notification-filters button span {
  min-width: 19px; border-radius: 4px; padding: 1px 4px; font-size: 10px; background: #eaedf4;
  font-variant-numeric: tabular-nums;
}
.notification-filters button[aria-pressed="true"] span { background: var(--blue-muted); }
.notification-list { list-style: none; margin: 11px 0 0; padding: 0; }
.notification-list li + li { border-top: 1px solid var(--soft-line); }
.notification-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 7px; align-items: start; gap: 10px;
  border-radius: 8px; padding: 11px 8px; min-height: 64px;
}
.notification-row:hover, .notification-row:focus-visible { background: #f7f8fc; }
.notification-avatar { position: relative; }
.notification-avatar .avatar { width: 36px; height: 36px; font-size: 11px; background: #e8eeff; }
.notification-glyph {
  position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center;
  background: var(--blue); color: white; border: 2px solid white; border-radius: 50%; width: 17px; height: 17px;
}
.notification-copy { display: grid; gap: 3px; }
.notification-title { color: var(--ink); font-size: 13px; font-weight: 500; }
.notification-meta { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 10px; color: var(--muted); font-size: 11px; }
.notification-preview { margin-top: 4px; padding: 6px 8px; border-radius: 6px; background: #f5f6f9; color: #3c485e; font-size: 11px; }
.notification-unread { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--blue); }
.dialog-body dt { font-weight: 500; margin-top: 7px; }
.dialog-body dd { color: var(--muted); margin: 2px 0 8px; }
.video-detail img { border-radius: 7px; margin-bottom: 6px; }
.navigation-dialog { display: none; margin: 0 auto 0 0; max-width: 245px; width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; padding: 0; }
.navigation-dialog[open] { display: flex; }
@media (max-width: 1110px) {
  .shell { grid-template-columns: 191px minmax(0, 1fr); }
  main, .topbar { padding-left: 18px; padding-right: 18px; }
  .page-heading { align-items: flex-start; }
  .kpi { padding-inline: 11px; gap: 7px; }
  .kpi-icon { width: 28px; height: 28px; }
}
@media (max-width: 780px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .mobile-menu { display: inline-grid; }
  .profile-picture-edit, .profile-return { min-height: 44px; }
  .directory-table .pic-portfolio-link { min-height: 32px; }
  :is(.bd-kpi-table, .portfolio-creators) .creator-menu-trigger.icon-button { width: 44px; height: 44px; }
  .portfolio-creators .creator-row-menu button { min-height: 44px; }
  .portfolio-creators .row-select label { width: 44px; height: 44px; }
  .data-column-controls { gap: 8px; }
  .column-filter-trigger { width: 44px; height: 44px; }
  .top-search { width: min(48vw, 310px); }
  .topbar { min-height: 59px; padding: 8px 13px; }
  main { padding: 17px 13px 24px; }
  .directory-view { min-height: calc(100vh - 59px); }
  .breadcrumb span:first-child, .breadcrumb span:nth-child(2) { display: none; }
  .breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .top-start, .top-end { gap: 7px; }
  .dashboard-grid, .bottom-grid, .profile-grid, .brand-overview, .brand-highlights, .creator-highlights { grid-template-columns: minmax(0,1fr); }
  .portfolio-analysis-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .dashboard-analysis { grid-row: 1; }
  .search-and-filter { flex: 1; min-width: min(100%, 360px); }
  .directory-table :is(.row-select, .row-actions) { position: sticky; background: var(--paper); }
  :is(.directory-table, .portfolio-creators) .row-select {
    position: sticky; inset-inline-start: 0; border-inline-end: 1px solid var(--soft-line);
  }
  :is(.directory-table, .portfolio-creators) .row-actions {
    position: sticky;
    inset-inline-end: 0; padding-inline: 6px;
    border-inline-start: 1px solid var(--soft-line);
  }
  .portfolio-creators td:is(.row-select, .row-actions) { background: var(--paper); }
  .directory-table th:is(.row-select, .row-actions) { background: #f6f6f7; }
  :is(.directory-table, .portfolio-creators) tbody tr:has(.row-select input:checked) :is(.row-select, .row-actions) { background: #eef2ff; }
  .filter-toggle .filter-summary { max-width: 34vw; }
  .page-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
  .bottom-grid .mini-table { grid-row: 1; }
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 0; }
  .kpi { padding: 9px; }
  .kpi + .kpi { border-left: 0; }
  .kpi:nth-child(2n) { border-left: 1px solid var(--line); }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 410px) {
  h1 { font-size: 22px; }
  .brand { font-size: 18px; }
  .topbar .demo-indicator { display: none; }
  .recommendations { grid-template-columns: minmax(0, 1fr); }
  .chart { grid-template-columns: 32px minmax(0, 1fr); }
  .team-breakdown-chart { grid-template-columns: minmax(0, 1fr); }
  .bar-chart { grid-template-columns: minmax(0, 1fr) 32px; }
  .bar-date { font-size: 8px; }
  .brand-dates { font-size: 8px; }
  .profile-heading { flex-wrap: wrap; }
  .video-grid { gap: 7px; }
  .video-copy { padding: 7px; }
  .video-copy h3 { font-size: 11px; }
  .status-text { font-size: 10px; }
  .notification-panel > header { padding: 10px 9px 5px 12px; }
  .notification-body { padding: 3px 12px 12px; }
  .notification-panel h2 { font-size: 15px; }
  .notification-header-actions { gap: 3px; }
  .notification-mark-all { font-size: 10px; }
}

