/* ECHB sub tools (/estimates, /invoices) — brand layer from the ECHB Design System
   (logo blue #0a529e, deep blue #063e7e, silver accent #b2b2b2; Cormorant Garamond / Inter / JetBrains Mono).
   Loaded after each page's own <style>, so these values win. */
:root{
  --bg:#F1F6FC; --panel:#FFFFFF; --ink:#0B2343; --muted:#4A5056; --line:#BDD6EE;
  --accent:#0A529E; --accent-ink:#FFFFFF; --soft:#DDEAF7;
  --warn:#0A2F5C; --warn-bg:#DDEAF7; --danger:#A8392A;
  --display:"Cormorant Garamond",Georgia,serif; --body:"Inter",system-ui,-apple-system,sans-serif; --mono:"JetBrains Mono",ui-monospace,monospace;
  color-scheme:light;
}
body{margin:0;padding-left:0;padding-right:0;padding-block-start:0;padding-block-end:0;-webkit-font-smoothing:antialiased}
.wrap{padding-inline:max(16px,env(safe-area-inset-left,0px));margin-top:26px;margin-bottom:48px}
header h1{font-weight:700;letter-spacing:-.02em}
.card,.reqbar,.bpanel,fieldset{border-radius:6px}
.btn,button.btn,.navdd summary{border-radius:4px}
input,select,textarea{border-radius:4px;border-color:#528FCC}
input:focus,select:focus,textarea:focus{outline:none;border-color:#0A529E;box-shadow:0 0 0 3px rgba(10,82,158,.14)}
.btn,button.btn{font-weight:600;letter-spacing:.02em}
.btn:hover,button.btn:hover{background:#063E7E;border-color:#063E7E}
.btn.ghost:hover,button.ghost:hover{background:#DDEAF7;color:#063E7E}
.eyebrow{color:#0A529E;font-family:var(--body);font-weight:600;letter-spacing:.16em}

/* Top bar with the logo — matches the main site header */
.site-bar{background:#fff;border-bottom:1px solid #DDEAF7}
.site-bar-inner{max-width:1212px;margin:0 auto;padding:12px max(16px,env(safe-area-inset-left,0px));display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-bar-logo{height:44px;width:auto;display:block}
.site-bar-phone{font:600 14px var(--body);color:#0A529E;text-decoration:none;white-space:nowrap}
.site-bar-phone:hover{color:#063E7E}
@media (max-width:560px){.site-bar-logo{height:36px}.site-bar-phone{font-size:13px}}

/* Footer — deep blue, like the main site */
.site-foot{background:#063E7E;color:#DDEAF7;padding:26px max(16px,env(safe-area-inset-left,0px));font-size:14px;border-top:3px solid #B2B2B2}
.site-foot-inner{max-width:1212px;margin:0 auto;display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:space-between;align-items:baseline}
.site-foot a{color:#fff;text-underline-offset:3px}
.site-foot a:hover{color:#C4C4C4}
.site-foot small{display:block;font-size:13px;color:rgba(255,255,255,.75)}

@media print{.site-bar,.site-foot{display:none!important}.wrap{margin:0;padding:0}}
