:root {
  --bg: #edf1f4;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --line: #dbe3e8;
  --line-2: #c7d2da;
  --text: #15212b;
  --muted: #687582;
  --primary: #0f3d2e;
  --primary-2: #0a2c21;
  --accent: #1f7a55;
  --accent-bg: #e7f5ee;
  --warning: #9a6b16;
  --warning-bg: #fff5df;
  --danger: #a33f3f;
  --danger-bg: #fdecec;
  --shadow: 0 14px 34px rgb(21 33 43 / 8%);
  --shadow-soft: 0 8px 22px rgb(21 33 43 / 5%);
  --radius: 18px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgb(31 122 85 / 8%), transparent 30%),
    linear-gradient(180deg, #f8fbfc 0%, var(--bg) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgb(31 122 85 / 16%); outline-offset: 2px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 17px;
  font-weight: 850;
  box-shadow: 0 10px 20px rgb(15 61 46 / 18%);
}
.brand > span:last-child { display: grid; gap: 3px; }
.brand strong { font-size: 14px; }
.brand small { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.brand-light strong { color: #f6fbf8; }
.brand-light small { color: rgb(246 251 248 / 65%); }
.eyebrow { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .14em; }

/* 登录 */
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  background:
    radial-gradient(circle at top left, rgb(31 122 85 / 10%), transparent 28%),
    linear-gradient(180deg, #f9fbfc 0%, #eef3f6 100%);
}
.login-brand-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 36px 42px 30px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgb(255 255 255 / 14%), transparent 18rem),
    linear-gradient(160deg, #1b5f41 0%, #123f2d 55%, #0d2d21 100%);
}
.login-brand-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 4%;
  width: 360px;
  height: 360px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgb(255 255 255 / 4%), 0 0 0 140px rgb(255 255 255 / 2%);
}
.login-brand-panel > * { position: relative; z-index: 1; }
.login-copy { width: min(560px, 92%); margin: auto 0; }
.login-copy .eyebrow { color: #b7e0cd; }
.login-copy h1 {
  margin-top: 18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.login-copy > p { max-width: 520px; margin-top: 18px; color: rgb(244 251 248 / 72%); font-size: 13px; line-height: 1.85; }
.flow-line { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: rgb(244 251 248 / 68%); font-size: 9px; }
.flow-line span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.flow-line b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  color: #d7f0e4;
  background: rgb(255 255 255 / 6%);
  font-size: 8px;
}
.flow-line i { width: 28px; height: 1px; background: rgb(255 255 255 / 16%); }
.login-footnote { color: rgb(244 251 248 / 42%); font-size: 8px; }

.login-form-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(28px, 7vw, 92px);
}
.mobile-brand { display: none; }
.login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgb(219 227 232 / 85%);
  border-radius: 26px;
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.login-card h2 { margin-top: -4px; font-family: Georgia, "Songti SC", serif; font-size: 30px; font-weight: 600; }
.login-card > p { margin-top: -6px; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.login-card label, .query-form label, .report-form label { display: grid; gap: 7px; }
.login-card label > span, .query-form label > span, .report-form label > span { color: var(--text); font-size: 9px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  font-size: 10.5px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
input, select { height: 46px; padding: 0 12px; }
textarea { padding: 12px; resize: vertical; line-height: 1.65; }
input::placeholder, textarea::placeholder { color: #98a4af; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 4px rgb(31 122 85 / 8%); }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-field button { position: absolute; top: 50%; right: 10px; border: 0; color: var(--accent); background: transparent; font-size: 8.5px; cursor: pointer; transform: translateY(-50%); }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 12px 24px rgb(15 61 46 / 18%); }
.button.primary:hover { box-shadow: 0 14px 26px rgb(15 61 46 / 22%); }
.button.secondary { border-color: var(--line); color: var(--primary); background: var(--surface); }
.button.secondary:hover { border-color: var(--line-2); box-shadow: var(--shadow-soft); }
.button.full { width: 100%; margin-top: 2px; }
.text-button { min-height: 30px; border: 0; color: var(--accent); background: transparent; font-size: 8.5px; font-weight: 700; cursor: pointer; }
.text-button:hover { background: var(--accent-bg); border-radius: 8px; }
.login-safe {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  padding: 11px;
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 8px;
  line-height: 1.55;
}
.login-safe span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-bg);
  font-size: 8px;
  font-weight: 900;
}

/* 应用 */
.app-screen {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 0%, rgb(31 122 85 / 6%), transparent 22rem),
    linear-gradient(180deg, #f8fbfc 0%, var(--bg) 100%);
}
.app-header {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 55px);
  border-bottom: 1px solid rgb(219 227 232 / 82%);
  background: rgb(255 255 255 / 84%);
  backdrop-filter: blur(14px);
}
.company-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.company-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(31 122 85 / 8%); }
.company-chip div { display: grid; gap: 2px; }
.company-chip small { color: var(--muted); font-size: 7px; }
.company-chip strong { font-size: 8.5px; }
.account { justify-self: end; display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 10px;
  font-weight: 800;
}
.account div { display: grid; gap: 2px; }
.account strong { font-size: 9px; }
.account small { color: var(--muted); font-size: 7px; }
.account button {
  margin-left: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-size: 8px;
  cursor: pointer;
}
.main { width: min(1080px, calc(100% - 40px)); min-height: calc(100vh - 143px); margin: 0 auto; padding: 32px 0 56px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.page-heading h1 { margin-top: 7px; font-family: Georgia, "Songti SC", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -.035em; }
.page-heading p { margin-top: 6px; color: var(--muted); font-size: 9.5px; }
.scope-note {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 76%);
  text-align: right;
  box-shadow: var(--shadow-soft);
}
.scope-note span, .scope-note strong { display: block; }
.scope-note span { color: var(--muted); font-size: 7.5px; }
.scope-note strong { margin-top: 3px; font-family: Georgia, serif; font-size: 16px; }
.service-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.service-tab {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgb(255 255 255 / 80%);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-tab:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.service-tab.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 28px rgb(15 61 46 / 18%);
}
.tab-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-bg);
  font-size: 8px;
  font-weight: 800;
}
.service-tab.active .tab-number { color: var(--primary); background: #dff3e8; }
.service-tab > span:last-child { display: grid; gap: 3px; }
.service-tab strong { font-size: 10.5px; }
.service-tab small { color: var(--muted); font-size: 8px; }
.service-tab.active small { color: rgb(255 255 255 / 62%); }
.service-panel { display: none; margin-top: 14px; animation: enter .22s ease both; }
.service-panel.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.card {
  border: 1px solid rgb(219 227 232 / 92%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.query-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 14px; align-items: start; }
.query-card, .report-card { overflow: hidden; }
.card-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdfd 0%, #f7f9fb 100%);
}
.card-header > div { display: flex; align-items: center; gap: 10px; }
.card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-bg);
  font-size: 9px;
  font-weight: 800;
}
.card-header strong, .card-header small { display: block; }
.card-header strong { font-size: 10.5px; }
.card-header small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.status-chip { padding: 4px 8px; border-radius: 99px; color: var(--warning); background: var(--warning-bg); font-size: 7.5px; font-weight: 800; }
.query-form { display: grid; gap: 15px; padding: 20px; }
.confirm-line {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px !important;
  padding: 10px 11px;
  border: 1px solid #d2e4db;
  border-radius: 14px;
  background: #f6fbf8;
  cursor: pointer;
}
.confirm-line input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--accent); }
.confirm-line span { color: var(--text) !important; font-size: 8px !important; line-height: 1.55; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.query-rule-card { padding: 20px; }
.query-rule-card h2 { margin-top: 8px; font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 600; }
.query-rule-card ul { display: grid; gap: 15px; margin: 18px 0 0; padding: 0; list-style: none; }
.query-rule-card li { display: flex; align-items: flex-start; gap: 9px; }
.query-rule-card li > b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-bg);
  font-size: 7.5px;
}
.query-rule-card li > span { display: grid; gap: 3px; }
.query-rule-card strong { font-size: 8.5px; }
.query-rule-card small { color: var(--muted); font-size: 7.5px; line-height: 1.45; }
.query-result { margin-top: 14px; }
.result-placeholder {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 20px;
  border: 1px dashed var(--line-2);
  border-radius: 18px;
  color: var(--muted);
  background: rgb(255 255 255 / 54%);
}
.result-placeholder > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-bg);
  font-size: 8px;
  font-weight: 800;
}
.result-placeholder strong { color: var(--text); font-size: 9.5px; }
.result-placeholder p { margin-top: 4px; font-size: 8px; }
.result-card { overflow: hidden; border: 1px solid rgb(219 227 232 / 92%); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1d6a4a);
}
.result-summary > div { display: flex; align-items: center; gap: 11px; }
.result-count {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--primary);
  background: #e2f4ea;
  font-family: Georgia, serif;
  font-size: 17px;
}
.result-summary strong, .result-summary small { display: block; }
.result-summary strong { font-size: 11px; }
.result-summary small { margin-top: 4px; color: rgb(255 255 255 / 66%); font-size: 8px; }
.result-summary > span { color: rgb(255 255 255 / 58%); font-size: 8px; }
.event-list { padding: 4px 20px; }
.event-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-item:last-child { border-bottom: 0; }
.event-date strong, .event-date small { display: block; }
.event-date strong { font-family: Georgia, serif; font-size: 12px; }
.event-date small { margin-top: 3px; color: var(--muted); font-size: 7.5px; }
.event-info { padding-left: 14px; border-left: 2px solid var(--accent-bg); }
.event-title { display: flex; align-items: center; gap: 7px; }
.event-title h3 { font-size: 10px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 99px; font-size: 7px; font-weight: 800; }
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.badge.resolved { color: var(--accent); background: var(--accent-bg); }
.badge.dispute { color: var(--danger); background: var(--danger-bg); }
.event-info p { margin-top: 7px; color: var(--text); font-size: 8px; line-height: 1.55; }
.event-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; color: var(--muted); font-size: 7.5px; }
.event-item > b { padding: 4px 8px; border-radius: 8px; color: var(--accent); background: var(--accent-bg); font-size: 7px; white-space: nowrap; }
.result-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #edd8b0;
  color: #6b5b42;
  background: #fffaf1;
  font-size: 8px;
  line-height: 1.55;
}
.result-note span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--warning);
  background: var(--warning-bg);
  font-weight: 900;
}
.no-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgb(219 227 232 / 92%);
  border-radius: 18px;
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow);
}
.no-hit > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-bg);
  font-family: Georgia, serif;
  font-size: 15px;
}
.no-hit strong { font-size: 10px; }
.no-hit p { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }

/* 上报 */
.report-card { max-width: 840px; margin: 0 auto; }
.report-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 20px; }
.report-form .wide { grid-column: 1 / -1; }
.upload-box {
  min-height: 86px;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px !important;
  padding: 12px 14px;
  border: 1px dashed #b9cbc3;
  border-radius: 16px;
  background: #f7fbf9;
  cursor: pointer;
}
.upload-box:hover { border-color: var(--accent); background: #f2faf6; }
.upload-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent) !important;
  background: var(--accent-bg);
  font-size: 15px !important;
}
.upload-box > span:nth-child(3) { display: grid; gap: 4px; }
.upload-box strong { font-size: 9px; }
.upload-box small { color: var(--muted); font-size: 7.5px; line-height: 1.45; }
.upload-box > b { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--primary); background: var(--surface); font-size: 8px; }
.selected-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -7px; }
.selected-files:empty { display: none; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; padding: 5px 8px; border-radius: 8px; color: var(--text); background: var(--surface-2); font-size: 7.5px; }
.file-chip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip span { color: var(--accent); font-weight: 800; }
.report-success { max-width: 680px; margin: 0 auto; padding: 42px 34px 34px; text-align: center; }
.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-bg);
  font-size: 21px;
  font-weight: 900;
}
.report-success h2 { margin-top: 7px; font-family: Georgia, "Songti SC", serif; font-size: 24px; font-weight: 600; }
.report-success > p { max-width: 520px; margin: 10px auto 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.report-success > p strong { color: var(--primary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.success-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.success-summary > span { padding: 12px; border-right: 1px solid var(--line); }
.success-summary > span:last-child { border-right: 0; }
.success-summary small, .success-summary strong { display: block; }
.success-summary small { color: var(--muted); font-size: 7.5px; }
.success-summary strong { margin-top: 5px; font-size: 8.5px; }
.success-actions { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.footer { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 8px 20px; border-top: 1px solid var(--line); color: var(--muted); background: rgb(255 255 255 / 68%); font-size: 7.5px; }
.footer span + span::before { content: "·"; margin-right: 22px; color: var(--line-2); }
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: 350px;
  padding: 11px 14px;
  border: 1px solid #bcd8c8;
  border-radius: 12px;
  color: var(--primary);
  background: #f3fbf7;
  box-shadow: 0 16px 36px rgb(21 33 43 / 14%);
  font-size: 9px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .login-screen { display: block; }
  .login-brand-panel { display: none; }
  .login-form-panel { min-height: 100vh; align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 18px; }
  .mobile-brand { display: flex; margin-bottom: 34px; }
  .login-card { width: 100%; padding: 22px; border-radius: 22px; }
  .app-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 12px 16px; gap: 12px; }
  .company-chip { display: none; }
  .account div { display: none; }
  .main { width: min(100% - 24px, 760px); min-height: calc(100vh - 110px); padding-top: 24px; padding-bottom: 40px; }
  .query-grid { grid-template-columns: 1fr; }
  .query-rule-card ul { grid-template-columns: 1fr; }
  .service-tabs { grid-template-columns: 1fr; }
  .report-form { grid-template-columns: 1fr; padding: 17px; }
  .report-form .wide { grid-column: 1; }
  .event-item { grid-template-columns: 1fr; gap: 9px; }
  .event-info { padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .event-item > b { grid-column: 1; justify-self: start; }
  .footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer span + span::before { display: none; }
}

@media (max-width: 480px) {
  body { background: linear-gradient(180deg, #f9fbfc 0%, #edf1f4 100%); }
  .login-form-panel { padding: 20px 16px; }
  .login-card h2 { font-size: 28px; }
  .page-heading { align-items: flex-start; }
  .scope-note { display: none; }
  .service-tab { min-height: 64px; }
  .card-header { padding: 14px 16px; }
  .query-form, .report-form { padding: 16px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .upload-box { grid-template-columns: auto 1fr; }
  .upload-box > b { display: none; }
  .result-summary { align-items: flex-start; flex-direction: column; }
  .success-summary { grid-template-columns: 1fr; }
  .success-summary > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .success-summary > span:last-child { border-bottom: 0; }
  .success-actions { flex-direction: column; }
  .toast { right: 13px; bottom: 13px; left: 13px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
