@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root {
  font-family: 'DM Sans', sans-serif;
  color: #253b35;
  background: #f7f9f8;
  font-synthesis: none;
  font-size: 14px;
  --green: #214d3c;
  --ink: #1d352c;
  --muted: #7b8882;
  --border: #e6ebe7;
  --accent: #cce8a4;
  --surface: #fff;
  --sidebar: 245px;
  --tap-min: 44px;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.notification-tabs {
  display: flex;
  gap: 5px;
  margin: -8px 0 22px;
  border-bottom: 1px solid var(--border);
}
.notification-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 12px 17px;
  font-size: 12px;
  color: #7b8b70;
}
.notification-tabs button[aria-selected='true'] {
  border-bottom-color: #315d40;
  color: #315d40;
  font-weight: 600;
}
.audience-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.audience-fieldset legend {
  font-size: 11px;
  color: #738467;
  font-weight: 500;
  margin-bottom: 10px;
}
.audience-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.audience-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  border: 1px solid #e1e7d8;
  border-radius: 8px;
  padding: 14px 11px;
  margin: 0;
  cursor: pointer;
}
.audience-option.selected {
  background: #f1f6e9;
  border-color: #91ad79;
}
.audience-option input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #315d40;
  flex-shrink: 0;
}
.audience-option svg {
  width: 19px;
  height: 19px;
  color: #728c5d;
}
.audience-option strong {
  display: block;
  font-size: 12px;
  color: #45633b;
}
.audience-option small {
  display: block;
  font-size: 9px;
  color: #788c66;
  margin-top: 4px;
  line-height: 1.6;
}
.country-selector {
  max-height: 220px;
  overflow: auto;
  border: 1px solid #e1e7d8;
  padding: 13px;
  border-radius: 8px;
  margin: -8px 0 20px;
}
.country-selector .form-help {
  margin-bottom: 12px;
}
.country-option {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid #edf0e7;
}
.country-option:last-child {
  border: 0;
}
.country-option input {
  width: 13px;
  height: 13px;
  accent-color: #315d40;
}
.country-option small {
  font-size: 9px;
  margin-left: 5px;
  color: #93a17f;
}
.country-option > span:last-child {
  margin-left: auto;
  font-size: 9px;
  color: #7d8e6a;
  text-align: right;
}
.campaign-review {
  border: 1px solid #d1dfc1;
  border-radius: 8px;
  background: #f6f9f0;
  padding: 18px;
  margin-top: 20px;
}
.campaign-review-title {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #5c7e48;
}
.campaign-review-title h3 {
  font-size: 13px;
}
.audience-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 15px;
}
.audience-counts strong {
  display: block;
  font:
    650 25px 'Manrope',
    sans-serif;
  color: #355d30;
}
.audience-counts small {
  display: block;
  color: #7e916b;
  font-size: 10px;
  margin-top: 5px;
}
.campaign-review p {
  font-size: 10px;
  color: #7e916b;
  line-height: 1.8;
}
.campaign-review .checkbox-label {
  margin: 15px 0 0;
  font-size: 11px;
  align-items: flex-start;
  line-height: 1.7;
}
.campaign-review .checkbox-label input {
  margin-top: 3px;
  flex-shrink: 0;
}
.badge.queue-complete {
  background: #eaf1df;
  color: #648542;
}
.badge.cancelled {
  background: #f1f2ee;
  color: #8a927f;
}
@media (max-width: 650px) {
  .audience-options {
    grid-template-columns: 1fr;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions > .button {
    flex: 1;
  }
  .audience-counts {
    gap: 8px;
  }
  .audience-counts small {
    font-size: 9px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.logo,
.stat-value,
.chart-total {
  font-family: 'Manrope', sans-serif;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #85b66b;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #a8c58e;
  outline-offset: 1px;
  border-color: #a8c58e;
}
svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
small {
  font-size: 12px;
}
.muted-text {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #8a978e;
}
.logo {
  font-size: 31px;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  font-weight: 800;
  gap: 3px;
  color: var(--ink);
  width: max-content;
}
.logo-dot {
  width: 7px;
  height: 7px;
  background: #8eb870;
  border-radius: 50%;
  margin: 12px 8px 0 0;
}
.logo small {
  font-family: 'DM Sans', sans-serif;
  border: 1px solid #dbe4dc;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #6b7b70;
  padding: 4px 5px;
  margin-top: 3px;
}
.logo.light {
  color: #f3f7ed;
}
.logo.light small {
  color: #c5d2bf;
  border-color: #ffffff35;
}
.brand-mark {
  background: var(--green);
  color: #def0bf;
  border-radius: 14px;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  font-size: 34px;
  font-weight: 800;
}
.initial-loader,
.denied {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.denied p {
  max-width: 450px;
  line-height: 1.7;
  text-align: center;
  padding: 0 20px;
  color: var(--muted);
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  background: #f2f5ef;
  border-right: 1px solid #e1e7de;
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar > .logo {
  margin: 0 14px 34px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe6da;
  background: #ffffff8a;
  padding: 12px 9px;
  border-radius: 8px;
  margin-bottom: 31px;
}
.workspace-symbol {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: var(--green);
  color: #d8e9bf;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.workspace-label strong {
  font-size: 12px;
  font-weight: 650;
  display: block;
}
.workspace-label small {
  font-size: 10px;
  color: #899184;
  display: block;
  margin-top: 2px;
}
.workspace-env {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #7a8e6a;
  background: #e6eddc;
  padding: 3px 4px;
  border-radius: 3px;
}
.nav-heading {
  padding: 0 14px;
  margin: 0 0 12px;
  color: #939d91;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 5px;
  border-radius: 7px;
  font-size: 12px;
  color: #778574;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item svg {
  width: 17px;
  height: 17px;
}
.nav-item:hover {
  background: #e8eee2;
  color: var(--green);
}
.nav-item.active {
  color: #254f36;
  background: #e0ead4;
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  background: #cadbb8;
  border-radius: 4px;
  min-width: 20px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 38px;
}
.connection {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #839079;
  padding: 10px 14px 17px;
}
.pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79a66c;
  box-shadow: 0 0 0 3px #81b27319;
}
.pulse.muted {
  background: #b7a075;
  box-shadow: none;
}
.staff-profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #dfe6dc;
  padding: 19px 5px 0;
  margin-top: 13px;
}
.staff-profile strong {
  display: block;
  font-size: 12px;
}
.staff-profile small {
  color: #8b9587;
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.staff-profile .icon-button {
  margin-left: auto;
}
.avatar {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: #ecf0e9;
  color: #677d5c;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.3px;
}
.avatar.small {
  height: 30px;
  width: 30px;
  font-size: 10px;
  background: #e6eddf;
}
.main-wrap {
  margin-left: var(--sidebar);
  width: calc(100% - var(--sidebar));
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px;
  border-bottom: 1px solid var(--border);
  background: #ffffffbb;
  gap: 15px;
}
.breadcrumb {
  font-size: 11px;
  color: #9aa49e;
  display: flex;
  gap: 14px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #586c60;
}
.breadcrumb span {
  color: #bdc6be;
}
.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.today {
  font-size: 11px;
  color: #8b958c;
}
.topbar-divider {
  height: 18px;
  border-left: 1px solid var(--border);
}
.icon-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  width: var(--tap-min);
  height: var(--tap-min);
  padding: 6px;
  color: #809080;
  transition: background 0.15s;
}
.icon-button:hover {
  background: #eaf0e5;
  color: var(--green);
}
.icon-button svg {
  width: 16px;
  height: 16px;
}
.mobile-menu {
  display: none;
}
#content {
  padding: 38px 39px 30px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}
h1 {
  font-size: 29px;
  letter-spacing: -1.2px;
  font-weight: 650;
  line-height: 1.3;
}
.page-heading p {
  font-size: 12px;
  color: #879287;
  margin-top: 9px;
  line-height: 1.6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 9px 14px;
  border: 1px solid #e1e7df;
  background: #fff;
  color: #61715f;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 550;
  white-space: normal;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button svg {
  width: 14px;
  height: 14px;
}
.button:hover {
  background: #f0f5eb;
}
.button.primary {
  background: #234d38;
  color: #fff;
  border-color: #234d38;
  box-shadow: 0 2px 3px #1830210b;
}
.button.primary:hover {
  background: #173b28;
}
.button.small {
  font-size: 10px;
  padding: 6px 10px;
  min-height: var(--tap-min);
}
.button.danger {
  color: #b44f46;
  background: #fff5f2;
  border-color: #f1d8d1;
}
.button.wide {
  width: 100%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.stat-card {
  padding: 20px 20px 17px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 3px #23452b02;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #7c8b7c;
  font-weight: 500;
  gap: 10px;
}
.stat-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #6d8b5e;
  background: #f0f5e9;
  border-radius: 7px;
}
.stat-icon svg {
  width: 14px;
  height: 14px;
}
.stat-icon.amber {
  background: #fff5e3;
  color: #bf9a51;
}
.stat-icon.purple {
  background: #f1eff9;
  color: #9786b9;
}
.stat-value {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1.6px;
  margin: 12px 0 15px;
  line-height: 1;
}
.stat-detail {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9aa298;
  min-height: 15px;
  flex-wrap: wrap;
}
.trend {
  color: #70985c;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.trend svg {
  width: 12px;
  height: 12px;
}
.dot-label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #7a9770;
}
.dot-label:before {
  content: '';
  width: 4px;
  height: 4px;
  background: #85aa6d;
  border-radius: 50%;
  display: block;
}
.dot-label.amber-dot {
  color: #b69a65;
}
.dot-label.amber-dot:before {
  background: #c3a46d;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  gap: 22px;
  margin-bottom: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 2px 3px #23452b02;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 23px 19px;
  gap: 15px;
}
.panel-heading h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.panel-heading p {
  color: #9aa398;
  font-size: 10px;
  margin-top: 6px;
  line-height: 1.5;
}
.subtle-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #8b9786;
  background: #f7f9f4;
  border: 1px solid #e9ede4;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 9px;
  white-space: nowrap;
}
.subtle-pill svg {
  width: 11px;
  height: 11px;
}
.chart-total {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
  padding: 0 23px;
}
.chart-total span {
  font-family: 'DM Sans';
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
  color: #9ca595;
  margin-left: 7px;
}
.chart {
  display: flex;
  gap: 12px;
  height: 175px;
  margin: 30px 23px 36px;
}
.chart-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: #b2baad;
  padding-bottom: 4px;
  min-width: 16px;
}
.bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: 1px solid #e8eee2;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent calc(50% - 1px),
    #f0f3ec calc(50% - 1px),
    #f0f3ec 50%
  );
  min-width: 0;
}
.bar-slot {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-width: 0;
}
.bar {
  width: 100%;
  max-width: 32px;
  background: #e2edcf;
  border-radius: 4px 4px 0 0;
  min-height: 3px;
  position: relative;
  transition: height 0.5s;
}
.bar:hover {
  background: #adc98a;
}
.bar.last {
  background: #466b40;
}
.bar span {
  display: none;
  font-size: 10px;
  color: var(--green);
  position: absolute;
  top: -20px;
  width: 100%;
  text-align: center;
}
.bar:hover span {
  display: block;
}
.bar-slot small {
  position: absolute;
  top: calc(100% + 12px);
  white-space: nowrap;
  color: #a4ae9c;
  font-size: 8px;
}
.system-panel {
  background: #f3f6ee;
  border-color: #e2e8db;
}
.system-panel .eyebrow {
  font-size: 8px;
  color: #8c9a7e;
  margin-bottom: 7px;
  display: block;
}
.system-panel .panel-heading {
  padding-bottom: 0;
}
.system-panel h2 {
  font-size: 14px;
}
.system-panel > p {
  text-align: center;
  font-size: 12px;
  color: #a1ac95;
  line-height: 1.65;
}
.system-panel > p strong {
  color: #526c44;
  font-weight: 550;
}
.pulse-orbit {
  width: 95px;
  height: 95px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 8px auto 5px;
}
.pulse-orbit > div {
  width: 40px;
  height: 40px;
  background: #e0e9d2;
  border: 1px solid #d5e0c5;
  display: grid;
  place-items: center;
  transform: rotate(-10deg);
  border-radius: 11px;
  color: #779063;
}
.pulse-orbit > div svg {
  width: 22px;
  height: 22px;
}
.pulse-orbit > span {
  position: absolute;
  border: 1px solid #dce5d1;
  border-radius: 50%;
  width: 64px;
  height: 64px;
}
.pulse-orbit > span:last-child {
  width: 88px;
  height: 88px;
  border-style: dashed;
  border-color: #e0e7d8;
}
.system-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 23px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e9d9;
  font-size: 10px;
  color: #9aa58d;
}
.system-row:first-of-type {
  margin-top: 15px;
}
.system-row:last-child {
  border: 0;
  padding-bottom: 21px;
}
.system-row strong {
  font-weight: 600;
  color: #687e56;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #7a916c;
  font-weight: 500;
}
.text-link svg {
  width: 12px;
  height: 12px;
}
.text-link:hover {
  color: #214d3c;
}
.inbox-list {
  padding: 0 23px 5px;
}
.inbox-item {
  border: 0;
  border-top: 1px solid #eef1e9;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  text-align: left;
  padding: 15px 0;
}
.inbox-item:hover strong {
  color: #5f8248;
}
.issue-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #f3f0e8;
  border: 1px solid #eae5d7;
  border-radius: 7px;
  color: #b0a07e;
  flex-shrink: 0;
}
.issue-icon svg {
  width: 15px;
  height: 15px;
}
.issue-icon.critical,
.issue-icon.high {
  color: #b67161;
  background: #fcf0e9;
  border-color: #f1dfd3;
}
.inbox-item > div {
  flex: 1;
  min-width: 0;
}
.inbox-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #60715b;
  font-weight: 500;
}
.inbox-item small {
  display: block;
  color: #a1ab98;
  font-size: 9px;
  margin-top: 7px;
}
.inbox-item small span,
.timeline small span {
  padding: 0 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  line-height: 1.4;
  padding: 4px 7px;
  background: #f1f3ef;
  color: #8a9782;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 500;
}
.badge.open,
.badge.high,
.badge.investigating {
  background: #faf4e6;
  color: #b69a5c;
}
.badge.active,
.badge.resolved,
.badge.queued,
.badge.superadmin {
  background: #eaf1df;
  color: #7f9a60;
}
.badge.suspended,
.badge.critical,
.badge.no-devices {
  background: #fbeee8;
  color: #bf8672;
}
.badge.admin {
  background: #e9eff5;
  color: #8196aa;
}
.badge.support {
  background: #f0ecf6;
  color: #a08cb5;
}
.badge.viewer {
  background: #f0f2ee;
  color: #89947f;
}
.badge.low,
.badge.closed,
.badge.expired {
  background: #f0f2ef;
  color: #a2ac9b;
}
.timeline {
  padding: 0 23px 15px;
}
.timeline-item {
  display: flex;
  gap: 13px;
  padding: 12px 0;
  position: relative;
}
.timeline-point {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #f1f5ea;
  border: 1px solid #e9efdf;
  border-radius: 50%;
  color: #a0b18e;
}
.timeline-point svg {
  width: 11px;
  height: 11px;
}
.timeline-item:not(:last-child):after {
  position: absolute;
  content: '';
  left: 12px;
  top: 39px;
  height: 14px;
  border-left: 1px dashed #e0e7d6;
}
.timeline-item strong {
  font-size: 10px;
  font-weight: 500;
  color: #718068;
}
.timeline-item small {
  display: block;
  font-size: 9px;
  color: #a2ad99;
  margin-top: 6px;
}
.main-footer {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6px 39px 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b1baab;
  font-size: 9px;
  width: 100%;
}
.main-footer > span:first-child {
  letter-spacing: 0.3px;
}
.main-footer > span > span {
  margin: 0 8px;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--border);
}
.search-field {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 360px;
  flex: 1;
  color: #9ba893;
}
.search-field svg {
  width: 15px;
  height: 15px;
}
.search-field input {
  border: 0;
  outline: none;
  box-shadow: none;
  width: 100%;
  padding: 7px 3px;
  font-size: 11px;
  background: none;
}
.search-field input::placeholder {
  color: #a7b09e;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.toolbar-right select {
  padding: 7px 26px 7px 9px;
  font-size: 10px;
  color: #89977e;
  background: #f9faf7;
  border: 1px solid #e5eadf;
  border-radius: 5px;
}
.result-count {
  font-size: 10px;
  color: #9ca791;
  white-space: nowrap;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  color: #9aa68e;
  font-weight: 500;
  padding: 14px 22px;
  background: #fafbf8;
  border-bottom: 1px solid #edf0e8;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #f0f2ed;
  font-size: 11px;
  color: #829076;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfdf9;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.person-cell strong {
  font-size: 11px;
  color: #526749;
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 550;
}
.person-cell small {
  font-size: 9px;
  color: #a1ac96;
  display: block;
  margin-top: 5px;
}
.device-count {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #91a180;
}
.device-count svg {
  width: 13px;
  height: 13px;
}
.report-cell {
  max-width: 330px;
  min-width: 150px;
}
.report-cell strong {
  font-weight: 550;
  font-size: 11px;
  color: #637957;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  max-width: 310px;
}
.report-cell small {
  display: block;
  max-width: 310px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 9px;
  color: #a4ae9a;
  margin-top: 6px;
}
.cell-sub {
  display: block;
  font-size: 9px;
  color: #adb6a3;
  margin-top: 5px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: #a0ac94;
  gap: 15px;
}
.pagination > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.action-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7c916b;
}
.action-label svg {
  width: 14px;
  height: 14px;
}
code {
  font-size: 10px;
  color: #8f9b85;
  background: #f5f7f1;
  padding: 4px 6px;
  border-radius: 4px;
}
.empty {
  min-height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 32px;
  gap: 12px;
  color: #a2b093;
}
.empty > svg {
  width: 27px;
  height: 27px;
  color: #aabd97;
  margin-bottom: 4px;
}
.empty h3 {
  font-size: 13px;
  color: #7b906d;
  font-weight: 600;
}
.empty p {
  font-size: 11px;
  max-width: 330px;
  line-height: 1.7;
  color: #a4af99;
}
.overview-grid.lower .empty {
  min-height: 210px;
}
.role-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.role-guide article {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 20px;
  background: #fff;
}
.role-symbol {
  display: grid;
  place-items: center;
  background: #eff4e7;
  color: #97ad7c;
  border-radius: 8px;
  width: 31px;
  height: 31px;
  margin-bottom: 16px;
}
.role-symbol svg {
  width: 16px;
  height: 16px;
}
.role-guide h3 {
  font-size: 12px;
  margin-bottom: 7px;
}
.role-guide p {
  font-size: 10px;
  color: #9aa88c;
  line-height: 1.8;
}
.you-label {
  font-size: 7px;
  color: #94a680;
  background: #eff3e7;
  border-radius: 3px;
  padding: 2px 4px;
  margin-left: 3px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.connection-tag {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #8b9f76;
}
.detail-list {
  padding: 0 23px 20px;
  margin: 0;
}
.detail-list > div {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e7;
  font-size: 11px;
}
.detail-list > div:last-child {
  border: 0;
}
.detail-list dt {
  color: #9da88f;
}
.detail-list dd {
  margin: 0;
  color: #738565;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.panel-form {
  padding: 0 23px 24px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #738467;
  font-weight: 500;
  margin-bottom: 18px;
}
input,
textarea,
select {
  border: 1px solid #e1e7d8;
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  color: #415a35;
  font-size: 12px;
  max-width: 100%;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #b1baa6;
}
input:disabled,
textarea:disabled,
select:disabled {
  background: #f7f9f3;
  color: #9eaa91;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
select {
  min-height: 39px;
}
.form-help {
  font-size: 10px;
  color: #a0ac91;
  line-height: 1.8;
  margin-bottom: 20px;
}
.form-error {
  color: #b47767;
  font-size: 11px;
  line-height: 1.6;
  margin: 9px 0 14px;
}
.form-error:empty {
  display: none;
}
.info-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.8;
  color: #9aaa88;
  padding: 14px 2px;
}
.info-note svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
dialog {
  width: min(510px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
  padding: 27px;
  border-radius: 13px;
  border: 1px solid #e0e8d6;
  box-shadow: 0 24px 90px #1b312b30;
  color: var(--ink);
}
dialog.wide-dialog {
  width: min(650px, calc(100vw - 32px));
}
dialog::backdrop {
  background: #18342866;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}
.dialog-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
  display: block;
}
.dialog-heading h2 {
  font-size: 20px;
  letter-spacing: -0.7px;
  font-weight: 650;
}
.dialog-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #92a17f;
  margin-bottom: 23px;
}
.dialog-actions {
  border-top: 1px solid #edf0e7;
  margin-top: 23px;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.dialog-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0e7;
}
.dialog-person > .avatar {
  width: 46px;
  height: 46px;
  font-size: 15px;
}
.dialog-person h3 {
  font-size: 16px;
}
.dialog-person p {
  font-size: 11px;
  color: #9ba78e;
  margin-top: 6px;
}
.dialog-person > .badge {
  margin-left: auto;
}
dialog .detail-list {
  padding: 0;
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #f0e4d9;
  padding-top: 21px;
  margin-top: 24px;
}
.danger-zone strong {
  font-size: 11px;
  color: #b1816b;
}
.danger-zone p {
  font-size: 10px;
  color: #b7a48f;
  margin-top: 6px;
  line-height: 1.7;
}
.bug-message {
  padding: 19px;
  background: #f6f8f0;
  border: 1px solid #e9eede;
  border-radius: 7px;
  line-height: 1.9;
  font-size: 13px;
  color: #7c8e69;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}
.phone-preview {
  display: flex;
  gap: 12px;
  background: #f1f4ec;
  border: 1px solid #e4ead9;
  padding: 16px;
  border-radius: 12px;
  margin: 20px 0 7px;
}
.app-notification-icon {
  background: var(--green);
  color: #ddecba;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 800;
  flex-shrink: 0;
}
.phone-preview > div:last-child {
  min-width: 0;
  flex: 1;
}
.phone-preview span {
  font-size: 9px;
  color: #a4b18f;
  display: flex;
  justify-content: space-between;
}
.phone-preview span small {
  font-size: 8px;
  font-weight: 400;
}
.phone-preview strong {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b8058;
  overflow-wrap: anywhere;
}
.phone-preview p {
  font-size: 11px;
  color: #96a480;
  line-height: 1.7;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.template-button {
  border: 0;
  background: none;
  padding: 0;
}
.checkbox-label {
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  margin: 10px 0;
}
.checkbox-label input {
  width: 13px;
  height: 13px;
  accent-color: #6c8851;
}
.recipient-results:empty {
  display: none;
}
.recipient-results {
  border: 1px solid #e2ead7;
  border-radius: 6px;
  overflow: hidden;
  margin: -12px 0 15px;
}
.recipient-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid #edf0e6;
  background: #fafcf5;
  text-align: left;
}
.recipient-option:hover {
  background: #eef4e2;
}
.recipient-option strong {
  font-size: 11px;
  color: #7f946a;
  font-weight: 500;
}
.recipient-option small {
  font-size: 9px;
  color: #a7b496;
  display: block;
  margin-top: 4px;
}
.selected-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: #f2f7e9;
  border: 1px solid #e0ebce;
  border-radius: 7px;
  margin-bottom: 18px;
}
.selected-person > span {
  flex: 1;
}
.selected-person strong {
  font-size: 11px;
  color: #81986b;
  font-weight: 500;
}
.selected-person small {
  display: block;
  font-size: 9px;
  color: #a2b18c;
  margin-top: 4px;
}
.selected-person > svg {
  width: 15px;
  height: 15px;
  color: #99b479;
}
.delivery-explainer {
  font-size: 11px;
  line-height: 1.8;
  color: #9fab8e;
  background: #f8faf3;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.delivery-response {
  border: 1px solid #e4ebda;
  border-radius: 6px;
  padding: 15px;
  margin-top: 12px;
}
.delivery-response strong {
  font-size: 10px;
  color: #93a47e;
}
.delivery-response pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 10px;
  color: #9bac83;
  line-height: 1.8;
  margin-bottom: 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 80px);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #294d38;
  color: #e1edcf;
  border: 1px solid #365d40;
  padding: 14px 19px;
  border-radius: 8px;
  box-shadow: 0 5px 30px #19321e20;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100vw - 40px);
  font-size: 12px;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #845e4c;
  color: #fbecde;
  border-color: #946954;
}
#toast svg {
  width: 16px;
  height: 16px;
}
.loading-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  gap: 12px;
  color: #9caa8b;
  font-size: 12px;
}
.spinner {
  border: 2px solid #dfe8d4;
  border-top-color: #7e9b63;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #1d3f31;
  color: #edf4df;
  padding: 45px 55px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-story:before {
  content: '';
  position: absolute;
  width: 650px;
  height: 650px;
  border: 1px solid #a3c77d12;
  border-radius: 50%;
  left: -310px;
  top: 160px;
  box-shadow:
    0 0 0 70px #8db66b05,
    0 0 0 140px #8db66b05,
    0 0 0 210px #8db66b05;
  pointer-events: none;
}
.login-copy {
  margin: auto 0;
  position: relative;
  padding: 60px 0;
}
.login-copy .eyebrow {
  color: #a3ba89;
  font-size: 9px;
}
.login-copy h1 {
  font-size: 53px;
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 500;
  margin: 22px 0;
}
.login-copy > p {
  font-size: 12px;
  line-height: 1.9;
  color: #a5b698;
}
.login-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}
.login-line span {
  width: 7px;
  height: 7px;
  background: #92b972;
  border-radius: 50%;
}
.login-line span:nth-child(2) {
  background: #729458;
}
.login-line span:nth-child(3) {
  background: #4e6b3d;
}
.login-line b {
  font-size: 7px;
  letter-spacing: 1.6px;
  color: #7f9a6e;
  font-weight: 500;
  margin-left: 10px;
}
.login-footer {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #7e996c;
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.login-footer span {
  letter-spacing: 0;
  font-size: 9px;
  color: #759163;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbf7;
  padding: 60px 40px;
  position: relative;
}
.login-card {
  max-width: 340px;
  width: 100%;
}
.login-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #edf3e2;
  color: #8ca574;
  border: 1px solid #e0e9d2;
  border-radius: 10px;
  margin-bottom: 29px;
}
.login-icon svg {
  width: 20px;
  height: 20px;
}
.login-card .eyebrow {
  font-size: 8px;
}
.login-card h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 9px 0 11px;
  font-weight: 600;
}
.login-card > p {
  font-size: 12px;
  color: #9aaa88;
  margin-bottom: 32px;
}
.login-card label {
  font-size: 11px;
  margin-bottom: 19px;
}
.login-card input {
  font-size: 12px;
  padding: 13px 14px;
  background: #fff;
}
.login-card .button {
  padding: 13px;
  margin-top: 7px;
  justify-content: space-between;
  font-size: 11px;
}
.access-note {
  display: flex;
  gap: 9px;
  font-size: 9px;
  line-height: 1.9;
  color: #b0bba1;
  padding-top: 23px;
  margin-top: 23px;
  border-top: 1px solid #e7ecde;
}
.access-note svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.login-bottom {
  position: absolute;
  bottom: 29px;
  font-size: 9px;
  color: #bac3ae;
}
.page-heading p,
.panel-heading p,
.stat-top,
.stat-detail,
.empty p,
.timeline-item small,
.person-cell small,
.report-cell small,
.pagination,
.result-count,
.detail-list dt,
.form-help,
.info-note,
.main-footer,
.access-note,
.login-card > p,
.login-card label,
.inbox-item small,
.today,
.connection,
.sidebar-bottom small,
.role-guide p,
.system-row {
  color: #73816b;
}
.stat-detail,
.panel-heading p,
.person-cell small,
.report-cell small,
.timeline-item small,
.inbox-item small,
.main-footer {
  font-size: 10px;
}
.nav-item {
  font-size: 13px;
  color: #66765d;
}
.table-scroll th {
  font-size: 10px;
  color: #758368;
}
.table-scroll td {
  font-size: 12px;
  color: #66785a;
}
.chart-grid,
.bar-slot small {
  color: #7f8e70;
}
.bar-slot:last-child small {
  right: 0;
}
.badge {
  font-size: 10px;
}
.page-heading p {
  font-size: 13px;
}
@media (min-width: 1500px) {
  :root {
    font-size: 15px;
    --sidebar: 260px;
  }
  #content {
    padding-top: 45px;
  }
  .stat-card {
    padding: 25px;
  }
  .stat-value {
    font-size: 39px;
  }
  .chart {
    height: 210px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(310px, 1fr);
  }
  .panel-heading {
    padding-top: 25px;
  }
  .login-copy h1 {
    font-size: 65px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 215px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar {
    padding: 0 25px;
  }
  #content {
    padding: 30px 25px;
  }
  .main-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(245px, 1fr);
    gap: 16px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-detail {
    font-size: 8px;
  }
  .stat-value {
    font-size: 30px;
  }
  .stat-top {
    font-size: 10px;
  }
  .role-guide {
    gap: 12px;
  }
  .role-guide article {
    padding: 16px;
  }
  .panel-heading {
    padding: 20px 18px;
  }
  .bars {
    gap: 7px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .today {
    display: none;
  }
  .topbar-right {
    gap: 13px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 35px;
  }
  .login-copy h1 {
    font-size: 43px;
  }
  .login-footer span {
    display: none;
  }
}
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .system-panel {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .role-guide {
    grid-template-columns: 1fr 1fr;
  }
  .chart {
    height: 190px;
  }
  .login-copy h1 {
    font-size: 37px;
  }
  .login-story {
    padding: 30px;
  }
  .login-panel {
    padding: 40px 25px;
  }
  .login-copy > p br {
    display: none;
  }
}
@media (max-width: 650px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    box-shadow: 10px 0 35px #173d3114;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-wrap {
    width: 100%;
    margin-left: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 18px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .breadcrumb {
    margin-right: auto;
    gap: 8px;
    font-size: 10px;
  }
  .topbar-right {
    gap: 7px;
  }
  .topbar-divider {
    display: none;
  }
  #content {
    padding: 25px 17px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 16px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-value {
    font-size: 30px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-detail {
    font-size: 8px;
    min-height: 26px;
    align-content: start;
  }
  .stat-icon {
    width: 23px;
    height: 23px;
  }
  .panel-heading {
    padding: 19px 17px;
  }
  .panel-heading h2 {
    font-size: 12px;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .overview-grid {
    margin-bottom: 16px;
  }
  .chart {
    margin: 25px 20px 36px;
    height: 160px;
  }
  .bars {
    gap: 6px;
  }
  .chart-total {
    padding: 0 17px;
  }
  .bar-slot small {
    font-size: 7px;
  }
  .table-toolbar {
    padding: 14px;
    gap: 10px;
    align-items: stretch;
    flex-direction: column;
  }
  .toolbar-right {
    justify-content: space-between;
  }
  .toolbar-right select {
    width: auto;
  }
  .search-field {
    max-width: none;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 13px 14px;
  }
  .pagination {
    padding: 13px 14px;
    font-size: 9px;
    gap: 8px;
  }
  .pagination > div {
    gap: 7px;
  }
  .pagination > div > span {
    display: none;
  }
  .main-footer {
    padding: 8px 17px 20px;
    font-size: 8px;
  }
  .role-guide {
    gap: 10px;
  }
  .role-guide p {
    font-size: 9px;
  }
  .role-guide article {
    padding: 15px;
  }
  .role-guide h3 {
    font-size: 11px;
  }
  .info-note {
    font-size: 9px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 22px 25px;
    min-height: 200px;
  }
  .login-copy {
    padding: 25px 0 8px;
  }
  .login-copy h1 {
    font-size: 31px;
    margin: 12px 0;
  }
  .login-copy h1 br {
    display: none;
  }
  .login-copy > p,
  .login-line,
  .login-footer {
    display: none;
  }
  .login-panel {
    padding: 35px 25px 60px;
    align-items: flex-start;
  }
  .login-icon {
    display: none;
  }
  .login-card h2 {
    font-size: 25px;
  }
  .login-bottom {
    bottom: 17px;
  }
  .login-story:before {
    top: -200px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 22px 18px;
  }
  .dialog-heading h2 {
    font-size: 19px;
  }
  .dialog-person h3 {
    font-size: 14px;
  }
  .dialog-person {
    flex-wrap: wrap;
  }
  .detail-list > div {
    font-size: 10px;
  }
  .detail-list dd code {
    font-size: 8px;
  }
  .danger-zone {
    align-items: flex-start;
  }
  .inbox-list,
  .timeline {
    padding-left: 17px;
    padding-right: 17px;
  }
  #toast {
    left: 50%;
    font-size: 11px;
    min-width: 250px;
  }
  .dialog-actions > .button {
    flex: 1;
  }
  .checkbox-label {
    font-size: 9px;
  }
  .phone-preview {
    padding: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.password-field {
  position: relative;
  display: block;
  width: 100%;
}
.password-field input {
  width: 100%;
  padding-right: 70px;
}
.password-toggle {
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.password-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
  border-radius: 4px;
}

.team-access-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.subscription-panel {
  border: 1px solid var(--border, #e4e5e7);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.subscription-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.subscription-heading h3 {
  margin: 0 0 4px;
}
.subscription-heading p,
.subscription-note {
  font-size: 12px;
  opacity: 0.7;
}
.subscription-panel .dialog-actions {
  flex-wrap: wrap;
}
.subscriptions-page {
  display: grid;
  gap: 24px;
}
.subscriptions-analytics,
.subscriptions-customer {
  padding: 24px;
}
.subscriptions-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.subscriptions-filters label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  flex: 1 1 140px;
}
.subscriptions-filters select {
  width: 100%;
}
.subscriptions-setup {
  padding: 20px;
  background: var(--bg, #f6f7f8);
  border-radius: 14px;
  margin: 16px 0;
}
.subscriptions-setup code {
  overflow-wrap: anywhere;
}
.subscription-revenue-total {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg, #f6f7f8);
  margin-bottom: 24px;
}
.subscription-revenue-total strong {
  display: block;
  font-size: clamp(28px, 5vw, 48px);
  margin: 12px 0;
  letter-spacing: -0.04em;
}
.subscription-revenue-total p,
.subscriptions-loading {
  font-size: 13px;
}
.subscriptions-loading {
  padding: 24px;
}
.subscriptions-metrics small {
  display: block;
  margin-top: 12px;
  opacity: 0.65;
  font-size: 11px;
}
.subscriptions-page .pagination > div {
  display: flex;
  gap: 8px;
}
.subscriptions-customer .subscription-panel {
  margin-bottom: 0;
}

/* Radar Management ------------------------------------------------------------------------ */
.radar-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat-icon.blue {
  background: #e9f0fb;
  color: #5b84c4;
}
.stat-icon.red {
  background: #fbeee8;
  color: #bf8672;
}
.radar-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 12px;
  flex-wrap: wrap;
}
.radar-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.radar-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.radar-tab svg {
  width: 15px;
  height: 15px;
}
.radar-add {
  margin-left: auto;
}
.radar-filters {
  flex-wrap: wrap;
  gap: 10px;
}
.radar-filter-row {
  flex-wrap: wrap;
  gap: 8px;
}
.radar-country-input {
  width: 110px;
}
.radar-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.muted-line {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.radar-map-filters {
  margin-bottom: 12px;
}
.radar-map-attribution {
  font-size: 12px;
  color: var(--muted);
}
.radar-map-attribution a {
  color: inherit;
}
.radar-map-panel {
  padding: 0;
  overflow: hidden;
}
.radar-map {
  height: 560px;
  width: 100%;
}
.radar-map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  flex-wrap: wrap;
}
.radar-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.radar-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.radar-legend .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.dot.fixed {
  background: #173d31;
}
.dot.unverified {
  background: #c27c0e;
}
.dot.removed {
  background: #9aa1a8;
}
.dot.mobile {
  background: #1f6feb;
}
.dot.mobile-old {
  background: #9db7e8;
}
.dot.duplicate {
  background: transparent;
  box-shadow: 0 0 0 2px #d93025;
}
.badge.duplicate,
.badge.removed,
.badge.disabled,
.badge.rejected,
.badge.off,
.badge.not-reviewed {
  background: #fbeee8;
  color: #bf8672;
}
.badge.verified,
.badge.approved,
.badge.on,
.badge.succeeded {
  background: #eaf1df;
  color: #7f9a60;
}
.badge.unverified,
.badge.running {
  background: #faf4e6;
  color: #b69a5c;
}
.badge.mapped {
  background: #e9eff5;
  color: #8196aa;
}
.badge.failed,
.badge.aborted {
  background: #fbeee8;
  color: #bf8672;
}
.radar-section {
  margin-top: 16px;
}
.radar-section h4 {
  margin: 0 0 8px;
  font-size: 13px;
}
.radar-duplicates,
.radar-history,
.radar-jobs {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.7;
}
.radar-jobs {
  margin-top: 12px;
  list-style: none;
  padding-left: 0;
}
.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.radar-reason,
.checkbox-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  font-size: 13px;
}
.checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.radar-reason textarea {
  min-height: 70px;
}
.form-grid .span-2 {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .radar-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .radar-map {
    height: 420px;
  }
  .radar-add {
    margin-left: 0;
  }
}
.radar-filter-row select {
  width: auto;
  min-width: 150px;
}
.radar-filter-row input[type='date'] {
  width: auto;
}
.checkbox-row {
  justify-content: flex-start;
}
.checkbox-row input[type='checkbox'] {
  width: auto;
  flex: none;
  margin: 0;
}

/* Radar management › Update cameras by country */
#camera-updates {
  margin-bottom: 16px;
}
.field-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.field-inline span {
  color: var(--muted);
  font-size: 13px;
}
.switch-inline,
.checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checkbox-line {
  display: flex;
  margin-top: 10px;
  font-weight: 600;
}
.preview-list {
  margin: 12px 0;
  padding-left: 20px;
  line-height: 1.7;
}
.preview-list [data-line='missing'] {
  color: #8a5a00;
}
.callout.warning {
  display: flex;
  gap: 10px;
  padding: 12px;
  margin: 12px 0;
  border: 1px solid #c27c0e;
  border-radius: 10px;
  background: #fff4dc;
  color: #6b4a00;
}
.radar-attribution {
  margin: 12px 4px 0;
  font-size: 12px;
  color: var(--muted);
}
.radar-attribution a {
  color: inherit;
}

/* Servers page (src/components/Servers.jsx) */
.server-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 23px;
}
.server-banner > svg {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
}
.server-banner.ok > svg {
  color: var(--green);
}
.server-banner.degraded > svg {
  color: #bf9a51;
}
.server-banner.down > svg {
  color: #bf8672;
}
.server-banner > div:first-of-type {
  flex: 1;
  min-width: 0;
}
.server-banner h2 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--ink);
}
.server-banner p,
.server-banner ul {
  margin: 0;
  color: var(--muted);
}
.server-banner ul {
  padding-left: 18px;
}
.server-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.server-meter {
  height: 6px;
  margin: 8px 0 2px;
  border-radius: 3px;
  background: #eef2ef;
  overflow: hidden;
}
.server-meter > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--green);
  transition: width 0.3s ease;
}
.server-meter.warning > span {
  background: #bf9a51;
}
.server-meter.critical > span {
  background: #bf8672;
}
.server-update {
  margin: 0;
  padding: 14px 20px 18px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .server-banner {
    flex-wrap: wrap;
  }
  .server-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
}
