:root {
  --ink: #18212f;
  --muted: #6d7787;
  --line: #e4e8ef;
  --soft-line: #eef1f5;
  --canvas: #f4f6fa;
  --surface: #ffffff;
  --primary: #3157d5;
  --primary-dark: #2444b2;
  --primary-soft: #eef2ff;
  --success: #11835d;
  --success-soft: #eaf8f2;
  --warning: #a76209;
  --warning-soft: #fff5e4;
  --danger: #c73f45;
  --danger-soft: #fff0f0;
  --shadow: 0 18px 50px rgba(30, 43, 67, 0.10);
  --shadow-small: 0 7px 22px rgba(31, 45, 70, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { min-width: 360px; background: var(--canvas); color: var(--ink); overflow-x: clip; }
body { margin: 0; min-height: 100vh; font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif; background: var(--canvas); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.hidden { display: none !important; }

/* V1.1.2 夜间验收版：工作台、连续预览、导出与规则设置 */
.brand-mark { display: grid; place-items: center; font-weight: 900; color: #fff; }
.workspace-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 6px; width: fit-content; border: 1px solid var(--line, #dce3ec); border-radius: 14px; background: #fff; }
.workspace-tab { border: 0; border-radius: 10px; background: transparent; color: #667085; padding: 10px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.workspace-tab:hover { background: #f4f7fb; color: #1f3b58; }
.workspace-tab.active { background: #173957; color: #fff; box-shadow: 0 5px 14px rgba(23, 57, 87, .18); }
.workspace-panel { min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 24px 26px 16px; border-bottom: 1px solid #e7ebf1; }
.panel-heading h2 { margin: 4px 0 0; }
.panel-heading p { max-width: 520px; margin: 0; color: #7a8797; }
.details-card, .rules-card { overflow: hidden; }
.expense-totals, .export-summary { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 12px; padding: 20px 26px; }
.expense-totals > div, .export-summary > div { display: grid; gap: 5px; padding: 14px 16px; border: 1px solid #e4e9f0; border-radius: 12px; background: #f8fafc; }
.expense-totals span, .export-summary span { color: #758397; font-size: 12px; }
.expense-totals strong, .export-summary strong { color: #172b3e; font-size: 20px; }
.expense-totals .total-accent, .export-summary .total-accent { background: #eaf5ef; border-color: #cce7d8; }
.compact-table th, .compact-table td { padding-top: 12px; padding-bottom: 12px; }
.file-link.plain { color: #245bc4; text-decoration: underline; white-space: normal; }
.rules-form { display: grid; gap: 20px; max-width: 820px; padding: 26px; }
.rules-form label { display: grid; gap: 8px; color: #334155; font-weight: 700; }
.rules-form input, .rules-form select, .rules-form textarea { width: 100%; border: 1px solid #cfd7e3; border-radius: 10px; padding: 11px 12px; background: #fff; color: #172b3e; font: inherit; font-weight: 400; }
.rules-form small { color: #7a8797; font-weight: 400; }
.ai-settings-section { border-bottom: 1px solid #e1e7ef; background: linear-gradient(135deg, #f8faff, #f4f8fc); }
.ai-settings-form { display: grid; gap: 11px; max-width: 820px; padding: 22px 26px 26px; }
.ai-settings-form label { display: grid; gap: 8px; color: #334155; font-weight: 700; }
.api-key-row { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 10px; }
.api-key-row input { width: 100%; min-height: 42px; border: 1px solid #c9d3e0; border-radius: 10px; padding: 10px 12px; background: #fff; font-family: Consolas, monospace; font-weight: 400; letter-spacing: .02em; outline: none; }
.api-key-row input:focus { border-color: #8ea4e9; box-shadow: 0 0 0 3px rgba(49,87,213,.08); }
.ai-connection-status { min-height: 38px; display: flex; align-items: center; padding: 9px 12px; border: 1px solid #e0e6ef; border-radius: 9px; background: #fff; color: #6d7787; font-size: 12px; }
.ai-connection-status.connected { border-color: #c6e5d8; background: #eaf8f2; color: #176c55; }
.ai-connection-status.testing { border-color: #cdd8f4; background: #f1f4ff; color: #3157d5; }
.ai-connection-status.error { border-color: #f0caca; background: #fff0f0; color: #a9363c; }
.ai-privacy-note { margin: 0; color: #6f7c8e; font-size: 11px; line-height: 1.65; }
.security-pill.cloud { background: #eef2ff; color: #3157d5; }
.security-pill.cloud .dot { background: #3157d5; box-shadow: 0 0 0 4px rgba(49,87,213,.11); }
.preview-stage { cursor: default; overscroll-behavior: contain; }
.preview-stage.dragging { cursor: grabbing; user-select: none; }
.pdf-pages { display: grid; justify-items: center; gap: 22px; width: max-content; min-width: 100%; padding: 24px; transform-origin: top center; }
.pdf-page-shell { display: grid; align-content: start; justify-items: center; gap: 7px; min-height: 720px; padding: 0 0 7px; border-radius: 4px; background: #eef1f5; box-shadow: 0 6px 20px rgba(21, 36, 50, .14); }
.pdf-page-shell canvas { display: block; background: #fff; }
.pdf-page-shell > span { color: #657486; font-size: 12px; }
.category-extra { display: grid; gap: 10px; padding: 14px; border: 1px solid #dbe5ef; border-radius: 12px; background: #f7fafc; }
.category-extra > strong { color: #274b6a; }
.recognition-insight { display: grid; gap: 10px; margin: 8px 0 16px; padding: 14px; border: 1px solid #e2e8ef; border-radius: 12px; background: #f8fafc; }
.recognition-insight h3 { margin: 0; font-size: 14px; }
.recognition-insight details summary { color: #285b84; font-weight: 700; cursor: pointer; }
.quality-warning, .quality-ok { margin: 5px 0; padding: 9px 10px; border-radius: 8px; font-size: 12px; line-height: 1.45; }
.quality-warning { background: #fff4d6; color: #855b00; }
.quality-ok { background: #e9f7f0; color: #1f6a4d; }
#candidate-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.candidate-chip { border: 1px solid #b8cce0; border-radius: 999px; background: #fff; color: #285b84; padding: 7px 10px; cursor: pointer; font-size: 12px; }
.candidate-chip:hover { border-color: #2e6b9d; background: #edf6fc; }
.upload-file-states { display: grid; gap: 5px; max-height: 150px; margin-top: 10px; overflow: auto; }
.upload-file-state { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-radius: 7px; background: #eef4f8; color: #5e6e7f; font-size: 12px; }
.upload-file-state span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file-state.done strong { color: #16805c; }
.upload-file-state.failed strong { color: #b13b3b; }
.status-edited { background: #edf3ff; color: #315fae; }
.export-modal { max-width: 700px; }
.export-summary { grid-template-columns: repeat(5, minmax(90px, 1fr)); padding: 0; }
.export-warning { display: grid; gap: 8px; margin-top: 16px; }
.export-warning:empty { display: none; }
.export-warning p { margin: 0; padding: 11px 13px; border: 1px solid #f2d59b; border-radius: 10px; background: #fff8e8; color: #80540b; line-height: 1.55; }

@media (max-width: 980px) {
  .expense-totals, .export-summary { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .workspace-tabs { width: 100%; }
  .workspace-tab { flex: 1; padding-inline: 8px; }
  .panel-heading { display: grid; }
}
.muted { color: var(--muted); }

.app-shell { min-height: 100vh; }
.topbar { height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #496ee8, #264bc5); box-shadow: 0 7px 16px rgba(49,87,213,.28); }
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: .02em; }
.brand small { color: var(--muted); margin-top: 2px; font-size: 11px; }
.topbar-actions { display: flex; gap: 14px; align-items: center; }
.security-pill { display: flex; align-items: center; gap: 7px; padding: 8px 12px; background: #f3f5f8; color: #536071; border-radius: 999px; font-size: 12px; }
.security-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(17,131,93,.11); }

.btn { border: 0; border-radius: 10px; padding: 10px 16px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 5px 14px rgba(49,87,213,.18); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { color: #344053; background: #fff; border: 1px solid #d9dee7; }
.btn-secondary:hover { border-color: #b7bfcc; background: #fafbfc; }
.btn-danger { color: var(--danger); background: var(--danger-soft); border: 1px solid #f0c4c6; }
.btn-danger:hover { color: #a92c32; background: #ffe5e6; border-color: #e7a6aa; }
.btn-large { min-height: 50px; padding: 13px 22px; border-radius: 12px; font-size: 15px; }
.btn-small { min-height: 34px; padding: 7px 13px; font-size: 13px; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: white; font-size: 20px; color: #536071; }
.icon-button:hover { color: var(--primary); border-color: #bdc9ef; background: #f7f9ff; }

.home-view { max-width: 1460px; margin: 0 auto; padding: 38px 34px 70px; }
.hero-card { min-height: 420px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 48px 64px; border-radius: 26px; color: #fff; background: linear-gradient(132deg, #182b61 0%, #2e53c8 65%, #4b72e6 100%); box-shadow: 0 24px 65px rgba(30,57,130,.18); }
.hero-card::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; right: -140px; top: -245px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.eyebrow { color: #8096ef; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.hero-copy .eyebrow { color: #b9c8ff; }
.hero-copy h1 { margin: 16px 0 18px; font-size: clamp(38px, 3.2vw, 54px); line-height: 1.15; letter-spacing: -.035em; }
.hero-copy h1 span { color: #bcd0ff; }
.hero-copy > p { max-width: 590px; margin: 0 0 26px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.8; }
.hero-copy .btn-primary { background: #fff; color: #2448b7; box-shadow: 0 12px 24px rgba(7,21,64,.18); }
.hero-copy .btn-primary:hover { background: #f4f7ff; }
.hero-features { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.73); font-size: 12px; }

.folder-illustration { position: relative; width: 430px; height: 290px; justify-self: center; z-index: 2; transform: translateX(15px); }
.folder-back { position: absolute; left: 40px; top: 75px; width: 330px; height: 185px; border-radius: 18px 18px 24px 24px; background: #9fb8ff; transform: rotate(-3deg); }
.folder-back::before { content: ""; position: absolute; left: 14px; top: -26px; width: 125px; height: 46px; border-radius: 14px 14px 0 0; background: #9fb8ff; }
.paper { position: absolute; width: 220px; height: 145px; background: #fff; border-radius: 10px; box-shadow: 0 16px 30px rgba(14,29,76,.17); padding: 25px; }
.paper i { display: block; height: 7px; background: #e1e7f8; margin-bottom: 13px; border-radius: 5px; }
.paper i:nth-child(2) { width: 80%; }
.paper i:nth-child(3) { width: 58%; background: #b7cafb; }
.paper-one { left: 89px; top: 15px; transform: rotate(-7deg); }
.paper-two { left: 126px; top: 35px; transform: rotate(7deg); }
.folder-front { position: absolute; left: 39px; bottom: 4px; width: 350px; height: 150px; border-radius: 17px 22px 28px 28px; background: linear-gradient(145deg, #dce6ff, #b8ccff); box-shadow: 0 18px 35px rgba(11,27,72,.22); display: flex; align-items: center; justify-content: center; gap: 12px; color: #3157d5; transform: rotate(1deg); }
.folder-check { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: white; background: #3157d5; font-size: 24px; font-weight: 800; box-shadow: 0 9px 20px rgba(49,87,213,.3); }
.folder-front small { font-size: 18px; font-weight: 800; }
.float-tag { position: absolute; z-index: 5; padding: 9px 13px; background: rgba(255,255,255,.96); color: #3252ad; border-radius: 9px; font-size: 12px; font-weight: 800; box-shadow: 0 8px 24px rgba(17,31,72,.18); }
.tag-person { left: 0; top: 62px; transform: rotate(-5deg); }
.tag-amount { right: -4px; top: 109px; transform: rotate(5deg); }
.tag-date { right: 40px; bottom: 11px; transform: rotate(-3deg); }

.recent-section { padding-top: 46px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.section-heading h2 { margin: 5px 0 0; font-size: 24px; }
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px; text-align: left; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 15px; box-shadow: var(--shadow-small); transition: .2s ease; }
.project-card:hover { border-color: #bcc8ec; transform: translateY(-2px); box-shadow: 0 15px 35px rgba(31,45,70,.11); }
.project-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-size: 23px; }
.project-card strong, .project-card small { display: block; }
.project-card strong { font-size: 15px; margin-bottom: 6px; }
.project-card small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
.project-arrow { color: #9ca7b8; font-size: 22px; }
.empty-projects { grid-column: 1 / -1; min-height: 145px; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; color: var(--muted); border: 1px dashed #cfd6e2; border-radius: var(--radius); background: rgba(255,255,255,.45); }
.empty-projects strong { color: #465266; }

.project-view { padding: 27px 28px 52px; width: 100%; }
.project-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.back-link { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.back-link:hover { color: var(--primary); }
.title-row { display: flex; align-items: center; gap: 12px; }
.title-row h1 { margin: 0; font-size: 27px; letter-spacing: -.02em; }
.project-date { padding: 5px 9px; border-radius: 6px; background: #e9edf5; color: #697487; font-size: 12px; }
.project-root { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.project-actions { display: flex; align-items: center; gap: 13px; }
.save-indicator { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.save-indicator > span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

.summary-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.summary-item { min-height: 76px; padding: 15px 17px; border-radius: 13px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; gap: 12px; }
.summary-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #f0f3f8; color: #657288; font-size: 17px; }
.summary-item strong, .summary-item small { display: block; }
.summary-item strong { font-size: 21px; line-height: 1; margin-bottom: 5px; }
.summary-item small { color: var(--muted); font-size: 12px; }
.summary-item.review .summary-icon { background: var(--warning-soft); color: var(--warning); }
.summary-item.normal .summary-icon { background: var(--success-soft); color: var(--success); }

.result-card { border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; box-shadow: var(--shadow-small); }
.table-toolbar { min-height: 66px; padding: 12px 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.toolbar-left { display: flex; gap: 15px; align-items: center; }
.search-box { width: 295px; height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid #dce1e9; border-radius: 9px; background: #fafbfc; color: #8490a2; }
.search-box:focus-within { border-color: #9fb1ec; box-shadow: 0 0 0 3px rgba(49,87,213,.08); background: #fff; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.filter-group { display: flex; background: #f1f3f7; border-radius: 9px; padding: 3px; }
.filter { border: 0; background: transparent; padding: 7px 12px; border-radius: 7px; color: #6b7585; font-size: 12px; }
.filter.active { background: white; color: var(--ink); font-weight: 700; box-shadow: 0 2px 8px rgba(36,48,70,.08); }
.toolbar-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.toolbar-meta strong { color: var(--ink); font-size: 15px; }

.table-wrap { max-height: calc(100vh - 365px); min-height: 310px; overflow: auto; position: relative; }
.result-table { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; font-size: 16px; }
.result-table thead { position: sticky; top: 0; z-index: 4; }
.result-table th { height: 44px; padding: 0 8px; color: #667184; background: #f8f9fb; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; font-weight: 700; }
.result-table td { height: 58px; padding: 6px 8px; border-bottom: 1px solid var(--soft-line); vertical-align: middle; overflow: hidden; }
.result-table tbody tr { transition: background .15s; }
.result-table tbody tr:hover { background: #fafbff; }
.result-table tbody tr.selected { background: #f3f6ff; }
.result-table tbody tr:last-child td { border-bottom: 0; }
.align-right { text-align: right !important; }
.col-check { width: 38px; }.col-status { width: 90px; }.col-person { width: 7.5%; }.col-category { width: 7.5%; }
.col-file { width: 19%; }.col-date { width: 9.5%; }.col-amount { width: 8%; }.col-type { width: 8.5%; }
.col-merchant { width: 12%; }.col-included { width: 64px; }.col-notes { width: 9%; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-normal { color: var(--success); background: var(--success-soft); }.status-normal::before { background: var(--success); }
.status-review { color: var(--warning); background: var(--warning-soft); }.status-review::before { background: #d48b25; }
.status-excluded { color: #687385; background: #edf0f4; }.status-excluded::before { background: #8993a2; }
.file-link { width: 100%; padding: 0; border: 0; background: none; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center; text-align: left; }
.file-link:hover .file-name { color: var(--primary); }
.file-icon { width: 31px; height: 36px; display: grid; place-items: center; border-radius: 7px; background: #fff0f0; color: #d54a50; font-size: 10px; font-weight: 900; }
.file-icon.image { background: #edf7f4; color: #168065; }
.file-name, .file-path { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-name { color: #243045; font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.file-path { color: #8993a2; font-size: 10px; }
.editable { position: relative; }
.cell-edit { width: 100%; min-height: 32px; padding: 5px 22px 5px 6px; border: 1px solid transparent; border-radius: 7px; background: transparent; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.cell-edit:hover { border-color: #dce2ee; background: white; }
.cell-edit::after { content: "✎"; position: absolute; right: 8px; opacity: 0; color: #8996ab; font-size: 10px; }
.editable:hover .cell-edit::after { opacity: 1; }
.amount-edit { text-align: right; font-variant-numeric: tabular-nums; font-weight: 750; padding-right: 24px; }
.amount-edit.empty, .cell-edit.empty { color: #a2aab7; font-weight: 400; }
.evidence-jump { position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; border: 0; padding: 0; border-radius: 5px; background: var(--primary-soft); color: var(--primary); font-size: 10px; opacity: .8; }
.inline-control { width: 100%; height: 34px; padding: 4px 6px; border: 1px solid #8fa5e8; border-radius: 7px; outline: 0; background: white; box-shadow: 0 0 0 3px rgba(49,87,213,.08); font-size: 13px; }
.included-toggle { width: 36px; height: 20px; border: 0; border-radius: 20px; background: #cdd3dd; padding: 2px; transition: .15s; }
.included-toggle::after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .15s; }
.included-toggle.on { background: var(--primary); }.included-toggle.on::after { transform: translateX(16px); }
.notes-value { color: #667184; }
.table-empty { position: absolute; inset: 45px 0 0; background: rgba(255,255,255,.96); display: grid; align-content: center; justify-items: center; color: var(--muted); }
.table-empty > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #f0f3f7; font-size: 25px; margin-bottom: 8px; }
.table-empty strong { color: #394559; }
.table-empty p { margin: 5px 0; font-size: 12px; }
.selection-bar { min-height: 55px; padding: 10px 17px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid var(--line); background: #fbfcfd; color: var(--muted); font-size: 12px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(11,19,34,.28); backdrop-filter: blur(1px); }
.preview-drawer { position: fixed; z-index: 100; right: 0; top: 0; bottom: 0; width: min(1080px, 96vw); background: white; box-shadow: -20px 0 60px rgba(22,31,49,.18); transform: translateX(102%); transition: transform .25s ease; display: flex; flex-direction: column; }
.preview-drawer.open { transform: translateX(0); }
.drawer-header { min-height: 72px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-title-wrap { display: flex; align-items: center; min-width: 0; gap: 11px; }
.drawer-title-wrap > div { min-width: 0; }
.drawer-title-wrap h2 { max-width: 600px; margin: 0 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.drawer-title-wrap p { max-width: 600px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 10px; }
.file-kind { min-width: 38px; padding: 6px 5px; border-radius: 7px; color: #d84d52; background: #fff0f0; text-align: center; font-size: 10px; font-weight: 900; }
.drawer-content { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .85fr); }
.preview-layout { min-width: 0; min-height: 0; display: flex; background: #eceff4; overflow: hidden; border-right: 1px solid var(--line); }
.preview-stage-wrap { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.preview-toolbar { min-height: 48px; padding: 7px 12px; display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid #d5dae2; }
.page-nav, .view-tools { display: flex; align-items: center; gap: 7px; }
.page-nav span { color: #606c7d; font-size: 11px; min-width: 108px; text-align: center; }
.preview-toolbar .icon-button { width: 30px; height: 30px; font-size: 16px; border-color: #dce1e8; }
.view-tools > span { width: 40px; text-align: center; color: #677283; font-size: 10px; }
.view-tools .fit-button { width: 43px; font-size: 10px; }
.preview-stage { flex: 1; overflow: auto; min-height: 0; display: block; padding: 24px; text-align: center; overscroll-behavior: contain; background-color: #dfe3e9; background-image: linear-gradient(45deg, rgba(255,255,255,.18) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.18) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.18) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.18) 75%); background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0; }
.preview-stage img { display: block; max-width: none; margin: 0 auto; transform-origin: center center; box-shadow: 0 10px 30px rgba(22,30,44,.24); background: white; transition: transform .12s ease; }
.pdf-canvas { display: block; max-width: none; margin: 0 auto; background: white; box-shadow: 0 10px 30px rgba(22,30,44,.24); }
.pdf-canvas.hidden { display: none; }
.preview-unavailable { margin: 120px auto 0; color: #657183; text-align: center; }
.preview-unavailable span { display: grid; place-items: center; margin: 0 auto 9px; width: 42px; height: 42px; border-radius: 50%; background: var(--warning-soft); color: var(--warning); font-weight: 900; }
.preview-footer { min-height: 42px; padding: 8px 13px; display: flex; align-items: center; gap: 16px; background: white; border-top: 1px solid #d5dae2; color: var(--muted); font-size: 10px; }
.preview-footer span { margin-right: auto; }
.preview-footer a { color: var(--primary); text-decoration: none; font-weight: 700; }

.details-panel { min-width: 0; min-height: 0; padding: 22px 24px 60px; overflow-y: auto; background: white; }
.detail-status-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; background: #f7f8fa; font-size: 12px; }
.detail-form { margin-top: 19px; display: grid; gap: 16px; }
.detail-form label > span, .field-label > span { display: block; margin-bottom: 7px; color: #586476; font-size: 12px; font-weight: 700; }
.detail-form input:not([type="checkbox"]), .detail-form select, .detail-form textarea, .field-label input { width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #d9dee7; border-radius: 8px; background: white; outline: none; }
.detail-form textarea { resize: vertical; }
.detail-form input:focus, .detail-form select:focus, .detail-form textarea:focus, .field-label input:focus { border-color: #8ea4e9; box-shadow: 0 0 0 3px rgba(49,87,213,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.money-input { display: flex; align-items: center; border: 1px solid #d9dee7; border-radius: 8px; }
.money-input:focus-within { border-color: #8ea4e9; box-shadow: 0 0 0 3px rgba(49,87,213,.08); }
.money-input b { padding-left: 11px; color: #748094; }
.money-input input { border: 0 !important; box-shadow: none !important; }
.switch-label { min-height: 42px; display: grid; grid-template-columns: 120px 38px 1fr; align-items: center; gap: 9px; }
.switch-label > span { margin: 0 !important; }
.switch-label input { position: absolute; opacity: 0; pointer-events: none; }
.switch-label i { width: 38px; height: 21px; padding: 2px; border-radius: 20px; background: #cdd3dd; }
.switch-label i::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .15s; }
.switch-label input:checked + i { background: var(--primary); }
.switch-label input:checked + i::after { transform: translateX(17px); }
.switch-label em { color: var(--muted); font-size: 12px; font-style: normal; }
.evidence-card { margin-top: 22px; padding: 15px; background: #f6f8fc; border: 1px solid #e3e7ef; border-radius: 11px; color: #627084; font-size: 11px; line-height: 1.7; }
.evidence-card strong { display: block; color: #364255; margin-bottom: 6px; }
.detail-save-state { margin-top: 18px; color: var(--muted); font-size: 11px; text-align: center; }

.modal { width: min(560px, 90vw); max-height: 90vh; padding: 0; border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 28px 80px rgba(16,26,45,.28); }
.modal::backdrop { background: rgba(11,19,34,.46); backdrop-filter: blur(3px); }
.modal form { margin: 0; }
.modal-header { min-height: 78px; padding: 18px 22px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 4px 0 0; font-size: 22px; }
.modal-close { border: 0; font-size: 22px; }
.modal-body { padding: 20px 22px; overflow-y: auto; max-height: calc(90vh - 150px); }
.field-label { display: block; margin-bottom: 16px; }
.field-label b { color: var(--danger); }.field-label small { color: #9aa3b1; font-weight: 400; }
.folder-picker { min-height: 154px; padding: 20px; border: 1.5px dashed #aebbe1; border-radius: 13px; display: grid; justify-items: center; align-content: center; text-align: center; background: #f8faff; cursor: pointer; transition: .18s; }
.folder-picker:hover, .folder-picker.has-files { border-color: var(--primary); background: #f3f6ff; }
.folder-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.folder-picker-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 7px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); font-size: 24px; }
.folder-picker strong { font-size: 14px; }.folder-picker p { margin: 5px 0; color: var(--muted); font-size: 11px; }.folder-picker small { color: #9aa3b1; font-size: 10px; }
.structure-tip { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #f5f6f8; display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.structure-tip strong { color: #536071; font-size: 11px; }.structure-tip code { color: #3455bc; font-family: Consolas, monospace; }
.modal-footer { min-height: 68px; padding: 13px 22px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); background: #fbfcfd; }
.upload-progress { margin-top: 15px; padding: 14px; border-radius: 11px; background: #f7f9ff; border: 1px solid #e0e6fa; }
.progress-copy { display: flex; justify-content: space-between; font-size: 11px; }.progress-copy span { color: var(--muted); }
.progress-track { height: 7px; margin: 10px 0 8px; overflow: hidden; border-radius: 9px; background: #dde4f7; }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3157d5, #6e8cf0); transition: width .2s; }
.upload-progress p { margin: 0; color: var(--muted); font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.batch-modal { width: 620px; }
.batch-fields > p { margin: 0 0 15px; color: var(--muted); font-size: 11px; }
.batch-field { min-height: 48px; display: grid; grid-template-columns: 20px 95px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--soft-line); }
.batch-field > span { font-size: 12px; font-weight: 700; }
.batch-field input[type="text"], .batch-field input[type="date"], .batch-field select { width: 100%; height: 34px; padding: 5px 8px; border: 1px solid #d9dee7; border-radius: 7px; background: white; font-size: 12px; }

.toast-region { position: fixed; z-index: 200; right: 24px; bottom: 24px; display: grid; gap: 9px; }
.toast { min-width: 260px; max-width: 390px; padding: 12px 15px; border-radius: 10px; background: #1f2938; color: #fff; box-shadow: 0 12px 30px rgba(14,22,35,.24); font-size: 12px; animation: toast-in .22s ease; }
.toast.error { background: #a9363c; }.toast.success { background: #176c55; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1400px) {
  .hero-card { padding: 44px; }
  .project-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .col-merchant { width: 10%; }
  .search-box { width: 245px; }
}

@media print {
  .topbar, .project-actions, .table-toolbar, .selection-bar { display: none; }
  .project-view { padding: 0; }
  .table-wrap { max-height: none; overflow: visible; }
}

.hero-actions, .selection-actions, .review-actions, .attachment-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-actions .btn { margin: 0; }
.organizer-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; align-items: start; }
.people-sidebar { padding: 14px 10px; background: white; border: 1px solid var(--line); border-radius: 14px; position: sticky; top: 14px; max-height: 80vh; overflow: auto; }
.sidebar-mode { display: flex; gap: 4px; padding-bottom: 12px; }
.sidebar-mode button { border: 0; padding: 8px; border-radius: 6px; background: #f1f3f8; color: #657085; cursor: pointer; flex: 1; }
.sidebar-mode button.active { color: #3157d5; background: #eaf0ff; }
.tree-item { border: 0; width: 100%; padding: 10px 8px; display: flex; justify-content: space-between; gap: 6px; text-align: left; background: none; cursor: pointer; border-radius: 6px; font-size: 12px; color: #3b475b; }
.tree-item small { color: #8590a1; white-space: nowrap; }
.tree-item.active { background: #eef3ff; color: #254bbb; font-weight: 700; }
.tree-item.child { padding-left: 22px; font-size: 11px; }
.people-sidebar > .btn { width: 100%; margin-top: 16px; }
.processing-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; font-size: 12px; color: #596a83; min-height: 18px; }
.processing-progress progress { width: 160px; accent-color: #3157d5; }
.relationship-suggestions:not(:empty) { padding: 12px 16px; background: #fff7e9; font-size: 12px; border-bottom: 1px solid #f4deb2; }
.relationship-suggestions p { margin: 5px 0; }
.row-reason { display: block; max-width: 130px; margin-top: 5px; font-size: 10px; color: #a56c27; font-weight: 400; }
.settings-modal { width: 900px; max-width: 95vw; }
.settings-modal .workspace-panel, .settings-modal .rules-card { margin: 0; border: 0; box-shadow: none; }
.settings-modal details { margin: 12px 0; font-size: 12px; }
.settings-modal summary { cursor: pointer; margin-bottom: 8px; }
.settings-modal input[type="url"], #new-person-name, .person-name-edit { padding: 9px; border: 1px solid #d9dee7; border-radius: 7px; width: 100%; }
.person-edit-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.attachment-toolbar { padding: 10px 22px; border-bottom: 1px solid var(--line); background: #f5f8ff; font-size: 12px; }
.attachment-toolbar select { max-width: 390px; padding: 5px; }
.review-actions { margin: 12px 0; }
.import-report { padding: 10px 0; font-size: 12px; color: #68758a; white-space: pre-line; }
#import-mode, #merge-primary, #merge-people-form select { padding: 10px; border: 1px solid #d9dee7; border-radius: 7px; width: 100%; }
#import-person-preview { display: block; margin-top: 8px; line-height: 1.6; color: #526991; }
.selection-bar { gap: 12px; flex-wrap: wrap; }
.organizer-layout .result-table { min-width: 1090px; }
.organizer-layout .table-toolbar { flex-wrap: wrap; gap: 8px; }
.export-warning { max-height: 260px; overflow: auto; }
@media (max-width: 1000px) { .organizer-layout { grid-template-columns: 170px minmax(0, 1fr); } .topbar-actions { flex-wrap: wrap; justify-content: flex-end; } .security-pill { display: none; } }
.reference-toolbar { flex-wrap: wrap; }
.reference-toolbar label { flex: 1; min-width: 150px; }
.reference-toolbar input { width: 100%; min-width: 0; }
.reference-toolbar input { padding: 6px 8px; border: 1px solid #d9dee7; border-radius: 6px; }
.preview-stage-wrap { flex: 1; }
.details-panel { overflow-x: hidden; }
.form-grid > label, .form-grid input, .form-grid select { min-width: 0; max-width: 100%; }
#import-report { max-height: 180px; overflow: auto; white-space: pre-wrap; }
@media (max-width: 1180px) {
  .project-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .project-actions, .toolbar-left, .title-row { flex-wrap: wrap; }
  .topbar { padding: 0 16px; }
  .project-view, .home-view { padding: 20px 16px; }
  .summary-item { padding: 12px 9px; gap: 7px; }
  .summary-icon { display: none; }
  .people-sidebar { top: 84px; }
  .organizer-layout .result-table { min-width: 660px; }
  .organizer-layout .result-table colgroup { display: none; }
  .organizer-layout .result-table :is(th,td):is(:nth-child(4),:nth-child(5),:nth-child(9),:nth-child(11)) { display: none; }
  .organizer-layout .result-table :is(th,td):nth-child(1) { width: 5%; }
  .organizer-layout .result-table :is(th,td):nth-child(2) { width: 16%; }
  .organizer-layout .result-table :is(th,td):nth-child(3) { width: 12%; }
  .organizer-layout .result-table :is(th,td):nth-child(6) { width: 28%; }
  .organizer-layout .result-table :is(th,td):nth-child(7) { width: 17%; }
  .organizer-layout .result-table :is(th,td):nth-child(8) { width: 16%; }
  .organizer-layout .result-table :is(th,td):nth-child(10) { width: 6%; }
}
@media (max-width: 700px) {
  .hero-card { display: block; padding: 28px; }
  .folder-illustration { display: none; }
  .organizer-layout { grid-template-columns: 1fr; }
  .people-sidebar { position: static; max-height: 220px; }
  .summary-strip { grid-template-columns: repeat(3, 1fr); }
  .drawer-content { grid-template-columns: 1fr; overflow: auto; display: block; }
  .preview-layout { height: 48vh; }
  .details-panel { overflow: visible; }
  .preview-toolbar { flex-wrap: wrap; height: auto; }
  .api-key-row { grid-template-columns: minmax(0, 1fr) auto; }
}

[data-role="user"] .admin-only { display: none !important; }
.auth-view { min-height: 100vh; padding: 48px 20px; display: grid; place-items: center; background: radial-gradient(ellipse at 30% 10%, #eef2ff, #f7f9fc 70%); }
.auth-view.hidden { display: none; }
.auth-card { width: min(100%, 440px); padding: 36px; border: 1px solid #e3e7ef; border-radius: 22px; background: #fff; box-shadow: 0 12px 60px #243b5310; }
.auth-card h1 { margin: 28px 0 10px; font-size: 26px; }
.auth-card p, .auth-footnote { color: #66758b; line-height: 1.8; }
.auth-form { display: grid; gap: 16px; margin: 22px 0 8px; }
.auth-form label, #invite-output label { display: grid; gap: 8px; font-size: 14px; color: #37465c; }
.auth-form input, #invite-link { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #d8dfeb; border-radius: 8px; font: inherit; background: #fff; }
.auth-form .hidden { display: none; }
.auth-tabs { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.auth-footnote { margin-top: 24px; font-size: 12px; }
.form-error { color: #b32d36 !important; margin: 0; min-height: 1em; font-size: 13px; }
.account-dialog { width: min(640px, calc(100vw - 28px)); }
.account-user { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e8edf3; }
.account-user small { display: block; margin-top: 4px; color: #728099; }
.account-user > span:last-child { display: flex; gap: 6px; flex-wrap: wrap; }
#admin-account-tools { margin-bottom: 26px; }
#invite-output { padding: 16px; background: #f1f6ff; border-radius: 9px; margin: 14px 0; }
#invite-output small { display: block; line-height: 1.7; margin-top: 10px; }
#account-message { color: #93611b; }
.usage-dialog { width: min(850px, calc(100vw - 28px)); }
.usage-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.usage-table th, .usage-table td { text-align: left; padding: 12px; border-bottom: 1px solid #e3e8ef; }
.usage-table td small, .usage-table td strong { display: block; line-height: 1.8; }
.usage-table td small { color: #78859a; font-size: 12px; }
#usage-summary { padding: 16px; background: #f1f6ff; border-radius: 8px; font-weight: 600; }
#usage-note, #cache-summary { color: #728099; line-height: 1.8; }
#clear-recognition-cache + small { display: block; margin-top: 12px; color: #728099; }
@media (max-width: 700px) {
  .topbar { height: auto; min-height: 76px; padding: 12px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .topbar-actions { flex-wrap: wrap; gap: 8px; }
  .topbar-actions .security-pill { display: none; }
  .brand small { font-size: 10px; }
  .auth-view { padding: 24px 14px; }
  .auth-card { padding: 25px; }
  .account-user { flex-wrap: wrap; }
  .selection-bar { flex-wrap: wrap; gap: 8px; }
  .selection-actions { flex-wrap: wrap; }
  .hero-copy h1 { font-size: 28px; line-height: 1.4; letter-spacing: -1px; }
  .hero-actions { align-items: stretch; }
  .usage-table { min-width: 0; }
  .usage-table thead { display: none; }
  .usage-table tbody { display: grid; gap: 12px; }
  .usage-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid #e3e8ef; border-radius: 8px; }
  .usage-table td { border: 0; padding: 4px; overflow-wrap: anywhere; }
  .usage-table td:nth-child(1), .usage-table td:nth-child(2) { grid-column: 1 / -1; }
  .usage-table td:nth-child(3)::before { content: '用量 '; color: #728099; }
  .usage-table td:nth-child(4)::before { content: '估算 '; color: #728099; }
  .usage-dialog .table-wrap { min-height: 0; }
  .organizer-layout .result-table { min-width: 0; table-layout: auto; }
  .organizer-layout .result-table thead tr { display: block; }
  .organizer-layout .result-table thead th:not(:first-child) { display: none; }
  .organizer-layout .result-table thead th:first-child { width: auto; }
  .organizer-layout .result-table thead th:first-child::after { content: '全选当前费用'; margin-left: 8px; }
  .organizer-layout .result-table tbody { display: grid; padding: 8px; gap: 10px; }
  .organizer-layout .result-table tbody tr { display: grid; grid-template-columns: 30px 1fr 1fr; padding: 10px; border: 1px solid #e4e9f1; border-radius: 9px; }
  .organizer-layout .result-table tbody td { width: auto !important; border: 0; padding: 7px 3px; }
  .organizer-layout .result-table tbody td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .organizer-layout .result-table tbody td:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
  .organizer-layout .result-table tbody td:nth-child(6) { grid-column: 1 / 4; grid-row: 2; }
  .organizer-layout .result-table tbody td:nth-child(3) { grid-column: 1 / 3; grid-row: 3; }
  .organizer-layout .result-table tbody td:nth-child(8) { grid-column: 3; grid-row: 3; }
  .organizer-layout .result-table tbody td:nth-child(7) { grid-column: 1 / 3; grid-row: 4; }
  .organizer-layout .result-table tbody td:nth-child(10) { grid-column: 3; grid-row: 4; text-align: right; }
}
 .storage-notice { margin: 18px 32px 0; padding: 12px 16px; border: 1px solid #d4e2f1; border-radius: 10px; background: #f3f8ff; color: #345276; font-size: 14px; }

/* Simpler guided workflow */
.more-menu { position:relative; }.more-menu summary { list-style:none; cursor:pointer; }.more-menu-items { position:absolute; right:0; top:calc(100% + 8px); width:240px; display:grid; gap:8px; padding:16px; background:white; border:1px solid #dde3eb; border-radius:12px; box-shadow:0 12px 36px #23334d22; z-index:30; }.more-menu-items p { font-size:12px; line-height:1.6; margin:0; }.selection-bar .more-menu-items { top:auto; bottom:calc(100% + 8px); }.workflow-guide { color:#52637b; font-size:14px; }.workflow-guide span { margin:0 14px; color:#96a4b9; }.problem-entry { margin-bottom:12px; }.column-toggle { border:0; background:transparent; color:#3067bd; font:inherit; cursor:pointer; text-align:left; }.import-options { margin:12px 0; }.import-options summary { cursor:pointer; color:#52637b; }.import-options .field-label { margin-top:12px; }.import-file-list { margin-top:16px; }.import-file-list p { color:#66768e; font-size:13px; }.import-file-list ul { list-style:none; padding:0; margin:8px 0; max-height:230px; overflow:auto; border:1px solid #e2e8ef; border-radius:8px; }.import-file-list li { display:grid; grid-template-columns:minmax(0,1fr) 90px 65px; gap:10px; padding:9px 12px; border-bottom:1px solid #edf1f6; font-size:12px; }.import-file-list li span { overflow-wrap:anywhere; }.import-file-list li b { color:#3067bd; }.problem-item { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 0; border-bottom:1px solid #e2e8ef; }.problem-item p { margin:6px 0 0; color:#ab3d32; }.problem-item button { flex-shrink:0; }.field-problem { outline:2px solid #d14d40!important; outline-offset:2px; }#problem-dialog .modal-body { max-height:60vh; overflow:auto; }#new-project-dialog .modal-footer { position:sticky; bottom:0; background:white; z-index:2; }

.folder-picker.has-files { min-height:70px; padding:12px; }.folder-picker.has-files .folder-picker-icon,.folder-picker.has-files small { display:none; }

@media (min-width:1181px) { .col-person { width:100px; }.col-amount { width:125px; }.col-date { width:145px; }.col-file { width:255px; }.col-status { width:130px; }.col-category { width:95px; }.organizer-layout .result-table { min-width:1370px; } }
.file-name { white-space:normal; overflow-wrap:anywhere; line-height:1.5; }.amount-edit { padding-right:8px; }.cell-edit { padding-left:2px; }

/* Keep the main figures visible in the conversation's browser panel. */
@media (min-width:721px) and (max-width:1000px) { .organizer-layout { grid-template-columns:minmax(0,1fr); }.people-sidebar { position:static; max-height:190px; overflow:auto; }#organizer-tree { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }.sidebar-mode { max-width:260px; }.tree-item.child { padding-left:10px; }.people-sidebar #manage-people { margin-top:8px; }.organizer-layout .result-table { min-width:660px; } }
.result-table td:nth-child(3) .cell-edit, .result-table td:nth-child(7) .cell-edit { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
