/* CertHub · 硬件产品认证管理。所有样式本地提供，无在线字体依赖。 */
.file-launch { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.file-launch-card { width: 100%; max-width: 540px; padding: 36px; background: #fff; border: 1px solid #e8ecee; border-radius: 14px; }
.file-launch-card > .brand-mark { margin-bottom: 24px; }
.file-launch-card h1 { font-size: 23px; margin: 8px 0 14px; }
.file-launch-card p { color: #6c7974; font-size: 13px; line-height: 1.9; }
.file-launch-card > .btn { margin: 8px 0 24px; }
.file-launch-card .notice { margin-bottom: 0; color: #60776a; }
:root {
  --bg: #f6f7f9;
  --panel: #fff;
  --ink: #202d35;
  --muted: #7b858d;
  --line: #e8ecee;
  --green: #234e42;
  --green-dark: #163f36;
  --green-light: #edf4f0;
  --amber: #ad751d;
  --red: #c25d45;
  --radius: 12px;
  --sidebar: 232px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 13px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a6cdbb; outline-offset: 3px; }
button, input, select, textarea { transition: background-color .15s, border-color .15s, box-shadow .15s; }
h1, h2, h3, h4, p { margin-top: 0; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
button svg { pointer-events: none; }
.sidebar { overflow-y: auto; overscroll-behavior: contain; position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar); background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 29px 18px 20px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 26px; color: var(--ink); text-decoration: none !important; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 39px; border-radius: 10px; background: var(--green-dark); color: #fff; }
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: flex; flex-direction: column; font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -.6px; }
.brand-copy small, .brand small { font-weight: 400; color: var(--muted); font-size: 10px; letter-spacing: .5px; margin-top: 5px; }
.workspace-label { padding: 19px 13px 10px; font-size: 10px; color: #9aa2a8; letter-spacing: 1.5px; font-weight: 600; }
.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; text-align: left; color: #768087; padding: 12px 14px; border-radius: 7px; font-size: 13px; line-height: 20px; text-decoration: none !important; }
.nav-item:hover { background: #f5f7f6; color: var(--green); }
.nav-item.active { background: var(--green-light); color: var(--green-dark); font-weight: 650; }
.nav-item.active::after { content: ""; position: absolute; right: 14px; width: 5px; height: 5px; border-radius: 50%; background: #51866b; }
.nav-icon { display: flex; }
.nav-item .count { margin-left: auto; margin-right: 10px; }
.sidebar-bottom { margin-top: auto; padding: 20px 7px 0; }
.team-card { background: #f6f8f7; border: 1px solid #edf0ee; border-radius: 10px; padding: 15px; }
.team-card strong { display: block; font-weight: 600; font-size: 12px; }
.team-card p { color: #939d97; font-size: 11px; margin: 5px 0 12px; }
.team-avatars { display: flex; align-items: center; }
.team-avatars > * { width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #d8e4db; color: #5e7566; font-size: 9px; margin-left: -5px; }
.team-avatars > :first-child { margin-left: 0; }
.team-avatars > :nth-child(2) { background: #e7decd; color: #93866b; }
.team-avatars > :nth-child(3) { background: #d8e1eb; color: #6b8299; }
.team-avatars > small { display: inline; margin: 0 0 0 8px; width: auto; height: auto; background: none; border: 0; border-radius: 0; color: #a1aba4; font-size: 9px; text-align: left; }
.sidebar-bottom small { display: block; font-size: 10px; color: #9ba3a4; margin-top: 18px; text-align: center; }
.shell { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 76px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 35px; background: #fff; border-bottom: 1px solid var(--line); gap: 20px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #9ba2a8; min-width: 0; }
.breadcrumbs b { color: #515f67; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.breadcrumbs strong { color: #515f67; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.header-divider { width: 1px; height: 23px; background: #e9edeb; }
.breadcrumbs svg { width: 15px; height: 15px; color: #9da8af; }
.header-actions { display: flex; align-items: center; gap: 17px; flex-shrink: 0; }
.header-actions > .icon-btn { color: #89949a; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #83948a; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6c9b7d; }
.status-pill.warning::before { background: #d5a259; }
.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; background: #eaf0e9; color: #54775a; border-radius: 50%; font-size: 12px; font-weight: 600; }
.user-menu { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; color: #54616a; font-size: 12px; padding: 0; }
.user-menu small { display: block; font-size: 10px; color: #9aa3aa; }
.user-menu svg { color: #9ba4aa; width: 12px; height: 12px; }
.main { width: 100%; max-width: 1550px; margin: 0 auto; padding: 32px 35px 30px; flex: 1; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.eyebrow { font-size: 10px; color: #9ba5a3; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.page-title { font-size: 25px; font-weight: 650; letter-spacing: -.8px; line-height: 1.4; margin: 0 0 7px; }
.subtitle { font-size: 12px; color: #8b969e; margin-bottom: 0; }
.page-actions, .inline-actions { display: flex; align-items: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; min-height: 36px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap; text-decoration: none !important; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-primary:hover { background: #255b4c; border-color: #255b4c; }
.btn-secondary { background: #fff; border-color: #dde3e4; color: #5d6c74; }
.btn-secondary:hover { background: #f4f7f5; border-color: #becfc4; }
.btn-ghost { background: transparent; color: #6e7d85; }
.btn-ghost:hover { background: #edf1ef; }
.btn-danger { background: #fff2ee; border-color: #f1d6cc; color: #b9563b; }
.btn-danger:hover { background: #fce5dd; }
.btn.small { padding: 5px 9px; min-height: 28px; font-size: 11px; }
.icon-btn { display: inline-grid; place-items: center; background: transparent; border: 0; border-radius: 6px; width: 32px; height: 32px; color: #859199; }
.icon-btn:hover { color: var(--green); background: #eef3f0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px 22px 17px; min-width: 0; text-align: left; color: inherit; }
.stat-click { cursor: pointer; }
.stat-click:hover { border-color: #c3d5ca; box-shadow: 0 3px 12px #263b3205; }
.stat-label { display: flex; align-items: center; gap: 8px; color: #7d8a92; font-size: 12px; margin-bottom: 14px; }
.stat-value { display: flex; align-items: baseline; gap: 7px; font-size: 31px; line-height: 1.1; font-weight: 650; letter-spacing: -1px; margin: 0 0 13px; font-variant-numeric: tabular-nums; }
.stat-value small { color: #9da5aa; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.stat-icon { position: absolute; right: 20px; top: 21px; display: grid; place-items: center; width: 32px; height: 32px; background: #f0f5f2; border-radius: 8px; color: #789787; }
.stat-icon.amber { background: #fbf4e8; color: #c0a26b; }
.stat-icon.blue { background: #eef3fa; color: #8b9fb9; }
.stat-icon.red { background: #fcf0ee; color: #c29282; }
.stat-meta { font-size: 10px; color: #a1a8ad; }
.stat-trend { color: #649276; font-weight: 500; margin-right: 5px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 16px; }
.section-title { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; margin: 0; }
.section-title small { font-size: 11px; color: #97a2a8; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: #769184; font-size: 11px; text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--green); text-decoration: underline; }
.text-link svg { width: 13px; height: 13px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 19px; border-radius: 4px; background: #edf1f0; color: #82928a; font-size: 10px; padding: 0 5px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.category-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; color: inherit; text-align: left; min-width: 0; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.category-card:hover { border-color: #bacfc1; box-shadow: 0 4px 18px #263b3207; transform: translateY(-2px); text-decoration: none; }
.category-top { display: flex; gap: 13px; align-items: center; margin-bottom: 23px; }
.category-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: #eff4f0; color: #648274; flex-shrink: 0; }
.category-icon svg { width: 25px; height: 25px; }
.category-card:nth-child(3n+2) .category-icon { background: #eef2f8; color: #8097b2; }
.category-card:nth-child(3n+3) .category-icon { background: #f6f0e8; color: #b49b76; }
.category-meta { flex: 1; min-width: 0; }
.category-meta h3 { font-size: 14px; font-weight: 600; margin: 0 0 3px; }
.category-meta p { color: #98a2a8; font-size: 10px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card .category-top > svg { color: #a6b0b4; width: 15px; height: 15px; }
.category-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
.category-stats > div { border-right: 1px solid #edf0f0; padding-left: 17px; }
.category-stats > div:first-child { padding-left: 0; }
.category-stats > div:last-child { border-right: 0; }
.category-stats b, .category-stats strong { display: block; font-size: 21px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.category-stats small, .category-stats span { font-size: 10px; color: #9ca4a9; }
.category-stats .warning { color: #bb8c4b; }
.category-footer { border-top: 1px solid #eef1f2; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: #97a1a6; gap: 10px; }
.category-footer .text-link { font-size: 10px; }
.mini-progress { width: 55px; height: 4px; background: #edf1ee; border-radius: 4px; overflow: hidden; }
.mini-progress i { display: block; height: 100%; background: #789e85; border-radius: inherit; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; min-width: 0; overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #eff1f2; }
.panel-header h2, .panel-header h3 { margin: 0; font-size: 14px; font-weight: 600; }
.panel-header p { margin: 4px 0 0; font-size: 11px; color: #98a2a8; }
.panel-body { padding: 22px; }
.panel-body > :last-child { margin-bottom: 0; }
.tabs { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); padding: 0 22px; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; border: 0; background: none; color: #8b979e; padding: 16px 0 14px; font-size: 12px; white-space: nowrap; }
.tab.active { color: var(--green); font-weight: 600; }
.tab.active::after { position: absolute; content: ""; height: 2px; background: #4d7960; bottom: -1px; left: 0; right: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 17px 22px; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.field { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #909ca3; }
.search-input { display: flex; align-items: center; gap: 8px; border: 1px solid #e3e8ea; background: #fff; border-radius: 6px; padding: 0 11px; min-height: 34px; color: #a2acb2; }
.search-input svg { width: 15px; height: 15px; }
.search-input input { border: 0; background: transparent; width: 210px; padding: 7px 0; color: var(--ink); font-size: 11px; outline: none; }
.search-input:focus-within { border-color: #a7c0b0; box-shadow: 0 0 0 2px #eaf3ed; }
input::placeholder, textarea::placeholder { color: #adb5bb; }
.input, .select, select { min-height: 36px; border: 1px solid #e0e6e8; background: #fff; color: #65747e; border-radius: 6px; padding: 7px 10px; font-size: 12px; max-width: 100%; }
.input:focus, .select:focus, select:focus { border-color: #a7c0b0; outline: 0; box-shadow: 0 0 0 2px #eaf3ed; }
.filter-row .select, .filter-row select, .filter-row .input { min-height: 34px; font-size: 11px; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 11px; white-space: nowrap; }
th { background: #fafbfc; color: #949fa6; font-weight: 400; font-size: 10px; padding: 12px 17px; border-top: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; letter-spacing: .15px; }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; }
td { padding: 15px 17px; color: #7d8b93; border-bottom: 1px solid #f0f2f3; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfdfc; }
td strong, td b { font-weight: 500; color: #53636d; }
td .text-link { font-size: 11px; }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); color: #a0a8ad; font-size: 10px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 400; line-height: 1.6; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.badge::before { display: none; }
.badge-success { background: #eef5f0; color: #6c947b; }
.badge-warning { background: #fcf4e5; color: #b38c4e; }
.badge-danger { background: #fdf0e9; color: #cb8b66; }
.badge-expired { background: #faecea; color: #be746b; }
.badge-muted { background: #f1f3f5; color: #929fa8; }
.badge-info { background: #eef3f9; color: #8099b2; }
.progress { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #8da095; }
.progress-track { height: 5px; background: #edf1ee; overflow: hidden; border-radius: 5px; min-width: 60px; flex: 1; }
.progress-fill { height: 100%; background: #80a68c; border-radius: inherit; }
.project-cell { display: flex; align-items: center; gap: 10px; }
.project-cell > svg { color: #9aaa9c; padding: 7px; width: 33px; height: 33px; border: 1px solid #edf0ec; border-radius: 7px; }
.cell-main { display: block; color: #56666f; font-weight: 500; font-size: 11px; }
.cell-sub { display: block; font-size: 10px; color: #a0a9b0; margin-top: 3px; }
.person { display: inline-flex; align-items: center; gap: 7px; }
.person-avatar { display: inline-grid; place-items: center; width: 23px; height: 23px; background: #eef1ed; border-radius: 50%; color: #8c9e8b; font-size: 9px; }
.empty-state { padding: 55px 24px; color: #97a3aa; text-align: center; font-size: 12px; }
.empty-state > svg { width: 36px; height: 36px; color: #bac6bf; margin-bottom: 13px; }
.empty-state h3 { color: #677b70; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.empty-state p { margin-bottom: 0; }
.notice { display: flex; align-items: flex-start; gap: 9px; padding: 13px 16px; border: 1px solid #e3ece6; background: #f0f6f2; border-radius: 7px; color: #789080; font-size: 11px; margin-bottom: 20px; line-height: 1.8; }
.notice svg { width: 15px; height: 15px; margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { font-weight: 600; color: #5f7b69; }
.notice-demo { background: #fcfaf3; border-color: #eee8d5; color: #b0a077; }
.notice-demo strong { color: #9e8b5f; }
.notice.error { background: #fcf3ef; border-color: #f0ded5; color: #b78672; }
.notice.error strong { color: #a16d58; }
.sync-info { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #9ca8a1; }
.sync-info svg { width: 12px; height: 12px; }
.sync-info i { width: 5px; height: 5px; border-radius: 50%; background: #8eaf98; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #a5adb2; font-size: 10px; padding: 17px 35px; border-top: 1px solid #e9edef; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.split-grid > * { min-width: 0; }
.split-grid .panel { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.form-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-group.full, .form-grid > .full { grid-column: 1 / -1; }
.form-group label, .form-group > span:first-child { font-size: 12px; color: #66787f; font-weight: 500; }
.form-group .input, .form-group .select, .form-group select, .form-group input:not([type=checkbox]):not([type=radio]), .form-group textarea { width: 100%; }
.form-group input:not([type=checkbox]):not([type=radio]), .form-group textarea { border: 1px solid #e0e6e8; background: #fff; border-radius: 6px; padding: 9px 11px; color: #65747e; min-height: 38px; }
.form-group textarea { min-height: 86px; resize: vertical; }
.form-help { color: #9ca7ad; font-size: 10px; line-height: 1.8; margin: 0; font-weight: 400; }
.form-help code { background: #f2f5f3; padding: 1px 4px; border-radius: 3px; color: #829789; font-size: 10px; }
.rule-form > .btn { margin-top: 24px; }
.check-group { display: flex; flex-wrap: wrap; gap: 9px; }
.check-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e1e7e3; padding: 8px 11px; background: #fff; color: #7f8d85; font-size: 11px; border-radius: 6px; cursor: pointer; }
.check-chip:has(input:checked), .check-chip.selected { background: #edf5ef; border-color: #a7c4af; color: var(--green); }
.check-chip input { accent-color: var(--green); width: 13px; height: 13px; margin: 0; }
.match-results { display: flex; flex-direction: column; gap: 12px; }
.match-card { border: 1px solid #e4ebe6; border-radius: 8px; padding: 17px; background: #fbfdfb; }
.match-card h3 { font-size: 15px; font-weight: 600; color: #436d53; margin: 0 0 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.match-card p { font-size: 11px; color: #8b9b90; margin: 0; line-height: 1.8; }
.match-empty { padding: 70px 25px; text-align: center; color: #a8b3ad; }
.match-empty svg { width: 46px; height: 46px; color: #c5d5c9; margin-bottom: 18px; }
.match-empty h3 { color: #7e9486; font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.match-empty p { font-size: 11px; margin: 0; }
.stepper { display: flex; align-items: flex-start; gap: 0; margin: 21px 0; }
.step { position: relative; flex: 1; text-align: center; font-size: 10px; color: #a8b1b6; min-width: 0; }
.step::before { position: absolute; content: ""; height: 2px; background: #edf0ee; left: -50%; right: 50%; top: 10px; z-index: 0; }
.step:first-child::before { display: none; }
.step-dot { position: relative; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; border: 1px solid #e8edeb; background: #fff; margin: 0 auto 8px; font-size: 9px; z-index: 1; }
.step-dot svg { width: 11px; height: 11px; }
.step.done { color: #7d9a86; }
.step.done::before { background: #a7c7af; }
.step.done .step-dot { border-color: #c7ddcc; background: #eaf3ed; color: #77a383; }
.step.active { color: #54765e; font-weight: 600; }
.step.active::before { background: #a7c7af; }
.step.active .step-dot { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 0 0 4px #edf4ef; }
.step small { display: block; font-size: 8px; font-weight: 400; margin-top: 3px; color: #a4afa7; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; min-width: 0; }
.project-card h3 { font-size: 14px; margin: 0 0 5px; font-weight: 600; color: #495f55; }
.project-card .category-top { margin-bottom: 14px; }
.project-card .category-top .badge { margin-left: auto; }
.project-card .category-footer { margin-top: 18px; flex-wrap: wrap; }
.risk-note { display: flex; align-items: flex-start; gap: 7px; padding: 10px 12px; background: #fcf8ef; border-radius: 6px; color: #b29b72; font-size: 10px; line-height: 1.7; }
.risk-note svg { width: 13px; height: 13px; margin-top: 2px; }
.risk-note p { margin: 0; }
.detail-header { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.detail-header .category-icon { width: 55px; height: 55px; }
.detail-header .category-icon svg { width: 31px; height: 31px; }
.detail-header .page-title { margin-bottom: 4px; }
.detail-header .page-actions { margin-left: auto; }
.back-link, .breadcrumb-link { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 0; background: transparent; color: #81958b; font-size: 11px; text-decoration: none; }
.back-link { margin-bottom: 20px; }
.back-link svg { width: 13px; height: 13px; }
.category-summary { display: flex; align-items: center; gap: 25px; margin: 21px 0; padding: 17px 22px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.category-summary > div { display: flex; align-items: baseline; gap: 9px; font-size: 11px; color: #92a098; }
.category-summary b { color: #4d6d59; font-size: 21px; font-weight: 600; }
.status-legend { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; color: #9aa4aa; font-size: 10px; }
.status-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #d4ad65; }
.legend-dot.warning { background: #d4ad65; }
.legend-dot.danger { background: #d39977; }
.legend-dot.expired { background: #c78278; }
.legend-dot.success { background: #86ab90; }
.source-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.code-input { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px !important; line-height: 1.8; min-height: 170px !important; tab-size: 2; background: #fafcfb !important; color: #65806c !important; white-space: pre; overflow: auto; }
.source-status { padding: 20px; border-radius: 9px; background: #f2f7f3; color: #7e9685; font-size: 11px; }
.source-status h3 { font-size: 13px; color: #587b62; margin-bottom: 13px; }
.source-status dl { margin: 0; }
.source-status dt { color: #9aaba0; margin-top: 10px; font-size: 10px; }
.source-status dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.sync-label { display: inline-flex; align-items: center; gap: 6px; color: #8c9d91; font-size: 10px; }
.sync-label svg { width: 12px; height: 12px; }
details { border-top: 1px solid #edf1ee; margin-top: 20px; padding-top: 16px; }
summary { cursor: pointer; font-size: 11px; color: #84988b; }
details[open] summary { margin-bottom: 17px; }
.log-list { padding: 0 22px; }
.log-item { display: flex; align-items: flex-start; gap: 13px; padding: 17px 0; border-bottom: 1px solid #edf0ef; font-size: 11px; color: #8c9991; }
.log-item:last-child { border-bottom: 0; }
.log-item > svg { color: #9db4a4; width: 16px; height: 16px; margin-top: 2px; }
.log-item strong { color: #6d8776; font-weight: 500; }
.log-item time { margin-left: auto; flex-shrink: 0; color: #a5aea9; font-size: 10px; }
.log-item p { margin: 3px 0 0; font-size: 10px; }
.rule-card { padding: 19px 0; border-bottom: 1px solid #edf1ee; }
.rule-card:last-child { border-bottom: 0; }
.rule-card h3 { font-size: 13px; color: #597561; font-weight: 500; margin: 0 0 8px; }
.rule-card p { color: #9aa79d; font-size: 11px; margin: 7px 0 0; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: #1d302a66; backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.modal { width: 570px; max-width: 100%; max-height: calc(100dvh - 48px); background: #fff; border-radius: 13px; box-shadow: 0 22px 75px #182e2540; display: flex; flex-direction: column; overflow: hidden; }
.modal.wide { width: 760px; }
.modal-header { padding: 21px 25px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.modal-header h2, .modal-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.modal-body { padding: 24px 25px; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 25px; border-top: 1px solid var(--line); flex-shrink: 0; background: #fcfdfc; }
.modal-body dl { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; margin: 0; font-size: 12px; }
.modal-body dt { color: #9ba8a1; }
.modal-body dd { margin: 0; color: #617b69; overflow-wrap: anywhere; }
.modal-body .notice { margin-top: 20px; margin-bottom: 0; }
.toast { position: fixed; left: calc(50% + 116px); transform: translateX(-50%); z-index: 200; bottom: 32px; background: #274b3e; color: #fff; border-radius: 8px; box-shadow: 0 6px 24px #223d3024; padding: 12px 20px; font-size: 12px; max-width: calc(100vw - 50px); pointer-events: none; }
.toast.error { background: #a96650; }
.login-screen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100dvh; background: #fafbf9; }
.login-visual { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 11%; background: var(--green-dark); color: #fff; overflow: hidden; }
.login-visual::before, .login-visual::after { content: ""; position: absolute; border: 1px solid #ffffff10; width: 580px; height: 580px; right: -290px; bottom: -240px; border-radius: 50%; pointer-events: none; }
.login-visual::after { width: 420px; height: 420px; right: -210px; bottom: -160px; }
.login-visual .brand { position: absolute; top: 40px; left: 45px; color: #fff; padding: 0; }
.login-visual .brand-mark { background: #ffffff17; }
.login-visual .brand-copy small { color: #a2b8ad; }
.login-visual .eyebrow { color: #90ad9d; font-size: 10px; letter-spacing: 2.7px; margin-bottom: 20px; }
.login-visual h1 { color: #f1f6ef; font-size: clamp(30px, 3.3vw, 47px); font-weight: 500; line-height: 1.5; letter-spacing: -1px; margin: 0 0 22px; }
.login-visual > p, .login-visual .subtitle { color: #91aa9a; font-size: 12px; line-height: 2; max-width: 350px; }
.login-visual ul { list-style: none; padding: 0; margin-top: 25px; display: flex; flex-direction: column; gap: 13px; color: #b5c7b9; font-size: 11px; }
.login-visual li { display: flex; align-items: center; gap: 9px; }
.login-visual li svg { width: 15px; height: 15px; color: #789b83; }
.login-visual small:last-child { position: absolute; bottom: 35px; left: 45px; font-size: 9px; letter-spacing: .8px; color: #6d907e; }
.login-card { display: flex; flex-direction: column; align-items: stretch; justify-content: center; width: 100%; max-width: 410px; justify-self: center; padding: 45px 30px; }
.login-card > .brand { display: none; }
.login-card .eyebrow { color: #a6b0aa; font-size: 10px; }
.login-card h2 { font-size: 26px; line-height: 1.5; font-weight: 600; letter-spacing: -.6px; margin: 0 0 8px; color: #294d3d; }
.login-card p { font-size: 11px; color: #9da9a1; margin-bottom: 31px; }
.login-form { display: flex; flex-direction: column; gap: 20px; }
.login-form .form-group { gap: 9px; }
.login-form .input, .login-form input:not([type=checkbox]) { min-height: 44px; background: #fff; }
.login-form .btn { min-height: 43px; margin-top: 4px; }
.login-form .notice { margin: 0; }
.login-card .form-help { margin-top: 20px; text-align: center; font-size: 10px; }
.login-card .form-help a { color: #849b8a; }
.mobile-toggle { display: none; }
.sidebar-overlay { display: none; }
.drawer-overlay { display: none; }
.spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid #d3e0d6; border-right-color: #4d785b; border-radius: 50%; animation: spin .8s linear infinite; }
.loading { display: flex; align-items: center; justify-content: center; min-height: 180px; gap: 10px; color: #9aa99e; font-size: 12px; }
/* 以下选择器对应实际业务组件，保持页面内的呈现与表单可访问性一致。 */
.startup-loading { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; color: #91a398; }
.startup-loading > svg { width: 47px; height: 47px; padding: 10px; border-radius: 12px; background: var(--green-dark); color: #fff; }
.startup-loading strong { font-size: 24px; letter-spacing: -.5px; color: var(--green-dark); }
.startup-loading > span { font-size: 12px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.text-button { appearance: none; border: 0; background: none; padding: 0; margin: 0; text-align: inherit; color: inherit; font: inherit; cursor: pointer; }
.text-button:hover { color: var(--green); }
.cell-main.text-button { color: #536a5d; font-weight: 500; font-size: 12px; }
.cert-number { font-variant-numeric: tabular-nums; letter-spacing: .1px; }
.nav-count { margin-left: auto; margin-right: 5px; color: #a2aea6; background: #f1f4f2; padding: 1px 6px; line-height: 17px; border-radius: 4px; font-size: 10px; }
.nav-item.active .nav-count { background: #e0ebe3; color: #708e7a; margin-right: 13px; }
.workspace-label span { float: right; font-size: 8px; letter-spacing: 1px; color: #bcc4c0; }
.nav-admin-label { margin-top: 16px; padding-top: 20px; border-top: 1px solid #edf1ef; }
.notification-button { position: relative; }
.notification-button b { position: absolute; top: -2px; right: -2px; min-width: 14px; height: 14px; border-radius: 7px; padding: 0 3px; display: grid; place-items: center; background: #c8996a; color: #fff; font-size: 8px; font-weight: 500; border: 2px solid #fff; line-height: 10px; }
.status-pill.status-warning { color: #b29564; }
.status-pill.status-warning::before { background: #c4a167; }
.notice-error { background: #fcf3ef; border-color: #f0ded5; color: #ae7d69; }
.notice-error strong { color: #a16d58; }
.toast-error { background: #a96650; }
.notice > .text-link { margin-left: auto; align-self: center; }
.stat-warning .stat-icon { background: #fbf4e8; color: #ba9c65; }
.stat-warning .stat-value { color: #b38b4a; }
.stat-danger .stat-icon { background: #fcf0ee; color: #bd8f80; }
.stat-danger .stat-value { color: #bc7868; }
.stat-project .stat-icon { background: #eef3f8; color: #8a9fb5; }
.text-warning { color: #b58d50 !important; }
.count-warning { background: #fcf4e6; color: #b6975d; }
.section-heading > div > p { color: #99a4ab; font-size: 11px; margin: 5px 0 0; }
.category-card > .category-top { justify-content: space-between; margin-bottom: 15px; }
.category-card > h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: #40594d; }
.category-card > p.category-meta { color: #9ca7ad; font-size: 11px; font-weight: 400; margin: 0 0 22px; line-height: 1.8; }
.category-open { display: grid; place-items: center; width: 25px; height: 25px; color: #a3b2aa; border-radius: 50%; }
.category-open svg { width: 16px; height: 16px; }
.category-card:hover .category-open { background: #eff5f0; color: #4b795b; }
.category-card > .mini-progress { width: 100%; height: 3px; margin: 0 0 12px; }
.category-card > .category-footer { border-top: 0; padding-top: 0; color: #9ba79f; }
.category-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.category-card .category-icon { color: var(--category-color, #648274); }
.category-card .category-stats span { font-size: 11px; }
.legend-dot.green { background: #86ab90; }
.legend-dot.amber { background: #d4ad65; }
.legend-dot.orange { background: #d39977; }
.legend-dot.red { background: #c78278; }
.overview-lower { grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); }
.overview-lower .table-wrap table { font-size: 11px; }
.overview-lower .status-legend { padding: 13px 22px; border-top: 1px solid #edf1ee; font-size: 10px; }
.project-activity { padding: 0 22px; }
.activity-row { display: flex; align-items: center; gap: 12px; padding: 17px 0; width: 100%; background: transparent; border: 0; border-bottom: 1px solid #edf1ee; text-align: left; }
.activity-row:last-child { border-bottom: 0; }
.activity-row:hover .activity-content strong { color: #3e7753; }
.activity-icon { width: 32px; height: 34px; border: 1px solid #e6eee8; border-radius: 7px; display: grid; place-items: center; color: #91a796; background: #fbfcfb; flex-shrink: 0; }
.activity-icon svg { width: 16px; height: 16px; }
.activity-content { flex: 1; min-width: 0; }
.activity-content > strong { display: block; font-size: 12px; font-weight: 500; color: #657a6c; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.activity-content > small { display: block; color: #a1ada5; font-size: 10px; margin: 3px 0 10px; }
.activity-content .progress { max-width: 235px; gap: 10px; }
.activity-content .progress b { font-size: 9px; color: #92a59a; font-weight: 400; min-width: 27px; }
.activity-content .progress-track { flex: 1; }
.activity-content .progress-fill { display: block; }
.panel-tip { display: flex; align-items: center; gap: 6px; background: #fafcfb; padding: 13px 22px; border-top: 1px solid #edf1ee; font-size: 9px; color: #a4b0a7; }
.panel-tip svg { width: 12px; height: 12px; }
.table-summary { display: flex; justify-content: space-between; align-items: center; padding: 11px 22px; font-size: 10px; color: #9da9a1; background: #fcfdfc; border-top: 1px solid #f0f3f0; }
.table-summary b { color: #789381; font-weight: 500; }
.date-cell { font-variant-numeric: tabular-nums; }
.filter-form { flex-direction: column; align-items: stretch; gap: 11px; }
.filter-row-secondary { font-size: 10px; }
.filter-caption { color: #9ba69f; margin-right: 4px; }
.filter-dash { color: #b6beb9; font-size: 10px; }
.filter-row .date-input { width: 145px; }
.btn-small { padding: 6px 10px; min-height: 30px; font-size: 10px; }
.project-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.project-card-top > div { flex: 1; min-width: 0; }
.project-label { color: #a5b0a9; font-size: 10px; margin-bottom: 5px; letter-spacing: .2px; }
.project-label > span { margin: 0 4px; color: #c2cbc5; }
.project-card h3 .text-button { font-size: 14px; font-weight: 600; color: #536e5c; }
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.project-tags .badge { padding: 2px 6px; font-size: 9px; }
.project-card-bottom { display: flex; align-items: center; gap: 13px; color: #a0ada5; font-size: 10px; padding-top: 13px; border-top: 1px solid #eff3f0; flex-wrap: wrap; }
.project-card-bottom .person { color: #8aa191; font-size: 11px; }
.project-card-bottom b { font-size: 10px; font-weight: 400; color: #819a89; }
.project-card-bottom .text-link { margin-left: auto; font-size: 10px; }
.project-card .risk-note { margin-top: 14px; }
.project-category-section { margin-bottom: 27px; }
.project-category-section:last-child { margin-bottom: 0; }
.section-category-icon { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #e1e9e3; border-radius: 6px; color: #8aab94; background: #f8fbf9; }
.section-category-icon svg { width: 15px; height: 15px; }
.step strong { display: block; font-weight: 400; }
.step.active strong { font-weight: 600; }
.step.blocked { color: #bc8d66; }
.step.blocked .step-dot { color: #bb8a62; background: #fcf5eb; border-color: #e9d5bd; }
.category-summary > span { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; color: #98a89d; }
.category-summary > span > svg { width: 16px; height: 16px; color: #95ad9e; }
.category-tabs { padding-left: 0; padding-right: 0; margin-bottom: 22px; }
.category-tabs .tab > span { font-size: 10px; color: #a2b2a7; }
.form-section-label { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #6c8575; font-weight: 500; margin: 27px 0 16px; }
.form-section-label:first-child { margin-top: 0; }
.form-section-label > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #eff4f0; color: #8ca996; font-size: 9px; }
.form-section-label small { color: #a3b1a8; font-size: 10px; font-weight: 400; margin-left: auto; }
.check-chip > svg { display: none; width: 12px; height: 12px; color: #6b9879; }
.check-chip.selected > svg { display: block; }
.check-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-chip:focus-within { outline: 2px solid #acc7b4; outline-offset: 2px; }
.check-group + .form-help { margin-top: 9px; }
.match-notice { margin-top: 25px; margin-bottom: 0; }
.match-results.panel { gap: 0; }
.match-results .panel-body { padding-top: 16px; }
.match-context { font-size: 11px; color: #9cac9f; line-height: 1.9; margin-bottom: 16px; padding-bottom: 15px; border-bottom: 1px solid #edf2ee; }
.match-context strong { color: #6e8d76; font-weight: 500; }
.match-results .match-card { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 16px; }
.match-index { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; color: #8eae96; font-size: 10px; border-radius: 6px; background: #edf5ee; }
.match-card > div { flex: 1; min-width: 0; }
.match-card > svg { width: 15px; height: 15px; color: #81a58c; margin-top: 3px; }
.match-card h3 { margin-bottom: 5px; font-size: 14px; }
.match-card p { font-size: 11px; }
.match-summary { color: #a7b5aa; font-size: 10px; margin: 15px 0; }
.match-empty > span { display: block; color: #b9c4bc; font-size: 9px; margin-top: 25px; }
.page-note { color: #a1ada5; font-size: 10px; margin-top: 23px; }
.rule-certifications { display: flex; flex-wrap: wrap; gap: 4px; max-width: 320px; }
.rule-note { max-width: 330px; white-space: normal; line-height: 1.8; }
.source-status.panel { position: relative; display: flex; align-items: center; gap: 14px; padding: 19px 22px; background: #fff; margin-bottom: 22px; }
.source-status .stat-icon { position: static; width: 40px; height: 40px; flex-shrink: 0; color: #8aab92; background: #f0f6f1; }
.source-status > div { flex: 1; min-width: 0; }
.source-status strong { font-size: 13px; color: #718a79; font-weight: 500; }
.source-status p { color: #a6b1a9; font-size: 10px; margin: 4px 0 0; }
.source-grid .panel-body > .form-group + .form-group, .source-grid .panel-body > p + .form-group { margin-top: 19px; }
.source-grid .panel-body > .notice { margin-top: 20px; }
.source-grid .code-input { color: #789382 !important; }
.form-group + .form-group, .form-grid + .form-group { margin-top: 18px; }
.form-grid .form-group + .form-group { margin-top: 0; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #839b8b; margin-top: 20px; }
.checkbox-label input { accent-color: var(--green); }
.checkbox-label + .notice { margin-top: 20px; }
.color-input { height: 40px; padding: 5px !important; }
.log-detail { white-space: normal; min-width: 180px; line-height: 1.8; overflow-wrap: anywhere; }
body.modal-open { overflow: hidden; }
.modal-wide { width: 760px; }
.form-modal-footer { display: flex; align-items: center; gap: 9px; width: 100%; }
.flex-spacer { flex: 1; }
.detail-status { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 25px; }
.detail-field { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.detail-field > span { color: #a0afa4; font-size: 10px; }
.detail-field > strong { font-size: 12px; font-weight: 400; color: #6d8876; overflow-wrap: anywhere; }
.detail-section-title { font-size: 13px; color: #6b8573; margin: 26px 0 16px; font-weight: 500; display: flex; align-items: center; gap: 9px; }
.detail-note { padding: 14px; border-radius: 7px; background: #f7faf8; margin-top: 20px; }
.detail-note > span { font-size: 10px; color: #a3b4a8; }
.detail-note > p { margin: 6px 0 0; color: #879e8e; font-size: 11px; line-height: 1.9; }
.related-cert { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid #e9efea; padding: 13px; border-radius: 7px; margin-bottom: 9px; }
.related-cert:hover { border-color: #c2d6c7; background: #fcfdfc; }
.related-cert > span:first-child { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; color: #93ae9c; }
.related-cert strong { font-size: 12px; font-weight: 500; color: #7f9b88; }
.related-cert small { font-size: 10px; color: #a5b7aa; overflow: hidden; text-overflow: ellipsis; }
.related-cert > svg { width: 13px; height: 13px; color: #afbeb3; }
.manage-list { display: flex; flex-direction: column; }
.manage-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 0; border-bottom: 1px solid #edf2ee; }
.manage-row:first-child { padding-top: 0; }
.manage-row:last-child { padding-bottom: 0; border-bottom: 0; }
.manage-row > span { display: flex; align-items: center; gap: 11px; min-width: 0; }
.manage-row > span > svg { width: 18px; height: 18px; color: #9cb7a4; }
.manage-row strong { font-size: 12px; color: #7d9785; font-weight: 500; }
.manage-row small { color: #adbdb2; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help-content h3 { color: #63816c; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.help-content h3:not(:first-child) { margin-top: 24px; }
.help-content p { font-size: 12px; color: #8eaa98; line-height: 2; margin-bottom: 0; }
.login-message { position: relative; z-index: 2; margin-top: -45px; }
.login-message > p { font-size: 12px; color: #9bb5a5; line-height: 2; margin-bottom: 29px; }
.login-features { display: flex; flex-direction: column; gap: 12px; color: #b0c7b7; font-size: 11px; }
.login-features > span { display: flex; align-items: center; gap: 9px; }
.login-features svg { width: 15px; height: 15px; color: #7da18a; }
.login-art { position: absolute; width: 230px; height: 195px; right: 35px; bottom: 60px; pointer-events: none; }
.orbit { position: absolute; border: 1px solid #ffffff0c; border-radius: 50%; width: 200px; height: 200px; left: 0; bottom: 0; }
.orbit-two { width: 265px; height: 265px; left: -33px; bottom: -32px; border-style: dashed; }
.art-certificate { position: absolute; width: 112px; height: 141px; left: 52px; top: 18px; transform: rotate(10deg); background: #315e48; border: 1px solid #60866c; border-radius: 10px; padding: 17px 19px; box-shadow: -14px 15px 0 #244c3b; opacity: .8; }
.art-certificate > svg { width: 30px; height: 30px; color: #8caf92; margin-bottom: 9px; }
.art-certificate > span { font-size: 7px; color: #9bb8a1; letter-spacing: 1px; display: block; }
.art-certificate > div { height: 3px; width: 100%; background: #64856b; margin-top: 9px; opacity: .5; border-radius: 2px; }
.art-certificate > div + div { width: 60%; margin-top: 5px; }
.art-certificate > b { position: absolute; right: -12px; bottom: 15px; background: #91ad7b; color: #31523a; display: grid; place-items: center; border-radius: 50%; width: 29px; height: 29px; border: 4px solid #244b37; font-weight: 500; }
.login-visual .login-copyright { font-size: 10px !important; }
.login-card > .login-form { display: flex; flex-direction: column; gap: 0; }
.login-card .login-form > .badge { align-self: flex-start; font-size: 9px; letter-spacing: .7px; padding: 4px 8px; margin-bottom: 20px; }
.login-card .login-form > h2 { margin-bottom: 8px; }
.login-card .login-form > p.subtitle { margin-bottom: 30px; font-size: 12px; }
.login-form form { width: 100%; }
.login-form form .form-group { font-size: 12px; color: #789382; }
.login-form form .form-group + .form-group { margin-top: 19px; }
.login-form form .notice { margin-top: 18px; font-size: 11px; }
.login-submit { width: 100%; justify-content: space-between; padding: 11px 16px; margin-top: 25px !important; }
.login-card .login-hint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; color: #a7b7ac; margin: 19px 0 0; }
.login-hint svg { width: 12px; height: 12px; color: #a4b7a8; }
.login-help { margin-top: 28px; padding-top: 19px; text-align: center; }
.login-help summary { font-size: 10px; color: #9cae9f; list-style-position: inside; }
.login-help p { font-size: 10px; color: #a7b7ac; line-height: 1.9; margin: 15px 0 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .main { padding-top: 38px; } .stat-card { padding: 25px; } .category-card { padding: 25px; } }
@media (max-width: 1250px) {
  :root { --sidebar: 210px; }
  .sidebar { padding-left: 13px; padding-right: 13px; }
  .main { padding: 27px 25px; }
  .topbar { padding: 0 25px; }
  .stat-grid { gap: 13px; }
  .stat-card { padding: 18px 16px 15px; }
  .stat-icon { right: 15px; top: 17px; width: 29px; height: 29px; }
  .stat-label { font-size: 11px; }
  .stat-value { font-size: 28px; }
  .category-grid { gap: 13px; }
  .category-card { padding: 17px; }
  .category-top { gap: 10px; }
  .category-icon { width: 37px; height: 37px; }
  .category-meta h3 { font-size: 13px; }
  .category-stats > div { padding-left: 12px; }
  .category-footer { font-size: 9px; }
  .split-grid, .source-grid { grid-template-columns: 1fr; gap: 20px; }
  .overview-lower { grid-template-columns: 1fr; }
  .toast { left: calc(50% + 105px); }
  .footer { padding-left: 25px; padding-right: 25px; }
}
@media (max-width: 1020px) {
  .header-actions { gap: 12px; }
  .user-menu > span:not(.avatar) { display: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { padding: 20px; }
  .stat-icon { right: 20px; top: 20px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { padding: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .page-heading { align-items: flex-start; }
  .page-actions { align-self: center; }
  .page-title { font-size: 23px; }
  .subtitle { font-size: 11px; }
}
@media (max-width: 800px) {
  :root { --sidebar: 232px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; padding-left: 18px; padding-right: 18px; z-index: 80; box-shadow: none; }
  .sidebar.open, body.menu-open .sidebar { transform: translateX(0); box-shadow: 12px 0 35px #1d3e2920; }
  .sidebar-overlay, body.menu-open .sidebar-overlay { position: fixed; inset: 0; z-index: 70; background: #1d302a55; border: 0; }
  body.menu-open .sidebar-overlay, .sidebar-overlay.open { display: block; }
  .drawer-overlay { position: fixed; inset: 0; z-index: 70; background: #1d302a55; border: 0; }
  .drawer-overlay:not([hidden]) { display: block; }
  .shell { margin-left: 0; }
  .topbar { height: 65px; padding: 0 22px; position: sticky; top: 0; z-index: 30; }
  .mobile-toggle { display: inline-grid; }
  .breadcrumbs { gap: 9px; }
  .main { padding: 25px 22px; }
  .page-heading { margin-bottom: 23px; }
  .footer { padding: 16px 22px; }
  .toast { left: 50%; }
  .login-screen { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .login-visual { padding: 12%; }
  .login-visual .brand { top: 30px; left: 25px; }
  .login-visual h1 { font-size: 27px; }
  .login-visual small:last-child { left: 25px; }
  .login-art { right: 10px; bottom: 55px; transform: scale(.8); transform-origin: right bottom; }
  .login-message { margin-top: -45px; }
  .login-card { padding: 35px 26px; }
}
@media (max-width: 580px) {
  .topbar { height: 60px; padding: 0 14px; }
  .breadcrumbs > span:first-of-type, .breadcrumbs > svg { display: none; }
  .breadcrumbs { font-size: 11px; gap: 7px; }
  .header-actions { gap: 7px; }
  .header-actions .status-pill { display: none; }
  .user-menu .avatar { width: 28px; height: 28px; font-size: 10px; }
  .main { padding: 22px 15px; }
  .page-heading { align-items: flex-start; gap: 13px; flex-wrap: wrap; margin-bottom: 21px; }
  .page-heading .page-actions { width: 100%; margin-top: 4px; }
  .page-title { font-size: 23px; margin-bottom: 6px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 5px; }
  .subtitle { line-height: 1.9; font-size: 11px; }
  .page-actions .btn { font-size: 11px; min-height: 34px; padding: 7px 11px; }
  .stat-grid { gap: 10px; margin-bottom: 24px; }
  .stat-card { padding: 16px 15px 13px; border-radius: 9px; }
  .stat-icon { right: 13px; top: 14px; width: 25px; height: 25px; border-radius: 6px; }
  .stat-icon svg { width: 14px; height: 14px; }
  .stat-label { font-size: 10px; margin-bottom: 13px; }
  .stat-value { font-size: 27px; margin-bottom: 10px; }
  .stat-meta { font-size: 9px; }
  .section-heading { margin-bottom: 13px; gap: 8px; }
  .section-title { font-size: 14px; gap: 7px; }
  .section-title small { display: none; }
  .text-link { font-size: 10px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .category-card { padding: 19px; border-radius: 10px; }
  .category-card > h3 { font-size: 15px; }
  .category-card > p.category-meta { font-size: 11px; margin-bottom: 20px; }
  .category-top { gap: 12px; margin-bottom: 20px; }
  .category-meta h3 { font-size: 14px; }
  .category-meta p { font-size: 10px; }
  .category-icon { width: 40px; height: 40px; }
  .category-stats { margin-bottom: 17px; }
  .category-stats > div { padding-left: 20px; }
  .category-stats b, .category-stats strong { font-size: 22px; }
  .category-footer { padding-top: 13px; font-size: 10px; }
  .panel { margin-bottom: 18px; border-radius: 10px; }
  .panel-header { padding: 17px; gap: 10px; }
  .panel-header h2, .panel-header h3 { font-size: 13px; }
  .panel-body { padding: 18px; }
  .toolbar { padding: 15px; gap: 11px; }
  .filter-row { width: 100%; gap: 8px; }
  .filter-row > .search-input { width: 100%; }
  .search-input input { width: 100%; min-width: 0; }
  .search-input { width: 100%; }
  .filter-row .select, .filter-row select { flex: 1; min-width: 100px; }
  .filter-row .field { flex: 1; }
  .filter-row .field .input { width: 100%; min-width: 100px; }
  .filter-row-secondary { gap: 6px; }
  .filter-row-secondary .filter-caption { width: 100%; margin-bottom: 3px; }
  .filter-row-secondary .date-input { min-width: 0; width: calc(50% - 17px); font-size: 11px; }
  .filter-row-secondary .btn { margin-top: 3px; }
  th { padding: 11px 14px; }
  td { padding: 14px; }
  th:first-child, td:first-child { padding-left: 17px; }
  th:last-child, td:last-child { padding-right: 17px; }
  .table-footer { padding: 13px 17px; gap: 10px; flex-wrap: wrap; }
  .table-footer .sync-info { font-size: 9px; }
  .table-summary { padding: 11px 17px; gap: 9px; font-size: 9px; }
  .table-summary > span:last-child { font-size: 8px; }
  .project-activity { padding: 0 17px; }
  .overview-lower .status-legend { padding: 12px 17px; }
  .activity-row { padding: 15px 0; }
  .activity-content .progress { max-width: none; }
  .panel-tip { padding: 12px 17px; font-size: 8px; }
  .notice { padding: 12px; font-size: 10px; line-height: 1.9; gap: 7px; margin-bottom: 18px; }
  .notice svg { width: 14px; height: 14px; }
  .footer { font-size: 9px; padding: 15px; gap: 10px; flex-wrap: wrap; }
  .footer > span:last-child { font-size: 8px; }
  .tabs { padding: 0 17px; gap: 22px; overflow-x: auto; }
  .tab { padding-top: 14px; padding-bottom: 12px; font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; }
  .form-group.full { grid-column: auto; }
  .form-group label { font-size: 11px; }
  .form-group .input, .form-group .select, .form-group input:not([type=checkbox]):not([type=radio]), .form-group textarea { font-size: 13px; min-height: 42px; }
  .check-chip { padding: 8px 10px; font-size: 11px; }
  .match-empty { padding: 45px 15px; }
  .match-empty svg { width: 38px; height: 38px; }
  .project-card { padding: 18px; }
  .project-card h3 { font-size: 13px; }
  .project-card h3 .text-button { font-size: 13px; }
  .project-card-top { gap: 8px; }
  .project-card-top > .badge { font-size: 9px; }
  .project-card-bottom { gap: 10px; font-size: 9px; }
  .project-card-bottom .text-link { width: 100%; margin-left: 30px; }
  .stepper { margin: 21px -5px; }
  .step { font-size: 9px; }
  .step small { font-size: 7px; }
  .detail-header { gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  .detail-header .category-icon { width: 47px; height: 47px; }
  .detail-header .page-title { font-size: 21px; }
  .detail-header .page-actions { margin-left: 0; width: 100%; }
  .category-summary { gap: 20px; padding: 15px; overflow-x: auto; }
  .category-summary > div { gap: 6px; flex-shrink: 0; font-size: 10px; }
  .category-summary { justify-content: space-between; gap: 9px; }
  .category-summary > span { gap: 5px; font-size: 9px; flex-shrink: 0; }
  .category-summary > span > svg { display: none; }
  .category-tabs { margin-bottom: 18px; padding-left: 0; }
  .category-summary b { font-size: 20px; }
  .status-legend { gap: 10px; font-size: 9px; }
  .source-grid, .split-grid { gap: 18px; }
  .source-status.panel { padding: 16px; gap: 11px; flex-wrap: wrap; }
  .source-status .stat-icon { width: 34px; height: 34px; }
  .source-status strong { font-size: 12px; }
  .source-status p { font-size: 9px; line-height: 1.8; }
  .source-status > .badge { margin-left: 45px; }
  .code-input { font-size: 10px !important; min-height: 150px !important; }
  .log-list { padding: 0 17px; }
  .log-item { gap: 8px; flex-wrap: wrap; }
  .log-item time { width: 100%; margin-left: 24px; font-size: 9px; }
  .modal-backdrop { padding: 14px; }
  .modal { border-radius: 11px; max-height: calc(100dvh - 28px); }
  .modal-header { padding: 17px 19px; }
  .modal-header h2, .modal-header h3 { font-size: 15px; }
  .modal-body { padding: 20px 19px; }
  .modal-body dl { grid-template-columns: 75px minmax(0, 1fr); font-size: 11px; gap: 13px; }
  .modal-footer { padding: 14px 19px; }
  .detail-grid { gap: 18px 16px; }
  .detail-field > strong { font-size: 11px; }
  .related-cert { padding: 11px; gap: 7px; }
  .related-cert > span:first-child { flex-wrap: wrap; gap: 6px; }
  .related-cert > span:first-child > svg { width: 15px; height: 15px; }
  .related-cert small { width: 100%; font-size: 9px; }
  .related-cert > .badge { font-size: 9px; }
  .manage-row > span { flex-wrap: wrap; gap: 7px; }
  .manage-row small { width: 100%; margin-left: 25px; font-size: 9px; }
  .form-modal-footer { gap: 7px; }
  .form-modal-footer .btn { font-size: 10px; padding: 8px 10px; }
  .toast { bottom: 23px; font-size: 11px; width: max-content; max-width: calc(100vw - 35px); padding: 11px 17px; }
  .login-screen { display: flex; flex-direction: column; justify-content: center; min-height: 100dvh; background: #f7faf7; }
  .login-visual { display: none; }
  .login-card { max-width: 390px; padding: 35px 28px; margin: 0 auto; }
  .login-card > .brand { display: flex; align-self: flex-start; padding: 0 0 38px; }
  .login-card > .brand .brand-copy { font-size: 23px; }
  .login-card h2 { font-size: 25px; }
  .login-card > p { margin-bottom: 30px; line-height: 1.9; }
  .login-card .form-help { font-size: 10px; line-height: 1.9; }
  .login-form { gap: 21px; }
  .login-form .input, .login-form input:not([type=checkbox]) { min-height: 45px; font-size: 14px; }
  .login-form .btn { min-height: 45px; }
  .login-card > .login-form > .badge { margin-bottom: 21px; }
  .login-card .login-form > h2 { font-size: 25px; }
  .login-form form .form-group + .form-group { margin-top: 21px; }
  .login-card .login-hint { font-size: 9px; margin-top: 21px; }
  .login-help { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* 独立共享链接与自动识别状态。 */
.source-connections { display: flex; flex-direction: column; gap: 24px; }
.source-connection + .source-connection { border-top: 1px solid var(--line); padding-top: 22px; }
.source-connection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-connection p { margin: 9px 0; font-size: 12px; color: #6e7f75; line-height: 1.8; }
.source-connection .notice { margin-top: 12px; }
.source-columns { margin-top: 16px; font-size: 12px; color: #718478; }
.source-columns summary, .advanced-source summary { cursor: pointer; }
.source-column-list { display: grid; gap: 6px; font-size: 11px; }
.source-column-list code { color: #395c49; }
.advanced-source > summary { padding: 18px 22px; color: #6e7f75; font-size: 12px; }
.advanced-source > .panel-body { border-top: 1px solid var(--line); }
.source-progress-value { font-size: 12px; color: #678371; margin: 16px 0 0; }
.source-progress-value strong { font-size: 20px; margin-left: 10px; color: #234e42; }
.detail-note > p { white-space: pre-wrap; }
.notice > .text-link { margin-left: auto; align-self: center; }
@media (max-width: 580px) { .notice { flex-wrap: wrap; } .notice > .text-link { margin-left: 21px; } }
.source-progress-line { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 11px; color: #74877b; }
.source-progress-line > .progress { flex: 1; }
.source-progress-line .progress-fill { display: block; }
.inferred-node-note { margin: -6px 0 16px; font-size: 10px; }
/* 仅未完成且计划日期早于今天的认证项显示延期。 */
.overdue-badge { display: inline-flex; align-items: center; gap: 4px; background: #fff0eb; color: #be503b; border: 1px solid #f3d2c8; border-radius: 5px; padding: 3px 7px; font-size: 10px; white-space: nowrap; line-height: 1.6; }
.overdue-badge svg { width: 12px; height: 12px; }
.group-project-completion .group-overdue-badge { display: flex; width: max-content; margin: 0 0 6px auto; }
.overdue-count { color: #bd634c !important; }
.overdue-count svg { width: 12px; height: 12px; }
.cert-task-date { font-size: 11px !important; font-variant-numeric: tabular-nums; }
.cert-task-date > span { display: block; }
.cert-task-date .overdue-badge { display: inline-flex; margin-top: 5px; font-size: 9px; padding: 2px 5px; }
.cert-task-date.is-overdue > span:first-child { color: #b35d47; }
.cert-progress-table table { min-width: 900px; }
.cert-progress-table th:first-child { width: 16%; }
.cert-progress-table th:nth-child(2) { width: 11%; }
.cert-progress-table th:nth-child(3) { width: 11%; }
.cert-progress-table th:nth-child(4) { width: 15%; }
.cert-progress-table th:nth-child(5) { width: 15%; }
.cert-progress-table th:nth-child(6) { width: auto; }
/* 按真实项目汇总的认证进度卡：每行一项认证，不推断流程节点。 */
.grouped-project-grid { display: grid; gap: 20px; margin-bottom: 24px; }
.grouped-project-card.project-card { padding: 0; border-radius: 12px; overflow: hidden; }
.group-project-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; }
.group-project-identity { display: flex; gap: 13px; align-items: center; min-width: 0; }
.group-project-icon { display: grid; place-items: center; width: 42px; height: 44px; border: 1px solid #dfe9e3; color: #527e64; background: #f3f7f4; border-radius: 10px; flex-shrink: 0; }
.group-project-identity h3 { margin: 0 0 4px; }
.group-project-identity h3 .text-button { font-size: 17px; color: #294d3c; font-weight: 600; text-align: left; }
.group-project-identity p { margin: 0; font-size: 11px; color: #7c8f82; }
.group-project-completion { text-align: right; flex-shrink: 0; }
.group-project-completion strong { display: block; font-size: 24px; color: #365a46; font-weight: 600; line-height: 1.3; margin-top: 7px; }
.group-project-completion small { font-size: 11px; font-weight: 400; color: #8a9a8f; }
.group-progress-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 24px; border-top: 1px solid #edf1ee; background: #fcfdfc; }
.group-status-counts { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; color: #7c8e80; font-size: 11px; }
.group-status-counts > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot.blue { background: #7d9eb9; }
.legend-dot.gray { background: #b5bfba; }
.cert-progress-table table { min-width: 760px; white-space: normal; table-layout: fixed; }
.cert-progress-table th { font-size: 11px; padding-top: 12px; padding-bottom: 12px; }
.cert-progress-table td { padding-top: 15px; padding-bottom: 15px; font-size: 12px; }
.cert-progress-table th:first-child { width: 19%; }
.cert-progress-table th:nth-child(2) { width: 13%; }
.cert-progress-table th:nth-child(3) { width: 13%; }
.cert-progress-table th:nth-child(4) { width: 17%; }
.cert-progress-table th:nth-child(5) { width: auto; }
.cert-progress-table th:last-child { width: 45px; padding-left: 4px; padding-right: 10px; }
.cert-task-name { color: #4e6c58; font-weight: 600; overflow-wrap: anywhere; line-height: 1.7; }
.cert-task-market { font-size: 11px !important; color: #8b9b90; }
.cert-task-progress .progress { gap: 8px; min-width: 90px; }
.cert-task-progress .progress-fill { display: block; }
.cert-task-progress .progress-fill.is-complete { background: #6e9d79; }
.cert-task-progress b { font-size: 11px; font-weight: 500; min-width: 33px; text-align: right; }
.cert-task-note > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.8; color: #84958a; font-size: 11px; overflow-wrap: anywhere; }
.project-page-summary { display: flex; flex-wrap: wrap; gap: 25px; align-items: baseline; color: #849689; font-size: 12px; padding: 0 2px 22px; }
.project-page-summary b { color: #365e46; font-size: 23px; font-weight: 600; padding-right: 4px; }
.project-page-summary .summary-caption { margin-left: auto; color: #a3afa6; font-size: 11px; }
.cert-detail-current { display: flex; gap: 18px; align-items: center; background: #f5f9f6; border: 1px solid #e5eee7; border-radius: 9px; padding: 17px 20px; }
.cert-detail-current strong { color: #365e46; font-size: 26px; font-weight: 600; }
.source-row-label { margin-top: 14px; }
.group-no-progress { padding: 24px; font-size: 12px; color: #8c9d91; display: flex; align-items: center; gap: 8px; }
.refresh-custom-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; margin-top: 15px; }
.refresh-custom-fields > .form-group { margin-top: 0; }
.refresh-custom-fields > p { grid-column: 1 / -1; }
.rule-map-table .rule-condition { display: block; max-width: 340px; min-width: 160px; white-space: normal; line-height: 1.8; color: #7b8c80; font-size: 11px; }
.rule-map-table .cell-sub { white-space: normal; max-width: 270px; }
.rule-catalog-source { font-size: 11px; }
select[multiple] { min-height: 104px; }
.activity-content .progress b { min-width: 75px; }
@media (max-width: 800px) {
  .group-project-header { padding: 18px; }
  .group-progress-summary { padding: 12px 18px; }
  .project-page-summary { gap: 16px; }
  .project-page-summary .summary-caption { width: 100%; margin-left: 0; }
}
@media (max-width: 580px) {
  .group-project-header { gap: 10px; padding: 17px 15px; }
  .group-project-identity { gap: 10px; }
  .group-project-icon { width: 31px; height: 34px; border-radius: 7px; }
  .group-project-identity h3 .text-button { font-size: 14px; line-height: 1.7; }
  .group-project-completion strong { font-size: 21px; }
  .group-project-completion small { font-size: 9px; }
  .group-project-completion .badge { font-size: 9px; }
  .group-progress-summary { padding: 11px 15px; align-items: flex-start; gap: 8px; }
  .group-status-counts { gap: 10px; font-size: 10px; }
  .cert-progress-table table { min-width: 670px; }
  .cert-progress-table th:first-child { width: 17%; }
  .cert-progress-table th:nth-child(4) { width: 19%; }
  .cert-progress-table td, .cert-progress-table th { padding-left: 11px; padding-right: 11px; }
  .cert-progress-table td:first-child, .cert-progress-table th:first-child { padding-left: 15px; }
  .refresh-custom-fields { gap: 10px; }
}
.ledger-project-list { display: grid; gap: 18px; margin-top: 15px; }
.ledger-project-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ledger-project-header { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.ledger-project-header h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.ledger-project-header p { margin: 6px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ledger-cert-grid { padding: 16px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ledger-cert-item { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #fcfdfc; }
.ledger-cert-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ledger-cert-heading strong { font-size: 15px; }
.ledger-cert-date { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 12px; }
.ledger-cert-date span, .ledger-note>span, .ledger-source-note>span { font-size: 12px; color: #77877f; }
.ledger-cert-date b { font-size: 14px; font-weight: 600; }
.ledger-renewal { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.ledger-note p, .ledger-source-note p { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: 12px; }
.ledger-source-note { border-top: 1px dashed var(--line); padding-top: 8px; }
.ledger-cert-actions { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 7px; flex-wrap: wrap; }
.ledger-match { font-size: 11px; color: #277258; }
@media (max-width: 1050px) { .ledger-cert-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ledger-project-header { align-items: flex-start; flex-direction: column; padding: 16px; } .ledger-cert-grid { padding: 12px; } }
.ledger-overseas-card > summary { cursor: pointer; list-style: none; }
.ledger-overseas-card > summary::-webkit-details-marker { display: none; }
.ledger-expand-label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #438378; }
.ledger-overseas-card[open] .ledger-expand-label svg { transform: rotate(180deg); }
.ledger-market h4 { margin: 0; padding: 12px 18px 0; font-size: 13px; color: #476653; }
.ledger-market + .ledger-market { border-top: 1px solid var(--line); }
.ledger-raw-value { font-size: 12px; color: #a36d15; overflow-wrap: anywhere; }
.library-intro { display: flex; align-items: center; gap: 15px; padding: 22px 24px; margin-bottom: 20px; border: 1px solid #dce8e1; border-radius: 12px; background: #f0f6f2; }
.library-intro > svg { width: 34px; height: 34px; color: #47715b; flex-shrink: 0; }
.library-intro > div { flex: 1; min-width: 0; }
.library-intro strong { font-size: 15px; color: #365b47; }
.library-intro p { margin: 6px 0 0; font-size: 12px; line-height: 1.8; color: #74867a; }
.library-search { flex: 1; min-width: 220px; }
.library-search input { width: 100%; }
.library-result-count { margin-left: auto; font-size: 12px; color: #8b9a91; }
.library-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.library-card { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; flex-direction: column; }
.library-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.library-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #43705b; background: #edf4ef; }
.library-card-icon svg { width: 27px; height: 27px; }
.library-card-number { font-size: 24px; font-weight: 500; color: #d4ded8; }
.library-card h2 { margin: 0 0 12px; font-size: 20px; color: #2c4637; }
.library-product-tags { display: flex; flex-wrap: wrap; gap: 7px; min-height: 24px; }
.library-description { color: #829088; font-size: 12px; line-height: 1.8; margin: 14px 0 24px; }
.library-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.library-actions .btn { font-size: 12px; }
.library-url { color: #95a19a; font-size: 11px; line-height: 1.7; margin-top: 16px; overflow-wrap: anywhere; user-select: text; }
@media (max-width: 760px) {
  .library-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .library-card { padding: 20px; }
  .library-intro { padding: 18px; flex-wrap: wrap; align-items: flex-start; }
  .library-intro > div { flex-basis: calc(100% - 50px); }
  .library-intro > .badge { margin-left: 49px; }
  .library-search { min-width: 0; width: 100%; flex-basis: 100%; }
}
.filter-row .project-filter { min-width: 170px; max-width: 270px; }
.expiry-reminder-notice, .expiry-reminder-intro { display: flex; align-items: flex-start; gap: 12px; background: #fff7e9; border: 1px solid #ecd3a5; border-radius: 10px; padding: 17px 19px; color: #865317; }
.expiry-reminder-notice { align-items: center; margin-bottom: 16px; }
.expiry-reminder-notice > svg, .expiry-reminder-intro > svg { width: 23px; height: 23px; flex-shrink: 0; color: #be7c20; }
.expiry-reminder-notice > div, .expiry-reminder-intro > div { flex: 1; min-width: 0; }
.expiry-reminder-notice strong, .expiry-reminder-intro strong { font-size: 14px; line-height: 1.6; }
.expiry-reminder-notice p, .expiry-reminder-intro p { margin: 5px 0 0; font-size: 12px; line-height: 1.7; }
.expiry-reminder-intro { margin-bottom: 18px; }
.expiry-reminder-table { min-width: 680px; }
.expiry-reminder-table .reminder-note { max-width: 170px; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
  .expiry-reminder-notice { flex-wrap: wrap; padding: 14px; }
  .expiry-reminder-notice > div { flex-basis: calc(100% - 35px); }
  .expiry-reminder-notice > button { margin-left: 35px; }
  .filter-row .project-filter { min-width: 130px; max-width: 100%; }
}
