:root {
  --navy: #14253c;
  --navy-dark: #0f1f35;
  --page: #f3f6fb;
  --panel: #ffffff;
  --line: #e5ebf3;
  --muted: #7b8aa3;
  --text: #24344d;
  --blue: #2d7ce1;
  --blue-deep: #0677c9;
  --green: #05c982;
  --yellow: #fff200;
  --shadow: 0 12px 28px rgba(31, 56, 88, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  background: var(--page);
}

button,
a {
  font: inherit;
}

a {
  color: #1677f2;
  font-weight: 700;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: 54px;
}

.sidebar {
  position: fixed;
  inset: 0 auto 54px 0;
  width: 244px;
  color: #aebcd0;
  background: var(--navy);
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  height: 73px;
  padding: 0 17px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.logo img {
  display: block;
  width: 140px;
  height: auto;
  max-height: 45px;
  object-fit: contain;
}

.side-nav {
  padding-top: 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  gap: 9px;
  color: #aebcd0;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item.active,
.nav-item:hover {
  color: #00d88a;
}

.nav-icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  opacity: 0.92;
}

.nav-icon.gauge {
  border: 3px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 16px 16px 0 0;
}

.nav-icon.gauge::after {
  position: absolute;
  left: 6px;
  bottom: 1px;
  width: 2px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(35deg);
  transform-origin: bottom;
  content: "";
}

.nav-icon.box {
  background: currentColor;
  border-radius: 2px;
}

.nav-icon.box::before,
.nav-icon.box::after {
  position: absolute;
  background: var(--navy);
  content: "";
}

.nav-icon.box::before {
  left: 7px;
  top: 3px;
  width: 3px;
  height: 10px;
}

.nav-icon.box::after {
  left: 4px;
  top: 7px;
  width: 9px;
  height: 3px;
}

.nav-icon.folder {
  width: 19px;
  height: 12px;
  margin-top: 3px;
  background: currentColor;
  border-radius: 2px;
}

.nav-icon.folder::before {
  position: absolute;
  top: -5px;
  left: 1px;
  width: 10px;
  height: 7px;
  background: currentColor;
  border-radius: 2px 2px 0 0;
  content: "";
}

.nav-icon.affiliate {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 14px solid currentColor;
}

.nav-icon.affiliate::after {
  position: absolute;
  right: -7px;
  top: -9px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  content: "";
}

.nav-icon.coins::before,
.nav-icon.coins::after {
  position: absolute;
  left: 0;
  width: 17px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.nav-icon.coins::before {
  top: 2px;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.nav-icon.help {
  color: currentColor;
  background: currentColor;
  border-radius: 50%;
}

.nav-icon.help::after {
  position: absolute;
  left: 6px;
  top: 2px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  content: "?";
}

.nav-icon.activity::before,
.nav-icon.activity::after {
  position: absolute;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.nav-icon.activity::before {
  left: 5px;
  top: 1px;
  width: 7px;
  height: 7px;
  box-shadow: -6px 9px 0 1px currentColor, 7px 9px 0 1px currentColor;
}

.nav-icon.activity::after {
  left: 1px;
  bottom: 0;
  width: 15px;
  height: 6px;
  border-radius: 8px 8px 2px 2px;
}

.chevron {
  margin-left: auto;
  color: #8c9bb0;
  font-size: 15px;
  line-height: 1;
}

.main-frame {
  min-height: calc(100vh - 54px);
  margin-left: 244px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 18px;
  background: var(--navy);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.circle-icon,
.mail-icon,
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.circle-icon.moon {
  position: relative;
  width: 27px;
  height: 27px;
  background: #536176;
}

.circle-icon.moon::before {
  position: absolute;
  inset: 5px 8px 5px 5px;
  border: 3px solid #cfd8e4;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
}

.mail-icon {
  position: relative;
  width: 28px;
  height: 22px;
  background: #bac6d7;
  border-radius: 3px;
}

.mail-icon::before,
.mail-icon::after {
  position: absolute;
  top: 3px;
  width: 16px;
  height: 2px;
  background: #536176;
  content: "";
}

.mail-icon::before {
  left: 2px;
  transform: rotate(35deg);
}

.mail-icon::after {
  right: 2px;
  transform: rotate(-35deg);
}

.funds-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  gap: 8px;
  color: #14253c;
  background: var(--yellow);
  border-radius: 3px;
  font-weight: 800;
}

.funds-btn span {
  font-size: 23px;
  line-height: 1;
}

.balance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 90px;
  padding: 0 13px;
  gap: 7px;
  color: #ffffff;
  border-radius: 3px;
  font-weight: 800;
}

.balance-btn.dark-blue {
  background: #0c80d7;
}

.balance-btn.cyan {
  background: #22baf1;
}

.balance-btn.green {
  background: #00c87c;
  color: #062b20;
}

.mini-wallet,
.mini-bag,
.mini-coins {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 12px;
}

.mini-wallet {
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-wallet::after {
  position: absolute;
  right: -2px;
  top: 3px;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.mini-bag {
  border: 2px solid currentColor;
  border-radius: 2px 2px 5px 5px;
}

.mini-bag::before {
  position: absolute;
  left: 3px;
  top: -6px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  content: "";
}

.mini-coins::before {
  position: absolute;
  inset: 1px 0 auto 0;
  width: 14px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
  content: "";
}

.avatar {
  color: #91a4d3;
  background: #edf3ff;
  font-weight: 700;
}

.profile-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-menu-wrap:hover .profile-dropdown,
.profile-menu-wrap.is-open .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  z-index: 80;
  width: 235px;
  padding: 10px 0;
  color: #536176;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(8, 25, 45, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.profile-dropdown::before {
  position: absolute;
  top: -12px;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #ffffff;
  content: "";
}

.profile-menu-item {
  width: 100%;
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 20px;
  color: #536176;
  background: #ffffff;
  border: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.profile-menu-item:hover {
  color: #1f3f66;
  background: #f5f8fc;
}

.profile-menu-item.logout {
  color: #ee3659;
}

.profile-divider {
  height: 1px;
  margin: 10px 0 8px;
  background: #eef2f7;
}

.profile-ico {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #657589;
}

.profile-menu-item.logout .profile-ico {
  color: #ee3659;
}

.profile-user::before,
.profile-user::after {
  position: absolute;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.profile-user::before {
  left: 6px;
  top: 1px;
  width: 7px;
  height: 7px;
  box-shadow: -5px 8px 0 -1px currentColor, 6px 8px 0 -1px currentColor;
}

.profile-user::after {
  left: 3px;
  bottom: 0;
  width: 13px;
  height: 7px;
  border-radius: 8px 8px 2px 2px;
}

.profile-coins::before {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 15px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  content: "";
}

.profile-invoice::before {
  position: absolute;
  left: 3px;
  top: 1px;
  width: 12px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.profile-invoice::after {
  position: absolute;
  left: 6px;
  top: 5px;
  color: currentColor;
  font-size: 10px;
  font-weight: 900;
  content: "$";
}

.profile-balance::before {
  position: absolute;
  left: 1px;
  top: 4px;
  width: 17px;
  height: 12px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.profile-balance::after {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 13px;
  height: 2px;
  background: #ffffff;
  content: "";
}

.profile-card::before {
  position: absolute;
  left: 1px;
  top: 4px;
  width: 17px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.profile-card::after {
  position: absolute;
  left: 4px;
  top: 8px;
  width: 3px;
  height: 3px;
  background: currentColor;
  box-shadow: 5px 0 0 currentColor, 10px 0 0 currentColor, 0 4px 0 currentColor, 5px 4px 0 currentColor;
  content: "";
}

.profile-toggle::before {
  position: absolute;
  left: 1px;
  top: 5px;
  width: 17px;
  height: 10px;
  background: currentColor;
  border-radius: 10px;
  content: "";
}

.profile-toggle::after {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  content: "";
}

.profile-chat::before {
  position: absolute;
  left: 2px;
  top: 4px;
  width: 15px;
  height: 11px;
  background: currentColor;
  border-radius: 8px;
  content: "";
}

.profile-chat::after {
  position: absolute;
  left: 6px;
  top: 9px;
  width: 3px;
  height: 3px;
  color: #ffffff;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 5px 0 0 currentColor, 10px 0 0 currentColor;
  content: "";
}

.profile-logout::before {
  position: absolute;
  left: 2px;
  top: 4px;
  width: 10px;
  height: 11px;
  border: 2px solid currentColor;
  border-right: 0;
  border-radius: 2px;
  content: "";
}

.profile-logout::after {
  position: absolute;
  right: 1px;
  top: 6px;
  width: 9px;
  height: 7px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.content {
  padding: 18px 26px 62px;
}

.breadcrumb {
  height: 50px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4866a4;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb span {
  color: #798cae;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(145px, 1fr));
  gap: 32px;
  margin: 18px 0;
}

.stat-card {
  min-height: 156px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  padding: 21px 21px;
  gap: 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(31, 56, 88, 0.05);
}

.stat-card p {
  min-height: 25px;
  margin: 0 0 3px;
  color: #73819a;
  font-size: 12px;
  font-weight: 500;
}

.stat-card strong {
  display: block;
  margin-bottom: 7px;
  color: #253248;
  font-size: 23px;
  font-weight: 800;
}

.stat-card a {
  display: block;
  font-size: 14px;
  line-height: 1.65;
}

.stat-icon {
  position: relative;
  width: 51px;
  height: 51px;
  border-radius: 13px;
}

.stat-icon.blue {
  color: #2d7ce1;
  background: #dfeeff;
}

.stat-icon.mint {
  color: #03c984;
  background: #ddfbec;
}

.stat-icon.violet {
  color: #815ee8;
  background: #ede3ff;
}

.stat-icon.peach {
  color: #ff8245;
  background: #ffe9db;
}

.stat-icon.sky {
  color: #22b7ef;
  background: #e0f7ff;
}

.stat-icon.rose {
  color: #ec476e;
  background: #ffe3eb;
}

.briefcase,
.wallet,
.bars,
.users,
.sitemap,
.pie {
  position: absolute;
  inset: 0;
  margin: auto;
}

.briefcase {
  width: 26px;
  height: 20px;
  top: 7px;
  background: currentColor;
  border-radius: 3px;
}

.briefcase::before {
  position: absolute;
  left: 8px;
  top: -7px;
  width: 10px;
  height: 7px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  content: "";
}

.briefcase::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 3px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
}

.pie {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: conic-gradient(currentColor 0 75%, transparent 75% 100%);
}

.pie::after {
  position: absolute;
  right: -3px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

.wallet {
  width: 26px;
  height: 23px;
  background: currentColor;
  border-radius: 4px;
}

.wallet::before {
  position: absolute;
  left: 4px;
  top: 5px;
  width: 17px;
  height: 3px;
  background: rgba(255, 255, 255, 0.45);
  content: "";
}

.wallet::after {
  position: absolute;
  right: 3px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  content: "";
}

.bars {
  width: 27px;
  height: 27px;
  border-bottom: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.bars::before {
  position: absolute;
  left: 6px;
  bottom: 4px;
  width: 4px;
  height: 13px;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor, 14px -5px 0 currentColor;
  content: "";
}

.users {
  width: 33px;
  height: 24px;
}

.users::before {
  position: absolute;
  left: 10px;
  top: 0;
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -11px 5px 0 -1px currentColor, 11px 5px 0 -1px currentColor;
  content: "";
}

.users::after {
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 20px;
  height: 11px;
  background: currentColor;
  border-radius: 12px 12px 4px 4px;
  box-shadow: -12px 3px 0 -2px currentColor, 12px 3px 0 -2px currentColor;
  content: "";
}

.sitemap {
  width: 31px;
  height: 27px;
}

.sitemap::before {
  position: absolute;
  left: 11px;
  top: 0;
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: -12px 18px 0 currentColor, 0 18px 0 currentColor, 12px 18px 0 currentColor;
  content: "";
}

.sitemap::after {
  position: absolute;
  left: 5px;
  top: 10px;
  width: 21px;
  height: 11px;
  border: 3px solid currentColor;
  border-bottom: 0;
  content: "";
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 308px;
  gap: 32px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 21px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h1,
.panel-heading h2 {
  margin: 0;
  color: #263955;
  font-size: 18px;
  font-weight: 800;
}

.panel-heading a {
  font-size: 14px;
}

.websites-panel {
  grid-column: 1 / 3;
  grid-row: 1;
  min-height: 618px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  color: #6e7c94;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

td {
  color: #6c7b93;
  font-weight: 500;
}

.websites-table {
  min-width: 930px;
}

.websites-table th {
  padding: 29px 8px 16px;
}

.websites-table td {
  height: 78px;
  padding: 0 8px;
  border-top: 1px solid #edf1f6;
}

.websites-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.websites-table th:first-child,
.websites-table td:first-child {
  width: 295px;
  padding-left: 21px;
}

.websites-table th:nth-child(2),
.websites-table td:nth-child(2),
.websites-table th:nth-child(3),
.websites-table td:nth-child(3) {
  width: 52px;
  text-align: center;
}

.websites-table th:nth-child(4),
.websites-table td:nth-child(4) {
  width: 77px;
}

.websites-table th:nth-child(5),
.websites-table td:nth-child(5) {
  width: 130px;
}

.websites-table th:nth-child(6),
.websites-table td:nth-child(6) {
  width: 84px;
}

.websites-table th:nth-child(7),
.websites-table td:nth-child(7) {
  width: 74px;
}

.websites-table th:nth-child(8),
.websites-table td:nth-child(8) {
  width: 96px;
}

.site-logo {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  vertical-align: middle;
}

.site-logo.gold {
  color: #2f2d1e;
  background: #e5ba39;
  border-radius: 50%;
}

.site-logo.textmark {
  color: #121212;
  font-family: Georgia, serif;
  font-size: 14px;
}

.site-logo.redmark {
  color: #f14047;
  font-size: 14px;
}

.site-logo.wp {
  color: #1278bd;
  border: 2px solid #1278bd;
  border-radius: 50%;
  font-size: 8px;
}

.site-logo.bmark {
  color: #1380c3;
  font-size: 18px;
}

.site-link {
  display: inline-block;
  min-width: 190px;
  padding: 3px 8px 4px;
  color: #ffffff;
  background: #7566f7;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  vertical-align: middle;
}

.site-link.wide {
  min-width: 202px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 17px;
  padding: 0 6px;
  color: #ffffff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.green-pill {
  background: #05c982;
}

.blue-pill {
  background: #2d7ce1;
}

.flag-us {
  display: inline-block;
  width: 34px;
  height: 22px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #2d5aa6 0 42%, transparent 42%),
    repeating-linear-gradient(0deg, #f15858 0 2px, #ffffff 2px 4px);
  box-shadow: 0 8px 14px rgba(255, 69, 69, 0.24);
}

.price {
  color: #38558a;
  font-weight: 800;
}

.buy-btn {
  width: 89px;
  height: 52px;
  color: #ffffff;
  background: #2d7ce1;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.14;
}

.explore-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border-top: 1px solid var(--line);
}

.right-rail {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wallet-card {
  position: relative;
  min-height: 159px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  padding: 27px 20px;
  color: #ffffff;
  background: #0677c9;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.wallet-card::before,
.wallet-card::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(20, 150, 235, 0.5);
  content: "";
}

.wallet-card::before {
  right: -70px;
  bottom: -75px;
  width: 165px;
  height: 165px;
}

.wallet-card::after {
  right: 28px;
  bottom: -56px;
  width: 150px;
  height: 82px;
  background: rgba(10, 139, 222, 0.5);
}

.wallet-card span {
  position: relative;
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
}

.wallet-card strong {
  position: relative;
  display: block;
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 800;
  z-index: 1;
}

.wallet-card button {
  position: relative;
  width: 123px;
  height: 31px;
  color: #667389;
  background: #ffffff;
  border-radius: 3px;
  font-weight: 800;
  z-index: 1;
}

.wallet-large {
  position: relative;
  width: 41px;
  height: 37px;
  background: #ffffff;
  border-radius: 4px;
  z-index: 1;
}

.wallet-large::before {
  position: absolute;
  left: 7px;
  top: -7px;
  width: 31px;
  height: 5px;
  background: #ffffff;
  border-radius: 4px 4px 0 0;
  content: "";
}

.wallet-large::after {
  position: absolute;
  right: 5px;
  top: 17px;
  width: 5px;
  height: 5px;
  background: #0677c9;
  border-radius: 50%;
  content: "";
}

.activity-panel {
  overflow: hidden;
  background: #ffffff;
  border-radius: 7px 7px 13px 13px;
  box-shadow: var(--shadow);
}

.activity-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 20px;
  color: #ffffff;
  background: #0c1d31;
}

.activity-head::after {
  position: absolute;
  right: -15px;
  top: 0;
  width: 75px;
  height: 58px;
  background: #102d47;
  transform: skewX(-13deg);
  content: "";
}

.activity-head h2 {
  position: relative;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  z-index: 1;
}

.activity-head a {
  position: relative;
  color: #ffffff;
  font-size: 14px;
  z-index: 1;
}

.activity-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.activity-card {
  position: relative;
  min-height: 105px;
  padding: 20px 16px 12px 55px;
  background: #e6f0ff;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(31, 56, 88, 0.12);
}

.check {
  position: absolute;
  left: 27px;
  top: 20px;
  width: 21px;
  height: 21px;
  background: #05c982;
  border-radius: 3px;
}

.check::after {
  position: absolute;
  left: 5px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
  content: "";
}

.activity-card p {
  margin: 0 0 5px;
  color: #59687f;
  font-weight: 500;
}

.activity-card time {
  display: block;
  color: #7b8aa3;
  font-size: 14px;
  text-align: right;
}

.tasks-panel,
.tips-panel {
  min-height: 501px;
  margin-top: 0;
}

.tasks-panel {
  grid-column: 1;
  grid-row: 2;
}

.tips-panel {
  grid-column: 1 / 3;
  grid-row: 2;
}

.tasks-table th,
.tasks-table td {
  height: 67px;
  padding: 0 10px;
  border-top: 1px solid #edf1f6;
}

.tasks-table th {
  height: 61px;
}

.tasks-table th:first-child,
.tasks-table td:first-child {
  padding-left: 42px;
}

.tasks-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  min-width: 84px;
  color: #069767;
  background: #c9f7df;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.view-btn {
  width: 63px;
  height: 32px;
  color: #2d7ce1;
  background: #ffffff;
  border: 1px solid #2d7ce1;
  border-radius: 3px;
  font-weight: 700;
}

.tips-list {
  display: grid;
  gap: 17px;
  margin: 17px 0 0;
  padding: 0 28px 25px;
  color: #102136;
  font-size: 17px;
  list-style: none;
}

.tips-list li {
  position: relative;
  padding-left: 25px;
}

.tips-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  background: #05c982;
  border-radius: 2px;
  content: "";
}

.tips-list li::after {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
  content: "";
}

.bonus-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: #233143;
  font-size: 16px;
  font-weight: 800;
}

.bonus-bar strong {
  color: var(--yellow);
}

.bonus-bar button {
  height: 29px;
  padding: 0 18px;
  color: #111c2e;
  background: #ffd800;
  border-radius: 3px;
  font-weight: 900;
  text-transform: capitalize;
}

.rocket {
  position: relative;
  width: 15px;
  height: 22px;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(135deg, #ffffff 0 35%, #ef4e8b 35% 66%, #35a0ff 66%);
  transform: rotate(38deg);
}

.rocket::before,
.rocket::after {
  position: absolute;
  content: "";
}

.rocket::before {
  left: 4px;
  top: 4px;
  width: 5px;
  height: 5px;
  background: #ffe66a;
  border-radius: 50%;
}

.rocket::after {
  left: 2px;
  bottom: -8px;
  width: 10px;
  height: 10px;
  background: #ff9d00;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.arrow {
  font-size: 26px;
  font-weight: 400;
}

.chat-button {
  position: fixed;
  right: 22px;
  bottom: 16px;
  z-index: 40;
  width: 50px;
  height: 50px;
  background: #2586f2;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(37, 134, 242, 0.25);
}

.chat-button::before {
  position: absolute;
  left: 14px;
  top: 13px;
  width: 22px;
  height: 20px;
  border: 3px solid #132235;
  border-radius: 4px;
  content: "";
}

.chat-button::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 7px;
  height: 7px;
  border-right: 3px solid #132235;
  border-bottom: 3px solid #132235;
  content: "";
}

.active-project {
  color: #00d88a;
}

.project-link {
  display: flex;
  align-items: center;
  min-height: 24px;
  gap: 7px;
  color: #aebcd0;
  font-size: 12px;
  font-weight: 700;
}

.project-link.active,
.project-link:hover {
  color: #00d88a;
}

.project-link span {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: currentColor;
}

.mini-square,
.mini-doc,
.mini-clipboard,
.mini-cart {
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-check {
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-check::after {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 6px;
  height: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  content: "";
}

.mini-link::before {
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 8px;
  transform: rotate(-28deg);
  content: "";
}

.mini-dollar::before {
  position: absolute;
  left: 2px;
  top: -1px;
  font-weight: 900;
  content: "$";
}

.mini-star::before {
  position: absolute;
  inset: 0;
  font-size: 13px;
  line-height: 1;
  content: "★";
}

.mini-heart::before {
  position: absolute;
  inset: 0;
  font-size: 13px;
  line-height: 1;
  content: "♥";
}

.mini-ban {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-ban::after {
  position: absolute;
  left: 1px;
  top: 4px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(-35deg);
  content: "";
}

.all-websites-content {
  padding-top: 14px;
  padding-bottom: 76px;
}

.market-breadcrumb {
  margin: 0 0 14px;
  color: #7690b3;
  font-size: 13px;
  font-weight: 700;
}

.market-breadcrumb span {
  margin: 0 6px;
  color: #9aa9bd;
}

.market-breadcrumb strong {
  color: #ef5878;
}

.faq-strip {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #ffffff;
  background: #0579c8;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  box-shadow: 0 4px 10px rgba(3, 92, 160, 0.14);
}

.filters-panel {
  position: relative;
  margin-top: 12px;
  padding: 18px 16px 26px;
  background: #ffffff;
  border: 1px solid #dfe7f2;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(31, 56, 88, 0.08);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 10px 12px;
}

.filter-grid label {
  display: grid;
  grid-column: span 2;
  gap: 5px;
}

.filter-grid label:nth-child(3),
.filter-grid label:nth-child(4),
.filter-grid label:nth-child(7),
.filter-grid label:nth-child(9),
.filter-grid label:nth-child(12),
.filter-grid label:nth-child(13),
.filter-grid label:nth-child(14) {
  grid-column: span 4;
}

.filter-grid .wide-filter {
  grid-column: span 3;
}

.filter-grid span {
  color: #7c8ca3;
  font-size: 11px;
  font-weight: 800;
}

.filter-grid b {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  color: #ffffff;
  background: #486aa1;
  border-radius: 50%;
  font-size: 8px;
}

.filter-grid input,
.filter-grid select,
.market-toolbar input,
.market-toolbar select {
  width: 100%;
  height: 24px;
  padding: 0 9px;
  color: #5f6e82;
  background: #ffffff;
  border: 1px solid #d9e2ef;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
}

.filter-actions {
  position: absolute;
  right: 16px;
  bottom: 26px;
  display: flex;
  gap: 6px;
}

.reset-btn,
.search-btn {
  height: 25px;
  padding: 0 13px;
  color: #ffffff;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
}

.reset-btn {
  background: #41609a;
}

.search-btn {
  background: #287ce2;
}

.press-strip {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 0 15px;
  color: #ffffff;
  background: #063978;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
}

.press-strip mark {
  color: #fff200;
  background: transparent;
}

.press-strip button {
  height: 25px;
  margin-left: auto;
  padding: 0 14px;
  color: #111c2e;
  background: #fff200;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 900;
}

.press-strip em {
  height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  font-style: normal;
  font-size: 12px;
}

.market-table-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe7f2;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(31, 56, 88, 0.08);
}

.market-toolbar {
  display: grid;
  grid-template-columns: 235px 1fr 164px;
  height: 30px;
  background: #0579c8;
}

.url-search {
  display: grid;
  grid-template-columns: 1fr 34px;
  border: 3px solid #05a7ed;
  border-right: 0;
}

.url-search input {
  height: 24px;
  border: 0;
}

.url-search button {
  height: 24px;
  color: #ffffff;
  background: #05c982;
  font-weight: 900;
}

.market-toolbar select {
  height: 24px;
  margin: 3px;
  border-color: #ffffff;
}

.all-sites-table-wrap {
  overflow-x: auto;
}

.all-sites-table {
  min-width: 1000px;
}

.all-sites-table th {
  height: 31px;
  padding: 0 12px;
  color: #ffffff;
  background: #0579c8;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11px;
  text-transform: uppercase;
}

.all-sites-table td {
  min-height: 70px;
  padding: 9px 12px;
  color: #7a8ca6;
  border-left: 1px solid #e4edf7;
  border-bottom: 1px solid #edf3fa;
  font-size: 12px;
  vertical-align: top;
}

.all-sites-table tbody tr:nth-child(even) {
  background: #f5f8fc;
}

.all-sites-table th:first-child,
.all-sites-table td:first-child {
  width: 230px;
  border-left: 0;
}

.all-sites-table th:nth-child(2),
.all-sites-table td:nth-child(2) {
  width: 170px;
}

.all-sites-table th:nth-child(3),
.all-sites-table td:nth-child(3) {
  width: 150px;
  text-align: center;
}

.all-sites-table th:nth-child(4),
.all-sites-table td:nth-child(4),
.all-sites-table th:nth-child(5),
.all-sites-table td:nth-child(5) {
  width: 95px;
}

.all-sites-table th:nth-child(6),
.all-sites-table td:nth-child(6) {
  width: 100px;
  text-align: center;
}

.all-sites-table th:nth-child(7),
.all-sites-table td:nth-child(7) {
  width: 150px;
}

.all-sites-table td > a {
  display: block;
  color: #2784df;
  font-size: 13px;
  font-weight: 800;
}

.all-sites-table td > span {
  display: block;
  line-height: 1.3;
}

.all-sites-table td small {
  display: block;
  color: #6e7b8f;
  font-size: 10px;
  font-weight: 800;
}

.all-sites-table td i {
  display: table;
  margin: 0 0 4px;
  padding: 2px 8px;
  color: #2b68a4;
  background: #d8ebff;
  border-radius: 3px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
}

.all-sites-table td strong {
  display: block;
  color: #61758f;
  font-size: 11px;
  font-weight: 800;
}

.all-sites-table td:nth-child(3) strong::before {
  color: #ff9b00;
  content: "▥ ";
}

.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 15px;
  margin-right: 5px;
  color: #ffffff;
  background: #045caf;
  border-radius: 3px;
  font-weight: 900;
}

.metric-icon.m {
  background: #2f85e7;
  font-size: 9px;
}

.flag-jp {
  display: inline-block;
  width: 34px;
  height: 22px;
  border: 1px solid #dfe2e7;
  border-radius: 2px;
  background: radial-gradient(circle at center, #e22c36 0 5px, #ffffff 6px);
}

.all-sites-table td:nth-child(6) small {
  margin-top: 2px;
  font-weight: 600;
}

.market-action {
  width: 100%;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  color: #ffffff;
  background: #2f74c8;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 900;
}

.market-action b {
  color: #ffffff;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 7px;
}

.quick-actions button {
  height: 23px;
  color: #f05c45;
  background: #ffffff;
  border: 1px solid #dfe7f2;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(31, 56, 88, 0.08);
  font-weight: 900;
}

.quick-actions button:first-child {
  color: #ff8b3d;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin: 15px 0 0;
}

.pagination a,
.pagination span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #5c6b80;
  background: #ffffff;
  border: 1px solid #dfe7f2;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
}

.pagination a.active {
  color: #ffffff;
  background: #111111;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .app-shell {
  width: 100%;
  overflow: hidden;
}

.funds-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 154px 26px 70px;
}

.funds-modal.is-open {
  display: flex;
}

.funds-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 34, 52, 0.7);
}

.funds-dialog {
  position: relative;
  width: min(1480px, 100%);
  overflow: hidden;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 22px 48px rgba(6, 30, 58, 0.32);
}

.funds-dialog-head {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(90deg, #0989d0, #0754ad);
}

.funds-dialog-head h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 800;
}

.funds-close {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.funds-close:hover {
  color: #ffffff;
}

.funds-dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 465px;
  gap: 41px;
  padding: 22px;
}

.funds-form-card,
.funds-summary {
  background: linear-gradient(135deg, #078bd1, #0754ad);
  border-radius: 14px;
  box-shadow: 0 13px 24px rgba(0, 78, 148, 0.14);
}

.funds-form-card {
  padding: 16px;
}

.invoice-note {
  margin: 0 0 31px;
  min-height: 100px;
  padding: 18px 28px;
  color: #0d3c86;
  background: #d7e7ff;
  border-radius: 4px;
  font-size: 24px;
  line-height: 1.45;
}

.invoice-note a {
  color: #006ff4;
  font-size: 17px;
  font-weight: 800;
}

.funds-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: end;
  padding: 0 12px 60px;
}

.funds-field {
  display: grid;
  gap: 4px;
}

.funds-field span {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.funds-field select {
  width: 100%;
  height: 50px;
  padding: 0 22px;
  color: #465166;
  background: #ffffff;
  border: 1px solid #c8d5e4;
  border-radius: 4px;
  font-size: 22px;
  outline: none;
}

.funds-field select:focus {
  border-color: #8ab8ff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.payment-unavailable {
  display: none;
  color: #ffea00;
  font-size: 14px;
  font-weight: 800;
}

.payment-unavailable.is-visible {
  display: block;
}

.funds-summary {
  padding: 29px 26px 27px;
  color: #ffffff;
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 17px;
}

.summary-row span {
  font-size: 21px;
  font-weight: 800;
}

.summary-row strong {
  color: #ffffff;
  font-size: 29px;
  font-weight: 900;
  text-align: right;
}

.summary-row.bonus span,
.summary-row.bonus strong {
  color: #ffea00;
}

.summary-divider {
  height: 1px;
  margin: 2px 0 22px;
  background: rgba(255, 255, 255, 0.48);
}

.summary-row.total {
  margin-bottom: 31px;
}

.summary-row.total strong {
  font-size: 37px;
}

.pay-button {
  width: 100%;
  height: 59px;
  color: #091a2d;
  background: #ffd300;
  border-radius: 5px;
  font-size: 28px;
  font-weight: 900;
}

.pay-button:disabled {
  cursor: not-allowed;
  color: #6c7482;
  background: #d8dee8;
}

.pay-button span {
  font-size: 36px;
  line-height: 0;
  vertical-align: -2px;
}

.crypto-wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.crypto-wallet-modal.is-open {
  display: flex;
}

.crypto-wallet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 42, 0.72);
  backdrop-filter: blur(2px);
}

.crypto-wallet-dialog {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  color: #24344d;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(6, 30, 58, 0.34);
}

.crypto-wallet-head {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b89d1, #0754ad);
}

.crypto-wallet-kicker {
  display: block;
  margin-bottom: 7px;
  color: #d8eeff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.crypto-wallet-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.18;
}

.crypto-wallet-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.crypto-wallet-close:hover {
  color: #ffffff;
}

.crypto-wallet-body {
  display: grid;
  gap: 18px;
  padding: 24px 26px 26px;
}

.crypto-secure-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #385374;
  background: #edf6ff;
  border: 1px solid #cfe3fb;
  border-radius: 7px;
  font-weight: 700;
}

.crypto-shield {
  position: relative;
  width: 34px;
  height: 34px;
  background: #07c982;
  border-radius: 11px 11px 15px 15px;
}

.crypto-shield::after {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 11px;
  height: 7px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
  content: "";
}

.crypto-payment-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.crypto-payment-summary div {
  padding: 16px;
  background: #f6f8fc;
  border: 1px solid #dde7f3;
  border-radius: 7px;
}

.crypto-payment-summary span,
.crypto-wallet-field span {
  display: block;
  margin-bottom: 7px;
  color: #68788f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-payment-summary strong {
  color: #12233a;
  font-size: 22px;
  font-weight: 900;
}

.crypto-wallet-field {
  display: grid;
}

.crypto-wallet-field input,
.crypto-wallet-field select {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #ccd8e7;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.crypto-wallet-field input:focus,
.crypto-wallet-field select:focus {
  border-color: #2d7ce1;
  box-shadow: 0 0 0 3px rgba(45, 124, 225, 0.12);
}

.crypto-wallet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}

.crypto-secondary,
.crypto-primary {
  min-width: 116px;
  height: 43px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 900;
}

.crypto-secondary {
  color: #526277;
  background: #eef3f8;
}

.crypto-primary {
  color: #091a2d;
  background: #ffd300;
}

.crypto-primary:hover {
  background: #ffe05a;
}

.task-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.task-modal.is-open {
  display: flex;
}

.task-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 34, 52, 0.64);
}

.task-dialog {
  position: relative;
  width: min(390px, 100%);
  padding: 28px 26px 24px;
  color: #24344d;
  background: #ffffff;
  border-radius: 9px;
  box-shadow: 0 22px 48px rgba(6, 30, 58, 0.3);
  text-align: center;
}

.task-dialog h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.task-dialog p {
  margin: 0 0 22px;
  color: #59687f;
  font-size: 17px;
  font-weight: 700;
}

.task-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 28px;
  height: 28px;
  color: #7b8aa3;
  background: transparent;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.task-ok {
  height: 36px;
  min-width: 96px;
  padding: 0 18px;
  color: #ffffff;
  background: #2d7ce1;
  border-radius: 4px;
  font-weight: 800;
}

.task-toast {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 90;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 18px;
  color: #ffffff;
  background: #102136;
  border-left: 5px solid #2d7ce1;
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(6, 30, 58, 0.28);
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.task-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.projects-content {
  min-height: calc(100vh - 127px);
  padding: 26px 38px 92px;
}

.projects-intro {
  min-height: 128px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  margin: 0 0 38px;
  padding-bottom: 26px;
  border-bottom: 1px solid #d7e0ec;
  text-align: center;
}

.projects-intro h1 {
  margin: 0;
  color: #385f9f;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
}

.projects-intro p {
  margin: 0;
  color: #385f9f;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.projects-workspace {
  display: grid;
  justify-items: start;
  gap: 25px;
}

.create-project-btn {
  height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 0 29px;
  color: #ffffff;
  background: #2d7ce1;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(45, 124, 225, 0.16);
  font-size: 25px;
  font-weight: 800;
}

.create-project-btn:hover {
  background: #216fce;
}

.create-plus {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: #ffffff;
  border-radius: 50%;
}

.create-plus::before,
.create-plus::after {
  position: absolute;
  inset: 0;
  margin: auto;
  background: #2d7ce1;
  border-radius: 2px;
  content: "";
}

.create-plus::before {
  width: 17px;
  height: 5px;
}

.create-plus::after {
  width: 5px;
  height: 17px;
}

.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 628px));
  justify-content: start;
  gap: 25px;
}

.project-card {
  width: 100%;
  max-width: 628px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 22px 52px rgba(33, 55, 84, 0.12);
}

.project-card.is-inactive {
  opacity: 0.78;
}

.project-card-head {
  min-height: 87px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 31px;
  color: #ffffff;
  background: linear-gradient(90deg, #057fd0, #0755ad);
}

.project-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 27px;
  font-weight: 800;
}

.project-title span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-pin {
  position: relative;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  background: #e94475;
  border-radius: 5px;
  transform: rotate(45deg);
}

.project-pin::before {
  position: absolute;
  inset: 6px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  content: "";
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.project-toggle {
  position: relative;
  width: 45px;
  height: 24px;
  background: #2f7ee2;
  border-radius: 999px;
}

.project-toggle::after {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  content: "";
  transition: right 120ms ease;
}

.project-card.is-inactive .project-toggle {
  background: #7790b4;
}

.project-card.is-inactive .project-toggle::after {
  right: 23px;
}

.project-icon-btn {
  position: relative;
  width: 27px;
  height: 27px;
  background: transparent;
}

.project-edit::before {
  position: absolute;
  left: 5px;
  top: 6px;
  width: 14px;
  height: 14px;
  border: 4px solid #ffffff;
  border-radius: 2px;
  content: "";
}

.project-edit::after {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 16px;
  height: 5px;
  background: #ffffff;
  border-radius: 2px;
  transform: rotate(-45deg);
  content: "";
}

.project-delete::before {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 13px;
  height: 16px;
  border: 3px solid #fff200;
  border-top: 0;
  border-radius: 1px 1px 3px 3px;
  content: "";
}

.project-delete::after {
  position: absolute;
  left: 5px;
  top: 2px;
  width: 17px;
  height: 5px;
  border-top: 3px solid #fff200;
  border-radius: 2px;
  content: "";
}

.project-card-body {
  padding: 19px 31px 4px;
}

.project-service-row {
  width: 100%;
  min-height: 87px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0;
  color: #385f9f;
  background: #ffffff;
  border-top: 1px solid #e7edf5;
  text-align: left;
}

.project-service-row:first-child {
  border-top: 0;
}

.project-service-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(22px, 2.1vw, 27px);
  font-weight: 500;
}

.project-service-name > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-service-icon {
  position: relative;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #3c659e;
}

.project-service-icon.link::before,
.project-service-icon.link::after {
  position: absolute;
  width: 14px;
  height: 8px;
  border: 4px solid currentColor;
  border-radius: 9px;
  content: "";
}

.project-service-icon.link::before {
  left: 1px;
  top: 7px;
  transform: rotate(-43deg);
}

.project-service-icon.link::after {
  right: 0;
  top: 7px;
  transform: rotate(-43deg);
}

.project-service-icon.chart {
  border: 4px solid currentColor;
  border-radius: 2px;
}

.project-service-icon.chart::before {
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 3px;
  height: 8px;
  background: currentColor;
  box-shadow: 5px -4px 0 currentColor, 10px 2px 0 currentColor;
  content: "";
}

.project-service-icon.doc::before {
  position: absolute;
  inset: 0 3px 0 2px;
  border: 3px solid currentColor;
  border-radius: 2px;
  content: "";
}

.project-service-icon.doc::after {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 9px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
  content: "";
}

.project-counts {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
}

.project-count {
  min-width: 39px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 800;
}

.project-count.blue {
  color: #236ab5;
  background: #dcecff;
}

.project-count.gray {
  color: #708196;
  background: #e7edf5;
}

.project-count.cyan {
  color: #0c8dbd;
  background: #ddf7ff;
}

.project-count.orange {
  color: #cc6a27;
  background: #ffe8d8;
}

.project-count.green {
  color: #008a62;
  background: #c9f7df;
}

.project-count.red {
  color: #cc335e;
  background: #ffdce7;
}

.project-empty {
  width: min(620px, 100%);
  padding: 34px;
  color: #536176;
  background: #ffffff;
  border: 1px dashed #b8c7d9;
  border-radius: 7px;
  box-shadow: var(--shadow);
  font-size: 18px;
  font-weight: 700;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.project-modal.is-open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 34, 52, 0.64);
}

.project-dialog {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 22px 48px rgba(6, 30, 58, 0.3);
}

.project-dialog-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(90deg, #0989d0, #0754ad);
}

.project-dialog-head.danger {
  background: linear-gradient(90deg, #f05267, #c6284a);
}

.project-dialog-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.project-close {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.project-form,
.delete-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.project-field {
  display: grid;
  gap: 7px;
}

.project-field span,
.project-check span {
  color: #39516f;
  font-size: 15px;
  font-weight: 800;
}

.project-field input {
  height: 44px;
  padding: 0 13px;
  color: #24344d;
  background: #ffffff;
  border: 1px solid #cbd7e6;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
}

.project-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-check input {
  width: 18px;
  height: 18px;
}

.project-form-note {
  margin: 0;
  color: #6b7c93;
  font-weight: 600;
}

.project-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.project-primary,
.project-secondary,
.project-danger {
  min-width: 112px;
  height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  font-weight: 800;
}

.project-primary {
  color: #ffffff;
  background: #2d7ce1;
}

.project-secondary {
  color: #39516f;
  background: #eef3f9;
}

.project-danger {
  color: #ffffff;
  background: #ee3659;
}

.delete-body p {
  margin: 0;
  color: #39516f;
  font-size: 18px;
  font-weight: 700;
}

.invoices-content {
  min-height: calc(100vh - 127px);
  padding: 58px 38px 92px;
}

.invoice-panel {
  overflow: hidden;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 13px 25px rgba(31, 56, 88, 0.14);
}

.invoice-panel-head {
  height: 69px;
  display: flex;
  align-items: center;
  padding: 0 25px;
  color: #ffffff;
  background: #3e5d9d;
}

.invoice-panel-head h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
}

.invoice-table-wrap {
  padding: 31px 26px 45px;
  overflow-x: auto;
}

.invoice-table {
  min-width: 760px;
  border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
  height: 38px;
  border: 1px solid #e5ecf6;
  text-align: center;
}

.invoice-table th {
  color: #ffffff;
  background: #3e5d9d;
  font-size: 16px;
  font-weight: 800;
}

.invoice-table td {
  color: #4f6382;
  font-size: 16px;
  font-weight: 500;
}

.invoice-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.invoice-table th:nth-child(1),
.invoice-table td:nth-child(1) {
  width: 220px;
}

.invoice-table th:nth-child(2),
.invoice-table td:nth-child(2) {
  width: 170px;
}

.invoice-table th:nth-child(3),
.invoice-table td:nth-child(3) {
  width: 210px;
}

.invoice-table th:nth-child(4),
.invoice-table td:nth-child(4) {
  width: 190px;
}

.invoice-link {
  color: #1677f2;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}

.invoice-link:hover {
  text-decoration: underline;
}

.invoice-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.invoice-modal.is-open {
  display: flex;
}

.invoice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 34, 52, 0.64);
}

.invoice-dialog {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 22px 48px rgba(6, 30, 58, 0.3);
}

.invoice-dialog-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #ffffff;
  background: #3e5d9d;
}

.invoice-dialog-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.invoice-close {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.invoice-detail-body {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.invoice-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.invoice-detail-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  background: #f7f9fc;
  border: 1px solid #e5ecf6;
  border-radius: 4px;
}

.invoice-detail-list dt {
  color: #3e5d9d;
  font-weight: 800;
}

.invoice-detail-list dd {
  margin: 0;
  min-width: 0;
  color: #4f6382;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.invoice-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.invoice-primary,
.invoice-secondary {
  min-width: 126px;
  height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  font-weight: 800;
}

.invoice-primary {
  color: #ffffff;
  background: #2d7ce1;
}

.invoice-secondary {
  color: #39516f;
  background: #eef3f9;
}

.pdf-invoice-body {
  min-width: 320px;
  color: #2c3748;
  background: #ffffff;
  font-family: Poppins, Arial, Helvetica, sans-serif;
}

.pdf-invoice-sheet {
  position: relative;
  width: 100%;
  max-width: 1404px;
  min-height: 1986px;
  margin: 0 auto;
  padding: 0 78px;
  background: #ffffff;
}

.pdf-browser-head {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-top: 22px;
  color: #111111;
  font-size: 12px;
  font-weight: 500;
}

.pdf-browser-head span:nth-child(2) {
  justify-self: center;
}

.pdf-invoice-title {
  margin-top: 91px;
}

.pdf-invoice-title h1 {
  margin: 0 0 18px;
  color: #3e5d9d;
  font-size: 25px;
  font-weight: 800;
}

.pdf-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 0 0 12px;
  color: #111111;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
}

.pdf-print-icon {
  position: relative;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.pdf-print-icon::before {
  position: absolute;
  left: 2px;
  top: -7px;
  width: 7px;
  height: 6px;
  border: 2px solid currentColor;
  background: #ffffff;
  content: "";
}

.pdf-print-icon::after {
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 6px;
  height: 5px;
  border-top: 2px solid currentColor;
  background: #ffffff;
  content: "";
}

.pdf-invoice-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 81px;
}

.pdf-logo {
  width: 243px;
}

.pdf-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.pdf-company {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #3f4656;
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  text-align: right;
}

.pdf-company strong {
  color: #2c3445;
  font-size: 24px;
  font-weight: 700;
}

.pdf-separator {
  height: 1px;
  margin-top: 38px;
  background: #e9edf3;
}

.pdf-invoice-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  margin-top: 36px;
}

.pdf-bill-to {
  color: #3f4656;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.43;
}

.pdf-bill-to > span {
  display: block;
  margin-bottom: 12px;
  color: #697382;
  font-size: 15px;
  font-weight: 700;
}

.pdf-bill-to strong {
  display: block;
  margin-bottom: 7px;
  color: #2c3445;
  font-size: 24px;
  font-weight: 500;
}

.pdf-bill-to p {
  margin: 0 0 25px;
}

.pdf-facts {
  display: grid;
  gap: 17px;
  margin: 14px 0 0;
  color: #2c3445;
  font-size: 15px;
  font-weight: 800;
}

.pdf-facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 11px;
  align-items: center;
}

.pdf-facts dt,
.pdf-facts dd {
  margin: 0;
}

.pdf-facts dt {
  text-align: right;
}

.pdf-facts div:last-child {
  color: #00814f;
}

.pdf-facts div:last-child dd {
  color: #00814f;
}

.pdf-items {
  width: 100%;
  margin-top: 68px;
  border-collapse: collapse;
}

.pdf-items th {
  height: 42px;
  padding: 0 20px;
  color: #b3b7bd;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.pdf-items th:first-child {
  text-align: left;
}

.pdf-items td {
  height: 43px;
  padding: 0 20px;
  color: #2c3445;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #e1e7ef;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.pdf-items td:first-child {
  text-align: left;
  font-weight: 700;
}

.pdf-totals {
  width: 132px;
  display: grid;
  gap: 15px;
  margin: 24px 2px 0 auto;
  color: #2c3445;
  font-size: 15px;
  font-weight: 800;
}

.pdf-totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.pdf-totals div:first-child {
  width: 132px;
  margin-left: auto;
  padding-bottom: 10px;
  border-bottom: 2px solid #dce4ef;
}

.pdf-contact {
  margin: 70px 0 0;
  color: #2c3445;
  font-size: 15px;
  font-weight: 800;
}

.pdf-contact a {
  font-weight: 800;
  text-decoration: underline;
}

.pdf-browser-foot {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: end;
  gap: 38px;
  color: #111111;
  font-size: 12px;
  font-weight: 500;
}

.pdf-browser-foot span:nth-child(2) {
  color: #a8a8a8;
  font-size: 18px;
  font-weight: 700;
}

.pdf-browser-foot mark {
  color: #ffd400;
  background: transparent;
}

.pdf-browser-foot strong {
  color: #162235;
  font-size: 16px;
  font-weight: 900;
}

.pdf-browser-foot span:last-child {
  justify-self: end;
}

.invoice-view-content {
  min-height: calc(100vh - 127px);
  padding: 32px 31px 90px;
}

.invoice-title-card,
.invoice-document {
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(31, 56, 88, 0.12);
}

.invoice-title-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 0 26px;
}

.invoice-title-card h1 {
  margin: 0;
  color: #385f9f;
  font-size: 28px;
  font-weight: 800;
}

.print-btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  color: #3a4c66;
  background: #ffffff;
  border: 1px solid #dce4ee;
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(31, 56, 88, 0.12);
  font-size: 16px;
  font-weight: 700;
}

.print-icon {
  position: relative;
  width: 17px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.print-icon::before {
  position: absolute;
  left: 2px;
  top: -8px;
  width: 9px;
  height: 7px;
  border: 2px solid currentColor;
  background: #ffffff;
  content: "";
}

.print-icon::after {
  position: absolute;
  left: 3px;
  bottom: -6px;
  width: 8px;
  height: 7px;
  border-top: 2px solid currentColor;
  background: #ffffff;
  content: "";
}

.invoice-document {
  overflow: hidden;
}

.invoice-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 27px 23px;
}

.invoice-brand {
  width: 288px;
}

.invoice-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.invoice-document address {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #7d8ba1;
  font-style: normal;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.invoice-document address strong {
  color: #223048;
  font-size: 28px;
  font-weight: 700;
}

.invoice-rule {
  height: 7px;
  margin: 0 27px;
  background: #3e5d9d;
  border-radius: 7px;
}

.invoice-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 32px;
  padding: 43px 27px 59px;
}

.invoice-to {
  color: #75859b;
  font-size: 18px;
  font-weight: 600;
}

.invoice-to > span {
  display: block;
  margin-bottom: 4px;
  color: #a8b4c4;
  font-weight: 800;
}

.invoice-to strong {
  display: block;
  margin-bottom: 4px;
  color: #1f2e43;
  font-size: 29px;
  font-weight: 500;
}

.invoice-to p {
  margin: 0 0 26px;
  line-height: 1.55;
}

.invoice-facts {
  align-self: start;
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  color: #66768d;
  font-size: 18px;
  font-weight: 800;
}

.invoice-facts div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  justify-content: end;
}

.invoice-facts dt,
.invoice-facts dd {
  margin: 0;
}

.invoice-facts dt {
  text-align: right;
}

.invoice-facts dd {
  color: #53647d;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.invoice-facts .amount-paid {
  min-height: 40px;
  grid-template-columns: max-content minmax(0, 1fr);
  padding: 0 18px;
  color: #008a62;
  background: #caf7df;
}

.invoice-facts .amount-paid dd {
  color: #008a62;
}

.invoice-items {
  width: calc(100% - 54px);
  margin: 0 27px;
  border-collapse: collapse;
}

.invoice-items th {
  height: 61px;
  padding: 0 26px;
  color: #ffffff;
  background: #3e5d9d;
  font-size: 19px;
  font-weight: 800;
  text-align: right;
}

.invoice-items th:first-child {
  text-align: left;
}

.invoice-items td {
  height: 61px;
  padding: 0 26px;
  color: #24344d;
  border-bottom: 1px solid #e4ebf4;
  font-size: 18px;
  font-weight: 500;
  text-align: right;
}

.invoice-items td:first-child {
  text-align: left;
  font-weight: 700;
}

.invoice-totals {
  width: 175px;
  display: grid;
  gap: 15px;
  margin: 29px 27px 54px auto;
  color: #3d4c62;
  font-size: 18px;
  font-weight: 800;
}

.invoice-totals div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.invoice-totals div:first-child {
  padding-bottom: 12px;
  border-bottom: 2px solid #dce4ef;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-content {
  min-height: calc(100vh - 127px);
  padding: 28px 28px 94px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  gap: 34px;
  max-width: 1500px;
  margin: 0 auto;
}

.profile-left-column,
.profile-right-column {
  display: grid;
  align-content: start;
  gap: 18px;
}

.account-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(31, 56, 88, 0.1);
}

.account-panel-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: #ffffff;
  background: #3d5f9f;
}

.account-panel-head h1,
.account-panel-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.account-panel-head h1 span {
  color: #d7ff00;
}

.account-panel-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.user-summary-body {
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
}

.user-avatar-large {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  color: #8aa7ff;
  background: #eaf2ff;
  border-radius: 50%;
  font-size: 48px;
  font-weight: 400;
}

.user-summary-body strong {
  color: #172336;
  font-size: 27px;
  font-weight: 700;
}

.profile-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 25px;
}

.profile-field {
  display: grid;
  gap: 8px;
  color: #5d6d83;
  font-size: 16px;
  font-weight: 700;
}

.profile-field b {
  color: #ff5875;
}

.profile-field input,
.profile-field select {
  width: 100%;
  height: 43px;
  padding: 0 18px;
  color: #4c5a70;
  background: #ffffff;
  border: 1px solid #d5deeb;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  outline: none;
}

.profile-field input::placeholder {
  color: #bec8d8;
}

.profile-field input:focus,
.profile-field select:focus {
  border-color: #6aa2f0;
  box-shadow: 0 0 0 3px rgba(45, 124, 225, 0.12);
}

.profile-field-full,
.profile-confirm,
.profile-save-btn {
  grid-column: 1 / -1;
}

.profile-confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5d6d83;
  font-size: 16px;
  font-weight: 700;
}

.profile-confirm input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: #2d7ce1;
}

.profile-save-btn {
  width: fit-content;
  min-width: 152px;
  height: 43px;
  padding: 0 21px;
  color: #ffffff;
  background: #3d5f9f;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 800;
}

.profile-save-btn:hover,
.paypal-email-btn:hover {
  background: #2f508d;
}

.paypal-panel-body {
  min-height: 98px;
  display: grid;
  place-items: center;
  padding: 25px;
}

.paypal-email-btn {
  min-height: 35px;
  padding: 0 18px;
  color: #3d5f9f;
  background: #ffffff;
  border: 1px solid #7e98cb;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
}

.paypal-email-btn:hover {
  color: #ffffff;
}

.notification-form {
  gap: 12px;
}

.notification-row {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  color: #5b687a;
  font-size: 16px;
  font-weight: 600;
}

.notification-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mail-switch {
  position: relative;
  width: 33px;
  height: 19px;
  margin-top: 2px;
  background: #ccd7e6;
  border-radius: 18px;
  transition: background 140ms ease;
}

.mail-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 13px;
  height: 13px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(12, 28, 48, 0.22);
  transition: transform 140ms ease;
  content: "";
}

.notification-row input:checked + .mail-switch {
  background: #2d7ce1;
}

.notification-row input:checked + .mail-switch::after {
  transform: translateX(14px);
}

.notification-row em {
  color: #ff5875;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-left-column,
  .profile-right-column {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .profile-content {
    padding: 18px 12px 78px;
  }

  .account-panel-head {
    min-height: 58px;
    padding: 0 18px;
  }

  .account-panel-head h1,
  .account-panel-head h2 {
    font-size: 21px;
  }

  .account-panel-body {
    padding: 18px;
  }

  .profile-layout {
    gap: 14px;
  }

  .profile-form-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .profile-field input,
  .profile-field select {
    font-size: 16px;
  }

  .notification-row {
    font-size: 14px;
  }

  .paypal-email-btn,
  .profile-save-btn {
    width: 100%;
  }
}

@media (max-width: 1400px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(185px, 1fr));
    gap: 18px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .right-rail {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: 308px minmax(0, 1fr);
  }

  .websites-panel,
  .tasks-panel,
  .tips-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .main-frame {
    margin-left: 0;
  }

  .topbar {
    top: 0;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .right-rail {
    grid-template-columns: 1fr;
  }

  .funds-modal {
    padding-top: 92px;
  }

  .funds-dialog-body {
    grid-template-columns: 1fr;
  }

  .funds-fields {
    grid-template-columns: 1fr;
    padding-bottom: 24px;
  }

  .bonus-bar {
    padding: 0 70px 0 12px;
    font-size: 13px;
  }

  .projects-content {
    padding: 22px 18px 84px;
  }

  .projects-intro h1 {
    font-size: 30px;
  }

  .projects-intro p {
    font-size: 22px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .invoices-content {
    padding: 28px 18px 84px;
  }

  .invoice-view-content {
    padding: 24px 18px 84px;
  }

  .invoice-document-head {
    align-items: flex-start;
  }

  .invoice-brand {
    font-size: 58px;
  }

  .invoice-document address strong {
    font-size: 24px;
  }

  .invoice-meta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 24px;
  }

  .invoice-facts {
    max-width: 460px;
    margin-left: auto;
  }

  .pdf-invoice-sheet {
    width: 100%;
    min-height: auto;
    padding: 0 24px 90px;
  }

  .pdf-invoice-brand-row,
  .pdf-invoice-info {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .pdf-company,
  .pdf-facts dt {
    text-align: left;
  }

  .pdf-browser-foot {
    position: static;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 80px;
    padding-bottom: 20px;
  }

  .pdf-browser-foot span:last-child {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .invoice-view-content {
    padding: 18px 12px 74px;
  }

  .invoice-document-head {
    flex-direction: column;
    padding: 22px 18px;
  }

  .invoice-document address,
  .invoice-facts dt {
    text-align: left;
  }

  .invoice-meta-grid {
    grid-template-columns: 1fr;
    padding: 28px 18px 34px;
  }

  .invoice-facts {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .invoice-rule {
    margin: 0 18px;
  }

  .invoice-items {
    width: calc(100% - 36px);
    min-width: 0;
    margin: 0 18px;
  }

  .invoice-items thead {
    display: none;
  }

  .invoice-items,
  .invoice-items tbody,
  .invoice-items tr,
  .invoice-items td {
    display: block;
  }

  .invoice-items tr {
    padding: 12px 0;
    border-top: 6px solid #3e5d9d;
    border-bottom: 1px solid #e4ebf4;
  }

  .invoice-items td {
    min-height: 0;
    height: auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #eef3f8;
    text-align: right;
  }

  .invoice-items td::before {
    color: #3e5d9d;
    font-weight: 800;
    text-align: left;
    content: attr(data-label);
  }

  .invoice-items td:first-child {
    display: block;
    text-align: left;
  }

  .invoice-items td:first-child::before {
    display: block;
    margin-bottom: 4px;
  }

  .invoice-totals {
    width: calc(100% - 36px);
    max-width: 260px;
    margin: 24px 18px 34px auto;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: auto;
    min-height: 92px;
    padding: 10px 12px;
    overflow: visible;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .funds-btn,
  .balance-btn {
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 8px;
    justify-content: center;
    font-size: 12px;
  }

  .funds-btn {
    grid-column: span 2;
  }

  .funds-btn span {
    font-size: 18px;
  }

  .balance-btn.green {
    grid-column: 3 / 4;
  }

  .avatar {
    justify-self: end;
  }

  .profile-menu-wrap {
    grid-column: 4 / 5;
    justify-self: end;
  }

  .profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    width: min(235px, calc(100vw - 24px));
  }

  .profile-dropdown::before {
    right: 12px;
  }

  .content {
    padding: 16px 12px 72px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 132px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .tasks-table {
    min-width: 500px;
  }

  .tasks-panel {
    overflow-x: auto;
  }

  .tips-list {
    font-size: 15px;
  }

  .bonus-bar {
    justify-content: flex-start;
  }

  .bonus-bar button,
  .arrow {
    display: none;
  }

  .funds-modal {
    padding: 72px 10px 68px;
  }

  .funds-dialog-head {
    height: 64px;
  }

  .funds-dialog-head h2 {
    font-size: 22px;
  }

  .funds-dialog-body {
    gap: 14px;
    padding: 14px;
  }

  .invoice-note {
    min-height: 0;
    padding: 14px;
    font-size: 16px;
  }

  .funds-field span,
  .pay-button {
    font-size: 20px;
  }

  .funds-field select {
    height: 46px;
    font-size: 16px;
  }

  .funds-summary {
    padding: 20px 16px;
  }

  .summary-row span {
    font-size: 16px;
  }

  .summary-row strong,
  .summary-row.total strong {
    font-size: 22px;
  }

  .crypto-wallet-modal {
    align-items: flex-start;
    padding: 74px 10px 68px;
  }

  .crypto-wallet-head {
    min-height: 84px;
    padding: 18px;
  }

  .crypto-wallet-head h2 {
    font-size: 22px;
  }

  .crypto-wallet-body {
    padding: 18px;
  }

  .crypto-payment-summary {
    grid-template-columns: 1fr;
  }

  .crypto-wallet-actions {
    flex-direction: column-reverse;
  }

  .crypto-secondary,
  .crypto-primary {
    width: 100%;
  }

  .projects-content {
    padding: 18px 12px 74px;
  }

  .projects-intro {
    min-height: 0;
    margin-bottom: 24px;
  }

  .projects-intro h1 {
    font-size: 24px;
  }

  .projects-intro p {
    font-size: 17px;
  }

  .create-project-btn {
    width: 100%;
    justify-content: center;
    font-size: 20px;
  }

  .project-card-head,
  .project-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-card-head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .project-title,
  .project-service-name {
    font-size: 20px;
  }

  .project-service-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .project-service-name > span:last-child {
    white-space: normal;
  }

  .project-counts {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .project-form-actions {
    flex-direction: column-reverse;
  }

  .project-primary,
  .project-secondary,
  .project-danger {
    width: 100%;
  }

  .invoices-content {
    padding: 18px 12px 74px;
  }

  .invoice-panel-head {
    height: 58px;
    padding: 0 18px;
  }

  .invoice-table-wrap {
    padding: 18px 14px 26px;
  }

  .invoice-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .invoice-detail-actions {
    flex-direction: column-reverse;
  }

  .invoice-primary,
  .invoice-secondary {
    width: 100%;
  }

  .invoice-title-card {
    min-height: 78px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
  }

  .invoice-title-card h1 {
    font-size: 23px;
  }

  .invoice-brand {
    width: 210px;
  }

  .invoice-facts div,
  .invoice-facts .amount-paid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .pdf-browser-head {
    grid-template-columns: 1fr;
    gap: 6px;
    height: auto;
  }

  .pdf-browser-head span:nth-child(2) {
    justify-self: start;
  }

  .pdf-invoice-title {
    margin-top: 48px;
  }

  .pdf-invoice-brand-row {
    margin-top: 46px;
  }

  .pdf-logo {
    width: 190px;
  }

  .pdf-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .pdf-items {
    display: block;
    overflow-x: auto;
    min-width: 620px;
  }

  .pdf-totals {
    margin-right: 0;
  }
}

.home-page {
  min-width: 320px;
  color: #dce8f4;
  background: #071321;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.home-page button {
  cursor: pointer;
}

.home-header {
  width: min(1120px, calc(100% - 32px));
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  color: #d9e7f2;
}

.home-logo img {
  display: block;
  width: 86px;
  height: auto;
}

.home-nav,
.home-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-nav a {
  color: #d9e7f2;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.home-login,
.home-signup {
  height: 25px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.home-login {
  color: #e6f3ff;
  background: #0a2132;
}

.home-signup,
.primary-home-cta {
  color: #022417;
  background: #10d982;
  box-shadow: 0 0 18px rgba(16, 217, 130, 0.28);
}

.home-hero {
  width: min(1120px, calc(100% - 32px));
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  padding: 34px 0 42px;
}

.home-pill,
.home-feature > span {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 217, 130, 0.36);
  border-radius: 5px;
  padding: 5px 9px;
  color: #15e08b;
  background: rgba(16, 217, 130, 0.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 560px;
  margin: 18px 0 16px;
  color: #ffffff;
  font-size: clamp(44px, 6.4vw, 74px);
  font-weight: 900;
  line-height: 0.94;
}

.home-hero h1 mark,
.ops-section mark {
  color: #13df88;
  background: transparent;
}

.home-hero p,
.home-section-head p,
.home-feature p,
.ops-grid p,
.lifecycle-grid p,
.final-cta p {
  color: #90a4b8;
}

.home-hero p {
  max-width: 545px;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.primary-home-cta,
.secondary-home-cta {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.secondary-home-cta {
  color: #d8e8f4;
  background: #0d2234;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: #f59e0b;
  font-size: 13px;
}

.hero-rating small,
.hero-checks {
  color: #9fb0c1;
  font-size: 11px;
  font-weight: 700;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  max-width: 520px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checks li::before,
.home-feature li::before {
  margin-right: 7px;
  color: #10d982;
  content: "●";
}

.hero-visual {
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: auto 34px 56px 42px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 217, 130, 0.18), rgba(8, 25, 41, 0));
  content: "";
}

.hero-person-image {
  position: absolute;
  right: -60px;
  bottom: -18px;
  width: min(760px, 118%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.38));
}

.home-stats,
.home-split,
.ops-grid,
.feedback-grid,
.lifecycle-grid {
  width: min(960px, calc(100% - 32px));
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.home-stats {
  grid-template-columns: repeat(4, 1fr);
  padding: 38px 0 70px;
}

.home-stats article,
.home-feature,
.ops-grid article,
.feedback-grid article,
.lifecycle-grid article {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: #0d1b2b;
}

.home-stats article {
  min-height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
}

.home-stats span {
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
}

.home-stats span::before,
.ops-grid b,
.lifecycle-grid span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: #052116;
  background: #12d985;
  font-size: 12px;
  font-weight: 900;
}

.home-stats span::before {
  content: "●";
}

.home-stats small {
  color: #8da0b4;
  font-size: 11px;
  font-weight: 800;
}

.home-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 86px;
}

.home-feature {
  padding: 30px;
}

.home-feature.featured {
  border-color: rgba(16, 217, 130, 0.45);
  box-shadow: inset 0 0 0 1px rgba(16, 217, 130, 0.08);
}

.home-feature h2,
.home-section-head h2,
.final-cta h2 {
  color: #ffffff;
  font-size: 31px;
  line-height: 1.05;
}

.home-feature h2 {
  margin: 18px 0 12px;
}

.home-feature ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 24px;
  padding: 0;
  color: #b7c6d5;
  font-size: 13px;
  list-style: none;
}

.home-section-head {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto 26px;
  text-align: center;
}

.home-section-head h2 {
  margin: 0 0 10px;
}

.catalog-preview,
.ops-section,
.verticals-section,
.lifecycle-section,
.feedback-section {
  padding: 0 0 88px;
}

.catalog-window {
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  border: 14px solid #243650;
  border-radius: 8px;
  overflow: hidden;
  background: #eaf1f8;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.catalog-title {
  padding: 10px 12px;
  color: #33618f;
  background: #dce9f7;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.catalog-window table,
.blueprint-section table {
  width: 100%;
  border-collapse: collapse;
}

.catalog-window th,
.catalog-window td {
  padding: 9px 10px;
  border-bottom: 1px solid #d8e3ef;
  color: #2a4a6a;
  font-size: 11px;
  text-align: left;
}

.catalog-window th,
.blueprint-section th {
  color: #20456c;
  background: #f5f9ff;
  font-weight: 900;
}

.catalog-window td:last-child {
  color: #ffffff;
  background: #2f7de0;
  font-weight: 900;
  text-align: center;
}

.ops-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ops-grid article,
.feedback-grid article,
.lifecycle-grid article {
  padding: 22px;
}

.ops-grid h3,
.lifecycle-grid h3 {
  margin: 8px 0;
  color: #ffffff;
  font-size: 17px;
}

.ops-grid p,
.lifecycle-grid p,
.feedback-grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.vertical-grid {
  width: min(850px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0 auto;
}

.vertical-grid span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #dce8f4;
  background: #0d1b2b;
  font-size: 12px;
  font-weight: 900;
}

.vertical-grid span::before {
  color: #12d985;
  content: "●";
}

.lifecycle-grid {
  grid-template-columns: repeat(4, 1fr);
}

.blueprint-section,
.faq-section {
  padding: 84px 0;
  color: #223044;
  background: #f3f7fb;
}

.blueprint-section .home-section-head h2,
.faq-section .home-section-head h2 {
  color: #24344d;
}

.blueprint-section table {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(31, 56, 88, 0.1);
}

.blueprint-section th,
.blueprint-section td {
  padding: 13px 16px;
  border-bottom: 1px solid #e6edf5;
  color: #34465d;
  font-size: 12px;
  text-align: left;
}

.blueprint-section td:nth-child(2)::before {
  color: #0ecf7c;
  content: "● ";
}

.feedback-section {
  padding-top: 84px;
}

.feedback-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feedback-grid b {
  color: #fb923c;
}

.feedback-grid span {
  display: block;
  margin-top: 14px;
  color: #7f94aa;
  font-size: 11px;
  font-weight: 900;
}

.faq-section details {
  width: min(720px, calc(100% - 32px));
  margin: 8px auto;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(31, 56, 88, 0.08);
}

.faq-section summary {
  padding: 15px 18px;
  color: #25344b;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.faq-section details p {
  margin: 0;
  padding: 0 18px 18px;
  color: #607289;
  font-size: 13px;
  line-height: 1.7;
}

.final-cta {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  padding: 72px 0;
}

.final-cta h2 {
  max-width: 650px;
  margin: 0 0 10px;
}

.final-cta > div:last-child {
  display: grid;
  gap: 12px;
}

.home-footer {
  padding: 70px 0 28px;
  background: #081625;
}

.footer-cols {
  width: min(980px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin: 0 auto 42px;
}

.footer-cols h3 {
  color: #12d985;
  font-size: 13px;
}

.footer-cols p,
.home-footer small {
  color: #8ea0b4;
  font-size: 12px;
  line-height: 1.8;
}

.home-footer small {
  display: block;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.login-modal.is-open {
  display: block;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 19, 0.76);
}

.login-dialog {
  position: relative;
  width: min(420px, calc(100% - 32px));
  margin: 12vh auto 0;
  border: 1px solid rgba(16, 217, 130, 0.26);
  border-radius: 8px;
  padding: 28px;
  color: #dce8f4;
  background: #0d1b2b;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.login-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  color: #91a4b7;
  background: transparent;
  font-size: 28px;
}

.login-dialog h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 26px;
}

.login-dialog p {
  margin: 0 0 20px;
  color: #91a4b7;
}

.login-dialog form {
  display: grid;
  gap: 14px;
}

.login-dialog label {
  display: grid;
  gap: 6px;
  color: #dce8f4;
  font-size: 13px;
  font-weight: 800;
}

.login-dialog input {
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 5px;
  padding: 0 12px;
  color: #ffffff;
  background: #081625;
  font: inherit;
}

#loginError {
  min-height: 16px;
  color: #fb7185;
  font-size: 12px;
  font-weight: 800;
}

.login-page {
  min-width: 320px;
  color: #283241;
  background: #eaf0f8;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 42px 20px;
}

.login-ring {
  position: absolute;
  border: 8px solid #4b91f2;
  border-radius: 50%;
  pointer-events: none;
}

.login-ring-lg {
  width: 286px;
  height: 286px;
  top: -2px;
  right: 118px;
}

.login-ring-md {
  width: 96px;
  height: 96px;
  right: 98px;
  top: 292px;
  border-color: rgba(75, 145, 242, 0.28);
}

.login-ring-sm {
  width: 92px;
  height: 92px;
  left: 270px;
  bottom: 238px;
}

.login-ring-white {
  width: 162px;
  height: 162px;
  left: 312px;
  bottom: 62px;
  border-color: rgba(255, 255, 255, 0.9);
}

.login-dot {
  position: absolute;
  left: 254px;
  bottom: 166px;
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.login-card-page {
  position: relative;
  z-index: 1;
  width: min(1338px, calc(100vw - 80px));
  min-height: 640px;
  display: grid;
  grid-template-columns: 557px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(31, 56, 88, 0.18);
}

.login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 72px 76px 64px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(152deg, #4a98ff 0%, #2d83ee 52%, #1f75df 100%);
}

.login-brand-panel::before {
  position: absolute;
  left: -74px;
  right: -65px;
  top: 138px;
  height: 322px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  content: "";
}

.login-brand-panel > * {
  position: relative;
  z-index: 1;
}

.login-brand-panel h1 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.login-brand-panel p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.login-brand-panel p + p {
  margin-top: 8px;
}

.login-create p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.login-create a {
  width: 284px;
  height: 49px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.login-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
}

.login-form-panel h2 {
  margin: 0 0 62px;
  color: #303846;
  font-size: 38px;
  font-weight: 500;
}

.login-page-form {
  width: min(704px, 100%);
  display: grid;
  gap: 22px;
}

.login-page-form label {
  display: grid;
  gap: 0;
}

.login-page-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.login-page-form input {
  width: 100%;
  height: 48px;
  border: 1px solid #dae4f2;
  border-radius: 5px;
  padding: 0 22px;
  color: #2f3745;
  background: #eaf2ff;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.login-page-form input:focus {
  border-color: #3b87e8;
  box-shadow: 0 0 0 3px rgba(59, 135, 232, 0.12);
}

.login-password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
}

.login-password-row input {
  border-radius: 5px 0 0 5px;
}

.login-password-row button {
  border: 1px solid #dae4f2;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  color: #428bf0;
  background: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.remember-login {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: #7c8799;
  font-size: 18px;
  font-weight: 700;
}

.remember-login input {
  width: 21px;
  height: 21px;
  accent-color: #2d7de0;
}

.login-options a {
  color: #4b93f4;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.login-submit {
  height: 48px;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: #2d7de0;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .home-header {
    height: auto;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .home-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .home-hero,
  .home-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .home-stats,
  .ops-grid,
  .feedback-grid,
  .lifecycle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vertical-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .final-cta,
  .footer-cols {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .login-card-page {
    width: min(720px, calc(100vw - 32px));
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    min-height: 360px;
    padding: 48px 34px;
  }

  .login-form-panel {
    padding: 44px 28px;
  }

  .login-form-panel h2 {
    margin-bottom: 36px;
  }

  .login-ring-lg {
    right: -70px;
  }
}

@media (max-width: 560px) {
  .home-hero h1 {
    font-size: 43px;
  }

  .home-stats,
  .ops-grid,
  .feedback-grid,
  .lifecycle-grid,
  .vertical-grid,
  .hero-checks {
    grid-template-columns: 1fr;
  }

  .hero-person-image {
    right: -190px;
    bottom: -4px;
    width: 760px;
  }

  .catalog-window,
  .blueprint-section table {
    overflow-x: auto;
  }

  .catalog-window table,
  .blueprint-section table {
    min-width: 720px;
  }

  .blueprint-section table {
    min-width: 0;
  }

  .blueprint-section th,
  .blueprint-section td {
    padding: 10px 8px;
    font-size: 10px;
  }

  .login-shell {
    padding: 22px 12px;
  }

  .login-card-page {
    width: 100%;
    min-height: 0;
  }

  .login-brand-panel {
    min-height: 320px;
    padding: 40px 22px;
  }

  .login-brand-panel h1 {
    font-size: 38px;
  }

  .login-brand-panel p,
  .login-create a {
    font-size: 18px;
  }

  .login-create a {
    width: 100%;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-password-row {
    grid-template-columns: minmax(0, 1fr) 70px;
  }
}

@media print {
  @page {
    size: A3 portrait;
    margin: 0;
  }

  .sidebar,
  .topbar,
  .bonus-bar,
  .invoice-title-card,
  .profile-dropdown {
    display: none !important;
  }

  .app-shell {
    padding-bottom: 0;
  }

  .main-frame {
    margin-left: 0;
  }

  .invoice-view-content {
    padding: 0;
  }

  .invoice-document {
    border-radius: 0;
    box-shadow: none;
  }

  .pdf-invoice-body {
    width: 841.92pt;
    height: 1185pt;
    max-height: 1185pt;
    overflow: hidden;
    background: #ffffff;
    color: #233047;
    font-family: Poppins, Arial, Helvetica, sans-serif;
  }

  .pdf-invoice-sheet {
    box-sizing: border-box;
    overflow: hidden;
    width: 841.92pt;
    height: 1185pt;
    min-height: 1185pt;
    max-height: 1185pt;
    margin: 0;
    padding: 0 48.7pt;
    page-break-after: avoid;
  }

  .pdf-browser-head {
    position: absolute;
    top: 16pt;
    left: 24pt;
    right: 24pt;
    height: 10pt;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 0;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    font-weight: 400;
    line-height: 1;
  }

  .pdf-browser-head span:nth-child(2) {
    justify-self: center;
  }

  .pdf-invoice-title {
    position: absolute;
    top: 115pt;
    left: 48.7pt;
    margin: 0;
  }

  .pdf-invoice-title h1 {
    margin: 0 0 11.7pt;
    color: #3e5d9d;
    font-size: 14.5pt;
    font-weight: 700;
    line-height: 1;
  }

  .pdf-print {
    height: 12pt;
    gap: 0;
    padding: 0 0 0 10.3pt;
    color: #111111;
    background: transparent;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 10.5pt;
    font-weight: 500;
    line-height: 1;
  }

  .pdf-print-icon {
    display: none;
  }

  .svg-inline--fa {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
  }

  .fa-w-16 {
    width: 1em;
  }

  .mr-1 {
    margin-right: 0.25rem;
  }

  .pdf-invoice-brand-row {
    position: absolute;
    top: 202.1pt;
    left: 48.7pt;
    right: 48.7pt;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24pt;
    margin: 0;
  }

  .pdf-logo {
    width: 137pt;
  }

  .pdf-company {
    display: grid;
    gap: 5pt;
    margin: 0;
    color: #111827;
    font-size: 10.5pt;
    font-weight: 400;
    line-height: 1.08;
    text-align: right;
    padding-right: 5pt;
  }

  .pdf-company strong {
    color: #182235;
    font-size: 14.5pt;
    font-weight: 500;
    line-height: 1;
  }

  .pdf-separator {
    position: absolute;
    top: 277.5pt;
    left: 48.7pt;
    right: 48.7pt;
    height: 1px;
    margin: 0;
    background: #f5f6f8;
  }

  .pdf-invoice-info {
    position: absolute;
    top: 307.2pt;
    left: 48.7pt;
    right: 48.7pt;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 209pt;
    gap: 32pt;
    margin: 0;
  }

  .pdf-bill-to {
    color: #1f2937;
    font-size: 10.5pt;
    font-weight: 400;
    line-height: 1.45;
  }

  .pdf-bill-to > span {
    margin-bottom: 9pt;
    color: #4b5563;
    font-size: 10.5pt;
    font-weight: 400;
    line-height: 1;
  }

  .pdf-bill-to strong {
    margin-bottom: 6pt;
    color: #253047;
    font-size: 14.5pt;
    font-weight: 400;
    line-height: 1;
  }

  .pdf-bill-to strong + p {
    margin-top: -5.2pt;
  }

  .pdf-bill-to p {
    margin: 0 0 11.5pt;
  }

  .pdf-facts {
    position: relative;
    width: 209pt;
    height: 110pt;
    gap: 0;
    margin: 11.1pt 0 0 auto;
    color: #111827;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    font-weight: 600;
    line-height: 1.05;
  }

  .pdf-facts div {
    position: absolute;
    right: 0;
    width: 209pt;
    display: grid;
    grid-template-columns: 90pt 112pt;
    gap: 7pt;
    align-items: start;
  }

  .pdf-facts div:nth-child(1) {
    top: 0;
  }

  .pdf-facts div:nth-child(2) {
    top: 22.5pt;
  }

  .pdf-facts div:nth-child(3) {
    top: 46.2pt;
  }

  .pdf-facts div:nth-child(4) {
    top: 66.8pt;
  }

  .pdf-facts div:nth-child(5) {
    top: 89.3pt;
  }

  .pdf-facts dt {
    font-weight: 600;
    text-align: right;
  }

  .pdf-facts dd {
    overflow: visible;
    font-weight: 700;
    white-space: nowrap;
  }

  .pdf-facts div:last-child {
    color: #00814f;
  }

  .pdf-items {
    position: absolute;
    top: 466pt;
    left: 48.7pt;
    right: 48.7pt;
    display: table;
    width: 744.5pt;
    min-width: 0;
    margin: 0;
    overflow: visible;
    border-collapse: collapse;
  }

  .pdf-items th {
    height: 31.5pt;
    padding: 0 15pt;
    color: #90949c;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-1pt);
  }

  .pdf-items th:first-child,
  .pdf-items td:first-child {
    text-align: left;
  }

  .pdf-items td {
    height: 34pt;
    padding: 0 15pt;
    color: #111827;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #dce5ef;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    font-weight: 400;
    line-height: 1;
    text-align: right;
  }

  .pdf-items td:first-child {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-weight: 500;
  }

  .pdf-totals {
    position: absolute;
    top: 549.4pt;
    right: 57.3pt;
    width: 82pt;
    display: grid;
    gap: 5pt;
    margin: 0;
    color: #111827;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 10pt;
    font-weight: 600;
    line-height: 1;
  }

  .pdf-totals div {
    display: flex;
    justify-content: flex-end;
    gap: 7.2pt;
  }

  .pdf-totals div:first-child {
    width: 82pt;
    padding-bottom: 8pt;
    border-bottom: 2px solid #dce4ef;
  }

  .pdf-totals strong {
    font-weight: 700;
  }

  .pdf-totals div:first-child strong {
    font-weight: 600;
  }

  .pdf-contact {
    position: absolute;
    top: 629.2pt;
    left: 48.7pt;
    margin: 0;
    color: #111827;
    font-size: 10pt;
    font-weight: 400;
    line-height: 1;
  }

  .pdf-contact a {
    font-weight: 400;
  }

  .pdf-browser-foot {
    position: absolute;
    top: 1139.7pt;
    left: 24pt;
    right: 24pt;
    bottom: auto;
    height: 40pt;
    display: block;
    margin: 0;
    padding: 0;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    font-weight: 400;
    line-height: 1;
  }

  .pdf-browser-foot span:first-child {
    position: absolute;
    left: 0;
    top: 27.7pt;
    bottom: auto;
  }

  .pdf-browser-foot span:nth-child(2) {
    position: absolute;
    left: 158pt;
    top: 0;
    bottom: auto;
    color: #9a9a9a;
    font-size: 12pt;
    font-weight: 400;
    line-height: 1;
  }

  .pdf-browser-foot mark {
    color: #ffd400;
    background: transparent;
  }

  .pdf-browser-foot strong {
    position: absolute;
    left: 546pt;
    top: 1pt;
    bottom: auto;
    color: #0f172a;
    font-size: 10pt;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .pdf-browser-foot span:last-child {
    position: absolute;
    right: 0;
    top: 27.7pt;
    bottom: auto;
  }
}
}
