/* 科技风：深空底色、霓虹青强调色、玻璃拟态面板、网格与光晕、等宽数字 */
:root {
  color-scheme: dark;
  --bg: #060a13;
  --bg-soft: #0b1322;
  --bg-elev: #101a2e;
  --fg: #e8f1ff;
  --fg-dim: #94a9c9;
  --fg-faint: #5d7392;
  --line: rgba(88, 152, 224, .16);
  --line-strong: rgba(88, 152, 224, .32);
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
  --accent-soft: rgba(34, 211, 238, .10);
  --accent-ink: #041419;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --ok-soft: rgba(52, 211, 153, .09);
  --ok-line: rgba(52, 211, 153, .38);
  --danger-soft: rgba(248, 113, 113, .09);
  --danger-line: rgba(248, 113, 113, .45);
  --internal-bg: rgba(99, 102, 241, .07);
  --internal-line: rgba(129, 140, 248, .35);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .45);
  --ring: 0 0 0 3px rgba(34, 211, 238, .18);
  --glow: 0 0 0 1px rgba(34, 211, 238, .25), 0 0 24px rgba(34, 211, 238, .14);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* 主题表面色：随夜间 / 白天模式整体切换 */
  --page-glow-1: rgba(34, 211, 238, .13);
  --page-glow-2: rgba(99, 102, 241, .14);
  --page-glow-3: rgba(14, 165, 233, .08);
  --grid-line: rgba(88, 152, 224, .045);
  --topbar-bg: rgba(6, 10, 19, .78);
  --topbar-shadow: 0 1px 0 rgba(34, 211, 238, .10), 0 12px 32px rgba(0, 0, 0, .45);
  --surface: rgba(16, 26, 46, .6);
  --surface-soft: rgba(16, 26, 46, .5);
  --surface-strong: rgba(16, 26, 46, .9);
  --surface-chip: rgba(16, 26, 46, .55);
  --panel-a: rgba(16, 26, 46, .72);
  --panel-b: rgba(11, 19, 34, .72);
  --panel-strong-a: rgba(16, 26, 46, .78);
  --panel-strong-b: rgba(11, 19, 34, .78);
  --field-bg: rgba(6, 10, 19, .6);
  --field-bg-focus: rgba(6, 10, 19, .85);
  --inset-bg: rgba(6, 10, 19, .45);
  --code-bg: rgba(6, 10, 19, .7);
  --hover-bg: rgba(34, 211, 238, .05);
  --hover-bg-2: rgba(34, 211, 238, .08);
  --grad-1: #22d3ee;
  --grad-2: #0ea5e9;
  --grad-3: #6366f1;
  --btn-a: rgba(34, 211, 238, .92);
  --btn-b: rgba(14, 165, 233, .92);
  --btn-line: rgba(34, 211, 238, .55);
  --btn-glow: rgba(34, 211, 238, .22);
  --btn-glow-hover: rgba(34, 211, 238, .38);
  --glow-soft: rgba(34, 211, 238, .16);
  --glow-mid: rgba(34, 211, 238, .5);
  --glow-strong: rgba(34, 211, 238, .85);
  --qq-ic-bg: rgba(4, 20, 25, .82);
  --qq-ic-fg: #22d3ee;
}

/* 白天模式：覆盖表面色与文字色，结构样式完全复用 */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3fa;
  --bg-soft: #ffffff;
  --bg-elev: #ffffff;
  --fg: #0e1c31;
  --fg-dim: #4a5f7d;
  --fg-faint: #7386a0;
  --line: rgba(20, 60, 120, .14);
  --line-strong: rgba(20, 60, 120, .24);
  --accent: #0e7f9e;
  --accent-strong: #0b6a85;
  --accent-soft: rgba(14, 127, 158, .10);
  --accent-ink: #ffffff;
  --ok: #047857;
  --warn: #b45309;
  --danger: #dc2626;
  --ok-soft: rgba(4, 120, 87, .08);
  --ok-line: rgba(4, 120, 87, .34);
  --danger-soft: rgba(220, 38, 38, .08);
  --danger-line: rgba(220, 38, 38, .4);
  --internal-bg: rgba(79, 70, 229, .06);
  --internal-line: rgba(79, 70, 229, .28);
  --shadow: 0 1px 2px rgba(15, 40, 80, .07), 0 8px 24px rgba(15, 40, 80, .08);
  --shadow-md: 0 2px 4px rgba(15, 40, 80, .09), 0 16px 40px rgba(15, 40, 80, .12);
  --ring: 0 0 0 3px rgba(14, 127, 158, .18);
  --glow: 0 0 0 1px rgba(14, 127, 158, .22), 0 0 24px rgba(14, 127, 158, .12);

  --page-glow-1: rgba(14, 127, 158, .10);
  --page-glow-2: rgba(99, 102, 241, .09);
  --page-glow-3: rgba(14, 165, 233, .07);
  --grid-line: rgba(20, 60, 120, .05);
  --topbar-bg: rgba(255, 255, 255, .84);
  --topbar-shadow: 0 1px 0 rgba(14, 127, 158, .12), 0 10px 28px rgba(15, 40, 80, .08);
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, .8);
  --surface-strong: #ffffff;
  --surface-chip: rgba(255, 255, 255, .9);
  --panel-a: #ffffff;
  --panel-b: #f6f9fd;
  --panel-strong-a: #ffffff;
  --panel-strong-b: #f6f9fd;
  --field-bg: #ffffff;
  --field-bg-focus: #ffffff;
  --inset-bg: rgba(238, 243, 250, .85);
  --code-bg: rgba(238, 243, 250, .9);
  --hover-bg: rgba(14, 127, 158, .06);
  --hover-bg-2: rgba(14, 127, 158, .10);
  --grad-1: #0e7f9e;
  --grad-2: #0b6a85;
  --grad-3: #4f46e5;
  --btn-a: #0e7f9e;
  --btn-b: #0b6a85;
  --btn-line: #0e7f9e;
  --btn-glow: rgba(14, 127, 158, .24);
  --btn-glow-hover: rgba(14, 127, 158, .36);
  --glow-soft: rgba(14, 127, 158, .16);
  --glow-mid: rgba(14, 127, 158, .42);
  --glow-strong: rgba(14, 127, 158, .55);
  --qq-ic-bg: rgba(255, 255, 255, .2);
  --qq-ic-fg: #ffffff;
}

/* 白天模式下工单状态色需加深，保证浅底可读 */
:root[data-theme="light"] .st-submitted { color: #b45309; border-color: rgba(180, 83, 9, .32); background: rgba(245, 158, 11, .14); }
:root[data-theme="light"] .st-accepted { color: #0369a1; border-color: rgba(3, 105, 161, .30); background: rgba(14, 165, 233, .12); }
:root[data-theme="light"] .st-processing { color: #4338ca; border-color: rgba(67, 56, 202, .28); background: rgba(99, 102, 241, .12); }
:root[data-theme="light"] .st-replied { color: #0f766e; border-color: rgba(15, 118, 110, .30); background: rgba(20, 184, 166, .13); }
:root[data-theme="light"] .st-resolved { color: #047857; border-color: rgba(4, 120, 87, .30); background: rgba(16, 185, 129, .13); }
:root[data-theme="light"] .st-rejected { color: #dc2626; border-color: rgba(220, 38, 38, .32); background: rgba(239, 68, 68, .12); }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -8%, var(--page-glow-1), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, var(--page-glow-2), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, var(--page-glow-3), transparent 62%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 背景网格层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 78%);
}

a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: color .14s ease, border-color .14s ease; }
a:hover { border-bottom-color: var(--accent); color: var(--accent); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- 顶栏 ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--topbar-shadow);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-mid), transparent);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand {
  font-weight: 650; border: 0; letter-spacing: -.01em; color: var(--fg);
  display: inline-flex; align-items: center; gap: 9px;
}
.brand::before {
  content: "";
  width: 9px; height: 9px; border-radius: 2px; flex: none;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  box-shadow: 0 0 12px var(--glow-strong);
}
.brand:hover { color: var(--fg); }
.nav { display: flex; gap: 18px; flex: 1; }
.nav a {
  border: 0; color: var(--fg-dim); font-size: 14px; position: relative;
  transition: color .14s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform .18s ease; box-shadow: 0 0 10px var(--glow-strong);
}
.nav a.on, .nav a:hover { color: var(--accent); }
.nav a.on::after { transform: scaleX(1); }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-dim); }
.uname { color: var(--fg); font-weight: 500; }
.badge {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 1px 9px; font-size: 12px; color: var(--accent); background: var(--accent-soft);
}
.linkbtn {
  background: none; border: 0; padding: 0; font: inherit; font-size: 13px;
  color: var(--fg-dim); cursor: pointer; border-bottom: 1px solid transparent;
  transition: color .14s ease, border-color .14s ease;
}
.linkbtn:hover { color: var(--danger); border-bottom-color: var(--danger-line); }
.inline { display: inline; }

/* 夜间 / 白天模式切换按钮 */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 4px 11px 4px 9px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: var(--surface); color: var(--fg-dim);
  font: inherit; font-size: 12.5px; line-height: 1.4; cursor: pointer;
  transition: color .14s ease, border-color .14s ease, background .14s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.theme-toggle-ic { font-size: 13px; line-height: 1; }
:root[data-theme="dark"] .theme-toggle-ic::before { content: "\263C"; }
:root[data-theme="light"] .theme-toggle-ic::before { content: "\263E"; }

/* ---------- 页头 ---------- */
main { padding: 40px 20px 64px; position: relative; z-index: 1; }
h1 { font-size: 24px; font-weight: 650; margin: 0 0 8px; letter-spacing: -.02em; }
h2 { font-size: 16px; font-weight: 600; margin: 32px 0 12px; }
h3 { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.sub { color: var(--fg-dim); font-size: 14px; margin: 0 0 28px; }

/* ---------- 工具条 ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px;
  font-size: 13px; color: var(--fg-dim); background: var(--surface-chip);
  transition: all .14s ease;
}
.chip.on {
  border-color: var(--btn-line); color: var(--accent);
  background: var(--accent-soft); box-shadow: 0 0 16px var(--glow-soft);
}
.chip:hover { border-color: var(--btn-line); color: var(--accent); }

/* ---------- 列表 ---------- */
.tickets { border-top: 1px solid var(--line); }
.row {
  display: flex; align-items: center; gap: 16px; padding: 18px 14px;
  border-bottom: 1px solid var(--line); margin: 0 -14px; border-radius: var(--radius);
  transition: background .14s ease, box-shadow .14s ease;
}
.row:hover { background: var(--hover-bg); box-shadow: inset 2px 0 0 var(--accent); }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 16px; font-weight: 550; display: block; border: 0; color: var(--fg); }
.row-title:hover { color: var(--accent); border: 0; }
.row-meta { color: var(--fg-faint); font-size: 12.5px; margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.row-no { font-family: var(--mono); font-size: 12px; color: var(--fg-faint); }

/* ---------- 状态 ---------- */
.st {
  font-size: 12px; white-space: nowrap; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 2px 10px; color: var(--fg-dim);
  background: var(--surface);
}
.st-submitted { color: #fcd34d; border-color: rgba(252, 211, 77, .38); background: rgba(252, 211, 77, .10); }
.st-accepted { color: #7dd3fc; border-color: rgba(125, 211, 252, .38); background: rgba(125, 211, 252, .10); }
.st-processing { color: #a5b4fc; border-color: rgba(165, 180, 252, .40); background: rgba(165, 180, 252, .12); }
.st-replied { color: #5eead4; border-color: rgba(94, 234, 212, .38); background: rgba(94, 234, 212, .10); }
.st-resolved { color: #6ee7b7; border-color: rgba(110, 231, 183, .38); background: rgba(110, 231, 183, .10); }
.st-closed { color: var(--fg-faint); }
.st-rejected { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }

.pr { font-size: 12px; color: var(--fg-faint); }
.pr-high, .pr-urgent { color: var(--danger); }

/* ---------- 表单 ---------- */
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: linear-gradient(180deg, var(--panel-a), var(--panel-b));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
label.f { display: block; margin-bottom: 20px; }
.lab { font-size: 13.5px; font-weight: 550; display: block; margin-bottom: 6px; }
.lab .req { color: var(--danger); margin-left: 3px; }
.hint { font-size: 12.5px; color: var(--fg-faint); margin-top: 5px; }

input[type=text], input[type=number], input[type=tel], input[type=date],
input[type=email], input[type=password], input[type=search], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); font: inherit; font-size: 14.5px;
  background: var(--field-bg); color: var(--fg);
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: var(--ring);
  background: var(--field-bg-focus);
}
input::placeholder, textarea::placeholder { color: var(--fg-faint); }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select {
  appearance: none; background-image: none; padding-right: 30px; cursor: pointer;
}
select option { background: var(--bg-soft); color: var(--fg); }

.opts { display: flex; flex-direction: column; gap: 7px; }
.opt { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; }
.opt input { width: auto; margin-top: 5px; flex: none; }
input[type=radio], input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }

/* 文件 / 图片上传控件 */
input[type=file].upload {
  width: 100%; padding: 9px 11px; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); font: inherit; font-size: 14px;
  background: var(--inset-bg); color: var(--fg-dim); cursor: pointer;
  transition: border-color .14s ease, box-shadow .14s ease;
}
input[type=file].upload::file-selector-button {
  margin-right: 10px; padding: 6px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--surface-strong); color: var(--fg);
  font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color .14s ease;
}
input[type=file].upload::file-selector-button:hover { border-color: var(--accent); color: var(--accent); }
input[type=file].upload:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--hover-bg-2); }

/* 详情页附件列表 */
.attach-list { display: flex; flex-direction: column; gap: 8px; }
.attach {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  max-width: 100%; padding: 7px 11px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 14px; border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
.attach:hover { border-color: var(--accent); color: var(--accent); }
.attach-size { color: var(--fg-faint); font-size: 12.5px; }
.attach-thumb { max-width: 220px; max-height: 160px; border-radius: var(--radius); display: block; border: 1px solid var(--line); }

.btn {
  display: inline-block; padding: 9px 18px; border-radius: var(--radius);
  border: 1px solid var(--btn-line);
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
  color: var(--accent-ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 0 20px var(--btn-glow), var(--shadow);
  transition: box-shadow .16s ease, filter .16s ease;
}
.btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 30px var(--btn-glow-hover), var(--shadow-md);
}
.btn-ghost {
  background: var(--surface); color: var(--fg); border-color: var(--line-strong);
  box-shadow: none; font-weight: 500;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); filter: none; box-shadow: 0 0 18px var(--glow-soft); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-danger {
  background: var(--danger-soft); color: var(--danger);
  border-color: var(--danger-line); box-shadow: none; font-weight: 500;
}
.btn-danger:hover { border-color: var(--danger); background: rgba(248, 113, 113, .16); color: var(--danger); filter: none; box-shadow: 0 0 18px rgba(248, 113, 113, .2); }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.rowform { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.rowform > label.f { margin-bottom: 0; flex: 1; min-width: 160px; }

/* ---------- 流程图 ---------- */
.steps { display: flex; align-items: flex-start; margin: 8px 0 32px; }
.step { flex: 1; text-align: center; position: relative; }
.step::before {
  content: ""; position: absolute; top: 11px; left: -50%; width: 100%;
  height: 1px; background: var(--line-strong);
}
.step:first-child::before { display: none; }
.step.done::before { background: linear-gradient(90deg, var(--glow-soft), var(--accent)); box-shadow: 0 0 8px var(--glow-mid); }
.dot {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--bg-soft); margin: 0 auto 8px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--fg-faint); font-family: var(--mono);
  transition: all .16s ease;
}
.step.done .dot {
  border-color: var(--accent); background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 14px var(--glow-mid);
}
.step.current .dot {
  box-shadow: 0 0 0 4px var(--glow-soft), 0 0 18px var(--glow-mid);
  border-color: var(--accent); color: var(--accent); background: var(--bg-soft);
}
.step-label { font-size: 12.5px; color: var(--fg-faint); }
.step.done .step-label, .step.current .step-label { color: var(--fg); }

/* 时间轴 */
.tl { border-left: 1px solid var(--line-strong); margin-left: 5px; padding-left: 20px; }
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item::before {
  content: ""; position: absolute; left: -25px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg-soft);
  border: 1px solid var(--line-strong);
}
.tl-item.key::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--glow-strong); }
.tl-head { font-size: 13.5px; }
.tl-time { font-size: 12px; color: var(--fg-faint); margin-left: 8px; font-family: var(--mono); }
.tl-body { font-size: 13.5px; color: var(--fg-dim); margin-top: 3px; }

/* ---------- 答复 ---------- */
.reply {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  margin-bottom: 12px; background: linear-gradient(180deg, var(--surface), var(--panel-b));
}
.reply.internal { background: var(--internal-bg); border-style: dashed; border-color: var(--internal-line); }
.reply-head { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--fg-dim); margin-bottom: 8px; }
.reply-body { white-space: pre-wrap; word-break: break-word; font-size: 14.5px; }
.tag { font-size: 11.5px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 7px; color: var(--fg-faint); }

/* ---------- 详情 ---------- */
.meta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px;
  margin: 20px 0 8px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-soft), var(--panel-b));
}
.meta-k { font-size: 12px; color: var(--fg-faint); }
.meta-v { font-size: 14px; }
.answers { border-top: 1px solid var(--line); margin-top: 24px; }
.qa { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qa-k { width: 150px; flex: none; font-size: 13.5px; color: var(--fg-dim); }
.qa-v { flex: 1; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }

/* ---------- 提示 ---------- */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 12px 16px; font-size: 14px; margin-bottom: 24px;
  background: var(--accent-soft); color: var(--fg-dim);
}
.notice.err { border-left-color: var(--danger); color: var(--danger); background: var(--danger-soft); }
.notice.ok { border-left-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.empty { color: var(--fg-faint); padding: 48px 0; text-align: center; font-size: 14px; }

.pager { display: flex; gap: 14px; justify-content: center; margin-top: 28px; font-size: 13.5px; color: var(--fg-dim); }
.pager span { font-family: var(--mono); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th, table.tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { color: var(--fg-faint); font-weight: 500; font-size: 12.5px; }
code, pre { font-family: var(--mono); font-size: 12.5px; }
pre.json { background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; overflow-x: auto; margin: 4px 0 0; color: var(--fg-dim); }

.stat {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow);
}
.stat-i { background: linear-gradient(180deg, var(--panel-strong-a), var(--panel-strong-b)); padding: 16px 18px; }
.stat-n { font-size: 22px; font-weight: 650; letter-spacing: -.02em; font-family: var(--mono); color: var(--accent); text-shadow: 0 0 18px var(--glow-soft); }
.stat-k { font-size: 12.5px; color: var(--fg-faint); margin-top: 2px; }

.foot {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; padding-bottom: 40px;
  font-size: 12.5px; color: var(--fg-faint);
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
}

/* ---------- 问卷编辑器 ---------- */
.qn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 10px; }
.qn-list { display: flex; flex-direction: column; gap: 12px; }
.field-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--inset-bg); }
.fr-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fr-top > input[data-k=label] { flex: 1; min-width: 140px; }
.fr-top > select[data-k=type] { width: auto; min-width: 108px; flex: none; }
.fr-idx { font-size: 12px; color: var(--fg-faint); font-family: var(--mono); min-width: 16px; }
.fr-req { white-space: nowrap; font-size: 13.5px; }
.fr-btns { display: flex; gap: 6px; margin-left: auto; }
.fr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; margin-top: 12px; }
.fr-grid > label.f { margin-bottom: 10px; }
.fr-grid textarea { min-height: 72px; }
.qn-empty { padding: 24px 0; }
.qn-history { margin: 14px 0 4px; }
.qn-history > summary { font-size: 13px; color: var(--fg-dim); cursor: pointer; }
.qn-history > summary:hover { color: var(--accent); }

/* ---------- 分类与问卷 ---------- */
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 24px;
  background: linear-gradient(180deg, var(--panel-a), var(--panel-b));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.cat-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-name { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cat-name::before { content: "▍"; color: var(--accent); margin-right: 6px; text-shadow: 0 0 12px var(--glow-strong); }
.cat-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-faint); }
.cat-meta .dot { color: var(--line-strong); }
.email-row { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.email-row label.f { flex: 1; margin: 0; }
.qn-form .actions { margin-top: 16px; }
.fr-adv { margin-top: 12px; }
.fr-adv summary { font-size: 12.5px; color: var(--fg-dim); cursor: pointer; user-select: none; }
.fr-adv summary:hover { color: var(--accent); }
.fr-adv[open] summary { margin-bottom: 2px; }

@media (max-width: 640px) {
  .fr-top > input[data-k=label] { min-width: 100%; }
  .fr-btns { margin-left: 0; }
}

/* ---------- 分组表单 ---------- */
.fsec { margin-bottom: 34px; }
.fsec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fsec-no {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--btn-a), var(--grad-3));
  color: var(--accent-ink); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px var(--glow-mid);
}
.fsec-title { font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.fsec-hint { font-size: 12.5px; color: var(--fg-faint); margin: 2px 0 0; }
.fsec-body { padding: 24px 24px 8px; }
.fsec-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.fsec-grid .f--full { grid-column: 1 / -1; }
.fsec-grid > label.f:last-child { margin-bottom: 0; }

/* 配置状态总览：绿点已就绪 / 灰点未配置 */
.cfg-status { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.cfg-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-a), var(--panel-b));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px;
}
.cfg-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--fg-faint); }
.cfg-k { font-weight: 600; white-space: nowrap; }
.cfg-v { color: var(--fg-faint); }
.cfg-item.on { border-color: var(--ok-line); }
.cfg-item.on .cfg-dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.cfg-item.on .cfg-v { color: var(--fg-dim); }
.cfg-item.off .cfg-k { color: var(--fg-dim); }

@media (max-width: 640px) {
  .cfg-status { grid-template-columns: 1fr; }
}

/* 上传区：拖拽感 + 预览 */
.upload-box { position: relative; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.upload-preview img { max-width: 140px; max-height: 110px; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.upload-preview .pv-file {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13.5px; color: var(--fg-dim); background: var(--surface);
}
.upload-preview .pv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.upload-preview .pv-size { color: var(--fg-faint); font-size: 12px; flex: none; }

/* ---------- 登录 ---------- */
.login-box { max-width: 380px; margin: 8vh auto 0; }
.login-box h1 { text-align: center; }
.login-box > .sub { text-align: center; }
.login-alt { text-align: center; color: var(--fg-faint); font-size: 12.5px; margin: 22px 0 10px; }
.login-tip { text-align: center; }
.qq-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--btn-line); border-radius: var(--radius);
  padding: 12px; font-size: 15px; font-weight: 600; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b));
  box-shadow: 0 0 22px var(--btn-glow), var(--shadow);
  transition: box-shadow .16s ease, filter .16s ease;
}
.qq-btn:hover {
  color: var(--accent-ink); filter: brightness(1.08);
  box-shadow: 0 0 34px var(--btn-glow-hover), var(--shadow-md);
}
/* QQ 优先入口 */
.login-primary { position: relative; margin-bottom: 8px; }
.login-rec {
  position: absolute; top: -9px; left: 12px; z-index: 1;
  padding: 1px 9px; border-radius: 999px; font-size: 11px; font-weight: 600;
  letter-spacing: .06em; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  box-shadow: 0 0 14px var(--glow-mid);
}
.qq-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  font-size: 10px; font-weight: 700; font-family: var(--mono);
  background: var(--qq-ic-bg); color: var(--qq-ic-fg);
}
.login-note { text-align: center; color: var(--fg-faint); font-size: 12.5px; margin: 0 0 18px; }
/* 次要登录方式 */
.login-more { margin-top: 4px; }
.login-more > summary {
  list-style: none; cursor: pointer; text-align: center;
  font-size: 13px; color: var(--fg-dim); padding: 9px 0;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  transition: color .14s ease, border-color .14s ease;
}
.login-more > summary::-webkit-details-marker { display: none; }
.login-more > summary::before { content: "▸ "; color: var(--accent); }
.login-more[open] > summary::before { content: "▾ "; }
.login-more > summary:hover { color: var(--accent); border-color: var(--btn-line); }
.login-more-body { padding-top: 16px; }
.login-more-body .login-alt { margin-top: 14px; }

/* ---------- 处理操作台 ---------- */
.op-head {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding: 16px 18px; margin: 4px 0 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--hover-bg-2);
}
.op-tip { font-size: 12.5px; color: var(--fg-dim); margin-left: 8px; }
.op-sec { margin-bottom: 24px; }
.op-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.op-sec-head h3 { margin: 0; }
.op-no {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--btn-a), var(--grad-3));
  color: var(--accent-ink); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px var(--glow-mid);
}
.op-sec .card > label.f:last-of-type { margin-bottom: 0; }

/* ---------- 工作台 ---------- */
.wb-group { margin-bottom: 32px; }
.wb-group > h2 { display: flex; align-items: baseline; gap: 10px; }
.wb-count { font-size: 12.5px; color: var(--fg-faint); font-weight: 400; }

/* ================= 移动端适配 ================= */
@media (max-width: 900px) {
  .wrap { padding: 0 18px; }
  main.wrap { padding-bottom: 48px; }
  .tbl-wrap { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  main.wrap { padding-top: 18px; padding-bottom: 40px; }
  h1 { font-size: 21px; }
  h2 { margin-top: 26px; }

  /* 顶栏：品牌与用户信息一行，导航独占一行可横向滚动 */
  .topbar-inner { flex-wrap: wrap; height: auto; padding-top: 9px; padding-bottom: 7px; gap: 6px 12px; }
  .brand { font-size: 15px; }
  .who { margin-left: auto; gap: 8px; }
  .theme-toggle { padding: 4px 9px; }
  .theme-toggle-txt { display: none; }
  .uname { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav {
    order: 3; flex: 1 0 100%; gap: 16px;
    margin: 0 -16px; padding: 2px 16px 6px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14.5px; white-space: nowrap; padding-bottom: 4px; }
  .nav a::after { bottom: 0; }

  /* 表单与按钮：避免 iOS 聚焦缩放，控件铺满 */
  input[type=text], input[type=number], input[type=tel], input[type=date],
  input[type=email], input[type=password], input[type=search], select, textarea { font-size: 16px; }
  .card { padding: 18px 16px; }
  .btn { padding: 10px 16px; }
  .filters { gap: 6px; }
  .filters-search { margin-left: 0; width: 100%; }
  .filters-search input, .filters-search select { width: 100%; min-width: 0; flex: 1; }
  .filters-search .btn { flex: none; }
  .rowform > label.f, .inline-form > label.f { flex: 1 1 100%; min-width: 0; }
  .actions { gap: 8px; }
  .actions .btn { flex: 1 1 auto; text-align: center; }

  /* 工单列表行：状态徽章换行不挤压标题 */
  .row { flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; padding: 15px 12px; margin: 0 -12px; }
  .row-main { flex: 1 1 100%; }
  .row-title { font-size: 15.5px; }
  .row-meta { gap: 8px 12px; }

  /* 流程条与时间轴 */
  .steps { margin: 6px 0 26px; }
  .step::before { top: 9px; }
  .dot { width: 19px; height: 19px; font-size: 10px; margin-bottom: 6px; }
  .step-label { font-size: 11px; }
  .tl { padding-left: 16px; }
  .tl-item::before { left: -21px; }
  .reply { padding: 14px; }
  .reply-head { flex-wrap: wrap; gap: 6px 10px; }

  /* 详情 / 分组表单 */
  .qa { flex-direction: column; gap: 2px; }
  .qa-k { width: auto; }
  .meta-grid { padding: 14px 16px; gap: 12px 18px; }
  .fsec-body { padding: 18px 16px 4px; }
  .fsec-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 16px; }
  .cat-meta { margin-left: 0; width: 100%; }
  .email-row { flex-direction: column; align-items: stretch; }
  .email-row .btn { width: 100%; }
  .op-head { gap: 16px; padding: 14px 16px; }
  .upload-preview img { max-width: 104px; }
  .attach-thumb { max-width: 100%; }

  /* 统计与页脚 */
  .stat-i { padding: 13px 15px; }
  .stat-n { font-size: 19px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .err-code { font-size: 44px; }

  /* 登录页 */
  .login-box { margin-top: 3vh; }
  .login-alt { margin: 18px 0 8px; }
}

/* ================= 管理后台 ================= */
.wrap-wide { max-width: 1240px; }

.adm { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; }
.adm-side {
  position: sticky; top: 84px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong-a), var(--panel-strong-b));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.adm-side-title {
  padding: 4px 10px 10px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav a {
  padding: 7px 10px; border: 0; border-radius: 7px;
  font-size: 14px; color: var(--fg-dim);
  transition: background .14s ease, color .14s ease, box-shadow .14s ease;
}
.adm-nav a:hover { background: var(--hover-bg-2); color: var(--accent); }
.adm-nav a.on {
  background: var(--accent-soft); color: var(--accent); font-weight: 550;
  box-shadow: inset 2px 0 0 var(--accent), 0 0 18px var(--glow-soft);
}
.adm-side-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--fg-faint); line-height: 1.5;
}

.adm-main { min-width: 0; }
.adm-head {
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
  position: relative;
}
.adm-head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 90px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 12px var(--glow-mid);
}
.adm-head h1 { margin: 0; }
.adm-head .sub { margin: 4px 0 0; }
.adm-head-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* 面板 */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-a), var(--panel-b));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); overflow: hidden;
}
.panel + .panel { margin-top: 24px; }
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: var(--inset-bg);
}
.panel-head h2 { margin: 0; font-size: 14.5px; }
.panel-head h2::before { content: "▍"; color: var(--accent); margin-right: 6px; }
.panel-count { margin-left: auto; font-size: 12.5px; color: var(--fg-faint); font-family: var(--mono); }
.panel-body { padding: 18px; }
.panel-body > label.f:last-child, .panel-body > .actions:last-child { margin-bottom: 0; }
.tbl-wrap { overflow-x: auto; }
table.tbl.zebra tbody tr:hover { background: var(--hover-bg); }
table.tbl th { white-space: nowrap; }
table.tbl td.num { font-variant-numeric: tabular-nums; font-family: var(--mono); }

.adm-grid2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.adm-grid2 .panel + .panel { margin-top: 0; }

/* 快捷入口 */
.quick { display: flex; flex-direction: column; gap: 2px; }
.quick a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 12px; border: 0; border-radius: 7px; transition: background .14s ease;
}
.quick a:hover { background: var(--hover-bg-2); }
.quick-k { font-size: 14px; font-weight: 550; color: var(--fg); }
.quick a:hover .quick-k { color: var(--accent); }
.quick-v { font-size: 12.5px; color: var(--fg-faint); }

/* 危险区 */
.danger-zone { border-color: var(--danger-line); }
.danger-zone .panel-head { background: var(--danger-soft); border-bottom-color: var(--danger-line); }
.danger-zone .panel-head h2 { color: var(--danger); }
.danger-zone .panel-head h2::before { color: var(--danger); }
.danger-sep { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--danger-line); }

/* 后台工具类 */
.is-hidden { display: none !important; }
.txt-danger { color: var(--danger); }
.txt-ok { color: var(--ok); }
.txt-warn { color: var(--warn); }
.txt-dim { color: var(--fg-dim); }
.txt-faint { color: var(--fg-faint); }
.cell-nowrap { white-space: nowrap; }
.actions-end { margin-left: auto; }
.sortnum { font-variant-numeric: tabular-nums; font-family: var(--mono); }
.w-110 { width: 110px; }
.w-130 { width: 130px; }
.w-150 { width: 150px; }
.w-180 { width: 180px; }
.w-190 { width: 190px; }
.w-200 { width: 200px; }
.w-230 { width: 230px; }
.w-260 { width: 260px; }
.chk { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--fg-dim); white-space: nowrap; }
.chk input { width: auto; margin: 0; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline-form > label.f { margin-bottom: 0; }
.filters-end { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lab-flush { margin: 0; }
.qn-empty-state { padding: 24px 0; text-align: center; color: var(--fg-faint); font-size: 14px; }
.qn-hist-name { margin: 12px 0 6px; font-size: 13.5px; color: var(--fg-dim); }
.sec-title { margin: 32px 0 12px; font-size: 15px; font-weight: 600; }
.sec-title::before { content: "▍"; color: var(--accent); margin-right: 6px; }
.cat-jump { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
details > summary.link-sum { cursor: pointer; color: var(--fg-dim); font-size: 13px; }
details > summary.link-sum:hover { color: var(--accent); }

/* 通用工具类（替代内联样式） */
.back { margin: 0 0 10px; }
.back a { border: 0; color: var(--fg-dim); font-size: 13.5px; }
.back a:hover { color: var(--accent); }
.sub-tight { margin-bottom: 14px; }
.ml-8 { margin-left: 8px; }
.ml-auto { margin-left: auto; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.fs-125 { font-size: 12.5px; }
.empty-sm { padding: 24px 0; }
.empty-xs { padding: 20px 0; }
.empty-link { border: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.card-danger { border-color: var(--danger-line); }
.note { margin: 0 0 12px; color: var(--fg-dim); font-size: 13.5px; }
.h2-count { color: var(--fg-faint); font-weight: 400; font-size: 13px; font-family: var(--mono); }
.reply-name { color: var(--fg); }
.filters-search { margin-left: auto; display: flex; gap: 8px; }
.err-page { padding: 60px 0; text-align: center; }
.err-code {
  font-size: 56px; font-weight: 700; letter-spacing: -.03em; font-family: var(--mono);
  color: var(--accent); text-shadow: 0 0 40px var(--glow-mid);
}
.err-page .sub { margin-top: 8px; }

@media (max-width: 900px) {
  .adm { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .adm-side { position: static; }
  .adm-nav { flex-direction: row; flex-wrap: wrap; }
  .adm-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
  .adm-nav a.on { border-color: var(--accent); box-shadow: none; }
  .adm-side-foot { display: none; }
  .adm-grid2 { grid-template-columns: minmax(0, 1fr); }
  .adm-head-actions { margin-left: 0; width: 100%; }
}

@media (max-width: 640px) {
  .adm-side { padding: 10px; }
  .adm-side-title { padding-bottom: 8px; }
  .adm-head { gap: 10px; margin-bottom: 18px; }
  .adm-head-actions .btn { flex: 1 1 auto; text-align: center; }
  .panel-head { padding: 12px 14px; }
  .panel-body { padding: 14px; }
  table.tbl { font-size: 13px; }
  table.tbl th, table.tbl td { padding: 8px; }
  .w-110, .w-130, .w-150, .w-180, .w-190, .w-200, .w-230, .w-260 { width: auto; }
}
