:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-deep: #0f1115;
  --text: #161823;
  --text-2: #5c6370;
  --line: #ebedf0;
  --accent: #fe2c55;
  --accent-2: #161823;
  --ok: #12b76a;
  --warn: #f79009;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(22, 24, 35, 0.08);
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 0.6em; }
p { margin: 0 0 1em; color: var(--text-2); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 32px; height: 32px; border-radius: 8px;
  object-fit: cover; display: block; flex-shrink: 0;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #fe2c55 0%, #ff6a3d 55%, #161823 100%);
  box-shadow: 0 6px 16px rgba(254, 44, 85, 0.28);
}
.brand-footer .brand-logo {
  width: 28px; height: 28px; border-radius: 7px;
}
.hero-brand-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.hero-logo {
  width: 48px; height: 48px; border-radius: 12px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(43, 127, 255, 0.28);
}
.brand-text { display: flex; align-items: baseline; gap: 12px; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; color: var(--text);
}
.brand-text em {
  font-style: normal; font-size: 13px; color: var(--text-2); font-weight: 500;
}
.nav { display: flex; gap: 22px; flex: 1; }
.nav a {
  font-size: 14px; color: var(--text-2); font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; gap: 10px; }
.nav-toggle {
  display: none; border: 0; background: transparent; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text); width: 18px; margin: 0 auto;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { color: inherit; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e6254c; color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #c9cdd4; color: var(--text); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* 蜜罐字段：对用户隐藏，保留给反爬虫脚本填写 */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 85% 15%, rgba(254,44,85,0.14), transparent 60%),
    radial-gradient(700px 420px at 10% 80%, rgba(22,24,35,0.06), transparent 55%),
    linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,24,35,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,24,35,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.hero-inner { position: relative; padding: 72px 0 88px; max-width: 760px; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero-lead { font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-brand-row,
.hero h1,
.hero-lead,
.hero-cta { animation: rise .7s ease both; }
.hero h1 { animation-delay: .08s; }
.hero-lead { animation-delay: .16s; }
.hero-cta { animation-delay: .24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brand-row, .hero h1, .hero-lead, .hero-cta { animation: none; }
}

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: var(--accent);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cap-item {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-height: 180px;
  transition: border-color .2s, box-shadow .2s;
}
.cap-item:hover { border-color: #ffd0da; box-shadow: var(--shadow); }
.cap-item h3 { font-size: 18px; margin-bottom: 10px; }
.cap-item p { font-size: 14px; margin-bottom: 16px; }
.cap-item a { color: var(--accent); font-size: 14px; font-weight: 600; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700; color: var(--accent);
  display: block; margin-bottom: 12px;
}
.steps h3 { font-size: 17px; }
.steps p { font-size: 14px; margin: 0; }

.sol-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sol-row article {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sol-row h3 { font-size: 18px; }
.sol-row ul { margin-top: 12px; }
.sol-row li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.sol-row li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(254,44,85,0.08), rgba(22,24,35,0.04)),
    var(--bg-alt);
  text-align: center;
}
.cta-inner h2 { font-size: 30px; }
.cta-inner p { margin-bottom: 22px; }

.site-footer {
  background: var(--bg-deep);
  color: #c9cdd4;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-footer .brand-text strong,
.brand-footer .brand-text em { color: #fff; }
.footer-desc { font-size: 14px; color: #8b919c; max-width: 280px; }
.footer-title {
  color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600;
}
.site-footer a { color: #8b919c; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { padding-top: 18px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #6b7280; }

.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 40px 0 80px;
  align-items: start;
}
.docs-side {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: 8px 0;
}
.docs-side h2 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-2); margin-bottom: 12px;
}
.docs-side a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: 14px; color: var(--text-2); margin-bottom: 2px;
}
.docs-side a:hover,
.docs-side a.is-active {
  background: #fff1f4; color: var(--accent);
}
.docs-main { min-width: 0; }
.docs-main h1 { font-size: 34px; margin-bottom: 12px; }
.docs-lead { font-size: 16px; margin-bottom: 28px; }
.docs-main h2 {
  font-size: 22px; margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.docs-main h3 { font-size: 17px; margin-top: 22px; }
.docs-main p, .docs-main li { font-size: 15px; }
.docs-main ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.docs-main li { margin-bottom: 6px; color: var(--text-2); }

.api-table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 14px;
}
.api-table th, .api-table td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left;
}
.api-table th { background: var(--bg-alt); font-weight: 600; }
.method {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  background: #fff1f4; color: var(--accent);
}
.path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
pre, .code {
  background: #0f1115; color: #e8eaed;
  border-radius: 10px; padding: 16px 18px;
  overflow-x: auto; font-size: 13px; line-height: 1.55;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 12px 0 20px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: #f2f3f5; padding: 1px 6px; border-radius: 4px;
}
pre code { background: transparent; padding: 0; color: inherit; }

.page-hero {
  padding: 48px 0 24px;
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(254,44,85,0.1), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 36px); }
.two-col {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px;
  padding: 40px 0 80px;
}
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 24px;
}
.panel h2 { font-size: 18px; margin-bottom: 14px; }
.qr-box {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px; background: var(--bg-alt); border-radius: 10px;
}
.qr-box img {
  width: 200px; height: 200px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 12px; font: inherit; background: #fff;
}
.form-row textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid rgba(254,44,85,0.25); border-color: var(--accent);
}
.muted { color: var(--text-2); font-size: 13px; }
.msg {
  margin-top: 12px; padding: 10px 12px; border-radius: 8px;
  font-size: 13px; display: none;
}
.msg.show { display: block; }
.msg.ok { background: #ecfdf3; color: #027a48; }
.msg.err { background: #fef3f2; color: #b42318; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab {
  border: 1px solid var(--line); background: #fff; height: 34px;
  padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  cursor: pointer; color: var(--text-2);
}
.tab.active { background: var(--text); color: #fff; border-color: var(--text); }
.quota-pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 18px; }
.quota-pill {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 140px;
}
.quota-pill b { display: block; font-size: 22px; font-family: var(--font-display); }
.quota-pill span { font-size: 12px; color: var(--text-2); }

@media (max-width: 960px) {
  .cap-grid, .steps, .sol-row, .footer-grid, .two-col, .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-side { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .docs-side h2 { width: 100%; }
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  body.nav-open .nav,
  body.nav-open .header-actions {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px; gap: 12px;
  }
  body.nav-open .header-actions { top: calc(var(--header-h) + 160px); }
  .hero { min-height: auto; }
}

/* Admin */
.admin-wrap { padding: 28px 0 80px; }
.admin-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; align-items: center;
}
.admin-toolbar input, .admin-toolbar select {
  height: 40px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 12px; font: inherit; min-width: 180px;
}
.admin-form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px;
  margin-bottom: 14px;
}
.file-list {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff;
}
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.file-list button {
  border: 0; background: transparent; color: var(--accent);
  cursor: pointer; font-size: 12px; flex-shrink: 0;
}
.upload-zone {
  position: relative;
  border: 1.5px dashed #d0d4dc;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfbfc 0%, #f5f6f8 100%);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: var(--accent);
  background: #fff5f7;
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.08);
}
.form-row .upload-input,
.upload-input {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 2;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
}
.upload-zone-inner {
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  min-height: 88px;
}
.upload-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent);
  background: rgba(254, 44, 85, 0.08);
}
.upload-copy {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.upload-copy strong {
  font-size: 14px; font-weight: 700; color: var(--text);
}
.upload-copy span {
  font-size: 12px; color: var(--text-2);
}
.upload-trigger {
  pointer-events: none;
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
@media (max-width: 640px) {
  .upload-zone-inner { flex-wrap: wrap; }
  .upload-trigger { width: 100%; }
}
.qr-upload { display: flex; flex-direction: column; gap: 10px; }
.qr-preview {
  width: 160px; height: 160px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.check-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; margin-bottom: 12px; color: var(--text-2);
}
.table-wrap { overflow-x: auto; }
.ops button {
  border: 1px solid var(--line); background: #fff; border-radius: 6px;
  height: 28px; padding: 0 8px; font-size: 12px; cursor: pointer; margin: 2px 0;
}
.ops button.linkish {
  border: 0; background: transparent; color: var(--accent); height: auto; padding: 0 4px;
}
.ops button.linkish:hover { text-decoration: underline; }
.dev-status {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.dev-status.is-busy { background: #fff7ed; color: #c2410c; }
.dev-status.is-idle { background: #ecfdf3; color: #027a48; }
.dev-status.is-offline { background: #f2f4f7; color: #667085; }
.dev-status.is-unknown { background: #eff6ff; color: #1d4ed8; }
.code-row {
  display: flex; gap: 8px; align-items: stretch;
}
.code-row input { flex: 1; }
.code-row .btn { flex-shrink: 0; white-space: nowrap; }
#code-row[hidden] { display: none !important; }
.admin-panel { margin-bottom: 18px; }
.linkish-btn {
  border: 0; background: transparent; color: inherit;
  padding: 0; font: inherit; cursor: pointer; text-align: left;
}
.linkish-btn:hover { color: var(--accent); }
.cs-fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.cs-fab:hover { filter: brightness(1.05); }
.cs-modal[hidden] { display: none !important; }
.cs-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cs-modal-backdrop {
  position: absolute; inset: 0; background: rgba(20, 24, 33, .48);
}
.cs-modal-card {
  position: relative; z-index: 1;
  width: min(360px, 100%);
  background: #fff; border-radius: 16px;
  padding: 28px 24px 24px; text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.cs-modal-card h2 {
  margin: 0 0 8px; font-size: 20px;
}
.cs-modal-close {
  position: absolute; top: 10px; right: 12px;
  border: 0; background: transparent; font-size: 24px;
  line-height: 1; cursor: pointer; color: var(--text-2);
}
.cs-qr {
  display: block; width: 220px; height: 220px;
  object-fit: contain; margin: 16px auto 0;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.cs-empty {
  margin: 20px 0 8px; color: var(--text-2); font-size: 14px;
}
body.cs-open { overflow: hidden; }

.tasks-page { padding-bottom: 80px; }
.tasks-title {
  margin: 0; font-size: 22px; font-family: var(--font-display); font-weight: 700;
}
.tasks-sub { margin: 4px 0 0; }
.tasks-toolbar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.tasks-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 32px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer;
}
.chip:hover { border-color: #c9cdd4; color: var(--text); }
.chip.active {
  background: var(--text); color: #fff; border-color: var(--text);
}
.tasks-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.task-cards {
  display: flex; flex-direction: column; gap: 12px;
}
.task-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(22,24,35,0.02);
}
.task-card-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.status-badge {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.status-badge.is-pending { background: #fff7ed; color: #c2410c; }
.status-badge.is-running { background: #eff6ff; color: #1d4ed8; }
.status-badge.is-success { background: #ecfdf3; color: #027a48; }
.status-badge.is-failed { background: #fef3f2; color: #b42318; }
.task-queue, .task-exports {
  font-size: 12px; color: var(--text-2);
}
.task-device {
  font-size: 12px; font-weight: 600; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px;
}
.task-id {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  word-break: break-all;
  margin-bottom: 12px;
}
.task-meta {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  margin-bottom: 8px;
}
.task-meta span {
  display: block; font-size: 12px; color: var(--text-2); margin-bottom: 2px;
}
.task-meta b {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.task-note {
  margin: 8px 0 0; font-size: 13px; color: var(--text-2);
  line-height: 1.5;
}
.task-card-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.task-card-actions .btn.is-downloading,
.task-card-actions .btn:disabled {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
  transform: none;
}
.tasks-meta-muted { font-size: 13px; color: var(--text-2); }
.tasks-empty {
  text-align: center; padding: 48px 20px;
  border: 1px dashed var(--line); border-radius: 14px;
  background: var(--bg-alt);
}
.tasks-empty p { margin: 0 0 16px; color: var(--text-2); }
@media (max-width: 640px) {
  .task-meta { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .admin-form-grid { grid-template-columns: 1fr; }
}
