/* Redesign r1 owns document navigation. Load after legacy shared and brand styles. */
html[data-az-navigation] .az-shell[data-az-redesign] {
  --az-brand:#087a5d;--az-brand-deep:#04493a;--az-brand-ink:#013a30;--az-brand-soft:#e6f4ef;
  --az-ink:#142d32;--az-ink-2:#3b5257;--az-muted:#5b6f73;--az-faint:#8a9a9d;
  --az-line:#dce6e2;--az-surface:#f3f7f5;
}
html[data-az-navigation][data-az-layout="public"]:has(.az-shell[data-admin="0"]) {
  --az-header:56px;--az-header-height:56px;
  --az-dock-height:calc(72px + env(safe-area-inset-bottom,0px));
  scroll-padding-top:72px;scroll-padding-bottom:calc(var(--az-dock-height) + 16px);
}
html[data-az-navigation][data-az-layout="public"]:not([data-az-embedded]) body {padding-top:var(--az-header);padding-bottom:var(--az-dock-height)}
html[data-az-navigation] .az-shell[data-az-redesign] .az-icon {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
html[data-az-navigation] .az-shell[data-az-redesign] :is(button,a,summary):focus-visible {outline:3px solid #0F5CCF;outline-offset:3px}
html[data-az-navigation] .az-shell[data-az-redesign] [hidden] {display:none!important}
html[data-az-navigation] .az-shell[data-az-redesign] .az-dropdown>summary {min-height:44px}
html[data-az-navigation] .az-shell[data-az-redesign] .az-language-guest {position:relative!important;inset:auto!important}
html[data-az-navigation] .az-shell[data-az-redesign] .az-language-guest>summary {width:auto!important;min-width:44px!important;gap:6px;padding:8px 10px!important;white-space:nowrap}
html[data-az-navigation] .az-shell[data-az-redesign] .az-language-guest>summary .az-icon {width:18px;height:18px}
html[data-az-navigation] .az-shell[data-az-redesign] .az-dropdown-panel {inset-inline-start:auto!important;inset-inline-end:0!important;top:calc(100% + 8px);max-width:min(330px,calc(100vw - 24px));font-size:14px}
html[data-az-navigation] .az-shell[data-az-redesign] .az-dropdown-panel :is(a,button) {font-size:14px;min-height:44px}
html[data-az-navigation] .az-shell[data-az-redesign] .az-language-options {flex-wrap:wrap}
html[data-az-navigation] .az-shell[data-az-redesign] .az-language-options>a {min-width:64px;min-height:44px}

html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header {
  display:grid!important;grid-template-columns:44px minmax(100px,1fr) auto!important;align-items:center;
  height:56px;padding:0 12px!important;gap:8px!important;flex-wrap:nowrap;align-content:center;
  background:var(--az-brand,#087a5d);color:#fff;border:0;box-shadow:0 2px 12px #013a3014;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header>.az-brand {
  grid-column:2;grid-row:1;justify-self:center;display:flex!important;position:relative!important;
  width:100px!important;height:38px!important;min-width:0!important;flex:0 0 100px;overflow:hidden;
  margin:0!important;transform:none!important;background:transparent;border-radius:0;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header .az-brand picture {display:block;width:100px!important;height:38px;overflow:hidden}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header .az-brand .az-x-logo {
  position:static!important;inset:auto!important;width:100px!important;height:38px!important;
  max-width:100px!important;max-height:38px!important;object-fit:cover;object-position:center;transform:none!important;filter:none!important;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-brand-fallback {color:#fff;display:block;font-size:20px}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-menu-button {
  display:flex!important;grid-column:1;grid-row:1;justify-self:start;position:static;
  width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:10px;
  background:#ffffff14;color:#fff;border:0;border-radius:12px;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header-actions {
  grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;position:static!important;
  gap:6px!important;margin:0!important;height:auto!important;width:auto!important;max-width:none;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-primary {display:none!important}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header :is(.az-dropdown>summary,.az-login) {
  background:#ffffff14!important;color:#fff!important;border:0;border-radius:12px;box-shadow:none;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header :is(.az-account>summary,.az-login) {
  display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;
  min-height:44px!important;max-width:none;padding:10px!important;gap:0;
}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header :is(.az-account-text,.az-login>span) {display:none!important}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header :focus-visible {outline-color:#fff}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-post-property {display:none}

html[data-az-navigation] .az-shell[data-az-redesign] .az-scrim {z-index:160;background:#092d2770;backdrop-filter:none}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-public-navigation {
  display:none;position:fixed;inset-block:0;inset-inline-start:0;inset-inline-end:auto;
  z-index:170;width:min(340px,calc(100vw - 32px));max-height:100dvh;padding:0;
  border:0;background:#fff;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 0 44px #013a3026;
}
html[data-az-navigation].az-menu-open .az-shell[data-az-redesign][data-admin="0"] .az-public-navigation {display:flex;flex-direction:column}
html[data-az-navigation].az-menu-open,html[data-az-navigation].az-menu-open body {overflow:hidden}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-hero {padding:16px 18px 18px;background:var(--az-brand,#087a5d);color:#fff}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-nav-heading {padding:0 0 14px;align-items:center}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-nav-heading button {display:grid;place-items:center;min-width:44px;width:44px;height:44px;border:0;border-radius:12px;font-size:28px;background:#ffffffed;color:var(--az-brand-ink,#013a30)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-brand {display:flex;align-items:center;min-height:44px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-brand img {display:block;width:auto;height:44px;object-fit:contain}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-account {display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;background:var(--az-brand-deep,#04493a);border-radius:16px;padding:14px 12px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-account strong {display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-account p {font-size:13px;line-height:1.8;color:#e6f4ef;margin:4px 0 0}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-avatar {display:grid;place-items:center;width:38px;height:44px;background:#fff;color:var(--az-brand);border-radius:12px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-account>a {display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;background:#fff;color:var(--az-brand-ink);border-radius:12px;font-size:13px;font-weight:700;text-align:center;max-width:96px;line-height:1.6}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-body {flex:1;padding:16px 10px 24px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-public-group {margin:0 0 20px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-public-group h2 {font-size:13px;font-weight:700;color:var(--az-muted);margin:0 10px 8px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-item {display:flex;align-items:center;gap:12px;min-height:70px;padding:12px 10px;border-radius:14px;color:var(--az-ink);box-shadow:none}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-item:is(:hover,[aria-current]) {background:var(--az-brand-soft,#e6f4ef);color:var(--az-ink);box-shadow:none}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-tile {width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--az-surface,#f3f7f5);color:var(--az-brand)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-item[aria-current] .az-menu-tile {background:#fff}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-copy {display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-copy strong {font-size:16px;font-weight:700;line-height:1.5}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-copy small {font-size:13px;font-weight:400;color:var(--az-muted);line-height:1.65}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-arrow {width:16px;height:16px;color:var(--az-faint,#8a9a9d)}
html[data-az-navigation][dir="rtl"] .az-shell[data-az-redesign][data-admin="0"] .az-menu-arrow {transform:rotate(180deg)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-sub-links {display:flex;gap:8px;flex-wrap:wrap;margin:0 60px 8px 10px;margin-inline:60px 10px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-sub-links>a {display:flex;min-height:44px;padding:8px 10px;align-items:center;background:#f3f7f5;border:1px solid var(--az-line);color:var(--az-brand);font-size:12px;border-radius:10px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-account-links {border-top:1px solid var(--az-line);padding-top:16px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-account-links nav>a {font-size:14px;min-height:44px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-footer {margin-top:auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--az-line)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-languages {flex-direction:row;justify-content:center;gap:8px;flex-wrap:wrap}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-languages>a {justify-content:center;min-height:44px;flex:1;padding:8px 10px;border:1px solid var(--az-line);border-radius:24px;font-size:14px;font-weight:700;color:var(--az-ink-2);box-shadow:none}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-languages>a[aria-current] {background:var(--az-brand-ink);color:#fff;border-color:var(--az-brand-ink)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-legal {flex-direction:row;justify-content:center;margin-top:4px;gap:8px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-menu-legal>a {min-height:44px;font-size:13px}

html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-mobile-dock {
  position:fixed;inset:auto 0 0;z-index:105;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:end;gap:2px;height:var(--az-dock-height);margin:0;
  padding:5px max(8px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
  background:#fff;border-top:1px solid var(--az-line);border-radius:0;box-shadow:0 -4px 20px #013a3008;
}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-link {display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:58px;height:58px;padding:3px 1px;gap:3px;color:var(--az-muted);border-radius:12px;line-height:1.4;text-align:center}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-icon {display:grid;place-items:center;width:48px;height:30px;border-radius:18px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-icon svg {display:block;width:24px;height:24px}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-label {font-size:12px!important;font-weight:600;white-space:nowrap}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-link[aria-current="page"] {color:var(--az-brand)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-link[aria-current="page"] .az-dock-icon {background:var(--az-brand-soft)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-advisor {height:72px;color:var(--az-brand)}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-advisor .az-dock-icon {width:52px;height:52px;min-height:52px;border-radius:50%;background:var(--az-brand);color:#fff;border:4px solid #fff;box-shadow:0 3px 10px #087a5d26}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-advisor[aria-current="page"] .az-dock-icon {background:var(--az-brand-deep);box-shadow:0 0 0 2px #087a5d33}
html[data-az-navigation] .az-shell[data-az-redesign][data-admin="0"] .az-dock-link[aria-disabled="true"] {opacity:.5;cursor:default}
html[data-az-navigation].az-menu-open .az-mobile-dock,html[data-az-navigation][data-az-keyboard="1"] .az-mobile-dock,
html[data-az-navigation]:has([role="dialog"][aria-modal="true"]) .az-mobile-dock,html[data-az-navigation]:has(dialog[open]) .az-mobile-dock,
html[data-az-navigation]:has(.az-map-fullscreen) .az-mobile-dock {visibility:hidden;pointer-events:none}
html[data-az-navigation]:has([data-az-project-actions]) .az-mobile-dock {display:none!important}
html[data-az-navigation] :is(.em-header,.em-bottom-nav) {display:none!important}

@media(min-width:1024px) {
  html[data-az-navigation][data-az-layout="public"]:has(.az-shell[data-admin="0"]) {--az-header:72px;--az-header-height:72px;--az-dock-height:0px;scroll-padding-top:88px;scroll-padding-bottom:24px}
  html[data-az-navigation][data-az-layout="public"]:not([data-az-embedded]) body {padding-bottom:0}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header {display:flex!important;height:72px;gap:12px!important;padding:0 20px!important;align-content:center;flex-wrap:nowrap}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-menu-button {display:none!important}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-primary {display:flex!important;flex:1 1 auto;min-width:0;width:auto;height:auto;gap:0;order:0;padding:0;border:0;overflow:visible;justify-content:center}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-primary>a {display:flex;align-items:center;min-height:44px;padding:6px 8px;font-size:13px;line-height:1.5;text-align:center;white-space:normal;flex:0 1 auto;border-radius:8px;color:#fff}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-primary>a[aria-current] {background:var(--az-brand-deep,#04493a);box-shadow:inset 0 -2px #90e3ca}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header-actions {flex:none;gap:8px!important}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header :is(.az-account>summary,.az-login) {width:auto;gap:7px;padding:8px 12px!important;font-size:13px}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header :is(.az-account-text,.az-login>span) {display:inline!important}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-login>.az-icon {display:none}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-post-property {display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;max-width:145px;padding:8px 12px;border-radius:12px;background:#fff;color:var(--az-brand-ink);font-size:13px;font-weight:700;line-height:1.5;text-align:center}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] :is(.az-mobile-dock,.az-public-navigation) {display:none!important}
  html[data-az-navigation][data-az-layout="admin"] {--az-header:76px}
  html[data-az-navigation][data-az-layout="admin"] body {padding-inline-start:var(--az-sidebar)}
  html[data-az-navigation] .az-shell[data-az-redesign][data-admin="1"] .az-menu-button {display:none}
  html[data-az-navigation] .az-shell[data-az-redesign][data-admin="1"] .az-admin-navigation {display:block;inset-block:var(--az-header) 0;inset-inline-start:0;width:var(--az-sidebar);z-index:100;padding:20px 14px 40px;border-inline-end:1px solid var(--az-line)}
  html[data-az-navigation] .az-shell[data-az-redesign][data-admin="1"] .az-nav-heading button {display:none}
  html[data-az-navigation] .az-shell[data-az-redesign][data-admin="1"] .az-workspace-label {display:inline}
}
@media(max-width:1023px) {
  html[data-az-navigation][data-az-layout="admin"] body {padding-inline-start:0}
  html[data-az-navigation] .az-shell[data-az-redesign][data-admin="1"] .az-menu-button {display:flex}
  html[data-az-navigation] .az-shell[data-az-redesign][data-admin="1"] .az-admin-navigation {display:none;inset-block:0;z-index:170;width:min(340px,calc(100vw - 32px))}
  html[data-az-navigation].az-menu-open .az-shell[data-az-redesign][data-admin="1"] .az-admin-navigation {display:block}
}
@media(min-width:1280px) {
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-primary>a {font-size:15px;padding-inline:12px}
  html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-post-property {max-width:190px;font-size:14px}
}
@media print {html[data-az-navigation] .az-shell[data-az-redesign] :is(.az-header,.az-mobile-dock,.az-navigation,.az-scrim){display:none!important}}

/* Legacy mobile language rules must not reduce the44px control target. */
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header .az-header-actions .az-language-guest>summary{width:auto!important;min-width:44px!important;min-height:44px!important;flex-shrink:0}

/* Retained public secondary pages share the same readable breadcrumb/back controls. */
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-context :is(.az-breadcrumbs,.az-breadcrumbs a,.az-breadcrumbs span,.az-back){font-size:12px!important}
html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-context .az-back{display:inline-flex;align-items:center;min-width:44px;min-height:44px}

/* Older public Blade skip links retain their positioning and use readable focus colors. */
html[data-az-navigation][data-az-layout="public"] a.skip{color:#fff!important;background:var(--az-brand-deep,#04493a)!important;min-width:44px;min-height:44px}
html[data-az-navigation][data-az-layout="public"] a.skip:focus-visible{display:inline-flex;align-items:center;outline:3px solid #0f5ccf;outline-offset:3px}

/* The original logo file includes transparent vertical margins. Crop that padding
   inside the logo viewport so the artwork, not its invisible canvas, defines size. */
@media(min-width:1024px){
 html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header>.az-brand{width:120px!important;height:40px!important;flex-basis:120px}
 html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header .az-brand picture{width:120px!important;height:40px}
 html[data-az-navigation][data-az-layout="public"] .az-shell[data-az-redesign][data-admin="0"] .az-header .az-brand .az-x-logo{width:120px!important;max-width:120px!important;height:40px!important;max-height:40px!important}
}
