.f-app {
  --f-bg: #f4f6f9;
  --f-panel: #ffffff;
  --f-ink: #172033;
  --f-muted: #667085;
  --f-line: #dfe4ec;
  --f-line-soft: #edf0f4;
  --f-navy: #142033;
  --f-navy-2: #1e2c42;
  --f-blue: #2459d3;
  --f-blue-soft: #eaf0ff;
  --f-green: #117a65;
  --f-green-soft: #e3f5ee;
  --f-teal: #087c8c;
  --f-teal-soft: #e2f5f6;
  --f-amber: #b76b09;
  --f-amber-soft: #fff1d9;
  --f-red: #b42318;
  --f-red-soft: #fee9e7;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  color: var(--f-ink);
  background: var(--f-bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

.f-app *,
.f-app *::before,
.f-app *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.f-app button,
.f-app input,
.f-app select,
.f-app textarea {
  font: inherit;
}

.f-app button {
  cursor: pointer;
}

.f-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: #f8fafc;
  background: var(--f-navy);
  border-right: 1px solid #24344c;
  z-index: 20;
}

.f-brand {
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.f-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #2a64e8;
  font-size: 13px;
  font-weight: 800;
}

.f-brand strong,
.f-brand small {
  display: block;
}

.f-brand strong {
  font-size: 15px;
}

.f-brand small {
  margin-top: 3px;
  color: #aebbd0;
  font-size: 11px;
}

.f-account {
  margin: 14px 14px 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.f-account span,
.f-account strong,
.f-account small {
  display: block;
}

.f-account span {
  color: #9eabc0;
  font-size: 11px;
}

.f-account strong {
  margin-top: 4px;
  font-size: 16px;
}

.f-account small {
  margin-top: 5px;
  overflow: hidden;
  color: #c5cede;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-nav {
  flex: 1;
  padding: 6px 10px;
  overflow-y: auto;
}

.f-nav button {
  width: 100%;
  min-height: 42px;
  margin: 2px 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  color: #bdc8d8;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
}

.f-nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.f-nav button.active {
  color: #fff;
  background: #2459d3;
  box-shadow: inset 3px 0 0 #7dd3fc;
}

.f-nav-icon {
  width: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
}

.f-side-foot {
  padding: 14px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.f-side-foot button {
  padding: 7px 0;
  border: 0;
  color: #b9c5d5;
  background: transparent;
  text-align: left;
  font-size: 12px;
}

.f-env {
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 4px;
  color: #a5ddf7;
  font-size: 10px;
}

.f-workspace {
  min-width: 0;
}

.f-topbar {
  position: sticky;
  top: 0;
  min-height: 72px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--f-line);
  background: rgba(255, 255, 255, 0.96);
  z-index: 15;
}

.f-topbar > div:first-child strong,
.f-topbar > div:first-child span {
  display: block;
}

.f-topbar > div:first-child strong {
  font-size: 18px;
}

.f-topbar > div:first-child span {
  margin-top: 4px;
  color: var(--f-muted);
  font-size: 11px;
}

.f-top-controls {
  display: flex;
  align-items: end;
  gap: 8px;
}

.f-top-controls label {
  display: grid;
  gap: 3px;
  color: var(--f-muted);
  font-size: 10px;
}

.f-top-controls input,
.f-top-controls select {
  height: 36px;
  min-width: 132px;
  padding: 0 10px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  color: var(--f-ink);
  background: #fff;
  font-size: 12px;
}

.f-icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  color: var(--f-ink);
  background: #fff;
  font-size: 18px;
}

.f-main {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: 22px 24px 42px;
}

.f-alert,
.f-period-warning {
  margin-bottom: 14px;
  padding: 10px 13px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 12px;
}

.f-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.f-alert button {
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 700;
}

.f-alert.danger {
  border-color: #f2b8b3;
  color: var(--f-red);
  background: var(--f-red-soft);
}

.f-alert.success {
  border-color: #a9dbc9;
  color: #08604e;
  background: var(--f-green-soft);
}

.f-period-warning {
  border-color: #edc98d;
  color: #875008;
  background: var(--f-amber-soft);
}

.f-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(400px, 1.25fr) minmax(420px, 1.5fr);
  gap: 14px;
  align-items: stretch;
}

.f-goal-panel,
.f-team-goal {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  border-radius: 8px;
  color: #fff;
  background: #2459d3;
  box-shadow: 0 8px 24px rgba(36, 89, 211, 0.2);
}

.f-goal-panel {
  min-height: 270px;
  padding: 24px;
  grid-template-columns: 1fr 132px;
  align-items: center;
}

.f-goal-panel::after,
.f-team-goal::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 36px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.f-kicker {
  display: block;
  color: #cfe0ff;
  font-size: 11px;
  font-weight: 750;
}

.f-goal-copy h2 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.2;
}

.f-goal-copy p {
  min-height: 44px;
  margin: 0 0 22px;
  color: #dce8ff;
  font-size: 13px;
  line-height: 1.7;
}

.f-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.f-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #fff;
}

.f-goal-values {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.f-goal-values strong {
  font-size: 22px;
}

.f-goal-values span {
  color: #d7e4ff;
  font-size: 11px;
}

.f-ring {
  --progress: 0;
  position: relative;
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: conic-gradient(#fff calc(var(--progress) * 1%), rgba(255, 255, 255, 0.18) 0);
  z-index: 1;
}

.f-ring::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #2459d3;
}

.f-ring strong,
.f-ring span {
  position: relative;
  display: block;
  text-align: center;
}

.f-ring strong {
  font-size: 22px;
}

.f-ring span {
  margin-top: 2px;
  color: #dce8ff;
  font-size: 10px;
}

.f-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.f-metric {
  min-width: 0;
  min-height: 128px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--f-line);
  border-left: 4px solid #9aa6b8;
  border-radius: 8px;
  background: var(--f-panel);
}

.f-metric.primary {
  border-left-color: var(--f-blue);
  background: linear-gradient(180deg, #fff, #f6f8ff);
}

.f-metric.success {
  border-left-color: var(--f-green);
}

.f-metric.teal {
  border-left-color: var(--f-teal);
}

.f-metric.amber {
  border-left-color: var(--f-amber);
}

.f-metric.danger {
  border-left-color: var(--f-red);
}

.f-metric > span {
  color: var(--f-muted);
  font-size: 11px;
}

.f-metric > strong {
  margin: 8px 0;
  overflow-wrap: anywhere;
  font-size: 23px;
  line-height: 1.1;
}

.f-metric > small {
  color: var(--f-muted);
  font-size: 10px;
  line-height: 1.5;
}

.f-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--f-line);
  border-radius: 8px;
  background: var(--f-panel);
  box-shadow: 0 2px 8px rgba(20, 32, 51, 0.035);
}

.f-section-head,
.f-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.f-section-head {
  margin-bottom: 15px;
}

.f-section-head .f-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.f-inline-actions {
  display: flex;
  gap: 7px;
}

.f-section-head h3,
.f-section-head p,
.f-page-head h2,
.f-page-head p {
  margin: 0;
}

.f-section-head h3 {
  font-size: 15px;
}

.f-section-head p,
.f-page-head p {
  margin-top: 4px;
  color: var(--f-muted);
  font-size: 11px;
  line-height: 1.5;
}

.f-product {
  min-height: 224px;
}

.f-product-list {
  display: grid;
  gap: 12px;
}

.f-product-list > div {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 11px;
}

.f-product-list > div > span {
  width: 9px;
  height: 34px;
  border-radius: 3px;
  background: var(--f-blue);
}

.f-product-list > div.green > span {
  background: var(--f-green);
}

.f-product-list > div.amber > span {
  background: var(--f-amber);
}

.f-product-list section {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
}

.f-product-list strong {
  font-size: 12px;
}

.f-product-list small,
.f-product-list em {
  color: var(--f-muted);
  font-size: 10px;
  font-style: normal;
}

.f-product-list section > div {
  height: 5px;
  overflow: hidden;
  grid-column: 1 / -1;
  border-radius: 3px;
  background: var(--f-line-soft);
}

.f-product-list section > div i {
  height: 100%;
  display: block;
  background: var(--f-blue);
}

.f-product-list .green i {
  background: var(--f-green);
}

.f-product-list .amber i {
  background: var(--f-amber);
}

.f-product-list em {
  grid-column: 1 / -1;
}

.f-team-progress {
  min-height: 224px;
}

.f-team-target-list {
  display: grid;
  gap: 15px;
}

.f-team-target-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
}

.f-team-target-list span strong,
.f-team-target-list span small {
  display: block;
}

.f-team-target-list span strong {
  font-size: 12px;
}

.f-team-target-list span small,
.f-team-target-list em {
  color: var(--f-muted);
  font-size: 10px;
  font-style: normal;
}

.f-team-target-list > div > div {
  height: 6px;
  overflow: hidden;
  grid-column: 1 / -1;
  border-radius: 3px;
  background: var(--f-line-soft);
}

.f-team-target-list i {
  height: 100%;
  display: block;
  background: var(--f-green);
}

.f-two-column {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  align-items: start;
}

.f-channel-bars {
  display: grid;
  gap: 12px;
}

.f-channel-bars > div {
  display: grid;
  grid-template-columns: 110px 1fr 54px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.f-channel-bars > div > div {
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--f-line-soft);
}

.f-channel-bars i {
  height: 100%;
  display: block;
  background: var(--f-teal);
}

.f-channel-bars strong {
  text-align: right;
  font-size: 11px;
}

.f-wechat-strip {
  margin-top: 17px;
  padding-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--f-line-soft);
}

.f-wechat-strip span {
  padding: 7px 9px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  color: var(--f-muted);
  background: #fafbfc;
  font-size: 10px;
}

.f-wechat-strip strong {
  margin-right: 7px;
  color: var(--f-ink);
}

.f-traffic-history {
  margin-top: 12px;
  border-top: 1px solid var(--f-line-soft);
}

.f-traffic-history > div {
  min-height: 37px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--f-line-soft);
  font-size: 10px;
}

.f-traffic-history > div:last-child {
  border-bottom: 0;
}

.f-traffic-history span {
  overflow: hidden;
  color: var(--f-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-traffic-history em {
  color: var(--f-teal);
  font-style: normal;
  font-weight: 750;
}

.f-channel-history {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  background: #fafbfc;
}

.f-channel-history > strong {
  color: var(--f-ink);
  font-size: 11px;
}

.f-channel-history > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--f-muted);
  font-size: 10px;
}

.f-channel-history em {
  flex: 0 0 auto;
  color: var(--f-ink);
  font-style: normal;
}

.f-action-list {
  display: grid;
  gap: 8px;
}

.f-action-list button {
  min-height: 63px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--f-line-soft);
  border-radius: 6px;
  color: var(--f-ink);
  background: #fafbfc;
  text-align: left;
}

.f-action-list button:hover {
  border-color: #b7c6ea;
  background: #f4f7ff;
}

.f-action-list strong {
  font-size: 12px;
}

.f-action-list span {
  color: var(--f-muted);
  font-size: 10px;
  line-height: 1.5;
}

.f-manager-summary {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.f-team-goal {
  min-height: 236px;
  padding: 24px;
  grid-template-columns: 1fr 130px 160px;
  align-items: center;
  background: #173458;
  box-shadow: 0 8px 24px rgba(20, 48, 82, 0.18);
}

.f-team-goal h2 {
  margin: 8px 0;
  font-size: 30px;
}

.f-team-goal h2 small {
  color: #bcd1e8;
  font-size: 15px;
}

.f-team-goal p {
  margin: 0 0 20px;
  color: #bed0e3;
  font-size: 11px;
}

.f-progress.large {
  height: 9px;
}

.f-ring.large {
  width: 124px;
}

.f-ring.large::before {
  background: #173458;
}

.f-team-goal-side {
  position: relative;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.f-team-goal-side span {
  padding: 10px 11px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #bcd1e8;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
}

.f-team-goal-side strong {
  color: #fff;
  font-size: 13px;
}

.f-metrics.manager {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.f-metrics.manager .f-metric {
  min-height: 113px;
}

.f-metrics.manager .f-metric > strong {
  font-size: 19px;
}

.f-two-column.manager-layout {
  grid-template-columns: minmax(600px, 1.7fr) minmax(300px, 0.8fr);
}

.f-manager-charts {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(560px, 1.35fr) minmax(420px, 0.9fr);
  gap: 14px;
}

.f-chart-panel {
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.f-chart-head {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.f-chart-head h3,
.f-chart-head p {
  margin: 0;
}

.f-chart-head h3 {
  font-size: 15px;
}

.f-chart-head p {
  max-width: 520px;
  margin-top: 5px;
  color: var(--f-muted);
  font-size: 10px;
  line-height: 1.5;
}

.f-chart-head > span {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
  text-align: right;
}

.f-chart-head > span small {
  color: var(--f-muted);
  font-size: 9px;
}

.f-chart-head > span strong {
  color: var(--f-blue);
  font-size: 17px;
}

.f-line-chart {
  min-height: 240px;
  margin-top: 7px;
}

.f-line-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.f-chart-grid line {
  stroke: #e7ebf0;
  stroke-width: 1;
}

.f-chart-grid text,
.f-chart-x text {
  fill: #7a8697;
  font-size: 9px;
}

.f-chart-hit {
  fill: transparent;
  stroke: transparent;
}

.f-chart-legend,
.f-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: #526174;
  font-size: 9px;
}

.f-chart-legend span,
.f-bar-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.f-chart-legend i,
.f-bar-legend i {
  width: 17px;
  height: 3px;
  border-radius: 2px;
}

.f-chart-insight {
  margin: auto 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--f-line-soft);
  color: #356b5f;
  font-size: 10px;
  line-height: 1.55;
}

.f-chart-insight.warning {
  color: #9a5a09;
}

.f-sales-bars {
  margin-top: 19px;
  display: grid;
  gap: 13px;
}

.f-sales-bar-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(86px, 0.82fr) minmax(140px, 1.65fr) 64px;
  align-items: center;
  gap: 10px;
}

.f-sales-bar-name {
  min-width: 0;
}

.f-sales-bar-name strong,
.f-sales-bar-name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-sales-bar-name strong {
  font-size: 10px;
}

.f-sales-bar-name small {
  margin-top: 2px;
  color: var(--f-muted);
  font-size: 8px;
}

.f-sales-bar-data {
  min-width: 0;
}

.f-sales-bar-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf0f4;
}

.f-sales-bar-track i,
.f-sales-bar-track b {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  border-radius: inherit;
}

.f-sales-bar-track i {
  background: #87a7ed;
}

.f-sales-bar-track b {
  background: #15977c;
}

.f-sales-bar-data > span {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  color: var(--f-muted);
  font-size: 8px;
}

.f-sales-bar-data > span strong {
  color: var(--f-ink);
  font-size: 9px;
}

.f-sales-bar-row > em {
  color: var(--f-blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  text-align: right;
}

.f-bar-legend {
  margin-top: 16px;
}

.f-bar-legend span:first-child i {
  background: #87a7ed;
}

.f-bar-legend span:last-child i {
  background: #15977c;
}

.f-stack {
  display: grid;
  gap: 14px;
}

.f-page-head {
  min-height: 62px;
  margin-bottom: 14px;
}

.f-page-head h2 {
  font-size: 20px;
}

.f-page-head > div:last-child {
  display: flex;
  gap: 8px;
}

.f-button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--f-blue);
  border-radius: 6px;
  color: #fff;
  background: var(--f-blue);
  font-size: 12px;
  font-weight: 700;
}

.f-button:hover {
  background: #1e4dbd;
}

.f-button.secondary {
  border-color: var(--f-line);
  color: var(--f-ink);
  background: #fff;
}

.f-button.secondary:hover {
  border-color: #aebbd0;
  background: #f8fafc;
}

.f-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.f-filterbar {
  margin-bottom: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(130px, 0.7fr));
  gap: 9px;
  border: 1px solid var(--f-line);
  border-radius: 8px;
  background: var(--f-panel);
}

.f-filterbar.compact {
  grid-template-columns: minmax(240px, 1fr) 180px 200px;
}

.f-filterbar label {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.f-filterbar label > span {
  color: var(--f-muted);
  font-size: 10px;
}

.f-filterbar input,
.f-filterbar select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  color: var(--f-ink);
  background: #fff;
  font-size: 11px;
}

.f-summary-row {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--f-line);
  border-radius: 8px;
  background: var(--f-panel);
}

.f-summary-row.refund {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.f-summary-row > div {
  min-width: 0;
  padding: 13px 16px;
  border-right: 1px solid var(--f-line-soft);
}

.f-summary-row > div:last-child {
  border-right: 0;
}

.f-summary-row span,
.f-summary-row strong {
  display: block;
}

.f-summary-row strong small {
  margin-top: 4px;
  display: block;
  color: var(--f-muted);
  font-size: 9px;
  font-weight: 500;
}

.f-summary-row span {
  color: var(--f-muted);
  font-size: 10px;
}

.f-summary-row strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.table-panel {
  padding: 0;
  overflow: hidden;
}

.f-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.f-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 11px;
}

.f-table.compact {
  min-width: 700px;
}

.f-table th,
.f-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--f-line-soft);
  text-align: left;
  vertical-align: middle;
}

.f-table th {
  position: sticky;
  top: 0;
  color: #5b6678;
  background: #f7f9fb;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.f-table tbody tr:hover {
  background: #fafcff;
}

.f-table tbody tr:last-child td {
  border-bottom: 0;
}

.f-table td strong,
.f-table td small {
  display: block;
}

.f-table td strong {
  font-size: 11px;
}

.f-table td small {
  max-width: 210px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--f-muted);
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-table td .f-danger {
  color: var(--f-red);
}

.f-row-actions {
  display: flex;
  gap: 4px;
}

.f-row-actions button,
.f-link-button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--f-line);
  border-radius: 5px;
  color: var(--f-blue);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.f-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.f-link-button.danger {
  border-color: #efc4bf;
  color: var(--f-red);
}

.f-delete-warning {
  margin: 0;
  padding: 12px;
  display: grid;
  gap: 5px;
  border: 1px solid #efc4bf;
  border-radius: 6px;
  color: #7b241c;
  background: var(--f-red-soft);
  font-size: 10px;
  line-height: 1.55;
}

.f-delete-warning strong,
.f-delete-warning span {
  display: block;
}

.f-attachment-link {
  padding: 0;
  border: 0;
  color: var(--f-blue);
  background: transparent;
  font-size: 9px;
}

.f-status-button {
  min-width: 62px;
  height: 28px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 750;
}

.f-status-button.paid {
  border-color: #96d2bd;
  color: #0b6553;
  background: var(--f-green-soft);
}

.f-status-button.pending {
  border-color: #e7bf7d;
  color: #8a5208;
  background: var(--f-amber-soft);
}

.f-badge {
  width: fit-content;
  max-width: 150px;
  padding: 3px 7px;
  display: inline-block;
  overflow: hidden;
  border-radius: 4px;
  color: #526174;
  background: #eef1f5;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-badge.active,
.f-badge.issued,
.f-badge.completed,
.f-badge.gm_confirmed,
.f-badge.finance_paid {
  color: #0b6553;
  background: var(--f-green-soft);
}

.f-badge.pending,
.f-badge.submitted,
.f-badge.draft,
.f-badge.supervisor_confirmed {
  color: #8a5208;
  background: var(--f-amber-soft);
}

.f-badge.void,
.f-badge.red,
.f-badge.reversed {
  color: var(--f-red);
  background: var(--f-red-soft);
}

.f-badge.reviewed {
  color: #1d4db3;
  background: var(--f-blue-soft);
}

.f-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.f-team-target-grid {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.f-team-target-grid article {
  display: grid;
  gap: 7px;
}

.f-team-target-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.f-team-target-grid article > div span,
.f-team-target-grid article small,
.f-team-target-grid article em {
  color: var(--f-muted);
  font-size: 10px;
  font-style: normal;
}

.f-team-target-grid article > strong {
  font-size: 20px;
}

.f-review-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--f-line);
  border-top: 3px solid var(--f-teal);
  border-radius: 8px;
  background: var(--f-panel);
}

.f-review-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.f-review-card > div:first-child small {
  color: var(--f-muted);
  font-size: 9px;
}

.f-review-card h3 {
  margin: 14px 0 8px;
  font-size: 15px;
}

.f-review-card > p {
  min-height: 58px;
  margin: 0;
  color: #4d596c;
  font-size: 11px;
  line-height: 1.7;
}

.f-review-card dl {
  margin: 14px 0 0;
  padding-top: 12px;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--f-line-soft);
}

.f-review-card dl div {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 8px;
}

.f-review-card dt,
.f-review-card dd {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.f-review-card dt {
  color: var(--f-muted);
}

.f-card-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f-page-head > .f-card-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.f-detail-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.f-detail-list div {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--f-line);
}

.f-detail-list div:last-child {
  border-bottom: 0;
}

.f-detail-list dt,
.f-detail-list dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.f-detail-list dt {
  color: var(--f-muted);
  font-weight: 700;
}

.f-subnav {
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--f-line);
}

.f-subnav button {
  padding: 10px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--f-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.f-subnav button.active {
  border-bottom-color: var(--f-blue);
  color: var(--f-blue);
}

.f-goal-cards {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.f-goal-cards article {
  padding: 18px;
  border: 1px solid var(--f-line);
  border-radius: 8px;
  background: var(--f-panel);
}

.f-goal-cards span,
.f-goal-cards strong,
.f-goal-cards small,
.f-goal-cards em {
  display: block;
}

.f-goal-cards span,
.f-goal-cards small,
.f-goal-cards em {
  color: var(--f-muted);
  font-size: 10px;
  font-style: normal;
}

.f-goal-cards strong {
  margin: 8px 0 3px;
  font-size: 22px;
}

.f-goal-cards div {
  height: 6px;
  margin: 14px 0 7px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--f-line-soft);
}

.f-goal-cards i {
  height: 100%;
  display: block;
  background: var(--f-blue);
}

.f-own-head {
  margin-bottom: 14px;
  padding: 15px 16px 0;
  border: 1px solid var(--f-line);
  border-radius: 8px;
  background: var(--f-panel);
}

.f-own-head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.f-own-head > div strong {
  font-size: 16px;
}

.f-own-head > div span {
  color: var(--f-muted);
  font-size: 10px;
}

.f-own-head nav {
  margin-top: 12px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
}

.f-own-head nav button {
  padding: 9px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--f-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.f-own-head nav button.active {
  border-bottom-color: var(--f-blue);
  color: var(--f-blue);
}

.f-two-column.accounts {
  grid-template-columns: 1.1fr 1fr;
}

.f-income-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.f-income-total {
  min-height: 128px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: #173458;
}

.f-income-total span,
.f-income-total small {
  color: #c5d6e8;
  font-size: 10px;
}

.f-income-total strong {
  margin: 7px 0;
  font-size: 27px;
}

.f-calculation {
  margin-top: 14px;
}

.f-calculation-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.f-calculation-row span {
  padding: 13px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  color: var(--f-muted);
  background: #fafbfc;
  font-size: 10px;
}

.f-calculation-row strong {
  color: var(--f-ink);
  font-size: 17px;
}

.f-calculation-row i {
  color: var(--f-muted);
  font-size: 18px;
  font-style: normal;
}

.f-calculation-note {
  margin: 12px 0 0;
  color: var(--f-muted);
  font-size: 11px;
  line-height: 1.6;
}

.f-profile-layout {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 14px;
}

.f-profile-card {
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background: #173458;
  text-align: center;
}

.f-avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 24px;
  font-weight: 800;
}

.f-profile-card h2 {
  margin: 0;
  font-size: 21px;
}

.f-profile-card > span {
  display: block;
  margin-top: 5px;
  color: #bed0e3;
  font-size: 10px;
}

.f-profile-card blockquote {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #e1ebf5;
  font-size: 12px;
  line-height: 1.7;
}

.f-profile-data dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.f-profile-data dl div {
  min-height: 69px;
  padding: 11px 14px;
  border-right: 1px solid var(--f-line-soft);
  border-bottom: 1px solid var(--f-line-soft);
}

.f-profile-data dl div:nth-child(2n) {
  border-right: 0;
}

.f-profile-data dt,
.f-profile-data dd {
  margin: 0;
}

.f-profile-data dt {
  color: var(--f-muted);
  font-size: 10px;
}

.f-profile-data dd {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
}

.f-wechat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.f-wechat-cards > div {
  padding: 13px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  background: #fafbfc;
}

.f-wechat-cards strong {
  font-size: 12px;
}

.f-wechat-cards span,
.f-wechat-cards small {
  color: var(--f-muted);
  font-size: 10px;
}

.f-modal-backdrop {
  position: fixed;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  z-index: 100;
}

.f-modal {
  width: min(780px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.f-modal-head {
  min-height: 75px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--f-line);
}

.f-modal-head h2,
.f-modal-head p {
  margin: 0;
}

.f-modal-head h2 {
  font-size: 18px;
}

.f-modal-head p {
  margin-top: 4px;
  color: var(--f-muted);
  font-size: 10px;
}

.f-modal-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  color: var(--f-muted);
  background: #fff;
  font-size: 21px;
}

.f-form-grid {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.f-form-grid > label:not(.f-check) {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.f-form-grid > label > span,
.f-chip-field legend {
  color: #4c596c;
  font-size: 10px;
  font-weight: 700;
}

.f-form-grid .wide {
  grid-column: 1 / -1;
}

.f-app .hidden {
  display: none !important;
}

.f-form-grid input:not([type="checkbox"]),
.f-form-grid select,
.f-form-grid textarea {
  width: 100%;
  min-height: 39px;
  padding: 9px 10px;
  border: 1px solid #ccd4df;
  border-radius: 6px;
  color: var(--f-ink);
  background: #fff;
  font-size: 12px;
  outline: none;
}

.f-form-grid textarea {
  resize: vertical;
  line-height: 1.55;
}

.f-form-grid input:focus,
.f-form-grid select:focus,
.f-form-grid textarea:focus {
  border-color: var(--f-blue);
  box-shadow: 0 0 0 3px rgba(36, 89, 211, 0.1);
}

.f-modal > form > .f-table-scroll {
  margin: 18px 20px;
  max-height: min(52vh, 430px);
}

.f-modal .f-table input {
  width: 100%;
  min-width: 105px;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid #ccd4df;
  border-radius: 6px;
  color: var(--f-ink);
  background: #fff;
  font-size: 11px;
}

.f-modal .f-table input:focus {
  border-color: var(--f-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(36, 89, 211, 0.1);
}

.f-chip-field {
  margin: 0;
  padding: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border: 1px solid var(--f-line);
  border-radius: 6px;
}

.f-chip-field legend {
  padding: 0 5px;
}

.f-chip-field label {
  position: relative;
  display: block;
}

.f-chip-field input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.f-chip-field span {
  min-height: 31px;
  padding: 0 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--f-line);
  border-radius: 5px;
  color: var(--f-muted);
  background: #fff;
  font-size: 10px;
  cursor: pointer;
}

.f-chip-field input:checked + span {
  border-color: var(--f-blue);
  color: var(--f-blue);
  background: var(--f-blue-soft);
  font-weight: 750;
}

.f-chip-field input:focus-visible + span {
  border-color: var(--f-blue);
  box-shadow: 0 0 0 3px rgba(36, 89, 211, 0.14);
}

.f-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--f-ink);
  font-size: 11px;
}

.f-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--f-blue);
}

.f-retention {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #edd4a9;
  border-radius: 6px;
  color: #795010;
  background: #fff9ed;
  font-size: 10px;
}

.f-form-help {
  margin: -2px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--f-green);
  color: var(--f-muted);
  background: #f3f8f6;
  font-size: 10px;
  line-height: 1.55;
}

.f-modal-actions {
  padding: 13px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--f-line);
  background: #fafbfc;
}

.f-form-error {
  margin: 0 20px 12px;
  padding: 9px 11px;
  border: 1px solid #efb0aa;
  border-radius: 6px;
  color: var(--f-red);
  background: var(--f-red-soft);
  font-size: 11px;
}

.f-file-gallery {
  min-height: 160px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.f-file-gallery > p {
  grid-column: 1 / -1;
  margin: 0;
  place-self: center;
  color: var(--f-muted);
  font-size: 11px;
}

.f-file-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--f-line);
  border-radius: 6px;
  background: #fafbfc;
}

.f-file-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  background: #eef1f5;
}

.f-file-gallery figcaption {
  padding: 8px;
}

.f-file-gallery figcaption strong,
.f-file-gallery figcaption span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-file-gallery figcaption strong {
  font-size: 10px;
}

.f-file-gallery figcaption span {
  margin-top: 3px;
  color: var(--f-muted);
  font-size: 9px;
}

.f-loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #172033;
  background: #f4f6f9;
}

.f-loading strong {
  margin-top: 8px;
  font-size: 15px;
}

.f-loading span {
  color: #667085;
  font-size: 11px;
}

.f-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #dbe4f7;
  border-top-color: #2459d3;
  border-radius: 50%;
  animation: f-spin 0.8s linear infinite;
}

.f-muted {
  color: var(--f-muted);
  font-size: 10px;
}

@keyframes f-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1260px) {
  .f-app {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .f-dashboard-grid,
  .f-manager-summary {
    grid-template-columns: 1fr;
  }

  .f-two-column.manager-layout {
    grid-template-columns: 1fr;
  }

  .f-manager-charts {
    grid-template-columns: 1fr;
  }

  .f-income-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .f-income-total {
    grid-column: span 2;
  }

  .f-filterbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .f-filterbar .search {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .f-app {
    display: block;
  }

  .f-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    border-right: 0;
  }

  .f-brand {
    min-height: 62px;
    border-bottom: 0;
  }

  .f-account {
    margin: 8px;
  }

  .f-account small {
    max-width: 300px;
  }

  .f-nav {
    grid-column: 1 / -1;
    padding: 5px 10px 8px;
    display: flex;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .f-nav button {
    width: auto;
    min-width: max-content;
    padding: 0 12px;
  }

  .f-side-foot {
    padding: 8px 12px;
    border-top: 0;
  }

  .f-side-foot button {
    text-align: right;
  }

  .f-topbar {
    position: relative;
  }

  .f-two-column,
  .f-two-column.accounts {
    grid-template-columns: 1fr;
  }

  .f-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-goal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-summary-row.refund {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .f-sidebar {
    grid-template-columns: 1fr auto;
  }

  .f-brand {
    padding-left: 14px;
  }

  .f-account {
    display: none;
  }

  .f-side-foot .f-env {
    display: none;
  }

  .f-topbar {
    padding: 11px 14px;
    display: grid;
  }

  .f-top-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 36px;
  }

  .f-top-controls label,
  .f-top-controls input,
  .f-top-controls select {
    min-width: 0;
    width: 100%;
  }

  .f-main {
    padding: 14px 12px 32px;
  }

  .f-team-progress {
    min-height: 0;
  }

  .f-goal-panel {
    min-height: 250px;
    padding: 20px;
    grid-template-columns: 1fr 100px;
  }

  .f-goal-copy h2 {
    font-size: 23px;
  }

  .f-ring {
    width: 96px;
  }

  .f-ring strong {
    font-size: 18px;
  }

  .f-metrics,
  .f-metrics.manager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-manager-summary {
    gap: 10px;
  }

  .f-team-goal {
    min-height: 0;
    padding: 19px;
    grid-template-columns: 1fr 104px;
  }

  .f-team-goal-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .f-team-goal h2 {
    font-size: 24px;
  }

  .f-manager-charts {
    margin-top: 10px;
    gap: 10px;
  }

  .f-chart-panel {
    min-height: 0;
    padding: 15px;
  }

  .f-line-chart {
    min-height: 0;
    overflow-x: auto;
  }

  .f-line-chart svg {
    min-width: 0;
  }

  .f-chart-grid text,
  .f-chart-x text {
    font-size: 16px;
  }

  .f-filterbar,
  .f-filterbar.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-filterbar .search {
    grid-column: 1 / -1;
  }

  .f-summary-row,
  .f-summary-row.refund {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-summary-row > div:nth-child(2n) {
    border-right: 0;
  }

  .f-summary-row > div:nth-child(n + 3) {
    border-top: 1px solid var(--f-line-soft);
  }

  .f-review-grid {
    grid-template-columns: 1fr;
  }

  .f-income-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-income-total {
    grid-column: 1 / -1;
  }

  .f-profile-layout {
    grid-template-columns: 1fr;
  }

  .f-profile-card {
    text-align: left;
  }

  .f-avatar {
    margin-left: 0;
  }

  .f-wechat-cards {
    grid-template-columns: 1fr;
  }

  .f-calculation-row {
    grid-template-columns: 1fr;
  }

  .f-calculation-row i {
    display: none;
  }

  .f-page-head {
    align-items: flex-start;
  }

  .f-page-head > div:last-child {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .f-form-grid {
    grid-template-columns: 1fr;
  }

  .f-form-grid .wide {
    grid-column: auto;
  }

  .f-modal-backdrop {
    padding: 8px;
  }

  .f-modal {
    max-height: calc(100vh - 16px);
  }

  .f-file-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .f-brand-mark {
    width: 34px;
    height: 34px;
  }

  .f-brand strong {
    font-size: 13px;
  }

  .f-nav-icon {
    display: none;
  }

  .f-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .f-nav button {
    width: 100%;
    min-width: 0;
    padding: 0 3px;
    justify-content: center;
    font-size: 10px;
  }

  .f-topbar > div:first-child strong {
    font-size: 16px;
  }

  .f-topbar > div:first-child span {
    overflow-wrap: anywhere;
  }

  .f-top-controls {
    grid-template-columns: 1fr 36px;
  }

  .f-top-controls label:first-child:nth-last-child(3) {
    grid-column: 1 / -1;
  }

  .f-goal-panel {
    grid-template-columns: 1fr;
  }

  .f-goal-panel .f-ring {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 78px;
  }

  .f-goal-panel .f-ring strong {
    font-size: 15px;
  }

  .f-goal-panel .f-ring span {
    display: none;
  }

  .f-goal-copy {
    padding-right: 55px;
  }

  .f-metric {
    min-height: 116px;
    padding: 13px;
  }

  .f-metric > strong {
    font-size: 19px;
  }

  .f-team-goal {
    grid-template-columns: 1fr;
  }

  .f-team-goal .f-ring {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 84px;
  }

  .f-team-goal > div:first-child {
    padding-right: 58px;
  }

  .f-chart-head {
    display: grid;
    gap: 8px;
  }

  .f-chart-head > span {
    text-align: left;
  }

  .f-sales-bar-row {
    grid-template-columns: 78px minmax(112px, 1fr);
  }

  .f-sales-bar-row > em {
    grid-column: 2;
    text-align: left;
  }

  .f-channel-bars > div {
    grid-template-columns: 82px 1fr 45px;
  }

  .f-page-head {
    display: grid;
  }

  .f-page-head > div:last-child {
    justify-content: flex-start;
  }

  .f-button {
    padding: 0 10px;
  }

  .f-filterbar,
  .f-filterbar.compact {
    grid-template-columns: 1fr;
  }

  .f-filterbar .search {
    grid-column: auto;
  }

  .f-goal-cards {
    grid-template-columns: 1fr;
  }

  .f-income-grid {
    grid-template-columns: 1fr;
  }

  .f-inline-actions {
    align-items: stretch;
  }

  .f-inline-actions .f-button {
    min-width: 76px;
  }

  .f-file-gallery {
    grid-template-columns: 1fr;
  }

  .f-profile-data dl {
    grid-template-columns: 1fr;
  }

  .f-profile-data dl div {
    border-right: 0;
  }
}
