:root {
  --ink: #0f172a;
  --muted: #334155;
  --paper: #f4f8fc;
  --surface: rgba(193, 206, 231, .72);
  --surface-2: rgba(180, 214, 241, .62);
  --line: rgba(28, 103, 168, .24);
  --primary: #1c67a8;
  --primary-2: #00213f;
  --accent: #3f86c4;
  --accent-2: #0475d1;
  --gold: #d6b210;
  --soft: #dbe9f5;
  --record-gap: #3d87b8;
  --shadow: 0 18px 44px rgba(0, 78, 146, .22);
  --page-bg: linear-gradient(to bottom, #f4f8fc 0%, #8aa7be 42%, #ffffff 100%);
  --header-bg: linear-gradient(to bottom, #3f86c4 0%, #1c67a8 60%, #165a93 100%);
  --panel-shadow: 0 10px 26px rgba(0, 78, 146, .54), 0 1px 0 rgba(255, 255, 255, .65) inset;
  --panel-shadow-hover: 0 14px 34px rgba(0, 78, 146, .62), 0 0 0 1px rgba(28, 103, 168, .24), 0 1px 0 rgba(255, 255, 255, .72) inset;
  --button-gradient: linear-gradient(to right, #00213f 0%, #1c67a8 51%, #00213f 100%);
  --button-gradient-secondary: linear-gradient(to right, #f4f8fc 0%, #b4d6f1 51%, #f4f8fc 100%);
  --button-gradient-danger: linear-gradient(to right, #5a0101 0%, #dc3545 51%, #5a0101 100%);
  --button-gradient-accent: linear-gradient(to right, #004e92 0%, #3f86c4 51%, #004e92 100%);
  --button-shadow: 0 0 11px rgba(26, 24, 24, .48);
  --button-shadow-hover: 0 0 8px rgba(7, 7, 7, .62), 0 0 0 2px rgba(8, 119, 231, .18);
  --hero-overlay: linear-gradient(90deg, rgba(0, 33, 63, .92), rgba(28, 103, 168, .62) 48%, rgba(63, 134, 196, .24));
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

:root[data-theme="night"] {
  --ink: #fefeff;
  --muted: rgba(255, 255, 255, .72);
  --paper: #070707;
  --surface: rgba(18, 58, 95, .88);
  --surface-2: rgba(16, 45, 68, .88);
  --line: rgba(28, 103, 168, .58);
  --primary: #8fd8ff;
  --primary-2: #0f0f0f;
  --accent: #0475d1;
  --accent-2: #1c67a8;
  --gold: #d6b210;
  --soft: #111827;
  --record-gap: #1c67a8;
  --shadow: 0 18px 48px rgba(0, 0, 0, .52);
  --page-bg: linear-gradient(to bottom, #0f0f0f 0%, #1c67a8 25%, #070707 100%);
  --header-bg: linear-gradient(to bottom, rgba(22, 38, 54, .75), rgba(16, 21, 26, .65));
  --panel-shadow: 0 10px 26px rgba(235, 233, 233, .2), 0 1px 0 rgba(48, 47, 47, .65) inset, 0 0 22px rgba(28, 103, 168, .22);
  --panel-shadow-hover: 0 14px 34px rgba(235, 233, 233, .26), 0 0 0 1px rgba(28, 103, 168, .72), 0 0 34px rgba(28, 103, 168, .3);
  --button-gradient: linear-gradient(to right, #000428 0%, #004e92 51%, #000428 100%);
  --button-gradient-secondary: linear-gradient(to right, #111827 0%, #1c67a8 51%, #111827 100%);
  --button-gradient-danger: linear-gradient(to right, #5a0101 0%, #dc3545 51%, #5a0101 100%);
  --button-gradient-accent: linear-gradient(to right, #00213f 0%, #0475d1 51%, #00213f 100%);
  --button-shadow: 0 0 11px rgba(26, 24, 24, .9), 0 0 10px rgba(255, 255, 255, .14);
  --button-shadow-hover: 0 0 8px rgba(194, 194, 194, .72), 0 0 18px rgba(28, 103, 168, .34);
  --hero-overlay: linear-gradient(90deg, rgba(15, 15, 15, .94), rgba(28, 103, 168, .62) 50%, rgba(7, 7, 7, .9));
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page-bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--ink);
  line-height: 1.6;
  transition: background .28s ease, color .28s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: var(--primary);
  color: #fff;
  padding: .65rem .9rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(28, 103, 168, .35);
  background: var(--header-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25), 0 8px 20px rgba(13, 22, 32, .22);
  backdrop-filter: blur(12px) saturate(140%);
}

.nav-shell,
.section,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.1;
  font-weight: 850;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.brand small {
  color: rgba(255, 255, 255, .78);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 74%, var(--accent-2)) 46%, var(--surface) 62%);
  background-size: 220% 100%;
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 1.35rem;
  box-shadow: var(--button-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease, border-color .2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: var(--button-shadow-hover);
  border-color: color-mix(in srgb, var(--accent-2) 42%, var(--line));
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.site-nav a,
.dropdown-trigger {
  padding: .58rem .68rem;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-weight: 780;
  font-size: .94rem;
  border-radius: var(--radius);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .26);
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.dropdown-trigger:hover,
.nav-dropdown:focus-within .dropdown-trigger {
  color: #fff;
  background: rgba(0, 33, 63, .28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-left: .35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.15rem) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  width: 290px;
  display: none;
  padding: .45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(14px) saturate(160%);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.dropdown-menu.is-open {
  display: grid;
}

.dropdown-menu a {
  padding: .72rem .78rem;
  color: var(--ink);
  text-shadow: none;
}

.call-link,
.button,
.theme-toggle {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 44px;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--button-gradient);
  background-size: 200% auto;
  background-position: 0 0;
  color: #fff;
  text-decoration: none;
  font-weight: 820;
  cursor: pointer;
  font: inherit;
  line-height: 1.15;
  box-shadow: var(--button-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background-position .45s ease, border-color .2s ease, color .2s ease;
}

.theme-toggle {
  min-width: 94px;
  background: var(--button-gradient-secondary);
  background-size: 200% auto;
  color: var(--primary-2);
  border-color: rgba(255, 255, 255, .76);
}

.theme-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, var(--gold) 20% 60%, var(--accent) 64%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent);
}

:root[data-theme="night"] .theme-icon {
  background: radial-gradient(circle at 66% 34%, var(--surface) 0 24%, var(--primary) 26% 62%, #172233 64%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}

.button.secondary {
  background: var(--button-gradient-secondary);
  background-size: 200% auto;
  color: var(--primary-2);
  border-color: rgba(255, 255, 255, .82);
}

.button.danger {
  background: var(--button-gradient-danger);
  background-size: 200% auto;
  color: #fff;
}

.button.accent,
.button.clay {
  background: var(--button-gradient-accent);
  background-size: 200% auto;
}

.button:hover,
.call-link:hover,
.theme-toggle:hover,
.button:focus-visible,
.call-link:focus-visible,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  background-position: right center;
  box-shadow: var(--button-shadow-hover);
  border-color: rgb(8, 119, 231);
}

:root[data-theme="night"] .button.secondary,
:root[data-theme="night"] .theme-toggle {
  color: #fff;
  border-color: lightsteelblue;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  background:
    var(--hero-overlay),
    url("images/hero-home.jpg") center / cover no-repeat;
  color: #fff;
}

.hero .section {
  padding: clamp(4rem, 11vh, 7rem) 0 3rem;
}

.eyebrow {
  color: var(--gold);
  font-weight: 920;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: .45rem 0 1rem;
  font-size: clamp(2.4rem, 6.6vw, 5.6rem);
}

h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.85rem, 3.7vw, 3.35rem);
}

h3 {
  margin: 0 0 .5rem;
  font-size: 1.18rem;
}

.hero p,
.service-hero p,
.page-hero p {
  max-width: 780px;
  margin: 0 0 1.45rem;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.home-page .hero h1 {
  max-width: min(1180px, 100%);
}

.home-page .reporting-intro .section-head {
  max-width: min(1160px, 100%);
}

.home-page .reporting-intro .section-head p {
  max-width: min(1080px, 100%);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.hero-strip,
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.22);
  margin-top: clamp(2rem, 6vh, 5rem);
}

.hero-strip div,
.metric-strip div {
  padding: 1rem;
  background: rgba(10, 37, 57, .72);
}

.hero-strip strong,
.metric-strip strong {
  display: block;
  color: #fff;
}

.hero-strip span,
.metric-strip span {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}

main > .section,
.band > .section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

main > .pricing-fees-section {
  padding-bottom: clamp(1rem, 2.4vw, 1.6rem);
}

main > .pricing-estimate-section {
  padding-top: clamp(1rem, 2.4vw, 1.6rem);
}

.pricing-estimate-section .section-head {
  margin-bottom: 1rem;
}

.band {
  background: var(--surface-2);
}

.section-head {
  max-width: 800px;
  margin-bottom: 1.75rem;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--panel-shadow);
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}

.card:hover,
.card:focus-within {
  border-color: color-mix(in srgb, var(--accent-2) 22%, var(--line));
  box-shadow: var(--panel-shadow-hover);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.service-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-card {
  padding: .65rem;
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-card figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
}

.wind-feature-grid,
.four-point-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.four-point-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.slider-card {
  display: grid;
  gap: .7rem;
  align-content: start;
  overflow: hidden;
}

.slider-card h3 {
  margin-bottom: 0;
  min-height: 2.5rem;
}

.slider-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.slider-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
}

.slider-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.slider-frame img:first-child {
  opacity: 1;
}

.slider-frame[data-slides="2"] img {
  animation: fade-two 8s infinite;
}

.slider-frame[data-slides="2"] img:nth-child(2) {
  animation-delay: 4s;
}

.slider-frame[data-slides="3"] img {
  animation: fade-three 12s infinite;
}

.slider-frame[data-slides="3"] img:nth-child(2) {
  animation-delay: 4s;
}

.slider-frame[data-slides="3"] img:nth-child(3) {
  animation-delay: 8s;
}

.slider-frame[data-slides="4"] img {
  animation: fade-four 16s infinite;
}

.slider-frame[data-slides="4"] img:nth-child(2) {
  animation-delay: 4s;
}

.slider-frame[data-slides="4"] img:nth-child(3) {
  animation-delay: 8s;
}

.slider-frame[data-slides="4"] img:nth-child(4) {
  animation-delay: 12s;
}

.service-card .tag {
  width: fit-content;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  background: color-mix(in srgb, var(--gold) 15%, var(--surface));
  color: color-mix(in srgb, var(--gold) 65%, var(--ink));
  border-radius: 999px;
  padding: .25rem .58rem;
  font-size: .78rem;
  font-weight: 850;
}

.feature,
.service-hero,
.media-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.feature > *,
.service-hero > *,
.media-band > * {
  min-width: 0;
}

.service-hero {
  min-height: auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  color: #fff;
}

.service-hero-shell {
  background: var(--primary-2);
  position: relative;
  overflow: hidden;
}

.service-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 14%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 28%),
    radial-gradient(circle at 12% 86%, color-mix(in srgb, var(--accent-2) 25%, transparent), transparent 26%);
  pointer-events: none;
}

.service-hero-shell .section {
  position: relative;
}

.hero-media,
.photo-grid,
.image-frame {
  position: relative;
}

.hero-media {
  display: grid;
  gap: .8rem;
  align-content: start;
}

.hero-media img,
.image-frame img,
.photo-grid img,
.wide-photo {
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media::after,
.image-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: var(--radius);
  transform: translate(10px, 10px);
  z-index: -1;
}

.report-float {
  position: relative;
  width: 100%;
  padding: 1rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
}

.report-float strong {
  display: block;
}

.report-line {
  display: block;
  height: .55rem;
  margin-top: .7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--gold));
  background-size: 180% 100%;
  animation: report-flow 3.5s ease-in-out infinite;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.check-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: .7rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .45rem;
}

.check-list li::before {
  content: "";
  width: .72rem;
  height: .72rem;
  margin-top: .42rem;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-2) 14%, transparent);
}

.page-hero {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-2) 94%, transparent), color-mix(in srgb, var(--primary) 86%, transparent) 56%, color-mix(in srgb, var(--accent) 70%, transparent));
  color: #fff;
}

.page-hero .section {
  padding: clamp(3rem, 9vw, 6rem) 0;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 1rem;
}

.process-item {
  counter-increment: process;
  position: relative;
  padding-left: 3.2rem;
}

.process-item::before {
  content: counter(process);
  position: absolute;
  left: 0;
  top: .15rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.county-visual {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--primary-2) 86%, transparent), color-mix(in srgb, var(--primary) 70%, transparent)),
    url("images/exterior-risk-photo.jpg") center / cover no-repeat;
  color: #fff;
}

.county-visual .section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.county-visual .lead {
  color: rgba(255,255,255,.86);
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .8rem;
  margin-top: 1.5rem;
}

.county-pill {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.county-pill::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent-2));
  transform: translateX(-100%);
  animation: county-scan 4.5s ease-in-out infinite;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
  align-items: start;
}

.contact-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: .65rem;
}

.contact-list a {
  color: var(--primary);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.terms-content {
  max-width: 980px;
}

.terms-content .card {
  display: grid;
  gap: .55rem;
}

.terms-content h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.terms-content p {
  margin: 0;
}

.site-footer a {
  overflow-wrap: anywhere;
}

form {
  display: grid;
  gap: .9rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

label {
  display: grid;
  gap: .35rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem .8rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 72%, #ffffff);
  font: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .38) inset;
}

:root[data-theme="night"] input,
:root[data-theme="night"] select,
:root[data-theme="night"] textarea {
  background: rgba(17, 24, 39, .6);
  border-color: rgba(148, 163, 184, .22);
  color: #fefeff;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 3rem;
}

.password-reveal {
  position: absolute;
  top: 50%;
  right: .35rem;
  width: 2.35rem;
  height: 2.35rem;
  min-height: 0;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-reveal:hover,
.password-reveal:focus-visible,
.password-reveal[aria-pressed="true"] {
  color: var(--primary);
  background: color-mix(in srgb, var(--accent-2) 12%, transparent);
}

.password-reveal svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

label.is-disabled {
  color: var(--muted);
  opacity: .68;
}

label.is-disabled input {
  cursor: not-allowed;
  background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
}

.field-error {
  border-color: #c73535 !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, #c73535 18%, transparent);
}

.field-error-label {
  color: color-mix(in srgb, #c73535 82%, var(--ink));
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--primary-2);
  color: #fff;
}

.form-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 19, 31, .56);
}

.form-alert-modal.is-open {
  display: grid;
}

.form-alert-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 1.25rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid #c73535;
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow-hover);
  backdrop-filter: blur(14px) saturate(160%);
}

.form-alert-dialog h2 {
  margin-right: 2rem;
  font-size: 1.35rem;
}

.form-alert-dialog p {
  margin: 0 0 .75rem;
  color: var(--muted);
}

.form-alert-dialog ul {
  margin: 0;
  padding-left: 1.25rem;
}

.form-alert-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(110deg, var(--surface-2) 0%, color-mix(in srgb, var(--surface-2) 70%, var(--accent-2)) 48%, var(--surface-2) 64%);
  background-size: 220% 100%;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--button-shadow);
  transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease, border-color .2s ease;
}

.form-alert-close:hover,
.form-alert-close:focus-visible {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: var(--button-shadow-hover);
  border-color: color-mix(in srgb, var(--accent-2) 42%, var(--line));
}

.footer-inner {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
}

.site-footer a {
  color: #fff;
}

.footer-small {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

.admin-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
}

.admin-wide {
  width: min(1480px, calc(100% - 32px));
}

.admin-login {
  width: min(560px, calc(100% - 32px));
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
}

.admin-login-page .admin-login {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: .75rem;
  padding: 2rem 0;
}

.admin-login-page .admin-topbar {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  justify-content: flex-end;
  margin-bottom: 0;
}

.admin-orders-page {
  padding-top: 3.4rem;
}

.admin-orders-page .section-head .theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 40;
}

.admin-orders-page .section-head {
  max-width: none;
  padding-right: 8.5rem;
}

.login-page-title {
  justify-self: center;
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  line-height: 1;
  text-align: center;
}

.login-card {
  gap: 1rem;
  padding: 1.2rem;
}

.login-brand {
  display: grid;
  justify-items: center;
  margin-bottom: .15rem;
  text-align: center;
}

.login-brand img {
  width: min(66px, 24vw);
  height: auto;
  filter: drop-shadow(0 0 4px rgba(15, 15, 15, .52));
}

:root[data-theme="night"] .login-brand img {
  filter: drop-shadow(0 0 3px rgba(214, 178, 16, .68));
}


.admin-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.admin-filters {
  margin: 1.25rem 0;
}

.admin-filters.is-collapsed {
  display: none;
}

.search-toggle {
  margin: 0 0 .85rem;
  width: fit-content;
}

.admin-row-form {
  display: grid;
  grid-template-columns: 150px 180px 170px 160px minmax(280px, 1fr) auto;
  gap: .75rem;
  align-items: end;
}

.admin-row-form textarea {
  min-height: 74px;
}

.admin-row-form input[type="date"],
.admin-row-form input[type="time"] {
  min-height: 42px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.checkbox-label input {
  width: auto;
  min-height: 0;
}

.muted {
  color: var(--muted);
  font-size: .9rem;
}

.tag.alert {
  border-color: color-mix(in srgb, #c73535 38%, var(--line));
  color: color-mix(in srgb, #c73535 78%, var(--ink));
  background: color-mix(in srgb, #c73535 10%, var(--surface));
}

.tag.success {
  border-color: color-mix(in srgb, var(--accent-2) 38%, var(--line));
  color: color-mix(in srgb, var(--accent-2) 74%, var(--ink));
  background: color-mix(in srgb, var(--accent-2) 11%, var(--surface));
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 880;
  white-space: nowrap;
}

.status-new {
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
  background: color-mix(in srgb, var(--gold) 16%, var(--surface));
}

.status-contacted,
.status-scheduled,
.status-contact-attempted,
.status-updated,
.status-rescheduled {
  border-color: color-mix(in srgb, var(--accent-2) 45%, var(--line));
  background: color-mix(in srgb, var(--accent-2) 12%, var(--surface));
}

.status-rescheduled {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.status-completed {
  border-color: color-mix(in srgb, #3c9c5a 48%, var(--line));
  background: color-mix(in srgb, #3c9c5a 13%, var(--surface));
}

.status-cancelled {
  border-color: color-mix(in srgb, #c73535 44%, var(--line));
  background: color-mix(in srgb, #c73535 10%, var(--surface));
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(14px) saturate(160%);
}

.button.is-disabled,
.button[aria-disabled="true"] {
  opacity: .58;
  pointer-events: none;
}

.pricing-estimator {
  display: grid;
  gap: 1rem;
}

.pricing-result {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 72%, transparent);
}

.pricing-message {
  padding: .85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.pricing-message.success {
  border-color: color-mix(in srgb, #188753 42%, var(--line));
}

.pricing-message.warning {
  border-color: color-mix(in srgb, var(--gold) 58%, var(--line));
  background: color-mix(in srgb, var(--gold) 12%, var(--surface));
}

.pricing-message.alert {
  border-color: color-mix(in srgb, #b42318 45%, var(--line));
  background: color-mix(in srgb, #b42318 10%, var(--surface));
}

.pricing-breakdown {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-breakdown li,
.pricing-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .45rem;
}

.pricing-total {
  border-bottom: 0;
  padding: .25rem 0 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.order-estimator {
  margin: 1rem 0;
}

.order-estimator h2 {
  margin-bottom: 0;
}

.pricing-admin-card {
  margin-bottom: 1rem;
}

.pricing-admin-card.is-inactive {
  opacity: .72;
}

.pricing-admin-form {
  display: grid;
  gap: 1rem;
}

.pricing-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.pricing-admin-list {
  display: grid;
  gap: 1rem;
}

.pricing-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 1rem;
}

.pricing-service-actions form {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.orders-table table {
  min-width: 1380px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: transparent;
}

.record-column-header th {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.record-column-header th:first-child {
  border-left: 1px solid var(--line);
  border-radius: var(--radius) 0 0 0;
}

.record-column-header th:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 var(--radius) 0 0;
}

.orders-table tbody td {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.orders-table tbody tr:not(.notes-row) td {
  border-top: 0;
  border-bottom: 0;
}

.orders-table tbody tr:not(.notes-row) td:first-child {
  border-left: 1px solid var(--line);
  border-radius: var(--radius) 0 0 0;
}

.orders-table tbody tr:not(.notes-row) td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 var(--radius) 0 0;
}

.orders-table td,
.orders-table th {
  overflow-wrap: anywhere;
  word-break: normal;
}

.orders-table .col-date { width: 150px; }
.orders-table .col-status { width: 105px; }
.orders-table .col-service { width: 130px; }
.orders-table .col-customer { width: 170px; }
.orders-table .col-agent { width: 190px; }
.orders-table .col-property { width: 240px; }
.orders-table .col-contact { width: 175px; }
.orders-table .col-request { width: 220px; }

.date-cell {
  position: relative;
}

.record-edit-button {
  display: none;
}

@media (min-width: 900px) {
  .record-edit-button {
    position: absolute;
    top: .55rem;
    right: .55rem;
    display: inline-flex;
    min-height: 30px;
    padding: .35rem .65rem;
    font-size: .78rem;
    line-height: 1;
    z-index: 2;
  }

  .date-cell {
    padding-right: 4.25rem;
  }
}

.property-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.request-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.text-button {
  margin-top: .45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  text-decoration: underline;
}

.notes-row td {
  padding: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-bottom: 14px solid var(--record-gap);
  border-radius: 0 0 var(--radius) var(--radius);
  background: color-mix(in srgb, var(--surface-2) 24%, var(--surface));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--primary-2) 8%, transparent);
}

.record-detail-panel {
  display: grid;
  gap: .9rem;
  padding: 1rem;
}

.followup-panel {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(14px) saturate(160%);
}

.quote-price-field {
  display: grid;
  gap: .45rem;
  align-content: end;
}

.quote-price-field .button {
  width: 100%;
  min-height: 42px;
  white-space: normal;
}

.appointment-warning {
  display: none;
  color: #c73535;
  font-size: .78rem;
  font-weight: 850;
}

:root[data-theme="night"] .appointment-warning {
  color: #ff9a9a;
}

.show-appointment-warning .appointment-warning {
  display: block;
}

.notes-panel {
  margin: 0;
  padding: .95rem 1rem 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
  background: color-mix(in srgb, var(--surface-2) 58%, var(--surface));
}

.scheduled-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-left: .65rem;
  padding: .18rem .55rem;
  border: 1px solid color-mix(in srgb, var(--accent-2) 45%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 12%, var(--surface));
  color: var(--ink);
  font-size: .82rem;
  font-weight: 850;
}

.note-entry {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  white-space: normal;
}

.note-entry.schedule-note {
  padding: .85rem;
  border: 1px solid color-mix(in srgb, var(--gold) 48%, var(--line));
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--gold) 13%, var(--surface));
  box-shadow: var(--panel-shadow);
}

.archive-record-form {
  display: flex;
  justify-content: flex-end;
  margin-top: .9rem;
}

.compact-form {
  display: block;
}

.admin-user-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.admin-user-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(160%);
}

.admin-user-summary {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.admin-user-summary h2 {
  margin: 0 0 .55rem;
  font-size: 1.1rem;
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.admin-user-activity {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
  color: var(--muted);
  font-size: .9rem;
}

.admin-user-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.6fr) minmax(260px, .8fr) minmax(260px, .8fr);
  gap: 1rem;
  padding: 1rem;
}

.admin-user-panel {
  min-width: 0;
  display: grid;
  gap: .75rem;
  align-content: start;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-2));
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(14px) saturate(160%);
}

.admin-user-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-user-panel input,
.admin-user-panel select,
.admin-user-panel button {
  max-width: 100%;
}

.admin-create-user {
  margin: 1.25rem 0;
}

.admin-create-form {
  margin: 1rem;
}

.admin-user-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  align-items: end;
}

.admin-user-form-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-modal-form {
  max-height: min(78vh, 820px);
  overflow: auto;
  padding-right: .25rem;
}

.order-modal .form-alert-dialog,
.print-schedule-modal .form-alert-dialog {
  width: min(1080px, 100%);
  border-top-color: var(--accent-2);
}

.calendar-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(160%);
}

.calendar-title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.calendar-title-row h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
  padding: .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}

.calendar-day {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: .45rem;
  padding: .75rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.is-muted {
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 42%, var(--surface));
}

.calendar-day.has-inspections {
  background: color-mix(in srgb, var(--accent-2) 10%, var(--surface));
}

.calendar-day:hover,
.calendar-day:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 55%, transparent);
  outline-offset: -2px;
}

.calendar-day-number {
  font-weight: 950;
}

.calendar-count {
  width: fit-content;
  padding: .12rem .42rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 42%, var(--line));
  background: color-mix(in srgb, var(--accent-2) 13%, var(--surface));
  font-size: .78rem;
  font-weight: 900;
}

.calendar-list {
  display: grid;
  gap: .25rem;
  font-size: .82rem;
  line-height: 1.35;
}

.print-controls {
  display: grid;
  grid-template-columns: 160px 190px auto auto;
  gap: .75rem;
  align-items: end;
  margin-bottom: 1rem;
}

.print-modal-body {
  overflow: auto;
}

.print-schedule-table {
  min-width: 980px;
}

.detail-modal-body {
  white-space: pre-wrap;
  color: var(--ink);
  line-height: 1.55;
}

th,
td {
  padding: .85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
}

.price {
  font-weight: 900;
  color: var(--accent);
  white-space: nowrap;
}

@keyframes report-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes county-scan {
  0%, 35% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}

@keyframes fade-two {
  0%, 44% { opacity: 1; }
  50%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade-three {
  0%, 27% { opacity: 1; }
  33%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade-four {
  0%, 20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .call-link {
    display: none;
  }

  .wind-feature-grid,
  .four-point-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav a,
  .dropdown-trigger {
    padding-inline: .5rem;
  }

  .admin-row-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-row-form .button {
    width: 100%;
  }

  .admin-user-summary,
  .admin-user-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-form-grid-wide,
  .field-grid.three,
  .print-controls {
    grid-template-columns: 1fr;
  }

  .calendar-shell {
    overflow-x: auto;
  }

  .calendar-weekdays,
  .calendar-grid {
    min-width: 860px;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .admin-row-form {
    grid-template-columns: 1fr;
  }

  .admin-user-form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .dropdown-trigger {
    padding: .8rem;
    text-align: left;
  }

  .nav-dropdown {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    width: auto;
    display: grid;
    margin: 0 .35rem .35rem;
    box-shadow: none;
    background: var(--surface-2);
  }

  .dropdown-trigger::after {
    display: none;
  }

  .hero,
  .service-hero {
    min-height: auto;
  }

  .hero-strip,
  .metric-strip,
  .grid.two,
  .grid.three,
  .grid.four,
  .feature,
  .service-hero,
  .media-band,
  .contact-layout,
  .footer-inner,
  .field-grid,
  .county-grid,
  .wind-feature-grid,
  .four-point-feature-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .theme-toggle {
    min-width: 48px;
    padding-inline: .7rem;
  }

  .theme-toggle span[data-theme-label] {
    display: none;
  }
}

@media print {
  body:not(.admin-orders-page) * {
    visibility: hidden;
  }

  body.calendar-page main {
    display: none !important;
  }

  .print-schedule-modal.is-open,
  .print-schedule-modal.is-open * {
    visibility: visible;
  }

  .print-schedule-modal.is-open {
    position: static;
    display: block;
    padding: 0;
    background: #fff;
  }

  .print-schedule-modal .form-alert-dialog {
    width: 100%;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    max-width: none;
  }

  .print-modal-body h3 {
    margin-top: 0;
  }

  .no-print {
    display: none !important;
  }

  body.admin-orders-page {
    background: #fff;
    color: #000;
  }

  body.admin-orders-page .theme-toggle,
  body.admin-orders-page .admin-filters,
  body.admin-orders-page .inline-actions,
  body.admin-orders-page .followup-panel,
  body.admin-orders-page .archive-record-form,
  body.admin-orders-page .form-alert-modal,
  body.admin-orders-page .text-button {
    display: none !important;
  }

  body.admin-orders-page .admin-shell,
  body.admin-orders-page .admin-wide {
    width: 100%;
    padding: 0;
  }

  body.admin-orders-page .section-head {
    max-width: none;
    margin-bottom: .6rem;
    padding-right: 0;
  }

  body.admin-orders-page .section-head h1 {
    font-size: 22pt;
  }

  body.admin-orders-page .section-head .lead,
  body.admin-orders-page .section-head .eyebrow {
    color: #000;
  }

  body.admin-orders-page .table-wrap,
  body.admin-orders-page .orders-table {
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  body.admin-orders-page .orders-table table {
    min-width: 0;
    table-layout: fixed;
    font-size: 8.5pt;
  }

  body.admin-orders-page th,
  body.admin-orders-page td {
    padding: .25rem;
    color: #000;
    background: #fff !important;
    border-color: #999;
  }

  body.admin-orders-page .notes-row td {
    border-bottom: 1px solid #999;
    box-shadow: none;
  }

  body.admin-orders-page .record-detail-panel {
    padding: .35rem 0;
  }

  body.admin-orders-page .notes-panel {
    padding: .3rem;
    background: #fff;
  }

  body.admin-orders-page .note-entry,
  body.admin-orders-page .note-entry.schedule-note {
    border: 1px solid #aaa;
    box-shadow: none;
    background: #fff;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .section,
  .footer-inner,
  .admin-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 48px;
    height: 46px;
  }

  .brand span {
    font-size: .95rem;
  }

  .brand small {
    font-size: .68rem;
  }

  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .report-float {
    position: static;
    width: auto;
    margin-top: .75rem;
  }
}
