/* Green navigation matches the login. Page content keeps its original palette. */
:root {
  --app-brand: #00a85a;
  --app-brand-rgb: 0, 168, 90;
  --app-primary: #2563eb;
  --app-primary-rgb: 37, 99, 235;
  --app-primary-hover: #1d4ed8;
  --app-ink: #172033;
  --app-ink-rgb: 23, 32, 51;
  --app-muted: #64748b;
  --app-placeholder: #94a3b8;
  --app-line: #dbe3ef;
  --app-soft: #f8fafc;
  --app-selected: #dbeafe;
  --app-tint: #eff6ff;
  --app-focus-border: #93b4ed;
  --app-focus-ring: #2563eb26;
  --app-sidebar-color: #123e2e;
  --app-sidebar-hover: #1b5940;
  --app-sidebar-thumb-hover: #2d7556;
  --app-sidebar-text: #b6d4c4;
  --app-sidebar-indicator: #8ee0b3;
  --app-sidebar-selected: #e0f3e8;
  --app-shadow-color: #142b4a40;
  --app-backdrop-color: #102b5666;
  --app-overlay-strong: #0f172a80;
  /* Compatibility for the standalone error page and earlier shared styles. */
  --navy: #102a56;
  --blue: var(--app-primary);
  --ink: var(--app-ink);
  --muted: var(--app-muted);
  --line: var(--app-line);
  --soft: var(--app-soft);
}
input[type="checkbox"], input[type="radio"], input[type="range"], progress {
  accent-color: var(--app-primary);
}

/* Application chrome is green; module data and document palettes stay independent. */
.brand-content{--primary:#007a42;--primary-dark:#006437;--border:#dcebe2;--dark:#123e2e;--text-dark:#123e2e;--text-light:#657f72;--card-border:#dcebe2;--btn-primary:#007a42;--bg-main:#f4fbf7;--app-primary:#007a42;--app-primary-rgb:0,122,66;--app-primary-hover:#006437;--app-ink:#123e2e;--app-ink-rgb:18,62,46;--app-muted:#657f72;--app-line:#dcebe2;--app-soft:#f4fbf7;--app-selected:#e0f3e8;--app-tint:#edf8f2;background:var(--app-soft)}
.top-header .breadcrumb a{color:#007a42}.top-header .breadcrumb .sep,.top-header .breadcrumb .current{color:#123e2e}.top-header .app-user{background:#f4fbf7;border-color:#dcebe2;color:#456958}
.app-copyright{flex:0 0 auto;width:100%;padding:2px 12px;min-height:18px;margin-top:auto;text-align:center;font:10px/1.3 'Segoe UI',system-ui,sans-serif;color:#657f72;overflow-wrap:anywhere}
.login-footer.app-copyright{justify-content:center;min-height:18px;padding:2px 12px}.main-content>.app-copyright{background:transparent}
.auth-page:has(>.app-copyright),body:has(>.force-page){flex-direction:column}.auth-page>.auth-shell{min-height:calc(100svh - 18px);width:100%}.force-page{min-height:calc(100svh - 18px)}
@media print{.app-copyright{display:none!important}}
.brand-content .ws-button.primary,.brand-content .ws-actions .primary{background:#007a42;border-color:#007a42;color:white}.brand-content .ws-button.primary:hover,.brand-content .ws-actions .primary:hover{background:#006437}.brand-content .ws-dialog{color:#123e2e}

.work-module-page{--app-primary:#007a42;--app-primary-hover:#006437;--app-selected:#e0f3e8;--app-tint:#edf8f2;--app-focus-border:#82c9a2;--app-focus-ring:#007a4226;--app-line:#dcebe2;--app-ink:#123e2e;--app-muted:#657f72;--app-soft:#f4fbf7}.work-module-page input,.work-module-page select,.work-module-page textarea{accent-color:#007a42}.work-module-page input:focus,.work-module-page select:focus,.work-module-page textarea:focus{outline-color:#007a42}
