/* Stop The Bailiffs — professional presentation layer, September 2026.
   This file intentionally overrides legacy presentation only; legal article content is untouched. */
:root {
  --stb-ink: #172033;
  --stb-muted: #5e6b7d;
  --stb-surface: #ffffff;
  --stb-surface-soft: #f5f7fb;
  --stb-line: #dde3eb;
  --stb-navy: #101827;
  --stb-navy-2: #1c283d;
  --stb-orange: #f2602a;
  --stb-orange-dark: #b9441d;
  --stb-yellow: #ffe865;
  --stb-focus: #1b6fd1;
  --stb-shadow: 0 18px 50px rgba(16, 24, 39, .09);
  --stb-radius: 18px;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--stb-surface-soft) !important;
  color: var(--stb-ink) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--stb-yellow); color: #111827; }
a { color: var(--stb-orange-dark) !important; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #8f3212 !important; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--stb-focus); outline-offset: 3px; border-radius: 4px; }
img, video, iframe { max-width: 100%; }

.stb-skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 20000;
  transform: translateY(-150%); padding: 10px 14px; border-radius: 8px;
  background: #fff; color: #111827 !important; box-shadow: var(--stb-shadow);
}
.stb-skip-link:focus { transform: translateY(0); }

.stb-sitebar {
  position: sticky; top: 0; z-index: 9000;
  background: rgba(16, 24, 39, .97);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
  backdrop-filter: blur(10px);
}
.stb-sitebar-inner {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto;
  min-height: 68px; display: flex; align-items: center; gap: 20px;
}
.stb-mini-brand {
  display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
  color: #fff !important; text-decoration: none !important; font-size: 18px; font-weight: 850; letter-spacing: -.02em;
}
.stb-mini-mark {
  width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto;
  border: 3px solid #fff; outline: 3px solid var(--stb-orange); border-radius: 10px;
  background: var(--stb-orange); color: #fff; font-size: 18px; line-height: 1;
}
.stb-primary-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.stb-primary-nav a {
  color: #dbe4f1 !important; text-decoration: none !important; font-weight: 650;
  padding: 10px 9px; border-radius: 8px; white-space: nowrap; font-size: 14px;
}
.stb-primary-nav a:hover { color: #fff !important; background: rgba(255,255,255,.08); }
.stb-nav-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 10px;
  background: var(--stb-yellow); color: #111827 !important; text-decoration: none !important;
  font-weight: 850; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.stb-nav-cta:hover { background: #fff19a; color: #111827 !important; }

.stb-trustbar { background: #fff; border-bottom: 1px solid var(--stb-line); }
.stb-trustbar-inner {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto; min-height: 38px;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  color: #536174; font-size: 12.5px; font-weight: 700; letter-spacing: .015em;
}
.stb-trustbar span { display: inline-flex; align-items: center; gap: 7px; }
.stb-trustbar span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--stb-orange); }

.backgroundLine, .shadowBottom { display: none !important; }
.container { width: min(1120px, calc(100% - 32px)) !important; margin: 0 auto !important; }
.stb-brand-header { height: auto !important; margin: 24px 0 18px !important; padding: 18px 24px; background: #fff; border: 1px solid var(--stb-line); border-radius: var(--stb-radius); box-shadow: 0 8px 28px rgba(16,24,39,.05); }
.stb-brand-header center { display: block; }
.stb-brand-header img[src*="logo.png"] { width: min(100%, 760px) !important; height: auto !important; display: block; margin: 0 auto; }

#Content { margin-bottom: 24px !important; }
#Content.standard {
  min-height: 0 !important; background: #fff !important; border: 1px solid var(--stb-line) !important;
  border-radius: var(--stb-radius) !important; overflow: hidden; box-shadow: var(--stb-shadow);
}
#Breadcrumbs {
  height: auto !important; padding: 13px clamp(20px, 4vw, 46px) !important;
  background: #fff9ed !important; border-bottom: 1px solid #f3dfb8; font-size: 13px !important;
}
#Breadcrumbs .breadcrumbs { padding: 0 !important; color: #6d5f47 !important; font-weight: 750 !important; }
#Breadcrumbs a { color: #8e3b1d !important; }
#ContentArea { background: none !important; padding: 0 !important; }
#BodyTextArea, #BodyTextArea2 {
  width: auto !important; max-width: none !important; padding: clamp(26px, 5vw, 62px) !important;
  color: #334155 !important; font-size: 17px !important; line-height: 1.76 !important;
}
#BodyTextArea > :first-child, #BodyTextArea2 > :first-child { margin-top: 0; }
#BodyTextArea p, #BodyTextArea2 p { line-height: 1.76 !important; }
#BodyTextArea h1, #BodyTextArea2 h1, #ContentArea h1 {
  margin: 0 0 24px !important; color: #111827 !important;
  font-size: clamp(30px, 4.2vw, 46px) !important; line-height: 1.08 !important; letter-spacing: -.035em; font-weight: 850 !important;
}
#BodyTextArea h2, #BodyTextArea2 h2, #ContentArea h2 {
  margin: 30px 0 10px; padding: 0 !important; color: #182233 !important;
  font-size: clamp(21px, 2.5vw, 27px) !important; line-height: 1.25 !important; font-weight: 820 !important;
}
#BodyTextArea h3, #BodyTextArea2 h3 { margin: 26px 0 8px; color: #273449; font-size: 20px; line-height: 1.3; }
#BodyTextArea ul, #BodyTextArea ol, #BodyTextArea2 ul, #BodyTextArea2 ol { padding-left: 1.45em !important; margin: 12px 0 18px; }
#BodyTextArea li, #BodyTextArea2 li { margin: 7px 0; }
#BodyTextArea hr, #BodyTextArea2 hr { height: 1px !important; margin: 32px 0; background: var(--stb-line) !important; }
#BodyTextArea sup, #BodyTextArea2 sup { line-height: 1.65; }
#BodyTextArea blockquote, #BodyTextArea2 blockquote {
  margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--stb-orange);
  background: #fff8f3; color: #344054; border-radius: 0 10px 10px 0;
}
#BodyTextArea table, #BodyTextArea2 table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
#BodyTextArea td, #BodyTextArea th, #BodyTextArea2 td, #BodyTextArea2 th { padding: 10px 12px; border: 1px solid var(--stb-line); }
#BodyTextArea img, #BodyTextArea2 img { height: auto !important; border-radius: 10px; }

#SideBar { float: none !important; width: auto !important; margin: 0 !important; padding: 0 28px 30px; }
.panel, .panel.submenu {
  border-radius: 14px !important; border: 1px solid var(--stb-line) !important; background: #fff !important;
  box-shadow: 0 7px 22px rgba(16,24,39,.05); overflow: hidden;
}
.panel .panelText { background: none !important; }
.panel h2 { color: #111827 !important; line-height: 1.2; }

/* Homepage */
#Content.home {
  height: auto !important; display: grid; grid-template-columns: minmax(265px, .8fr) minmax(0, 1.7fr);
  gap: 22px; align-items: stretch; margin-top: 0; padding: 0 !important;
}
#WelcomeArea, #ImageWrapper {
  float: none !important; width: auto !important; height: auto !important; min-height: 310px;
  border: 1px solid var(--stb-line) !important; border-radius: var(--stb-radius); box-shadow: var(--stb-shadow); overflow: hidden;
}
#WelcomeArea {
  background: linear-gradient(160deg, #fffdf5 0%, #fff6d7 100%) !important; padding: 28px !important;
  display: flex; flex-direction: column; justify-content: center;
}
#WelcomeArea h1 { margin: 0 0 14px !important; font-size: clamp(31px, 4vw, 44px) !important; line-height: 1.03 !important; letter-spacing: -.04em; color: #111827 !important; }
#WelcomeArea p { margin: 2px 0 !important; padding: 0 !important; text-align: left !important; font-size: 15px !important; line-height: 1.35 !important; }
#WelcomeArea p a {
  display: block; margin: 5px 0; padding: 10px 12px; border-radius: 10px; background: #fff;
  border: 1px solid #eadfbd; color: #7f3217 !important; box-shadow: 0 4px 12px rgba(40,30,10,.04);
}
#WelcomeArea p a:hover { background: #fff9e4; text-decoration: none; transform: translateY(-1px); }
#ImageWrapper { background: #111827 !important; aspect-ratio: 632 / 306; min-height: 0; }
#ImageRotator, #ImageRotator li { width: 100% !important; height: 100% !important; }
#ImageRotator img { width: 100% !important; height: 100% !important; object-fit: cover; border: 0 !important; }
.bannerText, .pager { display: none !important; }
#PanelArea { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0 28px !important; }
.panel.home {
  float: none !important; width: auto !important; margin: 0 !important; border-radius: 14px !important;
  background: #fff !important; border: 1px solid var(--stb-line) !important; box-shadow: 0 9px 26px rgba(16,24,39,.06);
}
.panel.home .panelText { min-height: 0 !important; padding: 22px !important; }
.panel.home h2 { font-size: 21px !important; }
.panel.home p { text-align: left !important; color: #536174; }

/* De-emphasise the legacy promotional image without deleting it from the source */
img[src*="consultation_footer.png"] { display: none !important; }
#Content.standard #Header { height: auto !important; margin: 0 !important; }
#Content.standard #Header br { display: none; }
#Content.standard #BodyTextArea2.protection { padding-top: 24px !important; padding-bottom: 28px !important; }

.stb-contact-rail {
  position: fixed; right: 20px; bottom: 20px; z-index: 8500; width: 210px;
  padding: 13px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--stb-line);
  box-shadow: 0 16px 46px rgba(15,23,42,.18); text-decoration: none !important;
}
.stb-contact-rail strong { display: block; color: #111827; font-size: 15px; }
.stb-contact-rail span { display: block; margin-top: 2px; color: #657184; font-size: 12px; font-weight: 600; }
.stb-contact-rail::before { content: "→"; float: right; color: var(--stb-orange); font-size: 23px; font-weight: 900; line-height: 1.1; }
.stb-contact-rail:hover { transform: translateY(-2px); text-decoration: none !important; }

.stb-expert-footer { width: min(1120px, calc(100% - 32px)); margin: 14px auto 22px; }
.stb-expert-card {
  display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 26px; align-items: center;
  padding: 28px; border-radius: 20px; background: linear-gradient(125deg, #111a2b, #1b2940);
  color: #fff; box-shadow: 0 18px 52px rgba(15,23,42,.18); overflow: hidden; position: relative;
}
.stb-expert-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,232,101,.09); }
.stb-expert-photo { width: 132px; height: 144px; object-fit: cover; object-position: center top; border-radius: 16px; border: 3px solid rgba(255,255,255,.9); background: #fff; position: relative; z-index: 1; }
.stb-expert-copy { position: relative; z-index: 1; }
.stb-expert-eyebrow { margin: 0 0 5px; color: var(--stb-yellow); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.stb-expert-copy h2 { margin: 0 0 8px; padding: 0; color: #fff !important; font-size: clamp(22px, 3vw, 30px); line-height: 1.18; letter-spacing: -.025em; }
.stb-expert-copy p { margin: 0 0 15px; padding: 0; color: #d9e3f0; font-size: 15px; line-height: 1.55; max-width: 720px; }
.stb-expert-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stb-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px;
  border-radius: 10px; background: var(--stb-yellow); color: #111827 !important; text-decoration: none !important; font-weight: 850;
}
.stb-button:hover { background: #fff19a; color: #111827 !important; }
.stb-text-link { color: #fff !important; font-weight: 750; }

.stb-preferred-source { margin-top: 13px; }
.stb-preferred-source a { color: #c9d6e5 !important; font-size: 12px; font-weight: 650; }

.stb-site-footer { background: #0b1220; color: #aebbd0; border-top: 1px solid rgba(255,255,255,.08); }
.stb-site-footer-inner {
  width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 23px 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px;
}
.stb-site-footer nav { display: flex; gap: 15px; flex-wrap: wrap; }
.stb-site-footer a { color: #dbe4f2 !important; font-weight: 650; }

@media (max-width: 1040px) {
  .stb-primary-nav a:nth-child(5), .stb-primary-nav a:nth-child(6) { display: none; }
  .stb-contact-rail { display: none; }
}
@media (max-width: 820px) {
  .stb-sitebar-inner { min-height: 58px; gap: 10px; flex-wrap: wrap; padding: 9px 0 7px; }
  .stb-mini-brand { font-size: 15px; }
  .stb-mini-mark { width: 30px; height: 30px; }
  .stb-primary-nav { order: 3; width: 100%; display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; padding-bottom: 2px; }
  .stb-primary-nav::-webkit-scrollbar { display: none; }
  .stb-primary-nav a, .stb-primary-nav a:nth-child(5), .stb-primary-nav a:nth-child(6) { display: inline-flex; padding: 7px 9px; font-size: 12px; }
  .stb-nav-cta { margin-left: auto; min-height: 38px; padding: 0 12px; font-size: 13px; }
  .stb-trustbar-inner { justify-content: flex-start; gap: 11px; padding: 8px 0; }
  #Content.home { grid-template-columns: 1fr; }
  #WelcomeArea { min-height: 0; }
  #ImageWrapper { min-height: 0; }
  #PanelArea { grid-template-columns: 1fr; }
  .stb-expert-card { grid-template-columns: 92px minmax(0,1fr); gap: 18px; padding: 22px; }
  .stb-expert-photo { width: 92px; height: 110px; }
}
@media (max-width: 580px) {
  .container, .stb-expert-footer, .stb-site-footer-inner, .stb-sitebar-inner, .stb-trustbar-inner { width: min(100% - 20px, 1120px) !important; }
  .stb-brand-header { margin: 12px 0 !important; padding: 10px 12px; border-radius: 12px; }
  #BodyTextArea, #BodyTextArea2 { padding: 24px 20px !important; font-size: 16px !important; }
  #Breadcrumbs { padding: 11px 20px !important; }
  .stb-trustbar span:nth-child(3) { display: none; }
  .stb-expert-card { grid-template-columns: 1fr; text-align: left; }
  .stb-expert-photo { width: 86px; height: 96px; }
  .stb-site-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media print {
  .stb-sitebar, .stb-trustbar, .stb-contact-rail, .stb-expert-footer, .stb-site-footer { display: none !important; }
  body { background: #fff !important; }
  .container { width: 100% !important; }
  #Content.standard { box-shadow: none !important; border: 0 !important; }
}
/* Stop The Bailiffs — ergonomic presentation refinement, September 2026.
   Presentation only. The screened legal wording in the HTML body is not modified. */
:root {
  --stb2-navy-950:#081426;
  --stb2-navy-900:#0d1b31;
  --stb2-navy-800:#142744;
  --stb2-navy-700:#203b61;
  --stb2-ink:#162033;
  --stb2-text:#334155;
  --stb2-muted:#64748b;
  --stb2-line:#dbe3ec;
  --stb2-soft:#f5f7fa;
  --stb2-soft-blue:#f2f7fc;
  --stb2-white:#fff;
  --stb2-yellow:#ffe45e;
  --stb2-yellow-2:#f7cf38;
  --stb2-orange:#ef5b2a;
  --stb2-link:#9f3517;
  --stb2-focus:#1268d6;
  --stb2-shadow-sm:0 6px 22px rgba(8,20,38,.06);
  --stb2-shadow:0 18px 55px rgba(8,20,38,.10);
  --stb2-shadow-lg:0 24px 70px rgba(8,20,38,.14);
  --stb2-radius:18px;
  --stb2-radius-sm:12px;
}

html { scroll-padding-top: 92px; }
body {
  background:
    radial-gradient(circle at 12% -10%, rgba(255,228,94,.15), transparent 24rem),
    linear-gradient(180deg,#f8fafc 0,#f5f7fa 34rem,#f4f6f9 100%) !important;
  color:var(--stb2-text) !important;
}
body.stb-menu-open { overflow:hidden; }

/* Avoid a visually exposed skip link in non-focus rendering engines. */
.stb-skip-link {
  top:-80px !important;
  transform:none !important;
  transition:top .15s ease;
}
.stb-skip-link:focus { top:10px !important; }

/* Reading progress and utility controls are injected by Scripts/modern-ux.js. */
.stb-reading-progress {
  position:fixed; inset:0 auto auto 0; z-index:20000; width:0; height:3px;
  background:linear-gradient(90deg,var(--stb2-yellow-2),var(--stb2-orange));
  box-shadow:0 0 12px rgba(239,91,42,.25);
  pointer-events:none;
}
.stb-back-top {
  position:fixed; right:246px; bottom:22px; z-index:8400;
  min-width:44px; min-height:44px; padding:0 13px; border:1px solid var(--stb2-line);
  border-radius:999px; background:rgba(255,255,255,.96); color:var(--stb2-navy-900);
  box-shadow:var(--stb2-shadow-sm); font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  opacity:0; visibility:hidden; transform:translateY(8px); transition:.18s ease; cursor:pointer;
}
.stb-back-top.is-visible { opacity:1; visibility:visible; transform:none; }
.stb-back-top:hover { background:#fff8d9; border-color:#e7cf76; }

/* Global header */
.stb-sitebar {
  background:rgba(8,20,38,.975) !important;
  border-bottom:1px solid rgba(255,255,255,.09) !important;
  box-shadow:0 10px 34px rgba(3,10,22,.18) !important;
}
.stb-sitebar-inner {
  width:min(1220px,calc(100% - 36px)) !important;
  min-height:66px !important; gap:16px !important; position:relative;
}
.stb-mini-brand { font-size:17px !important; letter-spacing:-.015em !important; }
.stb-mini-mark {
  width:32px !important; height:32px !important; border-radius:9px !important;
  border-width:2px !important; outline-width:2px !important; font-size:17px !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.1);
}
.stb-primary-nav { gap:3px !important; }
.stb-primary-nav a {
  min-height:40px; display:inline-flex; align-items:center;
  padding:0 10px !important; border-radius:9px !important;
  color:#dbe5f2 !important; font-size:13.5px !important; font-weight:700 !important;
  text-decoration:none !important;
}
.stb-primary-nav a:hover { background:rgba(255,255,255,.08) !important; color:#fff !important; }
.stb-primary-nav a[aria-current="page"] {
  background:rgba(255,228,94,.13) !important; color:#fff !important;
  box-shadow:inset 0 -2px 0 var(--stb2-yellow-2);
}
.stb-nav-cta {
  min-height:42px !important; padding:0 16px !important; border-radius:10px !important;
  background:linear-gradient(180deg,#fff08a,var(--stb2-yellow)) !important;
  color:var(--stb2-navy-950) !important; box-shadow:0 4px 14px rgba(255,228,94,.12), inset 0 0 0 1px rgba(88,67,0,.12) !important;
}
.stb-nav-cta:hover { background:#fff3a4 !important; transform:translateY(-1px); }
.stb-mobile-menu {
  display:none; min-width:44px; min-height:42px; padding:0 12px; border:1px solid rgba(255,255,255,.18);
  border-radius:10px; background:rgba(255,255,255,.05); color:#fff; font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;
}
.stb-mobile-menu:hover { background:rgba(255,255,255,.1); }

.stb-trustbar { background:rgba(255,255,255,.96) !important; box-shadow:0 1px 0 rgba(8,20,38,.04); }
.stb-trustbar-inner {
  width:min(1220px,calc(100% - 36px)) !important; min-height:40px !important;
  gap:22px !important; color:#58677a !important; font-size:12.25px !important;
}
.stb-trustbar span::before { width:7px !important; height:7px !important; background:var(--stb2-yellow-2) !important; box-shadow:0 0 0 2px #fff6c7; }

/* Masthead */
.container { width:min(1080px,calc(100% - 36px)) !important; }
.stb-brand-header {
  margin:20px 0 14px !important; padding:14px 22px !important;
  border:1px solid rgba(13,27,49,.10) !important; border-radius:16px !important;
  background:rgba(255,255,255,.95) !important; box-shadow:var(--stb2-shadow-sm) !important;
}
.stb-brand-header img[src*="logo.png"] { width:min(100%,680px) !important; }

/* Article shell */
#Content { margin-bottom:20px !important; }
#Content.standard {
  border:1px solid rgba(13,27,49,.09) !important;
  border-radius:20px !important; box-shadow:var(--stb2-shadow) !important;
  background:rgba(255,255,255,.985) !important; overflow:hidden !important;
}
#Breadcrumbs {
  padding:12px clamp(24px,5vw,54px) !important;
  background:linear-gradient(180deg,#fffaf0,#fff7e5) !important;
  border-bottom:1px solid #efdfb9 !important;
}
#Breadcrumbs .breadcrumbs { color:#675d4c !important; font-size:12.75px !important; letter-spacing:.005em; }
#Breadcrumbs a { color:#8f3215 !important; text-decoration:none !important; }
#Breadcrumbs a:hover { text-decoration:underline !important; }

#ContentArea { background:transparent !important; }
#BodyTextArea,
#BodyTextArea2 {
  width:auto !important; max-width:880px !important; margin:0 auto !important;
  padding:clamp(36px,5.5vw,66px) clamp(25px,6vw,66px) !important;
  color:var(--stb2-text) !important; font-size:18px !important; line-height:1.72 !important;
}
#BodyTextArea p,
#BodyTextArea2 p {
  max-width:74ch; margin:0 0 1.15em !important; padding:0 !important;
  color:var(--stb2-text) !important; font-size:18px !important; line-height:1.72 !important;
  text-align:left !important; letter-spacing:0 !important;
}
#BodyTextArea p p,
#BodyTextArea2 p p { margin-bottom:1.15em !important; }
#BodyTextArea h1,
#BodyTextArea2 h1,
#ContentArea h1 {
  max-width:24ch; margin:0 0 30px !important;
  color:var(--stb2-ink) !important; font-size:clamp(32px,4vw,46px) !important;
  line-height:1.08 !important; letter-spacing:-.038em !important; font-weight:850 !important;
  text-wrap:balance;
}
#BodyTextArea h1::after,
#BodyTextArea2 h1::after,
#ContentArea h1::after {
  content:""; display:block; width:64px; height:4px; margin-top:18px; border-radius:999px;
  background:linear-gradient(90deg,var(--stb2-yellow-2),var(--stb2-orange));
}
#BodyTextArea h2,
#BodyTextArea2 h2,
#ContentArea h2 {
  max-width:32ch; margin:34px 0 13px !important; color:var(--stb2-ink) !important;
  font-size:clamp(22px,2.3vw,28px) !important; line-height:1.22 !important;
  letter-spacing:-.02em !important; font-weight:820 !important; text-wrap:balance;
}
#BodyTextArea h3,
#BodyTextArea2 h3 { margin:28px 0 10px !important; color:#22334c !important; font-size:20px !important; line-height:1.3 !important; }
#BodyTextArea li,
#BodyTextArea2 li { margin:8px 0 !important; font-size:18px !important; line-height:1.65 !important; }
#BodyTextArea ul,
#BodyTextArea ol,
#BodyTextArea2 ul,
#BodyTextArea2 ol { max-width:72ch; margin:12px 0 24px !important; padding-left:1.4em !important; }

#BodyTextArea a,
#BodyTextArea2 a {
  color:var(--stb2-link) !important; text-decoration:underline !important;
  text-decoration-thickness:.075em !important; text-underline-offset:.18em !important;
  text-decoration-color:rgba(159,53,23,.42) !important;
}
#BodyTextArea a:hover,
#BodyTextArea2 a:hover { color:#74250e !important; text-decoration-color:currentColor !important; }
#BodyTextArea strong,
#BodyTextArea2 strong,
#BodyTextArea b,
#BodyTextArea2 b { color:#1e293b; }
#BodyTextArea hr,
#BodyTextArea2 hr { margin:38px 0 28px !important; background:linear-gradient(90deg,var(--stb2-line),transparent) !important; }
#BodyTextArea blockquote,
#BodyTextArea2 blockquote {
  max-width:72ch; margin:26px 0 !important; padding:20px 24px !important;
  border-left:4px solid var(--stb2-yellow-2) !important; border-radius:0 12px 12px 0 !important;
  background:#fffbea !important; color:#334155 !important;
}

/* Give the substantive source list a deliberate law-report look without altering its text. */
#BodyTextArea > sup,
#BodyTextArea2 > sup {
  display:block; max-width:74ch; margin:28px 0 0 !important; padding:22px 24px !important;
  border:1px solid #d8e3ef; border-radius:14px; background:var(--stb2-soft-blue);
  color:#475569 !important; font-size:13.5px !important; line-height:1.76 !important;
  box-shadow:inset 4px 0 0 #8eb4d9;
}
#BodyTextArea > sup a,
#BodyTextArea2 > sup a { color:#215b8e !important; font-weight:750 !important; }
#BodyTextArea p sup,
#BodyTextArea li sup,
#BodyTextArea2 p sup,
#BodyTextArea2 li sup { font-size:.67em; vertical-align:super; }

#BodyTextArea table,
#BodyTextArea2 table {
  margin:24px 0 !important; border:1px solid var(--stb2-line) !important; border-radius:12px;
  background:#fff; box-shadow:0 6px 18px rgba(8,20,38,.04);
}
#BodyTextArea th,
#BodyTextArea2 th { background:#f1f5f9 !important; color:#1e293b !important; font-weight:800 !important; }
#BodyTextArea td,
#BodyTextArea th,
#BodyTextArea2 td,
#BodyTextArea2 th { padding:12px 14px !important; border-color:#e2e8f0 !important; }
#BodyTextArea img,
#BodyTextArea2 img { border-radius:12px !important; box-shadow:0 8px 24px rgba(8,20,38,.08); }

/* Sidebar and legacy panels */
#SideBar { padding:0 26px 30px !important; }
.panel,.panel.submenu {
  border:1px solid #dfe6ee !important; border-radius:14px !important;
  box-shadow:0 8px 24px rgba(8,20,38,.05) !important;
}
.panel h2 { color:var(--stb2-ink) !important; }

/* Homepage — clearer task-first hero */
#Content.home {
  grid-template-columns:minmax(310px,.88fr) minmax(0,1.5fr) !important;
  gap:20px !important; align-items:stretch !important;
}
#WelcomeArea,
#ImageWrapper { border-radius:20px !important; border-color:rgba(13,27,49,.10) !important; box-shadow:var(--stb2-shadow) !important; }
#WelcomeArea {
  padding:34px !important;
  background:linear-gradient(145deg,var(--stb2-navy-950) 0%,var(--stb2-navy-800) 100%) !important;
  color:#fff !important; position:relative;
}
#WelcomeArea::before {
  content:""; position:absolute; width:170px; height:170px; right:-65px; top:-70px; border-radius:50%;
  background:rgba(255,228,94,.10); pointer-events:none;
}
#WelcomeArea h1 {
  color:#fff !important; font-size:clamp(34px,4vw,47px) !important; line-height:1.02 !important;
  margin:0 0 16px !important; max-width:10ch; text-wrap:balance;
}
#WelcomeArea h1::after { content:""; display:block; width:58px; height:4px; margin-top:16px; border-radius:99px; background:var(--stb2-yellow); }
#WelcomeArea p { color:#dce6f3 !important; font-size:14px !important; line-height:1.35 !important; position:relative; z-index:1; }
#WelcomeArea p:first-of-type { margin-bottom:10px !important; color:#fff2a8 !important; }
#WelcomeArea p a {
  min-height:44px; display:flex !important; align-items:center; position:relative;
  margin:7px 0 !important; padding:10px 42px 10px 13px !important;
  border:1px solid rgba(255,255,255,.15) !important; border-radius:11px !important;
  background:rgba(255,255,255,.96) !important; color:#13233b !important;
  box-shadow:0 6px 16px rgba(0,0,0,.08) !important; text-decoration:none !important;
  font-weight:800 !important; transition:transform .16s ease,background .16s ease;
}
#WelcomeArea p a::after { content:"→"; position:absolute; right:14px; color:var(--stb2-orange); font-size:18px; }
#WelcomeArea p a:hover { background:#fff7cb !important; transform:translateX(2px) !important; }
#ImageWrapper { min-height:360px !important; background:var(--stb2-navy-950) !important; }
#ImageWrapper::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,rgba(8,20,38,.26));
}
#PanelArea { gap:16px !important; margin:20px 0 28px !important; }
.panel.home {
  position:relative; border:1px solid #dfe6ee !important; border-radius:15px !important;
  box-shadow:var(--stb2-shadow-sm) !important; transition:transform .16s ease,box-shadow .16s ease;
}
.panel.home::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,var(--stb2-yellow-2),var(--stb2-orange)); }
.panel.home:hover { transform:translateY(-3px); box-shadow:0 15px 35px rgba(8,20,38,.10) !important; }
.panel.home .panelText { padding:24px !important; }
.panel.home h2 { font-size:21px !important; line-height:1.2 !important; }
.panel.home h2 a { color:var(--stb2-navy-800) !important; text-decoration:none !important; }
.panel.home h2 a:hover { color:var(--stb2-link) !important; }
.panel.home p { font-size:15px !important; line-height:1.55 !important; color:#5e6c7f !important; }

/* Legacy utility/footer area: make the long resource strip quieter and readable. */
#Content.standard #BodyTextArea2.protection {
  max-width:1000px !important; padding:28px clamp(22px,4vw,42px) !important;
  background:linear-gradient(180deg,#fbfcfe,#f7f9fc);
}
#BodyTextArea2.protection p { max-width:none !important; font-size:13.75px !important; line-height:1.8 !important; color:#657386 !important; }
#BodyTextArea2.protection a { font-size:13.75px !important; color:#46566d !important; text-decoration:none !important; }
#BodyTextArea2.protection a:hover { color:var(--stb2-link) !important; text-decoration:underline !important; }

/* Case-review conversion layer */
.stb-contact-rail {
  right:20px !important; bottom:20px !important; width:224px !important; padding:14px 16px !important;
  border:1px solid rgba(255,255,255,.08) !important; border-radius:14px !important;
  background:linear-gradient(135deg,var(--stb2-navy-900),var(--stb2-navy-800)) !important;
  box-shadow:0 16px 48px rgba(8,20,38,.24) !important; color:#fff !important;
}
.stb-contact-rail strong { color:#fff !important; font-size:14.5px !important; }
.stb-contact-rail span { color:#c8d5e6 !important; font-size:11.75px !important; }
.stb-contact-rail::before { color:var(--stb2-yellow) !important; }
.stb-contact-rail:hover { transform:translateY(-3px) !important; }

.stb-expert-footer { width:min(1080px,calc(100% - 36px)) !important; margin:16px auto 24px !important; }
.stb-expert-card {
  grid-template-columns:128px minmax(0,1fr) !important; gap:26px !important;
  padding:28px 30px !important; border-radius:20px !important;
  background:linear-gradient(125deg,var(--stb2-navy-950),#162b4a) !important;
  box-shadow:var(--stb2-shadow-lg) !important; border:1px solid rgba(255,255,255,.07);
}
.stb-expert-card::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:4px; background:linear-gradient(90deg,var(--stb2-yellow-2),var(--stb2-orange)); }
.stb-expert-photo { width:128px !important; height:142px !important; border-radius:15px !important; border:2px solid rgba(255,255,255,.85) !important; box-shadow:0 10px 28px rgba(0,0,0,.16); }
.stb-expert-eyebrow { color:#ffe878 !important; letter-spacing:.11em !important; }
.stb-expert-copy h2 { max-width:34ch; font-size:clamp(22px,2.6vw,29px) !important; }
.stb-expert-copy p { color:#d8e3ef !important; font-size:14.75px !important; line-height:1.6 !important; }
.stb-button { min-height:45px !important; padding:0 18px !important; background:linear-gradient(180deg,#fff087,var(--stb2-yellow)) !important; color:var(--stb2-navy-950) !important; }
.stb-button:hover { transform:translateY(-1px); }
.stb-text-link { text-decoration:none !important; }
.stb-text-link:hover { text-decoration:underline !important; }

.stb-site-footer { background:var(--stb2-navy-950) !important; }
.stb-site-footer-inner { width:min(1080px,calc(100% - 36px)) !important; padding:26px 0 34px !important; color:#aebdd0 !important; }
.stb-site-footer a { color:#e3ebf5 !important; text-decoration:none !important; }
.stb-site-footer a:hover { color:#fff4a8 !important; text-decoration:underline !important; }

/* Touch / tablet */
@media (max-width:1040px) {
  .stb-back-top { right:20px; bottom:20px; }
  .stb-contact-rail { display:none !important; }
  .stb-primary-nav a:nth-child(5),.stb-primary-nav a:nth-child(6) { display:inline-flex !important; }
}

@media (max-width:900px) {
  .stb-sitebar-inner { min-height:62px !important; flex-wrap:nowrap !important; padding:8px 0 !important; }
  .stb-mobile-menu { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; }
  .stb-js .stb-primary-nav {
    display:none !important; position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:2;
    margin:0 !important; padding:10px !important; border:1px solid rgba(255,255,255,.12); border-radius:14px;
    background:#0d1b31; box-shadow:0 18px 42px rgba(0,0,0,.28);
  }
  .stb-js .stb-primary-nav.is-open { display:grid !important; grid-template-columns:1fr 1fr; gap:5px !important; }
  .stb-js .stb-primary-nav a { min-height:44px; width:100%; padding:0 12px !important; }
  .stb-nav-cta { margin-left:0 !important; }
  #Content.home { grid-template-columns:1fr !important; }
  #WelcomeArea { min-height:0 !important; }
  #ImageWrapper { min-height:290px !important; }
}

@media (max-width:640px) {
  html { scroll-padding-top:76px; }
  body { padding-bottom:72px; }
  .container,.stb-expert-footer,.stb-site-footer-inner,.stb-sitebar-inner,.stb-trustbar-inner { width:min(100% - 20px,1080px) !important; }
  .stb-mini-brand span:last-child { display:none; }
  .stb-mini-mark { width:34px !important; height:34px !important; }
  .stb-nav-cta { min-height:40px !important; padding:0 12px !important; font-size:12.5px !important; }
  .stb-mobile-menu { min-height:40px; }
  .stb-js .stb-primary-nav { grid-template-columns:1fr !important; }
  .stb-trustbar-inner { justify-content:flex-start !important; gap:12px !important; padding:7px 0 !important; }
  .stb-trustbar span:nth-child(3) { display:none !important; }
  .stb-brand-header { margin:10px 0 !important; padding:9px 10px !important; border-radius:12px !important; }
  .stb-brand-header img[src*="logo.png"] { width:100% !important; }
  #Content.standard { border-radius:14px !important; }
  #Breadcrumbs { padding:10px 17px !important; overflow-x:auto; white-space:nowrap; }
  #BodyTextArea,#BodyTextArea2 { max-width:none !important; padding:30px 20px 34px !important; }
  #BodyTextArea p,#BodyTextArea2 p,#BodyTextArea li,#BodyTextArea2 li { font-size:16.5px !important; line-height:1.7 !important; }
  #BodyTextArea h1,#BodyTextArea2 h1,#ContentArea h1 { font-size:clamp(29px,8.5vw,38px) !important; margin-bottom:25px !important; }
  #BodyTextArea h2,#BodyTextArea2 h2,#ContentArea h2 { font-size:22px !important; }
  #BodyTextArea > sup,#BodyTextArea2 > sup { padding:18px !important; font-size:12.75px !important; }
  #WelcomeArea { padding:27px 22px !important; }
  #WelcomeArea h1 { font-size:37px !important; }
  #ImageWrapper { min-height:220px !important; }
  #PanelArea { grid-template-columns:1fr !important; }
  .stb-expert-card { grid-template-columns:82px minmax(0,1fr) !important; gap:17px !important; padding:22px !important; }
  .stb-expert-photo { width:82px !important; height:94px !important; }
  .stb-expert-copy h2 { font-size:21px !important; }
  .stb-expert-copy p { font-size:13.75px !important; }
  .stb-preferred-source { display:none; }
  .stb-site-footer-inner { align-items:flex-start !important; flex-direction:column !important; }
  .stb-site-footer nav { gap:10px 14px !important; }

  /* Turn the existing contact rail into a clear thumb-zone mobile action. */
  .stb-contact-rail {
    display:flex !important; position:fixed !important; inset:auto 10px 10px 10px !important; width:auto !important;
    min-height:52px; align-items:center; padding:9px 48px 9px 14px !important; border-radius:14px !important;
  }
  .stb-contact-rail strong { font-size:14px !important; }
  .stb-contact-rail span { display:none !important; }
  .stb-contact-rail::before { position:absolute; right:16px; top:50%; transform:translateY(-50%); float:none !important; }
  .stb-back-top { right:16px; bottom:74px; min-width:42px; min-height:42px; padding:0 11px; }
}

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

@media print {
  .stb-reading-progress,.stb-back-top,.stb-mobile-menu { display:none !important; }
  body { padding-bottom:0 !important; background:#fff !important; }
  #BodyTextArea,#BodyTextArea2 { max-width:none !important; }
}
/* Stop The Bailiffs — landing-page SEO/UX layer, September 2026.
   This stylesheet changes presentation/navigation only; screened legal wording is untouched. */
:root{--stb3-cream:#fffaf0;--stb3-gold:#f7cf38;--stb3-navy:#0d1b31;--stb3-card:#ffffff;--stb3-border:#dce4ed;--stb3-muted:#64748b;--stb3-link:#8d2e13}
.stb-topic-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px clamp(24px,5vw,54px);background:#f8fafc;border-bottom:1px solid #e6ebf1;color:#536174;font:700 12px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-topic-strip span{display:inline-flex;align-items:center}
.stb-topic-section{color:var(--stb3-navy);background:#fff2ac;border:1px solid #ead67a;border-radius:999px;padding:5px 9px}
.stb-topic-kind:before{content:"•";margin-right:9px;color:#94a3b8}
.stb-topic-strip a{margin-left:auto;color:var(--stb3-link);font-weight:800;text-decoration:none}
.stb-topic-strip a:hover{text-decoration:underline;text-underline-offset:3px}
.stb-related-guidance{width:min(1080px,calc(100% - 36px));margin:22px auto 28px;content-visibility:auto;contain-intrinsic-size:1px 520px}
.stb-related-inner{padding:clamp(26px,4vw,38px);border:1px solid rgba(13,27,49,.10);border-radius:20px;background:linear-gradient(145deg,#fff 0,#f8fafc 100%);box-shadow:0 14px 42px rgba(8,20,38,.075)}
.stb-related-eyebrow{margin:0 0 5px;color:#8d2e13;font:850 11px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.085em}
.stb-related-guidance h2{margin:0 0 20px;color:var(--stb3-navy);font:850 clamp(24px,3vw,31px)/1.15 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.025em}
.stb-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.stb-related-card{position:relative;display:flex;min-height:132px;flex-direction:column;gap:9px;padding:18px 44px 18px 18px;border:1px solid var(--stb3-border);border-radius:14px;background:var(--stb3-card);color:#25344a;text-decoration:none!important;box-shadow:0 5px 18px rgba(8,20,38,.035);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.stb-related-card:hover{transform:translateY(-2px);border-color:#d3b84e;box-shadow:0 10px 28px rgba(8,20,38,.08)}
.stb-related-section{color:#7b8798;font:800 10.5px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.06em}
.stb-related-card strong{color:#1b2a40;font:800 15px/1.36 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-related-arrow{position:absolute;right:17px;bottom:16px;color:#a23b1b;font:900 19px/1 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-expert-footer,.stb-site-footer{content-visibility:auto;contain-intrinsic-size:1px 420px}
@media(max-width:860px){.stb-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stb-topic-strip a{margin-left:0}}
@media(max-width:560px){.stb-related-guidance{width:min(100% - 24px,1080px);margin:16px auto 22px}.stb-related-inner{padding:22px 16px}.stb-related-grid{grid-template-columns:1fr}.stb-related-card{min-height:0}.stb-topic-strip{padding:10px 18px}.stb-topic-kind{display:none!important}}
@media(prefers-reduced-motion:reduce){.stb-related-card{transition:none}.stb-related-card:hover{transform:none}}

/* Stop The Bailiffs — v4 world-class UX/performance refinement, September 2026.
   Presentation and navigation only. Screened legal article wording is intentionally untouched. */
:root{
  --v4-ink:#101828;
  --v4-slate:#344054;
  --v4-muted:#667085;
  --v4-navy:#0a1730;
  --v4-navy-2:#132b4d;
  --v4-gold:#f5cf3b;
  --v4-warm:#f15b2a;
  --v4-blue:#2563eb;
  --v4-bg:#f3f6fa;
  --v4-card:#fff;
  --v4-line:#d9e2ec;
  --v4-radius:18px;
  --v4-shadow:0 18px 50px rgba(10,23,48,.09);
}
body{
  background:
    radial-gradient(circle at 7% 0,rgba(245,207,59,.12),transparent 24rem),
    radial-gradient(circle at 100% 18rem,rgba(37,99,235,.055),transparent 29rem),
    var(--v4-bg)!important;
}
.stb-sitebar{box-shadow:0 8px 26px rgba(3,12,28,.20)!important}
.stb-sitebar-inner{width:min(1240px,calc(100% - 32px))!important}
.stb-mini-brand{letter-spacing:-.025em!important}
.stb-brand-header{box-shadow:0 8px 26px rgba(10,23,48,.045)!important;border-color:#e3e8ef!important}
.stb-brand-header img[src*="logo.png"]{width:min(100%,620px)!important}
.container{width:min(1140px,calc(100% - 32px))!important}
#Content.standard{box-shadow:0 18px 55px rgba(10,23,48,.085)!important;border-color:#dfe6ee!important}
#BodyTextArea,#BodyTextArea2{max-width:900px!important;padding-left:clamp(26px,6vw,72px)!important;padding-right:clamp(26px,6vw,72px)!important}
#BodyTextArea p,#BodyTextArea2 p{max-width:72ch}
#BodyTextArea h1,#BodyTextArea2 h1,#ContentArea h1{max-width:25ch!important;letter-spacing:-.042em!important}
#BodyTextArea h2,#BodyTextArea2 h2,#ContentArea h2{scroll-margin-top:110px}
#BodyTextArea h3,#BodyTextArea2 h3{scroll-margin-top:110px}
#BodyTextArea a,#BodyTextArea2 a{text-decoration-thickness:.07em!important;text-decoration-color:rgba(141,46,19,.38)!important}
#BodyTextArea a:visited,#BodyTextArea2 a:visited{color:#71351f!important}

/* Page utility bar generated from existing headings; no legal wording is added. */
.stb-page-tools{width:min(1140px,calc(100% - 32px));margin:0 auto 14px;display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.stb-page-tools-inner{width:100%;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid #dde5ee;border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(10,23,48,.035)}
.stb-tool-button{appearance:none;border:1px solid #d3dde8;background:#fff;color:#24354c;min-height:40px;padding:0 12px;border-radius:9px;font:800 12.5px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.stb-tool-button:hover{border-color:#d0b545;background:#fffbeb;color:#18263b}
.stb-tool-button svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stb-tool-spacer{flex:1}
.stb-page-tools-note{color:#6c7788;font:700 11.5px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-toc-wrap{position:relative}
.stb-toc-popover{display:none;position:absolute;z-index:8800;left:0;top:calc(100% + 7px);width:min(390px,calc(100vw - 32px));padding:12px;border:1px solid #d9e2ec;border-radius:12px;background:#fff;box-shadow:0 18px 48px rgba(10,23,48,.18)}
.stb-toc-popover.is-open{display:block}
.stb-toc-popover strong{display:block;margin:2px 4px 8px;color:#17263b;font:850 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.06em}
.stb-toc-popover a{display:block;padding:8px 9px;border-radius:8px;color:#344054!important;text-decoration:none!important;font:700 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-toc-popover a:hover{background:#f6f8fb;color:#8d2e13!important}
.stb-toc-popover a.stb-toc-h3{padding-left:22px;font-weight:650;color:#59677a!important}

/* Site search dialog — loaded only after user interaction. */
.stb-search-launch{appearance:none;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.055);color:#eef4fb;min-height:40px;padding:0 11px;border-radius:9px;font:800 12.5px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.stb-search-launch:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.25)}
.stb-search-launch svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stb-search-backdrop{display:none;position:fixed;inset:0;z-index:25000;background:rgba(3,10,22,.66);backdrop-filter:blur(5px);padding:7vh 16px 16px}
.stb-search-backdrop.is-open{display:block}
.stb-search-dialog{width:min(720px,100%);max-height:84vh;overflow:hidden;margin:0 auto;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.30)}
.stb-search-head{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid #e4e9f0;background:#f9fafb}
.stb-search-input{flex:1;min-width:0;height:48px;border:1px solid #cfd8e3;border-radius:10px;padding:0 14px;color:#172033;background:#fff;font:700 16px/1 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-search-input:focus{outline:3px solid rgba(37,99,235,.20);border-color:#2563eb}
.stb-search-close{width:44px;height:44px;border:0;border-radius:9px;background:transparent;color:#536174;font-size:25px;cursor:pointer}
.stb-search-close:hover{background:#edf1f5;color:#172033}
.stb-search-results{max-height:calc(84vh - 78px);overflow:auto;padding:10px}
.stb-search-help{padding:18px;color:#667085;font:650 13px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-search-result{display:block;padding:13px 14px;border:1px solid transparent;border-radius:11px;text-decoration:none!important}
.stb-search-result:hover,.stb-search-result:focus{background:#f8fafc;border-color:#e0e7ef}
.stb-search-result small{display:block;margin-bottom:3px;color:#8d2e13;font:850 10px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.06em}
.stb-search-result strong{display:block;color:#172033;font:820 15px/1.34 system-ui,-apple-system,"Segoe UI",sans-serif}
.stb-search-result span{display:block;margin-top:4px;color:#667085;font:600 12.5px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
body.stb-search-open{overflow:hidden}

/* Homepage: static LCP-first hero, avoiding legacy slideshow JS. */
#ImageRotator{position:relative!important;margin:0!important;padding:0!important;list-style:none!important}
#ImageRotator>li{display:none!important;position:absolute!important;inset:0!important}
#ImageRotator>li:first-child{display:block!important}
#ImageRotator>li:first-child img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
#WelcomeArea p a{transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important}
#WelcomeArea p a:hover{border-color:#dec45e!important;box-shadow:0 9px 24px rgba(10,23,48,.08)!important}
.panel.home{overflow:hidden!important}

/* Related guidance tightened for scanning. */
.stb-related-inner{border-color:#dfe6ee!important;box-shadow:0 12px 34px rgba(10,23,48,.06)!important}
.stb-related-card{min-height:122px!important}
.stb-related-card strong{font-size:14.5px!important;line-height:1.38!important}

/* Footer/client path: strong but not intrusive. */
.stb-expert-card{box-shadow:0 18px 55px rgba(3,12,28,.20)!important}
.stb-contact-rail{transition:transform .16s ease,box-shadow .16s ease!important}

@media (min-width:901px){
  .stb-search-launch{margin-left:auto}
  .stb-primary-nav{margin-left:0!important}
  .stb-nav-cta{margin-left:0!important}
}
@media (max-width:1000px){
  .stb-search-launch span{display:none}
  .stb-search-launch{width:42px;padding:0;justify-content:center}
}
@media (max-width:900px){
  .stb-search-launch{margin-left:auto}
  .stb-mobile-menu{margin-left:0!important}
  .stb-page-tools{width:min(100% - 20px,1140px)}
}
@media (max-width:640px){
  .stb-page-tools{margin-bottom:10px}
  .stb-page-tools-inner{padding:8px;border-radius:11px}
  .stb-tool-button{min-height:38px;padding:0 10px;font-size:12px}
  .stb-page-tools-note{display:none}
  #BodyTextArea,#BodyTextArea2{padding-top:28px!important}
  .stb-related-inner{padding:21px 15px!important}
  .stb-related-guidance h2{font-size:23px!important}
}
@media print{
  .stb-page-tools,.stb-search-launch,.stb-search-backdrop{display:none!important}
}
