@font-face {
  font-family: "Open Sans";
  src: local("Open Sans"), url("/book/fonts/OpenSans.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}
:root {
  --brand: #000000;
  --accent: #4054b2;
  --accent-dark: #33449a;
  --accent-soft: #eceefa;
  --navy: #00346f;
  --link: #027ec3;
  --footer: #3d3d3d;
  --bg: #f4f4f4;
  --text: #333333;
  --muted: #666666;
  --border: #dcdcdc;
  --emergency: #d62828;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.45; color: var(--text); background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: var(--link); }
.h-hero { background: #000; text-align: center; padding: calc(14px + env(safe-area-inset-top)) 16px 12px; color: #fff; }
.h-hero img { width: 190px; max-width: 70%; height: auto; display: block; margin: 0 auto 8px; }
.h-hero .loc { font-size: 14px; margin: 0; opacity: .95; }
.h-hero .loc a { color: #fff; text-decoration: none; font-weight: 600; }
.h-tag { background: #fff; text-align: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.h-tag h1 { margin: 0; font-size: 16px; font-weight: 700; color: #333; line-height: 1.3; }
.h-tag p { margin: 4px 0 0; font-size: 13.5px; color: #555; font-weight: 600; line-height: 1.35; }
main.m { max-width: 560px; margin: 0 auto; padding: 14px 14px 8px; }
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 60px; border-radius: 6px; font: inherit; font-size: 21px; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 3px 10px rgba(64,84,178,.3);
}
.btn-primary:active { background: var(--accent-dark); }
.emerg-bar {
  display: flex; align-items: center; gap: 12px; background: #fdecec; border: 2px solid var(--emergency);
  color: #a11a1a; border-radius: var(--radius); padding: 10px 14px; text-decoration: none; margin: 12px 0;
  font-weight: 800; font-size: 17px; line-height: 1.25;
}
.emerg-bar .ic { font-size: 26px; }
.emerg-bar small { display: block; font-weight: 600; font-size: 13px; color: #a44; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: #333;
  min-height: 62px; padding: 10px; display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); cursor: pointer;
}
.tile .ic { font-size: 24px; line-height: 1; flex: 0 0 auto; }
.tile.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.tile.soon { opacity: .72; }
.tile.soon .soon-tag {
  display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 2px; letter-spacing: .2px;
}
.tile.primary.soon .soon-tag { color: rgba(255,255,255,.85); }
.team-login {
  display: block; text-align: center; margin: 18px 8px 8px; padding: 14px;
  color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1.5px dashed var(--border); border-radius: var(--radius); background: #fff;
}
.team-login:active { background: var(--accent-soft); }
.team-login small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.app-footer { text-align: center; color: #cfcfcf; background: var(--footer); font-size: 13px; padding: 18px 16px 22px; margin-top: 12px; }
.app-footer p { margin: 0 0 4px; }
.app-footer .f-name { color: var(--link); font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.app-footer a { color: #fff; text-decoration: none; }
.app-footer .f-small { color: #999; font-size: 12px; margin: 8px 0 0; }
/* coming-soon sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 560px; border-radius: 16px 16px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
.sheet h2 { margin: 0 0 8px; font-size: 20px; }
.sheet p { margin: 0 0 14px; color: var(--muted); }
.sheet .btn-primary { font-size: 17px; min-height: 52px; }
.sheet .btn-ghost { display: block; width: 100%; margin-top: 10px; min-height: 48px; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }

.f-links{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:10px 0 8px}
.f-links .f-web{color:var(--link,#027ec3);font-weight:600;text-decoration:none}
.f-links .f-web:hover{text-decoration:underline}
.f-social{display:inline-flex;gap:10px}
.f-social a{width:38px;height:38px;border-radius:50%;background:#555;color:#fff;display:inline-flex;align-items:center;justify-content:center}
.f-social a:hover,.f-social a:focus-visible{background:var(--link,#027ec3)}
.f-social svg{width:20px;height:20px}

/* ===== Client hub home (Oct 2026): Breathe Easy blue / black / white only ===== */
body.hub { background: #fff; color: #111; }
.hub-hero {
  position: relative; color: #fff; padding: calc(14px + env(safe-area-inset-top)) 18px 70px;
  background: linear-gradient(180deg, rgba(0,52,111,.72) 0%, rgba(0,26,60,.9) 100%), url("/home/hero.jpg") center/cover no-repeat, #00346f;
}
.hub-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hub-logo { width: 132px; height: auto; display: block; }
.hub-call { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 12px; }
.hub-call svg { width: 17px; height: 17px; }
.hub-hi { margin: 26px 0 6px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.hub-sub { margin: 0; font-size: 14.5px; line-height: 1.4; opacity: .9; max-width: 340px; }
.hub-main { max-width: 560px; margin: -50px auto 0; padding: 0 16px 10px; position: relative; }
.hub-status { background: #fff; border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 10px 30px rgba(0,30,70,.16), 0 1px 3px rgba(0,30,70,.08); border: 1px solid #e6ebf3; }
.st-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1d4fa3; }
.st-title { font-size: 21px; font-weight: 800; color: #111; margin-top: 4px; line-height: 1.2; }
.st-text { margin: 6px 0 14px; color: #3b4350; font-size: 15px; line-height: 1.45; }
.st-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hub-btn { flex: 1 1 auto; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 16px; border-radius: 12px;
  background: #00346f; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 3px 10px rgba(0,52,111,.25); }
.hub-btn:active { background: #002550; }
.hub-btn.ghost { background: #fff; color: #00346f; border: 1.5px solid #00346f; box-shadow: none; }
.hub-trust { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0 4px; }
.hub-trust .tb { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #111; background: #f2f5fa; border: 1px solid #dfe6f0; border-radius: 999px; padding: 7px 11px; }
.hub-trust .tb b { color: #00346f; }
.hub-trust svg { width: 17px; height: 17px; color: #1d4fa3; }
.hub-h { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #111; margin: 22px 2px 10px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 6px; text-align: center;
  background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,30,70,.06); color: #111; font-weight: 700; font-size: 13.5px; line-height: 1.2; text-decoration: none; }
.qa:active { background: #f2f5fa; }
.qi { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #eaf0f9; color: #00346f; flex: none; }
.qi svg { width: 23px; height: 23px; }
.hub-emerg { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: #111; color: #fff; text-decoration: none; }
.hub-emerg .qi { background: rgba(255,255,255,.12); color: #fff; }
.hub-emerg span:nth-child(2) { flex: 1; line-height: 1.25; font-size: 16px; }
.hub-emerg small { display: block; font-size: 13px; opacity: .8; font-weight: 500; }
.hub-emerg > svg { width: 20px; height: 20px; opacity: .7; }
.hub-list { background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,30,70,.06); overflow: hidden; }
.hub-list a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: #111; font-weight: 600; font-size: 15.5px; text-decoration: none; border-top: 1px solid #eef2f7; }
.hub-list a:first-child { border-top: 0; }
.hub-list a:active { background: #f2f5fa; }
.hub-list .qi { width: 36px; height: 36px; border-radius: 10px; }
.hub-list .qi svg { width: 20px; height: 20px; }
.hub-list a > svg { margin-left: auto; width: 18px; height: 18px; color: #9aa6b8; }
.hub-social { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 20px 0 4px; }
.hub-social a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 999px; border: 1px solid #dfe6f0; background: #fff; color: #00346f; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.hub-social svg { width: 18px; height: 18px; }
body.hub .team-login {
  border-radius: 14px; margin: 18px 0 8px; border: 1.5px solid #00346f; color: #00346f; background: #fff;
}
body.hub .team-login:active { background: #eaf0f9; }
body.hub .app-footer { background: #111; color: #c9ced6; }
body.hub .app-footer .f-name { color: #fff; }
.hub-app { margin-top: 14px; background: #fff; border: 1.5px solid #00346f; border-radius: 18px; padding: 14px; box-shadow: 0 4px 14px rgba(0,30,70,.08); display: flex; flex-direction: column; gap: 12px; }
.hub-app.on { background: #f2f6fc; }
.app-row { display: flex; align-items: center; gap: 12px; }
.app-txt { flex: 1; min-width: 0; }
.app-t { font-weight: 800; font-size: 16.5px; color: #111; line-height: 1.25; }
.app-s { font-size: 14px; color: #3b4350; margin-top: 2px; line-height: 1.35; }
.hub-app .hub-btn { width: 100%; }
.app-notify { border-top: 1px solid #e6ebf3; padding-top: 12px; }
.hub-btn.sm { flex: none; width: auto !important; min-height: 42px; padding: 0 14px; font-size: 15px; }
.sheet ol.steps { margin: 0 0 6px; padding-left: 22px; font-size: 16px; line-height: 1.5; color: #111; }
.sheet ol.steps li { margin-bottom: 8px; }
.hub-main [hidden], .hub-app [hidden] { display: none !important; }
button.hub-btn { font-family: inherit; font-weight: 700; cursor: pointer; }
