.chart-mobile-hint { display: none; }
@media (max-width: 760px) {
  .chart-mobile-hint { display: block; font-size: 12px; margin: 12px 0 0; }
}
@font-face {
  font-family: Manrope;
  src: url('/control-assets/assets/Manrope-Variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family:
    Manrope,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #203642;
  background: #f5f8fa;
  font-synthesis: none;
  --blue: #087daf;
  --teal: #158278;
  --ink: #203642;
  --muted: #647782;
  --border: #e3eaee;
  --white: #fff;
  --soft-blue: #edf6fb;
  --soft-teal: #edf7f4;
  --amber: #94661d;
  --red: #ae4747;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #087daf;
  outline-offset: 4px;
}
button::-moz-focus-inner {
  border: 0;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
img {
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
input,
select {
  min-width: 0;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 20;
  padding: 12px 20px;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
}
.skip-link:focus {
  top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 8px #087daf16;
}
.primary:hover {
  background: #066b97;
}
.secondary {
  background: #fff;
  border-color: #dce5ea;
  color: #3c5563;
}
.secondary:hover {
  background: #f3f8fa;
  border-color: #b9ced9;
}
.text-button {
  background: transparent;
  color: #5a7180;
  padding-inline: 8px;
}
.text-button:hover {
  color: var(--blue);
  background: #edf5fa;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #6e8490;
  line-height: 1.6;
  margin-bottom: 9px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.status-dot.warning {
  background: #c49642;
}
.status-dot.error {
  background: #b75656;
}
.status-dot.neutral {
  background: #92a3ae;
}
.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.loading-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 1.1s infinite;
}
.boot p {
  margin: 0;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: 222px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 34px 20px 26px;
  z-index: 3;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-decoration: none;
  padding: 0 10px;
  margin-bottom: 50px;
}
.brand img {
  width: 165px;
}
.brand .brand-symbol {
  display: none;
}
.brand > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #8597a1;
}
.sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #8b9ba5;
  padding: 0 13px;
  margin-bottom: 13px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #6a7c87;
  text-decoration: none;
}
.nav-item:hover {
  background: #f6f9fb;
}
.nav-item.active {
  background: #eaf4fa;
  color: #087daf;
}
.nav-item svg {
  height: 17px;
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  min-width: 21px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #f1f5f7;
  color: #687e8b;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 28px 10px 0;
}
.sidebar-bottom p {
  font-size: 11px;
  font-weight: 600;
  color: #80939d;
  margin: 28px 0 8px;
}
.read-only-mark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #7c8f9b;
}
.read-only-mark svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.powered-by {
  font-size: 11px;
  color: #a2afb7;
}
.workspace-main {
  margin-left: 222px;
  width: calc(100% - 222px);
  min-width: 0;
}
.topbar {
  height: 76px;
  background: #ffffffb8;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 38px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #8a9ca6;
  margin: 0;
}
.breadcrumb strong {
  color: #536b7b;
  font-weight: 600;
}
.breadcrumb > span {
  color: #c4d0d7;
}
.topbar-account {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-avatar {
  width: 31px;
  height: 31px;
  border: 1px solid #dce9ee;
  border-radius: 50%;
  background: #f1f7fa;
  display: grid;
  place-items: center;
  color: #2980a1;
  font-size: 11px;
  font-weight: 800;
}
.topbar-account > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.topbar-account strong {
  font-size: 11px;
}
.topbar-account > div > span {
  font-size: 11px;
  color: #8b9ba5;
}
.topbar-account .button {
  font-size: 11px;
  min-height: 34px;
  margin-left: 9px;
}
.demo-banner {
  background: #fff6dd;
  border-bottom: 1px solid #f2e3bc;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 38px;
  font-size: 11px;
  color: #7b612d;
}
.demo-badge {
  border: 1px solid #dfc47c;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
}
.demo-banner > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.demo-banner strong {
  font-weight: 800;
}
.demo-banner span:last-child {
  color: #8c784b;
}
.main-content {
  max-width: 1660px;
  padding: 35px 38px 23px;
  margin: 0 auto;
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 27px;
}
.page-heading .eyebrow {
  font-size: 11px;
  letter-spacing: 1.55px;
  margin-bottom: 7px;
}
.page-heading h1 {
  font-size: 34px;
  letter-spacing: -1.4px;
  line-height: 1.25;
  margin: 0 0 9px;
  font-weight: 800;
}
.heading-dot {
  color: var(--teal);
}
.page-heading > div > p:last-child {
  font-size: 11px;
  color: #7c8e99;
  margin: 0;
  line-height: 1.7;
}
.update-block {
  display: flex;
  align-items: center;
  gap: 15px;
}
.update-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #80919d;
  white-space: nowrap;
}
.update-block .button {
  min-height: 36px;
  font-size: 11px;
  padding: 8px 11px;
}
.filters {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 17px 19px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 3px #213c4d02;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #7c8c98;
  font-weight: 600;
}
.filters select,
.filters input {
  height: 37px;
  border: 1px solid #e1e8ed;
  border-radius: 7px;
  background: #fff;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;
  color: #465e6e;
  min-width: 150px;
}
.filters select {
  padding-right: 28px;
}
.filters > .button {
  height: 37px;
  min-height: 37px;
  font-size: 11px;
  margin-left: auto;
  padding-inline: 16px;
}
.filters > .text-button {
  margin-left: 0;
  padding-inline: 5px;
}
.custom-dates {
  display: flex;
  gap: 12px;
}
.custom-dates input {
  min-width: 133px;
  width: 133px;
}
.filter-summary {
  font-size: 11px;
  color: #8d9da7;
  min-height: 15px;
  margin: 10px 2px 26px;
}
.page-error {
  border: 1px solid #e8c9b6;
  background: #fff7f0;
  border-radius: 11px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23px;
  color: #8b5839;
}
.page-error strong {
  font-size: 12px;
}
.page-error p {
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0 0;
}
.page-error .button {
  font-size: 11px;
}
.section {
  margin-bottom: 26px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.section-heading h2,
.panel-heading h2 {
  font-size: 14px;
  letter-spacing: -0.25px;
  margin: 0;
  font-weight: 800;
}
.section-note {
  font-size: 11px;
  color: #8799a5;
  text-align: right;
  line-height: 1.7;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.kpi {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  padding: 19px 20px 17px;
  min-width: 0;
  box-shadow: 0 3px 8px #283c4b02;
}
.kpi.featured {
  border-top: 2px solid #228cae;
  padding-top: 18px;
}
.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}
.kpi-label {
  font-size: 11px;
  color: #718593;
  font-weight: 600;
  line-height: 1.5;
}
.kpi-icon {
  height: 26px;
  width: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #eff7fb;
  color: #3787a7;
  font-size: 12px;
  font-weight: 700;
}
.kpi-icon.teal {
  background: #edf7f4;
  color: var(--teal);
}
.kpi-icon.amber {
  background: #fff6e9;
  color: #b58b41;
}
.kpi-icon.gray {
  background: #f1f4f7;
  color: #7b8e9b;
}
.kpi-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.1px;
  line-height: 1.2;
  color: #263e4c;
  margin-bottom: 11px;
}
.kpi-value small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #9aaab3;
}
.kpi-foot {
  font-size: 11px;
  color: #8b9ba6;
  line-height: 1.7;
  margin: 0;
}
.kpi-foot.partial {
  color: #a37d37;
}
.period-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  padding: 18px 0;
}
.period-kpi {
  padding: 1px 22px;
  border-right: 1px solid #edf1f4;
  min-width: 0;
}
.period-kpi:last-child {
  border: 0;
}
.period-kpi .kpi-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}
.period-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.period-kpi .kpi-foot {
  margin-top: 7px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 23px 25px;
  box-shadow: 0 3px 8px #283c4b02;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 17px;
}
.panel-heading .eyebrow {
  font-size: 11px;
  letter-spacing: 1.3px;
  margin-bottom: 5px;
}
.panel-heading h2 {
  font-size: 15px;
}
.panel-heading .muted {
  font-size: 11px;
  margin: 8px 0 0;
  line-height: 1.7;
}
.chart-panel {
  margin: 0 0 29px;
}
.chart-legend {
  display: flex;
  gap: 17px;
  font-size: 11px;
  color: #758995;
  margin-top: 15px;
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-mark {
  width: 13px;
  height: 3px;
  border-radius: 2px;
}
.legend-mark.received {
  background: var(--blue);
}
.legend-mark.sent {
  background: var(--teal);
}
.chart-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.monthly-svg {
  width: 100%;
  min-width: 700px;
  height: auto;
  min-height: 190px;
  max-height: 270px;
  overflow: visible;
}
.chart-grid {
  stroke: #e9eff3;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.chart-axis {
  fill: #94a4ae;
  font-size: 11px;
  font-family: Manrope, sans-serif;
}
.chart-date {
  fill: #8499a6;
  font-size: 11px;
  font-family: Manrope, sans-serif;
}
.chart-date.future {
  fill: #bcc7ce;
}
.chart-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-line.received {
  stroke: var(--blue);
}
.chart-line.sent {
  stroke: var(--teal);
}
.chart-point {
  stroke: #fff;
  stroke-width: 1.5;
  fill: var(--blue);
}
.chart-point.sent {
  fill: var(--teal);
}
.chart-point:hover,
.chart-point:focus-visible {
  r: 5;
  stroke-width: 2;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: #95a4ae;
  padding-top: 5px;
}
.chart-data {
  border-top: 1px solid #edf1f4;
  padding-top: 12px;
  margin-top: 15px;
  font-size: 11px;
  color: #7f94a1;
}
.chart-data summary {
  cursor: pointer;
  font-weight: 600;
  width: fit-content;
}
.chart-table-wrap {
  overflow-x: auto;
  max-height: 370px;
  margin-top: 12px;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
.data-table th {
  color: #698190;
  font-weight: 700;
  background: #f8fafb;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f4;
  white-space: nowrap;
}
.data-table td {
  color: #687f8d;
}
.chart-empty {
  padding: 12px 20px;
  border: 1px dashed #e0e8ec;
  border-radius: 9px;
  text-align: center;
  color: #8095a2;
  font-size: 11px;
  margin-bottom: 14px;
}
.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 23px;
  align-items: start;
}
.companies-section {
  min-width: 0;
}
.companies-section > .section-heading {
  align-items: flex-start;
  flex-wrap: wrap;
}
.companies-section .muted {
  font-size: 11px;
  margin: 6px 0 0;
}
.company-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-label {
  display: flex;
  align-items: center;
  border: 1px solid #dde6ec;
  border-radius: 7px;
  background: #fff;
  padding: 7px 9px;
  gap: 7px;
}
.search-label svg {
  width: 13px;
  height: 13px;
  stroke: #91a3ae;
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
}
.search-label input {
  border: 0;
  outline: none;
  width: 105px;
  font-size: 11px;
  background: transparent;
  color: #476474;
  min-height: 18px;
}
.search-label:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.company-tools > select {
  border: 1px solid #dde6ec;
  background: #fff;
  border-radius: 7px;
  min-height: 34px;
  padding: 6px;
  font-size: 11px;
  color: #718693;
  width: 120px;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.company-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 19px;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.company-card:hover {
  border-color: #bcd1dd;
  box-shadow: 0 4px 15px #28475205;
}
.company-card.selected {
  border-color: #57a4c1;
  box-shadow: 0 0 0 1px #57a4c130;
}
.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.company-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.company-initials {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 9px;
  background: #edf6fb;
  color: #2781a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.company-card:nth-child(2n) .company-initials {
  color: var(--teal);
  background: #edf7f4;
}
.company-identity h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.company-identity p {
  font-size: 11px;
  color: #94a4ae;
  margin: 0;
  overflow-wrap: anywhere;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: #edf7f1;
  color: #2c8a65;
}
.status-badge .status-dot {
  width: 4px;
  height: 4px;
}
.status-badge.stale {
  background: #fff6e5;
  color: #a37d37;
}
.status-badge.stale .status-dot {
  background: #c29a51;
}
.status-badge.no_data,
.status-badge.disabled {
  background: #f1f4f6;
  color: #8698a4;
}
.status-badge.no_data .status-dot,
.status-badge.disabled .status-dot {
  background: #9fadb7;
}
.company-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid #edf2f5;
  border-bottom: 1px solid #edf2f5;
  margin-bottom: 13px;
}
.company-metric span {
  font-size: 11px;
  color: #91a1ac;
  display: block;
  line-height: 1.5;
  margin-bottom: 7px;
}
.company-metric strong {
  font-size: 19px;
  font-weight: 800;
  color: #3b5362;
  letter-spacing: -0.5px;
}
.company-card.stale .company-metric strong {
  color: #8a8c83;
}
.company-submetrics {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #8599a5;
  line-height: 1.6;
  margin-bottom: 12px;
}
.company-submetrics strong {
  font-weight: 700;
  color: #5c7888;
}
.channel-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  min-height: 20px;
}
.channel-chip {
  border: 1px solid #e6edf1;
  background: #f9fbfc;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 11px;
  color: #889ca8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.channel-chip .status-dot {
  width: 4px;
  height: 4px;
}
.company-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #edf2f5;
  padding-top: 12px;
}
.company-footer time {
  font-size: 11px;
  color: #99a8b2;
  line-height: 1.6;
}
.company-footer .button {
  min-height: 28px;
  padding: 5px 0 5px 6px;
  font-size: 11px;
  color: #2783a7;
}
.coverage-note {
  font-size: 11px;
  color: #a18b61;
  line-height: 1.7;
  margin: 6px 0 11px;
}
.alerts-section {
  padding: 20px;
  min-width: 0;
}
.alerts-section .panel-heading {
  margin-bottom: 16px;
}
.alerts-section .panel-heading h2 {
  font-size: 12px;
}
.count-badge {
  display: grid;
  place-items: center;
  background: #f4f7f9;
  color: #91a1ac;
  font-size: 11px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 7px;
}
.alert-item {
  padding: 14px 0;
  border-top: 1px solid #edf1f4;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 10px;
}
.alert-symbol {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #fff5e5;
  color: #b18a46;
  font-size: 11px;
  font-weight: 800;
}
.alert-symbol.critical {
  background: #fdf0ed;
  color: #ba6251;
}
.alert-symbol.info {
  background: #eff6fa;
  color: #6595ad;
}
.alert-body {
  min-width: 0;
}
.alert-company {
  display: block;
  font-size: 11px;
  color: #9baab3;
  font-weight: 600;
  margin-bottom: 5px;
}
.alert-body h3 {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 0 5px;
  color: #536b7b;
  overflow-wrap: anywhere;
}
.alert-body p {
  font-size: 11px;
  line-height: 1.8;
  color: #99a8b2;
  margin: 0;
  overflow-wrap: anywhere;
}
.alert-body .button {
  font-size: 11px;
  min-height: 25px;
  padding: 5px 0;
}
.empty-state {
  padding: 28px 15px;
  border: 1px dashed #dce6ec;
  border-radius: 11px;
  text-align: center;
  color: #91a2ae;
  font-size: 11px;
  line-height: 1.8;
  grid-column: 1/-1;
}
.empty-state strong {
  display: block;
  color: #567282;
  font-size: 12px;
  margin-bottom: 6px;
}
.alerts-empty {
  padding: 25px 5px;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: #8b9fa9;
}
.alerts-empty .all-clear {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #edf7f1;
  color: #348567;
  margin: 0 auto 12px;
  font-size: 16px;
}
.alerts-empty strong {
  display: block;
  color: #587688;
  font-size: 11px;
}
.company-detail {
  margin-top: 0;
  margin-bottom: 26px;
  scroll-margin-top: 22px;
}
.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 24px;
}
.detail-heading h2 {
  font-size: 24px;
  margin: 0 0 7px;
  letter-spacing: -0.6px;
}
.detail-heading p {
  font-size: 11px;
  color: #94a4ae;
  margin: 0;
  line-height: 1.8;
}
.detail-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid #edf1f4;
  border-bottom: 1px solid #edf1f4;
  margin-bottom: 22px;
}
.detail-kpi {
  min-width: 0;
}
.detail-kpi span {
  display: block;
  color: #8095a2;
  font-size: 11px;
  margin-bottom: 10px;
}
.detail-kpi strong {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.detail-columns h3 {
  font-size: 11px;
  margin: 0 0 14px;
}
.health-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.health-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #748c99;
  padding-bottom: 9px;
  border-bottom: 1px solid #f0f3f5;
}
.health-state {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8197a4;
}
.detail-coverage {
  font-size: 11px;
  line-height: 1.9;
  color: #8297a3;
}
.detail-coverage p {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.detail-back {
  font-size: 11px;
  padding: 0;
  min-height: 26px;
}
.detail-caption {
  font-size: 11px;
  color: #a18b61;
  line-height: 1.8;
  margin: 0 0 17px;
}
.page-footer {
  border-top: 1px solid var(--border);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #a6b3bb;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 6px;
}
.skeleton {
  background: #eaf0f4 !important;
  display: inline-block;
  border-radius: 5px;
  color: transparent !important;
  min-width: 70px;
  animation: pulse 1.4s infinite;
}
.kpi .skeleton {
  height: 32px;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-story {
  background: #f0f7fa;
  padding: 55px 70px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-story::after {
  content: '';
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid #d4e7ee;
  border-radius: 50%;
  right: -280px;
  bottom: -220px;
  box-shadow:
    0 0 0 70px #eaf3f7,
    0 0 0 71px #dcecf2,
    0 0 0 140px #eff6f9;
  pointer-events: none;
}
.login-brand {
  width: 225px;
}
.login-story-copy {
  margin: auto 0;
  position: relative;
  z-index: 1;
  max-width: 450px;
  padding: 60px 0;
}
.login-story-copy .eyebrow {
  font-size: 11px;
  color: #5e94a9;
  margin-bottom: 18px;
}
.login-story h1 {
  font-size: 46px;
  letter-spacing: -2px;
  line-height: 1.3;
  margin: 0 0 24px;
}
.login-story-copy > p:last-of-type {
  font-size: 13px;
  line-height: 1.9;
  color: #7893a2;
  max-width: 350px;
}
.login-pills {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #6e8d9e;
  margin-top: 30px;
}
.login-pills > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-pills .status-dot {
  width: 5px;
  height: 5px;
}
.login-slogan {
  font-size: 11px;
  color: #80a0b1;
  position: relative;
  z-index: 1;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 45px;
}
.login-form {
  width: 100%;
  max-width: 340px;
}
.login-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #f2f8fa;
  border: 1px solid #e4eef2;
  border-radius: 16px;
  margin-bottom: 35px;
}
.login-form > .eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
}
.login-form h2 {
  font-size: 27px;
  letter-spacing: -0.9px;
  font-weight: 800;
  margin-bottom: 12px;
}
.login-form > .muted {
  font-size: 11px;
  margin-bottom: 32px;
}
.login-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #718896;
  margin: 20px 0 9px;
}
.login-form input {
  width: 100%;
  min-height: 45px;
  border: 1px solid #dfe7ed;
  border-radius: 8px;
  padding: 10px 13px;
  background: #fbfcfd;
  color: #314f60;
  font-size: 13px;
}
.login-submit {
  width: 100%;
  justify-content: space-between;
  min-height: 46px;
  font-size: 11px;
  margin: 28px 0 17px;
}
.login-footnote {
  font-size: 11px;
  color: #99aab5;
  line-height: 1.9;
  text-align: center;
}
.form-error {
  padding: 12px 13px;
  background: #fff1ee;
  color: #a85d4a;
  border: 1px solid #f0d3ca;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.8;
  margin: 17px 0 0;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
@media (min-width: 1550px) {
  .main-content {
    padding-inline: 48px;
  }
  .topbar {
    padding-inline: 48px;
  }
  .operations-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .company-card {
    padding: 23px;
  }
  .company-tools .search-label input {
    width: 140px;
  }
  .kpi-grid {
    gap: 18px;
  }
  .kpi {
    padding: 22px 24px;
  }
  .kpi.featured {
    padding-top: 21px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 195px;
    padding-inline: 15px;
  }
  .brand {
    padding-inline: 7px;
  }
  .brand img {
    width: 155px;
  }
  .brand > span {
    font-size: 11px;
  }
  .workspace-main {
    margin-left: 195px;
    width: calc(100% - 195px);
  }
  .main-content {
    padding: 30px 24px 22px;
  }
  .topbar {
    padding-inline: 24px;
  }
  .demo-banner {
    padding-inline: 24px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .update-block {
    align-items: flex-end;
    flex-direction: column;
    gap: 9px;
  }
  .operations-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 18px;
  }
  .company-grid {
    grid-template-columns: 1fr;
  }
  .company-tools {
    width: 100%;
  }
  .search-label {
    flex: 1;
  }
  .search-label input {
    width: 100%;
  }
  .kpi {
    padding: 16px;
  }
  .kpi.featured {
    padding-top: 15px;
  }
  .kpi-value {
    font-size: 26px;
  }
  .period-kpi {
    padding-inline: 16px;
  }
  .panel {
    padding: 20px;
  }
  .section-note {
    font-size: 11px;
  }
  .page-heading > div > p:last-child {
    font-size: 11px;
  }
  .company-header {
    margin-bottom: 18px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 74px;
    padding: 27px 11px 22px;
  }
  .brand {
    padding: 0;
    margin-bottom: 34px;
    align-items: center;
  }
  .brand .brand-wordmark {
    display: none;
  }
  .brand .brand-symbol {
    display: block;
    width: 30px;
    height: 30px;
  }
  .brand > span,
  .sidebar-section-label,
  .sidebar-bottom,
  .nav-count {
    display: none;
  }
  .nav-item {
    font-size: 0;
    justify-content: center;
    padding: 14px;
  }
  .nav-item svg {
    height: 19px;
    width: 19px;
  }
  .workspace-main {
    margin-left: 74px;
    width: calc(100% - 74px);
  }
  .main-content {
    padding: 28px 23px 22px;
  }
  .kpi-grid {
    gap: 10px;
  }
  .kpi {
    padding: 15px 13px;
  }
  .kpi.featured {
    padding-top: 14px;
  }
  .kpi-value {
    font-size: 24px;
  }
  .kpi-label {
    font-size: 11px;
  }
  .kpi-icon {
    display: none;
  }
  .kpi-foot {
    font-size: 11px;
  }
  .period-kpi {
    padding-inline: 13px;
  }
  .operations-grid {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 15px;
  }
  .company-card {
    padding: 16px;
  }
  .panel {
    padding: 19px;
  }
  .filters {
    gap: 10px;
    padding: 14px;
  }
  .filters select {
    min-width: 135px;
  }
  .filters > .button {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 1.1px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .update-label {
    font-size: 11px;
  }
  .page-heading > div > p:last-child {
    max-width: 270px;
  }
  .panel-heading .muted {
    font-size: 11px;
  }
  .chart-legend {
    font-size: 11px;
    gap: 12px;
  }
  .chart-footer {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 13px;
  }
  .company-tools > select {
    width: 110px;
  }
  .company-identity h3 {
    font-size: 11px;
  }
  .company-metric strong {
    font-size: 18px;
  }
  .company-metric span {
    font-size: 11px;
  }
  .status-badge {
    font-size: 11px;
  }
  .alerts-section .panel-heading h2 {
    font-size: 11px;
  }
  .detail-kpis {
    gap: 14px;
  }
  .page-footer {
    flex-wrap: wrap;
  }
  .login-story {
    padding: 40px;
  }
  .login-story h1 {
    font-size: 37px;
  }
  .login-panel {
    padding: 40px 30px;
  }
  .login-form h2 {
    font-size: 24px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 19px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    gap: 15px;
  }
  .workspace {
    display: block;
  }
  .brand {
    margin: 0;
    display: block;
    flex-shrink: 0;
  }
  .brand .brand-wordmark {
    display: block;
    width: 135px;
    height: auto;
  }
  .brand .brand-symbol {
    display: none;
  }
  .sidebar nav {
    margin-left: auto;
    flex-direction: row;
    gap: 3px;
  }
  .nav-item {
    min-height: 35px;
    min-width: 35px;
    padding: 9px;
  }
  .nav-item svg {
    width: 16px;
    height: 16px;
  }
  .workspace-main {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 55px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 9px;
  }
  .account-avatar {
    display: none;
  }
  .topbar-account > div > span {
    display: none;
  }
  .topbar-account .button {
    margin-left: 0;
    min-height: 30px;
    font-size: 11px;
  }
  .topbar-account strong {
    max-width: 120px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .demo-banner {
    padding: 11px 20px;
    font-size: 11px;
    gap: 10px;
  }
  .demo-banner > div {
    gap: 5px;
  }
  .demo-banner > div > span {
    font-size: 11px;
    line-height: 1.6;
  }
  .main-content {
    padding: 26px 20px 20px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 14px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    max-width: 230px;
  }
  .page-heading > div > p:last-child {
    font-size: 11px;
    max-width: 220px;
  }
  .update-block {
    margin-top: 5px;
  }
  .update-label {
    font-size: 11px;
    white-space: normal;
    text-align: right;
    line-height: 1.7;
    max-width: 100px;
  }
  .update-block .button {
    font-size: 11px;
    min-height: 33px;
    padding: 6px 9px;
  }
  .update-block .button svg {
    height: 13px;
    width: 13px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    padding: 15px;
  }
  .filters label {
    font-size: 11px;
  }
  .filters select {
    min-width: 0;
    width: 100%;
    font-size: 11px;
    height: 38px;
  }
  .filters > label:first-child {
    grid-column: 1/-1;
  }
  .filters > .button {
    width: 100%;
    min-height: 37px;
    margin-top: 1px;
    grid-column: 1/-1;
  }
  .filters > .text-button {
    margin: 0;
  }
  .custom-dates {
    grid-column: 1/-1;
    gap: 13px;
  }
  .custom-dates label {
    flex: 1;
    min-width: 0;
  }
  .custom-dates input {
    width: 100%;
    min-width: 0;
    height: 38px;
  }
  .filter-summary {
    font-size: 11px;
    margin-bottom: 24px;
    line-height: 1.7;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px;
  }
  .section-note {
    font-size: 11px;
    max-width: 155px;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }
  .kpi {
    padding: 17px;
  }
  .kpi.featured {
    padding-top: 16px;
  }
  .kpi-icon {
    display: grid;
  }
  .kpi-label {
    font-size: 11px;
  }
  .kpi-value {
    font-size: 28px;
  }
  .kpi-foot {
    font-size: 11px;
  }
  .kpi-top {
    margin-bottom: 14px;
  }
  .period-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .period-kpi {
    padding: 18px;
    border-bottom: 1px solid #edf1f4;
  }
  .period-kpi:nth-child(2) {
    border-right: 0;
  }
  .period-kpi:nth-child(n + 3) {
    border-bottom: 0;
  }
  .period-value {
    font-size: 22px;
  }
  .period-kpi .kpi-foot {
    font-size: 11px;
  }
  .panel {
    padding: 18px;
  }
  .panel-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .chart-legend {
    margin-top: 0;
  }
  .monthly-svg {
    min-width: 680px;
    min-height: 0;
  }
  .chart-footer {
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.8;
    font-size: 11px;
  }
  .chart-panel {
    margin-bottom: 27px;
  }
  .operations-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .company-grid {
    grid-template-columns: 1fr;
  }
  .company-card {
    padding: 20px;
  }
  .company-identity h3 {
    font-size: 13px;
  }
  .company-identity p {
    font-size: 11px;
  }
  .status-badge {
    font-size: 11px;
  }
  .company-initials {
    width: 39px;
    height: 39px;
    font-size: 11px;
  }
  .company-metric span {
    font-size: 11px;
  }
  .company-metric strong {
    font-size: 22px;
  }
  .company-submetrics {
    font-size: 11px;
  }
  .company-footer time {
    font-size: 11px;
  }
  .company-footer .button {
    font-size: 11px;
    min-height: 33px;
  }
  .channel-chip {
    font-size: 11px;
  }
  .coverage-note {
    font-size: 11px;
  }
  .company-tools {
    width: auto;
    flex-wrap: wrap;
  }
  .search-label {
    min-width: 140px;
  }
  .company-tools > select {
    font-size: 11px;
    min-height: 35px;
    width: 130px;
  }
  .company-tools input {
    font-size: 11px;
  }
  .companies-section > .section-heading {
    row-gap: 16px;
  }
  .alerts-section {
    margin-bottom: 26px;
  }
  .alerts-section .panel-heading h2 {
    font-size: 14px;
  }
  .alerts-section .panel-heading .eyebrow {
    font-size: 11px;
  }
  .alert-item {
    padding-block: 16px;
    gap: 12px;
    grid-template-columns: 29px 1fr;
  }
  .alert-symbol {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .alert-company {
    font-size: 11px;
  }
  .alert-body h3 {
    font-size: 11px;
  }
  .alert-body p {
    font-size: 11px;
  }
  .alert-body .button {
    font-size: 11px;
    padding-block: 8px;
  }
  .detail-kpis {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-heading {
    margin-bottom: 20px;
  }
  .detail-heading h2 {
    font-size: 22px;
  }
  .detail-caption {
    font-size: 11px;
  }
  .health-row {
    font-size: 11px;
  }
  .health-state {
    font-size: 11px;
  }
  .detail-coverage {
    font-size: 11px;
  }
  .page-error {
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .page-error p {
    font-size: 11px;
  }
  .page-error strong {
    font-size: 11px;
  }
  .page-footer {
    font-size: 11px;
    justify-content: flex-start;
    column-gap: 15px;
    row-gap: 5px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px 26px;
    background: #f1f7fa;
  }
  .login-brand {
    width: 173px;
  }
  .login-story-copy {
    padding: 32px 0 5px;
    margin: 0;
  }
  .login-story h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 13px;
  }
  .login-story-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .login-story-copy > p:last-of-type {
    font-size: 11px;
    max-width: 310px;
    margin-bottom: 12px;
  }
  .login-pills,
  .login-slogan {
    display: none;
  }
  .login-story::after {
    width: 300px;
    height: 300px;
    right: -240px;
    bottom: -180px;
    box-shadow:
      0 0 0 55px #eaf3f7,
      0 0 0 56px #dcecf2;
  }
  .login-panel {
    padding: 34px 26px 40px;
  }
  .login-form {
    max-width: 430px;
  }
  .login-symbol {
    display: none;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .login-form > .muted {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .login-form label {
    font-size: 11px;
  }
  .login-footnote {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Readable secondary text at every breakpoint. */
.company-header {
  flex-wrap: wrap;
}
.company-metrics {
  column-gap: 12px;
}
.company-metric span {
  min-height: 32px;
}
.company-submetrics {
  flex-wrap: wrap;
}
.company-footer {
  flex-wrap: wrap;
}
.status-badge {
  line-height: 1.5;
}
.kpi-foot,
.period-kpi .kpi-foot {
  font-size: 11px;
  line-height: 1.7;
}
.coverage-note {
  font-size: 11px;
}
.period-kpi .kpi-foot.partial {
  color: #9a732d;
}
.metric-absence {
  color: #91a2ad;
}
.brand > span {
  letter-spacing: 0.6px;
  line-height: 1.6;
}
.sidebar-bottom {
  padding-inline: 0;
}
.sidebar-bottom .powered-by {
  display: block;
}
.company-tools > select {
  width: 145px;
}
.sidebar .brand > span {
  font-size: 11px;
}
.chart-date,
.chart-axis {
  font-size: 11px;
}
.chart-footer {
  line-height: 1.7;
}
.detail-team-note {
  font-size: 11px;
  color: #8196a3;
  line-height: 1.8;
  margin: 0 0 20px;
}
.company-tools .search-label input {
  width: 120px;
}
.sidebar-bottom .read-only-mark {
  font-size: 11px;
}
@media (max-width: 900px) {
  .company-tools {
    flex-wrap: wrap;
  }
  .company-tools > select {
    width: 100%;
  }
  .company-tools .search-label {
    width: 100%;
    flex-basis: 100%;
  }
  .company-tools .search-label input {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .sidebar .brand > span {
    display: none;
  }
  .company-tools > select {
    width: 145px;
  }
  .company-tools .search-label {
    flex-basis: auto;
    width: auto;
  }
  .section-note {
    max-width: 180px;
  }
  .company-metric span {
    min-height: 18px;
  }
  .company-tools {
    width: 100%;
  }
  .company-tools .search-label input {
    width: 100%;
  }
  .page-footer {
    line-height: 1.9;
  }
  .chart-legend {
    font-size: 11px;
  }
  .topbar-account strong {
    max-width: 125px;
  }
  .sidebar .nav-item {
    font-size: 0;
  }
  .section-heading {
    align-items: flex-start;
  }
}

/* Teams and licenses remain separate from the operational conversation UI. */
.team-panel { margin: 26px 0; padding: 24px; min-width: 0; }
.team-table-scroll { overflow: auto; max-width: 100%; }
.team-table { min-width: 760px; width: 100%; }
.team-table th:first-child { min-width: 150px; }
.team-table td, .team-table th { vertical-align: middle; }
.team-table tbody th strong { display: block; color: var(--ink); font-weight: 700; }
.team-company-name { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 4px; }
.team-state { display: inline-block; border-radius: 6px; padding: 4px 7px; font-size: 11px; background: #eff3f5; color: #607987; white-space: nowrap; }
.team-state.available { background: #e9f6f2; color: #277a68; }
.team-state.paused, .team-state.busy { background: #fff4df; color: #97681b; }
.team-stale { display: block; font-size: 10px; color: #94661d; margin-top: 4px; }
.team-footnote { margin: 14px 0 0; }
.team-partial td:nth-last-child(-n+2)::after { content: ' *'; color: #94661d; }
.license-intro { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; padding: 24px; margin-bottom: 24px; }
.license-intro h2 { font-size: 18px; margin-bottom: 8px; }
.license-intro p { font-size: 13px; line-height: 1.7; margin-bottom: 8px; }
.license-intro .read-only-mark { white-space: nowrap; }
.license-summary { color: var(--muted); font-size: 12px; margin: 0 0 16px; }
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.license-card { padding: 24px; min-width: 0; }
.license-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.license-card-header h3 { margin-bottom: 4px; font-size: 16px; overflow-wrap: anywhere; }
.license-status { font-size: 11px; padding: 5px 8px; border-radius: 6px; white-space: nowrap; color: #617782; background: #eef3f5; }
.license-status.active, .license-status.trial { color: #277a68; background: #e9f6f2; }
.license-status.expired, .license-status.paused { color: #94661d; background: #fff4df; }
.license-status.cancelled { color: #a54545; background: #fff0ef; }
.license-plan-name { color: #537282; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.license-seat-number { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.license-seat-number strong { color: var(--blue); font-size: 36px; font-weight: 800; line-height: 1.3; }
.license-seat-number span { font-size: 14px; color: var(--muted); }
.license-seat-coverage, .license-validity { font-size: 12px; line-height: 1.7; color: var(--muted); }
.license-warning { font-size: 12px; line-height: 1.7; padding: 9px 12px; color: #94661d; background: #fff7e9; border-radius: 7px; }
.license-notes { font-size: 12px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; border-top: 1px solid var(--border); padding-top: 14px; line-height: 1.7; }
.license-editor { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; border: 1px solid var(--border); border-radius: 16px; padding: 28px; color: var(--ink); background: #fff; box-shadow: 0 24px 90px #12344635; }
.license-editor::backdrop { background: #112d4266; backdrop-filter: blur(3px); }
.license-editor h2 { font-size: 22px; margin-bottom: 0; }
.license-editor .panel-heading { margin-bottom: 12px; }
.license-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.license-editor label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: #506b7a; }
.license-editor input, .license-editor select, .license-editor textarea { width: 100%; background: #fff; color: var(--ink); border: 1px solid #d8e4e9; padding: 10px 12px; border-radius: 8px; min-height: 42px; font: inherit; }
.license-editor textarea { resize: vertical; min-height: 80px; }
.license-scope-note { font-size: 11px; color: var(--muted); margin: 14px 0 20px; line-height: 1.7; }
.license-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
@media (max-width: 1000px) { .license-intro { flex-direction: column; gap: 8px; } }
@media (max-width: 680px) {
  .license-grid, .license-form-grid { grid-template-columns: minmax(0, 1fr); }
  .license-card, .license-intro, .team-panel { padding: 18px; }
  .license-editor { padding: 20px; }
  .license-card-header { gap: 7px; }
  .license-status { font-size: 10px; }
}
.theme-toggle { min-width: 36px; min-height: 36px; padding: 5px; font-size: 22px; }
:root[data-theme='dark'] {
  color-scheme: dark;
  color: #e5eef4;
  background: #091521;
  --ink: #e5eef4;
  --muted: #a7bac7;
  --border: #2d4354;
  --white: #102332;
  --soft-blue: #163449;
  --soft-teal: #163b36;
}
[data-theme='dark'] .sidebar, [data-theme='dark'] .topbar, [data-theme='dark'] .panel,
[data-theme='dark'] .company-card, [data-theme='dark'] .period-kpi, [data-theme='dark'] .filters,
[data-theme='dark'] .kpi:not(.featured), [data-theme='dark'] .login-panel,
[data-theme='dark'] .license-editor { background: #102332; color: var(--ink); border-color: var(--border); }
[data-theme='dark'] .login-story { background: #122f40; }
[data-theme='dark'] input, [data-theme='dark'] select, [data-theme='dark'] textarea,
[data-theme='dark'] .license-editor input, [data-theme='dark'] .license-editor select,
[data-theme='dark'] .license-editor textarea { background: #0b1c29; color: var(--ink); border-color: #40596b; }
[data-theme='dark'] .brand img, [data-theme='dark'] .boot > img,
[data-theme='dark'] .login-brand { background: #fff; padding: 5px; border-radius: 6px; }
[data-theme='dark'] .secondary { background: #193143; border-color: #40596b; color: #dceaf3; }
[data-theme='dark'] .secondary:hover, [data-theme='dark'] .text-button:hover,
[data-theme='dark'] .nav-item:hover { background: #203e52; color: #dceaf3; }
[data-theme='dark'] .text-button, [data-theme='dark'] .nav-item,
[data-theme='dark'] .license-editor label { color: #b4c8d6; }
[data-theme='dark'] .nav-item.active { background: #193e55; color: #8bd2f2; }
[data-theme='dark'] .company-metric strong, [data-theme='dark'] .period-value,
[data-theme='dark'] .kpi:not(.featured) .kpi-value { color: #dcebf5; }
[data-theme='dark'] .company-metrics, [data-theme='dark'] .company-footer,
[data-theme='dark'] .data-table th, [data-theme='dark'] .data-table td { border-color: #2c4354; }
[data-theme='dark'] .data-table th { color: #bed0dc; background: #173044; }
[data-theme='dark'] .data-table td { color: #b4c8d6; }
[data-theme='dark'] .channel-chip, [data-theme='dark'] .nav-count,
[data-theme='dark'] .count-badge { background: #1b3345; border-color: #385163; color: #b9cfdd; }
[data-theme='dark'] .license-plan-name, [data-theme='dark'] .company-submetrics strong { color: #a4c9dd; }
[data-theme='dark'] .license-status, [data-theme='dark'] .team-state { background: #233b4b; color: #c5d5df; }
[data-theme='dark'] .license-status.active, [data-theme='dark'] .license-status.trial,
[data-theme='dark'] .team-state.available { background: #174239; color: #97dbc7; }
[data-theme='dark'] .license-status.expired, [data-theme='dark'] .license-status.paused,
[data-theme='dark'] .team-state.paused, [data-theme='dark'] .team-state.busy,
[data-theme='dark'] .license-warning { background: #493a1e; color: #efcf8b; }
[data-theme='dark'] .license-status.cancelled { background: #472930; color: #f1b4b4; }
[data-theme='dark'] .team-stale, [data-theme='dark'] .partial { color: #dbbd7d; }
[data-theme='dark'] .chart-grid { stroke: #2b4354; }
[data-theme='dark'] .chart-axis, [data-theme='dark'] .chart-date { fill: #adc1cf; }
[data-theme='dark'] .page-error, [data-theme='dark'] .form-error { background: #3e252c; color: #f1c0c2; border-color: #79424c; }
