/* =========================================================
   SMARTGUARD — GLOBAL FOUNDATION (always loaded)
   Tokens, reset, typography, layout primitives, buttons,
   reveal, scroll progress. Section-specific rules live in
   assets/css/blocks/*.css and load only when present.
   ========================================================= */

/* -------- 0. Tokens --------
   Values come from theme.json (editable in Site Editor → Styles).
   Literal fallbacks keep the design intact if a preset is unset. */
:root {
  --teal-900: var(--wp--preset--color--teal-900, #11201F);
  --teal-800: var(--wp--preset--color--teal-800, #143536);
  --teal-700: var(--wp--preset--color--teal-700, #1A5F63);
  --teal-600: var(--wp--preset--color--teal-600, #2A7E83);
  --teal-500: var(--wp--preset--color--teal-500, #51B5BD);
  --teal-400: var(--wp--preset--color--teal-400, #7FC7CD);
  --teal-300: var(--wp--preset--color--teal-300, #ADD9DD);
  --teal-200: var(--wp--preset--color--teal-200, #DBEBED);
  --teal-100: var(--wp--preset--color--teal-100, #E8F2F3);
  --surface: var(--wp--preset--color--surface, #F4F8F8);
  --paper: var(--wp--preset--color--paper, #FFFFFF);
  --ink: var(--wp--preset--color--ink, #11201F);
  --ink-2: var(--wp--preset--color--ink-2, #34504F);
  --ink-3: var(--wp--preset--color--ink-3, #5C7574);
  --line: var(--wp--preset--color--line, #D8E4E5);
  --line-soft: var(--wp--preset--color--line-soft, #E6EEEF);
  --warn: #C5680C;
  --ok: #1F8F4A;

  --radius-xs: var(--wp--custom--radius--xs, 6px);
  --radius-sm: var(--wp--custom--radius--sm, 10px);
  --radius-md: var(--wp--custom--radius--md, 14px);
  --radius-lg: var(--wp--custom--radius--lg, 20px);
  --radius-xl: var(--wp--custom--radius--xl, 28px);

  --shadow-sm: var(--wp--custom--shadow--sm, 0 1px 2px rgba(17, 32, 31, .06), 0 1px 1px rgba(17, 32, 31, .04));
  --shadow-md: var(--wp--custom--shadow--md, 0 8px 24px -12px rgba(17, 32, 31, .18), 0 2px 6px rgba(17, 32, 31, .06));
  --focus-ring: var(--wp--custom--focus-ring, 0 0 0 3px rgba(81, 181, 189, .18));
  --shadow-lg: var(--wp--custom--shadow--lg, 0 24px 60px -24px rgba(17, 32, 31, .30), 0 8px 18px -8px rgba(17, 32, 31, .08));

  --maxw: var(--wp--custom--max-width, 1300px);
  --gut: var(--wp--custom--gutter, 24px);
  --font: 'Inter', sans-serif;
  --font-head: 'Barlow', sans-serif;
  --t-fast: 160ms cubic-bezier(.2, .7, .3, 1);
  --t-med: 280ms cubic-bezier(.2, .7, .3, 1);
}

/* -------- 1. Reset -------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px
}

/* -------- 2. Typography -------- */
/* Heading scale. The .h1–.h4 classes mirror the element styles so any element
   can borrow another level's look (e.g. <h2 class="h3"> renders at h3 size).
   A class (0,1,0) outranks the bare element selector (0,0,1), so the class wins. */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0
}

h1,
.h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw + .5rem, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.025em
}

h2,
.h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 2.6vw + .5rem, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em
}

h3,
.h3 {
  font-weight: 700;
  font-size: clamp(1.15rem, .6vw + 1rem, 2.45rem);
  line-height: 1.25
}

h4,
.h4 {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3
}

h5,
.h5 {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35
}

h6,
.h6 {
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .04em
}

/* -------- Native block styles --------
   The editor's "Styles" panel offers named variants that this theme doesn't
   register — they're applied by the editor already, we just need to give
   the resulting .is-style-* class something to look like. Real class names
   confirmed from rendered markup (they don't all match their button labels):
     Plain -> is-style-text-plain       Muted -> is-style-text-muted
     Highlight -> is-style-text-highlight   "Display" (text) -> is-style-text-display
     "Display" (heading) -> is-style-heading-display   Light -> is-style-heading-light
   The "text-*" ones are a shared set (not heading-specific), so they're
   written generically rather than assuming <h1-6> markup. */
.is-style-text-plain {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: normal
}

.is-style-text-muted {
  color: var(--ink-3)
}

.is-style-heading-light {
  font-weight: 400
}

.is-style-text-highlight {
  display: inline;
  background: var(--teal-100);
  color: var(--teal-800);
  padding: .05em .3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone
}

.is-style-heading-display,
.is-style-text-display {
  font-size: clamp(2.8rem, 6vw + .5rem, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.03em
}

.is-style-eyebrow {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-700)
}

.is-style-overline {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-700);
  padding-top: .9em;
  border-top: 2px solid var(--teal-200);
  display: inline-block
}

.is-style-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  color: var(--ink-2);
  padding-left: .7em;
  border-left: 3px solid var(--teal-500)
}

.lede {
  font-size: clamp(1rem, .4vw + .95rem, 1.18rem);
  color: var(--ink-2);
  line-height: 1.65
}

/* -------- 3. Layout primitives -------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut)
}

section {
  padding: clamp(72px, 8vw, 128px) 0;
  position: relative
}

.divider {
  height: 1px;
  background: var(--line-soft);
  width: 100%
}

/* Section block wrapper (shared by every page-level section) */
.block {
  background: var(--paper);
  border-top: 1px solid var(--line-soft)
}

.block+.block {
  border-top: 1px solid var(--line-soft)
}

.block-head {
  margin: 0 auto 40px;
  max-width: 760px;
  text-align: center
}

.block-head :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 10px
}

.block-head .lede {
  margin-left: auto;
  margin-right: auto
}

p a,
li a {
  color: var(--teal-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px
}

p a:hover,
li a:hover {
  color: var(--teal-800)
}

/* Apply to a dark-background section/element so inline links use light-on-
   dark colors instead of the default (light-background) link colors above.
   Scope it to the actual dark area, not a whole section that might contain
   a nested light card (e.g. the hero's text column, not the whole hero). */
.inverted p a,
.inverted li a {
  color: var(--teal-500)
}

.inverted p a:hover,
.inverted li a:hover {
  color: var(--teal-200)
}

/* Phone numbers never wrap mid-number */
.tel {
  white-space: nowrap
}

section.block {
  padding: clamp(64px, 7vw, 96px) 0
}

@media (max-width:880px) {
  section.block {
    padding: 48px 0
  }
}

/* Our full-bleed sections butt together: cancel the FSE layout block-gap around
   them, while core blocks (paragraphs, etc.) keep the global default gap.
   Front end: the rendered <section> is the layout child.
   Editor: the block wrapper carries data-type="lazyblock/…" (no-op on front end). */
.block,
.v1hero,
.cta-bleed,
[data-type^="lazyblock/"] {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* -------- 4. Scroll progress bar -------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  z-index: 120;
  transition: width 90ms linear;
  border-bottom-right-radius: 3px;
}

/* -------- 5. Skip link -------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 200
}

/* -------- 6. Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .86rem;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px)
}

.btn:active {
  transform: translateY(0)
}

.btn--primary {
  background: var(--teal-700);
  color: #fff;
  box-shadow: var(--shadow-md)
}

.btn--primary:hover {
  background: var(--teal-800);
  box-shadow: var(--shadow-lg)
}

.btn--secondary {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700)
}

.btn--secondary:hover {
  background: var(--teal-700);
  color: #fff
}

.btn--ghost {
  background: var(--paper);
  color: var(--teal-700);
  border-color: var(--line)
}

.btn--ghost:hover {
  border-color: var(--teal-700)
}

.btn--on-teal {
  background: #fff;
  color: var(--teal-700)
}

.btn--on-teal:hover {
  background: var(--teal-100)
}

.btn--on-teal-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45)
}

.btn--on-teal-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff
}

.btn--sm {
  padding: 11px 20px;
  font-size: .78rem
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

/* Unified button typography (applies across nav/hero/mobile button variants) */
.btn,
.btn--sm,
.v1nav__cta,
.v1hero__btn,
.v1hero__submit,
.mobile-bar__cta,
.mobile-menu__cta {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  /* override the editor's default link underline */
  padding: 14px 24px !important;
  border-radius: 999px !important;
}

/* -------- 6b. Form controls (site-wide, front end only) --------
   Applies our design system to every text-like form field on the site,
   including 3rd-party embedded widgets (e.g. a MUI/Emotion-based unit-rental
   widget) — not just our own Contact Form 7 embeds — and is meant to WIN
   over whatever styling those widgets ship with, hence the !importants.

   The input list is a deny-list (:not([type=checkbox]) etc.) rather than an
   allow-list of text/email/tel/... types: some component libraries (MUI
   included) render <input> without an explicit type attribute, relying on
   the browser's implicit "text" default — an allow-list of [type=text] etc.
   silently misses those. Denying only the genuinely different control types
   (checkbox, radio, file, submit, ...) catches every text-like field
   regardless of whether type is set explicitly.

   Scoped to body:not(.wp-admin) — WP stamps that class on every admin
   screen's <body> — because this stylesheet is also loaded on the editor
   screen for accurate Lazy Blocks previews, and unscoped element selectors
   here previously matched WordPress's own admin/editor UI (e.g. the block
   inspector's Dimensions controls). The editor canvas itself is a separate
   iframe document without the wp-admin class, so in-canvas previews are
   unaffected by this scope.

   select/textarea skip anything inside Storable's checkout
   (#storable-webapps-onlinemovein): its MUI native <select> and multiline
   <textarea> draw their border via the notched-outline fieldset, and our
   white box + border on the element itself covered the floating label
   ("Insurance Plan", "Lock option") and doubled the textarea border.
   :not(:where(...)) adds zero specificity, so the cascade everywhere else
   is unchanged. Checkout styling lives in section 9 below. */
body:not(.wp-admin) input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]):not([type=hidden]):not([type=range]):not([type=color]):not([type=image]):not(.MuiInputBase-input),
body:not(.wp-admin) select:not(:where(#storable-webapps-onlinemovein *)),
body:not(.wp-admin) textarea:not(:where(#storable-webapps-onlinemovein *)) {
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  font: inherit;
  font-size: .92rem;
  line-height: 1.4;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body:not(.wp-admin) input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]):not([type=hidden]):not([type=range]):not([type=color]):not([type=image]):not(.MuiInputBase-input):focus,
body:not(.wp-admin) select:not(:where(#storable-webapps-onlinemovein *)):focus,
body:not(.wp-admin) textarea:not(:where(#storable-webapps-onlinemovein *)):focus {
  border-color: var(--teal-500) !important;
  box-shadow: 0 0 0 3px rgba(81, 181, 189, .18);
}

body:not(.wp-admin) textarea:not(:where(#storable-webapps-onlinemovein *)) {
  resize: vertical;
  min-height: 88px !important;
}

/* MUI's "outlined" field variant (used by an embedded unit-rental widget)
   doesn't draw its border on the <input> — it draws it via a sibling
   <fieldset class="MuiOutlinedInput-notchedOutline"> positioned around the
   whole .MuiOutlinedInput-root wrapper (with a notch cut out for the
   floating label). The generic input rule above explicitly excludes
   .MuiInputBase-input to avoid drawing a second, redundant border directly
   on the input; these rules target the actual wrapper/fieldset instead, so
   ours is the only border rendered. MUI's structural class names (unlike
   the hashed .css-xxxxx Emotion classes) are stable and documented — this
   is the supported way to override their component styling.

   Only `color` is overridden here — MUI calibrates each field's own padding
   and line-height together (and varies them by state: floating label
   shrunk or not, icon adornments, error state, etc.) specifically to keep
   text vertically centered. Forcing a flat padding/font-size here broke
   that centering for every state that didn't match what we forced. */
body:not(.wp-admin) .MuiInputBase-input {
  color: var(--ink) !important;
}

body:not(.wp-admin) .MuiOutlinedInput-root {
  border-radius: 10px !important;
  background: #fff !important;
}

body:not(.wp-admin) .MuiOutlinedInput-notchedOutline {
  border-color: var(--line) !important;
  border-radius: 10px !important;
}

body:not(.wp-admin) .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: var(--teal-500) !important;
}

body:not(.wp-admin) .MuiOutlinedInput-root.Mui-focused {
  box-shadow: 0 0 0 3px rgba(81, 181, 189, .18);
}

/* Selects: the shared rule above forces `background:#fff !important`, which strips
   the native dropdown arrow. Reset appearance and restore a custom chevron so CF7
   selects match the hero block's selects (blocks/hero.css). */
body:not(.wp-admin) select:not(:where(#storable-webapps-onlinemovein *)) {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%2334504F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 34px !important;
}

body:not(.wp-admin) input::placeholder,
body:not(.wp-admin) textarea::placeholder {
  color: var(--ink-3);
}

body:not(.wp-admin) input[type=submit],
body:not(.wp-admin) button[type=submit] {
  padding: 14px 26px !important;
  border-radius: 999px !important;
  border: 0 !important;
  cursor: pointer;
  text-transform: uppercase !important;
  background: var(--teal-700) !important;
  color: #fff !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .2s ease, transform .2s ease;
}

body:not(.wp-admin) input[type=submit]:hover,
body:not(.wp-admin) button[type=submit]:hover {
  background: var(--teal-800);
  transform: translateY(-1px);
}

/* Contact Form 7 layout (labels, field rows, messages) */
.wpcf7 label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}

.wpcf7 p {
  margin: 0 0 14px;
}

.wpcf7 p:last-child {
  margin-bottom: 0;
}

.wpcf7-response-output {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .88rem;
}

/* CF7 always renders this box, even before any submit attempt — aria-hidden
   only affects the accessibility tree, not visual layout, so its padding/
   margin above still take up visible space while empty. Hide it until CF7
   actually populates it with a real validation/success message. */
.wpcf7-response-output:empty {
  display: none;
}

/* CF7's spinner sits inside .wpcf7-form as a sibling of the submit button.
   CF7 hides it by default with visibility:hidden (not display:none), which
   still reserves its own row + flex-gap in a column flex form. Take it out
   of flow entirely so it overlaps near the submit button (its actual
   intended look) instead of reserving empty space beneath it. Pair with
   position:relative on .v1hero__submit / .wpcf7-submit as the positioning
   context. */
.wpcf7-spinner {
  position: absolute !important;
  margin: 0 !important;
}

.wpcf7-not-valid-tip {
  color: var(--warn);
  font-size: .8rem;
}

/* -------- Custom checkbox / radio (e.g. CF7 acceptance fields) -------- */
.sg-control {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.45;
  user-select: none;
}

.sg-control input[type="checkbox"],
.sg-control input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid var(--line);
  background: #fff;
  margin: 1px 0 0;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  display: inline-grid;
  place-content: center;
  position: relative;
}

.sg-control input[type="checkbox"] {
  border-radius: 4px;
}

.sg-control input[type="radio"] {
  border-radius: 999px;
}

.sg-control input:hover {
  border-color: var(--teal-500);
}

.sg-control input:focus-visible {
  border-color: var(--teal-500);
  box-shadow: var(--focus-ring);
  outline: 0;
}

.sg-control input:checked {
  background: var(--teal-700);
  border-color: var(--teal-700);
}

.sg-control input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}

.sg-control input[type="radio"]:checked::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
}

.sg-control--disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* -------- 6b. Checklist + tip section spacing (shared by general-tips/category-tips) -------- */
.list-checks ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.list-checks li {
  position: relative;
  padding-left: 26px;
  font-size: .94rem;
  color: var(--ink-2);
  line-height: 1.5
}

.list-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 16px;
  height: 16px;
  background: var(--teal-100);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='8'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='8'/></svg>") center/contain no-repeat;
}

.list-checks li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: calc(.35em + 4px);
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--teal-700);
  border-bottom: 1.8px solid var(--teal-700);
  transform: rotate(-45deg)
}

.tip-section {
  scroll-margin-top: 80px
}

.tip-section + .tip-section {
  margin-top: 56px
}

.block.tip-section + .block.tip-section {
  margin-top: 0
}

/* -------- 7. Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1)
}

.reveal.is-in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none
  }
}

/* -------- 8. Selection -------- */
::selection {
  background: var(--teal-500);
  color: var(--teal-900)
}
/* -------- 9. Storable checkout ("online move-in") --------
   Restyles ONLY Storable's multi-step checkout, which the rental-app widget
   mounts as div#storable-webapps-onlinemovein after a unit is picked. Every
   rule is prefixed with that id, so nothing else on the site (CF7 forms,
   the unit list #storable-webapps-unitstable) is affected. Lives here rather
   than in a per-block file because the widget may be embedded without the
   Storable Embed block (e.g. a Custom HTML block), where has_block() can't
   see it.

   The widget is React + MUI with Emotion single-class (css-xxxx) styles, so
   an #id + Mui* class selector out-ranks them without !important. Its yellow
   is MUI palette.primary from Storable's facility config; we override the
   stable Mui* state classes (data-style on <rental-app> would also recolour
   the unit list). */

/* Font: match the site (beats Storable's `.storable-webapps-onlinemovein *
   { font-family: … !important }` GlobalStyles — id out-ranks class) */
#storable-webapps-onlinemovein,
#storable-webapps-onlinemovein * {
  font-family: var(--font) !important;
}

/* Sentence case: our h6 rule above uppercases every <h6>, and MUI renders its
   subtitle/h6 Typography variants as <h6> */
#storable-webapps-onlinemovein h6 {
  text-transform: none;
}

/* Remove white backgrounds (cards, stepper strip, form panel) so the checkout
   sits on the page surface. Alerts are Papers too — keep their tint. Field
   interiors stay white (.MuiOutlinedInput-root rule in 6b). */
#storable-webapps-onlinemovein .MuiPaper-root:not(.MuiAlert-root) {
  background-color: transparent;
  box-shadow: none;
}

/* The checkout's outer container (Box with MUI background.default = #fff):
   desktop wraps the Stepper, mobile wraps the step Accordions. Matched by
   structure — its css-xxxx class is a hash that changes between builds. */
#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiStepper-root),
#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiAccordion-root) {
  background-color: transparent;
}

/* Storable's section divider (Box component="hr", 5px grey bar under the
   stepper and between review sections) → invisible spacer */
#storable-webapps-onlinemovein hr.MuiBox-root {
  height: 0;
  margin: 20px 14px;
}

/* Insurance / lock radio-option cards: Box(border) > Box > FormControlLabel > Radio */
#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiBox-root > .MuiFormControlLabel-root > .MuiRadio-root) {
  background-color: transparent;
}

#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiBox-root > .MuiFormControlLabel-root > .MuiRadio-root.Mui-checked) {
  border-color: var(--teal-500);
}

/* Sticky Back / Continue bar uses MUI background.default (#fff); keep it opaque
   so scrolled content doesn't show through, but in the page colour. */
#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiBox-root > .MuiButton-fullWidth) {
  background-color: var(--surface);
}

/* Yellow → light teal accents */
#storable-webapps-onlinemovein .MuiStepLabel-iconContainer.Mui-active > .MuiBox-root,
#storable-webapps-onlinemovein .MuiStepLabel-iconContainer.Mui-completed > .MuiBox-root {
  background-color: var(--teal-500);
}

#storable-webapps-onlinemovein .MuiRadio-root.Mui-checked,
#storable-webapps-onlinemovein .MuiCheckbox-root.Mui-checked,
#storable-webapps-onlinemovein .MuiCircularProgress-colorPrimary {
  color: var(--teal-500);
}

#storable-webapps-onlinemovein .MuiFormLabel-root.Mui-focused:not(.Mui-error) {
  color: var(--ink);
}

#storable-webapps-onlinemovein .MuiLink-root,
#storable-webapps-onlinemovein .MuiButton-textPrimary,
#storable-webapps-onlinemovein .MuiButton-outlinedPrimary {
  color: var(--teal-700);
  text-decoration-color: currentColor;
}

#storable-webapps-onlinemovein .MuiButton-outlinedPrimary {
  border-color: var(--teal-700);
}

/* Price ("$89.00 per month") — teal-700, light teal is too faint for text */
#storable-webapps-onlinemovein .MuiCardContent-root span.MuiTypography-h6 {
  color: var(--teal-700);
}

/* Buttons: the site's button family (section 6) — Barlow, uppercase, pill */
#storable-webapps-onlinemovein .MuiButton-root {
  font-family: var(--font-head) !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* Back / Continue bar: Storable renders them fullWidth — size them to their
   label like .btn instead (section 6 padding/size), centred side by side.
   The transparent 2px border matches Back's outline so both are the same
   height. */
#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiButton-fullWidth) {
  justify-content: center;
  gap: 12px;
}

#storable-webapps-onlinemovein .MuiBox-root:has(> .MuiButton-fullWidth) > .MuiButton-root {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  margin: 8px 0;
  padding: 14px 24px;
  font-size: .82rem;
  line-height: 1.2;
  border: 2px solid transparent;
}

/* Continue (and any lone primary action) = .btn--primary */
#storable-webapps-onlinemovein .MuiButton-containedPrimary:not(.Mui-disabled):not(:has(+ .MuiButton-root)) {
  background-color: var(--teal-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}

#storable-webapps-onlinemovein .MuiButton-containedPrimary:not(.Mui-disabled):not(:has(+ .MuiButton-root)):hover {
  background-color: var(--teal-800);
  box-shadow: var(--shadow-lg);
}

/* Back (and dialog Cancel): also containedPrimary, re-tinted grey by Storable
   and always followed by the real primary button = .btn--secondary */
#storable-webapps-onlinemovein .MuiButton-containedPrimary:not(.Mui-disabled):has(+ .MuiButton-root) {
  background-color: transparent;
  color: var(--teal-700);
  border: 2px solid var(--teal-700);
  box-shadow: none;
}

#storable-webapps-onlinemovein .MuiButton-containedPrimary:not(.Mui-disabled):has(+ .MuiButton-root):hover {
  background-color: var(--teal-700);
  color: #fff;
}

/* -------- 10. Storable unit list — contact step ("Rent Now" / "Reserve") --------
   After a unit is picked, the unit-list app (#storable-webapps-unitstable)
   shows a contact form: MUI Grid of outlined TextFields, a date picker, an SMS
   checkbox and fullWidth buttons. Styled to match our Contact block form
   (contact.css: labels above fields, Inter, .btn family). Scoped to the Grid
   container that directly holds a TextField, so the unit list, filters and
   unit cards are untouched. Id-prefixed selectors out-rank MUI's Emotion
   classes and Storable's `#storable-webapps-unitstable * { font-family:
   … !important }`. */

/* Font: Inter like the rest of the site */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root),
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) * {
  font-family: var(--font) !important;
}

/* "Contact Information" heading — like .v1hero__form-head h2 */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) h6 {
  font-family: var(--font-head) !important;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--ink);
}

/* Labels above fields / field height: shared with the checkout — section 11. */

/* SMS consent — like .v1hero__consent */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiCheckbox-root {
  color: var(--ink-3);
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiCheckbox-root.Mui-checked {
  color: var(--teal-700);
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiTypography-body1 {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-2);
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiTypography-caption {
  font-size: .76rem;
  color: var(--ink-3);
}

/* Buttons — the .btn family (section 6): Rent Now / Continue = .btn--primary,
   Reserve / Back to units = .btn--secondary */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiButton-root {
  font-family: var(--font-head) !important;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiButton-contained:not(.Mui-disabled) {
  background-color: var(--teal-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiButton-contained:not(.Mui-disabled):hover {
  background-color: var(--teal-800);
  box-shadow: var(--shadow-lg);
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiButton-outlined:not(.Mui-disabled) {
  background-color: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700);
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiButton-outlined:not(.Mui-disabled):hover {
  background-color: var(--teal-700);
  color: #fff;
}

/* Button row: Storable puts each button in its own full-width Grid item.
   Size the items (and buttons) to their label and centre the pair side by
   side; the Grid's own gap separates them. */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(> .MuiButton-root) {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(> .MuiButton-root):has(+ .MuiGrid-root > .MuiButton-root) {
  margin-left: auto;
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(> .MuiButton-root) + .MuiGrid-root:has(> .MuiButton-root) {
  margin-right: auto;
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiButton-fullWidth {
  width: auto;
}

/* The "Contact Information" <h6> sits directly in the flex-wrap Grid (not in
   a Grid item), so it is only as wide as its text — a half-width First Name
   would sit beside it and knock every pair out of step. Anything in the
   Grid that isn't a Grid item takes its own full row. */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > :not(.MuiGrid-root) {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

/* Two-column rows (like .v1hero__form-row--two): First + Last name, Email +
   Phone. Anchored on the inputs' autocomplete attributes; Last name / Phone are
   always the Grid item right after First name / Email. Move-in Date stays full
   width. Half = 50% minus half the Grid's own column gap. Stacks on phones. */
@media (min-width: 600px) {
  #storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(input[autocomplete="given-name"]),
  #storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(input[autocomplete="given-name"]) + .MuiGrid-root,
  #storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(input[autocomplete="email"]),
  #storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) > .MuiGrid-root:has(input[autocomplete="email"]) + .MuiGrid-root {
    flex: 0 0 auto;
    width: calc(50% - var(--Grid-parent-columnSpacing, 16px) / 2);
    max-width: none;
  }
}

/* Promo code row: Stack of [TextField (sx width 40%) + outlined Apply button
   (sx height 56px)]. Field fills the row; Apply is a .btn--secondary pill
   exactly as tall as the input and dropped below the label so it lines up
   with the box (label = .82rem × 1.4 + 6px margin, input = MUI's 1.4375em
   content height + 12px × 2 padding at .92rem). Disabled (empty field) keeps
   its outline at reduced opacity instead of reading as bare text. */
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiTextField-root:has(+ .MuiButton-root) {
  flex: 1 1 auto;
  width: auto;
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiTextField-root + .MuiButton-root {
  flex: 0 0 auto;
  height: calc(.92rem * 1.4375 + 24px);
  min-width: 120px;
  margin-top: calc(.82rem * 1.4 + 6px);
  padding: 0 24px;
}

#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiTextField-root + .MuiButton-outlined.Mui-disabled {
  background-color: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700);
  opacity: .4;
}

/* -------- 11. Storable embeds — labels above fields --------
   Both Storable steps (the unit-list contact step and every checkout step)
   get our form's label style: a static label above the field, like
   .v1hero__field label in contact.css — no MUI floating label, no label
   moving into the border on focus, no notch cut in the outline. Covers MUI
   TextFields, native selects, multiline textareas and MUI X date pickers
   (the checkout's Expiration / Birth Date use the accessible
   .MuiPickers* field DOM, which 6b doesn't style). Scoped by id to the two
   Storable roots; the unit-list scope is limited to its contact form Grid. */

#storable-webapps-onlinemovein .MuiInputLabel-root,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiInputLabel-root {
  position: static;
  transform: none;
  max-width: none;
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  pointer-events: auto;
}

#storable-webapps-onlinemovein .MuiInputLabel-root:not(.Mui-error),
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiInputLabel-root:not(.Mui-error) {
  color: var(--ink);
}

/* No notch: hide the legend gap and let the outline sit flush */
#storable-webapps-onlinemovein .MuiOutlinedInput-notchedOutline,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiOutlinedInput-notchedOutline,
#storable-webapps-onlinemovein .MuiPickersOutlinedInput-notchedOutline,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-notchedOutline {
  top: 0;
}

#storable-webapps-onlinemovein .MuiOutlinedInput-notchedOutline legend,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiOutlinedInput-notchedOutline legend,
#storable-webapps-onlinemovein .MuiPickersOutlinedInput-notchedOutline legend,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-notchedOutline legend {
  display: none;
}

/* Field height/text like our inputs (12px vertical padding, .92rem) */
#storable-webapps-onlinemovein .MuiOutlinedInput-input:not(.MuiInputBase-inputMultiline),
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiOutlinedInput-input:not(.MuiInputBase-inputMultiline) {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: .92rem;
  line-height: 1.4;
}

#storable-webapps-onlinemovein .MuiInputBase-multiline,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiInputBase-multiline {
  padding: 12px 14px;
  font-size: .92rem;
}

/* MUI X date pickers: same box as the other fields (6b styles .MuiOutlinedInput only) */
#storable-webapps-onlinemovein .MuiPickersOutlinedInput-root,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-root {
  background: #fff;
  border-radius: 10px;
}

#storable-webapps-onlinemovein .MuiPickersOutlinedInput-sectionsContainer,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-sectionsContainer {
  padding: 12px 0;
  font-size: .92rem;
}

#storable-webapps-onlinemovein .MuiPickersOutlinedInput-root:not(.Mui-error) .MuiPickersOutlinedInput-notchedOutline,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-root:not(.Mui-error) .MuiPickersOutlinedInput-notchedOutline {
  border-color: var(--line);
  border-width: 1px;
  border-radius: 10px;
}

#storable-webapps-onlinemovein .MuiPickersOutlinedInput-root.Mui-focused:not(.Mui-error) .MuiPickersOutlinedInput-notchedOutline,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-root.Mui-focused:not(.Mui-error) .MuiPickersOutlinedInput-notchedOutline {
  border-color: var(--teal-500);
}

#storable-webapps-onlinemovein .MuiPickersOutlinedInput-root.Mui-focused,
#storable-webapps-unitstable .MuiGrid-container:has(> .MuiGrid-root > .MuiTextField-root) .MuiPickersOutlinedInput-root.Mui-focused {
  box-shadow: 0 0 0 3px rgba(81, 181, 189, .18);
}
