* { box-sizing: border-box; }
:root {
  --ink: #16181d;
  --muted: #6b7280;
  --line: #e3e6ea;
  --bg: #f7f8fa;
  --card: #ffffff;
  --accent: #1a3f6b;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 14px; line-height: 1.6; }
.topbar {
  height: 68px; background: var(--card); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.brand-title { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.top-right { display: flex; align-items: center; gap: 16px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 12px; color: var(--muted); }
.layout { max-width: 1180px; margin: 32px auto 64px; padding: 0 24px; display: grid; gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 32px; }
.login-card { max-width: 520px; margin: 0 auto; }
h2 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.section-title { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
label { display: block; font-size: 12px; color: var(--muted); margin: 14px 0 6px; }
.row { display: flex; gap: 10px; }
input[type="text"], input[type="tel"] {
  flex: 1; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px;
  font-family: inherit; font-size: 14px; color: var(--ink); outline: none; background: #fff;
}
input[type="text"]:focus, input[type="tel"]:focus { border-color: var(--accent); }
.err { color: #b42318; font-size: 12px; min-height: 18px; margin-top: 6px; }
.ok { color: #067647; }
.warn { color: #b54708; font-size: 12px; margin-top: 16px; }
.note { color: var(--muted); font-size: 12px; margin-top: 14px; }
.btn-primary {
  background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 4px;
  height: 38px; padding: 0 18px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-outline {
  background: #fff; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px;
  height: 38px; padding: 0 16px; font-family: inherit; font-size: 13px; cursor: pointer;
}
.btn-outline:disabled { opacity: .5; cursor: not-allowed; }
.btn-text { background: none; border: none; color: var(--muted); font-family: inherit; font-size: 13px; cursor: pointer; }
.full { width: 100%; margin-top: 16px; }
.quota-bar {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px;
}
.quota-bar .btn-outline { margin: 0; width: auto; }
.quota-text { font-size: 15px; font-weight: 600; }
.dropzone {
  border: 1px dashed #c8cdd4; border-radius: 6px; padding: 30px; text-align: center;
  color: var(--ink); cursor: pointer; transition: background .15s;
}
.dropzone:hover, .dropzone.drag { background: #f2f5f8; }
.drop-icon { font-size: 26px; color: var(--muted); margin-bottom: 6px; }
.file-list { margin-top: 14px; }
.file-item {
  display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line);
  padding: 9px 2px; font-size: 13px;
}
.file-name { flex: 1; font-weight: 600; }
.opts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 32px; }
.opt-group-title { font-size: 13px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; margin: 9px 0; }
.check input { accent-color: var(--accent); }
.check input[type="text"] { height: 30px; font-size: 12px; margin-left: 6px; }
.kw-row { margin: 24px 0 4px; }
.kw-row input { width: 100%; }
.task-list { margin-top: 18px; }
.task-item { border-bottom: 1px solid var(--line); padding: 8px 2px; font-size: 13px; }
.task-item b { margin-right: 10px; }
.modal { position: fixed; inset: 0; background: rgba(16,18,22,.38); display: flex; align-items: center; justify-content: center; z-index: 10; }
.modal-box { background: #fff; border-radius: 6px; width: min(720px, 92vw); padding: 28px 32px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan { border: 1px solid var(--line); border-radius: 5px; padding: 20px; }
.plan-name { font-weight: 700; }
.plan-price { font-size: 24px; font-weight: 700; margin: 12px 0; }
.plan-price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 12px; min-height: 36px; }
@media (max-width: 720px) {
  .topbar { padding: 0 16px; }
  .layout { padding: 0 12px; margin: 16px auto 40px; }
  .card { padding: 20px; }
  .plans { grid-template-columns: 1fr; }
}
