/* ============ 云工巨匠AI 商家数字员工工作台 · 全局样式 ============ */
:root {
  --orange: #ff5c1c;
  --orange-light: #ff8a4c;
  --orange-dark: #e04a0e;
  --dark-1: #0b1020;
  --dark-2: #131a2e;
  --text-main: #1f2430;
  --text-sub: #6b7280;
  --text-faint: #9ca3af;
  --line: #e8eaef;
  --bg-gray: #f5f6fa;
  --green: #10b981;
  --red: #ef4444;
  --blue: #3b82f6;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(20, 24, 40, .06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-gray);
  font-size: 14px;
}
a { color: var(--orange); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; outline: none; }

/* ============ 登录页 ============ */
.login-wrap { display: flex; min-height: 100vh; }
.login-left {
  flex: 1.4;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  background:
    radial-gradient(ellipse 900px 700px at 95% 100%, rgba(255, 92, 28, .55), rgba(255, 92, 28, .12) 45%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 80% 115%, rgba(120, 40, 160, .25), transparent 60%),
    linear-gradient(135deg, #070b16 0%, #0c1326 45%, #10182e 100%);
}
.login-left::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle 4px at 12% 22%, rgba(255,255,255,.5) 50%, transparent 51%),
              radial-gradient(circle 3px at 30% 12%, rgba(255,255,255,.35) 50%, transparent 51%),
              radial-gradient(circle 2.5px at 55% 20%, rgba(255,255,255,.3) 50%, transparent 51%),
              radial-gradient(circle 3px at 75% 8%, rgba(255,255,255,.4) 50%, transparent 51%),
              radial-gradient(circle 2px at 88% 30%, rgba(255,255,255,.3) 50%, transparent 51%);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 72px; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #ff6a2b, #ff3d00);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(255, 92, 28, .45);
}
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.brand-sub { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 3px; letter-spacing: 2px; }
.login-slogan { font-size: 40px; font-weight: 800; line-height: 1.45; margin-bottom: 22px; }
.login-slogan .hl { color: var(--orange-light); }
.login-desc { color: rgba(255,255,255,.65); line-height: 1.9; max-width: 480px; margin-bottom: 48px; }
.feature { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; max-width: 520px; }
.feature-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.feature-t { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature-d { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; }

.login-right {
  flex: 1;
  background: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 88px;
  min-width: 420px;
}
.login-right h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.login-right .sub { color: var(--text-faint); margin-bottom: 40px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }
.field label b { color: var(--red); font-weight: normal; margin-right: 2px; }
.field input {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 14px; font-size: 14px; transition: border .2s;
}
.field input:focus { border-color: var(--orange); }
.login-opts { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 28px; font-size: 13px; color: var(--text-sub); }
.login-opts label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.login-opts input { accent-color: var(--orange); }
.btn-primary {
  width: 100%; height: 46px; border: none; border-radius: 8px;
  background: linear-gradient(90deg, #ff6a2b, #ff4d0f);
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 2px;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }
.login-foot { text-align: center; margin-top: 24px; color: var(--text-faint); font-size: 13px; }
.tabs { display: flex; gap: 28px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.tab { padding: 0 2px 12px; font-size: 16px; color: var(--text-faint); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--text-main); font-weight: 700; border-color: var(--orange); }
.form-msg { font-size: 13px; margin: -8px 0 16px; min-height: 18px; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--green); }

/* ============ 通用后台框架 ============ */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 220px; background: #10162a; color: rgba(255,255,255,.75);
  display: flex; flex-direction: column; flex-shrink: 0;
}
.side-logo { display: flex; align-items: center; gap: 10px; padding: 22px 20px; color: #fff; }
.side-logo .brand-logo { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.side-logo b { font-size: 16px; }
.side-menu { flex: 1; padding: 8px 12px; }
.menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 8px; margin-bottom: 4px;
  cursor: pointer; font-size: 14px; transition: background .15s;
}
.menu-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.menu-item.active { background: linear-gradient(90deg, #ff5c1c, #ff7a3d); color: #fff; font-weight: 600; }
.side-foot { padding: 16px 20px; font-size: 12px; color: rgba(255,255,255,.35); border-top: 1px solid rgba(255,255,255,.08); }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 60px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; position: sticky; top: 0; z-index: 10;
}
.topbar .page-title { font-size: 16px; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #ff8a4c, #ff4d0f);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.content { padding: 24px 28px; flex: 1; }

/* 卡片 & 组件 */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.card h3 { font-size: 15px; margin-bottom: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.stat-card .k { color: var(--text-faint); font-size: 13px; margin-bottom: 10px; }
.stat-card .v { font-size: 26px; font-weight: 800; }
.stat-card .t { font-size: 12px; margin-top: 8px; }
.stat-card .t.up { color: var(--green); }
.stat-card .t.down { color: var(--red); }
.btn {
  border: none; border-radius: 8px; padding: 9px 18px; font-size: 13px;
  background: var(--bg-gray); color: var(--text-main); transition: all .15s;
}
.btn:hover { background: #ececf2; }
.btn.main { background: var(--orange); color: #fff; font-weight: 600; }
.btn.main:hover { background: var(--orange-dark); }
.btn.sm { padding: 5px 12px; font-size: 12px; border-radius: 6px; }
.btn.danger { color: var(--red); background: #fef2f2; }
.btn.danger:hover { background: #fee2e2; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.tag.g { background: #ecfdf5; color: var(--green); }
.tag.r { background: #fef2f2; color: var(--red); }
.tag.o { background: #fff4ec; color: var(--orange); }
.tag.b { background: #eff6ff; color: var(--blue); }
.tag.gr { background: #f3f4f6; color: var(--text-sub); }

table.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; color: var(--text-faint); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 13px 12px; border-bottom: 1px solid #f2f3f7; font-size: 13px; }
.tbl tr:hover td { background: #fafbfd; }
.tbl .ops { display: flex; gap: 8px; }

/* 表单/输入 */
.input, select.input, textarea.input {
  height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 13px; background: #fff;
}
textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
.input:focus { border-color: var(--orange); }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }

/* 柱状图（纯CSS） */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 180px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 44px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #ff8a4c, #ff4d0f); transition: height .5s; }
.bar.b2 { background: linear-gradient(180deg, #93c5fd, #3b82f6); }
.bar-l { font-size: 11px; color: var(--text-faint); }
.bar-v { font-size: 11px; color: var(--text-sub); }

/* 空态 */
.empty { text-align: center; color: var(--text-faint); padding: 40px 0; font-size: 13px; }

/* toast */
#toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-80px);
  background: #1f2430; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 13px;
  transition: transform .3s; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* 模态框 */
.modal-mask { position: fixed; inset: 0; background: rgba(15, 18, 30, .5); display: none; align-items: center; justify-content: center; z-index: 100; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 14px; width: 460px; max-width: 92vw; padding: 26px; max-height: 86vh; overflow: auto; }
.modal h3 { margin-bottom: 18px; font-size: 16px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* 工作台员工卡片 */
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.emp-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.emp-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.emp-ava { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.emp-name { font-weight: 700; font-size: 15px; }
.emp-role { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.emp-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub); margin: 12px 0; }
.switch { position: relative; width: 40px; height: 22px; background: #d8dbe3; border-radius: 20px; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch.on { background: var(--green); }
.switch.on::after { left: 20px; }

/* 任务条目 */
.task-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f2f3f7; align-items: flex-start; }
.task-item:last-child { border-bottom: none; }
.task-ico { width: 36px; height: 36px; border-radius: 10px; background: #fff4ec; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.task-txt { flex: 1; }
.task-title { font-size: 14px; margin-bottom: 4px; }
.task-desc { font-size: 12px; color: var(--text-faint); line-height: 1.6; }
.task-time { font-size: 12px; color: var(--text-faint); white-space: nowrap; }

/* 快捷下发 */
.quick-input { display: flex; gap: 12px; }
.quick-input textarea { flex: 1; }

/* ============ 智能中枢版式（登录后主界面） ============ */
.side-group { padding: 14px 16px 4px; font-size: 11px; color: var(--text-faint); }
.layout.light .sidebar { background: #fff; border-right: 1px solid var(--line); color: var(--text-main); }
.layout.light .side-logo { border-bottom: 1px solid var(--line); padding: 16px 16px; }
.layout.light .side-logo .brand-sub { color: var(--text-faint); }
.layout.light .menu-item { color: #3c4250; margin-bottom: 2px; border-radius: 8px; position: relative; }
.layout.light .menu-item.active { background: #fff1e8; color: var(--orange); font-weight: 600; }
.layout.light .menu-item.active::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--orange);
}
.layout.light .side-foot { border-top: 1px solid var(--line); color: var(--text-faint); padding: 12px 16px; }
.acct-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; color: #3c4250; cursor: pointer; }
.acct-row:hover { background: #f7f8fb; }
.acct-row.active { background: #fff1e8; color: var(--orange); font-weight: 600; border-radius: 8px; }
.acct-ico { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }

.tabstrip { background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 20px; gap: 4px; height: 42px; }
.wtab {
  display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 100%;
  font-size: 13px; color: var(--text-sub); cursor: pointer; border-bottom: 2px solid transparent;
}
.wtab.active { color: var(--orange); border-color: var(--orange); font-weight: 600; }
.tabstrip .spacer { flex: 1; }
.tabstrip .cfg { font-size: 12px; color: var(--text-faint); cursor: pointer; position: relative; }
.cfg-menu {
  display: none; position: absolute; right: 0; top: 30px; width: 170px;
  background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(20,24,40,.14);
  padding: 6px; z-index: 50; border: 1px solid var(--line);
}
.cfg-menu.show { display: block; }
.cfg-item { padding: 9px 12px; font-size: 13px; color: var(--text-main); border-radius: 6px; cursor: pointer; }
.cfg-item:hover { background: #f5f6fa; color: var(--orange); }
.sun-btn { width: 34px; height: 34px; border-radius: 50%; border: none; background: #fff4ec; color: var(--orange); font-size: 16px; cursor: pointer; }

.zh-title { font-size: 24px; font-weight: 800; margin: 6px 0 8px; }
.zh-sub { color: var(--text-faint); font-size: 13px; margin-bottom: 22px; }

.office-card {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 18px 22px; margin-bottom: 26px;
}
.office-head { display: flex; align-items: center; gap: 20px; }
.office-label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.office-stats { display: flex; gap: 26px; margin-left: 26px; font-size: 13px; color: var(--text-sub); }
.office-stats b { color: var(--text-main); font-size: 15px; margin-left: 6px; }
.office-body {
  margin-top: 16px; border-radius: 10px; height: 320px;
  background-image: linear-gradient(#f0f1f5 1px, transparent 1px), linear-gradient(90deg, #f0f1f5 1px, transparent 1px);
  background-size: 28px 28px; background-color: #fbfcfe;
  display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 13px;
}
.cloud-btn {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 8px 16px; font-size: 13px; cursor: pointer;
}
.cloud-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.app-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 22px; position: relative; min-height: 130px; display: flex; flex-direction: column; }
.app-card h4 { font-size: 15px; margin-bottom: 10px; }
.app-card p { font-size: 12px; color: var(--text-faint); line-height: 1.8; flex: 1; }
.app-card .use { color: var(--orange); font-size: 13px; font-weight: 600; cursor: pointer; }
.app-ico { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; border-radius: 10px; background: #fff4ec; display: flex; align-items: center; justify-content: center; font-size: 20px; }

@media (max-width: 900px) {
  .login-left { display: none; }
  .login-right { padding: 48px 28px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .sidebar { width: 60px !important; }
  .sidebar .side-logo b, .sidebar .side-logo .brand-sub,
  .sidebar .menu-item span, .sidebar .side-group,
  .sidebar .acct-row, .sidebar .side-foot { display: none; }
  .sidebar .menu-item { justify-content: center; }
}

/* ============ 云手机操控台 ============ */
.pdc-mask { position: fixed; inset: 0; background: rgba(10,14,26,.55); backdrop-filter: blur(2px); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pdc { width: min(1160px, 100%); height: min(770px, 94vh); background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 26px 70px rgba(0,0,0,.3); animation: pdcIn .22s ease; }
@keyframes pdcIn { from { opacity: 0; transform: translateY(12px) scale(.99); } }
.pdc-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.pdc-title { font-size: 16px; font-weight: 800; }
.pdc-sub { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.pdc-head-right { display: flex; align-items: center; gap: 10px; }
.pdc-badge { font-size: 12px; padding: 4px 10px; border-radius: 20px; background: #f1f3f7; color: var(--text-sub); white-space: nowrap; }
.pdc-badge.on { background: #e7f8f0; color: #0a9968; }
.pdc-badge.off { background: #fdecec; color: #e0433a; }
.pdc-close { width: 30px; height: 30px; border-radius: 8px; border: none; background: #f2f4f8; font-size: 13px; color: #666; }
.pdc-close:hover { background: #e8ebf2; }
.pdc-body { flex: 1; display: flex; min-height: 0; }
.pdc-left { width: 372px; flex: 0 0 372px; border-right: 1px solid var(--line); background: linear-gradient(180deg,#f8f9fc,#eef1f7); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.pdc-phone { position: relative; width: 288px; height: 584px; background: #0d1220; border-radius: 34px; padding: 9px; box-shadow: 0 18px 40px rgba(10,14,26,.35), inset 0 0 0 2px #2b3247; }
.pdc-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 15px; background: #0d1220; border-radius: 0 0 10px 10px; z-index: 6; }
.pdc-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; cursor: crosshair; user-select: none; touch-action: none; }
.pdc-screen img { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.pdc-hint { font-size: 11px; color: var(--text-faint); text-align: center; line-height: 1.7; }
.pdc-os { position: absolute; inset: 0; background: linear-gradient(160deg,#22304e,#3b2b47 55%,#1a2131); color: #fff; display: flex; flex-direction: column; }
.pdc-statusbar { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 10px; color: #e6ecff; opacity: .9; }
.pdc-appgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px 6px; padding: 18px 12px; }
.pdc-app { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9.5px; color: #e9eefc; }
.pdc-app .ic { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pdc-dots { margin-top: auto; display: flex; gap: 6px; justify-content: center; padding-bottom: 14px; }
.pdc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.pdc-dots i.on { background: #fff; }
.pdc-appview { position: absolute; inset: 0; background: #fff; color: #1f2430; display: flex; flex-direction: column; font-size: 12px; }
.pdc-appbar { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #eef0f5; font-weight: 700; font-size: 13px; }
.pdc-appbar span.bk { color: #ff5c1c; font-size: 14px; cursor: pointer; }
.pdc-feed { flex: 1; overflow: hidden; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; background: #f6f7fb; }
.pdc-feed .it { background: #fff; border-radius: 9px; padding: 9px 10px; font-size: 11px; color: #4b5563; box-shadow: 0 1px 4px rgba(20,24,40,.05); }
.pdc-feed .it b { display: block; font-size: 11.5px; color: #1f2430; margin-bottom: 3px; }
.pdc-ripple { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(255,110,50,.95); animation: pdcRipple .55s ease-out forwards; pointer-events: none; z-index: 9; }
@keyframes pdcRipple { to { transform: scale(2.4); opacity: 0; } }
.pdc-swipe-line { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(255,138,76,0), #ff8a4c, rgba(255,138,76,0)); pointer-events: none; z-index: 9; transform-origin: left center; }
.pdc-inapp { position: absolute; right: 10px; bottom: 10px; font-size: 10px; background: rgba(0,0,0,.4); color: #fff; padding: 3px 8px; border-radius: 20px; z-index: 8; }
.pdc-right { flex: 1; overflow: auto; padding: 16px 20px 22px; }
.pdc-sec { border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; margin-bottom: 12px; }
.pdc-sec h4 { font-size: 13px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.pdc-sec h4 em { font-style: normal; font-size: 11px; color: var(--text-faint); font-weight: 400; }
.pdc-kv { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px 14px; font-size: 12px; color: var(--text-sub); }
.pdc-kv b { color: var(--text-main); font-weight: 600; }
.pdc-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.pdc-key { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 11px; font-size: 12px; color: var(--text-main); }
.pdc-key:hover { border-color: var(--orange); color: var(--orange); }
.pdc-key.solid { background: #fff4ec; border-color: #ffd9c2; color: #d9521b; }
.pdc-row { display: flex; gap: 8px; align-items: center; margin-top: 9px; }
.pdc-log { max-height: 210px; overflow: auto; font-size: 12px; }
.pdc-logrow { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #eef0f5; align-items: flex-start; }
.pdc-logrow .t { color: var(--text-faint); font-size: 11px; flex: 0 0 52px; }
.pdc-logrow .c { flex: 1; word-break: break-all; line-height: 1.6; }
.pdc-logrow .c code { font-size: 11px; color: #6b7280; background: #f5f6fa; padding: 1px 5px; border-radius: 5px; }
.pdc-tag { font-size: 10px; padding: 1px 6px; border-radius: 6px; background: #eef2ff; color: #4b5ee0; margin-left: 4px; }
.pdc-tag.app { background: #fff1e8; color: #d9521b; }
.pdc-tag.ok { background: #e7f8f0; color: #0a9968; }
.pdc-tag.err { background: #fdecec; color: #d93025; }
.pdc-note { font-size: 11px; color: var(--text-faint); line-height: 1.8; margin-top: 8px; }
.pdc-empty { color: var(--text-faint); font-size: 12px; text-align: center; padding: 18px 0; }
