* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(165deg, #a7cdf0 0%, #c6e0f7 34%, #e2f0fb 68%, #f0f7fd 100%);
  min-height: 100vh; color: #1e263a; line-height: 1.6;
  -webkit-user-select: none; user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text; user-select: text;
}
.guard-mask {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(15, 23, 42, .96); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; text-align: center; padding: 24px;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 12% -8%, rgba(58,145,232,.30), transparent 62%),
    radial-gradient(ellipse 48% 46% at 92% -4%, rgba(38,128,232,.32), transparent 58%);
}
a { text-decoration: none; color: inherit; }
.page { max-width: 1440px; margin: 0 auto; padding: 20px 28px 48px; position: relative; z-index: 5; }
.top-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #1a5fb4; }
.logo span { color: #ff6b35; }
.logo-icon { width: 36px; height: 36px; background: #ff6b35; border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; }
.top-nav { display: flex; gap: 22px; flex-wrap: wrap; background: rgba(255,255,255,.85); padding: 10px 22px; border-radius: 40px; }
.top-nav a { color: #3d5068; font-weight: 500; font-size: 14px; padding: 4px 0; border-bottom: 2px solid transparent; }
.top-nav a.active, .top-nav a:hover { color: #2563eb; border-bottom-color: #2563eb; }
.user-bar { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #1e3a6f; }
.user-avatar { width: 36px; height: 36px; background: #ff6b35; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.card { background: #fff; border-radius: 20px; padding: 22px 24px; border: 1px solid #e4effb; box-shadow: 0 4px 20px -8px rgba(38,128,232,.16); margin-bottom: 18px; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; color: #1a365d; margin-bottom: 16px; flex-wrap: wrap; }
.card-title .more { font-size: 13px; color: #2563eb; font-weight: 500; }
.notice-bar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e4effb; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; color: #3d5068; }
.notice-icon {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: #e8f3ff; color: #1d6fd4;
  display: flex; align-items: center; justify-content: center;
}
.notice-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice-date { margin-left: auto; color: #8a9ab0; font-size: 12px; }
.progress-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.progress-tab { padding: 6px 14px; border-radius: 20px; background: #eef4fb; color: #5e7891; cursor: pointer; font-size: 13px; font-weight: 600; }
.progress-tab.active { background: #2e9eff; color: #fff; }
.progress-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.progress-item { display: flex; gap: 10px; align-items: center; }
.progress-num { width: 24px; height: 24px; border-radius: 8px; background: #eaf4ff; color: #2e9eff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.progress-body { flex: 1; min-width: 0; }
.progress-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.progress-bar { height: 7px; background: #eef3f8; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: #2e9eff; }
.progress-fill.red { background: #f15a23; }
.progress-fill.yellow { background: #f59e0b; }
.lack { color: #f15a23; font-weight: 600; }
.ok { color: #1e7a44; font-weight: 600; }
.submit-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.submit-entry-item { background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #ffe3b0; border-radius: 16px; padding: 16px 18px; }
.entry-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
}
.entry-icon svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.entry-icon.ico-chat { background: #e8f3ff; color: #1d6fd4; }
.entry-icon.ico-video { background: #e9fbf3; color: #0f9f6e; }
.entry-icon.ico-agent { background: #fff1e8; color: #e25a18; }
.entry-icon.ico-doc { background: #eef0ff; color: #4f46e5; }
.tip-title { display: inline-flex; align-items: center; gap: 6px; }
.ico-tip {
  width: 16px; height: 16px; border-radius: 4px; display: inline-block;
  background: #2e9eff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5h.01'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5h.01'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.entry-name { font-weight: 800; color: #1a365d; margin-bottom: 4px; }
.entry-desc { font-size: 12px; color: #7a8a9e; margin-bottom: 8px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.entry-tags span { font-size: 11px; background: #fff4e0; color: #b45309; padding: 2px 8px; border-radius: 10px; }
.entry-footer { display: flex; justify-content: space-between; align-items: center; }
.entry-btn { background: #2e9eff; color: #fff; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.entry-btn.green { background: #1fbf7a; }
.entry-btn.orange { background: #f15a23; }
.course-grid, .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.course-card, .product-card { background: #f8fbff; border: 1px solid #e4effb; border-radius: 14px; padding: 14px; }
.course-name, .product-name { font-weight: 700; color: #1a365d; margin: 6px 0; }
.course-desc, .product-desc { font-size: 12px; color: #7a8a9e; min-height: 36px; }
.course-tag, .product-tag { font-size: 11px; padding: 2px 8px; border-radius: 8px; background: #eaf4ff; color: #1f5c9e; }
.tag-required { background: #fff1eb; color: #c0392b; }
.btn-start, .btn-detail { margin-top: 8px; background: #2e9eff; color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-tab { font-size: 12px; padding: 4px 10px; border-radius: 12px; background: #eef4fb; color: #5e7891; cursor: pointer; }
.product-tab.active { background: #2e9eff; color: #fff; }
.form-label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; color: #2e405b; }
.form-control { padding: 12px 16px; border-radius: 14px; border: 1px solid #cfe0f0; font-size: 14px; width: 100%; background: #fafcff; font-family: inherit; }
.form-control:focus { outline: none; border-color: #2e9eff; }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-group { margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 40px; border: 0; cursor: pointer; font-weight: 700; font-size: 14px; font-family: inherit; }
.btn-primary { background: #2e9eff; color: #fff; }
.btn-outline { background: #fff; border: 1px solid #cfe0f0; color: #3d5068; }
.btn-orange { background: #f15a23; color: #fff; }
.upload-btn { display: inline-block; background: #eaf4ff; color: #2e9eff; border: 1px solid #cfe6fb; padding: 8px 14px; border-radius: 16px; cursor: pointer; font-size: 13px; }
.badge { font-size: 12px; padding: 4px 12px; border-radius: 20px; background: #eef2f7; color: #2a405c; }
.breadcrumb { color: #5e7891; font-size: 14px; margin-bottom: 14px; }
.breadcrumb a { color: #2563eb; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-card { background: #fff; border: 1px solid #e4effb; border-radius: 16px; padding: 16px; }
.stat-card .num { font-size: 24px; font-weight: 800; color: #14375e; }
.stat-card .lbl { font-size: 12px; color: #7a8a9e; }
.fill-item { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed #e8f0fa; }
.q-num { font-weight: 800; color: #2e9eff; margin-right: 6px; }
.exam-notice, .instruction-card { background: #f5f9ff; border: 1px solid #dce8f5; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #3a4f66; margin-bottom: 16px; }
.history-card { background: #f8fbff; border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.admin-reply { margin-top: 10px; background: #eaf4fe; border-radius: 10px; padding: 12px; font-size: 13px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: #7a8a9e; padding: 8px; border-bottom: 1px solid #eef4fb; }
.table td { padding: 10px 8px; border-bottom: 1px solid #f3f7fb; }
.warn { background: #fff8f5; border: 1px solid #ffddcc; border-left: 4px solid #f15a23; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; color: #a03d10; font-size: 13px; }
.ask-chip { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; color: #3d5068; font-family: inherit; }
.ask-chip:hover, .ask-chip.on { background: #e6f2ff; }
.inline-text-reply { background: #fff; border-left: 4px solid #2e9eff; padding: 14px; margin: 8px 0 16px; border-radius: 8px; }
.sales-pitch-box { background: #fffbeb; border: 1px dashed #fcd34d; border-radius: 8px; padding: 12px; margin-bottom: 10px; font-size: 13px; color: #92400e; }
.category-group { margin-bottom: 16px; border: 1px solid #f1f5f9; border-radius: 12px; overflow: hidden; }
.category-title { padding: 12px 16px; background: #f8fafc; font-weight: 800; color: #1a365d; }
.pdf-box { background: #0f172a; color: #e2e8f0; border-radius: 12px; min-height: 420px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.filter-tag { display: inline-block; padding: 6px 12px; border-radius: 16px; background: #eef4fb; color: #5e7891; font-size: 13px; }
.filter-tag.active { background: #2e9eff; color: #fff; }
@media (max-width: 900px) {
  .progress-list, .submit-entry-grid, .course-grid, .product-grid, .stat-grid { grid-template-columns: 1fr; }
  .page { padding: 12px 14px 40px; }
}
