@font-face {
  font-family:Inter;
  src:url("inter-cyrillic.woff2") format("woff2");
  font-weight:100 900;
  font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family:Inter;
  src:url("inter-latin.woff2") format("woff2");
  font-weight:100 900;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20B4,U+2113,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD;
}
:root {
  font-family:Inter,Arial,sans-serif;
  font-size:13px;
  --bg:#fff;
  --text:#202020;
  --surface:#fff;
  --surface-muted:#fafafa;
  --sidebar-bg:#f5f5f5;
  --muted:#636363;
  --label:#636363;
  --line:#e8e8e8;
  --control-border:#d6d6d6;
  --control-height:28px;
  --filter-control-height:28px;
  --icon-button-size:28px;
  --segmented-padding:2px;
  --sidebar-text:#636363;
  --brand-text:#202020;
  --brand-muted:#636363;
  --account-text:#636363;
  --company-text:#202020;
  --nav-hover:#ededed;
  --nav-hover-text:#202020;
  --nav-active:#e5f3fc;
  --nav-active-text:#00679f;
  --row-hover:#f7f7f7;
  --table-rule:#e8e8e8;
  --table-border:#e8e8e8;
  --block-shadow:none;
  --login-bg:#f5f5f5;
}
:root[data-theme="dark"] {
  --bg:#212121;
  --text:#f0f0f0;
  --surface:#212121;
  --surface-muted:#262626;
  --sidebar-bg:#131313;
  --muted:#a9a9a9;
  --label:#a9a9a9;
  --line:#363636;
  --control-border:#494949;
  --sidebar-text:#a9a9a9;
  --brand-text:#f0f0f0;
  --brand-muted:#a9a9a9;
  --account-text:#a9a9a9;
  --company-text:#f0f0f0;
  --nav-hover:#2a2a2a;
  --nav-hover-text:#f0f0f0;
  --nav-active:#163b52;
  --nav-active-text:#83d3f5;
  --row-hover:#2a2a2a;
  --table-rule:#363636;
  --table-border:#363636;
  --backdrop:rgb(0 0 0 / .57);
  --login-bg:#131313;
}
::selection {
  background:var(--selection);
  color:var(--text);
}
input,textarea {
  caret-color:var(--link);
}
.sidebar nav,.table-wrap,dialog,.feedback-tabs {
  scrollbar-width:thin;
  scrollbar-color:var(--control-border) transparent;
}
button {
  min-height:28px;
  border-radius:7px;
  padding:3px 10px;
  font-size:12px;
  line-height:20px;
  font-weight:500;
}
button svg {
  width:15px;
  height:15px;
  flex:none;
}
.icon-button svg {
  width:15px;
  height:15px;
}
.information-icon {
  width:15px;
  font-size:21px;
}
.workspace {
  grid-template-columns:208px minmax(0,1fr);
}
.sidebar {
  padding:8px;
  height:100dvh;
  background:var(--sidebar-bg);
  overflow:hidden;
}
.sidebar-toolbar {
  margin:0 0 -28px;
  height:28px;
  flex:none;
}
.brand {
  margin:0 0 12px;
  padding:0;
  min-height:200px;
  flex:none;
  justify-content:center;
}
.sidebar .brand-logo {
  width:192px;
  mix-blend-mode:multiply;
}
:root[data-theme="dark"] .sidebar .brand-logo {
  mix-blend-mode:screen;
}
.brand small {
  display:none;
}
.sidebar nav {
  flex:1;
  min-height:0;
  overflow:auto;
  gap:1px;
}
.sidebar nav a {
  min-height:31px;
  padding:5px 9px;
  gap:10px;
  font-size:12px;
  font-weight:450;
  border-radius:7px;
}
.nav-icon {
  width:16px;
  height:16px;
}
.sidebar-bottom {
  flex:none;
  margin-top:12px;
  padding:8px;
  border-top:0;
  gap:10px;
}
.theme-control {
  min-height:46px;
  gap:8px;
  font-size:12px;
}
.sidebar-account {
  gap:6px;
  font-size:11px;
}
.sidebar-account #logout {
  padding:3px 6px;
  font-size:11px;
}
main {
  padding:18px 20px 24px;
  max-width:none;
}
.page-header {
  position:static;
  min-height:64px;
  padding:12px 18px;
  margin-bottom:14px;
  gap:12px;
  border-radius:10px;
  font-family:Inter,Arial,sans-serif;
  box-shadow:none;
}
.page-header > div:first-child {
  flex:1 1 auto;
  min-width:0;
}
.page-heading {
  display:flex;
  align-items:center;
  gap:8px;
}
.page-header h1 {
  font-family:Inter,Arial,sans-serif;
  font-size:20px;
  font-weight:600;
  line-height:26px;
  letter-spacing:-.25px;
}
.page-header #section-refresh {
  border-radius:7px;
  width:28px;
  height:28px;
  min-height:28px;
  box-shadow:none;
}
#refresh-status {
  font-family:Inter,Arial,sans-serif;
  font-size:11px;
  line-height:16px;
}
.section-refresh-control {
  gap:6px;
}
#page-actions:empty {
  display:none;
}
h2 {
  font-size:17px;
  letter-spacing:-.25px;
}
h3 {
  font-size:13px;
}
label {
  font-size:11px;
  margin-bottom:14px;
}
input,select,textarea {
  padding:5px 9px;
  margin-top:5px;
  border-radius:7px;
  font-size:12px;
}
input:not([type="checkbox"]):not([type="radio"]),select {
  min-height:32px;
  height:32px;
}
.toolbar {
  gap:8px;
  margin-bottom:18px;
  align-items:flex-end;
}
.toolbar > .search-actions {
  display:contents;
}
.toolbar input,.search-actions input {
  flex:0 1 255px;
  width:255px;
  max-width:100%;
  min-width:180px;
  margin:0;
  font-size:11px;
}
.toolbar input[type="search"] {
  border-radius:18px;
}
.toolbar input,.toolbar select,.toolbar > button:not(.icon-button),.search-actions > button:not(.icon-button) {
  min-height:28px;
  font-size:11px;
}
.toolbar input:not([type="checkbox"]):not([type="radio"]),.toolbar select {
  height:28px;
  min-height:28px;
  padding-block:3px;
}
:is(.toolbar,.dashboard-filters,.dashboard-activity-controls,.dashboard-date-range,.feed-date-filters,.feedback-date-range,#feedback-filters) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select),
#feedback-filters .form-actions button {
  height:var(--filter-control-height);
  min-height:var(--filter-control-height);
  padding-block:3px;
  font-size:11px;
  line-height:20px;
}
.toolbar label {
  margin:0;
  font-size:11px;
}
.toolbar > select,.toolbar label select {
  min-width:0;
  max-width:100%;
  width:auto;
  padding-right:25px;
}
.feed-toolbar > label {
  flex:0 1 220px;
  max-width:100%;
}
.feed-toolbar > label select {
  width:100%;
}
.feed-toolbar > .feed-urgent-actions {
  flex:0 1 calc(220px + var(--icon-button-size) + 8px);
  max-width:100%;
}
.feed-toolbar #feed-search {
  flex-basis:300px;
  width:300px;
}
.toolbar > .search-actions > button,.toolbar > button.primary,.section-actions {
  order:5;
  margin-left:auto;
}
.section-actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.campaign-toolbar #campaign-prepare {
  order:5;
  margin-left:auto;
}
.campaign-toolbar #campaign-create {
  order:6;
  margin-left:0;
}
.prepare-campaign {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f4fbff;
  color:#00679f;
  border-color:#007bb5;
  font-weight:600;
}
.prepare-campaign:hover {
  background:#e5f3fc;
  border-color:#00679f;
}
.prepare-campaign:active {
  background:#dcebf6;
}
.segmented {
  min-height:28px;
  padding:2px;
  border-radius:18px;
}
.segmented button {
  min-height:24px;
  padding:1px 10px;
  font-size:11px;
  line-height:20px;
  gap:5px;
  border-radius:14px;
}
.segmented-thumb {
  border-radius:14px;
}
.segmented .platform-icon {
  width:14px;
  height:14px;
}
.feedback-tabs {
  width:max-content;
  overflow-x:auto;
}
#feedback-filters {
  padding:0;
}
#feedback-filters .form-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
  gap:12px;
}
#feedback-filters label {
  min-width:0;
  margin-bottom:0;
}
#feedback-filters input[type="search"] {
  border-radius:18px;
}
#feedback-filters .form-actions {
  gap:8px;
  margin-top:12px;
}
.contract-days-filter button {
  min-width:34px;
}
.contract-days-filter svg {
  width:15px;
  height:15px;
}
.contract-filter-options {
  gap:10px;
}
.contract-filter {
  font-size:11px;
  gap:8px;
}
.contract-filter select {
  width:140px;
}
.table-wrap {
  border:1px solid var(--table-border);
  border-radius:10px;
  box-shadow:none;
}
table {
  font-size:12px;
}
th,td {
  padding:12px;
}
th {
  font-size:11px;
  font-weight:500;
  height:37px;
  padding-top:8px;
  padding-bottom:8px;
}
td {
  height:66px;
}
.table-sort {
  gap:6px;
  padding:0;
  margin:0;
  min-height:20px;
}
.sort-icon {
  width:12px;
  height:12px;
  flex-basis:12px;
}
:root[data-theme="dark"] th[aria-sort="ascending"],:root[data-theme="dark"] th[aria-sort="descending"] {
  color:var(--header-text);
}
.secondary,.code {
  font-size:11px;
}
.platform-icon {
  width:16px;
  height:16px;
}
.platform-label {
  gap:5px;
  font-size:11px;
}
.badge {
  font-size:10px;
  padding:2px 7px;
}
.table-footer {
  font-size:11px;
  gap:12px;
}
.table-footer button {
  padding:3px 8px;
  font-size:11px;
}
.pagination-status {
  min-width:44px;
  font-size:11px;
}
.card,.metric {
  padding:18px;
  border-radius:10px;
  box-shadow:none;
}
.dashboard-card,.dashboard-metric,.settings-section.card {
  border-color:var(--line);
}
.dashboard-metric:hover {
  border-color:var(--link);
}
.dashboard-metric {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
.dashboard-charts > .dashboard-card:nth-child(-n+2) {
  display:grid;
  grid-template-rows:subgrid;
  grid-row:span 4;
  row-gap:0;
}
.dashboard-charts > .dashboard-card:nth-child(-n+2) > h2 {
  grid-row:1;
}
.dashboard-charts > .dashboard-card:nth-child(-n+2) > .dashboard-caption {
  grid-row:2;
}
.dashboard-charts > .dashboard-card:first-child > .dashboard-activity-controls {
  grid-row:3;
}
.dashboard-charts > .dashboard-card:nth-child(-n+2) > .dashboard-plot,
.dashboard-charts > .dashboard-card:nth-child(-n+2) > .dashboard-empty {
  grid-row:4;
}
.metrics,.columns {
  gap:16px;
}
.metric strong {
  font-size:26px;
}
.settings-section > summary {
  font-size:14px;
}
.settings-section-body {
  padding-top:16px;
}
#interface-appearance > .settings-section-body {
  margin-top:12px;
  padding-top:0;
}
.design-selector {
  max-width:320px;
}
dialog {
  padding:22px;
  border-radius:12px;
  max-height:90dvh;
  box-shadow:none;
}
dialog::backdrop {
  backdrop-filter:none;
}
.modal-head {
  margin-bottom:18px;
}
.modal-head h2 {
  font-size:17px;
}
.company-actions {
  gap:16px;
}
.company-summary {
  gap:16px 22px;
}
.company-summary dt {
  font-size:11px;
}
.company-summary dd {
  font-size:12px;
}
.company-link.company-action-button {
  min-height:28px;
  padding:3px 10px;
  gap:6px;
  font-size:12px;
}
.company-action-button svg {
  width:15px;
  height:15px;
}
.login-card {
  box-shadow:none;
}
.contract-mode-switch,.contract-mode-switch:hover {
  width:32px;
  height:28px;
  min-height:28px;
}
.contract-mode-switch::before {
  inset:5px 0;
}
.contract-mode-switch::after {
  width:14px;
  height:14px;
  top:7px;
  left:2px;
}
.contract-mode-switch[aria-checked="true"]::after {
  transform:translateX(14px);
}
@media(min-width:761px) {
  :root[data-sidebar="collapsed"] .workspace {
    grid-template-columns:54px minmax(0,1fr);
  }
  :root[data-sidebar="collapsed"] .sidebar {
    padding:8px;
  }
  :root[data-sidebar="collapsed"] .sidebar-toolbar {
    margin-bottom:0;
  }
  :root[data-sidebar="collapsed"] .brand {
    min-height:56px;
    margin-bottom:12px;
  }
  :root[data-sidebar="collapsed"] .sidebar .brand-logo {
    width:38px;
  }
  :root[data-sidebar="collapsed"] .sidebar nav a {
    padding:7px;
    min-width:0;
    min-height:31px;
  }
  :root[data-sidebar="collapsed"] .sidebar-bottom {
    padding:8px 0 0;
  }
  :root[data-sidebar="collapsed"] .theme-switch {
    --track:36px;
  }
}
@media(max-width:1100px) {
  #chat-table table {
    min-width:850px;
  }
}
@media(max-width:760px) {
  .workspace {
    display:block;
  }
  .sidebar {
    position:fixed;
    inset:0 auto 0 0;
    width:208px;
    height:100dvh;
    z-index:20;
    padding:8px;
    border-right:1px solid var(--line);
    border-bottom:0;
    transform:translateX(-100%);
    transition:transform .18s ease-out;
  }
  :root[data-menu-open="true"] .sidebar {
    transform:translateX(0);
  }
  #sidebar-shade {
    position:fixed;
    inset:0;
    z-index:19;
    background:var(--backdrop);
  }
  .brand {
    flex-direction:column;
    gap:0;
  }
  .sidebar nav {
    flex-direction:column;
  }
  :root[data-sidebar="collapsed"] .sidebar .nav-label,:root[data-sidebar="collapsed"] #theme-label,:root[data-sidebar="collapsed"] #account {
    display:initial;
  }
  :root[data-sidebar="collapsed"] .sidebar .brand-logo {
    width:192px;
  }
  :root[data-sidebar="collapsed"] .sidebar nav a {
    justify-content:flex-start;
    padding:5px 9px;
    min-height:31px;
  }
  :root[data-sidebar="collapsed"] .sidebar-bottom {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:8px;
  }
  main {
    padding:12px 14px 18px;
  }
  .page-header {
    display:flex;
    min-height:62px;
    padding:9px 12px;
    align-items:center;
  }
  .page-header h1 {
    font-size:15px;
    line-height:22px;
  }
  .section-refresh-control {
    grid-column:auto;
    grid-row:auto;
  }
  #refresh-status {
    display:none;
  }
  .toolbar {
    gap:9px;
    align-items:flex-end;
  }
  .toolbar input,.search-actions input,.feed-toolbar #feed-search {
    flex-basis:100%;
    width:100%;
    min-width:0;
    max-width:100%;
  }
  .feed-toolbar > label,.feed-toolbar > .feed-urgent-actions {
    flex-basis:100%;
  }
  .toolbar > .search-actions > button,.section-actions {
    margin-left:auto;
  }
  .contract-filter-options {
    flex-wrap:wrap;
    width:100%;
  }
  dialog {
    padding:16px;
    max-width:calc(100vw - 24px);
  }
  .card {
    padding:16px;
  }
}
@media(pointer:coarse) {
  :root {
    --control-height:48px;
    --filter-control-height:44px;
    --icon-button-size:44px;
  }
  button,.sidebar nav a,input:not([type="checkbox"]):not([type="radio"]),select {
    min-height:44px;
  }
  input:not([type="checkbox"]):not([type="radio"]),select,
  .toolbar input:not([type="checkbox"]):not([type="radio"]),.toolbar select {
    height:44px;
    min-height:44px;
  }
  .toolbar input,.toolbar select,.toolbar > button:not(.icon-button),.search-actions > button:not(.icon-button),.segmented button {
    min-height:44px;
  }
  .company-link.company-action-button,.table-sort {
    min-height:44px;
  }
  .segmented {
    min-height:48px;
  }
  .page-header #section-refresh {
    width:44px;
    height:44px;
    min-height:44px;
  }
  .contract-mode-switch,.contract-mode-switch:hover {
    width:44px;
    height:44px;
    min-height:44px;
  }
  .contract-mode-switch::before {
    inset:13px 6px;
  }
  .contract-mode-switch::after {
    top:15px;
    left:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .sidebar {
    transition:none;
  }
}
