@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/manrope.woff2") format("woff2");
}
:root {
  --bg: #f7f8fa;
  --white: #fff;
  --ink: #1b2529;
  --muted: #7c858c;
  --line: #e8ebee;
  --green: #b9ed87;
  --deep: #172a24;
  --sidebar: #14221d;
  --font: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px var(--font);
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #85b854;
  outline-offset: 3px;
}
button:hover {
  filter: brightness(0.97);
}
a {
  color: inherit;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: var(--sidebar);
  color: #b5c0b9;
  padding: 30px 19px 0;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f5f7f4;
  font: 800 27px var(--display);
  letter-spacing: 2px;
  padding: 0 14px;
}
.brand-mark {
  height: 42px;
  width: 42px;
  background: var(--green);
  border-radius: 11px;
  color: #17281c;
  font-size: 37px;
  line-height: 37px;
  text-align: center;
  letter-spacing: -4px;
  padding-right: 4px;
}
.brand-sub {
  display: block;
  font: 9px var(--font);
  letter-spacing: 2px;
  color: #8b9e92;
  margin-top: 2px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #71877a;
  padding: 43px 14px 15px;
  display: flex;
  justify-content: space-between;
}
.workspace-label span {
  border: 1px solid #405146;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 8px;
}
.nav {
  border: 0;
  width: 100%;
  background: none;
  color: #9eafa3;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 13px;
  margin: 3px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.nav > span {
  font-size: 19px;
  line-height: 20px;
  width: 20px;
  text-align: center;
}
.nav.active {
  background: #263b2d;
  color: #c6f39e;
}
.nav b {
  margin-left: auto;
  background: #38533c;
  border-radius: 4px;
  padding: 0 6px;
  font-size: 10px;
}
.nav-divider {
  height: 1px;
  background: #2b3a31;
  margin: 23px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 26px 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c2d1c6;
  font-size: 10px;
}
.sidebar-bottom small {
  display: block;
  color: #71877a;
  font-size: 9px;
  margin-top: 4px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #8acb66;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 4px;
}
.profile {
  border-top: 1px solid #2a3b30;
  display: flex;
  align-items: center;
  padding: 21px 2px;
  gap: 10px;
  font-size: 11px;
  color: #d3ddd5;
}
.profile small {
  display: block;
  color: #788e7e;
  font-size: 9px;
  margin-top: 2px;
}
.profile > span {
  margin-left: auto;
}
.avatar {
  background: #2c4132;
  border: 1px solid #456047;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #b9dcaa;
}
.shell {
  margin-left: 238px;
}
header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #fff;
}
.breadcrumb {
  font-size: 11px;
  color: #879097;
  display: flex;
  gap: 15px;
  align-items: center;
}
.breadcrumb span {
  color: #d1d6d9;
}
.breadcrumb b {
  font-weight: 500;
  color: #3b454a;
}
.header-right {
  display: flex;
  gap: 23px;
  align-items: center;
}
.manual-badge {
  font-size: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.manual-badge .live-dot {
  margin: 0;
}
.icon-button {
  border: 1px solid #dce1e4;
  background: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 11px;
  color: #67736e;
}
main {
  max-width: 1580px;
  margin: auto;
  padding: 37px 42px 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: #879088;
}
h1 {
  font: 650 31px var(--display);
  letter-spacing: -1.2px;
  margin: 9px 0 9px;
}
p {
  color: #7b858c;
  margin: 0;
  font-size: 12px;
}
h2 {
  font: 700 19px var(--display);
  letter-spacing: -0.5px;
  margin: 0;
}
h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.primary {
  border: 0;
  background: var(--green);
  color: #243821;
  border-radius: 6px;
  padding: 12px 17px;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}
.primary > span:first-child {
  font-size: 17px;
  font-weight: 400;
}
.primary .shortcut {
  font-size: 15px;
  border-left: 1px solid #a4d477;
  margin-left: 8px;
  padding-left: 13px;
}
.shop-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 27px;
}
.shop-icon {
  background: #f2f5ef;
  border: 1px solid #e8ede4;
  border-radius: 7px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 20px;
  color: #65745e;
}
.shop-select-wrap {
  min-width: 180px;
}
.shop-select-wrap label {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #88928a;
  display: block;
}
.shop-select-wrap select {
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 20px 2px 0;
  max-width: 255px;
  color: var(--ink);
}
.shop-url {
  font-size: 10px;
  color: #8c969a;
  border-left: 1px solid var(--line);
  padding-left: 19px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-button {
  border: 0;
  background: none;
  font-size: 10px;
  color: #526648;
  white-space: nowrap;
  margin-left: auto;
}
.section-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #7b8585;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.section-label span {
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
  color: #939c9f;
}
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 16px;
  min-height: 137px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
}
.metric-icon {
  height: 25px;
  color: #708176;
  font-size: 19px;
}
.metric-label {
  font-size: 10px;
  color: #717c81;
  margin: 10px 0 5px;
  white-space: nowrap;
}
.metric-value {
  font: 650 28px var(--display);
  letter-spacing: -1px;
}
.metric-value span {
  font: 11px var(--font);
  color: #a1aaad;
  letter-spacing: 0;
  margin-left: 3px;
}
.metric-status {
  font-size: 9px;
  color: #9aa3a5;
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tiny-dot {
  height: 4px;
  width: 4px;
  background: #b7c1b9;
  border-radius: 50%;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 20px;
  margin-bottom: 23px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 22px 17px;
  gap: 12px;
}
.panel-heading h3 {
  font-size: 12px;
}
.panel-heading p {
  font-size: 10px;
  margin-top: 4px;
}
.panel-body {
  padding: 0 22px 22px;
}
.pill {
  border-radius: 4px;
  padding: 3px 7px;
  background: #f0f3ef;
  color: #73816c;
  font-size: 9px;
  white-space: nowrap;
}
.pill.green {
  background: #eef7e6;
  color: #587b35;
}
.pill.critical {
  background: #fff0ec;
  color: #bd6655;
}
.pill.warning {
  background: #fff6e7;
  color: #ac803a;
}
.pill.info {
  background: #eef2f5;
  color: #75838f;
}
.empty-chart {
  height: 193px;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 43px,
    #edf0ed 44px,
    #edf0ed 45px
  );
  margin: 0 8px 0 30px;
  border-bottom: 1px solid #e9ede9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chart-placeholder {
  text-align: center;
  background: #fff;
  padding: 20px;
  color: #6f7d72;
  font-size: 11px;
  max-width: 260px;
}
.chart-placeholder strong {
  display: block;
  font-weight: 550;
  font-size: 12px;
  color: #46574a;
  margin-bottom: 5px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9ba39e;
  padding: 12px 8px 0 30px;
}
.insight-panel {
  background: #eef3e9;
  border-color: #e3eadc;
  position: relative;
}
.insight-panel .panel-heading {
  padding-bottom: 12px;
}
.insight-icon {
  height: 29px;
  width: 29px;
  border: 1px solid #d7e2cf;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #f7faf4;
  color: #76955f;
  font-size: 18px;
}
.insight-panel h2 {
  font-size: 23px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 285px;
  letter-spacing: -0.8px;
  margin: 6px 0 12px;
}
.insight-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: #7a8774;
  max-width: 295px;
}
.insight-panel .text-button {
  display: inline-block;
  margin: 21px 0 0;
  padding: 0;
  color: #4e683d;
  font-size: 10px;
  font-weight: 600;
}
.overview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 20px;
}
.empty-findings {
  padding: 30px 20px 34px;
  text-align: center;
  color: #8d9890;
  font-size: 11px;
}
.empty-glyph {
  width: 40px;
  height: 40px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border: 1px solid #e4eae1;
  border-radius: 50%;
  font-size: 21px;
  color: #a5b49c;
  background: #f8faf6;
}
.empty-findings strong {
  display: block;
  color: #5d6d61;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
}
.scope-list {
  padding: 0 22px 15px;
}
.scope-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2ef;
  color: #69776c;
}
.scope-row:last-child {
  border: 0;
}
.scope-row > span:first-child {
  font-size: 13px;
  color: #91a77d;
}
.scope-row small {
  margin-left: auto;
  font-size: 8px;
  color: #8c978d;
  background: #f4f6f2;
  padding: 2px 6px;
  border-radius: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #9aa19f;
  font-size: 9px;
  padding: 26px 0 22px;
  gap: 15px;
}
footer > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
footer .live-dot {
  height: 4px;
  width: 4px;
  margin: 0;
}
footer b {
  color: #687b63;
  margin-left: 7px;
}
.running {
  border: 1px solid #dbe9ce;
  background: #f0f8e9;
  border-radius: 7px;
  padding: 13px 18px;
  margin-bottom: 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.running .live-dot {
  animation: pulse 1s infinite;
}
.hidden {
  display: none !important;
}
.wide {
  width: 100%;
  margin-top: 18px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  width: 470px;
  max-width: calc(100vw - 32px);
  color: var(--ink);
  box-shadow: 0 30px 100px #14221d30;
}
dialog::backdrop {
  background: #14221d70;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 24px;
  margin: 18px 0 8px;
}
dialog p {
  margin-bottom: 23px;
  font-size: 12px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close {
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: #7c8581;
  padding: 0 3px;
}
label {
  font-size: 11px;
  display: block;
  color: #57675c;
  margin: 15px 0;
}
input,
select {
  border: 1px solid #dfe5df;
  border-radius: 5px;
  padding: 10px 11px;
  background: #fff;
  color: #28392b;
  width: 100%;
  margin-top: 7px;
}
input::placeholder {
  color: #a0aaa1;
}
input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.callout {
  font-size: 10px;
  color: #7b8879;
  line-height: 1.7;
  padding: 13px 14px;
  background: #f4f7f0;
  border: 1px solid #e8eddf;
  border-radius: 6px;
  margin-top: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 400px;
  border-radius: 8px;
  background: #243c2c;
  color: white;
  font-size: 12px;
  padding: 15px 20px;
  box-shadow: 0 5px 20px #0002;
  z-index: 100;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar select,
.toolbar input {
  width: auto;
  margin: 0;
  font-size: 11px;
  padding: 8px 10px;
}
.toolbar input {
  flex: 1;
  min-width: 150px;
}
.secondary {
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 5px;
  padding: 9px 13px;
  color: #576b50;
  font-size: 11px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
th {
  color: #8b9690;
  font-weight: 500;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #fbfcfa;
}
th,
td {
  padding: 14px 20px;
  border-bottom: 1px solid #eef1ed;
}
td.url {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7d8a7e;
}
.finding-row {
  cursor: pointer;
}
.finding-row:hover {
  background: #fafcf7;
}
.finding-title {
  font-weight: 550;
  max-width: 420px;
}
.finding-title small {
  font-size: 9px;
  color: #98a095;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}
.empty-large {
  padding: 65px 30px;
  text-align: center;
  color: #8b978c;
}
.empty-large h2 {
  margin: 15px 0 8px;
}
.empty-large p {
  max-width: 420px;
  margin: auto;
  line-height: 1.8;
}
.empty-large button {
  margin-top: 23px;
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.tab {
  padding: 9px 17px;
  background: white;
  color: #7c877b;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
}
.tab.active {
  background: #eaf3e2;
  border-color: #cdddbe;
  color: #48683a;
}
.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.stat-box {
  padding: 22px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
}
.stat-box small {
  font-size: 10px;
  color: #879382;
}
.stat-box strong {
  display: block;
  font: 650 25px var(--display);
  margin-top: 7px;
}
.pre {
  white-space: pre-wrap;
  word-break: break-word;
  font:
    11px/1.8 ui-monospace,
    monospace;
  background: #f5f7f3;
  border-radius: 6px;
  padding: 15px;
  max-height: 350px;
  overflow: auto;
  color: #5c6b56;
}
#detail-dialog {
  width: 740px;
}
#detail-dialog h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8c9787;
  margin: 24px 0 8px;
}
#detail-dialog .recommendation {
  font-size: 12px;
  color: #5b6d53;
  line-height: 1.8;
}
.result-chart {
  height: 205px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  padding: 20px 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.chart-col {
  flex: 1;
  min-width: 32px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.chart-bar {
  background: #b9df9d;
  width: 70%;
  min-width: 15px;
  border-radius: 4px 4px 0 0;
}
.chart-col small {
  font-size: 8px;
  color: #8e9a87;
  padding: 5px 0;
}
.chart-col b {
  font-size: 9px;
  font-weight: 500;
  color: #667e57;
}
.notice {
  font-size: 11px;
  padding: 13px 17px;
  border: 1px solid #e5e9df;
  border-radius: 6px;
  background: #f4f7f0;
  color: #76846e;
  line-height: 1.8;
  margin-bottom: 18px;
}
.integration {
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}
.integration label {
  max-width: 620px;
}
.integration h3 {
  margin-bottom: 8px;
}
.integration .secondary {
  margin: 15px 10px 0 0;
}
.status-text {
  font-size: 10px;
  color: #87927f;
  margin: 10px 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.config-code {
  font:
    11px/1.8 ui-monospace,
    monospace;
  white-space: pre-wrap;
  padding: 12px;
  background: #f6f8f4;
  color: #6f7c65;
  border-radius: 5px;
}
.module-link {
  background: none;
  border: 0;
  font-size: 9px;
  color: #758c67;
}
.audit-status {
  font-size: 10px;
}
.scope-meta {
  font-size: 9px;
  color: #919c8b;
  margin-top: 8px;
}
.error {
  color: #ba6655;
}
.section-spacer {
  margin-top: 23px;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@media (min-width: 1550px) {
  main {
    padding-top: 46px;
  }
  .metric-card {
    min-height: 151px;
  }
  .empty-chart {
    height: 230px;
  }
  .insight-panel h2 {
    margin-top: 20px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 208px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .shell {
    margin-left: 208px;
  }
  main {
    padding: 30px 26px 0;
  }
  header {
    padding: 0 26px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric-card {
    min-height: 115px;
  }
  .metric-icon {
    float: right;
  }
  .shop-url {
    display: none;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .grid-main,
  .overview-bottom {
    grid-template-columns: 1.3fr 1fr;
  }
}
@media (max-width: 800px) {
  .sidebar {
    width: 66px;
    padding: 24px 8px;
  }
  .brand {
    padding: 0;
  }
  .brand > span:nth-child(2),
  .workspace-label,
  .sidebar-bottom,
  .profile,
  .nav-divider,
  .nav b {
    display: none;
  }
  .brand-mark {
    width: 42px;
    flex-shrink: 0;
  }
  .sidebar nav {
    margin-top: 35px;
  }
  .nav {
    font-size: 0;
    justify-content: center;
    padding: 12px 0;
  }
  .nav > span {
    font-size: 21px;
  }
  .shell {
    margin-left: 66px;
  }
  header {
    height: 60px;
    padding: 0 20px;
  }
  main {
    padding: 26px 20px 0;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .eyebrow {
    font-size: 7px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .primary {
    font-size: 10px;
    padding: 9px 10px;
  }
  .shortcut {
    display: none;
  }
  .grid-main,
  .overview-bottom,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 8px;
  }
  .metric-card {
    padding: 13px 10px;
  }
  .metric-label {
    font-size: 9px;
  }
  .metric-value {
    font-size: 25px;
  }
  .shop-bar {
    padding: 12px;
    gap: 9px;
  }
  .shop-select-wrap {
    min-width: 0;
    flex: 1;
  }
  .shop-select-wrap select {
    max-width: 100%;
    font-size: 11px;
  }
  .text-button {
    font-size: 9px;
  }
  .shop-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .shop-select-wrap label {
    font-size: 7px;
  }
  .panel-heading {
    padding: 17px;
  }
  .panel-body {
    padding: 0 17px 17px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .manual-badge {
    font-size: 9px;
  }
  .stats-inline {
    gap: 8px;
  }
  .stat-box {
    padding: 15px;
  }
  .stat-box strong {
    font-size: 21px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .finding-title small {
    max-width: 190px;
  }
  .toolbar {
    padding: 12px;
  }
  .toolbar select {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.shop-select-wrap label {
  margin: 0;
}
.shop-select-wrap select {
  margin-top: 2px;
  width: auto;
}
.brand-sub {
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: 1.5px;
}

/* Marketing workspace */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.marketing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.marketing-toolbar > div:first-child {
  display: flex;
  gap: 12px;
  align-items: center;
}
.marketing-toolbar .scope-meta {
  margin: 0;
}
.marketing-controls {
  display: flex;
  gap: 9px;
}
.marketing-controls select {
  margin: 0;
  width: auto;
  font-size: 10px;
  padding: 9px;
}
.source-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 26px;
}
.source-chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  display: flex;
  gap: 9px;
  text-align: left;
  padding: 13px 10px;
  align-items: center;
  color: #46534a;
  min-width: 0;
  font-size: 9px;
}
.source-chip > span:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.source-chip small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #98a092;
  font-size: 8px;
  margin-top: 5px;
}
.source-symbol {
  height: 29px;
  width: 29px;
  min-width: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
  background: #f0f3ed;
  color: #779267;
}
.source-symbol.ga4 {
  background: #fff2d9;
  color: #c58a2b;
}
.source-symbol.clarity {
  background: #e6f4ed;
  color: #489370;
}
.source-symbol.gsc {
  background: #eaf1fc;
  color: #6689c3;
}
.source-symbol.google_ads {
  background: #eef1fc;
  color: #7891bf;
}
.source-symbol.meta_ads {
  background: #eaf2ff;
  color: #6596d2;
}
.source-symbol.gtm {
  background: #e9f2fe;
  color: #668fbd;
}
.source-symbol.crux {
  background: #f2f0e3;
  color: #ac9a50;
}
.tiny-dot.connected {
  background: #7fae57;
}
.marketing-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 19px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.marketing-tabs .tab {
  white-space: nowrap;
  font-size: 10px;
  padding: 8px 13px;
  background: none;
  border-color: transparent;
}
.marketing-tabs .tab.active {
  background: #eaf3e2;
  border-color: #dce9ce;
  color: #4a6b39;
}
.snapshot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #95a08f;
  margin-bottom: 15px;
  gap: 15px;
}
.marketing-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.marketing-kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 17px;
  min-width: 0;
}
.kpi-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #7c8975;
  gap: 7px;
}
.kpi-label > span {
  color: #9cab91;
  font-size: 15px;
}
.marketing-kpi strong {
  display: block;
  font: 650 26px var(--display);
  letter-spacing: -0.8px;
  margin: 10px 0;
  color: #2a3a29;
  overflow-wrap: anywhere;
}
.marketing-kpi small {
  font-size: 8px;
  color: #9aa490;
  display: block;
  line-height: 1.7;
}
.marketing-kpis.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}
.marketing-kpis.compact .marketing-kpi strong {
  font-size: 23px;
}
.marketing-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.marketing-main .stats-inline {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.marketing-main .stat-box {
  padding: 14px 10px;
}
.source-meta {
  padding: 0 22px 15px;
  color: #8c9984;
  font-size: 9px;
  line-height: 1.8;
}
.marketing-insight {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.marketing-insight:first-child {
  padding-top: 0;
}
.marketing-insight:last-child {
  border-bottom: 0;
}
.marketing-insight h3 {
  margin: 9px 0;
}
.marketing-insight p {
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.8;
}
.daily-chart {
  height: 205px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  padding: 25px 7px 0;
  border-bottom: 1px solid #e8ede3;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 43px,
    #f1f4ee 44px,
    #f1f4ee 45px
  );
}
.daily-bar-wrap {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-width: 2px;
}
.daily-bar {
  width: 100%;
  background: #b7db98;
  border-radius: 3px 3px 0 0;
  transition: height 0.3s;
}
.daily-bar-wrap:hover .daily-bar {
  background: #8bb666;
}
.funnel-volumes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 5px 0 20px;
}
.funnel-volumes > div {
  background: #f5f8f0;
  border: 1px solid #e9eedf;
  border-radius: 7px;
  padding: 18px 15px;
}
.funnel-volumes small {
  font-size: 10px;
  color: #7f8e72;
}
.funnel-volumes strong {
  display: block;
  font: 650 28px var(--display);
  margin: 10px 0;
  color: #597346;
}
.funnel-volumes span {
  font:
    8px ui-monospace,
    monospace;
  color: #99a68e;
}
.connection-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.connection-title h3 {
  margin: 0;
}
.source-strip + .marketing-tabs {
  margin-top: 0;
}
.marketing-tabs ~ .panel {
  margin-bottom: 20px;
}
.source-meta + table {
  margin-top: 0;
}
.marketing-main .insight-panel h2 {
  font-size: 27px;
}
@media (min-width: 1550px) {
  .source-chip {
    font-size: 11px;
    padding: 15px 13px;
  }
  .source-chip small {
    font-size: 9px;
  }
  .marketing-kpi {
    padding: 23px 20px;
  }
  .marketing-kpi strong {
    font-size: 31px;
  }
}
@media (max-width: 1250px) {
  .source-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .marketing-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .marketing-toolbar {
    align-items: flex-start;
  }
  .marketing-toolbar > div:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .marketing-kpi strong {
    font-size: 24px;
  }
}
@media (max-width: 900px) {
  .marketing-main {
    grid-template-columns: 1fr;
  }
  .marketing-kpis.compact {
    grid-template-columns: repeat(2, 1fr);
  }
  .marketing-controls {
    flex-direction: column;
  }
  .funnel-volumes {
    grid-template-columns: repeat(2, 1fr);
  }
  .marketing-toolbar .scope-meta {
    font-size: 8px;
  }
}
@media (max-width: 600px) {
  .source-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .marketing-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .marketing-kpi {
    padding: 14px 12px;
  }
  .marketing-kpi strong {
    font-size: 23px;
  }
  .marketing-toolbar {
    flex-direction: column;
    gap: 12px;
  }
  .marketing-toolbar > div:first-child {
    flex-direction: row;
    align-items: center;
  }
  .marketing-controls {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .marketing-controls select {
    max-width: 165px;
    font-size: 9px;
  }
  .marketing-controls .secondary {
    font-size: 9px;
  }
  .snapshot-label {
    align-items: flex-start;
  }
  .marketing-tabs {
    gap: 3px;
  }
  .marketing-tabs .tab {
    padding: 8px 10px;
  }
  .sidebar nav {
    max-height: calc(100vh - 115px);
    overflow: auto;
  }
  .source-chip {
    padding: 11px 9px;
  }
}

.brand-mark {
  flex-shrink: 0;
}
.brand {
  padding: 0 10px;
  gap: 10px;
}
.brand-sub {
  font-size: 7px;
  letter-spacing: 1.15px;
}
@media (max-width: 800px) {
  .brand {
    padding: 0;
  }
}
.login-page{min-height:100vh;background:#14221d;display:grid;place-items:center;padding:28px}.login-card{background:#f8faf6;border:1px solid #dfe8d8;border-radius:15px;padding:42px;width:440px;max-width:100%;margin:0;box-shadow:0 30px 100px #0003}.login-card .brand{color:#243625;padding:0;margin-bottom:40px}.login-card .brand-sub{color:#809075}.login-card h1{font-size:27px;line-height:1.3;margin-bottom:16px}.login-card>p{line-height:1.8;margin-bottom:25px}.login-card small{display:block;color:#97a28e;font-size:9px;text-align:center;margin-top:25px}.login-card .error{font-size:11px;margin-top:10px}.logout-button{background:none;border:0;color:#a7b8a5;font-size:10px;padding:0;margin-left:auto}
.login-page{grid-template-columns:minmax(0,1fr)}
.login-card{min-width:0;justify-self:center}
@media(max-width:480px){.login-page{padding:20px}.login-card{padding:30px 24px}.login-card .brand{margin-bottom:30px}}
