@charset "UTF-8";

.cp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem .25rem;
  margin-top: .25rem;
  border-bottom: 1px solid #f2f2f2;
}
.cp-topbar-back {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  color: #fe8900;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.cp-topbar-back:hover,
.cp-topbar-back:active,
.cp-topbar-back:visited {
  color: #e67800;
  text-decoration: none;
}
.cp-topbar-back i { font-size: 1.15rem; line-height: 1; }
.cp-topbar-title {
  flex: 1;
  text-align: right;
  font-size: .95rem;
  font-weight: 700;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-body { color: #333; font-size: .9rem; line-height: 1.8; }

.cp-lead {
  font-size: .92rem;
  color: #555;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px dashed #f2d9bd;
}

.cp-h {
  font-size: .95rem;
  font-weight: 700;
  color: #fe8900;
  margin: 1.3rem 0 .6rem;
  padding-left: .55rem;
  border-left: 3px solid #fe8900;
}
.cp-h:first-child { margin-top: 0; }

.cp-note { color: #999; font-size: .8rem; margin: .5rem 0 0; }

.cp-list { margin: 0 0 .5rem; padding-left: 1.2rem; }
.cp-list li { margin: .4rem 0; line-height: 1.7; }
.cp-list--num { padding-left: 1.35rem; }

.cp-highlight {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #fff5eb;
  border-left: 3px solid #fe8900;
  border-radius: 6px;
  padding: .7rem .85rem;
  margin: .8rem 0;
  color: #a35800;
  font-size: .82rem;
  line-height: 1.6;
}
.cp-highlight i { font-size: 1rem; margin-top: .1rem; flex-shrink: 0; }

.cp-table-wrap {
  overflow-x: auto;
  margin: .6rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}
.cp-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: .82rem; }
.cp-table th,
.cp-table td {
  padding: .55rem .7rem;
  border: 1px solid #f0e4d6;
  text-align: left;
  white-space: nowrap;
}
.cp-table th { background: #fff5eb; color: #a35800; font-weight: 700; }
.cp-table tbody tr:nth-child(even) { background: #fafafa; }
.cp-table td:first-child,
.cp-table th:first-child { white-space: normal; }

.cp-cs-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  padding: .85rem 1rem;
  margin-bottom: .7rem;
}
.cp-cs-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5eb;
  color: #fe8900;
  border-radius: 50%;
  font-size: 1.2rem;
}
.cp-cs-title { font-size: .78rem; color: #999; margin-bottom: .15rem; }
.cp-cs-value { font-size: .92rem; color: #333; font-weight: 600; word-break: break-all; }
.cp-placeholder { color: #e05353; font-weight: 400; font-size: .78rem; }

.cp-empty { text-align: center; padding: 3rem 1rem; color: #999; }
.cp-empty i { font-size: 2.6rem; color: #ffd9a8; display: block; margin-bottom: .8rem; }
.cp-empty p { margin-bottom: 1.2rem; font-size: .95rem; }
.cp-empty-btn {
  display: inline-block;
  padding: .55rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fe8900, #e67800);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
}
.cp-empty-btn:hover,
.cp-empty-btn:visited { color: #fff; text-decoration: none; }

@media (max-width: 480px) {
  .cp-topbar-title { font-size: .88rem; }
  .cp-h { font-size: .9rem; }
  .cp-cs-value { font-size: .88rem; }
}


.cl-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--dl-radius, 12px);
  padding: 1rem 1.05rem;
  margin-bottom: .9rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.cl-field { margin-bottom: .85rem; }
.cl-field:last-child { margin-bottom: 0; }

.cl-label {
  font-size: .78rem;
  color: #666;
  font-weight: 600;
  margin-bottom: .35rem;
  display: block;
}

.cl-input {
  width: 100%;
  box-sizing: border-box;
  padding: .62rem .8rem;
  font-size: .92rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  background: #fff;
  transition: border-color .15s;
}
.cl-input:focus { border-color: var(--dl-primary, #fe8900); }
select.cl-input:disabled { background: #f5f5f5; color: #aaa; }
input.cl-input[readonly] { background: #f5f5f5; color: #888; }

.cl-hint { margin: .4rem 0 0; font-size: .74rem; color: #999; line-height: 1.5; }

.cl-inline { display: flex; gap: .5rem; align-items: center; }
.cl-inline .cl-input { flex: 1; min-width: 0; }

.cl-mini-btn {
  flex: 0 0 auto;
  border: 1px solid var(--dl-orange-bd, #ffe4cc);
  border-radius: 7px;
  padding: 0 .9rem;
  height: 40px;
  font-size: .82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: var(--dl-orange-lite, #fff5eb);
  color: var(--dl-primary-dark, #e67800);
  transition: background .15s;
}
.cl-mini-btn:hover { background: var(--dl-orange-bd, #ffe4cc); }
.cl-mini-btn:disabled { opacity: .6; cursor: default; }

.cl-detail-box {
  background: #f7f7f7;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: .7rem .8rem;
  margin: -.45rem 0 .85rem;
  font-size: .78rem;
  color: #666;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.cl-captcha-img {
  flex: 0 0 auto;
  width: 120px;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #ddd;
  cursor: pointer;
  background: #fff8f0;
}

@media (max-width: 480px) {
  .cl-inline--captcha { flex-wrap: wrap; }
  .cl-inline--captcha .cl-input { flex: 1 1 100%; }
  .cl-inline--captcha .cl-captcha-img { flex: 0 0 auto; }
}

.cl-query-btn {
  width: 100%;
  height: 42px;
  border: 1px solid var(--dl-orange-bd, #ffe4cc);
  border-radius: 8px;
  background: var(--dl-orange-lite, #fff5eb);
  color: var(--dl-primary-dark, #e67800);
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.cl-query-btn:hover { background: var(--dl-orange-bd, #ffe4cc); }
.cl-query-btn:disabled { opacity: .6; cursor: default; }

.cl-status {
  border: 1px solid var(--dl-orange-bd, #ffe4cc);
  border-radius: 10px;
  background: #fffaf4;
  padding: .8rem .85rem;
  margin-bottom: .95rem;
}
.cl-status[hidden] { display: none !important; }
.cl-stats { display: flex; gap: .5rem; }
.cl-stat {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #f1e4d3;
  border-radius: 8px;
  padding: .5rem .55rem;
  text-align: center;
}
.cl-stat-k { font-size: .7rem; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-stat-v { font-size: 1.05rem; font-weight: 800; color: var(--dl-primary-dark, #e67800); margin-top: .1rem; word-break: break-all; }
.cl-stat-who { font-size: .72rem; color: #999; margin: .5rem 0 .6rem; line-height: 1.5; }
.cl-st-cols { display: flex; gap: .6rem; }
.cl-st-col { flex: 1 1 0; min-width: 0; }
.cl-st-h { font-size: .8rem; font-weight: 700; color: #444; }
.cl-st-sum { font-size: .72rem; color: #888; margin: .15rem 0 .35rem; line-height: 1.5; }
.cl-st-list {
  list-style: none; margin: 0; padding: 0;
  max-height: 230px; overflow-y: auto;
  border: 1px solid #f1e4d3; border-radius: 8px; background: #fff;
}
.cl-st-row {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem;
  padding: .32rem .5rem; font-size: .76rem; color: #555;
  border-bottom: 1px dashed #f3e9dc;
}
.cl-st-row:last-child { border-bottom: 0; }
.cl-st-row--claimed { color: #aaa; }
.cl-st-row--claimable { background: #fff7ec; }
.cl-st-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-st-badge { flex: 0 0 auto; font-size: .68rem; border-radius: 999px; padding: .05rem .45rem; white-space: nowrap; }
.cl-st-badge--ok { background: var(--dl-primary, #fe8900); color: #fff; font-weight: 700; }
.cl-st-badge--done { background: #eee; color: #999; }
.cl-st-badge--lock { background: #f5f5f5; color: #888; }

.cl-sec { margin-bottom: .95rem; }
.cl-sec-h {
  font-size: .82rem; font-weight: 700; color: #444;
  padding-left: .55rem; border-left: 3px solid var(--dl-primary, #fe8900);
  margin-bottom: .4rem; line-height: 1.35;
}
.cl-sec-sub { display: block; font-size: .7rem; font-weight: 400; color: #999; margin-top: .1rem; }
.cl-detail-box--sec { margin: .45rem 0 0; }

.cl-msg-multi { white-space: pre-wrap; }
.cl-actions { display: flex; gap: .55rem; margin-top: .6rem; }
.cl-actions .dl-btn { flex: 1 1 0; min-width: 0; width: auto; }
.cl-btn-ghost {
  background: #fff !important;
  color: var(--dl-primary-dark, #e67800) !important;
  border: 1px solid var(--dl-orange-bd, #ffe4cc) !important;
  box-shadow: none !important;
}
.cl-btn-ghost:hover { background: var(--dl-orange-lite, #fff5eb) !important; }

@media (max-width: 480px) {
  .cl-stats { flex-wrap: wrap; }
  .cl-stat { flex: 1 1 45%; }
  .cl-st-cols { flex-direction: column; }
  .cl-actions { flex-direction: column; }
}

.cp-ticket { max-width: 560px; margin: 0 auto; }
.cp-ticket__t {
  text-align: center; font-size: 1.15rem; font-weight: 700;
  color: #333; margin: 0 0 1.2rem;
}
.cp-ticket__t i { color: #2f7bff; margin-right: .3rem; }
.cp-ticket__warn { color: #d93025; font-size: .82rem; font-weight: 600; margin: -.4rem 0 1rem; }
.cp-cap { height: 34px; vertical-align: middle; margin-left: .4rem; cursor: pointer; border-radius: 4px; }

.cp-btn {
  display: block; width: 100%; text-align: center;
  padding: .7rem 1rem; margin-top: .7rem;
  border: 0; border-radius: 8px; cursor: pointer;
  font-size: .95rem; font-weight: 600; font-family: inherit;
  text-decoration: none;
}
.cp-btn--blue { background: #2f7bff; color: #fff; }
.cp-btn--blue:hover { background: #1f66e0; color: #fff; text-decoration: none; }
.cp-btn--red  { background: #d9435e; color: #fff; }
.cp-btn--red:hover { background: #c02f4a; color: #fff; text-decoration: none; }
.cp-btn:disabled { opacity: .6; cursor: not-allowed; }

.cp-tk { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: .9rem 1rem; margin-bottom: .8rem; }
.cp-tk-hd { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .8rem; }
.cp-tk-id { font-weight: 700; color: #333; }
.cp-tk-badge { padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; }
.cp-tk-badge--open    { background: #fff5eb; color: #fe8900; border: 1px solid #ffe4cc; }
.cp-tk-badge--replied { background: #eaf7ee; color: #3c8f4c; border: 1px solid #cfe9d6; }
.cp-tk-badge--closed  { background: #f2f2f2; color: #888;   border: 1px solid #e0e0e0; }
.cp-tk-time { color: #aaa; margin-left: auto; }
.cp-tk-body { color: #444; font-size: .88rem; white-space: pre-wrap; word-break: break-word; }
.cp-tk-reply {
  margin-top: .6rem; padding: .55rem .7rem; border-radius: 6px;
  background: #fafafa; border-left: 3px solid #ddd; font-size: .85rem;
}
.cp-tk-reply.is-admin { background: #fff8f0; border-left-color: #fe8900; }
.cp-tk-who { font-weight: 700; color: #fe8900; margin-right: .4rem; }
.cp-tk-txt { color: #444; white-space: pre-wrap; word-break: break-word; }
.cp-tk-reply .cp-tk-time { display: block; margin-top: .3rem; font-size: .72rem; }
.cp-tk-none { color: #aaa; font-size: .85rem; text-align: center; padding: 1rem 0; }

.cp-copy { cursor: pointer; }
.cp-copy:hover { color: #fe8900; }
.cp-copy.copied::after { content: " 已复制"; color: #3c8f4c; font-size: .78rem; }
.cp-cs-none {
  text-align: center; color: #999; font-size: .88rem;
  padding: 1.6rem 1rem; background: #fafafa;
  border: 1px dashed #ddd; border-radius: 10px;
}
