@font-face {
  font-family: 'Optimistic';
  src: url('/assets/optimistic.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 80% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'Optimistic';
  src: url('/assets/optimistic-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 80% 100%;
  font-display: swap;
  unicode-range: U+0400-04FF;
}
.meta-icon {
  background: currentColor;
  mask-image: url('/assets/business-icons.png');
  mask-repeat: no-repeat;
  mask-size: 1100% 100%;
}
body:has(.invite-landing) {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #faf1f0, #e6eff9 75%, #e9f5f2);
  font: 16px/1.5 Optimistic, system-ui, sans-serif;
  color: #1c2b33;
}
.invite-landing {
  max-width: 32rem;
  margin: 1rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #d3dce3;
  border-radius: 8px;
  background: white;
}
.invite-landing h1 { margin: 0; font-size: 1.5rem; }
.invite-landing button {
  padding: .65rem 1rem;
  border: 0;
  border-radius: 5px;
  background: #0866b5;
  color: white;
  font: inherit;
  cursor: pointer;
}
.icon-user {
  mask-position: 0% 50%;
}
.icon-cabinets {
  mask-position: 10% 50%;
}
.icon-pages {
  mask-position: 20% 50%;
}
.icon-building {
  mask-position: 30% 50%;
}
.icon-rules {
  mask-position: 50% 50%;
}
.icon-search {
  mask-position: 60% 50%;
}
.icon-close {
  mask-position: 70% 50%;
}
.icon-gear {
  mask-position: 80% 50%;
}
.icon-add {
  mask-position: 90% 50%;
}
.icon-down {
  mask-position: 100% 50%;
}
.account-menu {
  display: none;
}
.mf-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.accounts-view {
  --ink: #1c2b33;
  --quiet: #52616a;
  --line: #cbd2d9;
  --blue: #0978be;
  --accent: #0978be;
  --danger: #b41628;
  --danger-pressed: #971221;
  --wash: #eaf1fe;
  --border: #a4b1bd;
  --dim: #52616a;
  --row-surface: #fff;
  --row-surface-alt: #f5f6f7;
  --row-surface-hover: #edf1f4;
  --accounts-nav-height: 60px;
  --reveal-duration: 220ms;
  --reveal-easing: cubic-bezier(0.2, 0.65, 0.3, 1);
  --reveal-offset: -4px;
  background:
    radial-gradient(ellipse at 0 0, #faf1f1 5%, transparent 65%),
    radial-gradient(ellipse at 100% 100%, #eaf6f1, transparent 55%),
    linear-gradient(165deg, #efedf6, #e5effa 65%, #e1edfa) fixed;
  color: var(--ink);
  min-height: 100vh;
  font-family:
    'Optimistic',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.accounts-view aside {
  position: sticky;
  inset: 0 0 auto;
  z-index: 3;
  width: 100%;
  min-height: var(--accounts-nav-height);
  padding: 8px clamp(14px, 2.2vw, 34px);
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-shadow: 0 1px 0 #cbd8e3;
  background: #fff;
  color: var(--ink);
}
.accounts-view .brand {
  --brand-title: var(--ink);
  --brand-subtitle: var(--quiet);
  --brand-title-hover: #0866d9;
  --brand-subtitle-hover: #147bb6;
  padding: 0;
  flex: none;
}
.accounts-view aside nav {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  overflow: auto;
  scrollbar-width: thin;
}
.accounts-view nav a {
  flex: none;
  padding: 8px 10px;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  border-radius: 6px;
  white-space: nowrap;
}
.accounts-view nav a span {
  width: auto;
  display: flex;
  color: inherit;
}
.accounts-view nav a:nth-last-child(2) {
  margin-top: 0;
}
.accounts-view nav a[href='#team'],
.accounts-view nav a[href='#settings'] {
  display: none;
}
.accounts-view nav a:hover {
  background: #f0f5f8;
  color: var(--ink);
}
.accounts-view nav a[aria-current='page'] {
  background: #283943;
  color: #fff;
}
.accounts-view .identity,
.accounts-view main > header {
  display: none;
}
.accounts-view main {
  margin: 0;
}
.accounts-view .workspace {
  --workspace-side-padding: clamp(14px, 2.2vw, 34px);
  max-width: none;
  padding: 24px var(--workspace-side-padding) 45px;
}
.accounts-view .account-menu {
  display: block;
  margin-left: auto;
  position: relative;
  white-space: nowrap;
}
.account-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid #c9d6df;
  padding: 4px 10px 4px 5px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}
.account-menu summary::-webkit-details-marker,
.business-entry > summary::-webkit-details-marker {
  display: none;
}
.account-menu summary i,
.profile-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f4f7;
  color: #283943;
  font-weight: 700;
  font-style: normal;
}
.account-menu summary i {
  width: 29px;
  height: 29px;
}
.account-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 160px;
  padding: 5px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  box-shadow: 0 6px 20px #26394b22;
}
.account-menu a,
.account-menu button {
  display: block;
  text-align: left;
  padding: 7px 9px;
  width: 100%;
  text-decoration: none;
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  background: white;
}
.account-menu a:hover,
.account-menu button:hover {
  background: var(--wash);
}
.account-menu a[aria-current='page'] {
  background: #e9f4fb;
  color: #0b5c86;
  font-weight: 650;
}
.settings-page {
  max-width: 1200px;
  margin-inline: auto;
}
.settings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.settings-section {
  min-width: 0;
  border: 1px solid #cfdce4;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px #1c2b330d;
}
.settings-section > h2 {
  padding: 15px 18px;
  border-bottom: 1px solid #dce7ee;
  border-radius: 10px 10px 0 0;
  background: #f4f8fb;
  font-size: 17px;
}
.settings-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
  padding: 16px 18px;
}
.settings-row + .settings-row,
.settings-heat-legend + .settings-row {
  border-top: 1px solid #e3ebf0;
}
.settings-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dceaf3;
  border-radius: 8px;
  background: #eef6fb;
  color: #12628a;
}
.settings-info { min-width: 0; }
.settings-info p {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 13px;
}
.settings-name {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  align-items: center;
}
.settings-name h3 { font-size: 15px; }
.settings-control {
  display: grid;
  align-self: center;
  gap: 3px;
}
.settings-control label {
  color: var(--quiet);
  font-size: 12px;
}
.settings-control :is(input, select) {
  width: 132px;
  max-width: 100%;
}
.settings-control :is([name="heatSensitivity"], [name="heatPalette"]) {
  width: 198px;
}
.settings-control #settings-heat-palette { margin-top: 1px; }
.settings-control label[for="settings-heat-palette"] { margin-top: 5px; }
.settings-heat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 18px 14px;
  font-size: 12px;
}
.settings-footer {
  display: flex;
  justify-content: end;
  padding: 12px 18px;
  border-top: 1px solid #e3ebf0;
}
.settings-control a.btn, .tracker-page a.btn {
  display: inline-block;
  border: 1px solid #a5b5c1;
  border-radius: 4px;
  padding: 8px 12px;
  background: #fff;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.settings-control a.btn:hover, .tracker-page a.btn:hover { background: #edf5fa; }
.tracker-back { display: inline-block; margin-bottom: 8px; color: #0b618c; }
.tracker-panel { overflow: hidden; background: #fff; border: 1px solid #cfdce4; border-radius: 11px; }
.tracker-header { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; padding: 17px 20px; }
.tracker-header .mf-badge { margin-inline-start: auto; }
.tracker-header p { color: var(--quiet); font-size: 13px; }
.tracker-workspace {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.tracker-workspace h2 { font-size: 17px; }
.tracker-form, .tracker-workspace form[data-form="costs"], .tracker-workspace form[data-form="costs-day"] { max-width: 730px; }
.tracker-block + .tracker-block { padding-top: 20px; border-top: 1px solid #e3ebf0; }
.tracker-block form { margin-top: 10px; }
.tracker-form-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.tracker-form-footer a { color: #0b618c; }
.tracker-success { color: #176044; }
.tracker-tabs {
  display: flex;
  flex-wrap: wrap;
  padding: 6px 20px;
  gap: 4px;
  background: #eff5f8;
}
.tracker-tabs a {
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}
.tracker-tabs a:hover { background: #e4eff6; }
.tracker-tabs a[aria-current="page"] {
  border-color: #b4d1e0;
  background: #fff;
  color: #0b618c;
  font-weight: 650;
}
#cost-campaigns:not(:empty), #costPreview:not(:empty) {
  padding-top: 14px;
  border-top: 1px solid #e3ebf0;
}
#costPreview:not(:empty) { margin-top: 14px; }
#costPreview h3 { font-size: 15px; }
.tracker-cost-details { margin-block: 9px; }
.tracker-cost-details summary { cursor: pointer; }
.tracker-cost-details .tableBox { max-height: 230px; overflow: auto; }
#tracker-routes .tableBox, #cost-history .tableBox { max-height: 480px; overflow: auto; }
#tracker-routes > .btn { margin-top: 10px; }
.tracker-workspace .tracker-profile { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 5px 0; }
.tracker-workspace .tracker-profile input { width: auto; }
.tracker-profile small { color: var(--quiet); }
.tracker-profile-picker { min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid #d4e1e9; border-radius: 6px; }
.tracker-profile-list { margin-top: 5px; max-height: 180px; overflow: auto; }
.tracker-workspace .tracker-profile[hidden] { display: none; }
#tracker-routes .tracker-block { margin-bottom: 16px; }
#costPreview .tableBox { margin-bottom: 10px; max-height: 320px; overflow: auto; }
.tracker-journal-error { max-width: 310px; white-space: normal; }
@media (max-width: 960px) {
  .settings-layout { grid-template-columns: minmax(0, 1fr); }
  .settings-page { max-width: 700px; }
}
@media (max-width: 510px) {
  .settings-row {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }
  .settings-section > h2, .settings-footer, .settings-heat-legend { padding-inline: 12px; }
  .settings-control { grid-column: 2; justify-self: start; }
}
.accounts-view button,
.accounts-view input,
.accounts-view select {
  border-color: #a4b1bd;
  border-radius: 4px;
  min-height: 36px;
}
.accounts-view button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.accounts-view button:hover:not(:disabled) {
  border-color: #849ba9;
  background: #f1f6fa;
}
.accounts-view .primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.accounts-view button.primary:hover:not(:disabled) {
  background: #0668a6;
  color: white;
  border-color: #0668a6;
}
.accounts-view :is(input, button, select, a, summary):focus-visible {
  outline: 2px solid #087bec;
  outline-offset: 2px;
}
.mf-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 19px;
  flex-wrap: wrap;
}
.mf-title h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: normal;
}
.mf-title > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mf-title button {
  flex: none;
  padding: 8px 13px;
  white-space: nowrap;
}
.profile-split {
  display: grid;
  grid-template-columns: minmax(248px, min(28vw, 344px)) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.profile-list-panel,
.profile-detail-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 1px 2px #1c2b330c;
}
.profile-split .profile-list-panel {
  position: sticky;
  top: calc(var(--accounts-nav-height) + 12px);
  overflow: hidden;
}
.profile-list-header {
  min-height: 0;
  padding: 12px 14px;
  justify-content: flex-start;
  gap: 9px;
  border-color: #e1e8ed;
}
.profile-list-header h2 { font-size: 14px; }
.profile-list-header .mf-count { align-self: center; margin: 0; }
.accounts-view .profile-connection-check {
  margin-inline-start: auto;
  min-height: 29px;
  padding: 3px 7px;
  gap: 5px;
  font-size: 11px;
}
.profile-connection-check .mf-icon { width: 13px; height: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .profile-connection-check[aria-busy='true'] .mf-icon { animation: profile-action-spin 650ms linear infinite; }
}
.profile-list {
  max-height: max(210px, calc(100dvh - 204px));
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.profile-list-item + .profile-list-item { border-top: 1px solid #e6ecf0; }
.profile-list-item:has(.profile-list-open[aria-pressed='true']) {
  background: #eaf4fb;
  box-shadow: inset 3px 0 var(--accent);
}
.accounts-view .profile-list-open {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: 100%;
  min-height: 60px;
  min-width: 0;
  gap: 8px;
  padding: 7px 14px;
  color: var(--ink);
  text-align: left;
  border: 0;
  background: transparent;
}
.accounts-view .profile-list-open:hover:not(:disabled) { background: transparent; }
.profile-list-open:focus-visible { outline-offset: -2px; }
.profile-list-open .profile-avatar { align-self: center; margin: 0; }
.profile-list-name { min-width: 0; overflow-wrap: anywhere; }
.profile-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; margin-top: 3px; }
.profile-connection-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}
.profile-connection-indicator > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.profile-connection-indicator.good { color: #17593e; background: #e3f2e9; }
.profile-connection-indicator.bad { color: #9d1320; background: #fbe9eb; }
.profile-connection-indicator.warn { color: #785000; background: #fff2d5; }
.profile-connection-indicator.neutral { color: #4a606f; background: #eef2f5; }
.profile-connection-note { display: block; margin-top: 4px; color: var(--quiet); font-size: 11px; line-height: 1.4; font-weight: 500; }
.profile-detail-panel { padding: 17px; scroll-margin-top: 108px; }
.profile-detail-header {
  min-height: 0;
  padding: 0;
  border: 0;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: none;
  color: var(--ink);
}
.profile-detail-identity { display: flex; flex: 1 1 225px; gap: 11px; min-width: 0; }
.profile-detail-identity .profile-avatar { width: 44px; height: 44px; margin: 0; font-size: 14px; }
.profile-detail-identity .profile-line { line-height: 1.25; }
.profile-detail-identity .profile-line button { font-size: 20px; }
.profile-detail-identity .meta-email { overflow-wrap: anywhere; }
.profile-detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}
.accounts-view .profile-detail-actions button {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}
.accounts-view .profile-detail-actions .mf-iconbtn {
  width: 36px;
  padding: 0;
}
.accounts-view .profile-detail-actions .mf-icon {
  width: 16px;
  height: 16px;
}
.accounts-view .profile-detail-actions button:active:not(:disabled) {
  background: #dceefa;
  border-color: var(--accent);
  box-shadow: inset 0 1px 2px #1c2b3326;
}
.profile-remove .mf-icon {
  stroke-width: 2.5;
}
.accounts-view .profile-detail-actions .profile-remove .mf-icon {
  width: 20px;
  height: 20px;
}
.accounts-view .profile-detail-actions .profile-remove:is(:hover, :focus-visible):not(:disabled) {
  color: white;
  background: var(--danger);
  border-color: var(--danger);
}
.accounts-view .profile-detail-actions .profile-remove:active:not(:disabled) {
  color: white;
  background: var(--danger-pressed);
  border-color: var(--danger-pressed);
}
.accounts-view .profile-detail-actions button[aria-busy='true'] {
  background: #eaf4fb;
  border-color: #c5ddeb;
  color: #08679e;
  opacity: 1;
  cursor: wait;
}
.profile-detail-actions button[aria-busy='true'] .mf-icon { display: none; }
.profile-detail-actions button[aria-busy='true']::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px dotted currentColor;
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .profile-detail-actions button {
    transition: background-color 130ms ease, border-color 130ms ease, color 130ms ease,
      box-shadow 130ms ease, scale 130ms ease;
  }
  .profile-detail-actions button:active:not(:disabled) { scale: .97; }
  .profile-detail-actions button[aria-busy='true']::before {
    border-style: solid;
    border-right-color: transparent;
    animation: profile-action-spin 650ms linear infinite;
  }
}
@keyframes profile-action-spin {
  to { rotate: 1turn; }
}
.profile-detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0;
}
.profile-detail-summary > div {
  padding: 9px 11px;
  border-radius: 6px;
  background: #f2f7fb;
}
.profile-detail-summary dt { margin-bottom: 3px; color: var(--quiet); font-size: 12px; }
.profile-detail-summary dd { margin: 0; }
.profile-detail-spend { font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-detail-assets {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.profile-detail-related { display: grid; gap: 10px; }
.profile-asset-panel { min-width: 0; padding: 11px; border: 1px solid #dce5eb; border-radius: 8px; }
.profile-asset-panel h3 { font-size: 14px; margin-bottom: 7px; }
.profile-detail-cabinets,
.profile-detail-related .business-cabinets { max-height: 19rem; overflow: auto; overscroll-behavior: contain; }
.profile-detail-cabinets { container-type: inline-size; }
.profile-detail-cabinets .asset-item { font-size: 13px; padding: 7px 0; }
.profile-detail-pages { list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) {
  .profile-detail-assets { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .profile-split .profile-list-panel { position: static; }
}
@media (max-width: 760px) {
  .profile-split { grid-template-columns: minmax(0, 1fr); }
  .profile-list { max-height: 32dvh; }
}
.workspace-table {
  overflow: clip;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 1px 2px #1c2b330c;
}
.workspace-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.workspace-table thead {
  position: sticky;
  top: var(--accounts-nav-height);
  z-index: 2;
}
.accounts-view :where(tbody, .profile-list, .profile-detail-cabinets, .business-cabinets,
  .profile-detail-pages, .active-campaign-list, .stats-checks) > * {
  --row-bg: var(--row-surface);
  background-color: var(--row-bg);
}
.accounts-view :where(tbody, .profile-list, .profile-detail-cabinets, .business-cabinets,
  .profile-detail-pages, .active-campaign-list, .stats-checks) > :nth-child(even) {
  --row-bg: var(--row-surface-alt);
}
@media (hover: hover) {
  .accounts-view :where(tbody > tr:not(.group-row, .stats-empty), .profile-list-item):hover {
    --row-bg: var(--row-surface-hover);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .workspace-table tbody tr {
    transition: background-color 140ms ease-out;
  }
}
.workspace-table td,
.workspace-table th,
.picker-table td,
.picker-table th {
  padding: 11px 10px;
  border: 0;
  border-bottom: 1px solid #e0e6eb;
  color: var(--ink);
}
.workspace-table th,
.picker-table th {
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  position: relative;
  white-space: normal;
}
.workspace-table th:not(:first-child):not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 30%;
  height: 40%;
  border-right: 1px solid #d6dfe5;
}
.workspace-table tbody tr:last-child td {
  border-bottom: 0;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.workspace-toolbar > label { max-width: 100%; }
.workspace-toolbar select[data-filter] {
  max-width: min(220px, 100%);
  padding: 7px 11px;
  border-color: #b9cbd8;
  border-radius: 7px;
  background-color: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.workspace-toolbar select[data-filter]:hover { border-color: #829eaf; }
.workspace-toolbar .profile-search { border-radius: 7px; }

@supports (appearance: base-select) and selector(select::picker(select)) {
  .workspace-toolbar select[data-filter],
  .workspace-toolbar select[data-filter]::picker(select) {
    appearance: base-select;
  }
  .workspace-toolbar select[data-filter] { gap: 10px; }
  .workspace-toolbar select[data-filter]:open {
    border-color: var(--accent);
    background-color: #f6faff;
  }
  .workspace-toolbar select[data-filter]::picker-icon {
    flex: none;
    color: var(--quiet);
    font-size: 13px;
  }
  .workspace-toolbar select[data-filter]:open::picker-icon {
    rotate: 180deg;
    color: var(--accent);
  }
  .workspace-toolbar select[data-filter]::picker(select) {
    max-width: min(340px, calc(100vw - 24px));
    max-height: min(320px, 45dvh);
    margin-block: 5px;
    padding: 4px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border: 1px solid #c8d5df;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 6px 22px #1c2b3326;
  }
  .workspace-toolbar select[data-filter] option {
    gap: 8px;
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 5px;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
  }
  .workspace-toolbar select[data-filter] option:hover { background: #f0f5f9; }
  .workspace-toolbar select[data-filter] option:checked {
    background: #e7f2fa;
    color: #125a86;
    font-weight: 650;
  }
  .workspace-toolbar select[data-filter] option:focus-visible {
    outline: 2px solid #087bec;
    outline-offset: -2px;
  }
  .workspace-toolbar select[data-filter] option::checkmark {
    order: 1;
    margin-inline-start: auto;
    color: var(--accent);
  }
  @media (prefers-reduced-motion: no-preference) {
    .workspace-toolbar select[data-filter]::picker-icon {
      transition: rotate var(--reveal-duration) var(--reveal-easing);
    }
    .workspace-toolbar select[data-filter]::picker(select) {
      opacity: 0;
      translate: 0 var(--reveal-offset);
      transition: opacity var(--reveal-duration) var(--reveal-easing),
        translate var(--reveal-duration) var(--reveal-easing),
        display var(--reveal-duration) allow-discrete,
        overlay var(--reveal-duration) allow-discrete;
    }
    .workspace-toolbar select[data-filter]:open::picker(select) {
      opacity: 1;
      translate: none;
    }
    @starting-style {
      .workspace-toolbar select[data-filter]:open::picker(select) {
        opacity: 0;
        translate: 0 var(--reveal-offset);
      }
    }
  }
}
:is(.workspace-toolbar, .delivery-result) .seg { background: white; border: 1px solid var(--line); border-radius: 5px; }
:is(.workspace-toolbar, .delivery-result) .seg button { background: transparent; color: var(--ink); min-height: 30px; }
:is(.workspace-toolbar, .delivery-result) .seg button[aria-pressed='true'] { background: #283943; color: white; box-shadow: none; }
.workspace-toolbar .seg { border-radius: 7px; }
.workspace-table table { min-width: var(--work-table-width, 660px); }
.workspace-table td { white-space: normal; vertical-align: middle; overflow-wrap: anywhere; }
.workspace-table :is(td, th):first-child { width: 24%; }
.workspace-table .empty { margin: 0; }
.workspace-table .fanpage-row { padding: 0; }
.work-cabinets { --work-table-width: 870px; }
.work-cabinets :is(td, th):first-child { width: 20%; }
.work-cabinets :is(td, th):nth-child(2) { width: 19%; }
.work-cabinets :is(td, th):nth-child(3) { width: 17%; }
.work-cabinets :is(td, th):nth-child(4) { width: 13%; }
.work-cabinets :is(td, th):nth-child(5) {
  width: 12%;
  padding-inline-end: 14px;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.work-cabinets :is(td, th):nth-child(6) { width: 11%; }
.work-cabinets :is(td, th):last-child { width: 8%; }
.work-cabinets td { padding-block: 9px; }
.work-cabinets .mf-badge { white-space: normal; }
.cabinet-status-info {
  display: grid;
  justify-items: start;
  gap: 4px;
}
.accounts-view .cabinet-status-info button.asset-campaigns { font-size: 11px; }
.cabinet-status-info .work-detail { margin: 0; }
.cabinet-filter-count {
  min-width: 18px;
  padding: 1px 4px;
  border-radius: 10px;
  background: #edf2f6;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
[data-cabinet-status][aria-pressed='true'] .cabinet-filter-count {
  background: #ffffff25;
  color: white;
}
.work-pages { --work-table-width: 820px; }
.work-pages :is(td, th):first-child { width: 29%; }
.work-pages :is(td, th):nth-child(2) { width: 15%; }
.work-pages :is(td, th):nth-child(3) { width: 19%; }
.work-pages :is(td, th):nth-child(4) { width: 16%; }
.work-pages :is(td, th):nth-child(5) { width: 7%; }
.work-pages :is(td, th):last-child { width: 14%; }
.work-pages .mf-badge { white-space: normal; }
.work-rules :is(td, th):nth-child(3) { width: 24%; }
.work-detail { display: block; margin-top: 2px; font-size: 12px; color: var(--quiet); }
.work-meta { color: var(--blue); font-variant-numeric: tabular-nums; }
.accounts-view .work-text-action {
  min-height: 0;
  border: 0;
  padding: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 650;
  text-align: left;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.accounts-view .work-text-action:hover:not(:disabled) { background: transparent; text-decoration: underline; }
.work-text-action .mf-icon { width: 13px; height: 13px; }
.accounts-view .workspace-table.work-rules button[data-do] { min-height: 30px; padding: 4px 8px; font-size: 12px; }
@media (max-width: 1040px) {
  .workspace-table { max-height: 60dvh; overflow: auto; }
  .workspace-table thead { top: 0; }
}
@media (max-width: 490px) {
  .workspace-toolbar .profile-search { flex-basis: 100%; }
}
.accounts-view input[type='checkbox'] {
  min-height: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0876c9;
  vertical-align: middle;
  cursor: pointer;
}
.profile-avatar {
  align-self: flex-start;
  width: 36px;
  height: 36px;
  flex: none;
  margin-top: 3px;
  border: 1px solid #c3d9e9;
  font-size: 12px;
}
.profile-body {
  min-width: 0;
  flex: 1;
}
.profile-line {
  line-height: 18px;
}
.profile-line button {
  display: inline !important;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  background: transparent;
}
.local-code,
.picker-table small {
  font:
    12px/1.4 'Optimistic',
    sans-serif;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.meta-email {
  font-size: 11px;
  color: #657a88;
}
.profile-meta,
.asset-item code,
.picker-table code {
  display: block;
  font:
    12px/1.5 'Optimistic',
    sans-serif;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.accounts-view button.meta-id {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.accounts-view button.meta-id:hover:not(:disabled) {
  background: transparent;
  text-decoration: underline;
}
.copy-status {
  margin-right: auto;
  color: var(--quiet);
  font-size: 12px;
}
.profile-chips {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.accounts-view .profile-chips button {
  min-height: 21px;
  background: #f8fafb;
  color: #4a6273;
  border: 1px solid #d7e0e6;
  border-radius: 4px;
  padding: 1px 5px;
  gap: 4px;
  font-size: 10px;
}
.auto-chip i {
  width: 17px;
  height: 10px;
  border-radius: 8px;
  background: #a0adb6;
  display: inline-flex;
  align-items: center;
  padding: 1.5px;
}
.auto-chip i::after {
  content: '';
  border-radius: 50%;
  background: white;
  width: 7px;
  height: 7px;
}
.auto-chip[aria-checked='true'] i {
  background: #087bc1;
  justify-content: flex-end;
}
.mf-count {
  font-size: 10px;
  font-weight: 650;
  color: var(--ink);
  background: #f2f4f7;
  border-radius: 10px;
  padding: 1px 5px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 3px;
}
.accounts-view .asset-menu-button {
  width: 100%;
  display: grid;
  border-color: var(--line);
  background: var(--row-bg, var(--row-surface));
  color: var(--ink);
  text-align: left;
}
.asset-menu-button .mf-count { margin: 0; }
:is(.asset-menu-button, .account-menu, .group-expand) .icon-down {
  width: 9px;
  height: 9px;
  color: var(--quiet);
}
.business-entry[open] > summary .icon-down,
.account-menu[open] > summary .icon-down,
.group-expand[aria-expanded='true'] .icon-down { transform: rotate(180deg); }
.fanpage-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.profile-detail-pages li + li { border-top: 1px solid #e0e6eb; }
.fanpage-avatar {
  display: grid;
  place-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  background: #e5edf4;
  color: #283943;
  border-radius: 50%;
  font-weight: 600;
}
.fanpage-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.fanpage-platform { position: absolute; right: -2px; bottom: -2px; width: 15px; height: 15px; }
.fanpage-info { min-width: 0; overflow-wrap: anywhere; }
.fanpage-info a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 400; }
.fanpage-info a:hover { text-decoration: underline; }
.fanpage-info code { display: block; color: var(--blue); font: inherit; font-size: 11px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.accounts-view .asset-trigger {
  padding: 6px 8px;
  grid-template-columns: minmax(0,1fr) auto 9px;
  gap: 4px 3px;
  font-size: 12px;
}
.asset-trigger .asset-label {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.asset-label b {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.asset-label .mf-icon {
  width: 14px;
  height: 14px;
  color: #283943;
}
.asset-trigger > .icon-down {
  grid-column: 3;
  grid-row: 1;
}
.asset-trigger .asset-date {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11px;
  color: var(--quiet);
}
.business-entry + .business-entry { border-top: 1px solid #dde5eb; }
.business-entry > summary {
  --row-bg: var(--row-surface);
  list-style: none;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
  min-height: 36px;
}
.business-entry:where(:nth-child(even of .business-entry)) > summary { --row-bg: var(--row-surface-alt); }
.business-entry[open] > summary,
.business-entry > summary:hover { --row-bg: var(--row-surface-hover); }
.business-entry > summary:focus-visible { outline-offset: -2px; }
.business-cabinets {
  margin: 4px 6px 6px;
  padding: 0 8px;
  border-left: 2px solid #dde5eb;
}
.asset-empty {
  margin: 0;
  padding: 8px 0;
  font-size: 12px;
  color: var(--quiet);
}
@keyframes panel-reveal {
  from { opacity: 0; translate: 0 var(--reveal-offset); }
}
@keyframes panel-backdrop-reveal {
  from { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.account-menu > div, .picker-group-rows) {
    opacity: 0;
    translate: 0 var(--reveal-offset);
    transition-property: opacity, translate, display, overlay;
    transition-duration: var(--reveal-duration);
    transition-timing-function: var(--reveal-easing);
    transition-behavior: allow-discrete;
  }
  :is(.account-menu[open] > div, .picker-group-rows:not([hidden])) {
    opacity: 1;
    translate: none;
  }
  @starting-style {
    :is(.account-menu[open] > div, .picker-group-rows:not([hidden])) {
      opacity: 0;
      translate: 0 var(--reveal-offset);
    }
  }
  :is(.asset-menu-button, .account-menu, .group-expand) .icon-down {
    transition: transform var(--reveal-duration) var(--reveal-easing);
  }
  .profile-list-item {
    transition: background-color var(--reveal-duration) var(--reveal-easing),
      box-shadow var(--reveal-duration) var(--reveal-easing);
  }
  :is(.profile-detail-enter, .accounts-view dialog[open]) {
    animation: panel-reveal var(--reveal-duration) var(--reveal-easing);
  }
  .accounts-view dialog[open]::backdrop {
    animation: panel-backdrop-reveal var(--reveal-duration) var(--reveal-easing);
  }
  @supports selector(details::details-content) {
    .accounts-view details::details-content {
      transition: content-visibility var(--reveal-duration) var(--reveal-easing) allow-discrete;
    }
    .accounts-view details:not(.account-menu)::details-content {
      opacity: 0;
      translate: 0 var(--reveal-offset);
      transition-property: opacity, translate, content-visibility;
    }
    .accounts-view details:not(.account-menu)[open]::details-content {
      opacity: 1;
      translate: none;
    }
    @supports (interpolate-size: allow-keywords) {
      .accounts-view details:not(.account-menu)::details-content {
        interpolate-size: allow-keywords;
        block-size: 0;
        overflow: clip;
        transition-property: block-size, opacity, translate, content-visibility;
      }
      .accounts-view details:not(.account-menu)[open]::details-content { block-size: auto; }
    }
  }
  @supports not selector(details::details-content) {
    .accounts-view details:not(.account-menu)[open] > :not(summary) {
      animation: panel-reveal var(--reveal-duration) var(--reveal-easing);
    }
  }
}
.asset-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  grid-template-areas: 'identity summary' 'payment payment';
  gap: 3px 8px;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.3;
}
.asset-item + .asset-item { border-top: 1px solid #dde5eb; }
.asset-identity,
.asset-summary {
  display: grid;
  align-content: start;
  gap: 1px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.asset-identity { grid-area: identity; }
.asset-timezone { margin-inline-start: 3px; color: var(--quiet); font-size: 10px; white-space: nowrap; }
.asset-summary { grid-area: summary; justify-items: end; text-align: right; }
.asset-spent {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.asset-item code, .asset-meta {
  font-size: 10px;
  line-height: 1.25;
}
.asset-meta { color: var(--quiet); }
.asset-statuses {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
}
.accounts-view button.asset-campaigns {
  min-height: 22px;
  max-width: 100%;
  padding: 1px 3px;
  gap: 4px;
  border-color: transparent;
  background: transparent;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}
.accounts-view button.asset-campaigns:hover:not(:disabled) { background: #eaf2f8; }
.asset-campaigns .mf-icon { width: 10px; height: 10px; }
.asset-campaigns::before {
  content: '';
  align-self: center;
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #81919d;
}
.accounts-view button.asset-campaigns.active { color: #145b3c; }
.asset-campaigns.active::before { background: #218457; }
.active-campaign-list {
  max-height: 42dvh;
  margin: 12px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.active-campaign-list li {
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.active-campaign-list li + li { border-top: 1px solid #dde5eb; }
.accounts-view dialog:has(.delivery-result) { width: min(780px, 94vw); }
.delivery-levels { margin-bottom: 12px; }
.delivery-table {
  --work-table-width: 560px;
  max-height: 50dvh;
  overflow: auto;
}
.delivery-table thead { top: 0; }
.delivery-table :is(th, td) { padding: 10px; }
.delivery-table :is(th, td):first-child { width: auto; }
.delivery-table :is(th, td):nth-child(2) { width: 16%; }
.delivery-table :is(th, td):nth-child(3) { width: 20%; }
.delivery-table :is(th, td):nth-child(4) { width: 166px; }
.delivery-table :is(th, td):nth-child(5) { width: 94px; }
.delivery-table .mf-badge {
  white-space: normal;
}
.delivery-table .mf-badge.pending { color: #765000; background: #fff2c9; }
.delivery-table .meta-id { white-space: nowrap; }
.accounts-view .delivery-table button[data-do='pause-review'] {
  min-height: 29px;
  padding: 3px 7px;
  font-size: 12px;
  white-space: nowrap;
}
.asset-item .mf-badge {
  white-space: normal;
  font-size: 10px;
  line-height: 1.3;
  padding: 0 4px;
}
.asset-item a {
  color: var(--blue);
  text-decoration: none;
}
.cabinet-payment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.asset-item .cabinet-payment { grid-area: payment; }
.cabinet-payment a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); text-decoration: none; }
.cabinet-payment .cabinet-payment-card { color: var(--ink); font-weight: 650; }
.cabinet-payment a:hover { text-decoration: underline; }
.cabinet-billing {
  color: var(--quiet);
  font-size: 11px;
}
.cabinet-billing b { color: var(--ink); font-weight: 650; }
.payment-brand {
  flex: none;
  border-radius: 3px;
  padding: 2px 5px;
  background: #283943;
  color: white;
  font-size: 9px;
  font-weight: 750;
}
.payment-brand.visa { background: #1c32bb; font-style: italic; }
@container (min-width: 430px) {
  .profile-detail-cabinets .asset-item {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: 'identity payment summary';
    align-items: center;
    column-gap: 12px;
  }
  .profile-detail-cabinets .cabinet-payment { justify-self: center; align-items: center; }
}
.sum {
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap !important;
}
.mf-badge {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.65;
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
  border-radius: 12px;
  padding: 0 7px;
}
.mf-badge.good {
  color: #145b3c;
  background: #e5f3eb;
}
.mf-badge.neutral {
  color: #42535f;
  background: #edf1f4;
}
.mf-badge.warn {
  color: #fff;
  background: #a20b18;
}
.mf-badge.bad {
  color: #fff;
  background: #a20b18;
}
.accounts-view .mf-iconbtn,
.accounts-view .group-expand {
  border: 0;
  background: transparent;
  color: #283943;
  min-width: 24px;
  min-height: 29px;
  padding: 3px;
  flex: none;
}
.mf-iconbtn .mf-icon {
  width: 15px;
  height: 15px;
}
.accounts-view dialog {
  color: var(--ink);
  border: 1px solid #cad6df;
  border-radius: 6px;
  box-shadow: 0 12px 36px #1629383d;
}
.accounts-view dialog::backdrop {
  background: #152b3c72;
  backdrop-filter: blur(3px);
}
.token-guide {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f6f9fc;
}
.token-guide summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 650;
}
.token-guide-body {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.token-guide ol {
  margin: 0;
  padding-inline-start: 24px;
}
.token-guide li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.token-guide li p {
  margin: 4px 0 8px;
  color: var(--dim);
}
.token-guide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.token-guide-actions a {
  color: var(--accent, #0866a6);
}
.token-guide-actions .copy-status {
  color: var(--dim);
}
.token-guide-url {
  width: 100%;
  margin-top: 6px;
}
.accounts-view button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}
.accounts-view button.danger:hover:not(:disabled) {
  background: var(--danger-pressed);
  border-color: var(--danger-pressed);
}
dialog.account-wizard {
  padding: 0;
  width: min(1040px, 93vw);
  max-height: 92dvh;
  overflow-y: auto;
}
.account-wizard .dialogTop {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.account-wizard .dialogTop button {
  display: none;
}
.wizard-head,
.wizard-footer,
.wiz-section,
.picker-bar,
.pick-summary,
.wizard-steps,
.group-row td > button {
  display: flex;
  align-items: center;
}
.wizard-head {
  gap: 12px;
  border-bottom: 1px solid #dce4ea;
  padding: 18px 22px;
}
.gear-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #f2f4f7;
  color: #283943;
  border: 0;
  border-radius: 50%;
}
.wizard-head h2 {
  font-size: 18px;
}
.wizard-head p,
.wiz-section p {
  color: #576d7d;
  font-size: 12px;
  margin: 2px 0;
}
.wizard-head > .mf-iconbtn { margin-inline-start: auto; }
.wizard-steps {
  list-style: none;
  justify-content: center;
  gap: 0;
  background: #f6f9fb;
  border-bottom: 1px solid #dfe6eb;
  padding: 15px 12px;
  margin: 0;
}
.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #677c89;
  font-size: 12px;
  white-space: nowrap;
}
.wizard-steps li:not(:last-child)::after {
  content: '';
  width: clamp(10px, 3vw, 42px);
  height: 1px;
  background: #cbd6de;
  margin: 0 7px;
}
.wizard-steps i {
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  font-style: normal;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #e3eaf0;
}
.wizard-steps .current {
  color: #10568b;
  font-weight: 700;
}
.wizard-steps .current i {
  color: white;
  background: var(--accent);
}
.wizard-steps .complete i {
  color: #1170ae;
  background: #dceefb;
}
.wizard-content {
  padding: 19px 22px 13px;
}
.wiz-section {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.wiz-section h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.mf-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #576c7b;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.mf-progress progress {
  width: 75px;
  height: 6px;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  accent-color: var(--accent);
}
.mf-progress progress::-webkit-progress-bar {
  background: #e0e7ec;
}
.mf-progress progress::-webkit-progress-value {
  background: #0875bd;
}
.picker-bar {
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
:is(.picker-search, .profile-search) {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #b6c5d0;
  border-radius: 5px;
  padding: 0 8px;
  background: white;
}
.picker-search { width: min(275px, 100%); }
.profile-search { width: min(230px, 100%); }
:is(.picker-search, .profile-search) input {
  border: 0;
  padding: 4px;
  min-width: 0;
  width: 100%;
  background: transparent;
}
#content .profile-search input { max-width: none; }
:is(.picker-search, .profile-search):focus-within {
  outline: 2px solid #0877cb;
}
:is(.picker-search, .profile-search) input:focus-visible {
  outline: 0;
}
:is(.picker-search, .profile-search) .mf-icon {
  color: #637989;
}
.picker-filters {
  display: flex;
  gap: 3px;
}
.accounts-view .picker-filters button,
.accounts-view .clear-picks {
  border: 1px solid transparent;
  color: #526777;
  background: transparent;
  min-height: 29px;
  padding: 3px 7px;
  font-size: 12px;
}
.picker-filters button[aria-pressed='true'] {
  background: #e1eef8;
  color: #0978be;
  border-color: transparent;
}
.accounts-view .clear-picks {
  margin-left: auto;
}
.clear-picks .mf-icon {
  width: 13px;
  height: 13px;
}
.picker-scroll {
  overflow: auto;
  border: 1px solid #d3dfe7;
  border-radius: 7px;
  min-height: clamp(150px, 26vh, 320px);
  max-height: 42vh;
}
.picker-table {
  min-width: 670px;
  font-size: 13px;
}
.picker-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}
.picker-table :is(td, th):first-child {
  width: 35px;
  padding-right: 2px;
}
.picker-table .group-row td {
  width: auto;
  padding: 5px 8px;
  background: #f4f7fa;
}
.group-row td > button {
  display: inline-flex;
}
.group-row b {
  color: #1c5b87;
  font-size: 11px;
  background: #e9f2fa;
  padding: 2px 5px;
  border-radius: 3px;
}
.picker-table .picked td {
  background: var(--wash);
}
.picker-table code span {
  font:
    12px 'Optimistic',
    sans-serif;
}
.pick-summary {
  gap: 18px;
  margin-top: 12px;
  color: #516675;
  font-size: 12px;
}
.pick-summary b {
  color: #263f4e;
  font-variant-numeric: tabular-nums;
}
.wizard-footer {
  border-top: 1px solid #dce4ea;
  padding: 13px 22px;
  justify-content: flex-end;
  gap: 7px;
}
.wizard-footer .primary .mf-icon {
  order: 1;
  width: 14px;
}
.wiz-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 10px;
}
.review-list {
  margin: 0;
}
.review-list > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  padding: 8px 0;
  border-top: 1px solid #e4e9ed;
  font-size: 13px;
}
.review-list dt {
  color: #526878;
}
.review-list dd {
  margin: 0;
  font-weight: 600;
}
.mf-warning {
  color: #805516;
  background: #fff5de;
  padding: 8px 10px;
  font-size: 13px;
}
.account-wizard #formErr:not(:empty) {
  margin: 0 22px 12px;
}
.account-wizard #formErr:empty {
  display: none;
}
@media (max-width: 800px) {
  .accounts-view aside {
    gap: 8px;
    flex-wrap: wrap;
  }
  .accounts-view aside nav {
    order: 3;
    width: 100%;
  }
  .mf-title h1 {
    font-size: 20px;
  }
  .wizard-steps li:not(:last-child)::after {
    width: 12px;
    margin: 0 3px;
  }
  .picker-scroll {
    max-height: 38vh;
  }
  .picker-search {
    width: 100%;
  }
  .wizard-head,
  .wizard-content,
  .wizard-footer {
    padding: 12px;
  }
  .mf-title > div {
    flex-wrap: wrap;
  }
}
@media (max-width: 490px) {
  .mf-title > div,
  .profile-search {
    width: 100%;
  }
  .wizard-steps li {
    font-size: 10px;
    gap: 3px;
  }
  .wizard-steps i {
    width: 19px;
    height: 19px;
  }
  .wizard-head {
    gap: 6px;
  }
  .gear-box {
    display: none;
  }
  .wiz-section {
    align-items: flex-start;
  }
  .mf-progress progress {
    width: 26px;
  }
  .pick-summary {
    gap: 8px;
    flex-wrap: wrap;
  }
}

.accounts-view .mf-title .meta-icon {
  width: 18px;
  height: 18px;
}
.accounts-view .mf-iconbtn .meta-icon {
  width: 19px;
  height: 19px;
}
.accounts-view .account-wizard .wizard-steps .meta-icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 1160px) {
  .accounts-view aside {
    gap: 12px;
  }
  .accounts-view nav a {
    padding: 7px;
  }
  .profile-avatar {
    width: 28px;
    height: 28px;
  }
  .accounts-view .asset-trigger {
    padding: 4px;
  }
}
