/* Explore your area (docs/EXPLORER_PLAN.md section 8). Loaded by the
   explorer's pages on top of marketing.css and landing.css. (The site's
   other pages carry "Meet your area manager", whose styles are meet.css.)

   One screen, one conversation: a slim header, then a centred column that
   holds the thread (the only part that scrolls) with the suggestions and
   the reply box fixed at its foot. The map is a small still picture in the
   update, and opens over the conversation as a dialog. On a phone the
   conversation is the whole screen. */
.ex{background:var(--cream)}
.ex-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ex-av{border-radius:50%;background:var(--accent-tint);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}

.ex-app{height:100svh;display:flex;flex-direction:column;overflow:hidden;background:var(--cream)}
html.ex-locked,html.ex-locked body{overflow:hidden}

/* ---- The header ---- */
.ex-head.site-header{position:relative;top:auto;flex-shrink:0;height:72px;padding:0 32px;display:flex;align-items:center;gap:26px;background:#fff;border-bottom:1px solid var(--line-2);box-sizing:border-box;white-space:nowrap;z-index:8;backdrop-filter:none;-webkit-backdrop-filter:none}
.ex-logo{display:flex;align-items:flex-start;flex-shrink:0}
.ex-logo img{height:34px;display:block}
.ex-logo .ex-wordmark{height:41px;margin-left:9px}
.ex-onjob{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#17603F;background:var(--green-tint);border-radius:999px;padding:5px 10px;white-space:nowrap}
.ex-onjob i{width:7px;height:7px;border-radius:50%;background:var(--green)}
.ex-links{margin-left:auto;display:flex;align-items:center;gap:26px}
.marketing .ex-links a{font-size:15px;font-weight:500;color:var(--ink-soft)}
.marketing .ex-links a:hover{color:var(--accent)}
.marketing .ex-links a[aria-current="page"]{font-weight:600;color:var(--ink);padding:6px 0;border-bottom:2px solid var(--accent)}
.ex-links .btn{padding:11px 22px;font-size:14px}
.ex-head .nav-burger{display:none}
.ex-sheet{position:absolute;left:0;right:0;top:100%;z-index:20}

/* ---- The conversation ----
   --gut is the space either side of the centred column: the thread scrolls
   edge to edge (so its scrollbar is the window's), its contents do not. */
.ex-panel{flex:1;min-height:0;display:flex;flex-direction:column;--gut:max(20px,calc(50% - 360px))}
.ex-thread{flex:1;min-height:0;overflow-y:auto;padding:20px var(--gut) 12px;display:flex;flex-direction:column;gap:14px;scroll-behavior:smooth;overscroll-behavior:contain}
.ex-day{align-self:center;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ex-exchange{display:flex;flex-direction:column;gap:10px}
.ex-turn{display:flex;gap:10px;align-items:flex-start}
.ex-asked{align-self:flex-end;max-width:85%;background:var(--accent-tint);border:1px solid #F0CDB0;border-radius:18px 4px 18px 18px;padding:9px 14px;font-size:15px;line-height:1.45}
.ex-answer{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.ex-checked{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-soft);padding-left:42px}
.ex-moved{align-self:center;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-soft)}
.ex-says{background:var(--cream-2);border:1px solid var(--line-2);border-radius:4px 18px 18px 18px;padding:13px 15px;font-size:15.5px;line-height:1.5;color:var(--ink);min-width:0}
.ex-says p{margin:0 0 10px}.ex-says p:last-child{margin-bottom:0}
.ex-says ul{margin:0 0 10px;padding-left:20px}
.ex-says-live:not(:has(>div:not(:empty))){display:none}
.ex-says .is-withdrawn{opacity:.45}
.ex-told{flex:1;display:flex;flex-direction:column;gap:12px}
.ex-told p{margin:0}
.ex-says .ex-told-head{font-family:var(--serif);font-size:20px;font-weight:700;letter-spacing:-.02em;line-height:1.28}
.ex-says .ex-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.45}
.ex-points li{position:relative;padding-left:18px}
.ex-points li::before{content:'';position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:var(--muted)}
.ex-points li.is-strong::before{background:#1F7A52}
.ex-points li.is-steady::before{background:#2563A8}
.ex-points li.is-mixed::before{background:var(--amber)}
.ex-points li.is-new::before{background:var(--accent)}
.ex-centres{display:flex;flex-direction:column;border-top:1px solid var(--line);margin-top:4px;padding-top:10px}
.ex-centres-head{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding-bottom:4px}
.ex-centre{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.ex-centre:last-child{border-bottom:0}
.ex-centre-name{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:14.5px;font-weight:600;line-height:1.3}
.ex-centre-name small{font-size:12.5px;font-weight:400;color:var(--muted)}
.ex-centre-score{flex-shrink:0;min-width:38px;height:26px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;box-sizing:border-box;font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff;background:#9A8F81}
.ex-centre-score.is-strong{background:#1F7A52}
.ex-centre-score.is-steady{background:#2563A8}
.ex-centre-score.is-mixed{background:#8A5A10}
.ex-owner-line{padding-left:42px;font-size:12.5px;line-height:1.45;color:var(--ink-soft)}
.marketing .ex-owner-line a{color:var(--dark);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* Collecting its sources: on a fresh arrival the steps play one at a time,
   then settle into one ticked line and the update appears. Without script
   (see the noscript rule in the page) the update is simply there. */
.ex-collect{display:none;gap:10px;align-items:flex-start}
.ex-steps{display:flex;flex-direction:column;gap:9px;padding-top:5px;font-size:14.5px;color:var(--ink-soft);min-width:0}
.ex-steps strong{font-family:var(--serif);font-size:16px;color:var(--ink);background:linear-gradient(90deg,var(--ink) 0,var(--ink) 40%,#B9AD9C 55%,var(--ink) 70%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:ex-shimmer 1.6s linear infinite}
.ex-step{display:none;align-items:center;gap:9px}
.ex-step i{width:13px;height:13px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--accent);box-sizing:border-box;flex-shrink:0;animation:ex-spin .8s linear infinite}
.ex-step svg{display:none;flex-shrink:0}
.ex-step.is-on{display:flex;color:var(--ink);font-weight:600}
.ex-step.is-done{display:flex}
.ex-step.is-done i{display:none}
.ex-step.is-done svg{display:block}
.ex-update[data-collect]:not(.is-told) > .ex-collect{display:flex}
.ex-update[data-collect]:not(.is-told) > .ex-turn,
.ex-update[data-collect]:not(.is-told) > .ex-settled,
.ex-update[data-collect]:not(.is-told) > .ex-owner-line{display:none}
.ex-update.is-told > .ex-turn,.ex-update.is-told > .ex-settled,.ex-update.is-told > .ex-owner-line{animation:ex-in .45s var(--ease) both}
@keyframes ex-shimmer{from{background-position:120% 0}to{background-position:-100% 0}}
@keyframes ex-spin{to{transform:rotate(360deg)}}
@keyframes ex-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Cards inside an answer. */
.ex-k{font-size:12px;color:var(--ink-soft)}
.ex-v{font-family:var(--serif);font-size:21px;font-weight:700;letter-spacing:-.02em;line-height:1.15}
.ex-v.is-strong{color:#1F7A52}.ex-v.is-steady{color:#2563A8}.ex-v.is-mixed{color:#8A5A10}.ex-v.is-new{color:#8A3A12}
.ex-v.is-none{font-size:16px;color:var(--ink-soft);padding:3px 0}
.ex-s{font-size:12px;line-height:1.4;color:var(--ink-soft)}
.ex-card-stats{background:#fff;border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}
.ex-card-stats>div{padding:10px 12px;border-right:1px solid var(--line-2);border-bottom:1px solid var(--line-2);display:flex;flex-direction:column;gap:2px}
.ex-card-stats>div:nth-child(2n){border-right:0}
.ex-card-stats>div:nth-last-child(-n+2){border-bottom:0}
.ex-card-text{font-size:13.5px;font-weight:700;margin-top:4px;line-height:1.3}
.ex-card-table{display:flex;flex-direction:column;gap:8px;min-width:0}
.ex-card-table>strong{font-family:var(--serif);font-size:15px}
.ex-table{background:#fff;border:1px solid var(--line);border-radius:14px;overflow-x:auto}
.ex-table table{width:100%;border-collapse:collapse;font-size:13.5px}
.ex-table th,.ex-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line-2);font-weight:400;vertical-align:top}
.ex-table thead th{font-size:12px;font-weight:600;color:var(--ink-soft);background:var(--cream-2);white-space:nowrap}
.ex-table tbody th{font-weight:600}
.ex-table tr:last-child th,.ex-table tr:last-child td{border-bottom:0}
.ex-prov{margin:0;font-size:12px;line-height:1.45;color:var(--ink-soft)}
/* The working steps while a typed question is answered (am/_working, the owners' own partial). */
.ex-answer .am-working{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--ink-soft)}
.ex-answer .am-working-head{display:flex;align-items:center;gap:9px;font-weight:600;color:var(--ink)}
.ex-answer .am-working-mark img{height:14px;display:block;animation:ex-pulse 1.4s ease-in-out infinite}
.ex-answer .am-working-steps{display:flex;flex-direction:column;gap:6px;padding-left:23px}
.ex-answer .am-working-step{display:flex;align-items:center;gap:8px}
.ex-answer .am-working-chip{display:inline-flex;color:var(--green)}
@keyframes ex-pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* The foot of the panel: suggestions, then the reply box. */
.ex-foot{flex-shrink:0;position:relative;padding:12px var(--gut) 18px;display:flex;flex-direction:column;gap:10px}
.ex-pills{display:flex;flex-wrap:wrap;gap:6px}
.ex-pills form{display:contents}
.ex-pill{font-family:inherit;font-size:13.5px;font-weight:600;color:var(--dark);background:#fff;border:1.5px solid #D9C6EC;border-radius:999px;padding:8px 13px;display:inline-flex;align-items:center;min-height:40px;box-sizing:border-box;cursor:pointer;white-space:nowrap}
.ex-pill:hover{border-color:var(--dark)}
.ex-pill.is-main{color:#fff;background:var(--accent);border-color:var(--accent);font-weight:700}
.ex-pill.is-main:hover{background:#c85c28;border-color:#c85c28}
.ex-reply{margin:0;display:flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--dark);border-radius:18px;padding:6px 6px 6px 16px;box-sizing:border-box}
.ex-reply input[type=text]{flex:1;min-width:0;border:0;outline:none;font-family:inherit;font-size:16px;padding:11px 0;background:transparent;color:var(--ink)}
.ex-reply button{width:44px;height:44px;border-radius:14px;border:0;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;flex-shrink:0}
.ex-reply button:hover{background:#c85c28}
.ex-results{position:absolute;left:var(--gut);right:var(--gut);bottom:calc(100% - 4px);background:#fff;border:1.5px solid var(--line);border-radius:16px;box-shadow:0 14px 40px -16px rgba(42,37,33,.45);padding:6px;box-sizing:border-box;display:flex;flex-direction:column;z-index:5}
.ex-results[hidden]{display:none}
.ex-results a{display:flex;align-items:baseline;gap:10px;padding:10px 12px;border-radius:11px;font-size:15.5px;font-weight:600;min-height:44px;box-sizing:border-box}
.ex-results a small{font-size:13px;font-weight:500;color:var(--ink-soft)}
.ex-results a em{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-left:auto}
.marketing .ex-results a:hover,.marketing .ex-results a.is-at{background:var(--cream);color:var(--ink)}

/* ---- The map, as a card in the update ----
   A still crop of the suburb's map. The stage inside is the map's own 9:5
   box at a fixed size, scaled by --ts about the suburb that is speaking
   (40% / 44% of the stage, Explore::Map::PIN), which sits at the middle of
   the card clear of the caption. Nothing inside it takes a pointer or
   focus: the card is the one control. */
.ex-thumb{position:relative;display:block;width:100%;height:250px;flex-shrink:0;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#EFE8DC;box-sizing:border-box;cursor:pointer;--ts:.7}
.ex-thumb:hover{border-color:#C9B2E2}
.ex-thumb:focus-visible{outline:3px solid var(--dark);outline-offset:2px}
.ex-thumb-stage{position:absolute;left:50%;top:43%;width:1080px;height:600px;transform:translate(-40%,-44%) scale(var(--ts));transform-origin:40% 44%;pointer-events:none}
.ex-thumb .ex-bd{animation:none}
.ex-thumb-expand{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:10px;background:#fff;color:var(--dark);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(42,37,33,.2)}
.ex-thumb-cap{position:absolute;left:0;right:0;bottom:0;padding:9px 13px;background:rgba(255,255,255,.94);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13.5px;line-height:1.3;font-weight:700;color:var(--ink)}
.ex-thumb-cap span:first-child{min-width:0}
.ex-thumb-cap .ex-thumb-open{color:var(--dark);white-space:nowrap}

/* ---- The full map, over the conversation (a native dialog) ---- */
.ex-overlay{position:fixed;inset:20px;width:calc(100vw - 40px);height:calc(100svh - 40px);max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:18px;overflow:hidden;background:#EFE8DC;color:var(--ink);box-shadow:0 30px 80px -20px rgba(0,0,0,.5);flex-direction:column}
.ex-overlay[open]{display:flex;animation:ex-in .25s var(--ease) both}
.ex-overlay::backdrop{background:rgba(42,37,33,.45)}
.ex-overlay-bar{flex-shrink:0;padding:12px 20px;min-height:64px;box-sizing:border-box;display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);position:relative;z-index:7}
.ex-overlay-title{display:flex;flex-direction:column;min-width:0;margin-right:auto}
.ex-overlay-title strong{font-family:var(--serif);font-size:17px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ex-overlay-title>span{font-size:12.5px;color:var(--ink-soft)}
.ex-back{font-family:inherit;font-size:14px;font-weight:700;color:var(--dark);background:#fff;border:1.5px solid #D9C6EC;border-radius:999px;padding:9px 14px 9px 11px;min-height:40px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer;flex-shrink:0}
.ex-back:hover{border-color:var(--dark)}
.ex-back:focus-visible,.ex-overlay a:focus-visible{outline:3px solid var(--dark);outline-offset:2px}

/* The map's pane is a size container. --sh is the height of the map's 9:5
   drawing: as tall as the pane, or shorter when the pane is narrow, so the
   suburb that is speaking and the ones around it always fit. The drawing
   itself runs a full stage further on every side (Explore::Map), so the
   pane is filled with real suburbs whatever its shape. The speaker (40% /
   44% of the stage) sits at the centre of the pane. */
.ex-top{position:relative;flex:1;min-height:0;overflow:hidden;background:#EFE8DC;container-type:size;--sh:min(100cqh,62cqw)}
.ex-stage{position:absolute;height:var(--sh);width:calc(var(--sh) * 1.8);left:calc(50% - var(--sh) * .72);top:calc(48% - var(--sh) * .44)}
.ex-map{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.ex-map a path{transition:filter .15s}
.ex-map a:hover path,.ex-map a:focus path{filter:brightness(.95)}
.ex-map a:focus{outline:none}
.ex-map a:focus-visible path{stroke:#530C8B;stroke-width:2.5}
.ex-bd{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:7px;background:#fff;border-radius:999px;padding:5px 11px 5px 5px;font-size:13.5px;font-weight:700;color:var(--ink);white-space:nowrap;box-shadow:0 1px 2px rgba(42,37,33,.12),0 4px 12px -4px rgba(42,37,33,.25);z-index:2;animation:ex-badge .4s var(--ease) both;animation-delay:calc(var(--i,0) * 110ms + 250ms)}
.marketing a.ex-bd:hover{color:var(--ink);box-shadow:0 0 0 3px rgba(83,12,139,.18),0 4px 12px -4px rgba(42,37,33,.3)}
.ex-sc{min-width:28px;height:24px;border-radius:999px;color:#fff;font-size:12.5px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;box-sizing:border-box;background:#9A8F81}
.ex-bd.is-on{background:var(--dark);color:#fff;padding:7px 15px 7px 7px;font-size:15px;box-shadow:0 0 0 4px rgba(83,12,139,.2),0 6px 16px rgba(0,0,0,.25);z-index:4;animation-delay:0s}
.ex-bd.is-on .ex-sc{background:#fff;color:var(--dark)}
@keyframes ex-badge{from{opacity:0;transform:translate(-50%,-50%) scale(.85)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}

.ex-lens{position:absolute;left:20px;top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;z-index:6;max-width:calc(100% - 40px)}
.ex-lens-switch{background:#fff;border-radius:999px;box-shadow:0 4px 18px rgba(42,37,33,.14);padding:5px;display:flex;gap:4px;max-width:100%;overflow-x:auto;scrollbar-width:none}
.ex-lens-switch::-webkit-scrollbar{display:none}
.marketing .ex-lens-switch a{font-size:13.5px;font-weight:600;color:var(--ink);border-radius:999px;padding:8px 14px;min-height:36px;display:inline-flex;align-items:center;box-sizing:border-box;white-space:nowrap}
.marketing .ex-lens-switch a:hover{color:var(--ink);background:var(--cream)}
.marketing .ex-lens-switch a.is-on,.marketing .ex-lens-switch a.is-on:hover{color:#fff;background:var(--dark)}
.ex-legend{background:rgba(255,255,255,.92);border-radius:999px;padding:7px 14px;display:flex;align-items:center;gap:12px;font-size:12.5px;color:var(--ink-soft);white-space:nowrap}
.ex-legend span{display:inline-flex;align-items:center;gap:5px}
.ex-legend i{width:12px;height:9px;border-radius:2px;border:1px solid;display:inline-block}

/* ---- The method page and the "no read" page (ordinary scrolling pages) ---- */
.ex-read{padding:72px 0 96px}
.ex-wrap{max-width:920px;margin:0 auto;padding:0 20px}
.ex-read h1{font-size:46px;margin-top:14px}
.ex-read h2{font-size:24px;letter-spacing:-.02em;line-height:1.2;margin:48px 0 16px}
.ex-lede{margin:16px 0 0;font-size:19px;line-height:1.55;color:var(--ink-soft);max-width:680px}
.ex-fine{margin:12px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-soft)}
.ex-fine a{color:var(--dark);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ex-method p,.ex-method li{font-size:17px;line-height:1.6;color:var(--ink)}
.ex-method ul{padding-left:20px}
.ex-method p{margin:14px 0 0}

/* ---- Narrow windows and upright tablets: the links fold into the menu ---- */
@media (max-width:900px){
  .ex-head.site-header{padding:0 24px;gap:12px}
  .ex-links{display:none}
  .ex-head .nav-burger{display:inline-flex;margin-left:auto}
  .ex-read{padding:40px 0 60px}
  .ex-read h1{font-size:34px}
}
/* ---- Phones: the conversation is the whole screen ---- */
@media (max-width:640px){
  .ex-app{background:#fff}
  .ex-head.site-header{height:60px;padding:0 14px;gap:10px}
  .ex-logo img{height:28px}
  .ex-logo .ex-wordmark{height:34px;margin-left:7px}
  .ex-onjob{margin-left:auto;font-size:12px;padding:5px 9px}
  .ex-head .nav-burger{margin-left:0}
  .ex-panel{--gut:12px}
  .ex-thread{padding-top:14px;padding-bottom:8px;gap:12px}
  .ex-foot{padding-top:10px;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));gap:8px;border-top:1px solid var(--line-2);background:#fff}
  .ex-pills{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .ex-pills::-webkit-scrollbar{display:none}
  .ex-pill{flex-shrink:0}
  .ex-reply{border-radius:16px;padding:5px 5px 5px 14px}
  .ex-reply button{border-radius:12px}
  .ex-turn{gap:8px}
  .ex-says{font-size:15px}
  .ex-says .ex-told-head{font-size:18px}
  .ex-checked,.ex-owner-line{padding-left:40px}
  .ex-thumb{height:190px;--ts:.62}
  .ex-overlay{inset:0;width:100vw;height:100svh;border-radius:0}
  .ex-overlay-bar{padding:10px 12px;min-height:60px}
  .ex-overlay-around{display:none}
  .ex-top{--sh:min(118cqh,100cqw)}
  /* the speaker sits lower, clear of the lens switch and the legend */
  .ex-stage{top:calc(56% - var(--sh) * .44)}
  .ex-bd{font-size:12px;padding:3px 9px 3px 3px;gap:5px}
  .ex-sc{min-width:23px;height:20px;font-size:11.5px}
  .ex-bd.is-on{font-size:13.5px;padding:5px 12px 5px 5px}
  .ex-lens{left:10px;top:10px;max-width:calc(100% - 20px);gap:6px}
  .marketing .ex-lens-switch a{font-size:12.5px;padding:6px 11px;min-height:32px}
  .ex-legend{font-size:12px;padding:5px 10px;gap:9px}
}
@media (prefers-reduced-motion:reduce){
  .ex-map a path{transition:none}
  .ex-bd,.ex-update.is-told > *,.ex-steps strong,.ex-step i,.ex-answer .am-working-mark img,.ex-overlay[open]{animation:none}
  .ex-thread{scroll-behavior:auto}
}
/* The ways-on buttons belong to "Meet your area manager" (meet.css); the explorer's own page does not draw them. */
.ex-options{display:none}
