:root {
  --wine: #155ed3;
  --wine-dark: #0a1b33;
  --gold: #f0b429;
  --ink: #172033;
  --muted: #667085;
  --paper: #f3f6fa;
  --line: #d8e0ea;
  --shadow: 0 18px 48px rgba(10, 27, 51, .12);
}

/* Black Wellington banner, readable even on a narrow phone. */
.appbar,.tool-header,.topbar{background:#0b0c0f;border-bottom:1px solid #b78e2b;color:#fff}
.app-brand,.tool-brand,.brand{color:#fff!important;min-width:0}
.app-brand img,.tool-brand img,.brand img{width:52px;height:52px;object-fit:contain;flex-shrink:0;border-radius:8px}
.app-brand strong,.tool-brand strong,.brand strong{color:#fff;font-family:inherit;font-size:1rem}
.app-brand small,.tool-brand small,.brand small{color:#efc553}
.tool-header nav a{color:#fff}
.wg-has-navigation{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.wg-return-nav{position:fixed;bottom:0;left:0;right:0;z-index:45;display:flex;justify-content:center;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#0b0c0f;border-top:1px solid #c99c30;box-shadow:0 -4px 18px #0002}
.wg-return-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #555;border-radius:10px;color:#fff;text-decoration:none;font-weight:750;font-size:.9rem;text-align:center}
.wg-return-nav a:first-child,.wg-return-nav a[aria-current=page]{background:#edc65b;color:#111;border-color:#edc65b}
.wg-return-nav a:focus-visible{outline:3px solid #69adff;outline-offset:3px}
@media(max-width:620px){.wg-return-nav{gap:5px;padding-left:7px;padding-right:7px}.wg-return-nav a{flex:1;padding:8px 5px;font-size:.875rem}.app-brand strong,.tool-brand strong{font-size:.88rem}.app-brand img,.tool-brand img{width:46px;height:46px}.tool-header{flex-wrap:wrap}.tool-header nav{margin-left:auto}}
@media print{.wg-return-nav{display:none!important}.wg-has-navigation{padding-bottom:0}}

.tax-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7faff;
}

.tax-choice .check {
  margin: 0;
  color: var(--wine-dark);
  font-weight: 850;
}

.tax-choice small {
  color: var(--muted);
  line-height: 1.35;
}

.billing-overlay { background: rgba(10, 27, 51, .88); }
.billing-card { border-color: rgba(240, 180, 41, .55); color: #172033; }
.billing-kicker, .billing-legal a { color: #155ed3; }
.billing-card h1, .billing-price { color: #0a1b33; }
.billing-primary { background: #155ed3; }
.billing-secondary { border-color: #cbd5e1; color: #155ed3; }
.billing-review-toggle { display: block; margin: 14px auto 0; border: 0; background: transparent; color: #667085; text-decoration: underline; cursor: pointer; }
.billing-review { display: grid; gap: 9px; margin-top: 12px; padding: 12px; border-radius: 12px; background: #f3f6fa; }
.billing-review[hidden] { display: none; }
.billing-review input { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 9px; }
.billing-review button { min-height: 44px; border: 0; border-radius: 9px; background: #0a1b33; color: #fff; font-weight: 850; cursor: pointer; }

/* Wellington’s black and gold banner: preserve the entire original artwork. */
.appbar .app-brand img,.tool-header .tool-brand img,.topbar .brand img{width:210px;height:140px;object-fit:contain;background:#000;border-radius:0}
.appbar .app-brand>span,.tool-header .tool-brand>span,.topbar .brand>span{display:none}
@media(max-width:620px){.appbar{flex-wrap:wrap}.appbar .app-brand img,.tool-header .tool-brand img,.topbar .brand img{width:180px;height:120px}.appbar .app-actions{margin-left:auto}.appbar .language-switcher{margin-left:auto}}
