:root {
  --ink: #24211e;
  --muted: #77716a;
  --paper: #fbfaf8;
  --warm: #f5f2ed;
  --line: #ddd8d1;
  --primary: #493f34;
  --primary-hover: #352f28;
  --green-bg: #edf5ec;
  --green: #526c50;
  --amber-bg: #fff3e5;
  --amber: #9a6225;
  --blue-bg: #eaf2f6;
  --blue: #466a7d;
  --danger: #a44337;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(50, 43, 35, .1);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 48% 30%, #fff 0, var(--paper) 48%, #f8f5f1 100%); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); }
.app-header { height: 76px; padding: 0 3.4vw; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 50px; border-bottom: 1px solid rgba(215, 209, 201, .75); background: rgba(251,250,248,.88); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; }
.brand { font-size: 24px; font-weight: 720; letter-spacing: -.8px; }
.main-nav { display: flex; align-self: stretch; gap: 36px; }
.main-nav a { display: grid; place-items: center; position: relative; font-size: 15px; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.account-menu { position: relative; }
.account-menu summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #f0ede8; font-size: 14px; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-popover { position: absolute; top: 50px; right: 0; width: 210px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: grid; gap: 4px; }
.account-popover small { color: var(--muted); margin-bottom: 8px; }
.account-mobile-nav { display: none; }
.page-shell { width: min(100% - 7vw, 1380px); margin: 0 auto; padding: 58px 0 70px; }
.page-narrow { max-width: 820px; }
.page-modal { max-width: 940px; padding-top: 32px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1.04; letter-spacing: -1.8px; margin-bottom: 12px; }
h2 { letter-spacing: -.5px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 44px; }
.page-heading p { color: var(--muted); max-width: 640px; line-height: 1.6; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--muted); }
.button { min-height: 47px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 560; background: transparent; white-space: nowrap; }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 7px 16px rgba(63,56,47,.12); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { background: rgba(255,255,255,.6); border-color: var(--line); }
.button-secondary:hover { background: #fff; border-color: #c9c2b9; }
.button-wide { width: 100%; }
.button-small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.text-button { border: 0; padding: 6px 0; background: transparent; text-align: left; }
.danger { color: var(--danger); }
.filters { display: flex; gap: 20px; margin-bottom: 44px; }
.filters label { width: 270px; min-height: 76px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.4); }
.filters span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.filters select { width: 100%; border: 0; padding: 0; background: transparent; font-size: 17px; outline: 0; }
.table-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.42); }
table { width: 100%; border-collapse: collapse; }
th { color: #5e5953; font-size: 13px; font-weight: 560; text-align: left; height: 66px; padding: 0 26px; border-bottom: 1px solid var(--line); }
td { height: 76px; padding: 14px 26px; border-bottom: 1px solid #e6e1dc; font-size: 15px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr[data-href] { cursor: pointer; transition: background .15s ease; }
tbody tr[data-href]:hover, tbody tr[data-href]:focus { background: #f8f5f0; outline: 0; }
.empty-state { text-align: center; padding: 72px 24px !important; color: var(--muted); }
.empty-state strong, .empty-state span { display: block; }.empty-state strong { color: var(--ink); margin-bottom: 8px; }
.status { display: inline-flex; align-items: center; width: max-content; border-radius: 7px; padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.status-draft { background: #f6efe6; color: #795b3d; }.status-ready, .status-closing { background: var(--blue-bg); color: var(--blue); }.status-closed, .status-confirmed { background: var(--green-bg); color: var(--green); }.status-review, .status-close_failed { background: var(--amber-bg); color: var(--amber); }.status-cancelled { background: #efedeb; color: #726c65; }
.surface, .settings-section, .client-sections > div { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.48); }
.surface { padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-full { grid-column: 1 / -1; }
.form-grid label, .form-stack label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; min-height: 47px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; background: rgba(255,255,255,.78); outline: 0; }
textarea { min-height: 86px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #8f8478; box-shadow: 0 0 0 3px rgba(119,105,90,.1); }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 12px; }
.form-stack { display: grid; gap: 18px; }
.field-error { color: var(--danger); font-size: 13px; }
.messages { position: fixed; z-index: 50; right: 24px; top: 92px; width: min(420px, calc(100% - 48px)); display: grid; gap: 8px; }
.message { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 14px 16px; border-radius: 9px; box-shadow: var(--shadow); }
.message-error { border-left-color: var(--danger); }.message-success { border-left-color: var(--green); }
.reports-list-page .page-shell, .report-detail-page .page-shell { padding-top: 64px; padding-bottom: 84px; }.reports-list-page .page-heading { gap: 28px; margin-bottom: 50px; }.reports-list-page .page-heading h1, .report-detail-page h1 { font-size: clamp(38px, 3.5vw, 52px); line-height: 1.02; letter-spacing: -2px; }.reports-list-page .button, .report-detail-page .button:not(.button-small), .expense-review-page .button, .scanner-page .button { min-height: 50px; padding-left: 22px; padding-right: 22px; gap: 9px; }
.report-title { margin-bottom: 30px; }.title-line { display: flex; align-items: center; gap: 24px; }.title-line h1, .title-line h2 { margin: 0; }.nd-label { color: var(--muted); font-size: 16px; }.report-reference { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.mobile-title, .mobile-only { display: none; }
.report-summary { min-height: 116px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; background: rgba(255,255,255,.34); }
.report-summary div { padding: 0 7%; border-right: 1px solid var(--line); }.report-summary div:last-child { border: 0; }.report-summary span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 9px; }.report-summary strong { font-size: 19px; }
.report-actions { display: flex; gap: 14px; margin-bottom: 24px; }.action-manual { margin-left: auto; }
.expenses-table td:nth-child(5) { font-variant-numeric: tabular-nums; }.mobile-meta { display: none; }.row-review { box-shadow: inset 3px 0 var(--amber); background: #fffaf4; }
.action-alert { margin: 18px 0; border: 1px solid #edd8bd; background: #fffaf3; color: #6f512c; padding: 15px 18px; border-radius: 9px; font-size: 13px; }.action-alert ul { margin: 8px 0 0; padding-left: 20px; }
.workflow-state { margin: -4px 0 24px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.5); }.workflow-state > div { display: flex; align-items: flex-start; gap: 12px; }.workflow-state p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }.workflow-state small { display: block; margin: 10px 0 0 28px; color: var(--muted); }.workflow-indicator { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; border: 2px solid #c9c2b9; border-top-color: var(--primary); border-radius: 50%; }.workflow-error { border-color: #ecd5b6; background: var(--amber-bg); color: #764c20; }.workflow-error p, .workflow-error small { color: #805c35; }.workflow-error small { margin-left: 0; }
.pending-section, .closed-documents { margin-top: 30px; }.pending-section h2, .closed-documents h2 { font-size: 18px; }.pending-row, .closed-documents a { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }.pending-row > div { display: flex; gap: 10px; align-items: center; }.pending-row strong, .pending-row span { display: block; }.pending-row span, .closed-documents span { color: var(--muted); font-size: 12px; }.pending-row form { margin: 0; }
.report-footer-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }.button-close { min-width: 230px; }
.mobile-add, .mobile-action-menu { display: none; }
.app-dialog { width: min(480px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 16px; padding: 0; box-shadow: var(--shadow); }.app-dialog::backdrop { background: rgba(45,40,35,.32); backdrop-filter: blur(3px); }.app-dialog form { padding: 28px; }.dialog-close { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 25px; }.file-drop { display: grid; place-items: center; min-height: 130px; border: 1px dashed #aaa198; border-radius: 12px; margin: 24px 0; }.file-drop input { max-width: 90%; }
.close-dialog { width: min(520px, calc(100% - 30px)); }.close-dialog h2 { margin-bottom: 24px; font-size: 28px; }.close-summary { margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.close-summary div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }.close-summary div:last-child { border: 0; }.close-summary dt { color: var(--muted); }.close-summary dd { margin: 0; font-weight: 650; }.dialog-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.expense-review-page .page-shell { padding-top: 46px; }
.review-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(400px,.7fr); min-height: 780px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.46); }.review-no-document { grid-template-columns: minmax(0, 680px); justify-content: center; }.document-preview { padding: 34px; border-right: 1px solid var(--line); background: var(--warm); }.document-preview object, .document-preview img { width: 100%; height: 690px; object-fit: contain; border: 0; }.review-form { padding: 38px; }.review-form h1 { font-size: 34px; }.confidence-alert, .duplicate-box { border: 1px solid #ecd5b6; background: var(--amber-bg); color: var(--amber); border-radius: 9px; padding: 15px; margin-bottom: 22px; }.duplicate-box p { margin: 6px 0 0; font-size: 13px; }.duplicate-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.review-duplicate-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(380px,.78fr); }.duplicate-document { background: #faf8f5; }.duplicate-document h2 { font-size: 22px; margin-bottom: 7px; }.duplicate-meta { min-height: 42px; color: var(--muted); font-size: 13px; line-height: 1.5; }.preview-empty { height: 690px; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.modal-surface { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); padding: 28px; }.modal-heading { display: flex; justify-content: space-between; }.modal-heading h1 { font-size: 30px; }.modal-heading p { color: var(--muted); }.gmail-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 20px 0; }.gmail-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.gmail-list-head { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }.gmail-row { min-height: 66px; padding: 10px 18px; border-bottom: 1px solid #e7e2dc; display: grid; grid-template-columns: 22px 32px minmax(190px,1.2fr) 110px minmax(150px,.8fr); gap: 10px; align-items: center; font-size: 13px; }.gmail-row:last-child { border: 0; }.gmail-main { min-width: 0; }.gmail-main strong, .gmail-main small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.gmail-main small, .gmail-snippet, .gmail-row time { color: var(--muted); font-size: 12px; }.gmail-icon { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: var(--warm); }.gmail-imported { opacity: .64; }.modal-actions { display: flex; justify-content: space-between; margin-top: 24px; }
.settings-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 34px; }.settings-nav { display: grid; align-content: start; gap: 4px; position: sticky; top: 110px; }.settings-nav a { padding: 11px 14px; border-radius: 8px; }.settings-nav a:hover { background: var(--warm); }.settings-content { display: grid; gap: 24px; }.settings-section { padding: 28px; scroll-margin-top: 100px; }.section-heading { border-bottom: 1px solid var(--line); margin-bottom: 24px; }.section-heading h2 { margin-bottom: 7px; }.section-heading p { color: var(--muted); font-size: 13px; }.profile-list > div, .integration-state { padding: 14px 0; border-bottom: 1px solid var(--line); }.profile-list strong, .profile-list span { display: block; }.profile-list span { color: var(--muted); font-size: 13px; margin-top: 4px; }.inline-create { margin-top: 20px; }.inline-create summary { font-weight: 600; }.inline-create form { margin-top: 20px; }.integration-state { border: 0; }.integration-state p { color: var(--muted); }
.clients-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 26px; }.client-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.42); }.client-list form { padding: 14px; border-bottom: 1px solid var(--line); }.client-list a { display: flex; gap: 14px; align-items: center; margin: 0 10px; padding: 14px 12px; border-radius: 8px; }.client-list a[aria-current=true] { background: #f2efeb; }.client-list small, .client-detail small { display: block; color: var(--muted); margin-top: 4px; }.client-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: var(--warm); }.client-mark.large { width: 64px; height: 64px; font-size: 24px; }.client-detail-heading { display: flex; align-items: center; gap: 20px; margin: 8px 0 32px; }.client-detail-heading > a { margin-left: auto; }.client-sections { display: grid; gap: 14px; }.client-sections > div { padding: 22px; }.client-sections h3 { font-size: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }.client-sections dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }.client-sections dt { color: var(--muted); font-size: 12px; }.client-sections dd { margin: 0 0 12px; overflow-wrap: anywhere; }
.login-page { display: grid; place-items: center; padding: 24px; }.login-panel { width: min(100%, 430px); padding: 42px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }.login-brand { margin-bottom: 54px; }.login-panel h1 { font-size: 34px; }.login-panel > p { color: var(--muted); margin-bottom: 30px; }.state-panel .login-brand { margin-bottom: 38px; }.state-panel .eyebrow { margin-bottom: 10px; }.state-panel form { margin-top: 28px; }
.scanner-shell { max-width: 760px; margin: 0 auto; }.scanner-heading { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }.scanner-heading a { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.08); font-size: 30px; }.scanner-heading h1 { margin: 0; text-align: center; font-size: 26px; letter-spacing: -.7px; }.scanner-instruction { color: var(--muted); text-align: center; margin: 24px auto; max-width: 390px; line-height: 1.55; font-size: 16px; }.camera-stage { height: min(66vh, 640px); border-radius: 20px; overflow: hidden; background: #191713; position: relative; }.camera-stage video { width: 100%; height: 100%; object-fit: cover; }.camera-corners { position: absolute; inset: 10%; border: 2px solid rgba(255,255,255,.8); border-radius: 12px; clip-path: polygon(0 0,15% 0,15% 2px,2px 2px,2px 15%,0 15%,0 0,85% 0,100% 0,100% 15%,calc(100% - 2px) 15%,calc(100% - 2px) 2px,85% 2px,85% 0,0 85%,2px 85%,2px calc(100% - 2px),15% calc(100% - 2px),15% 100%,0 100%,0 85%,100% 85%,100% 100%,85% 100%,85% calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) 85%); }.camera-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 48px; text-align: center; color: #fff; font-size: 16px; line-height: 1.45; }.capture-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 22px; }.gallery-button { justify-self: end; margin-right: 34px; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; }.shutter { grid-column: 2; width: 88px; height: 88px; border-radius: 50%; border: 6px solid #fff; outline: 3px solid var(--primary); background: #fff; }.scanner-adjust { display: grid; gap: 18px; }.adjust-preview { height: min(64vh, 620px); background: var(--warm); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }.adjust-preview img { display: block; max-width: 100%; }.tone-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.tone-switch button { min-height: 82px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; padding: 14px 18px; font-size: 16px; }.tone-switch button.selected { border-color: var(--primary); }.tone-switch small { display: block; color: var(--muted); margin-top: 5px; }
@media (max-width: 760px) {
  .app-header { height: 68px; padding: 0 20px; grid-template-columns: 1fr auto; }.main-nav { display: none; }.brand { font-size: 23px; }.page-shell { width: 100%; padding: 28px 18px calc(120px + env(safe-area-inset-bottom)); }.page-heading { margin-bottom: 28px; }.page-heading h1 { font-size: 34px; }.page-heading .button { min-height: 42px; padding: 0 14px; }.reports-list-page .page-shell, .report-detail-page .page-shell, .expense-review-page .page-shell { padding: 34px 18px calc(132px + env(safe-area-inset-bottom)); }.reports-list-page .page-heading { gap: 12px; margin-bottom: 34px; align-items: center; }.reports-list-page .page-heading h1 { font-size: 36px; }.reports-list-page .page-heading .button { min-height: 50px; padding: 0 12px; }
  .account-popover { width: 230px; }.account-mobile-nav { display: grid; gap: 0; margin: 8px -6px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.account-mobile-nav a { padding: 9px 6px; border-radius: 7px; }.account-mobile-nav a:hover { background: var(--warm); }
  .filters { overflow-x: auto; gap: 12px; margin-bottom: 36px; padding-bottom: 6px; }.filters label { min-width: 180px; min-height: 68px; padding: 12px 16px; }.reports-table { border: 0; background: transparent; overflow: visible; }.reports-table thead { display: none; }.reports-table table, .reports-table tbody { display: block; }.reports-table tr { display: grid; grid-template-columns: 1fr auto; min-height: 84px; padding: 20px 0; border-bottom: 1px solid var(--line); align-content: center; row-gap: 5px; }.reports-table td { height: auto; padding: 1px 0; border: 0; font-size: 15px; }.reports-table td:first-child strong { font-size: 16px; }.reports-table td:nth-child(3), .reports-table td:nth-child(4), .reports-table td:nth-child(7) { display: none; }.reports-table td:nth-child(2) { grid-row: 2; color: var(--muted); }.reports-table td:nth-child(5), .reports-table td:nth-child(6) { text-align: right; }.reports-table td:nth-child(5) { font-size: 16px; }.reports-table td:nth-child(6) { grid-column: 2; grid-row: 2; }
  .form-grid { grid-template-columns: 1fr; }.form-full { grid-column: auto; }.surface { padding: 22px; }
  .desktop-title, .desktop-only { display: none !important; }.mobile-title, .mobile-only { display: block; }.report-detail-page .back-link { margin-bottom: 38px; font-size: 17px; }.title-line { gap: 14px; flex-wrap: wrap; }.mobile-title { font-size: 36px; }.report-client { font-size: 23px; margin: 14px 0 0; }.report-reference { display: none; }.report-title { margin-bottom: 0; }.report-summary { display: flex; align-items: baseline; gap: 8px; min-height: 0; border: 0; background: transparent; margin: 14px 0 32px; }.report-summary div { display: none; }.report-summary div:nth-child(2), .report-summary div:nth-child(3) { display: block; padding: 0; border: 0; }.report-summary div:nth-child(3) { order: 1; }.report-summary div:nth-child(2) { order: 2; }.report-summary div:nth-child(3)::after { content: " · "; color: var(--muted); margin-left: 8px; }.report-summary span { display: none; }.report-summary strong { font-size: 17px; font-weight: 460; color: var(--muted); }.report-summary div:nth-child(3) strong { font-size: 20px; font-weight: 620; color: var(--ink); }.report-actions { display: none; }.action-alert { font-size: 13px; padding: 16px; }
  .workflow-state { margin-top: 0; padding: 15px; }.workflow-state small { margin-left: 0; }
  .expenses-table { border-radius: 12px; }.expenses-table thead { display: none; }.expenses-table table, .expenses-table tbody { display: block; }.expenses-table tr { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; min-height: 100px; align-items: center; }.expenses-table td { height: auto; border: 0; padding: 17px 10px; font-size: 15px; }.expenses-table td:nth-child(1) { font-size: 14px; line-height: 1.35; border-right: 1px solid var(--line); }.expenses-table td:nth-child(2) { min-width: 0; }.expenses-table td:nth-child(2) strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.expenses-table td:nth-child(3), .expenses-table td:nth-child(4), .expenses-table td:nth-child(6) { display: none; }.expenses-table td:nth-child(5) { text-align: right; white-space: nowrap; font-size: 16px; }.mobile-meta { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .report-footer-actions { position: fixed; z-index: 15; left: 18px; right: 18px; bottom: max(14px, env(safe-area-inset-bottom)); }.report-footer-actions > form:first-child { display: none; }.report-footer-actions form:last-child { width: 100%; }.button-close { width: 100%; min-height: 62px; font-size: 17px; }.mobile-add { display: inline-flex; position: fixed; z-index: 16; right: 22px; min-height: 54px; font-size: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); }.mobile-action-menu { position: fixed; z-index: 17; right: 20px; bottom: calc(158px + env(safe-area-inset-bottom)); width: 280px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }.mobile-action-menu:not([hidden]) { display: grid; }.mobile-action-menu a, .mobile-action-menu button { min-height: 54px; display: flex; align-items: center; padding: 0 14px; border: 0; background: transparent; border-radius: 9px; text-align: left; font-size: 15px; }.mobile-action-menu a:hover, .mobile-action-menu button:hover { background: var(--warm); }
  .pending-row { align-items: flex-start; }.pending-row > div:last-child { flex-wrap: wrap; justify-content: flex-end; }
  .expense-review-page .page-shell { padding-top: 34px; }.expense-review-page .back-link { margin-bottom: 30px; font-size: 16px; }.review-layout { display: block; min-height: 0; border: 0; background: transparent; overflow: visible; }.document-preview { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 18px; }.document-preview h2 { font-size: 25px; }.document-preview object, .document-preview img { height: 500px; }.review-form { padding: 36px 0 0; }.review-form h1 { font-size: 36px; }.review-form .form-stack { gap: 20px; }.review-form input:not([type=checkbox]):not([type=radio]):not([type=file]), .review-form select, .review-form textarea { min-height: 54px; }
  .gmail-modal { padding: 20px 14px; }.gmail-row { grid-template-columns: 22px 32px minmax(0,1fr) auto; padding: 10px; }.gmail-snippet { display: none; }.gmail-row .status { grid-column: 3 / -1; }.modal-actions { position: sticky; bottom: 0; background: #fff; padding-top: 14px; }
  .settings-layout { display: block; }.settings-nav { display: none; }.settings-section { padding: 20px 16px; }.settings-section .form-grid { gap: 15px; }
  .clients-layout { display: block; }.client-list { margin-bottom: 24px; }.client-detail-heading { flex-wrap: wrap; }.client-detail-heading > a { margin-left: 0; }.client-sections dl { grid-template-columns: 1fr; }
  .messages { top: 78px; right: 12px; width: calc(100% - 24px); }
  .scanner-page .app-header { display: none; }.scanner-page .page-shell { padding: max(14px, env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom)); }.scanner-shell { max-width: none; }.scanner-heading { grid-template-columns: 50px 1fr 50px; }.scanner-heading a { width: 50px; height: 50px; }.scanner-heading h1 { font-size: 23px; }.scanner-instruction { margin: 16px auto 18px; font-size: 16px; }.camera-stage { height: clamp(460px, calc(100svh - 300px), 580px); border-radius: 20px; }.camera-corners { inset: 9%; }.camera-error { padding: 34px; font-size: 16px; }.capture-controls { margin-top: 18px; }.gallery-button { width: 56px; height: 56px; margin-right: 28px; }.shutter { width: 88px; height: 88px; }.scanner-adjust { gap: 14px; }.adjust-preview { height: clamp(450px, calc(100svh - 380px), 560px); }.tone-switch button { min-height: 82px; }.scanner-adjust .button-primary { min-height: 58px; font-size: 17px; }.scanner-adjust .text-button { min-height: 42px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
