﻿:root {
  --ink: #1c332c;
  --muted: #465a53;
  --muted-soft: #547066;
  --green: #4c9a5a;
  --green-dark: #2f7543;
  --mint: #e8f6e8;
  --pale: #f5fbf4;
  --line: rgba(77, 142, 91, .16);
  --glass: rgba(255, 255, 255, .78);
  --glass-strong: rgba(255, 255, 255, .92);
  --shadow: 0 20px 60px rgba(69, 128, 82, .14);
  --shadow-soft: 0 10px 28px rgba(69, 128, 82, .09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --text-helper: .84rem;
  --text-helper-sm: .8rem;
  --signature-max-width: 120px;
  --signature-max-height: 48px;
  --signature-visual-max-width: 72px;
}

* { transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease, color .22s ease; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 72% 10%, rgba(170, 222, 151, .42), transparent 23rem),
    radial-gradient(circle at 10% 4%, rgba(191, 232, 202, .72), transparent 26rem),
    linear-gradient(180deg, #f8fcf5 0%, #eef8ee 42%, #f7fbf6 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 38vh;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse at 13% 95%, rgba(67, 132, 83, .25) 0 12%, transparent 35%),
    radial-gradient(ellipse at 38% 104%, rgba(92, 151, 107, .18) 0 18%, transparent 42%),
    radial-gradient(ellipse at 76% 105%, rgba(77, 143, 92, .2) 0 16%, transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(216, 238, 219, .62));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .45;
  background-image: radial-gradient(rgba(48, 117, 67, .13) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 55%);
}

.app-shell-frame { width: 100%; min-height: 100vh; overflow-x: hidden; }
.app-shell { min-height: var(--app-shell-min-height, 100vh); transform-origin: top left; }
.app-nav {
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.18);
  box-shadow: 0 16px 48px rgba(63, 122, 76, .12);
  border-right: 1px solid rgba(255,255,255,.76);
  border-bottom: 1px solid rgba(77, 142, 91, .12);
}
.app-nav.navbar { padding-top: 0; padding-bottom: 0; }
.navbar .container-fluid { gap: 1rem; }
.brand-strip { display: flex; align-items: center; justify-content: center; width: 100%; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  min-height: 42px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.02em;
  padding-top: .12rem;
  padding-bottom: .12rem;
}
.brand-strip .navbar-brand { justify-content: center; min-width: 0; margin-right: 0; width: 100%; }
.navbar-brand span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navbar-brand:hover { color: var(--green-dark); }
.brand-logo { display: block; flex: 0 0 auto; object-fit: contain; }
.brand-logo-nav {
  width: 202px;
  max-width: 100%;
  height: auto;
}
.navbar-toggler { border: 0; box-shadow: none !important; }
.nav-link {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 46px;
  color: #536b62;
  border-radius: 14px;
  padding: 0 .95rem 0 1.15rem !important;
  font-weight: 700;
  line-height: 1;
  width: 100%;
  white-space: nowrap;
}
.nav-link::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: .62rem;
  background: rgba(76, 154, 90, .28);
  box-shadow: 0 0 0 4px rgba(76, 154, 90, 0);
}
.nav-link:hover { color: var(--green-dark); background: linear-gradient(90deg, #e9f7e8, rgba(233, 247, 232, .4)); transform: translateX(2px); }
.nav-link:hover::before { background: var(--green); box-shadow: 0 0 0 4px rgba(76, 154, 90, .1); }
.nav-primary-link.active { color: var(--green-dark); background: linear-gradient(90deg, #e9f7e8, rgba(233,247,232,.45)); }
.nav-message-badge { display: inline-grid; place-items: center; min-width: 1.15rem; height: 1.15rem; margin-left: auto; padding: 0 .32rem; border-radius: 999px; color: #fff; background: #ff6b54; font-size: .7rem; font-weight: 900; }
.nav-modules { gap: .4rem; }
.nav-module { width: 100%; }
.nav-primary-link, .nav-group-toggle {
  min-height: 46px;
  border: 1px solid rgba(76,154,90,.13);
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 .95rem 0 1.15rem;
  border-radius: 14px;
  color: #536b62;
  font-weight: 800;
  text-align: left;
}
.nav-group-toggle span { display: inline-flex; align-items: center; min-width: 0; line-height: 1; }
.nav-group-toggle span::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-right: .62rem;
  border-radius: 50%;
  background: rgba(76,154,90,.28);
}
.nav-group-toggle em {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .62;
}
.nav-group-toggle[aria-expanded="true"] em { transform: rotate(225deg); }
.nav-group-toggle:hover, .nav-group-toggle.active { color: var(--green-dark); background: linear-gradient(90deg, #e9f7e8, rgba(233,247,232,.45)); }
.nav-group-toggle:hover span::before, .nav-group-toggle.active span::before { background: var(--green); box-shadow: 0 0 0 4px rgba(76,154,90,.1); }
.nav-submenu {
  margin: .34rem 0 .3rem 1rem;
  padding: .2rem 0 .2rem .7rem;
  border-left: 1px solid rgba(76,154,90,.18);
}
.nav-sub-link {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 .65rem;
  border-radius: 11px;
  color: #61786f;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}
.nav-sub-link::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin-right: .5rem;
  border-radius: 50%;
  background: rgba(76,154,90,.34);
}
.nav-sub-link:hover { color: var(--green-dark); background: rgba(233,247,232,.68); transform: translateX(2px); }
.nav-sub-link.active { color: var(--green-dark); background: rgba(233,247,232,.86); font-weight: 850; }
.nav-sub-link.active::before { background: var(--green); box-shadow: 0 0 0 3px rgba(76,154,90,.12); }
.nav-tools .link-light { color: #5f746c !important; text-decoration: none; font-weight: 700; }
.nav-tools .link-light:hover { color: var(--green-dark) !important; }
.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: .72rem;
  width: 100%;
  padding: .72rem;
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(235,248,234,.68));
  border: 1px solid rgba(76,154,90,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), var(--shadow-soft);
}
.sidebar-profile-card:hover { color: var(--green-dark); background: rgba(239,249,238,.88); transform: translateY(-1px); }
.sidebar-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 17px; font-size: 1.35rem; }
.sidebar-profile-text { display: block; flex: 1 1 auto; min-width: 0; }
.sidebar-profile-text strong, .sidebar-profile-text em { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile-text strong { color: #244538; font-weight: 900; }
.sidebar-profile-text em { color: var(--muted); margin-top: .1rem; font-style: normal; font-size: .78rem; font-weight: 800; line-height: 1.25; white-space: normal; overflow: visible; text-overflow: clip; }
.text-white-50 { color: #738780 !important; }
.btn-outline-light { color: var(--green-dark); border-color: rgba(76,154,90,.28); background: rgba(255,255,255,.5); }
.btn-outline-light:hover { color: #fff; background: var(--green); border-color: var(--green); }

main.container-fluid {
  min-width: 0;
  min-height: var(--app-shell-min-height, 100dvh);
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(170, 222, 151, .28), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(238,248,238,.34));
}
.page-scale-frame, .page-scale-content { width: 100%; max-width: none; min-width: 0; }
.page-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.45rem;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 30px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.9), rgba(237, 249, 236, .74)),
    radial-gradient(circle at 88% 20%, rgba(111, 179, 113, .22), transparent 13rem);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 260px;
  height: 110px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 100%, rgba(74,139,83,.23) 0 28%, transparent 58%),
    radial-gradient(ellipse at 68% 100%, rgba(91,161,104,.18) 0 26%, transparent 56%);
  opacity: .85;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero.compact { padding: 1.1rem 1.25rem; }
h1 { font-weight: 900; letter-spacing: -.045em; margin: 0; color: #244538; text-wrap: balance; }
h2 { font-size: 1.04rem; font-weight: 900; margin: 0; color: #244538; }
.eyebrow { color: var(--green-dark); font-weight: 900; letter-spacing: .08em; margin-bottom: .35rem; font-size: var(--text-helper-sm); }
.muted { color: var(--muted); margin-bottom: 0; font-size: var(--text-helper); line-height: 1.45; }
.form-text { color: var(--muted) !important; font-size: var(--text-helper-sm) !important; }
.text-muted { color: var(--muted) !important; }

.metric-card, .table-card, .work-section, .form-card, .narrow-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter: blur(20px) saturate(1.16);
}
.metric-card { min-height: 132px; padding: 1.25rem; position: relative; overflow: hidden; }
.metric-card::after { content: ""; position: absolute; right: -2.2rem; bottom: -2.2rem; width: 7rem; height: 7rem; border-radius: 42% 58% 46% 54%; background: linear-gradient(135deg, rgba(117, 199, 112, .24), rgba(255,255,255,.18)); }
.metric-card:hover, .table-card:hover, .work-section:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(69,128,82,.14); }
.metric-card span { color: var(--muted); font-weight: 800; }
.metric-card strong { display: block; color: var(--green); font-size: 2.55rem; line-height: 1; margin: .55rem 0; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.metric-card p { color: var(--muted); margin: 0; }
.soft-warning::after { background: linear-gradient(135deg, rgba(251, 176, 64, .18), rgba(255,255,255,.2)); }
.soft-blue::after { background: linear-gradient(135deg, rgba(119, 180, 230, .18), rgba(255,255,255,.2)); }
.soft-danger::after { background: linear-gradient(135deg, rgba(255, 113, 113, .16), rgba(255,255,255,.2)); }

.table-card { padding: .8rem; overflow-x: auto; overflow-y: hidden; }
.table { margin: 0; --bs-table-bg: transparent; color: var(--ink); }
.table-scroll-hint { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .45rem; padding: .32rem .62rem; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.78); border: 1px solid rgba(76,154,90,.16); font-size: var(--text-helper-sm); font-weight: 900; }
.table-scroll-hint::before { content: "…"; color: var(--green-dark); font-weight: 900; }
.ledger-scroll-table { position: relative; }
.ledger-scroll-table .table,
.ledger-scroll-table .table.resizable-table {
  table-layout: fixed;
  width: 100%;
  min-width: max(100%, 960px);
  border-collapse: separate;
  border-spacing: 0;
}
.ledger-scroll-table .table :where(th, td) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid rgba(76,154,90,.12);
  background-clip: padding-box;
}
.ledger-scroll-table .table :where(th, td):first-child,
.ledger-scroll-table .table :where(th, td):last-child {
  position: sticky;
  z-index: 2;
}
.ledger-scroll-table .table :where(th, td):first-child {
  left: 0;
  box-shadow: 8px 0 12px -10px rgba(69,128,82,.42);
}
.ledger-scroll-table .table :where(th, td):last-child {
  right: 0;
  box-shadow: -8px 0 12px -10px rgba(69,128,82,.42);
}
.ledger-scroll-table .table thead th {
  background: rgba(233, 247, 232, .98);
  border-bottom: 1px solid rgba(76,154,90,.16);
}
.ledger-scroll-table .table thead th:first-child,
.ledger-scroll-table .table thead th:last-child {
  z-index: 3;
  background: rgba(233, 247, 232, .98);
}
.ledger-scroll-table .table tbody td {
  background: rgba(255, 255, 255, .98);
}
.ledger-scroll-table .table tbody td:first-child,
.ledger-scroll-table .table tbody td:last-child {
  background: rgba(252, 255, 252, .98);
}
.ledger-scroll-table .table tbody tr:hover td {
  background: rgba(239, 249, 238, .98);
}
.ledger-scroll-table .table tbody tr:hover td:first-child,
.ledger-scroll-table .table tbody tr:hover td:last-child {
  background: rgba(233, 247, 232, .98);
}
.ledger-ellipsis { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-scroll-table .table td .seal-name-inline { max-width: 100%; }
.ledger-scroll-table .table td .status-pill { max-width: 100%; }
.table thead th {
  color: #5f746c;
  font-size: .86rem;
  background: rgba(233, 247, 232, .86);
  border-bottom: 1px solid rgba(76,154,90,.16);
}
.table > :not(caption) > * > * {
  border-bottom-color: rgba(76,154,90,.12);
}
.table tbody tr:hover { background: rgba(239, 249, 238, .72); }
.table thead th, .btn, .status-pill, .task-chip, .quick-actions a, .table-actions a, .table-actions button { white-space: nowrap; }
.table td { overflow-wrap: anywhere; word-break: break-word; border-bottom: 1px solid rgba(76,154,90,.12); }
.work-table :where(th, td) { white-space: normal; }
.resizable-table { table-layout: fixed; width: max-content; min-width: 100%; }
.resizable-table th { position: relative; min-width: 56px; user-select: none; }
.resizable-table td, .resizable-table th { overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.column-resizer { position: absolute; top: 0; right: -3px; width: 7px; height: 100%; cursor: col-resize; z-index: 2; }
.column-resizer:hover, .column-resizer.dragging { background: rgba(76,154,90,.22); }
.resizable-table .form-control-sm { min-height: 31px; padding-left: .45rem; padding-right: .45rem; }
.consumable-search-results { position: absolute; left: 0; right: 0; top: calc(100% + .2rem); z-index: 30; display: grid; gap: .2rem; max-height: 220px; overflow-y: auto; padding: .35rem; border-radius: 12px; background: rgba(255,255,255,.98); border: 1px solid rgba(76,154,90,.18); box-shadow: var(--shadow-soft); }
.consumable-search-results:empty { display: none; }
.consumable-search-option, .consumable-search-empty { width: 100%; padding: .42rem .52rem; border: 0; border-radius: 9px; text-align: left; color: var(--ink); background: transparent; font-size: .82rem; }
.consumable-search-option:hover { color: var(--green-dark); background: rgba(233,247,232,.86); }
.consumable-search-empty { color: var(--muted); }
.consumable-items-card { overflow-y: visible; }
.consumable-items-table td { overflow: visible; }
.consumable-items-table .position-relative { z-index: 3; }
.consumable-items-table .position-relative:focus-within { z-index: 70; }
.editable-table-card { overflow-y: visible; }
.editable-form-table td { overflow: visible; }
.modal-backdrop.show, .offcanvas-backdrop.show { opacity: .42; backdrop-filter: blur(8px); }
.modal-content, .offcanvas { border: 1px solid rgba(255,255,255,.84); border-radius: 24px; background: rgba(252,255,252,.96); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(1.1); }
.modal-header, .modal-footer { border-color: rgba(76,154,90,.12); }
.modal-header { align-items: flex-start; padding: .95rem 1rem .68rem; }
.modal-title, .modal-header h2 { color: var(--ink); font-size: 1.08rem; font-weight: 900; }
.modal-body { padding: .85rem 1rem; }
.modal-footer { gap: .45rem; padding: .68rem 1rem calc(.68rem + env(safe-area-inset-bottom)); }
.modal-footer > * { margin: 0; }
.modal-body .table-card { max-height: 60vh; overflow: auto; }
.btn-close { width: 34px; height: 34px; border-radius: 999px; background-color: rgba(233,247,232,.92); background-size: .72rem; opacity: .84; box-shadow: none; }
.btn-close:hover { opacity: 1; background-color: #e0f4df; }
.app-confirm-modal .modal-dialog { width: min(360px, calc(100vw - 2rem)); margin-left: auto; margin-right: auto; }
.app-confirm-modal .modal-content { overflow: hidden; border-radius: 24px; }
.app-confirm-modal .modal-body { display: flex; align-items: flex-start; gap: .72rem; padding: 1rem 1rem .65rem; }
.app-confirm-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #58a766, #3e9650); font-weight: 950; box-shadow: 0 10px 22px rgba(76,154,90,.24); }
.app-confirm-copy { min-width: 0; }
.app-confirm-copy h2 { margin: 0; color: var(--ink); font-size: 1.08rem; font-weight: 900; }
.app-confirm-copy p:last-child { margin: .28rem 0 0; color: #50685f; font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.app-confirm-modal .modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
.app-confirm-modal .btn { min-height: 40px; }
.feature-guide-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .32rem;
  min-height: 32px;
  padding: .22rem .62rem;
  border: 1px solid rgba(76,154,90,.22);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.1;
}
.feature-guide-trigger::before {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: .72rem;
  font-weight: 950;
}
.feature-guide-trigger:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}
.feature-guide-trigger:hover::before { background: rgba(255,255,255,.24); }
.feature-guide-trigger-sm {
  min-height: 29px;
  padding: .18rem .5rem;
  font-size: .74rem;
}
.feature-guide-trigger-sm::before {
  width: 16px;
  height: 16px;
  font-size: .66rem;
}
.flow-reminder-actions { display: inline-flex; align-items: center; gap: .38rem; flex-wrap: wrap; }
.feature-guide-popover {
  position: fixed;
  z-index: 1085;
  width: min(360px, calc(100vw - 1.25rem));
  padding: .92rem;
  border: 1px solid rgba(76,154,90,.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,250,240,.97));
  box-shadow: 0 22px 58px rgba(33,79,46,.22);
  backdrop-filter: blur(18px) saturate(1.12);
}
.feature-guide-popover[hidden] { display: none; }
.feature-guide-popover.is-visible { animation: guide-pop .18s ease-out; }
.feature-guide-popover-head { display: flex; align-items: flex-start; gap: .72rem; }
.feature-guide-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(76,154,90,.24);
  background: rgba(255,255,255,.98);
  transform: rotate(45deg);
}
.feature-guide-popover[data-placement="right"] .feature-guide-arrow { left: -6px; top: var(--feature-guide-arrow-y, 50%); margin-top: -6px; border-top: 0; border-right: 0; }
.feature-guide-popover[data-placement="left"] .feature-guide-arrow { right: -6px; top: var(--feature-guide-arrow-y, 50%); margin-top: -6px; border-bottom: 0; border-left: 0; }
.feature-guide-popover[data-placement="bottom"] .feature-guide-arrow { top: -6px; left: var(--feature-guide-arrow-x, 32px); margin-left: -6px; border-right: 0; border-bottom: 0; }
@keyframes guide-pop { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }
.feature-guide-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #69b873, #3f9651);
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(76,154,90,.24);
}
.feature-guide-popover h2 { margin: 0; color: var(--ink); font-size: 1.08rem; font-weight: 950; }
.feature-guide-popover > p { margin: .58rem 0 0; color: #50685f; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.feature-guide-popover ul { margin: .58rem 0 0; padding-left: 1.05rem; color: #406055; font-size: .84rem; line-height: 1.5; }
.feature-guide-popover li + li { margin-top: .16rem; }
.feature-guide-popover-actions { display: flex; justify-content: flex-end; gap: .42rem; margin-top: .78rem; }
.feature-guide-popover .btn { min-height: 34px; }
.announcement-popup-modal .modal-content { overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,232,.96)); border-color: rgba(216,90,67,.22); }
.announcement-popup-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; padding: 1.1rem 1.15rem .9rem; border-bottom: 1px solid rgba(216,90,67,.14); box-shadow: inset 0 5px 0 #d85a43; }
.announcement-popup-head h2 { margin: 0; color: #7e241d; font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 900; line-height: 1.25; }
.announcement-popup-head small { color: #9b6a1a; font-weight: 800; }
.announcement-popup-mark { display: inline-grid; place-items: center; min-width: 54px; height: 46px; padding: 0 .7rem; border-radius: 16px; color: #fff; background: var(--green); font-size: .86rem; font-weight: 900; box-shadow: 0 14px 26px rgba(216,90,67,.16); }
.announcement-popup-mark.priority-important { background: #e0a62d; }
.announcement-popup-mark.priority-urgent { background: #d85a43; }
.announcement-popup-body { max-height: min(52vh, 420px); overflow: auto; }
.announcement-popup-body article { min-height: 160px; padding: .95rem; border-radius: 18px; color: #244538; background: rgba(255,255,255,.72); border: 1px solid rgba(216,90,67,.1); line-height: 1.78; white-space: pre-wrap; }
.announcement-popup-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.announcement-popup-check { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .86rem; font-weight: 800; }
.announcement-popup-check input { width: 16px; height: 16px; accent-color: #d85a43; }
.official-table-doc { background: rgba(255,255,255,.9); }
.official-doc-title { text-align: center; color: #111; }
.official-doc-title span { display: block; text-align: left; font-family: SimSun, "宋体", serif; font-size: .95rem; color: #333; }
.official-doc-title h1 { font-family: SimSun, "宋体", serif; font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; color: #111; }
.official-doc-title.compact h1 { font-size: 1.25rem; }
.formal-plate-line { font-family: SimSun, "宋体", serif; color: #111; font-weight: 700; }
.formal-table { border-radius: 6px; border: 1px solid #333; background: #fff; overflow-x: auto; }
.formal-table .table thead th { font-family: SimSun, "宋体", serif; color: #111; text-align: center; background: #fff; border: 1px solid #333; }
.formal-table .table td { border: 1px solid #333; background: #fff; }
.wechat-report-card { max-width: 980px; margin-left: auto; margin-right: auto; padding: .78rem .86rem; background: rgba(255,255,255,.94); }
.wechat-report-card .official-doc-title { margin-bottom: .7rem; }
.wechat-report-card .official-doc-title span { display: flex; justify-content: space-between; border-bottom: 1px solid #111; padding-bottom: .28rem; font-size: .82rem; }
.wechat-report-card .official-doc-title span em { font-style: normal; }
.wechat-report-card .official-doc-title h1,
.wechat-report-card .official-doc-title.compact h1 { margin-top: 1rem; font-size: 1.4rem; letter-spacing: .04em; }
.wechat-report-note { margin: .28rem 0 .55rem; color: #5b625f; font-size: .84rem; }
.wechat-report-table-wrap { padding: 0; border-radius: 4px; }
.wechat-report-table { min-width: 780px; table-layout: fixed; color: #111; font-family: SimSun, "宋体", serif; }
.wechat-report-table :where(th, td) { border: 1px solid #333 !important; padding: 0 !important; vertical-align: middle; background: #fff !important; }
.wechat-report-table th { width: 15%; text-align: center; font-weight: 700; line-height: 1.35; }
.wechat-report-table td { min-height: 38px; }
.wechat-report-subhead th { padding: .28rem .45rem !important; background: #f7f7f7 !important; letter-spacing: .06em; }
.wechat-report-field { width: 100%; min-height: 38px; border: 0; border-radius: 0; box-shadow: none !important; background: transparent; color: #111; font-family: SimSun, "宋体", serif; font-size: .9rem; line-height: 1.45; }
.wechat-report-field:focus { background: #fffef5; outline: 2px solid rgba(76,154,90,.28); outline-offset: -2px; }
textarea.wechat-report-field { min-height: 62px; resize: vertical; }
.wechat-report-flow-placeholder { display: block; padding: .55rem .62rem; color: #66706c; font-family: var(--font-sans); font-size: .82rem; }
.wechat-report-signature-row td { height: 78px; text-align: center; }
.wechat-report-signature-slot { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; padding: .32rem; font-family: var(--font-sans); }
.wechat-report-signature-slot strong { color: #17281f; font-size: .78rem; font-weight: 800; }
.wechat-report-signature-slot span { color: #66706c; font-size: .78rem; }
.wechat-report-signature-slot .sheet-signature-img { display: block; max-width: var(--signature-visual-max-width, 72px); max-height: var(--signature-max-height, 48px); width: auto; height: auto; object-fit: contain; }
.wechat-report-signature-slot .sheet-signature-meta { margin-top: .1rem; }
.wechat-report-signature-slot.is-preview { color: #66706c; }
.wechat-report-actions { display: flex; justify-content: flex-end; margin-top: .6rem; }
.wechat-preview-filter { grid-template-columns: 180px 180px 180px auto auto; margin-bottom: 0; }
.wechat-report-detail-overview .finance-payment-grid p { overflow-wrap: anywhere; }
.wechat-report-overview-signature { align-content: start; }
.wechat-report-overview-signature .inline-signature-img { margin-top: .18rem; }
.wechat-report-overview-signature .signature-meta { margin-top: .2rem; }
.wechat-report-preview-overview .wechat-report-field { margin-top: .22rem; border: 1px solid rgba(76,154,90,.16); border-radius: 10px; background: rgba(255,255,255,.82); font-family: inherit; }
.wechat-report-overview-field { display: grid; gap: .22rem; margin-top: .45rem; }
.wechat-report-overview-field b { color: #60766d; font-size: .78rem; font-weight: 900; }
.wechat-report-overview-wide { grid-column: 1 / -1; }
.wechat-filter .btn[name="report"] { background: rgba(255,255,255,.7); }
.dispatch-register-table { min-width: 1160px; }
.filter-bar {
  position: relative;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: .95rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  overflow: visible;
}
.filter-bar > input[type="hidden"] { display: none; }
.filter-bar > .filter-date-field { flex: 1 1 148px; min-width: 132px; max-width: 220px; }
.filter-bar > .filter-multi,
.filter-bar > .form-select { flex: 1 1 140px; min-width: 120px; max-width: 200px; }
.filter-bar > .form-control { flex: 1 1 140px; min-width: 120px; }
.filter-bar > input[name="keyword"],
.filter-bar > input[name="name"],
.filter-bar > input[placeholder*="搜索"] { flex: 2 1 180px; min-width: 150px; max-width: none; }
.filter-bar > .form-control, .filter-bar > .form-select, .filter-bar > .btn, .filter-bar > button, .filter-bar > a.btn { align-self: end; }
.filter-bar > .btn,
.filter-bar > button,
.filter-bar > a.btn { flex: 0 0 auto; width: auto; min-width: 72px; }
.filter-bar .btn, .filter-bar button, .filter-bar a.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; white-space: nowrap; }
.filter-restore-notice { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .52rem .68rem; border-radius: 14px; color: #6b4a12; background: rgba(255,246,218,.82); border: 1px solid rgba(216,137,25,.22); font-size: .86rem; font-weight: 900; }
.filter-restore-actions { display: flex; align-items: center; gap: .42rem; }
.filter-restore-notice button { min-height: 30px; padding: .18rem .62rem; border: 1px solid rgba(216,137,25,.3); border-radius: 999px; color: #7c5415; background: rgba(255,255,255,.72); font: inherit; font-size: .8rem; cursor: pointer; }
.filter-restore-notice button:hover { color: #fff; background: #d88919; }
.flow-topic-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1rem; }
.flow-topic-overview article { min-width: 0; padding: 1rem 1.05rem; border: 1px solid rgba(46, 126, 83, .12); border-radius: 20px; background: rgba(255, 255, 255, .82); box-shadow: 0 10px 30px rgba(48, 98, 70, .07); }
.flow-topic-overview span, .flow-topic-overview em { display: block; color: var(--muted); font-style: normal; font-size: .78rem; }
.flow-topic-overview strong { display: block; margin: .28rem 0 .18rem; color: #173e2b; font-size: 1.45rem; line-height: 1.15; overflow-wrap: anywhere; }
.flow-topic-current-list { display: grid; gap: .65rem; margin-top: .8rem; }
.flow-topic-current-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .78rem .85rem; border: 1px solid rgba(46, 126, 83, .1); border-radius: 16px; background: rgba(248, 253, 248, .78); }
.flow-topic-current-item > div { min-width: 0; }
.flow-topic-current-item strong { display: block; margin: .35rem 0 .18rem; color: #214b36; }
.flow-topic-current-item p, .flow-topic-current-item small { display: block; margin: 0; color: var(--muted); }
.flow-topic-current-item p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-topic-table td strong, .flow-topic-table td .ledger-summary-sub { display: block; }
.flow-topic-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: .8rem 0 0; padding: 0; list-style: none; counter-reset: topic-step; }
.flow-topic-steps li { position: relative; min-width: 0; padding: .85rem .85rem .85rem 3rem; border-radius: 16px; background: rgba(239, 249, 238, .72); counter-increment: topic-step; }
.flow-topic-steps li::before { content: counter(topic-step); position: absolute; left: .85rem; top: .82rem; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; color: #fff; background: var(--primary); font-weight: 900; }
.flow-topic-steps strong, .flow-topic-steps span { display: block; }
.flow-topic-steps span { margin-top: .2rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.flow-topic-switch { display: inline-flex; align-items: center; gap: .18rem; min-height: 38px; padding: .2rem; border: 1px solid rgba(76,154,90,.18); border-radius: 13px; background: rgba(255,255,255,.72); }
.flow-topic-switch a { padding: .38rem .62rem; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 900; white-space: nowrap; }
.flow-topic-switch a:hover { color: var(--green-dark); background: rgba(239,249,238,.82); }
.flow-topic-switch a.active { color: #fff; background: var(--green); }
.flow-topic-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.flow-topic-hub-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem 1rem; min-width: 0; padding: 1.15rem; border: 1px solid rgba(46,126,83,.14); border-radius: 24px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.84); box-shadow: 0 14px 36px rgba(48,98,70,.08); overflow: hidden; }
.flow-topic-hub-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 44px rgba(48,98,70,.13); }
.flow-topic-hub-card::after { content: ""; position: absolute; right: -36px; top: -46px; width: 140px; height: 140px; border-radius: 50%; background: rgba(76,154,90,.08); }
.flow-topic-hub-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; color: #fff; background: var(--green); font-size: 1.15rem; font-weight: 950; }
.flow-topic-hub-card.is-reimbursement .flow-topic-hub-mark { background: #3979a5; }
.flow-topic-hub-card.is-seal .flow-topic-hub-mark { background: #a66b2c; }
.flow-topic-hub-card.is-vehicle .flow-topic-hub-mark { background: #516c82; }
.flow-topic-hub-card.is-purchase .flow-topic-hub-mark { background: #8d7040; }
.flow-topic-hub-card.is-consumable .flow-topic-hub-mark { background: #6a7f43; }
.flow-topic-hub-card.is-overtime .flow-topic-hub-mark { background: #9a5549; }
.flow-topic-hub-card.is-payment-notice .flow-topic-hub-mark { background: #53639a; }
.flow-topic-hub-card h2 { margin: .08rem 0 .25rem; font-size: 1.2rem; }
.flow-topic-hub-card > div > span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.flow-topic-hub-card dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; margin: 0; }
.flow-topic-hub-card dl div { padding: .62rem .68rem; border-radius: 14px; background: rgba(239,249,238,.7); }
.flow-topic-hub-card.is-reimbursement dl div { background: rgba(235,245,252,.78); }
.flow-topic-hub-card.is-seal dl div { background: rgba(252,245,235,.82); }
.flow-topic-hub-card.is-vehicle dl div { background: rgba(239,244,248,.84); }
.flow-topic-hub-card.is-purchase dl div { background: rgba(249,245,235,.84); }
.flow-topic-hub-card.is-consumable dl div { background: rgba(242,247,235,.84); }
.flow-topic-hub-card.is-overtime dl div { background: rgba(250,240,238,.84); }
.flow-topic-hub-card.is-payment-notice dl div { background: rgba(239,241,250,.84); }
.flow-topic-hub-card dt { color: var(--muted); font-size: .72rem; }
.flow-topic-hub-card dd { margin: .18rem 0 0; color: #214b36; font-size: 1rem; font-weight: 950; }
.flow-topic-hub-card > strong { grid-column: 1 / -1; justify-self: end; color: var(--green-dark); font-size: .82rem; }
.flow-topic-hub-help p { margin: .7rem 0 0; color: var(--muted); line-height: 1.65; }
.flow-topic-showcase {
  display: block;
  margin-bottom: 1rem;
  padding: .72rem;
  border: 1px solid rgba(46,126,83,.13);
  border-radius: 28px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 18px 46px rgba(48,98,70,.09);
}
.flow-topic-showcase-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-content: start; gap: .46rem; padding: .25rem; }
.flow-topic-showcase-tab {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: .62rem;
  width: 100%;
  min-height: 58px;
  padding: .48rem .58rem;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.flow-topic-showcase-tab:hover { transform: translateX(2px); background: rgba(239,249,238,.72); }
.flow-topic-showcase-tab:focus-visible { outline: 3px solid rgba(76,154,90,.28); outline-offset: 2px; }
.flow-topic-showcase-tab.is-active { border-color: rgba(76,154,90,.2); background: #fff; box-shadow: 0 10px 24px rgba(48,98,70,.1); }
.flow-topic-showcase-tab > .flow-topic-tab-icon { display: block; width: 38px; height: 38px; border-radius: 13px; overflow: hidden; }
.flow-topic-tab-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.flow-topic-showcase-tab strong, .flow-topic-showcase-tab em { display: block; min-width: 0; }
.flow-topic-showcase-tab strong { font-size: .88rem; font-weight: 950; }
.flow-topic-showcase-tab em { margin-top: .08rem; color: var(--muted); font-size: .69rem; font-style: normal; font-weight: 800; }
.flow-topic-showcase-tab b { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 .3rem; border-radius: 999px; color: var(--green-dark); background: rgba(239,249,238,.94); font-size: .72rem; }
.flow-topic-showcase-stage { min-width: 0; min-height: 520px; margin-top: .72rem; }
.flow-topic-showcase-panel { grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr); align-items: center; gap: clamp(1.2rem, 3vw, 3rem); min-height: 520px; padding: clamp(1.3rem, 3.2vw, 3rem); border-radius: 22px; background: linear-gradient(145deg, rgba(247,252,247,.96), rgba(236,247,238,.88)); overflow: hidden; }
.flow-topic-showcase-panel.is-active { display: grid; }
.flow-topic-showcase-panel[hidden] { display: none; }
.flow-topic-showcase-copy { position: relative; z-index: 2; min-width: 0; }
.flow-topic-showcase-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .8rem 1.1rem; margin-bottom: .65rem; }
.flow-topic-showcase-copy h2 { margin: .25rem 0 .65rem; color: #193f2b; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.12; }
.flow-topic-showcase-heading h2 { margin-bottom: 0; }
.flow-topic-showcase-intro { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.75; }
.flow-topic-showcase-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .48rem; margin: 1.15rem 0; }
.flow-topic-showcase-metrics div { min-width: 0; padding: .68rem .72rem; border: 1px solid rgba(76,154,90,.11); border-radius: 14px; background: rgba(255,255,255,.76); }
.flow-topic-showcase-metrics dt { color: var(--muted); font-size: .68rem; font-weight: 850; }
.flow-topic-showcase-metrics dd { margin: .18rem 0 0; color: var(--green-dark); font-size: .98rem; font-weight: 950; overflow-wrap: anywhere; }
.flow-topic-showcase-points { display: grid; gap: .46rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.flow-topic-showcase-points li { position: relative; padding-left: 1.45rem; color: #365646; font-size: .82rem; font-weight: 850; }
.flow-topic-showcase-points li::before { content: ""; position: absolute; left: .1rem; top: .22rem; width: .72rem; height: .42rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.flow-topic-showcase-cta { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; white-space: nowrap; }
.flow-topic-showcase-cta span { font-size: 1.08rem; transition: transform .2s ease; }
.flow-topic-showcase-cta:hover span { transform: translateX(3px); }
.flow-topic-showcase-visual { --topic-accent: #4c9a5a; --topic-soft: #dcefdc; position: relative; z-index: 1; isolation: isolate; display: grid; place-items: center; min-width: 0; min-height: 340px; overflow: hidden; }
.flow-topic-showcase-visual.is-reimbursement { --topic-accent: #3979a5; --topic-soft: #dcebf5; }
.flow-topic-showcase-visual.is-seal { --topic-accent: #a66b2c; --topic-soft: #f4e7d6; }
.flow-topic-showcase-visual.is-vehicle { --topic-accent: #516c82; --topic-soft: #e0e8ee; }
.flow-topic-showcase-visual.is-vehicle-support { --topic-accent: #6b647f; --topic-soft: #e7e4ee; }
.flow-topic-showcase-visual.is-report { --topic-accent: #4f6f63; --topic-soft: #dfeae5; }
.flow-topic-showcase-visual.is-purchase { --topic-accent: #8d7040; --topic-soft: #efe7d8; }
.flow-topic-showcase-visual.is-consumable { --topic-accent: #6a7f43; --topic-soft: #e5edd8; }
.flow-topic-showcase-visual.is-overtime { --topic-accent: #9a5549; --topic-soft: #f2dfdc; }
.flow-topic-showcase-visual.is-payment-notice { --topic-accent: #53639a; --topic-soft: #e1e4f2; }
.flow-topic-showcase-visual.is-wechat-publish { --topic-accent: #2f8b73; --topic-soft: #dcefe9; }
.flow-topic-showcase-visual.is-wechat-report { --topic-accent: #477b8e; --topic-soft: #deebef; }
.flow-topic-visual-glow { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--topic-accent) 12%, transparent); filter: blur(26px); }
.flow-topic-illustration { position: relative; z-index: 1; display: block; width: min(100%, 620px); height: auto; border-radius: 28px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 20px 26px rgba(36,83,53,.1)); }
@media (prefers-reduced-motion: reduce) {
  .flow-topic-showcase-tab, .flow-topic-showcase-cta span { transition: none; }
}
@media (max-width: 1200px) {
  .flow-topic-showcase-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-topic-showcase-tab { grid-template-columns: 34px minmax(0, 1fr) auto; min-height: 54px; }
  .flow-topic-showcase-tab > .flow-topic-tab-icon { width: 34px; height: 34px; border-radius: 11px; }
  .flow-topic-showcase-stage, .flow-topic-showcase-panel { min-height: 470px; }
}
@media (max-width: 768px) {
  .flow-topic-showcase { display: block; padding: .48rem; border-radius: 20px; }
  .flow-topic-showcase-tabs { display: flex; gap: .4rem; margin-bottom: .48rem; padding: .1rem .05rem .35rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .flow-topic-showcase-stage { margin-top: 0; }
  .flow-topic-showcase-tab { flex: 0 0 148px; grid-template-columns: 32px minmax(0, 1fr) auto; min-height: 50px; padding: .4rem .45rem; border-radius: 14px; scroll-snap-align: start; }
  .flow-topic-showcase-tab:hover { transform: none; }
  .flow-topic-showcase-tab > .flow-topic-tab-icon { width: 32px; height: 32px; }
  .flow-topic-showcase-tab strong { font-size: .8rem; }
  .flow-topic-showcase-tab em { font-size: .64rem; }
  .flow-topic-showcase-stage, .flow-topic-showcase-panel { min-height: 0; }
  .flow-topic-showcase-panel { grid-template-columns: 1fr; gap: .75rem; padding: 1rem; border-radius: 17px; }
  .flow-topic-showcase-heading { grid-template-columns: 1fr; align-items: stretch; gap: .7rem; margin-bottom: .8rem; }
  .flow-topic-showcase-copy h2 { font-size: 1.5rem; }
  .flow-topic-showcase-intro { font-size: .84rem; line-height: 1.62; }
  .flow-topic-showcase-metrics { gap: .34rem; margin: .82rem 0; }
  .flow-topic-showcase-metrics div { padding: .52rem .5rem; }
  .flow-topic-showcase-metrics dd { font-size: .84rem; }
  .flow-topic-showcase-points { gap: .35rem; margin-bottom: .85rem; }
  .flow-topic-showcase-visual { grid-row: 1; min-height: 210px; }
  .flow-topic-illustration { width: min(100%, 330px); }
  .flow-topic-showcase-cta { width: 100%; justify-content: center; }
}
.filter-date-field { display: flex; align-items: center; gap: .46rem; margin: 0; min-width: 0; min-height: 42px; padding: 0 .68rem; border: 1px solid rgba(76,154,90,.18); border-radius: 13px; background-color: rgba(255,255,255,.84); align-self: end; }
.filter-date-field:focus-within { border-color: rgba(76,154,90,.72); box-shadow: 0 0 0 .2rem rgba(76,154,90,.14); background: #fff; }
.filter-date-field > span { flex: 0 0 auto; color: var(--muted); font-size: var(--text-helper-sm); font-weight: 900; line-height: 1; white-space: nowrap; }
.filter-date-field .date-input-shell { flex: 1 1 auto; width: auto; min-width: 0; }
.filter-date-field .form-control { min-height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.form-control, .form-select {
  min-height: 42px;
  border-color: rgba(76,154,90,.18);
  background-color: rgba(255,255,255,.84);
  border-radius: 13px;
}
.filter-multi {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  align-self: end;
}
.filter-multi.is-open {
  z-index: 60;
}
select.filter-multi[multiple],
.filter-multi-native {
  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;
  opacity: 0 !important;
  pointer-events: none !important;
}
.filter-multi-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  width: 100%;
  min-height: 42px;
  padding: .35rem 2rem .35rem .75rem;
  text-align: left;
  cursor: pointer;
  appearance: none;
  background-image: none !important;
}
.filter-multi-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b8077;
  font-weight: 800;
}
.filter-multi.has-value .filter-multi-label { color: inherit; }
.filter-multi-caret {
  position: absolute;
  right: .72rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid rgba(53, 121, 70, .72);
  border-bottom: 2px solid rgba(53, 121, 70, .72);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.filter-multi.is-open .filter-multi-caret { transform: translateY(-25%) rotate(225deg); }
.filter-multi.is-open .filter-multi-toggle {
  border-color: rgba(76,154,90,.72);
  box-shadow: 0 0 0 .2rem rgba(76,154,90,.14);
  background: #fff;
}
.filter-multi-panel {
  display: none;
  position: absolute;
  z-index: 70;
  top: calc(100% + .28rem);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 240px;
  overflow: auto;
  padding: .42rem;
  border: 1px solid rgba(76,154,90,.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(35, 72, 48, .14);
}
.filter-multi.is-open .filter-multi-panel { display: grid; gap: .18rem; }
.filter-multi-tools {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .12rem;
  margin: -.08rem 0 0;
  padding: 0 .1rem .22rem;
  background: #fff;
  border-bottom: 1px solid rgba(76,154,90,.1);
}
.filter-multi-tool-btn {
  flex: 0 0 auto;
  min-height: 22px;
  padding: 0 .38rem;
  border: 0;
  border-radius: 999px;
  color: var(--green-dark, #2f6b3f);
  background: transparent;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}
.filter-multi-tool-btn + .filter-multi-tool-btn::before {
  content: "·";
  margin-right: .28rem;
  color: rgba(76,154,90,.45);
  font-weight: 900;
  pointer-events: none;
}
.filter-multi-tool-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, #58a766, #3e9650);
}
.filter-bar.filter-toolbar,
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .48rem;
  grid-template-columns: none;
}
.filter-toolbar > .filter-summary-chips {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .32rem;
  flex: 0 0 auto;
  margin: 0;
}
.filter-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  min-height: 34px;
  padding: .18rem .58rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(76,154,90,.14);
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}
.filter-summary-chip span { color: var(--muted); }
.filter-summary-chip strong { color: var(--green); font-size: .95rem; line-height: 1; font-weight: 900; }
.filter-summary-chip:hover,
.filter-summary-chip.active {
  color: var(--green-dark);
  background: #eef9ed;
  border-color: rgba(76,154,90,.28);
}
.filter-toolbar > .filter-multi {
  flex: 0 1 148px;
  min-width: 120px;
  max-width: 180px;
}
.filter-toolbar > input[name="keyword"] {
  flex: 1 1 180px;
  min-width: 140px;
}
.filter-toolbar > .btn,
.filter-toolbar > a.btn {
  flex: 0 0 auto;
  align-self: center;
}
.workflow-filter-toolbar {
  margin-bottom: .72rem;
}
.filter-multi-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .42rem .55rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 800;
  color: #274433;
}
.filter-multi-option:hover { background: rgba(76,154,90,.08); }
.filter-multi-option input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #3e9650;
}
.filter-bar > .filter-multi { align-self: end; }
.people-filter-card .filter-multi { width: 100%; }
.people-filter-card .filter-multi-toggle { min-height: 42px; }
.form-control:focus, .form-select:focus { border-color: rgba(76,154,90,.72); box-shadow: 0 0 0 .2rem rgba(76,154,90,.14); background: #fff; }
.form-control.is-invalid, .form-select.is-invalid, textarea.is-invalid { border-color: #dc3545 !important; background-color: #fff8f7; box-shadow: 0 0 0 .16rem rgba(220,53,69,.12); }
textarea.form-control { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; resize: vertical; }
.date-input-shell { position: relative; display: block; width: 100%; }
.date-input-shell > .form-control { width: 100%; }
.date-empty-hint { position: absolute; left: .75rem; right: 2.25rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #6b8077; font-size: .9rem; font-weight: 800; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-date-field .date-empty-hint { left: 0; right: 1.65rem; font-size: .86rem; }
.date-input-shell:focus-within .date-empty-hint { opacity: .55; }
input[type="date"].date-empty, input[type="time"].date-empty, input[type="datetime-local"].date-empty { color: transparent; }
input[type="date"].date-empty::-webkit-datetime-edit, input[type="time"].date-empty::-webkit-datetime-edit, input[type="datetime-local"].date-empty::-webkit-datetime-edit { color: transparent; }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-calendar-picker-indicator { opacity: .72; filter: hue-rotate(62deg) saturate(1.1); }
.invalid-feedback { color: #b42318; font-weight: 800; font-size: .78rem; }
.btn { border-radius: 12px; font-weight: 800; padding-left: 1rem; padding-right: 1rem; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { border-color: transparent; background: linear-gradient(180deg, #58a766, #3e9650); box-shadow: 0 10px 22px rgba(76,154,90,.24); }
.btn-primary:hover { border-color: transparent; background: linear-gradient(180deg, #4d9c5c, #347e44); }
.btn-dark { background: #357946; border-color: #357946; }
.btn-outline-primary { color: var(--green-dark); border-color: rgba(76,154,90,.34); background: rgba(255,255,255,.48); }
.btn-outline-primary:hover { color: #fff; background: var(--green); border-color: var(--green); }

.work-section { width: 100%; max-width: none; padding: .86rem; margin-bottom: .82rem; }
.wechat-section { padding: .58rem .66rem; margin-bottom: .48rem; border-radius: 17px; }
.wechat-section .section-title { margin-bottom: .2rem; }
.wechat-section h2 { font-size: .95rem; }
.wechat-section .row.g-3 { --bs-gutter-x: .5rem; --bs-gutter-y: .48rem; }
.wechat-section .form-label { margin-bottom: .16rem; font-size: .78rem; font-weight: 900; color: #5f746c; }
.wechat-section .form-control, .wechat-section .form-select { min-height: 34px; padding: .32rem .52rem; border-radius: 10px; font-size: .86rem; }
.wechat-section textarea.form-control { min-height: 78px; line-height: 1.32; }
.wechat-section .form-text { margin-top: .16rem; font-size: .74rem; }
.wechat-detail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .34rem; }
.wechat-detail-grid div { min-height: 44px; padding: .38rem .48rem; border-radius: 10px; }
.wechat-detail-grid .span-2 { grid-column: span 2; }
.wechat-detail-grid span { margin-bottom: .06rem; font-size: .68rem; }
.wechat-detail-grid strong { font-size: .84rem; line-height: 1.22; }
.wechat-summary-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wechat-summary-grid .wechat-summary-title { grid-column: span 4; }
.wechat-manager-reject > summary { background: linear-gradient(135deg, rgba(255,248,246,.96), rgba(255,236,232,.78)); color: #8a3b32; }
.wechat-manager-reject > summary::before { color: #b42318; background: rgba(255,231,227,.95); }
.wechat-manager-reject .workflow-history-body { padding-top: .75rem; }
.wechat-screen-summary { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(236,248,234,.78)); }
.wechat-narrative-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: .5rem; }
.wechat-narrative-grid article { min-width: 0; padding: .58rem .66rem; border-radius: 12px; background: rgba(255,255,255,.68); border: 1px solid rgba(76,154,90,.13); }
.wechat-narrative-grid span { display: block; margin-bottom: .18rem; color: var(--muted); font-size: .72rem; font-weight: 900; }
.wechat-narrative-grid p { margin: 0; color: #243f34; font-size: .84rem; line-height: 1.55; white-space: pre-wrap; }
.wechat-type-chips { display: flex; flex-wrap: wrap; gap: .32rem; }
.wechat-type-chips span { padding: .16rem .5rem; border-radius: 999px; color: #668078; background: rgba(241,246,242,.9); border: 1px solid rgba(76,154,90,.12); font-size: .74rem; font-weight: 900; }
.wechat-type-chips span.is-selected { color: #fff; background: var(--green); border-color: var(--green); box-shadow: 0 8px 18px rgba(76,154,90,.18); }
.wechat-review-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .42rem; align-items: start; }
.wechat-review-card { min-width: 0; padding: .48rem .55rem; border-radius: 12px; background: rgba(255,255,255,.74); border: 1px solid rgba(76,154,90,.13); box-shadow: 0 8px 18px rgba(40, 88, 58, .05); }
.wechat-review-card.is-approved { border-color: rgba(76,154,90,.22); background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(231,246,229,.72)); }
.wechat-review-card.is-rejected { border-color: rgba(216,90,67,.26); background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,233,229,.76)); }
.wechat-review-card.is-current { box-shadow: inset 3px 0 0 var(--green), 0 10px 22px rgba(76,154,90,.1); }
.wechat-review-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .4rem; }
.wechat-review-card-head div { display: grid; gap: .04rem; min-width: 0; }
.wechat-review-card-head div span { color: #8aa097; font-size: .66rem; font-weight: 900; }
.wechat-review-card-head strong { color: #244538; font-size: .86rem; font-weight: 900; line-height: 1.2; }
.wechat-review-card-head em { flex: 0 0 auto; font-style: normal; }
.wechat-review-card p { min-height: 0; margin: .28rem 0; color: #405b50; font-size: .8rem; line-height: 1.4; white-space: pre-wrap; }
.wechat-review-signline { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .4rem; color: #64786f; font-size: .72rem; font-weight: 900; }
.wechat-review-action-form { margin: .22rem 0 .2rem; }
.wechat-review-action-form .form-select { margin-bottom: .22rem; min-height: 1.85rem; padding-top: .15rem; padding-bottom: .15rem; font-size: .76rem; }
.wechat-review-action-row { display: flex; align-items: center; gap: .28rem; min-width: 0; }
.wechat-review-action-row .form-control { flex: 1 1 auto; min-width: 0; min-height: 1.85rem; height: 1.85rem; padding: .12rem .4rem; font-size: .76rem; line-height: 1.2; }
.wechat-review-action-row .btn { flex: 0 0 auto; min-height: 1.85rem; padding: .12rem .45rem; font-size: .74rem; }
.wechat-confidential-grid-inline { gap: .24rem; margin-bottom: .28rem; }
.wechat-confidential-grid-inline .wechat-confidential-row { grid-template-columns: 1fr; gap: .2rem; padding: .28rem .36rem; }
.wechat-confidential-grid-inline .wechat-confidential-row strong { font-size: .72rem; line-height: 1.25; }
.wechat-confidential-grid-inline .wechat-confidential-row span { flex-wrap: wrap; gap: .4rem; }
.wechat-security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .42rem; }
.wechat-security-item { display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-width: 0; padding: .48rem .58rem; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(76,154,90,.12); }
.wechat-security-item strong { min-width: 0; color: #244538; font-size: .82rem; line-height: 1.32; font-weight: 900; }
.wechat-security-item span { flex: 0 0 auto; padding: .12rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.wechat-security-item span.is-clear { color: #2f7543; background: rgba(230,245,227,.92); }
.wechat-security-item span.is-risk { color: #b42318; background: rgba(255,231,227,.95); }
.wechat-flow-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .36rem; }
.wechat-flow-list .quick-item { min-height: 42px; padding: .42rem .55rem; border-radius: 11px; }
.wechat-flow-list .quick-item strong { font-size: .84rem; line-height: 1.15; }
.wechat-flow-list .quick-item span { margin-top: .04rem; font-size: .76rem; line-height: 1.18; }
.wechat-flow-list .quick-item em { font-size: .72rem; }
.wechat-filter { grid-template-columns: 150px 170px 170px minmax(240px, 1fr) auto auto; gap: .45rem; margin-bottom: .5rem; padding: .55rem; border-radius: 16px; }
.wechat-filter .form-control, .wechat-filter .form-select, .wechat-filter .filter-date-field { min-height: 34px; border-radius: 10px; font-size: .82rem; }
.wechat-filter .btn, .wechat-filter a.btn { min-height: 34px; padding: .28rem .7rem; }
.wechat-attachment-panel, .wechat-attachment-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .42rem; align-items: start; padding: .42rem .5rem; border-radius: 11px; background: rgba(255,255,255,.68); border: 1px solid rgba(76,154,90,.14); }
.wechat-attachment-panel strong { color: #5f746c; font-size: .78rem; white-space: nowrap; }
.wechat-attachment-panel div, .wechat-attachment-strip { min-width: 0; }
.wechat-attachment-panel a, .wechat-attachment-strip a { display: inline-block; max-width: 100%; margin: 0 .35rem .18rem 0; padding: .18rem .46rem; border-radius: 999px; color: var(--green-dark); background: rgba(233,247,232,.88); font-size: .78rem; font-weight: 900; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.wechat-attachment-strip { grid-template-columns: minmax(0, 1fr); }
.wechat-upload-head { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .16rem; }
.wechat-upload-title { display: flex; align-items: center; min-width: 0; gap: .42rem; }
.wechat-upload-title .form-label { flex: 0 0 auto; margin-bottom: 0; }
.wechat-current-files { display: inline-flex; min-width: 0; gap: .28rem; color: #2f5f3e; font-size: .8rem; font-weight: 900; }
.wechat-current-files span { display: inline-block; max-width: min(52vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wechat-existing-actions { flex: 0 0 auto; }
.wechat-file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.wechat-file-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .45rem .6rem; border-radius: 10px; border: 1px solid rgba(76,154,90,.14); background: rgba(255,255,255,.78); font-size: .82rem; font-weight: 800; }
.wechat-file-list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wechat-file-meta { display: flex; align-items: center; gap: .55rem; color: #64748b; flex: 0 0 auto; }
.wechat-file-actions { display: flex; gap: .35rem; }
.wechat-file-list + .wechat-file-list { margin-top: .4rem; }
.wechat-file-actions .btn { min-height: 28px; padding: .12rem .5rem; font-size: .76rem; font-weight: 900; }
.wechat-compact .table-card { padding: .35rem; border-radius: 14px; }
.wechat-compact .table :where(th, td) { padding: .38rem .48rem; font-size: .82rem; vertical-align: middle; }
.wechat-compact .action-bar, .wechat-compact + .action-bar, form.wechat-compact .action-bar { padding: .55rem .65rem; }
.wechat-confidential-grid { display: grid; gap: .36rem; }
.wechat-confidential-row { display: grid; grid-template-columns: minmax(260px, 1fr) auto; align-items: center; gap: .55rem; padding: .38rem .5rem; border-radius: 10px; background: rgba(255,255,255,.68); border: 1px solid rgba(76,154,90,.14); }
.wechat-confidential-row strong { color: var(--ink); font-size: .82rem; line-height: 1.2; }
.wechat-confidential-row span { display: inline-flex; gap: .7rem; white-space: nowrap; }
.wechat-confidential-row label { color: #50685f; font-size: .8rem; font-weight: 900; }
.wechat-confidential-row input { accent-color: var(--green); }
.wechat-official-doc { max-width: 860px; margin: 0 auto; padding: .65rem .75rem; border-radius: 8px; background: #fff; box-shadow: none; }
.wechat-official-doc .official-doc-title { margin-bottom: .7rem; }
.wechat-official-doc .official-doc-title span { display: flex; justify-content: space-between; border-bottom: 1px solid #111; padding-bottom: .28rem; font-family: SimSun, "宋体", serif; font-size: .78rem; }
.wechat-official-doc .official-doc-title span em { font-style: normal; }
.wechat-official-doc .official-doc-title h1,
.wechat-official-doc .official-doc-title.compact h1 { margin-top: 1rem; color: #111; font-family: SimSun, "宋体", serif; font-size: 1.4rem; letter-spacing: .04em; }
.wechat-paper-table { width: 100%; table-layout: fixed; border-collapse: collapse; color: #111; background: #fff; font-family: SimSun, "宋体", serif; font-size: .86rem; }
.wechat-paper-table th, .wechat-paper-table td { border: 1px solid #333; padding: .28rem .34rem; vertical-align: middle; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
.wechat-paper-table th { width: 15%; text-align: center; font-weight: 700; background: #fff; }
.wechat-paper-table td { min-height: 34px; }
.wechat-paper-table .paper-large-cell { height: 92px; vertical-align: top; }
.formal-sign-cell { min-height: 66px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .55rem; align-items: end; }
.formal-sign-cell p { grid-column: 1 / -1; min-height: 28px; margin: 0; }
.formal-sign-cell span { white-space: nowrap; }
.formal-signature-img { display: inline-block; max-width: var(--signature-visual-max-width, 72px); max-height: var(--signature-max-height, 48px); object-fit: contain; vertical-align: middle; margin-left: .2rem; }
.screen-only { display: block; }
.print-only-area { display: none; }
@media print {
  @page { size: A4 portrait; margin: 8mm; }
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-only-area { display: block !important; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; }
  .app-nav, .page-hero, .screen-only, .review-box, .notification-panel, .action-bar { display: none !important; }
  .work-section.print-area { padding: 0; margin: 0; border: 0; box-shadow: none; background: #fff; }
  .wechat-official-doc { page-break-inside: avoid; box-shadow: none; border: 0; padding: 0; margin: 0 auto 8mm; }
  .wechat-paper-table th, .wechat-paper-table td { padding: 3.2pt 4pt; font-size: 9.5pt; }
}
.dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: none; margin-bottom: 1rem; padding: 1rem 1.15rem; border-radius: 24px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.dashboard-identity { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.dashboard-avatar { flex: 0 0 auto; width: 70px; height: 70px; border-radius: 22px; font-size: 1.85rem; }
.detail-hero-person { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.detail-hero-avatar { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 18px; font-size: 1.35rem; }
.dashboard-hero h1 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.dashboard-identity > div, .dashboard-profile-link { min-width: 0; }
.dashboard-profile-link { color: inherit; text-decoration: none; }
.dashboard-profile-link:hover { color: inherit; }
.dashboard-identity h1, .dashboard-identity .muted { white-space: normal !important; overflow: visible; text-overflow: clip; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .55fr); gap: 1rem; align-items: stretch; width: 100%; max-width: none; }
.dashboard-grid > .work-section { height: 100%; margin-bottom: 0; }
.dashboard-main { min-height: 0; }
.dashboard-side { min-height: 0; height: 100%; max-height: none; display: flex; flex-direction: column; overflow: hidden; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .7rem; }
.todo-card { display: grid; gap: .1rem; padding: .85rem; border-radius: 18px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.7); border: 1px solid rgba(76,154,90,.14); text-align: left; }
.todo-card:hover { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.todo-card span { color: var(--muted); font-weight: 900; font-size: .82rem; }
.todo-card strong { color: var(--green); font-size: 1.9rem; line-height: 1; font-weight: 900; }
.todo-card em { color: var(--muted); font-style: normal; font-size: .78rem; }
.button-like { border: 1px solid rgba(76,154,90,.14); }
.quick-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.quick-actions a { padding: .48rem .72rem; border-radius: 999px; color: var(--green-dark); background: rgba(233,247,232,.76); border: 1px solid rgba(76,154,90,.14); text-decoration: none; font-weight: 800; font-size: .86rem; }
.compact-actions { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .55rem; }
.compact-actions a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 38px; overflow: hidden; text-overflow: ellipsis; }
.home-profile-card { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; padding: .78rem; border-radius: 18px; color: var(--ink); text-decoration: none; background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(232,246,232,.72)); border: 1px solid rgba(76,154,90,.14); box-shadow: var(--shadow-soft); }
.home-profile-card:hover { color: var(--green-dark); background: rgba(239,249,238,.9); transform: translateY(-1px); }
.home-avatar { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 20px; font-size: 1.65rem; }
.home-profile-card span:last-child { display: grid; min-width: 0; gap: .08rem; }
.home-profile-card strong, .home-profile-card em, .home-profile-card small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-profile-card strong { color: #244538; font-size: 1.05rem; font-weight: 900; }
.home-profile-card em { color: var(--muted); font-style: normal; font-size: .82rem; font-weight: 800; }
.home-profile-card small { color: var(--green-dark); font-size: .76rem; font-weight: 900; }
.dashboard-report-strip { padding: .72rem; border-radius: 18px; background: rgba(255,255,255,.54); border: 1px solid rgba(76,154,90,.12); }
.compact-notice-list { display: grid; align-content: start; gap: .22rem; min-width: 0; overflow-x: hidden; overflow-y: auto; padding-right: .18rem; }
.dashboard-side .compact-notice-list { flex: 1 1 auto; min-height: 0; max-height: none; }
.compact-notice-list::-webkit-scrollbar { width: 4px; }
.compact-notice-list::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(76,154,90,.22); }
.compact-notice { display: flex; align-items: center; gap: .44rem; min-width: 0; max-width: 100%; overflow: hidden; padding: .32rem .5rem; border-radius: 12px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.66); border: 1px solid transparent; }
.compact-notice-view { align-self: center; flex: 0 0 auto; min-height: 26px; padding: .1rem .42rem; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.compact-notice.unread { border-color: rgba(76,154,90,.25); box-shadow: inset 3px 0 0 var(--green); }
.compact-notice.dashboard-announcement-item.unread { border-color: rgba(216,90,67,.3); background: linear-gradient(135deg, rgba(255,248,232,.96), rgba(255,235,219,.86)); box-shadow: inset 4px 0 0 #d85a43, 0 10px 28px rgba(216,90,67,.12); }
.compact-notice.dashboard-announcement-item.priority-urgent .compact-notice-avatar, .compact-notice.dashboard-announcement-item.priority-important .compact-notice-avatar { background: #d85a43; }
.compact-notice-avatar { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; font-size: .8rem; }
.compact-notice-body { display: flex; align-items: center; min-width: 0; max-width: 100%; gap: .55rem; flex: 1 1 auto; overflow: hidden; }
.compact-notice-body strong { display: block; min-width: 0; flex: 1 1 auto; font-size: .9rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-notice-body span { color: #5f746c; font-size: .78rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-notice-body em { flex: 0 0 auto; max-width: 42%; color: var(--muted); font-style: normal; font-size: .78rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-announcement-item .compact-notice-body span { display: none; }
.compact-notice-body strong b, .announcement-main strong b, .info-card-main strong b { display: inline-flex; align-items: center; margin-right: .24rem; padding: .04rem .34rem; border-radius: 999px; color: #8a5c00; background: #fff1bd; font-size: .68rem; line-height: 1.16; vertical-align: 1px; }
.compact-notice-body strong .unread-chip, .announcement-main strong .unread-chip, .info-card-main strong .unread-chip { color: #fff; background: #d85a43; }
.compact-notice-body strong .priority-chip, .announcement-main strong .priority-chip, .info-card-main strong .priority-chip { color: #fff; background: #e0a62d; }
.priority-urgent .compact-notice-body strong .priority-chip, .priority-urgent .announcement-main strong .priority-chip, .priority-urgent .info-card-main strong .priority-chip { background: #bb3e2f; }
.compact-list .quick-item { padding: .65rem .8rem; }
.is-hidden { display: none !important; }

.dashboard-main.work-section { padding: .68rem; }
.announcement-alert-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; margin: -.35rem 0 .85rem; padding: .86rem 1rem; border-radius: 20px; color: #5b241d; text-decoration: none; background: linear-gradient(135deg, rgba(255,247,219,.98), rgba(255,229,218,.92)); border: 1px solid rgba(216,90,67,.26); box-shadow: inset 5px 0 0 #d85a43, 0 16px 36px rgba(216,90,67,.14); }
.announcement-alert-banner:hover { color: #7e241d; background: linear-gradient(135deg, rgba(255,241,189,.98), rgba(255,219,204,.94)); transform: translateY(-1px); }
.announcement-alert-mark { display: inline-grid; place-items: center; min-width: 54px; min-height: 38px; padding: .3rem .62rem; border-radius: 14px; color: #fff; background: #d85a43; font-size: .82rem; font-weight: 900; }
.announcement-alert-main { display: grid; min-width: 0; max-width: 100%; gap: .1rem; overflow: hidden; }
.announcement-alert-main strong { display: block; min-width: 0; color: #7e241d; font-size: 1rem; font-weight: 900; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-alert-main em { color: #9b6a1a; font-style: normal; font-size: .78rem; font-weight: 900; }
.announcement-alert-main small { display: -webkit-box; color: #6b4035; font-size: .82rem; line-height: 1.35; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.announcement-alert-banner > i { color: #fff; background: #bb3e2f; border-radius: 999px; padding: .28rem .72rem; font-style: normal; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.dashboard-main .section-title { margin-bottom: .52rem; }
.dashboard-main .section-title h2 { font-size: .98rem; }
.dashboard-compact-title { gap: .45rem; margin-bottom: .42rem !important; }
.dashboard-compact-title > div:first-child { min-width: 0; }
.dashboard-compact-title .eyebrow { margin-bottom: .04rem !important; font-size: .68rem; line-height: 1; }
.dashboard-compact-title h2 { display: flex; align-items: center; gap: .32rem; margin: 0; font-size: .95rem; line-height: 1.12; white-space: nowrap; }
.dashboard-title-actions { display: flex; align-items: center; gap: .32rem; flex: 0 0 auto; }
.dashboard-title-actions .btn { min-height: 28px; padding: .16rem .46rem; border-radius: 999px; font-size: .74rem; font-weight: 900; }
.dashboard-announcement-panel { width: min(460px, 92vw); }
.dashboard-announcement-body { display: grid; align-content: start; gap: .72rem; }
.dashboard-announcement-body article { min-height: 220px; padding: .92rem; border-radius: 18px; color: #244538; background: rgba(255,255,255,.72); border: 1px solid rgba(216,137,25,.13); line-height: 1.78; white-space: pre-wrap; }
.dashboard-announcement-footer { display: flex; justify-content: flex-end; padding: .72rem 1rem calc(.72rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(76,154,90,.12); }
.dashboard-main .eyebrow { margin-bottom: .12rem; font-size: .72rem; }
.dashboard-main .todo-grid { gap: .46rem; }
.dashboard-main .todo-card {
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: .18rem .42rem;
  min-height: 58px;
  padding: .52rem .62rem;
  border-radius: 14px;
}
.dashboard-main .todo-card span { font-size: .76rem; line-height: 1.15; }
.dashboard-main .todo-card strong { font-size: 1.32rem; line-height: 1; margin: 0; }
.dashboard-main .todo-card em { min-width: 0; font-size: .72rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-main .quick-actions { margin-top: .56rem; gap: .36rem; }
.dashboard-main .compact-actions { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: .36rem; }
.dashboard-main .compact-actions a { min-height: 32px; padding: .32rem .4rem; font-size: .78rem; }
.dashboard-report-strip { margin-top: .62rem !important; padding: .55rem; }
.dashboard-report-strip .section-title { align-items: center; flex-direction: row; margin-bottom: .45rem; }
.dashboard-report-strip .quick-list { gap: .35rem; }
.dashboard-report-strip .quick-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .45rem;
  align-items: center;
  padding: .45rem .58rem;
}
.dashboard-report-strip .quick-item > div { display: contents; }
.dashboard-report-strip .quick-item strong { font-size: .88rem; line-height: 1.15; white-space: nowrap; }
.dashboard-report-strip .quick-item span { min-width: 0; margin-top: 0; font-size: .78rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-report-strip .quick-item em { font-size: .76rem; line-height: 1.15; text-align: right; }

.dashboard-info-board { padding: .72rem; }
.dashboard-insight-grid { display: grid; grid-template-columns: 1fr; gap: .62rem; }
.dashboard-mini-panel { min-width: 0; min-height: 96px; padding: .78rem .86rem; border-radius: 18px; background: rgba(255,255,255,.58); border: 1px solid rgba(76,154,90,.12); }
.mini-panel-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .5rem; }
.mini-panel-head span { color: #244538; font-size: .9rem; font-weight: 900; }
.mini-panel-head a { color: var(--green-dark); text-decoration: none; font-size: .76rem; font-weight: 900; white-space: nowrap; }
.dashboard-mini-panel .quick-list { gap: .36rem; }
.dashboard-mini-panel .quick-item { min-height: 48px; padding: .48rem .58rem; }
.dashboard-mini-panel .quick-item strong { max-width: 100%; font-size: .84rem; line-height: 1.12; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-mini-panel .quick-item span { margin-top: .08rem; font-size: .74rem; line-height: 1.12; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-mini-panel .quick-item em { font-size: .72rem; }
.flow-quick-item { align-items: stretch; gap: .52rem; }
.flow-quick-item > div,
.flow-quick-body { min-width: 0; flex: 1 1 auto; }
.dashboard-mini-panel .flow-quick-item { min-height: 0; padding: .42rem .5rem .42rem .42rem; }
.flow-status-rail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.35rem;
  min-height: 100%;
  padding: .28rem .08rem;
  border-radius: 10px;
  color: #6b8077;
  background: rgba(118,134,126,.12);
  border: 1px solid rgba(118,134,126,.16);
  box-shadow: inset 3px 0 0 rgba(118,134,126,.42);
}
.flow-status-rail i {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-style: normal;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}
.flow-status-rail.is-done { color: #2f7543; background: rgba(76,154,90,.14); border-color: rgba(76,154,90,.22); box-shadow: inset 3px 0 0 #4c9a5a; }
.flow-status-rail.is-current { color: #9a5b12; background: rgba(255,183,77,.2); border-color: rgba(219,132,24,.28); box-shadow: inset 3px 0 0 #d88919; }
.flow-status-rail.is-rejected { color: #a84235; background: rgba(195,70,52,.12); border-color: rgba(195,70,52,.22); box-shadow: inset 3px 0 0 #c34634; }
.flow-status-rail.is-pending { color: #5f756c; background: rgba(118,134,126,.1); border-color: rgba(118,134,126,.16); box-shadow: inset 3px 0 0 rgba(118,134,126,.42); }
.flow-quick-item.is-done { border-left-color: #4c9a5a !important; }
.flow-quick-item.is-current { border-left-color: #d88919 !important; }
.flow-quick-item.is-rejected { border-left-color: #c34634 !important; }
.flow-quick-item.is-pending { border-left-color: rgba(118,134,126,.42) !important; }
.flow-quick-body { display: grid; gap: .28rem; }
.flow-quick-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .35rem .48rem;
  min-width: 0;
}
.flow-quick-head .dashboard-flow-type { margin: 0; }
.flow-quick-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-quick-aside {
  min-width: 0;
  max-width: 42%;
  margin: 0 !important;
  color: var(--muted);
  font-size: .7rem !important;
  line-height: 1.15;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flow-step-list { display: flex; flex-wrap: wrap; gap: .32rem; margin-top: .42rem; }
.flow-step-list-compact {
  margin-top: 0;
  gap: .18rem .28rem;
  align-items: center;
}
.flow-step-list .flow-step { display: inline-flex; align-items: center; gap: .22rem; max-width: 100%; margin: 0; padding: .24rem .38rem; border-radius: 999px; color: #6b8077; background: rgba(118,134,126,.08); border: 1px solid rgba(118,134,126,.12); font-size: .68rem; line-height: 1.12; white-space: normal; overflow: visible; text-overflow: clip; }
.flow-step-list-compact .flow-step {
  padding: .12rem .32rem;
  font-size: .64rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flow-step b, .flow-step small, .flow-step i { display: inline; min-width: 0; font-size: inherit; line-height: inherit; white-space: nowrap; }
.flow-step b { color: #244538; font-weight: 900; }
.flow-step small { color: #3f6254; font-weight: 850; }
.flow-step i { color: inherit; font-style: normal; }
.flow-step.is-done { color: #3f7650; background: rgba(76,154,90,.12); border-color: rgba(76,154,90,.2); }
.flow-step.is-current { color: #9a5b12; background: rgba(255,183,77,.2); border-color: rgba(219,132,24,.28); box-shadow: inset 0 0 0 1px rgba(219,132,24,.08); }
.flow-step.is-rejected { color: #a84235; background: rgba(195,70,52,.12); border-color: rgba(195,70,52,.22); }
.flow-trace-panel { margin-bottom: .85rem; border-color: rgba(76,154,90,.16); }
.detail-flow-step-list { gap: .48rem; }
.detail-flow-step-list .flow-step { padding: .42rem .58rem; font-size: .78rem; }
.flow-next-action { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .78rem; padding: .72rem .82rem; border-radius: 16px; background: linear-gradient(135deg, rgba(232,246,232,.92), rgba(255,255,255,.82)); border: 1px solid rgba(76,154,90,.18); }
.flow-next-action strong, .flow-next-action span { display: block; }
.flow-next-action strong { color: var(--green-dark); font-weight: 900; }
.flow-next-action span { margin-top: .08rem; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.flow-next-action.muted-action { color: var(--muted); background: rgba(255,255,255,.62); }
.status-progress { height: 9px; margin: .18rem 0 .58rem; overflow: hidden; border-radius: 999px; background: rgba(76,154,90,.12); }
.status-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #58a766, #89c978); }
.status-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .38rem; }
.status-stat-grid div { min-width: 0; padding: .44rem .5rem; border-radius: 13px; background: rgba(255,255,255,.68); border: 1px solid rgba(76,154,90,.1); }
.status-stat-grid span { display: block; color: var(--muted); font-size: .72rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-stat-grid strong { display: block; margin-top: .08rem; color: var(--green); font-size: 1.05rem; line-height: 1; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-note { margin-top: .5rem; font-size: .78rem; }

.todo-center-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)); gap: .6rem; margin-bottom: .8rem; }
.todo-summary-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem; min-height: 58px; padding: .7rem .85rem; border-radius: 18px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.68); border: 1px solid rgba(76,154,90,.13); box-shadow: var(--shadow-soft); }
.todo-summary-card:hover, .todo-summary-card.active { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.todo-summary-card span { color: var(--muted); font-size: .82rem; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo-summary-card strong { color: var(--green); font-size: 1.42rem; line-height: 1; font-weight: 900; }
.todo-center-summary.app-entry-grid { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: .45rem; margin-bottom: .55rem; }
.app-entry-card.todo-summary-card { min-height: 0; padding: .42rem .55rem; border-radius: 14px; gap: .28rem .4rem; align-items: center; }
.app-entry-card.todo-summary-card span { font-size: .78rem; }
.app-entry-card.todo-summary-card strong { font-size: 1.12rem; }
.app-entry-card .app-entry-actions { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; align-items: center; gap: .28rem; margin-top: 0; min-width: 0; }
.app-entry-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding: .16rem .28rem; font-size: .72rem; line-height: 1.2; }
.todo-filter-details { margin-bottom: .8rem; }
.todo-filter-details > summary { display: none; }
.todo-filter-details:not([open]) > .todo-filter-bar { display: grid; }
.todo-filter-bar {
  display: grid;
  grid-template-columns: minmax(130px, .34fr) minmax(130px, .34fr) 150px 150px minmax(210px, 1fr) auto auto auto auto;
  align-items: center;
}
.todo-filter-bar > .btn,
.todo-filter-bar > button,
.todo-filter-bar > a.btn { width: auto; min-width: 0; }
.todo-overdue-check { display: inline-flex; align-items: center; gap: .35rem; min-height: 42px; padding: 0 .65rem; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.62); border: 1px solid rgba(76,154,90,.14); font-size: .82rem; font-weight: 900; white-space: nowrap; }
.todo-overdue-check input { accent-color: var(--green); }
.todo-center-panel { padding: .85rem; }
.todo-batch-tools { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.todo-batch-count { padding: .16rem .48rem; border-radius: 999px; color: var(--green-dark); background: #e7f5e4; font-size: .74rem; font-weight: 900; white-space: nowrap; }
.todo-center-list { display: grid; gap: .34rem; }
.todo-center-item { display: grid; grid-template-columns: 22px 56px minmax(240px, 1fr) auto auto auto; grid-template-areas: "check type main status time actions"; align-items: center; gap: .42rem; min-height: 48px; padding: .46rem .56rem; border-radius: 14px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.78); }
.todo-center-item:not(.has-quick) { grid-template-columns: 56px minmax(240px, 1fr) auto auto auto; grid-template-areas: "type main status time actions"; }
.todo-center-item:hover { background: #eef9ed; transform: translateY(-1px); }
.todo-center-item.is-overdue { border-color: rgba(222,143,48,.34); background: rgba(255,248,232,.76); }
.todo-batch-check { grid-area: check; }
.todo-batch-check { width: 16px; height: 16px; accent-color: var(--green); }
.todo-type-chip { grid-area: type; }
.todo-type-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: .16rem .46rem; border-radius: 999px; color: var(--green-dark); background: rgba(232,246,232,.9); border: 1px solid rgba(76,154,90,.14); font-size: .76rem; font-weight: 900; white-space: nowrap; }
.todo-item-main { display: flex; align-items: center; gap: .45rem; min-width: 0; color: var(--ink); text-decoration: none; }
.todo-item-main:hover { color: var(--green-dark); }
.todo-item-main strong, .todo-item-main span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo-item-main strong { font-size: .9rem; line-height: 1.18; }
.todo-item-main span { color: var(--muted); font-size: .76rem; line-height: 1.18; }
.todo-item-main span b { color: #405b50; font-weight: 900; }
.todo-item-main { grid-area: main; }
.todo-item-status { grid-area: status; justify-self: start; padding: .18rem .48rem; border-radius: 999px; color: #8c5f13; background: #fff3cf; font-size: .74rem; font-weight: 900; white-space: nowrap; }
.todo-item-time { grid-area: time; display: grid; justify-items: start; gap: .08rem; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.todo-item-time b { color: #b45309; font-size: .7rem; font-weight: 950; }
.todo-item-time em { color: inherit; font-style: normal; }
.todo-item-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: .34rem; min-width: 190px; }
.todo-item-actions form { display: inline-flex; align-items: center; gap: .28rem; margin: 0; }
.todo-item-actions a { font-size: .78rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.todo-enter-action { min-height: 34px; }
.todo-quick-actions { position: relative; }
.todo-quick-actions > summary { display: inline-flex; align-items: center; min-height: 34px; padding: .28rem .62rem; border-radius: 10px; color: var(--green-dark); background: rgba(255,255,255,.72); border: 1px solid rgba(76,154,90,.24); cursor: pointer; list-style: none; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.todo-quick-actions > summary::-webkit-details-marker { display: none; }
.todo-quick-actions > summary::after { content: "›"; margin-left: .32rem; transform: rotate(90deg); transition: transform .18s ease; }
.todo-quick-actions[open] > summary::after { transform: rotate(-90deg); }
.todo-quick-actions-panel { position: absolute; z-index: 40; right: 0; top: calc(100% + .28rem); display: grid; gap: .38rem; min-width: 280px; padding: .5rem; border-radius: 12px; background: #fff; border: 1px solid rgba(76,154,90,.18); box-shadow: 0 14px 34px rgba(45,79,57,.16); }
.todo-quick-actions-panel .todo-reject-form { display: grid; grid-template-columns: minmax(130px, 1fr) auto; }
.todo-reject-form .form-control-sm { width: 112px; min-height: 30px; padding: .2rem .45rem; font-size: .76rem; }
.todo-quick-actions-panel .todo-reject-form .form-control-sm { width: auto; }
.todo-empty-state { display: grid; justify-items: center; gap: .35rem; padding: 2.3rem 1rem; text-align: center; }
.todo-empty-state strong { color: #315846; font-size: 1.02rem; font-weight: 950; }
.todo-empty-state span { color: var(--muted); font-size: .84rem; }
.todo-batch-reject-modal .modal-content { overflow: hidden; border: 1px solid rgba(196,75,57,.16); border-radius: 22px; box-shadow: 0 24px 70px rgba(71,49,42,.2); }
.todo-batch-reject-modal .modal-header { align-items: flex-start; padding: 1rem 1.05rem .75rem; background: linear-gradient(135deg, #fff8f3, #fff); border-bottom-color: rgba(196,75,57,.1); }
.todo-batch-reject-modal .modal-title { color: #7e3026; font-size: 1.15rem; font-weight: 950; }
.todo-batch-reject-modal .modal-body { padding: 1rem 1.05rem; }
.todo-batch-reject-modal textarea { min-height: 110px; resize: vertical; overflow-wrap: anywhere; }
.todo-batch-reject-modal .modal-footer { padding: .75rem 1.05rem 1rem; border-top-color: rgba(196,75,57,.1); }
.driver-draft-panel, .vehicle-special-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  transform: translateY(-8px);
}
.driver-draft-panel.is-open, .vehicle-special-panel.is-open {
  max-height: 1200px;
  opacity: 1;
  pointer-events: auto;
  margin-bottom: .72rem;
  padding: .72rem .85rem;
  border-width: 1px;
  transform: translateY(0);
}
.purpose-scope ol { padding-left: 1.25rem; }
.purpose-scope li { margin-bottom: .2rem; color: var(--ink); font-size: .84rem; }
.special-type-dropdown .dropdown-menu { min-width: 100%; border-color: rgba(76,154,90,.18); border-radius: 16px; box-shadow: var(--shadow-soft); }
.special-type-label { text-align: left; display: flex; align-items: center; justify-content: space-between; }
select option.restricted-car-option { color: #b23c31; background: #ffe7e3; }

/* Dense multi-column vehicle forms (more fields per row, normal control height) */
.vehicle-form-dense .work-section,
.work-section.vehicle-form-dense { padding: .85rem 1rem; }
.vehicle-form-dense .work-section > h2,
.work-section.vehicle-form-dense > h2 { margin-bottom: .4rem; }
.vehicle-form-dense .form-label { margin-bottom: .2rem; color: #5f746c; font-size: .78rem; font-weight: 900; line-height: 1.2; }
.vehicle-form-dense .form-text { margin-top: .15rem; font-size: .74rem; line-height: 1.3; }
.vehicle-form-dense .field-hint { color: var(--muted); font-size: .72rem; font-weight: 700; }
.vehicle-form-dense .compact-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem; flex-wrap: wrap; margin-bottom: .2rem; }
.vehicle-form-dense .compact-section-title h2 { margin: 0; }
.vehicle-form-dense .departure-inline { display: flex; flex-wrap: nowrap; gap: .4rem; align-items: stretch; width: 100%; height: 100%; }
.vehicle-form-dense .departure-inline > * { flex: 1 1 0; min-width: 0; height: 100%; }
.vehicle-form-dense .departure-other.is-hidden { display: none !important; }
.vehicle-form-dense .restriction-hint:empty { display: none; }
.vehicle-form-dense .purpose-scope { padding: .55rem .7rem; }
.vehicle-stage-hint { font-size: .84rem; line-height: 1.45; }
.vehicle-confirm-highlight { border-color: rgba(216,137,25,.35) !important; box-shadow: 0 0 0 1px rgba(216,137,25,.12), 0 12px 28px rgba(216,137,25,.08); }
.vehicle-confirm-highlight .section-title h2 { color: #9a6510; }
.vehicle-flow-panel { padding: .62rem .85rem .68rem; }
.vehicle-flow-head { display: flex; align-items: center; justify-content: space-between; gap: .45rem; flex-wrap: wrap; margin-bottom: .2rem; }
.vehicle-flow-head .eyebrow { color: var(--muted); font-size: .72rem; font-weight: 800; }
.flow-reminder-copy { white-space: nowrap; font-size: .74rem; font-weight: 900; border-color: rgba(76,154,90,.28); background: rgba(255,255,255,.72); }
.flow-reminder-copy:hover, .flow-reminder-copy.copied { color: #fff; background: var(--green); border-color: var(--green); }
.vehicle-flow-steps { margin-top: .12rem; gap: .26rem; }
.vehicle-flow-steps .flow-step { padding: .3rem .44rem; font-size: .72rem; }
.vehicle-flow-steps .flow-step.is-current { font-weight: 900; }
.vehicle-flow-action { margin-top: .36rem; padding: .42rem .58rem; border-radius: 12px; }
.vehicle-flow-action strong { font-size: .86rem; }
.vehicle-flow-action span { margin-top: .02rem; font-size: .76rem; }
.vehicle-confirm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .34rem; }
.vehicle-confirm-grid div { min-height: 44px; padding: .38rem .48rem; border-radius: 10px; }
.vehicle-confirm-grid .span-2 { grid-column: span 2; }
.vehicle-confirm-grid span { margin-bottom: .06rem; font-size: .68rem; }
.vehicle-confirm-grid strong { font-size: .84rem; line-height: 1.22; }
.confirmation-doc-body { margin-bottom: .55rem; line-height: 1.45; font-size: .92rem; }
@media (max-width: 900px) {
  .vehicle-confirm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-confirm-grid .span-2 { grid-column: span 2; }
}

/* Align purpose / departure / destination bottoms */
.vehicle-form-dense .row > .vehicle-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vehicle-form-dense .vehicle-field-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 1.7rem;
  margin-bottom: .2rem;
}
.vehicle-form-dense .vehicle-field-label-btn {
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 1.45rem;
  padding: .05rem .42rem;
  font-size: .7rem;
  line-height: 1.2;
}
.vehicle-form-dense .vehicle-field-control {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 42px;
}
.vehicle-form-dense .vehicle-field-control > .form-control,
.vehicle-form-dense .vehicle-field-control > .form-select,
.vehicle-form-dense .vehicle-field-control > .departure-inline {
  width: 100%;
  min-height: 42px;
}
.vehicle-form-dense .vehicle-field-control > textarea.form-control {
  min-height: 42px;
  height: 42px;
  resize: vertical;
  box-sizing: border-box;
}
.vehicle-form-dense .vehicle-field-control .form-select,
.vehicle-form-dense .vehicle-field-control .form-control {
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .vehicle-form-dense .field-hint { white-space: normal; }
  .vehicle-form-dense .departure-inline { flex-wrap: wrap; height: auto; }
  .vehicle-form-dense .departure-inline > * { flex: 1 1 100%; height: 42px; }
}
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .85rem; }
.work-table th:first-child { min-width: 280px; }
.w-hour { width: 90px; }
.report-form .section-title { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.report-form .section-title h2 { grid-column: 2; justify-self: center; text-align: center; }
.report-form .section-title .add-row { grid-column: 3; justify-self: end; }
@media (min-width: 769px) {
  .report-form .work-table { table-layout: fixed; width: 100%; }
  .report-form .work-table th { text-align: center; vertical-align: middle; }
  .report-form .work-table td { vertical-align: middle; }
  .report-form .work-col-content { width: 30%; }
  .report-form .work-col-hour { width: 8%; }
  .report-form .work-col-cycle { width: 10%; }
  .report-form .work-col-result { width: 12%; }
  .report-form .work-col-reason { width: 18%; }
  .report-form .work-col-remark { width: 14%; }
  .report-form .work-col-action { width: 8%; }
  .report-form .work-table :where(th, td):nth-child(1) { width: 30%; }
  .report-form .work-table :where(th, td):nth-child(2) { width: 8%; }
  .report-form .work-table :where(th, td):nth-child(3) { width: 10%; }
  .report-form .work-table :where(th, td):nth-child(4) { width: 12%; }
  .report-form .work-table :where(th, td):nth-child(5) { width: 18%; }
  .report-form .work-table :where(th, td):nth-child(6) { width: 14%; }
  .report-form .work-table :where(th, td):nth-child(7) { width: 8%; }
  .report-form .work-table th:first-child { min-width: 0; }
}
.date-box { min-width: 190px; }
.action-bar { position: sticky; bottom: 0; z-index: 4; display: flex; justify-content: flex-end; gap: .75rem; padding: 1rem; background: rgba(244, 251, 243, .86); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
/* 状态色语义：绿完成 · 黄待办/进行中 · 蓝提交/流转 · 红退回/禁用 · 灰草稿/撤回 */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: .26rem .68rem;
  border-radius: 999px;
  background: #e7f4ff;
  color: #2f6f94;
  font-weight: 900;
  font-size: .82rem;
}
.status-confirmed,
.status-completed,
.status-issued,
.status-returned,
.status-published,
.status-approved,
.status-used {
  background: #dff4dc;
  color: #2a6d39;
}
.status-pending,
.status-pending_car_admin,
.status-pending_supervisor,
.status-pending_office,
.status-pending_office_head,
.status-pending_department_head,
.status-pending_deputy_manager,
.status-pending_manager,
.status-pending_leader,
.status-pending_finance,
.status-pending_hr,
.status-pending_purchase,
.status-pending_inventory,
.status-pending_cashier,
.status-active,
.status-business_review,
.status-office_review,
.status-confidential_review,
.status-leader_review,
.status-party_review {
  background: #fff1c9;
  color: #8a5a0f;
}
.status-submitted,
.status-out {
  background: #e3f1ff;
  color: #2f6f94;
}
.status-rejected,
.status-failed,
.status-disabled {
  background: #ffe3de;
  color: #a83228;
}
.status-draft,
.status-saved,
.status-withdrawn,
.status-cancelled,
.status-inactive {
  background: #e9eeea;
  color: #5a6861;
}
.btn-outline-danger,
.table-actions .btn-outline-danger {
  color: #a83228;
  border-color: rgba(168,50,40,.35);
  background: rgba(255,243,240,.92);
}
.btn-outline-danger:hover,
.table-actions .btn-outline-danger:hover {
  color: #fff;
  border-color: #a83228;
  background: #a83228;
}
.dashboard-flow-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .42rem; }
.dashboard-flow-meta .status-pill { padding: .14rem .48rem; font-size: .72rem; }
.dashboard-flow-panel .flow-quick-item { border-left-width: 0; }
.table-actions { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; }
.link-button { border: 0; background: transparent; padding: 0; color: var(--green-dark); text-decoration: underline; }
.list-long-text, .list-review-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  min-width: 160px;
  max-width: 320px;
  line-height: 1.42;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-overflow: ellipsis;
}
.list-long-text { -webkit-line-clamp: 2; max-height: 2.84em; }
.list-long-text-compact { min-width: 120px; max-width: 240px; }
.list-review-text { -webkit-line-clamp: 3; max-height: 4.26em; color: #536960; font-size: .82rem; }
.list-review-text small { color: inherit; line-height: inherit; white-space: normal; }
.comment-box { min-height: 76px; padding: 1rem; border-radius: 18px; background: rgba(248,253,248,.82); border: 1px solid var(--line); }
.narrow-card { max-width: 560px; margin: 2rem auto; padding: 1.4rem; }
.narrow-card.wide { max-width: 900px; }
.form-card { padding: 1rem; }

.quick-list { display: grid; gap: .5rem; }
.quick-item { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 14px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.76); }
.quick-item:hover { background: #eef9ed; color: var(--green-dark); transform: translateY(-1px); }
.quick-item strong, .quick-item span { display: block; }
.quick-item span { color: var(--muted); font-size: .92rem; margin-top: .15rem; }
.quick-item em { color: var(--muted); font-style: normal; font-size: .84rem; white-space: nowrap; }
.quick-item.unread { box-shadow: inset 4px 0 0 var(--green); }
.empty-state { padding: 1rem; color: var(--muted); border-radius: 18px; background: rgba(255,255,255,.58); }
.list-empty-cell { padding: 0 !important; }
.list-empty-state { display: grid; justify-items: center; gap: .38rem; min-height: 142px; padding: 2rem 1rem; text-align: center; background: rgba(255,255,255,.44); }
.list-empty-state strong { color: #315846; font-size: 1rem; font-weight: 950; }
.list-empty-state span { max-width: 520px; color: var(--muted); font-size: .84rem; }
.list-empty-state .btn { margin-top: .18rem; }
.list-result-summary { display: flex; align-items: center; gap: .55rem .72rem; min-height: 42px; margin-top: .7rem; padding: .48rem .62rem; border: 1px solid rgba(76,154,90,.12); border-radius: 14px; background: rgba(255,255,255,.5); }
.list-result-summary > strong { flex: 0 0 auto; color: #315846; font-size: .84rem; font-weight: 950; }
.list-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; min-width: 0; }
.list-active-filters span { padding: .18rem .46rem; border-radius: 999px; background: rgba(76,154,90,.09); color: #536b61; font-size: .76rem; font-weight: 800; }
.list-result-summary .btn { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 768px) {
  .list-result-summary { align-items: flex-start; flex-direction: column; gap: .38rem; }
  .list-result-summary .btn { width: 100%; margin-left: 0; }
}
.message-summary { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .45rem; margin-bottom: .65rem; }
.message-summary .todo-summary-card { min-height: 50px; padding: .52rem .66rem; border-radius: 15px; }
.message-summary .todo-summary-card span { font-size: .92rem; }
.message-summary .todo-summary-card strong { font-size: 1.58rem; }
.message-compose-entry strong { font-size: 1.58rem; }
.message-list-panel { padding: .9rem; }
.message-list { display: grid; gap: .55rem; }
.message-list-item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-height: 78px; padding: .72rem .82rem; border-radius: 18px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.8); }
.message-list-item:hover { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.message-list-item.unread { border-color: rgba(76,154,90,.28); box-shadow: inset 4px 0 0 var(--green), var(--shadow-soft); }
.message-avatar { width: 44px; height: 44px; border-radius: 15px; font-size: 1.05rem; }
.message-avatar.large { width: 56px; height: 56px; border-radius: 18px; font-size: 1.35rem; }
.message-list-main { display: grid; gap: .08rem; min-width: 0; }
.message-list-main strong, .message-list-main span, .message-list-main em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-list-main strong { font-size: .98rem; font-weight: 900; }
.message-list-main em { color: var(--green-dark); font-style: normal; font-size: .78rem; font-weight: 900; }
.message-list-main span { color: var(--muted); font-size: .82rem; }
.message-list-meta { display: grid; justify-items: end; gap: .22rem; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.message-list-meta form { margin: 0; }
.message-list-meta em { font-style: normal; }
.message-list-meta b, .message-list-meta i { padding: .15rem .5rem; border-radius: 999px; font-style: normal; font-size: .72rem; }
.message-list-meta b { color: #35759a; background: #e7f4ff; }
.message-list-meta i { color: #fff; background: var(--green); }
.message-compose-grid { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr); gap: 1rem; align-items: start; }
.message-recipient-card, .message-content-card, .message-detail-panel { padding: 1rem; }
.message-pick-section + .message-pick-section { margin-top: 1rem; }
.message-pick-section h3 { margin: 0 0 .55rem; color: #244538; font-size: .92rem; font-weight: 900; }
.message-compose-v2 { grid-template-columns: minmax(360px, .95fr) minmax(460px, 1.05fr); }
.message-step-label { display: flex; align-items: center; gap: .48rem; margin: .86rem 0 .52rem; color: #244538; font-weight: 900; }
.message-step-label span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; color: #fff; background: var(--green); font-size: .78rem; }
.message-mode-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.message-mode-card { display: grid; gap: .08rem; min-height: 74px; padding: .78rem .86rem; border-radius: 16px; text-align: left; color: var(--ink); background: rgba(255,255,255,.66); border: 1px solid rgba(76,154,90,.13); cursor: pointer; }
.message-mode-card:hover { background: #eef9ed; transform: translateY(-1px); }
.message-mode-card.active { border-color: rgba(76,154,90,.35); background: linear-gradient(135deg, rgba(232,246,232,.95), rgba(255,255,255,.82)); box-shadow: inset 4px 0 0 var(--green); }
.message-mode-card strong { font-weight: 900; }
.message-mode-card span { color: var(--muted); font-size: .78rem; }
.message-selected-box { display: flex; flex-wrap: wrap; gap: .38rem; min-height: 46px; padding: .48rem; border-radius: 16px; background: rgba(255,255,255,.58); border: 1px dashed rgba(76,154,90,.24); }
.message-selected-box > span { align-self: center; padding-left: .2rem; }
.message-selected-box button { display: inline-flex; align-items: center; gap: .32rem; min-height: 30px; padding: .18rem .52rem; border: 0; border-radius: 999px; color: var(--green-dark); background: #e6f5e3; font-weight: 900; }
.message-selected-box button::after { content: "×"; color: #6d8279; font-weight: 900; }
.message-selected-box em { color: var(--muted); font-style: normal; font-size: .7rem; }
.message-pick-panel { display: none; margin-top: .75rem; }
.message-pick-panel.active { display: block; }
.message-pick-toolbar { display: grid; gap: .35rem; margin-bottom: .65rem; }
.message-user-groups { display: grid; gap: .46rem; max-height: 430px; overflow: auto; padding-right: .15rem; }
.message-user-group { border-radius: 16px; background: rgba(255,255,255,.58); border: 1px solid rgba(76,154,90,.12); overflow: hidden; }
.message-user-group summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .68rem .78rem; color: #244538; font-weight: 900; cursor: pointer; }
.message-user-group summary em { color: var(--muted); font-style: normal; font-size: .76rem; }
.message-user-list { padding: 0 .62rem .62rem; }
.message-department-grid label { min-height: 58px; }
.message-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .48rem; max-height: 420px; overflow: auto; padding-right: .15rem; }
.message-check-grid.compact { max-height: 180px; }
.message-check-grid label { display: flex; align-items: center; gap: .55rem; min-height: 48px; padding: .55rem .65rem; border-radius: 14px; background: rgba(255,255,255,.64); border: 1px solid rgba(76,154,90,.12); cursor: pointer; }
.message-check-grid label:hover { background: rgba(239,249,238,.82); transform: translateY(-1px); }
.message-check-grid input { flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--green); }
.message-check-grid span { display: grid; min-width: 0; }
.message-check-grid strong, .message-check-grid em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-check-grid strong { color: var(--ink); font-size: .88rem; }
.message-check-grid em { color: var(--muted); font-style: normal; font-size: .74rem; }
.message-detail-head { display: flex; align-items: center; gap: .8rem; padding: .75rem; border-radius: 18px; background: rgba(255,255,255,.64); border: 1px solid rgba(76,154,90,.12); }
.message-detail-head div { display: grid; gap: .08rem; min-width: 0; }
.message-detail-head strong { color: var(--ink); font-weight: 900; }
.message-detail-head span, .message-detail-head em { color: var(--muted); font-style: normal; font-size: .84rem; }
.message-letter-panel { position: relative; overflow: hidden; padding: 1.05rem; background: linear-gradient(145deg, rgba(245,250,255,.96), rgba(255,255,255,.82)); border-color: rgba(47,127,189,.14); }
.message-letter-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(#2f7fbd, #84b8df); }
.message-letter-head { align-items: flex-start; margin-left: .15rem; background: rgba(255,255,255,.74); border-color: rgba(47,127,189,.14); }
.message-letter-head time { margin-left: auto; color: #5b7182; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.message-body-text { margin-top: .9rem; min-height: 160px; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.78); line-height: 1.75; white-space: pre-wrap; }
.message-letter-body { position: relative; margin-left: .15rem; padding: 1.15rem 1.2rem; background: #fff; border-color: rgba(47,127,189,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.message-attachment-list { display: grid; gap: .45rem; margin-top: .9rem; }
.message-letter-attachments { margin-left: .15rem; }
.message-attachment-list h2 { margin-bottom: .2rem; }
.message-attachment-list a { display: flex; justify-content: space-between; gap: .8rem; padding: .62rem .75rem; border-radius: 14px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.68); border: 1px solid rgba(76,154,90,.12); }
.message-attachment-list a:hover { color: var(--green-dark); background: #eef9ed; }
.message-attachment-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 900; }
.message-attachment-list em { flex: 0 0 auto; color: var(--muted); font-style: normal; font-size: .82rem; }
.message-compose-mail { display: grid; gap: 0; width: 100%; max-width: none; margin: 0; padding: 0; overflow: visible; }
.message-mail-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.05rem .82rem; border-bottom: 1px solid rgba(76,154,90,.12); background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(239,249,238,.56)); }
.message-mail-head span { color: var(--muted); font-size: .8rem; font-weight: 850; white-space: nowrap; }
.message-mail-row { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: .82rem; align-items: start; padding: .82rem 1.05rem; border-bottom: 1px solid rgba(76,154,90,.1); }
.message-mail-label { padding-top: .56rem; color: #49635a; font-weight: 900; line-height: 1.2; white-space: nowrap; }
.message-mail-field { min-width: 0; }
.message-mail-recipient-row .message-mail-field { position: relative; }
.message-recipient-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); gap: .55rem; align-items: stretch; }
.message-compose-mail .message-selected-box { min-height: 42px; padding: .42rem .5rem; border-style: solid; background: rgba(255,255,255,.72); }
.message-recipient-picker { position: absolute; top: calc(100% + .4rem); left: 0; right: 0; z-index: 30; display: none; gap: .45rem; max-height: min(430px, 62vh); overflow: auto; padding: .45rem; border-radius: 18px; background: rgba(252,255,252,.98); border: 1px solid rgba(76,154,90,.16); box-shadow: 0 20px 54px rgba(31,58,45,.18); }
.message-recipient-picker.open { display: grid; }
.message-recipient-level { display: none; border-radius: 15px; background: rgba(255,255,255,.58); border: 1px solid rgba(76,154,90,.12); overflow: hidden; }
.message-recipient-level.active { display: block; }
.message-recipient-level-body { padding: .58rem .65rem .65rem; }
.message-compose-mail .message-mode-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .38rem; }
.message-compose-mail .message-mode-card { min-height: 42px; padding: .38rem .58rem; border-radius: 13px; }
.message-compose-mail .message-mode-card.open { border-color: rgba(76,154,90,.42); box-shadow: inset 0 -3px 0 var(--green); }
.message-compose-mail .message-mode-card strong { font-size: .82rem; }
.message-compose-mail .message-mode-card span { font-size: .68rem; }
.message-compose-mail .message-pick-panel.active { margin-top: .68rem; padding: .72rem; border: 1px solid rgba(76,154,90,.12); border-radius: 18px; background: rgba(255,255,255,.52); }
.message-compose-mail .message-pick-toolbar { grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: .45rem; margin-bottom: .5rem; }
.message-compose-mail .message-pick-toolbar .form-label { color: #49635a; font-weight: 900; }
.message-compose-mail .message-user-groups { gap: .36rem; max-height: 245px; }
.message-compose-mail .message-user-group { border-radius: 13px; }
.message-compose-mail .message-user-group summary { min-height: 38px; padding: .46rem .58rem; }
.message-compose-mail .message-check-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .38rem; max-height: 235px; }
.message-compose-mail .message-check-grid.compact { max-height: 180px; }
.message-compose-mail .message-check-grid label { min-height: 42px; padding: .46rem .55rem; border-radius: 12px; }
.message-compose-mail .message-department-grid label { min-height: 42px; }
.message-compose-mail textarea.form-control { min-height: 220px; resize: vertical; }
.message-mail-actions { display: flex; justify-content: flex-end; gap: .55rem; padding: .9rem 1.05rem 1.05rem; background: rgba(244,251,243,.62); }
.info-center-hero { background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(232,246,232,.78)); }
.info-center-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.info-summary-card { display: grid; gap: .08rem; min-height: 92px; padding: .95rem 1rem; border-radius: 20px; color: var(--ink); text-align: left; text-decoration: none; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.84); box-shadow: var(--shadow-soft); }
.info-summary-card:hover { color: var(--green-dark); transform: translateY(-1px); }
.info-summary-card span { color: var(--muted); font-weight: 900; font-size: .82rem; }
.info-summary-card strong { color: var(--green); font-size: 2rem; line-height: 1; font-weight: 900; }
.info-summary-card em { color: var(--muted); font-style: normal; font-size: .8rem; }
.info-summary-card.message { background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(232,244,255,.78)); }
.info-summary-card.announcement { background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,247,219,.78)); }
.info-summary-card.notify { cursor: pointer; background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(232,246,232,.78)); }
.info-center-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 1rem; align-items: start; }
.info-board { padding: 1rem; }
.info-list { display: grid; gap: .58rem; min-width: 0; }
.info-announcement-card, .info-message-card { display: grid; align-items: center; gap: .75rem; min-width: 0; max-width: 100%; min-height: 82px; overflow: hidden; padding: .75rem .85rem; border-radius: 18px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.82); }
.info-announcement-card { grid-template-columns: 46px minmax(0, 1fr) auto; }
.info-message-card { grid-template-columns: 46px minmax(0, 1fr) auto; }
.info-announcement-card:hover, .info-message-card:hover { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.info-announcement-card.unread, .info-message-card.unread { border-color: rgba(76,154,90,.28); box-shadow: inset 4px 0 0 var(--green), var(--shadow-soft); }
.info-announcement-card.unread { border-color: rgba(216,90,67,.3); background: linear-gradient(135deg, rgba(255,248,232,.96), rgba(255,235,219,.86)); box-shadow: inset 5px 0 0 #d85a43, 0 12px 30px rgba(216,90,67,.12); }
.info-announcement-card.pinned { background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,247,219,.74)); }
.info-announcement-card.pinned.unread { background: linear-gradient(135deg, rgba(255,246,218,.98), rgba(255,226,210,.9)); }
.info-announcement-card.priority-urgent .announcement-mark, .announcement-card.priority-urgent .announcement-mark { background: #bb3e2f; }
.info-announcement-card.priority-important .announcement-mark, .announcement-card.priority-important .announcement-mark { background: #e0a62d; }
.info-message-card.unread { border-color: rgba(47,127,189,.24); box-shadow: inset 4px 0 0 #2f7fbd, var(--shadow-soft); }
.info-card-main { display: grid; gap: .08rem; min-width: 0; max-width: 100%; overflow: hidden; }
.info-card-main strong, .info-card-main em, .info-card-main span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-card-main strong { display: block; color: var(--ink); font-weight: 900; }
.info-card-main strong b { display: inline-flex; margin-right: .32rem; padding: .06rem .38rem; border-radius: 999px; color: #8a5c00; background: #fff1bd; font-size: .68rem; vertical-align: 1px; }
.info-card-main em { color: var(--green-dark); font-style: normal; font-size: .78rem; font-weight: 900; }
.info-card-main span { color: var(--muted); font-size: .82rem; }
.info-announcement-card.unread .info-card-main span { display: -webkit-box; white-space: normal; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.info-card-meta { justify-self: end; padding: .18rem .55rem; border-radius: 999px; color: var(--green-dark); background: rgba(232,246,232,.92); font-size: .74rem; font-weight: 900; white-space: nowrap; }
.info-announcement-card.unread .info-card-meta { color: #fff; background: #d85a43; }
.announcement-summary { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.announcement-list-panel, .announcement-detail-panel, .announcement-read-panel { padding: .9rem; min-width: 0; }
.announcement-list { display: grid; gap: .58rem; min-width: 0; }
.announcement-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .72rem; min-width: 0; max-width: 100%; min-height: 84px; overflow: hidden; padding: .76rem .86rem; border-radius: 18px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.82); }
.announcement-card:hover { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.announcement-card.unread { border-color: rgba(76,154,90,.28); box-shadow: inset 4px 0 0 var(--green), var(--shadow-soft); }
.announcement-card.unread { border-color: rgba(216,90,67,.3); background: linear-gradient(135deg, rgba(255,248,232,.96), rgba(255,235,219,.86)); box-shadow: inset 5px 0 0 #d85a43, 0 12px 30px rgba(216,90,67,.12); }
.announcement-card.pinned { background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,247,219,.72)); }
.announcement-card.pinned.unread { background: linear-gradient(135deg, rgba(255,246,218,.98), rgba(255,226,210,.9)); }
.announcement-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 15px; color: #fff; background: var(--green); font-weight: 900; }
.priority-important .announcement-mark, .announcement-priority.priority-important { background: #e0a62d; }
.priority-urgent .announcement-mark, .announcement-priority.priority-urgent { background: #d85a43; }
.announcement-main { display: grid; gap: .08rem; min-width: 0; max-width: 100%; overflow: hidden; }
.announcement-main, .announcement-main:hover { color: inherit; text-decoration: none; }
.announcement-main strong, .announcement-main em, .announcement-main span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-main strong { display: block; font-size: .98rem; font-weight: 900; }
.announcement-main em { color: var(--green-dark); font-style: normal; font-size: .78rem; font-weight: 900; }
.announcement-main span { color: var(--muted); font-size: .82rem; }
.announcement-card.unread .announcement-main span { display: -webkit-box; white-space: normal; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.announcement-meta { display: flex; align-items: center; justify-content: flex-end; gap: .34rem; flex-wrap: wrap; min-width: 0; max-width: 180px; }
.announcement-meta form { margin: 0; }
.announcement-meta b, .announcement-meta i, .announcement-priority { display: inline-flex; align-items: center; min-height: 26px; padding: .2rem .58rem; border-radius: 999px; color: var(--green-dark); background: rgba(232,246,232,.92); font-size: .74rem; font-style: normal; font-weight: 900; white-space: nowrap; }
.announcement-meta .unread-chip { color: #fff; background: var(--green); }
.announcement-detail-meta { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .8rem; }
.announcement-body-text { min-height: 220px; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.82); line-height: 1.78; white-space: pre-wrap; }
.announcement-document-panel { position: relative; overflow: hidden; padding: 1.4rem; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,240,.82)); border-color: rgba(195,70,52,.14); }
.announcement-document-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #bb3e2f, #e0a62d, #bb3e2f); }
.announcement-document-seal { width: max-content; margin: 0 auto .6rem; padding: .22rem .78rem; border-radius: 999px; color: #bb3e2f; border: 1px solid rgba(187,62,47,.28); background: rgba(255,246,232,.86); font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.announcement-document-head { display: grid; gap: .18rem; text-align: center; padding-bottom: .9rem; border-bottom: 1px solid rgba(187,62,47,.16); }
.announcement-document-head p { margin: 0; color: #9b6a1a; font-size: .82rem; font-weight: 900; }
.announcement-document-head h2 { margin: 0; color: #7e241d; font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 900; line-height: 1.25; }
.announcement-document-head span { color: var(--muted); font-size: .84rem; }
.announcement-document-meta { justify-content: center; margin: .85rem 0; }
.announcement-document-body { background: rgba(255,255,255,.82); border-color: rgba(187,62,47,.1); font-size: .98rem; }
.announcement-document-foot { display: grid; justify-items: end; gap: .1rem; margin-top: .95rem; color: #244538; }
.announcement-document-foot strong { font-weight: 900; }
.announcement-document-foot span { color: var(--muted); font-size: .82rem; }
.announcement-unread-users { display: grid; gap: .35rem; margin-top: .8rem; padding: .8rem; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(76,154,90,.12); }
.announcement-unread-users strong { color: var(--ink); font-weight: 900; }
.announcement-unread-users span { color: var(--muted); line-height: 1.6; }
.announcement-form-grid { display: grid; grid-template-columns: minmax(420px, 1.2fr) minmax(320px, .8fr); gap: 1rem; align-items: start; }
.announcement-content-card, .announcement-setting-card { padding: 1rem; }
.announcement-scope-panel { display: none; margin-top: .85rem; }
.announcement-scope-panel.is-open { display: block; }
.announcement-scope-panel h3 { margin: 0 0 .55rem; color: #244538; font-size: .92rem; font-weight: 900; }
.task-chip { display: inline-flex; align-items: center; margin: 0 .45rem .25rem 0; padding: .18rem .5rem; border-radius: 999px; color: #327b42; background: #dff4dc; font-size: .76rem; font-weight: 900; }
.assign-list { display: grid; gap: .7rem; }
.assign-row { display: grid; grid-template-columns: minmax(260px,1fr) 170px minmax(180px,.6fr) auto; gap: .65rem; align-items: start; padding: .75rem; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.78); }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .5rem; }
.detail-grid div { min-height: 58px; padding: .55rem .65rem; border-radius: 13px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.76); }
.detail-grid span, .detail-grid strong { display: block; }
.detail-grid span { color: var(--muted); font-size: .78rem; font-weight: 900; margin-bottom: .18rem; }
.detail-grid strong { color: var(--ink); font-weight: 800; white-space: pre-wrap; line-height: 1.25; }
.seal-items-table th:first-child { min-width: 190px; }
.seal-items-table th:nth-child(2) { min-width: 260px; }
.seal-items-table th:nth-child(5) { min-width: 96px; }
.seal-type-switch { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .75rem; }
.seal-type-card {
  position: relative;
  display: grid;
  gap: .22rem;
  padding: .95rem 1rem .95rem 2.75rem;
  border: 1px solid rgba(76,154,90,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  cursor: pointer;
}
.seal-type-card:hover { transform: translateY(-1px); background: rgba(239,249,238,.82); }
.seal-type-card input { position: absolute; left: 1rem; top: 1.1rem; accent-color: var(--green); }
.seal-type-card span { color: var(--ink); font-weight: 900; }
.seal-type-card em { color: var(--muted); font-style: normal; font-size: .86rem; line-height: 1.35; }
.seal-type-card:has(input:checked) { border-color: rgba(76,154,90,.38); background: linear-gradient(135deg, rgba(232,246,232,.94), rgba(255,255,255,.72)); box-shadow: inset 0 0 0 1px rgba(76,154,90,.08), var(--shadow-soft); }
.seal-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem; }
.seal-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .18rem .65rem;
  align-items: start;
  padding: .78rem .85rem;
  border: 1px solid rgba(76,154,90,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  cursor: pointer;
}
.seal-check:hover { background: rgba(239,249,238,.78); transform: translateY(-1px); }
.seal-check input { margin-top: .2rem; accent-color: var(--green); }
.seal-check span { color: var(--ink); font-weight: 900; }
.seal-check em { grid-column: 2; color: var(--muted); font-style: normal; font-size: .8rem; }
.seal-check.active { border-color: rgba(76,154,90,.38); background: linear-gradient(135deg, rgba(232,246,232,.92), rgba(255,255,255,.7)); }
.duplicate-warning { display: grid; gap: .15rem; padding: .8rem .9rem; border-radius: 16px; color: #8c4b10; background: #fff4df; border: 1px solid rgba(222,143,48,.28); }
.duplicate-warning span { font-size: .9rem; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; }
.setting-card { padding: .9rem; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.78); }
.manager-checks { display: grid; gap: .55rem; padding: .85rem; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(76,154,90,.14); }
.manager-checks .form-check { margin: 0; font-weight: 800; color: #536b62; }
.manager-select-list { display: grid; gap: .65rem; }
.manager-select-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: .6rem; align-items: center; }
.driver-permission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .55rem; }
.driver-permission-card { display: flex; align-items: center; gap: .45rem; padding: .55rem .65rem; border-radius: 13px; background: rgba(255,255,255,.62); border: 1px solid rgba(76,154,90,.14); font-weight: 800; color: #536b62; }
.driver-permission-card input { accent-color: var(--green); }
.seal-ledger-preview { display: grid; gap: .55rem; }
.seal-ledger-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem .75rem; padding: .65rem .75rem; border-radius: 14px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.66); border: 1px solid rgba(76,154,90,.12); }
.seal-ledger-card:hover { color: var(--green-dark); background: #eef9ed; }
.seal-ledger-main strong, .seal-ledger-main span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seal-ledger-main span, .seal-ledger-card small { color: var(--muted); font-size: .8rem; }
.seal-ledger-card > .status-pill { justify-self: end; align-self: start; }
.seal-ledger-tags { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.seal-ledger-tags em { padding: .18rem .5rem; border-radius: 999px; color: #327b42; background: #dff4dc; font-style: normal; font-size: .76rem; font-weight: 900; }
.seal-ledger-card small, .seal-ledger-seals, .seal-ledger-footer { grid-column: 1 / -1; }
.seal-ledger-seals { display: grid; gap: .26rem; align-items: start; }
.seal-ledger-table-seals { display: grid; gap: .26rem; align-items: start; max-width: 100%; min-width: 0; }
.seal-ledger-seal-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: .34rem; width: 100%; max-width: 100%; min-width: 0; padding: .18rem .42rem; border-radius: 12px; background: rgba(223,244,220,.78); }
.seal-mini-logo { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; min-width: 1.45rem; height: 1.45rem; padding: 0 .16rem; border-radius: 999px; color: #fff; font-style: normal; font-size: .58rem; font-weight: 950; line-height: 1; white-space: nowrap; word-break: normal; overflow-wrap: normal; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32), 0 2px 5px rgba(114,38,34,.12); }
.seal-mini-lab { width: 1.35rem; background: linear-gradient(135deg, #c42b24, #ef6a55); font-size: .72rem; }
.seal-mini-cma { width: 2.05rem; min-width: 2.05rem; background: linear-gradient(135deg, #d94725, #f29b3d); letter-spacing: .01em; }
.seal-mini-cnas { width: 2.32rem; min-width: 2.32rem; background: linear-gradient(135deg, #1e5aa8, #4f97da); letter-spacing: -.03em; }
.seal-mini-other { background: linear-gradient(135deg, #568560, #8dbb7e); }
.seal-name-inline { display: inline-flex; align-items: center; gap: .34rem; max-width: 100%; vertical-align: middle; }
.seal-name-inline > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seal-name-list { display: flex; align-items: center; gap: .34rem .58rem; flex-wrap: wrap; max-width: 100%; }
.seal-records-table .table { min-width: 1050px; }
.seal-records-table .table :where(th, td) { border-bottom-color: rgba(76,154,90,.14); }
.seal-records-table .seal-record-date, .seal-records-table .seal-record-time { white-space: nowrap; }
.seal-records-table .seal-list-seals { min-width: 220px; }
.seal-records-table .seal-list-seal-content { min-width: 0; overflow: visible; }
.seal-records-table .seal-name-list { display: grid; justify-items: start; gap: .34rem; }
.seal-records-table .seal-name-inline { width: 100%; }
.seal-records-table .seal-name-inline > span:last-child { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.seal-records-table .seal-list-reason { min-width: 190px; }
.seal-records-table .seal-list-reason .list-long-text { min-width: 0; max-width: 300px; }
.seal-records-table .seal-record-actions { min-width: 156px; }
.seal-form-label-with-icon { display: inline-flex; align-items: center; gap: .32rem; }
.seal-form-label-with-icon .seal-mini-logo { width: 1.2rem; min-width: 1.2rem; height: 1.2rem; font-size: .52rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32), 0 2px 5px rgba(114,38,34,.1); }
.seal-form-label-with-icon .seal-mini-cma { width: 1.82rem; min-width: 1.82rem; }
.seal-form-label-with-icon .seal-mini-cnas { width: 2.08rem; min-width: 2.08rem; }
.seal-form-label-with-icon .seal-mini-lab { font-size: .66rem; }
.seal-mini-discipline { display: inline-flex; align-items: center; justify-content: center; min-width: 1.8rem; height: 1.2rem; padding: 0 .34rem; border-radius: 999px; color: #fff; font-size: .58rem; font-weight: 950; line-height: 1; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.seal-mini-chemistry { background: linear-gradient(135deg, #2f8c68, #63b88c); }
.seal-mini-physics { background: linear-gradient(135deg, #6950a5, #9a7bd0); }
.seal-chip-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #327b42; font-size: .78rem; font-weight: 900; }
.seal-chip-count { color: #536b62; font-size: .74rem; font-weight: 900; white-space: nowrap; }
.seal-ledger-table-lines { display: grid; gap: .28rem; }
.seal-ledger-footer { display: flex; justify-content: space-between; align-items: center; gap: .55rem; flex-wrap: wrap; }
.seal-ledger-links { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .82rem; font-weight: 900; }
.seal-approval-ledger-table { overflow-x: auto; }
.seal-approval-ledger-table .table { table-layout: fixed; width: 100%; min-width: 100%; }
.seal-approval-ledger-table th:nth-child(1), .seal-approval-ledger-table td:nth-child(1) { width: 7%; }
.seal-approval-ledger-table th:nth-child(2), .seal-approval-ledger-table td:nth-child(2) { width: 7%; }
.seal-approval-ledger-table th:nth-child(3), .seal-approval-ledger-table td:nth-child(3) { width: 8%; }
.seal-approval-ledger-table th:nth-child(4), .seal-approval-ledger-table td:nth-child(4) { width: 7%; }
.seal-approval-ledger-table th:nth-child(5), .seal-approval-ledger-table td:nth-child(5) { width: 18%; }
.seal-approval-ledger-table th:nth-child(6), .seal-approval-ledger-table td:nth-child(6) { width: 16%; }
.seal-approval-ledger-table th:nth-child(7), .seal-approval-ledger-table td:nth-child(7) { width: 12%; }
.seal-approval-ledger-table th:nth-child(8), .seal-approval-ledger-table td:nth-child(8) { width: 10%; }
.seal-approval-ledger-table th:nth-child(9), .seal-approval-ledger-table td:nth-child(9) { width: 8%; }
.seal-approval-ledger-table th:nth-child(10), .seal-approval-ledger-table td:nth-child(10) { width: 7%; }
.seal-approval-ledger-table .table :where(th, td) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid rgba(76,154,90,.12);
}
.seal-approval-ledger-table .table thead th {
  border-bottom: 1px solid rgba(76,154,90,.16);
}
.seal-approval-ledger-table .seal-ledger-report-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.seal-report-name-list { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seal-report-name-list span { display: inline; white-space: nowrap; }
.seal-report-name-list span + span::before { content: "；"; }
.seal-approval-ledger-table .seal-ledger-table-seals { max-width: 100%; min-width: 0; }
.seal-detail-list { display: grid; gap: .5rem; }
.seal-detail-card {
  position: relative;
  padding: .55rem .65rem .48rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(246,252,246,.68));
  border: 1px solid rgba(76,154,90,.14);
  box-shadow: inset 3px 0 0 rgba(76,154,90,.36);
}
.seal-detail-card:hover { transform: none; background: rgba(255,255,255,.86); }
.seal-detail-card .row { --bs-gutter-x: .5rem; --bs-gutter-y: .38rem; }
.seal-detail-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .38rem; }
.seal-detail-card-head > div { display: flex; align-items: baseline; gap: .42rem; min-width: 0; }
.seal-detail-card-kicker { color: var(--green-dark); font-size: .72rem; font-weight: 900; white-space: nowrap; }
.seal-detail-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.85fr) minmax(0, 1.25fr) minmax(82px, .58fr) minmax(82px, .58fr);
  gap: .42rem;
  align-items: end;
}
.seal-detail-card.is-inspection-file .seal-detail-card-body {
  grid-template-columns: minmax(170px, 1.05fr) minmax(280px, 2fr) minmax(110px, .65fr);
}
.seal-detail-primary-grid, .normal-file-fields, .normal-file-grid { display: contents; }
.seal-detail-card-body > *, .seal-detail-primary-grid > *, .normal-file-grid > * { min-width: 0; }
.seal-duplicate-reason-field { grid-column: 1 / -1; }
.seal-detail-card .form-label { margin-bottom: .12rem; color: #5f746c; font-size: .72rem; font-weight: 900; }
.seal-detail-card .form-control, .seal-detail-card .form-select {
  min-height: 34px;
  padding-top: .28rem;
  padding-bottom: .28rem;
  border-radius: 10px;
  font-size: .88rem;
}
.seal-detail-card textarea.form-control { min-height: 34px; }
.seal-detail-card .text-end { margin-top: .25rem !important; }
.inspection-fields, .normal-file-fields {
  margin-top: .15rem;
  padding-top: .42rem;
  border-top: 1px dashed rgba(76,154,90,.18);
}
.inspection-fields { grid-column: 1 / -1; }
.normal-file-fields { margin-top: 0; padding-top: 0; border-top: 0; }
.inspection-vertical {
  display: grid;
  grid-template-columns: minmax(105px, .8fr) minmax(115px, .9fr) minmax(190px, 1.35fr) minmax(210px, 1.45fr);
  gap: .42rem;
  max-width: none;
}
.inspection-vertical .seal-form-label-with-icon { white-space: nowrap; }
.normal-file-fields .row { align-items: end; }
.signature-preview-img { display: block; max-width: 220px; max-height: 82px; padding: .25rem .5rem; border-radius: 10px; background: #fff; object-fit: contain; }
.inline-signature { display: inline-flex; align-items: center; gap: .42rem; flex-wrap: wrap; }
.inline-signature-img { display: inline-block; max-width: var(--signature-visual-max-width, 72px); max-height: var(--signature-max-height, 48px); padding: 0; border-radius: 0; background: transparent; border: 0; object-fit: contain; vertical-align: middle; }
.detail-signature-img { display: block; max-width: var(--signature-visual-max-width, 72px); max-height: var(--signature-max-height, 48px); padding: 0; border: 0; background: transparent; object-fit: contain; }
.signature-meta, .sheet-signature-meta { display: block; margin-top: .18rem; color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1.25; }
.sheet-signature-meta { margin-top: 0; color: #333; font-size: 11px; font-family: SimSun, "宋体", serif; }
.signature-missing { color: var(--muted); font-size: .78rem; font-weight: 800; }
.undo-form { display: inline-flex; margin-left: .35rem; }

.people-hero { margin-bottom: .75rem; }
.people-management-hero { align-items: center; }
.people-hero-actions { display: flex; justify-content: flex-end; gap: .55rem; flex-wrap: wrap; }
.people-policy-alert { border-radius: 18px; border-color: rgba(67, 132, 83, .16); background: rgba(235, 247, 255, .68); color: #345668; font-weight: 800; }
.people-filter-card { position: relative; z-index: 30; display: grid; grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(140px, .8fr)) auto; gap: .7rem; align-items: end; margin-bottom: .85rem; padding: .9rem; border-radius: 24px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.86); box-shadow: var(--shadow-soft); overflow: visible; }
.people-filter-card .form-label { color: var(--muted); font-size: .78rem; font-weight: 900; }
.people-filter-actions { display: flex; gap: .45rem; }
.people-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; margin-bottom: .8rem; }
.people-stat-grid div { padding: .78rem .85rem; border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.people-stat-grid span, .people-stat-grid strong, .people-stat-grid em { display: block; }
.people-stat-grid span { color: var(--muted); font-size: .78rem; font-weight: 900; }
.people-stat-grid strong { color: var(--green-dark); font-size: 1.55rem; line-height: 1.1; letter-spacing: -.04em; }
.people-stat-grid em { margin-top: .14rem; color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 800; }
.people-management-card { padding: 1rem; border-radius: 26px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.86); box-shadow: var(--shadow-soft); }
.people-table-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.people-table-head span { display: inline-flex; align-items: center; min-height: 32px; padding: .25rem .7rem; border-radius: 999px; color: var(--green-dark); background: #edf8ec; font-size: .78rem; font-weight: 900; }
.people-table-wrap { border-radius: 18px; border: 1px solid rgba(76,154,90,.1); background: rgba(247,252,247,.56); }
.people-table { margin-bottom: 0; min-width: 920px; }
.people-table thead th { color: var(--muted); background: rgba(237,248,236,.74); border-bottom: 1px solid rgba(76,154,90,.16); font-size: .78rem; font-weight: 900; }
.people-table td { color: var(--ink); border-bottom: 1px solid rgba(76,154,90,.12); border-color: rgba(76,154,90,.12); vertical-align: middle; }
.people-table td strong, .people-table td em { display: block; }
.people-table td em { margin-top: .08rem; color: var(--muted); font-size: .78rem; font-style: normal; font-weight: 800; }
.people-cell-user { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.people-cell-user strong { font-weight: 900; }
.people-pill-stack { display: flex; gap: .35rem; flex-wrap: wrap; }
.people-completion { display: flex; gap: .32rem; flex-wrap: wrap; }
.people-completion span { display: inline-flex; align-items: center; min-height: 26px; padding: .16rem .52rem; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.people-completion .done { color: #2f7543; background: rgba(232,246,232,.92); border: 1px solid rgba(76,154,90,.16); }
.people-completion .todo { color: #956327; background: rgba(255,246,226,.9); border: 1px solid rgba(214,143,45,.18); }
.people-actions-cell { text-align: right; white-space: nowrap; }
.people-detail-toggle { display: inline-block; position: relative; margin-right: .35rem; text-align: left; }
.people-detail-toggle > summary { list-style: none; }
.people-detail-toggle > summary::-webkit-details-marker { display: none; }
.people-detail-popover { position: fixed; left: 50%; top: 50%; z-index: 1055; width: min(1120px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: 1rem; border-radius: 24px; background: rgba(255,255,255,.96); border: 1px solid rgba(76,154,90,.16); box-shadow: 0 28px 80px rgba(31,77,45,.28); transform: translate(-50%, -50%); white-space: normal; }
.people-detail-title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; color: #244538; font-size: 1.05rem; font-weight: 900; }
.management-detail-grid { padding: 0; grid-template-columns: repeat(2, minmax(260px, 1fr)); }
.inline-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .65rem; }
.inline-edit-grid .form-label { margin-bottom: .18rem; color: var(--muted); font-size: .74rem; font-weight: 900; }
.inline-edit-grid .form-control, .inline-edit-grid .form-select { min-height: 34px; border-radius: 10px; font-size: .84rem; }
.people-detail-actions { display: flex; justify-content: flex-end; gap: .45rem; flex-wrap: wrap; margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed rgba(76,154,90,.16); }
.people-detail-actions form { display: inline-flex; margin: 0; }
.deleted-people-card .people-table { min-width: 980px; }
.avatar-img { display: block; object-fit: cover; background: #fff; }
.avatar-fallback { display: inline-grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6fba68, #2f7543); font-weight: 900; box-shadow: inset 0 0 0 2px rgba(255,255,255,.32); }
.avatar-lg { width: 86px; height: 86px; border-radius: 24px; font-size: 1.85rem; }
.person-avatar { width: 36px; height: 36px; border-radius: 12px; font-size: 1rem; }
.person-main strong, .person-main em { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-main strong { color: #244538; font-size: 1rem; font-weight: 900; }
.person-main em, .person-meta { color: var(--muted); font-style: normal; font-size: .82rem; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-flags { display: flex; align-items: center; justify-content: flex-end; gap: .32rem; flex-wrap: wrap; }
.person-flags .status-pill { padding: .18rem .48rem; font-size: .72rem; }
.person-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem; padding: 0 .8rem .8rem; }
.person-panel { padding: .75rem; border-radius: 16px; background: rgba(247,252,247,.72); border: 1px solid rgba(76,154,90,.12); }
.person-panel h2 { margin-bottom: .55rem; font-size: .98rem; }
.compact-dl { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: .24rem .55rem; margin: 0; }
.compact-dl dt { color: var(--muted); font-size: .76rem; font-weight: 900; }
.compact-dl dd { margin: 0; color: var(--ink); font-size: .84rem; font-weight: 750; min-width: 0; overflow-wrap: anywhere; }
.person-actions { margin-top: .7rem; }
.signature-panel .signature-preview-img { max-width: 180px; max-height: 70px; margin-bottom: .45rem; }
.signature-panel p { margin-bottom: .18rem; font-size: .84rem; }
.avatar-panel-main { display: flex; align-items: center; gap: .72rem; }
.avatar-panel-main strong { display: block; font-size: .9rem; overflow-wrap: anywhere; }
.signature-inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; align-items: center; margin-top: .65rem; padding-top: .65rem; border-top: 1px dashed rgba(76,154,90,.18); }
.compact-empty { padding: .65rem; font-size: .84rem; }

.profile-hero-card { align-items: stretch; }
.profile-file-hero { margin-bottom: 1rem; }
.profile-identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.profile-hero-actions { display: grid; align-content: center; justify-items: end; gap: .5rem; }
.profile-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; margin-bottom: .9rem; }
.profile-summary-card { display: grid; gap: .1rem; padding: .9rem; border-radius: 18px; background: rgba(255,255,255,.76); border: 1px solid rgba(76,154,90,.12); box-shadow: var(--shadow-soft); }
.profile-summary-card span { color: var(--muted); font-size: .8rem; font-weight: 900; }
.profile-summary-card strong { color: var(--ink); font-size: 1.35rem; font-weight: 900; line-height: 1.15; }
.profile-summary-card em { color: var(--muted); font-style: normal; font-size: .78rem; font-weight: 800; }
.profile-summary-card.accent-green { background: linear-gradient(135deg, rgba(236,249,234,.92), rgba(255,255,255,.78)); }
.profile-summary-card.accent-blue { background: linear-gradient(135deg, rgba(235,246,255,.92), rgba(255,255,255,.78)); }
.profile-layout-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .9rem; align-items: start; }
.profile-card-block { min-height: 0; }
.profile-info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .55rem; }
.profile-info-list div { min-height: 58px; padding: .62rem .7rem; border-radius: 14px; background: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.78); }
.profile-info-list div.wide { grid-column: 1 / -1; }
.profile-info-list span, .profile-info-list strong { display: block; min-width: 0; }
.profile-info-list span { color: var(--muted); margin-bottom: .16rem; font-size: .78rem; font-weight: 900; }
.profile-info-list strong { color: var(--ink); font-weight: 850; line-height: 1.28; overflow-wrap: anywhere; }
.profile-signature-panel { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.profile-edit-section .collapse { border-top: 1px dashed rgba(76,154,90,.18); margin-top: .7rem; padding-top: .7rem; }
.avatar-upload-form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: .45rem; align-items: center; }
.profile-v2-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: .9rem;
  padding: 1.15rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(236,248,235,.82));
  border: 1px solid rgba(76,154,90,.14);
  box-shadow: var(--shadow-soft);
}
.profile-v2-person { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.profile-v2-avatar { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 26px; font-size: 2rem; }
.profile-v2-title { min-width: 0; }
.profile-v2-title h1 { margin-bottom: .12rem; }
.profile-v2-title p:not(.eyebrow) { margin: 0; color: var(--muted); font-weight: 800; }
.profile-v2-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.profile-v2-tags span { display: inline-flex; align-items: center; min-height: 28px; padding: .25rem .68rem; border-radius: 999px; color: #2f7543; background: rgba(232,246,232,.88); border: 1px solid rgba(76,154,90,.14); font-size: .78rem; font-weight: 900; }
.profile-v2-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.profile-v2-drawer, .profile-v2-panel {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(76,154,90,.13);
  box-shadow: var(--shadow-soft);
}
.profile-v2-drawer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.profile-v2-upload-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: .5rem; align-items: center; min-width: min(100%, 520px); }
.profile-v2-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-bottom: .9rem; }
.profile-v2-metrics div { padding: .85rem .9rem; border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(76,154,90,.12); box-shadow: 0 8px 22px rgba(69,128,82,.07); }
.profile-v2-metrics span, .profile-v2-metrics strong, .profile-v2-metrics em { display: block; min-width: 0; }
.profile-v2-metrics span { color: var(--muted); font-size: .78rem; font-weight: 900; }
.profile-v2-metrics strong { margin-top: .08rem; color: var(--ink); font-size: 1.32rem; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.profile-v2-metrics em { margin-top: .2rem; color: var(--muted); font-style: normal; font-size: .76rem; font-weight: 800; overflow-wrap: anywhere; }
.profile-v2-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .9rem; align-items: start; }
.profile-v2-panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.profile-v2-panel-head h2 { margin: 0; }
.profile-v2-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .75rem; margin: 0; }
.profile-v2-list div { min-width: 0; padding: .45rem 0 .55rem; border-bottom: 1px dashed rgba(76,154,90,.14); }
.profile-v2-list div.wide { grid-column: 1 / -1; }
.profile-v2-list dt { margin-bottom: .18rem; color: var(--muted); font-size: .76rem; font-weight: 900; }
.profile-v2-list dd { margin: 0; color: var(--ink); font-weight: 850; line-height: 1.35; overflow-wrap: anywhere; }
.profile-reveal-btn { margin-left: .45rem; color: var(--green-dark); font-size: .76rem; font-weight: 900; vertical-align: baseline; }
.profile-reveal-btn:disabled { color: var(--muted); cursor: default; opacity: .78; }
.profile-v2-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 1rem; padding-top: .8rem; border-top: 1px dashed rgba(76,154,90,.16); }
.profile-v2-signature { display: flex; align-items: center; gap: .85rem; min-width: 0; padding: .75rem; border-radius: 18px; background: rgba(247,251,246,.72); border: 1px solid rgba(76,154,90,.1); }
.profile-v2-signature strong { display: block; overflow-wrap: anywhere; }
.profile-compact-grid { grid-template-columns: 1fr; }
.profile-compact-panel .profile-v2-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.notification-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border: 1px solid rgba(76,154,90,.22); color: var(--green-dark); background: #eef9ed; border-radius: 13px; padding: 0 .8rem; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; }
.notification-trigger:hover { background: #e0f4df; transform: translateY(-1px); }
.nav-notify-compact { display: none; flex: 0 0 auto; min-height: 36px; padding: 0 .62rem; font-size: .82rem; }
.nav-notify-tools { width: 100%; justify-content: center; }
.mobile-action-grid button { display: grid; place-items: center; width: 100%; min-height: 64px; padding: .52rem .3rem; border-radius: 18px; color: var(--ink); text-align: center; background: rgba(255,255,255,.78); border: 1px solid rgba(76,154,90,.12); box-shadow: 0 10px 28px rgba(69,128,82,.08); cursor: pointer; }
.mobile-action-grid button:hover { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.mobile-action-grid button strong, .mobile-action-grid button span { display: block; white-space: normal; }
.mobile-action-grid button strong { font-size: .86rem; line-height: 1.18; }
.mobile-action-grid button span { display: none; }
.dashboard-notification { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid rgba(76,154,90,.22); color: var(--green-dark); background: #eef9ed; border-radius: 13px; padding: 0 .9rem; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; }
.dashboard-notification:hover { background: #e0f4df; transform: translateY(-1px); }
.dashboard-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.dashboard-send-message { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 .9rem; border-radius: 13px; font-weight: 800; box-shadow: none; }
.dashboard-message-center { position: relative; display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; border-radius: 13px; font-weight: 800; }
.dashboard-actions :where(.dashboard-send-message, .dashboard-message-center, .dashboard-notification) { gap: .44rem; }
.dashboard-action-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; margin-left: -.18rem; border-radius: 9px; color: currentColor; background: rgba(255,255,255,.55); }
.dashboard-action-icon svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-action-icon.is-send { color: var(--green-dark); background: #e6f5e3; }
.dashboard-action-icon.is-inbox { color: #3979a5; background: #e4f3ff; }
.dashboard-action-icon.is-bell { color: #d85a43; background: #fff1ed; }
.btn-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 .34rem; border-radius: 999px; color: #fff; background: #d85a43; font-size: .7rem; font-weight: 900; line-height: 1; }
.notification-badge { display: inline-grid; place-items: center; min-width: 1.2rem; height: 1.2rem; margin-left: .35rem; padding: 0 .32rem; border-radius: 999px; color: #fff; background: #ff6b54; font-size: .72rem; }
.notification-panel { width: min(460px, calc(100vw - 1.2rem)); border-left: 1px solid rgba(76,154,90,.16); background: rgba(252,255,252,.96); backdrop-filter: blur(20px); box-shadow: -20px 0 60px rgba(69,128,82,.16); }
.notification-panel-head { align-items: flex-start; padding: 1.1rem 1.15rem .7rem; border-bottom: 1px solid var(--line); }
.notification-panel-head h2 { margin: 0; font-size: 1.28rem; font-weight: 900; color: var(--ink); }
.notification-panel-body { padding: .75rem; }
.notification-head { display: flex; justify-content: space-between; align-items: center; padding: .55rem .65rem .7rem; color: var(--ink); }
.notification-head span { color: var(--muted); font-size: .84rem; }
.notification-item { display: flex; align-items: flex-start; gap: .6rem; width: 100%; box-sizing: border-box; white-space: normal; padding: .55rem .65rem; margin-bottom: .32rem; border-radius: 14px; color: var(--ink); text-decoration: none; background: rgba(255,255,255,.7); border: 1px solid transparent; }
.notification-item:hover { background: #eef9ed; transform: translateY(-1px); }
.notification-item.unread { border-color: rgba(76,154,90,.25); box-shadow: inset 4px 0 0 var(--green); }
.notification-avatar { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px; font-size: .9rem; }
.notification-item-body { display: block; min-width: 0; flex: 1 1 auto; }
.notification-item-body strong, .notification-item-body span, .notification-item-body em { display: block; white-space: normal; overflow: visible; text-overflow: clip; }
.notification-item-body span { color: #5f746c; margin-top: .12rem; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notification-item-body em { color: var(--muted); margin-top: .18rem; font-style: normal; font-size: .72rem; }
.notification-empty { padding: 1rem; color: var(--muted); text-align: center; }
.notification-foot { border-top: 1px solid var(--line); padding: .6rem .35rem .15rem; text-align: center; }
.notification-foot button { border: 0; background: transparent; color: var(--green-dark); font-weight: 800; }

.login-body { min-height: 100dvh; background: linear-gradient(120deg, #f8fcf5, #edf8ed); }
.login-scene { min-height: calc(100dvh - 48px); display: grid; grid-template-columns: minmax(420px, 1.4fr) minmax(340px, .65fr); align-items: center; gap: 2rem; padding: 2rem 6vw; }
.login-cover { position: relative; min-height: min(620px, calc(100dvh - 4rem)); padding: 3rem 3rem 3rem 2.2rem; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.88), rgba(229,246,229,.76)); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.86); }
.login-cover::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: radial-gradient(ellipse at 15% 100%, rgba(59,126,72,.28) 0 16%, transparent 39%), radial-gradient(ellipse at 55% 105%, rgba(81,151,96,.22) 0 22%, transparent 46%), linear-gradient(180deg, transparent, rgba(203,232,209,.74)); }
.login-cover::after { content: ""; position: absolute; right: 1rem; top: 0; width: 150px; height: 150px; border-radius: 0 0 0 100%; background: radial-gradient(circle at 65% 18%, rgba(95,165,89,.24), transparent 62%); }
.brand-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-start; gap: .85rem; }
.brand-logo-login {
  width: min(680px, 75vw);
  height: auto;
}
.brand-row strong, .brand-row span { display: block; }
.brand-row strong { color: #29483d; font-weight: 900; }
.brand-row span { color: #5f746c; font-size: .72rem; letter-spacing: .04em; }
.login-title-block { position: relative; z-index: 1; margin-top: 2.8rem; text-align: left; }
.login-title-block h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); color: var(--green); letter-spacing: -.06em; }
.login-title-block p:last-child { color: #40574e; font-size: 1.15rem; letter-spacing: .22em; margin-top: .8rem; }
.landscape-layer span { position: absolute; border-radius: 50%; background: rgba(72,139,85,.12); }
.landscape-layer span:nth-child(1) { width: 180px; height: 70px; left: 8%; bottom: 12%; }
.landscape-layer span:nth-child(2) { width: 260px; height: 90px; left: 31%; bottom: 8%; }
.landscape-layer span:nth-child(3) { width: 160px; height: 68px; right: 8%; bottom: 10%; }
.login-panel { position: relative; z-index: 2; width: min(420px, 100%); padding: 2rem; border-radius: 22px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.88); backdrop-filter: blur(20px); box-shadow: 0 24px 70px rgba(69,128,82,.18); }
.login-panel h2 { font-size: 1.4rem; margin-bottom: .35rem; }
.login-panel .btn { border-radius: 10px; }
.login-foot { display: none; }
.flash-stack { position: fixed; top: 1rem; right: 1rem; z-index: 1200; display: grid; gap: .6rem; width: min(440px, calc(100vw - 2rem)); pointer-events: none; }
.flash-stack .alert {
  position: relative;
  display: flex;
  align-items: center;
  gap: .72rem;
  min-height: 62px;
  margin: 0;
  padding: .82rem 3.1rem .82rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.86);
  color: #244538;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 48px rgba(46, 91, 58, .2), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(1.12);
  font-weight: 900;
  line-height: 1.35;
  pointer-events: auto;
  overflow: hidden;
}
.flash-stack .alert::before { content: ""; display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 12px; color: #fff; font-weight: 950; }
.flash-stack .alert-success { border-color: rgba(76,154,90,.28); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(237,248,236,.96)); }
.flash-stack .alert-success::before { content: "✓"; background: linear-gradient(180deg, #58a766, #2f7543); box-shadow: 0 10px 22px rgba(76,154,90,.24); }
.flash-stack .alert-danger { border-color: rgba(216,90,67,.28); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,241,238,.96)); }
.flash-stack .alert-danger::before { content: "!"; background: linear-gradient(180deg, #e66b54, #b83f31); box-shadow: 0 10px 22px rgba(216,90,67,.22); }
.flash-stack .alert-warning { border-color: rgba(224,166,45,.3); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,248,229,.96)); }
.flash-stack .alert-warning::before { content: "!"; background: linear-gradient(180deg, #e0a62d, #a96d16); box-shadow: 0 10px 22px rgba(224,166,45,.22); }
.flash-stack .alert-info { border-color: rgba(63,130,170,.24); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(235,247,255,.96)); }
.flash-stack .alert-info::before { content: "i"; background: linear-gradient(180deg, #5a9fc7, #34769d); box-shadow: 0 10px 22px rgba(63,130,170,.2); }
.flash-stack .btn-close {
  position: absolute;
  top: 50%;
  right: .82rem;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  background-color: rgba(255,255,255,.82);
  background-size: .58rem;
  opacity: .76;
  transform: translateY(-50%);
}
.flash-stack .btn-close:hover { opacity: 1; background-color: #eef9ed; }
.alert { border-radius: 16px; border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }

.mobile-tabbar { display: none; }
.mobile-action-sheet { height: auto; max-height: 82dvh; border: 0; border-radius: 26px 26px 0 0; background: rgba(252,255,252,.98); box-shadow: 0 -18px 60px rgba(69,128,82,.18); }
.mobile-action-head { align-items: flex-start; padding: .9rem 1rem .58rem; border-bottom: 1px solid var(--line); }
.mobile-action-head h2 { margin: 0; color: var(--ink); font-size: 1.08rem; font-weight: 900; }
.mobile-action-body { padding: .72rem .82rem calc(.9rem + env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-action-groups { display: grid; gap: .7rem; }
.mobile-action-section { display: grid; gap: .4rem; min-width: 0; }
.mobile-action-section + .mobile-action-section { padding-top: .62rem; border-top: 1px solid rgba(76,154,90,.12); }
.mobile-action-section h3 { margin: 0; color: #536960; font-size: .76rem; font-weight: 950; letter-spacing: .04em; }
.mobile-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .52rem; }
.mobile-action-grid a { display: grid; place-items: center; min-height: 64px; padding: .52rem .3rem; border-radius: 18px; color: var(--ink); text-align: center; text-decoration: none; background: rgba(255,255,255,.78); border: 1px solid rgba(76,154,90,.12); box-shadow: 0 10px 28px rgba(69,128,82,.08); }
.mobile-action-grid a:hover { color: var(--green-dark); background: #eef9ed; transform: translateY(-1px); }
.mobile-action-grid strong, .mobile-action-grid span { display: block; white-space: normal; }
.mobile-action-grid strong { font-size: .86rem; line-height: 1.18; }
.mobile-action-grid span { display: none; }
.mobile-action-grid button span { display: none; }

@media (min-width: 992px) {
  .app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); width: 100%; }
  .app-nav { grid-column: 1; grid-row: 1; position: sticky; top: 0; align-self: start; min-height: var(--app-shell-min-height, 100dvh); border-radius: 0 26px 26px 0; }
  .app-nav .container-fluid { flex-direction: column; align-items: stretch; min-height: var(--app-shell-min-height, 100dvh); max-height: var(--app-shell-min-height, 100dvh); overflow: hidden; padding: 0 1.05rem 1.05rem !important; }
  .brand-strip { padding-top: .85rem; padding-bottom: .35rem; }
  .brand-strip, .sidebar-profile-card { flex: 0 0 auto; }
  .navbar-collapse { display: flex !important; flex: 1 1 auto; flex-direction: column; align-items: stretch; width: 100%; min-height: 0; }
  .navbar-nav { display: flex !important; flex: 1 1 auto; flex-direction: column !important; flex-wrap: nowrap !important; width: 100%; gap: .18rem; min-height: 0; margin-top: .18rem; margin-right: 0 !important; overflow-y: auto; overflow-x: hidden; padding-right: .12rem; }
  .navbar-nav::-webkit-scrollbar { width: 4px; }
  .navbar-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(76,154,90,.22); }
  .navbar-nav .nav-item { width: 100%; flex: 0 0 auto; }
  .nav-tools { flex: 0 0 auto; margin-top: .8rem; flex-direction: column; align-items: stretch !important; gap: .8rem !important; width: 100%; padding-top: 1rem; border-top: 1px solid var(--line); }
  .nav-tools > * { display: flex; align-items: center; min-height: 36px; width: 100%; }
  .nav-tools .btn { justify-content: center; }
  .nav-notify-compact { display: none !important; }
  .navbar-toggler { display: none; }
  main.container-fluid { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; padding: 1.4rem 2rem 2rem !important; }
  .page-scale-content :where(.btn, .status-pill, .task-chip, .quick-actions a, .table-actions a, .table-actions button, .filter-date-field > span, .date-empty-hint) { white-space: nowrap; }
  .page-scale-content :where(textarea, textarea.form-control) { white-space: pre-wrap !important; overflow-wrap: anywhere; word-break: break-word; }
  .profile-info-list,
  .profile-info-list :where(div, span, strong),
  .compact-dl,
  .compact-dl :where(dt, dd),
  .detail-grid,
  .detail-grid :where(div, span, strong, small),
  .comment-box,
  .quick-item,
  .quick-item > div,
  .quick-item :where(strong, span, small),
  .notice-card,
  .notice-card :where(p, strong, span),
  .message-body-text,
  .announcement-body-text,
  .confirmation-doc,
  .confirmation-doc :where(p, strong, span),
  .work-section > .row,
  .work-section > .row :where(div, p, strong, span, small) {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .profile-info-list > div,
  .detail-grid > div,
  .quick-item > div,
  .work-section > .row > div { min-width: 0; }
}

@media (max-width: 991px) {
  .app-nav { border-radius: 0 0 20px 20px; }
  .app-nav .container-fluid { min-width: 0; padding-left: .72rem !important; padding-right: .72rem !important; }
  .sidebar-profile-card { display: none; }
  .nav-tools { align-items: stretch !important; flex-direction: column; gap: .7rem !important; padding: .75rem 0; }
  .nav-notify-compact { display: inline-flex; }
  .nav-notify-tools { display: none !important; }
  .brand-strip { width: auto; min-width: 0; flex: 1 1 auto; justify-content: flex-start; overflow: hidden; }
  .brand-strip .navbar-brand { justify-content: flex-start; width: auto; max-width: 100%; min-height: 38px; padding: .08rem 0; overflow: hidden; }
  .brand-logo-nav { width: min(164px, 52vw); max-height: 36px; object-fit: contain; object-position: left center; }
  .navbar-toggler { flex: 0 0 auto; }
  .login-scene { grid-template-columns: 1fr; padding: 1rem; }
  .login-cover { min-height: 300px; padding: 1.5rem; }
  .login-title-block { margin-top: 3rem; }
  .login-panel { margin: -4.5rem auto 0; }
}

@media (max-width: 768px) {
  main.container-fluid { padding: .58rem .58rem 5.05rem !important; }
  .page-scale-content { display: grid; gap: .52rem; }
  .page-hero { align-items: stretch; flex-direction: column; gap: .5rem; margin-bottom: .45rem; padding: .68rem .76rem; border-radius: 18px; }
  .page-hero.compact { padding: .62rem .72rem; }
  .page-hero .muted { font-size: .78rem; line-height: 1.25; }
  .dashboard-hero { align-items: stretch; flex-direction: column; }
  .dashboard-identity { align-items: flex-start; }
  .dashboard-avatar { width: 58px; height: 58px; border-radius: 18px; font-size: 1.45rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid > .work-section { height: auto; }
  .dashboard-insight-grid { grid-template-columns: 1fr; }
  .dashboard-side { position: static; height: auto; max-height: none; }
  .dashboard-side .compact-notice-list { max-height: 360px; }
  .dashboard-actions .btn, .dashboard-actions .dashboard-notification { flex: 1; }
  .announcement-popup-head { grid-template-columns: 1fr; gap: .55rem; padding: .92rem .86rem .72rem; }
  .announcement-popup-mark { width: max-content; min-width: 48px; height: 38px; border-radius: 13px; }
  .announcement-popup-body { max-height: 50vh; padding: .65rem .72rem; }
  .announcement-popup-body article { min-height: 120px; padding: .78rem; font-size: .9rem; line-height: 1.66; }
  .announcement-popup-footer { grid-template-columns: 1fr; align-items: stretch; }
  .announcement-popup-footer .btn { width: 100%; }
  .compact-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
  .compact-actions a { min-height: 36px; padding: .42rem .35rem; font-size: .78rem; }
  .page-hero h1 { font-size: 1.26rem; line-height: 1.15; }
  .metric-card { min-height: 86px; padding: .68rem; border-radius: 16px; }
  .metric-card strong { font-size: 1.62rem; margin: .28rem 0; }
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .34rem;
    margin-bottom: .42rem;
    padding: .36rem;
    border-radius: 15px;
    overflow: visible;
  }
  .filter-restore-notice { align-items: flex-start; flex-direction: column; gap: .38rem; padding: .48rem .56rem; border-radius: 12px; font-size: .8rem; }
  .filter-restore-actions { width: 100%; }
  .filter-restore-notice button { width: 100%; min-height: 32px; font-size: .78rem; }
  .flow-topic-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: .65rem; }
  .flow-topic-overview article { padding: .72rem .75rem; border-radius: 15px; }
  .flow-topic-overview strong { font-size: 1.08rem; }
  .flow-topic-current-item { align-items: stretch; flex-direction: column; gap: .55rem; }
  .flow-topic-current-item p { white-space: normal; }
  .flow-topic-current-item > .btn { width: 100%; }
  .flow-topic-switch { width: 100%; justify-content: stretch; order: 3; }
  .flow-topic-switch a { flex: 1 1 0; text-align: center; }
  .flow-topic-steps { grid-template-columns: 1fr; gap: .5rem; }
  .flow-topic-hub-grid { grid-template-columns: 1fr; gap: .65rem; }
  .flow-topic-hub-card { padding: .85rem; border-radius: 18px; }
  .flow-topic-hub-card dl { grid-template-columns: 1fr; }
  .filter-bar > * { flex: 1 1 112px; min-width: 0; }
  .filter-bar.filter-toolbar > .filter-summary-chips { flex: 1 1 100%; min-width: 0; }
  .filter-bar.filter-toolbar > .filter-multi { flex: 1 1 140px; max-width: none; }
  .filter-bar > input[name="keyword"], .filter-bar > input[name="name"], .filter-bar > input[placeholder*="搜索"] { flex: 2 1 158px; }
  .filter-bar .btn, .filter-bar button, .filter-bar a.btn { flex: 0 1 auto; width: auto; min-width: 62px; min-height: 34px; padding-left: .55rem; padding-right: .55rem; white-space: nowrap; }
  .filter-bar .form-control, .filter-bar .form-select { min-height: 40px; border-radius: 10px; font-size: 16px; }
  .filter-bar .filter-date-field { flex: 1 1 156px; min-height: 34px; padding: 0 .48rem; gap: .34rem; border-radius: 10px; }
  .filter-bar .filter-date-field > span { font-size: .72rem; }
  .filter-bar .filter-date-field .form-control { min-height: 38px; font-size: 16px; }
  .filter-bar .filter-date-field .date-empty-hint { font-size: .78rem; right: 1.35rem; }
  .filter-bar .todo-overdue-check { flex: 0 1 auto; min-height: 34px; padding: 0 .5rem; font-size: .78rem; }
  .todo-filter-details { margin-bottom: .62rem; }
  .todo-filter-details > summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 44px; padding: .58rem .68rem; border-radius: 13px; color: var(--green-dark); background: rgba(255,255,255,.72); border: 1px solid rgba(76,154,90,.16); cursor: pointer; list-style: none; font-size: .84rem; font-weight: 950; }
  .todo-filter-details > summary::-webkit-details-marker { display: none; }
  .todo-filter-details > summary::after { content: "展开"; flex: 0 0 auto; color: var(--muted); font-size: .72rem; }
  .todo-filter-details[open] > summary::after { content: "收起"; }
  .todo-filter-details > summary em { min-width: 0; color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .todo-filter-details:not([open]) > .todo-filter-bar { display: none; }
  .todo-filter-details[open] > .todo-filter-bar { display: flex; margin-top: .42rem; }
  .todo-filter-bar { display: flex; grid-template-columns: none; }
  .todo-batch-tools { justify-content: flex-start; gap: .35rem; }
  .todo-batch-tools .btn { min-height: 38px; }
  .todo-batch-reject-modal textarea { min-height: 128px; font-size: 16px; }
  .todo-center-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .todo-center-summary.app-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .app-entry-card.todo-summary-card { padding: .38rem .48rem; }
  .app-entry-actions .btn { padding: .14rem .26rem; font-size: .7rem; }
  .todo-center-list { overflow: visible; padding-bottom: 0; }
  .todo-center-item { grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "check type status" "main main main" "time time time" "actions actions actions"; align-items: start; min-width: 0; min-height: 0; padding: .62rem .66rem; gap: .38rem .46rem; border-radius: 16px; }
  .todo-center-item:not(.has-quick) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "type status" "main main" "time time" "actions actions"; }
  .todo-type-chip { min-height: 24px; padding: .12rem .38rem; font-size: .72rem; }
  .todo-item-main { align-items: flex-start; flex-direction: column; gap: .14rem; }
  .todo-item-main strong, .todo-item-main span { white-space: normal; overflow: visible; text-overflow: clip; }
  .todo-item-main strong { display: -webkit-box; font-size: .9rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .todo-item-main span { font-size: .74rem; line-height: 1.3; overflow-wrap: anywhere; }
  .todo-item-status { padding: .14rem .38rem; font-size: .7rem; }
  .todo-item-time { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .42rem; justify-self: start; font-size: .72rem; white-space: normal; }
  .todo-item-actions { justify-content: flex-start; flex-wrap: wrap; min-width: 0; margin-top: .05rem; gap: .34rem .5rem; }
  .todo-item-actions form { display: inline-flex; flex: 0 1 auto; }
  .todo-item-actions a { font-size: .76rem; }
  .todo-quick-actions[open] { flex: 1 1 100%; min-width: 0; }
  .todo-quick-actions-panel { position: static; width: 100%; min-width: 0; margin-top: .35rem; box-shadow: 0 8px 20px rgba(45,79,57,.1); }
  .todo-quick-actions-panel .todo-approve-form { display: flex; }
  .todo-quick-actions-panel .todo-reject-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
  .todo-reject-form .form-control-sm { width: auto; min-width: 0; }
  .table-card { padding: .22rem; overflow-x: auto; border-radius: 15px; }
  .table-card .table { width: max-content; min-width: 640px; }
  .mobile-scroll-table { overflow-x: auto !important; }
  .mobile-scroll-table .table { display: table; width: max-content !important; min-width: 720px !important; table-layout: auto; }
  .mobile-scroll-table thead { display: table-header-group; }
  .mobile-scroll-table tbody { display: table-row-group; }
  .mobile-scroll-table tr { display: table-row; }
  .mobile-scroll-table :where(th, td) { display: table-cell; }
  .table-scroll-hint { margin-bottom: .38rem; padding: .26rem .52rem; border-radius: 12px; font-size: .72rem; line-height: 1.25; }
  .ledger-scroll-table .table,
  .ledger-scroll-table .table.resizable-table { min-width: 880px; width: max-content; table-layout: fixed; }
  .ledger-scroll-table .table :where(th, td):first-child,
  .ledger-scroll-table .table :where(th, td):last-child {
    position: sticky;
    z-index: 2;
  }
  .ledger-scroll-table .table :where(th, td):first-child { left: 0; box-shadow: 8px 0 12px -10px rgba(69,128,82,.4); }
  .ledger-scroll-table .table :where(th, td):last-child { right: 0; box-shadow: -8px 0 12px -10px rgba(69,128,82,.4); }
  .ledger-scroll-table .table thead th:first-child,
  .ledger-scroll-table .table thead th:last-child {
    z-index: 3;
    background: rgba(233, 247, 232, .98);
  }
  .ledger-scroll-table .table tbody td:first-child,
  .ledger-scroll-table .table tbody td:last-child {
    background: rgba(252, 255, 252, .98);
  }
  .ledger-scroll-table .table tbody tr:hover td:first-child,
  .ledger-scroll-table .table tbody tr:hover td:last-child {
    background: rgba(233, 247, 232, .98);
  }
  .seal-approval-ledger-table:not(.mobile-card-table) .table { table-layout: fixed; width: 100%; min-width: 720px; }
  .table-card .table :where(th, td) { max-width: 168px; padding: .34rem .42rem; font-size: .78rem; line-height: 1.18; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; }
  .table-card .table td { white-space: nowrap; }
  .table-card .table td :where(a:not(.btn), small, span:not(.status-pill), strong, em) { display: inline-block; max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
  .table-card .table td .table-actions, .table-card .table td form, .table-card .table td .status-pill { max-width: none; }
  .table-card td small { display: inline; white-space: nowrap; }
  .table-card .table td .list-long-text, .table-card .table td .list-review-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-width: 260px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .table-card .table td .list-long-text { -webkit-line-clamp: 2; max-height: 3.72em; }
  .table-card .table td .list-review-text { -webkit-line-clamp: 3; max-height: 5.58em; }
  .table-card .table td .list-review-text small { display: inline; max-width: none; white-space: normal; overflow: visible; text-overflow: clip; }
  .table-card .btn, .table-actions .btn { width: auto; min-height: 29px; padding: .18rem .42rem; font-size: .74rem; }
  .mobile-card-table { overflow: visible !important; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .mobile-card-table .table { display: block; width: 100% !important; min-width: 0 !important; max-width: 100%; table-layout: auto !important; }
  .mobile-card-table thead { display: none; }
  .mobile-card-table tbody { display: grid; gap: .42rem; width: 100%; }
  .mobile-card-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .28rem .42rem; width: 100%; padding: .48rem .52rem; border-radius: 14px; background: rgba(255,255,255,.72); border: 1px solid rgba(76,154,90,.1); box-shadow: 0 8px 20px rgba(69,128,82,.07); }
  .mobile-card-table .table :where(th, td), .mobile-card-table .table td { display: block; max-width: none; width: auto; min-width: 0; padding: 0; border: 0; background: transparent; white-space: normal; overflow: visible; text-overflow: clip; }
  .mobile-card-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: .06rem; color: var(--muted); font-size: .64rem; font-weight: 900; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-card-table .table td :where(a:not(.btn), small, span:not(.status-pill), strong, em) { display: inline; max-width: none; overflow: visible; text-overflow: clip; white-space: normal; }
  .mobile-card-table .seal-ledger-report-name { max-width: none; white-space: normal; overflow-wrap: anywhere; }
  .mobile-card-table .seal-ledger-table-lines span { display: flex; }
  .mobile-card-table .seal-ledger-table-seals { display: grid; gap: .26rem; overflow: visible; }
  .mobile-card-table .seal-ledger-table-seals .seal-ledger-seal-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; width: 100%; max-width: 100%; }
  .mobile-card-table .seal-ledger-table-seals .seal-mini-logo { display: inline-flex; }
  .mobile-card-table .seal-ledger-table-seals .seal-chip-name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-card-table .seal-ledger-table-seals .seal-chip-count { display: block; white-space: nowrap; }
  .mobile-card-table.seal-records-table .seal-list-seals,
  .mobile-card-table.seal-records-table .seal-list-reason { grid-column: 1 / -1; }
  .mobile-card-table.seal-records-table .seal-name-list { gap: .3rem; }
  .mobile-card-table.seal-records-table .seal-record-actions { min-width: 0; }
  .mobile-card-table td { color: var(--ink); font-size: .8rem; line-height: 1.2; overflow-wrap: anywhere; }
  .mobile-card-table td.mobile-wide-cell { grid-column: 1 / -1; }
  .mobile-card-table td[colspan] { grid-column: 1 / -1; }
  .mobile-card-table td input, .mobile-card-table td select, .mobile-card-table td textarea { width: 100%; min-height: 40px; font-size: 16px; }
  .mobile-card-table .table-actions { display: flex; gap: .28rem; align-items: center; flex-wrap: wrap; }
  .mobile-card-table .table-actions .form-control, .mobile-card-table .table-actions .form-select { flex: 1 1 120px; min-width: 0; }
  .mobile-card-table .status-pill { padding: .16rem .48rem; font-size: .72rem; }
  .mobile-card-table .column-resizer { display: none; }
  .consumable-items-card.mobile-scroll-table { overflow-x: auto !important; overflow-y: auto; padding: .34rem .34rem 9rem; }
  .consumable-items-card.mobile-scroll-table .consumable-items-table { min-width: 760px !important; }
  .consumable-items-card .consumable-items-table :where(th, td) { max-width: none; overflow: visible; text-overflow: clip; }
  .consumable-items-card .consumable-items-table td { white-space: normal; }
  .consumable-items-card .form-control-sm { min-height: 40px; font-size: 16px; }
  .consumable-items-card .consumable-search { min-width: 170px; }
  .consumable-items-card input[name="quantity[]"] { min-width: 92px; }
  .consumable-items-card [data-consumable-field] { min-width: 96px; }
  .consumable-items-card [data-consumable-field="location"] { min-width: 120px; }
  .consumable-items-card .consumable-search-results { z-index: 60; min-width: 220px; max-height: 240px; }
  .consumable-items-card .consumable-search-option { min-height: 38px; padding: .5rem .58rem; font-size: .82rem; }
  .editable-table-card.mobile-scroll-table { overflow-x: auto !important; overflow-y: auto; }
  .table-card.editable-table-card.mobile-scroll-table { padding: .34rem; }
  .editable-table-card.mobile-scroll-table .editable-form-table { min-width: 680px !important; }
  .editable-table-card .editable-form-table :where(th, td) { max-width: none; overflow: visible; text-overflow: clip; }
  .editable-table-card .editable-form-table td { white-space: normal; }
  .editable-table-card .editable-form-table :where(.form-control, .form-select) { min-width: 96px; min-height: 40px; font-size: 16px; }
  .editable-table-card .editable-form-table :where(.form-control-sm, .form-select-sm) { min-height: 40px; }
  .modal-dialog { margin: .75rem; }
  .modal-dialog-centered { min-height: calc(100% - 1.5rem); }
  .modal-content { border-radius: 20px; }
  .modal-header { padding: .72rem .78rem .5rem; }
  .modal-body { padding: .65rem .78rem; }
  .modal-footer { grid-template-columns: 1fr 1fr; padding: .55rem .78rem calc(.55rem + env(safe-area-inset-bottom)); }
  .modal-footer .btn { width: 100%; min-height: 38px; }
  .app-confirm-modal .modal-dialog { width: auto; margin: .75rem; }
  .app-confirm-modal .modal-body { gap: .58rem; padding: .82rem .78rem .55rem; }
  .app-confirm-mark { width: 34px; height: 34px; border-radius: 12px; }
  .app-confirm-copy h2 { font-size: 1rem; }
  .app-confirm-copy p:last-child { font-size: .84rem; line-height: 1.35; }
  .app-confirm-modal .btn { min-height: 38px; }
  .offcanvas-header { padding: .78rem .82rem .52rem; }
  .offcanvas-body { padding: .65rem .82rem calc(.75rem + env(safe-area-inset-bottom)); }
  .work-section { padding: .48rem; margin-bottom: .48rem; border-radius: 16px; }
  .work-section .row.g-3, .form-card .row.g-3, .narrow-card .row.g-3, form.row.g-3 { --bs-gutter-x: .38rem; --bs-gutter-y: .42rem; }
  .work-section .row.g-3 > [class*="col-md-"], .form-card .row.g-3 > [class*="col-md-"], .narrow-card .row.g-3 > [class*="col-md-"] { flex: 0 0 50%; width: 50%; }
  .work-section .row.g-3 > .col-md-8, .work-section .row.g-3 > .col-md-9, .form-card .row.g-3 > .col-md-8, .form-card .row.g-3 > .col-md-9, .narrow-card .row.g-3 > .col-md-8, .narrow-card .row.g-3 > .col-md-9 { flex-basis: 100%; width: 100%; }
  .work-section .row.g-3 > .col-12, .form-card .row.g-3 > .col-12, .narrow-card .row.g-3 > .col-12 { flex: 0 0 100%; width: 100%; }
  .form-label { margin-bottom: .14rem; font-size: .8rem; line-height: 1.2; color: var(--muted); font-weight: 900; }
  .form-text { margin-top: .12rem; font-size: .8rem; line-height: 1.25; color: var(--muted) !important; }
  .form-control, .form-select,
  .form-control-sm, .form-select-sm,
  .table-actions .form-control,
  .table-actions .form-select,
  .table-actions .form-control-sm,
  .table-actions .form-select-sm,
  .todo-reject-form .form-control-sm,
  .wechat-section .form-control,
  .wechat-section .form-select,
  .wechat-filter .form-control,
  .wechat-filter .form-select,
  .vehicle-form-dense .form-control,
  .vehicle-form-dense .form-select,
  .vehicle-form-dense .vehicle-field-control > .form-control,
  .vehicle-form-dense .vehicle-field-control > .form-select,
  .inline-edit-grid .form-control,
  .inline-edit-grid .form-select,
  .seal-detail-card .form-control,
  .seal-detail-card .form-select,
  .resizable-table .form-control-sm {
    min-height: 40px;
    padding: .34rem .52rem;
    border-radius: 10px;
    font-size: 16px;
  }
  .form-control, .form-select { min-height: 40px; padding: .34rem .52rem; border-radius: 10px; font-size: 16px; }
  textarea.form-control,
  textarea.form-control-sm { min-height: 88px; font-size: 16px; }
  input[type="date"], input[type="time"], input[type="datetime-local"] { color: #2f4d42; background-color: #f2faf1; border-color: rgba(76,154,90,.26); }
  input[type="date"].date-empty, input[type="time"].date-empty, input[type="datetime-local"].date-empty { color: transparent; }
  input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-calendar-picker-indicator { opacity: .72; filter: hue-rotate(62deg) saturate(1.1); }
  .date-input-shell { position: relative; display: block; width: 100%; }
  .date-input-shell > .form-control { width: 100%; }
  .date-empty-hint { position: absolute; left: .5rem; right: 2rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #6b8077; font-size: .8rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .date-input-shell:focus-within .date-empty-hint { opacity: .55; }
  .work-section .row.g-3 > div > strong { display: block; color: var(--muted); font-size: .72rem; line-height: 1.15; }
  .work-section .row.g-3 > div > p { margin: .1rem 0 0; font-size: .86rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wechat-narrative-grid, .wechat-review-flow, .wechat-security-grid { grid-template-columns: 1fr; }
  .wechat-review-card { padding: .56rem .6rem; }
  .wechat-security-item { align-items: flex-start; }
  .wechat-detail-grid .span-2 { grid-column: span 2; }
  .wechat-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wechat-summary-grid .wechat-summary-title { grid-column: span 2; }
  .inline-signature,
  .detail-grid strong,
  .formal-sign-cell,
  .wechat-paper-table td { min-width: 0; max-width: 100%; }
  .inline-signature-img,
  .detail-signature-img,
  .formal-signature-img,
  .signature-preview-img {
    height: auto;
    object-fit: contain;
  }
  .signature-preview-img { max-width: 100%; }
  .inline-signature-img,
  .detail-signature-img,
  .formal-signature-img { max-width: var(--signature-visual-max-width, 72px); max-height: var(--signature-max-height, 48px); }
  .formal-signature-img { margin-left: .12rem; }
  .work-section .table-responsive { overflow: visible; }
  .report-form .work-table colgroup { display: none; }
  .work-table, .work-table thead, .work-table tbody, .work-table tr, .work-table td { display: block; width: 100%; }
  .work-table thead { display: none; }
  .work-table tr { padding: .54rem; margin-bottom: .48rem; border: 1px solid rgba(255,255,255,.76); border-radius: 14px; background: rgba(255,255,255,.68); box-shadow: var(--shadow-soft); }
  .work-table td { border: 0; padding: .2rem 0; }
  .work-table td::before { display: block; margin-bottom: .12rem; color: var(--muted); font-size: .68rem; font-weight: 900; }
  .work-table td:nth-child(1)::before { content: "具体工作内容"; }
  .work-table td:nth-child(2)::before { content: "用时（小时）"; }
  .work-table td:nth-child(3)::before { content: "完成周期"; }
  .work-table td:nth-child(4)::before { content: "完成结果"; }
  .work-table td:nth-child(5)::before { content: "未完成原因"; }
  .work-table td:nth-child(6)::before { content: "备注"; }
  .work-table td:nth-child(7)::before { content: "操作"; }
  .work-table th:first-child { min-width: 0; }
  .seal-items-table { min-width: 900px; }
  .seal-detail-card { padding: .68rem; }
  .seal-detail-card-head { align-items: flex-start; }
  .seal-detail-card-head > div { align-items: flex-start; flex-direction: column; gap: .18rem; }
  .seal-detail-card-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .seal-detail-card.is-inspection-file .seal-detail-card-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seal-detail-primary-grid > div { grid-column: 1 / -1; }
  .inspection-fields { padding: .55rem; }
  .seal-count-grid, .inspection-vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inspection-vertical > div:nth-child(n + 3) { grid-column: 1 / -1; }
  .normal-file-grid > div:first-child, .seal-duplicate-reason-field { grid-column: 1 / -1; }
  .seal-detail-card .form-control, .seal-detail-card .form-select { min-height: 42px; font-size: 16px; }
  .w-hour { width: auto; }
  .action-bar { bottom: calc(5rem + env(safe-area-inset-bottom)); left: 0; right: 0; margin-left: -.58rem; margin-right: -.58rem; padding: .48rem .58rem; }
  .action-bar .btn { flex: 1; min-height: 38px; }
  .section-title { align-items: center; flex-direction: row; gap: .55rem; margin-bottom: .55rem; }
  .section-title h2 { font-size: 1rem; }
  .report-form .section-title { grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
  .report-form .section-title h2 { grid-column: 1; justify-self: start; text-align: left; }
  .report-form .section-title .add-row { grid-column: 2; justify-self: end; }
  .section-title .eyebrow, .section-title .muted { font-size: .72rem; }
  .quick-list { gap: .34rem; }
  .quick-item { align-items: center; flex-direction: row; min-height: 46px; gap: .5rem; padding: .48rem .58rem; border-radius: 13px; }
  .quick-item > div { min-width: 0; flex: 1 1 auto; }
  .quick-item strong, .quick-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .quick-item strong { font-size: .86rem; line-height: 1.15; }
  .quick-item span { margin-top: .05rem; font-size: .74rem; line-height: 1.15; }
  .quick-item em { flex: 0 0 auto; max-width: 34%; overflow: hidden; text-overflow: ellipsis; font-size: .72rem; }
  .flow-quick-item { align-items: stretch; }
  .flow-quick-head { grid-template-columns: auto minmax(0, 1fr); gap: .22rem .36rem; }
  .flow-quick-aside { grid-column: 1 / -1; max-width: 100%; text-align: left; }
  .flow-status-rail { width: 1.2rem; padding: .22rem .04rem; }
  .flow-status-rail i { font-size: .62rem; }
  .flow-step-list { gap: .24rem; margin-top: .32rem; }
  .flow-step-list-compact { margin-top: 0; gap: .14rem .22rem; }
  .flow-step-list .flow-step { padding: .2rem .32rem; font-size: .64rem; white-space: normal; overflow: visible; text-overflow: clip; }
  .flow-step-list-compact .flow-step { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dashboard-flow-panel .flow-quick-item { align-items: center; min-height: 36px; gap: .32rem; padding: .28rem .42rem; }
  .dashboard-flow-panel .flow-status-rail { width: auto; min-width: 2.1rem; padding: .1rem .32rem; }
  .dashboard-flow-panel .flow-status-rail i { writing-mode: horizontal-tb; font-size: .64rem; }
  .dashboard-flow-panel .flow-quick-body { flex-wrap: nowrap; gap: .28rem .36rem; }
  .dashboard-flow-panel .flow-quick-head { display: flex; gap: .22rem .32rem; }
  .dashboard-flow-panel .flow-quick-aside { grid-column: auto; max-width: none; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dashboard-flow-panel .flow-quick-head strong { max-width: 6.5rem; font-size: .8rem; }
  .dashboard-flow-panel .flow-step-list-compact { max-width: 36%; }
  .dashboard-flow-panel .flow-step-list-compact .flow-step { padding: .08rem .24rem; font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .detail-flow-step-list .flow-step { padding: .34rem .42rem; font-size: .72rem; }
  .flow-next-action { align-items: stretch; flex-direction: column; gap: .5rem; padding: .62rem .68rem; }
  .flow-next-action .btn { width: 100%; }
  .announcement-alert-banner { grid-template-columns: minmax(0, 1fr); align-items: start; gap: .45rem; margin: -.15rem 0 .65rem; padding: .7rem .78rem; border-radius: 16px; }
  .announcement-alert-mark { width: max-content; min-width: 0; min-height: 0; padding: .22rem .58rem; font-size: .74rem; }
  .announcement-alert-main strong { white-space: normal; font-size: .92rem; }
  .announcement-alert-main small { -webkit-line-clamp: 3; }
  .announcement-alert-banner > i { width: max-content; padding: .22rem .58rem; font-size: .72rem; }
  .message-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-list-item { grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: .5rem; min-height: 68px; padding: .58rem .62rem; border-radius: 15px; }
  .message-avatar { width: 38px; height: 38px; border-radius: 13px; font-size: .95rem; }
  .message-list-meta { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; max-width: 100%; overflow-x: auto; }
  .message-list-meta em { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; }
  .message-compose-grid, .message-compose-v2 { grid-template-columns: 1fr; gap: .8rem; }
  .message-mode-cards { grid-template-columns: 1fr; }
  .message-user-groups { max-height: 320px; }
  .message-check-grid { grid-template-columns: 1fr; max-height: 300px; }
  .message-check-grid.compact { max-height: 150px; }
  .message-content-card textarea.form-control { min-height: 180px; }
  .info-center-summary { grid-template-columns: 1fr; gap: .5rem; }
  .info-summary-card { min-height: 72px; padding: .72rem .8rem; }
  .info-center-grid { grid-template-columns: 1fr; gap: .8rem; }
  .info-announcement-card, .info-message-card { grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: .5rem; min-width: 0; min-height: 70px; overflow: hidden; padding: .58rem .62rem; border-radius: 15px; }
  .info-card-meta { grid-column: 2; justify-self: start; max-width: 100%; }
  .message-detail-head { align-items: flex-start; padding: .62rem; }
  .message-body-text { min-height: 120px; padding: .75rem; line-height: 1.55; }
  .message-attachment-list a { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .announcement-card { grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: .5rem; min-width: 0; min-height: 70px; overflow: hidden; padding: .58rem .62rem; border-radius: 15px; }
  .announcement-mark { width: 38px; height: 38px; border-radius: 13px; }
  .announcement-meta { grid-column: 2; justify-content: flex-start; max-width: 100%; }
  .announcement-main strong,
  .info-card-main strong,
  .dashboard-announcement-item .compact-notice-body strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dashboard-announcement-item.compact-notice { grid-template-columns: 28px minmax(0, 1fr) auto; gap: .36rem; padding: .28rem .42rem; }
  .dashboard-announcement-item .compact-notice-view { padding: .08rem .36rem; font-size: .7rem; }
  .announcement-form-grid { grid-template-columns: 1fr; gap: .8rem; }
  .announcement-body-text { min-height: 140px; padding: .75rem; line-height: 1.55; }
  .announcement-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .38rem; }
  .detail-grid div { min-height: 48px; padding: .45rem .52rem; border-radius: 12px; }
  .detail-grid span { margin-bottom: .1rem; font-size: .7rem; }
  .detail-grid strong { font-size: .84rem; line-height: 1.18; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .assign-row { grid-template-columns: 1fr; }
  .people-management-hero { align-items: stretch; flex-direction: column; }
  .people-hero-actions { justify-content: flex-start; }
  .people-filter-card { grid-template-columns: 1fr; gap: .55rem; padding: .72rem; border-radius: 18px; }
  .people-filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .people-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-stat-grid div { padding: .62rem .65rem; }
  .people-stat-grid strong { font-size: 1.22rem; }
  .people-stat-grid em { display: none; }
  .people-management-card { padding: .62rem; border-radius: 18px; }
  .people-table-head { align-items: flex-start; flex-direction: column; gap: .38rem; }
  .people-detail-popover { width: calc(100vw - .8rem); max-height: calc(100dvh - .8rem); padding: .72rem; border-radius: 18px; }
  .management-detail-grid { grid-template-columns: 1fr; }
  .inline-edit-grid { grid-template-columns: 1fr; }
  .people-detail-actions { justify-content: stretch; }
  .people-detail-actions .btn, .people-detail-actions form { width: 100%; }
  .people-detail-actions form button { width: 100%; }
  .person-card summary { grid-template-columns: 36px minmax(0, 1fr); gap: .52rem; }
  .person-meta, .person-flags { grid-column: 2; justify-content: flex-start; }
  .person-detail-grid { grid-template-columns: 1fr; padding: 0 .62rem .62rem; }
  .signature-inline-form { grid-template-columns: 1fr; }
  .profile-identity { align-items: flex-start; }
  .profile-hero-actions, .avatar-upload-form { justify-items: stretch; grid-template-columns: 1fr; }
  .profile-layout-grid { grid-template-columns: 1fr; }
  .profile-v2-hero { align-items: center; flex-direction: row; gap: .55rem; margin-bottom: .46rem; padding: .52rem .58rem; border-radius: 16px; }
  .profile-v2-person { align-items: center; flex: 1 1 auto; gap: .52rem; min-width: 0; }
  .profile-v2-avatar { width: 48px; height: 48px; border-radius: 15px; font-size: 1.15rem; }
  .profile-v2-title h1 { font-size: 1.18rem; line-height: 1.1; }
  .profile-v2-title .eyebrow { margin-bottom: .08rem; font-size: .66rem; }
  .profile-v2-title p:not(.eyebrow) { font-size: .75rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .profile-v2-tags { gap: .22rem; margin-top: .28rem; overflow-x: auto; flex-wrap: nowrap; }
  .profile-v2-tags span { flex: 0 0 auto; min-height: 22px; padding: .12rem .42rem; font-size: .66rem; }
  .profile-v2-actions { flex: 0 0 auto; justify-content: flex-end; gap: .24rem; max-width: 38%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .04rem; }
  .profile-v2-actions .btn { flex: 0 0 auto; min-height: 30px; padding: .18rem .45rem; font-size: .72rem; white-space: nowrap; }
  .profile-v2-drawer { align-items: center; flex-direction: row; gap: .45rem; margin-bottom: .45rem; padding: .5rem; border-radius: 15px; }
  .profile-v2-upload-form { grid-template-columns: 1fr; min-width: 0; }
  .profile-v2-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .32rem; margin-bottom: .45rem; }
  .profile-v2-metrics div { min-width: 0; padding: .42rem .36rem; border-radius: 13px; }
  .profile-v2-metrics span { font-size: .64rem; line-height: 1.1; }
  .profile-v2-metrics strong { margin-top: .04rem; font-size: .86rem; line-height: 1.08; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .profile-v2-metrics em { display: none; }
  .profile-v2-grid, .profile-v2-more-grid { grid-template-columns: 1fr; gap: .45rem; }
  .profile-v2-panel { padding: .5rem; border-radius: 15px; }
  .profile-v2-panel-head { align-items: center; flex-direction: row; margin-bottom: .38rem; }
  .profile-v2-panel-head h2 { font-size: .92rem; }
  .profile-v2-panel-head .eyebrow { font-size: .66rem; }
  .profile-v2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .28rem .5rem; }
  .profile-compact-panel .profile-v2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-v2-list div { min-width: 0; padding: .3rem 0 .34rem; }
  .profile-v2-list div.wide { grid-column: 1 / -1; }
  .profile-v2-list dt { margin-bottom: .08rem; font-size: .66rem; line-height: 1.1; }
  .profile-v2-list dd { font-size: .8rem; line-height: 1.18; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .profile-reveal-btn { margin-left: .25rem; font-size: .66rem; }
  .profile-v2-signature { align-items: flex-start; flex-direction: column; }
  .mobile-tabbar { position: fixed; left: .8rem; right: .8rem; bottom: .7rem; z-index: 20; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; padding: .45rem; padding-bottom: calc(.45rem + env(safe-area-inset-bottom)); border-radius: 22px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.86); box-shadow: 0 16px 46px rgba(69,128,82,.2); backdrop-filter: blur(18px); }
  .mobile-tabbar a, .mobile-tabbar button { position: relative; display: grid; place-items: center; gap: .12rem; min-width: 0; min-height: 48px; padding: .18rem .12rem; border: 0; border-radius: 16px; color: #688078; text-decoration: none; font-size: .76rem; font-weight: 800; line-height: 1.15; background: transparent; }
  .mobile-tabbar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(76,154,90,.4); }
  .mobile-nav-badge { position: absolute; top: .16rem; right: .48rem; display: inline-grid; place-items: center; min-width: 1.08rem; height: 1.08rem; padding: 0 .28rem; border-radius: 999px; color: #fff; background: #ff5a45; border: 2px solid rgba(255,255,255,.95); font-size: .62rem; font-style: normal; font-weight: 900; line-height: 1; box-shadow: 0 6px 16px rgba(255,90,69,.28); }
  .mobile-tabbar a:hover, .mobile-tabbar button:hover, .mobile-tabbar a.active, .mobile-tabbar button.active { color: var(--green-dark); background: rgba(233,247,232,.72); }
  .mobile-tabbar a:hover span, .mobile-tabbar button:hover span, .mobile-tabbar a.active span, .mobile-tabbar button.active span { background: var(--green); }
}

@media (max-width: 480px) {
  .app-nav .container-fluid { gap: .4rem; padding-left: .55rem !important; padding-right: .55rem !important; }
  .brand-logo-nav { width: min(138px, 48vw); max-height: 32px; }
  .btn { width: auto; min-height: 34px; }
  .action-bar .btn, .col-12 > .btn-primary, .col-12 > button.btn-primary { width: 100%; min-height: 38px; }
  .d-flex.gap-2 { flex-wrap: wrap; }
  .page-hero .d-flex { align-items: stretch; flex-direction: column; }
  .login-panel { padding: 1.25rem; border-radius: 22px; }
  .login-cover { border-radius: 22px; }
  .brand-row { align-items: flex-start; }
  .brand-logo-nav { width: 176px; max-width: 100%; }
  .brand-logo-login { width: min(400px, 92vw); }
  .login-title-block { margin-top: 1.8rem; }
  .profile-v2-person { flex-direction: row; }
  .profile-v2-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-v2-tags span { width: auto; justify-content: center; }
}

@media (max-width: 768px) {
  .flash-stack { top: .65rem; right: .65rem; left: .65rem; width: auto; }
  .flash-stack .alert { min-height: 54px; padding: .68rem 2.7rem .68rem .72rem; border-radius: 15px; font-size: .9rem; }
  .flash-stack .alert::before { width: 30px; height: 30px; border-radius: 10px; }
  .flash-stack .btn-close { right: .62rem; width: 26px; height: 26px; }
}

/* Dashboard v2: distinct information lanes for focus, work, data, signals, and shortcuts. */
.dashboard-hero {
  position: relative;
  overflow: hidden;
  padding: 1.08rem 1.2rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 188, 102, .2), transparent 12rem),
    radial-gradient(circle at 18% 0%, rgba(101, 177, 109, .22), transparent 15rem),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(238,249,235,.86));
}
.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(420px, 52vw);
  height: 100%;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 34%, rgba(76,154,90,.08) 34% 48%, rgba(255,188,102,.16) 48% 60%, transparent 60%);
}
.dashboard-hero > * { position: relative; z-index: 1; }
.dashboard-hero-snapshot {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "label value" "note value";
  align-items: center;
  gap: .04rem .58rem;
  margin-left: auto;
  padding: .64rem .78rem .64rem .9rem;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(76,154,90,.14);
  box-shadow: inset 4px 0 0 var(--green), 0 12px 28px rgba(69,128,82,.08);
}
.dashboard-hero-snapshot span { grid-area: label; color: #516b60; font-size: .74rem; font-weight: 900; }
.dashboard-hero-snapshot strong { grid-area: value; color: var(--green-dark); font-size: 2.05rem; line-height: .95; font-weight: 950; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.dashboard-hero-snapshot em { grid-area: note; color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 850; }
.section-hint { color: var(--muted); font-size: var(--text-helper-sm); font-weight: 850; white-space: nowrap; }
.dashboard-main .eyebrow { font-size: var(--text-helper-sm); color: var(--green-dark); }
.dashboard-main .muted,
.dashboard-side .muted { font-size: var(--text-helper-sm); color: var(--muted); }
.dashboard-mini-panel .quick-item span,
.dashboard-mini-panel .quick-item em,
.todo-card em,
.todo-card span,
.compact-notice-body em,
.mini-panel-head a { font-size: var(--text-helper-sm) !important; }
.dashboard-mini-panel .quick-item span,
.dashboard-mini-panel .quick-item em,
.todo-card em,
.todo-card span,
.compact-notice-body em { color: var(--muted); }
.mobile-card-table td[data-label]::before { color: var(--muted); font-size: .74rem; }
.dashboard-priority-board {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(244,251,241,.72)),
    radial-gradient(circle at 98% 0%, rgba(76,154,90,.12), transparent 14rem);
}
.dashboard-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .66rem; }
.dashboard-kpi-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 104px;
  padding: .82rem .9rem;
  overflow: hidden;
  border: 1px solid rgba(76,154,90,.14);
  border-radius: 19px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84);
}
button.dashboard-kpi-card { width: 100%; appearance: none; border-color: rgba(76,154,90,.14); cursor: pointer; }
.dashboard-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--kpi-color, var(--green));
}
.dashboard-kpi-card::after {
  content: "";
  position: absolute;
  right: -2.4rem;
  bottom: -2.8rem;
  width: 8rem;
  height: 8rem;
  border-radius: 38% 62% 44% 56%;
  background: rgba(76,154,90,.12);
  background: color-mix(in srgb, var(--kpi-color, var(--green)) 17%, transparent);
}
.dashboard-kpi-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 44px rgba(69,128,82,.13); }
.dashboard-kpi-card span, .dashboard-kpi-card strong, .dashboard-kpi-card em, .dashboard-kpi-card i { position: relative; z-index: 1; }
.dashboard-kpi-card span { color: #587169; font-size: .78rem; font-weight: 950; }
.dashboard-kpi-card strong { margin-top: .22rem; color: var(--kpi-color, var(--green)); font-size: clamp(1.58rem, 3.2vw, 2.18rem); line-height: 1; font-weight: 950; font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
.dashboard-kpi-card em { align-self: end; min-width: 0; color: #657c73; font-style: normal; font-size: .76rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-kpi-card i { position: absolute; right: .72rem; top: .68rem; padding: .12rem .44rem; border-radius: 999px; color: var(--kpi-color, var(--green)); background: rgba(255,255,255,.72); font-style: normal; font-size: .68rem; font-weight: 950; }
.kpi-approval { --kpi-color: #d85a43; border-color: rgba(216,90,67,.2); background: linear-gradient(135deg, rgba(255,247,238,.95), rgba(255,235,225,.74)); }
.kpi-report { --kpi-color: #3f9650; }
.kpi-application { --kpi-color: #3979a5; background: linear-gradient(135deg, rgba(246,252,255,.94), rgba(230,244,255,.72)); }
.kpi-message { --kpi-color: #d88919; border-color: rgba(216,137,25,.22); background: linear-gradient(135deg, rgba(255,252,242,.96), rgba(255,242,209,.76)); }
.kpi-people { --kpi-color: #4f816c; }
.dashboard-focus-strip { margin-top: .66rem; padding: .66rem; border-radius: 18px; background: rgba(255,255,255,.52); border: 1px dashed rgba(76,154,90,.18); }
.dashboard-focus-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .46rem; }
.dashboard-focus-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .08rem .56rem;
  align-items: center;
  min-width: 0;
  padding: .58rem .66rem;
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,244,232,.72));
  border: 1px solid rgba(216,90,67,.18);
  box-shadow: inset 4px 0 0 #d85a43;
}
.dashboard-focus-item:hover { color: #7e241d; transform: translateY(-1px); }
.dashboard-focus-item b { grid-column: 1 / -1; color: #b54b38; font-size: .68rem; }
.dashboard-focus-item strong, .dashboard-focus-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-focus-item strong { font-size: .88rem; }
.dashboard-focus-item span { color: #78645b; font-size: .74rem; }
.dashboard-focus-item em { grid-row: 2 / 4; grid-column: 2; padding: .18rem .5rem; border-radius: 999px; color: #fff; background: #d85a43; font-style: normal; font-size: .7rem; font-weight: 950; }
.dashboard-workbench-grid { align-items: start; }
.dashboard-primary-workbench { margin-bottom: .85rem; }
.dashboard-info-board { background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(239,249,239,.66)); }
.dashboard-todo-priority {
  border: 1px solid rgba(216,90,67,.16);
  box-shadow: 0 14px 34px rgba(216,90,67,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
.dashboard-todo-priority > .section-title h2 { font-size: 1.08rem; font-weight: 950; color: #7e2f22; }
.dashboard-primary-grid { grid-template-columns: 1fr !important; }
.dashboard-primary-grid .dashboard-queue-panel { grid-row: auto; }
.dashboard-secondary-board { margin-bottom: .72rem; }
.dashboard-kpi-board {
  opacity: .96;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(246,250,247,.58));
  border-color: rgba(76,154,90,.1);
  box-shadow: none;
}
.dashboard-secondary-board .section-title { margin-bottom: .48rem; }
.dashboard-secondary-board .dashboard-kpi-card { min-height: 88px; padding: .7rem .82rem; }
.dashboard-secondary-board .dashboard-kpi-card strong { font-size: clamp(1.38rem, 2.4vw, 1.82rem); }
.dashboard-secondary-board .dashboard-kpi-card em { font-size: .72rem; }
.dashboard-secondary-grid { grid-template-columns: 1fr; }
.dashboard-flow-details {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(57,121,165,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(239,247,255,.48));
}
.dashboard-flow-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 52px;
  padding: .72rem .9rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.dashboard-flow-summary::-webkit-details-marker { display: none; }
.dashboard-flow-summary-main { display: grid; gap: .08rem; min-width: 0; }
.dashboard-flow-summary-main strong { color: #244538; font-size: .98rem; font-weight: 950; }
.dashboard-flow-summary-main em { color: #6a8178; font-style: normal; font-size: .76rem; font-weight: 800; }
.dashboard-flow-summary-action {
  flex: 0 0 auto;
  padding: .22rem .62rem;
  border-radius: 999px;
  color: #326b93;
  background: rgba(228,243,255,.92);
  border: 1px solid rgba(57,121,165,.16);
  font-size: .74rem;
  font-weight: 950;
  white-space: nowrap;
}
.dashboard-flow-summary-action::before { content: "展开查看"; }
.dashboard-flow-details[open] .dashboard-flow-summary-action {
  color: #4d645b;
  background: rgba(255,255,255,.78);
  border-color: rgba(76,154,90,.14);
}
.dashboard-flow-details[open] .dashboard-flow-summary-action::before { content: "收起"; }
.dashboard-flow-details-body { padding: 0 .9rem .9rem; }
.dashboard-flow-details-body > .section-title { margin-bottom: .42rem; }
.dashboard-mini-panel { box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }
.dashboard-queue-panel { border-color: rgba(216,90,67,.13); background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,247,239,.62)); }
.dashboard-queue-item.quick-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  border-color: rgba(76,154,90,.1);
}
.dashboard-queue-item.is-overdue { border-color: rgba(216,90,67,.25); background: linear-gradient(135deg, rgba(255,247,238,.96), rgba(255,232,221,.8)); box-shadow: inset 4px 0 0 #d85a43; }
.dashboard-queue-item .queue-type { display: inline-grid; place-items: center; min-height: 28px; padding: 0 .42rem; border-radius: 999px; color: #2f7543; background: rgba(232,246,232,.9); font-size: .72rem; font-weight: 950; white-space: nowrap; }
.dashboard-queue-item.todo-type-report .queue-type { color: #2f7543; background: #e6f5e3; }
.dashboard-queue-item.todo-type-seal .queue-type { color: #9a5b12; background: #fff1d5; }
.dashboard-queue-item.todo-type-vehicle .queue-type { color: #326b93; background: #e4f3ff; }
.dashboard-queue-item.todo-type-purchase .queue-type { color: #7d5520; background: #fff0c9; }
.dashboard-queue-item.todo-type-attendance .queue-type { color: #9a4635; background: #ffe9e3; }
.dashboard-queue-item em { padding: .16rem .48rem; border-radius: 999px; color: var(--green-dark); background: rgba(232,246,232,.86); font-weight: 950; }
.dashboard-queue-item.is-overdue em { color: #fff; background: #d85a43; }
.dashboard-data-panel { background: linear-gradient(135deg, rgba(245,252,255,.82), rgba(232,246,232,.62)); }
.dashboard-task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: .46rem; }
.dashboard-task-card {
  display: grid;
  min-width: 0;
  min-height: 76px;
  padding: .58rem .64rem;
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(76,154,90,.11);
  box-shadow: inset 0 3px 0 var(--task-color, var(--green));
}
.dashboard-task-card:hover { color: var(--ink); transform: translateY(-1px); background: rgba(255,255,255,.88); }
.dashboard-task-card span { color: #5f746c; font-size: .74rem; font-weight: 950; }
.dashboard-task-card strong { color: var(--task-color, var(--green)); font-size: 1.38rem; line-height: 1; font-weight: 950; letter-spacing: -.04em; }
.dashboard-task-card em { color: var(--muted); font-style: normal; font-size: .7rem; font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-report { --task-color: #4c9a5a; }
.task-seal { --task-color: #d88919; }
.task-vehicle { --task-color: #3979a5; }
.task-purchase { --task-color: #9a6a16; }
.task-attendance { --task-color: #d85a43; }
.dashboard-flow-panel { background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(239,247,255,.6)); border-color: rgba(57,121,165,.13); }
.dashboard-flow-sections { display: grid; gap: .72rem; }
.dashboard-flow-section-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .36rem; }
.dashboard-flow-section-head strong { color: #244538; font-size: .86rem; font-weight: 950; }
.dashboard-flow-section-head em { color: #668078; font-style: normal; font-size: .74rem; font-weight: 900; }
.workflow-tracking-panel { padding: .85rem .95rem; }
.workflow-tracking-panel .flow-quick-item { min-height: 48px; }
.dashboard-flow-panel .quick-item { border-left: 4px solid rgba(57,121,165,.38); }
.dashboard-flow-panel .dashboard-flow-type { display: inline-flex; align-items: center; width: auto; max-width: 5.5rem; margin: 0; padding: .08rem .34rem; border-radius: 999px; color: #326b93; background: #e4f3ff; font-size: .66rem; font-style: normal; font-weight: 950; line-height: 1.15; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-shortcut-panel { background: rgba(255,255,255,.54); }
.dashboard-shortcut-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .42rem; }
.dashboard-shortcut-grid a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; min-width: 0; padding: .32rem .52rem; border-radius: 999px; color: var(--green-dark); text-align: center; text-decoration: none; background: rgba(232,246,232,.86); border: 1px solid rgba(76,154,90,.14); font-size: .76rem; font-weight: 950; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-shortcut-grid a:hover { color: #fff; background: var(--green); transform: translateY(-1px); }
.dashboard-side { gap: .72rem; padding: .68rem; background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(245,251,244,.62)); }
.dashboard-side-section { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; padding: .72rem; border-radius: 20px; background: rgba(255,255,255,.58); border: 1px solid rgba(76,154,90,.1); }
.dashboard-side-section .section-title { margin-bottom: .54rem; }
.dashboard-side-section .compact-notice-list { flex: 1 1 auto; min-height: 0; }
.dashboard-alert-feed { flex: 1 1 auto; border-color: rgba(216,90,67,.14); background: linear-gradient(135deg, rgba(255,252,242,.78), rgba(255,244,232,.58)); }
.dashboard-message-feed { flex: .92 1 0; border-color: rgba(57,121,165,.12); background: linear-gradient(135deg, rgba(247,252,255,.78), rgba(239,249,239,.56)); }
.dashboard-message-item.unread { border-color: rgba(57,121,165,.24); box-shadow: inset 4px 0 0 #3979a5; }
.dashboard-message-item .compact-notice-avatar { background: #3979a5; }

@media (min-width: 1200px) {
  .dashboard-insight-grid { grid-template-columns: minmax(0, 1.16fr) minmax(260px, .84fr); align-items: start; }
  .dashboard-queue-panel { grid-row: span 2; }
  .dashboard-flow-panel, .dashboard-shortcut-panel { grid-column: 1 / -1; }
  .dashboard-primary-grid { grid-template-columns: 1fr; }
  .dashboard-primary-grid .dashboard-queue-panel { grid-row: auto; }
  .dashboard-secondary-grid { grid-template-columns: 1fr; }
  .dashboard-secondary-grid .dashboard-flow-panel { grid-column: 1 / -1; }
}

@media (min-width: 992px) {
  .dashboard-kpi-card,
  .dashboard-kpi-card :where(span, strong, em, i),
  .dashboard-focus-item,
  .dashboard-focus-item :where(b, strong, span, em),
  .dashboard-task-card,
  .dashboard-task-card :where(span, strong, em),
  .dashboard-shortcut-grid a,
  .dashboard-hero-snapshot :where(span, strong, em),
  .dashboard-queue-item .queue-type {
    white-space: normal !important;
  }
  .dashboard-kpi-card em,
  .dashboard-focus-item strong,
  .dashboard-focus-item span,
  .dashboard-task-card em,
  .dashboard-shortcut-grid a {
    white-space: nowrap !important;
  }
}

@media (max-width: 768px) {
  .dashboard-hero { padding: .76rem; }
  .dashboard-hero-snapshot { margin-left: 0; width: 100%; }
  .dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .46rem; }
  .dashboard-kpi-card { min-height: 92px; padding: .68rem .72rem; border-radius: 16px; }
  .dashboard-kpi-card strong { font-size: 1.48rem; }
  .section-hint { display: none; }
  .dashboard-focus-items { grid-template-columns: 1fr; }
  .dashboard-queue-item.quick-item { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .dashboard-queue-item.quick-item em { grid-column: 2; justify-self: start; }
  .dashboard-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-side { gap: .56rem; }
  .dashboard-side-section { padding: .62rem; }
}

@media (max-width: 480px) {
  .dashboard-kpi-grid { grid-template-columns: 1fr; }
  .dashboard-task-grid { grid-template-columns: 1fr; }
}

/* Dashboard color reset: red is reserved for urgent warnings only. */
.btn-badge,
.notification-badge,
.mobile-nav-badge { background: var(--green); }
.dashboard-notification .notification-badge {
  color: #fff;
  background: #e5483f;
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 6px 16px rgba(229,72,63,.34);
}
.kpi-approval {
  --kpi-color: #4f816c;
  border-color: rgba(76,154,90,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(236,248,235,.72));
}
.dashboard-queue-panel {
  border-color: rgba(76,154,90,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(239,249,239,.6));
}
.dashboard-queue-item.is-overdue {
  border-color: rgba(216,137,25,.25);
  background: linear-gradient(135deg, rgba(255,252,242,.96), rgba(255,242,209,.76));
  box-shadow: inset 4px 0 0 #d88919;
}
.dashboard-queue-item.is-overdue em { color: #fff; background: #d88919; }
.announcement-popup-head {
  border-bottom-color: rgba(216,137,25,.15);
  box-shadow: inset 0 5px 0 #d88919;
}

/* Readability pass: keep helper text legible on small screens and pale green panels. */
.form-text,
.filter-date-field > span,
.compact-notice-body span,
.compact-notice-body em,
.dashboard-main .eyebrow,
.dashboard-main .todo-card span,
.dashboard-main .todo-card em,
.mini-panel-head a,
.dashboard-mini-panel .quick-item span,
.dashboard-mini-panel .quick-item em,
.status-stat-grid span,
.status-note,
.todo-type-chip,
.todo-item-main span,
.todo-item-status,
.todo-center-item em,
.todo-item-actions a,
.message-list-meta,
.message-list-meta b,
.message-list-meta i,
.detail-grid span,
.seal-detail-card .form-label,
.compact-dl dt,
.profile-v2-list dt,
.profile-reveal-btn,
.table-scroll-hint,
.work-section .row.g-3 > div > strong,
.work-table td::before,
.dashboard-hero-snapshot em,
.dashboard-task-card em,
.message-selected-box em,
.message-user-group summary em,
.message-check-grid em,
.notification-item-body em,
.signature-missing,
.people-stat-grid span,
.profile-info-list span,
.profile-v2-metrics span,
.profile-v2-metrics em,
.mobile-card-table td[data-label]::before {
  color: var(--muted);
  font-size: max(.8rem, 12px);
  line-height: 1.28;
}

/* Dashboard flow cards: single-row dense layout (status → type → title → meta → steps). */
.dashboard-flow-panel .flow-quick-item {
  align-items: center;
  gap: .42rem;
  min-height: 38px;
  padding: .32rem .52rem;
}
.dashboard-flow-panel .flow-status-rail {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 2.4rem;
  min-height: 0;
  margin-top: 0;
  padding: .14rem .4rem;
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: none;
}
.dashboard-flow-panel .flow-status-rail i {
  display: inline;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: .7rem;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}
.dashboard-flow-panel .flow-status-rail.is-done { color: #2f7543; background: rgba(76,154,90,.14); border-color: rgba(76,154,90,.22); }
.dashboard-flow-panel .flow-status-rail.is-current { color: #9a5b12; background: rgba(255,183,77,.2); border-color: rgba(219,132,24,.28); }
.dashboard-flow-panel .flow-status-rail.is-rejected { color: #a84235; background: rgba(195,70,52,.12); border-color: rgba(195,70,52,.22); }
.dashboard-flow-panel .flow-status-rail.is-pending { color: #5f756c; background: rgba(118,134,126,.1); border-color: rgba(118,134,126,.16); }
.dashboard-flow-panel .flow-quick-body {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .35rem .5rem;
  min-width: 0;
  overflow: hidden;
}
.dashboard-flow-panel .flow-quick-head {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: .28rem .4rem;
  min-width: 0;
  overflow: hidden;
}
.dashboard-flow-panel .dashboard-flow-type {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  max-width: 5.5rem;
  margin: 0;
  padding: .08rem .34rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .66rem;
  line-height: 1.15;
}
.dashboard-flow-panel .flow-quick-head strong {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 12rem;
  font-size: .84rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-flow-panel .flow-quick-aside {
  flex: 1 1 auto;
  grid-column: auto;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  color: #536960;
  font-size: .72rem !important;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-flow-panel .flow-step-list-compact {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: .16rem .22rem;
  margin-top: 0;
  min-width: 0;
  max-width: 42%;
  overflow: hidden;
}
.dashboard-flow-panel .flow-step-list-compact .flow-step {
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-height: 0;
  max-width: 100%;
  padding: .1rem .3rem;
  font-size: .64rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-flow-panel .flow-step-list-compact .flow-step :where(b, small) {
  white-space: nowrap;
}
.dashboard-flow-panel .flow-step-list-compact .flow-step small {
  display: none;
}

.compact-notice-body em,
.todo-center-item em,
.message-list-meta,
.message-list-meta b,
.message-list-meta i {
  color: #536960;
}

@media (max-width: 768px) {
  .table-card .table :where(th, td) { font-size: .82rem; line-height: 1.28; }
  .mobile-card-table td { font-size: .84rem; line-height: 1.32; }
  .mobile-card-table td[data-label]::before { margin-bottom: .08rem; font-size: .74rem; line-height: 1.18; }
  .form-text { font-size: .78rem; line-height: 1.28; }
}
.announcement-popup-head h2 { color: #6b4a12; }
.compact-notice.dashboard-announcement-item.unread,
.info-announcement-card.unread,
.announcement-card.unread {
  border-color: rgba(76,154,90,.22);
  background: rgba(255,255,255,.72);
  box-shadow: inset 4px 0 0 var(--green), var(--shadow-soft);
}
.compact-notice.dashboard-announcement-item.pinned,
.info-announcement-card.pinned,
.announcement-card.pinned {
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,249,226,.72));
}
.compact-notice.dashboard-announcement-item.priority-important,
.info-announcement-card.priority-important,
.announcement-card.priority-important {
  border-color: rgba(216,137,25,.24);
  background: linear-gradient(135deg, rgba(255,252,242,.96), rgba(255,244,219,.76));
  box-shadow: inset 4px 0 0 #d88919, var(--shadow-soft);
}
.compact-notice.dashboard-announcement-item.priority-urgent,
.info-announcement-card.priority-urgent,
.announcement-card.priority-urgent {
  border-color: rgba(216,90,67,.3);
  background: linear-gradient(135deg, rgba(255,248,244,.96), rgba(255,234,228,.82));
  box-shadow: inset 5px 0 0 #d85a43, 0 12px 30px rgba(216,90,67,.12);
}
.compact-notice.dashboard-announcement-item.priority-important .compact-notice-avatar { background: #d88919; }
.compact-notice.dashboard-announcement-item.priority-urgent .compact-notice-avatar { background: #d85a43; }
.compact-notice-body strong .unread-chip,
.announcement-main strong .unread-chip,
.info-card-main strong .unread-chip,
.announcement-meta .unread-chip {
  color: #fff;
  background: var(--green);
}
.compact-notice-body strong .priority-chip,
.announcement-main strong .priority-chip,
.info-card-main strong .priority-chip {
  color: #fff;
  background: #d88919;
}
.priority-urgent .compact-notice-body strong .priority-chip,
.priority-urgent .announcement-main strong .priority-chip,
.priority-urgent .info-card-main strong .priority-chip { background: #d85a43; }
.dashboard-announcement-item.compact-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: .44rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: .32rem .5rem;
  border-radius: 12px;
}
.dashboard-announcement-item .compact-notice-avatar { width: 28px; height: 28px; border-radius: 9px; font-size: .8rem; }
.dashboard-announcement-item .compact-notice-body {
  display: grid;
  gap: .08rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.dashboard-announcement-item .compact-notice-body strong {
  display: block;
  min-width: 0;
  font-size: .9rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-announcement-item .compact-notice-body em {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: .78rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-announcement-item .compact-notice-body strong b { padding: .04rem .34rem; font-size: .68rem; line-height: 1.16; }
.dashboard-announcement-item .compact-notice-view { min-height: 26px; padding: .1rem .42rem; font-size: .72rem; white-space: nowrap; }
.info-announcement-card.unread .info-card-meta { color: var(--green-dark); background: rgba(232,246,232,.92); }
.announcement-alert-banner {
  color: #6b4a12;
  background: linear-gradient(135deg, rgba(255,252,242,.98), rgba(255,244,219,.9));
  border-color: rgba(216,137,25,.28);
  box-shadow: inset 5px 0 0 #d88919, 0 14px 30px rgba(216,137,25,.12);
}
.announcement-alert-banner:hover {
  color: #6b4a12;
  background: linear-gradient(135deg, rgba(255,249,226,.98), rgba(255,238,196,.92));
}
.announcement-alert-mark,
.announcement-alert-mark.priority-important { background: #d88919; }
.announcement-alert-main strong { color: #6b4a12; }
.announcement-alert-main small { color: #5f5142; }
.announcement-alert-banner > i { background: #d88919; }
.announcement-alert-banner.priority-urgent {
  color: #7e241d;
  background: linear-gradient(135deg, rgba(255,248,244,.98), rgba(255,234,228,.9));
  border-color: rgba(216,90,67,.3);
  box-shadow: inset 5px 0 0 #d85a43, 0 14px 30px rgba(216,90,67,.12);
}
.announcement-alert-mark.priority-urgent,
.announcement-alert-banner.priority-urgent > i { background: #d85a43; }
.announcement-alert-banner.priority-urgent .announcement-alert-main strong { color: #7e241d; }
.dashboard-alert-feed {
  border-color: rgba(216,137,25,.12);
  background: linear-gradient(135deg, rgba(255,252,242,.64), rgba(255,255,255,.58));
}
.dashboard-message-feed {
  border-color: rgba(57,121,165,.11);
  background: linear-gradient(135deg, rgba(247,252,255,.68), rgba(255,255,255,.58));
}

@media (min-width: 1200px) {
  .dashboard-insight-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: stretch; }
  .dashboard-queue-panel, .dashboard-data-panel { height: 100%; }
  .dashboard-queue-panel { grid-row: auto; }
  .dashboard-flow-panel { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .message-compose-mail { max-width: none; }
  .message-mail-head { align-items: flex-start; flex-direction: column; gap: .28rem; padding: .78rem .82rem .62rem; }
  .message-mail-head span { white-space: normal; }
  .message-mail-row { grid-template-columns: 1fr; gap: .38rem; padding: .72rem .82rem; }
  .message-mail-label { padding-top: 0; }
  .message-recipient-line { grid-template-columns: 1fr; gap: .5rem; }
  .message-compose-mail .message-mode-tabs { grid-template-columns: 1fr; }
  .message-compose-mail .message-pick-toolbar { grid-template-columns: 1fr; }
  .message-compose-mail .message-user-groups { max-height: 320px; }
  .message-compose-mail .message-check-grid { grid-template-columns: 1fr; max-height: 300px; }
  .message-compose-mail textarea.form-control { min-height: 180px; }
  .message-mail-actions { padding: .72rem .82rem .86rem; }
  .message-mail-actions .btn { flex: 1; }
}

/* Interface normalization: one visual contract for title areas, filters, actions and buttons. */
:root {
  --ui-control-height: 42px;
  --ui-control-height-sm: 32px;
  --ui-radius-control: 13px;
  --ui-radius-panel: 22px;
  --ui-action-gap: .48rem;
  --ui-page-header-min-height: 96px;
  --ui-page-header-radius: 22px;
  --ui-page-header-padding-y: .9rem;
  --ui-page-header-padding-x: 1.05rem;
  --ui-page-title-size: 1.55rem;
  --ui-page-kicker-size: .78rem;
  --ui-page-summary-size: .86rem;
}

.page-hero,
.dashboard-hero,
.profile-v2-hero,
.people-management-hero {
  align-items: center;
  min-height: 96px;
  margin-bottom: 1rem;
  padding: 1.08rem 1.18rem;
  border-radius: 24px;
}
.page-hero.compact {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--ui-page-header-min-height);
  gap: .85rem;
  padding: var(--ui-page-header-padding-y) var(--ui-page-header-padding-x);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--ui-page-header-radius);
  background:
    linear-gradient(110deg, rgba(255,255,255,.92), rgba(237,249,236,.78)),
    radial-gradient(circle at 88% 20%, rgba(111,179,113,.2), transparent 13rem);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.86);
}
.page-hero h1,
.dashboard-hero h1,
.profile-v2-title h1 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.12;
}
.page-hero.compact h1 {
  margin: 0;
  color: #244538;
  font-family: inherit;
  font-size: var(--ui-page-title-size);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.page-hero .eyebrow,
.dashboard-hero .eyebrow { margin-bottom: .18rem; font-size: .78rem; line-height: 1.1; }
.page-hero.compact .eyebrow {
  margin: 0 0 .18rem;
  font-family: inherit;
  font-size: var(--ui-page-kicker-size);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .08em;
}
.page-hero .muted,
.dashboard-hero .muted { margin-top: .22rem; line-height: 1.35; }
.page-hero.compact .muted {
  margin-top: .22rem;
  font-size: var(--ui-page-summary-size);
  line-height: 1.35;
}
.page-hero > :last-child:not(:first-child),
.dashboard-actions,
.people-hero-actions,
.profile-v2-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ui-action-gap);
  flex-wrap: wrap;
}

.btn,
.dashboard-notification,
.notification-trigger,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: var(--ui-control-height);
  border-radius: var(--ui-radius-control);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}
.btn { padding: .52rem .92rem; }
.btn-sm,
.btn-group-sm > .btn,
.form-control-sm,
.form-select-sm { min-height: var(--ui-control-height-sm); }
.btn-sm,
.btn-group-sm > .btn { padding: .28rem .62rem; border-radius: 10px; font-size: .8rem; }
.btn-dark,
.filter-bar .btn-dark {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #58a766, #3e9650);
  box-shadow: 0 10px 22px rgba(76,154,90,.2);
}
.btn-dark:hover,
.filter-bar .btn-dark:hover { color: #fff; background: linear-gradient(180deg, #4d9c5c, #347e44); }
.btn-outline-secondary {
  color: #4d655c;
  border-color: rgba(76,154,90,.2);
  background: rgba(255,255,255,.66);
}
.btn-outline-secondary:hover { color: var(--green-dark); background: #eef9ed; border-color: rgba(76,154,90,.34); }
.link-button { min-height: 0; color: var(--green-dark); font-weight: 900; }

.filter-bar,
.people-filter-card {
  gap: .62rem;
  align-items: end;
  margin-bottom: .9rem;
  padding: .78rem;
  border-radius: var(--ui-radius-panel);
}
.people-filter-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}
.filter-bar.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .48rem;
}
.filter-bar > *,
.people-filter-card > * { min-width: 0; }
.filter-bar.filter-toolbar > .filter-summary-chips { min-width: auto; flex: 0 0 auto; }
.filter-bar.filter-toolbar > .filter-multi { flex: 0 1 148px; min-width: 120px; max-width: 180px; }
.filter-bar.filter-toolbar > input[name="keyword"] { flex: 1 1 180px; min-width: 140px; }
.filter-bar.filter-toolbar > .btn,
.filter-bar.filter-toolbar > a.btn,
.filter-bar.filter-toolbar > button { flex: 0 0 auto; align-self: center; }
.filter-bar > .btn,
.filter-bar > button,
.filter-bar > a.btn { flex: 0 0 auto; width: auto; }
.filter-bar .form-control,
.filter-bar .form-select,
.filter-bar .filter-date-field,
.people-filter-card .form-control,
.people-filter-card .form-select {
  min-height: var(--ui-control-height);
  border-radius: var(--ui-radius-control);
}
.filter-bar .btn,
.filter-bar a.btn,
.filter-bar button,
.people-filter-actions .btn { min-height: var(--ui-control-height); }
.filter-bar > button,
.filter-bar > a.btn,
.people-filter-actions { align-self: end; }
.filter-date-field { height: var(--ui-control-height); }

.table-card,
.people-management-card,
.work-section {
  border-radius: var(--ui-radius-panel);
}
.list-page-section {
  box-sizing: border-box;
  width: 100%;
  padding: .88rem;
}
.list-section-title {
  min-height: 42px;
  margin-bottom: .72rem;
  padding: 0 .08rem;
}
.list-section-heading {
  display: grid;
  min-width: 0;
  gap: .12rem;
}
.list-section-heading .eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .08em;
}
.list-section-title h2 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.2;
}
.list-section-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .48rem;
  min-width: 0;
  flex-wrap: wrap;
}
.list-section-meta .section-hint {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.25;
}
.list-page-section > .filter-bar {
  margin-bottom: .72rem;
  border-color: rgba(76,154,90,.12);
  background: rgba(247,252,246,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
.list-page-section > .list-result-summary { margin-bottom: .72rem; }
.list-page-section > .table-card {
  margin-top: .72rem !important;
  border-color: rgba(76,154,90,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
.list-page-section > .list-section-title + .table-card,
.list-page-section > .list-result-summary + .table-card { margin-top: 0 !important; }
.ledger-list-subsection {
  padding-top: 1rem;
  border-top: 1px solid rgba(76,154,90,.14);
}
.ledger-list-subsection > .list-section-title { margin-bottom: .58rem; }
.ledger-list-subsection > .table-card { margin-top: .58rem; }
.list-view-switch {
  display: flex;
  align-items: center;
  gap: .48rem;
  margin-bottom: .72rem;
  padding: .58rem;
  border: 1px solid rgba(76,154,90,.12);
  border-radius: var(--ui-radius-control);
  background: rgba(247,252,246,.72);
  flex-wrap: wrap;
}
.list-view-switch .btn { min-height: var(--ui-control-height); }
.list-view-switch .section-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 850;
}
.table-card { padding: .68rem; }
.table-card .table :where(th, td) {
  vertical-align: middle;
  padding: .62rem .7rem;
}
.table-card .table thead th {
  height: 42px;
  color: #536960;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(76,154,90,.16);
}
.table-card .table tbody td {
  border-bottom: 1px solid rgba(76,154,90,.12);
}
.table-card .table tbody tr[id^="item-"]:target,
.table-responsive .table tbody tr[id^="item-"]:target {
  scroll-margin-top: 92px;
}
.table-card .table tbody tr[id^="item-"]:target > *,
.table-responsive .table tbody tr[id^="item-"]:target > * {
  background: linear-gradient(90deg, rgba(255,246,197,.96), rgba(233,247,232,.92)) !important;
  box-shadow: inset 0 0 0 1px rgba(191,145,36,.24);
}
.mobile-card-table .table tbody tr[id^="item-"]:target {
  background: linear-gradient(135deg, rgba(255,248,210,.98), rgba(239,249,238,.94));
  border-color: rgba(191,145,36,.34);
  box-shadow: 0 12px 26px rgba(145,107,23,.12), inset 0 0 0 1px rgba(191,145,36,.18);
}
.mobile-card-table .table tbody tr[id^="item-"]:target > * {
  background: transparent !important;
  box-shadow: none;
}
.table-card .table tbody tr:last-child > * {
  border-bottom-color: transparent;
}
.table-card .table tbody td:last-child,
.people-actions-cell { text-align: right; }
.table-actions,
.people-actions-cell,
.table-card .table tbody td:last-child {
  align-items: center;
  justify-content: flex-end;
  gap: .38rem;
}
.table-actions { display: flex; flex-wrap: wrap; }
.table-actions form { display: inline-flex; align-items: center; gap: .38rem; margin: 0; }
.table-actions :where(a:not(.btn), .link-button),
.table-card .table tbody td:last-child > a:not(.btn),
.ledger-scroll-table .table tbody td:last-child > a:not(.btn),
.formal-table .table tbody td:last-child > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: .22rem .58rem;
  border: 1px solid rgba(76,154,90,.24);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255,255,255,.66);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.table-actions :where(a:not(.btn), .link-button):hover,
.table-card .table tbody td:last-child > a:not(.btn):hover,
.ledger-scroll-table .table tbody td:last-child > a:not(.btn):hover,
.formal-table .table tbody td:last-child > a:not(.btn):hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}
.table-actions .form-control-sm,
.table-actions .form-select-sm { min-width: 120px; }

.vehicle-ledger-summary {
  overflow-x: hidden;
}
.vehicle-ledger-summary .table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.vehicle-ledger-summary .vehicle-ledger-col-apply { width: 16%; }
.vehicle-ledger-summary .vehicle-ledger-col-car { width: 15%; }
.vehicle-ledger-summary .vehicle-ledger-col-time { width: 22%; }
.vehicle-ledger-summary .vehicle-ledger-col-topic { width: 31%; }
.vehicle-ledger-summary .vehicle-ledger-col-status { width: 16%; }
.vehicle-ledger-summary .table :where(th, td) {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: top;
}
.vehicle-ledger-summary .table tbody td:last-child {
  text-align: left;
}
.vehicle-ledger-summary .list-long-text {
  min-width: 0;
  max-width: none;
}
.ledger-summary-sub {
  display: block;
  margin-top: .16rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.wechat-ledger-main {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: .12rem;
  height: 4.1rem;
  min-width: 0;
  overflow: hidden;
}
.wechat-ledger-main > strong {
  display: block;
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.wechat-ledger-topic-title {
  display: -webkit-box;
  max-width: 100%;
  color: var(--ink);
  line-height: 1.32;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wechat-ledger-main .status-pill { justify-self: start; }
.vehicle-ledger-summary .ledger-status-actions {
  justify-content: flex-start;
  gap: .36rem;
  margin-top: .36rem;
}

.summary-ledger-table {
  overflow-x: hidden;
}
.summary-ledger-table .table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.summary-ledger-table .summary-col-time { width: 15%; }
.summary-ledger-table .summary-col-person { width: 17%; }
.summary-ledger-table .summary-col-topic { width: 34%; }
.summary-ledger-table .summary-col-status { width: 22%; }
.summary-ledger-table .summary-col-action { width: 12%; }
.summary-ledger-table .table :where(th, td) {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: top;
}
.summary-ledger-table .table tbody td:last-child {
  text-align: left;
}
.summary-ledger-table .list-long-text,
.summary-ledger-table .list-review-text {
  min-width: 0;
  max-width: none;
}
.summary-ledger-actions {
  justify-content: flex-start;
  gap: .36rem;
}
.summary-ledger-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
}
.summary-ledger-tags span {
  padding: .14rem .48rem;
  border-radius: 999px;
  color: #327b42;
  background: rgba(223,244,220,.82);
  border: 1px solid rgba(76,154,90,.12);
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
}
.summary-ledger-seals {
  margin-top: .3rem;
}
.summary-ledger-table .seal-ledger-report-name {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}
.summary-ledger-table .seal-report-name-list {
  display: grid;
  gap: .14rem;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}
.summary-ledger-table .seal-report-name-list span {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.summary-ledger-table .seal-report-name-list span + span::before {
  content: "";
}
.summary-ledger-table.seal-approval-ledger-table .table :where(th, td) {
  width: auto;
}

.list-process-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .38rem;
  min-width: 0;
}
.list-process-review,
.list-process-admin,
.list-process-reset,
.list-process-delete {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .38rem;
  margin: 0;
  min-width: 0;
}
.list-process-review { width: 100%; max-width: 320px; justify-content: flex-end; }
.list-process-comment { flex: 1 1 auto; min-width: 88px; max-width: 160px; }
.list-process-hours { flex: 0 0 88px; min-width: 72px; max-width: 100px; }
.list-process-admin { width: 100%; max-width: 320px; justify-content: flex-end; }
.list-process-reset { flex: 1 1 auto; min-width: 0; }
.list-process-reset .form-select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 9.6rem;
}
.list-process-review .btn,
.list-process-admin .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .list-process-cell,
  .list-process-review,
  .list-process-admin { align-items: stretch; justify-content: flex-start; max-width: none; }
  .list-process-review,
  .list-process-admin { flex-wrap: wrap; }
  .list-process-comment { max-width: none; }
  .list-process-reset .form-select { max-width: none; }
}

.action-bar,
.message-mail-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .62rem;
}
.action-bar {
  min-height: 72px;
  padding: .82rem 1rem;
  border-top: 1px solid rgba(76,154,90,.14);
  background: rgba(247,252,246,.9);
  box-shadow: 0 -16px 34px rgba(69,128,82,.08);
}
.action-bar .btn { min-width: 108px; }

@media (max-width: 768px) {
  :root {
    --ui-control-height: 44px;
    --ui-control-height-sm: 40px;
    --ui-radius-control: 10px;
    --ui-radius-panel: 16px;
    --ui-page-header-min-height: 88px;
    --ui-page-header-radius: 18px;
    --ui-page-header-padding-y: .7rem;
    --ui-page-header-padding-x: .75rem;
    --ui-page-title-size: 1.25rem;
    --ui-page-kicker-size: .72rem;
    --ui-page-summary-size: .8rem;
  }
  .page-hero,
  .dashboard-hero,
  .profile-v2-hero,
  .people-management-hero {
    align-items: stretch;
    min-height: 0;
    padding: .68rem .74rem;
    margin-bottom: .5rem;
    border-radius: 18px;
  }
  .page-hero.compact {
    min-height: var(--ui-page-header-min-height);
    gap: .5rem;
    padding: var(--ui-page-header-padding-y) var(--ui-page-header-padding-x);
    border-radius: var(--ui-page-header-radius);
  }
  .page-hero > :last-child:not(:first-child),
  .dashboard-actions,
  .people-hero-actions,
  .profile-v2-actions { justify-content: flex-start; }
  .page-hero .btn,
  .dashboard-actions .btn,
  .dashboard-actions .dashboard-notification { flex: 1 1 auto; }
  .filter-bar,
  .people-filter-card { gap: .38rem; padding: .42rem; border-radius: 15px; }
  .list-page-section { padding: .52rem; }
  .list-section-title {
    align-items: center;
    min-height: 38px;
    margin-bottom: .5rem;
    gap: .42rem;
  }
  .list-section-title h2 { font-size: 1rem; }
  .list-section-meta { justify-content: flex-start; }
  .list-view-switch { gap: .36rem; margin-bottom: .5rem; padding: .42rem; }
  .list-view-switch .btn { flex: 1 1 auto; min-width: 0; }
  .list-view-switch .section-hint { width: 100%; margin-left: 0; }
  .filter-bar .btn,
  .filter-bar a.btn,
  .filter-bar button { min-width: 66px; }
  .table-card { padding: .26rem; }
  .table-card .table :where(th, td) { padding: .38rem .44rem; }
  .table-card .table tbody td:last-child,
  .people-actions-cell { text-align: left; }
  .table-actions,
  .people-actions-cell,
  .table-card .table tbody td:last-child { justify-content: flex-start; }
  .table-actions :where(a:not(.btn), .link-button),
  .table-card .table tbody td:last-child > a:not(.btn) { min-height: 28px; padding: .2rem .5rem; font-size: .74rem; }
  .action-bar { min-height: 56px; padding: .48rem .58rem; }
  .action-bar .btn { min-width: 0; }
}

@media (max-width: 768px) {
  .ledger-hero-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .ledger-hero-actions .btn {
    flex: 1 1 calc(50% - .25rem);
    min-width: 0;
    padding-left: .5rem;
    padding-right: .5rem;
    text-align: center;
  }
  .ledger-filter-bar {
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
  }
  .ledger-filter-bar > * {
    flex: 1 1 calc(50% - .2rem);
    max-width: 100%;
  }
  .ledger-filter-bar > input[name="keyword"],
  .ledger-filter-bar > input[name="name"],
  .ledger-filter-bar > input[placeholder*="搜索"],
  .ledger-filter-bar > input[placeholder*="报告"],
  .ledger-filter-bar > input[placeholder*="物品"] {
    flex-basis: 100%;
  }
  .ledger-filter-bar .btn,
  .ledger-filter-bar button,
  .ledger-filter-bar a.btn {
    flex: 1 1 calc(50% - .2rem);
    min-width: 0;
    white-space: normal;
  }
  .inventory-entry-form {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: .55rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .inventory-entry-form > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-card-table tr {
    box-sizing: border-box;
    max-width: 100%;
  }
  .vehicle-ledger-summary.mobile-card-table,
  .summary-ledger-table.mobile-card-table,
  .inventory-ledger-table.mobile-card-table {
    overflow: visible !important;
    padding: 0;
  }
  .vehicle-ledger-summary.mobile-card-table .table,
  .summary-ledger-table.mobile-card-table .table,
  .inventory-ledger-table.mobile-card-table .table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .vehicle-ledger-summary.mobile-card-table tr,
  .summary-ledger-table.mobile-card-table tr,
  .inventory-ledger-table.mobile-card-table tr {
    grid-template-columns: 1fr;
    gap: .38rem;
    padding: .58rem .62rem;
  }
  .vehicle-ledger-summary.mobile-card-table .table :where(th, td),
  .summary-ledger-table.mobile-card-table .table :where(th, td),
  .inventory-ledger-table.mobile-card-table .table :where(th, td) {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  .vehicle-ledger-summary.mobile-card-table .table td :where(a:not(.btn), small, span:not(.status-pill), strong, em),
  .summary-ledger-table.mobile-card-table .table td :where(a:not(.btn), small, span:not(.status-pill), strong, em),
  .inventory-ledger-table.mobile-card-table .table td :where(a:not(.btn), small, span:not(.status-pill), strong, em) {
    display: block;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .vehicle-ledger-summary.mobile-card-table .list-long-text,
  .summary-ledger-table.mobile-card-table .list-long-text,
  .summary-ledger-table.mobile-card-table .list-review-text {
    display: block;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  .summary-ledger-table.mobile-card-table .wechat-ledger-main {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .summary-ledger-table.mobile-card-table .wechat-ledger-topic-title {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  .summary-ledger-table.mobile-card-table .seal-ledger-table-seals .seal-ledger-seal-row {
    grid-template-columns: 2rem minmax(0, 1fr);
    box-sizing: border-box;
  }
  .summary-ledger-table.mobile-card-table .seal-ledger-table-seals .seal-chip-count {
    grid-column: 2;
    white-space: normal;
  }
  .summary-ledger-actions,
  .vehicle-ledger-summary .ledger-status-actions {
    flex-wrap: wrap;
  }
  nav[aria-label="分页"] {
    justify-content: flex-start !important;
  }
  nav[aria-label="分页"] .btn-group {
    display: flex;
    width: 100%;
    max-width: 100%;
  }
  nav[aria-label="分页"] .btn-group > :where(a, button) {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .ledger-hero-actions .btn,
  .ledger-filter-bar .btn,
  .ledger-filter-bar button,
  .ledger-filter-bar a.btn {
    flex: 1 1 calc(50% - .2rem);
    min-width: 0;
    white-space: normal;
  }
  .ledger-filter-bar > input[name="keyword"],
  .ledger-filter-bar > input[name="name"],
  .ledger-filter-bar > input[placeholder*="搜索"],
  .ledger-filter-bar > input[placeholder*="报告"],
  .ledger-filter-bar > input[placeholder*="物品"] {
    flex-basis: 100%;
  }
}

/* Reusable workflow history. Screen-only rules keep document print/PDF layouts unchanged. */
@media screen {
  .workflow-timeline { width: 100%; min-width: 0; }
  .workflow-timeline-list { display: grid; gap: .72rem; margin: 0; padding: 0; list-style: none; }
  .workflow-timeline-item { --workflow-state-color: #879990; --workflow-state-glow: rgba(118,134,126,.14); --workflow-state-soft: rgba(238,243,239,.72); position: relative; min-width: 0; padding-left: 2.15rem; }
  .workflow-timeline-item::before {
    content: "";
    position: absolute;
    left: .68rem;
    top: 1.55rem;
    bottom: -.88rem;
    width: 2px;
    border-radius: 999px;
    background: rgba(76,154,90,.18);
  }
  .workflow-timeline-item:last-child::before { display: none; }
  .workflow-timeline-marker {
    position: absolute;
    z-index: 1;
    left: .3rem;
    top: 1.08rem;
    width: .8rem;
    height: .8rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #879990;
    box-shadow: 0 0 0 3px rgba(118,134,126,.14);
  }
  .workflow-timeline-card {
    min-width: 0;
    padding: .88rem 1rem;
    border: 1px solid rgba(76,154,90,.14);
    border-left: 4px solid var(--workflow-state-color);
    border-radius: 18px;
    background: rgba(255,255,255,.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 24px rgba(69,128,82,.06);
  }
  .workflow-timeline-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .85rem; min-width: 0; }
  .workflow-timeline-title { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; min-width: 0; }
  .workflow-timeline-title strong { color: #244538; font-size: .96rem; font-weight: 900; line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; }
  .workflow-timeline-node { display: inline-flex; align-items: center; max-width: 100%; padding: .16rem .5rem; border-radius: 999px; color: var(--green-dark); background: rgba(232,246,232,.92); font-size: .74rem; font-weight: 900; line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; }
  .workflow-timeline-time { flex: 0 0 auto; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; }
  .workflow-timeline-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .5rem; color: #526a61; font-size: .8rem; line-height: 1.45; }
  .workflow-timeline-meta span { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
  .workflow-timeline-meta b { margin-right: .35rem; color: var(--muted); font-size: .74rem; font-weight: 900; }
  .workflow-timeline-transition { display: flex; align-items: center; flex-wrap: wrap; gap: .38rem; margin-top: .58rem; font-size: .8rem; line-height: 1.4; }
  .workflow-timeline-transition span,
  .workflow-timeline-transition strong { max-width: 100%; padding: .2rem .55rem; border-radius: 999px; overflow-wrap: anywhere; word-break: break-word; }
  .workflow-timeline-transition span { color: #65786f; background: #eef3ef; font-weight: 800; }
  .workflow-timeline-transition strong { color: #2f7543; background: #e6f5e3; font-weight: 900; }
  .workflow-timeline-transition i { color: #80928a; font-style: normal; }
  .workflow-timeline-comment,
  .workflow-timeline-detail { margin: .58rem 0 0; color: #405b50; font-size: .84rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
  .workflow-timeline-comment { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem; padding: .52rem .65rem; border-radius: 12px; background: rgba(245,251,244,.86); }
  .workflow-timeline-comment b { color: var(--muted); font-size: .76rem; font-weight: 900; }
  .workflow-timeline-detail { color: var(--muted); }
  .workflow-timeline-item.is-completed { --workflow-state-color: var(--green); --workflow-state-glow: rgba(76,154,90,.15); --workflow-state-soft: rgba(230,245,227,.72); }
  .workflow-timeline-item.is-current { --workflow-state-color: #d88919; --workflow-state-glow: rgba(216,137,25,.17); --workflow-state-soft: rgba(255,249,226,.72); }
  .workflow-timeline-item.is-rejected { --workflow-state-color: #d85a43; --workflow-state-glow: rgba(216,90,67,.16); --workflow-state-soft: rgba(255,231,227,.72); }
  .workflow-timeline-item .workflow-timeline-marker { background: var(--workflow-state-color); box-shadow: 0 0 0 3px var(--workflow-state-glow); }
  .workflow-timeline-item.is-completed .workflow-timeline-card { border-color: rgba(76,154,90,.2); }
  .workflow-timeline-item.is-current .workflow-timeline-card { border-color: rgba(216,137,25,.22); background: linear-gradient(135deg, rgba(255,255,255,.82), var(--workflow-state-soft)); }
  .workflow-timeline-item.is-rejected .workflow-timeline-card { border-color: rgba(216,90,67,.2); }
  .workflow-timeline-item .workflow-timeline-card { border-left-color: var(--workflow-state-color); }
  .workflow-timeline-item.is-rejected .workflow-timeline-transition strong { color: #a84235; background: #ffe7e3; }
  .workflow-timeline-empty { display: grid; justify-items: center; gap: .3rem; padding: 1.35rem 1rem; border: 1px dashed rgba(76,154,90,.22); border-radius: 18px; color: var(--muted); text-align: center; background: rgba(255,255,255,.5); }
  .workflow-timeline-empty > span { width: 12px; height: 12px; margin-bottom: .18rem; border: 3px solid #fff; border-radius: 50%; background: #9aaba3; box-shadow: 0 0 0 3px rgba(118,134,126,.14); }
  .workflow-timeline-empty strong { color: #526a61; font-size: .9rem; }
  .workflow-timeline-empty p { margin: 0; font-size: .8rem; line-height: 1.5; }
  .workflow-history-details { padding: 0; overflow: hidden; }
  .workflow-history-details > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .82rem .92rem; cursor: pointer; list-style: none; color: #365d4d; background: linear-gradient(135deg, rgba(248,252,247,.92), rgba(239,247,255,.74)); }
  .workflow-history-details > summary::-webkit-details-marker { display: none; }
  .workflow-history-details > summary::before { content: "+"; display: inline-grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; color: #326b93; background: #e4f3ff; font-size: 1rem; font-weight: 950; }
  .workflow-history-details[open] > summary::before { content: "−"; }
  .workflow-history-details > summary span { margin-right: auto; font-size: .9rem; font-weight: 950; }
  .workflow-history-details > summary em { color: var(--muted); font-size: .76rem; font-style: normal; font-weight: 800; text-align: right; }
  .workflow-history-details[open] > summary { border-bottom: 1px solid rgba(76,154,90,.12); }
  .workflow-history-body { padding: .82rem .92rem .95rem; }
  .workflow-inline-details { min-width: 240px; margin-top: .45rem; }
  .workflow-inline-details > summary { color: var(--green-dark); cursor: pointer; font-size: .78rem; font-weight: 900; }
  .workflow-inline-details[open] { width: min(560px, 78vw); padding: .55rem; border-radius: 14px; background: #f7fbf6; box-shadow: 0 12px 32px rgba(69,128,82,.12); }
  .workflow-inline-details .workflow-timeline { margin-top: .55rem; }
}

@media screen and (max-width: 575px) {
  .workflow-timeline-list { gap: .62rem; }
  .workflow-timeline-item { padding-left: 1.62rem; }
  .workflow-timeline-item::before { left: .43rem; top: 1.45rem; bottom: -.76rem; }
  .workflow-timeline-marker { left: .05rem; top: 1rem; }
  .workflow-timeline-card { padding: .72rem .75rem; border-radius: 15px; }
  .workflow-timeline-head { display: grid; gap: .28rem; }
  .workflow-timeline-time { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .workflow-timeline-meta { display: grid; gap: .22rem; }
  .workflow-timeline-transition { align-items: flex-start; }
  .workflow-timeline-comment { grid-template-columns: 1fr; gap: .12rem; }
  .workflow-history-details > summary { align-items: flex-start; flex-wrap: wrap; gap: .38rem .52rem; padding: .72rem .75rem; }
  .workflow-history-details > summary span { min-width: calc(100% - 42px); font-size: .86rem; }
  .workflow-history-details > summary em { width: 100%; padding-left: 36px; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .workflow-history-body { padding: .7rem .7rem .82rem; }
}

/* Workflow settings map (compact left-to-right flow) */
.workflow-settings-hero p.muted { max-width: 52rem; }
.workflow-map-form { display: grid; gap: .55rem; }
.workflow-lane {
  padding: .55rem .65rem .62rem !important;
  margin-bottom: 0 !important;
}
.workflow-lane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem .8rem;
  margin-bottom: .42rem;
}
.workflow-lane-head h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: .95rem;
  font-weight: 950;
  line-height: 1.2;
}
.workflow-lane-head span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workflow-rail {
  display: flex;
  align-items: stretch;
  gap: .28rem;
  overflow-x: auto;
  padding: .08rem .04rem .18rem;
  scrollbar-width: thin;
}
.workflow-rail-wrap { flex-wrap: wrap; overflow: visible; }
.flow-node {
  position: relative;
  flex: 0 0 176px;
  min-width: 160px;
  max-width: 240px;
  display: grid;
  align-content: start;
  gap: .32rem;
  padding: .58rem .58rem .56rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(241,250,240,.86));
  border: 1px solid rgba(76,154,90,.16);
  box-shadow: 0 6px 16px rgba(69,128,82,.06);
}
.flow-node-wide {
  flex-basis: min(340px, 100%);
  max-width: 380px;
  min-width: 240px;
}
.flow-node-seal {
  flex: 0 0 228px;
  min-width: 210px;
  max-width: 280px;
  padding: .62rem .62rem .6rem;
  gap: .36rem;
}
.flow-node-seal-manager {
  flex-basis: min(360px, 100%);
  min-width: 260px;
  max-width: 400px;
}
.flow-node-fields-wide {
  flex: 0 0 248px;
  min-width: 220px;
  max-width: 300px;
}
.flow-node-fields {
  display: flex;
  flex-wrap: wrap;
  gap: .18rem .22rem;
  min-width: 0;
  margin-top: .04rem;
}
.flow-field-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .1rem .34rem;
  border-radius: 999px;
  color: #2f5f48;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(76,154,90,.14);
  font-size: .62rem;
  font-weight: 850;
  line-height: 1.2;
}
.flow-node.is-readonly .flow-field-chip {
  background: rgba(255,255,255,.9);
  border-color: rgba(118,134,126,.16);
  color: #4a6358;
}
.flow-node-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .28rem .4rem;
  margin-right: 1.35rem;
  min-width: 0;
}
.flow-node em {
  position: absolute;
  top: .42rem;
  right: .46rem;
  color: rgba(47,117,67,.42);
  font-size: .68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .04em;
}
.flow-node strong {
  min-width: 0;
  color: #244538;
  font-size: .8rem;
  font-weight: 950;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.flow-node-seal strong {
  font-size: .82rem;
  line-height: 1.3;
}
.flow-node-seal .seal-form-label-with-icon {
  flex-wrap: wrap;
  align-items: center;
  gap: .28rem .34rem;
  max-width: 100%;
}
.flow-node-seal .seal-form-label-with-icon .seal-name-inline {
  max-width: 100%;
}
.flow-node-seal .seal-form-label-with-icon .seal-name-inline > span:last-child {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.flow-role-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: .12rem .38rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.flow-role-tag.is-apply {
  color: #2f7543;
  background: #dff4dc;
  border-color: rgba(47,117,67,.14);
}
.flow-role-tag.is-approve {
  color: #35759a;
  background: #e7f4ff;
  border-color: rgba(53,117,154,.14);
}
.flow-role-tag.is-review {
  color: #9a6a16;
  background: #fff3cf;
  border-color: rgba(154,106,22,.16);
}
.flow-role-tag.is-stamp {
  color: #6b3fa0;
  background: #f1e8ff;
  border-color: rgba(107,63,160,.14);
}
.flow-role-tag.is-confirm {
  color: #1f7a68;
  background: #dcf6ef;
  border-color: rgba(31,122,104,.14);
}
.flow-role-tag.is-record {
  color: #6a5a16;
  background: #f4efd2;
  border-color: rgba(106,90,22,.14);
}
.flow-role-tag.is-handle {
  color: #3d6b8c;
  background: #e8f1f8;
  border-color: rgba(61,107,140,.14);
}
.flow-role-tag.is-stock {
  color: #2f6b4f;
  background: #e2f4ea;
  border-color: rgba(47,107,79,.14);
}
.flow-node p {
  margin: 0;
  color: #4f6a5f;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.25;
}
.flow-node small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
}
.flow-node .form-select {
  min-height: 32px;
  padding: .22rem .42rem;
  font-size: .76rem;
  font-weight: 800;
  border-radius: 9px;
}
.flow-node-seal .form-select {
  min-height: 34px;
  font-size: .78rem;
}
.flow-node.is-readonly {
  background: linear-gradient(180deg, rgba(246,248,247,.95), rgba(236,242,238,.88));
  border-color: rgba(118,134,126,.16);
  box-shadow: none;
}
.flow-node.is-optional {
  border-style: dashed;
  opacity: .96;
}
.flow-node.is-compact {
  flex-basis: 148px;
  min-width: 136px;
  max-width: 170px;
  padding: .46rem .48rem;
}
.flow-node.is-compact .flow-node-head { margin-right: 0; }
.flow-node.is-compact strong { font-size: .74rem; }
.flow-node.is-compact .flow-role-tag { padding: .1rem .32rem; font-size: .58rem; }
.flow-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 18px;
  height: 2px;
  margin: 0 .02rem;
  background: linear-gradient(90deg, rgba(76,154,90,.25), rgba(76,154,90,.75));
  border-radius: 999px;
  position: relative;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(47,117,67,.8);
  border-top: 2px solid rgba(47,117,67,.8);
  transform: translateY(-50%) rotate(45deg);
}
.flow-arrow.is-optional {
  background: linear-gradient(90deg, rgba(118,134,126,.18), rgba(118,134,126,.5));
}
.flow-arrow.is-optional::after {
  border-color: rgba(95,116,108,.7);
}
.flow-arrow.is-branch {
  background: linear-gradient(90deg, rgba(216,137,25,.22), rgba(216,137,25,.7));
}
.flow-arrow.is-branch::after {
  border-color: rgba(154,91,18,.8);
}
.workflow-subflow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem .55rem;
  align-items: center;
  margin-top: .42rem;
  padding-top: .42rem;
  border-top: 1px dashed rgba(76,154,90,.14);
}
.workflow-subflow > span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}
.workflow-subflow .workflow-rail { padding-bottom: 0; }
.compact-manager-list { gap: .35rem; }
.compact-manager-list .manager-select-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem;
}
.workflow-warn-bar { padding: .55rem .7rem !important; margin-bottom: .55rem !important; }
.workflow-warn-list {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
}
.workflow-warn-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .18rem .45rem;
  border-radius: 999px;
  color: #8c4b10;
  background: #fff4df;
  border: 1px solid rgba(222,143,48,.24);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .workflow-lane-head { flex-direction: column; align-items: flex-start; gap: .12rem; }
  .workflow-lane-head span { white-space: normal; }
  .workflow-rail { gap: .22rem; }
  .flow-node { flex-basis: 158px; min-width: 148px; }
  .flow-node-wide { flex-basis: 240px; min-width: 210px; }
  .flow-node-seal { flex-basis: 200px; min-width: 188px; max-width: 100%; }
  .flow-node-seal-manager { flex-basis: 100%; min-width: 100%; max-width: 100%; }
  .flow-node-fields-wide { flex-basis: 200px; min-width: 188px; max-width: 100%; }
  .workflow-subflow { grid-template-columns: 1fr; }
  .workflow-subflow > span { margin-bottom: .08rem; }
}


/* Live page notifications */
.live-notify-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column-reverse;
  gap: .55rem;
  width: min(360px, calc(100vw - 1.5rem));
  pointer-events: none;
}
.live-notify-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  padding: .85rem .9rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(76,154,90,.2);
  box-shadow: 0 16px 40px rgba(45, 96, 58, .18);
  transform: translateY(12px);
  opacity: 0;
  transition: .2s ease;
}
.live-notify-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.live-notify-toast:hover {
  background: #f3fbf2;
  color: var(--ink);
}
.live-notify-toast-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #4c9a5a, #2f7a45);
  font-size: .78rem;
  font-weight: 900;
}
.live-notify-toast-body {
  min-width: 0;
}
.live-notify-toast-body strong,
.live-notify-toast-body span {
  display: block;
}
.live-notify-toast-body strong {
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.25;
}
.live-notify-toast-body span {
  margin-top: .18rem;
  color: #5f746c;
  font-size: .82rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.live-notify-toast em {
  color: var(--green-dark);
  font-style: normal;
  font-size: .78rem;
  font-weight: 900;
}

@media (max-width: 768px) {
  .live-notify-host {
    right: .7rem;
    left: .7rem;
    bottom: calc(.7rem + 64px);
    width: auto;
  }
}

/* archive browser */
.archive-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 1rem; font-size: .92rem; color: var(--muted); }
.archive-breadcrumb a { color: var(--green-dark); text-decoration: none; font-weight: 700; }
.archive-breadcrumb a:hover { text-decoration: underline; }
.archive-breadcrumb span { opacity: .55; }
.archive-breadcrumb strong { color: var(--ink); }
.archive-text-preview {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: .9rem;
  line-height: 1.55;
  max-height: 70vh;
  overflow: auto;
}

/* archive browser table widths — 名称列优先，全目录共用，五列锁定防错位 */
.archive-browser-table-card { overflow-x: auto; }
.archive-browser-table {
  table-layout: fixed !important;
  width: 100% !important;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
}
.archive-browser-table col.archive-col-name { width: 54% !important; }
.archive-browser-table col.archive-col-kind { width: 9% !important; }
.archive-browser-table col.archive-col-size { width: 10% !important; }
.archive-browser-table col.archive-col-time { width: 15% !important; }
.archive-browser-table col.archive-col-actions { width: 12% !important; }
.archive-browser-table th,
.archive-browser-table td {
  vertical-align: middle;
  box-sizing: border-box;
  max-width: none !important;
}
.archive-browser-table thead th:nth-child(1),
.archive-browser-table tbody td:nth-child(1) {
  width: 54%;
  min-width: 240px;
  position: static !important;
  left: auto !important;
  right: auto !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.4;
  font-weight: 700;
}
.archive-browser-table thead th:nth-child(2),
.archive-browser-table tbody td:nth-child(2) {
  width: 9%;
  min-width: 72px;
  white-space: nowrap !important;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  overflow: hidden;
  position: static !important;
}
.archive-browser-table thead th:nth-child(3),
.archive-browser-table tbody td:nth-child(3) {
  width: 10%;
  min-width: 80px;
  white-space: nowrap !important;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  overflow: hidden;
  position: static !important;
}
.archive-browser-table thead th:nth-child(4),
.archive-browser-table tbody td:nth-child(4) {
  width: 15%;
  min-width: 150px;
  white-space: nowrap !important;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  overflow: hidden;
  position: static !important;
}
.archive-browser-table thead th:nth-child(5),
.archive-browser-table tbody td:nth-child(5) {
  width: 12%;
  min-width: 110px;
  white-space: nowrap !important;
  text-align: right;
  overflow: hidden;
  position: static !important;
  right: auto !important;
}
.archive-browser-table .archive-name-cell a {
  color: var(--green-dark);
  text-decoration: none;
  word-break: break-word;
  max-width: none !important;
}
.archive-browser-table .archive-name-cell a:hover { text-decoration: underline; }
.archive-browser-table .archive-actions-cell {
  display: table-cell !important;
}
.archive-browser-table .archive-actions-cell .archive-action-links {
  justify-content: flex-end;
}
.archive-browser-table .archive-actions-cell .archive-action-links { gap: .45rem; }
.archive-browser-table .archive-actions-cell a {
  max-width: none !important;
  display: inline-flex !important;
}

/* 窄屏：归档表保持横向滚动真表格，避免全局 max-width 压扁列 */
@media (max-width: 768px) {
  .table-card.archive-browser-table-card {
    overflow-x: auto !important;
  }
  .table-card.archive-browser-table-card .archive-browser-table {
    display: table !important;
    width: 100% !important;
    min-width: 820px !important;
    max-width: none !important;
    table-layout: fixed !important;
  }
  .table-card.archive-browser-table-card .archive-browser-table thead {
    display: table-header-group !important;
  }
  .table-card.archive-browser-table-card .archive-browser-table tbody {
    display: table-row-group !important;
  }
  .table-card.archive-browser-table-card .archive-browser-table tr {
    display: table-row !important;
  }
  .table-card.archive-browser-table-card .archive-browser-table :where(th, td) {
    display: table-cell !important;
    max-width: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .table-card.archive-browser-table-card .archive-browser-table td :where(a:not(.btn), small, span:not(.status-pill), strong, em) {
    display: inline !important;
    max-width: none !important;
    overflow: visible;
    text-overflow: clip;
    white-space: inherit;
  }
  .table-card.archive-browser-table-card .archive-browser-table .archive-name-cell {
    white-space: normal !important;
  }
  .table-card.archive-browser-table-card .archive-browser-table .archive-actions-cell .archive-action-links {
    flex-wrap: nowrap;
  }
}

.document-preview-table td { font-size: .84rem; vertical-align: top; }
.document-text-preview { white-space: pre-wrap; word-break: break-word; }

/* 财务详情网页概览（报销/付款共用） */
.finance-detail-card { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(236,248,234,.72)); }
.finance-summary-strip { display: grid; grid-template-columns: 1.35fr .85fr .7fr .85fr; gap: .5rem; }
.finance-summary-strip.finance-summary-strip-5 { grid-template-columns: 1.2fr .85fr .55fr .7fr .85fr; }
.finance-summary-strip div,
.finance-payment-grid article { min-width: 0; padding: .62rem .7rem; border-radius: 14px; background: rgba(255,255,255,.72); border: 1px solid rgba(76,154,90,.13); }
.finance-summary-strip span,
.finance-payment-grid span { display: block; margin-bottom: .18rem; color: var(--muted); font-size: .74rem; font-weight: 900; }
.finance-summary-strip strong,
.finance-payment-grid strong { display: block; color: #244538; font-size: .92rem; line-height: 1.3; font-weight: 900; overflow-wrap: anywhere; }
.finance-summary-strip em { display: block; margin-top: .12rem; color: #60766d; font-style: normal; font-size: .76rem; font-weight: 900; line-height: 1.25; }
.finance-summary-strip div:nth-child(2) strong { color: #2f7543; font-size: 1.15rem; }
.finance-payment-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); gap: .5rem; }
.finance-payment-grid .finance-payment-main { grid-row: span 3; }
.finance-payment-grid p { margin: 0; color: #2f4d42; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; }
@media (max-width: 900px) {
  .finance-summary-strip,
  .finance-summary-strip.finance-summary-strip-5,
  .finance-payment-grid { grid-template-columns: 1fr; }
  .finance-payment-grid .finance-payment-main { grid-row: auto; }
}

/* 财务审批流转卡片（报销/付款共用，对齐公众号审核进度） */
.finance-approval-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.finance-approval-card { min-width: 0; padding: .66rem .72rem; border-radius: 15px; background: rgba(255,255,255,.74); border: 1px solid rgba(76,154,90,.13); box-shadow: 0 10px 24px rgba(40,88,58,.06); }
/* 加班办理进度：卡片更矮，待审节点不占大块空白 */
.overtime-approval-flow { gap: .42rem; }
.overtime-approval-card { padding: .42rem .55rem; border-radius: 12px; }
.overtime-approval-card .finance-approval-person { min-height: 22px; margin: .22rem 0; }
.overtime-approval-card p { min-height: 0; margin: .18rem 0 .28rem; font-size: .8rem; line-height: 1.35; }
.overtime-approval-card .finance-approval-action-form { margin: .22rem 0 .28rem; }
.overtime-approval-card .finance-approval-foot { margin-top: .1rem; }
.finance-approval-card.is-approved { border-color: rgba(76,154,90,.22); background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(231,246,229,.76)); }
.finance-approval-card.is-rejected { border-color: rgba(216,90,67,.26); background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,233,229,.76)); }
.finance-approval-card.is-current { box-shadow: inset 4px 0 0 var(--green), 0 14px 30px rgba(76,154,90,.12); }
.finance-approval-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .55rem; }
.finance-approval-card-head div { display: grid; gap: .08rem; min-width: 0; }
.finance-approval-card-head div span { color: #8aa097; font-size: .68rem; font-weight: 900; }
.finance-approval-card-head strong { color: #244538; font-size: .94rem; line-height: 1.22; font-weight: 900; }
.finance-approval-card-head em { flex: 0 0 auto; font-style: normal; }
.finance-approval-person { display: flex; align-items: center; gap: .35rem; min-height: 34px; margin: .42rem 0; color: #2f4d42; font-size: .9rem; font-weight: 900; }
.finance-approval-card p { min-height: 36px; margin: .35rem 0 .5rem; color: #405b50; font-size: .84rem; line-height: 1.5; white-space: pre-wrap; }
.finance-approval-action-form { margin: .38rem 0 .5rem; }
.finance-approval-foot { display: flex; justify-content: space-between; align-items: center; gap: .55rem; color: #64786f; font-size: .76rem; font-weight: 900; }
.finance-approval-foot > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finance-approval-table th,
.finance-approval-table td { padding: .35rem .55rem; vertical-align: middle; }
@media (max-width: 900px) {
  .finance-approval-flow { grid-template-columns: 1fr; }
  .finance-approval-foot { align-items: flex-start; flex-direction: column; }
}

/* 统一附件上传 / 已选列表（财务标杆） */
.attachment-panel { display: grid; gap: 8px; }
.attachment-dropzone,
.finance-dropzone {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 56px;
  padding: 8px 12px;
  border: 1.5px dashed #93a4bd;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  text-align: center;
}
.attachment-dropzone.is-dragover,
.finance-dropzone.is-dragover {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}
.attachment-dropzone-input,
.finance-dropzone-input { display: none; }
.attachment-dropzone-title,
.finance-dropzone-title { font-weight: 600; }
.attachment-dropzone-hint,
.finance-dropzone-hint { font-size: 12px; color: #64748b; }
.attachment-file-list,
.finance-file-list,
.wechat-file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.attachment-file-list li,
.finance-file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}
.attachment-file-list li > span,
.finance-file-list li > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-file-meta,
.finance-file-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  flex: 0 0 auto;
}
.attachment-file-actions,
.finance-file-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.attachment-existing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.attachment-existing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}
.attachment-existing-list li > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* D82 APP shell tokens/navigation moved to css/app-mobile.css in D106. */

/* D83: APP-only workbench and secondary navigation. */
body.jingwei-mobile-app .app-dashboard {
  display: grid;
  gap: .72rem;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
  color: #203d31;
}
body.jingwei-mobile-app .app-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  min-width: 0;
  padding: .2rem .08rem .05rem;
}
body.jingwei-mobile-app .app-dashboard-welcome {
  display: flex;
  align-items: center;
  gap: .62rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-dashboard-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1rem;
}
body.jingwei-mobile-app .app-dashboard-welcome > div { min-width: 0; }
body.jingwei-mobile-app .app-dashboard-welcome p,
body.jingwei-mobile-app .app-dashboard-welcome h1,
body.jingwei-mobile-app .app-dashboard-welcome span { margin: 0; }
body.jingwei-mobile-app .app-dashboard-welcome p {
  color: #72837b;
  font-size: .69rem;
  font-weight: 750;
}
body.jingwei-mobile-app .app-dashboard-welcome h1 {
  margin-top: .05rem;
  overflow: hidden;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-welcome span {
  display: block;
  margin-top: .12rem;
  overflow: hidden;
  color: #687a72;
  font-size: .72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-bell {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(47, 117, 67, .14);
  border-radius: 14px;
  color: #315f45;
  background: #fff;
  box-shadow: 0 7px 20px rgba(36, 76, 53, .07);
}
body.jingwei-mobile-app .app-dashboard-bell svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.jingwei-mobile-app .app-dashboard-bell em {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 2px solid #f4f7f5;
  border-radius: 999px;
  color: #fff;
  background: #df5544;
  font-size: .58rem;
  font-style: normal;
  font-weight: 900;
}
body.jingwei-mobile-app .app-dashboard-tabs {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .16rem;
  min-width: 0;
  padding: .28rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 24px rgba(36, 76, 53, .06);
  backdrop-filter: blur(16px);
}
body.jingwei-mobile-app .app-dashboard-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  min-width: 0;
  min-height: 42px;
  padding: .38rem .28rem;
  border: 0;
  border-radius: 11px;
  color: #6b7c74;
  background: transparent;
  font-size: .82rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-dashboard-tabs button em {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  color: #5d7567;
  background: #edf3ef;
  font-size: .6rem;
  font-style: normal;
}
body.jingwei-mobile-app .app-dashboard-tabs button.active {
  color: #286d40;
  background: #eaf4ec;
}
body.jingwei-mobile-app .app-dashboard-tabs button.active em {
  color: #fff;
  background: #3b7f50;
}
body.jingwei-mobile-app .app-dashboard-panel {
  display: grid;
  gap: .72rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-dashboard-panel[hidden] { display: none !important; }
body.jingwei-mobile-app .app-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(43, 91, 61, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(36, 76, 53, .06);
}
body.jingwei-mobile-app .app-dashboard-metrics a,
body.jingwei-mobile-app .app-dashboard-metrics button {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  min-height: 91px;
  padding: .68rem .64rem;
  border: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: transparent;
}
body.jingwei-mobile-app .app-dashboard-metrics > * + * { border-left: 1px solid rgba(43, 91, 61, .09); }
body.jingwei-mobile-app .app-dashboard-metrics span {
  color: #6f8078;
  font-size: .69rem;
  font-weight: 800;
}
body.jingwei-mobile-app .app-dashboard-metrics strong {
  display: block;
  width: 100%;
  margin: .12rem 0 .08rem;
  overflow: hidden;
  color: #225b36;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-metrics em {
  color: #849087;
  font-size: .62rem;
  font-style: normal;
  font-weight: 700;
}
body.jingwei-mobile-app .app-dashboard-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .48rem;
  min-height: 48px;
  padding: .52rem .6rem;
  border: 1px solid rgba(206, 130, 41, .18);
  border-radius: 14px;
  color: #513b24;
  text-decoration: none;
  background: #fff9ef;
}
body.jingwei-mobile-app .app-dashboard-alert > span,
body.jingwei-mobile-app .app-dashboard-alert > em {
  padding: .16rem .38rem;
  border-radius: 999px;
  color: #9b5f22;
  background: #ffedcf;
  font-size: .62rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-alert strong {
  min-width: 0;
  overflow: hidden;
  font-size: .77rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-section {
  min-width: 0;
  padding: .78rem;
  border: 1px solid rgba(43, 91, 61, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(36, 76, 53, .055);
}
body.jingwei-mobile-app .app-dashboard-section-head,
body.jingwei-mobile-app .app-dashboard-panel-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-width: 0;
  margin-bottom: .62rem;
}
body.jingwei-mobile-app .app-dashboard-section-head p,
body.jingwei-mobile-app .app-dashboard-section-head h2,
body.jingwei-mobile-app .app-dashboard-panel-intro p,
body.jingwei-mobile-app .app-dashboard-panel-intro h2 { margin: 0; }
body.jingwei-mobile-app .app-dashboard-section-head p,
body.jingwei-mobile-app .app-dashboard-panel-intro p {
  color: #788a81;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .04em;
}
body.jingwei-mobile-app .app-dashboard-section-head h2,
body.jingwei-mobile-app .app-dashboard-panel-intro h2 {
  margin-top: .06rem;
  color: #213f32;
  font-size: 1rem;
  font-weight: 900;
}
body.jingwei-mobile-app .app-dashboard-section-head > a,
body.jingwei-mobile-app .app-dashboard-section-head > button,
body.jingwei-mobile-app .app-dashboard-panel-intro > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: .28rem .52rem;
  border: 0;
  border-radius: 10px;
  color: #357249;
  text-decoration: none;
  background: #eef6ef;
  font-size: .69rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-dashboard-launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .42rem .28rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-dashboard-launch-grid a,
body.jingwei-mobile-app .app-dashboard-launch-grid button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
  min-height: 66px;
  padding: .32rem .12rem;
  border: 0;
  border-radius: 12px;
  color: #405c4d;
  text-align: center;
  text-decoration: none;
  background: transparent;
}
body.jingwei-mobile-app .app-dashboard-launch-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #2f7145;
  background: #eaf4ec;
  font-size: .86rem;
  font-weight: 900;
}
body.jingwei-mobile-app .app-dashboard-launch-grid strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.jingwei-mobile-app .app-dashboard-card-list,
body.jingwei-mobile-app .app-dashboard-notice-list,
body.jingwei-mobile-app .app-dashboard-flow-list { display: grid; gap: .42rem; min-width: 0; }
body.jingwei-mobile-app .app-dashboard-task {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  min-height: 58px;
  padding: .52rem .56rem;
  border: 1px solid rgba(43, 91, 61, .09);
  border-radius: 13px;
  color: inherit;
  text-decoration: none;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-dashboard-task.is-overdue { border-color: rgba(202, 76, 55, .18); background: #fff9f7; }
body.jingwei-mobile-app .app-dashboard-task-type,
body.jingwei-mobile-app .app-dashboard-flow-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 42px;
  max-width: 62px;
  min-height: 26px;
  padding: .18rem .36rem;
  overflow: hidden;
  border-radius: 9px;
  color: #2f7145;
  background: #eaf4ec;
  font-size: .63rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
}
body.jingwei-mobile-app .app-dashboard-task.is-overdue .app-dashboard-task-type { color: #a34435; background: #fdeae6; }
body.jingwei-mobile-app .app-dashboard-task-main,
body.jingwei-mobile-app .app-dashboard-flow-main { display: block; min-width: 0; }
body.jingwei-mobile-app .app-dashboard-task-main strong,
body.jingwei-mobile-app .app-dashboard-flow-main strong {
  display: -webkit-box;
  overflow: hidden;
  color: #274537;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.jingwei-mobile-app .app-dashboard-task-main em,
body.jingwei-mobile-app .app-dashboard-flow-main em {
  display: block;
  margin-top: .15rem;
  overflow: hidden;
  color: #71827a;
  font-size: .65rem;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-task-status {
  max-width: 68px;
  color: #687a72;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}
body.jingwei-mobile-app .app-dashboard-task.is-overdue .app-dashboard-task-status { color: #bd4e3d; }
body.jingwei-mobile-app .app-dashboard-notice-list > a {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  min-height: 48px;
  padding: .36rem .2rem;
  color: inherit;
  text-decoration: none;
}
body.jingwei-mobile-app .app-dashboard-notice-list > a + a { border-top: 1px solid rgba(43, 91, 61, .08); }
body.jingwei-mobile-app .app-dashboard-notice-list > a > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #357249;
  background: #edf5ee;
  font-size: .66rem;
  font-weight: 900;
}
body.jingwei-mobile-app .app-dashboard-notice-list strong {
  min-width: 0;
  overflow: hidden;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-notice-list em {
  max-width: 72px;
  overflow: hidden;
  color: #819087;
  font-size: .59rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-notice-list i {
  position: absolute;
  top: .18rem;
  left: 22px;
  width: 7px;
  height: 7px;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  color: transparent;
  background: #dc5846;
}
body.jingwei-mobile-app .app-dashboard-panel-intro {
  margin: 0;
  padding: .4rem .12rem .15rem;
}
body.jingwei-mobile-app .app-dashboard-flow-list > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .52rem;
  min-width: 0;
  min-height: 68px;
  padding: .62rem;
  border: 1px solid rgba(43, 91, 61, .09);
  border-radius: 15px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 76, 53, .045);
}
body.jingwei-mobile-app .app-dashboard-flow-type.is-done { color: #64766d; background: #edf1ef; }
body.jingwei-mobile-app .app-dashboard-flow-list > a > i {
  color: #39744b;
  font-size: .65rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-dashboard-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .2rem;
  min-height: 82px;
  padding: .8rem;
  border: 1px dashed rgba(43, 91, 61, .16);
  border-radius: 13px;
  color: #718179;
  text-align: center;
  background: #fafcfb;
}
body.jingwei-mobile-app .app-dashboard-empty strong { color: #4d6659; font-size: .78rem; font-weight: 850; }
body.jingwei-mobile-app .app-dashboard-empty span { font-size: .66rem; line-height: 1.35; }
body.jingwei-mobile-app .app-dashboard-empty-panel { min-height: 180px; border-radius: 16px; background: #fff; }
@media (max-width: 360px) {
  body.jingwei-mobile-app .app-dashboard-metrics a,
  body.jingwei-mobile-app .app-dashboard-metrics button { min-height: 84px; padding-right: .45rem; padding-left: .45rem; }
  body.jingwei-mobile-app .app-dashboard-metrics strong { font-size: 1.35rem; }
  body.jingwei-mobile-app .app-dashboard-launch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.jingwei-mobile-app .app-dashboard-task-status { max-width: 56px; }
  body.jingwei-mobile-app .app-dashboard-notice-list em { display: none; }
}

/* D84: APP-only todo cards. Desktop todo management remains unchanged. */
body.jingwei-mobile-app .app-todo-page {
  display: grid;
  gap: .68rem;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
}
body.jingwei-mobile-app .app-todo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-width: 0;
  padding: .18rem .08rem 0;
}
body.jingwei-mobile-app .app-todo-header > div { min-width: 0; }
body.jingwei-mobile-app .app-todo-header p,
body.jingwei-mobile-app .app-todo-header h1,
body.jingwei-mobile-app .app-todo-header span { margin: 0; }
body.jingwei-mobile-app .app-todo-header p { color: #77877f; font-size: .66rem; font-weight: 850; }
body.jingwei-mobile-app .app-todo-header h1 { margin-top: .05rem; font-size: 1.2rem; font-weight: 950; }
body.jingwei-mobile-app .app-todo-header span { display: block; margin-top: .12rem; color: #697b72; font-size: .71rem; }
body.jingwei-mobile-app .app-todo-header > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: .35rem .62rem;
  border: 1px solid rgba(47, 117, 67, .14);
  border-radius: 12px;
  color: #347248;
  text-decoration: none;
  background: #fff;
  font-size: .72rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-todo-tabs {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .18rem;
  min-width: 0;
  padding: .28rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(36, 76, 53, .06);
  backdrop-filter: blur(16px);
}
body.jingwei-mobile-app .app-todo-tabs a,
body.jingwei-mobile-app .app-todo-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .32rem;
  min-width: 0;
  min-height: 43px;
  padding: .35rem .24rem;
  border: 0;
  border-radius: 11px;
  color: #6b7d74;
  text-decoration: none;
  background: transparent;
}
body.jingwei-mobile-app .app-todo-tabs span { font-size: .78rem; font-weight: 850; }
body.jingwei-mobile-app .app-todo-tabs strong {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 21px;
  padding: 0 .3rem;
  overflow: hidden;
  border-radius: 999px;
  color: #607269;
  background: #edf2ef;
  font-size: .61rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-todo-tabs .active { color: #286c40; background: #eaf4ec; }
body.jingwei-mobile-app .app-todo-tabs .active strong { color: #fff; background: #3a7e50; }
body.jingwei-mobile-app .app-todo-tabs .is-overdue { color: #aa4738; background: #fcece8; }
body.jingwei-mobile-app .app-todo-tabs .is-overdue strong { background: #ba5343; }
body.jingwei-mobile-app .app-todo-filter {
  overflow: hidden;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 76, 53, .05);
}
body.jingwei-mobile-app .app-todo-filter > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 46px;
  padding: .58rem .7rem;
  color: #365647;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
body.jingwei-mobile-app .app-todo-filter > summary::-webkit-details-marker { display: none; }
body.jingwei-mobile-app .app-todo-filter > summary span { color: #7b8982; font-size: .65rem; font-weight: 700; }
body.jingwei-mobile-app .app-todo-filter[open] > summary { border-bottom: 1px solid rgba(43, 91, 61, .08); }
body.jingwei-mobile-app .app-todo-filter form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding: .68rem;
}
body.jingwei-mobile-app .app-todo-filter label { min-width: 0; }
body.jingwei-mobile-app .app-todo-filter label > span { display: block; margin-bottom: .16rem; color: #65776e; font-size: .68rem; font-weight: 850; }
body.jingwei-mobile-app .app-todo-filter-wide,
body.jingwei-mobile-app .app-todo-overdue,
body.jingwei-mobile-app .app-todo-filter-actions { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-todo-overdue {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-height: 38px;
  color: #566b61;
  font-size: .73rem;
  font-weight: 800;
}
body.jingwei-mobile-app .app-todo-overdue input { width: 18px; height: 18px; }
body.jingwei-mobile-app .app-todo-filter-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: .45rem; }
body.jingwei-mobile-app .app-todo-filter-actions > * { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 11px; font-size: .78rem; font-weight: 850; }
body.jingwei-mobile-app .app-todo-filter-actions > a { color: #53685e; text-decoration: none; background: #edf2ef; }
body.jingwei-mobile-app .app-todo-result-note {
  display: flex;
  align-items: center;
  gap: .38rem;
  min-height: 40px;
  padding: .42rem .55rem;
  border-radius: 12px;
  color: #607269;
  background: #edf5ef;
  font-size: .69rem;
}
body.jingwei-mobile-app .app-todo-result-note strong { color: #2f7044; font-weight: 900; }
body.jingwei-mobile-app .app-todo-result-note a { margin-left: auto; color: #39744b; font-weight: 850; text-decoration: none; }
body.jingwei-mobile-app .app-todo-list { display: grid; gap: .52rem; min-width: 0; }
body.jingwei-mobile-app .app-todo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(36, 76, 53, .055);
}
body.jingwei-mobile-app .app-todo-card.is-overdue { border-color: rgba(194, 74, 56, .19); }
body.jingwei-mobile-app .app-todo-card-link {
  display: grid;
  gap: .32rem;
  min-width: 0;
  min-height: 132px;
  padding: .7rem .72rem .62rem;
  color: inherit;
  text-decoration: none;
}
body.jingwei-mobile-app .app-todo-card-head,
body.jingwei-mobile-app .app-todo-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .55rem; min-width: 0; }
body.jingwei-mobile-app .app-todo-card-head em {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  max-width: 55%;
  padding: .16rem .45rem;
  overflow: hidden;
  border-radius: 8px;
  color: #2f7145;
  background: #eaf4ec;
  font-size: .64rem;
  font-style: normal;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-todo-card.is-overdue .app-todo-card-head em { color: #a34637; background: #fce9e5; }
body.jingwei-mobile-app .app-todo-card-head i { max-width: 44%; overflow: hidden; color: #65776e; font-size: .65rem; font-style: normal; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-todo-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #223f32;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.jingwei-mobile-app .app-todo-card-person,
body.jingwei-mobile-app .app-todo-card-meta { min-width: 0; overflow: hidden; color: #697a72; font-size: .7rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-todo-card-person b { color: #466052; font-weight: 850; }
body.jingwei-mobile-app .app-todo-card-meta { color: #7a8981; }
body.jingwei-mobile-app .app-todo-card-foot { margin-top: .08rem; padding-top: .42rem; border-top: 1px solid rgba(43, 91, 61, .075); }
body.jingwei-mobile-app .app-todo-card-foot em { min-width: 0; overflow: hidden; color: #849087; font-size: .63rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-todo-card-foot b { flex: 0 0 auto; color: #337347; font-size: .67rem; font-weight: 900; }
body.jingwei-mobile-app .app-todo-card.is-overdue .app-todo-card-foot b { color: #b84b3b; }
body.jingwei-mobile-app .app-todo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 260px;
  padding: 1rem;
  border: 1px dashed rgba(43, 91, 61, .16);
  border-radius: 18px;
  color: #728078;
  text-align: center;
  background: #fff;
}
body.jingwei-mobile-app .app-todo-empty > span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .55rem; border-radius: 15px; color: #39764c; background: #eaf4ec; font-size: 1.15rem; font-weight: 900; }
body.jingwei-mobile-app .app-todo-empty strong { color: #3f5a4c; font-size: .86rem; font-weight: 900; }
body.jingwei-mobile-app .app-todo-empty p { margin: .24rem 0 0; font-size: .69rem; }
body.jingwei-mobile-app .app-todo-empty a { margin-top: .6rem; color: #337347; font-size: .72rem; font-weight: 850; }
@media (max-width: 360px) {
  body.jingwei-mobile-app .app-todo-filter form { grid-template-columns: 1fr; }
  body.jingwei-mobile-app .app-todo-filter-wide,
  body.jingwei-mobile-app .app-todo-overdue,
  body.jingwei-mobile-app .app-todo-filter-actions { grid-column: 1; }
}

/* D84: current approval actions stay reachable above the APP primary tabbar. */
body.jingwei-mobile-app:has(.app-approval-actions) main.container-fluid {
  padding-bottom: calc(var(--app-tabbar-height) + 5.8rem + env(safe-area-inset-bottom)) !important;
}
body.jingwei-mobile-app .app-approval-actions {
  position: fixed;
  right: auto;
  bottom: calc(var(--app-tabbar-height) + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 28;
  display: flex !important;
  align-items: center;
  justify-content: stretch !important;
  gap: .45rem !important;
  width: min(760px, 100%);
  min-height: 62px;
  margin: 0 !important;
  padding: .55rem .68rem;
  transform: translateX(-50%);
  border-top: 1px solid rgba(43, 91, 61, .11);
  border-radius: 17px 17px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -9px 26px rgba(31, 69, 50, .1);
  backdrop-filter: blur(18px);
}
body.jingwei-mobile-app .app-approval-actions > .btn,
body.jingwei-mobile-app .app-approval-actions > button,
body.jingwei-mobile-app .app-approval-actions > a,
body.jingwei-mobile-app .app-approval-actions > form {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
body.jingwei-mobile-app .app-approval-actions > .btn,
body.jingwei-mobile-app .app-approval-actions > button,
body.jingwei-mobile-app .app-approval-actions > a,
body.jingwei-mobile-app .app-approval-actions > form > .btn,
body.jingwei-mobile-app .app-approval-actions > form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: .42rem .48rem;
  border-radius: 11px;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
}
body.jingwei-mobile-app .finance-approval-card.is-current,
body.jingwei-mobile-app .wechat-review-card.is-current,
body.jingwei-mobile-app .review-box:has(.app-approval-actions) {
  border-color: rgba(47, 117, 67, .25);
  box-shadow: 0 9px 25px rgba(36, 76, 53, .08);
}
body.jingwei-mobile-app .finance-approval-card.is-current::before,
body.jingwei-mobile-app .wechat-review-card.is-current::before {
  content: "当前由我处理";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: .38rem;
  padding: .13rem .42rem;
  border-radius: 8px;
  color: #2d7043;
  background: #e8f4ea;
  font-size: .64rem;
  font-weight: 900;
}
body.jingwei-mobile-app .detail-grid strong,
body.jingwei-mobile-app .vehicle-confirm-grid strong {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.jingwei-mobile-app .finance-approval-action-form,
body.jingwei-mobile-app .wechat-review-action-form { margin-top: .4rem; }
body.jingwei-mobile-app .workflow-history-details > summary { min-height: 46px; }
@media (max-width: 360px) {
  body.jingwei-mobile-app .app-approval-actions { gap: .3rem !important; padding-right: .45rem; padding-left: .45rem; }
  body.jingwei-mobile-app .app-approval-actions > .btn,
  body.jingwei-mobile-app .app-approval-actions > button,
  body.jingwei-mobile-app .app-approval-actions > a,
  body.jingwei-mobile-app .app-approval-actions > form > .btn,
  body.jingwei-mobile-app .app-approval-actions > form > button { padding-right: .3rem; padding-left: .3rem; font-size: .71rem; }
}

/* D85 APP launch-panel shell moved to css/app-mobile.css in D106. */

/* D85: shared APP form layout. Field names and submit behavior stay untouched. */
body.jingwei-mobile-app:has(.app-mobile-form) main.container-fluid {
  padding-bottom: calc(var(--app-tabbar-height) + 5.8rem + env(safe-area-inset-bottom)) !important;
}
body.jingwei-mobile-app .app-mobile-form,
body.jingwei-mobile-app .app-mobile-form.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .62rem;
  width: 100%;
  min-width: 0;
  margin: 0;
}
body.jingwei-mobile-app .app-mobile-form > [class*="col-"],
body.jingwei-mobile-app .app-mobile-form .row > [class*="col-"] {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.jingwei-mobile-app .app-mobile-form > .page-hero { margin: 0; }
body.jingwei-mobile-app .app-mobile-form > .work-section,
body.jingwei-mobile-app .official-table-doc:has(> .app-mobile-form) {
  min-width: 0;
  margin: 0;
  padding: .72rem;
  border-radius: 17px;
}
body.jingwei-mobile-app .app-mobile-form .section-title { align-items: center; margin-bottom: .52rem; }
body.jingwei-mobile-app .app-mobile-form .section-title h2,
body.jingwei-mobile-app .app-mobile-form h2 { font-size: .96rem; font-weight: 900; }
body.jingwei-mobile-app .app-mobile-form .form-label { margin-bottom: .18rem; color: #60736a; font-size: .72rem; font-weight: 850; }
body.jingwei-mobile-app .app-mobile-form :where(.form-control, .form-select, .form-control-sm, .form-select-sm) {
  width: 100%;
  min-height: 44px;
  padding: .42rem .55rem;
  border-radius: 11px;
  font-size: 16px;
  line-height: 1.3;
}
body.jingwei-mobile-app .app-mobile-form textarea.form-control { min-height: 92px; }
body.jingwei-mobile-app .app-mobile-form > .action-bar,
body.jingwei-mobile-app .app-mobile-form .action-bar {
  position: fixed;
  right: auto;
  bottom: calc(var(--app-tabbar-height) + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 28;
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: .45rem;
  width: min(760px, 100%);
  min-height: 62px;
  margin: 0 !important;
  padding: .55rem .68rem;
  transform: translateX(-50%);
  border-top: 1px solid rgba(43, 91, 61, .11);
  border-radius: 17px 17px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -9px 26px rgba(31, 69, 50, .1);
  backdrop-filter: blur(18px);
}
body.jingwei-mobile-app .app-mobile-form .action-bar > * { flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0; }
/* D98: compact the seal launch form after HarmonyOS 4 device verification. */
body.jingwei-mobile-app .app-seal-form {
  max-width: 100%;
  overflow-x: clip;
  gap: .48rem;
}
body.jingwei-mobile-app .app-seal-form > .page-hero.compact,
body.jingwei-mobile-app .app-seal-form > .work-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: .58rem .62rem;
  border-radius: 14px;
}
body.jingwei-mobile-app .app-seal-form > .page-hero.compact { gap: .38rem; }
body.jingwei-mobile-app .app-seal-form > .page-hero .date-box {
  width: 100%;
  min-width: 0;
}
body.jingwei-mobile-app .app-seal-form .seal-type-switch {
  grid-template-columns: minmax(0, 1fr);
  gap: .34rem;
  min-width: 0;
  margin-bottom: .5rem !important;
}
body.jingwei-mobile-app .app-seal-form .seal-type-card {
  min-width: 0;
  gap: .08rem;
  padding: .5rem .55rem .5rem 1.9rem;
  border-radius: 12px;
}
body.jingwei-mobile-app .app-seal-form .seal-type-card input { left: .58rem; top: .7rem; }
body.jingwei-mobile-app .app-seal-form .seal-type-card span { font-size: .78rem; line-height: 1.2; }
body.jingwei-mobile-app .app-seal-form .seal-type-card em { font-size: .66rem; line-height: 1.25; }
body.jingwei-mobile-app .app-seal-form > .work-section > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
  width: 100%;
  min-width: 0;
  margin: 0;
}
body.jingwei-mobile-app .app-seal-form > .work-section > .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}
body.jingwei-mobile-app .app-seal-form > .work-section > .row > .col-md-8 { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-seal-form textarea.form-control { min-height: 72px; }
body.jingwei-mobile-app .app-seal-form .seal-items-help { margin-bottom: .42rem; font-size: .68rem; line-height: 1.35; }
body.jingwei-mobile-app .app-seal-form .seal-detail-list { gap: .38rem; margin-top: .42rem !important; }
body.jingwei-mobile-app .app-seal-form .seal-detail-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: .52rem;
  overflow: hidden;
}
body.jingwei-mobile-app .app-seal-form .seal-detail-card-body,
body.jingwei-mobile-app .app-seal-form .seal-detail-card.is-inspection-file .seal-detail-card-body,
body.jingwei-mobile-app .app-seal-form .seal-count-grid,
body.jingwei-mobile-app .app-seal-form .inspection-vertical {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: .38rem;
}
body.jingwei-mobile-app .app-seal-form .seal-detail-primary-grid > div,
body.jingwei-mobile-app .app-seal-form .inspection-vertical > div:nth-child(n + 3),
body.jingwei-mobile-app .app-seal-form .normal-file-grid > div:first-child,
body.jingwei-mobile-app .app-seal-form .seal-duplicate-reason-field { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-seal-form .inspection-fields { min-width: 0; padding: .42rem 0 0; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-card { overflow: visible; border: 0; background: transparent; }
body.jingwei-mobile-app .app-consumable-form,
body.jingwei-mobile-app .app-consumable-form.row,
body.jingwei-mobile-app .app-attendance-form,
body.jingwei-mobile-app .app-attendance-form.row,
body.jingwei-mobile-app .app-vehicle-support-form,
body.jingwei-mobile-app .app-vehicle-support-form.row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
  max-width: 100%;
  overflow-x: clip;
}
body.jingwei-mobile-app :is(.app-consumable-form, .app-attendance-form, .app-vehicle-support-form) > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}
body.jingwei-mobile-app :is(.app-consumable-form, .app-attendance-form, .app-vehicle-support-form) > :is(.col-md-9, .col-md-8, .col-md-6, .col-12) { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-attendance-form .d-flex.flex-nowrap { display: grid !important; grid-template-columns: auto auto minmax(0, 1fr); gap: .28rem !important; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-card.mobile-scroll-table {
  overflow-x: hidden !important;
  overflow-y: visible;
  padding: 0;
}
body.jingwei-mobile-app .app-consumable-form .consumable-items-card.mobile-scroll-table .consumable-items-table {
  width: 100% !important;
  min-width: 0 !important;
}
body.jingwei-mobile-app .app-consumable-form .consumable-items-table,
body.jingwei-mobile-app .app-consumable-form .consumable-items-table tbody,
body.jingwei-mobile-app .app-consumable-form .consumable-items-table tr,
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td { display: block; width: 100%; min-width: 0; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table thead { display: none; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .38rem;
  margin-bottom: .55rem;
  padding: .52rem;
  border: 1px solid rgba(43, 91, 61, .11);
  border-radius: 14px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td { padding: 0; border: 0; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td::before { display: block; margin-bottom: .14rem; color: #697b72; font-size: .66rem; font-weight: 850; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(1)::before { content: "耗材名称"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(2)::before { content: "规格型号"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(3)::before { content: "单位"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(4)::before { content: "存放位置"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(5)::before { content: "当前库存"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(6)::before { content: "申领数量"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(7)::before { content: "操作"; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:nth-child(7) { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-consumable-form .consumable-items-table td:last-child .btn { width: 100%; min-height: 40px; }
body.jingwei-mobile-app .app-report-form .table-responsive { width: 100%; min-width: 0; overflow: visible; }
body.jingwei-mobile-app .app-report-form .work-table,
body.jingwei-mobile-app .app-report-form .work-table tbody { display: block; width: 100%; min-width: 0; }
body.jingwei-mobile-app .app-report-form .work-table tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .38rem;
  width: 100%;
  min-width: 0;
  padding: .52rem;
}
body.jingwei-mobile-app .app-report-form .work-table td { display: block; width: 100%; min-width: 0; padding: 0; }
body.jingwei-mobile-app .app-report-form .work-table td:nth-child(1),
body.jingwei-mobile-app .app-report-form .work-table td:nth-child(5),
body.jingwei-mobile-app .app-report-form .work-table td:nth-child(6),
body.jingwei-mobile-app .app-report-form .work-table td:nth-child(7) { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-report-form .work-table td:nth-child(7) .btn { width: 100%; min-height: 40px; }
body.jingwei-mobile-app .app-vehicle-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
  width: 100%;
  min-width: 0;
  margin: .32rem 0 0 !important;
}
body.jingwei-mobile-app .app-vehicle-form .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}
body.jingwei-mobile-app .app-vehicle-form .row > :is(.col-md-6, .col-md-5, .col-md-4) { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-vehicle-form .departure-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
body.jingwei-mobile-app .app-vehicle-form textarea.form-control { min-height: 72px; }
@media (max-width: 360px) {
  body.jingwei-mobile-app .mobile-action-grid { grid-template-columns: 1fr; }
  body.jingwei-mobile-app .mobile-action-grid a,
  body.jingwei-mobile-app .mobile-action-grid button { min-height: 68px; }
}

/* D86: APP message center. */
body.jingwei-mobile-app .app-info-page,
body.jingwei-mobile-app .app-profile-page,
body.jingwei-mobile-app .app-applications-page {
  display: grid;
  gap: .68rem;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
}
body.jingwei-mobile-app .app-info-header,
body.jingwei-mobile-app .app-applications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-width: 0;
  padding: .18rem .08rem 0;
}
body.jingwei-mobile-app .app-info-header > div,
body.jingwei-mobile-app .app-applications-header > div { min-width: 0; }
body.jingwei-mobile-app .app-info-header :where(p, h1, span),
body.jingwei-mobile-app .app-applications-header :where(p, h1, span) { margin: 0; }
body.jingwei-mobile-app .app-info-header p,
body.jingwei-mobile-app .app-applications-header p { color: #77877f; font-size: .65rem; font-weight: 850; }
body.jingwei-mobile-app .app-info-header h1,
body.jingwei-mobile-app .app-applications-header h1 { margin-top: .05rem; font-size: 1.18rem; font-weight: 950; }
body.jingwei-mobile-app .app-info-header span,
body.jingwei-mobile-app .app-applications-header span { display: block; margin-top: .12rem; overflow: hidden; color: #6d7e75; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-info-header > a,
body.jingwei-mobile-app .app-applications-header > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: .36rem .66rem;
  border: 0;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  background: #347649;
  font-size: .73rem;
  font-weight: 900;
}
body.jingwei-mobile-app .app-info-tabs {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .16rem;
  min-width: 0;
  padding: .28rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(36, 76, 53, .06);
  backdrop-filter: blur(16px);
}
body.jingwei-mobile-app .app-info-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .24rem;
  min-width: 0;
  min-height: 43px;
  padding: .32rem .2rem;
  border: 0;
  border-radius: 11px;
  color: #6b7c74;
  background: transparent;
}
body.jingwei-mobile-app .app-info-tabs button > span { overflow: hidden; font-size: .73rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-info-tabs button > em { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 999px; color: #fff; background: #dd5746; font-size: .56rem; font-style: normal; font-weight: 900; }
body.jingwei-mobile-app .app-info-tabs button.active { color: #286c40; background: #e9f4eb; }
body.jingwei-mobile-app .app-info-panel { display: grid; gap: .55rem; min-width: 0; }
body.jingwei-mobile-app .app-info-panel[hidden] { display: none !important; }
body.jingwei-mobile-app .app-info-panel-head,
body.jingwei-mobile-app .app-applications-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  min-width: 0;
  padding: .28rem .1rem .05rem;
}
body.jingwei-mobile-app .app-info-panel-head :where(p, h2),
body.jingwei-mobile-app .app-applications-section-head :where(p, h2) { margin: 0; }
body.jingwei-mobile-app .app-info-panel-head p,
body.jingwei-mobile-app .app-applications-section-head p { color: #77877f; font-size: .63rem; font-weight: 850; }
body.jingwei-mobile-app .app-info-panel-head h2,
body.jingwei-mobile-app .app-applications-section-head h2 { margin-top: .05rem; font-size: .98rem; font-weight: 900; }
body.jingwei-mobile-app .app-info-panel-head > button,
body.jingwei-mobile-app .app-info-head-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .28rem .5rem;
  border: 0;
  border-radius: 10px;
  color: #39744b;
  text-decoration: none;
  background: #edf5ef;
  font-size: .67rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-info-head-actions { display: flex; gap: .3rem; }
body.jingwei-mobile-app .app-info-list { display: grid; gap: .45rem; min-width: 0; }
body.jingwei-mobile-app .app-info-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: start;
  gap: .52rem;
  min-width: 0;
  min-height: 82px;
  padding: .62rem;
  border: 1px solid rgba(43, 91, 61, .09);
  border-radius: 15px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 8px 23px rgba(36, 76, 53, .05);
}
body.jingwei-mobile-app .app-info-item.unread { border-color: rgba(47, 117, 67, .2); background: #fbfefb; }
body.jingwei-mobile-app .app-info-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; font-size: .86rem; font-weight: 900; }
body.jingwei-mobile-app .app-info-avatar.announcement { color: #357249; background: #eaf4ec; }
body.jingwei-mobile-app .app-info-item-main { display: block; min-width: 0; }
body.jingwei-mobile-app .app-info-item-main strong { display: -webkit-box; overflow: hidden; color: #294638; font-size: .79rem; font-weight: 900; line-height: 1.3; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.jingwei-mobile-app .app-info-item-main > span { display: -webkit-box; margin-top: .16rem; overflow: hidden; color: #687a71; font-size: .69rem; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.jingwei-mobile-app .app-info-item-main em { display: block; margin-top: .2rem; overflow: hidden; color: #87928c; font-size: .61rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-info-item > i { align-self: start; padding: .14rem .32rem; border-radius: 999px; color: #b54738; background: #fdeae6; font-size: .58rem; font-style: normal; font-weight: 900; white-space: nowrap; }
body.jingwei-mobile-app .app-info-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .2rem; min-height: 190px; padding: 1rem; border: 1px dashed rgba(43, 91, 61, .16); border-radius: 16px; color: #74827b; text-align: center; background: #fff; }
body.jingwei-mobile-app .app-info-empty strong { color: #476052; font-size: .82rem; font-weight: 900; }
body.jingwei-mobile-app .app-info-empty span { font-size: .67rem; }

/* D86: APP profile and personal applications. */
body.jingwei-mobile-app .app-profile-identity {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: .62rem;
  min-width: 0;
  padding: .72rem;
  border: 1px solid rgba(43, 91, 61, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(36, 76, 53, .055);
}
body.jingwei-mobile-app .app-profile-avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 1.15rem; }
body.jingwei-mobile-app .app-profile-identity > div { min-width: 0; }
body.jingwei-mobile-app .app-profile-identity :where(p, h1, span, em) { margin: 0; }
body.jingwei-mobile-app .app-profile-identity p { color: #7b8982; font-size: .62rem; font-weight: 850; }
body.jingwei-mobile-app .app-profile-identity h1 { margin-top: .04rem; font-size: 1.13rem; font-weight: 950; }
body.jingwei-mobile-app .app-profile-identity span,
body.jingwei-mobile-app .app-profile-identity em { display: block; margin-top: .1rem; overflow: hidden; color: #697a72; font-size: .67rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-profile-identity em { color: #819087; font-size: .61rem; }
body.jingwei-mobile-app .app-profile-identity > button { min-width: 48px; min-height: 40px; padding: .3rem .5rem; border: 0; border-radius: 11px; color: #337347; background: #eaf4ec; font-size: .71rem; font-weight: 900; }
body.jingwei-mobile-app .app-profile-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .42rem; }
body.jingwei-mobile-app .app-profile-metrics > * { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; min-width: 0; min-height: 72px; padding: .58rem .62rem; border: 1px solid rgba(43, 91, 61, .09); border-radius: 14px; color: inherit; text-align: left; text-decoration: none; background: #fff; }
body.jingwei-mobile-app .app-profile-metrics span { color: #74847c; font-size: .64rem; font-weight: 800; }
body.jingwei-mobile-app .app-profile-metrics strong { display: block; width: 100%; margin-top: .14rem; overflow: hidden; color: #2f6641; font-size: .84rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-profile-menu,
body.jingwei-mobile-app .app-profile-drawer,
body.jingwei-mobile-app .app-applications-section { min-width: 0; padding: .72rem; border: 1px solid rgba(43, 91, 61, .09); border-radius: 18px; background: #fff; box-shadow: 0 8px 23px rgba(36, 76, 53, .045); }
body.jingwei-mobile-app .app-profile-section-head { margin-bottom: .4rem; }
body.jingwei-mobile-app .app-profile-section-head :where(p, h2) { margin: 0; }
body.jingwei-mobile-app .app-profile-section-head p { color: #7b8982; font-size: .62rem; font-weight: 850; }
body.jingwei-mobile-app .app-profile-section-head h2 { margin-top: .04rem; font-size: .95rem; font-weight: 900; }
body.jingwei-mobile-app .app-profile-menu > a,
body.jingwei-mobile-app .app-profile-menu > button,
body.jingwei-mobile-app .app-profile-menu-note { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: .5rem; width: 100%; min-width: 0; min-height: 58px; padding: .48rem .08rem; border: 0; color: inherit; text-align: left; text-decoration: none; background: transparent; }
body.jingwei-mobile-app .app-profile-menu > * + * { border-top: 1px solid rgba(43, 91, 61, .075); }
body.jingwei-mobile-app .app-profile-menu-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #347248; background: #eaf4ec; font-size: .72rem; font-weight: 900; }
body.jingwei-mobile-app .app-profile-menu strong { display: block; min-width: 0; color: #304d3f; font-size: .76rem; font-weight: 900; }
body.jingwei-mobile-app .app-profile-menu strong em { display: block; margin-top: .12rem; overflow: hidden; color: #79877f; font-size: .63rem; font-style: normal; font-weight: 650; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-profile-menu i { color: #6e7f76; font-size: .63rem; font-style: normal; font-weight: 800; }
body.jingwei-mobile-app .app-profile-menu-note { color: #687a71; }
body.jingwei-mobile-app .app-profile-drawer form { display: grid; gap: .48rem; }
body.jingwei-mobile-app .app-profile-drawer .form-control,
body.jingwei-mobile-app .app-profile-drawer .form-select { min-height: 44px; font-size: 16px; }
body.jingwei-mobile-app .app-profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .55rem; margin: 0; }
body.jingwei-mobile-app .app-profile-details div { min-width: 0; padding: .35rem 0; }
body.jingwei-mobile-app .app-profile-details div.wide { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-profile-details dt { color: #77877f; font-size: .64rem; font-weight: 850; }
body.jingwei-mobile-app .app-profile-details dd { margin: .12rem 0 0; color: #344f42; font-size: .72rem; overflow-wrap: anywhere; }
body.jingwei-mobile-app .app-profile-details dd button { margin-left: .25rem; padding: 0; border: 0; color: #337347; background: transparent; font-size: .62rem; font-weight: 850; }
body.jingwei-mobile-app .app-profile-edit-form { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem !important; }
body.jingwei-mobile-app .app-profile-edit-form label { min-width: 0; }
body.jingwei-mobile-app .app-profile-edit-form label > span { display: block; margin-bottom: .15rem; color: #65766e; font-size: .66rem; font-weight: 850; }
body.jingwei-mobile-app .app-profile-edit-form .wide { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-profile-edit-form > p { margin: 0; color: #77877f; font-size: .65rem; }
body.jingwei-mobile-app .app-profile-edit-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: .4rem; }
body.jingwei-mobile-app .app-profile-edit-actions .btn { min-height: 44px; }
body.jingwei-mobile-app .app-profile-logout { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid rgba(184, 75, 58, .16); border-radius: 14px; color: #ad493a; text-decoration: none; background: #fff9f7; font-size: .76rem; font-weight: 900; }
body.jingwei-mobile-app .app-application-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .46rem; }
body.jingwei-mobile-app .app-application-type-grid article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .4rem; min-width: 0; padding: .55rem; border: 1px solid rgba(43, 91, 61, .09); border-radius: 13px; background: #fbfdfb; }
body.jingwei-mobile-app .app-application-type-grid article > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #347248; background: #eaf4ec; font-size: .72rem; font-weight: 900; }
body.jingwei-mobile-app .app-application-type-grid article > div { min-width: 0; }
body.jingwei-mobile-app .app-application-type-grid strong { display: block; overflow: hidden; color: #314f40; font-size: .73rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-application-type-grid em { display: block; margin-top: .1rem; color: #7a8981; font-size: .61rem; font-style: normal; }
body.jingwei-mobile-app .app-application-type-grid a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 9px; color: #4d6659; text-decoration: none; background: #edf2ef; font-size: .65rem; font-weight: 850; }
body.jingwei-mobile-app .app-application-type-grid a.primary { color: #fff; background: #39774c; }
body.jingwei-mobile-app .app-application-recent-list { display: grid; gap: .42rem; }
body.jingwei-mobile-app .app-application-recent-list > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .3rem .48rem; min-width: 0; min-height: 64px; padding: .55rem; border: 1px solid rgba(43, 91, 61, .09); border-radius: 13px; color: inherit; text-decoration: none; background: #fbfdfb; }
body.jingwei-mobile-app .app-application-recent-list > a > span { grid-row: span 2; padding: .16rem .4rem; border-radius: 8px; color: #347248; background: #eaf4ec; font-size: .62rem; font-weight: 900; }
body.jingwei-mobile-app .app-application-recent-list strong { min-width: 0; overflow: hidden; color: #304d3f; font-size: .75rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-application-recent-list em { color: #7d8a83; font-size: .61rem; font-style: normal; }
body.jingwei-mobile-app .app-application-recent-list i { grid-row: span 2; max-width: 70px; color: #5e7167; font-size: .62rem; font-style: normal; font-weight: 850; text-align: right; }
@media (max-width: 360px) {
  body.jingwei-mobile-app .app-info-tabs button > span { font-size: .68rem; }
  body.jingwei-mobile-app .app-profile-edit-form,
  body.jingwei-mobile-app .app-application-type-grid { grid-template-columns: 1fr; }
  body.jingwei-mobile-app .app-profile-edit-form .wide { grid-column: 1; }
}

/* D87: APP field handling tasks. */
body.jingwei-mobile-app .app-field-task {
  min-width: 0;
  border-color: rgba(43, 91, 61, .14);
  box-shadow: 0 9px 24px rgba(36, 76, 53, .055);
}
body.jingwei-mobile-app .app-field-task > h2 {
  margin-bottom: .22rem;
  font-size: 1rem;
  font-weight: 950;
}
body.jingwei-mobile-app .app-field-task-form {
  min-width: 0;
}
body.jingwei-mobile-app .app-field-task-form.row > [class*="col-"] {
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
}
body.jingwei-mobile-app .app-field-task-form :where(.form-control, .form-select) {
  min-height: 46px;
  font-size: 16px;
}
body.jingwei-mobile-app .app-field-task-form .form-label {
  margin-bottom: .2rem;
  color: #5f7167;
  font-size: .7rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-field-item-list {
  display: grid;
  gap: .55rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-field-item-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .52rem;
  min-width: 0;
  padding: .68rem;
  border: 1px solid rgba(43, 91, 61, .11);
  border-radius: 14px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-field-item-list article > .wide {
  grid-column: 1 / -1;
}
body.jingwei-mobile-app .app-field-item-list :where(div, label) {
  display: block;
  min-width: 0;
}
body.jingwei-mobile-app .app-field-item-list span {
  display: block;
  margin-bottom: .15rem;
  color: #718178;
  font-size: .65rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-field-item-list strong {
  display: block;
  color: #304d3f;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.jingwei-mobile-app .app-field-item-list em {
  display: block;
  margin-top: .1rem;
  color: #7a8981;
  font-size: .64rem;
  font-style: normal;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.jingwei-mobile-app .app-field-item-list .form-control {
  min-height: 46px;
  font-size: 16px;
}
body.jingwei-mobile-app:has(.app-field-task-actions:not(.app-approval-actions)) main.container-fluid {
  padding-bottom: calc(var(--app-tabbar-height) + 5.8rem + env(safe-area-inset-bottom)) !important;
}
body.jingwei-mobile-app .app-field-task-actions:not(.app-approval-actions) {
  position: fixed;
  z-index: 1042;
  right: 0;
  bottom: calc(var(--app-tabbar-height) + env(safe-area-inset-bottom));
  left: 0;
  display: flex !important;
  align-items: center;
  justify-content: flex-end !important;
  gap: .45rem !important;
  width: auto !important;
  min-height: 64px;
  margin: 0 !important;
  padding: .58rem .68rem;
  border-top: 1px solid rgba(43, 91, 61, .12);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -8px 24px rgba(31, 65, 43, .09);
  backdrop-filter: blur(12px);
}
body.jingwei-mobile-app .app-field-task-actions:not(.app-approval-actions) > :where(.btn, button) {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  margin: 0 !important;
}
body.jingwei-mobile-app .app-vehicle-confirmation-task .confirmation-doc-body {
  font-size: .78rem;
  line-height: 1.75;
  text-align: justify;
}
body.jingwei-mobile-app .app-seal-handling-task .manager-checks {
  display: grid;
  gap: .45rem;
}
body.jingwei-mobile-app .app-seal-handling-task .manager-checks .form-check {
  min-height: 48px;
  margin: 0;
  padding: .58rem .58rem .58rem 2.2rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 12px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-seal-handling-task .manager-checks .form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  margin-left: -1.62rem;
}
body.jingwei-mobile-app .app-seal-handling-task .manager-checks .form-check-label {
  font-size: .72rem;
  line-height: 1.45;
}
@media (max-width: 360px) {
  body.jingwei-mobile-app .app-field-item-list article { grid-template-columns: 1fr; }
  body.jingwei-mobile-app .app-field-item-list article > .wide { grid-column: 1; }
}

/* D90: APP high-frequency business detail summary. */
body.jingwei-mobile-app .app-detail-desktop-hero { display: none !important; }
body.jingwei-mobile-app .app-detail-summary {
  display: grid;
  gap: .62rem;
  min-width: 0;
  padding: .78rem;
  border: 1px solid rgba(43, 91, 61, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(36, 76, 53, .06);
}
body.jingwei-mobile-app .app-detail-summary > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .55rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-detail-summary > header > div { min-width: 0; }
body.jingwei-mobile-app .app-detail-summary :where(p, h1) { margin: 0; }
body.jingwei-mobile-app .app-detail-summary header p {
  color: #728178;
  font-size: .63rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-detail-summary header h1 {
  display: -webkit-box;
  margin-top: .12rem;
  overflow: hidden;
  color: #284c38;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.jingwei-mobile-app .app-detail-summary > header .status-pill {
  max-width: 92px;
  white-space: normal;
  text-align: center;
}
body.jingwei-mobile-app .app-detail-person {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  padding-bottom: .52rem;
  border-bottom: 1px solid rgba(43, 91, 61, .08);
}
body.jingwei-mobile-app .app-detail-person strong { color: #345342; font-size: .74rem; font-weight: 900; }
body.jingwei-mobile-app .app-detail-person span { min-width: 0; overflow: hidden; color: #7a8880; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-detail-lead {
  min-width: 0;
  padding: .58rem .62rem;
  border-radius: 13px;
  background: #f2f7f3;
}
body.jingwei-mobile-app .app-detail-lead span,
body.jingwei-mobile-app .app-detail-facts span { display: block; color: #74837b; font-size: .63rem; font-weight: 850; }
body.jingwei-mobile-app .app-detail-lead strong {
  display: -webkit-box;
  margin-top: .16rem;
  overflow: hidden;
  color: #304d3f;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.jingwei-mobile-app .app-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
}
body.jingwei-mobile-app .app-detail-facts > div {
  min-width: 0;
  min-height: 58px;
  padding: .5rem .55rem;
  border: 1px solid rgba(43, 91, 61, .085);
  border-radius: 12px;
  background: #fcfdfc;
}
body.jingwei-mobile-app .app-detail-facts strong {
  display: block;
  margin-top: .13rem;
  overflow: hidden;
  color: #344f42;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-detail-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .42rem;
}
body.jingwei-mobile-app .app-detail-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .42rem .55rem;
  border: 1px solid rgba(52, 114, 72, .18);
  border-radius: 11px;
  color: #347248;
  text-align: center;
  text-decoration: none;
  background: #f3f8f4;
  font-size: .7rem;
  font-weight: 900;
}
body.jingwei-mobile-app .app-detail-actions a.primary { color: #fff; border-color: #39774c; background: #39774c; }
@media (max-width: 340px) {
  body.jingwei-mobile-app .app-detail-facts { grid-template-columns: 1fr; }
}

/* D92: APP high-frequency business list summaries. */
body.jingwei-mobile-app .app-list-cards {
  display: grid;
  gap: .62rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-list-card {
  display: grid;
  gap: .52rem;
  min-width: 0;
  padding: .72rem;
  border: 1px solid rgba(43, 91, 61, .12);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 76, 53, .052);
}
body.jingwei-mobile-app .app-list-card :where(h3, p) { margin: 0; }
body.jingwei-mobile-app .app-list-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-list-card-kind {
  min-width: 0;
  color: #6d7e74;
  font-size: .64rem;
  font-weight: 900;
  line-height: 1.45;
}
body.jingwei-mobile-app .app-list-card-head .status-pill {
  flex: 0 0 auto;
  max-width: 104px;
  white-space: normal;
  text-align: center;
}
body.jingwei-mobile-app .app-list-card h3 {
  display: -webkit-box;
  overflow: hidden;
  color: #294c39;
  font-size: .94rem;
  font-weight: 950;
  line-height: 1.42;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.jingwei-mobile-app .app-list-card-person {
  display: flex;
  align-items: center;
  gap: .28rem;
  min-width: 0;
  color: #78877f;
  font-size: .66rem;
}
body.jingwei-mobile-app .app-list-card-person strong { color: #405d4d; font-weight: 900; }
body.jingwei-mobile-app .app-list-card-person span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.jingwei-mobile-app .app-list-card-detail {
  min-width: 0;
  padding: .5rem .56rem;
  border-radius: 12px;
  background: #f2f7f3;
}
body.jingwei-mobile-app .app-list-card-detail span,
body.jingwei-mobile-app .app-list-card-facts span {
  display: block;
  color: #74837b;
  font-size: .61rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-list-card-detail strong {
  display: -webkit-box;
  margin-top: .12rem;
  overflow: hidden;
  color: #345141;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.jingwei-mobile-app .app-list-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
}
body.jingwei-mobile-app .app-list-card-facts > div {
  min-width: 0;
  padding: .46rem .52rem;
  border: 1px solid rgba(43, 91, 61, .08);
  border-radius: 11px;
  background: #fcfdfc;
}
body.jingwei-mobile-app .app-list-card-facts strong {
  display: block;
  margin-top: .12rem;
  color: #355143;
  font-size: .69rem;
  font-weight: 900;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
body.jingwei-mobile-app .app-list-card-progress,
body.jingwei-mobile-app .app-list-card-note {
  color: #66786e;
  font-size: .66rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.jingwei-mobile-app .app-list-card-progress {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.jingwei-mobile-app .app-list-card-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: .4rem;
}
body.jingwei-mobile-app .app-list-card-actions > :where(a, button),
body.jingwei-mobile-app .app-list-card-actions > form > button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: .4rem .5rem;
  border: 1px solid rgba(52, 114, 72, .18);
  border-radius: 11px;
  color: #347248;
  text-align: center;
  text-decoration: none;
  background: #f3f8f4;
  font-size: .69rem;
  font-weight: 900;
}
body.jingwei-mobile-app .app-list-card-actions > a.primary { color: #fff; border-color: #39774c; background: #39774c; }
body.jingwei-mobile-app .app-list-card-actions .danger-link { color: #a64040; border-color: rgba(166, 64, 64, .18); background: #fff7f7; }
body.jingwei-mobile-app .app-list-card-task-form {
  display: grid;
  gap: .42rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(43, 91, 61, .08);
}
body.jingwei-mobile-app .app-list-card-task-form .form-control { min-height: 46px; font-size: 16px; }
body.jingwei-mobile-app .app-list-card-task-form > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
body.jingwei-mobile-app .app-list-card-task-form .btn { min-height: 44px; }
body.jingwei-mobile-app .app-list-card-admin { display: grid; gap: .4rem; }
body.jingwei-mobile-app .app-list-card-admin form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
body.jingwei-mobile-app .app-list-card-admin :where(.form-select, .btn) { min-height: 44px; font-size: .7rem; }
@media (max-width: 340px) {
  body.jingwei-mobile-app .app-list-card-facts { grid-template-columns: 1fr; }
  body.jingwei-mobile-app .app-list-card-actions { grid-template-columns: 1fr; }
}

/* D94: APP collapsible list filters. */
body.jingwei-mobile-app .app-filter-panel {
  min-width: 0;
  margin-top: .56rem;
  border: 1px solid rgba(43, 91, 61, .12);
  border-radius: 14px;
  background: #f8fbf9;
  overflow: hidden;
}
body.jingwei-mobile-app .app-filter-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 48px;
  padding: .6rem .68rem;
  color: #345442;
  cursor: pointer;
  list-style: none;
  font-size: .72rem;
  font-weight: 950;
}
body.jingwei-mobile-app .app-filter-panel > summary::-webkit-details-marker { display: none; }
body.jingwei-mobile-app .app-filter-panel > summary::after {
  flex: 0 0 auto;
  width: .48rem;
  height: .48rem;
  margin-left: .1rem;
  border-right: 2px solid #5b7465;
  border-bottom: 2px solid #5b7465;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}
body.jingwei-mobile-app .app-filter-panel[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
body.jingwei-mobile-app .app-filter-panel > summary strong {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: #77877e;
  font-size: .62rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-filter-panel[open] > summary {
  border-bottom: 1px solid rgba(43, 91, 61, .09);
  background: #f2f7f3;
}
body.jingwei-mobile-app .app-filter-panel-body { padding: .62rem; }
body.jingwei-mobile-app .app-filter-panel .filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .48rem;
  margin: 0;
}
body.jingwei-mobile-app .app-filter-panel .filter-bar > :where(label, select, input:not([type="hidden"])) {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
}
body.jingwei-mobile-app .app-filter-panel .filter-bar :where(.form-control, .form-select) {
  min-height: 46px;
  font-size: 16px;
}
body.jingwei-mobile-app .app-filter-panel .filter-bar > :where(button, a) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  white-space: normal;
  text-align: center;
}
@media (max-width: 340px) {
  body.jingwei-mobile-app .app-filter-panel > summary strong { max-width: 132px; }
}

/* D95: APP purchase and WeChat application forms. */
body.jingwei-mobile-app:has(.app-purchase-form) > .app-shell .page-hero.compact,
body.jingwei-mobile-app .official-table-doc:has(> .app-purchase-form) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: .58rem .62rem;
  border-radius: 14px;
}
body.jingwei-mobile-app .official-table-doc:has(> .app-purchase-form) .official-doc-title { margin-bottom: .42rem; padding-bottom: .42rem; }
body.jingwei-mobile-app .official-table-doc:has(> .app-purchase-form) .official-doc-title span { font-size: .62rem; }
body.jingwei-mobile-app .official-table-doc:has(> .app-purchase-form) .official-doc-title h1 { font-size: 1rem; }
body.jingwei-mobile-app .app-purchase-form,
body.jingwei-mobile-app .app-purchase-form.row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
  max-width: 100%;
  overflow-x: clip;
}
body.jingwei-mobile-app .app-purchase-form > [class*="col-"] { width: 100%; max-width: 100%; min-width: 0; padding: 0; }
body.jingwei-mobile-app .app-purchase-form > .col-md-9,
body.jingwei-mobile-app .app-purchase-form > .col-12 { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-purchase-form h2 { margin-bottom: .42rem !important; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-card.mobile-scroll-table {
  overflow-x: hidden !important;
  overflow-y: visible;
  padding: 0;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-card.mobile-scroll-table .purchase-items-table {
  width: 100% !important;
  min-width: 0 !important;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-table,
body.jingwei-mobile-app .app-purchase-form .purchase-items-table tbody,
body.jingwei-mobile-app .app-purchase-form .purchase-items-table tr,
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td {
  display: block;
  width: 100%;
  min-width: 0;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-table thead { display: none; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .38rem;
  width: 100%;
  min-width: 0;
  margin-bottom: .56rem;
  padding: .52rem;
  border: 1px solid rgba(43, 91, 61, .11);
  border-radius: 12px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td::before {
  display: block;
  margin-bottom: .14rem;
  color: #697b72;
  font-size: .66rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(1)::before { content: "物品名称"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(2)::before { content: "规格型号"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(3)::before { content: "数量"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(4)::before { content: "单位"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(5)::before { content: "预估单价"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(6)::before { content: "用途说明"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(7)::before { content: "操作"; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:nth-child(7) { grid-column: 1 / -1; }
body.jingwei-mobile-app .app-purchase-form .purchase-items-table td:last-child .btn,
body.jingwei-mobile-app .app-purchase-form #addPurchaseItem {
  width: 100%;
  min-height: 40px;
}
body.jingwei-mobile-app .app-wechat-form .wechat-section .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .58rem;
  margin: 0;
}
body.jingwei-mobile-app .app-wechat-form .wechat-section .row > [class*="col-"] {
  width: 100%;
  max-width: none;
  padding: 0;
}
body.jingwei-mobile-app .app-wechat-form .form-check {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin: 0 !important;
  padding: .55rem .62rem .55rem 2.15rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 11px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-wechat-form .attachment-existing-list li {
  align-items: flex-start;
  flex-direction: column;
  gap: .42rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-wechat-form .attachment-file-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
  width: 100%;
}
body.jingwei-mobile-app .app-wechat-form .attachment-file-actions .btn { min-height: 44px; }

/* D96: APP reimbursement and payment-notice formal finance forms. */
body.jingwei-mobile-app .app-finance-form .compact-form-meta {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .5rem;
  align-items: end;
}
body.jingwei-mobile-app .app-finance-form .compact-form-meta > label {
  grid-column: span 3;
  min-width: 0;
}
body.jingwei-mobile-app .app-finance-form .compact-form-meta > label.date-piece { grid-column: span 2; }
body.jingwei-mobile-app .app-finance-form .compact-form-meta span,
body.jingwei-mobile-app .app-finance-form .compact-sign-grid span {
  display: block;
  margin-bottom: .18rem;
  color: #60736a;
  font-size: .72rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-finance-form .compact-form-table-wrap {
  min-width: 0;
  overflow: visible;
  padding: .66rem;
  border-color: rgba(43, 91, 61, .11);
  border-radius: 15px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-finance-form .compact-form-table,
body.jingwei-mobile-app .app-finance-form .compact-form-table tbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .52rem;
  width: 100%;
  min-width: 0;
}
body.jingwei-mobile-app .app-finance-form .compact-form-table colgroup,
body.jingwei-mobile-app .app-finance-form .compact-form-table th { display: none; }
body.jingwei-mobile-app .app-finance-form .compact-form-table tr { display: contents; }
body.jingwei-mobile-app .app-finance-form .compact-form-table td {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
}
body.jingwei-mobile-app .app-finance-form .compact-form-table td[data-app-label]::before {
  display: block;
  margin-bottom: .16rem;
  color: #60736a;
  content: attr(data-app-label);
  font-size: .72rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-finance-form .compact-form-table textarea {
  height: auto;
  min-height: 104px;
  resize: vertical;
}
body.jingwei-mobile-app .app-finance-form .compact-form-table .form-text {
  margin-top: .3rem;
  color: #718078;
  font-size: .69rem;
  line-height: 1.5;
}
body.jingwei-mobile-app .app-finance-form .compact-sign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .52rem;
  min-width: 0;
  padding: .66rem;
  border-color: rgba(43, 91, 61, .11);
  border-radius: 15px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-finance-form .compact-sign-grid label { min-width: 0; }
body.jingwei-mobile-app .app-finance-form .compact-extra-panel {
  min-width: 0;
  padding: .66rem;
  border-color: rgba(43, 91, 61, .11);
  border-radius: 15px;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-head {
  align-items: stretch;
  flex-direction: column;
  gap: .48rem;
  margin-bottom: .58rem;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-head h2 { font-size: .92rem; }
body.jingwei-mobile-app .app-finance-form .compact-extra-head p {
  margin-top: .16rem;
  font-size: .7rem;
  line-height: 1.5;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-head .btn {
  width: 100%;
  min-height: 44px;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table {
  overflow: visible;
  border: 0;
  background: transparent;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table.mobile-scroll-table {
  overflow-x: hidden !important;
  overflow-y: visible;
  padding: 0;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table.mobile-scroll-table .editable-form-table {
  width: 100% !important;
  min-width: 0 !important;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table table,
body.jingwei-mobile-app .app-finance-form .compact-extra-table tbody,
body.jingwei-mobile-app .app-finance-form .compact-extra-table tr,
body.jingwei-mobile-app .app-finance-form .compact-extra-table td {
  display: block;
  width: 100%;
  min-width: 0;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table thead { display: none; }
body.jingwei-mobile-app .app-finance-form .compact-extra-table tr {
  margin-bottom: .55rem;
  padding: .6rem;
  border: 1px solid rgba(43, 91, 61, .11);
  border-radius: 13px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table td {
  padding: .2rem 0;
  border: 0;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table td::before {
  display: block;
  margin-bottom: .14rem;
  color: #697b72;
  font-size: .66rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-finance-form .compact-extra-table td:nth-child(1)::before { content: "名称"; }
body.jingwei-mobile-app .app-finance-form .compact-extra-table td:nth-child(2)::before { content: "内容"; }
body.jingwei-mobile-app .app-finance-form .compact-extra-table td:nth-child(3)::before { content: "操作"; }
body.jingwei-mobile-app .app-finance-form .compact-extra-table td:nth-child(3),
body.jingwei-mobile-app .app-finance-form .compact-extra-table td:nth-child(3) .btn {
  width: 100%;
  min-height: 44px;
}
body.jingwei-mobile-app .app-finance-form .finance-attachment-panel .attachment-dropzone { min-width: 0; }
@media (max-width: 340px) {
  body.jingwei-mobile-app .app-finance-form .compact-form-meta { gap: .42rem; }
}

/* D97: remaining APP quick-launch forms. */
body.jingwei-mobile-app .app-vehicle-support-form > [class*="col-"] { padding: 0; }
body.jingwei-mobile-app .app-vehicle-support-form textarea.form-control { min-height: 96px; }
body.jingwei-mobile-app .app-vehicle-support-form .attachment-existing-list li {
  align-items: flex-start;
  flex-direction: column;
  gap: .42rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-vehicle-support-form .attachment-file-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
  width: 100%;
}
body.jingwei-mobile-app .app-vehicle-support-form .attachment-file-actions .btn { min-height: 44px; }
body.jingwei-mobile-app .app-message-form {
  padding: .68rem;
  border-radius: 17px;
  background: transparent;
  box-shadow: none;
}
body.jingwei-mobile-app .app-message-form .message-mail-head {
  align-items: flex-start;
  flex-direction: column;
  gap: .24rem;
  padding: .7rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 14px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-message-form .message-mail-head span {
  font-size: .7rem;
  line-height: 1.45;
  white-space: normal;
}
body.jingwei-mobile-app .app-message-form .message-mail-row {
  grid-template-columns: minmax(0, 1fr);
  gap: .3rem;
  min-width: 0;
  padding: .68rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 14px;
  background: #fff;
}
body.jingwei-mobile-app .app-message-form .message-mail-label {
  padding: 0;
  color: #60736a;
  font-size: .72rem;
  font-weight: 850;
}
body.jingwei-mobile-app .app-message-form .message-recipient-line {
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem;
}
body.jingwei-mobile-app .app-message-form .message-selected-box { min-height: 44px; }
body.jingwei-mobile-app .app-message-form .message-mode-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.jingwei-mobile-app .app-message-form .message-mode-card { min-height: 48px; }
body.jingwei-mobile-app .app-message-form .message-recipient-picker {
  position: fixed;
  top: max(4.5rem, env(safe-area-inset-top));
  right: .65rem;
  bottom: calc(var(--app-tabbar-height) + 4.6rem + env(safe-area-inset-bottom));
  left: .65rem;
  z-index: 40;
  max-height: none;
  padding: .55rem;
  border-radius: 17px;
}
body.jingwei-mobile-app .app-message-form .message-pick-toolbar {
  grid-template-columns: minmax(0, 1fr);
  gap: .3rem;
}
body.jingwei-mobile-app .app-message-form .message-user-groups,
body.jingwei-mobile-app .app-message-form .message-check-grid,
body.jingwei-mobile-app .app-message-form .message-check-grid.compact {
  max-height: none;
}
body.jingwei-mobile-app .app-message-form .message-check-grid {
  grid-template-columns: minmax(0, 1fr);
}
body.jingwei-mobile-app .app-message-form .message-check-grid label { min-height: 48px; }
body.jingwei-mobile-app .app-message-form textarea.form-control { min-height: 180px; }
body.jingwei-mobile-app .app-message-form .message-mail-actions,
body.jingwei-mobile-app .app-announcement-form .announcement-form-actions {
  gap: .35rem;
}
body.jingwei-mobile-app .app-message-form .message-mail-actions > *,
body.jingwei-mobile-app .app-announcement-form .announcement-form-actions > * {
  min-width: 0;
  padding-right: .25rem;
  padding-left: .25rem;
  font-size: .76rem;
  white-space: nowrap;
}
body.jingwei-mobile-app .app-announcement-form {
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
}
body.jingwei-mobile-app .app-announcement-form > .form-card {
  min-width: 0;
  margin: 0;
  padding: .72rem;
  border-radius: 17px;
}
body.jingwei-mobile-app .app-announcement-form textarea.form-control { min-height: 180px; }
body.jingwei-mobile-app .app-announcement-form .todo-overdue-check {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: .55rem .62rem;
  border: 1px solid rgba(43, 91, 61, .1);
  border-radius: 11px;
  background: #fbfdfb;
}
body.jingwei-mobile-app .app-announcement-form .message-check-grid,
body.jingwei-mobile-app .app-announcement-form .message-check-grid.compact {
  grid-template-columns: minmax(0, 1fr);
  max-height: 300px;
}
body.jingwei-mobile-app .app-announcement-form .message-check-grid label { min-height: 48px; }
body.jingwei-mobile-app .app-announcement-form .attachment-existing-list li {
  align-items: flex-start;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}
body.jingwei-mobile-app .app-announcement-form .attachment-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  width: 100%;
}
body.jingwei-mobile-app .app-announcement-form .attachment-file-meta .btn { min-height: 44px; }

.site-icp-footer { width: 100%; margin-top: 1.25rem; padding: .75rem .75rem .15rem; color: var(--muted); font-size: .78rem; line-height: 1.5; text-align: center; } .site-icp-footer a { color: inherit; text-decoration: none; } .site-icp-footer a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: .2em; } .site-icp-footer a:focus-visible { border-radius: 4px; outline: 2px solid rgba(47, 117, 67, .35); outline-offset: 3px; } .login-body > .site-icp-footer { margin-top: 0; padding-bottom: calc(.75rem + env(safe-area-inset-bottom)); }
