/* Shared address-directory navigation and entity conversations. */
.atlas-mast,.atlas-chat,.atlas-dialog {
  --atlas-blue:var(--cw99-blue,#2457c6);
  --atlas-tint:var(--cw99-chip,#eef2fc);
  --atlas-line:var(--cw99-line,#e9e9e9);
  --atlas-radius:clamp(10px,1.05vw,16px);
}
.atlas-mast :where(a,button,summary,input):focus-visible,
.atlas-chat :where(a,button,summary,textarea):focus-visible {
  outline:2px solid var(--atlas-blue); outline-offset:2px;
}
.atlas-mast > .bw-nav { min-width:0; flex-wrap:wrap; justify-content:center; row-gap:0 }
.atlas-mast .atlas-ask-entry,.atlas-chat .atlas-close,.atlas-chat .atlas-expand,
.atlas-chat .atlas-choice,.atlas-chat .atlas-retry {
  font:inherit; font-weight:500; background:#fff; color:var(--atlas-blue);
  border:0; border-radius:6px; min-height:44px; padding:8px 12px; cursor:pointer;
}
.atlas-mast > .atlas-ask-entry { display:none }
.atlas-menu:not([open]) > nav { display:none }
.atlas-menu .atlas-menu-trigger {
  display:inline-flex; justify-content:center; align-items:center; gap:8px; width:auto;
  list-style:none; color:#000; background:#fff; font:inherit; font-size:16px; font-weight:500;
  border:0; border-radius:6px; min-height:44px; padding:0 10px; cursor:pointer;
}
.atlas-menu summary::-webkit-details-marker { display:none }
.atlas-menu .atlas-menu-mark { position:relative; display:block; width:18px; height:12px; border-block:2px solid currentColor }
.atlas-menu .atlas-menu-mark::after { content:""; position:absolute; top:3px; left:0; width:100%; height:2px; background:currentColor }
.atlas-menu[open] .atlas-menu-trigger { color:var(--atlas-blue); background:var(--atlas-tint) }
.atlas-host { scroll-margin-block-start:80px; min-width:0 }
.atlas-host .ab-card:has(.atlas-slot),.atlas-host.ask-card:has(.atlas-slot) {
  margin:0; padding:0; background:#fff; border:0; box-shadow:none; max-width:none;
}
.atlas-host:has(.atlas-slot) { grid-column:1/-1 }
.atlas-chat,.atlas-dialog { color:#000; text-align:start; font-family:futura-pt,Futura,sans-serif }
.atlas-chat *, .atlas-dialog { box-sizing:border-box }
.atlas-chat { width:100%; margin-inline:auto; padding-block:18px; background:#fff }
.atlas-chat .atlas-chat-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-block:0 13px }
.atlas-chat .atlas-chat-head > div { min-width:0 }
.atlas-chat .atlas-place { color:var(--atlas-blue); font-size:15px; line-height:1.3; font-weight:500; margin:0 0 4px; overflow-wrap:anywhere }
.atlas-chat .atlas-chat-title { margin:0; color:#000; font-size:clamp(23px,2vw,34px); line-height:1.12; font-weight:700; overflow-wrap:anywhere }
.atlas-chat .atlas-expand { flex:none; position:relative; width:44px; box-shadow:inset 0 0 0 1px var(--atlas-line) }
.atlas-chat .atlas-expand::before,.atlas-chat .atlas-expand::after { content:""; position:absolute; width:8px; height:8px }
.atlas-chat .atlas-expand::before { top:13px; right:13px; border-top:2px solid; border-right:2px solid }
.atlas-chat .atlas-expand::after { bottom:13px; left:13px; border-bottom:2px solid; border-left:2px solid }
.atlas-chat .atlas-close { display:none }
.atlas-chat .atlas-topics { margin:0 0 8px; min-width:0 }
.atlas-chat .atlas-topics > summary {
  width:fit-content; display:list-item; cursor:pointer; font-size:16px; font-weight:500;
  line-height:1.5; color:#000; padding-block:10px; min-height:44px;
}
.atlas-chat .atlas-choices { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 8px }
.atlas-chat .atlas-choice { background:var(--atlas-tint); text-align:start; line-height:1.3; border-radius:var(--atlas-radius); font-size:16px; max-width:100% }
.atlas-chat .atlas-choice:hover,.atlas-mast .atlas-ask-entry:hover { text-decoration:underline }
.atlas-chat .atlas-log { display:grid; gap:20px }
.atlas-chat .atlas-turn { display:grid; justify-items:start; gap:8px; font-size:17px; line-height:1.5; min-width:0; overflow-wrap:anywhere }
.atlas-chat .atlas-question {
  justify-self:end; margin:0; padding:10px 16px; max-width:92%; border-radius:var(--atlas-radius);
  line-height:1.35; background:var(--atlas-tint); color:#000; font-weight:500; white-space:pre-line;
}
.atlas-chat .atlas-answer,.atlas-chat .atlas-error { margin:2px 0; white-space:pre-line; color:#000 }
.atlas-chat .atlas-error { border-inline-start:3px solid #e4410d; padding-inline-start:12px }
.atlas-chat .atlas-link,.atlas-chat .atlas-retry {
  display:inline-flex; align-items:center; min-height:44px; color:var(--atlas-blue);
  font:inherit; font-weight:500; text-decoration:underline; text-underline-offset:3px;
}
.atlas-chat .atlas-retry { padding-inline:0 }
.atlas-chat .atlas-facts { display:flex; flex-wrap:wrap; gap:8px 22px; margin:4px 0 }
.atlas-chat .atlas-facts div { min-width:0 }
.atlas-chat .atlas-facts dt { font-size:14px; font-weight:400; color:#000 }
.atlas-chat .atlas-facts dd { margin:0; font-size:16px; font-weight:700 }
.atlas-chat .atlas-status:not(:empty) { padding:12px 0; font-size:16px; color:#000 }
.atlas-chat .atlas-compose {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px;
  margin:12px 0 0; padding:6px; background:#fff; border:1px solid var(--atlas-line); border-radius:var(--atlas-radius);
}
.atlas-chat .atlas-compose:focus-within { border-color:var(--atlas-blue) }
.atlas-chat textarea.atlas-input {
  font:inherit; font-size:17px; font-weight:400; line-height:1.4; color:#000; background:#fff;
  padding:9px; margin:0; width:100%; min-width:0; min-height:48px; max-height:140px;
  resize:vertical; border:0; box-shadow:none; border-radius:6px;
}
.atlas-chat .atlas-input::placeholder { color:#5b6472; opacity:1 }
.atlas-chat .atlas-send,.atlas-menu .atlas-search-go {
  font:inherit; font-size:16px; font-weight:700; min-height:44px; padding:8px 16px;
  border:0; border-radius:6px; color:white; background:var(--atlas-blue); cursor:pointer;
}
.atlas-chat button:disabled { opacity:.58; cursor:progress }
.atlas-dialog[open] {
  position:fixed; inset:0; z-index:100; margin:0; width:100%; height:100%; height:100dvh;
  max-width:none; max-height:none; padding:0; border:0; background:#fff; overflow:hidden;
}
.atlas-dialog[open] .atlas-chat {
  display:grid; grid-template-rows:auto minmax(0,1fr) auto; height:100%; min-height:0;
  padding: max(16px,env(safe-area-inset-top)) max(4vw,env(safe-area-inset-right))
    max(16px,env(safe-area-inset-bottom)) max(4vw,env(safe-area-inset-left));
}
.atlas-dialog[open] .atlas-close { display:inline-flex; align-items:center; flex:none; box-shadow:inset 0 0 0 1px var(--atlas-line) }
.atlas-dialog[open] .atlas-expand { display:none }
.atlas-dialog[open] .atlas-scroll { overflow:auto; overscroll-behavior:contain; min-height:0; padding:0 2px 10px }
.atlas-dialog[open] .atlas-chat-head { padding-bottom:12px; border-bottom:1px solid var(--atlas-line) }
.atlas-dialog[open] .atlas-compose { margin-top:8px }
html:has(.atlas-dialog[open]) { overflow:hidden }
@media (min-width:1026px) {
  .atlas-dialog[open] .atlas-chat { padding-inline:max(7vw,calc((100% - 100ch)/2)) }
}
@media (max-width:1025px) {
  .bw-top.atlas-mast,.site-header .atlas-mast {
    display:flex; position:relative; align-items:center; justify-content:space-between;
    flex-wrap:nowrap; gap:4px; min-height:58px; height:auto; padding-block:5px; z-index:45;
  }
  .atlas-mast > .bw-nav,.atlas-mast > .site-nav,.atlas-mast > .bw-cta { display:none }
  .atlas-mast > .bw-logo,.atlas-mast > .brand-link { flex:1; min-width:0; min-height:44px; display:flex; align-items:center; justify-content:flex-start }
  .atlas-mast > .atlas-ask-entry { display:block; font-size:15px; line-height:1.12; padding-inline:8px; max-width:34% }
  .atlas-mast > details.atlas-menu { display:block; position:static; flex:none; margin:0 }
  .atlas-mast .atlas-menu[open] > nav {
    display:flex; flex-direction:column; align-items:stretch; gap:0; position:absolute; z-index:50;
    top:100%; inset-inline:0; width:auto; min-width:0; max-height:calc(100vh - 76px);
    max-height:calc(100dvh - 76px); overflow:auto; overscroll-behavior:contain; padding:10px 14px 16px;
    box-shadow:0 0 18px rgba(0,0,0,.16); background:white; border-radius:0 0 12px 12px;
  }
  .atlas-mast .atlas-menu nav > a {
    display:flex; align-items:center; justify-content:flex-start; min-height:44px; padding:8px 12px;
    border-radius:6px; font-size:17px; font-weight:500; line-height:1.3; color:#000;
  }
  .atlas-mast .atlas-menu nav > a:hover,.atlas-mast .atlas-menu nav > a:focus-visible { background:var(--atlas-tint); color:var(--atlas-blue) }
  .atlas-menu nav > form,.atlas-menu nav > search,.atlas-menu nav > search > form {
    display:block; flex:none; width:100%; max-width:none; margin:0 0 4px;
  }
  .atlas-menu nav .atlas-nav-search { display:flex; gap:8px }
  .atlas-menu nav form input[type="search"] { width:100%; min-width:0; min-height:44px; font:inherit; font-size:16px }
  .atlas-menu nav form .bw-suggest { position:relative!important; inset:auto!important; width:100%; max-height:30vh; overflow:auto }
  .atlas-menu nav .atlas-nav-search input { border:1px solid var(--atlas-line); border-radius:6px; padding:7px 12px }
  .atlas-menu nav .atlas-search-go { flex:none }
  .atlas-mast .bw-logo-mark { width:32px }
  .atlas-mast .bw-logo { gap:6px }
  .atlas-mast .bw-logo-word { font-size:22px }
  .atlas-mast .bw-logo-by { font-size:12px; margin-top:2px }
  .bw-top:not(:has(.bw-menu)) > .bw-nav { display:flex; flex-wrap:wrap }
}
@media (max-width:760px) {
  .atlas-host:has(.atlas-slot) { margin-inline:0; padding-inline:4vw }
  .atlas-host .ab-card:has(.atlas-slot) { padding:0!important }
  .atlas-host.card.ask-card { padding-inline:0 }
  .atlas-chat .atlas-choices { flex-direction:column; align-items:stretch }
  .atlas-chat .atlas-choice { width:100%; padding:10px 14px }
  .atlas-chat .atlas-question { max-width:95% }
  .atlas-chat .atlas-chat-title { font-size:23px }
  .atlas-dialog[open] .atlas-chat-title { font-size:21px }
  .atlas-dialog[open] .atlas-chat { padding-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right)) }
}
@media (max-width:760px) {
  .bw .bw-section-head { flex-wrap:wrap }
  .bw .bw-section-head > * { min-width:0; max-width:100% }
  .bw .bw-section-head .bw-more { white-space:normal; overflow-wrap:anywhere }
  .bw .sn-head,.bw .sn-head-pills { flex-wrap:wrap; min-width:0; max-width:100% }
  .bw .sn-head-pills > span { max-width:100%; white-space:normal; overflow-wrap:anywhere }
  .bw .hs-ins-layout { grid-template-columns:minmax(0,1fr) }
  .bw .hs-ins-layout > * { min-width:0 }
  .bw .hs-ins-row { flex-wrap:wrap; grid-template-columns:minmax(0,1fr) }
  .atlas-mast .atlas-menu nav > a.btn-primary { background:var(--atlas-tint); color:var(--atlas-blue) }
}
@media (max-width:760px) {
  .site-header:has(.atlas-mast) ~ main.wrap > .hero {
    color:#000; background:#fff; box-shadow:none; border-radius:0; padding:12px 0 18px;
  }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero h1 {
    color:#000; letter-spacing:normal; font:700 clamp(30px,7vw,40px)/1.08 futura-pt,Futura,sans-serif;
  }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero :is(p,.search-form label,.stat-box span) { color:#000 }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero .hero-badge {
    padding:0; border:0; background:#fff; color:#2457c6; font-weight:500;
  }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero .stat-box { background:#fafafa }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero .search-input { border-color:#e9e9e9 }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero .btn { min-height:44px }
  .site-header:has(.atlas-mast) ~ main.wrap > .hero .btn-secondary { background:#eef2fc; border:0; color:#2457c6 }
}
.atlas-chat .atlas-more { margin:0; min-width:0; width:100% }
.atlas-chat .atlas-more > summary {
  width:fit-content; min-height:44px; padding:10px 0; cursor:pointer; font-weight:500; font-size:16px;
}
.atlas-chat .atlas-more[open] > .atlas-link { display:flex; width:fit-content }
.atlas-mast .atlas-menu nav form { position:relative }
.atlas-mast .atlas-menu nav form :is(.bw-top-search-ico,.bw-head-search-ico) {
  top:22px; transform:translateY(-50%); margin:0; pointer-events:none;
}
.atlas-transit-page { font-family:futura-pt,Futura,sans-serif; background:#fff; color:#000 }
.atlas-transit-head.tl-nav { padding:8px 4vw; min-height:62px; gap:16px; align-items:center; flex-wrap:wrap; font:inherit }
.atlas-transit-head .tl-nav-brand { display:flex; flex-direction:column; align-items:flex-start; gap:1px; min-height:44px; justify-content:center; font-size:22px; line-height:1; font-weight:700; color:#2457c6 }
.atlas-transit-head .tl-nav-brand small { font-weight:500; font-size:12px }
.atlas-transit-head > .tl-nav-links { display:flex; flex-wrap:wrap; gap:4px 18px; margin-inline:auto; align-items:center }
.atlas-transit-head .tl-nav-links a,.atlas-transit-head .atlas-transit-fallback nav a {
  display:inline-flex; align-items:center; min-height:44px; color:#000; font-size:16px; font-weight:500; text-decoration:none;
}
.atlas-transit-head .atlas-transit-search { display:flex; align-items:center; gap:6px }
.atlas-transit-head .atlas-transit-search input,.atlas-transit-head .atlas-transit-search button {
  box-sizing:border-box; font:inherit; font-size:16px; min-height:44px; padding:8px 12px; border:1px solid #e9e9e9; border-radius:6px; min-width:0;
}
.atlas-transit-head .atlas-transit-search button { cursor:pointer; color:white; background:#2457c6; font-weight:700; border:0 }
.atlas-transit-head > .atlas-transit-fallback { display:none }
.atlas-transit-page .tl-main .tl-hub-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr)) }
.atlas-transit-page .tl-main :where(.tl-hub-name,.tl-hero-h1) { color:#000; font-weight:700 }
@media (max-width:1025px) {
  .atlas-transit-head.tl-nav { position:relative; gap:8px; justify-content:space-between }
  .atlas-transit-head > .tl-nav-links { display:none }
  .atlas-transit-head > .atlas-transit-fallback { display:block }
  .atlas-transit-head:not(.atlas-mast) .atlas-transit-fallback summary { cursor:pointer; min-height:44px; line-height:44px }
  .atlas-transit-head:not(.atlas-mast) .atlas-transit-fallback[open] nav { display:grid; position:absolute; top:100%; inset-inline:0; padding:6px 4vw; background:#fff; z-index:3 }
  .atlas-transit-head:not(.atlas-mast) > .atlas-transit-search { order:1; width:100% }
  .atlas-transit-head .atlas-menu nav .atlas-transit-search { display:flex }
  .atlas-transit-head .atlas-menu nav .atlas-transit-search button { flex:none }
}
@media (max-width:760px) {
  .bw .gb-hero-facts dd:not(.bw-note):has(a) { white-space:normal; overflow-wrap:anywhere }
}
@media (max-width:760px) {
  .bw .sn-table-wrap { width:100%; min-width:0; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain }
  .bw main :is(.bw-sub,.bw-text,.bw-nearby-card) code { overflow-wrap:anywhere }
  .bw main pre { min-width:0; max-width:100%; overflow-x:auto }
}
.atlas-transit-page .tl-main :is(.tl-btn,.tl-nearby-details > summary) {
  box-sizing:border-box; min-height:44px; display:inline-flex; align-items:center;
}
.atlas-transit-page .tl-main .tl-nearby-details > summary { display:flex }
