:root {
  --blue-950: #0c2847;
  --blue-900: #123a63;
  --blue-800: #155184;
  --blue-700: #1768ad;
  --blue-600: #2581cd;
  --blue-100: #e9f3fb;
  --blue-50: #f3f8fc;
  --ink: #172536;
  --muted: #66778a;
  --line: #dce4ec;
  --surface: #ffffff;
  --canvas: #f4f7fa;
  --orange: #e88a22;
  --red: #d7484c;
  --green: #2b9663;
  --shadow: 0 12px 32px rgba(31, 58, 88, 0.08);
  --radius: 14px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); }
body { overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.watermark-layer {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden;
  opacity: .078; mix-blend-mode: multiply;
}
.watermark-item {
  position: absolute; color: #315a7f; font-size: 13px; white-space: nowrap;
  transform: rotate(-22deg); transform-origin: center; letter-spacing: .4px;
}

.app-shell { width: 100%; min-height: 100vh; display: flex; }
.sidebar {
  width: 232px; position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column;
  padding: 24px 16px 18px; color: #dce9f4; background: linear-gradient(180deg, #0d2f51 0%, #0b2744 100%);
  box-shadow: 12px 0 30px rgba(10, 37, 65, .08);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 28px; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  color: #fff; background: linear-gradient(145deg, #48a1e6, #1e74bd); font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), 0 8px 18px rgba(0,0,0,.18);
}
.brand strong { display: block; color: #fff; font-size: 17px; letter-spacing: .5px; }
.brand span { display: block; margin-top: 2px; color: #91abc2; font-size: 11px; letter-spacing: 1px; }
.nav-list { display: flex; flex-direction: column; gap: 6px; }
.nav-item {
  width: 100%; border: 0; border-radius: 9px; padding: 12px 13px; display: flex; align-items: center; gap: 12px;
  color: #b9ccdc; background: transparent; text-align: left; transition: .2s ease;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(48,144,218,.32), rgba(48,144,218,.12)); box-shadow: inset 3px 0 #59adf0; }
.nav-icon { width: 20px; text-align: center; color: #7db5df; font-size: 17px; }
.nav-item em { margin-left: auto; min-width: 22px; padding: 2px 6px; border-radius: 10px; color: #a9c6dc; background: rgba(255,255,255,.08); font-size: 11px; text-align: center; font-style: normal; }
.nav-item em.danger { color: #ffd8d8; background: rgba(216,72,76,.28); }
.sidebar-spacer { flex: 1; }
.vanity-address { display: flex; flex-direction: column; gap: 3px; overflow: hidden; margin: 0 2px 2px; padding: 10px 12px; border: 1px solid rgba(133,190,231,.15); border-radius: 10px; background: rgba(8,30,52,.45); }
.vanity-address span { color: #819bb0; font-size: 10px; }
.vanity-address strong { overflow: hidden; color: #dcecf8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.security-card { display: flex; align-items: center; gap: 10px; margin: 10px 2px 16px; padding: 11px 12px; border: 1px solid rgba(133,190,231,.15); border-radius: 10px; background: rgba(8,30,52,.45); }
.security-icon { color: #65b5f0; font-size: 20px; }
.security-card strong, .security-card small { display: block; }
.security-card strong { color: #dcecf8; font-size: 12px; }
.security-card small { margin-top: 2px; color: #819bb0; font-size: 10px; }
.sidebar-user { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #267bbd; font-size: 13px; }
.sidebar-user div { min-width: 0; flex: 1; }
.sidebar-user strong, .sidebar-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user strong { color: #fff; font-size: 12px; }.sidebar-user small { margin-top: 3px; color: #8da6ba; font-size: 10px; }
.icon-button { border: 0; color: var(--muted); background: transparent; font-size: 19px; }
.sidebar .icon-button { color: #8ba3b8; }

.main-area { width: calc(100% - 232px); min-width: 0; margin-left: 232px; flex: none; }
.topbar {
  height: 68px; position: sticky; top: 0; z-index: 20; padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(217,227,236,.9); backdrop-filter: blur(12px);
}
.breadcrumb { color: #3d5063; font-size: 14px; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.demo-badge { padding: 7px 10px; border: 1px solid #d7e8f5; border-radius: 16px; color: var(--blue-700); background: var(--blue-50); font-size: 11px; }
.demo-badge span { width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #35a06c; }
.role-switcher { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.role-switcher select { border: 1px solid var(--line); border-radius: 7px; padding: 6px 28px 6px 9px; color: #284054; background: #fff; outline: none; }
.notification-button { position: relative; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.notification-button span { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--red); font-size: 9px; }
.mobile-menu { display: none; border: 0; background: none; font-size: 22px; }
.content { min-height: calc(100vh - 68px); }
.page-section { width: min(1500px, 100%); margin: 0 auto; padding: 32px 36px 50px; }
.page-heading { margin-bottom: 24px; }
.heading-with-action { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { margin: 0 0 7px; color: var(--blue-600) !important; font-size: 11px !important; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.page-heading h1 { margin: 0; color: var(--blue-950); font-size: 28px; letter-spacing: -.5px; }
.page-heading > div > p:last-child, .page-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.heading-actions { display: flex; gap: 10px; }
.button { border: 1px solid transparent; border-radius: 9px; padding: 10px 16px; font-weight: 700; font-size: 12px; transition: .2s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(34,88,130,.14); }
.button.primary { color: #fff; background: linear-gradient(135deg, #227dc3, #1765a7); }
.button.secondary { color: #26526f; background: #fff; border-color: #cfdce7; }
.button.ghost { color: var(--blue-700); background: var(--blue-50); }
.button.danger { color: #b63338; background: #fff0f0; border-color: #f1c8ca; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; }

.scope-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 12px 15px; border: 1px solid #d8e8f4; border-radius: 10px; color: #466274; background: #f5fafd; }
.scope-note > span { width: 19px; height: 19px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: var(--blue-600); font-size: 11px; font-weight: 800; }
.scope-note p { margin: 0; font-size: 12px; line-height: 1.7; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 18px; }
.metric-card { position: relative; overflow: hidden; padding: 19px 20px; border: 1px solid #e4ebf1; border-radius: var(--radius); color:inherit; background: #fff; box-shadow: 0 5px 18px rgba(34,64,91,.035); text-align:left; cursor:pointer; transition:.18s ease; }.metric-card:hover { transform:translateY(-2px); border-color:#c8ddea; box-shadow:0 9px 22px rgba(34,64,91,.09); }.metric-card:focus-visible { outline:3px solid rgba(43,135,198,.2); outline-offset:2px; }
.metric-card::after { content: ""; position: absolute; width: 76px; height: 76px; top: -30px; right: -18px; border-radius: 50%; background: var(--metric-tint); }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric-label { color: var(--muted); font-size: 12px; }.metric-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--metric-color); background: var(--metric-tint); font-weight: 800; }
.metric-value { margin-top: 13px; color: var(--blue-950); font-size: 26px; font-weight: 800; }.metric-value small { margin-left: 3px; color: #8a99a8; font-size: 11px; font-weight: 400; }
.metric-foot { margin-top: 7px; color: #8a99a8; font-size: 10px; }.metric-foot strong { color: var(--metric-color); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 18px; margin-bottom: 18px; }
.panel { border: 1px solid #e3eaf0; border-radius: var(--radius); background: #fff; box-shadow: 0 6px 22px rgba(27,62,92,.035); }
.panel-header { padding: 18px 20px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf1f4; }
.panel-header h2 { margin: 0; color: #24394d; font-size: 15px; }.panel-header p { margin: 4px 0 0; color: #8a98a6; font-size: 10px; }
.text-button { border: 0; color: var(--blue-600); background: transparent; font-size: 11px; }
.number-badge { min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 14px; color: var(--red); background: #fff0f0; font-size: 12px; font-weight: 800; }
.focus-list { padding: 4px 20px 10px; }
.focus-item { padding: 15px 0; display: grid; grid-template-columns: 1fr 120px 74px; align-items: center; gap: 18px; border-bottom: 1px solid #edf1f4; cursor: pointer; }
.focus-item:last-child { border-bottom: 0; }.focus-item:hover .focus-title { color: var(--blue-600); }
.focus-title { margin: 0 0 6px; color: #263b4e; font-size: 13px; transition: .2s; }.focus-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: #8b98a5; font-size: 10px; }
.matter-code { color: var(--blue-600); font-family: Consolas, monospace; }
.progress-line { height: 6px; border-radius: 3px; background: #edf2f5; overflow: hidden; }.progress-line span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #3b91d0, #5ca9df); }
.progress-cell small { display: block; margin-top: 5px; color: #7c8b99; text-align: right; font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 64px; padding: 5px 9px; border-radius: 12px; font-size: 10px; font-weight: 700; }
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.processing { color: #2478b6; background: #edf7ff; }.status-pill.warning { color: #c27618; background: #fff6e8; }.status-pill.overdue { color: #c53b40; background: #fff0f0; }.status-pill.review { color: #7761c7; background: #f3f0ff; }.status-pill.closed { color: #27815a; background: #ebf8f1; }
.todo-list { padding: 5px 18px 11px; }
.todo-item { display: flex; gap: 11px; padding: 13px 2px; border-bottom: 1px solid #edf1f4; }.todo-item:last-child { border-bottom: 0; }
.todo-type { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--blue-700); background: var(--blue-100); font-size: 12px; font-weight: 800; }
.todo-item.warning .todo-type { color: #bd721b; background: #fff3e3; }.todo-body { min-width: 0; flex: 1; }.todo-body strong { display: block; color: #314658; font-size: 11px; }.todo-body p { margin: 4px 0; overflow: hidden; color: #667889; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.todo-body small { color: #9ba7b2; font-size: 9px; }
.activity-panel { overflow: hidden; }.legend { color: #8795a2; font-size: 10px; }.legend span { width: 7px; height: 7px; display: inline-block; margin: 0 4px 0 12px; border-radius: 50%; }.lead-dot { background: var(--blue-600); }.responsible-dot { background: var(--orange); }
.activity-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }.activity-card { min-width: 0; padding: 17px 20px; border-right: 1px solid #edf1f4; cursor: pointer; }.activity-card:last-child { border-right: 0; }.activity-source { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.unit-label { padding: 4px 8px; border-radius: 5px; font-size: 9px; font-weight: 700; }.unit-label.lead { color: #1c6ca7; background: #eaf5fd; }.unit-label.responsible { color: #b56a17; background: #fff3e3; }.activity-source time { color: #a1abb5; font-size: 9px; }.activity-card h3 { margin: 10px 0 6px; overflow: hidden; color: #2a4052; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.activity-card p { margin: 0; color: #728190; font-size: 10px; line-height: 1.65; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.list-panel { overflow: hidden; }.list-toolbar { padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e9eff3; }.matter-search-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }.search-box { width: 285px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fafcfd; }.search-box:focus-within { border-color: #77b4df; box-shadow: 0 0 0 3px rgba(62,145,205,.09); }.search-box span { color: #91a0ae; }.search-box input { width: 100%; border: 0; outline: 0; color: #314658; background: transparent; font-size: 11px; }.search-select { height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: #526678; background: #fff; font-size: 10px; }.search-mode { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #f5f7f9; }.search-mode button { min-width: 42px; padding: 6px 8px; border: 0; border-radius: 6px; color: #71818f; background: transparent; font-size: 10px; cursor: pointer; }.search-mode button.active { color: #176da9; background: #fff; box-shadow: 0 1px 3px rgba(26,58,82,.12); font-weight: 700; }.filter-group { display: flex; gap: 7px; }.filter-chip { border: 1px solid transparent; border-radius: 14px; padding: 6px 11px; color: #6f7f8e; background: #f3f6f8; font-size: 10px; }.filter-chip.active { border-color: #b8d8ef; color: var(--blue-700); background: #edf7ff; font-weight: 700; }
.table-wrap { overflow-x: auto; }.matter-table { width: 100%; border-collapse: collapse; min-width: 940px; }.matter-table th { padding: 12px 16px; color: #6a7a89; background: #f9fbfc; border-bottom: 1px solid #e6edf2; text-align: left; font-size: 10px; font-weight: 700; }.matter-table td { padding: 15px 16px; border-bottom: 1px solid #edf1f4; color: #405567; font-size: 11px; vertical-align: middle; }.matter-table tbody tr { transition: .15s; cursor: pointer; }.matter-table tbody tr:hover { background: #f8fbfd; }.table-title { max-width: 330px; }.table-title strong { display: block; margin-bottom: 5px; color: #23394c; font-size: 12px; }.table-title span { color: #8392a0; font-size: 9px; }.unit-stack span { display: block; margin: 2px 0; }.unit-stack small { margin-right: 6px; color: #94a0aa; }.table-progress { width: 110px; }.date-cell strong { display: block; color: #43576a; font-size: 11px; }.date-cell small { display: block; margin-top: 4px; font-size: 9px; }.date-cell small.warning { color: #cf7920; }.date-cell small.overdue { color: var(--red); }.row-action { border: 0; color: var(--blue-600); background: transparent; font-size: 18px; }.table-footer { padding: 12px 18px; display: flex; justify-content: space-between; color: #909da9; font-size: 10px; }

.matter-drawer { width: min(720px, 92vw); position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: #f7f9fb; box-shadow: -20px 0 50px rgba(21,50,75,.18); transform: translateX(105%); transition: .3s ease; }
.matter-drawer.open { transform: translateX(0); }.drawer-mask { position: fixed; inset: 0; z-index: 50; background: rgba(8,24,39,.32); backdrop-filter: blur(2px); }.hidden { display: none !important; }
.drawer-header { padding: 20px 24px 15px; background: #fff; border-bottom: 1px solid var(--line); }.drawer-topline { display: flex; align-items: center; justify-content: space-between; }.drawer-code { color: var(--blue-600); font-family: Consolas, monospace; font-size: 11px; }.drawer-close { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #788896; background: #f1f4f6; font-size: 18px; }.drawer-header h2 { margin: 12px 0 10px; color: #1f3548; font-size: 20px; line-height: 1.45; }.drawer-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }.soft-tag { padding: 4px 8px; border-radius: 5px; color: #667787; background: #f0f3f5; font-size: 9px; }
.drawer-body { overflow-y: auto; padding: 18px 22px 90px; }.drawer-section { margin-bottom: 16px; padding: 17px 18px; border: 1px solid #e2e9ef; border-radius: 12px; background: #fff; }.section-title { margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; color: #2d4356; font-size: 13px; }.section-title small { color: #96a2ad; font-size: 9px; font-weight: 400; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.summary-item span { display: block; margin-bottom: 5px; color: #91a0ad; font-size: 9px; }.summary-item strong { color: #344a5d; font-size: 11px; }.summary-item.wide { grid-column: span 3; }.summary-item.wide strong { line-height: 1.7; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.contact-card { padding: 11px; border: 1px solid #e5ebf0; border-radius: 9px; background: #fbfcfd; }.contact-card-head { display: flex; align-items: center; justify-content: space-between; }.contact-card-head .unit-label { margin-left: 5px; }.contact-card h4 { margin: 8px 0 6px; color: #2e4457; font-size: 11px; }.contact-person { display: flex; align-items: center; justify-content: space-between; color: #70808f; font-size: 9px; }.phone-link { color: var(--blue-600); text-decoration: none; font-family: Consolas, monospace; }
.contact-card.pending { border-style:dashed; background:#fbfcfe; }.contact-pending-state { margin-top:10px; padding:13px; display:flex; flex-direction:column; gap:5px; border-radius:8px; color:#718493; background:#f1f5f8; }.contact-pending-state strong { color:#526b7e; font-size:10px; }.contact-pending-state span { font-size:9px; }.contact-save-actions { display:flex; align-items:center; gap:12px; }.contact-save-actions .mini-action { white-space:nowrap; }
.feedback-timeline { position: relative; padding-left: 18px; }.feedback-timeline::before { content: ""; position: absolute; top: 9px; bottom: 10px; left: 4px; width: 1px; background: #dce5ec; }.feedback-entry { position: relative; padding: 0 0 18px 10px; }.feedback-entry:last-child { padding-bottom: 0; }.feedback-entry::before { content: ""; position: absolute; top: 6px; left: -18px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 2px #b9d8ed; }.feedback-entry.responsible::before { background: var(--orange); box-shadow: 0 0 0 2px #f3d3ad; }.feedback-entry.supervision::before { background: #75869a; box-shadow: 0 0 0 2px #d5dce3; }
.feedback-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.feedback-head strong { color: #2f4558; font-size: 11px; }.feedback-head time { color: #9ba6af; font-size: 9px; }.feedback-contact { margin: 4px 0 7px; color: #8795a2; font-size: 9px; }.feedback-text { margin: 0; color: #526779; font-size: 11px; line-height: 1.75; }.attachment-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }.attachment-chip { max-width: 190px; padding: 6px 8px; border: 1px solid #dce6ed; border-radius: 6px; color: #526b7e; background: #f6fafc; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.photo-thumb { width: 74px; height: 50px; border-radius: 6px; background: linear-gradient(145deg,#a9c8d9,#dbe9ef); display: grid; place-items: center; color: #fff; font-size: 9px; overflow: hidden; }.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feedback-actions { margin-top: 9px; display: flex; gap: 12px; }.mini-action { border: 0; padding: 0; color: var(--blue-600); background: none; font-size: 9px; }.mini-action.reject { color: var(--red); }
.drawer-footer { position: absolute; left: 0; right: 0; bottom: 0; z-index:3; padding: 13px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }.drawer-footer-left, .drawer-footer-right { display: flex; gap: 8px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8,25,41,.38); backdrop-filter: blur(3px); }.modal { width: min(620px, 96vw); max-height: 90vh; display:flex; flex-direction:column; overflow:hidden; border-radius: 15px; background: #fff; box-shadow: 0 24px 70px rgba(10,34,55,.28); animation: modalIn .22s ease; }.modal.large { width: min(820px, 96vw); } @keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-header { flex:none; padding: 18px 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fff; }.modal-header h2 { margin: 0; color: #243b4e; font-size: 17px; }.modal-close { border: 0; color: #7c8b98; background: transparent; font-size: 22px; }.modal-body { min-height:0; overflow-y:auto; padding: 20px 21px 30px; }.modal-footer { flex:none; padding: 14px 21px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fff; }
.download-ready { position:fixed; left:50%; bottom:18px; z-index:130; width:min(360px,calc(100vw - 44px)); display:grid; grid-template-columns:1fr auto; gap:3px 12px; padding:13px 15px; border:1px solid #b9d9ef; border-radius:10px; color:#255b7e; background:#f5fbff; box-shadow:0 12px 32px rgba(20,70,105,.2); text-decoration:none; transform:translateX(-50%); }.download-ready span { grid-column:1; font-size:10px; font-weight:700; }.download-ready strong { grid-column:1; overflow:hidden; color:#314b5e; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.download-ready em { grid-column:2; grid-row:1 / span 2; align-self:center; color:#1475b5; font-size:10px; font-style:normal; font-weight:700; }.download-ready.waiting { animation:downloadPulse 1.8s ease-in-out infinite; } @keyframes downloadPulse { 50% { box-shadow:0 12px 35px rgba(20,112,173,.34); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.field { display: flex; flex-direction: column; gap: 7px; }.field.full { grid-column: span 2; }.field label { color: #536779; font-size: 10px; font-weight: 700; }.required::after { content: " *"; color: var(--red); }.field input, .field select, .field textarea { width: 100%; border: 1px solid #d8e2e9; border-radius: 8px; padding: 10px 11px; color: #31475a; background: #fbfcfd; outline: none; font-size: 11px; }.field input:focus, .field select:focus, .field textarea:focus { border-color: #6fb0df; box-shadow: 0 0 0 3px rgba(41,132,198,.08); }.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }.field-help { color: #97a3ad; font-size: 9px; }
.upload-zone { padding: 18px; border: 1.5px dashed #bad1e1; border-radius: 9px; background: #f7fbfe; text-align: center; }.upload-zone input { display: none; }.upload-zone label { cursor: pointer; color: var(--blue-600); font-size: 11px; }.upload-zone p { margin: 5px 0 0; color: #94a2ae; font-size: 9px; }.upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }.preview-file { max-width: 180px; padding: 7px 9px; border: 1px solid #dce5ec; border-radius: 6px; color: #5b6e7d; background: #fff; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-banner { display: flex; gap: 12px; margin-bottom: 16px; padding: 13px 14px; border: 1px solid #d4e7f5; border-radius: 10px; background: linear-gradient(135deg,#f2f9fe,#f9fbff); }.ai-spark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#4b9fd7,#6f72cf); }.ai-banner strong { display: block; color: #31526c; font-size: 11px; }.ai-banner p { margin: 4px 0 0; color: #7790a3; font-size: 9px; line-height: 1.6; }.ai-result { margin-top: 15px; padding: 15px; border: 1px solid #dbe6ee; border-radius: 10px; background: #fbfcfd; }.ai-result.hidden { display: none; }.ai-result-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }.ai-result-title strong { color: #344c60; font-size: 11px; }.confidence { padding: 4px 7px; border-radius: 5px; color: #28805b; background: #eaf7f0; font-size: 9px; }.ai-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.ai-field { padding: 9px; border-radius: 7px; background: #fff; border: 1px solid #e4e9ed; }.ai-field span { display: block; margin-bottom: 4px; color: #95a1ab; font-size: 8px; }.ai-field strong { color: #3c5264; font-size: 10px; }.ai-field.wide { grid-column: span 2; }
.toast-root { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 9px; pointer-events:none; }.toast { min-width: 280px; max-width: 400px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid #dce5eb; border-radius: 10px; color: #3e5567; background: #fff; box-shadow: var(--shadow); font-size: 11px; animation: toastIn .25s ease; }.toast::before { content: "✓"; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 9px; }.toast.warning::before { content: "!"; background: var(--orange); } @keyframes toastIn { from { opacity: 0; transform: translateX(15px); } }

.placeholder-content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }.placeholder-card { padding: 18px; border: 1px solid #e2e9ef; border-radius: 12px; background: #fff; }.placeholder-card strong { display: block; color: #31495d; font-size: 13px; }.placeholder-card p { margin: 8px 0 12px; color: #758694; font-size: 10px; line-height: 1.7; }.placeholder-list { margin: 0; padding: 0; list-style: none; }.placeholder-list li { padding: 9px 0; border-top: 1px solid #edf1f4; color: #5d7182; font-size: 10px; }
.warning-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.warning-card { padding: 18px; border: 1px solid #f0dfc9; border-radius: 12px; background: #fffaf4; }.warning-card.red { border-color: #efcfd1; background: #fff7f7; }.warning-card h3 { margin: 0 0 8px; color: #9a5c17; font-size: 13px; }.warning-card.red h3 { color: #b43d42; }.warning-card p { margin: 0 0 12px; color: #6d7b87; font-size: 10px; line-height: 1.7; }.warning-meta { display: flex; justify-content: space-between; color: #8d989f; font-size: 9px; }
.stat-mock { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }.chart-card { padding: 20px; border: 1px solid #e2e9ef; border-radius: 12px; background: #fff; }.chart-card h3 { margin: 0 0 18px; color: #344a5d; font-size: 13px; }.bar-chart { height: 220px; display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; padding: 16px 12px 0; border-bottom: 1px solid #dfe7ed; }.bar { width: 38px; position: relative; border-radius: 6px 6px 0 0; background: linear-gradient(180deg,#4b9bd4,#2876b1); }.bar::before { content: attr(data-value); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); color: #547083; font-size: 9px; }.bar::after { content: attr(data-label); position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); color: #7c8d9a; font-size: 9px; white-space: nowrap; }

.role-badge { padding: 4px 8px; border-radius: 5px; color: #1768ad; background: #e8f4fd; font-size: 9px; font-weight: 700; }
.phone-pending { color:#a87928; font-size:9px; }
.source-document-button { margin-top: 13px; border: 0; border-radius: 7px; padding: 8px 11px; color: var(--blue-700); background: var(--blue-50); font-size: 10px; }
.flow-steps { display: grid; grid-template-columns: repeat(5,1fr); margin: 4px 0 16px; }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #9aa7b2; font-size: 8px; text-align: center; }
.flow-step::after { content:""; position:absolute; top:10px; left:56%; width:88%; height:2px; background:#e1e7ec; }
.flow-step:last-child::after { display:none; }.flow-step span { width:21px; height:21px; z-index:1; display:grid; place-items:center; border:2px solid #dde5eb; border-radius:50%; background:#fff; font-size:8px; }
.flow-step.done span { color:#fff; border-color:#2c9365; background:#2c9365; }.flow-step.done::after { background:#85c5a7; }.flow-step.active { color:var(--blue-700); font-weight:700; }.flow-step.active span { color:#fff; border-color:var(--blue-600); background:var(--blue-600); box-shadow:0 0 0 4px #e8f3fb; }
.flow-log-list { display:flex; flex-direction:column; gap:7px; }.flow-log { display:grid; grid-template-columns:96px 1fr auto; gap:8px; padding:9px 10px; border-radius:8px; background:#f8fafb; color:#627584; font-size:9px; }.flow-log > span { color:#2e526d; font-weight:700; }.flow-log p { margin:0; }.flow-log time { color:#98a4ae; }.flow-log small { grid-column:2/4; color:#80909d; }
.task-list { display:flex; flex-direction:column; gap:8px; }.task-item { display:grid; grid-template-columns:24px 1fr auto; align-items:center; gap:9px; padding:9px 10px; border:1px solid #e3eaf0; border-radius:8px; background:#fbfcfd; }.task-toggle { width:20px; height:20px; display:grid; place-items:center; border:1.5px solid #a9bfd0; border-radius:5px; color:#fff; background:#fff; font-size:10px; }.task-item.completed .task-toggle { border-color:#2d9868; background:#2d9868; }.task-item strong { display:block; color:#354b5d; font-size:10px; }.task-item span { display:block; margin-top:3px; color:#8b98a4; font-size:8px; }.task-item em { color:#b77625; font-size:8px; font-style:normal; }.task-item.completed em { color:#2d885f; }
.photo-thumb { padding:0; border:0; background:linear-gradient(145deg,#7ca9c3,#dbe9ef); }.comment-summary { margin-top:9px; padding:7px 9px; border-radius:7px; color:#627787; background:#f3f7fa; font-size:9px; line-height:1.6; }
.current-flow { margin-bottom:15px; padding:12px 14px; display:flex; align-items:center; gap:10px; border-radius:9px; background:#f4f8fb; }.current-flow span { color:#82919e; font-size:9px; }.current-flow strong { color:var(--blue-700); font-size:12px; }.current-flow em { margin-left:auto; color:#8c99a4; font-family:Consolas,monospace; font-size:9px; font-style:normal; }
.quoted-feedback { margin-bottom:15px; padding:12px 14px; border-left:3px solid #65a8d6; border-radius:0 8px 8px 0; background:#f4f8fb; }.quoted-feedback span { color:#567084; font-size:9px; font-weight:700; }.quoted-feedback p { margin:6px 0 0; color:#667988; font-size:10px; line-height:1.7; }
.comment-thread { max-height:240px; overflow:auto; margin-bottom:16px; }.empty-comments { padding:18px; color:#93a0aa; background:#f8fafb; border-radius:8px; font-size:9px; text-align:center; }.comment-item { display:flex; gap:10px; padding:11px 2px; border-bottom:1px solid #edf1f4; }.comment-avatar { width:27px; height:27px; flex:none; display:grid; place-items:center; border-radius:8px; color:#fff; background:#3182bd; font-size:10px; }.comment-item > div { flex:1; }.comment-item strong { display:block; color:#334b5e; font-size:10px; }.comment-item strong small { margin-left:7px; color:#94a0aa; font-size:8px; font-weight:400; }.comment-item p { margin:6px 0; color:#5f7485; font-size:10px; line-height:1.6; }.comment-item time { color:#9aa6af; font-size:8px; }
.attachment-modal .modal-header > div small { display:block; margin-top:3px; color:#8e9aa4; font-size:9px; }.attachment-preview { min-height:390px; display:grid; place-items:center; overflow:hidden; border:1px solid #dce5eb; border-radius:10px; background:#edf2f5; }.attachment-preview.image img { max-width:100%; max-height:65vh; object-fit:contain; }.attachment-preview.pdf iframe { width:100%; height:60vh; border:0; background:#fff; }.attachment-preview.source-image { height:60vh; padding:16px; overflow:auto; background:#dfe7ec; }.attachment-preview.source-image img { width:min(100%,900px); height:auto; display:block; align-self:start; box-shadow:0 10px 30px rgba(35,55,70,.18); }.mock-scenery { width:100%; min-height:390px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; background:linear-gradient(165deg,#78a6bf 0 45%,#668e72 45% 68%,#9f8366 68%); text-shadow:0 2px 8px rgba(0,0,0,.35); }.mock-scenery span { font-size:12px; }.mock-scenery strong { margin-top:8px; font-size:17px; }.document-sheet { width:min(430px,85%); min-height:340px; padding:38px; background:#fff; box-shadow:0 12px 35px rgba(37,61,79,.14); }.document-sheet > span { color:var(--red); font-size:11px; font-weight:800; }.document-sheet h3 { margin:18px 0 24px; color:#2d4355; font-size:17px; }.document-sheet p { color:#71808c; font-size:10px; }.document-sheet div { height:7px; margin-top:12px; border-radius:4px; background:#e3e8ec; }.document-sheet div.short { width:60%; }.attachment-meta { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:12px; color:#7f8e9a; font-size:9px; }.link-button { display:inline-block; text-decoration:none; }

.modal-header > div small { display: block; margin-top: 4px; color: #8e9aa5; font-size: 9px; }.button.danger-outline { color:#b63338; background:#fff; border-color:#efc3c6; }.drawer-tip { color:#758695; font-size:10px; }.contact-dual { display:grid; gap:8px; margin-top:10px; }.contact-dual > div { display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:7px; padding:8px; border-radius:7px; background:#f5f8fa; font-size:9px; }.contact-dual span { color:#8a98a4; }.contact-dual strong { color:#334b5e; }.task-dot { width:19px; height:19px; display:grid; place-items:center; border:1px solid #bdd0de; border-radius:50%; color:#fff; background:#fff; font-size:9px; }.task-item.completed .task-dot { border-color:#2c9365; background:#2c9365; }.feedback-status-line { display:flex; align-items:center; gap:9px; margin:6px 0; color:#8b98a3; font-size:8px; }.review-badge { display:inline-flex; align-items:center; padding:3px 7px; border-radius:10px; font-size:8px; font-weight:700; }.review-badge.pending { color:#a76817; background:#fff2df; }.review-badge.approved { color:#267b55; background:#e9f6ef; }.review-badge.rejected { color:#b43a3e; background:#fff0f0; }.review-badge.record { color:#607281; background:#eef2f5; }.review-comment { margin-top:9px; padding:8px 10px; border-left:3px solid #75af84; border-radius:0 7px 7px 0; color:#4e6d5d; background:#f0f8f3; font-size:9px; }.mini-action.approve { color:#238158; font-weight:700; }.mini-action.task-from-feedback { color:#7154a3; }

.review-summary { display:grid; grid-template-columns:160px 160px 1fr; gap:12px; margin-bottom:16px; }.review-summary article { padding:16px 18px; border:1px solid #e2e9ef; border-radius:11px; background:#fff; box-shadow:0 4px 14px rgba(30,65,91,.035); }.review-summary span { display:block; color:#84939f; font-size:9px; }.review-summary strong { display:block; margin-top:7px; color:#274055; font-size:17px; }.review-summary article:last-child strong { font-size:12px; }.review-queue { display:flex; flex-direction:column; gap:12px; }.review-card { padding:19px 20px; border:1px solid #e0e8ee; border-radius:12px; background:#fff; box-shadow:0 5px 18px rgba(30,65,91,.035); }.review-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }.review-card-head h3 { margin:6px 0 0; color:#293f52; font-size:14px; }.review-source { display:flex; align-items:center; gap:12px; margin:14px 0 10px; padding:9px 11px; border-radius:8px; color:#6d7f8d; background:#f6f9fb; font-size:9px; }.review-source span { color:#1e70aa; font-weight:700; }.review-source em { margin-left:auto; font-style:normal; }.review-source time { color:#98a5af; }.review-card > p { color:#526879; font-size:11px; line-height:1.75; }.review-card-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:15px; padding-top:13px; border-top:1px solid #edf1f4; }.empty-state { padding:45px; color:#7f8e9b; text-align:center; }.empty-state strong { display:block; color:#40586b; font-size:14px; }.empty-state p { font-size:10px; }

.feedback-workspace { display:grid; grid-template-columns:270px minmax(0,1fr); gap:16px; align-items:start; }.feedback-matter-list { position:sticky; top:86px; overflow:hidden; border:1px solid #e0e8ee; border-radius:12px; background:#fff; }.feedback-list-title { padding:15px 16px; display:flex; justify-content:space-between; border-bottom:1px solid #e8eef2; }.feedback-list-title strong { color:#344c5f; font-size:11px; }.feedback-list-title span { color:#8d9aa5; font-size:9px; }.feedback-matter-option { width:100%; padding:13px 15px; display:block; border:0; border-bottom:1px solid #edf1f4; text-align:left; background:#fff; cursor:pointer; }.feedback-matter-option:last-child { border-bottom:0; }.feedback-matter-option:hover,.feedback-matter-option.active { background:#f1f8fd; }.feedback-matter-option.active { box-shadow:inset 3px 0 #2682c3; }.feedback-matter-option span,.feedback-matter-option small { display:block; color:#8795a1; font-size:8px; }.feedback-matter-option strong { display:block; margin:5px 0; color:#354c5e; font-size:10px; line-height:1.5; }.feedback-form-card { overflow:hidden; }.feedback-form-heading { padding:20px 22px; display:flex; justify-content:space-between; align-items:flex-start; gap:20px; border-bottom:1px solid #e5ecf1; }.feedback-form-heading h2 { margin:7px 0; color:#263e52; font-size:17px; }.feedback-form-heading p { max-width:720px; margin:0; color:#728391; font-size:10px; line-height:1.7; }.recipient-bar { padding:11px 22px; display:flex; align-items:center; gap:12px; color:#788997; background:#edf6fc; font-size:9px; }.recipient-bar strong { color:#1d6fa8; font-size:11px; }.recipient-bar em { margin-left:auto; font-style:normal; }.contact-form-block { padding:19px 22px; border-bottom:1px solid #e8eef2; }.subsection-title { display:flex; justify-content:space-between; margin-bottom:14px; }.subsection-title > div strong,.subsection-title > div span { display:block; }.subsection-title strong { color:#334b5e; font-size:12px; }.subsection-title span { margin-top:4px; color:#8a98a4; font-size:9px; }.completion-tag { align-self:start; padding:4px 8px; border-radius:10px; font-size:8px; }.completion-tag.complete { color:#287b57; background:#e8f5ee; }.completion-tag.incomplete { color:#a66a1f; background:#fff1df; }.feedback-submit-bar { padding:15px 22px; display:flex; justify-content:space-between; align-items:center; background:#fafcfd; }.feedback-submit-bar span { color:#7d8c98; font-size:9px; }.feedback-submit-bar span strong { color:#a66917; }

.dictionary-toolbar { margin-bottom:15px; padding:13px 15px; display:flex; justify-content:space-between; align-items:center; gap:15px; }.dictionary-test { display:flex; align-items:center; gap:7px; }.dictionary-test input { width:150px; padding:9px 10px; border:1px solid #d7e1e8; border-radius:8px; outline:0; font-size:10px; }.dictionary-test strong { min-width:190px; color:#267a57; font-size:9px; }.dictionary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.dictionary-card { padding:17px; border:1px solid #e0e8ee; border-radius:12px; background:#fff; }.dictionary-card-head { display:flex; justify-content:space-between; align-items:flex-start; }.dictionary-card-head span { color:#8e9ba6; font-size:8px; }.dictionary-card-head h3 { margin:5px 0 0; color:#2f475a; font-size:14px; }.dictionary-card-head em { color:#8b98a4; font-family:Consolas,monospace; font-size:9px; font-style:normal; }.alias-row { margin:13px 0; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }.alias-row strong { margin-right:3px; color:#657989; font-size:9px; }.alias-row span { padding:4px 7px; border-radius:5px; color:#536f83; background:#eff5f8; font-size:8px; }.dictionary-people { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.dictionary-people > div { padding:10px; display:grid; grid-template-columns:auto 1fr; gap:5px 8px; border-radius:8px; background:#f8fafb; }.person-role { color:#8b98a3; font-size:8px; }.dictionary-people strong { color:#334c60; font-size:10px; }.dictionary-people a { grid-column:1/3; color:#2378b4; font-family:Consolas,monospace; font-size:9px; text-decoration:none; }.dictionary-people small { grid-column:1/3; color:#929ea8; font-size:8px; }.dictionary-checklist { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }.dictionary-checklist label { padding:10px; display:grid; grid-template-columns:auto 1fr; gap:3px 8px; align-items:center; border:1px solid #e0e7ec; border-radius:8px; background:#fafcfd; cursor:pointer; }.dictionary-checklist input { width:auto; grid-row:1/3; }.dictionary-checklist span { color:#3d5567; font-size:10px; }.dictionary-checklist small { color:#8c99a3; font-size:8px; }.word-paste-area { min-height:170px!important; font-family:"Microsoft YaHei",sans-serif; }.quick-entry-result { margin-top:16px; border:1px solid #dfe8ee; border-radius:10px; overflow:hidden; }.quick-result-head { padding:11px 13px; display:flex; justify-content:space-between; color:#718392; background:#f5f9fb; font-size:9px; }.quick-result-head strong { color:#315066; font-size:10px; }.extracted-item { padding:12px 13px; display:grid; grid-template-columns:auto 1fr auto; gap:11px; align-items:start; border-top:1px solid #e8eef2; cursor:pointer; }.extracted-item input { margin-top:3px; }.extracted-item strong { color:#334c5f; font-size:10px; }.extracted-item p { margin:5px 0; color:#657988; font-size:9px; }.extracted-item span { color:#8895a0; font-size:8px; }.extracted-item em { padding:3px 6px; border-radius:8px; color:#a66b1c; background:#fff2df; font-size:8px; font-style:normal; }

.dictionary-unit-actions { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }.dictionary-unit-actions button { padding:0; border:0; color:var(--blue-600); background:transparent; font-size:9px; cursor:pointer; }.person-actions { grid-column:1/3; display:flex; gap:12px; padding-top:6px; border-top:1px solid #e8edf1; }.person-actions button { padding:0; border:0; color:var(--blue-600); background:transparent; font-size:8px; cursor:pointer; }.person-actions button.delete { color:var(--red); }.dictionary-empty-person { grid-column:1/3; padding:16px!important; color:#8d99a3; text-align:center; font-size:9px; }
.todo-manager-toolbar { margin-bottom:14px; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; }.todo-manager-toolbar strong,.todo-manager-toolbar span { display:block; }.todo-manager-toolbar strong { color:#314a5d; font-size:12px; }.todo-manager-toolbar span { margin-top:4px; color:#8b98a3; font-size:9px; }.todo-manage-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.todo-manage-card { padding:17px; border:1px solid #e0e7ed; border-radius:11px; background:#fff; box-shadow:0 4px 14px rgba(30,65,91,.035); }.todo-manage-card.completed { opacity:.68; }.todo-manage-head { display:flex; justify-content:space-between; align-items:center; }.todo-priority { padding:4px 7px; border-radius:9px; font-size:8px; font-weight:700; }.todo-priority.high { color:#b43a3e; background:#fff0f0; }.todo-priority.normal { color:#3c718e; background:#edf5f9; }.todo-manage-head em { color:#8896a1; font-size:8px; font-style:normal; }.todo-manage-card h3 { margin:12px 0 7px; color:#2f475a; font-size:13px; }.todo-manage-card p { min-height:34px; margin:0; color:#697b89; font-size:10px; line-height:1.7; }.todo-manage-meta { margin-top:12px; display:flex; justify-content:space-between; align-items:center; gap:10px; color:#8996a1; font-size:8px; }.todo-manage-meta button { max-width:250px; overflow:hidden; border:0; color:var(--blue-600); background:transparent; font-size:8px; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }.todo-manage-actions { margin-top:13px; padding-top:12px; display:flex; justify-content:flex-end; gap:7px; border-top:1px solid #edf1f4; }.todo-manage-actions .button { padding:7px 12px; font-size:9px; }.delete-warning { padding:18px; border:1px solid #f0d0d1; border-radius:9px; background:#fff7f7; }.delete-warning strong { color:#9e3035; font-size:12px; }.delete-warning p { margin:8px 0 0; color:#7b6a6b; font-size:10px; line-height:1.7; }
.reminder-list { display:flex; flex-direction:column; gap:8px; }.reminder-list article { padding:10px 11px; border-left:3px solid #e09a3a; border-radius:0 8px 8px 0; background:#fff8ee; }.reminder-list article > div { display:flex; justify-content:space-between; gap:10px; }.reminder-list strong { color:#8e5a16; font-size:9px; }.reminder-list span,.reminder-list time { color:#8a7966; font-size:8px; }.reminder-list p { margin:7px 0; color:#635d55; font-size:9px; line-height:1.6; }.reminder-list time { display:block; }

.rejected-feedback-alert { margin:16px 22px 0; padding:13px 15px; display:flex; justify-content:space-between; gap:18px; border:1px solid #efc9cc; border-radius:9px; background:#fff6f6; }.rejected-feedback-alert strong { color:#a83338; font-size:11px; }.rejected-feedback-alert p { margin:5px 0 0; color:#775f61; font-size:9px; line-height:1.65; }.rejected-feedback-alert time { flex:none; color:#a28889; font-size:8px; }.feedback-submit-bar > div { display:flex; gap:8px; }
.analysis-toolbar { margin-bottom:14px; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; gap:16px; }.analysis-toolbar strong,.analysis-toolbar span { display:block; }.analysis-toolbar strong { color:#30495d; font-size:12px; }.analysis-toolbar span { margin-top:4px; color:#8997a3; font-size:9px; }.analysis-kpi-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; margin-bottom:14px; }.analysis-kpi-grid button { padding:15px 16px; border:1px solid #e0e8ee; border-radius:11px; text-align:left; background:#fff; cursor:pointer; transition:.18s; }.analysis-kpi-grid button:hover { transform:translateY(-2px); border-color:#bad8eb; box-shadow:0 8px 20px rgba(34,64,91,.08); }.analysis-kpi-grid span { display:block; color:#748694; font-size:9px; }.analysis-kpi-grid strong { display:inline-block; margin-top:9px; color:#274257; font-size:24px; }.analysis-kpi-grid small { margin-left:5px; color:#8b99a4; font-size:8px; }.analysis-layout { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; margin-bottom:14px; }.analysis-panel { overflow:hidden; }.status-distribution { padding:10px 18px 17px; }.status-distribution button { width:100%; padding:8px 0; display:grid; grid-template-columns:52px 1fr 28px; gap:11px; align-items:center; border:0; color:#627687; text-align:left; background:transparent; font-size:9px; cursor:pointer; }.status-distribution button > div { height:7px; overflow:hidden; border-radius:4px; background:#edf2f5; }.status-distribution i { height:100%; display:block; border-radius:4px; background:linear-gradient(90deg,#4895cb,#78b6df); }.status-distribution strong { text-align:right; }.management-tips { padding:13px 16px 16px; display:grid; gap:10px; }.management-tips article { padding:12px 13px; border-radius:9px; }.management-tips article.warn { border:1px solid #f0d5b3; background:#fff8ee; }.management-tips article.good { border:1px solid #cce5d8; background:#f2faf6; }.management-tips strong { color:#3e5669; font-size:10px; }.management-tips p { margin:5px 0 0; color:#738492; font-size:9px; line-height:1.6; }.evaluation-panel { margin-bottom:14px; overflow:hidden; }.evaluation-table { width:100%; min-width:820px; border-collapse:collapse; }.evaluation-table th,.evaluation-table td { padding:11px 14px; border-bottom:1px solid #edf1f4; color:#566b7c; text-align:left; font-size:9px; }.evaluation-table th { color:#718390; background:#f8fafb; }.evaluation-table td strong { color:#30495d; }.evaluation-table small { display:block; margin-top:3px; font-size:8px; }.pending-text { color:#a66c1e; }.reject-text { color:#b13b40; }.score-badge { padding:4px 7px; border-radius:9px; color:#536c7e; background:#edf3f6; font-size:8px; font-weight:700; }.table-empty { padding:35px!important; text-align:center!important; }.risk-inventory { overflow:hidden; }.risk-inventory-list { display:grid; grid-template-columns:1fr 1fr; }.risk-inventory-list button { padding:13px 16px; display:grid; grid-template-columns:auto 1fr auto; gap:5px 12px; align-items:center; border:0; border-right:1px solid #edf1f4; border-bottom:1px solid #edf1f4; text-align:left; background:#fff; cursor:pointer; }.risk-inventory-list button:nth-child(even) { border-right:0; }.risk-inventory-list button strong { color:#334b5e; font-size:10px; }.risk-inventory-list button small { grid-column:2; color:#ae5b24; font-size:8px; }.risk-inventory-list button em { grid-row:1/3; grid-column:3; color:#287db8; font-size:8px; font-style:normal; }
.data-summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:14px; }.data-summary-grid article { padding:16px 18px; border:1px solid #e0e8ee; border-radius:11px; background:#fff; }.data-summary-grid span,.data-summary-grid small { display:block; color:#84939f; font-size:9px; }.data-summary-grid strong { display:block; margin:7px 0 4px; color:#2a4458; font-size:19px; }.data-action-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }.data-action-card { padding:20px; }.data-action-card.restricted { background:#f8fafb; }.data-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:9px; color:#1f76b2; background:#eaf5fc; font-size:17px; }.data-action-card h2 { margin:13px 0 7px; color:#2d4558; font-size:14px; }.data-action-card p { min-height:48px; margin:0 0 14px; color:#718391; font-size:10px; line-height:1.7; }.data-buttons { display:flex; flex-wrap:wrap; gap:8px; }.file-button { cursor:pointer; }.visually-hidden { width:1px!important; height:1px!important; position:absolute!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; white-space:nowrap!important; }.data-guide,.data-log { margin-bottom:14px; overflow:hidden; }.data-rule-grid { display:grid; grid-template-columns:repeat(4,1fr); }.data-rule-grid article { padding:16px; border-right:1px solid #edf1f4; }.data-rule-grid article:last-child { border-right:0; }.data-rule-grid strong { color:#345066; font-size:10px; }.data-rule-grid p { margin:6px 0 0; color:#7b8b97; font-size:9px; line-height:1.65; }.data-log-list article { padding:11px 16px; display:grid; grid-template-columns:90px 1fr auto; gap:12px; border-bottom:1px solid #edf1f4; align-items:center; }.data-log-list span { color:#2378b4; font-size:9px; font-weight:700; }.data-log-list strong { color:#536a7b; font-size:9px; }.data-log-list time { color:#929fa9; font-size:8px; }.import-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:14px; }.import-summary article { padding:13px; border:1px solid #e0e8ee; border-radius:9px; background:#f8fafb; }.import-summary article.good { border-color:#c9e4d6; background:#f2faf6; }.import-summary article.bad { border-color:#efc9cc; background:#fff6f6; }.import-summary span { display:block; color:#84939f; font-size:8px; }.import-summary strong { display:block; margin-top:5px; color:#30495d; font-size:18px; }.import-errors { margin-bottom:14px; padding:12px 14px; border:1px solid #efc9cc; border-radius:9px; background:#fff6f6; }.import-errors strong { color:#a6363b; font-size:10px; }.import-errors p { margin:6px 0 0; color:#775f61; font-size:8px; }.import-preview-table { margin-bottom:15px; overflow:auto; border:1px solid #e1e8ed; border-radius:9px; }.import-preview-table table { width:100%; border-collapse:collapse; }.import-preview-table th,.import-preview-table td { padding:9px 11px; border-bottom:1px solid #edf1f4; color:#586e7e; text-align:left; font-size:8px; }.import-preview-table th { background:#f7fafb; }
.notification-list { display:flex; flex-direction:column; }.notification-list > button { padding:12px 10px; display:grid; grid-template-columns:76px 1fr auto auto; gap:10px; align-items:center; border:0; border-bottom:1px solid #edf1f4; text-align:left; background:#fff; cursor:pointer; }.notification-list > button:hover { background:#f5f9fc; }.notification-list span { color:#a9671a; font-size:8px; font-weight:700; }.notification-list strong { color:#395165; font-size:10px; }.notification-list time { color:#919ea8; font-size:8px; }.notification-list em { color:#287db8; font-size:8px; font-style:normal; }.account-card { display:flex; align-items:center; gap:13px; margin-bottom:16px; padding:15px; border-radius:10px; background:#f2f8fc; }.account-avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:#fff; background:#247bb7; font-size:16px; font-weight:800; }.account-card strong { color:#2c465a; font-size:13px; }.account-card p { margin:5px 0 0; color:#718491; font-size:9px; }.account-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:16px; }.account-detail-grid article { padding:12px; border:1px solid #e2e9ee; border-radius:9px; }.account-detail-grid span { display:block; margin-bottom:5px; color:#8a98a3; font-size:8px; }.account-detail-grid strong { color:#41596b; font-size:9px; line-height:1.65; }
.prefix-dictionary-panel { margin-bottom:14px; padding:15px 17px; }.prefix-dictionary-list { display:flex; flex-wrap:wrap; gap:9px; }.prefix-dictionary-item { min-width:150px; padding:10px 12px; display:grid; grid-template-columns:1fr auto; gap:5px 10px; align-items:center; border:1px solid #dce6ed; border-radius:9px; background:#f8fbfd; }.prefix-dictionary-item strong { color:#304b60; font-size:11px; }.prefix-dictionary-item span { color:#83939f; font-size:8px; }.prefix-dictionary-item em { padding:3px 6px; border-radius:10px; color:#1f6fa8; background:#e8f3fb; font-size:8px; font-style:normal; }.prefix-dictionary-item button { padding:0; border:0; color:#2478b4; background:transparent; font-size:8px; cursor:pointer; }.prefix-dictionary-item button.delete { color:#bd4b4b; }
.acceptance-board,.offline-approval-board { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.acceptance-item,.offline-approval-item { padding:10px 12px; display:grid; grid-template-columns:1fr auto; gap:5px 8px; border:1px solid #e0e8ed; border-radius:9px; background:#fafcfd; }.acceptance-item strong,.offline-approval-item strong { color:#365064; font-size:10px; }.acceptance-item span,.offline-approval-item span { color:#84939e; font-size:8px; }.acceptance-item em,.offline-approval-item em { grid-row:1/3; grid-column:2; align-self:center; padding:4px 7px; border-radius:10px; color:#a96b16; background:#fff2df; font-size:8px; font-style:normal; }.acceptance-item.done em,.offline-approval-item.done em { color:#267653; background:#e8f6ef; }
.work-plan-list,.sms-log-list { display:grid; gap:8px; }.work-plan-item,.sms-log-item { padding:11px 12px; display:grid; grid-template-columns:1fr auto; gap:5px 10px; border:1px solid #e1e9ee; border-radius:9px; background:#fbfcfd; }.work-plan-item strong,.sms-log-item strong { color:#344f63; font-size:10px; }.work-plan-item p,.sms-log-item p { grid-column:1/3; margin:0; color:#617786; font-size:9px; line-height:1.6; }.work-plan-item span,.sms-log-item span { color:#83939f; font-size:8px; }.work-plan-item em,.sms-log-item em { color:#9b6a21; font-size:8px; font-style:normal; }.joint-plan-actions { display:flex; gap:7px; }.task-item.converted { border-color:#cbddeb; background:#f4f9fc; }.task-convert { padding:4px 7px; border:1px solid #b8d1e1; border-radius:6px; color:#216d9f; background:white; font-size:8px; cursor:pointer; }
.lead-review-panel { margin-bottom:14px; padding:14px 16px; }.lead-review-panel .panel-header { margin-bottom:10px; }.lead-review-grid { display:grid; gap:8px; }.lead-review-card { padding:11px 12px; display:grid; grid-template-columns:1fr auto; gap:6px 12px; border:1px solid #dfe8ee; border-radius:9px; background:#fbfdfe; }.lead-review-card h3 { margin:0; color:#355065; font-size:10px; }.lead-review-card p { grid-column:1/3; margin:0; color:#617888; font-size:9px; line-height:1.6; }.lead-review-actions { grid-column:1/3; display:flex; justify-content:flex-end; gap:7px; }.flow-gate { margin-bottom:12px; padding:10px 12px; border-radius:8px; color:#6e7d88; background:#f3f7f9; font-size:9px; }.flow-gate.ready { color:#246e50; background:#eaf7f0; }
.print-sheet { padding:26px; min-height:520px; border:1px solid #ccd6dd; color:#222; background:#fff; }.print-sheet h2 { text-align:center; font-size:20px; }.print-sheet .print-code { text-align:center; color:#555; font-size:11px; }.print-sheet table { width:100%; margin-top:18px; border-collapse:collapse; }.print-sheet td { padding:10px; border:1px solid #777; font-size:10px; vertical-align:top; }.print-sheet td:first-child { width:110px; font-weight:700; }.print-signatures { margin-top:35px; display:grid; grid-template-columns:1fr 1fr; gap:30px; color:#555; font-size:10px; }

.acceptance-item strong,.offline-approval-item strong { display:block; margin-bottom:3px; }
.offline-approval-item { align-items:start; }
.offline-approval-item.generated em { color:#996414; background:#fff2df; }
.offline-approval-item.submitted em { color:#1f6e9f; background:#e7f3fb; }
.offline-approval-item.approved em { color:#267653; background:#e8f6ef; }
.offline-approval-item.rejected em { color:#a84343; background:#fdecec; }
.approval-actions { grid-column:1/3; display:flex; justify-content:flex-end; gap:8px; padding-top:4px; }
.approval-actions .danger-outline { color:#a84343; border-color:#e9b9b9; background:#fff; }
.approval-step-banner { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; padding:11px 13px; border-radius:9px; color:#36556b; background:#edf6fb; }
.approval-step-banner span { color:#6e8291; }
.approval-upload-field { margin-top:16px; padding:14px; border:1px dashed #b8cfdd; border-radius:10px; background:#f7fbfd; }

.plan-page { padding: 28px 30px 44px; }
.plan-page-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:16px; padding:22px 24px; border:1px solid #dce8ef; border-radius:14px; background:linear-gradient(135deg,#f3f9fd,#fff); }
.plan-page-header h1 { margin:5px 0 8px; color:#243e52; }
.plan-page-header p { margin:0; color:#6e8291; line-height:1.7; }
.plan-summary { flex:none; padding:7px 11px; border-radius:16px; color:#1f72aa; background:#e9f4fb; font-weight:700; }
.plan-guide { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:center; gap:12px; margin-bottom:16px; padding:16px 20px; border:1px solid #e0e8ee; border-radius:12px; background:#fff; }
.plan-guide > div { display:grid; grid-template-columns:28px 1fr; gap:2px 10px; align-items:center; }
.plan-guide b { grid-row:1/3; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#2a83bd; }
.plan-guide strong { color:#354f63; }.plan-guide span { color:#84939f; }.plan-guide i { color:#a9b8c3; font-style:normal; }
.plan-list { display:grid; gap:12px; }.plan-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px 20px; padding:20px 22px; border:1px solid #dfe8ee; border-radius:12px; background:#fff; box-shadow:0 5px 18px rgba(30,65,91,.035); }
.plan-card-main h2 { margin:7px 0 8px; color:#2c4559; }.plan-card-main p { margin:0; color:#7d8e9a; }
.plan-card-state { display:flex; align-items:center; gap:12px; }.plan-card-state > span { color:#788a97; }.button.compact { padding:8px 13px; }.button.warning { border-color:#efd4ad; color:#9b641d; background:#fff7ea; }
.plan-records { grid-column:1/3; display:grid; gap:8px; }.plan-records > div { padding:11px 13px; display:grid; grid-template-columns:1fr auto; gap:5px 12px; border-radius:9px; background:#f5f9fb; }.plan-records strong { color:#345066; }.plan-records span { color:#7f909c; }.plan-records p { grid-column:1/3; margin:0; color:#667b8a; line-height:1.6; }.plan-empty { grid-column:1/3; padding:12px 14px; border-radius:9px; color:#7f909c; background:#f7f9fb; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }.dashboard-grid { grid-template-columns: 1fr; }.activity-list { grid-template-columns: 1fr; }.activity-card { border-right: 0; border-bottom: 1px solid #edf1f4; }.activity-card:last-child { border-bottom: 0; }.feedback-workspace { grid-template-columns:220px minmax(0,1fr); }.dictionary-grid { grid-template-columns:1fr; }.analysis-kpi-grid { grid-template-columns:repeat(3,1fr); }.data-rule-grid { grid-template-columns:1fr 1fr; }.data-rule-grid article:nth-child(2) { border-right:0; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: .25s; }.sidebar.open { transform: translateX(0); }.main-area { width: 100%; margin-left: 0; }.mobile-menu { display: block; }.topbar { padding: 0 15px; }.demo-badge, .role-switcher > span { display: none; }.page-section { padding: 24px 15px 40px; }.heading-with-action { align-items: stretch; flex-direction: column; }.heading-actions { width: 100%; flex-wrap:wrap; }.heading-actions .button { flex: 1; }.metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.metric-card { padding: 15px; }.dashboard-grid { grid-template-columns: 1fr; }.focus-item { grid-template-columns: 1fr 80px; }.focus-item > .status-pill { display: none; }.list-toolbar { align-items: stretch; flex-direction: column; }.matter-search-controls { flex-wrap: wrap; }.search-box { width: 100%; flex-basis: 100%; }.search-select { flex: 1; }.filter-group { overflow-x: auto; }.summary-grid { grid-template-columns: 1fr 1fr; }.summary-item.wide { grid-column: span 2; }.contact-grid, .form-grid, .placeholder-content-grid, .warning-board, .stat-mock { grid-template-columns: 1fr; }.field.full { grid-column: span 1; }.ai-field-grid { grid-template-columns: 1fr; }.ai-field.wide { grid-column: span 1; }.feedback-workspace { grid-template-columns:1fr; }.feedback-matter-list { position:static; }.review-summary { grid-template-columns:1fr 1fr; }.review-summary article:last-child { grid-column:span 2; }.review-source { flex-wrap:wrap; }.review-source em { margin-left:0; }.review-card-actions { flex-wrap:wrap; }.dictionary-toolbar { align-items:stretch; flex-direction:column; }.dictionary-test { flex-wrap:wrap; }.dictionary-checklist,.dictionary-people { grid-template-columns:1fr; }.recipient-bar { flex-wrap:wrap; }.recipient-bar em { width:100%; margin-left:0; }.todo-manage-grid { grid-template-columns:1fr; }.todo-manager-toolbar { align-items:stretch; flex-direction:column; gap:12px; }.todo-manager-toolbar .button { width:100%; }.todo-manage-meta { align-items:flex-start; flex-direction:column; }.analysis-toolbar { align-items:stretch; flex-direction:column; }.analysis-kpi-grid { grid-template-columns:1fr 1fr; }.analysis-layout,.data-action-grid,.data-summary-grid { grid-template-columns:1fr; }.risk-inventory-list { grid-template-columns:1fr; }.risk-inventory-list button { border-right:0; }.data-rule-grid { grid-template-columns:1fr; }.data-rule-grid article { border-right:0; border-bottom:1px solid #edf1f4; }.data-log-list article { grid-template-columns:1fr; gap:4px; }.notification-list > button { grid-template-columns:68px 1fr auto; }.notification-list em { display:none; }.account-detail-grid { grid-template-columns:1fr; }.feedback-submit-bar { align-items:flex-start; flex-direction:column; gap:10px; }.feedback-submit-bar > div { width:100%; }.feedback-submit-bar .button { flex:1; }.rejected-feedback-alert { flex-direction:column; }
}

@media (max-width: 760px) {
  .plan-page { padding:24px 15px 40px; }.plan-page-header { align-items:stretch; flex-direction:column; }.plan-guide { grid-template-columns:1fr; }.plan-guide i { display:none; }.plan-card { grid-template-columns:1fr; }.plan-card-state { justify-content:space-between; }.plan-records,.plan-empty { grid-column:1; }.plan-records > div { grid-template-columns:1fr; }.plan-records p { grid-column:1; }
}

/* 全系统只保留三档文字字号：标题 20px、正文/操作 14px、辅助说明 12px。 */
:root { --font-title:20px; --font-body:14px; --font-note:12px; }
html body #content *, html body #sidebar *, html body #matterDrawer *, html body #modalRoot *, html body #toastRoot *, html body .topbar * { font-size:var(--font-body)!important; }
html body #content h1, html body #content .metric-value, html body #content .analysis-kpi-grid strong, html body #content .data-summary-grid strong, html body #content .import-summary strong, html body #sidebar .brand-mark, html body #matterDrawer .drawer-head h2, html body #modalRoot .modal-header h2, html body #modalRoot .modal-close { font-size:var(--font-title)!important; }
html body #content small, html body #content time, html body #content .eyebrow, html body #content .matter-code, html body #content .field-help, html body #content .plan-guide span, html body #content .plan-card-main p, html body #content .plan-records span, html body #content .plan-records p, html body #content .plan-empty, html body #sidebar small, html body #sidebar .vanity-address span, html body #matterDrawer small, html body #matterDrawer time, html body #matterDrawer .drawer-tip, html body #modalRoot small, html body #modalRoot time, html body #modalRoot .field-help, html body #modalRoot .upload-zone p { font-size:var(--font-note)!important; }
