/* Picasify identity. Loaded after the legacy layout styles on every surface.
   Avenir typography, burgundy actions, blush emphasis, quiet white work areas. */
:root, .marketing {
  --font-sans: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --blue: #893e50;
  --blue-dark: #642c3c;
  --ink: #2c3038;
  --muted: #666b76;
  --line: #e2e3e8;
  --line-strong: #c9c9d1;
  --canvas: #f6f6f8;
  --paper: #fffdfd;
  --soft-blue: #f6e9ec;
  --mint: #e9f5ef;
  --green: #28704e;
  --red: #b33246;
  --chart-primary: #893e50;
  --chart-uploaded: #c496a5;
  --chart-slate: #667b91;
  --chart-plum: #82728f;
  --chart-gold: #aa8550;
  --radius: 12px;
  --blue-grad: #893e50;
  --ink-grad: #422b36;
  --shadow-dialog: 0 24px 80px #30233133;
  font-family: var(--font-sans);
  color: var(--ink);
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, .marketing h1, .marketing h2, .marketing h3, .marketing .hero-lead {
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -.045em;
}
::selection, .marketing ::selection { color: #fff; background: var(--blue); }
:is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #ac6879; outline-offset: 4px; }
.button, .marketing .button {
  border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff;
  box-shadow: none; font-weight: 600; transition: background .16s, border-color .16s;
}
.button:hover, .marketing .button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; box-shadow: none; transform: none; filter: none; }
.button.secondary, .marketing .button.secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.button.secondary:hover, .marketing .button.secondary:hover { background: var(--soft-blue); border-color: var(--blue); color: var(--blue-dark); }
.button.danger { background: var(--red); border-color: var(--red); }
.button.danger-outline { background: #fff; color: var(--red); border-color: #e9bfc7; }
.icon-button { border-radius: 8px; }
input, select, textarea { border-radius: 8px; border-color: var(--line-strong); background: #fff; }
input::placeholder, textarea::placeholder { color: #777d88; }
.status, .tier-badge, .notice, .form-error { border-radius: 6px; }
.modal, .image-dialog { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-dialog); }
.modal::backdrop, .image-dialog::backdrop { background: #28222a99; backdrop-filter: blur(3px); }
.modal-head h2 { letter-spacing: -.035em; }
.modal .form-stack { gap: 20px; }

/* Public pages: one restrained visual language, without animated decoration. */
.marketing { background: var(--paper); }
.marketing .page-width { max-width: 1240px; }
.marketing .site-header {
  background: #fffdfdf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
  padding: 16px max(32px, calc((100% - 1240px) / 2 + 40px)); gap: 24px;
}
.marketing .site-header .desktop-navigation { gap: 2px; margin-left: auto; }
.marketing .site-header nav a { font-size: 12px; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.marketing .header-actions { gap: 14px; }
.marketing .header-actions .button-secondary-link { border: 0; padding: 8px 0; background: transparent; border-radius: 0; }
.marketing .text-link:after { content: none; }
.marketing .release-note {
  padding: 0; margin-bottom: 22px; border: 0; background: transparent; border-radius: 0;
  font: 600 13px/1.5 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--blue);
}
.marketing .release-note .dot { animation: none; box-shadow: none; }
.marketing .hero-copy > *, .marketing .pipeline-demo { animation: none !important; }
html.jsr .marketing .rv, html.jsr .marketing .in { opacity: 1; transform: none; transition: none; }
.brand-hero-band { background: #f7edef; border-bottom: 1px solid #eadcE1; }
.marketing .home-hero { grid-template-columns: 1.12fr 1fr; gap: 72px; padding-top: 70px; padding-bottom: 76px; align-items: center; }
.marketing .home-hero h1 { font-size: clamp(44px, 4.7vw, 64px); line-height: 1.05; letter-spacing: -.055em; max-width: 590px; color: var(--ink); }
.home-intro { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--blue-dark); margin-bottom: 25px; }
.home-intro .ui-icon { width: 19px; height: 19px; }
.marketing .hero-lead { font-family: var(--font-sans); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.8; color: #62606c; max-width: 490px; margin-top: 24px; }
.marketing .hero h1 em, .marketing .grad-text { font-style: normal; color: inherit; background: none; }
.marketing .hero-actions { gap: 24px; margin: 28px 0 0; }
.marketing .hero .fineprint { margin: 18px 0 0; padding: 0; border: 0; color: #6f6570; font-size: 12px; }
.mobile-app-preview { margin-top: 28px; }
.mobile-app-preview > p { margin: 0 0 10px; color: #756c76; font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge:disabled { display: inline-flex; align-items: center; gap: 10px; min-width: 148px; padding: 10px 14px; border: 1px solid #d9cfd4; border-radius: 8px; background: #f9f4f6; color: #716873; font-family: var(--font-sans); text-align: left; opacity: 1; cursor: not-allowed; box-shadow: none; }
.store-badge img { flex: 0 0 24px; width: 24px; height: 24px; opacity: .5; }
.store-badge span { display: grid; gap: 2px; }
.store-badge small { font-size: 10px; line-height: 1.2; }
.store-badge strong { font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
@media (max-width: 360px) {
  .store-badges { gap: 8px; }
  .store-badge:disabled { min-width: 0; padding: 10px; gap: 8px; }
  .store-badge strong { font-size: 15px; }
}
.marketing .fn-section { padding-top: 48px; padding-bottom: 32px; }
.marketing .fn-card { border-radius: 12px; border: 1px solid var(--line); padding: 28px; background: #fff; box-shadow: none; }
.marketing .problem-card { display: grid; grid-template-columns: 1fr; align-content: start; position: relative; }
.marketing .problem-card:hover { border-color: #b8788b; background: #fffafb; }
.marketing :is(.fn-card, .price-card, .usecase-card, .tier-card, .pipe-output, .value-problems article, .audience-more .step-example, .audience-strip a):hover { transform: none; }
.problem-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 20px; }
.problem-symbol svg { width: 23px; height: 23px; fill: none; stroke: currentColor; }
.money-symbol { background: #f5e7ea; color: #8a3c51; }
.things-symbol { background: #eaeaf4; color: #595575; }
.readings-symbol { background: #e9f0f2; color: #456974; }
.marketing .problem-card .release-note { justify-content: flex-start; justify-self: start; text-align: left; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.marketing .problem-card .dot { display: none; }
.marketing .problem-card h2 { font-size: 24px; line-height: 1.22; margin: 0 0 14px; letter-spacing: -.035em; }
.marketing .problem-card > p:last-child { font-size: 13px; line-height: 1.8; }
.marketing .home-closing-lines { padding-top: 16px; padding-bottom: 56px; }
.home-closing-lines .home-portability { max-width: 850px; margin-inline: auto; font-size: 14px; line-height: 1.8; }
#project-status:not(.shared) { color: var(--muted); background: #efedf1; }
.marketing .note-rows p { font-family: var(--font-sans); }
.marketing .note-rows p:first-child { color: var(--ink); }
.marketing .hero:not(.home-hero) { padding-top: 60px; padding-bottom: 64px; }
.marketing .hero:not(.home-hero) h1 { font-size: clamp(38px, 4.5vw, 58px); }
.marketing .hero-description { color: var(--muted); font-size: 16px; }
.marketing .problem-hero-band .hero { grid-template-columns: 1.3fr .7fr; }
.problem-preview { padding: 36px; border-left: 1px solid #dcc5ce; color: var(--blue-dark); }
.problem-preview > svg { width: 64px; height: 64px; margin-bottom: 24px; }
.problem-preview p { font-size: 13px; margin-bottom: 10px; }
.problem-preview strong { display: block; font-size: 23px; line-height: 1.35; letter-spacing: -.03em; }
.problem-preview span { display: block; font-size: 12px; color: #76616b; margin-top: 16px; }
.problem-content-section { padding-top: 48px; }
.problem-content-section .usecase-tier-head { margin-bottom: 22px; }
.problem-content-section .usecase-tier-head h2 { font-size: 30px; }
.marketing .problem-list { max-width: 900px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 32px; }
.marketing .problem-list li:before { color: var(--blue); }
.marketing .problem-copy { max-width: 850px; font-size: 15px; }
.marketing .closing-cta { background: #f7edef; border: 1px solid #eadce1; box-shadow: none; border-radius: 16px; color: var(--ink); margin-top: 52px; margin-bottom: 64px; }
.marketing .closing-cta h2 { color: var(--ink); }
.marketing .closing-cta p, .marketing .closing-cta > span { color: var(--muted); }
.marketing .closing-cta:before, .marketing .closing-cta:after { display: none; }
.marketing .site-footer { background: #fffdfd; border-top: 1px solid var(--line); padding-top: 48px; }
.marketing .footer-brand p { font: 500 18px/1.5 var(--font-sans); letter-spacing: -.02em; }
.marketing .site-footer nav h2 { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 13px; }
.marketing .site-footer a:not(.brand) { font-size: 12px; }
.marketing .footer-bottom { border-top-color: var(--line); }
.marketing .feature-index, .marketing .audience-project, .marketing .field-record, .marketing .export-contents, .marketing .usecase-card { border-radius: 12px; box-shadow: none; }
.marketing .feature-index { background: #fff; border-color: #dfd2d8; }
.marketing .detail-art { border-radius: 12px; background: #f1eaec; }
.marketing .ocr-note { border-radius: 8px; border-color: var(--line); box-shadow: 0 8px 24px #3a263414; }
.marketing .price-card { border-radius: 14px; box-shadow: none; border-color: var(--line); background: #fff; }
.marketing .corporate-price-card { background: #f7edef; border: 1px solid #bc8293; }
.marketing .price-card h2, .marketing .price { font-family: var(--font-sans); color: var(--ink); }
.marketing .price-card .price { font-size: 38px; letter-spacing: -.04em; }
.marketing .price-card .price-from { font-size: 30px; }
.marketing .pilot-block { border: 1px solid #e7d4dc; background: #f7edef; border-radius: 14px; }
.marketing .plan-matrix { border-radius: 12px; }
.marketing .plan-matrix th, .marketing .plan-matrix td { border-color: var(--line); }
.marketing .plan-matrix .matrix-corporate { background: #faf2f5; }
.marketing .plan-matrix thead th { background: #f0edf0; }
.marketing .trial-intro, .marketing .privacy-band { background: var(--soft-blue); border-radius: 12px; border-color: #e5d4da; }
.marketing .request-card { border-radius: 16px; padding: 36px; box-shadow: 0 12px 40px #442d3710; }
.marketing .example-label, .marketing .example-tag, .marketing .product-shot figcaption { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; }

/* Signed-in work: dark navigation, calm canvas, legible data. */
.workspace-page { background: var(--canvas); }
.workspace-page .sidebar { width: 238px; padding: 26px 16px 18px; background: #422d38; border-right: 0; overflow-y: auto; color: #fff; }
.sidebar > .brand { margin: 0 10px 22px; }
.sidebar .brand-wordmark { filter: brightness(0) invert(1); width: 150px; }
.sidebar nav { gap: 4px; margin-top: 8px; }
.sidebar .nav-item { min-height: 42px; padding: 10px 13px; border-radius: 7px; color: #e1cfd8; font-size: 13px; font-weight: 500; gap: 12px; }
.sidebar .nav-item:hover { color: #fff; background: #ffffff0c; }
.sidebar .nav-item.selected { color: #fff; background: #ffffff15; box-shadow: inset 3px 0 #e9b5c5; font-weight: 650; }
.sidebar .nav-icon { color: inherit; width: 19px; height: 19px; opacity: .9; }
.sidebar .nav-item.selected .nav-icon { color: #f0cfda; }
.sidebar .nav-section-label { margin: 18px 13px 6px; color: #c8acb9; font-size: 11px; font-weight: 500; }
.sidebar .recent-label { color: #c8acb9; margin: 28px 13px 8px; font-size: 11px; }
.sidebar .recent-projects a { color: #e1cfd8; border-radius: 6px; }
.sidebar .recent-projects a:before { color: #c8acb9; }
.sidebar .recent-projects a:hover { background: #ffffff0c; color: #fff; }
.sidebar-bottom { padding: 28px 10px 0; }
.sidebar .storage-caption { color: #e8dce1; font-size: 10px; }
.sidebar .storage-caption span:last-child { color: #c8acb9; }
.sidebar progress, .sidebar progress::-webkit-progress-bar { background: #6c515e; border-radius: 9px; }
.sidebar progress::-webkit-progress-value { background: #e9b5c5; }
.sidebar progress::-moz-progress-bar { background: #e9b5c5; }
.sidebar .text-link, .sidebar .sidebar-help { color: #e8dce1; }
.sidebar .sidebar-help { border-color: #6c515e; margin-top: 22px; font-size: 11px; }
.workspace-page .workspace-main { margin-left: 238px; }
.workspace-header { background: #ffffffed; border-bottom: 1px solid var(--line); height: 76px; padding: 0 38px; }
.breadcrumb { font-size: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb > span:last-child { color: var(--ink); font-weight: 600; }
.user-menu .avatar { background: #f0dfe5; color: #76344a; border: 1px solid #e2c7d1; }
.workspace-content { padding: 36px 38px 52px; }
.page-heading { align-items: center; margin-bottom: 28px; gap: 24px; }
.page-heading h1, .workspace-page h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; }
.page-heading p { font-size: 13px; line-height: 1.65; max-width: 720px; margin-top: 8px; color: var(--muted); }
.page-heading .heading-actions { gap: 10px; }
.toolbar { gap: 16px; }
.search-box { border-radius: 8px; border-color: var(--line-strong); background: #fff; }
.tabs { gap: 4px; background: #ecebf0; border-radius: 8px; }
.tab { border-radius: 6px; font-weight: 600; padding: 9px 14px; min-height: 38px; }
.tab.active { background: var(--soft-blue); color: var(--blue-dark); }
.tab:hover:not(.active) { background: #eeedf1; }
.project-card, .asset-card { border-radius: 12px; border-color: var(--line); box-shadow: 0 2px 4px #28222a03; }
.project-card:hover, .asset-card:hover { transform: none; border-color: #b8788b; box-shadow: 0 5px 18px #422b3609; }
.project-card-body { padding: 20px; }
.project-card h2 { font-size: 18px; }
.project-card p { font-size: 12px; }
.project-card-footer { font-size: 11px; }
.asset-card-text { padding: 14px; }
.asset-card strong { font-size: 12px; }
.asset-card small { font-size: 11px; }
.insight-cards.kpi-row { gap: 16px; margin-bottom: 24px; }
.insight-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; position: relative; }
.insight-card:before { content: ''; display: block; width: 24px; height: 3px; background: #bc8293; border-radius: 2px; margin-bottom: 16px; }
.insight-card strong { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--ink); }
.insight-card > span { font-size: 12px; display: block; margin-top: 7px; }
.insight-card em.kpi-delta { font-size: 11px; margin-top: 10px; }
.insight-card .kpi-delta { color: var(--muted); font-weight: 500; }
.insight-grid { gap: 20px; }
.insight-panel { border: 1px solid var(--line); border-radius: 12px; padding: 24px; min-width: 0; overflow-x: auto; }
.insight-panel h2 { font-size: 18px; letter-spacing: -.025em; }
.insight-panel > p { margin-top: 6px; }
.insight-panel table { font-size: 13px; }
.insight-panel th, .data-table th, .inventory-table th { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--muted); background: #f7f7f9; font-weight: 600; }
.insight-panel td, .insight-panel th { padding: 12px 9px; border-color: #ecebf0; }
.insight-panel tbody tr:hover, .inventory-table tbody tr:hover { background: #fdf8fa; }
.chart-box { margin-top: 20px; }
.chart-box svg { max-height: 240px; }
.chart-uploaded { fill: var(--chart-uploaded); }
.chart-processed { fill: var(--chart-primary); }
.chart-axis { font: 11px var(--font-sans); }
.chart-gridline { stroke-dasharray: 3 5; }
.chart-box svg text { fill: var(--muted); }
.chart-box svg line { stroke: var(--line); }
.dotkey.light { background: var(--chart-uploaded); }
.dotkey.dark { background: var(--chart-primary); }
.chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.chart-legend .dotkey.dark { margin-left: 14px; }
.hbar-track { background: #f0edf1; border-radius: 4px; height: 9px; }
.hbar-fill, .hbar-fill.p0 { background: var(--chart-primary); border-radius: 4px; transition: none; }
.hbar-fill.p1 { background: var(--chart-slate); }
.hbar-fill.p2 { background: var(--chart-uploaded); }
.hbar-fill.p3 { background: var(--chart-plum); }
.hbar-fill.p4 { background: var(--chart-gold); }
.hbar-fill.fill-red { background: var(--red); }
.hbar-fill.fill-warning { background: #b27a2d; }
.hbar-fill.fill-ok { background: var(--green); }
.hbar-fill.fill-progress { background: var(--chart-slate); }
.hbar-value { font-variant-numeric: tabular-nums; color: var(--ink); }
.insight-card:nth-child(2):before { background: var(--chart-slate); }
.insight-card:nth-child(3):before { background: var(--chart-plum); }
.insight-card:nth-child(4):before { background: var(--chart-gold); }
.notice:not(.error):not(.success) { background: #f2edf3; border-color: #e2d8e4; color: #685967; }
.playbook-strip { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.pb-type, .pb-card { border: 0; background: transparent; padding: 10px 14px; }
.pb-type { background: var(--soft-blue); }
.pb-type code { font-family: var(--font-sans); color: var(--blue-dark); }
.pb-card small { text-transform: none; letter-spacing: 0; }
.xchip { background: var(--soft-blue); border-color: #e3cbd4; }
.xchip small { color: #7b5965; }
.xchip code { color: var(--blue-dark); }
.xchip.flag { background: #fff1e4; border-color: #e8cfb5; }
.xchip.flag code { color: #915c23; }
.item-cat, .item-research { color: var(--blue-dark); background: var(--soft-blue); border-color: #e3cbd4; }
.item-research:hover { background: #eed8df; color: var(--blue-dark); border-color: #bc8293; }
.raw-data summary:hover, .chip-more, .chip-more:hover { color: var(--blue); }
.account-section, .panel-narrow, .upload-queue, .item-card, .risk-row, .wo-card, .export-row { border-color: var(--line); border-radius: 12px; }
.account-section { background: #fff; }
.inv-logo, .inv-fit, .inv-badge, .inv-records-btn, .inv-tree details { border-radius: 6px; }
.inv-detail-row > td { background: #f8f6f9; }
.empty-state { background: #fff; border: 1px dashed #d8c6cf; border-radius: 12px; }
.empty-state h2 { font-size: 24px; }
.empty-state p { font-size: 14px; }
.workspace-page .workspace-footer { color: var(--muted); }



@media (min-width: 761px) and (max-width: 1100px) {
  .marketing .site-header .desktop-navigation { display: none; }
  .marketing .site-header > .mobile-menu { display: block; }
  .marketing .site-header .brand { margin-right: auto; }
  .marketing .mobile-menu summary { display: grid; place-items: center; width: 38px; height: 38px; cursor: pointer; list-style: none; }
  .marketing .mobile-menu summary svg { width: 23px; height: 23px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
  .marketing .mobile-menu nav { display: flex; position: absolute; top: 72px; right: 24px; width: 280px; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-dialog); margin: 0; }
  .marketing .mobile-menu nav a { padding: 12px; }
  .marketing .home-hero { gap: 36px; }
}
@media (max-width: 900px) {
  .marketing .home-problem-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .marketing .problem-card { padding: 22px; }
  .marketing .problem-card h2 { font-size: 21px; }
  .workspace-content { padding: 28px 24px 40px; }
}
@media (max-width: 760px) {
  .marketing .site-header { padding: 12px 20px; gap: 12px; }
  .marketing .header-actions .button { min-height: 38px; font-size: 11px; padding: 8px 13px; }
  .marketing .home-hero { grid-template-columns: 1fr; gap: 30px; padding: 38px 24px 40px; }
  .marketing .home-hero h1 { font-size: clamp(38px, 8.8vw, 52px); max-width: 560px; }
  .home-intro { font-size: 12px; margin-bottom: 20px; }
  .marketing .hero-lead { font-size: 14px; margin-top: 18px; max-width: 560px; }
  .marketing .hero-actions { margin-top: 22px; gap: 18px; }
  .marketing .hero-actions .button { min-height: 46px; font-size: 13px; padding: 12px 18px; }
  .marketing .hero-actions .text-link { font-size: 12px; }
  .marketing .hero .fineprint { font-size: 11px; margin-top: 16px; }
  .marketing .fn-section { padding-top: 26px; padding-bottom: 20px; }
  .marketing .home-problem-grid { grid-template-columns: 1fr; gap: 14px; }
  .marketing .problem-card { padding: 24px; grid-template-columns: 42px 1fr; column-gap: 16px; }
  .problem-symbol { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; }
  .marketing .problem-card .release-note { grid-column: 2; margin-bottom: 6px; }
  .marketing .problem-card h2 { grid-column: 2; font-size: 22px; margin-bottom: 12px; }
  .marketing .problem-card > p:last-child { grid-column: 1 / -1; font-size: 13px; }
  .marketing .home-closing-lines { padding-top: 4px; padding-bottom: 32px; }
  .marketing .hero:not(.home-hero) { padding-top: 36px; padding-bottom: 40px; grid-template-columns: 1fr; }
  .marketing .hero:not(.home-hero) h1 { font-size: 38px; }
  .problem-preview { display: none; }
  .marketing .problem-list { grid-template-columns: 1fr; }
  .problem-content-section { padding-top: 34px; }
  .problem-content-section .usecase-tier-head h2 { font-size: 26px; }
  .marketing .closing-cta { margin: 36px 20px 44px; padding: 36px 24px; }
  .marketing .site-footer { padding-top: 32px; }
  .marketing .request-card { padding: 26px; }
  .marketing .request-card h1 { font-size: 29px; }
  .workspace-page .sidebar { top: 64px; width: 250px; padding-top: 14px; }
  .workspace-page .workspace-main { margin-left: 0; }
  .workspace-header { height: 64px; padding: 0 16px; }
  .workspace-content { padding: 26px 18px 40px; }
  .page-heading h1, .workspace-page h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; }
  .insight-cards.kpi-row { gap: 12px; }
  .insight-card { padding: 18px; }
  .insight-card strong { font-size: 29px; }
  .column-chart .chart-axis { font-size: 14px; }
  .insight-card:before { margin-bottom: 12px; }
  .insight-panel { padding: 20px; }
  .project-card-body { padding: 14px; }
  .project-card h2 { font-size: 15px; }
  .asset-card-text { padding: 11px; }
  .modal-work { padding: 24px; width: calc(100vw - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Mobile controls avoid iOS input zoom and provide comfortable tap targets. */
.sidebar-scrim { display: none; }
@media (max-width: 760px) {
  input, select, textarea, .search-box input, .modal-work .form-stack input { font-size: 16px; }
  .sidebar .nav-item, .tab, .button, .marketing .header-actions .button { min-height: 44px; }
  .icon-button, .marketing .mobile-menu summary { min-width: 44px; min-height: 44px; }
  .sidebar-scrim:not([hidden]) { display: block; position: fixed; inset: 64px 0 0; border: 0; background: #28222a66; z-index: 29; cursor: pointer; }
  .workspace-content .toolbar { min-width: 0; }
  .toolbar .tabs { max-width: 100%; }
  .heading-actions { flex-wrap: wrap; }
  .heading-actions .button { white-space: normal; }
  .marketing .site-header { gap: 8px; padding: 10px 16px; }
}

@media (max-width: 760px) { body.navigation-open { overflow: hidden; } }

/* Hidden radio controls must not inherit full-width text-field geometry. */
.type-option { position: relative; min-width: 0; }
.type-option input[type=radio] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; inset: 0; clip-path: inset(50%); overflow: hidden; }
.type-option > span { border-radius: 8px; }
.type-option input:focus-visible + span { outline-color: #ac6879; }
.modal { max-height: calc(100dvh - 28px); overflow-y: auto; }
.marketing .mobile-menu nav a { min-height: 44px; display: flex; align-items: center; }
.marketing .mobile-menu nav .mobile-request, .marketing .mobile-menu nav .mobile-login { justify-content: center; }

.sidebar .nav-owner { border-top-color: #735765; border-radius: 0; margin-top: 12px; }
@media (max-width: 760px) {
  .sidebar-scrim:not([hidden]) { left: 250px; }
}

/* Homepage: the promise has its own space; imagery belongs to each problem. */
.home-section-title { font-size: 32px; line-height: 1.2; margin-bottom: 26px; }
.problem-example-section { padding-top: 48px; padding-bottom: 16px; }
.problem-example { display: grid; grid-template-columns: 1fr 1.08fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.problem-example-photo { margin: 0; padding: 30px; display: flex; flex-direction: column; justify-content: center; background: #f7edf0; }
.problem-example-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.problem-example-photo figcaption { margin-top: 12px; color: #7b6570; font-size: 11px; }
.problem-example-result { padding: 38px; }
.marketing .problem-example-result .release-note { margin-bottom: 14px; font-size: 12px; }
.problem-example-result h2 { font-size: 31px; margin-bottom: 14px; }
.problem-example-result > p { color: var(--muted); font-size: 14px; }
.example-fields { margin: 24px 0; }
.example-fields > div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 13px; }
.example-fields dt { color: var(--muted); }
.example-fields dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.problem-example-result .example-outcome { color: var(--ink); }
.problem-example-result .fineprint { margin-top: 16px; font-size: 11px; }
.marketing .home-hero.hero-copy-only { grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 54px; gap: 0; }
.hero-copy-only .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy-only .home-intro { justify-content: center; margin-bottom: 20px; }
.marketing .hero-copy-only h1 { max-width: 920px; font-size: clamp(48px,5.2vw,72px); }
.marketing .hero-copy-only .hero-lead { max-width: 660px; margin-top: 22px; }
.marketing .hero-copy-only .hero-actions { justify-content: center; margin-top: 24px; }
.marketing .hero-copy-only .fineprint { max-width: none; }
.marketing .home-problem-grid .problem-card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.problem-photo { display: block; width: 100%; aspect-ratio: 1.8; height: auto; object-fit: cover; border-bottom: 1px solid var(--line); }
.problem-card-copy { padding: 24px 26px 28px; }
.marketing .problem-card-copy .release-note { margin: 0 0 10px; }
.marketing .problem-card-copy h3 { font-size: 24px; margin: 0 0 12px; }
.marketing .problem-card-copy > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }



@media (max-width: 760px) {
  .home-section-title { font-size: 28px; margin-bottom: 22px; }
  .problem-example { grid-template-columns: 1fr; }
  .problem-example-section { padding-top: 28px; }
  .problem-example-photo { padding: 22px; }
  .problem-example-result { padding: 26px 22px; }
  .problem-example-result h2 { font-size: 28px; }
  .marketing .home-hero.hero-copy-only { padding: 34px 24px 36px; }
  .hero-copy-only .hero-copy { align-items: flex-start; text-align: left; }
  .hero-copy-only .home-intro { margin-bottom: 16px; }
  .marketing .hero-copy-only h1 { font-size: clamp(38px,9vw,52px); }
  .marketing .hero-copy-only .hero-lead { margin-top: 18px; }
  .marketing .hero-copy-only .hero-actions { justify-content: flex-start; margin-top: 22px; }
  .problem-photo { aspect-ratio: 1.85; }
  .problem-card-copy { padding: 24px; }
  .marketing .problem-card-copy h3 { font-size: 24px; }
}

/* Authentication shares the Request access page and card components. */
.auth-request-card .forgot-link { margin: 0; text-align: left; }
.auth-request-card .auth-switch { margin: 0; padding: 0; border: 0; text-align: left; }
.auth-request-card .form-stack input { border-radius: 8px; }

/* Header, footer and page content share the same horizontal alignment. */
.marketing { --site-gutter: max(40px, calc((100% - 1240px) / 2 + 40px)); }
.marketing .site-header, .marketing .site-footer { padding-inline: var(--site-gutter); }

/* Fill the browser on short pages; let longer content scroll naturally. */
:root { scrollbar-gutter: stable; scroll-padding-top: 96px; }
body.marketing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.marketing > #main { flex: 1 0 auto; min-width: 0; width: 100%; }
.marketing > .site-header, .marketing > .site-footer { flex-shrink: 0; width: 100%; margin-inline: 0; }
.marketing > .site-footer { margin-top: auto; }

/* Reserve the same form space when switching between access and login. */
.marketing .request-access { min-height: 54rem; }
@media (max-width: 760px) {
  :root { scroll-padding-top: 84px; }
  .marketing { --site-gutter: 20px; }
  .marketing .page-width, .marketing .home-hero.hero-copy-only { padding-inline: var(--site-gutter); }
  .marketing .request-access { min-height: 55rem; }
}
@media (max-width: 360px) { .marketing .request-access { min-height: 59rem; } }

/* One wordmark size for navigation and footer at every breakpoint. */
.marketing { --wordmark-width: 168px; }
.marketing .site-header .brand > img.brand-wordmark,
.marketing .footer-brand .brand > img.brand-wordmark { width: var(--wordmark-width); height: auto; }
@media (max-width: 760px) {
  .marketing { --wordmark-width: 112px; }
}

/* Typography reference: Applicora site.css and workspace.css, 24 October 2026.
   Keep this last: legacy component/mobile rules otherwise shrink the text.
   Font stacks and role sizes match the reference; Picasify keeps its own layout. */
:root {
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-workspace: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
body { font-family: var(--font-sans); font-size: 1rem; line-height: 1.55; }
button, input, select, textarea { font-family: inherit; }

.marketing {
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-sans);
}
.marketing :is(h1, h2, h3, h4) {
  font-family: var(--font-sans); font-weight: 600; line-height: 1.04; letter-spacing: -.045em;
}
.marketing :is(.home-hero, .hero-copy-only) h1 {
  font-size: clamp(3.2rem, 5.2vw, 4.6rem); letter-spacing: -.045em; line-height: 1.04;
}
.marketing .hero.hero:not(.home-hero) h1,
.marketing :is(.pricing-intro, .document-page, .not-found) h1 {
  font-size: clamp(3.2rem, 6vw, 5.2rem); line-height: 1.04;
}
.marketing .hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem); font-weight: 400; line-height: 1.62; letter-spacing: 0;
}
.marketing .hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; max-width: 45rem;
}
.marketing :is(.home-section-title, .section-intro h2, .detail-copy h2,
  .usecase-tier-head h2, .closing-cta h2, .data-teaser-head h2) {
  font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: 1.04;
}
.marketing :is(.section-intro > p, .usecase-tier-head > p, .data-teaser-head > p) {
  font-size: 1.05rem; line-height: 1.7;
}
.marketing :is(.problem-card-copy h3, .fn-card h3, .steps h3, .export-layout h3,
  .usecase-card h3, .usecase-card h2, .step-example h3,
  .field-band h2, .corporate-band h2, .pilot-block h2, .team-block h2,
  .problem-example-result h2, .good-to-know h2, .privacy-band h2) {
  font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em;
}
.marketing :is(.problem-card-copy > p:last-child, .problem-card > p:last-child,
  .fn-card p:not(.fn-lede), .detail-copy p, .problem-copy, .problem-list,
  .usecase-card p, .audience-pains p, .step-example p,
  .problem-example-result > p:not(.release-note):not(.fineprint),
  .how-copy .how-intro, .export-layout > div > p:not(.release-note):not(.fineprint):not(.sample-links),
  .home-closing-lines .home-portability):not(:where(.release-note, .fineprint, .example-label, .muted)) {
  font-size: 1.06rem; line-height: 1.65;
}
.marketing :is(.fn-lede, .steps p, .field-band p, .corporate-band p, .team-block p,
  .pilot-block ul, .works-with-grid p, .good-to-know dt, .good-to-know dd,
  .stream-grid span, .closing-cta p, .privacy-band p, .request-card > .muted,
  .export-contents dl, .price-card ul, .price-card > p:not(.price):not(.price-from)) {
  font-size: 1rem; line-height: 1.7;
}
.marketing :is(.type-matters-list, .note-rows p, .coming-strip ul) { font-size: 1rem; line-height: 1.7; }
.marketing .legal-page :is(p, li) { font-size: .88rem; line-height: 1.75; }
.marketing .legal-page h2 { font-size: 1.55rem; letter-spacing: -.025em; }
.marketing :is(.works-with-grid strong, .stream-grid strong, .feature-index strong) {
  font-size: 1.05rem; line-height: 1.4;
}
.marketing :is(.feature-index span, .example-fields > div, .plan-matrix,
  .problem-preview p, .problem-preview span, .sample-links, .early-teams-line) {
  font-size: .95rem; line-height: 1.7;
}
.marketing .feature-index a { min-width: 0; }
.marketing :is(.release-note, .home-intro, .problem-card .release-note, .problem-card-copy .release-note,
  .problem-example-result .release-note) {
  font: 700 .74rem/1.4 var(--font-sans); letter-spacing: .13em; text-transform: uppercase;
}
.marketing :is(.fineprint, .hero .fineprint, .problem-example-result .fineprint,
  .detail-copy .muted, .sharing-fineprint, .product-shot figcaption,
  .problem-example-photo figcaption, .mobile-app-preview > p, .plan-overage, .plan-email) {
  font-size: .8rem; line-height: 1.65;
}
.marketing .button, .marketing .hero-actions .button {
  font-size: .88rem; font-weight: 700; line-height: 1.4; min-height: 50px;
}
.marketing .text-link, .marketing .hero-actions .text-link { font-size: .9rem; font-weight: 700; }
.marketing .site-header nav a { font-size: .82rem; font-weight: 600; }
.marketing .site-header > .brand { flex-shrink: 0; }
.marketing .header-actions .button, .marketing .header-actions .button-secondary-link {
  font-size: .82rem; font-weight: 700; min-height: 44px;
}
.marketing .header-actions .button-secondary-link { display: inline-flex; align-items: center; }
.marketing .footer-brand p { font: 400 .8rem/1.65 var(--font-sans); letter-spacing: 0; }
.marketing .site-footer a:not(.brand), .marketing .footer-company { font-size: .8rem; line-height: 1.65; }
.marketing .site-footer nav h2 { font-size: .8rem; line-height: 1.4; font-weight: 700; }
.marketing .footer-bottom { font-size: .75rem; line-height: 1.65; }
.marketing .request-card h1 { font-size: 2.2rem; line-height: 1.1; }
.marketing .request-access { min-height: 60rem; }
.marketing .form-stack label { font-size: .875rem; font-weight: 600; }
.marketing :is(input, select, textarea) { font-size: 1rem; line-height: 1.5; }
.marketing .store-badge small { font-size: .75rem; }
.marketing .store-badge strong { font-size: 1rem; }

/* The signed-in reference uses Helvetica Neue and a 16px base. */
.workspace-page { --font-sans: var(--font-workspace); font-family: var(--font-workspace); }
.workspace-page :is(.page-heading h1, h1) {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: .98; letter-spacing: -.035em;
}
.workspace-page .page-heading p { font-size: 1rem; line-height: 1.5; margin-top: 13px; }
.workspace-page :is(.project-card h2, .insight-panel h2) {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.25;
}
.workspace-page .sidebar .nav-item { font-size: .875rem; font-weight: 600; }
.workspace-page :is(.project-card p, .project-card-footer, .asset-card strong,
  .asset-card small, .insight-card > span, .chart-legend, .breadcrumb) { font-size: .875rem; }
.workspace-page :is(.data-table, .inventory-table, .insight-panel table) { font-size: .875rem; line-height: 1.5; }
.workspace-page :is(.data-table th, .inventory-table th, .insight-panel th) { font-size: .8rem; }
.workspace-page .button { font-size: .87rem; min-height: 44px; font-weight: 600; }
.workspace-page :is(input, select, textarea) { font-size: .875rem; line-height: 1.25; }
.workspace-page .form-stack label { font-size: .875rem; }

/* Reflow the navigation before its larger labels run out of room. */
@media (max-width: 1100px) {
  .marketing .site-header .desktop-navigation { display: none; }
  .marketing .mobile-menu { display: block; }
  .marketing .header-actions { margin-left: auto; }
  .marketing .mobile-menu nav a { font-size: 1.02rem; }
}
@media (max-width: 760px) {
  .workspace-page :is(.page-heading h1, h1) { font-size: 2.35rem; }
  .workspace-page :is(input, select, textarea) { font-size: 1rem; }
  .marketing .section-intro h2 { max-width: 100%; }
  .marketing .hero-actions { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .marketing :is(.home-hero, .hero-copy-only) h1,
  .marketing .hero.hero:not(.home-hero) h1,
  .marketing :is(.pricing-intro, .document-page, .not-found) h1 { font-size: 3.15rem; }
  .marketing .hero-lead { font-size: 1.03rem; }
  .marketing :is(.home-section-title, .section-intro h2, .detail-copy h2,
    .usecase-tier-head h2, .closing-cta h2, .data-teaser-head h2) { font-size: 2.45rem; }
}
@media (max-width: 380px) {
  .marketing .site-header > .header-actions { display: none; }
  .marketing .site-header > .mobile-menu { margin-left: auto; }
}
@media (max-width: 360px) {
  .marketing .request-access { min-height: 64rem; }
}

.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:8px}.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}

.bank-thumb{display:grid;place-items:center;flex:none;width:32px;height:40px;border-radius:4px;background:#f7f4ee;color:#90263e}.bank-thumb .ui-icon{width:18px;height:18px}.journey-row .bank-thumb,.bank-evidence .bank-thumb{width:64px;height:64px;border-radius:10px}.bank-evidence .bank-thumb .ui-icon{width:30px;height:30px}.bank-evidence{display:flex;flex-direction:column;align-items:center;gap:10px;margin:8px 0 18px;color:#76676c;font-size:14px}.bank-mark{text-align:center;margin-top:8px}.bank-outcome{margin:0;padding-left:20px;line-height:1.8}.bank-table th:nth-child(2),.bank-table td:nth-child(2),.bank-table th:nth-child(3):not(:last-child),.bank-table td:nth-child(3):not(:last-child){text-align:left}.bank-table td small{display:block;margin-top:4px}.bank-table td{vertical-align:top}.bank-lines td:first-child,.bank-lines td:nth-child(3){white-space:nowrap}.bank-lines td:first-child{width:130px}.bank-lines td:nth-child(3){width:150px}.bank-table td .text-button{padding-left:0;padding-right:0}.bank-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;align-items:center}.bank-candidate{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px}
#family-root h3,#current-shares h3{margin:26px 0 10px;font-size:17px}#family-root h3:first-child{margin-top:0}#family-root .export-row{margin-bottom:10px}#family-root form{margin-top:22px}#family-root .danger-outline{margin-top:26px}#current-shares .notice{margin-top:16px}

/* Shared form controls. Remove Safari's compact native select bezel while
   retaining the browser's accessible keyboard and touch option picker. */
:root select {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 40px 10px 12px;
  border: 1px solid var(--line-strong, #c9c5ce);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2369545e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  cursor: pointer;
}

:root select:hover:not(:disabled) { border-color: #9c7a86; }
:root select:focus-visible {
  border-color: var(--blue);
  outline: 3px solid #ac687950;
  outline-offset: 2px;
  box-shadow: none;
}
:root select:disabled {
  background-color: #f2f0f2;
  color: #77717a;
  cursor: not-allowed;
  opacity: 1;
}
:root select:is([multiple], [size]:not([size="0"]):not([size="1"])) {
  min-height: 120px;
  padding: 8px 12px;
  background-image: none;
}
:root select option, :root select optgroup { color: var(--ink); background: #fff; }

/* Keep compact scenario selectors legible without placing text under the arrow. */
:root .savings-scenario select { min-height: 44px; padding: 10px 36px 10px 10px; }
:root :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), textarea) {
  border-radius: 8px;
}
.account-section :is(#stream-controls, #pack-controls):not(:empty) { margin-top: 20px; }

@media (max-width: 760px) {
  :root select { font-size: 16px; }
}
@media (forced-colors: active) {
  :root select { -webkit-appearance: auto; appearance: auto; background-image: none; }
}

/* Release identity is readable on small screens and keyboard accessible. */
.build-info { margin: 16px 0 0; color: var(--muted, #6c6268); font-size: 12px; line-height: 1.6; text-align: left; }
.build-info summary { cursor: pointer; padding: 12px 0; min-height: 44px; box-sizing: border-box; }
.build-info summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.build-info dl { margin: 0; padding: 0 0 12px; }
.build-info dt { font-weight: 600; margin-top: 6px; }
.build-info dd { margin: 0; overflow-wrap: anywhere; user-select: text; }
.site-footer > .build-info { max-width: 1200px; margin-left: auto; margin-right: auto; }

.sidebar { overflow-y: auto; }

/* Warm expense workspace: approved reference layout, existing font families. */
.workspace-page{--ink:#242323;--muted:#787777;--canvas:#fff;--line:#e9e7e3;--line-strong:#dcdad7;--blue:#820d2c;--blue-dark:#630820;--soft-blue:#f7e5df;--workspace-cream:#f4ede3;--workspace-mint:#edf7f5;background:#fff;color:var(--ink)}
.workspace-page .workspace{margin:0;min-height:100vh;border-radius:0;background:#fff;overflow:hidden}
.workspace-page .sidebar{width:236px;left:0;top:0;bottom:0;padding:38px 15px 26px;background:var(--workspace-cream);border:0;border-radius:0;color:var(--ink)}
.workspace-page .sidebar>.brand{margin:0 20px 40px;min-height:42px}
.workspace-page .sidebar .brand-wordmark{filter:none;width:151px;height:auto}
.workspace-page .sidebar nav{gap:5px;margin:0}
.workspace-page .sidebar .nav-item{display:flex;align-items:center;color:#494747;min-height:55px;padding:14px 20px;border-radius:16px;font-size:18px;font-weight:400;gap:18px;box-shadow:none}
.workspace-page .sidebar .nav-item:hover{background:#eee1d5;color:#74132c}
.workspace-page .sidebar .nav-item.selected{background:#f2dfd6;color:#790d27;font-weight:600;box-shadow:none}
.workspace-page .sidebar .nav-icon{width:24px;height:24px;opacity:1;flex:0 0 24px}
.workspace-page .sidebar .nav-item.selected .nav-icon{color:#790d27}
.workspace-page .sidebar .nav-owner{margin-top:12px;border:0;font-size:15px}
.workspace-page .sidebar-bottom{margin-top:auto;padding:22px 15px 0}
.workspace-page .sidebar-person{display:flex;align-items:center;gap:6px;padding-top:20px;border-top:1px solid #e2d8cc}
.workspace-page .sidebar-profile{display:flex;align-items:center;gap:11px;color:#4f4c49;min-width:0;flex:1}
.workspace-page .sidebar-profile .avatar{flex:0 0 38px;width:38px;height:38px;font-size:16px;background:#e8d4ca;color:#820d2c}
.workspace-page .sidebar-profile strong{font-size:15px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-page .sidebar-person .icon-button{width:30px;min-width:30px;color:#80776e}
.workspace-page .sidebar-person .ui-icon{width:17px;height:17px}
.workspace-page .sidebar .sidebar-settings{padding:11px 8px;font-size:16px;min-height:48px;gap:16px;margin-top:8px}
.workspace-page .workspace-main{margin-left:236px;min-height:100vh;background:#fff}
.workspace-page .workspace-header{display:none}
.workspace-page .workspace-content{max-width:none;padding:35px 40px 30px}
.workspace-page .page-heading{align-items:center;margin-bottom:22px;gap:20px}
.workspace-page :is(.page-heading h1,h1){font-size:clamp(46px,4.6vw,68px);font-weight:700;line-height:1.13;letter-spacing:-.045em}
.workspace-page .page-heading p{color:var(--muted);max-width:64ch;font-size:17px;line-height:1.55;margin-top:12px}
.workspace-page .button{background:#820d2c;border-color:#820d2c;color:#fff;border-radius:18px;padding:12px 22px;min-height:48px;font-size:16px;font-weight:500;gap:9px;box-shadow:none}
.workspace-page .button:hover{background:#640922;transform:none;filter:none;box-shadow:none}
.workspace-page .button.secondary{background:#fff;border-color:var(--line-strong);color:var(--ink)}
.workspace-page .button.secondary:hover{background:#faf5ef}
.workspace-page :is(.button,.icon-button,.nav-item,.expense-bar,.category-key,.receipt-title,.receipt-expand,summary):focus-visible{outline:3px solid #b85e78;outline-offset:4px}
.workspace-page .dashboard-actions{width:auto;margin-left:auto;gap:22px}
.workspace-page .dashboard-actions .button>span{font-size:25px;font-weight:300;line-height:1}
.workspace-page .dashboard-search{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#242323}
.workspace-page .dashboard-search .ui-icon{width:25px;height:25px}
.workspace-page .expense-filters{gap:16px;margin-bottom:28px;align-items:center}
.workspace-page .expense-filters label{color:#787777;font-size:14px;gap:8px;margin:0}
.workspace-page .expense-filters :is(input,select){width:100%;max-width:250px;background-color:#fff;border-color:#e3e1de;border-radius:24px;padding:10px 34px 10px 18px;min-height:46px;font-size:16px;font-weight:400}
.workspace-page .overview-filters>label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.workspace-page .expense-filters input[type=month]{width:215px;padding-right:16px}
.workspace-page .expense-month-button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:215px;max-width:100%;min-height:46px;padding:10px 18px;border:1px solid #e3e1de;border-radius:24px;background:#fff;color:var(--ink);font:inherit;font-size:16px;cursor:pointer}
.workspace-page .expense-month-button:hover{border-color:#820d2c}
.workspace-page .expense-month-button:focus-visible,.workspace-page .month-picker-grid button:focus-visible{outline:2px solid #820d2c;outline-offset:3px}
.workspace-page .expense-month-picker{width:360px;max-width:calc(100vw - 24px)}
.workspace-page .month-picker-year{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:20px}
.workspace-page .month-picker-year .icon-button{width:44px;height:44px;font-size:26px}
.workspace-page .month-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.workspace-page .month-picker-grid button{min-height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.workspace-page .month-picker-grid button:hover{background:#faf5ef;border-color:#820d2c}
.workspace-page .month-picker-grid button[aria-current=date]{text-decoration:underline;text-underline-offset:5px}
.workspace-page .month-picker-grid button[aria-pressed=true]{background:#820d2c;border-color:#820d2c;color:#fff}
.workspace-page .month-picker-today{width:100%;margin-top:18px}
@media(max-width:1250px) and (min-width:761px){.workspace-page .expense-month-button{width:185px}}
@media(max-width:760px){.workspace-page #journey-dashboard .expense-month-button{width:100%;min-width:0;font-size:15px;padding-left:15px}}
.workspace-page .expense-filters select[name=project_id]{width:190px;min-width:0}
.workspace-page .expense-filters select[name=currency]{width:150px;min-width:0}
.workspace-page #dashboard-export{margin-left:auto;border-left:1px solid #e6e4e1;padding-left:15px}
.workspace-page #dashboard-export .button{background:transparent;border-color:transparent;color:#292727;border-radius:8px;padding:5px 6px;font-size:16px;gap:10px;min-height:36px}
.workspace-page #dashboard-export .button:hover{background:#f7f2ec}
.workspace-page #dashboard-export .ui-icon{width:22px;height:22px}
.workspace-page .expense-summary-band{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:36px;align-items:center;margin-bottom:32px}
.workspace-page .expense-summary-totals{min-width:0}
.workspace-page .expense-currency-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:15px 0 8px}
.workspace-page .expense-stat{display:flex;flex-direction:column;align-items:flex-start;padding:0 20px;border:0;border-left:1px solid #e5e3e0;border-radius:0;background:transparent;gap:11px;min-width:0}
.workspace-page .expense-stat:first-child{padding-left:0;border-left:0}
.workspace-page .expense-stat:last-child{padding-right:0}
.workspace-page .expense-stat>small{display:flex;align-items:center;gap:14px;font-size:16px;color:#777575;line-height:1.3;white-space:nowrap}
.workspace-page .stat-dot{width:14px;height:14px;border-radius:50%;display:inline-block}
.workspace-page .stat-dot.teal{background:#4ab0a7}.workspace-page .stat-dot.amber{background:#ffb332}.workspace-page .stat-dot.coral{background:#ff7b63}
.workspace-page .expense-stat>strong{font-size:clamp(32px,3.1vw,52px);font-weight:600;line-height:1.15;letter-spacing:-.035em;white-space:nowrap;font-variant-numeric:tabular-nums}
.workspace-page .expense-stat .other-currency{font-size:15px;color:#777575;line-height:1.25;letter-spacing:0;font-variant-numeric:tabular-nums}
.workspace-page .other-currency b{font-weight:400;color:#93918e;font-size:12px;margin-right:4px}
.workspace-page .classification-note{display:block;font-size:12px;color:#8b817b;margin-top:9px;text-decoration:none}
.workspace-page .review-stat{display:flex;align-items:center;justify-content:center;gap:22px;padding:18px 20px;min-height:146px;border:0;border-radius:22px;background:#faf1e6;color:#242323;text-decoration:none}
.workspace-page .review-stat:hover{background:#f7eadb}
.workspace-page .review-illustration{width:116px;height:108px;flex:0 0 116px}
.workspace-page .review-stat strong{display:block;font-size:24px;line-height:1.22;font-weight:650;letter-spacing:-.015em;color:#242323}
.workspace-page .review-stat>span>span{display:flex;align-items:center;gap:16px;font-size:18px;color:#820d2c;margin-top:12px}
.workspace-page .expense-chart-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;margin-bottom:30px}
.workspace-page .expense-panel{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;margin-bottom:30px;min-width:0}
.workspace-page .expense-panel h2{font-size:26px;font-weight:650;line-height:1.3;margin:0 0 23px;letter-spacing:-.02em}
.workspace-page .expense-chart-grid .expense-panel{margin:0}
.workspace-page .category-chart{border-left:1px solid #e7e5e2;padding-left:35px}
.workspace-page .expense-chart-currency{position:relative;padding-top:4px}
.workspace-page .chart-caption{position:absolute;right:0;top:-48px;font-size:11px;letter-spacing:.04em;color:#92908b}
.workspace-page .expense-chart-currency+.expense-chart-currency{margin-top:40px;padding-top:16px;border-top:1px solid #eee8df}
.workspace-page .expense-chart-currency+.expense-chart-currency .chart-caption{top:0}
.workspace-page .expense-bar{display:grid;grid-template-columns:minmax(115px,.85fr) minmax(80px,1.4fr) auto;align-items:center;gap:16px;width:100%;min-height:55px;padding:8px 0;border:0;background:none;text-align:left;font:inherit;cursor:pointer}
.workspace-page .expense-bar .bar-label{font-size:16px;line-height:1.35;color:#686666;overflow-wrap:anywhere;display:block}
.workspace-page .expense-bar strong{color:#242323;font-size:16px;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums}
.workspace-page .expense-bar meter{display:block;appearance:none;-webkit-appearance:none;width:100%;height:18px;margin:0;background:#f1f1f1;border:0;border-radius:12px;overflow:hidden}
.workspace-page .expense-bar meter::-webkit-meter-bar{border:0;border-radius:12px;background:#f1f1f1;height:18px;box-shadow:none}
.workspace-page .expense-bar meter::-webkit-meter-optimum-value{background:var(--chart-colour);border-radius:12px}
.workspace-page .expense-bar meter::-moz-meter-bar{background:var(--chart-colour);border-radius:12px}
.workspace-page .chart-colour-0{--chart-colour:#ffb332}.workspace-page .chart-colour-1{--chart-colour:#90263e}.workspace-page .chart-colour-2{--chart-colour:#4ab0a7}.workspace-page .chart-colour-3{--chart-colour:#ff7b63}.workspace-page .chart-colour-4{--chart-colour:#7189b5}.workspace-page .chart-colour-5{--chart-colour:#a98bb0}
.workspace-page .expense-donut-layout{display:grid;grid-template-columns:minmax(140px,.85fr) minmax(160px,1.15fr);align-items:center;gap:23px}
.workspace-page .expense-donut{width:100%;max-width:190px;margin:auto;position:relative;aspect-ratio:1}
.workspace-page .expense-donut svg{display:block;width:100%;height:100%}
.workspace-page .donut-track{stroke:#eeefec;stroke-width:30;fill:none}
.workspace-page .expense-donut>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24%;pointer-events:none}
.workspace-page .expense-donut strong{font-size:clamp(15px,1.4vw,20px);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.025em;white-space:nowrap}
.workspace-page .expense-donut small{font-size:13px;color:#818080;margin-top:3px}
.workspace-page .category-key{display:grid;width:100%;grid-template-columns:13px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:36px;padding:6px 0;background:none;border:0;color:#747272;text-align:left;cursor:pointer;font:inherit;font-size:15px}
.workspace-page .category-key strong{font-weight:400;font-variant-numeric:tabular-nums;color:#242323;white-space:nowrap}
.workspace-page .category-dot{width:13px;height:13px;border-radius:50%;background:var(--chart-colour)}
.workspace-page .category-name{display:inline-flex;align-items:center;gap:7px;min-width:0}
.workspace-page .category-name .ui-icon{width:16px;height:16px;flex:none;color:#90263e}
.workspace-page .category-cell{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.workspace-page .category-cell .ui-icon{width:15px;height:15px;flex:none;color:#90263e}
.workspace-page .receipt-category .ui-icon{width:15px;height:15px;color:#90263e;vertical-align:-3px;margin-right:6px}
.workspace-page .bar-label .ui-icon{width:15px;height:15px;flex:none;color:#90263e;vertical-align:-2px;margin-right:6px}
.workspace-page .line-price{padding:0;text-align:left}
.workspace-page .line-price small{color:#747272}
.workspace-page .chart-insights-link{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:8px;color:#820d2c;font-size:16px}
.workspace-page .empty-expense-chart{height:185px;color:#96918a;margin-top:0}
.workspace-page .empty-expense-chart i{background:#efebe5}
.workspace-page .expense-ledger-panel{background:var(--workspace-mint);border-radius:22px;padding:21px 24px 17px;margin-bottom:0}
.workspace-page .ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}
.workspace-page .ledger-heading h2{margin:0;font-size:26px}
.workspace-page .ledger-heading-actions{display:flex;align-items:center;gap:18px}
.workspace-page .ledger-heading .text-button{font-size:16px;font-weight:400;color:#820d2c;white-space:nowrap}
.workspace-page .ledger-heading .text-button span{margin-left:10px}
.workspace-page .ledger-search-control{position:relative;color:#6e827d}
.workspace-page .ledger-search-control summary{list-style:none;cursor:pointer;width:32px;height:38px;display:grid;place-items:center}
.workspace-page .ledger-search-control summary::-webkit-details-marker{display:none}
.workspace-page .ledger-search-control .ui-icon{width:19px;height:19px}
.workspace-page .ledger-search-control label{position:absolute;right:0;top:38px;z-index:3;width:280px;max-width:70vw;padding:8px;background:#edf7f5;border:1px solid #dce9e5;border-radius:12px;box-shadow:0 6px 20px #223e3220}
.workspace-page .ledger-search-control input{width:100%;background:#fff;font-size:15px;min-height:42px}
.workspace-page .expense-table-scroll{border-radius:10px}
.workspace-page .expense-ledger{border-collapse:separate;border-spacing:0 3px;min-width:950px;font-size:15px}
.workspace-page .expense-ledger th{background:transparent;border:0;font-size:13px;font-weight:400;color:#7e8b88;padding:10px 12px;white-space:nowrap}
.workspace-page .expense-ledger td{background:#fff;border:0;padding:10px 12px;color:#727272;vertical-align:middle}
.workspace-page .expense-ledger td:first-child{border-radius:12px 0 0 12px}
.workspace-page .expense-ledger td:last-child{border-radius:0 12px 12px 0}
.workspace-page .expense-ledger td.numeric{font-size:16px;color:#242323;font-variant-numeric:tabular-nums;white-space:nowrap}
.workspace-page .expense-ledger tfoot :is(td,th){background:transparent;border-top:1px solid #d9e7e3;border-radius:0;padding-top:15px;color:#526a62}
.workspace-page .recent-ledger{min-width:750px;width:100%;table-layout:auto}
.workspace-page .recent-ledger th:first-child{padding-left:80px}
.workspace-page .recent-ledger td{height:55px;padding:6px 12px}
.workspace-page .recent-ledger td:first-child{width:28%;padding-left:17px}
.workspace-page .recent-ledger td:nth-child(2){white-space:nowrap;font-size:14px}
.workspace-page .recent-ledger td:nth-child(3){width:25%;font-size:14px}
.workspace-page .recent-ledger td:last-child{width:40px;padding-right:12px}
.workspace-page .receipt-title{display:flex;align-items:center;gap:18px;min-width:155px;max-width:none;font-size:15px;font-weight:550;color:#242323;text-align:left}
.workspace-page .receipt-title img{width:32px;height:40px;object-fit:cover;border:0;border-radius:4px;background:#f7f4ee}
.workspace-page .receipt-title small{font-size:11px;color:#8b8177}
.workspace-page .receipt-expand{display:grid;place-items:center;border:0;background:none;font:inherit;font-size:22px;line-height:1;color:#777;width:36px;height:38px;cursor:pointer;border-radius:8px}
.workspace-page .receipt-expand:hover{background:#f0f6f3}
.workspace-page .expense-review{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:20px;white-space:nowrap;font-size:12px}
.workspace-page .expense-review>span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;font-size:12px;background:#278c78;color:#fff}
.workspace-page .expense-review.is-reviewed{background:#edf7f4;color:#338977}
.workspace-page .expense-review.needs-review{background:#fff6e5;color:#b97918}
.workspace-page .expense-review.needs-review>span{background:#f4aa27}
.workspace-page .receipt-expanded>td{background:#fbfdfc;border:1px solid #dce8e2;border-radius:12px!important;padding:20px 25px!important;white-space:normal!important}
.workspace-page .receipt-category{font-size:14px;color:#78877f;margin-bottom:18px}
.workspace-page .receipt-item{border-color:#e6ece7;font-size:15px}
.workspace-page .receipt-lines .receipt-grand-total{border-top-color:#dce6df}
.workspace-page .allocation-actions{background:#f7eee6}
.workspace-page .insight-stories{gap:30px;padding:26px;background:#faf1e6;border-radius:20px}
.workspace-page .insight-story h3{font-size:22px}
.workspace-page .insight-story .eyebrow{text-transform:none;letter-spacing:0;font-size:13px}
.workspace-page .savings-scenario{background:#fff}
.workspace-page .account-section{background:#fff;border:1px solid #e7e0d5;border-radius:18px;box-shadow:none}
.workspace-page :is(.project-card,.asset-card,.panel-narrow,.wo-card,.export-row){border-color:#e7e0d5;box-shadow:none}
.workspace-page :is(.project-card,.asset-card):hover{transform:none;border-color:#ba8d8c;box-shadow:none}
.workspace-page .tabs .tab.active{background:#f1e5df;color:var(--blue)}
.workspace-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.workspace-page .fineprint{color:#8d8b86;font-size:12px;margin-top:14px}
.workspace-page .expense-table-scroll .table-empty{height:160px;text-align:center;color:#8b918e}
@media(min-width:1600px){.workspace-page .workspace-content{padding:40px 48px 32px}.workspace-page .expense-summary-band{margin-bottom:42px}.workspace-page .expense-chart-grid{margin-bottom:36px}.workspace-page .expense-panel h2{font-size:28px}.workspace-page .expense-bar{min-height:61px}.workspace-page .expense-donut{max-width:210px}}
@media(max-width:1250px) and (min-width:761px){.workspace-page .workspace{margin:0}.workspace-page .sidebar{top:0;bottom:0;left:0;width:210px;padding:30px 10px 20px}.workspace-page .workspace-main{margin-left:210px;min-height:100vh}.workspace-page .sidebar>.brand{margin-bottom:35px}.workspace-page .sidebar .nav-item{font-size:17px;padding-left:17px}.workspace-page .workspace-content{padding:30px 28px}.workspace-page .expense-summary-band{gap:22px;grid-template-columns:minmax(0,1.6fr) minmax(215px,1fr)}.workspace-page .expense-stat{padding:0 16px}.workspace-page .expense-stat>strong{font-size:29px}.workspace-page .expense-stat>small{font-size:14px;gap:8px}.workspace-page .review-stat{padding:15px 12px;gap:10px;min-height:130px}.workspace-page .review-illustration{width:83px;height:92px;flex-basis:83px}.workspace-page .review-stat strong{font-size:21px}.workspace-page .expense-chart-grid{grid-template-columns:1.1fr 1fr;gap:24px}.workspace-page .category-chart{padding-left:24px}.workspace-page .expense-donut-layout{grid-template-columns:1fr;gap:10px}.workspace-page .expense-donut{max-width:150px}.workspace-page .expense-bar{grid-template-columns:minmax(85px,1fr) minmax(70px,1fr) auto;gap:12px}.workspace-page .expense-bar .bar-label,.workspace-page .expense-bar strong{font-size:14px}.workspace-page .category-key{font-size:14px;min-height:30px}.workspace-page .expense-panel h2{font-size:23px}.workspace-page .expense-filters{gap:10px}.workspace-page .expense-filters input[type=month]{width:185px}.workspace-page .expense-filters select[name=project_id]{width:160px}.workspace-page .expense-filters select[name=currency]{width:140px}.workspace-page #dashboard-export{padding-left:8px}}
@media(max-width:1000px) and (min-width:761px){.workspace-page .expense-summary-band{grid-template-columns:1fr}.workspace-page .review-stat{min-height:82px;justify-content:flex-start;padding:10px 18px}.workspace-page .review-illustration{height:65px;width:72px;flex-basis:72px}.workspace-page .review-stat>span{display:flex;align-items:center;flex:1;gap:20px;justify-content:space-between}.workspace-page .review-stat strong{font-size:19px}.workspace-page .review-stat strong br{display:none}.workspace-page .review-stat>span>span{margin:0}.workspace-page .expense-filters{flex-wrap:wrap}.workspace-page #dashboard-export{margin-left:0}}
@media(max-width:760px){.workspace-page{background:#fff}.workspace-page .workspace{margin:0;border-radius:0;min-height:100vh;overflow:visible}.workspace-page .sidebar{width:250px;top:64px;bottom:0;left:0;padding:22px 15px;border-radius:0}.workspace-page .sidebar>.brand{display:none}.workspace-page .sidebar .nav-item{font-size:17px;min-height:50px}.workspace-page .workspace-main{margin-left:0;min-height:100vh}.workspace-page .workspace-header{display:flex;align-items:center;height:64px;padding:0 18px;background:#fff;border-bottom:1px solid #f0ebe5;box-shadow:none}.workspace-page .mobile-workspace-brand{margin-right:auto}.workspace-page .workspace-content{padding:22px 20px 30px}.workspace-page .page-heading{gap:12px;flex-wrap:wrap;margin-bottom:22px}.workspace-page :is(.page-heading h1,h1){font-size:38px}.workspace-page .page-heading p{font-size:16px}.workspace-page .dashboard-actions{width:auto;margin-left:auto;gap:0}.workspace-page .dashboard-search{display:none}.workspace-page .dashboard-actions .button{padding:10px 14px;min-height:44px;font-size:14px;border-radius:14px;flex:none}.workspace-page .expense-filters{gap:10px;flex-wrap:wrap;margin-bottom:22px}.workspace-page .expense-filters label{min-width:0}.workspace-page .expense-filters :is(input,select){font-size:16px;min-height:44px;max-width:100%}.workspace-page .expense-filters input[type=month]{width:190px}.workspace-page .expense-filters select[name=project_id]{width:150px}.workspace-page .expense-filters select[name=currency]{width:165px}.workspace-page #dashboard-export{margin-left:auto;padding-left:12px}.workspace-page .expense-summary-band{grid-template-columns:1fr;gap:20px;margin-bottom:27px}.workspace-page .expense-currency-summary{gap:0}.workspace-page .expense-stat{padding:0 14px;gap:9px}.workspace-page .expense-stat>small{font-size:13px;gap:7px}.workspace-page .stat-dot{width:9px;height:9px}.workspace-page .expense-stat>strong{font-size:24px}.workspace-page .expense-stat .other-currency{font-size:12px}.workspace-page .other-currency b{font-size:10px}.workspace-page .classification-note{font-size:11px;line-height:1.4}.workspace-page .review-stat{min-height:95px;padding:10px 20px;justify-content:flex-start;gap:16px;border-radius:18px}.workspace-page .review-illustration{width:88px;height:80px;flex-basis:88px}.workspace-page .review-stat strong{font-size:22px}.workspace-page .review-stat strong br{display:none}.workspace-page .review-stat>span>span{font-size:16px;margin-top:7px}.workspace-page .expense-chart-grid{grid-template-columns:1fr;gap:28px;margin-bottom:28px}.workspace-page .category-chart{border-left:0;border-top:1px solid #e7e5e2;padding:23px 0 0}.workspace-page .expense-panel h2{font-size:24px;margin-bottom:18px}.workspace-page .chart-caption{top:-40px}.workspace-page .expense-bar{grid-template-columns:minmax(100px,1fr) minmax(70px,1fr) auto;gap:12px;min-height:55px}.workspace-page .expense-bar .bar-label,.workspace-page .expense-bar strong{font-size:14px}.workspace-page .expense-bar meter,.workspace-page .expense-bar meter::-webkit-meter-bar{height:15px}.workspace-page .expense-donut-layout{grid-template-columns:minmax(130px,.9fr) minmax(150px,1.1fr);gap:18px}.workspace-page .expense-donut{max-width:180px}.workspace-page .expense-donut strong{font-size:17px}.workspace-page .category-key{font-size:14px;gap:7px;min-height:35px}.workspace-page .chart-insights-link{font-size:15px;margin-top:13px}.workspace-page .expense-ledger-panel{padding:20px 14px 14px;margin:0 -4px;border-radius:18px}.workspace-page .ledger-heading{gap:10px;margin-bottom:12px}.workspace-page .ledger-heading h2{font-size:22px;margin:0}.workspace-page .ledger-heading-actions{gap:6px}.workspace-page .ledger-heading .text-button{font-size:14px}.workspace-page .ledger-heading .text-button span{margin-left:2px}.workspace-page .receipt-expanded>td{padding:18px!important}.workspace-page .insight-stories{padding:22px}.workspace-page .sidebar-bottom{padding-top:20px}.workspace-page .recent-ledger{min-width:740px}.workspace-page .insight-filters label{flex:1 1 140px}.workspace-page .insight-filters input{width:100%}.workspace-page .ledger-search-control input{font-size:16px}}
@media(max-width:380px){.workspace-page .workspace-content{padding:20px 15px}.workspace-page .page-heading h1{font-size:34px}.workspace-page .expense-filters input[type=month]{width:170px}.workspace-page .expense-filters select[name=project_id]{width:145px}.workspace-page .expense-stat{padding:0 11px}.workspace-page .expense-stat>strong{font-size:21px}.workspace-page .expense-stat>small{font-size:12px}.workspace-page .expense-donut-layout{gap:10px;grid-template-columns:130px minmax(0,1fr)}.workspace-page .category-key{font-size:13px}.workspace-page .stat-dot{width:7px;height:7px}}
@media(prefers-reduced-motion:reduce){.workspace-page *,.workspace-page *::before,.workspace-page *::after{animation:none!important;transition:none!important}}
/* Final reference alignment, without the decorative outer frame. */
.workspace-page{padding:0;min-height:100vh}
.workspace-page .workspace{margin:0}
.workspace-page .expense-bar{margin:0;height:auto;grid-template-columns:minmax(115px,30%) minmax(80px,1fr) 90px}
.workspace-page .expense-bar strong{text-align:right}
.workspace-page .expense-bar .bar-label{font-size:17px}
.workspace-page .recent-ledger td:nth-child(2),.workspace-page .recent-ledger td:nth-child(3){font-size:16px}
.workspace-page .receipt-title{font-size:16px}
.workspace-page .expense-review{font-size:13px}
.workspace-page #journey-dashboard .expense-filters input[type=month]{border-radius:24px}
@media(max-width:1250px) and (min-width:761px){.workspace-page{padding:0}.workspace-page .workspace{margin:0}.workspace-page .expense-bar{grid-template-columns:minmax(80px,30%) minmax(55px,1fr) 75px}.workspace-page .expense-bar .bar-label{font-size:14px}}
@media(max-width:760px){.workspace-page{padding:0}.workspace-page .expense-bar{grid-template-columns:minmax(95px,32%) minmax(60px,1fr) 72px}.workspace-page .expense-bar .bar-label{font-size:14px}.workspace-page .recent-ledger td:nth-child(2),.workspace-page .recent-ledger td:nth-child(3){font-size:14px}}

.workspace-page .sidebar .sidebar-help{display:flex;justify-content:space-between;border:0;padding:0;margin-top:16px;font-size:14px;color:#857c73}
/* Shared pages and dialogs use the same cream, mint, scale and controls. */
.workspace-page .toolbar{margin:26px 0;gap:20px}
.workspace-page .toolbar .tabs{padding:4px;background:#f5f0e9;border-radius:14px}
.workspace-page .tab{font-size:15px;padding:11px 16px;border-radius:10px}
.workspace-page .search-box{min-height:46px;border-radius:24px;border-color:#e3dfd9;background:#fff;padding:10px 16px}
.workspace-page .search-box input{font-size:16px}
.workspace-page .project-grid{gap:24px}
.workspace-page .project-card{border-radius:20px;overflow:hidden;background:#fff}
.workspace-page .project-card-body{padding:23px}
.workspace-page .project-card h2{font-size:21px;line-height:1.3;letter-spacing:-.02em}
.workspace-page .project-card p{font-size:15px;line-height:1.55;margin-top:12px}
.workspace-page .project-card-footer{font-size:13px;margin-top:23px;color:#7c7a75}
.workspace-page .project-cover{background:#edf7f5}
.workspace-page .journey-toolbar{gap:20px;margin:28px 0}
.workspace-page .journey-toolbar label{font-size:14px;display:grid;gap:9px}
.workspace-page .journey-panel{border-color:#e7e3dc;border-radius:20px;background:#fff;padding:26px}
.workspace-page .journey-row{padding:19px 0;border-bottom-color:#ece8e2;gap:18px;font-size:17px}
.workspace-page .journey-row strong{font-size:18px;font-weight:550}
.workspace-page .journey-row small{font-size:14px;color:#8a857f;margin-top:6px}
.workspace-page .journey-row img{width:60px;height:68px;border-radius:10px}
.workspace-page .form-stack{gap:22px}
.workspace-page .form-stack label{font-size:15px;line-height:1.5}
.workspace-page .form-stack :is(input,select,textarea){font-size:16px;min-height:46px}
.workspace-page .account-grid{gap:26px;max-width:1200px;margin-top:30px}
.workspace-page .account-section{padding:28px}
.workspace-page .account-section h2{font-size:26px;margin-bottom:22px}
.workspace-page .account-section dl{font-size:15px;line-height:1.65}
.workspace-page .account-section p{font-size:14px;line-height:1.6}
.workspace-page .plan-heading{font-size:34px}
.workspace-page .export-row{padding:24px;border-radius:18px}
.workspace-page .export-row h2{font-size:21px}
.workspace-page .export-row p{font-size:14px}
.workspace-page :is(.panel-narrow,.wo-card){border-radius:18px}
.workspace-page .modal{border:1px solid #e3dcd2;border-radius:22px;background:#fff;padding:28px;box-shadow:0 20px 80px #36241e25}
.workspace-page .modal-head h2{font-size:27px;letter-spacing:-.02em}
.workspace-page .modal::backdrop{background:#30282345;backdrop-filter:blur(4px)}
.workspace-page .button.danger{background:#b6333e;border-color:#b6333e;color:#fff}
.workspace-page .button.danger-outline{background:#fff;border-color:#e1a6ad;color:#ac2635}
.workspace-page .button.small{font-size:14px;padding:9px 16px;min-height:40px;border-radius:12px}
.workspace-page .admin-content{padding:36px 40px 40px}
.workspace-page .admin-nav{gap:7px;margin-bottom:14px;padding:0}
.workspace-page .admin-nav a{font-size:15px;font-weight:500;padding:12px 16px;border-radius:14px}
.workspace-page .admin-nav a.active{background:#f4e4da;border-color:transparent;color:#820d2c}
.workspace-page .admin-privacy{border-radius:13px;background:#faf4ec;padding:13px 18px;color:#857568}
.workspace-page .admin-content h1{font-size:54px;font-weight:650;letter-spacing:-.04em;margin:28px 0 22px}
.workspace-page .admin-content h2{font-size:25px;letter-spacing:-.02em}
.workspace-page .admin-metrics{gap:20px;margin:28px 0}
.workspace-page .admin-metrics article{background:#edf7f5;border:0;border-radius:20px;padding:25px}
.workspace-page .admin-metrics span{text-transform:none;letter-spacing:0;font-size:15px;font-weight:400}
.workspace-page .admin-metrics strong{font-size:38px;font-weight:600}
.workspace-page .admin-table-wrap{border:1px solid #e7e4dd;border-radius:17px;margin:24px 0}
.workspace-page .admin-table-wrap table{font-size:15px}
.workspace-page .admin-table-wrap th{background:#f5f1ea;font-size:13px;letter-spacing:0;text-transform:none;font-weight:500}
.workspace-page .admin-table-wrap :is(th,td){padding:15px 17px;border-bottom-color:#eae6df}
.workspace-page .admin-definition{font-size:15px;gap:12px}
.workspace-page .admin-filters{margin:28px 0;gap:17px}
.workspace-page .admin-filters label{font-size:14px;display:grid;gap:8px}
.workspace-page .admin-filters :is(input,select){font-size:15px;min-height:46px}
.workspace-page .admin-columns{gap:32px}
@media(max-width:760px){.workspace-page .project-grid{gap:16px;grid-template-columns:1fr}.workspace-page .project-cover{height:165px}.workspace-page .project-card-body{padding:20px}.workspace-page .project-card h2{font-size:21px}.workspace-page .toolbar .tabs{width:100%;overflow:auto;flex-wrap:nowrap}.workspace-page .tab{font-size:14px;white-space:nowrap;padding:10px 12px}.workspace-page .account-grid{gap:20px;margin-top:23px}.workspace-page .account-section{padding:22px}.workspace-page .account-section h2{font-size:24px}.workspace-page .modal{padding:22px;max-height:90dvh;max-width:calc(100vw - 24px)}.workspace-page .modal-head h2{font-size:24px}.workspace-page .journey-row strong{font-size:17px}.workspace-page .admin-content{padding:22px 18px 30px}.workspace-page .admin-content h1{font-size:38px}.workspace-page .admin-nav{flex-wrap:nowrap;overflow:auto;padding-bottom:8px}.workspace-page .admin-nav a{white-space:nowrap}.workspace-page .admin-columns{grid-template-columns:1fr}.workspace-page .admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workspace-page .admin-metrics article{padding:18px}.workspace-page .admin-metrics strong{font-size:30px}}
@media(min-width:761px) and (max-width:1450px){.workspace-page .expense-stat>strong{font-size:32px}.workspace-page .expense-stat{padding:0 16px}.workspace-page .expense-stat:first-child{padding-left:0}.workspace-page .expense-stat:last-child{padding-right:0}.workspace-page .expense-stat>small{font-size:14px;gap:8px}.workspace-page .stat-dot{width:11px;height:11px}}
@media(max-width:760px){
 .workspace-page #journey-dashboard .overview-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px}
 .workspace-page #journey-dashboard .overview-filters label{min-width:0;width:auto;margin:0;flex:none}
 .workspace-page #journey-dashboard .overview-filters :is(input[type=month],select){width:100%;max-width:100%;min-width:0;font-size:15px;padding-left:15px}
 .workspace-page #dashboard-export{justify-self:end;margin-left:0;padding-left:10px}
 .workspace-page .expense-currency-summary{grid-template-columns:1fr 1fr;gap:22px 0;padding-bottom:6px}
 .workspace-page .expense-stat:first-child{grid-column:1/-1}
 .workspace-page .expense-stat:nth-child(2){border-left:0;padding-left:0}
 .workspace-page .expense-stat>strong{font-size:30px}
 .workspace-page .expense-stat:first-child>strong{font-size:46px}
 .workspace-page .expense-stat>small{font-size:14px}
 .workspace-page .expense-stat .other-currency{font-size:13px}
 .workspace-page .review-stat strong{font-size:21px}
}
.workspace-page .expense-table-scroll{position:relative}
.workspace-page .savings-scenario label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:400}
.workspace-page .savings-scenario label select{display:inline-block;width:86px;min-height:40px;padding:8px 30px 8px 10px;font-size:15px}
.workspace-page .expense-ledger:not(.recent-ledger) td:nth-child(2){white-space:nowrap}
.workspace-page .expense-ledger [data-expand-receipt]{white-space:nowrap}

/* Personal expenses reuse the workspace's controls and spacing. */
.expense-preference{margin-top:28px}.item-category{display:block;font-size:13px;min-height:36px;text-align:left}.period-comparison{margin:24px 0}.period-comparison p,.period-comparison small{color:var(--muted,#777);font-size:13px}.comparison-table{overflow:auto;margin:16px 0}.comparison-table table{width:100%;border-collapse:collapse;min-width:480px}.comparison-table th,.comparison-table td{padding:14px 12px;border-bottom:1px solid #e9e3da;text-align:right;font-variant-numeric:tabular-nums}.comparison-table th:first-child,.comparison-table td:first-child{text-align:left}.period-comparison h3{font-size:20px}

/* Personal receipts focus on categories; a business split is optional. */
.personal-receipt:not(.show-business-split) .include-control{display:none}
.personal-receipt:not(.show-business-split) .receipt-item{grid-template-columns:minmax(0,1fr) auto}
.expense-ledger .numeric small{display:block;font-size:.75rem;color:var(--muted,#777);margin-top:4px}

.workspace-page .expense-currency-summary.personal-summary{grid-template-columns:1fr}
.workspace-page .personal-summary .expense-stat>strong{font-size:clamp(40px,4vw,56px)}
.workspace-page .savings-scenario>label{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;text-align:left}
.workspace-page .savings-scenario>label select{width:auto;min-width:80px}
@media(max-width:760px){.workspace-page .insight-filters label{grid-template-columns:minmax(0,1fr)}.workspace-page .insight-filters select[name=currency],.workspace-page .insight-filters select[name=project_id]{width:100%;min-width:0}}

.personal-receipt:not(.show-business-split) .business-portion{display:none}
@media(max-width:400px){.workspace-page .overview-filters .period-filter{flex-basis:100%;width:100%}.workspace-page .overview-filters input[type=month]{width:100%}}
/* Personal spending and fixed report sharing use the existing workspace palette. */
.shared-report-page{max-width:740px;margin:60px auto;padding:24px}
.shared-report-page .brand{margin-bottom:32px}
.shared-report-page h1{overflow-wrap:anywhere}
.report-share-dialog [data-body]{display:grid;gap:18px}
.report-share-dialog input[readonly]{font-size:14px}
.monthly-trend{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin:24px 0}
.trend-month{display:flex;flex-direction:column;gap:10px;min-width:0}
.trend-month strong{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.trend-month meter{width:100%;height:22px;accent-color:#893e50}
.trend-month meter::-webkit-meter-optimum-value{background:#893e50}
.trend-month small{color:var(--muted);font-size:12px}
.price-opportunity{border:1px solid var(--line);border-radius:12px;padding:22px;margin:18px 0}
.opportunity-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}
.opportunity-heading h3{font-size:24px;margin:6px 0}
.opportunity-heading p{margin:6px 0}
.opportunity-saving{text-align:right;display:grid;gap:6px;flex-shrink:0}
.opportunity-saving strong{font-size:28px;color:#28704e;font-variant-numeric:tabular-nums}
.opportunity-saving small{color:var(--muted)}
.price-opportunity summary{cursor:pointer;color:#893e50;margin-top:18px;font-weight:600}
.price-item{padding:18px 0;border-top:1px solid var(--line);margin-top:18px}
.price-item h4{margin:0 0 14px;font-size:17px}
.price-observations{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.price-observations>div{display:flex;flex-direction:column;align-items:start;gap:6px}
.price-observations small,.price-item p{color:var(--muted);font-size:13px}
.price-empty{padding:20px;background:var(--canvas);border-radius:12px}
.comparison-overall{padding:12px 0;font-variant-numeric:tabular-nums}
#report-shares-list .export-row{flex-wrap:wrap}
#report-shares-list .export-row>div{min-width:180px;overflow-wrap:anywhere}
@media(max-width:700px){.monthly-trend{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.opportunity-heading{flex-direction:column;gap:14px}.opportunity-saving{text-align:left}.price-observations{grid-template-columns:1fr}.price-opportunity{padding:16px}.shared-report-page{margin:24px auto}.report-share-dialog .heading-actions{flex-wrap:wrap}}

/* Reviews keep the selected amount beside its receipt evidence and next action. */
.review-receipts{display:grid;gap:18px}.review-receipt{border:1px solid #e9e3da;border-radius:14px;padding:20px}.review-receipt-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.review-receipt-heading h3{margin:0;font-size:18px}.review-receipt-heading p{margin:6px 0;color:var(--muted);font-size:13px}.review-receipt-heading>span{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.receipt-review-context{background:#faf1e6;border-radius:12px;padding:18px;margin:16px 0;scroll-margin-top:18px}.receipt-review-context h3{margin:0 0 10px;font-size:18px}.receipt-review-context p{margin:10px 0;line-height:1.5}.review-amount{display:block;font-size:28px;color:#893e50;font-variant-numeric:tabular-nums}.review-calculation{max-width:480px;margin:16px 0}.review-calculation>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0}.review-calculation>div:last-child{border-top:1px solid #ddcdbd;font-weight:600}.review-calculation dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.review-line-links{list-style:none;padding:0;margin:12px 0}.review-line-links .text-button{text-align:left;min-height:44px;white-space:normal}.receipt-line-number{font-size:11px;letter-spacing:.03em;text-transform:uppercase}.receipt-item-needs-review{background:#faf1e6;border-radius:8px;padding:12px!important}.receipt-item:focus{outline:2px solid #893e50;outline-offset:3px}.receipt-split-choices{flex-wrap:wrap;margin:12px 0}.receipt-split-choices .fineprint{flex-basis:100%}
.workspace-page .comparison-link{min-height:44px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c99da8;white-space:normal;text-align:inherit}.workspace-page .expense-category-legend button:hover,.workspace-page .expense-category-legend button:focus-visible{background:#faf1e6;border-radius:6px}.workspace-page .expense-category-legend button span:nth-child(2){text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c99da8}.classification-note{display:inline-block;text-underline-offset:3px}
@media(max-width:600px){.review-receipt{padding:14px}.review-receipt-heading{flex-direction:column;gap:4px}.receipt-review-context{padding:14px}.review-calculation{font-size:13px}.review-receipt>.button{width:100%}.expense-source-modal:has(.review-receipts){width:calc(100% - 24px);padding:16px}.receipt-split-choices .button{min-height:44px}}
/* Account: one column of grouped rows, as on the phone. */
.account-page{max-width:820px;margin-top:10px}.account-pane{display:grid;gap:30px}.workspace-page .account-tabs{margin:0 0 28px}
.account-group{display:grid;gap:12px}
.account-group>h2{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8d8b86;margin:0 0 0 4px}
.account-card{background:#fff;border:1px solid #e7e0d5;border-radius:16px;overflow:hidden}
.account-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin:0;border:0;border-top:1px solid #f0ebe2;min-height:64px}
.account-card>.account-row:first-child,.account-rows:first-child>.account-row:first-child{border-top:0}
.account-row:empty{display:none}
.account-row>p{margin:0;font-size:14px;color:#8d8b86}
.account-text{display:grid;gap:3px;min-width:0}
.account-text strong{font-size:16px;font-weight:600;color:#262321;overflow-wrap:anywhere}
.account-text small{font-size:13.5px;line-height:1.5;color:#7a7772}
.account-text small:empty{display:none}
.account-text small a{color:#820d2c}
.account-text .form-error{margin:4px 0 0;font-size:13px}
.account-actions{display:flex;align-items:center;gap:10px;flex:none}
.account-actions input{width:190px;min-height:38px;padding:6px 12px;font-size:14px}
.account-actions input[name=default_currency]{width:76px;text-align:center;text-transform:uppercase}
.account-page .button.small{min-height:38px;padding:6px 16px;font-size:14px;width:auto;white-space:nowrap}
.account-page .text-button{font-size:14px;color:#820d2c;white-space:nowrap}
.account-person .avatar{flex:0 0 56px;width:56px;height:56px;font-size:22px}
.account-person .account-text{flex:1}
.account-person .account-text strong{font-size:19px}
.account-subhead{padding:14px 20px 6px;border-top:1px solid #f0ebe2;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8d8b86}
.account-subhead+.account-row{border-top:0}
.account-page .plan-heading{font-size:19px}
.account-page .plan-stats{margin:0;font-size:13.5px;line-height:1.6;color:#7a7772}
.account-block{display:block}
.account-page .account-block .form-stack,.account-page .account-block.form-stack,.account-page .account-block .test-controls{display:flex;flex-direction:row;flex-wrap:wrap;align-items:end;gap:12px;margin:0}
.account-page .account-block label{display:grid;gap:6px;flex:1 1 180px;font-size:13px;line-height:1.3;font-weight:600;color:#55524e;margin:0}
.account-page .account-block select{min-height:40px;height:40px;font-size:14px;padding:6px 10px;border-radius:10px;width:100%}
.account-block .button{min-height:40px;padding:6px 18px;font-size:14px;width:auto;flex:none}
.account-block p{flex:1 1 100%;margin:0;font-size:13.5px;color:#7a7772}
.account-block .test-controls strong{flex:1 1 100%;font-size:14px}
.account-page .account-rows .export-row{display:flex;align-items:center;gap:12px;padding:14px 20px;margin:0;border:0;border-top:1px solid #f0ebe2;border-radius:0;background:none}
.account-page .account-rows .export-row>div{flex:1;min-width:0}
.account-page .account-rows .export-row h3{font-size:15.5px;margin:0 0 2px}
.account-page .account-rows .export-row p{font-size:13px;margin:0;color:#7a7772}
.account-page .account-rows .export-row .empty-folder{display:none}
.account-page .account-rows>p{padding:14px 20px;margin:0;border-top:1px solid #f0ebe2}
.account-group>.account-card+.account-card{margin-top:2px}
@media(max-width:640px){.account-row{flex-wrap:wrap;gap:12px}.account-actions{flex-wrap:wrap}.account-actions input{flex:1;width:auto}.account-person .account-actions{width:100%}}
.account-actions:empty{display:none}
.workspace-page .section-tabs{margin:0 0 26px;width:max-content;max-width:100%}.workspace-page .section-tabs .tab{display:inline-flex;align-items:center;text-decoration:none;font-size:14px;padding:8px 18px;border-radius:10px}
.account-page .account-block{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.account-page .account-block>.form-stack,.account-page .account-block>.test-controls{flex:1 1 100%}
.account-page .account-block:empty{display:none}.account-pane:not([data-account-pane=profile]) .account-group>h2{display:none}
.workspace-page .receipt-lines .include-control{position:relative;min-width:0;cursor:pointer}
.workspace-page .receipt-lines .include-control input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.workspace-page .receipt-lines .include-control span{color:var(--muted);font-size:13px;font-weight:600;padding:6px 10px;border:1px solid var(--line,#e6ded6);border-radius:999px;background:#fff}
.workspace-page .receipt-lines .include-control:hover span{color:#7a1730;border-color:#d9b9c1}
.workspace-page .receipt-lines .include-control input:focus-visible+span{outline:2px solid #893e50;outline-offset:2px}
.receipt-item.line-excluded strong,.receipt-item.line-excluded>b{text-decoration:line-through;color:var(--muted);font-weight:500}
.receipt-item.line-excluded .include-control span{color:#7a1730}
.month-group+.month-group{margin-top:34px}
.month-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:0 6px 12px}
.month-head h2{font-size:24px;letter-spacing:-.02em;margin:0}
.month-head small{color:var(--muted);font-size:14px}
.month-head strong{font-size:22px;white-space:nowrap}
.workspace-page .expense-dialog-bar{display:flex;justify-content:space-between;align-items:center}.expense-dialog-bar span{font-weight:600;color:var(--muted)}
.expense-head{display:grid;grid-template-columns:132px minmax(0,1fr);gap:24px;align-items:start;margin:4px 0 22px}
.expense-head h2{font-size:26px;line-height:1.2;margin:0 0 6px}
.expense-head .expense-amount{font-size:38px;font-weight:700;letter-spacing:-.03em;margin:0 0 6px}
.expense-photo{display:grid;gap:8px;justify-items:center;text-decoration:none;color:#7a1730;font-size:13px}
.workspace-page .expense-head .expense-photo img.record-evidence{width:132px;height:132px;max-height:none;object-fit:cover;border-radius:18px;display:block;margin:0}
.view-pick-list{max-height:52vh;overflow:auto;display:grid;border-top:1px solid #eee4dc}
.workspace-page .form-stack .view-pick{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:14px;padding:12px 4px;border-bottom:1px solid #eee4dc;cursor:pointer;font-weight:400}
.workspace-page .form-stack .view-pick input{width:20px;height:20px;min-height:0;accent-color:#893e50;flex:none;margin:0}
.view-pick span{display:grid;gap:2px}.view-pick small{color:var(--muted)}
.view-ideas{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 2px}
.workspace-page .form-stack .view-idea{width:auto;min-height:0;padding:7px 13px;border:1px solid #e9e3da;border-radius:999px;background:#faf1e6;color:#242323;font-size:13px;font-weight:400;line-height:1.2;cursor:pointer}
.workspace-page .form-stack .view-idea:hover{background:#f7eadb;border-color:#893e50}
@media(max-width:560px){.expense-head{grid-template-columns:96px minmax(0,1fr);gap:16px}.workspace-page .expense-head .expense-photo img.record-evidence{width:96px;height:96px}.expense-head .expense-amount{font-size:30px}}
.workspace-page .page-heading.heading-inline{margin:0;min-height:0;height:0;padding:0}
.workspace-page .expense-filters .dashboard-actions{margin-left:6px;gap:14px;display:flex;align-items:center;flex:none}
.workspace-page .expense-filters .period-tabs{display:inline-flex;flex:none;padding:4px;gap:4px;background:#f4ebe4;border-radius:999px}
.workspace-page .expense-filters .period-tabs button{border:0;cursor:pointer;min-height:44px;padding:0 22px;border-radius:999px;background:transparent;color:#5d5557;font:inherit;font-size:16px;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;gap:8px}
.workspace-page .expense-filters .period-tabs button:hover{color:#820d2c}
.workspace-page .expense-filters .period-tabs button.active{background:#820d2c;color:#fff;box-shadow:0 2px 8px rgba(130,13,44,.22)}
.workspace-page .expense-filters .period-tabs button:focus-visible{outline:2px solid #820d2c;outline-offset:3px}
@media(max-width:760px){.workspace-page .expense-filters .period-tabs{width:100%}.workspace-page .expense-filters .period-tabs button{flex:1;justify-content:center;padding:0 12px;font-size:15px}}
@media(max-width:1500px){.workspace-page .expense-filters .dashboard-search{display:none}.workspace-page .expense-filters .dashboard-actions{margin-left:0}}

/* Expense dialog: Edit swaps the expense for its fields */
.workspace-page .expense-bar-actions{display:flex;align-items:center;gap:10px}
.workspace-page .expense-edit-actions{display:flex;justify-content:flex-end;gap:12px}
.workspace-page .notify-bell{position:relative}
.workspace-page .notify-dot{position:absolute;top:5px;right:4px;width:9px;height:9px;border-radius:50%;background:#c2283a;border:2px solid #fff}
.workspace-page .sidebar .nav-notifications .notify-dot{position:static;margin-left:auto;border-color:transparent}
.workspace-page .notify-page{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:32px;align-items:start}
.workspace-page .notify-list{display:grid;gap:12px;min-width:0}
.workspace-page .notification-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:4px}
.workspace-page .notification-filter{font:inherit;font-size:14px;padding:8px 15px;border-radius:99px;border:0;background:#f4ede3;color:#716c67;cursor:pointer}
.workspace-page .notification-filter span{margin-left:6px;opacity:.7}
.workspace-page .notification-filter.is-on{background:#242323;color:#fff}
.workspace-page .notification-group{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:#716c67;font-weight:600;margin:14px 4px -2px}
.workspace-page .notification{position:relative;display:flex;gap:14px;padding:16px;border:1px solid #e9e2d9;border-radius:18px;background:#fff;cursor:pointer;transition:border-color .12s,background .12s}
.workspace-page .notification:hover{border-color:#d9cbbd}
.workspace-page .notification.is-selected{border-color:#820d2c;background:#fdf8f6;box-shadow:0 0 0 1px #820d2c inset}
.workspace-page .notification:focus-visible{outline:3px solid #b85e78;outline-offset:3px}
.workspace-page .notification.is-new::before{content:"";position:absolute;left:-5px;top:22px;width:9px;height:9px;border-radius:50%;background:#c2283a;border:2px solid #fff}
.workspace-page .notification-icon{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf7f5;color:#2f7a5b}
.workspace-page .notification.kind-duplicate .notification-icon{background:#f6e9ec;color:#820d2c}
.workspace-page .notification.kind-return_by .notification-icon{background:#fdf1dc;color:#b26a00}
.workspace-page .notification-main{flex:1;min-width:0}
.workspace-page .notification h3{font-size:16.5px;font-weight:600;margin:0 0 3px;color:#242323}
.workspace-page .notification p{margin:0;color:#716c67;font-size:14.5px;line-height:1.4;overflow-wrap:anywhere}
.workspace-page .notification-chip{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:0;padding:3px 9px;border-radius:99px;margin-left:8px;vertical-align:2px;white-space:nowrap}
.workspace-page .notification-chip.tone-amber{background:#fdf1dc;color:#b26a00}
.workspace-page .notification-chip.tone-green{background:#edf7f5;color:#2f7a5b}
.workspace-page .notification-bar{height:6px;border-radius:9px;background:#f4ede3;margin-top:14px;overflow:hidden;max-width:420px}
.workspace-page .notification-bar span{display:block;height:100%;background:#b26a00;border-radius:9px}
.workspace-page .notification-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.workspace-page .notification-actions .text-button{color:#716c67;padding:6px}
.workspace-page .notification-thumbs{display:flex;flex:none;align-self:flex-start}
.workspace-page .notification-thumbs img{width:48px;height:64px;object-fit:cover;border-radius:5px;border:1px solid #e3dccf;background:#f6f1eb;box-shadow:0 3px 9px rgba(60,40,20,.13);transform:rotate(4deg)}
.workspace-page .notification-thumbs img + img{margin-left:-14px}
.workspace-page .notification-thumbs img:first-child:not(:last-child){transform:rotate(-5deg)}
.workspace-page .notifications-empty{color:#777;padding:18px 0 6px}
.workspace-page .notify-clear{grid-column:1/-1;background:#edf7f5;border-radius:24px;padding:56px 32px;text-align:center}
.workspace-page .notify-clear h2{font-size:27px;letter-spacing:-.02em;margin:0 0 8px}
.workspace-page .notify-clear p{margin:0 auto;max-width:52ch;color:#50695e;font-size:16px;line-height:1.5}
.workspace-page .notify-detail{position:sticky;top:24px;min-width:0;background:#fbf8f4;border-radius:24px;padding:28px}
.workspace-page .notify-detail>h2,.workspace-page .notify-notice h2{font-size:27px;letter-spacing:-.02em;margin:0}
.workspace-page .compare-reason{margin:8px 0 0;color:#820d2c;font-size:16px;font-weight:600}
.workspace-page .compare-photos{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}
.workspace-page .compare-side{margin:0;background:#f4ede3;border-radius:18px;padding:14px 16px 18px}
.workspace-page .compare-side.is-held{background:#e4f1eb}
.workspace-page .compare-side figcaption{display:grid;gap:2px;font-size:13px;color:#716c67;margin-bottom:12px}
.workspace-page .compare-side figcaption strong{font-size:15px;color:#242323}
.workspace-page .compare-side a{display:block}
.workspace-page .compare-side img{display:block;width:100%;max-height:40vh;object-fit:contain;border-radius:8px;background:#fffdf8}
.workspace-page .compare-facts{width:100%;border-collapse:collapse;margin-top:20px;font-size:15px;background:#fff;border-radius:16px;overflow:hidden}
.workspace-page .compare-facts th,.compare-facts td{padding:11px 14px;border-top:1px solid #efe9e1;text-align:left;font-weight:400;overflow-wrap:anywhere}
.workspace-page .compare-facts thead th,.compare-facts thead td{border-top:0;font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;color:#716c67;font-weight:600}
.workspace-page .compare-facts tbody th{color:#716c67;width:160px}
.workspace-page .compare-facts td:last-child{text-align:right;width:110px;font-weight:600;white-space:nowrap}
.workspace-page .compare-facts .is-same{color:#2f7a5b}
.workspace-page .compare-facts td.is-different{color:#b26a00}
.workspace-page .compare-facts tr.is-different>*{background:#fff9ee}
.workspace-page .compare-facts .compare-narrow{display:none}
.workspace-page .compare-actions{display:flex;gap:12px;margin-top:22px}
.workspace-page .compare-actions .button{flex:1;justify-content:center;text-align:center}
.workspace-page .notify-notice{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:28px;align-items:start}
.workspace-page .notify-notice-photo img{display:block;width:100%;border-radius:12px;background:#fffdf8;box-shadow:0 6px 18px rgba(60,40,20,.12)}
.workspace-page .notify-notice-summary{margin:8px 0 0;color:#716c67;font-size:16px}
.workspace-page .notify-notice blockquote{margin:18px 0 0;padding:14px 18px;border-radius:14px;background:#fff;font-size:17px;line-height:1.5;color:#242323}
@media(max-width:1100px){.workspace-page .notify-page{grid-template-columns:minmax(0,1fr);gap:22px}.workspace-page .notify-detail{position:static;padding:18px 14px}.workspace-page .notify-notice{grid-template-columns:minmax(0,1fr)}.workspace-page .notify-notice-photo{max-width:260px}}
@media(max-width:640px){.workspace-page .compare-photos{gap:10px}.workspace-page .compare-side{padding:10px}.workspace-page .compare-facts{font-size:13.5px}.workspace-page .compare-facts th,.workspace-page .compare-facts td{padding:9px 8px}.workspace-page .compare-facts tbody th{width:92px}.workspace-page .compare-facts td:last-child{width:74px}.workspace-page .compare-facts .compare-wide{display:none}.workspace-page .compare-facts .compare-narrow{display:table-cell}.workspace-page .compare-facts thead{display:none}.workspace-page .compare-actions{flex-direction:column-reverse}}
