:root {
  color-scheme: light;
  --ink: #182b3c;
  --muted: #5c6a74;
  --fine: #d4dcdb;
  --paper: #f6f7f4;
  --panel: #fff;
  --navy: #172f4c;
  --green: #a7eac5;
  --teal: #176952;
  --orange: #a5462d;
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    'Microsoft YaHei',
    'Noto Sans CJK SC',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
svg:focus-visible {
  outline: 3px solid #2f8bca;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
svg {
  display: block;
}
.icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand > span {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.brand small {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #526174;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 500;
  color: #c0cfdb;
}
.mast {
  background: var(--navy);
  color: #fff;
}
.mast-inner {
  max-width: 1536px;
  margin: 0 auto;
  min-height: 65px;
  padding: 0 clamp(20px, 3.85vw, 64px);
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.9vw, 82px);
}
nav {
  align-self: stretch;
  display: flex;
  gap: 13px;
}
nav button {
  position: relative;
  background: none;
  border: 0;
  padding: 0 10px;
  color: #b6c5d3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 13px;
}
nav button:hover,
nav button[aria-current='page'] {
  color: #fafffb;
}
nav button[aria-current='page']::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--green);
}
.identity {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  white-space: nowrap;
  color: #d7e4e8;
}
.identity button,
.dialog-head button {
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 6px;
  color: inherit;
}
.identity button:hover {
  background: #28435b;
}
.shell {
  max-width: 1536px;
  padding: 23px clamp(20px, 3.85vw, 64px) 16px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 19px;
}
.back-link,
.breadcrumb {
  font-size: 12px;
  line-height: 1.4;
}
.back-link {
  text-decoration: none;
  color: var(--muted);
}
.back-link:hover {
  text-decoration: underline;
}
.breadcrumb {
  color: #74828a;
}
.page-head h1 {
  font-weight: 650;
  letter-spacing: -0.05em;
  font-size: clamp(28px, 2.6vw, 39px);
  line-height: 1.24;
  margin-top: 5px;
}
.quiet,
.outline,
.reset,
.paging button,
.drill-note button {
  background: white;
  border: 1px solid var(--fine);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 550;
  min-height: 37px;
  padding: 7px 11px;
}
.quiet:hover,
.outline:hover,
.paging button:not(:disabled):hover {
  background: #eaf1ed;
  border-color: #99afa5;
}
.quiet {
  background: transparent;
}
.filters {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 9px 0;
  border-top: 1px solid #d2dbd8;
  border-bottom: 1px solid #d2dbd8;
}
.period {
  display: flex;
  background: #e6ece8;
  align-items: stretch;
  padding: 3px;
  border: 1px solid #dce2df;
  border-radius: 6px;
  flex-shrink: 0;
}
.period button {
  border: 0;
  background: none;
  border-radius: 4px;
  font-size: 12px;
  color: #53655e;
  min-height: 30px;
  min-width: 65px;
  padding: 4px 10px;
}
.period button[aria-pressed='true'] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 3px #102d3f21;
}
.period button:not([aria-pressed='true']):hover {
  background: #d8e3dc;
}
.dimensions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.dimensions label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #5a6872;
}
.dimensions select {
  max-width: 140px;
  min-height: 34px;
  font-size: 12px;
  border: 1px solid var(--fine);
  background: #fff;
  border-radius: 5px;
  color: var(--ink);
  padding: 4px 20px 4px 9px;
}
.reset,
.drill-note button {
  min-height: 34px;
  padding: 4px 5px;
  border: 0;
  background: transparent;
  color: var(--teal);
}
.reset:hover,
.drill-note button:hover {
  text-decoration: underline;
}
.range {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  margin-left: auto;
  font:
    550 12px Manrope,
    sans-serif;
  color: #50616a;
  font-variant-numeric: tabular-nums;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 0 20px;
}
.kpi {
  padding: 3px clamp(12px, 2.2vw, 40px) 2px;
  border-left: 1px solid #d6ddda;
  min-width: 0;
}
.kpi:first-child {
  padding-left: 0;
  border: 0;
}
.kpi h2 {
  font-size: 13px;
  font-weight: 550;
  color: #475761;
}
.kpi-value {
  font-family:
    Manrope,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: clamp(29px, 2.8vw, 42px);
  line-height: 1.36;
  font-weight: 650;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.kpi-value small {
  font:
    500 12px/1.3 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  letter-spacing: 0;
  color: #5a6872;
  margin-left: 5px;
}
.comparison {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
  font-size: 11px;
}
.delta {
  font:
    650 11px/1.5 Manrope,
    -apple-system,
    sans-serif;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}
.positive {
  color: #145f47;
  background: #dfefe3;
}
.negative {
  color: #a0432a;
  background: #f7e7da;
}
.vs,
.muted {
  color: #647377;
}
.main-grid,
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.77fr) minmax(300px, 1fr);
  gap: 16px;
}
.lower-grid {
  margin-top: 16px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}
.panel {
  min-width: 0;
  border: 1px solid var(--fine);
  border-radius: 10px;
  background: var(--panel);
  padding: 21px clamp(14px, 1.5vw, 26px);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.panel-head h2,
.dialog-head h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.panel-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.trend {
  background: linear-gradient(117deg, #152e4a, #1e3956);
  color: #f0f8f3;
  border-color: #223950;
}
.trend .panel-head small {
  color: #bfd0d9;
}
.legend {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 4px;
  color: #e1e9e9;
  font-size: 11px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.legend i {
  width: 17px;
  border-top: 3px solid #a7f1c8;
}
.legend span:nth-child(2) i {
  border-top: 2px dashed #d7b28f;
}
.graph {
  position: relative;
}
.graph svg {
  width: 100%;
  height: auto;
  max-height: 275px;
  overflow: visible;
}
.graph text {
  fill: #bfd0d9;
  font:
    500 11px Manrope,
    sans-serif;
  letter-spacing: 0.01em;
}
.tip {
  position: absolute;
  top: 3%;
  padding: 6px 9px;
  color: #172d37;
  background: #f6fbf7;
  border: 1px solid #93b1a9;
  box-shadow: 0 2px 9px #142b4366;
  border-radius: 4px;
  pointer-events: none;
  font-size: 11px;
  line-height: 1.55;
  white-space: nowrap;
}
.tip b,
.tip span {
  display: block;
}
.share-strip {
  display: flex;
  gap: 3px;
  height: 14px;
  overflow: hidden;
  border-radius: 3px;
  margin: 23px 0 18px;
}
.rank-header,
.rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 70px;
  align-items: center;
  gap: 4px 8px;
}
.rank-header,
.alerts-header {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e7e4;
}
.rank-header span:not(:first-child),
.right {
  text-align: right;
}
.rank-row {
  position: relative;
  border: 0;
  border-bottom: 1px solid #e7ece8;
  background: none;
  width: 100%;
  min-height: 47px;
  text-align: left;
  padding: 9px 0;
  font-size: 13px;
}
.rank-row:last-child {
  border-bottom: 0;
}
.rank-row:hover,
.alert-row:hover {
  background: #eff6f1;
}
.rank-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  min-width: 0;
}
.rank-name i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.rank-row strong,
.right,
.alert-rate,
.gap {
  font:
    600 13px Manrope,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
.mini {
  display: none;
}
.counter {
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid #e4cfc3;
  border-radius: 12px;
  padding: 3px 8px;
  background: #fbf0e9;
  color: #974a2a;
}
.alerts-header,
.alert-row {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) minmax(55px, 0.62fr) minmax(65px, 0.78fr) 20px;
  gap: 8px;
  align-items: center;
}
.alerts-header span:nth-child(2),
.alerts-header span:nth-child(3),
.alert-rate,
.gap {
  text-align: right;
}
.alert-row {
  background: none;
  border: 0;
  border-bottom: 1px solid #e3e8e5;
  min-height: 49px;
  width: 100%;
  text-align: left;
  padding: 7px 0;
}
.alert-row:last-child {
  border-bottom: 0;
}
.alert-row strong,
.alert-row small {
  display: block;
}
.alert-row strong {
  font-size: 13px;
  font-weight: 600;
}
.alert-row small {
  font-size: 11px;
  color: var(--muted);
}
.gap {
  color: var(--orange);
}
.row-arrow {
  justify-self: end;
  color: #60776a;
}
.row-arrow svg {
  width: 15px;
}
.empty {
  padding: 24px 2px;
  color: var(--muted);
  font-size: 13px;
}
.funnel-list {
  display: grid;
  gap: 16px;
  margin: 14px 0 10px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 9px;
}
.funnel-row > span {
  font-size: 13px;
}
.funnel-row > strong {
  font:
    650 15px Manrope,
    sans-serif;
}
.funnel-track {
  height: 14px;
  background: #ecf1ed;
  border-radius: 2px;
  overflow: hidden;
}
.funnel-track i {
  display: block;
  height: 100%;
  min-width: 2px;
  background: #265c65;
}
.funnel-row:nth-child(2) .funnel-track i {
  background: #658c79;
}
.funnel-row:nth-child(3) .funnel-track i {
  background: #c89c68;
}
.funnel-rates {
  display: flex;
  gap: 9px;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--fine);
  flex-wrap: wrap;
}
.funnel-rates span {
  flex: 1;
  font-size: 11px;
  color: var(--muted);
}
.funnel-rates b {
  display: block;
  color: var(--ink);
  font:
    650 18px Manrope,
    sans-serif;
}
.ledger {
  margin-top: 17px;
}
.mobile-records {
  display: none;
}
.drill-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #e5eee7;
  border-left: 3px solid #648975;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 13px;
}
.drill-note + .ledger {
  margin-top: 10px;
}
.table-wrap {
  overflow: auto;
}
.ledger table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.ledger th,
.ledger td {
  padding: 9px 6px;
  text-align: right;
  border-bottom: 1px solid #e2e8e4;
  white-space: nowrap;
}
.ledger th {
  background: #eff3ef;
  color: #53645b;
  font-weight: 550;
  font-size: 11px;
}
.ledger tr > *:first-child,
.ledger tr > *:nth-child(2),
.ledger tr > *:nth-child(3) {
  text-align: left;
}
.ledger td b {
  font-weight: 550;
}
.ledger td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.paging {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.paging div {
  display: flex;
  gap: 6px;
}
.paging button {
  min-height: 34px;
}
footer {
  margin-top: 22px;
  border-top: 1px solid var(--fine);
  padding: 12px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}
dialog {
  width: min(470px, calc(100% - 28px));
  max-height: 80dvh;
  border: 1px solid #c6d1ca;
  border-radius: 12px;
  padding: 22px;
  color: var(--ink);
  background: #fdfefb;
  box-shadow: 0 24px 55px #172e4a33;
}
dialog::backdrop {
  background: #182b38a6;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fine);
  padding-bottom: 10px;
}
.dialog-head button:hover {
  background: #e4ece7;
}
.definition-list > div {
  margin-top: 15px;
}
.definition-list h3 {
  font-size: 14px;
}
.definition-list p {
  font-size: 13px;
  line-height: 1.65;
  margin-top: 2px;
  color: #55636b;
}
#notice:not(:empty) {
  position: fixed;
  z-index: 12;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  background: #172f4c;
  color: white;
  padding: 9px 15px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 4px 20px #0002;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  background: #182f4b;
  padding: clamp(30px, 5.4vw, 84px);
  color: #f1f9f3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-poster .brand {
  align-self: flex-start;
}
.poster-body {
  position: relative;
  z-index: 2;
  margin: 35px 0 82px;
}
.poster-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #b0e8c7;
}
.poster-body h1 {
  font-size: clamp(56px, 6.5vw, 105px);
  letter-spacing: -0.085em;
  line-height: 1.15;
  margin-top: 14px;
}
.poster-body h1 span {
  color: #9ce5bd;
}
.poster-body p {
  margin-top: 23px;
  font-size: 15px;
  color: #c5d6d9;
  line-height: 1.75;
}
.poster-foot {
  position: relative;
  z-index: 2;
  color: #d1e2df;
  font-size: 12px;
}
.poster-art {
  position: absolute;
  z-index: -1;
  bottom: -11%;
  right: -15%;
  width: 85%;
  height: 60%;
  display: flex;
  gap: 4.5%;
  align-items: flex-end;
  transform: skewY(-17deg) rotate(-8deg);
  opacity: 0.75;
}
.poster-art i {
  flex: 1;
  height: 30%;
  background: linear-gradient(0deg, #597c77, #b3d7a6);
  border-top: 4px solid #c9edc9;
}
.poster-art i:nth-child(2) {
  height: 39%;
}
.poster-art i:nth-child(3) {
  height: 46%;
}
.poster-art i:nth-child(4) {
  height: 59%;
}
.poster-art i:nth-child(5) {
  height: 67%;
}
.poster-art i:nth-child(6) {
  height: 81%;
}
.poster-art i:nth-child(7) {
  height: 95%;
}
.login-form {
  padding: clamp(24px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  background: #f6f7f3;
}
.login-form > .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-end;
  min-height: 36px;
}
.login-content {
  margin: auto;
  width: min(100%, 375px);
  padding: 25px 0 42px;
}
.login-content h2 {
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.2;
  letter-spacing: -0.06em;
}
.login-content > p {
  font-size: 14px;
  color: var(--muted);
  margin: 11px 0 28px;
  line-height: 1.7;
}
.login-content form label {
  display: grid;
  gap: 6px;
  font-weight: 550;
  font-size: 13px;
  margin-top: 15px;
}
.login-content input {
  width: 100%;
  height: 45px;
  border: 1px solid #bdcbc6;
  background: #fff;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 15px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 0;
  border-radius: 6px;
  color: white;
  background: var(--navy);
  font-weight: 650;
}
.login-content .primary {
  width: 100%;
  margin-top: 15px;
  min-height: 46px;
}
.primary:hover {
  background: #254663;
}
.error {
  font-size: 12px;
  color: #96321b;
}
.error:not(:empty) {
  margin-top: 9px;
}
.demo-help {
  margin-top: 23px;
  border-top: 1px solid var(--fine);
  padding-top: 12px;
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
}
.demo-help b {
  color: var(--ink);
}
.demo-help code {
  font-size: 12px;
}
.demo-help small {
  font-size: 11px;
}
.loading {
  display: grid;
  place-content: center;
  align-items: center;
  gap: 16px;
  min-height: 70vh;
  text-align: center;
}
@media (max-width: 1060px) {
  .main-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  }
  .range {
    font-size: 11px;
  }
  .filters {
    gap: 12px;
  }
  .dimensions {
    gap: 8px;
  }
  .lower-grid {
    grid-template-columns: 1.12fr 1fr;
  }
  .rank-header,
  .rank-row {
    grid-template-columns: minmax(0, 1fr) auto 54px;
  }
  .mast-inner {
    gap: 24px;
  }
  .dimensions select {
    padding-right: 7px;
  }
  .panel {
    padding: 17px 15px;
  }
}
@media (max-width: 850px) {
  .range {
    width: 100%;
    margin-left: 0;
  }
  .filters {
    flex-wrap: wrap;
    row-gap: 7px;
    padding: 10px 0;
  }
  .main-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(225px, 1fr);
  }
  .rank-header,
  .rank-row {
    gap: 3px;
  }
  .panel-head h2 {
    font-size: 18px;
  }
  .legend {
    gap: 7px;
  }
  .lower-grid {
    gap: 12px;
  }
  .table-wrap {
    display: none;
  }
  .mobile-records {
    display: block;
  }
  .record {
    border-bottom: 1px solid var(--fine);
    padding: 12px 0;
  }
  .record > div,
  .record dl {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  .record > div span,
  .record p {
    font-size: 11px;
    color: var(--muted);
  }
  .record dl {
    margin: 8px 0 0;
    justify-content: flex-start;
    gap: 7px 20px;
    flex-wrap: wrap;
  }
  .record dt {
    font-size: 10px;
    color: var(--muted);
  }
  .record dd {
    font:
      600 12px Manrope,
      sans-serif;
    margin: 1px 0;
  }
}
@media (max-width: 680px) {
  .mast-inner {
    padding: 9px 16px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 0;
    gap: 3px 5px;
  }
  .mark {
    width: 30px;
    height: 30px;
  }
  .brand {
    gap: 7px;
  }
  .brand > span {
    font-size: 19px;
  }
  .brand small {
    font-size: 11px;
    margin-left: 8px;
    padding-left: 8px;
  }
  .identity {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    gap: 4px;
  }
  .identity button {
    min-width: 40px;
    min-height: 36px;
    padding: 8px;
  }
  .mast nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 19px;
  }
  .mast nav button {
    padding: 0;
    min-height: 38px;
    font-size: 12px;
  }
  .mast nav button[aria-current='page']::after {
    left: 0;
    right: 0;
    height: 2px;
  }
  .shell {
    padding: 16px 14px;
  }
  .page-head {
    margin-bottom: 12px;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .breadcrumb,
  .back-link {
    font-size: 11px;
  }
  .quiet {
    min-height: 36px;
    font-size: 11px;
    padding: 6px 8px;
  }
  .quiet .icon {
    width: 14px;
    height: 14px;
  }
  .filters {
    gap: 7px 10px;
    align-items: center;
  }
  .period {
    order: 0;
  }
  .period button {
    padding: 3px 7px;
    min-width: 49px;
    min-height: 32px;
  }
  .range {
    order: 1;
    display: flex;
    margin-left: auto;
    width: auto;
    gap: 4px;
    font-size: 9px;
    letter-spacing: -0.02em;
  }
  .range svg {
    display: none;
  }
  .dimensions {
    order: 2;
    width: 100%;
    gap: 8px;
  }
  .dimensions label {
    font-size: 11px;
    gap: 4px;
  }
  .dimensions select {
    font-size: 12px;
    max-width: 111px;
    min-height: 35px;
  }
  .reset {
    margin-left: auto;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 0;
    padding: 15px 0 17px;
  }
  .kpi {
    padding: 0 0 0 15px;
  }
  .kpi:nth-child(odd) {
    border: 0;
    padding-left: 0;
  }
  .kpi h2 {
    font-size: 12px;
  }
  .kpi-value {
    font-size: 30px;
    line-height: 1.25;
  }
  .kpi-value small {
    font-size: 11px;
  }
  .comparison {
    margin-top: 2px;
    font-size: 10px;
  }
  .delta {
    font-size: 10px;
  }
  .main-grid,
  .lower-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .lower-grid {
    margin-top: 12px;
  }
  .panel {
    padding: 15px 13px;
    border-radius: 8px;
  }
  .panel-head {
    margin-bottom: 10px;
    gap: 8px;
  }
  .panel-head h2 {
    font-size: 18px;
  }
  .panel-head small {
    font-size: 11px;
  }
  .trend .panel-head {
    margin-bottom: 9px;
  }
  .graph text {
    font-size: 13px;
  }
  .legend {
    gap: 8px;
    font-size: 10px;
  }
  .legend i {
    width: 13px;
  }
  .share-strip {
    margin: 14px 0 12px;
    height: 11px;
  }
  .rank-row {
    min-height: 42px;
  }
  .rank-header,
  .rank-row {
    grid-template-columns: minmax(0, 1fr) 68px 65px;
  }
  .counter {
    font-size: 10px;
  }
  .alert-row {
    min-height: 50px;
  }
  .funnel-list {
    gap: 13px;
  }
  .drill-note {
    font-size: 12px;
  }
  .ledger {
    margin-top: 12px;
  }
  .outline {
    font-size: 11px;
    padding: 6px 8px;
  }
  .record dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .row-arrow {
    min-width: 16px;
  }
  .login {
    display: block;
  }
  .login-poster {
    min-height: 0;
    padding: 18px 23px 22px;
  }
  .poster-body {
    margin: 24px 0 0;
  }
  .poster-body h1 {
    font-size: 40px;
    margin: 4px 0 0;
  }
  .poster-body h1 br {
    display: none;
  }
  .poster-label,
  .poster-body p,
  .poster-foot {
    display: none;
  }
  .poster-art {
    height: 125%;
    right: -18%;
    bottom: -65%;
    width: 50%;
    opacity: 0.5;
  }
  .login-form {
    padding: 16px 23px 30px;
  }
  .login-form > .back-link {
    align-self: flex-start;
  }
  .login-content {
    padding: 20px 0 0;
  }
  .login-content h2 {
    font-size: 29px;
  }
  .login-content > p {
    font-size: 13px;
    margin: 7px 0 19px;
  }
  .login-poster .brand small {
    border-color: #637787;
  }
  .login-content input {
    font-size: 16px;
  }
  .record > div strong {
    font-size: 13px;
  }
  footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 360px) {
  .shell {
    padding: 13px 10px;
  }
  .mast-inner {
    padding-inline: 11px;
  }
  .range {
    font-size: 8.5px;
  }
  .dimensions {
    gap: 5px;
  }
  .dimensions select {
    max-width: 95px;
  }
  .kpi-value {
    font-size: 27px;
  }
  .legend {
    gap: 5px;
  }
  .rank-header,
  .rank-row {
    grid-template-columns: minmax(0, 1fr) 64px 58px;
  }
}
