.com-view {
  max-width: 1400px;
  margin: 0 auto;
}
.com-view .page-intro,
.com-tools,
.com-detail-actions,
.com-tabs,
.com-sub > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.com-panel,
.com-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.com-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.com-metric {
  padding: 18px 19px;
  min-height: 100px;
}
.com-metric small,
.com-usage small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.com-metric strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  margin: 8px 0 3px;
  letter-spacing: -1px;
}
.com-metric span {
  font-size: 11px;
  color: var(--muted);
}
.com-panel {
  overflow: hidden;
  margin-bottom: 17px;
}
.com-tabs {
  justify-content: flex-start;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  gap: 22px;
  overflow-x: auto;
}
.com-tabs button {
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  padding: 16px 0;
  color: var(--muted);
  font-size: 13px;
}
.com-tabs .selected {
  border-color: #62913e;
  color: #304626;
  font-weight: 650;
}
.com-tools {
  padding: 17px 19px;
}
.com-tools h2,
.com-sub h2 {
  font-size: 17px;
  margin: 0;
}
.com-tools input {
  width: min(250px, 48%);
}
.com-table-wrap {
  overflow-x: auto;
}
.com-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.com-table th,
.com-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
.com-table th {
  font-size: 11px;
  color: var(--muted);
  background: #f7f9f4;
  font-weight: 600;
}
.com-table td small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.com-table td.com-allow-wrap {
  white-space: normal;
  line-height: 1.65;
}
.com-table .text-btn {
  white-space: nowrap;
}
.com-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  background: #eef0eb;
  color: #596256;
}
.com-enabled {
  background: #edf4e4;
  color: #42612e;
}
.com-pending,
.com-expired {
  background: #faf0df;
  color: #835e23;
}
.com-suspended {
  background: #f6ebe7;
  color: #8b4c41;
}
.com-empty {
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
}
.com-empty h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 6px 0;
}
.com-empty p,
.com-note,
.com-detail dt,
.com-sub p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.com-form-fields,
.com-payment,
.com-trial {
  display: grid;
  gap: 13px;
}
.com-form-fields [hidden] {
  display: none;
}
.com-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.com-form-action {
  text-align: right;
  margin-top: 16px;
}
.com-form .com-error {
  margin-bottom: 8px;
}
.com-error {
  font-size: 13px;
  color: #9b382e;
}
.com-error:empty {
  display: none;
}
.com-note {
  padding: 10px 13px;
  background: #f3f6ef;
  border-radius: 8px;
}
.com-usage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.com-usage > div {
  background: #f4f7ef;
  border-radius: 8px;
  padding: 12px;
}
.com-usage strong {
  font-size: 17px;
  display: block;
  margin-top: 4px;
}
.com-usage em {
  font-size: 12px;
  font-weight: 450;
  font-style: normal;
  color: var(--muted);
}
.com-detail dl {
  display: flex;
  gap: 24px;
  margin: 12px 0;
}
.com-detail dd {
  margin: 3px 0;
  font-size: 14px;
}
.com-detail-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
}
.com-sub {
  padding: 18px;
}
.com-sub .com-usage {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 17px;
}
.com-personal {
  font-size: 12px;
}
.com-loading {
  padding: 20px;
  color: var(--muted);
}
.com-auth {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(280px, 1fr);
  min-height: min(690px, 87dvh);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  max-width: 980px;
  margin: 4vh auto;
}
.com-auth-art {
  position: relative;
  min-height: 480px;
  background: #293d29;
  overflow: hidden;
}
.com-auth-art > img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 59% center;
}
.com-auth-art > div {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fbf2eb;
  color: #2c3729;
  padding: 8px 11px;
  border-radius: 9px;
}
.com-auth-art > div img {
  width: 30px;
}
.com-auth-art b {
  font-size: 20px;
}
.com-auth-art span {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.com-auth-pane {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.com-auth-content {
  width: 100%;
  max-width: 340px;
}
.com-auth h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.com-auth-content > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.com-auth .com-form-action .btn {
  width: 100%;
}
.com-auth .com-form .field input {
  height: 39px;
}
.com-auth .com-error {
  text-align: left;
}
@media (max-width: 760px) {
  .com-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .com-metric {
    padding: 11px;
    min-height: 70px;
  }
  .com-auth-pane {
    padding: 22px;
  }
  .com-sub .com-usage {
    grid-template-columns: 1fr 1fr;
  }
  .com-sub > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .com-table td,
  .com-table th {
    padding: 10px;
  }
  .com-tabs {
    gap: 15px;
    padding: 0 12px;
  }
  .com-tools {
    padding: 13px;
  }
  .com-tools h2 {
    font-size: 15px;
  }
}
@media (max-width: 560px) {
  .com-auth {
    display: block;
    min-height: 0;
    margin: 10px auto;
  }
  .com-auth-art {
    height: 105px;
    min-height: 0;
  }
  .com-auth-art > img {
    object-position: 65% 55%;
  }
  .com-auth-pane {
    padding: 23px 18px;
  }
  .com-form-grid {
    grid-template-columns: 1fr;
  }
  .com-view .page-intro {
    flex-wrap: wrap;
  }
  .com-table-wrap {
    max-width: calc(100vw - 36px);
  }
  .com-view .com-metric strong {
    font-size: 21px;
  }
}
