/* ============================================
   访客预约 · H5 移动端样式
   年轻活泼 · 响应式
   ============================================ */
:root {
  --brand: #5f2a66;            /* 港中深集团紫（logo 采样） */
  --brand-2: #8b4c97;
  --brand-grad: linear-gradient(135deg, #4e2255 0%, #5f2a66 55%, #7d3f86 100%);
  --gold: #c9a253;             /* 港中深金 */
  --accent: #c9a253;
  --green: #16c784;
  --orange: #f5a623;
  --red: #f0506e;
  --bg: #f6f2f8;
  --card: #ffffff;
  --text-1: #241a2a;
  --text-2: #5d5266;
  --text-3: #9b93a4;
  --line: #eae3ec;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(78, 34, 85, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% -6%, rgba(201,162,83,.10), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(95,42,102,.10), transparent 40%),
    radial-gradient(circle at 50% 110%, rgba(95,42,102,.08), transparent 45%),
    #f6f2f8;
  background-attachment: fixed;
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
}

/* 顶部标题栏 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--brand-grad);
  color: #fff;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 18px rgba(78, 34, 85, 0.32);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 560px; margin: 0 auto;
}
.topbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201,162,83,.35) 60%, transparent 100%);
}
.topbar .brand-mark {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  flex: 0 0 auto; width: 36px; height: 36px; display: block;
}
.topbar .brand-mark svg { display: block; width: 100%; height: 100%; }
.topbar-text { display: flex; flex-direction: column; min-width: 0; justify-content: center; }
.app-name { font-size: 21px; font-weight: 700; letter-spacing: 2px; line-height: 1.3; white-space: nowrap; }
.app-sub { font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.78); line-height: 1.2; margin-top: 2px; white-space: nowrap; }

@media (max-width: 480px) {
  .topbar { padding: 10px 10px; }
  /* 手机窄屏：标识与标题成组居中 */
  .topbar .brand-mark { position: static; transform: none; width: 32px; height: 32px; }
  .topbar-inner { gap: 9px; }
  .app-name { font-size: 19px; letter-spacing: 1.5px; }
  .app-sub { font-size: 10px; }
}
.topbar .dd-badge {
  position: static; flex: 0 0 auto;
  font-size: 11px; font-weight: 500; letter-spacing: .3px;
  padding: 3px 9px; border-radius: 999px; align-self: center;
  background: rgba(255,255,255,0.22);
}

/* 内容区 */
.page { padding: 16px; max-width: 560px; margin: 0 auto; padding-bottom: 80px; }

/* 卡片 */
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px;
}
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; }
.card-title .dot { width: 4px; height: 16px; border-radius: 2px; background: var(--brand-grad); margin-right: 8px; }

/* 表单 */
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field label .req { color: var(--red); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-size: 15px; color: var(--text-1);
  background: #fcf9fd; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(95, 42, 102, 0.14);
}
.textarea { min-height: 80px; resize: vertical; }

/* 来访事由快捷卡片 */
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.reason-chips .chip {
  padding: 6px 14px; font-size: 13px; border-radius: 999px;
  border: 1px solid #e0d3e6; background: #f9f5fb; color: #6a4f74; cursor: pointer;
  transition: all .15s;
}
.reason-chips .chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0b5' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* 单选组 */
.radio-group { display: flex; gap: 10px; }
.radio-pill {
  flex: 1; text-align: center; padding: 10px; border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer; color: var(--text-2); font-size: 14px;
  transition: all .2s; background: #fcf9fd;
}
.radio-pill.active { border-color: var(--brand); color: var(--brand); background: rgba(95,42,102,0.06); font-weight: 600; }

/* 学生信息（家校类事由展开，选填） */
.student-fields {
  background: #f9f5fb; border: 1px dashed #e0d3e6; border-radius: 12px;
  padding: 12px 12px 0; margin-top: -4px;
}
.student-fields-title { font-size: 12px; color: #8a6a96; margin-bottom: 10px; }
.student-fields .field:last-child { margin-bottom: 12px; }

/* 入校须知入口 + 弹窗 */
.notice-card { background: linear-gradient(180deg, #fdf9f0 0%, #ffffff 46%); }
.notice-entry { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.notice-ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px; font-size: 20px;
  background: rgba(95,42,102,.08); display: flex; align-items: center; justify-content: center;
}
.notice-entry-text { flex: 1; min-width: 0; }
.notice-entry-title { font-size: 15px; font-weight: 600; color: var(--text-1); }
.notice-entry-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.notice-arrow { font-size: 22px; color: #c3b7cb; line-height: 1; }
.privacy-entry {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--text-3); cursor: pointer; line-height: 1.6;
}
.privacy-link { color: var(--brand); font-weight: 600; }
.privacy-entry .notice-arrow { font-size: 16px; margin-left: 2px; }

/* 文档弹窗（入校须知 / 个人信息处理告知） */
.doc-mask {
  position: fixed; inset: 0; z-index: 100; background: rgba(36,26,42,.45);
  backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center;
}
.doc-sheet {
  width: 100%; max-width: 560px; max-height: 86vh; background: #fff;
  border-radius: 18px 18px 0 0; display: flex; flex-direction: column;
  box-shadow: 0 -8px 40px rgba(36,26,42,.25); animation: docUp .22s ease-out;
}
@keyframes docUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.doc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line);
}
.doc-title { font-size: 17px; font-weight: 700; color: var(--brand); }
.doc-close {
  border: none; background: #f3edf5; color: var(--text-2); width: 28px; height: 28px;
  border-radius: 50%; font-size: 13px; cursor: pointer; line-height: 1;
}
.doc-body { padding: 14px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.doc-intro { font-size: 13px; color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }
.doc-sec { margin-bottom: 14px; }
.doc-sec-title {
  font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 8px;
  padding-left: 9px; border-left: 3px solid var(--gold); line-height: 1.4;
}
.doc-item { display: flex; gap: 6px; font-size: 13px; color: var(--text-2); line-height: 1.8; margin-bottom: 6px; }
.doc-no { flex: none; color: var(--brand); font-weight: 600; }
.doc-rule {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: rgba(201,162,83,.12); border: 1px solid rgba(201,162,83,.35);
  font-size: 13.5px; font-weight: 700; color: #6b4a12; line-height: 1.7;
}
.doc-outro { font-size: 13px; color: var(--text-2); line-height: 1.8; margin-top: 4px; }
.doc-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 561px) {
  .doc-mask { align-items: center; }
  .doc-sheet { border-radius: 18px; max-height: 80vh; }
}
.agree {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--text-1);
}
.checkbox {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.checkbox.active { background: var(--brand); border-color: var(--brand); }
.checkbox.active::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.agree-text { line-height: 1.5; }

/* 按钮 */
.btn {
  display: block; width: 100%; border: none; border-radius: 14px;
  padding: 14px; font-size: 16px; font-weight: 600; cursor: pointer;
  background: var(--brand-grad); color: #fff; transition: transform .1s, opacity .2s;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }

/* 底部导航 */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  background: #fff; display: flex; box-shadow: 0 -2px 12px rgba(30,41,80,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tab {
  flex: 1; text-align: center; padding: 10px 0; cursor: pointer;
  color: var(--text-3); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.tabbar .tab .ico { font-size: 20px; line-height: 1; }
.tabbar .tab.active { color: var(--brand); font-weight: 600; }

/* 记录列表：摘要 + 展开详情 */
.record-item { border-bottom: 1px solid var(--line); }
.record-item:last-child { border-bottom: none; }
.record-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 2px; cursor: pointer;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none;
}
.record-head:active { background: #faf6fc; }
.record-head-main { flex: 1; min-width: 0; }
.record-head-row { display: flex; align-items: center; gap: 10px; }
.record-name { font-weight: 600; font-size: 16px; }
.record-sub { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.record-arrow {
  flex: none; font-size: 22px; color: #c3b7cb; line-height: 1;
  transform: rotate(90deg); transition: transform .18s;
}
.record-item.open .record-arrow { transform: rotate(-90deg); }
.record-detail {
  padding: 4px 2px 16px;
  border-top: 1px dashed var(--line);
  animation: docUp .18s ease-out;
}
.rd-row { display: flex; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.rd-label { flex: none; width: 64px; color: var(--text-3); }
.record-meta { font-size: 13px; color: var(--text-2); }
.record-meta span { margin-right: 12px; }

/* 徽章 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-orange { background: #fff4e6; color: var(--orange); }
.badge-green { background: #e8f9f1; color: var(--green); }
.badge-red { background: #fdeef1; color: var(--red); }
.badge-blue { background: #eef1fe; color: var(--brand); }
.badge-gray { background: #f0f1f5; color: var(--text-3); }

/* 空状态 */
.empty { text-align: center; padding: 50px 20px; color: var(--text-3); }
.empty .ico { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

/* 成功页 */
.success { text-align: center; padding: 40px 20px; }
.success .ico { width: 72px; height: 72px; border-radius: 50%; background: #e8f9f1; color: var(--green); font-size: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success h2 { font-size: 20px; margin-bottom: 8px; }
.success p { color: var(--text-2); margin-bottom: 24px; }

/* Toast */
.toast-wrap { position: fixed; top: 60px; left: 0; right: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { background: rgba(26,28,46,0.9); color: #fff; padding: 10px 20px; border-radius: 20px; font-size: 14px; }
.toast-success { background: rgba(22,199,132,0.95); }
.toast-error { background: rgba(240,80,110,0.95); }

/* 加载 */
.loading { text-align: center; padding: 40px; color: var(--text-3); }
.spinner {
  width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--brand);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 被访人搜索框 */
.search-panel {
  display: none;
  margin-top: 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 6px 20px rgba(30, 41, 80, 0.08);
}
.search-group {
  position: sticky; top: 0;
  padding: 8px 14px 4px;
  font-size: 12px; font-weight: 600; color: var(--text-3);
  background: #fcf9fd;
}
.search-item {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  padding: 11px 14px; cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.search-item.search-dept { flex-direction: row; align-items: center; justify-content: space-between; }
.search-item:last-child { border-bottom: none; }
.search-item:active { background: rgba(95, 42, 102, 0.06); }
.search-item .si-name { font-size: 15px; font-weight: 500; color: var(--text-1); }
.search-item .si-sub { font-size: 12px; color: var(--text-3); flex: none; }
.search-dept .si-sub { color: var(--brand); }
/* 老师项：第一行 姓名 + 学科徽标 */
.si-row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.search-item .si-tag {
  font-size: 11px; font-weight: 500; color: var(--brand);
  background: rgba(95, 42, 102, 0.08);
  padding: 2px 9px; border-radius: 999px; flex: none;
}
/* 第二行：任教班级徽标，★ 为班主任 */
.si-row2 { display: flex; flex-wrap: wrap; gap: 5px; }
.si-class {
  font-size: 11px; color: var(--text-2);
  background: #f0f1f5; padding: 2px 8px; border-radius: 6px;
}
.si-class.adviser { color: var(--brand); background: rgba(95, 42, 102, 0.10); font-weight: 600; }
.si-class.si-more { color: var(--text-3); background: transparent; padding: 2px 0; }
.search-back {
  padding: 10px 14px; font-size: 13px; font-weight: 500; color: var(--brand);
  cursor: pointer; border-bottom: 1px solid var(--line);
}
.search-empty {
  padding: 22px 14px; text-align: center; font-size: 13px; color: var(--text-3);
}
.search-tip {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 8px; padding: 10px 12px;
  background: rgba(201,162,83,.10); border: 1px solid rgba(201,162,83,.35);
  border-radius: 10px;
  font-size: 12.5px; line-height: 1.7; color: #6b4a12;
}
.search-tip-ico { flex: none; font-size: 16px; line-height: 1.4; }
.search-tip-hl { font-weight: 700; color: var(--brand); }
.lookup-tip {
  margin: -2px 0 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-3);
}

/* 到访人手写签名：卡片内点击放大 + 全屏签名板 */
.sign-tip { margin: -2px 0 12px; font-size: 12px; line-height: 1.7; color: var(--text-3); }
.sign-pad {
  position: relative;
  border: 1px dashed #d8c8de;
  border-radius: 12px;
  background: #fcf9fd;
  overflow: hidden;
  cursor: pointer;
  min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none;
  transition: border-color .15s, background .15s;
}
.sign-pad:active { border-color: var(--brand); background: #fff; }
.sign-pad #sign-preview { max-width: 100%; max-height: 150px; display: block; padding: 12px; }
.sign-hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #b7a9c2; font-size: 14px; pointer-events: none; letter-spacing: 1px;
}
.sign-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.btn-ghost-sm {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}
.btn-ghost-sm:active { background: #f4eff6; }

/* 全屏签名板 */
.sign-mask {
  position: fixed; inset: 0; z-index: 110; background: rgba(36,26,42,.5);
  display: flex; align-items: stretch; justify-content: center;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none;
}
.sign-sheet {
  width: 100%; max-width: 720px; background: #f6f2f8;
  display: flex; flex-direction: column;
  animation: docUp .2s ease-out;
}
.sign-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: linear-gradient(135deg, #4e2255 0%, #5f2a66 55%, #7d3f86 100%);
  color: #fff;
}
.sign-head-title { font-size: 16px; font-weight: 600; letter-spacing: 2px; }
.sign-tool {
  border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff;
  border-radius: 8px; padding: 6px 16px; font-size: 14px; cursor: pointer;
}
.sign-done {
  border: none; background: #c9a253; color: #fff; font-weight: 600;
  border-radius: 8px; padding: 6px 20px; font-size: 14px; cursor: pointer;
}
.sign-canvas-wrap { flex: 1; padding: 14px; display: flex; }
.sign-canvas-wrap canvas {
  flex: 1; width: 100%; height: 100%; background: #fff; border-radius: 12px;
  touch-action: none; cursor: crosshair; display: block;
  box-shadow: 0 2px 12px rgba(78,34,85,.10);
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none;
}
.sign-foot { padding: 8px 16px calc(12px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; color: var(--text-3); }
.record-sign { margin-top: 10px; }
.record-sign-label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.record-sign img {
  display: block;
  max-width: 200px;
  max-height: 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* 审批进度时间线 */
.approval-flow { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.approval-flow-title { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.af-step { display: flex; position: relative; padding-left: 18px; padding-bottom: 12px; }
.af-step:last-child { padding-bottom: 0; }
.af-step::before { content: ''; position: absolute; left: 5px; top: 12px; bottom: 0; width: 2px; background: var(--line); }
.af-step:last-child::before { display: none; }
.af-dot { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #d8c8de; border: 2px solid #fff; box-shadow: 0 0 0 1px #d8c8de; }
.af-AGREE .af-dot { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.af-REFUSE .af-dot { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.af-RUNNING .af-dot { background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.af-body { flex: 1; }
.af-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.af-title { font-size: 14px; font-weight: 600; }
.af-name { font-size: 13px; color: var(--text-2); }
.af-state { margin-left: auto; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #f0eaf3; color: var(--text-2); }
.af-AGREE .af-state { background: rgba(22,199,132,.12); color: #0d9a63; }
.af-REFUSE .af-state { background: rgba(240,80,110,.12); color: var(--red); }
.af-RUNNING .af-state { background: rgba(95,42,102,.12); color: var(--brand); }
.af-time { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.af-comment { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* ---------- 入校凭证卡 ---------- */
.pass-card {
  margin: 2px 0 14px; padding: 16px 14px 14px; border-radius: 14px; text-align: center;
  border: 1px solid var(--line); background: #fdfbfe;
}
.pass-card.valid { border-color: rgba(31,122,77,.32); background: #f4fbf7; }
.pass-card.used { background: #faf7f8; opacity: .85; }
.pass-card.muted { opacity: .6; }
.pass-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pass-title { font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: .5px; }
.pass-card.valid .pass-title { color: #1f7a4d; }
.pass-card.used .pass-title { color: #a86a12; }
.pass-tip { font-size: 10px; color: var(--text-3); }
.pass-qr { width: 168px; height: 168px; margin: 2px auto 10px; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 1px 8px rgba(60,40,70,.08); }
.pass-qr svg { width: 100%; height: 100%; display: block; }
.pass-code { font-size: 12px; color: var(--text-3); letter-spacing: 1px; }
.pass-code b { font-size: 22px; letter-spacing: 5px; color: var(--brand); margin-left: 8px; vertical-align: -2px; }
.pass-meta { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.6; }
.pass-pending { font-size: 12px; color: var(--text-3); background: #f7f4f9; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }

/* ---------- 人员 / 车辆入校切换 ---------- */
.mode-switch { display: flex; gap: 6px; background: #efe8f2; padding: 4px; border-radius: 12px; margin-bottom: 12px; }
.mode-btn { flex: 1; border: 0; background: transparent; padding: 10px 0; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text-2); font-family: inherit; cursor: pointer; }
.mode-btn.active { background: #fff; color: var(--brand); box-shadow: 0 1px 6px rgba(78,34,85,.12); }
.vehicle-block { margin-top: 2px; padding-top: 12px; border-top: 1px dashed var(--line); }
.vehicle-title { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
.plate-input { letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
