:root {
  --bg: #FBF8F3; --card: #fff; --line: #E6DCCD; --text: #16181C;
  --accent: #1B2A44; --accent-soft: #E7EBF2;
  --ink: #0F1626; --slate: #3A4456; --ivory: #FBF8F3;
  --gold: #CAA47B; --gold-soft: #F3E8DA; --bronze: #8A6A43; --mist: #B9C2D0;
  --green: #1a7f37; --green-soft: #e6f4ea;
  --red: #cf222e; --red-soft: #ffebe9; --amber: #9a6700; --amber-soft: #fff8c5;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; }

header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 16px; min-height: 56px; background: var(--ink); border-bottom: 1px solid var(--slate); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; color: var(--ivory); white-space: nowrap; flex-shrink: 0; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-name { font-family: "Noto Serif SC", "Songti SC", "STSong", serif; letter-spacing: .05em; font-weight: 600; }
.lang-switch { display: flex; border: 1px solid var(--slate); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.lang-switch button { border: none; background: transparent; padding: 4px 10px; cursor: pointer; font-size: 13px; color: var(--mist); }
.lang-switch button.active { background: var(--gold); color: var(--ink); font-weight: 600; }
.role-switch { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mist); white-space: nowrap; flex-shrink: 0; }
header select { background: var(--accent); color: var(--ivory); border: 1px solid var(--slate); }
header button.ghost { background: transparent; border: 1px solid var(--slate); color: var(--ivory); }
header button.ghost:hover { border-color: var(--gold); color: var(--gold); }
nav { order: 10; width: 100%; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 2px 4px; }
nav button { border: none; background: none; padding: 7px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--mist); white-space: nowrap; flex-shrink: 0; }
nav button:hover { color: var(--ivory); }
nav button.active { background: var(--accent); color: var(--ivory); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }

main { max-width: 1200px; margin: 0 auto; padding: 16px 20px 60px; }
.tab { display: none; }
.tab.active { display: block; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.toolbar label { display: flex; align-items: center; gap: 6px; }
select, input[type="date"], input[type="month"], input[type="text"], input[type="number"] { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
button.primary { background: var(--accent); color: #fff; border: none; padding: 7px 14px; border-radius: 6px; cursor: pointer; font-size: 14px; }
button.primary:hover { background: var(--slate); opacity: 1; }
button.ghost { background: #fff; border: 1px solid var(--accent); color: var(--accent); padding: 6px 12px; border-radius: 6px; cursor: pointer; }
button.ghost:hover { border-color: var(--bronze); color: var(--bronze); }
.hint { color: #6e7781; font-size: 12px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.panel-title { font-weight: 600; margin-bottom: 10px; color: var(--accent); }
.rule-h { font-size: 15px; color: var(--accent); margin: 18px 0 8px; border-left: 4px solid var(--accent); padding-left: 8px; }
.rule-list { margin: 6px 0; padding-left: 22px; line-height: 1.7; }
.rule-list li { margin: 4px 0; }

.grid-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
table.grid { border-collapse: collapse; width: 100%; min-width: 900px; }
table.grid th, table.grid td { border: 1px solid var(--line); padding: 4px 6px; text-align: center; vertical-align: top; }
table.grid th { background: #fafbfc; font-weight: 600; }
table.grid td.day { background: #fafbfc; font-weight: 600; width: 48px; }
.cell { min-height: 44px; cursor: pointer; border-radius: 4px; position: relative; }
.cell.base { background: #fff; }
.cell.custom { background: var(--green-soft); }
.cell.free { background: #fafbfc; color: #bbb; }
.cell.sub { background: var(--amber-soft); }
.cell.duty { background: #fdf3e7; border: 1px solid #e8a95c; font-weight: 600; color: #8a5a00; }
.cell.eca { background: #eef2ff; border: 1px solid #a5b4fc; color: #3730a3; }
.cell.other { background: #fdf0f7; border: 1px solid #e8a2c4; color: #8a2d6a; }
.cell .subj { font-weight: 600; font-size: 13px; }
.cell .meta { color: #57606a; font-size: 11px; }

.note-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.note-date { font-size: 12px; color: #57606a; font-weight: 600; }
.note-text { margin: 4px 0; line-height: 1.5; }
.note-meta { font-size: 12px; color: #6e7781; display: flex; justify-content: space-between; align-items: center; }
.note-del { background: #fff; border: 1px solid var(--line); color: #c0392b; border-radius: 6px; padding: 2px 8px; cursor: pointer; font-size: 12px; }
.note-del:hover { border-color: #c0392b; }

.student-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.student-chips .yr { width: 100%; font-weight: 600; margin-top: 6px; color: #57606a; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; background: #fff; }
.chip.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

.export-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.export-item { border: 1px solid var(--line); border-radius: 8px; padding: 10px; text-align: center; }
.export-item button { margin-top: 6px; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal.hidden { display: none; }
.hidden { display: none; }

.stat-detail-btn { padding: 2px 8px; font-size: 12px; margin-left: 4px; }
.detail-row td { background: #fafbfc; padding: 10px 12px; }
.detail-title { font-weight: 600; margin-bottom: 6px; }
table.detail { font-size: 13px; }
table.detail th, table.detail td { text-align: left; }
table.detail th:last-child, table.detail td:last-child { text-align: right; }
.modal-box { background: #fff; border-radius: 12px; padding: 20px; width: 420px; max-width: 92vw; }
.notify-box { width: 640px; max-height: 80vh; display: flex; flex-direction: column; }
.notify-box #notify-body { overflow-y: auto; margin-top: 10px; }
.notify-btn { position: relative; }
.notify-badge { position: absolute; top: -8px; right: -8px; background: var(--red); color: #fff; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; padding: 0 5px; font-weight: 700; text-align: center; }
.notify-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.notify-item.unread { border-left: 3px solid var(--accent); background: var(--accent-soft); }
.notify-item .notify-op { font-weight: 600; }
.notify-item .notify-detail { margin: 3px 0; line-height: 1.5; }
.notify-item .notify-time { font-size: 12px; color: #6e7781; }
.notify-item .notify-markread { font-size: 12px; color: var(--accent); cursor: pointer; margin-left: 8px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.modal fieldset { border: none; padding: 0; margin: 0 0 8px; }
.modal label { display: block; margin-bottom: 8px; }

table.stats { border-collapse: collapse; width: 100%; }
table.stats th, table.stats td { border: 1px solid var(--line); padding: 6px 10px; text-align: center; }
table.stats th { background: #fafbfc; }
.row-total td { font-weight: 700; background: #fafbfc; }

/* ===== 手机端适配 ===== */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    height: auto;
    min-height: 54px;
    padding: 8px 10px;
    gap: 8px;
  }
  .brand { font-size: 15px; white-space: nowrap; }
  .lang-switch { margin-left: 0; }
  .role-switch { margin-left: auto; }
  /* 标签栏换行 + 横向滚动 */
  nav { order: 10; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 2px; padding-bottom: 2px; flex-wrap: nowrap; }
  nav button { padding: 7px 11px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }

  main { padding: 12px 10px 56px; }
  .toolbar { gap: 8px; }
  .toolbar label { flex: 1 1 auto; min-width: 0; }
  /* 16px 防 iOS 聚焦输入时自动放大页面 */
  select, input[type="date"], input[type="month"], input[type="text"], input[type="number"], textarea { font-size: 16px; }
  select, input[type="date"], input[type="month"], input[type="text"], input[type="number"] { padding: 8px 6px; }

  .panel { padding: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.stats { min-width: 560px; }
  .export-list { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
  button.primary, button.ghost { padding: 8px 12px; }

  .modal-box { width: 100%; max-width: 96vw; padding: 16px; max-height: 90vh; overflow-y: auto; border-radius: 12px; }
  .chip { padding: 6px 12px; }
  .student-chips { gap: 8px; }
  .cell .subj { font-size: 12px; }
  .cell .meta { font-size: 10px; }
}

/* ---- 学术管理模块 ---- */
.sub-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sub-tabs button { border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; color: #57606a; }
.sub-tabs button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.asub { display: none; }
.asub.active { display: block; }
.ac-list { width: 100%; border-collapse: collapse; margin-top: 6px; }
.ac-list th, .ac-list td { border: 1px solid var(--line); padding: 6px 8px; font-size: 13px; text-align: left; }
.ac-list th { background: #fafbfc; }
.ac-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 10px; }
.ac-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #57606a; }
.ac-form input, .ac-form select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.ac-form .ac-check { flex-direction: row; align-items: center; }
.del-btn { background: #fff; border: 1px solid var(--line); color: #c0392b; border-radius: 6px; padding: 2px 8px; cursor: pointer; font-size: 12px; }
.del-btn:hover { border-color: #c0392b; }
.ac-import { width: 100%; min-height: 110px; font-family: ui-monospace, monospace; font-size: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; box-sizing: border-box; }

/* 人力资源入口卡片 */
.hr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.hr-card { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-decoration: none; color: inherit; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.hr-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.hr-card-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }

.ac-offer-row { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; margin: 3px 0; font-size: 13px; flex-wrap: wrap; }
.ac-offer-row .hint { margin: 0; font-size: 12px; }

.ac-grid { width: 100%; border-collapse: collapse; margin-top: 6px; }
.ac-grid th, .ac-grid td { border: 1px solid var(--line); padding: 4px 6px; font-size: 12px; text-align: center; min-width: 60px; }
.ac-grid th { background: #fafbfc; }
.ac-cell-occ { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.ac-cell-free { background: #fafbfc; color: #ddd; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.stat-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; background: #fafbfc; }
.stat-card b { display: block; font-size: 22px; color: var(--accent); }
.stat-card span { font-size: 12px; color: #57606a; }
.flag { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 13px; }
.flag.warn { border-color: #e8a95c; background: #fdf3e7; color: #8a5a00; }
.row-warn td { background: #fdf3e7; }

.ac-drop { outline: 2px dashed var(--accent); background: var(--accent-soft) !important; }
.ac-drag-zone { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-drag-chip { cursor: grab; }

/* ---- 人力资源模块（原生界面） ---- */
.hr-layout { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.hr-list-panel { max-height: 42vh; overflow: auto; }
.hr-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.hr-table th, .hr-table td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.hr-table th { background: #fafbfc; position: sticky; top: 0; white-space: nowrap; }
.hr-table td { white-space: normal; word-break: break-word; vertical-align: top; }
.hr-row { cursor: pointer; }
.hr-row:hover { background: #f6f8fa; }
.hr-row.selected { background: var(--accent-soft); }
.hr-detail-panel { max-height: none; overflow: visible; }
.hr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
.hr-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #57606a; }
.hr-grid input, .hr-grid select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.hr-actions { margin: 12px 0; display: flex; gap: 8px; }
.hr-sub { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.hr-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; flex-wrap: wrap; }
.hr-item a { color: var(--accent); text-decoration: none; }
.hr-add-form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.hr-add-form input, .hr-add-form select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }

/* ---- 品牌页脚与水印 ---- */
.site-footer { text-align: center; padding: 30px 16px 40px; }
.footer-rule { width: 56px; height: 1px; background: var(--gold); margin: 0 auto 16px; }
.footer-motto { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.footer-zh { font-family: "Noto Serif SC", "Songti SC", "STSong", serif; font-size: 16px; letter-spacing: .12em; color: var(--accent); }
.footer-en { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; letter-spacing: .06em; color: var(--bronze); }
.footer-sub { margin-top: 10px; font-size: 12px; color: #8C857C; letter-spacing: .18em; }
.wm { position: fixed; right: 22px; bottom: 14px; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 22px; letter-spacing: .12em; color: var(--bronze); opacity: .13; pointer-events: none; user-select: none; z-index: 0; }
@media (max-width: 768px) { .wm { display: none; } }

/* ---- 品牌欢迎气泡卡片（登录后弹出，需手动关闭；双语活泼版） ---- */
.brand-modal { position: fixed; inset: 0; background: rgba(15,22,38,.58); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; animation: bm-fade .3s ease; }
.brand-modal.hidden { display: none !important; }
@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
.bm-card { position: relative; width: 620px; max-width: 100%; background: linear-gradient(168deg, #FFFFFF 0%, #FDF6EB 52%, #FBF8F3 100%); border: 1.5px solid var(--gold); border-radius: 22px; padding: 26px 28px 22px; text-align: center; box-shadow: 0 22px 60px rgba(15,22,38,.42); animation: bm-pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes bm-pop { from { opacity: 0; transform: translateY(20px) scale(.92); } to { opacity: 1; transform: none; } }
.bm-x { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--bronze); cursor: pointer; padding: 2px 8px; border-radius: 6px; }
.bm-x:hover { background: var(--gold-soft); color: var(--accent); }
.bm-logo { height: 42px; width: auto; display: block; margin: 0 auto 6px; }
.bm-title { font-family: "Noto Serif SC", "Songti SC", "STSong", serif; font-size: 18px; font-weight: 600; color: var(--accent); letter-spacing: .08em; margin-bottom: 16px; }
.bm-title-en { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 13px; font-weight: 400; color: var(--bronze); letter-spacing: .1em; margin-top: 3px; }
.bm-body { display: flex; align-items: center; gap: 22px; text-align: left; }
.bm-photo-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bm-photo { width: 152px; height: 152px; border-radius: 50%; object-fit: cover; object-position: center; border: 3px solid var(--gold); box-shadow: 0 8px 22px rgba(138,106,67,.3); background: var(--gold-soft); }
.bm-photo-tag { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; font-family: "Noto Serif SC", "Songti SC", "STSong", serif; }
.bm-photo-tag-en { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 11.5px; font-weight: 400; color: var(--bronze); letter-spacing: .08em; margin-top: 2px; }
.bm-bubble { position: relative; flex: 1; background: #FFFBF3; border: 1.5px solid var(--gold); border-radius: 18px; padding: 14px 16px; transform: rotate(-.8deg); box-shadow: 0 6px 18px rgba(138,106,67,.14); }
.bm-bubble::before { content: ''; position: absolute; left: -10px; top: 46px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-right: 10px solid var(--gold); }
.bm-hi { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.bm-hi-en { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 12.5px; font-weight: 400; color: var(--bronze); margin-left: 6px; letter-spacing: .06em; }
.bm-row { display: flex; flex-direction: column; gap: 3px; }
.bm-divider { height: 1px; background: var(--gold); opacity: .55; margin: 9px 0; }
.bm-zh { font-family: "Noto Serif SC", "Songti SC", "STSong", serif; font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.bm-en { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 13.5px; color: var(--bronze); letter-spacing: .05em; }
.bm-ok { margin-top: 20px; background: linear-gradient(120deg, #1B2A44 0%, #3A4456 100%); color: var(--ivory); border: none; padding: 11px 34px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: .12em; box-shadow: 0 6px 16px rgba(27,42,68,.3); transition: transform .15s ease, box-shadow .15s ease; }
.bm-ok:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(27,42,68,.4); }
@media (max-width: 768px) { .bm-body { flex-direction: column; text-align: center; } .bm-bubble::before { display: none; } .bm-photo { width: 96px; height: 144px; } }

.sa-grp-title { font-weight: 600; font-size: 13px; color: var(--accent); margin: 8px 0 4px; }
.sa-choice-row { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 6px; }

/* ---- 学生课表一键导出 ---- */
.gold-btn { background: linear-gradient(120deg, #CAA47B 0%, #B98F5F 100%); color: #fff; border: none; border-radius: 999px; padding: 9px 20px; font-size: 13px; font-weight: 600; letter-spacing: .08em; cursor: pointer; box-shadow: 0 6px 16px rgba(138,106,67,.3); white-space: nowrap; }
.gold-btn:hover { filter: brightness(1.06); }
#btn-export-student { margin-left: auto; }
.export-opts { text-align: left; margin: 4px 0 12px; }
.export-opt { display: flex; align-items: center; gap: 12px; border: 1px solid #E6DCCD; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.export-opt.on { border-color: var(--gold); background: #FFFBF3; box-shadow: 0 0 0 1px var(--gold); }
.export-opt input { display: none; }
.eo-radio { width: 17px; height: 17px; border-radius: 50%; border: 2px solid #C9BDA8; flex-shrink: 0; }
.export-opt.on .eo-radio { border-color: var(--gold); background: radial-gradient(circle at center, var(--gold) 40%, #fff 48%); }
.export-opt b { display: block; font-size: 13.5px; color: var(--navy); }
.export-opt small { color: #8C857C; font-size: 11.5px; }
.export-slogan { border-top: 1px dashed #E0D3BF; padding-top: 10px; margin-bottom: 6px; text-align: center; }
.export-slogan .zh { font-family: "Noto Serif SC", "Songti SC", "STSong", serif; color: var(--navy); font-size: 13px; letter-spacing: .1em; line-height: 1.9; }
.export-slogan .en { font-family: Georgia, serif; font-style: italic; color: var(--bronze); margin-left: 8px; font-size: 12px; letter-spacing: .04em; }

/* ---- 人力资源子标签 ---- */
.hr-subtabs { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.hr-subtabs button { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 7px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; }
.hr-subtabs button:hover { border-color: var(--gold); }
.hr-subtabs button.active { background: var(--accent); border-color: var(--accent); color: var(--ivory); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }

/* 人力资源子标签容器切换 */
.hsub { display: none; }
.hsub.active { display: block; }

/* ---- 学生个性化课表 ---- */
.cell.sb-edit { cursor: pointer; }
.cell.sb-edit:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.cell.block { background: #FBF3E4; border-left: 3px solid var(--gold); }
.sb-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 2px; border-bottom: 1px dashed var(--line); font-size: 13px; flex-wrap: wrap; }
#sb-edit-modal .hr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
#sb-edit-modal .hr-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #57606a; }
#sb-edit-modal .hr-grid input, #sb-edit-modal .hr-grid select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
