/* look.css - the site's own look for the pages that are not built on site.css (booking, account,
   driving test, log in, sign up, payment pages). Owner 2026-10-30: "style is not good, make it better" -
   these pages were cool blue-white with upright bold headings while the site is cream paper, navy ink and
   bold upright DM Sans headings. Day mode only: night keeps each page's own dark palette. */
html:not([data-theme="dark"]){
  --cream:#faf6f0; --cream-warm:#f3ede3; --bg:#faf6f0; --bg-warm:#f3ede3;
  --line:#e7dfd2; --muted:#5c6677; --text-muted:#5c6677;
}
html:not([data-theme="dark"]) body{background:#faf6f0}
h1,h2{font-family:'DM Sans',system-ui,sans-serif;font-style:normal;font-weight:700;letter-spacing:-.015em}
.mdtbar{position:relative}

/* The slim header of log in, sign up, password and payment pages: it was a navy band with the full logo
   squeezed into a white pill. Now the site's own bar: cream paper, the shield, the name in italic. */
html:not([data-theme="dark"]) .top{background:#faf6f0;color:#0d2c54;border-bottom:1px solid #e7dfd2;box-shadow:none}
.top{padding:10px 16px;min-height:56px}
.top .brand{display:inline-flex;align-items:center;gap:10px;font-family:'DM Sans',system-ui,sans-serif;font-style:normal;font-weight:700;font-size:1.15rem;letter-spacing:-.01em}
.top img{height:32px;width:32px;background:none;padding:0;border-radius:0}
html:not([data-theme="dark"]) .top .brand,html:not([data-theme="dark"]) .top>a{color:#0d2c54}
.top>a:not(.brand){font-size:14px;font-weight:600;text-decoration:none;border:1px solid #d9cfbf;border-radius:999px;padding:7px 13px;white-space:nowrap}
[data-theme="dark"] .top>a:not(.brand){border-color:#34455f}

/* Night mode: styles.css still paints the main buttons in an old cyan-to-violet "aurora" gradient with a
   glow; the rest of the site uses the brand yellow at night. Same buttons, brand colour. */
[data-theme="dark"] .nav-cta,[data-theme="dark"] .btn-primary,[data-theme="dark"] .btn-yellow,[data-theme="dark"] .btn.sun{
  background:#f5c518!important;color:#111!important;box-shadow:none!important}
[data-theme="dark"] .btn-primary:hover,[data-theme="dark"] .btn-yellow:hover{background:#ffd23a!important}

/* Keyboard focus: the same clear ring the rest of the site shows (site.css), navy by day, yellow at night. */
:focus-visible{outline:3px solid #0d2c54;outline-offset:3px}
[data-theme="dark"] :focus-visible{outline-color:#f5c518}
