/* ================= 新版智能报价系统样式 ================= */
.app-body { display: flex; flex: 1; overflow: hidden; }
.content { flex: 1; overflow-y: auto; padding: 20px 24px; background: var(--bg); }

/* 顶栏 */
.topbar-left { display: flex; align-items: center; }
.topbar-left .logo-img { height: 38px; width: auto; margin-right: 12px; display: block; }
.topbar-title { font-size: 16px; font-weight: bold; color: #000; letter-spacing: .5px; }
.topbar-title .system-name { color: #000; }

/* 登录页 LOGO */
.login-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.login-logo { width: 120px; height: auto; display: block; }
.login-brand h1 { font-size: 22px; line-height: 1.3; margin-bottom: 0; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.role-tag {
  padding: 3px 10px; border-radius: 12px; font-size: 12px;
  background: var(--primary-light); color: var(--primary);
}
.user-name { font-weight: 600; }

/* 侧边栏 */
.sidebar {
  width: 214px; background: linear-gradient(180deg, #ffffff, #f6f9fd); border-right: 1px solid #e3ebf3;
  padding: 14px 12px; overflow-y: auto; flex-shrink: 0;
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 14px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.side-brand-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #1e6fba, #2a86d0); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 3px 8px rgba(30,111,186,.25); }
.side-brand b { display: block; font-size: 15px; color: #1c2c3c; line-height: 1.3; }
.side-brand span { font-size: 11px; color: #8a9bb0; }
.side-group-title { font-size: 11.5px; color: #9aa7b8; letter-spacing: 2px; padding: 2px 12px 8px; }
.menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; color: #4a5a6e; font-size: 14px;
  cursor: pointer; margin-bottom: 5px; transition: all .18s; border: 1px solid transparent;
}
.menu-item .menu-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: #eef3f9; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .18s;
}
.menu-item:hover { background: #eef5fd; color: #1e6fba; transform: translateX(2px); }
.menu-item:hover .menu-icon { background: #dbeafb; }
.menu-item.active {
  background: linear-gradient(135deg, #1e6fba, #2a86d0); color: #fff;
  box-shadow: 0 4px 12px rgba(30,111,186,.22);
}
.menu-item.active .menu-icon { background: rgba(255,255,255,.22); color: #fff; }

/* 按钮（新命名） */
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: #fff; }
.btn-info { background: #17a2b8; border-color: #17a2b8; color: #fff; }
.btn-info:hover { background: #138496; color: #fff; }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #219a53; color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #d03a2b; color: #fff; }
.btn-sm { height: 26px; padding: 0 10px; font-size: 12px; }
.btn-link { background: none; border: none; color: var(--primary); padding: 0 4px; cursor: pointer; }
.btn-link:hover { text-decoration: underline; }

/* 页面标题 */
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.page-head h2 { font-size: 20px; color: #222; }
.muted { color: var(--text-light); font-size: 13px; }

/* 统计卡片 */
/* 切换开关样式（其他设置/启用开关） */
.switch-wrap { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch-wrap .switch-input { display: none; }
.switch-wrap .switch-track { width: 46px; height: 24px; background: #d0d7e2; border-radius: 14px; position: relative; transition: background .2s; display: inline-block; flex-shrink: 0; }
.switch-wrap .switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.22); }
.switch-wrap .switch-input:checked + .switch-track { background: #1e6fba; }
.switch-wrap .switch-input:checked + .switch-track::after { left: 25px; }
.switch-wrap .switch-label { font-size: 13px; color: #55677c; }
.switch-wrap.enabled .switch-label { color: #1e6fba; font-weight: 600; }
.stat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.stat-num { font-size: 28px; font-weight: bold; color: var(--primary); }
.stat-num-sm { font-size: 20px; font-weight: bold; color: var(--primary); word-break: break-all; line-height: 1.2; }
.stat-label { color: var(--text-light); margin-top: 6px; font-size: 13px; }
.stat-card.clickable { cursor: pointer; transition: all .2s; }
.stat-card.clickable:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(30,111,186,.12); transform: translateY(-1px); }
.stat-card.clickable.active { border-color: var(--primary); background: #f0f6fd; }

/* 卡片 */
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.section-title { font-size: 15px; font-weight: bold; color: #333; margin: 20px 0 12px; }
.empty { text-align: center; color: var(--text-light); padding: 30px 0; }

/* 网格卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* 标题左竖线 */
.page-title-bar { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: #2c3e50; margin: 0 0 18px; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1; }

/* 网站日志 */
.log-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.log-stat { background: #fff; border-radius: 10px; padding: 22px 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.04); border: 1px solid #e6ebf1; }
.log-stat-num { font-size: 32px; font-weight: bold; line-height: 1.2; }
.log-stat-total { color: #1e6fba; }
.log-stat-today { color: #1a8f4a; }
.log-stat-upload { color: #d9822b; }
.log-stat-delete { color: #e74c3c; }
.log-stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; }

.log-card { padding: 18px 20px; }
.log-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.log-toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.log-record-title { font-size: 14px; font-weight: bold; color: #333; }
.btn-outline-danger { background: #fff; color: #e74c3c; border: 1px solid #f5b7b1; border-radius: 10px; font-size: 13px; cursor: pointer; transition: all .2s; }
.btn-outline-danger:hover { background: #fdecea; transform: translateY(-1px); }

/* 备份与恢复 */
.backup-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.backup-card { padding: 20px; }
.backup-card-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 12px; }
.backup-options { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.backup-options .check-item { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; background: #fafbfc; border: 1px solid #e6ebf1; border-radius: 8px; }
.backup-options .check-item input { margin-top: 3px; }
.backup-opt-desc { display: block; width: 100%; font-size: 12px; color: var(--text-light); margin-left: 22px; margin-top: 2px; }

/* 备份记录 */
/* 第五步：生成/下载报价文件 */
.export-card { padding: 20px; }
.export-head { padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.export-title { font-size: 16px; font-weight: bold; color: var(--primary-dark); }
.export-sub { font-size: 12.5px; color: var(--text-light); margin-top: 4px; }
.export-ready { text-align: center; padding: 30px 20px; }
.export-check { font-size: 18px; font-weight: bold; color: #1a8f4a; margin-bottom: 8px; }
.export-btns { margin-top: 22px; display: flex; justify-content: center; }
.btn-export-file {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 34px; border: none; border-radius: 10px; cursor: pointer;
  font-size: 15px; font-weight: bold; color: #fff;
  background: linear-gradient(135deg, #1a8f4a, #26a55b);
  box-shadow: 0 4px 14px rgba(26,143,74,.28);
  transition: all .2s;
}
.btn-export-file:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,143,74,.38); background: linear-gradient(135deg, #15803d, #1f9a52); }
.btn-export-file:active { transform: translateY(0); }
.export-wait { text-align: center; padding: 36px 20px; color: #555; }
.export-hourglass { font-size: 44px; margin-bottom: 12px; opacity: .8; }

/* 已确认印章（签署项目条件确认书后斜盖在内容上） */
.notice-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  padding: 12px 30px;
  border: 4px solid rgba(200, 30, 30, 0.85);
  border-radius: 10px;
  color: rgba(200, 30, 30, 0.85);
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 8px;
  text-indent: 8px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset;
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(255,255,255,.8);
}

/* 邮寄地址板块（第五步生成/下载报价文件右侧） */
.mailing-card { border-left: 4px solid var(--primary, #1e5eff); }
.mailing-body { display: flex; flex-direction: column; }
.mailing-content {
  padding: 18px 20px;
  background: linear-gradient(180deg, #f7faff, #ffffff);
  border: 1px solid #e3ebf7;
  border-radius: 10px;
  font-size: 14px;
  line-height: 2;
  color: #333;
  white-space: pre-wrap;
  word-break: break-word;
}
.mailing-content p { margin: 6px 0; }
.mailing-content .mail-title { font-size: 15px; font-weight: bold; color: var(--primary-dark, #1e5eff); margin-bottom: 10px; }

/* 报价单预览按钮（已审核后显示） */
.quote-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.btn-preview-quote {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border: none; border-radius: 8px; cursor: pointer;
  font-size: 13.5px; font-weight: bold; color: #fff;
  background: linear-gradient(135deg, #1e6fba, #2a86d0);
  box-shadow: 0 3px 10px rgba(30,111,186,.25);
  transition: all .2s;
}
.btn-preview-quote:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(30,111,186,.35); background: linear-gradient(135deg, #1a62a8, #2377bd); }
.btn-preview-quote:active { transform: translateY(0); }

/* 签署告知书 */
.notice-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.notice-head { padding: 16px 20px; border-bottom: 1px solid var(--border); background: #fafbfd; }
.notice-title { font-size: 16px; font-weight: bold; color: var(--primary-dark); }
.notice-sub { font-size: 12.5px; color: var(--text-light); margin-top: 4px; }
.notice-content { padding: 20px; max-height: 55vh; overflow-y: auto; font-size: 14px; line-height: 1.9; color: #333; }
.notice-content h1,.notice-content h2,.notice-content h3,.notice-content h4 { margin: 12px 0 6px; }
.notice-content p { margin: 6px 0; }
.notice-content ul,.notice-content ol { padding-left: 24px; margin: 6px 0; }
.notice-content table { border-collapse: collapse; margin: 8px 0; }
.notice-content table td,.notice-content table th { border: 1px solid #ccc; padding: 6px 10px; }
.notice-empty { color: var(--text-light); text-align: center; padding: 30px; }
.notice-sign { padding: 14px 20px; border-top: 1px solid var(--border); background: #fafbfd; display: flex; align-items: center; }
.notice-sign .check-item { font-size: 14px; color: #333; }

.backup-records { padding: 18px 20px; margin-top: 18px; }
.backup-records-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.backup-records-title { font-size: 15px; font-weight: bold; color: #333; }
.backup-records-count { font-size: 12px; color: var(--text-light); }
.btn-xs { padding: 3px 10px; font-size: 12px; border-radius: 5px; }
.project-card { cursor: default; transition: all .2s; }
.project-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.project-card-name { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: #222; }
.project-card-desc { color: #666; font-size: 13px; margin-bottom: 10px; min-height: 20px; }
.project-card-deadline { color: #d9822b; font-size: 12.5px; margin-bottom: 14px; }
.quick-card { cursor: pointer; transition: all .2s; }
.quick-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.quick-title { font-size: 16px; font-weight: bold; margin-bottom: 6px; }
.quick-desc { color: var(--text-light); font-size: 13px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
/* 报价单明细填写输入框：浅黄底 + 加深边框，直观区分可编辑区域 */
#item-table td input {
  width: 100%; box-sizing: border-box;
  padding: 6px 8px;
  background: #fffdf0;
  border: 1.5px solid #d8c77a;
  border-radius: 5px;
  font-size: 13px;
  color: #333;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
#item-table td input:hover { border-color: #c4ad53; background: #fffbe0; }
#item-table td input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(30,111,186,.12); }
/* 报价单明细长文本列：多行输入框，文字超宽自动换行、高度自动增高 */
#item-table td textarea {
  width: 100%; box-sizing: border-box;
  padding: 6px 8px;
  background: #fffdf0;
  border: 1.5px solid #d8c77a;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  min-height: 34px;
  resize: none;
  overflow: hidden;
  vertical-align: middle;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
#item-table td textarea:hover { border-color: #c4ad53; background: #fffbe0; }
#item-table td textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(30,111,186,.12); }
.table thead th { background: #f5f8fb; color: #444; font-weight: 600; text-align: left; border-bottom: 1px solid var(--border); padding: 10px 10px; white-space: nowrap; }
.table tbody td { border-bottom: 1px solid #eef1f5; padding: 9px 10px; vertical-align: middle; }
.table tbody tr:hover { background: var(--primary-light); }
.table .text-right { text-align: right; }
.table .text-center { text-align: center; }

/* 徽章 */
.badge { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; }
.badge-gray { background: #eef0f3; color: #666; }
.badge-green { background: #e3f6ea; color: #1a8f4a; }
.badge-orange { background: #fdf0dd; color: #d9822b; }
.badge-red { background: #fde8e6; color: #d6453d; }
.badge-blue { background: #e3eefb; color: #1a6fc4; }

/* 过滤器 */
.filter-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* 搜索框（胶囊样式） */
.search-box {
  position: relative; display: flex; align-items: center; gap: 6px;
  height: 40px; min-width: 240px; padding: 0 12px;
  background: #fff; border: 1.5px solid #d9e0e8; border-radius: 22px;
  box-shadow: 0 1px 4px rgba(30, 60, 100, .05);
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 111, 186, .12), 0 2px 8px rgba(30, 111, 186, .08);
}
.search-icon { width: 16px; height: 16px; color: #98a6b3; flex-shrink: 0; transition: color .2s; }
.search-box:focus-within .search-icon { color: var(--primary); }
.search-box .search-input {
  flex: 1; height: 100%; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 13.5px; color: #333; letter-spacing: .2px;
}
.search-box .search-input::placeholder { color: #aab5c0; }
.search-clear {
  display: none; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0; border: none; border-radius: 50%;
  background: #e3e9f0; color: #7a8794; font-size: 13px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s; flex-shrink: 0;
}
.search-clear:hover { background: #d3dce6; color: #4a5560; }
.search-box.has-value .search-clear { display: inline-flex; }

/* 状态下拉（胶囊样式） */
.filter-select {
  height: 40px; padding: 0 36px 0 16px; border: 1.5px solid #d9e0e8; border-radius: 22px;
  font-size: 13.5px; color: #444; background: #fff;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a8794'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  appearance: none; -webkit-appearance: none; cursor: pointer; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.filter-select:hover { border-color: #c2ccd8; }
.filter-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 111, 186, .12); }
.filter-select option { font-size: 13px; }

/* 步骤向导 */
.step-wizard { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #999; padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--border); }
.step-item.active { color: var(--primary); border-color: var(--primary); background: var(--primary-light); font-weight: bold; }
.step-item.done { color: var(--success); border-color: #b7e4c7; background: #f0fbf4; }
.step-num { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e8edf2; color: #666; font-size: 12px; font-weight: bold; }
.step-item.active .step-num { background: var(--primary); color: #fff; }
.step-item.done .step-num { background: var(--success); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border); }
.step-back { border: none; background: none; color: var(--primary); font-size: 12px; margin-left: 6px; cursor: pointer; }

/* 表单 */
.form-card h3 { margin-bottom: 6px; font-size: 18px; }
.form-card > p { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.form-item label { display: block; margin-bottom: 6px; color: #555; font-size: 13px; }
.form-item input, .form-item select { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }
.form-item textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; resize: vertical; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,111,186,.12); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.form-row { display: flex; gap: 20px; }
.form-row .form-item { flex: 1; }

/* 报价单编辑表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.quo-table { width: max-content; min-width: 100%; }
.quo-table th, .quo-table td { white-space: nowrap; }
.quo-table input { border: 1px solid transparent; padding: 4px 6px; border-radius: 4px; font-size: 13px; }
.quo-table input:focus { border-color: var(--primary); }
.w100 { width: 100%; } .w60 { width: 100%; } .w70 { width: 100%; } .w90 { width: 100%; }
.quo-doc-head { border-left: 4px solid; padding: 12px 16px; margin-bottom: 16px; background: #fafcff; }
.quo-doc-head h2 { font-size: 20px; margin-bottom: 10px; }
.quo-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 24px; font-size: 13px; color: #555; }
.quo-meta b { color: #222; }
.quo-doc-foot { margin-top: 16px; }
.del-row { color: var(--danger); }

/* 审核栏 */
.review-bar { margin-top: 20px; padding: 16px; border: 1px solid #f5c6cb; background: #fff5f5; border-radius: 8px; display: flex; gap: 12px; align-items: flex-start; }
.review-bar textarea { flex: 1; padding: 8px; border: 1px solid var(--border); border-radius: 6px; min-height: 60px; }
.review-bar > div { display: flex; flex-direction: column; gap: 8px; }
.admin-comment { margin-top: 14px; padding: 10px 14px; background: #fffbe6; border: 1px solid #ffe58f; border-radius: 6px; color: #ad6800; }

/* 弹窗 */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal { background: #fff; border-radius: 12px; width: 520px; max-width: 92vw; box-shadow: 0 20px 60px rgba(0,0,0,.3); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; }
.modal-close { background: none; border: none; font-size: 22px; color: #999; cursor: pointer; }
.modal-body { padding: 20px; max-height: 70vh; overflow-y: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* Toast */
.toast { position: fixed; top: 70px; right: 20px; z-index: 99999; padding: 12px 20px; border-radius: 8px; color: #fff; font-size: 14px; opacity: 0; transform: translateX(30px); transition: all .3s; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.toast.show { opacity: 1; transform: translateX(0); }
.toast-info { background: var(--primary); }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-warning { background: #e6a23c; }

/* 登录页补充 */
.login-hint { margin-top: 14px; text-align: center; color: var(--text-light); font-size: 12px; }

/* 关联用户勾选列表 */
.user-check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; max-height: 160px; overflow-y: auto; align-items: center; }
.user-check-list .check-item, .check-item.user-check-item { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; color: #444; min-width: 0; margin-bottom: 0; }
.user-check-list .check-item input, .check-item.user-check-item input { width: auto; height: auto; margin: 0; flex-shrink: 0; }
.user-check-list .check-item span, .check-item.user-check-item span { line-height: 1.4; }

/* 模板自定义字段配置 */
.modal-wide { width: 1240px; max-width: 96vw; }
.tpl-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; align-items: start; }
/* 模板编辑：明细表格列板块整行展示（含分类下拉） */
.tpl-fields-grid.tpl-fields-stack { grid-template-columns: 1fr; gap: 18px; }
.tpl-fields-grid.tpl-fields-stack .tpl-fields-scroll { max-height: 40vh; }
.tpl-fields-block { border-top: 1px dashed var(--border); padding-top: 14px; }
.tpl-fields-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.tpl-fields-head label { font-weight: bold; color: #555; font-size: 13px; }
.tpl-fields-scroll { max-height: 46vh; overflow-y: auto; padding-right: 6px; }
.field-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 12px; border: 1px solid #edf1f6; border-radius: 8px; margin-bottom: 8px;
  background: #fff; transition: border-color .2s, box-shadow .2s; cursor: default; user-select: text;
}
.field-row:hover { border-color: #c6d8ec; box-shadow: 0 2px 8px rgba(30,111,186,.08); }
.field-row input[type=text] { flex: 1; min-width: 120px; height: 32px; padding: 0 10px; border: 1px solid #d9e2ec; border-radius: 6px; font-size: 13px; transition: border-color .2s, box-shadow .2s; }
.field-row input[type=text]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,111,186,.12); }
.field-row input[readonly] { background: #f5f7fa; color: #6b7480; }
.field-row.dragging { opacity: .55; border: 2px dashed var(--primary); box-shadow: 0 6px 16px rgba(30,111,186,.16); }
.field-row.drop-target { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,111,186,.18); }
.field-idx { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; font-weight: bold; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drag-handle { cursor: grab; color: #b6c0cc; font-size: 16px; user-select: none; }
.drag-handle:hover { color: var(--primary); }
.drag-handle:active { cursor: grabbing; }

/* 开关式复选框 */
.switch-item { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 12.5px; color: #556; white-space: nowrap; user-select: none; }
.switch-item input { display: none; }
.switch-slider { width: 30px; height: 16px; border-radius: 10px; background: #cfd6de; position: relative; transition: background .2s; flex-shrink: 0; }
.switch-slider::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch-item input:checked + .switch-slider { background: var(--primary); }
.switch-item input:checked + .switch-slider::after { left: 16px; }

/* 字段标签徽章 */
.badge-muted { background: #f0f2f5; color: #7a838e; }
.badge-fixed { background: #fff7e6; color: #d48806; }
.badge-muted, .badge-fixed { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 11.5px; white-space: nowrap; }
.field-row .btn-link { padding: 4px 8px; font-size: 12.5px; color: #e74c3c; border: 1px solid #f5c6c0; border-radius: 6px; background: #fff; cursor: pointer; transition: all .2s; }
.field-row .btn-link:hover { background: #fdecea; text-decoration: none; }

/* 富文本编辑器 */
.rich-editor { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.rich-toolbar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #f5f8fb; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.rich-toolbar button { width: 30px; height: 28px; border: 1px solid transparent; background: transparent; border-radius: 4px; font-size: 13px; color: #444; cursor: pointer; }
.rich-toolbar button:hover { background: #e3ecf5; }
.rich-toolbar .rich-tip { margin-left: auto; font-size: 12px; color: var(--text-light); }
.rich-body { min-height: 90px; max-height: 220px; overflow-y: auto; padding: 10px 12px; font-size: 14px; line-height: 1.7; outline: none; }
.rich-body:focus { border: none; }
.rich-src { display: none; width: 100%; padding: 8px 10px; border: none; border-top: 1px solid var(--border); font-family: Consolas, monospace; font-size: 12px; resize: vertical; }
.rich-body:empty::before { content: "在此输入报价要求内容…"; color: #bbb; }

/* 五板块布局（一行显示） */
.panel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0; }
.panel-card {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 7px;
  padding: 9px 8px; background: #fffbe6; border: 1.5px solid #f0e3a8; border-radius: 10px;
  cursor: pointer; transition: all .2s; box-shadow: 0 2px 6px rgba(0,0,0,.04); text-align: left; min-width: 0;
}
.panel-card:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(30,111,186,.12); transform: translateY(-1px); }
.panel-card.active { border-color: var(--primary); background: #fff3d6; }
/* 已完成：淡蓝色 */
.panel-card.done { border-color: #bcd8f5; background: #eef5fd; }
.panel-card.done:hover { border-color: var(--primary); }
.panel-card.locked { cursor: not-allowed; opacity: .55; filter: grayscale(.6); }
.panel-card.locked:hover { transform: none; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.panel-icon { font-size: 24px; flex-shrink: 0; }
.panel-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.panel-title { font-size: 13px; font-weight: bold; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-badge { font-size: 11.5px; color: #8a6d1a; white-space: nowrap; }
.panel-card.done .panel-badge { color: #1e6fba; }
.panel-card.active .panel-badge { color: var(--primary); }
.panel-actions { display: flex; justify-content: center; gap: 14px; margin-top: 22px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.panel-actions .btn { height: 38px; padding: 0 28px; font-size: 14px; }

/* 上传资料（按项目类型清单） */
.docs-upload-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.doc-upload-item {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 11px 14px; border: 1px solid #e6ebf1; border-radius: 8px; background: #fafbfd;
}
.doc-upload-item.uploaded { border-color: #b7e4c7; background: #f4fdf7; }
.doc-upload-item.is-required { border-left: 3px solid #e74c3c; }
.doc-upload-name { font-size: 13.5px; font-weight: bold; color: #333; min-width: 180px; }
.doc-upload-name .req-star { color: #e74c3c; font-size: 12px; }
.doc-upload-status { font-size: 12.5px; color: var(--text-light); flex: 1; min-width: 120px; }
.doc-upload-item.uploaded .doc-upload-status { color: #1a8f4a; }
.doc-upload-ops { display: flex; align-items: center; }

/* 已上传文件（后台预览） */
.uploaded-files { margin-top: 18px; }
.uploaded-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid #e6ebf1; border-radius: 8px; background: #fafbfd; margin-bottom: 8px;
}
.uploaded-item .up-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #e2e8ee; cursor: pointer; }
.uploaded-item .up-thumb.up-pdf, .uploaded-item .up-thumb.up-doc {
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: #f0f4ff; color: var(--primary); cursor: pointer;
}
.up-preview-wrap { position: relative; flex-shrink: 0; }
.up-click-hint {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: 10px; color: #fff; background: rgba(0,0,0,.55); padding: 1px 0;
  border-radius: 0 0 6px 6px; opacity: 0; transition: opacity .2s;
}
.up-preview-wrap:hover .up-click-hint { opacity: 1; }
.up-download { flex-shrink: 0; }

/* 文件预览弹窗 */
.file-preview-modal { width: 90vw; max-width: 1000px; height: 86vh; display: flex; flex-direction: column; }
.file-preview-body { flex: 1; display: flex; align-items: center; justify-content: center; background: #f5f7fa; overflow: hidden; padding: 0; }
.file-preview-frame { width: 100%; height: 100%; border: none; }
.file-preview-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.uploaded-info { flex: 1; min-width: 0; }
.uploaded-name { font-size: 13px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uploaded-meta { font-size: 11.5px; color: var(--text-light); margin-top: 3px; }

/* 项目弹窗：必传资料勾选 */
.docs-check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; max-height: 180px; overflow-y: auto; }

/* 导出合并 PDF */
.export-pdf-bar { margin-top: 16px; padding: 18px; background: linear-gradient(135deg, #f0f6ff, #eaf3ff); border: 1px solid #d6e6f7; border-radius: 12px; text-align: center; }
.export-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-preview {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border: 1.5px solid #b9cfe8; border-radius: 26px;
  background: #fff; color: #1e6fba;
  font-size: 15px; font-weight: bold; cursor: pointer;
  box-shadow: 0 2px 8px rgba(30, 111, 186, .1);
  transition: all .25s;
}
.btn-preview:hover { border-color: #1e6fba; background: #eef5fd; transform: translateY(-2px); box-shadow: 0 5px 14px rgba(30, 111, 186, .18); }
.btn-export {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 36px; border: none; border-radius: 26px;
  background: linear-gradient(135deg, #1e6fba, #2a86d0); color: #fff;
  font-size: 15px; font-weight: bold; letter-spacing: .5px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(30, 111, 186, .32);
  transition: all .25s;
}
.btn-export:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(30, 111, 186, .42); }
.btn-export:active { transform: translateY(0); }
.export-pdf-tip { margin-top: 10px; font-size: 12px; color: var(--text-light); }

/* 报价时间选择 */
.quote-date-input { width: 140px !important; height: 32px !important; padding: 0 6px !important; font-size: 12px !important; cursor: pointer; }

/* 模板提示 */
.form-tip { padding: 8px 12px; margin-bottom: 14px; background: var(--primary-light); border-radius: 6px; color: var(--primary); font-size: 12.5px; }

/* 报价要求 */
.req-banner-row2 { display: flex; gap: 12px; margin-top: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.req-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 1; min-width: 260px; padding: 10px 14px; background: #fffbe6; border: 1px solid #ffe58f; border-radius: 8px; color: #7a5d00; }
.req-banner-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 编辑器弹窗 */
.modal-editor-lg { width: 900px; max-width: 94vw; }
.modal-editor-lg .modal-body { padding: 0; }
/* 全屏模式 */
.modal-overlay.fullscreen { padding: 0; }
.modal-overlay.fullscreen .modal { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; display: flex; flex-direction: column; }
.modal-overlay.fullscreen .modal-head { flex-shrink: 0; }
.modal-overlay.fullscreen .modal-body { flex: 1; display: flex; padding: 0; }
.modal-overlay.fullscreen .modal-body iframe { flex: 1; }

/* 其他设置板块标题 */
.os-section-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 6px; }

/* 模板下载弹窗：单列显示，超出滚动 */
.modal-tpl { width: 640px; max-width: 92vw; }
.modal-tpl .modal-body { max-height: 70vh; overflow-y: auto; padding: 16px 20px; }
.tpl-group { margin-bottom: 16px; }
.tpl-group:last-child { margin-bottom: 0; }
.tpl-group-title { font-size: 14px; font-weight: bold; color: #1e6fba; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid #eef5fd; }
.tpl-items { display: flex; flex-direction: column; }
.tpl-dl-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 4px; border: none; border-bottom: 1px solid #eef1f5; background: #fff; margin: 0; }
.tpl-dl-name { font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 标书文件固定名称 */
.bid-box { border: 1px solid var(--border); border-radius: 8px; padding: 10px; background: #fafbfc; }
.bid-items-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; max-height: 200px; overflow-y: auto; }
.bid-item-row { display: flex; align-items: center; gap: 8px; }
.bid-item-row input { flex: 1; height: 32px; padding: 0 10px; border: 1px solid #d9e2ec; border-radius: 6px; font-size: 13px; }
.bid-item-row .btn-link { font-size: 12px; color: #e74c3c; border: none; background: none; cursor: pointer; }
.bid-items-ops { display: flex; gap: 8px; flex-wrap: wrap; }

/* 第五步：制作法人证明及授权委托书 */
.power-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.power-top-controls { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.power-doc-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.power-doc-tab { padding: 8px 18px; border: 1.5px solid #e2e8f0; border-radius: 20px; font-size: 13.5px; font-weight: bold; color: #64748b; cursor: pointer; background: #fff; transition: all .2s; }
.power-doc-tab:hover { border-color: var(--primary); color: var(--primary); }
.power-doc-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 2px 8px rgba(30,111,186,.25); }
.power-doc-panel { display: none; }
.power-doc-panel.active { display: block; animation: fadeIn .2s; }
.power-preview .power-doc { min-height: 560px; }
.power-save-bar { display: flex; gap: 10px; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef2f6; flex-wrap: wrap; }
.power-save-bar .btn { min-width: 130px; }
.modal-preview { width: 860px; max-width: 96vw; transition: all .2s; }
.modal-preview.preview-fullscreen { width: 98vw; max-width: 98vw; height: 97vh; }
.modal-preview.preview-fullscreen .modal-body { height: calc(97vh - 52px); }
.modal-preview.preview-fullscreen .modal-body iframe { height: 100% !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.power-doc { border: 1px solid #ccc; border-radius: 6px; padding: 28px 32px; background: #fff; font-family: "SimSun", "Microsoft YaHei", serif; font-size: 15px; line-height: 2; color: #222; }
.power-title { text-align: center; font-size: 22px; font-weight: bold; letter-spacing: 6px; margin-bottom: 24px; }
.power-para { text-indent: 2em; margin: 8px 0; text-align: justify; }
.power-scope-list { margin: 8px 0 8px 2em; text-align: justify; }
.power-info { margin: 12px 0 16px; padding-left: 2em; }
.power-info p { margin: 4px 0; }
.power-idcard-title { font-weight: bold; margin: 12px 0 6px; }
.power-idcard-row { display: flex; gap: 20px; }
.power-idcard-slot { flex: 1; text-align: center; }
.power-idcard-slot img { width: 6.5cm; height: 4cm; object-fit: cover; border: 1px solid #999; background: #fafafa; }
.power-idcard-slot .idcard-empty { width: 6.5cm; height: 4cm; border: 1px dashed #bbb; background: #fafafa; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 13px; margin: 0 auto; }
.power-idcard-slot span { display: block; font-size: 12px; color: #666; margin-top: 4px; }
.fill { color: #1e6fba; font-weight: bold; border-bottom: 1px dashed #1e6fba; padding: 0 2px; }
.power-sign { margin-top: 32px; text-align: right; padding-right: 20px; }
.power-sign p { margin: 6px 0; }
.power-controls { display: flex; flex-direction: column; gap: 14px; }
.power-time { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #f8fafc; padding: 10px 12px; border-radius: 8px; }
.power-time label { font-size: 13px; color: #666; }
.power-time input[type=date] { padding: 6px 8px; border: 1.5px solid #d8c77a; border-radius: 6px; background: #fffdf0; font-size: 13px; }
.power-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.power-upload-item { border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; background: #fff; }
.power-upload-label { font-weight: bold; font-size: 13px; margin-bottom: 2px; }
.power-upload-hint { font-size: 12px; color: #888; margin-bottom: 8px; }
.power-upload-box { cursor: pointer; border: 1.5px dashed #d8c77a; border-radius: 8px; padding: 8px; text-align: center; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #fffdf6; }
.power-upload-box img { max-width: 100%; max-height: 110px; border-radius: 4px; }
.power-upload-placeholder { color: #b6a55e; font-size: 13px; }
@media (max-width: 1100px) { .power-grid { grid-template-columns: 1fr; } .power-uploads { grid-template-columns: 1fr; } }

/* 报价单标书文件列 */
.bid-cell { text-align: center; font-weight: bold; color: #1e6fba; background: #f6f8fa; font-size: 12.5px; line-height: 1.5; vertical-align: middle; padding: 6px 4px; word-break: break-all; }
.bid-cell.bid-empty { color: #b6c0cc; font-weight: normal; }
tr.bid-row td { background: #fbfcfe; }
.bid-lock { cursor: default; font-size: 13px; }

/* 后台模板管理 */
.tf-cat { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; background: #fff; }
.tf-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tf-cat-name { font-size: 14.5px; font-weight: bold; color: #333; }
.tf-files { display: flex; flex-direction: column; gap: 8px; padding-left: 4px; }
.tf-file-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f8fafc; border: 1px solid #e6ebf1; border-radius: 8px; }
.tf-file-name { flex: 1; font-size: 13px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-file-item .btn-link { font-size: 12px; color: #e74c3c; border: none; background: none; cursor: pointer; }


.req-edit-row { display: flex; align-items: center; gap: 12px; }
.req-preview { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e6ebf1; border-radius: 8px; min-height: 40px; }
.req-set-tag { flex-shrink: 0; padding: 2px 10px; border-radius: 10px; background: #e3f6ea; color: #1a8f4a; font-size: 12px; }
.lock-tip { margin-left: 6px; font-size: 12px; color: #b34700; font-weight: normal; }
.badge-gold { background: linear-gradient(135deg, #fff7e0, #ffe8b3); color: #b8860b; border: 1px solid #f0d28a; padding: 2px 10px; border-radius: 10px; font-size: 12px; }
.won-text { color: #b8860b !important; font-weight: bold; }
.st-summary-bar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; padding: 10px 14px; background: #f4f7fc; border: 1px solid #e3ebf7; border-radius: 8px; font-size: 13.5px; }
.st-summary-item b { color: #1e5eff; font-size: 16px; margin-left: 4px; }
.st-summary-bar .btn { margin-left: auto; }
.btn-add-row-strong {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-add-row-strong:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(13, 71, 161, 0.45); }
.btn-add-row-strong:active { transform: translateY(0); }

/* 标签管理 */
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tag-card { width: calc(33.33% - 8px); min-width: 240px; border: 1px solid #e3ebf7; border-radius: 8px; padding: 12px 14px; background: #fbfdff; box-sizing: border-box; }
.tag-code { font-weight: bold; color: #1e5eff; margin-bottom: 4px; word-break: break-all; }
.tag-code code { background: #eef3ff; padding: 2px 8px; border-radius: 4px; font-size: 13px; }
.tag-val { font-size: 12.5px; color: #1a8f4a; margin: 4px 0; }
.tag-desc { font-size: 12px; color: #888; margin: 4px 0 8px; }
.tag-ops { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.req-preview-txt { font-size: 13px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-content { font-size: 14px; line-height: 1.8; color: #333; }
.req-content h1, .req-content h2, .req-content h3, .req-content h4 { margin: 12px 0 6px; }
.req-content p { margin: 6px 0; }
.req-content ul, .req-content ol { padding-left: 22px; margin: 6px 0; }
.req-content table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.req-content table th, .req-content table td { border: 1px solid #ccc; padding: 6px 10px; }

/* ================================================================
   现代化 UI 统一（v2 全局增强）：管理后台各功能弹窗/页面风格保持一致
   所有页面按钮/输入框与「项目管理」界面统一
   ================================================================ */
/* 按钮：统一高度与最小宽度、更大圆角、柔和阴影、微动效 */
.btn {
  height: 38px;
  padding: 0 18px;
  min-width: 88px;
  justify-content: center;
  border-radius: 10px;
  font-size: 13.5px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg,#155fa3,#2a86d0);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(30,111,186,.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg,#134f8c,#2474b8);
  box-shadow: 0 4px 14px rgba(30,111,186,.32);
}
.btn-sm {
  height: 34px;
  padding: 0 14px;
  min-width: 72px;
  font-size: 13px;
}
.btn-xs {
  height: 30px;
  padding: 0 12px;
  min-width: 60px;
  font-size: 12px;
}
.btn-link { height: auto; min-width: 0; padding: 0 4px; }

/* 输入控件：统一高度、更大圆角、聚焦高亮 */
input[type="text"], input[type="number"], input[type="password"], input[type="email"], input[type="tel"], input[type="date"], input[type="datetime-local"], select, textarea {
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
  padding: 0 12px;
  outline: none;
  box-sizing: border-box;
}
textarea { height: auto; padding: 10px 12px; }
input:focus, select:focus, textarea:focus {
  border-color: #1e6fba;
  box-shadow: 0 0 0 3px rgba(30,111,186,.12);
}

/* 弹窗：更大圆角、柔和阴影、轻背景模糊 */
.modal {
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(16,42,74,.28);
}
.modal-head { border-radius: 16px 16px 0 0; }
.modal-overlay { backdrop-filter: blur(2px); }

/* 表单标签 */
.form-item label { color: #455a6e; font-weight: 600; }
.form-item input, .form-item select { height: 38px; }
