.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.journey-panel{padding:24px;border:1px solid #e8dde1;background:#fffdfd;border-radius:18px;margin-bottom:20px}.journey-panel h2{font-size:21px;margin:0 0 16px}.journey-row{width:100%;display:flex;align-items:center;gap:14px;justify-content:space-between;padding:14px 0;border:0;border-bottom:1px solid #eee5e7;background:transparent;text-align:left;color:inherit;text-decoration:none;font:inherit}.journey-row:hover{color:#8c3e53}.journey-row span:first-child{flex:1;min-width:0}.journey-row strong{display:block;font-weight:700}.journey-row small,.money-total small{display:block;color:#76676c;margin-top:5px;font-size:14px}.journey-row img{height:64px;width:64px;object-fit:cover;border-radius:10px}.journey-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.journey-row>span:last-child:not(:first-child){flex:0}.money-total{margin:12px 0 22px}.money-total strong{font-size:30px;font-weight:700;letter-spacing:-.8px}.journey-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:24px}.journey-toolbar label{flex:1;min-width:150px}.journey-value{display:flex;justify-content:space-between;gap:14px}.draft-row{display:flex;gap:18px;margin:24px 0;padding-bottom:24px;border-bottom:1px solid #e8dde1}.draft-row>img{width:100px;height:120px;object-fit:cover;border-radius:12px}.draft-row>.form-stack{flex:1;min-width:0}.record-evidence{max-height:230px;max-width:100%;object-fit:contain;display:block;margin:auto}.journey-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.home-problem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-panel .record-link span:last-child{flex:0}.journey-panel .record-link span:nth-child(2){flex:1}#capture-journey .modal-actions{position:sticky;bottom:-24px;padding:16px 0;background:#fffdfd}#playbook-strip{display:none!important}@media(max-width:700px){.journey-grid{grid-template-columns:1fr;gap:0}.journey-panel{padding:18px}.journey-toolbar{gap:10px}.draft-row{gap:12px}.draft-row>img{width:64px;height:84px}.home-problem-grid{grid-template-columns:1fr}.page-heading .heading-actions{flex-wrap:wrap}}

.expense-bar{width:100%;height:10px;accent-color:#8c3e53;margin-bottom:16px}.expense-bar.refund{accent-color:#526f95}

.chart-source{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 0;cursor:pointer;color:inherit;font:inherit}.chart-source:hover{color:#893e50}.chart-source:focus-visible{outline:2px solid #893e50;outline-offset:4px}.journey-panel>summary{cursor:pointer;font-weight:700;font-size:18px}.money-total small{display:block;margin-top:6px}

.chart-caption{font-size:14px;color:#76676c;margin:0 0 14px}.expense-track{display:block;background:#f3ecee;height:9px;border-radius:5px;overflow:hidden;margin:10px 0}.expense-track i{display:block;height:100%;width:var(--bar-size);background:var(--chart-color);border-radius:5px}.expense-columns{display:flex;gap:8px;overflow-x:auto;padding-top:10px}.chart-column{min-width:80px;flex:1;border:0;background:none;padding:8px 0;text-align:center;font:inherit;font-size:12px;color:inherit;cursor:pointer;display:flex;flex-direction:column;gap:0}.chart-column strong{margin-bottom:12px}.chart-column>span:last-child{margin-top:10px}.column-positive,.column-negative{height:130px;display:flex;justify-content:center;align-items:flex-end;flex-shrink:0;border-bottom:1px solid #d9ced2}.column-negative{align-items:flex-start;border:0;border-top:1px solid #d9ced2}.column-positive i,.column-negative i{display:block;width:32px;height:var(--bar-size);border-radius:5px;background:var(--chart-color)}.chart-column:focus-visible{outline:2px solid #893e50;outline-offset:-2px;border-radius:8px}.chart-column:hover{background:#f6e9ec}.journey-value span{overflow-wrap:anywhere}.journey-value b{flex-shrink:0;font-variant-numeric:tabular-nums}#journey-metrics>.journey-grid:first-child>.journey-panel:first-child{background:#422d38;color:white}#journey-metrics>.journey-grid:first-child>.journey-panel:first-child small,#journey-metrics>.journey-grid:first-child>.journey-panel:first-child .fineprint{color:#eddae0}#journey-metrics>.journey-grid:first-child>.journey-panel:first-child .text-button{color:#f2bfcd}
.expense-currencies{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:20px;margin:12px 0}.expense-currencies .money-total{margin:0}.expense-currencies .money-total strong{font-size:26px}.expense-currencies .money-total small{line-height:1.5}#journey-metrics>.journey-grid:first-child .fineprint{margin-bottom:0}

.company-receipt-preview{max-width:100%;max-height:480px;object-fit:contain}

/* Company tasks and report lists use the workspace spacing rhythm. */
#company-root .button-row{display:flex;flex-wrap:wrap;gap:10px}
#company-root>.button-row{margin-block:24px}
#company-root>.account-section{margin-top:24px}
#company-root .account-section>.account-section{margin-top:18px}
/* Expenses: compact accounting surfaces with stable populated and empty layouts. */
.expense-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:28px}.expense-filters label{display:grid;gap:7px;font-size:13px;color:#666975}.expense-filters input,.expense-filters select{min-height:42px;max-width:200px}.expense-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:0 0 24px}.expense-stat{display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #e9e3e6;border-radius:16px;padding:24px;color:#2c3038;text-decoration:none}.expense-stat>strong{font-size:clamp(25px,3vw,38px);letter-spacing:-1px;line-height:1.2}.expense-stat small,.expense-stat span{color:#72757e;font-size:13px}.review-stat{background:#f8eef1}.review-stat>strong{color:#893e50}.expense-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.expense-panel{background:#fff;border:1px solid #e9e3e6;border-radius:16px;padding:24px;margin-bottom:24px;min-width:0}.expense-panel h2{font-size:19px;margin:0 0 20px}.expense-chart-grid .expense-panel{margin-bottom:0}.expense-chart-grid{margin-bottom:24px}.expense-bar{display:block;width:100%;border:0;padding:12px 0;background:none;text-align:left;cursor:pointer}.expense-bar>span{display:flex;justify-content:space-between;gap:16px;font-size:14px}.expense-bar strong{white-space:nowrap;font-variant-numeric:tabular-nums}.expense-bar meter{appearance:none;width:100%;height:10px;display:block;margin-top:10px;border:0;border-radius:8px;background:#f3eef0}.expense-bar meter::-webkit-meter-bar{background:#f3eef0;border:0;border-radius:8px}.expense-bar meter::-webkit-meter-optimum-value{background:#893e50;border-radius:8px}.expense-bar:nth-of-type(4n+2) meter::-webkit-meter-optimum-value{background:#687b9b}.expense-bar:nth-of-type(4n+3) meter::-webkit-meter-optimum-value{background:#557a71}.expense-bar:nth-of-type(4n+4) meter::-webkit-meter-optimum-value{background:#ad7b53}.expense-bar meter::-moz-meter-bar{background:#893e50}.empty-expense-chart{height:172px;display:flex;flex-direction:column;justify-content:space-between;color:#85848b;font-size:13px}.empty-expense-chart span{padding:12px 0}.empty-expense-chart i{height:1px;background:#eee9ec}.empty-expense-chart small{font-variant-numeric:tabular-nums}.ledger-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.ledger-controls label{font-size:13px;display:flex;align-items:center;gap:12px}.ledger-controls small{white-space:nowrap;color:#72757e}.expense-table-scroll{overflow:auto;max-width:100%}.expense-ledger{width:100%;border-collapse:collapse;font-size:13px;min-width:800px}.expense-ledger th{font-weight:600;color:#6e6d76;text-align:left;background:#faf7f8}.expense-ledger td,.expense-ledger th{padding:14px 12px;border-bottom:1px solid #eee8eb;vertical-align:middle}.expense-ledger .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.expense-ledger tfoot th,.expense-ledger tfoot td{background:#faf7f8;font-weight:700}.receipt-title{display:flex;gap:10px;align-items:center;text-align:left;background:none;border:0;padding:0;color:#2c3038;cursor:pointer;min-width:160px;max-width:260px;font:inherit;font-weight:600}.receipt-title img{width:34px;height:42px;border:1px solid #eee;border-radius:5px;object-fit:cover}.receipt-title small{display:block;font-weight:400;color:#797781;margin-top:4px}.receipt-expanded>td{background:#fcfafb;padding:20px 26px}.receipt-lines{margin:16px 0 24px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-title h3{font-size:16px;margin:12px 0}.receipt-item{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #ece7ea}.receipt-item>div:first-child{flex:1;min-width:0}.receipt-item strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.receipt-item small{display:block;font-size:12px;color:#7a7680;margin-top:4px}.receipt-item>b{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.include-control{display:flex;align-items:center;gap:6px;font-size:12px;min-width:88px}.include-control input{accent-color:#893e50;width:18px;height:18px;margin:0}.personal-line{color:#996979}.receipt-totals{max-width:360px;margin:18px 0 18px auto;font-size:14px}.receipt-totals>div{display:flex;justify-content:space-between;gap:20px;padding:6px 0}.receipt-totals dd{margin:0;font-variant-numeric:tabular-nums}.receipt-grand-total{border-top:1px solid #d9cdd2;margin-top:8px;padding-top:14px!important;font-weight:750;font-size:17px}.allocation-actions{padding:16px;background:#f7eef1;border-radius:12px}.allocation-actions label{display:flex;align-items:center;gap:10px;font-size:13px}.allocation-actions input{width:18px;height:18px;accent-color:#893e50}.insight-stories{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:28px}.insight-story h3{margin:12px 0;font-size:19px;line-height:1.35}.insight-story p{font-size:14px;line-height:1.7;color:#6e6d76}.insight-story .eyebrow{font-size:11px;color:#893e50;letter-spacing:1.5px}.savings-scenario{margin-top:18px;padding:16px;background:#f7f2f4;border-radius:12px}.savings-scenario label{font-size:13px}.savings-scenario select{width:auto;padding:5px;display:inline;min-height:32px}.savings-scenario strong{display:block;font-size:26px;color:#893e50;margin-top:12px}.savings-scenario small{display:block;color:#7a7680;font-size:11px;margin-top:7px}.expense-source-modal{max-width:1100px;width:95vw}.totals-method{margin-top:24px;color:#77747d;font-size:13px}.table-empty{text-align:center!important;height:150px;color:#7a7680}.profile-photo{display:flex;align-items:center;gap:18px;margin:20px 0}.user-photo{border-radius:50%;object-fit:cover;background:#f4e8ec}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-photo .avatar{width:72px;height:72px;font-size:24px}.profile-photo-actions{display:flex;flex-wrap:wrap;gap:10px}.receipt-item-list:empty{display:none}
@media(max-width:700px){.expense-chart-grid{grid-template-columns:1fr;gap:16px}.expense-panel{padding:18px;margin-bottom:18px}.expense-stats{gap:12px}.expense-stat{padding:18px}.expense-filters{gap:12px}.expense-filters label{flex:1;min-width:130px}.expense-filters input,.expense-filters select{max-width:100%;width:100%}.receipt-item{gap:10px;flex-wrap:wrap}.include-control{margin-left:auto}.ledger-controls{align-items:start}.ledger-controls label{display:grid;gap:5px}.ledger-controls input{max-width:200px}.insight-stories{grid-template-columns:1fr}.receipt-expanded>td{padding:12px}.receipt-totals{max-width:100%}}

.workspace .expense-bar{padding:12px 0;min-height:66px}.workspace .receipt-lines .include-control{display:flex;align-items:center;gap:6px;font-size:12px}.workspace .receipt-lines .include-control input{width:18px;min-height:18px;height:18px;margin:0}.receipt-edit{margin-top:24px;border-top:1px solid #eee3e8;padding-top:18px}.receipt-edit>summary{cursor:pointer;font-weight:650;color:#893e50;margin-bottom:20px}.receipt-edit .form-stack{gap:18px}.receipt-edit .journey-fields{gap:18px}

.workspace .savings-scenario select{display:inline-block;width:auto;min-height:32px;padding:5px}
