/* ============================================================
   施工图审查系统 · 界面样式
   ============================================================ */

:root {
  --icp-height: 26px;
  --brand: #15508f;
  --brand-2: #1d63ad;
  --brand-deep: #0c2f53;
  --brand-50: #edf4fc;
  --brand-100: #dbe9f8;
  --gold: #c99433;
  --gold-soft: #f8efdd;
  --text: #1e2c3d;
  --muted: #6c7d92;
  --muted-2: #8b9aad;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e4eaf2;
  --line-strong: #cfd9e5;
  --green: #157a4b;
  --green-soft: #e8f7ef;
  --red: #bd3a2f;
  --red-soft: #fdecea;
  --orange: #b2620a;
  --orange-soft: #fdf3e3;
  --blue: #1d63ad;
  --blue-soft: #e9f2fb;
  --slate: #5a6b80;
  --slate-soft: #eef2f7;
  --purple: #6d4fa1;
  --purple-soft: #f1ecfa;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 60, 0.04), 0 8px 22px -16px rgba(15, 35, 60, 0.28);
  --shadow-md: 0 2px 4px rgba(15, 35, 60, 0.05), 0 18px 40px -22px rgba(15, 35, 60, 0.35);
  --shadow-lg: 0 30px 80px -22px rgba(4, 20, 38, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.62;
  padding-bottom: var(--icp-height);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #cfe2f7;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: #c7d3e2;
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aebdd0;
  border: 3px solid transparent;
  background-clip: padding-box;
}

.app-root {
  min-height: calc(100vh - var(--icp-height));
}

.boot-screen {
  min-height: calc(100vh - var(--icp-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.boot-mark,
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  padding: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 18px -10px rgba(4, 20, 38, 0.55);
}

.boot-mark img,
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.fatal {
  max-width: 560px;
  margin: 16vh auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.fatal h1 {
  font-size: 18px;
  margin-bottom: 8px;
}

.fatal p {
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

/* ============================================================
   登录页
   ============================================================ */

.login-shell {
  min-height: calc(100vh - var(--icp-height));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  background: #fff;
}

.login-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 64px 40px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 148, 51, 0.26), transparent 36%),
    radial-gradient(circle at 12% 92%, rgba(77, 146, 218, 0.28), transparent 42%),
    linear-gradient(155deg, #0a2745 0%, #104475 52%, #165994 100%);
}

.login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}

.login-brand::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035), 0 0 0 150px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.login-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: auto 0;
  padding: 42px 0;
}

.login-brand-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-brand-top .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 19px;
}

.login-brand-top .brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.login-brand-top .brand-en {
  display: block;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  text-transform: uppercase;
}

.brand-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.brand-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.login-brand h1 {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.login-brand h1 em {
  font-style: normal;
  color: #f0c878;
}

.brand-tagline {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
  margin-bottom: 34px;
}

.brand-points {
  display: grid;
  gap: 14px;
  max-width: 450px;
}

.point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.point-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f0c878;
  margin-top: 1px;
}

.point strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
}

.point span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 2px;
}

.login-brand-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.4px;
}

.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  background:
    radial-gradient(circle at 90% 8%, #eaf2fb 0%, transparent 40%),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
}

.login-card {
  width: 100%;
  max-width: 416px;
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.mobile-brand .brand-mark {
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: 11px;
}

.mobile-brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.mobile-brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted-2);
  text-transform: uppercase;
}

.login-card-head {
  margin-bottom: 26px;
}

.login-card-head h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}

.login-card-head p {
  font-size: 12.5px;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: #eaf0f7;
  border-radius: 11px;
  margin-bottom: 24px;
}

.auth-tab {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 9px 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.auth-tab:hover {
  color: var(--brand);
}

.auth-tab.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(15, 35, 60, 0.1);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field > label {
  font-size: 12.5px;
  font-weight: 600;
  color: #3c4d60;
  letter-spacing: 0.2px;
}

.field > label .req {
  color: var(--red);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea,
.input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8b4c3;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.input:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(29, 99, 173, 0.12);
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background: #f6f8fb;
  color: var(--muted);
  cursor: not-allowed;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.75;
}

.field .hint {
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.6;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap .input-icon {
  position: absolute;
  left: 12px;
  color: #93a3b7;
  pointer-events: none;
  display: inline-flex;
}

.input-wrap input {
  padding-left: 38px;
  height: 44px;
}

.input-wrap .pwd-toggle {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-2);
  display: grid;
  place-items: center;
}

.input-wrap .pwd-toggle:hover {
  background: #f2f6fb;
  color: var(--brand);
}

.form-error {
  display: none;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: var(--red-soft);
  border: 1px solid #f3c9c4;
  border-radius: 9px;
  color: var(--red);
  font-size: 12.5px;
  line-height: 1.55;
}

.form-error.show {
  display: flex;
}

.login-submit {
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #1b5c9d, #12487f);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  box-shadow: 0 12px 24px -14px rgba(18, 72, 127, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  margin-top: 4px;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -14px rgba(18, 72, 127, 0.95);
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.login-note {
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

.login-note strong {
  color: var(--text);
  font-weight: 600;
}

.login-copy {
  margin-top: 30px;
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.3px;
}

/* ============================================================
   应用框架
   ============================================================ */

.shell {
  display: flex;
  min-height: calc(100vh - var(--icp-height));
  background: var(--bg);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  bottom: var(--icp-height);
  z-index: 40;
  width: 254px;
  display: flex;
  flex-direction: column;
  padding: 20px 15px 16px;
  color: #c6d7e9;
  background:
    radial-gradient(circle at 0% 100%, rgba(37, 105, 172, 0.35), transparent 45%),
    linear-gradient(180deg, #0d3054 0%, #0a2645 58%, #081f39 100%);
  box-shadow: 18px 0 40px -30px rgba(7, 27, 48, 0.85);
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 16px;
}

.side-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 17px;
}

.brand-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
  line-height: 1.35;
}

.brand-text span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 1.9px;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  margin-top: 1px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  overflow-y: auto;
  padding-top: 2px;
}

.nav-section {
  padding: 14px 12px 6px;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 600;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  color: #b7c9dc;
  transition: background 0.16s ease, color 0.16s ease;
  border: 1px solid transparent;
}

button.nav-link {
  width: 100%;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.nav-link svg {
  opacity: 0.78;
  flex: 0 0 auto;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-link.active {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active svg {
  opacity: 1;
  color: #f0c878;
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(240, 200, 120, 0.16);
  color: #f0c878;
  font-size: 11px;
  font-weight: 700;
}

.side-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 13px;
  margin-top: 12px;
}

.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
}

.side-avatar,
.avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f6da8, #1c4f80);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.side-user-text {
  min-width: 0;
  flex: 1;
}

.side-user-text strong {
  display: block;
  font-size: 12.5px;
  color: #ecf3fa;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-user-text span {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-foot .icon-btn {
  color: rgba(255, 255, 255, 0.55);
}

.side-foot .icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.shell-main {
  flex: 1;
  min-width: 0;
  margin-left: 254px;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-sub {
  font-size: 11px;
  color: var(--muted-2);
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.user-pill .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11.5px;
  background: linear-gradient(135deg, #1d63ad, #15497c);
}

.user-pill .u-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill .u-role {
  font-size: 10px;
  color: var(--muted-2);
  display: block;
  line-height: 1.2;
}

.mobile-menu {
  display: none;
}

.nav-overlay {
  display: none;
}

.content {
  flex: 1;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 26px 30px 64px;
}

/* ============================================================
   页头 / 面包屑
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.35;
  color: #16263a;
}

.page-head .page-sub {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.head-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   按钮
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2px;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: 0 0 auto;
}

.btn.primary {
  background: linear-gradient(180deg, #1b5c9d, #12477d);
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(18, 71, 125, 0.9);
}

.btn.primary:hover {
  box-shadow: 0 12px 22px -12px rgba(18, 71, 125, 0.95);
}

.btn.ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: #3b4d60;
}

.btn.ghost:hover {
  border-color: #b7c7d9;
  background: #fbfdff;
}

.btn.soft {
  background: var(--brand-50);
  color: var(--brand);
  border-color: #d8e7f7;
}

.btn.soft:hover {
  background: #e3eefb;
}

.btn.gold {
  background: var(--gold-soft);
  color: #8a621a;
  border-color: #eddcb9;
}

.btn.danger {
  background: #b93a2f;
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(185, 58, 47, 0.9);
}

.btn.danger-ghost {
  background: #fff;
  color: var(--red);
  border-color: #eccac5;
}

.btn.danger-ghost:hover {
  background: var(--red-soft);
}

.btn.sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 7px;
}

.btn.block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
  flex: 0 0 auto;
}

.icon-btn:hover {
  background: #eff4fa;
  color: var(--brand);
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-btn:hover {
  color: var(--brand-deep);
}

.link-btn.danger {
  color: var(--red);
}

/* ============================================================
   统计卡 / 面板
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--brand-50);
  opacity: 0.55;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
}

.stat-card.tone-green .stat-icon {
  background: var(--green-soft);
  color: var(--green);
}
.stat-card.tone-amber .stat-icon {
  background: var(--orange-soft);
  color: var(--orange);
}
.stat-card.tone-red .stat-icon {
  background: var(--red-soft);
  color: var(--red);
}
.stat-card.tone-purple .stat-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.stat-value {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 29px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #152539;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.stat-hint {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-hint strong {
  color: var(--green);
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 18px;
  margin-bottom: 18px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel + .panel,
.panel + .grid-2,
.grid-2 + .panel {
  margin-top: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fcfdff);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #1a2b3f;
  letter-spacing: 0.2px;
}

.panel-title svg {
  color: var(--brand);
}

.panel-sub {
  font-size: 11.5px;
  color: var(--muted-2);
  font-weight: 400;
}

.panel-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.panel-body {
  padding: 18px 20px;
}

.panel-body.tight {
  padding: 0;
}

.panel-body.flush {
  padding: 0;
}

.section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ============================================================
   表格
   ============================================================ */

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: #77889c;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #edf1f6;
  vertical-align: middle;
  color: #33465a;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fafcff;
}

.data-table tbody tr.clickable {
  cursor: pointer;
}

.data-table .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cell-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1b2c40;
  line-height: 1.5;
}

.cell-title a:hover {
  color: var(--brand);
}

.cell-sub {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
  line-height: 1.45;
}

.code {
  font-family: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #23415f;
  background: #f1f6fc;
  border: 1px solid #e2ecf7;
  border-radius: 6px;
  padding: 2px 7px;
  display: inline-block;
  white-space: nowrap;
}

.mono {
  font-family: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}

.muted {
  color: var(--muted);
}

.muted-2 {
  color: var(--muted-2);
}

.small {
  font-size: 11.5px;
}

.nowrap {
  white-space: nowrap;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

/* ============================================================
   状态 / 标签
   ============================================================ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.75;
  white-space: nowrap;
  border: 1px solid transparent;
}

.pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.pill--green {
  background: var(--green-soft);
  color: var(--green);
  border-color: #cdecd9;
}

.pill--blue {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: #d5e5f5;
}

.pill--amber {
  background: var(--orange-soft);
  color: var(--orange);
  border-color: #f2e0c2;
}

.pill--orange {
  background: #fdeee0;
  color: #a8550c;
  border-color: #f4d8bf;
}

.pill--red {
  background: var(--red-soft);
  color: var(--red);
  border-color: #f2ccc7;
}

.pill--slate {
  background: var(--slate-soft);
  color: var(--slate);
  border-color: #dfe6ef;
}

.pill--muted {
  background: #f4f6f9;
  color: #8493a6;
  border-color: #e6ebf1;
}

.pill--gold {
  background: var(--gold-soft);
  color: #8b6319;
  border-color: #eedfbf;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f6fc;
  border: 1px solid #e0eaf5;
  color: #3c5a77;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip--green {
  background: var(--green-soft);
  border-color: #d3eddf;
  color: var(--green);
}

.chip--amber {
  background: var(--orange-soft);
  border-color: #f0dfc3;
  color: var(--orange);
}

.chip--red {
  background: var(--red-soft);
  border-color: #f2cdc8;
  color: var(--red);
}

.chip--muted {
  background: #f4f6f9;
  border-color: #e8edf3;
  color: #8b99ab;
}

.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: #f0f4f9;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

/* ============================================================
   表单网格 / 筛选
   ============================================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid .third {
  grid-column: span 1;
}

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #3c4d60;
  margin-bottom: 6px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 11px;
  color: #97a6b8;
  pointer-events: none;
}

.search-box input {
  width: 250px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px 0 34px;
  font-size: 12.5px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-box input:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(29, 99, 173, 0.1);
}

.select-compact {
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 30px 0 11px;
  font-size: 12.5px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378889c' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  appearance: none;
  outline: none;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}

.check-item:hover {
  border-color: #c4d6e8;
}

.check-item input {
  accent-color: var(--brand);
  width: 15px;
  height: 15px;
  margin: 0;
}

.check-item.checked {
  background: var(--brand-50);
  border-color: #bcd7ef;
  color: var(--brand);
  font-weight: 600;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfdff;
}

.toggle-row p {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   弹窗
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 16px 24px;
  overflow-y: auto;
  background: rgba(7, 22, 39, 0.52);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.modal-backdrop.open {
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(12px) scale(0.992);
  transition: transform 0.2s ease;
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal.lg {
  max-width: 780px;
}

.modal.sm {
  max-width: 440px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-size: 17px;
  font-weight: 700;
  color: #16263a;
  letter-spacing: 0.2px;
}

.modal-head p {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-body {
  padding: 20px 24px;
  max-height: 64vh;
  overflow-y: auto;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: #f9fbfd;
}

.modal-foot .left {
  margin-right: auto;
}

.confirm-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: #3a4c60;
  white-space: pre-line;
}

.confirm-text strong {
  color: var(--red);
}

.credential-box {
  border: 1px dashed #bfd4e9;
  background: linear-gradient(180deg, #f7fbff, #f2f8fe);
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  gap: 14px;
}

.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.credential-row .k {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}

.credential-value {
  font-family: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #123c65;
  word-break: break-all;
  line-height: 1.4;
}

.credential-warning {
  font-size: 12px;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid #f0dfc3;
  border-radius: 8px;
  padding: 9px 11px;
  line-height: 1.7;
}

/* ============================================================
   提示 / Toast
   ============================================================ */

.toast-root {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 260px;
  max-width: 380px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -18px rgba(8, 30, 55, 0.45);
  font-size: 12.5px;
  color: #2e4258;
  pointer-events: auto;
  animation: toast-in 0.22s ease;
}

.toast.leaving {
  animation: toast-out 0.2s ease forwards;
}

.toast .toast-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 1px;
}

.toast.success .toast-icon {
  background: var(--green);
}
.toast.error .toast-icon {
  background: var(--red);
}
.toast.info .toast-icon {
  background: var(--brand);
}
.toast.warn .toast-icon {
  background: var(--orange);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.alert .alert-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.alert strong {
  font-weight: 700;
}

.alert--warn {
  background: #fff8ec;
  border-color: #f0ddba;
  color: #8a5a12;
}

.alert--info {
  background: #f1f7fe;
  border-color: #d5e6f7;
  color: #2b5a8a;
}

.alert--danger {
  background: #fdf1ef;
  border-color: #f2cdc7;
  color: #8f3228;
}

.alert--success {
  background: #f0faf4;
  border-color: #cfe9db;
  color: #1d6a48;
}

.alert .btn {
  margin-left: 6px;
}

/* ============================================================
   上传
   ============================================================ */

.upload-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.dropzone {
  position: relative;
  border: 1.5px dashed #b8cce1;
  border-radius: 13px;
  background: linear-gradient(180deg, #fbfdff, #f6fafe);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
  outline: none;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--brand-2);
  background: #f1f8ff;
  box-shadow: inset 0 0 0 3px rgba(29, 99, 173, 0.06);
}

.dropzone.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.dz-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #e9f2fc;
  color: var(--brand);
}

.dz-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #27415c;
}

.dz-title em {
  font-style: normal;
  color: var(--brand);
}

.dz-hint {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 4px;
  line-height: 1.7;
}

.upload-progress {
  margin-top: 14px;
  display: none;
}

.upload-progress.show {
  display: block;
}

.upload-progress .up-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: #e6edf5;
  overflow: hidden;
}

.progress > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d63ad, #4a92d3);
  transition: width 0.2s ease;
}

.progress.green > i {
  background: linear-gradient(90deg, #157a4b, #38a870);
}

.upload-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f7fafd;
  border: 1px solid #e8eff7;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}

.upload-tip svg {
  flex: 0 0 auto;
  color: var(--gold);
  margin-top: 2px;
}

/* ============================================================
   文件列表
   ============================================================ */

.file-list {
  display: flex;
  flex-direction: column;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 2px;
  border-bottom: 1px dashed #e9eef5;
}

.file-item:last-child {
  border-bottom: 0;
}

.file-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 38px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: #6b8cae;
  letter-spacing: 0.3px;
  position: relative;
}

.file-ico::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: #fff #fff rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.18);
}

.file-ico.pdf {
  background: #c0564a;
}
.file-ico.dwg {
  background: #2f7a63;
}
.file-ico.zip {
  background: #9a7a3b;
}
.file-ico.img {
  background: #7c5aa8;
}
.file-ico.doc {
  background: #2d63a8;
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 12.8px;
  font-weight: 600;
  color: #263a50;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 1px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.file-empty {
  padding: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

/* ============================================================
   流程步骤 / 专业卡
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcfdff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.step-dot {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  background: #eef2f7;
  color: #8494a8;
}

.step-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #354a60;
  line-height: 1.45;
}

.step-desc {
  font-size: 10.5px;
  color: var(--muted-2);
  margin-top: 1px;
}

.step.done {
  border-color: #d5eadf;
  background: #fbfefc;
}

.step.done .step-dot {
  background: var(--green-soft);
  color: var(--green);
}

.step.active {
  border-color: #c9dff5;
  background: #f7fbff;
}

.step.active .step-dot {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(21, 80, 143, 0.1);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spec-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  background: #fcfdff;
}

.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.spec-name {
  font-size: 12.8px;
  font-weight: 700;
  color: #24384e;
}

.spec-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted-2);
}

.spec-opinion {
  margin-top: 8px;
  font-size: 11.5px;
  color: #53667c;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   审查表单
   ============================================================ */

.review-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.review-block + .review-block {
  margin-top: 16px;
}

.review-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  background: #f9fbfd;
  border-bottom: 1px solid var(--line);
}

.review-block-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1b2f45;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-block-body {
  padding: 16px 17px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  position: relative;
  display: inline-flex;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
  user-select: none;
}

.radio-pill:hover span {
  border-color: #b9cbdd;
}

.radio-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(29, 99, 173, 0.14);
}

.radio-pill input:checked + span {
  background: var(--brand-50);
  border-color: var(--brand);
  color: var(--brand);
}

.radio-pill input[value="passed"]:checked + span {
  background: var(--green-soft);
  border-color: #74b894;
  color: var(--green);
}

.radio-pill input[value="revise"]:checked + span {
  background: var(--orange-soft);
  border-color: #d9a45b;
  color: var(--orange);
}

.radio-pill input[value="rejected"]:checked + span {
  background: var(--red-soft);
  border-color: #d98d83;
  color: var(--red);
}

.opinion-wrap {
  position: relative;
  margin-top: 12px;
}

.opinion-wrap textarea {
  width: 100%;
  min-height: 112px;
  padding: 11px 13px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.75;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.opinion-wrap textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(29, 99, 173, 0.1);
}

.char-count {
  position: absolute;
  right: 10px;
  bottom: 7px;
  font-size: 10.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.review-tips {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.6;
}

.review-saved {
  font-size: 11px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   任务卡 / 列表
   ============================================================ */

.task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.task-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  color: inherit;
}

.task-card:hover {
  border-color: #bcd3e9;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.task-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.task-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1b2d42;
  line-height: 1.45;
}

.task-card .task-code {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted-2);
}

.task-card-meta {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed #e8eef5;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.task-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.task-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.task-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  font-size: 11.5px;
  color: var(--muted);
}

.task-arrow {
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #edf2f8;
  border-radius: 9px;
}

.tab {
  border: 0;
  background: transparent;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.tab.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 5px rgba(15, 35, 60, 0.09);
}

/* ============================================================
   空状态 / 加载
   ============================================================ */

.empty {
  padding: 52px 24px;
  text-align: center;
  color: var(--muted);
}

.empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: #f1f6fb;
  color: #8fa5bc;
}

.empty h3 {
  font-size: 14px;
  font-weight: 600;
  color: #3d5268;
  margin-bottom: 5px;
}

.empty p {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.7;
}

.loading {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted-2);
  font-size: 12.5px;
}

.spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid #dbe6f1;
  border-top-color: var(--brand);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   项目详情
   ============================================================ */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.meta-item .k {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.meta-item .v {
  font-size: 13px;
  color: #2c4056;
  font-weight: 500;
  line-height: 1.55;
  word-break: break-word;
}

.credential-panel {
  border: 1px solid #d7e6f5;
  background:
    radial-gradient(circle at 100% 0%, #eaf4fd, transparent 55%),
    linear-gradient(180deg, #fbfdff, #f5faff);
}

.credential-code {
  font-family: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #123c65;
  line-height: 1.3;
  word-break: break-all;
}

.deadline-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #dbe8f5;
  margin-top: 14px;
}

.deadline-box .d-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.deadline-box .d-label {
  font-size: 10.5px;
  color: var(--muted-2);
}

.deadline-box .d-value {
  font-size: 12.5px;
  font-weight: 600;
  color: #2b4057;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}

.stat-strip > div {
  background: #fff;
  padding: 14px 18px;
}

.stat-strip .s-value {
  font-size: 21px;
  font-weight: 700;
  color: #1b2f45;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.stat-strip .s-label {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 1px;
}

.spec-table select {
  height: 32px;
  max-width: 168px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 0 26px 0 8px;
  font-size: 11.5px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378889c' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 8px center;
  appearance: none;
  outline: none;
  color: #3a4f66;
}

.opinion-preview {
  max-width: 300px;
  font-size: 11.5px;
  color: #5b6f85;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-files-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   打印
   ============================================================ */

.print-area {
  display: none;
}

@media print {
  body {
    background: #fff;
  }

  body > *:not(#print-area) {
    display: none !important;
  }

  #print-area {
    display: block !important;
    padding: 0 8mm;
    color: #000;
    font-size: 12px;
  }

  .print-title {
    text-align: center;
    margin: 10mm 0 4mm;
  }

  .print-title h1 {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 6px;
  }

  .print-title p {
    font-size: 10.5px;
    color: #444;
  }

  .print-meta {
    width: 100%;
    border-collapse: collapse;
    margin: 6mm 0;
  }

  .print-meta td,
  .print-meta th,
  .print-table td,
  .print-table th {
    border: 1px solid #666;
    padding: 5px 7px;
    font-size: 10.5px;
    text-align: left;
    vertical-align: top;
  }

  .print-meta th {
    background: #f2f2f2;
    width: 15%;
    font-weight: 600;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4mm;
  }

  .print-table th {
    background: #f2f2f2;
    font-weight: 600;
  }

  .print-table .opinion-cell {
    white-space: pre-line;
    line-height: 1.6;
  }

  .print-foot {
    margin-top: 10mm;
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #333;
  }

  @page {
    size: A4;
    margin: 14mm 12mm;
  }
}

/* ============================================================
   补充组件
   ============================================================ */

[hidden] {
  display: none !important;
}

.mt-12 {
  margin-top: 12px;
}

.pre-line {
  white-space: pre-line;
}

.meta-item.full {
  grid-column: 1 / -1;
}

.todo-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted-2);
  padding: 10px 0 4px;
}

.todo-section:first-child {
  padding-top: 0;
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed #e9eef5;
}

.todo-item:last-child {
  border-bottom: 0;
}

.todo-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  background: #c7d4e3;
}

.todo-dot.red {
  background: var(--red);
}
.todo-dot.amber {
  background: var(--orange);
}
.todo-dot.blue {
  background: var(--brand-2);
}

.todo-main {
  flex: 1;
  min-width: 0;
}

.todo-main strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #2b3f56;
  line-height: 1.5;
}

.todo-main span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.55;
  margin-top: 1px;
}

.todo-item > a {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-top: 2px;
}

.sp-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sp-tile {
  padding: 9px 10px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fcfdff;
}

.sp-tile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.sp-tile-head span {
  font-size: 11.5px;
  font-weight: 600;
  color: #2d4258;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-tile-head strong {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.sp-tile .progress.mini {
  margin-top: 7px;
  height: 4px;
}

.sp-tile-foot {
  font-size: 9.5px;
  color: var(--muted-2);
  margin-top: 5px;
}

.sp-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.sp-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #2d4258;
}

.sp-value {
  font-size: 10.5px;
  color: var(--muted-2);
  white-space: nowrap;
}

.progress.mini {
  height: 5px;
  margin-top: 5px;
}

.review-summary {
  padding: 14px 0;
  border-bottom: 1px dashed #e8eef5;
}

.review-summary:first-child {
  padding-top: 0;
}

.review-summary:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rs-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rs-head strong {
  font-size: 13px;
  color: #1f3349;
  font-weight: 700;
}

.rs-body {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #3c5066;
}

.rs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-2);
}

.rs-foot span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.file-warn {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--orange-soft);
  border: 1px solid #f0dfc3;
  color: var(--orange);
  font-size: 11px;
  line-height: 1.6;
}

.upload-cols {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.upload-specialty {
  justify-content: flex-start;
  padding: 4px 2px;
}

.upload-specialty select {
  height: 42px;
}

.panel-stack > .panel {
  margin-top: 18px;
}

.panel-stack > .panel:first-child {
  margin-top: 0;
}

.sideline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #e5eef7;
}

.sideline:last-of-type {
  border-bottom: 0;
}

.sideline-num {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

.sideline strong {
  display: block;
  font-size: 12.5px;
  color: #2a4057;
  font-weight: 600;
}

.sideline p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 2px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  padding: 20px 20px 18px;
  position: relative;
}

.guide-num {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  color: #c9d9e9;
  line-height: 1;
  margin-bottom: 10px;
}

.guide-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1e3349;
  margin-bottom: 6px;
}

.guide-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}

button.opinion-preview {
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 1220px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .upload-cols {
    grid-template-columns: 1fr;
  }

  .review-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .review-toolbar .btn {
    width: 100%;
  }
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1220px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .login-brand {
    padding: 42px 40px 32px;
  }

  .login-panel {
    padding: 36px 32px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    width: 262px;
  }

  .shell.nav-open .sidebar {
    transform: translateX(0);
  }

  .shell-main {
    margin-left: 0;
  }

  .mobile-menu {
    display: inline-grid;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(7, 22, 39, 0.45);
    backdrop-filter: blur(2px);
  }

  .shell.nav-open .nav-overlay {
    display: block;
  }

  .content {
    padding: 20px 18px 54px;
  }

  .topbar {
    padding: 0 18px;
  }

  .topbar-sub,
  .topbar-date {
    display: none;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 30px 22px;
  }

  .mobile-brand {
    display: flex;
  }
}

@media (max-width: 720px) {
  .stats-grid,
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-strip {
    gap: 1px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .search-box input {
    width: 180px;
  }

  .page-head h1 {
    font-size: 20px;
  }

  .head-actions {
    width: 100%;
  }

  .head-actions .btn {
    flex: 1;
  }

  .modal-body {
    padding: 16px 18px;
    max-height: 68vh;
  }

  .modal-head {
    padding: 16px 18px 13px;
  }

  .modal-foot {
    padding: 12px 18px;
  }

  .credential-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .credential-value {
    font-size: 18px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  .toolbar {
    padding: 12px 14px;
  }

  .panel-head {
    padding: 13px 15px;
  }

  .panel-body {
    padding: 15px;
  }

  .topbar-right .user-pill .u-name,
  .topbar-right .user-pill .u-role {
    display: none;
  }

  .user-pill {
    padding: 3px;
    border: 0;
    background: transparent;
  }

  .login-card-head h2 {
    font-size: 22px;
  }

  .auth-tab {
    font-size: 11.5px;
  }
}

@media (max-width: 460px) {
  .auth-tabs {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex: 1;
  }

  .search-box input {
    width: 100%;
  }

  .filters {
    width: 100%;
  }
}

/* 桌面端隐藏移动菜单按钮（需覆盖 .icon-btn 的 display） */
.icon-btn.mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .icon-btn.mobile-menu {
    display: inline-grid;
  }
}

@media (max-width: 720px) {
  .sp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 品牌名称、版本与更新记录 */
.brand-text strong {
  font-size: 13px;
  line-height: 1.4;
}

.side-version {
  padding: 9px 6px 0;
  text-align: center;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.34);
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}

.login-brand-foot {
  flex-wrap: wrap;
  gap: 10px 20px;
}

.login-brand-foot span:last-child {
  text-align: right;
}

.login-copy {
  line-height: 1.8;
}

.version-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.version-card {
  overflow: hidden;
}

.version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
  flex-wrap: wrap;
}

.version-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.version-title h2 {
  font-size: 15px;
  font-weight: 700;
  color: #1b2f45;
}

.version-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--brand-50);
  border: 1px solid #d5e5f5;
  color: var(--brand);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.version-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.version-changes {
  margin: 0;
  padding: 14px 20px 16px 38px;
  list-style: disc;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: #465a70;
  line-height: 1.7;
}

.version-changes li::marker {
  color: var(--brand);
}

@media (max-width: 720px) {
  .version-head {
    align-items: flex-start;
  }

  .version-changes {
    padding-left: 32px;
  }
}

/* 长系统名称在侧边栏保持单行（13 个汉字） */
.brand-text strong {
  font-size: 12.5px;
  letter-spacing: 0.1px;
}


.brand-text strong {
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tabs .tab [data-count] {
  display: inline-block;
  margin-left: 3px;
  font-size: 10px;
  opacity: 0.62;
  font-variant-numeric: tabular-nums;
}

.tabs .tab.active [data-count] {
  opacity: 0.9;
}

@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* 审查问题 / 回复 */
.tel-link {
  color: var(--brand);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.tel-link:hover { text-decoration: underline; }

.issue-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.issue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}
.issue-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  background: #fbfcfe;
}
.issue-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.issue-head strong { color: var(--text); font-size: 13px; }
.issue-state {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
}
.issue-state.is-replied { background: var(--green-soft); color: var(--green); }
.issue-meta { margin-left: auto; color: var(--muted-2); }
.issue-content {
  margin: 9px 0 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
}
.issue-replies {
  border-left: 2px solid var(--brand-100);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.issue-reply-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.issue-reply-head strong { color: var(--brand); }
.issue-reply-body { font-size: 13px; line-height: 1.7; margin-top: 3px; }
.issue-upload {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--brand);
  text-decoration: none;
}
.issue-upload:hover { text-decoration: underline; }
.issue-empty {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: var(--muted-2);
  font-size: 12.5px;
}
.issue-create {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.issue-create .field { margin-bottom: 9px; }
.issue-create textarea { min-height: 76px; }
.issue-create-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.issue-readonly {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.issue-reply-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.issue-reply-form .field { margin-bottom: 10px; }
.issue-reply-form textarea { min-height: 72px; }
.issue-reply-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.file-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.file-pick:hover { border-color: var(--brand); color: var(--brand); }
.file-pick input { display: none; }

/* 项目批量选择 */
.data-table .select-col {
  width: 38px;
  padding-left: 14px;
  padding-right: 2px;
  text-align: center;
}
.data-table .select-col input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* 登录保存密码 */
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.remember-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
}
.remember-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
}
@media (max-width: 480px) {
  .remember-row em { display: none; }
}

/* 问题回复后继续提意见 */
.issue-followup {
  margin: -2px 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: #fff;
}
.issue-followup textarea {
  min-height: 54px;
  margin-bottom: 8px;
}
.issue-followup-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* 强条标记 */
.mandatory-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.mandatory-toggle input {
  width: 14px;
  height: 14px;
  accent-color: var(--red);
  cursor: pointer;
}

/* 按专业汇总审查意见与提交复核 */
.issue-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.issue-specialty-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: #fff;
}
.issue-group-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.issue-group-head strong { font-size: 13.5px; }
.issue-group-head .muted { margin-left: auto; }
.specialty-submit {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
  background: var(--brand-50);
}
.specialty-submit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.specialty-submit-head strong { display: block; font-size: 13.5px; }
.specialty-submit-head span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.specialty-submit .file-pick { background: #fff; }
.specialty-submit-locked {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 12.5px;
}

/* ICP备案信息 */
.icp-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  height: var(--icp-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.2px;
}
.icp-footer a {
  color: var(--muted-2);
  text-decoration: none;
}
.icp-footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}
@media print {
  .icp-footer { display: none; }
}
