/* Auslagen & Belege: local surfaces, shared navigation remains intact. */
body.expenses-ui[data-ui-page] {
  --gold:#d6a84f; --cream:#f5f6f8; --border:#dce1e9; --muted:#53617a;
  --expense-navy:#06112c;
  margin:0; background:var(--cream); color:#152342;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.5;
}
body.expenses-ui[data-pwa-page="expenses-admin"] {--expense-navy:#06112c}
body.expenses-ui[data-ui-page] * {box-sizing:border-box}
body.expenses-ui[data-ui-page] [hidden] {display:none!important}
body.expenses-ui[data-ui-page] a {color:inherit}
body.expenses-ui[data-ui-page] :focus-visible {outline:3px solid #3569b6;outline-offset:3px}
body.expenses-ui[data-ui-page] .wrap {width:min(1100px,calc(100% - 48px));margin-inline:auto}
body.expenses-ui[data-ui-page] .skip {position:absolute;top:-80px;left:20px;z-index:10;background:var(--gold);padding:12px}
body.expenses-ui[data-ui-page] .skip:focus {top:12px}
body.expenses-ui[data-ui-page] .header {display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:20px;border-bottom:1px solid #ffffff24;color:#fff;background:var(--expense-navy);box-shadow:0 0 0 100vmax var(--expense-navy);clip-path:inset(0 -100vmax)}
body.expenses-ui[data-ui-page] .brand {display:flex;align-items:center;gap:12px;text-decoration:none;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px}
body.expenses-ui[data-ui-page] .brand-mark {display:grid;place-items:center;width:52px;height:52px;flex:none;background:#fff;border-radius:50%;overflow:hidden}
body.expenses-ui[data-ui-page] .brand img {object-fit:contain}
body.expenses-ui[data-ui-page] .header-actions {display:flex;align-items:center;gap:10px;font-size:13px}
body.expenses-ui[data-ui-page] .header-actions a {text-decoration:none;color:#f0ce8b}
body.expenses-ui[data-ui-page] :is(button,input,select,textarea) {font:inherit}
body.expenses-ui[data-ui-page] :is(button,.secondary,.gold,.outline) {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 17px;border:1px solid var(--border);border-radius:11px;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;transition:background-color .16s,border-color .16s,box-shadow .16s}
body.expenses-ui[data-ui-page] .gold {background:var(--gold);border-color:var(--gold);color:#081c4e}
body.expenses-ui[data-ui-page] .secondary {background:#fff;color:#152342}
body.expenses-ui[data-ui-page] .outline {background:#ffffff0a;border-color:#ffffff40;color:#f0ce8b}
body.expenses-ui[data-ui-page] button:disabled {opacity:.55;cursor:default}
body.expenses-ui[data-ui-page] .hero {position:relative;padding-block:46px 44px;color:#fff;background:var(--expense-navy);box-shadow:0 0 0 100vmax var(--expense-navy);clip-path:inset(0 -100vmax)}
body.expenses-ui[data-ui-page] .eyebrow {margin:0 0 12px;color:#f0ce8b;font-size:11px;font-weight:650;letter-spacing:.12em;text-transform:uppercase}
body.expenses-ui[data-ui-page] h1 {margin:0 0 18px;font-size:clamp(32px,4.8vw,52px);font-weight:700;line-height:1.12;letter-spacing:-.045em}
body.expenses-ui[data-ui-page] h1 br {display:none}
body.expenses-ui[data-ui-page] h1 em {font-family:inherit;font-style:normal;font-weight:inherit;color:#f0ce8b}
body.expenses-ui[data-ui-page] :is(h2,h3) {font-family:inherit;font-weight:650;letter-spacing:-.025em;line-height:1.3}
body.expenses-ui[data-ui-page] h2 {font-size:24px}
body.expenses-ui[data-ui-page] h3 {font-size:18px}
body.expenses-ui[data-ui-page] .lead {max-width:620px;margin:0 0 24px;font-size:16px;line-height:1.7;color:#d1dbec}
body.expenses-ui[data-ui-page] .hero-note {max-width:520px;margin:14px 0 0;font-size:12px;line-height:1.6;color:#d1dbec}
body.expenses-ui[data-ui-page] .expense-hero-icon {position:absolute;right:0;top:46px;display:grid;place-items:center;width:68px;height:68px;border:1px solid #ffffff30;border-radius:18px;background:#ffffff0a;color:#f0ce8b}
body.expenses-ui[data-ui-page] .expense-hero-icon svg {width:34px;height:34px}
body.expenses-ui[data-ui-page] .content {padding:28px 0 56px;min-height:320px;background:var(--cream)}
body.expenses-ui[data-ui-page] .steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.expenses-ui[data-ui-page] .steps article {min-width:0;padding:24px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 4px 16px #081c4e04}
body.expenses-ui[data-ui-page] .steps article>span {display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f7f0df;color:#795718;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
body.expenses-ui[data-ui-page] .steps h2 {margin:16px 0 8px;font-size:18px}
body.expenses-ui[data-ui-page] .steps p {margin:0;color:var(--muted);font-size:14px;line-height:1.65}
body.expenses-ui[data-ui-page] .section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 16px}
body.expenses-ui[data-ui-page] .section-heading h2 {margin:0}
body.expenses-ui[data-ui-page] .kcc-metrics>.kcc-metric {background:#fff;border-color:var(--border);box-shadow:0 3px 14px #081c4e04;font-family:inherit}
body.expenses-ui[data-ui-page] .kcc-metric .kcc-metric-value {font-weight:700;color:var(--expense-navy)}
body.expenses-ui[data-ui-page] .archive-tabs {display:inline-flex;gap:4px;max-width:100%;padding:4px;margin-bottom:18px;border:1px solid var(--border);border-radius:13px;background:#e9edf2}
body.expenses-ui[data-ui-page] .archive-tabs button {min-width:110px;border:0;background:transparent;color:var(--muted)}
body.expenses-ui[data-ui-page] .archive-tabs button[aria-pressed=true] {background:#fff;color:var(--expense-navy);box-shadow:0 1px 4px #081c4e12}
body.expenses-ui[data-ui-page] :is(.filters,.field-row) {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px}
body.expenses-ui[data-ui-page] .filters {padding:18px;margin-bottom:18px;background:#fff;border:1px solid var(--border);border-radius:14px}
body.expenses-ui[data-ui-page] label {display:block;margin-bottom:16px;font-size:13px;font-weight:500}
body.expenses-ui[data-ui-page] .filters label {margin:0}
body.expenses-ui[data-ui-page] :is(input,select,textarea) {width:100%;min-width:0;min-height:46px;margin-top:8px;padding:11px 13px;border:1px solid #b9c3d2;border-radius:10px;background:#fff;color:#152342;font-size:16px;font-weight:400}
body.expenses-ui[data-ui-page] input::placeholder,body.expenses-ui[data-ui-page] textarea::placeholder {color:#647086;opacity:1}
body.expenses-ui[data-ui-page] textarea {resize:vertical;line-height:1.6}
body.expenses-ui[data-ui-page] input[type=checkbox] {width:20px;min-height:20px;margin:2px 0 0;flex:none;accent-color:var(--expense-navy)}
body.expenses-ui[data-ui-page] .check {display:flex;align-items:flex-start;gap:10px;line-height:1.7}
body.expenses-ui[data-ui-page] .hint {font-size:13px;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .status {border:1px solid #b6d0b9;border-radius:12px;background:#edf6ed;color:#215b37;padding:15px 17px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .status.error {border-color:#e7bcb5;background:#fff0ec;color:#a12c24}
body.expenses-ui[data-ui-page] .expense-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.expenses-ui[data-ui-page] .expense-card {min-width:0;padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 3px 14px #081c4e04}
body.expenses-ui[data-ui-page] .expense-card-top {display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
body.expenses-ui[data-ui-page] .expense-card-top>span {display:flex;flex-wrap:wrap;gap:6px;min-width:0}
body.expenses-ui[data-ui-page] .amount {font-size:23px;font-weight:700;letter-spacing:-.035em;white-space:nowrap;font-variant-numeric:tabular-nums}
body.expenses-ui[data-ui-page] .expense-card h3 {margin:16px 0 8px;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .expense-card p {font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
body.expenses-ui[data-ui-page] .expense-purpose {margin:8px 0}
body.expenses-ui[data-ui-page] .expense-meta {margin:8px 0 20px;color:var(--muted)}
body.expenses-ui[data-ui-page] .badge {display:inline-block;padding:6px 10px;border-radius:8px;background:#f7f0df;color:#795718;font-size:11px;font-weight:650}
body.expenses-ui[data-ui-page] .archive-badge {background:#eaf0f8;color:#264d84}
body.expenses-ui[data-ui-page] .expense-actions {display:flex;flex-wrap:wrap;gap:10px}
body.expenses-ui[data-ui-page] .expense-actions .payment-action {min-width:0;padding-inline:12px;font-size:13px}
body.expenses-ui[data-ui-page] .empty {grid-column:1/-1;padding:32px;border:1px dashed #b9c3d2;border-radius:15px;background:#fff;text-align:center}
body.expenses-ui[data-ui-page] .empty h3 {margin-top:0}
body.expenses-ui[data-ui-page] .empty p {font-size:14px;color:var(--muted)}
body.expenses-ui[data-ui-page] .text-button {padding:5px 8px;border:0;background:transparent;color:#244f8c;text-decoration:underline;text-underline-offset:3px}
body.expenses-ui[data-ui-page] dialog {width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--border);border-radius:20px;background:var(--cream);color:#152342;box-shadow:0 24px 80px #081c4e30;overscroll-behavior:contain}
body.expenses-ui[data-ui-page] dialog::backdrop {background:#08152f99}
body.expenses-ui[data-ui-page] .dialog-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
body.expenses-ui[data-ui-page] .dialog-heading h2 {margin:0;font-size:26px;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .dialog-heading .eyebrow {color:#795718;margin:0 0 8px}
body.expenses-ui[data-ui-page] .close {width:44px;min-width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#e8ecf1;color:#35425a;font-size:28px;font-weight:400;flex:none}
body.expenses-ui[data-ui-page] .dialog-intro {margin:0 0 24px}
body.expenses-ui[data-ui-page] .dialog-actions {display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
body.expenses-ui[data-ui-page] .form-field {min-width:0;margin-bottom:20px}
body.expenses-ui[data-ui-page] .form-field>label {margin:0 0 8px}
body.expenses-ui[data-ui-page] .form-field>:is(input,select,textarea) {margin-top:0}
body.expenses-ui[data-ui-page] .form-field>.hint {margin:8px 0 0}
body.expenses-ui[data-ui-page] #expense-dialog .field-row {grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}
body.expenses-ui[data-ui-page] .field-row .form-field {margin-bottom:0}
body.expenses-ui[data-ui-page] .receipt-picker {position:relative;border-radius:13px}
body.expenses-ui[data-ui-page] .receipt-picker input {position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;opacity:0;cursor:pointer}
body.expenses-ui[data-ui-page] .receipt-picker-label {display:grid;grid-template-columns:42px minmax(0,1fr) 20px;gap:14px;align-items:center;min-height:94px;padding:18px;margin:0;border:1px dashed #8194af;border-radius:13px;background:#fff;font-weight:400;cursor:pointer}
body.expenses-ui[data-ui-page] .receipt-picker-label small {display:block;margin-top:6px;color:var(--muted);font-size:12px}
body.expenses-ui[data-ui-page] .receipt-picker-icon {display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#eef2f8;color:#264d84;font-size:26px}
body.expenses-ui[data-ui-page] #expense-file-name {font-size:14px;line-height:1.5;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .receipt-picker:focus-within {outline:3px solid #3569b6;outline-offset:3px}
body.expenses-ui[data-ui-page] .expense-member-search {position:relative}
body.expenses-ui[data-ui-page] .expense-member-search input {margin-top:0}
body.expenses-ui[data-ui-page] .expense-member-search ul {position:relative;max-height:220px;overflow-y:auto;list-style:none;margin:6px 0 0;padding:4px;border:1px solid var(--border);border-radius:12px;background:#fff}
body.expenses-ui[data-ui-page] .expense-member-search button {width:100%;justify-content:flex-start;text-align:left;border:0;background:#fff;font-weight:500;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .expense-member-search button[aria-selected=true] {background:#eaf0f8}
body.expenses-ui[data-ui-page] .expense-member-search+.hint {margin:8px 0 18px}
html.expense-review-open {overflow:hidden;overscroll-behavior:none}
html.expense-review-open body.expenses-ui[data-ui-page] {position:fixed;top:var(--expense-page-top);left:0;right:0;width:100%;overflow:hidden}
body.expenses-ui[data-ui-page] #review-dialog {width:min(1100px,calc(100% - 32px));padding:0;min-width:0;overflow:hidden;overscroll-behavior:none}
body.expenses-ui[data-ui-page] #review-dialog[open] {display:flex;flex-direction:column}
body.expenses-ui[data-ui-page] .review-toolbar {flex:none;min-width:0;max-width:100%;padding:24px 26px 0;background:#f5f6f8}
body.expenses-ui[data-ui-page] .review-body {flex:1;min-width:0;min-height:0;width:100%;max-width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;touch-action:pan-y pinch-zoom;padding:0 26px 26px;scrollbar-gutter:stable}
body.expenses-ui[data-ui-page] .review-switch {display:none}
body.expenses-ui[data-ui-page] .review-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
body.expenses-ui[data-ui-page] #review-dialog :is(.review-columns,.review-columns>section,form,.field-row,.field-row>label) {min-width:0;max-width:100%}
body.expenses-ui[data-ui-page] #review-dialog :is(input,select,textarea):not([type=checkbox]) {max-width:100%}
body.expenses-ui[data-ui-page] #review-dialog h3 {margin:0 0 8px}
body.expenses-ui[data-ui-page] .purpose {white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}
body.expenses-ui[data-ui-page] .receipt img {width:100%;height:auto;max-height:640px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:10px}
body.expenses-ui[data-ui-page] .receipt iframe {width:100%;height:600px;border:1px solid var(--border);background:#fff;border-radius:10px}
body.expenses-ui[data-ui-page] .receipt-actions {display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
body.expenses-ui[data-ui-page] :is(.destination,.duplicate-list) {padding:14px;border:1px solid var(--border);border-radius:12px;margin:14px 0;background:#fff;font-size:14px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
body.expenses-ui[data-ui-page] .destination strong {display:block}
body.expenses-ui[data-ui-page] .duplicate-list {background:#fff1d9;border-color:#c5a66a}
body.expenses-ui[data-ui-page] .member-choice {width:100%;justify-content:flex-start;text-align:left;margin:8px 0;background:#fff;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .member-assignment {display:flex;align-items:center;gap:12px}
body.expenses-ui[data-ui-page] .member-assignment .destination {flex:1;min-width:0}
body.expenses-ui[data-ui-page] .member-assignment .text-button {flex:none}
body.expenses-ui[data-ui-page] #review-form .destination {margin:0}
body.expenses-ui[data-ui-page] #review-form :is(.member-assignment,#member-editor,#payment-destination,label[for=review-note]) {margin-bottom:20px}
body.expenses-ui[data-ui-page] .member-assignment:has(>#assigned-member[hidden]) {display:none}
body.expenses-ui[data-ui-page] #paid-summary {margin-bottom:16px}
body.expenses-ui[data-ui-page] .payment-form {border-top:1px solid var(--border);padding-top:20px;margin-top:24px}
body.expenses-ui[data-ui-page] .payment-form .field-row {grid-template-columns:repeat(2,minmax(0,1fr))}
body.expenses-ui[data-ui-page] #paid-date {display:block;width:100%;min-width:0;max-width:100%;min-inline-size:0;inline-size:100%;max-inline-size:100%;height:46px;padding:10px 12px;line-height:24px;-webkit-appearance:none;appearance:none}
body.expenses-ui[data-ui-page] #paid-date::-webkit-date-and-time-value {min-width:0;text-align:left}
body.expenses-ui[data-ui-page] #paid-date::-webkit-datetime-edit {min-width:0;padding:0}
body.expenses-ui[data-ui-page] .expense-options {margin-top:24px;border:1px solid var(--border);border-radius:12px;background:#fff}
body.expenses-ui[data-ui-page] .expense-options>summary {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 16px;color:#253453;font-size:14px;font-weight:600;list-style:none;cursor:pointer}
body.expenses-ui[data-ui-page] .expense-options>summary::-webkit-details-marker {display:none}
body.expenses-ui[data-ui-page] .expense-options>summary::after {content:'⌄';font-size:20px;line-height:1}
body.expenses-ui[data-ui-page] .expense-options[open]>summary {border-bottom:1px solid var(--border)}
body.expenses-ui[data-ui-page] .expense-options[open]>summary::after {content:'⌃'}
body.expenses-ui[data-ui-page] .expense-management {display:flex;flex-wrap:wrap;padding:12px;gap:10px}
body.expenses-ui[data-ui-page] .danger {color:#a12c24;border-color:#d4aaa4;background:#fff7f5}
body.expenses-ui[data-ui-page] .confirm-dialog {width:min(460px,calc(100% - 32px))}
body.expenses-ui[data-ui-page] .confirm-dialog p {font-size:14px;line-height:1.7;color:var(--muted)}
body.expenses-ui[data-ui-page] #expense-confirm-text {white-space:pre-line;overflow-wrap:anywhere}
body.expenses-ui[data-ui-page] .payment-qr {margin-block:16px 24px;padding:16px;border:1px solid var(--border);border-radius:12px;background:#fff;min-width:0}
body.expenses-ui[data-ui-page] .payment-qr img {display:block;width:min(240px,100%);height:auto;aspect-ratio:1;background:#fff;margin:16px auto 12px;image-rendering:pixelated}
body.expenses-ui[data-ui-page] .payment-qr .destination {white-space:pre-line;overflow-wrap:anywhere;font-size:13px}
body.expenses-ui[data-ui-page] .payment-qr .hint {margin-bottom:0}
body.expenses-ui[data-ui-page] .payment-copy-actions {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px;margin-top:12px}
body.expenses-ui[data-ui-page] .payment-copy-actions button {min-width:0;white-space:normal}
body.expenses-ui[data-ui-page] #payment-copy-status {margin-block:8px 16px}
body.expenses-ui[data-ui-page] #payment-image-download {width:100%;margin-top:12px;white-space:normal}
body.expenses-ui[data-ui-page] footer {padding-block:26px;color:var(--muted);font-size:12px}
@supports (backdrop-filter:blur(8px)) {
  body.expenses-ui[data-ui-page] dialog::backdrop {backdrop-filter:blur(8px)}
  body.expenses-ui[data-ui-page] .review-toolbar {background:#f5f6f8ed;backdrop-filter:blur(12px)}
}
@media(hover:hover) {
  body.expenses-ui[data-ui-page] .gold:hover:not(:disabled) {background:#e3bb6e;border-color:#e3bb6e}
  body.expenses-ui[data-ui-page] .secondary:hover:not(:disabled) {background:#eef2f8;border-color:#aab9cd}
  body.expenses-ui[data-ui-page] .outline:hover:not(:disabled) {background:#ffffff18}
  body.expenses-ui[data-ui-page] .text-button:hover {background:#eaf0f8}
  body.expenses-ui[data-ui-page] .expense-member-search button:hover {background:#eaf0f8}
  body.expenses-ui[data-ui-page] .receipt-picker:hover .receipt-picker-label {border-color:#3569b6;background:#f7faff}
}
@media(max-width:900px) {body.expenses-ui[data-ui-page] .review-columns {grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px) {
  body.expenses-ui[data-ui-page] .header .brand>span:last-child {display:none}
  body.expenses-ui[data-ui-page] .header-actions .outline {padding:10px;font-size:12px;white-space:nowrap}
}
@media(max-width:700px) {
  body.expenses-ui[data-ui-page] .wrap {width:calc(100% - 32px)}
  body.expenses-ui[data-ui-page] .header {min-height:78px;gap:10px}
  body.expenses-ui[data-ui-page] .brand-mark {width:44px;height:44px}
  body.expenses-ui[data-ui-page] .brand img {width:38px;height:auto}
  body.expenses-ui[data-ui-page] .hero {padding-block:30px 32px}
  body.expenses-ui[data-ui-page] .hero .eyebrow {padding-right:50px;font-size:10px}
  body.expenses-ui[data-ui-page] .expense-hero-icon {width:40px;height:40px;top:22px;border-radius:12px}
  body.expenses-ui[data-ui-page] .expense-hero-icon svg {width:23px;height:23px}
  body.expenses-ui[data-ui-page] .lead {font-size:15px;line-height:1.6;margin-bottom:20px}
  body.expenses-ui[data-ui-page] .content {padding-block:20px 40px}
  body.expenses-ui[data-ui-page] :is(.steps,.expense-list,.filters,.field-row) {grid-template-columns:minmax(0,1fr)}
  body.expenses-ui[data-ui-page] .steps {gap:12px}
  body.expenses-ui[data-ui-page] .steps article {display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 14px;padding:18px}
  body.expenses-ui[data-ui-page] .steps article>span {grid-row:1/3}
  body.expenses-ui[data-ui-page] .steps h2 {margin:0;font-size:16px}
  body.expenses-ui[data-ui-page] .steps p {grid-column:2;font-size:13px}
  body.expenses-ui[data-ui-page] .section-heading {margin-top:24px}
  body.expenses-ui[data-ui-page] .section-heading h2 {font-size:22px}
  body.expenses-ui[data-ui-page] #refresh {padding-inline:10px;font-size:12px}
  body.expenses-ui[data-ui-page] .archive-tabs {display:flex}
  body.expenses-ui[data-ui-page] .archive-tabs button {min-width:0;flex:1}
  body.expenses-ui[data-ui-page] .filters {gap:14px;padding:16px}
  body.expenses-ui[data-ui-page] .expense-card {padding:18px}
  body.expenses-ui[data-ui-page] .expense-actions>* {flex:1}
  body.expenses-ui[data-ui-page] .expense-actions .payment-action {font-size:12px;padding-inline:8px}
  body.expenses-ui[data-ui-page] dialog {padding:20px}
  body.expenses-ui[data-ui-page] .dialog-heading h2 {font-size:22px}
  body.expenses-ui[data-ui-page] .dialog-actions button {flex:1;min-width:0;padding-inline:10px}
  body.expenses-ui[data-ui-page] #expense-dialog {width:min(440px,calc(100% - 24px));max-height:min(70dvh,620px);padding:0 16px 16px;overflow-y:auto}
  body.expenses-ui[data-ui-page] #expense-dialog .dialog-heading {position:sticky;top:0;z-index:2;margin:0 -16px 16px;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--cream)}
  body.expenses-ui[data-ui-page] #expense-dialog .dialog-heading .eyebrow {margin-bottom:4px}
  body.expenses-ui[data-ui-page] #expense-dialog .field-row {grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}
  body.expenses-ui[data-ui-page] .receipt-picker-label {padding:14px;gap:10px}
  body.expenses-ui[data-ui-page] #review-dialog {position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  body.expenses-ui[data-ui-page] .review-toolbar {padding:calc(10px + env(safe-area-inset-top)) 16px 10px;border-bottom:1px solid var(--border)}
  body.expenses-ui[data-ui-page] .review-body {padding:0 16px calc(20px + env(safe-area-inset-bottom))}
  body.expenses-ui[data-ui-page] #review-dialog .dialog-heading {margin:0 0 8px}
  body.expenses-ui[data-ui-page] .review-switch {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:#e5eaf1}
  body.expenses-ui[data-ui-page] .review-switch button {border:0;background:transparent;color:#35425b}
  body.expenses-ui[data-ui-page] .review-switch button[aria-pressed=true] {background:#fff;color:var(--expense-navy);box-shadow:0 1px 4px #081c4e12}
  body.expenses-ui[data-ui-page] #review-meta {margin:14px 0 8px;font-weight:600}
  body.expenses-ui[data-ui-page] #review-purpose {margin:8px 0 20px}
  body.expenses-ui[data-ui-page] #review-dialog[data-mobile-panel=review] #review-receipt,
  body.expenses-ui[data-ui-page] #review-dialog[data-mobile-panel=receipt] #review-fields,
  body.expenses-ui[data-ui-page] #review-dialog[data-mobile-panel=receipt] #expense-options {display:none}
  body.expenses-ui[data-ui-page] .review-columns {display:block}
  body.expenses-ui[data-ui-page] .receipt iframe {height:55dvh}
  body.expenses-ui[data-ui-page] .receipt img {max-height:55dvh}
  body.expenses-ui[data-ui-page] .receipt-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.expenses-ui[data-ui-page] .receipt-actions a {padding-inline:8px;text-align:center}
  body.expenses-ui[data-ui-page] :is(#member-find,#review-save,#mark-paid) {width:100%}
  body.expenses-ui[data-ui-page] .expense-management {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.expenses-ui[data-ui-page] .payment-form .field-row {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px) {
  .pwa-standalone body.expenses-ui[data-ui-page][data-pwa-page=expenses-admin] .pwa-header-title {display:none}
  body.expenses-ui[data-ui-page] .amount {font-size:20px}
}
@media(max-width:430px) {body.expenses-ui[data-ui-page] .payment-copy-actions {grid-template-columns:minmax(0,1fr)}}
.pwa-standalone body.expenses-ui[data-ui-page] footer {display:none}
@media(prefers-reduced-motion:reduce) {
  body.expenses-ui[data-ui-page] :is(button,a,input,select,textarea) {transition:none}
}
