/* 个人资料：隐藏「接收即时消息」 */
html.cf-no-instant-msg tr.cf-hide-instant-msg,
html.cf-no-instant-msg input[name="enableInstantMessage"],
html.cf-no-instant-msg .p-checkbox:has(input[name="enableInstantMessage"]) {
  display: none !important;
}

/* 设置页内：隐藏「个人资料 / 实名认证」子项 */
html.cf-settings-trim .cf-hide-settings-item {
  display: none !important;
}

/* 首屏防闪：皮肤页先藏原生主区，等自定义壳挂上再露 */
html.cf-boot-skin .main > *:not(.cf-site):not(.cf-sd):not(.cf-ud) {
  display: none !important;
}

/* 详情页需要原生表单时（回源/HTTPS/缓存/CC/WAF）再放开 */
html.cf-boot-skin.cf-sd-show-native .main > .main-box.cf-sd-native,
html.cf-boot-skin.cf-sd-show-native .main > .cf-sd + .main-box.cf-sd-native {
  display: block !important;
}

html.cf-boot-skin.cf-sd-show-native .main > .main-box.cf-sd-native .right-box,
html.cf-boot-skin.cf-sd-show-native .main > .cf-sd + .main-box.cf-sd-native .right-box {
  display: block !important;
}

/* 创建站：原生表单本身就是内容，壳就绪后再显示 */
html.cf-boot-create:not(.cf-create-ready) .main > * {
  visibility: hidden !important;
}

html.cf-boot-create.cf-create-ready .main > * {
  visibility: visible !important;
}

/* demo.cdnfly.cn console shell 1:1 */
:root {
  --nav-h: 64px;
  --side: 256px;
  --side-collapsed: 80px;
  --bg: #f0f2f5;
  --surface: #fff;
  --ink: #17233d;
  --text: #515a6e;
  --mute: #808695;
  --line: #edf1f7;
  --accent: #2d8cf0;
}

html,
body,
#app {
  min-height: 100%;
  margin: 0 !important;
  background: #f0f2f5 !important;
  background-image: none !important;
  color: var(--text) !important;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif !important;
  font-size: 14px !important;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #c5c8ce #f0f2f5;
}

body {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

/* 去掉右侧滚动条轨道的淡蓝/发白一圈 */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.main::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: #f0f2f5;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.main::-webkit-scrollbar-track {
  background: #f0f2f5;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.main::-webkit-scrollbar-thumb {
  background: #c5c8ce;
  border-radius: 4px;
  border: 2px solid #f0f2f5;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
.main::-webkit-scrollbar-corner {
  background: #f0f2f5;
}

.kylie-tabs,
.main-menu,
.left-box .main-menu,
aside.main-menu,
.p-panelmenu {
  display: none !important;
}

/* ---------- header ---------- */
.top-nav {
  position: fixed !important;
  top: 0 !important;
  left: var(--side) !important;
  right: 0 !important;
  width: auto !important;
  height: var(--nav-h) !important;
  z-index: 80 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 0 !important;
  border-bottom: 1px solid #edf1f6 !important;
  box-shadow: none !important;
}

html.cf-collapsed .top-nav {
  left: var(--side-collapsed) !important;
}

.top-nav .p-menubar {
  height: var(--nav-h) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 8px 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.top-nav .p-menubar-start,
.top-nav .p-menubar-root-list {
  display: none !important;
}

.cf-head-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0;
}

.cf-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.cf-trigger:hover {
  color: var(--accent);
  background: rgba(45, 140, 240, 0.06);
}

.cf-page-title {
  margin-left: 8px;
  color: #475467;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.top-nav .p-menubar-end {
  display: flex !important;
  align-items: center;
  margin-left: auto;
  gap: 0;
}

.top-nav .p-menubar-end .item,
.top-nav a.item {
  height: var(--nav-h) !important;
  padding: 0 12px !important;
  color: var(--text) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: var(--nav-h) !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;
}

.top-nav .cf-hide-item,
.top-nav a[href="/docs"],
.top-nav a[href="/logout"],
.top-nav a[href="/messages"],
.cf-hide-item,
.cf-hide-tab {
  display: none !important;
}

.main .p-datatable .p-datatable-tbody td {
  vertical-align: middle !important;
}

.main .p-datatable a[href*="server"] {
  font-weight: 500;
}

.cf-servers .p-tablist {
  padding-top: 8px !important;
}

.cf-user-menu {
  position: relative;
  margin-left: 4px;
}

.cf-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.cf-avatar-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef3fb;
  font-size: 14px;
}

.cf-user-drop {
  display: none;
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 148px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 35, 61, 0.12);
  z-index: 100;
}

.cf-user-menu.open .cf-user-drop {
  display: block;
}

.cf-user-drop a {
  display: block;
  padding: 8px 14px;
  color: #515a6e !important;
  font-size: 13px;
  text-decoration: none !important;
}

.cf-user-drop a:hover {
  background: #f5f7fb;
  color: var(--accent) !important;
}

.cf-user-drop a.danger {
  border-top: 1px solid var(--line);
}

/* ---------- sider ---------- */
.cf-side {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--side);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 1px 0 0 #edf1f6;
  transition: width 0.2s ease;
}

html.cf-collapsed .cf-side {
  width: var(--side-collapsed);
}

.cf-side-logo {
  display: flex;
  align-items: center;
  flex: 0 0 63px;
  height: 63px;
  padding: 0 20px;
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid #f0f2f5;
  overflow: hidden;
  white-space: nowrap;
}

.cf-side-logo img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  object-fit: contain;
}

html.cf-collapsed .cf-side-logo b,
html.cf-collapsed .cf-item span,
html.cf-collapsed .cf-group > button span,
html.cf-collapsed .cf-group > button em,
html.cf-collapsed .cf-sub {
  display: none !important;
}

html.cf-collapsed .cf-side-logo {
  justify-content: center;
  padding: 0;
}

html.cf-collapsed .cf-side-logo img {
  margin: 0;
}

.cf-side-nav {
  flex: 1;
  overflow: auto;
  padding: 8px 10px 14px;
}

.cf-side a,
.cf-side button {
  font-family: inherit;
}

.cf-item,
.cf-group > button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  margin: 0 0 2px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #475467 !important;
  font-size: 15px;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}

.cf-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  color: #98a2b3;
  flex: 0 0 auto;
}

.cf-ico svg {
  width: 18px;
  height: 18px;
}

.cf-item.active,
.cf-group.open > button {
  color: var(--accent) !important;
  background: rgba(45, 140, 240, 0.09);
  font-weight: 600;
}

.cf-item.active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.cf-item.active .cf-ico,
.cf-group.open > button .cf-ico {
  color: var(--accent);
}

.cf-group > button em {
  margin-left: auto;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #98a2b3;
  transition: transform 0.15s ease;
}

.cf-group.open > button em {
  transform: rotate(90deg);
}

.cf-sub {
  display: none;
  padding: 2px 0 6px;
}

.cf-group.open .cf-sub {
  display: block;
}

.cf-sub a {
  display: block;
  height: 38px;
  margin: 0;
  padding: 0 14px 0 44px;
  border-radius: 0 8px 8px 0;
  color: #475467 !important;
  font-size: 14px;
  line-height: 38px;
  text-decoration: none !important;
}

.cf-sub a.active {
  color: var(--accent) !important;
  background: rgba(45, 140, 240, 0.09);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent);
}

/* ---------- main ---------- */
/* 全部功能区贴满侧栏右侧，外侧不再留一圈 */
.main {
  position: absolute !important;
  top: var(--nav-h) !important;
  left: var(--side) !important;
  right: 0 !important;
  bottom: auto !important;
  min-height: calc(100vh - var(--nav-h)) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.main > .cf-site,
.main > .cf-sd,
.main > .cf-ud,
.main > .main-box,
.main > .card-box,
.main > .right-box,
.main > .p-card {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.cf-site,
.cf-ud {
  min-height: calc(100vh - var(--nav-h));
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.cf-sd {
  min-height: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* 原生设置页：头部 Tab 不占满全屏，避免把表单顶出视口 */
.cf-sd.cf-sd-native-only {
  min-height: 0 !important;
  padding: 16px 20px 0 !important;
}

.cf-sd.cf-sd-native-only .cf-sd-head {
  margin-bottom: 10px;
}

.cf-sd.cf-sd-native-only .cf-sd-tabs {
  margin-bottom: 0;
}

.cf-sd.cf-sd-native-only #cf-sd-body:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
}

.cf-site-card {
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - var(--nav-h));
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

html.cf-collapsed .main {
  left: var(--side-collapsed) !important;
}

.main .card-box,
.main .p-card,
.main .right-box,
.main .left-box,
.main .main-box {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* ---------- dashboard ---------- */
.cf-ud {
  display: block;
  width: 100%;
  color: var(--text);
  background: #fff;
}

.cf-ud-main {
  width: 100%;
  max-width: none;
}

.cf-card {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.cf-ud .cf-side-stack {
  border-left: 1px solid var(--line);
}

.cf-card-head {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.cf-card-head .icon {
  margin-right: 8px;
  color: var(--accent);
  font-size: 14px;
}

.cf-card-head .card-title {
  font-weight: 600;
}

.cf-card-body {
  padding: 16px 18px;
}

.cf-period {
  position: absolute;
  top: 11px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  gap: 0;
}

.cf-period button {
  height: 22px;
  padding: 0 12px;
  border: 1px solid #dcdee2;
  border-left-width: 0;
  background: #fff;
  color: #808695;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  pointer-events: auto;
}

.cf-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cf-ov-item {
  padding: 14px 16px;
  border: 1px solid #e8eaec;
  border-radius: 4px;
  background: #fafbfc;
}

.cf-ov-label {
  color: #808695;
  font-size: 13px;
}

.cf-ov-value {
  margin-top: 8px;
  color: #17233d;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-all;
}

@media (max-width: 1100px) {
  .cf-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cf-period button:first-child {
  border-left-width: 1px;
  border-radius: 3px 0 0 3px;
}

.cf-period button:last-child {
  border-radius: 0 3px 3px 0;
}

.cf-period button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.cf-user-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 0 8px;
  align-items: flex-start;
}

.cf-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #5cadff;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.cf-user-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 8px;
}

.cf-user-title strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.cf-user-title .hello {
  color: var(--mute);
  font-size: 12px;
}

.cf-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.cf-chip {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  line-height: 1.4;
}

.cf-chip .label {
  margin-right: 10px;
  color: var(--mute);
  font-size: 12px;
  white-space: nowrap;
}

.cf-chip .value {
  color: var(--ink);
}

.cf-ud .grid.counter-chart {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.cf-ud .grid.counter-chart .column {
  min-height: 84px !important;
  margin: 0 !important;
  padding: 13px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fbfdff !important;
  box-shadow: none !important;
}

.cf-ud .grid.counter-chart .column .title,
.cf-ud .grid.counter-chart .column .grey,
.cf-ud .grid.counter-chart .column h5 {
  color: var(--mute) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.cf-ud .grid.counter-chart .column .value,
.cf-ud .grid.counter-chart .column .value span:not(.small) {
  color: var(--ink) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.cf-chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 20px;
}

.cf-chart-row .cf-card {
  margin-bottom: 0;
  min-height: 520px;
}

.cf-trend-body {
  position: relative;
  min-height: 300px;
}

.cf-trend-canvas {
  display: block;
  width: 100%;
  height: 300px;
}

.cf-trend-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #808695;
  font-size: 12px;
}

.cf-top-body {
  min-height: 220px;
}

.cf-top-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cf-top-table th,
.cf-top-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f0f2f5;
  text-align: left;
  font-size: 13px;
  color: #515a6e;
}

.cf-top-table th {
  color: #808695;
  font-weight: 500;
  background: #fafbfc;
}

.cf-top-table th:first-child,
.cf-top-table td:first-child {
  width: 52px;
  text-align: center;
}

.cf-top-table th:nth-child(3),
.cf-top-table td:nth-child(3),
.cf-top-table th:nth-child(4),
.cf-top-table td:nth-child(4) {
  width: 88px;
  text-align: right;
}

.cf-top-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #17233d;
}

.cf-metric-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #e8eaec;
}

.cf-metric-tabs button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #808695;
  font-size: 14px;
  cursor: pointer;
}

.cf-metric-tabs button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.cf-empty-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: var(--mute);
  font-size: 14px;
}

.cf-ud .grid.chart-grid {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.cf-ud .grid.chart-grid .column {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.cf-side-stack .cf-card {
  margin-bottom: 20px;
}

.cf-side-stack .cf-card:last-child {
  margin-bottom: 0;
}

.cf-pkg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.cf-pkg-title {
  color: #515a6e;
  font-size: 13px;
}

.cf-usage-table {
  width: 100%;
  border-collapse: collapse;
}

.cf-usage-table td {
  height: 40px;
  padding: 0 10px;
  border-bottom: 1px solid #f2f4f7;
  font-size: 13px;
}

.cf-usage-table td:first-child {
  color: var(--mute);
}

.cf-usage-table td:last-child {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.cf-usage-table a {
  color: var(--accent) !important;
  text-decoration: none !important;
  font-weight: 500;
}

.cf-empty {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- list / forms / tables ---------- */
.p-button:not(.p-button-outlined):not(.p-button-secondary):not(.p-button-text):not(.plus-button) {
  height: 32px !important;
  padding: 0 15px !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.main .p-button.p-button-outlined,
.main .p-button.p-button-secondary {
  height: 32px !important;
  border-radius: 4px !important;
  color: var(--accent) !important;
  border-color: #abdcff !important;
  background: #e8f4ff !important;
}

.main .p-inputtext,
.main input[type="text"],
.main select,
.main .p-select {
  height: 32px !important;
  border: 1px solid #dcdee2 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
}

/* 多行输入不要压成单行高度（刷新预热 URL 列表等） */
.main textarea,
.main .p-textarea,
.main .p-inputtextarea,
.main textarea.p-inputtext,
.main .p-inputtext.p-textarea {
  height: auto !important;
  min-height: 220px !important;
  width: 100% !important;
  max-width: 720px;
  padding: 10px 12px !important;
  line-height: 1.55 !important;
  border: 1px solid #dcdee2 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  resize: vertical;
  box-sizing: border-box;
}

html.cf-cache-page .main textarea,
html.cf-cache-page .main .p-textarea,
html.cf-cache-page .main .p-inputtextarea,
html.cf-cache-page .main textarea.p-inputtext {
  min-height: 280px !important;
  max-width: 860px;
}

.main .p-tabs,
.main .p-tablist,
.main .p-tablist-tab-list,
.main .p-tabmenu-nav,
.main .p-tabview-nav {
  --p-tabs-tab-padding: 0;
  --p-tabs-tab-border-width: 0 0 2px 0;
  --p-tabs-tab-border-color: transparent;
  --p-tabs-tab-hover-border-color: transparent;
  --p-tabs-tab-active-border-color: var(--accent);
  --p-tabs-tab-background: transparent;
  --p-tabs-tab-hover-background: transparent;
  --p-tabs-tab-active-background: transparent;
  --p-tabs-active-bar-height: 0;
  --p-tabs-active-bar-background: transparent;
  position: relative !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eaec !important;
  margin-bottom: 16px !important;
}

/* 和网站列表一致：蓝线只跟文字同宽，不要铺满整块 Tab */
.main .p-tablist-tab-list,
.main .p-tabmenu-nav,
.main .p-tabview-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 24px !important;
  padding: 0 16px !important;
}

.main .p-tab,
.main .p-tabview-nav-link,
.main .p-tabmenuitem,
.main .p-tabmenuitem .p-menuitem-link {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  height: 44px !important;
  margin: 0 !important;
  margin-bottom: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-top: 0 !important;
  border-bottom: 2px solid transparent !important;
  color: #515a6e !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 44px !important;
  white-space: nowrap !important;
}

.main .p-tab-active,
.main .p-tab[aria-selected="true"],
.main .p-tab[data-p-active="true"],
.main .p-tabview-selected .p-tabview-nav-link,
.main .p-highlight .p-menuitem-link,
.main .p-tabmenuitem.p-highlight .p-menuitem-link {
  color: var(--accent) !important;
  background: transparent !important;
  border-top-color: transparent !important;
  border-bottom-color: var(--accent) !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

/* 关掉原生 ink bar（宽度会按整块按钮算，比文字宽） */
.main .p-tablist-active-bar,
.main .p-tabview-ink-bar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  background: transparent !important;
}

.main .p-datatable {
  border: 0 !important;
  box-shadow: none !important;
}

.main .p-datatable .p-datatable-thead > tr > th {
  background: #f8f8f9 !important;
  color: #515a6e !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eaec !important;
  height: 40px !important;
}

.main .p-datatable .p-datatable-tbody > tr > td {
  color: #515a6e !important;
  font-size: 13px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eaec !important;
  height: 48px !important;
}

.main .p-datatable .p-datatable-tbody a {
  color: var(--accent) !important;
}

.main .p-datatable .p-datatable-tbody > tr:hover > td {
  background: #ebf7ff !important;
}

.main .p-paginator {
  border: 0 !important;
  background: transparent !important;
  justify-content: flex-end !important;
}

.main .p-breadcrumb {
  margin: 0 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.main a {
  color: var(--accent);
}

.cf-servers .main-box,
.cf-servers .card-box {
  padding: 0 16px 16px !important;
}

.kylie-domain-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.kylie-cname {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.kylie-cname .label {
  color: var(--mute);
  font-size: 12px;
}

.kylie-cname .value {
  margin: 8px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  word-break: break-all;
}

.kylie-cname .hint {
  margin: 0 0 12px;
  color: var(--mute);
  font-size: 12px;
}

.kylie-cname button {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

/* ---------- loading / progress ---------- */
.cf-nprogress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #2d8cf0, #57a3f3 60%, #8cc5ff);
  box-shadow: 0 0 8px rgba(45, 140, 240, 0.45);
  opacity: 0;
  transition: width 0.28s ease, opacity 0.2s ease;
}

.cf-nprogress.is-on {
  opacity: 1;
}

.cf-nprogress.is-done {
  width: 100% !important;
  opacity: 0;
  transition: width 0.18s ease, opacity 0.35s ease 0.12s;
}

.cf-loading,
.cf-site-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  padding: 40px 16px;
  color: var(--mute);
  font-size: 13px;
  text-align: center;
}

.cf-loading.compact,
.cf-site-loading.compact {
  min-height: 96px;
  padding: 24px 12px;
}

.cf-spin {
  width: 28px;
  height: 28px;
  border: 2px solid #dfe7f3;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
}

.cf-spin.sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

@keyframes cf-spin {
  to {
    transform: rotate(360deg);
  }
}

.cf-fade-in {
  animation: cf-fade-in 0.28s ease;
}

@keyframes cf-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cf-skel {
  display: grid;
  gap: 10px;
  width: min(520px, 86%);
}

.cf-skel i {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: cf-skel 1.2s ease infinite;
}

.cf-skel i:nth-child(1) {
  width: 42%;
  height: 14px;
}

.cf-skel i:nth-child(2) {
  width: 100%;
}

.cf-skel i:nth-child(3) {
  width: 88%;
}

.cf-skel i:nth-child(4) {
  width: 64%;
}

@keyframes cf-skel {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* ---------- servers list (demo site/list 1:1) ---------- */

.cf-site-card {
  overflow: hidden;
  background: #fff;
}

.cf-site-tabs {
  display: flex;
  gap: 24px;
  padding: 0 16px;
  border-bottom: 1px solid #e8eaec;
}

.cf-site-tabs a {
  height: 44px;
  margin-bottom: -1px;
  color: #515a6e !important;
  font-size: 14px;
  line-height: 44px;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
}

.cf-site-tabs a.active {
  color: var(--accent) !important;
  font-weight: 500;
  border-bottom-color: var(--accent);
}

.cf-site-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 32px;
  padding: 14px 16px;
}

.cf-site-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 15px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  font-size: 14px;
  line-height: 30px;
  text-decoration: none !important;
  cursor: pointer;
  background: #fff;
  color: #515a6e;
}

.cf-btn.primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.cf-btn.default,
.cf-btn.ghost,
.cf-btn.outline {
  background: #fff !important;
  border-color: #dcdee2 !important;
  color: #515a6e !important;
}

.cf-btn.default:hover,
.cf-btn.ghost:hover,
.cf-btn.outline:hover {
  color: var(--accent) !important;
  border-color: #57a3f3 !important;
}

.cf-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #808695;
  vertical-align: middle;
}

.cf-site-search {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 8px;
  width: 512px;
  max-width: 100%;
}

.cf-search-control {
  flex: 1 1 auto;
  margin: 0;
}

.cf-input-group {
  display: flex;
  align-items: stretch;
  height: 32px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.cf-prepend {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f8f8f9;
  border-right: 1px solid #dcdee2;
  color: #515a6e;
  font-size: 14px;
  white-space: nowrap;
}

.cf-input-group input {
  flex: 1 1 auto;
  width: 180px;
  min-width: 0;
  height: 30px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  outline: none;
}

.cf-append {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid #dcdee2;
  background: #f8f8f9;
  color: #515a6e;
  font-size: 14px;
  cursor: pointer;
}

.cf-append:hover {
  color: var(--accent);
}

.cf-filter-panel {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 30;
  min-width: 260px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cf-filter-panel.open {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-filter-panel select {
  height: 32px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
}

.cf-pane {
  padding: 16px 20px 24px;
}

.cf-pane-title {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #17233d;
  font-size: 16px;
  font-weight: 600;
}

.cf-pane-title i {
  width: 4px;
  height: 16px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.cf-pane-desc {
  margin: 0 0 16px;
  color: #808695;
  font-size: 13px;
  line-height: 1.6;
}

.cf-pane-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.cf-detect-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 14px;
  color: #808695;
  font-size: 13px;
}

.cf-detect-stats a {
  color: var(--accent) !important;
}

.cf-disabled-row {
  opacity: 0.45;
}

.cf-row-more .cf-more-menu {
  right: 0;
  left: auto;
}

.cf-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(55, 55, 55, 0.45);
}

.cf-modal {
  width: 520px;
  max-width: calc(100vw - 32px);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cf-modal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid #e8eaec;
  color: #17233d;
  font-size: 16px;
  font-weight: 600;
}

.cf-modal-x {
  border: 0;
  background: transparent;
  color: #999;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cf-modal-bd {
  padding: 18px 20px;
}

.cf-modal-ft {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px 18px;
}

.cf-modal-hint {
  margin: 0 0 12px;
  color: #808695;
  font-size: 12px;
  line-height: 1.5;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  color: #515a6e;
  font-size: 13px;
}

.cf-field input,
.cf-field select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  font-size: 14px;
}

/* ---------- server detail (demo 7 tabs) ---------- */
html.cf-server-detail .left-box {
  display: none !important;
}

html.cf-server-detail .main .main-box,
html.cf-server-detail .main .right-box {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html.cf-server-detail .p-tabmenu,
html.cf-server-detail .p-tabview-nav,
html.cf-server-detail .p-tabview-nav-container,
html.cf-server-detail .main .p-breadcrumb,
html.cf-server-detail .main .mb-4.-mt-3,
html.cf-server-detail .main .mb-4.-mt-3 * {
  display: none !important;
}

.cf-sd {
  margin: 0 !important;
  padding: 16px 20px 12px;
  background: #fff;
  box-sizing: border-box;
}

.cf-sd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.cf-sd-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: #515a6e !important;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #e8eaec;
}

.cf-sd-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cf-sd-title b {
  color: #17233d;
  font-size: 18px;
  font-weight: 600;
}

.cf-sd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cf-sd-tabs a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  background: #eaf4ff;
  color: #2d8cf0 !important;
  font-size: 13px;
  text-decoration: none !important;
}

.cf-sd-tabs a.active {
  background: var(--accent) !important;
  color: #fff !important;
}

.cf-sd-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 4px 0 8px;
}

.cf-sd-section {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f2f5;
}

.cf-sd-section:last-child {
  border-bottom: 0;
}

.cf-sd-sec-title {
  margin-bottom: 14px;
  color: #17233d;
  font-size: 15px;
  font-weight: 600;
}

.cf-sd-sec-title em {
  margin-left: 8px;
  color: #808695;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
}

.cf-sd-desc {
  margin: 8px 0 0;
  color: #808695;
  font-size: 12px;
  line-height: 1.6;
}

.cf-sd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.cf-sd-kv {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
}

.cf-sd-kv > span {
  flex: 0 0 72px;
  color: #808695;
}

.cf-sd-kv b {
  color: #515a6e;
  font-weight: 500;
}

.cf-sd-kv a {
  color: var(--accent) !important;
  margin-left: 6px;
  font-weight: 400;
}

.cf-sd-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-sd-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cf-sd-entry {
  padding: 14px;
  border: 1px solid #e8eaec;
  border-radius: 6px;
  background: #fafbfc;
}

.cf-sd-entry-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cf-sd-entry-hd b {
  color: #17233d;
}

.cf-sd-entry-hd span {
  min-width: 36px;
  height: 22px;
  padding: 0 8px;
  border-radius: 11px;
  background: #dcdee2;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.cf-sd-entry-hd span.on {
  background: #19be6b;
}

.cf-sd-ports {
  margin: 8px 0 12px;
}

.cf-sd-origin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 13px;
}

.cf-sd-origin span {
  color: #808695;
}

.cf-sd-origin b {
  color: #17233d;
}

.cf-sd-origin em,
.cf-sd-origin i {
  color: #808695;
  font-style: normal;
}

.cf-sd-origin a {
  margin-left: auto;
  color: var(--accent) !important;
}

.cf-sd-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cf-sd-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e8eaec;
  border-radius: 6px;
  background: #fafbfc;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cf-sd-rule:hover {
  border-color: #2d8cf0;
  background: #f3f8ff;
}

.cf-sd-rule > span {
  flex: 0 0 auto;
  color: #808695;
  font-size: 12px;
}

.cf-sd-rule b {
  flex: 1 1 auto;
  color: #17233d;
  font-size: 13px;
  font-weight: 600;
}

.cf-sd-rule em {
  flex: 0 0 auto;
  color: var(--accent);
  font-style: normal;
  font-size: 12px;
}

.cf-sd-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cf-sd-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid #e8eaec;
  border-radius: 6px;
  background: #fff;
  text-decoration: none !important;
}

.cf-sd-card b {
  color: #17233d;
  font-size: 14px;
}

.cf-sd-card span {
  color: var(--accent);
  font-size: 12px;
}

.cf-sd-adv-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cf-sd-adv-bar a {
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f5f7fb;
  color: #515a6e !important;
  font-size: 12px;
  line-height: 28px;
  text-decoration: none !important;
}

.cf-sd-adv-bar a.active {
  background: #eaf4ff;
  color: var(--accent) !important;
}

@media (max-width: 960px) {
  .cf-sd-grid,
  .cf-sd-dual,
  .cf-sd-cards,
  .cf-sd-rules {
    grid-template-columns: 1fr;
  }
}

html.cf-server-detail .footer,
html.cf-popup-page .footer,
html.cf-popup-page .cf-side,
.cf-site ~ .footer,
.main > .footer {
  display: none !important;
}

html.cf-server-detail .main {
  padding: 0 !important;
  background: #fff !important;
}

html.cf-server-detail .main-box.cf-sd-native,
html.cf-server-detail .main-box.cf-sd-native .right-box {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 8px 20px 16px !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

html.cf-server-detail .left-box,
html.cf-server-detail .left-box .p-menu {
  display: none !important;
}

html.cf-server-detail .main-box.cf-sd-native {
  position: relative !important;
  top: 0 !important;
}

html.cf-popup-page .cf-side,
html.cf-popup-page .top-nav {
  display: none !important;
}

html.cf-popup-page .main {
  left: 0 !important;
  top: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

html.cf-popup-page body {
  background: #fff !important;
}

.cf-popup-frame {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.cf-popup-iframe {
  display: block;
  width: 100%;
  height: min(640px, calc(100vh - 120px));
  border: 0;
  background: #fff;
}

.cf-site-table th:nth-child(9),
.cf-site-table td:nth-child(9) {
  width: 140px;
  white-space: nowrap;
}

.cf-ops {
  white-space: nowrap;
}

.cf-ops a {
  color: var(--accent) !important;
  text-decoration: none !important;
  margin-right: 6px;
}

.cf-more-wrap {
  position: relative;
}

.cf-more-menu {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  z-index: 20;
  min-width: 128px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cf-more-menu.open {
  display: block;
}

.cf-more-menu button,
.cf-more-menu a {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: #515a6e !important;
  font-size: 13px;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}

.cf-more-menu button:hover,
.cf-more-menu a:hover {
  background: #f5f7fb;
  color: var(--accent) !important;
}

.cf-site-table-wrap {
  overflow: auto;
  padding: 0 0 8px;
}

.cf-site-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cf-site-table th,
.cf-site-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8eaec;
  color: #515a6e;
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
  word-break: normal;
}

.cf-site-table.cf-rule-table {
  table-layout: auto;
}

.cf-nowrap {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.cf-rule-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 14px;
  color: #808695;
  font-size: 13px;
}

.cf-rule-stats b {
  color: #17233d;
  font-weight: 600;
}

.cf-rule-stats .on b {
  color: var(--accent);
}

.cf-rule-stats .warn b {
  color: #ed4014;
}

.cf-pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #17233d;
}

.cf-select {
  height: 32px;
  margin-left: 8px;
  padding: 0 10px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  background: #fff;
  color: #515a6e;
}

.cf-badge.warn {
  background: #ffefe6;
  color: #ed4014;
}

.cf-cache-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.cf-cache-hint {
  color: #808695;
  font-size: 12px;
}

html.cf-create-ready input[name="protocols"][value="http"]:checked + .p-checkbox-box,
html.cf-create-ready .p-checkbox[data-p-checked="true"] .p-checkbox-box {
  border-color: var(--accent);
}

.cf-site-table th {
  background: #f8f8f9;
  font-weight: 600;
}

.cf-site-table tbody tr:hover td {
  background: #ebf7ff;
}

.cf-site-table th:nth-child(1),
.cf-site-table td:nth-child(1) {
  width: 42px;
  text-align: center;
}

.cf-site-table th:nth-child(2),
.cf-site-table td:nth-child(2) {
  width: 64px;
}

.cf-domain a {
  color: var(--accent) !important;
  font-weight: 500;
  text-decoration: none !important;
  word-break: break-all;
}

.cf-cname {
  white-space: nowrap;
  word-break: keep-all;
}

.cf-ops,
.cf-status,
.cf-time {
  white-space: nowrap;
}

.cf-subname {
  margin-top: 4px;
  color: #808695;
  font-size: 12px;
}

.cf-copy {
  margin-left: 4px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #c5c8ce;
  cursor: pointer;
}

.cf-copy:hover {
  color: var(--accent);
}

.cf-badge {
  display: inline-block;
  padding: 0 8px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #808695;
  font-size: 12px;
  line-height: 20px;
}

.cf-badge.on {
  background: #e8f4ff;
  color: var(--accent);
}

.cf-tag {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 2px 8px;
  border-radius: 3px;
  background: #f5f7fb;
  color: #808695;
  font-size: 12px;
}

.cf-pg {
  line-height: 1.6;
  font-size: 12px;
  color: #808695;
}

.cf-group-cell {
  color: #515a6e;
  font-size: 13px;
}

.cf-st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.cf-st i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5c8ce;
}

.cf-st.ok {
  color: #19be6b;
}
.cf-st.ok i {
  background: #19be6b;
}

.cf-st.off {
  color: #808695;
}
.cf-st.warn {
  color: #ff9900;
}
.cf-st.warn i {
  background: #ff9900;
}
.cf-st.check {
  color: #2d8cf0;
}
.cf-st.check i {
  background: #2d8cf0;
}

.cf-ops a {
  margin-right: 8px;
  color: var(--accent) !important;
  text-decoration: none !important;
}

.cf-more-row {
  border: 0;
  background: transparent;
  color: #808695;
  cursor: pointer;
  font-size: 16px;
}

.cf-site-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 16px;
  color: #808695;
  font-size: 13px;
}

.cf-pages {
  display: flex;
  gap: 6px;
}

.cf-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  color: #515a6e !important;
  text-decoration: none !important;
}

.cf-page-num.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

.cf-batch-on .cf-check {
  outline: 2px solid rgba(45, 140, 240, 0.35);
}

.main:has(.cf-site) > :not(.cf-site) {
  display: none !important;
}

@media (max-width: 1340px) {
  .cf-ud {
    grid-template-columns: 1fr;
  }
  .cf-chart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cf-side {
    display: none;
  }
  .top-nav,
  html.cf-collapsed .top-nav {
    left: 0 !important;
  }
  .main,
  html.cf-collapsed .main {
    left: 0 !important;
  }
  .cf-ud .grid.counter-chart {
    grid-template-columns: 1fr 1fr;
  }
  .kylie-domain-form {
    grid-template-columns: 1fr;
  }
}
