/* Base styles shared by every business. Brand colours and font come from /theme.css. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:1.0625rem;line-height:1.55;color:#1b1f24;background:#fff}
a{color:var(--link)}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid #1a5fb4;outline-offset:2px;box-shadow:0 0 0 5px #fff}
img{max-width:100%;height:auto}
h1,h2,h3{line-height:1.2;margin:1.4em 0 .5em}
h1{font-size:clamp(1.6rem,3.5vw,2.3rem);margin-top:.6em}
h2{font-size:1.35rem}
h3{font-size:1.1rem}
code{font-size:1.05em;background:#f1f3f5;padding:.1em .35em;border-radius:4px}
.secret{font-size:1.2rem;letter-spacing:.08em}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:.5rem;background:#fff;color:#000;padding:.75rem 1rem;z-index:100;border:2px solid #000}
.skip-link:focus{left:.5rem}
.wrap{max-width:1100px;margin:0 auto;padding:0 1.25rem}
.narrow{max-width:640px}
.section{padding:2rem 0}
.muted{color:#555d66}
.hint{color:#4a5159;font-size:.95rem;margin:.2rem 0 .4rem}
.hp{position:absolute;left:-9999px}

/* Header and navigation */
.site-header,.app-header{background:var(--brand);color:var(--brand-text)}
.site-header a,.app-header a,.app-header .link-button{color:var(--brand-text)}
.site-header .button-accent{color:var(--accent-text)}
.header-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem 1.25rem;max-width:1400px;margin:0 auto}
.brand{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;font-weight:700;font-size:1.25rem;text-decoration:none;min-width:0;max-width:100%;overflow-wrap:anywhere}
.brand-logo{max-height:48px;width:auto;max-width:100%;height:auto;object-fit:contain;background:#fff;border-radius:6px;padding:2px}
.nav-list,.app-nav{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.1rem}
.app-nav{padding:0 1.25rem .6rem;max-width:1400px;margin:0 auto}
.app-nav a{display:inline-block;padding:.35rem .2rem;text-decoration:none;border-bottom:3px solid transparent}
.app-nav a[aria-current="page"]{border-bottom-color:var(--accent);font-weight:700}
.app-nav a:hover{text-decoration:underline}
.link-button{background:none;border:0;padding:.3rem 0;font:inherit;text-decoration:underline;cursor:pointer}
.inline-form{display:inline}

/* Main */
.app-main{max-width:1400px;margin:0 auto;padding:1rem 1.25rem 3rem}
.flash{background:#e7f5ec;border-left:6px solid #1e7d3a;padding:.75rem 1rem;margin:1rem 0}
.warning{background:#fff4e0;border-left:6px solid #b25e00;padding:.75rem 1rem}
.error-summary{background:#fdecec;border-left:6px solid #b3261e;padding:.75rem 1rem;margin:1rem 0}
.error-summary h2{margin-top:0;font-size:1.15rem}

/* Hero and public site */
.hero{background:var(--brand);color:var(--brand-text);padding:3.5rem 0 3rem}
.hero h1{font-size:clamp(2rem,5vw,3.2rem);max-width:20ch;margin:0 0 .6rem}
.lead{font-size:1.2rem;max-width:60ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.band{background:#f4f6f8}
.card-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:1rem}
.card{border:1px solid #c9d0d8;border-radius:10px;padding:1.1rem}
.card h3{margin-top:0}
.price{font-weight:700}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:1.5rem 2.5rem}
.site-footer{background:#1f252b;color:#f1f3f5;padding:2rem 0;margin-top:2rem}
.site-footer a{color:#cfe3ff}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1rem}

/* Buttons */
.button{display:inline-block;background:var(--brand);color:var(--brand-text);border:2px solid var(--brand);border-radius:8px;padding:.65rem 1.1rem;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;min-height:44px;line-height:1.3}
.button:hover{filter:brightness(1.1)}
.button-accent{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}
.button-secondary{background:#fff;color:#1b1f24;border-color:#5b6470}
.button-outline-light{background:transparent;color:var(--brand-text);border-color:currentColor}
.button-danger{background:#b3261e;border-color:#b3261e;color:#fff}
.actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}

/* Forms */
form{margin:0 0 1rem}
.field{margin:0 0 .9rem}
.field label,legend{display:block;font-weight:700;margin-bottom:.25rem}
input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea{width:100%;font:inherit;padding:.6rem .7rem;border:2px solid #6b737c;border-radius:6px;background:#fff;color:#1b1f24;min-height:44px}
input[type=color]{width:4rem;height:44px;padding:2px;border:2px solid #6b737c;border-radius:6px}
input[readonly]{background:#f1f3f5}
.field.checkbox{display:flex;gap:.6rem;align-items:flex-start}
.field.checkbox input{width:1.4rem;height:1.4rem;margin-top:.15rem;flex:none}
.field.checkbox label{font-weight:400}
fieldset{border:1px solid #c9d0d8;border-radius:8px;padding:1rem 1.1rem .4rem;margin:0 0 1.2rem}
.has-error input,.has-error select{border-color:#b3261e}
.field-error{color:#b3261e;font-weight:700;margin:.2rem 0}
.row-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 1rem}
.inline-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.6rem}
.inline-fields .field{margin:0}
.filters{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;margin-bottom:1rem}
.filters .field{margin:0;min-width:180px}
.search-form{max-width:640px}
details{margin:.75rem 0}
summary{cursor:pointer;font-weight:700;padding:.3rem 0;color:var(--link)}

/* Tables */
table{border-collapse:collapse;width:100%;margin:.5rem 0 1.5rem}
caption{text-align:left;font-weight:700;padding:.4rem 0}
th,td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid #d6dbe0;vertical-align:top}
thead th{background:#f1f3f5;border-bottom:2px solid #9aa3ad}
.num{text-align:right;font-variant-numeric:tabular-nums}
tfoot th,tfoot td{border-bottom:0}
.lines tfoot .total th,.lines tfoot .total td{font-weight:800;border-top:2px solid #1b1f24}

/* Status badges (text + colour, never colour alone) */
.badge{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.85rem;font-weight:700;border:1px solid #6b737c;background:#f1f3f5;color:#1b1f24;white-space:nowrap}
.badge-new,.badge-draft{background:#eef2ff;border-color:#4f5bd5;color:#2a3290}
.badge-scheduled,.badge-dispatched,.badge-sent,.badge-viewed{background:#e8f1fb;border-color:#1f5fa8;color:#123f73}
.badge-en_route,.badge-on_site,.badge-partial{background:#fff4e0;border-color:#a15c00;color:#6b3d00}
.badge-completed,.badge-paid,.badge-accepted,.badge-invoiced,.badge-succeeded{background:#e7f5ec;border-color:#1e7d3a;color:#145228}
.badge-cancelled,.badge-void,.badge-declined{background:#fdecec;border-color:#b3261e;color:#7d1a14}

/* Dashboard */
.stat-row{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem;margin:1rem 0}
.stat{border:1px solid #c9d0d8;border-radius:10px;padding:.9rem 1rem;display:flex;flex-direction:column}
.stat-label{color:#4a5159}
.stat-value{font-size:1.6rem;font-weight:800}
.plain-list{list-style:none;padding:0;margin:0 0 1rem}
.plain-list>li{padding:.45rem 0;border-bottom:1px solid #e3e7eb}
.details{display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr);gap:.3rem 1rem}
.details dt{font-weight:700;overflow-wrap:anywhere}
.details dd{margin:0;overflow-wrap:anywhere}
@media (max-width:30em){.details{grid-template-columns:minmax(0,1fr);gap:0}.details dd{margin-bottom:.5rem}}
.timeline{padding-left:1.2rem}
.timeline li{margin-bottom:.7rem}

/* Dispatch board */
.day-nav{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-bottom:1rem}
.board{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;align-items:start}
.board-col{border:1px solid #c9d0d8;border-radius:10px;padding:.5rem .8rem;background:#fafbfc}
.board-col h2{font-size:1.1rem;margin:.4rem 0 .6rem;display:flex;align-items:center;gap:.4rem}
.swatch{display:inline-block;width:.9rem;height:.9rem;border-radius:50%;background:var(--sw,#777);border:1px solid #333}
.board-card{background:#fff;border:1px solid #d6dbe0;border-left:5px solid var(--brand);border-radius:8px;padding:.5rem .7rem;margin-bottom:.6rem}
.board-card p{margin:.2rem 0}

/* Technician screens */
.job-card{border:1px solid #c9d0d8;border-radius:10px;padding:.8rem 1rem;margin-bottom:.7rem}
.job-link{display:block;text-decoration:none;color:inherit}
.job-link strong{color:var(--link);text-decoration:underline}
.status-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem}
.status-buttons .button{width:100%;min-height:56px;font-size:1.1rem}
.clock-box{border:1px solid #c9d0d8;border-radius:10px;padding:.6rem 1rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.clock-box p{margin:0}
.photo-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem}
.photo-grid img{border-radius:6px;border:1px solid #c9d0d8}

/* Estimates and invoices */
.line-items{list-style:none;padding:0;margin:0}
.line-item{display:grid;grid-template-columns:minmax(200px,1fr) 110px 130px 110px;gap:.5rem;align-items:end;border-bottom:1px dashed #c9d0d8;padding:.4rem 0}
.line-item .field{margin:0}
@media (max-width:700px){.line-item{grid-template-columns:1fr 1fr}.line-item .grow{grid-column:1/-1}}
.running-total{font-weight:800;font-size:1.15rem}
.doc-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}
.doc-logo{max-height:80px;width:auto}
.doc-meta h1{margin-top:0}
.doc-meta dl{display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr);gap:.2rem .8rem;margin:0}
.doc-meta dt{font-weight:700}
.doc-meta dd{margin:0}
.pay-box{border:2px solid var(--brand);border-radius:10px;padding:1rem 1.2rem;margin:1.5rem 0;max-width:640px}
.pay-box h2{margin-top:0}
.logo-preview{max-height:100px;border:1px solid #c9d0d8;padding:4px}
.tabs ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.3rem 1rem;margin:0 0 1rem}
.tabs a[aria-current="page"]{font-weight:800}
.js .no-js-hide{display:block}
.no-js-hide{display:none}
.js .inline-fields.no-js-hide{display:flex}

@media print{
  .site-header,.app-header,.site-footer,.no-print,.pay-box,.skip-link,details{display:none!important}
  body{font-size:11pt;color:#000}
  .section{padding:0}
  a{color:#000;text-decoration:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media (forced-colors:active){.badge,.button{border:1px solid ButtonText}}

/* Map */
.map-wrap{margin:1rem 0}
.map{position:relative;height:480px;overflow:hidden;border:1px solid #9aa3ad;border-radius:10px;background:#dfe6ec;touch-action:none;cursor:grab}
.map-layer{position:absolute;inset:0}
.map-tile{position:absolute;width:256px;height:256px;user-select:none;pointer-events:none}
.mk{position:absolute;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .35rem;border-radius:999px;font-weight:800;font-size:.8rem;text-decoration:none;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.map-legend .mk{position:static;transform:none}
.mk-job{background:var(--brand);color:var(--brand-text)}
.mk-job-open{background:#b3261e;color:#fff}
.mk-tech{background:#1e7d3a;color:#fff;border-radius:6px}
.map-controls{position:absolute;right:.6rem;top:.6rem;display:flex;flex-direction:column;gap:.3rem}
.map-controls button{width:44px;height:44px;font-size:1.4rem;font-weight:800;background:#fff;border:2px solid #5b6470;border-radius:8px;cursor:pointer}
.map-attribution{position:absolute;right:0;bottom:0;margin:0;background:rgba(255,255,255,.85);font-size:.75rem;padding:.1rem .4rem}
.tabs-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:.5rem 0 1rem}
[hidden]{display:none!important}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 1rem}
.billing-banner{background:#fff4e0;border-bottom:3px solid #a15c00;padding:.6rem 1.25rem}
.sms-thread{list-style:none;padding:0;max-width:640px}
.sms{padding:.6rem .8rem;border-radius:12px;margin:.4rem 0;max-width:85%}
.sms-in{background:#f1f3f5;border:1px solid #c9d0d8}
.sms-out{background:#e8f1fb;border:1px solid #1f5fa8;margin-left:auto}
.app-footer{border-top:1px solid #d6dbe0;padding:1rem 1.25rem;max-width:1400px;margin:2rem auto 0;font-size:.95rem}
.legal h2{margin-top:1.6em}

/* ---------- Public business websites ---------- */
body.site{display:flex;flex-direction:column;min-height:100vh}
body.site main{flex:1}
.site-header{position:sticky;top:0;z-index:20;box-shadow:0 1px 0 rgba(0,0,0,.15),0 4px 14px rgba(0,0,0,.08)}
.site-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding-top:.7rem;padding-bottom:.7rem;max-width:1200px}
.site-bar .brand{font-size:1.3rem;letter-spacing:-.01em}
.site-menu{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}
.site-nav{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem 1.15rem}
.site-nav a{display:inline-block;padding:.45rem .1rem;text-decoration:none;font-weight:600;border-bottom:3px solid transparent}
.site-nav a:hover{border-bottom-color:currentColor}
.site-nav a[aria-current="page"]{border-bottom-color:var(--accent)}
.site-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:0}
.site-actions .button{padding:.5rem .95rem}
.menu-toggle{font:inherit;font-weight:700;background:transparent;color:var(--brand-text);border:2px solid currentColor;border-radius:8px;padding:.45rem .9rem;min-height:44px;cursor:pointer}
@media (max-width:899px){
  .has-menu-toggle .site-menu{display:none;width:100%;flex-direction:column;align-items:flex-start;padding:.5rem 0 1rem}
  .has-menu-toggle .site-menu.is-open{display:flex}
  .has-menu-toggle .site-nav{flex-direction:column;width:100%}
  .has-menu-toggle .site-nav a{padding:.6rem 0;width:100%}
}
@media (min-width:900px){.menu-toggle{display:none}}

/* Hero */
.site .hero{position:relative;overflow:hidden;padding:clamp(3rem,8vw,6.5rem) 0 clamp(2.5rem,6vw,5rem)}
.hero-inner{position:relative;z-index:1}
.site .hero h1{font-size:clamp(2.1rem,5.2vw,3.6rem);letter-spacing:-.02em;max-width:18ch}
.site .hero .lead{font-size:clamp(1.1rem,2vw,1.35rem);max-width:52ch;opacity:.95}
.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-has-image::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(10,14,20,.82) 0%,rgba(10,14,20,.62) 55%,rgba(10,14,20,.35) 100%)}
.hero-has-image,.hero-has-image h1,.hero-has-image .lead{color:#fff}
.hero-has-image .button-outline-light{color:#fff}

/* Sections */
.highlights{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:.9rem}
.highlights li{display:flex;gap:.65rem;align-items:flex-start;padding:1rem 1.1rem;border-radius:12px;background:#f4f6f8;font-weight:600}
.highlights li::before{content:"";flex:none;width:1.35rem;height:1.35rem;margin-top:.1rem;border-radius:50%;background:var(--accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 6.8-6.8 1.8 1.8-8.6 8.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 6.8-6.8 1.8 1.8-8.6 8.6z'/%3E%3C/svg%3E") center/contain no-repeat}
.site .section{padding:clamp(2rem,5vw,3.75rem) 0}
.site .section.wrap{padding-left:1.25rem;padding-right:1.25rem}
.site h2{font-size:clamp(1.45rem,2.6vw,1.9rem);letter-spacing:-.01em}
.site .card{background:#fff;border:1px solid #dde2e7;border-radius:14px;padding:1.35rem;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:box-shadow .15s,transform .15s}
.site .card-grid .card:hover{box-shadow:0 10px 24px rgba(16,24,40,.10);transform:translateY(-2px)}
.site .card-grid .card{border-top:4px solid var(--brand)}
.card-title{font-size:1.15rem;margin-top:0}
.page-head{background:var(--brand);color:var(--brand-text);padding:clamp(2.2rem,5vw,3.5rem) 0}
.page-head h1{margin:0 0 .4rem;font-size:clamp(1.9rem,4vw,2.8rem);letter-spacing:-.02em}
.page-head .lead{margin:0;opacity:.95}
.cta{background:var(--brand);color:var(--brand-text);text-align:left}
.cta h2{margin-top:0}
.cta .button-outline-light{color:var(--brand-text)}
.prose{max-width:72ch}
.prose h2{margin-top:1.6em}
.about-grid,.contact-grid{align-items:start}
.contact-list{margin:0}
.contact-list div{padding:.55rem 0;border-bottom:1px solid #e3e7eb}
.contact-list div:last-child{border-bottom:0}
.contact-list dt{font-weight:700;font-size:.9rem;text-transform:uppercase;letter-spacing:.04em;color:#4a5159}
.contact-list dd{margin:.15rem 0 0}
.site textarea,.site input[type=text],.site input[type=email],.site input[type=tel],.site select{border-radius:8px}

/* Footer */
.site .site-footer{margin-top:0;padding:2.75rem 0 1rem}
.footer-name{font-size:1.2rem;font-weight:700;margin-top:0}
.footer-heading{font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.85rem;color:#c3cad2;margin-top:0}
.site-footer .plain-list li{margin:.3rem 0}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;border-top:1px solid #3a434c;margin-top:1.75rem;padding-top:1rem;font-size:.92rem;color:#c3cad2}
.footer-bottom p{margin:.2rem 0}
.powered{opacity:.85}
@media (prefers-reduced-motion:reduce){.site .card,.site .card-grid .card:hover{transition:none;transform:none}}
.site-footer .plain-list>li{border:0;padding:.15rem 0}
.site .highlights-section{padding-bottom:0}
.site .card>h2:first-child{margin-top:0}

/* ---------- Display and language bar (every page) ---------- */
.display-bar{background:#f1f3f5;border-bottom:1px solid #d6dbe0;font-size:.9rem}
.display-bar-inner{max-width:1200px;margin:0 auto;padding:.3rem 1.25rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.3rem 1rem}
.display-options{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .6rem}
.pill-group{display:inline-flex;flex-wrap:wrap;gap:.3rem}
.pill{display:inline-flex;align-items:center;min-height:32px;padding:.15rem .65rem;border:1px solid #5b6470;border-radius:999px;color:#1b1f24;text-decoration:none;background:#fff}
.pill:hover{text-decoration:underline}
.pill-on{background:#1b1f24;color:#fff;border-color:#1b1f24}
.lang-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem .9rem}
.lang-list a{color:#1b1f24;font-weight:600}
.lang-list a[aria-current="true"]{text-decoration:none;border-bottom:3px solid #1b1f24}

/* DAR Crew's own pages */
.brand-mark{width:40px;height:40px;flex:none}
.platform-header{background:#fff;border-bottom:1px solid #e3e7eb}
.platform-brand{color:#12355B;font-size:1.45rem;font-weight:400;letter-spacing:-.01em}
.wm-strong{font-weight:800}
.platform-site{--brand:#12355B;--brand-text:#fff;--accent:#F2B632;--accent-text:#0F1B2A;--link:#12355B}
.platform-hero h1{max-width:22ch}
.steps{padding-left:1.4rem;max-width:60ch}
.steps li{margin:.5rem 0}
.platform-footer{border-top:1px solid #e3e7eb;padding:1.25rem;text-align:center}
.app-header .brand-mark{width:36px;height:36px}

/* Wide tables scroll inside their own box instead of making the page scroll sideways (zoom and small screens). */
.table-scroll{overflow-x:auto;max-width:100%;position:relative}
.table-scroll:focus-visible{outline:3px solid #1a5fb4}

/* ---------- Text size (user preference) ---------- */
html.text-1{font-size:118.75%}
html.text-2{font-size:137.5%}

/* ---------- High contrast (user preference, or the system's "more contrast" setting) ---------- */
html.hc,html.hc body{background:#000!important;color:#fff!important}
html.hc :where(body *:not(img):not(svg):not(svg *):not(.hero-media)){background-color:#000!important;color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.hc :where(.card,.site .card,input,select,textarea,table,th,td,.pill,.button,button,.highlights li,.contact-list div,.badge,.error-summary,.flash,.warning,.pay-box,fieldset,details,.board-card,.site-header,.app-header,.display-bar,.platform-header,.footer-bottom){border-color:#fff!important}
html.hc a,html.hc a *{color:#ffe14d!important}
html.hc a:hover{text-decoration-thickness:3px}
html.hc .button,html.hc button,html.hc .pill{border:2px solid #ffe14d!important;color:#ffe14d!important}
html.hc .pill-on,html.hc .button-accent{background-color:#ffe14d!important;color:#000!important;border-color:#ffe14d!important}
html.hc .pill-on *,html.hc .button-accent *{color:#000!important}
html.hc input,html.hc select,html.hc textarea{border:2px solid #fff!important}
html.hc :focus-visible{outline:3px solid #ffe14d!important;outline-offset:3px;box-shadow:none!important}
html.hc .hero-media,html.hc .hero-has-image::after{display:none}
html.hc .highlights li::before{background:#ffe14d!important}
html.hc .site-nav a[aria-current="page"],html.hc .app-nav a[aria-current="page"],html.hc .lang-list a[aria-current="true"]{border-bottom-color:#ffe14d!important}
html.hc .site-nav a:hover{border-bottom-color:#ffe14d!important}
html.hc .brand-logo{background:#fff!important}
html.hc .card-grid .card{border-top-width:4px}
@media (prefers-contrast:more){
  body{color:#000}
  .muted,.hint{color:#1b1f24}
  .card,.site .card,input,select,textarea{border-color:#1b1f24}
}

/* Long words and addresses never push the page wider than the screen. */
body{overflow-wrap:break-word}
dd,.contact-list a,.footer-grid a{overflow-wrap:anywhere}
td{overflow-wrap:break-word}
.site .footer-heading,.site h2.footer-heading{font-size:.85rem;margin:0 0 .6rem;letter-spacing:.06em}

.push-prompt{background:#eef4fb;border-bottom:1px solid #b9cde4;padding:.6rem 1rem;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.push-prompt[hidden]{display:none}
.push-prompt p{margin:0;flex:1 1 18rem}
html.hc .push-prompt{background:#000;border-color:#fff}

.sample-note{background:#fff4e0;color:#1a1a1a;border:2px solid #a15c00;border-left-width:.5rem;border-radius:.4rem;padding:.6rem 1rem;margin:0 0 1rem}
.sample-note h2{margin-top:0;font-size:1.15rem}

/* Phones: portal menu and display bar collapse behind buttons; tables become one card per row. */
.cell-label{display:none}
.display-toggle{display:none}
@media (max-width:899px){
  .has-app-menu .app-menu{display:none}
  .has-app-menu .app-menu.is-open{display:block}
  .has-app-menu .app-nav{flex-direction:column;padding:.25rem 1.25rem 1rem}
  .has-app-menu .app-nav a{display:block;padding:.6rem 0;min-height:44px;box-sizing:border-box}
  .app-header .header-row{flex-wrap:wrap;gap:.5rem 1rem}
}
@media (min-width:900px){.app-header .menu-toggle{display:none}}
@media (max-width:700px){
  .has-display-toggle .display-toggle{display:block;font:inherit;font-weight:600;background:transparent;color:#1a1a1a;border:0;border-bottom:1px solid transparent;width:100%;text-align:left;padding:.55rem 1.25rem;min-height:44px;cursor:pointer}
  .has-display-toggle .display-toggle::after{content:" \25BE"}
  .has-display-toggle .display-toggle[aria-expanded="true"]::after{content:" \25B4"}
  .has-display-toggle .display-bar-inner{display:none}
  .has-display-toggle .display-bar-inner.is-open{display:flex}
  table{display:block;overflow-x:auto}
  table.stack,table.stack tbody,table.stack tfoot,table.stack tr{display:block;width:100%}
  table.stack{overflow-x:visible}
  table.stack caption{display:block;text-align:left}
  table.stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  table.stack tbody tr{border:1px solid #c8cfd6;border-radius:8px;padding:.5rem .85rem;margin:0 0 .75rem}
  table.stack td,table.stack tbody th{display:block;border:0;padding:.25rem 0;text-align:left;min-width:0}
  table.stack tbody td:has(> .cell-label){display:flex;gap:.6rem}
  table.stack .cell-value{flex:1 1 auto;min-width:0}
  table.stack td:empty{display:none}
  table.stack .cell-label{display:block;flex:0 0 34%;max-width:9rem;font-weight:700;font-size:.9em;color:#46525e}
  table.stack tfoot tr{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;border-top:1px solid #c8cfd6;padding:.35rem .85rem}
  table.stack tfoot th,table.stack tfoot td{display:block;border:0;padding:0;text-align:right}
  table.stack tfoot .cell-label{display:none}
}
html.hc .cell-label{color:inherit!important}
html.hc .display-toggle{color:inherit}

/* Today's schedule: readable job cards without a wide table. */
.today-jobs{list-style:none;margin:.5rem 0 1.5rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(21rem,100%),1fr));gap:.75rem}
.today-job{min-width:0;border:1px solid #c8cfd6;border-radius:8px;padding:.9rem 1rem}
.today-job h3{margin:0 0 .65rem;overflow-wrap:anywhere}
.today-job dl{margin:0;display:grid;gap:.35rem}
.today-job dl>div{display:grid;grid-template-columns:minmax(0,8rem) minmax(0,1fr);gap:.5rem}
.today-job dt{font-weight:700}
.today-job dd{margin:0;min-width:0;overflow-wrap:anywhere}
.today-job .badge{white-space:normal}
@media(max-width:25em){.today-job dl>div{grid-template-columns:minmax(0,1fr);gap:0}}
fieldset{min-width:0}
