/* Shared presentation only. No global hiding of text, fields, states or actions. */
html body.ui-refresh {--brand:#315cdd;--brand-2:#2449b8;--brand-tint:#edf2ff;--ink:#1e293b;--ink-2:#526174;--ink-3:#627084;--line:#e2e7ee;--line-soft:#f0f2f6;--bg:#f6f7f9;font-size:15px;line-height:1.6}
html body.ui-refresh main {padding-top:28px}
html body.ui-refresh .workspace :is(h1,.page-heading h1,.directory-heading h1,.project-heading h1) {font-size:26px;letter-spacing:0;line-height:1.35;margin-bottom:8px}
html body.ui-refresh .workspace h2 {font-size:18px;line-height:1.5}
html body.ui-refresh :is(.workspace,.auth-panel) :is(input,select,textarea,button) {font-size:15px}
html body.ui-refresh .workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,button,summary) {min-height:44px}
html body.ui-refresh :is(a,button,input,textarea,select,summary):focus-visible {outline:3px solid #315cdd;outline-offset:3px}
html body.ui-refresh .workspace :is(.project-breadcrumb,.record-code,.field-hint,.business-help) {color:var(--ink-2);line-height:1.65}
html body.ui-refresh main>p[role=status]:not(.ui-review-notice) {display:block}
html body.ui-refresh .workspace :is(p[role=alert],.errorlist,.form-error,.alert-text) {color:#a62636}
html body.ui-refresh .workspace :is(.success,.auth-message) {color:#12644e}
html body.ui-refresh .concise-heading {margin:0 0 20px}
html body.ui-refresh .concise-heading .project-breadcrumb {display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px;font-size:14px}
html body.ui-refresh .concise-heading .project-breadcrumb a {min-height:44px;display:inline-flex;align-items:center}
html body.ui-refresh .concise-heading h1 {margin:0}
html body.ui-refresh .concise-heading .project-code {color:var(--ink-2);font-size:13px}
html body.ui-refresh .daily-business-nav {margin:0 0 12px;display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);padding:0 0 8px}
html body.ui-refresh .daily-business-nav a {padding:8px 16px;min-height:44px;border-radius:6px;text-decoration:none;color:var(--ink-2)}
html body.ui-refresh .daily-business-nav a[aria-current=page] {background:var(--brand-tint);color:var(--brand);font-weight:650}
html body.ui-refresh .daily-management {margin-bottom:20px}
html body.ui-refresh .daily-management>summary {font-weight:500;color:var(--ink-2)}
html body.ui-refresh .daily-management-links a {min-height:44px;display:inline-flex;align-items:center;padding:6px 12px}
html body.ui-refresh .workspace .project-form {background:#fff;border:1px solid var(--line);padding:24px;border-radius:10px}
html body.ui-refresh .workspace .project-form .project-form {border:0;padding:0}
html body.ui-refresh .workspace .project-fields {gap:20px 28px}
html body.ui-refresh .workspace .project-form label {font-weight:550}
html body.ui-refresh .workspace .project-form .field-hint {font-size:13px;margin:6px 0}
html body.ui-refresh .workspace .version-footer {margin-top:24px;padding-top:16px;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;flex-wrap:wrap}
html body.ui-refresh .workspace .version-footer a {min-height:44px;display:inline-flex;align-items:center;padding:8px 12px}
html body.ui-refresh .workspace .directory-table-wrap {border:0;background:transparent}
html body.ui-refresh .workspace .directory-table tbody tr {background:#fff}
html body.ui-refresh .workspace .directory-table td {vertical-align:middle}
html body.ui-refresh .workspace .directory-table .directory-business details>summary {font-size:14px;font-weight:500}
html body.ui-refresh .workspace .directory-table .directory-business details a {display:block;min-height:44px;padding:10px 0}
html body.ui-refresh .workspace .directory-row-actions .directory-enter {font-weight:500}
html body.ui-refresh .workspace .directory-table :is(th,td) {padding:14px 16px}
html body.ui-refresh .auth-layout {display:block;max-width:440px;margin:8vh auto}
html body.ui-refresh .auth-panel {max-width:none;width:100%;margin:0;padding:32px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:none}
html body.ui-refresh .auth-panel-heading h1 {font-size:24px;margin:0 0 24px}
html body.ui-refresh .auth-recovery {min-height:44px;display:inline-flex;align-items:center}
/* Cash: one period toolbar, readable numbers, project rows and optional analyses. */
.concise-cash .cash-heading {display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.concise-cash .cash-heading h1 {margin:0}
.concise-cash .cash-heading time {color:var(--ink-2);font-size:14px}
.concise-cash .period-toolbar {display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 16px;margin-bottom:20px}
.concise-cash .period-toolbar>nav {display:flex;flex-wrap:wrap;gap:4px}
.concise-cash .period-toolbar a {padding:8px 14px;min-height:44px;display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:6px}
.concise-cash .period-toolbar a[aria-current=page] {color:var(--brand);background:var(--brand-tint);border-color:var(--brand)}
.concise-cash .period-custom>summary {padding:8px 12px;min-height:44px;cursor:pointer}
.concise-cash .period-custom[open] {flex:1 1 100%}
.concise-cash .overview-filters {display:grid;grid-template-columns:1fr 2fr;gap:24px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:8px}
.concise-cash .overview-filters form {display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.concise-cash .overview-filters form>div {flex:1 1 140px;min-width:0}
.concise-cash .overview-totals {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 16px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px}
.concise-cash .overview-totals dt {color:var(--ink-2);font-size:14px}
.concise-cash .overview-totals dd {margin:8px 0 0;font-size:28px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.concise-cash .cash-scope {font-size:14px;margin-bottom:24px}
.concise-cash .cash-scope summary {cursor:pointer;min-height:44px;display:flex;align-items:center;gap:12px;color:var(--ink-2)}
.concise-cash .cash-entity {margin:24px 0}
.concise-cash .cash-entity h2 {margin-bottom:12px}
.concise-cash .cash-subtotals {margin:8px 0 16px}
.concise-cash .cash-subtotals dl {display:flex;flex-wrap:wrap;gap:12px 24px;margin:12px 0;font-variant-numeric:tabular-nums}
.concise-cash .cash-subtotals dd {margin:4px 0}
.concise-cash .project-cash-table {background:#fff;border:1px solid var(--line);border-radius:8px}
.concise-cash .project-cash-table .amount {white-space:nowrap;font-variant-numeric:tabular-nums}
.concise-cash .project-cash-table a {min-height:44px;display:inline-flex;align-items:center}
.concise-cash .project-cash-table .num {text-align:right}
.concise-cash .cash-analysis {margin:24px 0;padding:16px 20px;border:1px solid var(--line);border-radius:8px;background:#fff}
.concise-cash .cash-analysis>summary {font-size:17px;font-weight:600;min-height:44px;cursor:pointer}
.concise-cash .trend-legend {display:flex;flex-wrap:wrap;gap:8px 24px;margin:16px 0;font-size:14px}
.concise-cash .trend-legend span::before {content:'';display:inline-block;width:16px;height:3px;background:var(--series);vertical-align:middle;margin-right:8px}
.concise-cash svg {display:block;width:100%;height:auto}
.concise-cash .trend-data {width:100%}
.concise-cash .trend-data caption {text-align:left;font-weight:600;padding:16px 0}
.concise-cash .trend-values {overflow-x:auto}
.concise-cash .scope-equation {font-weight:550}
@media(max-width:760px) {
 html body.ui-refresh main {padding:20px 16px 100px}
 html body.ui-refresh .workspace :is(h1,.page-heading h1,.directory-heading h1,.project-heading h1) {font-size:23px}
 html body.ui-refresh .workspace .project-form {padding:20px 16px}
 html body.ui-refresh :is(.workspace,.auth-panel) :is(input,select,textarea) {font-size:16px}
 html body.ui-refresh .concise-heading .project-breadcrumb {margin-bottom:4px}
 html body.ui-refresh .daily-business-nav {flex-wrap:nowrap;overflow-x:auto}
 html body.ui-refresh .daily-business-nav a {white-space:nowrap;flex-shrink:0;padding:8px 12px}
 html body.ui-refresh .daily-management-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.ui-refresh .auth-layout {margin:24px auto}
 html body.ui-refresh .auth-panel {padding:24px 20px}
 .concise-cash .overview-filters {grid-template-columns:minmax(0,1fr);gap:20px}
 .concise-cash .overview-totals {grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:20px}
 .concise-cash .overview-totals>div:last-child {grid-column:1/-1;border-top:1px solid var(--line);padding-top:16px}
 .concise-cash .overview-totals dd {font-size:23px}
 .concise-cash .project-cash-table,.concise-cash .project-cash-table tbody,.concise-cash .project-cash-table tr,.concise-cash .project-cash-table td {display:block}
 .concise-cash .project-cash-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .concise-cash .project-cash-table tr {padding:12px 16px;border-bottom:1px solid var(--line)}
 html body.ui-refresh .concise-cash .project-cash-table td {padding:6px 0;border:0;text-align:left}
 .concise-cash .project-cash-table td[data-label] {display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
 .concise-cash .project-cash-table td[data-label]::before {content:attr(data-label);color:var(--ink-2)}
 .concise-cash .cash-analysis {padding:12px}
}
@media(prefers-reduced-motion:reduce) {html body.ui-refresh * {scroll-behavior:auto;transition:none;animation:none}}

/* Clear return controls on desktop and narrow screens. */
html body.ui-refresh .workspace .project-breadcrumb a,
html body.ui-refresh .workspace.refresh-flow .project-breadcrumb a,
html body.ui-refresh .workspace .mobile-back {
 display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;
 padding:8px 14px;box-sizing:border-box;border:1px solid var(--line,#d5dce5);
 border-radius:8px;background:var(--panel,#fff);color:var(--brand,#23568a);
 font-size:15px;font-weight:600;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;
}
html body.ui-refresh .workspace .project-breadcrumb a:hover,
html body.ui-refresh .workspace .mobile-back:hover {background:var(--brand-tint,#edf3fa)}
html body.ui-refresh .workspace .project-breadcrumb a:focus-visible,
html body.ui-refresh .m-project .m-back:focus-visible {outline:3px solid var(--brand,#23568a);outline-offset:3px}
html body.ui-refresh .m-project .m-back {
 display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;
 min-width:80px;min-height:44px;margin:0 10px 0 0;padding:8px 12px;
 border:1px solid var(--line,#d5dce5);border-radius:8px;background:var(--panel,#fff);
 font-size:15px;font-weight:600;line-height:1.5;text-decoration:none;
}
