:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #eef6f4;
  --text: #172026;
  --muted: #65727d;
  --line: #dfe7ee;
  --green: #18b58f;
  --green-strong: #0d9274;
  --blue: #276ff1;
  --orange: #ee8b35;
  --red: #df5050;
  --shadow: 0 18px 50px rgba(33, 51, 65, .12);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
}

button, input, select, textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(115deg, rgba(5, 36, 46, .78), rgba(6, 79, 83, .35)),
    url("https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.login-card {
  width: min(980px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.login-visual {
  position: relative;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(18, 146, 124, .95), rgba(20, 62, 86, .78)),
    url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
}

.login-visual h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.login-visual p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.visual-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
}

.visual-metrics strong {
  display: block;
  font-size: 22px;
}

.visual-metrics span {
  font-size: 12px;
  color: rgba(255, 255, 255, .78);
}

.login-form {
  padding: 54px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 700;
}

.login-form h2 {
  margin: 10px 0 8px;
  font-size: 28px;
}

.login-form .hint {
  margin: 0 0 28px;
  color: var(--muted);
}

.field {
  margin-bottom: 16px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #31414d;
  font-size: 14px;
  font-weight: 700;
}

.control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbfc;
}

.control input, .control select, .control textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.control textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 0;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.primary-btn, .ghost-btn, .icon-btn, .danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  white-space: nowrap;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #2fcfb1);
  box-shadow: 0 12px 28px rgba(24, 181, 143, .28);
}

.ghost-btn {
  color: #27404c;
  border: 1px solid var(--line);
  background: #fff;
}

.danger-btn {
  color: #fff;
  background: var(--red);
}

.icon-btn {
  width: 38px;
  padding: 0;
  color: #38505f;
  border: 1px solid var(--line);
  background: #fff;
}

.full {
  width: 100%;
  min-height: 48px;
}

.error-text {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--red);
  font-size: 14px;
}

.demo-card {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #3d5560;
  background: #eef7f4;
  font-size: 13px;
  line-height: 1.7;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 14px;
  overflow-y: auto;
  color: #d6e8ef;
  background: #102330;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 18px;
}

.side-brand .mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
}

.side-brand strong {
  display: block;
  color: #fff;
}

.side-brand span {
  display: block;
  color: #8ba9b4;
  font-size: 12px;
  margin-top: 2px;
}

.nav-section {
  margin: 14px 8px 8px;
  color: #8aa5af;
  font-size: 12px;
}

.nav-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 10px;
  color: #c7dce4;
  background: transparent;
  text-align: left;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 251, .86);
  backdrop-filter: blur(16px);
}

.topbar h2 {
  margin: 0;
  font-size: 20px;
}

.topbar p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.content {
  padding: 28px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-banner, .panel, .metric-card, .table-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(35, 51, 63, .05);
}

.hero-banner {
  min-height: 210px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 35, 48, .9), rgba(16, 35, 48, .28)),
    url("https://images.unsplash.com/photo-1551818255-e6e10975bc17?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.hero-banner h1 {
  max-width: 580px;
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-banner p {
  max-width: 560px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

.panel {
  padding: 18px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title h3 {
  margin: 0;
  font-size: 17px;
}

.panel-title span {
  color: var(--muted);
  font-size: 13px;
}

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

.metric-card {
  padding: 18px;
}

.metric-card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green-strong);
  background: #e7f8f3;
}

.metric-card strong {
  display: block;
  margin-top: 16px;
  font-size: 25px;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.metric-card small {
  display: inline-block;
  margin-top: 10px;
  color: var(--green-strong);
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f7fafb;
}

.task strong {
  display: block;
  font-size: 14px;
}

.task span {
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #116c59;
  background: #e3f7f1;
  font-size: 12px;
}

.badge.orange {
  color: #935516;
  background: #fff0df;
}

.badge.red {
  color: #a33737;
  background: #ffe8e8;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.searchbox {
  width: min(360px, 100%);
}

.table-card {
  padding: 18px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #edf2f5;
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}

th {
  color: #506370;
  font-size: 12px;
  font-weight: 800;
  background: #f7fafb;
}

.actions {
  display: flex;
  gap: 8px;
}

.bars {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 86px 1fr 78px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef2;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.screen-view {
  min-height: calc(100vh - 124px);
  padding: 28px;
  border-radius: 18px;
  color: #dff7f2;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 196, 164, .28), transparent 34%),
    linear-gradient(135deg, #081923, #123241 70%, #0a202e);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.screen-card {
  padding: 18px;
  border: 1px solid rgba(118, 219, 202, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}

.screen-card strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 28px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 27, 34, .46);
}

.modal {
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-head h3 {
  margin: 0;
}

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

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

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  background: #112d3a;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.clone-login {
  display: block;
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  color: #999;
  background: #fff;
}

.clone-login a {
  color: #444;
}

.clone-login .login-screen {
  width: 800px;
  max-width: 800px;
  padding: 0;
  margin: 176px auto 0;
}

.clone-login .well {
  min-height: 425px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: none;
  box-shadow: 0 0 30px rgba(0, 0, 0, .10);
}

.clone-login .login-head {
  float: left;
  width: 50%;
  height: 425px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 34px;
  background: #fff;
}

.clone-login .login-head img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.clone-login .login-form {
  position: relative;
  z-index: 2;
  display: block;
  float: right;
  width: 50%;
  min-height: 425px;
  padding: 60px 30px 30px;
  background-color: #fff;
}

.clone-login #login-form {
  margin-top: 20px;
  overflow: hidden;
}

.clone-login .profile-name-card {
  margin: 0;
  overflow: hidden;
  color: #333;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clone-login .input-group {
  display: flex;
  align-items: center;
  min-height: 45px;
  margin-bottom: 15px;
  border-radius: 0;
  background: #f4f7f6;
}

.clone-login .input-group-addon {
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #21c6a6;
  background: none;
  border: 0;
}

.clone-login #login-form .form-control {
  width: 100%;
  height: 45px;
  padding: 0 20px 0 0;
  border: 0;
  outline: 0;
  color: #333;
  background: none;
  font-size: 13px;
}

.clone-login #login-form .form-control::placeholder {
  color: #b1b1b1;
}

.clone-login .checkbox {
  min-height: 20px;
  margin: 0 0 15px;
  color: #21c6a6;
  font-size: 14px;
}

.clone-login .checkbox input {
  position: absolute;
  opacity: 0;
}

.clone-login .checkbox .inline {
  padding-left: 0;
  cursor: pointer;
}

.clone-login .checkbox label i {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  margin: -2px 6px 0 0;
  border: 1px solid #666;
  border-radius: 3px;
  background-color: #fff;
}

.clone-login #keeplogin:checked + label i {
  border: 0;
  background-image: url("http://111.229.104.234:83/assets/addons/adminlogin/login3/check_icon.png");
  background-position: center;
  background-size: cover;
}

.clone-login .btn {
  width: 100%;
  min-height: 45px;
  display: block;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  line-height: 45px;
}

.clone-login .btn_color,
.clone-login .btn_color:active {
  outline: 0;
  background-image: linear-gradient(0deg, rgb(29, 188, 156) 0%, rgb(47, 216, 182) 99%);
}

.clone-login .btn_color:active {
  opacity: .8;
}

.clone-login .test-account {
  display: inline-block;
  margin-top: 5px;
  color: red;
  font-size: 14px;
  text-decoration: none;
}

.clone-login .leftBottom {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 424px;
  height: 478px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.clone-login .rightTop {
  position: fixed;
  top: 0;
  right: 0;
  width: 444px;
  height: 137px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.clone-login .tip_text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 36px;
  line-height: 36px;
  text-align: center;
}

.clone-login .tip_text img,
.clone-login .tip_text p {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

.clone-login .tip_text img {
  margin-right: 4px;
}

.clone-login .tip_text.success {
  background-color: rgba(42, 211, 178, .10);
}

.clone-login .tip_text.warn {
  background-color: rgba(244, 175, 95, .10);
}

.clone-login .angle-icon {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: rgba(33, 198, 166, .36);
  border-style: solid;
}

.clone-login .angle-icon1 {
  top: 28px;
  left: 22px;
  border-width: 2px 0 0 2px;
}

.clone-login .angle-icon2 {
  top: 28px;
  right: 22px;
  border-width: 2px 2px 0 0;
}

.clone-login .angle-icon3 {
  right: 22px;
  bottom: 22px;
  border-width: 0 2px 2px 0;
}

.clone-login .angle-icon4 {
  left: 22px;
  bottom: 22px;
  border-width: 0 0 2px 2px;
}

.clone-login :-webkit-autofill,
.clone-login :-webkit-autofill:hover,
.clone-login :-webkit-autofill:focus,
.clone-login :-webkit-autofill:active {
  -webkit-text-fill-color: #2b739d !important;
  transition: background-color 5000s ease-in-out 0s;
}

.app-shell {
  background: #ecf0f5;
  grid-template-columns: 230px minmax(0, 1fr);
}

.sidebar {
  padding: 0;
  background: #222d32;
  color: #b8c7ce;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .35);
}

.side-brand {
  height: 50px;
  padding: 0 15px;
  background: #1a2226;
}

.side-brand .mark {
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.side-brand .mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.side-brand strong {
  color: #fff;
  font-size: 15px;
}

.side-brand span {
  color: #9aa9af;
}

.nav-section {
  margin: 0;
  padding: 12px 15px 6px;
  color: #4b646f;
  background: #1a2226;
  font-size: 12px;
}

.nav-item {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 0;
  color: #b8c7ce;
  font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
  background: #1e282c;
  border-left: 3px solid #18bc9c;
}

.main {
  background: #ecf0f5;
}

.topbar {
  min-height: 50px;
  padding: 0 15px;
  border-bottom: 1px solid #d2d6de;
  background: #fff;
  backdrop-filter: none;
}

.top-left {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 0;
}

.top-menu-btn {
  min-width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #354052;
  background: transparent;
}

.topbar .mobile-toggle {
  display: inline-flex;
}

.top-tab {
  height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-left: 1px solid #f3f3f3;
  color: #333;
  background: #fff;
  font-size: 14px;
}

.top-tab.active {
  background: #f8f8f8;
}

.site-search {
  display: inline-flex;
  align-items: center;
}

.site-search input {
  width: 300px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #f06b1b;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  outline: 0;
  color: #555;
  font-size: 13px;
}

.site-search button {
  height: 32px;
  padding: 0 12px;
  border-radius: 0 3px 3px 0;
  color: #fff;
  background: #ff6500;
  font-size: 13px;
  font-weight: 700;
}

.cache-btn,
.user-btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #354052;
  background: transparent;
  font-size: 13px;
}

.topbar h2 {
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.topbar p {
  color: #777;
}

.topbar .ghost-btn,
.topbar .icon-btn {
  min-height: 32px;
  border-radius: 3px;
}

.fast-tabs {
  height: 41px;
  display: flex;
  align-items: flex-end;
  padding: 0 10px;
  border-bottom: 1px solid #d2d6de;
  background: #fafafa;
}

.fast-tabs button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-bottom: 0;
  color: #555;
  background: #f5f5f5;
  cursor: pointer;
}

.fast-tabs .tab-active {
  color: #333;
  background: #fff;
}

.fast-tabs .tab-active span {
  margin-left: 8px;
  color: #aaa;
}

.content {
  padding: 15px;
  background: #ecf0f5;
}

.table-card,
.panel,
.metric-card {
  border-color: #d2d6de;
  border-radius: 3px;
  box-shadow: none;
}

.panel-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #f4f4f4;
}

.primary-btn,
.ghost-btn,
.icon-btn,
.danger-btn {
  border-radius: 3px;
}

.primary-btn {
  background: #18bc9c;
  box-shadow: none;
}

.approval-page {
  background: #ecf0f5;
}

.approval-tabs {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-height: 48px;
  padding: 12px 12px 0;
  background: #e8edf3;
}

.approval-tabs button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  color: #77838e;
  background: #dfe7ee;
  border: 1px solid #d8e0e7;
  border-bottom: 0;
  border-radius: 0;
  font-size: 14px;
}

.approval-tabs button.active {
  color: #333;
  background: #fff;
}

.approval-tabs em {
  min-width: 20px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 3px;
  color: #fff;
  background: #ff8a16;
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
}

.approval-card {
  padding: 18px 12px 16px;
  background: #fff;
}

.approval-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px 36px;
  padding: 6px 14px 24px;
  align-items: center;
}

.filter-field {
  min-width: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 14px;
}

.filter-field span {
  text-align: right;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #cfd6df;
  outline: 0;
  color: #333;
  background: #fff;
  font-size: 13px;
}

.filter-field input::placeholder {
  color: #9aa4af;
}

.amount-range > div {
  display: grid;
  grid-template-columns: 1fr 20px 1fr;
  align-items: center;
  gap: 6px;
}

.amount-range b {
  color: #333;
  font-weight: 400;
  text-align: center;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-submit,
.filter-reset {
  height: 34px;
  padding: 0 14px;
  border-radius: 3px;
  color: #fff;
  background: #18bc9c;
  font-size: 13px;
}

.filter-reset {
  color: #333;
  border: 1px solid #cfd6df;
  background: #fff;
}

.data-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px 28px;
  padding: 4px 0 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}

.approval-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.approval-refresh,
.approval-icon {
  width: 36px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee6;
  border-radius: 3px;
  color: #5b6570;
  background: #fff;
}

.approval-refresh {
  color: #fff;
  border-color: #2d3d5c;
  background: #2f3d5b;
}

.approval-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.column-menu-wrap {
  position: relative;
  display: inline-flex;
}

.export-menu-wrap {
  position: relative;
  display: inline-flex;
}

.approval-icon.active {
  background: #e9edf2;
}

.column-menu {
  position: absolute;
  top: 36px;
  right: 0;
  z-index: 15;
  width: 158px;
  max-height: 294px;
  overflow-y: auto;
  padding: 8px 12px;
  border: 1px solid #d5dbe2;
  color: #333;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.column-menu label {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
}

.column-menu input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.column-menu::-webkit-scrollbar {
  width: 10px;
}

.column-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.column-menu::-webkit-scrollbar-thumb {
  background: #8d8d8d;
  border-radius: 8px;
  border: 2px solid #f1f1f1;
}

.export-menu {
  position: absolute;
  top: 36px;
  right: 0;
  z-index: 16;
  width: 160px;
  padding: 8px 0;
  border: 1px solid #d5dbe2;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.export-menu button {
  width: 100%;
  height: 32px;
  display: block;
  padding: 0 14px;
  color: #333;
  background: #fff;
  font-size: 13px;
  text-align: left;
}

.export-menu button:hover {
  background: #f2f6fa;
}

.approval-search input {
  width: 180px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d8dee6;
  outline: 0;
  color: #444;
  background: #fff;
}

.approval-table-wrap {
  overflow-x: auto;
  border-top: 1px solid #edf0f4;
}

.approval-table {
  min-width: 1680px;
  border-collapse: collapse;
}

.approval-table th,
.approval-table td {
  height: 40px;
  padding: 9px 12px;
  border: 1px solid #edf0f4;
  color: #444;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.approval-table th {
  color: #333;
  background: #fff;
  font-weight: 700;
}

.approval-table tbody tr:nth-child(odd) {
  background: #f8f8f8;
}

.approval-table tbody tr:hover {
  background: #f1f7fb;
}

.approval-link {
  color: #4f9ed8;
  text-decoration: none;
}

.approval-link:hover {
  color: #1d78b8;
  text-decoration: underline;
}

.sort-mark {
  margin-left: 8px;
  color: #d7dce2;
  font-size: 11px;
}

.approval-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334052;
}

.approval-status i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #334052;
}

.review-btn {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 2px;
  color: #fff;
  background: #18bc9c;
  font-size: 12px;
}

.empty-row {
  height: 42px;
  color: #555;
  text-align: center;
}

.approval-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  color: #333;
  font-size: 13px;
}

.approval-pagination {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.approval-pagination button,
.approval-pagination input {
  height: 30px;
  min-width: 34px;
  padding: 0 10px;
  border: 1px solid #ddd;
  color: #666;
  background: #fff;
}

.approval-pagination button.active {
  color: #fff;
  border-color: #33415f;
  background: #33415f;
}

.approval-pagination button:disabled {
  color: #b7bec8;
  background: #f4f6f8;
  cursor: not-allowed;
}

.list-pagination {
  margin-left: auto;
}

.approval-pagination input {
  width: 50px;
}

.lead-page {
  min-height: calc(100vh - 124px);
  color: #222;
  background: #ecf0f5;
}

.lead-tabs {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 14px 14px 0;
  background: #ecf0f5;
}

.lead-tabs button {
  height: 36px;
  padding: 0 18px;
  border-radius: 2px 2px 0 0;
  color: #777;
  background: #dfe5ec;
  font-size: 14px;
}

.lead-tabs button.active {
  color: #333;
  background: #fff;
}

.lead-card {
  min-height: 480px;
  padding: 14px 12px 16px;
  background: #fff;
}

.lead-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lead-left-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lead-tool {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
}

.lead-tool.square {
  width: 36px;
  padding: 0;
}

.lead-tool.dark {
  background: #2f3d5b;
}

.lead-tool.slate {
  background: #667085;
}

.lead-tool.green {
  background: #18bc9c;
}

.lead-tool.red {
  background: #e74c3c;
}

.lead-tool.blue {
  background: #1683e8;
}

.lead-tool.coral {
  background: #ef7f73;
}

.lead-tool.soft-red {
  background: #f28b82;
}

.lead-tool:hover {
  filter: brightness(.96);
}

.hidden-file {
  display: none;
}

.lead-table-wrap {
  overflow-x: auto;
  border-top: 1px solid #edf0f4;
}

.lead-table {
  min-width: 1280px;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  height: 40px;
  padding: 8px 10px;
  border: 1px solid #edf0f4;
  color: #444;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.lead-table th {
  color: #333;
  background: #fff;
  font-weight: 700;
}

.lead-table tbody tr:nth-child(odd) {
  background: #f8f8f8;
}

.lead-table tbody tr:hover {
  background: #f1f7fb;
}

.lead-table .check-col {
  width: 42px;
  padding-left: 8px;
  padding-right: 8px;
}

.lead-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

.lead-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.lead-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #18bc9c;
}

.lead-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.lead-action {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 7px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
}

.lead-action.follow,
.lead-action.remove {
  background: #e74c3c;
}

.lead-action.convert {
  background: #3498db;
}

.lead-action.disable {
  background: #f39c12;
}

.lead-action.enable {
  background: #18bc9c;
}

.lead-action.edit {
  width: 25px;
  padding: 0;
  background: #18bc9c;
}

.lead-modal .form-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.follow-modal-backdrop {
  place-items: start center;
  padding-top: 185px;
  background: rgba(255, 255, 255, .58);
}

.follow-modal {
  width: min(780px, calc(100vw - 48px));
  max-height: calc(100vh - 210px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 16px 46px rgba(31, 45, 61, .22);
}

.follow-modal-head {
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px 0 16px;
  color: #fff;
  background: #26394b;
  font-size: 14px;
}

.follow-window-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.follow-window-actions span {
  font-size: 18px;
}

.follow-window-actions button {
  width: 18px;
  height: 18px;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 20px;
  line-height: 18px;
}

.follow-form-panel {
  margin: 0 28px 18px;
  padding: 26px 52px 72px 36px;
  border: 1px solid #d8eccf;
  border-top: 0;
  display: grid;
  gap: 15px;
}

.follow-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 14px;
}

.follow-field span {
  text-align: right;
}

.follow-field input,
.follow-field select,
.follow-field textarea {
  width: 100%;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #cfd6df;
  outline: 0;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.follow-field textarea {
  height: 52px;
  resize: vertical;
}

.follow-method {
  grid-template-columns: 92px minmax(0, 1fr) 78px;
}

.follow-method button {
  height: 34px;
  color: #fff;
  background: #18bc9c;
  border-radius: 4px;
  font-size: 13px;
}

.follow-record-panel {
  margin: 0 28px;
  border: 1px solid #c9ecfb;
  background: #fff;
}

.follow-record-tab {
  width: 87px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1px 0 0 15px;
  border: 1px solid #d8e3ea;
  border-bottom: 0;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.follow-record-panel::before {
  content: "";
  display: block;
  height: 42px;
  margin-bottom: -42px;
  background: #d9f3ff;
}

.follow-record-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 14px 10px;
  position: relative;
}

.follow-record-table-wrap {
  padding: 0 14px 0;
  overflow-x: auto;
}

.follow-record-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.follow-record-table th,
.follow-record-table td {
  height: 45px;
  padding: 8px 12px;
  border: 1px solid #edf0f3;
  text-align: center;
  white-space: nowrap;
}

.follow-record-table th {
  background: #fbfbfb;
  color: #111;
  font-weight: 700;
}

.follow-modal-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #eef3f5;
}

.follow-convert,
.follow-next {
  height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
}

.follow-convert {
  background: #18bc9c;
}

.follow-next {
  background: #323c5e;
}

.convert-modal-backdrop {
  place-items: start center;
  padding-top: 190px;
  background: rgba(255, 255, 255, .58);
}

.convert-modal {
  width: min(800px, calc(100vw - 48px));
  max-height: calc(100vh - 210px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 16px 46px rgba(31, 45, 61, .22);
}

.convert-modal-body {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  padding: 0 14px 0;
  background: #fff;
}

.convert-main-panel {
  margin: 0 0 6px;
  padding: 16px 160px 10px 54px;
  border: 1px solid #d8eccf;
  border-top: 0;
  display: grid;
  gap: 12px;
}

.convert-field {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 14px;
}

.convert-field span {
  text-align: right;
}

.convert-field input,
.convert-field select,
.convert-field textarea {
  width: 100%;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #cfd6df;
  outline: 0;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.convert-field select {
  background: #eee;
}

.convert-field textarea {
  height: 52px;
  resize: vertical;
}

.owner-select {
  height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px 24px;
  align-items: center;
  border: 1px solid #cfd6df;
  background: #fff;
}

.owner-select span {
  padding: 0 12px;
  text-align: left;
}

.owner-select button {
  height: 100%;
  color: #68717a;
  background: transparent;
  font-size: 20px;
}

.owner-select i {
  color: #333;
  font-style: normal;
  text-align: center;
}

.address-selects {
  display: flex;
  gap: 4px;
}

.address-selects select {
  width: 120px;
}

.address-selects select:nth-child(n + 2) {
  width: 40px;
}

.convert-extra-panel {
  margin: 0 0 32px;
  border: 1px solid #bfe8f7;
}

.convert-extra-title {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #1683ff;
  background: #d9f3ff;
  font-weight: 700;
}

.convert-extra-content {
  display: grid;
  gap: 12px;
  padding: 16px 160px 28px 54px;
}

.convert-modal-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #eef3f5;
}

.convert-submit,
.convert-reset {
  height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
}

.convert-submit {
  color: #fff;
  background: #18bc9c;
}

.convert-reset {
  color: #333;
  border: 1px solid #d8dee6;
  background: #f7f7f7;
}

.lead-edit-backdrop {
  place-items: start center;
  padding-top: 195px;
  background: rgba(255, 255, 255, .58);
}

.lead-edit-modal {
  width: min(800px, calc(100vw - 48px));
  max-height: calc(100vh - 215px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 16px 46px rgba(31, 45, 61, .22);
}

.lead-edit-body {
  max-height: calc(100vh - 305px);
  overflow-y: auto;
  padding: 0 14px 0;
  background: #fff;
}

.lead-edit-main-panel {
  margin: 14px 16px 6px;
  padding: 52px 135px 28px 58px;
  position: relative;
  border: 1px solid #d8eccf;
  display: grid;
  gap: 12px;
}

.lead-edit-section-title {
  position: absolute;
  left: -1px;
  top: -1px;
  right: -1px;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #18bc9c;
  background: #dff2d8;
  font-weight: 700;
}

.phone-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 4px;
}

.phone-add-row button {
  color: #fff;
  background: #18bc9c;
  border-radius: 4px;
}

.tag-help-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 10px;
}

.tag-help-row em,
.address-help-row em {
  color: #a9b2bd;
  font-style: normal;
  font-size: 13px;
}

.address-help-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
  gap: 10px;
}

.address-help-row em {
  color: #1683ff;
}

.lead-edit-record-panel {
  margin: 0 16px 32px;
  border: 1px solid #d9dde4;
  background: #fff;
}

.lead-edit-tabs {
  height: 52px;
  display: flex;
  align-items: flex-end;
  background: #f5f5f5;
  border-bottom: 1px solid #d9dde4;
}

.lead-edit-tabs button {
  height: 41px;
  min-width: 86px;
  padding: 0 16px;
  color: #1683ff;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 0;
}

.lead-edit-tabs button.active {
  color: #333;
  background: #fff;
  border-color: #d9dde4;
}

.lead-edit-record-toolbar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 25px 15px 10px;
}

.lead-edit-record-toolbar .approval-tools {
  justify-self: end;
}

.import-modal-backdrop {
  place-items: start center;
  padding-top: 185px;
  background: rgba(255, 255, 255, .58);
}

.import-modal {
  width: min(800px, calc(100vw - 48px));
  min-height: 585px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 16px 46px rgba(31, 45, 61, .22);
}

.import-modal-body {
  flex: 1;
  padding: 15px 148px 30px 58px;
}

.import-field {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #111;
  font-size: 14px;
}

.import-field > span {
  text-align: right;
}

.import-file-text {
  height: 34px;
  border: 1px solid #cfd6df;
  background: #fff;
}

.import-upload-row {
  display: grid;
  grid-template-columns: 78px auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
}

.import-upload-btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  color: #fff;
  background: #434c68;
  border-radius: 3px;
  font-size: 13px;
}

.import-upload-row p {
  margin: 0;
  color: #1683ff;
  font-size: 13px;
}

.import-upload-row b {
  color: #ff4d4f;
  font-weight: 400;
}

.import-upload-row p button {
  padding: 0;
  color: #1683ff;
  background: transparent;
}

.customer-import-modal {
  min-height: 430px;
}

.import-template-card {
  margin: 0 0 18px 90px;
  padding: 16px 18px;
  border: 1px solid #dce5ef;
  background: #f8fbff;
  color: #1f2d3d;
}

.import-template-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.import-template-card p {
  margin: 0 0 12px;
  color: #5f6f7f;
  font-size: 13px;
}

.import-template-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.import-template-fields span {
  padding: 4px 9px;
  border: 1px solid #cfe3ff;
  border-radius: 3px;
  background: #fff;
  color: #1677ff;
  font-size: 12px;
}

.import-template-example {
  padding: 9px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px dashed #c7d3df;
  background: #fff;
  color: #667788;
  font-size: 12px;
}

.import-template-btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  color: #fff;
  background: #e74d3d;
  border-radius: 3px;
  font-size: 13px;
}

.import-team-select {
  position: relative;
  height: 34px;
}

.import-team-value {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #bfc5ca;
  background: #e9e9e9;
  color: #333;
  font-size: 13px;
}

.import-team-value i {
  font-style: normal;
}

.import-team-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 33px;
  z-index: 3;
  min-height: 274px;
  padding: 8px 0 34px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  color: #111;
  font-size: 13px;
}

.import-team-menu div {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.import-team-menu .indent-1 {
  padding-left: 32px;
}

.import-team-menu .indent-2 {
  padding-left: 38px;
}

.import-team-menu .indent-3 {
  padding-left: 45px;
}

.import-team-menu strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 29px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  background: #424b67;
  font-size: 13px;
}

.customer-recycle-backdrop {
  place-items: start center;
  padding-top: 86px;
  background: rgba(255, 255, 255, .42);
}

.customer-recycle-modal {
  width: min(1240px, calc(100vw - 64px));
  height: min(720px, calc(100vh - 112px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 16px 46px rgba(31, 45, 61, .22);
}

.customer-recycle-body {
  flex: 1;
  padding: 56px 120px 24px 56px;
  background: #fff;
}

.customer-recycle-field {
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 15px;
  color: #111;
  font-size: 14px;
}

.customer-recycle-field > span {
  text-align: right;
}

.customer-recycle-field select,
.customer-recycle-picker {
  width: 100%;
  height: 34px;
  border: 1px solid #cfd6df;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.customer-recycle-field select {
  padding: 0 10px;
}

.customer-recycle-check {
  display: grid;
  grid-template-columns: 166px 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto 15px;
  color: #222;
  font-size: 14px;
}

.customer-recycle-check input {
  width: 14px;
  height: 14px;
  accent-color: #1abc9c;
}

.customer-recycle-check b {
  font-weight: 400;
}

.customer-recycle-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
}

.customer-recycle-picker em {
  min-width: 20px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: #555;
  background: #f1f3f5;
  border: 1px solid #d5dadd;
  border-radius: 2px;
  font-style: normal;
  line-height: 1;
}

.customer-recycle-picker button {
  width: 18px;
  height: 20px;
  padding: 0;
  color: #777;
  background: transparent;
  font-size: 16px;
  line-height: 20px;
}

.customer-recycle-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 16px;
  background: #f5f5f5;
  border-top: 1px solid #d7dde3;
}

.common-lead-page {
  min-height: calc(100vh - 124px);
  padding: 16px 14px;
  color: #222;
  background: #ecf0f5;
}

.common-lead-card {
  min-height: 300px;
  padding: 18px 14px 16px;
  background: #fff;
}

.common-lead-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px 56px;
  padding: 0 16px 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}

.common-lead-filter-panel .filter-field {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.common-lead-filter-panel .filter-field span {
  color: #111;
  font-size: 14px;
  text-align: right;
}

.common-lead-filter-panel input,
.common-lead-filter-panel select {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d6dde6;
  outline: 0;
  color: #444;
  background: #fff;
}

.common-lead-filter-actions {
  min-height: 34px;
  align-self: end;
  justify-content: flex-start;
}

.common-lead-table {
  min-width: 1220px;
}

.pool-transfer-backdrop {
  place-items: start center;
  padding-top: 180px;
  background: rgba(255, 255, 255, .58);
}

.pool-transfer-modal {
  width: min(800px, calc(100vw - 48px));
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(32, 45, 58, .24);
}

.pool-transfer-body {
  flex: 1;
  padding: 15px 148px 30px 58px;
  background: #fff;
}

.pool-transfer-field {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #111;
  font-size: 14px;
}

.pool-transfer-field > span {
  text-align: right;
}

.pool-transfer-field select,
.pool-transfer-field input {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #cfd6df;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.pool-transfer-field select {
  background-color: #f0f0f0;
}

.pool-transfer-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 78px;
}

.pool-transfer-dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff6500;
}

.pool-transfer-dots i:nth-child(2) {
  background: #ff3b00;
}

.pool-transfer-dots i:nth-child(3) {
  background: #ff9b0a;
}

.pool-modal-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #eef3f5;
  border-top: 1px solid #d7dde3;
}

.pool-import-body {
  flex: 1;
  padding: 15px 146px 30px 58px;
}

.pool-import-modal .pool-transfer-field {
  margin-bottom: 12px;
}

.pool-import-input {
  background: #fff !important;
}

.pool-import-upload-row {
  display: grid;
  grid-template-columns: 78px auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.pool-import-upload {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  color: #fff;
  background: #434c68;
  border-radius: 3px;
  font-size: 13px;
}

.pool-import-upload-row p {
  margin: 0;
  color: #1683ff;
  font-size: 13px;
}

.pool-import-upload-row b {
  color: #ff4d4f;
  font-weight: 400;
}

.pool-import-upload-row button:not(.pool-import-upload) {
  padding: 0;
  color: #1683ff;
  background: transparent;
}

.pool-import-help {
  margin: -6px 0 0 90px;
  color: #777;
  font-size: 13px;
}

.common-customer-page {
  min-height: calc(100vh - 124px);
  padding: 12px 14px;
  color: #222;
  background: #ecf0f5;
}

.common-customer-card {
  min-height: 640px;
  padding: 0 14px 16px;
  background: #fff;
}

.common-customer-strip {
  height: 16px;
  margin: 0 -14px 24px;
  background: #e8edf2;
}

.common-customer-table {
  min-width: 1320px;
}

.common-customer-table th:nth-child(3),
.common-customer-table td:nth-child(3),
.common-customer-table th:nth-child(4),
.common-customer-table td:nth-child(4),
.common-customer-table th:nth-child(6),
.common-customer-table td:nth-child(6) {
  text-align: center;
}

.common-customer-footer {
  align-items: center;
}

.page-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}

.page-size select {
  height: 34px;
  padding: 0 24px 0 10px;
  border: 1px solid #d8dee6;
  background: #fff;
}

.common-customer-pagination {
  margin-left: auto;
}

.exhibition-page {
  min-height: calc(100vh - 124px);
  padding: 14px;
  color: #222;
  background: #ecf0f5;
}

.exhibition-card {
  min-height: 640px;
  padding: 24px 14px 16px;
  background: #fff;
}

.exhibition-search-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px 64px;
  padding: 14px 36px 14px;
  margin: 0 -4px 10px;
  border: 1px solid #eef1f4;
  background: #fff;
}

.exhibition-search-panel .filter-field {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.exhibition-search-panel .filter-field span {
  color: #111;
  font-size: 14px;
  text-align: right;
}

.exhibition-search-panel input {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d6dde6;
  outline: 0;
  color: #444;
  background: #fff;
}

.exhibition-search-actions {
  grid-column: 1 / -1;
  padding-left: 98px;
  justify-content: flex-start;
}

.exhibition-toolbar {
  margin-bottom: 10px;
}

.exhibition-table {
  min-width: 1540px;
}

.exhibition-table th,
.exhibition-table td {
  height: 44px;
}

.plain-link {
  color: #111;
  text-decoration: none;
}

.plain-link:hover {
  color: #1d78b8;
  text-decoration: underline;
}

.exhibition-copy-btn {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 2px;
  color: #fff;
  background: #33415f;
  font-size: 12px;
}

.exhibition-footer {
  align-items: center;
}

.exhibition-pagination {
  margin-left: auto;
}

.exhibition-modal-backdrop {
  place-items: start center;
  padding-top: 88px;
  background: rgba(255, 255, 255, .52);
}

.exhibition-add-modal {
  width: min(840px, calc(100vw - 72px));
  height: min(785px, calc(100vh - 112px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(32, 45, 58, .24);
}

.exhibition-add-body {
  flex: 1;
  overflow-y: auto;
  padding: 23px 60px 0 44px;
  background: #fff;
}

.exhibition-add-head {
  height: 35px;
  display: grid;
  grid-template-columns: 1fr 134px 142px 64px;
  align-items: center;
  margin: 0 0 0;
  padding: 0 14px 0 47px;
  background: #c9c9c9;
  color: #111;
  font-size: 16px;
  font-weight: 700;
}

.exhibition-add-head span:first-child {
  text-align: left;
}

.exhibition-add-content {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 285px;
  gap: 78px;
  padding-top: 5px;
}

.exhibition-project-fields {
  display: grid;
  gap: 11px;
}

.exhibition-add-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  color: #111;
  font-size: 14px;
}

.exhibition-add-field span {
  padding-right: 16px;
  text-align: right;
}

.exhibition-add-field input,
.exhibition-add-field select,
.exhibition-fee-row input,
.exhibition-add-remark textarea {
  width: 100%;
  min-height: 33px;
  border: 1px solid #cbd3dd;
  background: #fff;
  color: #222;
  font-size: 13px;
  outline: 0;
}

.exhibition-add-field input,
.exhibition-add-field select,
.exhibition-fee-row input {
  padding: 0 9px;
}

.exhibition-date-range {
  display: grid;
  grid-template-columns: 1fr 6px 1fr;
  align-items: center;
  gap: 4px;
}

.exhibition-date-range i {
  color: #111;
  font-style: normal;
  text-align: center;
}

.exhibition-url-field,
.exhibition-price-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.exhibition-url-field button {
  padding: 0;
  color: #1683ff;
  background: transparent;
  white-space: nowrap;
}

.exhibition-disabled-row {
  background: #f8fafc;
  color: #96a0ad;
}

.exhibition-disabled-row .approval-link {
  color: #8da0ad;
}

.exhibition-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.exhibition-status.enabled {
  color: #0f8f74;
  background: #e7f8f4;
}

.exhibition-status.disabled {
  color: #d35400;
  background: #fff2df;
}

.exhibition-image-field {
  align-items: start;
}

.exhibition-image-field > span {
  padding-top: 8px;
}

.exhibition-image-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px 82px;
  align-items: center;
  gap: 8px;
}

.exhibition-image-control button {
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 3px;
  background: #1683ff;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.exhibition-image-preview {
  width: 82px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #d7e0ea;
  border-radius: 4px;
  background: #f5f7fb;
}

.exhibition-image-preview.is-empty {
  display: none;
}

.exhibition-price-field em,
.exhibition-fee-row em {
  color: #111;
  font-style: normal;
  font-size: 14px;
  white-space: nowrap;
}

.exhibition-fee-fields {
  display: grid;
  gap: 11px;
}

.exhibition-fee-row {
  display: grid;
  grid-template-columns: 80px 140px 56px;
  align-items: center;
  gap: 10px;
  color: #111;
  font-size: 14px;
}

.exhibition-fee-row span {
  text-align: right;
}

.exhibition-add-remark {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  margin-top: 10px;
  color: #111;
  font-size: 14px;
}

.exhibition-add-remark span {
  padding: 39px 16px 0 0;
  text-align: right;
}

.exhibition-add-remark textarea {
  min-height: 86px;
  padding: 8px 10px;
  resize: vertical;
}

.exhibition-add-foot {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 0 0 150px;
  background: #e9eef1;
  border-top: 1px solid #d4dbe1;
}

.project-page {
  min-height: calc(100vh - 124px);
  padding: 16px 14px;
  color: #222;
  background: #ecf0f5;
}

.project-tabs {
  padding: 16px 16px 0;
  background: #e8edf2;
}

.project-card {
  min-height: 420px;
  padding: 24px 14px 16px;
  background: #fff;
}

.project-table-scroll {
  overflow-x: auto;
  border-top: 1px solid #edf0f4;
}

.project-table {
  min-width: 1900px;
}

.project-table th,
.project-table td {
  height: 62px;
}

.project-table th:nth-child(7),
.project-table td:nth-child(7) {
  min-width: 760px;
}

.project-table .project-dimmed {
  background: #c9c9c9;
}

.project-progress {
  min-width: 1040px;
  color: #222;
  white-space: nowrap;
  cursor: pointer;
}

.interactive-progress {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background .15s ease, border-color .15s ease;
}

.interactive-progress:hover {
  background: #f7fbff;
  border-color: #b8dcff;
}

.project-stage-title {
  color: #c5c5c5;
  line-height: 18px;
  text-align: center;
}

.project-checks {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.project-checks.tail {
  margin-left: 18px;
}

.project-checks label,
.project-phase label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  margin: 1px 4px 1px 0;
  padding: 0 5px;
  border-radius: 3px;
  color: #111;
  font-size: 13px;
  white-space: nowrap;
}

.project-phase label.checked {
  color: #0b8f78;
  background: #e8fbf5;
}

.project-checks input,
.project-phase input {
  width: 13px;
  height: 13px;
  margin: 0 2px;
  vertical-align: middle;
  accent-color: #1683ff;
}

.phase-progress {
  display: flex;
  align-items: center;
  gap: 34px;
}

.project-phase {
  min-width: 0;
  padding: 3px 6px 5px;
  border-radius: 4px;
  background: #fff;
}

.project-phase > span {
  display: block;
  color: #bdbdbd;
  line-height: 18px;
  text-align: center;
}

.project-progress-backdrop {
  place-items: start center;
  padding-top: 155px;
  background: rgba(255, 255, 255, .58);
}

.project-progress-modal {
  width: min(820px, calc(100vw - 48px));
  min-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(32, 45, 58, .24);
}

.project-progress-editor {
  flex: 1;
  padding: 20px 38px 28px;
  background: #fff;
}

.project-progress-summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 14px;
  background: #f3f7fb;
  border: 1px solid #dbe4ee;
}

.project-progress-summary strong {
  color: #111;
  font-size: 15px;
}

.project-progress-summary span {
  color: #66717d;
  font-size: 13px;
}

.progress-edit-group {
  margin-bottom: 16px;
  border: 1px solid #dbe4ee;
  border-radius: 4px;
  overflow: hidden;
}

.progress-edit-group h4 {
  height: 38px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 14px;
  color: #33415f;
  background: #eef3f8;
  font-size: 14px;
}

.progress-edit-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.progress-edit-group label {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #d6dde6;
  border-radius: 4px;
  color: #222;
  background: #fff;
  font-size: 13px;
}

.progress-edit-group label.checked {
  color: #0b8f78;
  border-color: #18bc9c;
  background: #e8fbf5;
}

.progress-edit-group input {
  width: 14px;
  height: 14px;
  accent-color: #18bc9c;
}

.screenshot-modal-backdrop {
  place-items: start center;
  padding-top: 24px;
  padding-left: 230px;
  background: rgba(255, 255, 255, .52);
}

.screenshot-modal,
.full-screen-modal {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(32, 45, 58, .24);
}

.project-add-modal {
  width: min(850px, calc(100vw - 300px));
  height: min(870px, calc(100vh - 26px));
}

.project-add-body {
  flex: 1;
  padding: 16px 88px 24px 58px;
  background: #fff;
}

.shot-field {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
  color: #111;
  font-size: 14px;
}

.shot-field > span,
.shot-radio-line > span,
.shot-tag-field > span {
  text-align: right;
}

.shot-field input,
.shot-field select,
.shot-field textarea,
.shot-range input,
.money-info strong,
.money-info a {
  width: 100%;
  min-height: 33px;
  padding: 0 10px;
  border: 1px solid #cbd3dd;
  background: #fff;
  color: #222;
  font-size: 13px;
  outline: 0;
}

.shot-field select {
  appearance: auto;
}

.shot-range {
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  align-items: center;
  gap: 4px;
}

.shot-range i {
  color: #111;
  font-style: normal;
  text-align: center;
}

.shot-field.with-action {
  grid-template-columns: 112px minmax(0, 1fr) auto;
}

.shot-field.with-action button {
  min-width: 50px;
  height: 33px;
  padding: 0 13px;
  color: #fff;
  background: #18bc9c;
  border-radius: 3px;
  font-size: 13px;
}

.shot-textarea {
  align-items: start;
}

.shot-textarea textarea {
  min-height: 68px;
  padding: 8px 10px;
  resize: vertical;
}

.shot-modal-foot {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #e9eef1;
  border-top: 1px solid #d4dbe1;
}

.full-modal-backdrop {
  place-items: start stretch;
  padding: 34px 0 0 234px;
  background: rgba(255, 255, 255, .48);
}

.full-screen-modal {
  width: 100%;
  height: calc(100vh - 34px);
}

.contract-add-modal .follow-modal-head,
.money-modal .follow-modal-head,
.factory-sheet-modal .follow-modal-head,
.customer-contract-modal .follow-modal-head {
  height: 44px;
}

.contract-add-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0 26px;
}

.contract-section-title {
  height: 39px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin: 0 16px;
  color: #13ad95;
  background: #e2f3dc;
  border: 1px solid #c7e6b6;
  font-weight: 700;
}

.contract-add-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 16px 72px;
  padding: 15px 20px 30px 130px;
  border: 1px solid #c7e6b6;
  border-top: 0;
  margin: 0 16px;
}

.contract-add-grid .shot-field,
.contract-add-grid .shot-radio-line,
.contract-add-grid .shot-tag-field {
  margin-bottom: 0;
}

.shot-radio-line {
  display: grid;
  grid-template-columns: 112px auto auto auto;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: 14px;
}

.shot-radio-line label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.shot-radio-line input[type="radio"] {
  width: 14px;
  height: 14px;
}

.shot-radio-line .mini-text {
  width: 120px;
  height: 33px;
  padding: 0 10px;
  border: 1px solid #cbd3dd;
}

.shot-tag-field {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  color: #111;
  font-size: 14px;
}

.shot-tag-field > div {
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 8px;
  border: 1px solid #cbd3dd;
  background: #fff;
}

.shot-tag-field em,
.shot-tag-field i {
  color: #333;
  font-style: normal;
}

.shot-tag-field button {
  color: #33415f;
  background: transparent;
  font-size: 18px;
}

.upload-row {
  grid-template-columns: 112px minmax(0, 1fr) auto auto !important;
}

.upload-row .upload-text,
.upload-row .contract-attachment-text {
  overflow: hidden;
  color: #333;
  background: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-row .upload-file,
.upload-row .contract-attachment-file {
  display: none;
}

.upload-row .upload-red {
  background: #ff554d;
}

.upload-row .upload-dark {
  background: #33415f;
}

.quote-page {
  min-height: calc(100vh - 124px);
  padding: 16px 14px;
  color: #222;
  background: #ecf0f5;
}

.quote-tabs {
  padding: 16px 16px 0;
  background: #e8edf2;
}

.quote-card {
  min-height: 300px;
  padding: 24px 14px 16px;
  background: #fff;
}

.quote-kind {
  font-weight: 700;
}

.quote-table {
  min-width: 1560px;
}

.quote-table th,
.quote-table td {
  height: 46px;
}

.quote-contract-btn {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 2px;
  color: #fff;
  background: #1683e8;
  font-size: 12px;
}

.quote-modal .form-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.quote-sheet-backdrop {
  padding-top: 34px;
}

.quote-sheet-modal .follow-modal-head {
  height: 44px;
}

.quote-sheet-body {
  flex: 1;
  overflow: auto;
  padding: 14px 0 72px;
  background: #fff;
}

.quote-sheet-info,
.quote-detail-table {
  width: 950px;
  margin: 0 auto;
  border-collapse: collapse;
  color: #222;
  font-size: 12px;
}

.quote-sheet-info td,
.quote-detail-table th,
.quote-detail-table td {
  padding: 4px;
  border: 1px solid #ccc;
}

.quote-sheet-info .td-left {
  width: 84px;
  text-align: right;
  white-space: nowrap;
}

.quote-sheet-info input,
.quote-sheet-info select {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ccc;
  color: #222;
  background: #fff;
}

.quote-sheet-info .red {
  display: inline-block;
  margin-right: 3px;
  color: red;
}

.quote-sheet-tools {
  width: 950px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 10px auto;
}

.quote-detail-table th {
  height: 34px;
  text-align: center;
  background: #f5f7fa;
  font-weight: 700;
}

.quote-detail-table td {
  text-align: center;
}

.quote-group-row {
  background: #ccecff;
  font-weight: 700;
}

.quote-group-row td:first-child {
  text-align: left;
}

.quote-detail-table input,
.quote-detail-table select,
.quote-detail-table textarea {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #ccc;
  color: #222;
  background: #fff;
  text-align: center;
}

.quote-detail-table select {
  min-width: 180px;
}

.quote-catalog-row {
  display: none;
}

.quote-item-name {
  min-width: 180px;
}

.quote-detail-table .quote-item-remark {
  text-align: left;
  min-width: 220px;
}

.quote-item-price,
.quote-item-money,
.quote-group-total,
.quote-total-notax,
.quote-total-tax,
.quote-total-taxed {
  width: 78px !important;
}

.quote-item-unit,
.quote-item-count {
  width: 58px !important;
}

.quote-group-total {
  border: 0 !important;
  background: transparent !important;
  font-weight: 700;
}

.quote-total-row td:nth-last-child(2),
.quote-total-row td:nth-last-child(3) {
  background: #fcd5b4;
  font-weight: 700;
}

.quote-total-row input {
  background: #fcd5b4;
  border: 0;
  font-weight: 700;
}

.quote-detail-table .add-tr,
.quote-detail-table .reduce-tr {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #1683ff;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
}

.quote-detail-table .reduce-tr {
  color: #ee4d45;
}

.remarkTr td {
  position: relative;
}

.remarkTr textarea {
  min-height: 120px;
  padding: 8px;
  text-align: left;
  resize: vertical;
}

#delRemark {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #e74c3c;
  border: 2px solid #e74c3c;
  border-radius: 50%;
  line-height: 16px;
  font-size: 12px;
}

.nav-sublist {
  display: none;
  padding: 2px 0 6px 38px;
}

.nav-sublist.open {
  display: grid;
  gap: 2px;
}

.nav-subitem {
  width: calc(100% - 12px);
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  color: #bac6d6;
  background: transparent;
  font-size: 13px;
  text-align: left;
}

.nav-subitem:hover,
.nav-subitem.active {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.lead-tool.orange {
  background: #f39c12;
}

.contract-page,
.supplier-page,
.finance-page {
  min-height: calc(100vh - 124px);
  padding: 16px 14px;
  color: #222;
  background: #ecf0f5;
}

.contract-tabs,
.supplier-tabs,
.finance-tabs {
  padding: 16px 16px 0;
  background: #e8edf2;
}

.contract-card,
.supplier-card,
.finance-card {
  min-height: 360px;
  padding: 22px 14px 16px;
  background: #fff;
}

.contract-card {
  padding-top: 16px;
}

.contract-filter-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px 22px;
  padding: 2px 10px 22px;
  margin-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}

.contract-filter-panel .filter-field {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.contract-filter-panel .filter-field span {
  color: #111;
  font-size: 13px;
  text-align: right;
}

.contract-filter-panel input,
.contract-filter-panel select {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d6dde6;
  outline: 0;
  color: #444;
  background: #fff;
}

.contract-table {
  min-width: 1960px;
}

.contract-table th,
.contract-table td {
  height: 44px;
}

.contract-actions {
  min-width: 380px;
}

.contract-action {
  min-height: 24px;
  padding: 0 7px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
}

.contract-action.blue {
  background: #1683e8;
}

.contract-action.red {
  background: #e74c3c;
}

.contract-action.green {
  background: #18bc9c;
}

.contract-action.dark {
  background: #33415f;
}

.contract-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
}

.contract-badge.green {
  background: #18bc9c;
}

.contract-badge.red {
  background: #e74c3c;
}

.supplier-modal .form-grid,
.finance-modal .form-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.money-modal-body {
  flex: 1;
  padding: 16px 90px 24px;
  overflow-y: auto;
  background: #fff;
}

.money-grid,
.expense-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 26px 78px;
  align-items: start;
}

.expense-grid {
  padding-top: 2px;
}

.money-info {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  color: #111;
  font-size: 14px;
}

.money-info span {
  text-align: right;
}

.money-info strong,
.money-info a {
  display: flex;
  align-items: center;
  border-color: transparent;
  font-weight: 400;
  text-decoration: none;
}

.money-info a {
  color: #1683ff;
}

.money-foot {
  justify-content: center;
}

.factory-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 0 88px;
  background: #fff;
}

.factory-sheet-body h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 22px;
  text-align: center;
}

.factory-info-table {
  width: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 36px;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.factory-info-table label {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.factory-info-table span {
  padding-right: 10px;
  color: #111;
  text-align: right;
  font-size: 14px;
}

.factory-info-table input {
  height: 33px;
  margin-right: 12px;
  padding: 0 10px;
  border: 1px solid #cbd3dd;
}

.factory-info-table .shot-range {
  margin-right: 12px;
}

.factory-material-title {
  color: #ff0000 !important;
  font-size: 28px !important;
}

.factory-material-table {
  width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.factory-material-table th,
.factory-material-table td {
  height: 43px;
  border: 1px solid #e5e5e5;
  color: #111;
  font-size: 14px;
  text-align: center;
}

.factory-material-table input {
  width: calc(100% - 20px);
  height: 33px;
  padding: 0 10px;
  border: 1px solid #cbd3dd;
}

.factory-add-row {
  width: 600px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px auto 0;
}

.factory-add-row input {
  width: 185px;
  height: 33px;
  padding: 0 10px;
  border: 1px solid #cbd3dd;
}

.factory-add-row button {
  height: 33px;
  padding: 0 14px;
  color: #fff;
  background: #f40000;
  border-radius: 3px;
}

.factory-foot .export-word,
.customer-contract-foot .export-word {
  background: #18bc9c;
}

.customer-contract-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 64px;
  background: #fff;
}

.contract-template-row {
  width: 850px;
  display: grid;
  grid-template-columns: 100px 300px;
  align-items: center;
  gap: 12px;
  margin: 0 auto 14px;
  color: #111;
  font-size: 14px;
}

.contract-template-row span,
.contract-editor-row > span {
  text-align: right;
}

.contract-template-row select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #1677ff;
  background: #fff;
}

.contract-template-upload-modal {
  width: 860px;
  max-width: calc(100vw - 48px);
  height: auto;
  min-height: 520px;
}

.contract-template-upload-body {
  padding: 22px 28px 86px;
}

.contract-template-notice {
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid #d8e7ff;
  border-radius: 8px;
  background: #f5f9ff;
}

.contract-template-notice h2 {
  margin: 0 0 8px;
  color: #1f2d3d;
  font-size: 20px;
}

.contract-template-notice p {
  margin: 6px 0 0;
  color: #5f6f85;
  line-height: 1.7;
}

.contract-template-steps {
  display: grid;
  gap: 14px;
}

.contract-template-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #fff;
}

.contract-template-step > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #18bc9c;
  font-weight: 700;
}

.contract-template-step strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2d3d;
  font-size: 16px;
}

.contract-template-step p {
  margin: 0 0 12px;
  color: #667085;
  line-height: 1.6;
}

.contract-upload-picker {
  display: inline-flex;
  align-items: center;
}

.contract-upload-picker input {
  display: none;
}

.contract-upload-picker em {
  min-width: 112px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: 4px;
  color: #fff;
  background: #24324b;
  font-style: normal;
  font-weight: 700;
  cursor: pointer;
}

.contract-upload-name {
  margin-top: 10px;
  color: #344054;
  font-size: 13px;
}

.contract-upload-link {
  margin-left: 10px;
  color: #1677ff;
  font-weight: 700;
}

.contract-template-extra {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #d9e2ec;
}

.contract-editor-row {
  width: 1230px;
  max-width: calc(100vw - 330px);
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  margin: 0 auto;
  color: #111;
  font-size: 14px;
}

.fake-editor {
  border: 1px solid #ccd2d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  background: #fff;
}

.fake-editor-toolbar {
  min-height: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px 8px;
  border-bottom: 1px solid #cfd5dd;
  background: linear-gradient(#f9f9f9, #e8ebef);
}

.fake-editor-toolbar button,
.fake-editor-toolbar select {
  height: 24px;
  padding: 0 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #222;
  font-size: 12px;
}

.fake-editor-toolbar select {
  border-color: #cbd3dd;
  background: #fff;
}

.fake-editor-content {
  height: 620px;
  padding: 0 12px 28px;
  overflow-y: auto;
  color: #111;
  font-size: 16px;
  line-height: 1.72;
}

.fake-editor-content h1 {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
}

.fake-editor-content p {
  margin: 8px 0;
}

.contract-editor-tip {
  width: 1230px;
  max-width: calc(100vw - 330px);
  margin: 12px auto 0;
  color: #7f8c8d;
  font-size: 13px;
  text-align: right;
}

.supplier-table {
  min-width: 1780px;
}

.supplier-table th,
.supplier-table td {
  height: 42px;
}

.supplier-table td:nth-child(5) {
  min-width: 220px;
  text-align: left;
}

.supplier-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 1px 2px;
  padding: 0 6px;
  border-radius: 2px;
  color: #fff;
  background: #18bc9c;
  font-size: 12px;
}

.finance-heading {
  padding: 16px 18px 8px;
  background: #ecf0f5;
}

.finance-heading h3 {
  margin: 0 0 6px;
  color: #222;
  font-size: 18px;
  font-weight: 600;
}

.finance-heading span {
  color: #777;
  font-size: 13px;
}

.finance-card {
  min-height: 420px;
  padding-top: 24px;
}

.finance-table {
  min-width: 1180px;
}

.invoice-table {
  min-width: 1560px;
}

.invoice-add-backdrop {
  place-items: start center;
  padding-top: 175px;
  padding-left: 234px;
  background: rgba(255, 255, 255, .58);
}

.invoice-add-modal {
  width: min(800px, calc(100vw - 300px));
  max-height: calc(100vh - 205px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.invoice-add-modal .follow-modal-head {
  height: 44px;
}

.invoice-add-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 110px 22px 58px;
}

.invoice-field {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  color: #111;
  font-size: 14px;
}

.invoice-field > span {
  text-align: right;
}

.invoice-field input,
.invoice-field select,
.invoice-field textarea {
  width: 100%;
  min-width: 0;
  height: 33px;
  padding: 0 10px;
  color: #334;
  background: #fff;
  border: 1px solid #cbd3dd;
  border-radius: 0;
  font-size: 13px;
}

.invoice-field select {
  color: #1683ff;
  appearance: auto;
}

.invoice-field .invoice-contract-select {
  width: auto;
  min-width: 96px;
  padding: 0 18px 0 0;
  color: #1683ff;
  background: transparent;
  border-color: transparent;
}

.invoice-radio-field {
  align-items: center;
}

.invoice-radio-line {
  min-height: 33px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.invoice-radio-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.invoice-radio-line input {
  width: 14px;
  height: 14px;
  padding: 0;
}

.invoice-help-field {
  align-items: start;
}

.invoice-help-field em {
  grid-column: 2;
  margin-top: -8px;
  color: #666;
  font-style: normal;
  line-height: 20px;
}

.invoice-textarea-field {
  align-items: start;
}

.invoice-textarea-field textarea {
  min-height: 52px;
  padding: 8px 10px;
  resize: vertical;
}

.invoice-add-foot {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 154px;
  background: #e9eef1;
  border-top: 1px solid #d4dbe1;
}

.finance-table th,
.finance-table td,
.invoice-table th,
.invoice-table td {
  height: 42px;
}

.approval-search.wide input {
  width: 220px;
}

.lead-action.claim {
  background: #18bc9c;
}

.lead-action.transfer {
  background: #ef7f73;
}

.customer-page {
  min-height: calc(100vh - 124px);
  padding: 16px 14px;
  color: #222;
  background: #ecf0f5;
}

.customer-tabs {
  padding: 16px 16px 0;
  background: #e8edf2;
}

.customer-card {
  min-height: 300px;
  padding: 24px 14px 16px;
  background: #fff;
}

.customer-table {
  min-width: 1680px;
}

.customer-name-link {
  color: #222;
  text-decoration: none;
}

.customer-name-link:hover {
  color: #1d78b8;
  text-decoration: underline;
}

.customer-row-actions {
  gap: 4px;
}

.lead-action.archive {
  width: 25px;
  padding: 0;
  background: #18bc9c;
}

.customer-modal .form-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.overview-page {
  min-height: calc(100vh - 124px);
  padding: 0 0 8px;
  color: #222;
  background: #ecf0f5;
}

.overview-tabs {
  min-height: 58px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 16px 16px 0;
  background: #e8edf2;
}

.overview-tabs button {
  height: 42px;
  padding: 0 18px;
  color: #8995a1;
  background: #dfe7ee;
  border: 0;
  border-radius: 2px 2px 0 0;
  font-size: 14px;
}

.overview-tabs button.active {
  color: #738090;
  background: #fff;
}

.screen-analytics-page {
  min-height: calc(100vh - 124px);
  padding: 14px;
  color: #172033;
  background: #ecf0f5;
}

.screen-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 18px;
}

.screen-kpi {
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.screen-kpi-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #12b5d0;
  background: #e7f9fb;
}

.screen-kpi span,
.screen-kpi small {
  display: block;
  color: #8b95a1;
  font-size: 13px;
}

.screen-kpi strong {
  display: block;
  margin: 8px 0 2px;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.screen-analytics-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 320px;
  gap: 16px;
}

.screen-panel {
  padding: 16px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.screen-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #111827;
}

.screen-panel-title strong {
  font-size: 20px;
}

.screen-panel-title span {
  color: #9aa3af;
  font-size: 13px;
}

.balance-panel {
  grid-column: 1;
}

.deposit-panel {
  grid-column: 2 / 4;
}

.project-board-panel {
  grid-column: 1 / 4;
}

.month-panel {
  grid-column: 1 / 3;
}

.donut-panel,
.funnel-panel,
.event-panel {
  min-height: 260px;
}

.screen-balance-table,
.screen-deposit-table {
  width: 100%;
  border-collapse: collapse;
}

.screen-balance-table th,
.screen-balance-table td,
.screen-deposit-table th,
.screen-deposit-table td {
  height: 34px;
  padding: 8px 10px;
  border: 1px solid #edf0f4;
  font-size: 14px;
  text-align: center;
}

.screen-balance-table th {
  width: 120px;
  color: #17364a;
  background: #a6d8f1;
  font-weight: 400;
  text-align: right;
}

.screen-balance-table td {
  text-align: left;
}

.screen-deposit-table th {
  color: #222;
  background: #fff;
}

.screen-deposit-table .danger-text {
  color: #f00;
}

.screen-project-board {
  overflow-x: auto;
  border: 1px solid #edf0f4;
}

.screen-project-head,
.screen-project-row {
  min-width: 1180px;
  display: grid;
  grid-template-columns: 150px 180px 80px 220px minmax(520px, 1fr);
  align-items: stretch;
}

.screen-project-head span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-right: 1px solid #edf0f4;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.screen-project-body {
  display: grid;
}

.screen-project-row {
  border-top: 1px solid #f2f4f7;
  background: #fbfcfe;
}

.screen-project-row:nth-child(2n) {
  background: #fff;
}

.screen-project-row > strong,
.screen-project-row > a,
.screen-project-row > span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-right: 1px solid #edf0f4;
  color: #1683e8;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.screen-project-row > span {
  color: #344054;
}

.screen-project-progress {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
}

.screen-project-phase {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.screen-project-phase em {
  width: 82px;
  flex: 0 0 auto;
  color: #98a2b3;
  font-size: 13px;
  font-style: normal;
  text-align: right;
}

.screen-project-phase p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.screen-project-phase span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f2f4f7;
  color: #667085;
  font-size: 13px;
}

.screen-project-phase span.active {
  background: #dff8ee;
  color: #0f9f72;
  font-weight: 700;
}

.screen-project-empty {
  padding: 28px;
  color: #98a2b3;
  text-align: center;
}

.screen-bar-chart {
  height: 230px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding: 18px 10px 0;
  border-top: 1px solid #edf0f4;
}

.screen-bar-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #5e6b7a;
  font-size: 12px;
}

.screen-bar-item i {
  width: 100%;
  max-width: 38px;
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #18bc9c, #7bd9ee);
}

.screen-bar-item b {
  color: #2f3d5b;
  font-weight: 600;
}

.screen-donut-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 18px;
}

.screen-donut {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}

.screen-donut text {
  fill: #172033;
  font-size: 5px;
  font-weight: 700;
  text-anchor: middle;
  transform: rotate(90deg);
  transform-origin: 18px 18px;
}

.screen-donut text + text {
  fill: #8b95a1;
  font-size: 3px;
  font-weight: 400;
}

.screen-legend {
  display: grid;
  gap: 10px;
  color: #475467;
  font-size: 13px;
}

.screen-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.screen-rank-bars {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.screen-rank-bars div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 13px;
}

.screen-rank-bars i {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.screen-rank-bars b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #3498db;
}

.screen-event-list {
  display: grid;
  gap: 10px;
}

.screen-event-list div {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) .8fr 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid #edf0f4;
  border-radius: 4px;
  color: #475467;
  font-size: 13px;
}

.screen-event-list strong {
  overflow: hidden;
  color: #1683e8;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-block {
  margin: 14px 16px 0;
  padding: 16px;
  border-radius: 3px;
  background: #f7f7f9;
}

.countdown-block {
  min-height: 102px;
}

.task-block {
  min-height: 138px;
}

.performance-block {
  min-height: 440px;
}

.block-title {
  margin-bottom: 18px;
}

.block-title span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 8px;
  border-radius: 3px;
  color: #fff;
  background: #303c5d;
  font-weight: 700;
  font-size: 14px;
}

.row-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-title span {
  position: absolute;
  left: 0;
  top: 0;
}

.row-title strong {
  color: #111;
  font-size: 16px;
}

.overview-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.overview-table th,
.overview-table td {
  height: 34px;
  padding: 7px 8px;
  border: 1px solid #c9cdd3;
  color: #111;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
}

.overview-table th {
  text-align: left;
  background: #f7f7f9;
}

.blank-cell {
  height: 1px;
  padding: 0;
  border: 0;
  background: transparent;
}

.todo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 10px;
}

.todo-metric strong {
  display: block;
  color: #227bff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.todo-metric span {
  display: block;
  margin-top: 4px;
  color: #1873ff;
  font-size: 14px;
}

.todo-metric i {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #12c9aa 0 24%, #d3d5d8 24% 100%);
}

.performance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.performance-filters {
  display: flex;
  align-items: center;
  gap: 4px;
}

.block-title.inline {
  margin: 0 4px 0 0;
}

.performance-filters select,
.performance-filters input,
.performance-filters button {
  height: 26px;
  padding: 0 4px;
  border: 1px solid #999;
  color: #111;
  background: #fff;
  border-radius: 2px;
  font-size: 14px;
}

.performance-filters input {
  width: 58px;
  font-weight: 700;
}

.performance-total {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 3px;
  color: #fff;
  background: #303c5d;
  font-weight: 700;
  font-size: 14px;
}

.gauge-wrap {
  display: flex;
  justify-content: center;
  padding-top: 58px;
}

.gauge {
  width: 400px;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.gauge-arc {
  fill: none;
  stroke-width: 28;
  stroke-linecap: square;
}

.gauge-arc.green {
  stroke: #93cfb7;
}

.gauge-arc.blue {
  stroke: #658ca8;
}

.gauge-arc.red {
  stroke: #df2d2c;
}

.gauge-tick {
  stroke: rgba(255, 255, 255, .72);
  stroke-width: 1;
}

.gauge-tick.major {
  stroke-width: 2;
}

.gauge-label {
  fill: #4e7ca0;
  font-size: 14px;
  text-anchor: middle;
  dominant-baseline: middle;
}

.gauge-label.green {
  fill: #6bb99a;
}

.gauge-label.red {
  fill: #d92525;
}

.gauge-caption {
  fill: #111;
  font-size: 14px;
  text-anchor: middle;
  dominant-baseline: middle;
}

.gauge-needle {
  fill: #8ac7ad;
}

.gauge-needle-head {
  fill: #8ac7ad;
}

.gauge-hub {
  fill: #8ac7ad;
}

.gauge-value {
  fill: #8ac7ad;
  font-size: 34px;
  text-anchor: middle;
}

.admin-footer {
  min-height: 42px;
  padding: 12px 15px;
  border-top: 1px solid #d2d6de;
  color: #777;
  background: #fff;
  font-size: 12px;
}

.admin-list-page {
  min-height: calc(100vh - 54px);
  background: #ecf0f5;
}

.admin-page-intro {
  padding: 18px 15px;
  background: #e8eff3;
  color: #111827;
}

.admin-page-intro strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.admin-page-intro p {
  margin: 0;
  color: #1f2933;
  font-size: 14px;
}

.admin-list-card {
  min-height: 270px;
  padding: 16px 15px 30px;
  background: #fff;
  border: 1px solid #e5e9ee;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: #111827;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  height: 46px;
  padding: 9px 14px;
  border: 1px solid #edf0f3;
  text-align: center;
  white-space: nowrap;
}

.admin-table th {
  height: 45px;
  background: #fbfbfb;
  color: #111;
  font-weight: 700;
}

.admin-table tbody tr:nth-child(odd) {
  background: #f7f7f7;
}

.admin-table .check-col {
  width: 44px;
  padding: 0;
}

.admin-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 2px;
  background: #3f4a6d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.scope-pill.all {
  background: #18bc9c;
}

.scope-pill.own {
  background: #53627c;
}

.admin-normal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #12b894;
  font-size: 13px;
}

.admin-normal i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #18b893;
}

.admin-normal.hidden-status {
  color: #7b8794;
}

.admin-normal.hidden-status i {
  background: #9aa5b1;
}

.admin-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mini-action {
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: #fff;
}

.mini-action.edit {
  background: #16b99a;
}

.mini-action.del {
  background: #ff5948;
}

.permission-table .permission-name {
  text-align: left;
  padding-left: 20px;
}

.admin-table-footer {
  padding-top: 18px;
  color: #1f2933;
  font-size: 14px;
}

.personnel-modal-backdrop {
  place-items: start center;
  padding-top: 135px;
  padding-left: 234px;
  background: rgba(236, 240, 245, .56);
}

.personnel-modal {
  width: min(800px, calc(100vw - 390px));
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(31, 45, 61, .22);
}

.personnel-modal .follow-modal-head {
  height: 45px;
}

.personnel-modal-body {
  flex: 1;
  padding: 15px 148px 54px 58px;
}

.personnel-field,
.personnel-radio-line {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 0 14px;
  min-height: 48px;
  color: #333;
  font-size: 14px;
}

.personnel-field > span,
.personnel-radio-line > span {
  text-align: right;
}

.personnel-field input,
.personnel-field select {
  width: 100%;
  height: 33px;
  padding: 0 11px;
  border: 1px solid #cfd6df;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.personnel-password-tip {
  margin: -4px 0 10px 104px;
  color: #8a97ab;
  font-size: 12px;
  line-height: 1.6;
}

.personnel-field select {
  color: #888;
  appearance: auto;
}

.personnel-radio-line {
  grid-template-columns: 90px auto auto 1fr;
  justify-content: start;
}

.personnel-radio-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 14px;
}

.personnel-radio-line input {
  width: 14px;
  height: 14px;
}

.personnel-modal-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #eef3f5;
}

.permission-modal-backdrop {
  place-items: start center;
  padding-top: 145px;
  padding-left: 234px;
  background: rgba(236, 240, 245, .56);
}

.permission-modal {
  width: min(800px, calc(100vw - 390px));
  height: min(600px, calc(100vh - 170px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(31, 45, 61, .22);
}

.permission-modal .follow-modal-head {
  height: 45px;
}

.permission-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px 148px 34px 58px;
}

.permission-field {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 0 14px;
  min-height: 48px;
  color: #333;
  font-size: 14px;
}

.permission-field > span {
  text-align: right;
}

.permission-field input[type="text"],
.permission-field input:not([type]),
.permission-field select {
  width: 100%;
  height: 33px;
  padding: 0 11px;
  border: 1px solid #cfd6df;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 13px;
}

.permission-field select {
  color: #333;
  appearance: auto;
}

.permission-scope-field,
.permission-status-field,
.permission-tree-field {
  align-items: start;
  padding-top: 7px;
}

.permission-radio-group {
  min-height: 33px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.permission-radio-group label,
.permission-tree-tools label,
.permission-module-line,
.permission-action-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.permission-tree-tools {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.permission-tree {
  padding: 0 0 8px 6px;
  color: #333;
  font-size: 14px;
}

.permission-tree-module {
  position: relative;
  padding-left: 2px;
}

.permission-tree-module::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: -2px;
  border-left: 1px dotted #8d98a5;
}

.permission-module-line {
  position: relative;
  min-height: 24px;
  background: #fff;
}

.tree-branch {
  color: #8d98a5;
  font-family: Consolas, monospace;
}

.permission-action-line {
  min-height: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-left: 23px;
  color: #555;
}

.permission-tree input[type="checkbox"],
.permission-tree-tools input[type="checkbox"],
.permission-radio-group input[type="radio"] {
  width: 14px;
  height: 14px;
}

.permission-modal-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #eef3f5;
}

.builder-page {
  min-height: calc(100vh - 156px);
}

.builder-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

.builder-kpis div {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e5ebf2;
}

.builder-kpis strong {
  display: block;
  color: #1f8fff;
  font-size: 26px;
  line-height: 1;
}

.builder-kpis span {
  display: block;
  margin-top: 8px;
  color: #667788;
}

.builder-table td {
  min-width: 96px;
}

.builder-order-card {
  margin-bottom: 14px;
}

.builder-order-table {
  min-width: 1540px;
}

.builder-order-table td {
  min-width: 92px;
}

.builder-order-tip {
  color: #667788;
  font-size: 13px;
}

.builder-order-actions {
  min-width: 330px;
}

.contract-badge.blue {
  background: #3498db;
}

.contract-badge.orange {
  background: #f59e0b;
}

.builder-report-modal .shot-textarea textarea {
  min-height: 82px;
}

.builder-material-field {
  align-items: flex-start;
}

.builder-material-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.builder-material-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1656ba;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.builder-material-links.muted {
  color: #8a98aa;
  font-size: 12px;
}

.builder-fee-panel {
  width: min(960px, calc(100% - 52px));
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid #d6e0ee;
  background: #fbfdff;
}

.builder-fee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.builder-fee-head strong {
  display: block;
  color: #172033;
  font-size: 15px;
}

.builder-fee-head span {
  display: block;
  margin-top: 4px;
  color: #667788;
  font-size: 12px;
}

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

.builder-fee-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.builder-fee-table th,
.builder-fee-table td {
  height: 40px;
  padding: 4px;
  border: 1px solid #222;
  text-align: center;
}

.builder-fee-table th {
  font-weight: 700;
  background: #f8fafc;
}

.builder-fee-table input {
  width: 100%;
  height: 30px;
  border: 0;
  outline: none;
  text-align: center;
  background: transparent;
}

.builder-fee-table tfoot td {
  font-weight: 700;
}

.builder-fee-table .reduce-tr {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ee4d45;
  border-radius: 50%;
  color: #ee4d45;
  background: #fff;
}

.builder-notice-editor {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d6e0ee;
  background: #fff;
}

.builder-notice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.builder-notice-title strong {
  color: #172033;
  font-size: 15px;
}

.builder-notice-title span {
  color: #667788;
  font-size: 12px;
}

.builder-notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 14px;
}

.builder-notice-grid label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.builder-notice-grid label.wide {
  grid-column: 1 / -1;
}

.builder-notice-grid input,
.builder-notice-grid textarea {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid #cfd8e3;
  outline: none;
  color: #172033;
  background: #fbfdff;
  font: inherit;
}

.builder-notice-grid textarea {
  min-height: 58px;
  resize: vertical;
}

.sort-mark.muted {
  color: #c8ced5;
  font-weight: 400;
}

.mobile-toggle {
  display: none;
}

.date-picker-popover {
  position: fixed;
  z-index: 80;
  width: 282px;
  padding: 10px;
  background: #fff;
  border: 1px solid #cfd6df;
  box-shadow: 0 12px 34px rgba(31, 45, 61, .24);
  color: #222;
  font-size: 13px;
}

.date-picker-head {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.date-picker-head strong {
  font-size: 14px;
  font-weight: 600;
}

.date-picker-head button,
.date-picker-foot button {
  height: 28px;
  min-width: 32px;
  padding: 0 8px;
  color: #33415f;
  background: #f3f6f8;
  border: 1px solid #d9e0e7;
  border-radius: 2px;
}

.date-picker-head button:hover,
.date-picker-foot button:hover {
  color: #fff;
  background: #33415f;
}

.date-picker-weekdays,
.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.date-picker-weekdays {
  margin-bottom: 4px;
  color: #7a8793;
}

.date-picker-weekdays span {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-picker-grid button {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: #fff;
  color: #222;
  border-radius: 2px;
}

.date-picker-grid button:hover {
  border-color: #18bc9c;
  color: #18bc9c;
}

.date-picker-grid button.muted {
  color: #b5bec7;
}

.date-picker-grid button.today {
  border-color: #18bc9c;
}

.date-picker-grid button.selected {
  color: #fff;
  background: #18bc9c;
  border-color: #18bc9c;
}

.date-picker-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eef1f4;
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 78px minmax(0, 1fr);
  }

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

  .screen-analytics-grid {
    grid-template-columns: 1fr;
  }

  .balance-panel,
  .deposit-panel,
  .month-panel {
    grid-column: auto;
  }

  .side-brand div, .nav-section, .nav-item span {
    display: none;
  }

  .nav-item {
    justify-content: center;
    padding: 0;
  }

  .hero-panel, .grid-two {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .login-card {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 300px;
  }

  .login-form {
    padding: 34px 24px;
  }

  .clone-login .login-screen {
    margin: 160px auto 0;
    padding: 0 20px;
  }

  .clone-login .login-head {
    display: none;
  }

  .clone-login .login-form {
    width: 100%;
    display: block;
    float: none;
    padding: 60px 30px 30px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: 252px;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .content, .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-actions .ghost-btn span {
    display: none;
  }

  .metric-grid, .screen-grid, .form-grid, .visual-metrics {
    grid-template-columns: 1fr;
  }

  .screen-kpis {
    grid-template-columns: 1fr;
  }

  .screen-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .screen-event-list div {
    grid-template-columns: 1fr;
  }
}
