/* by: claude. The assessment funnel. Without the globe it is a plain page that shows
   one step at a time. `.globe` puts the live globe behind the steps (globe-stage.js).
   Colours follow form.html and DESIGN.md. */
@font-face{font-family:Oswald;src:url("/check/assets/oswald.woff2") format("woff2");font-weight:200 700;font-display:swap}
*{box-sizing:border-box}
/* by: Codex. An invitation appears at the report end without replacing the report. */
.report-chat-greeting{position:fixed;z-index:40;left:24px;bottom:24px;width:min(320px,calc(100vw - 32px));padding:6px;border:1px solid rgba(220,235,250,.28);border-radius:26px 26px 26px 10px;background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03) 45%,rgba(255,255,255,.07));-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 16px 48px rgba(0,0,0,.35),0 0 10px rgba(245,165,36,.12),0 0 32px rgba(245,165,36,.16),inset 0 1px 0 rgba(255,255,255,.18);color:#f5efe3;animation:chat-greeting-in .32s ease-out}
.report-chat-greeting[hidden]{display:none}
.report-chat-greeting{animation:chat-greeting-in .32s ease-out,chat-greeting-glow 4.8s ease-in-out .32s infinite}
.report-chat-greeting:hover,.report-chat-greeting:focus-within{animation-play-state:running,paused}
.report-chat-greeting [data-chat-greet-open]{display:block;width:100%;padding:20px 44px 20px 20px;text-align:left;border:1px solid rgba(220,235,250,.28);border-radius:19px 19px 19px 4px;background:rgba(10,15,22,.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.09);color:inherit;font:16px/1.5 Arial,sans-serif;cursor:pointer}
.greeting-label,.greeting-text,.greeting-action{display:block}
.greeting-label{font-size:10px;letter-spacing:.1em;color:#bdc9d6;margin-bottom:8px}
.greeting-identity{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.greeting-avatar{display:block;flex:0 0 44px;width:44px;height:44px;object-fit:cover;border-radius:50%;border:1px solid rgba(220,235,250,.4);padding:2px;background:rgba(255,255,255,.08);box-shadow:0 0 12px rgba(245,165,36,.16)}
.greeting-identity strong{display:block;font-size:14px;font-weight:600;color:#f5efe3}
.greeting-identity .greeting-label{font-size:11px;letter-spacing:0;margin:0}
.greeting-action{font-size:13px;color:#f5a524;margin-top:12px}
.report-chat-greeting [data-chat-greet-dismiss]{position:absolute;right:7px;top:7px;width:44px;height:44px;border:0;border-radius:50%;background:none;color:#bdc9d6;font:24px Arial,sans-serif;cursor:pointer}
.finding-help{display:flex;gap:12px;flex-wrap:wrap;padding-top:12px}
.finding-help a{font-size:13px;color:#f5c46a;padding:4px 0}
@keyframes chat-greeting-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes chat-greeting-glow{0%,100%{box-shadow:0 16px 48px rgba(0,0,0,.35),0 0 10px rgba(245,165,36,.08),0 0 28px rgba(245,165,36,.12),inset 0 1px 0 rgba(255,255,255,.18)}50%{box-shadow:0 16px 48px rgba(0,0,0,.35),0 0 14px rgba(245,165,36,.18),0 0 38px rgba(245,165,36,.22),inset 0 1px 0 rgba(255,255,255,.18)}}
@media(max-width:680px){.report-chat-greeting{left:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){.report-chat-greeting{animation:none}}
/* by: Codex. Preview report guide: conversation and pinned composer in its own glass plate. */
.report-chat{--chat-bg:#262624;--chat-input:#30302e;--chat-line:#51514c;--chat-text:#eeeae2;--chat-muted:#bab8af;display:flex;flex-direction:column;min-height:0;height:min(740px,calc(100dvh - var(--top,72px) - 56px));padding:20px 24px 12px;border:1px solid rgba(220,235,250,.25);border-radius:18px;background:var(--chat-bg);color:var(--chat-text);text-align:left}
.report-chat[hidden],.report-chat [hidden]{display:none!important}
.globe[data-step=report] main.funnel.chat-open{width:min(760px,calc(100vw - 24px));overflow:hidden;max-height:calc(100dvh - var(--top,72px) - 32px)}
.report-chat-heading{display:flex;flex-shrink:0;align-items:center;gap:20px;padding-bottom:16px;border-bottom:1px solid #ffffff12}
.report-chat-identity{display:flex;align-items:center;gap:12px;min-width:0}
.report-chat-identity>div{min-width:0}
.report-chat-heading h3{margin:0;font:600 15px/1.5 Arial,sans-serif;letter-spacing:0;text-transform:none}
.report-chat-heading h3:focus{outline:none}
.report-chat-heading span{display:block;color:var(--chat-muted);font-size:12px;overflow-wrap:anywhere}
.report-chat-heading button{flex-shrink:0;min-height:44px;font-size:13px}
.report-chat #report-chat-body{display:flex;flex:1;flex-direction:column;min-height:0;padding:12px 4px 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#77756e transparent;scroll-padding-block:8px}
.report-chat #report-chat-body>:not(.report-chat-log){flex-shrink:0}
.report-chat-log{display:flex;flex-direction:column;flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:8px 8px 16px;scrollbar-width:thin;scrollbar-color:#77756e transparent}
.report-chat-log>*{flex-shrink:0}
.report-chat-message{margin:16px 0 24px;overflow-wrap:anywhere}
.report-chat-message:first-child{margin-top:4px}
.report-chat-message:last-child{margin-bottom:8px}
.report-chat-message.from-guide{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px}
.report-chat-message.from-guide>.chat-reply-avatar{grid-column:1;grid-row:1 / span 5;width:32px;height:32px;flex-basis:32px}
.report-chat-message.from-guide>:not(.chat-reply-avatar){grid-column:2;min-width:0}
.report-chat-message.from-guide>button{justify-self:start}
.report-chat-message.from-owner{width:fit-content;max-width:88%;margin-left:auto;padding:12px 16px;border-radius:16px;background:#3a3a36}
.report-chat-message strong{display:block;font-size:12px;color:var(--chat-muted);font-weight:600;margin-bottom:4px}
.report-chat-message.from-owner strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.report-chat .report-chat-message p{margin:0;font:17px/1.65 Georgia,serif;white-space:pre-wrap}
.report-chat .from-owner p{font:15px/1.6 Arial,sans-serif}
.report-chat-message small{display:block;color:var(--chat-muted);font:12px/1.5 Arial,sans-serif;margin-top:12px}
.report-chat-message button{margin:4px 16px 0 0;min-height:44px;font-size:13px;text-underline-offset:4px}
.report-chat-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:auto 0 0;padding-top:12px}
.report-chat-prompts button{padding:8px 12px;min-height:44px;border:1px solid var(--chat-line);border-radius:10px;background:transparent;color:var(--chat-text);font:13px/1.4 Arial,sans-serif;cursor:pointer;text-align:left}
.report-chat-prompts button:hover{background:#363632}
.report-chat.has-conversation .report-chat-prompts{display:none}
.report-chat-form{margin:0}
.report-chat-compose{padding:12px;border:1px solid #66635b;border-radius:20px;background:var(--chat-input);box-shadow:0 4px 16px #0002}
.report-chat-compose:focus-within{border-color:#f5c46a;box-shadow:0 0 0 2px #f5a52433,0 4px 16px #0002}
.report-chat-compose textarea{display:block;width:100%;min-height:56px;max-height:144px;padding:4px;border:0;background:none;color:var(--chat-text);font:16px/1.5 Arial,sans-serif;resize:none;outline:none}
.report-chat-compose textarea::placeholder{color:var(--chat-muted);opacity:1}
.report-chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.report-chat-toolbar span{font-size:12px;color:var(--chat-muted);padding-left:4px}
.report-chat .chat-send{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:0;border-radius:12px;background:#f5a524;color:#181815;cursor:pointer}
.chat-send svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chat-send[data-chat-stop] svg{fill:currentColor;stroke:none}
.report-chat [data-chat-status]{min-height:20px;margin:4px 4px 0;color:var(--chat-muted);font-size:13px;overflow-wrap:anywhere}
.report-chat .report-chat-privacy{font:13px/1.5 Arial,sans-serif;color:var(--chat-muted);text-align:center}
.report-chat-privacy summary{cursor:pointer;min-height:44px;align-content:center;padding:8px 4px;list-style:none;text-decoration:underline;text-underline-offset:4px}
.report-chat-privacy summary::-webkit-details-marker{display:none}
.report-chat-privacy p{margin:6px 0 10px;max-height:96px;overflow:auto;text-align:left;overflow-wrap:anywhere}
.report-chat :focus-visible{outline:2px solid #f5a524;outline-offset:3px}
.report-chat textarea:focus-visible{outline:none}
.chat-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.report-chat-message.is-streaming p::after{content:'';display:inline-block;width:2px;height:1em;margin-left:3px;vertical-align:-.1em;background:#f5a524;animation:chat-caret .9s steps(2,end) infinite}
@keyframes chat-caret{50%{opacity:0}}
@media(max-width:680px){.globe[data-step=report] main.funnel.chat-open{top:calc(var(--top,72px) + 8px);bottom:8px;left:8px;right:8px;width:auto;max-height:none;display:flex}.report-chat{width:100%;height:auto;flex:1;padding:12px;border-radius:14px}.report-chat-heading{gap:12px;padding-bottom:8px}.report-chat-heading span{font-size:11px}.report-chat-log{padding:4px 4px 12px}.report-chat-prompts{gap:6px;margin-bottom:10px}.report-chat-prompts button{font-size:12px;padding:8px}.report-chat-compose{padding:8px;border-radius:16px}.report-chat .report-chat-message p{font-size:16px}.report-chat .from-owner p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.report-chat,.report-chat-message.is-streaming p::after{animation:none}}
@media(max-width:480px){.report-chat-heading{flex-wrap:wrap;gap:4px}.report-chat-identity{flex-basis:100%;gap:8px}.chat-header-avatar{width:32px;height:32px;flex-basis:32px}.report-chat-message.from-guide{column-gap:8px}}
html{background:#0a1018}
body{margin:0;min-height:100vh;background:#0a1018;color:#f5efe3;font:16px/1.6 Arial,sans-serif}
a{color:#f5efe3;text-underline-offset:4px}
.skip-link{position:absolute;left:16px;top:-100px;z-index:60;padding:12px;background:#f5a524;color:#111820}
.skip-link:focus{top:8px}
header.site{position:relative;z-index:30;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 18px;padding:16px clamp(16px,3vw,32px);background:rgba(9,14,21,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(245,165,36,.12)}
.brand{font-size:15px;font-weight:800;letter-spacing:.05em;text-decoration:none}
.brand span{color:#f5a524}
.brand{display:inline-flex;align-items:center;gap:10px}
.brand img{display:block;width:28px;height:28px;border-radius:5px;box-shadow:0 0 0 1px rgba(154,169,186,.35)}
header.site nav{font-size:14px;color:#bdc9d6}
main.funnel{padding:28px 12px 48px}
.site-foot{max-width:900px;margin:0 auto;padding:0 20px 32px;font-size:13px;color:#bdc9d6}

.step{max-width:600px;margin:0 auto;padding:34px clamp(20px,4vw,40px) 38px;border:1px solid rgba(245,165,36,.16);border-radius:18px;background:rgba(10,15,22,.9);box-shadow:0 30px 80px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.04)}
.step[hidden]{display:none}
.step-report{max-width:900px}
.eyebrow{margin:0 0 10px;color:#f5a524;font-size:13px;font-weight:700;letter-spacing:.12em}
h1,h2{margin:0 0 14px;font:600 clamp(30px,4.4vw,44px)/1.06 Oswald,Arial,sans-serif;letter-spacing:.01em;text-transform:uppercase;overflow-wrap:anywhere}
h1:focus,h2:focus{outline:none}
h3{margin:0 0 12px;font:600 20px/1.2 Oswald,Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase}
.intro{margin:0 0 18px;font-size:18px;color:#c9d3de}
.reassure{margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #34424f;font-size:15px;color:#dbe4ed}
fieldset{min-width:0;margin:0 0 16px;padding:0;border:0}
legend,label{display:block;margin-bottom:8px;font-weight:650}
.req{color:#ff6b5e;font-weight:700}
.choices{display:flex;gap:12px}
.choice{flex:1;display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid #91a1b2;border-radius:6px;font-weight:400;cursor:pointer}
.choice:has(input:checked){border-color:#f5a524;background:rgba(245,165,36,.08)}
input:not([type=checkbox]):not([type=radio]){width:100%;min-height:48px;padding:12px;border:1px solid #91a1b2;border-radius:4px;background:#0d141c;color:#f5efe3;font:inherit}
input[aria-invalid=true]{border-color:#ff6b5e}
input[type=checkbox],input[type=radio]{flex-shrink:0;width:20px;height:20px;margin:0;accent-color:#f5a524}
:focus-visible{outline:3px solid #f5a524;outline-offset:3px}
.field{margin:0 0 18px}
.hint{margin:6px 0 0;color:#bdc9d6;font-size:14px;line-height:1.55}
.field-error{margin:6px 0 0;color:#ffc0b5;font-size:14px}
.checkbox{display:flex;align-items:flex-start;gap:12px;margin:4px 0 8px;font-size:14px;font-weight:400}
.fax{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.turnstile{min-height:65px;margin:18px 0 0}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:4px;font:700 16px Arial,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.primary{flex:0 1 auto;max-width:100%;padding:13px 22px;border:0;background:#f5a524;color:#111820}
.secondary{flex:0 1 auto;padding:12px 18px;border:1px solid #91a1b2;background:transparent;color:#f5efe3;font-weight:600}
.text-button{padding:4px 0;border:0;background:none;color:#f5efe3;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
button:disabled{opacity:.6;cursor:wait}
.resend{margin:16px 0 0}
.req-note{margin:14px 0 0;color:#bdc9d6;font-size:13px}
.msg{margin:16px 0 0;white-space:pre-line}
.msg:empty{display:none}
.msg.bad{color:#ffc0b5}
.msg.ok{color:#bbe8c6}
.noscript{max-width:600px;margin:0 auto 32px;padding:0 20px}

/* building the report: one line per finished step, never a bar */
.run-count{margin:0 0 6px;font:600 22px/1.2 Oswald,Arial,sans-serif;color:#f5c46a}
.run-rows{display:flex;flex-direction:column;gap:6px;margin:16px 0 0;padding:0;list-style:none}
.run-rows li{display:grid;grid-template-columns:128px 1fr;gap:10px;align-items:baseline;font-size:14px;line-height:1.4;animation:row-in .35s ease both}
@keyframes row-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.mark{padding:2px 8px;border-radius:3px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.mark-done{background:rgba(145,161,178,.16);color:#d6dee7}
.mark-pass{background:rgba(245,165,36,.16);color:#f5c46a}
.mark-fail{background:rgba(255,107,74,.18);color:#ffb3a1}
.mark-null{background:rgba(138,157,178,.2);color:#c9d4df}

/* the report, in the order the plan sets: score, pillars, findings, the local board, then download */
.report-head{margin-bottom:6px;text-align:center}
.report-site{margin:0;color:#bdc9d6;overflow-wrap:anywhere}
.listing-photo{margin:16px 0 0}
.listing-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:50% 30%;border-radius:10px;border:1px solid #2b3a47;background:#111a24}
.listing-photo figcaption{margin-top:6px;font-size:12px;color:#8395a8}
.listing-photo figcaption a{color:#bdc9d6}
.score-block{margin:18px 0 28px;padding:18px 0;border-top:1px solid #34424f;border-bottom:1px solid #34424f;text-align:center}
.score{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:4px 14px;margin:0}
.score strong{font:600 clamp(64px,11vw,104px)/1 Oswald,Arial,sans-serif;color:#f5a524;text-shadow:0 0 10px rgba(245,165,36,.4),0 0 28px rgba(245,165,36,.25),0 0 52px rgba(245,165,36,.12)}
.score span{font-size:18px;color:#c9d3de}
.penalty{margin:8px 0 0;color:#ffb3a1;font-size:15px}
.step-report > section{margin:0 0 30px}
.pillar-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.pillar-list li{position:relative;display:flex;flex-direction:column;gap:2px;padding:10px 10px 13px;border:1px solid #2b3a47;border-radius:10px;background:#111a24;color:#cfd8e2;font-size:13px;overflow:hidden}
.pillar-list strong{font:600 24px/1.1 Oswald,Arial,sans-serif;color:#f5efe3}
.pillar-list li::after{content:"";position:absolute;left:0;bottom:0;width:calc(var(--v,0)*1%);height:3px;background:#f5a524}
.findings{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;counter-reset:f}
/* finding colours: red fix first, yellow worth fixing, green working */
.legend{display:grid;gap:6px;margin:0 0 14px;padding:0;list-style:none;font-size:13px;color:#c9d3de}
.legend li::before,.working li::before{content:"";display:inline-block;width:10px;height:10px;margin-right:7px;border-radius:50%;vertical-align:-1px;background:var(--c)}
.legend .red,.findings .red{--c:#ff5a3c}
.legend .yellow,.findings .yellow{--c:#f5c518}
.legend .green,.working li{--c:#3ccf7a}
.findings li{padding:14px 16px;border-left:4px solid var(--c,#ff5a3c);border-radius:0 8px 8px 0;background:#111a24}
.findings .level{display:inline-block;margin-bottom:6px;padding:2px 8px;border-radius:4px;background:var(--c);color:#0b1118;font:700 11px/1.5 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
/* by: Codex. Urgency lives on the red markers; finding text stays steady. */
.findings li.red{position:relative}
.findings li.red::before{content:'';position:absolute;left:-4px;top:0;bottom:0;width:4px;background:var(--c);pointer-events:none}
.legend .red::before,.findings .red .level,.findings li.red::before{box-shadow:0 0 7px rgba(255,90,60,.4),0 0 16px rgba(255,90,60,.2);animation:urgent-glow 2.8s ease-in-out infinite}
@keyframes urgent-glow{0%,100%{box-shadow:0 0 3px rgba(255,90,60,.2),0 0 7px rgba(255,90,60,.08)}50%{box-shadow:0 0 9px rgba(255,90,60,.65),0 0 22px rgba(255,90,60,.3)}}
@media(prefers-reduced-motion:reduce){.legend .red::before,.findings .red .level,.findings li.red::before{animation:none}}
/* by: Codex. Yellow findings have a slower, softer glow than red urgency markers. */
.findings li.yellow{position:relative}
.findings li.yellow::before{content:'';position:absolute;left:-4px;top:0;bottom:0;width:4px;background:var(--c);pointer-events:none}
.legend .yellow::before,.findings .yellow .level,.findings li.yellow::before{box-shadow:0 0 5px rgba(245,197,24,.25),0 0 12px rgba(245,197,24,.1);animation:worth-fixing-glow 3.6s ease-in-out infinite}
@keyframes worth-fixing-glow{0%,100%{box-shadow:0 0 2px rgba(245,197,24,.12),0 0 5px rgba(245,197,24,.04)}50%{box-shadow:0 0 7px rgba(245,197,24,.4),0 0 17px rgba(245,197,24,.17)}}
@media(prefers-reduced-motion:reduce){.legend .yellow::before,.findings .yellow .level,.findings li.yellow::before{animation:none}}
.findings strong{display:block;margin-bottom:6px}
.findings p{margin:0 0 6px;color:#c9d3de;font-size:15px}
.findings p:last-child{margin-bottom:0}
.findings b{color:#f5efe3}
.working{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.working li{padding:6px 10px;border:1px solid rgba(60,207,122,.45);border-radius:4px;color:#d6f5e3;font-size:14px}
[data-working-box] h4{margin:20px 0 0;font-size:15px;color:#f5efe3}
.unverified{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.unverified li{padding:6px 10px;border:1px solid #455464;border-radius:4px;color:#c9d4df;font-size:14px}
.board{width:100%;margin-top:12px;border-collapse:collapse;font-size:15px}
.board th,.board td{padding:9px 8px;border-bottom:1px solid #2b3a47;text-align:left}
.board th{color:#bdc9d6;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.board td:nth-child(n+2),.board th:nth-child(n+2){text-align:right;white-space:nowrap}
.board tr.own td{color:#f5c46a;font-weight:700}
.thanks{padding-top:24px;border-top:1px solid #34424f}
.thanks p{margin:0 0 10px}
@media(max-width:640px){
  .choices{flex-direction:column}
  .pillar-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .run-rows li{grid-template-columns:1fr;gap:2px}
  .mark{justify-self:start}
  .step{padding:26px 18px 30px;border-radius:14px}
  .intro{font-size:16px;margin-bottom:14px}
}

/* the globe: the steps are one panel at the side, a sheet on a phone, and the map stays live round it */
.globe-hud[hidden]{display:none}
html.globe{background:#03060b}
.globe body{background:transparent;overflow:hidden}
.globe body>canvas{display:block;position:fixed;inset:0;z-index:0;width:100vw;height:100vh;touch-action:none;cursor:grab}
.globe body>canvas.dragging{cursor:grabbing}
/* over the globe the header is only the brand and links, no band or border */
.globe header.site{position:fixed;top:0;left:0;right:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;text-shadow:0 1px 8px rgba(0,0,0,.85)}
.globe main.funnel{position:fixed;z-index:10;top:calc(var(--top,72px) + 16px);right:clamp(12px,2.5vw,32px);max-height:calc(100vh - var(--top,72px) - 32px);width:min(500px,calc(100vw - 24px));padding:10px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:26px;border:1px solid rgba(220,235,250,.22);background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03) 45%,rgba(255,255,255,.07));-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 30px 80px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.18)}
.globe[data-step=report] main.funnel{width:min(660px,calc(100vw - 24px))}
.globe .step{max-width:none;margin:0;border-radius:17px;background:rgba(10,15,22,.86);box-shadow:none}
.globe .step[inert]{display:none}
.globe .step-run .run-rows{max-height:40vh;overflow:auto;padding-right:4px}
@media(max-width:699px){
  .globe main.funnel{top:auto;left:8px;right:8px;bottom:8px;width:auto;max-height:58vh;padding:6px;border-radius:20px}
  .globe .step{border-radius:14px}
  .globe[data-step=report] main.funnel{width:auto}
  .globe .step-run .run-rows{max-height:22vh}
}
.globe .site-foot{position:fixed;left:0;bottom:0;z-index:20;max-width:none;padding:8px 16px;background:rgba(7,11,16,.6);font-size:12px}
@media(max-width:899px),(max-height:699px){.globe .site-foot{display:none}}
.globe[data-step=report] .site-foot{display:none}
/* the globe's own marks: the city tag, the listing pins, the streets line and the credits */
.globe .tag{position:fixed;z-index:1;pointer-events:none;font:600 13px/1 Oswald,"Arial Narrow",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#f2b84b;transform:translate(12px,-50%);white-space:nowrap;text-shadow:0 0 12px rgba(242,184,75,.5)}
.globe .tag.pin{font-size:12px;color:#9fd6ff;text-shadow:0 0 10px rgba(80,170,255,.45)}
.globe .tag.pin.own{font-size:15px;color:#f2b84b;text-shadow:0 0 14px rgba(242,184,75,.6)}
.globe .tag small{display:block;font:400 10px/1.4 Arial,sans-serif;letter-spacing:.04em;text-transform:none;color:#8395a8;margin-top:3px;text-shadow:none}
.globe-hud .loading{position:fixed;z-index:5;left:16px;bottom:44px;font-size:12px;color:#f2b84b;animation:pulse 1.6s ease-in-out infinite}
.globe-hud .loading[hidden]{display:none}
@keyframes pulse{50%{opacity:.45}}
.globe-hud .credit{position:fixed;z-index:15;left:16px;top:calc(var(--top,72px) + 16px);font-size:12px;color:#8395a8}
.credit summary{list-style:none;width:32px;height:32px;border-radius:50%;border:1px solid rgba(130,170,205,.28);background:rgba(4,9,16,.72);display:grid;place-items:center;cursor:pointer;color:#e4ebf1;font:600 15px/1 Oswald,sans-serif;position:relative}
.credit summary::-webkit-details-marker{display:none}
.credit summary:hover,.credit[open] summary{border-color:#f2b84b;color:#f2b84b}
.credit summary:focus-visible{outline:2px solid #f5a524;outline-offset:2px}
.credit summary::after{content:attr(data-tip);position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);white-space:nowrap;font:400 12px/1 Arial,sans-serif;color:#e4ebf1;background:rgba(3,6,11,.9);border:1px solid rgba(130,170,205,.28);padding:6px 8px;opacity:0;pointer-events:none;transition:opacity .15s}
.credit summary:hover::after,.credit summary:focus-visible::after{opacity:1}
.credit[open] summary::after{display:none}
@media(hover:none){.credit summary::after{display:none}}
.credit-text{position:absolute;left:0;top:calc(100% + 8px);width:min(52ch,calc(100vw - 32px));line-height:1.5;background:rgba(3,6,11,.92);border:1px solid rgba(130,170,205,.28);padding:10px 12px}
/* on a phone the city tag sits top left, so the credits move to the right */
@media(max-width:699px){.globe-hud .loading{bottom:auto;top:calc(var(--top,72px) + 24px)}.globe-hud .credit{left:auto;right:16px}.credit-text{left:auto;right:0}.credit summary::after{display:none}}
/* the reveal: score first, then the rest in reading order */
.globe .step-report .reveal{opacity:0;transform:translateY(10px);transition:opacity .6s ease,transform .6s ease}
.globe .step-report.revealed .reveal{opacity:1;transform:none;transition-delay:var(--d,0s)}
@media(prefers-reduced-motion:reduce){.run-rows li{animation:none}}

/* by: Codex. Compact opening only; later steps retain their existing layout. */
/* by: Codex. Question bubbles stay within the available globe area. */
.owner-question{position:fixed;z-index:3;display:flex;align-items:flex-start;gap:10px;padding:14px 12px 14px 18px;border:1px solid rgba(245,165,36,.42);border-radius:16px 16px 16px 4px;background:rgba(10,15,22,.88);box-shadow:0 8px 32px rgba(0,0,0,.24);color:#f5efe3;font:400 16px/1.45 Arial,sans-serif;opacity:0;transition:opacity .75s ease;pointer-events:none}
.owner-question::after{content:'';position:absolute;left:20px;bottom:-7px;width:12px;height:12px;background:#0a0f16;border-right:1px solid rgba(245,165,36,.42);border-bottom:1px solid rgba(245,165,36,.42);transform:rotate(45deg)}
.owner-question[hidden]{display:none}
.owner-question.visible{opacity:1}
.question-close{flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:transparent;color:#bdc9d6;font:20px/1 Arial,sans-serif;pointer-events:auto;cursor:pointer}
.question-close:hover{background:rgba(245,165,36,.12);color:#f5a524}
@media(max-width:699px){.owner-question{font-size:14px;padding:10px 8px 10px 13px;gap:6px}}
@media(prefers-reduced-motion:reduce){.owner-question{display:none;transition:none}}
#step-role{padding:0;border:0;background:none;box-shadow:none}
.role-plate,.example-launcher{border:1px solid rgba(220,235,250,.28);border-radius:17px;background:rgba(10,15,22,.9);box-shadow:0 16px 48px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.09)}
.role-plate{padding:16px 12px;text-align:center}
/* by: Codex. Each independent plate keeps the original glass rim. */
/* Keep shadows inside each rounded shell so the scrolling container has no square edge. */
.globe .plate-shell{padding:10px;overflow:hidden;border-radius:26px;border:1px solid rgba(220,235,250,.22);background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03) 45%,rgba(255,255,255,.07));-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.example-shell{margin-top:10px}
.example-shell .example-launcher{margin-top:0}
.globe[data-step=role] main.funnel{padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
#step-role .eyebrow{font-size:11px;letter-spacing:.09em;margin-bottom:10px}
#step-role h1{font-size:clamp(28px,3.3vw,38px);line-height:1.12;text-wrap:balance}
#step-role .intro{font-size:16px;line-height:1.5;margin-bottom:12px}
#step-role fieldset{margin-bottom:0}
#step-role legend{width:100%;font-size:14px;margin-bottom:8px}
#step-role .choices{flex-direction:row;gap:8px}
#step-role .choice{justify-content:center;gap:7px;padding:10px 9px;font-size:14px;margin-bottom:0}
#step-role .actions{justify-content:center;margin-top:12px}
#step-role .start-hint{margin-top:10px;font-size:13px;line-height:1.45}
#step-role .reassure{font-size:13px;line-height:1.5;margin:10px 0 0;padding:0;border:0}
#step-role .free-explainer{min-height:44px;font-size:13px;color:#f5c46a}
#step-free .example-body p{margin:0 0 18px;color:#c9d3de}
#step-free .example-body h3{margin:22px 0 10px;font:700 15px/1.5 Arial,sans-serif;letter-spacing:0;text-transform:none}
.example-launcher{position:relative;display:block;width:100%;min-height:48px;margin-top:12px;padding:10px 36px 10px 14px;border-left:3px solid #f5a524;text-align:left;color:#f5efe3;font:inherit;cursor:pointer}
.example-launcher:hover{border-color:#f5a524;background:rgba(17,26,36,.95)}
.example-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:22px;color:#f5a524}
#step-role .example-label{display:block;margin-bottom:4px;font-size:10px;font-weight:700;letter-spacing:.08em;color:#f5c46a}
.example-launcher strong{display:block;font-size:15px;line-height:1.4}
#step-role .example-prompt{display:block;margin-top:3px;font-size:12px;color:#bdc9d6}
:is(#step-example,#step-free) .example-back{position:sticky;top:0;z-index:1;display:inline-flex;align-items:center;gap:7px;min-height:44px;margin:0 0 12px;padding:8px 12px;border:1px solid #455464;border-radius:6px;background:#0a0f16;color:#f5efe3;font:14px Arial,sans-serif;cursor:pointer}
:is(#step-example,#step-free) :is(.eyebrow,h2,.example-body){text-align:center}
:is(#step-example,#step-free) h2{font-size:clamp(28px,3.3vw,36px);line-height:1.15}
:is(#step-example,#step-free) .example-body{font-size:15px;line-height:1.55}
:is(#step-example,#step-free) .example-body dl{margin:0;padding-top:16px;border-top:1px solid #34424f}
:is(#step-example,#step-free) .example-body dt{margin-top:18px;font-weight:700;color:#f5efe3}
:is(#step-example,#step-free) .example-body dt:first-child{margin-top:0}
:is(#step-example,#step-free) .example-body dd{margin:4px 0 0;color:#c9d3de}
:is(#step-example,#step-free) .example-body .hint{margin-top:20px;font-size:13px}
#step-role .eligibility{margin-top:14px;padding-top:10px;border-top:1px solid #34424f;font-size:13px;color:#bdc9d6}
#step-role .eligibility summary{cursor:pointer;text-underline-offset:3px}
#step-role .eligibility a{overflow-wrap:anywhere}
/* by: Codex. Smaller opening plates; retain readable phone controls and glass rims. */
@media(min-width:700px){
  .globe:is([data-step=role],[data-step=example],[data-step=free]) main.funnel{width:min(430px,calc(100vw - 24px))}
  #step-role h1{font-size:clamp(26px,3.3vw,32px)}
  :is(#step-example,#step-free){padding:22px 16px 24px}
  :is(#step-example,#step-free) h2{font-size:clamp(26px,3.3vw,32px)}
}
@media(max-width:699px){
  .globe:is([data-step=role],[data-step=example],[data-step=free]) main.funnel{max-height:calc(100svh - var(--top,72px) - 44px);bottom:max(8px,env(safe-area-inset-bottom))}
  .globe .plate-shell{padding:6px;border-radius:20px}
  .role-plate{padding:14px}
  #step-role h1{font-size:30px;margin-bottom:12px}
  #step-role .intro{margin-bottom:14px}
}
@media(max-width:359px){
  header.site .brand{font-size:12px;gap:8px;white-space:nowrap}
  .role-plate{padding:14px 12px}
  #step-role h1{font-size:28px}
  #step-role .eyebrow{font-size:10px;letter-spacing:.06em}
  #step-role .intro{font-size:15px;line-height:1.45}
  #step-role .choice{font-size:13px;padding:9px 7px;gap:6px}
  #step-role .primary{font-size:15px;padding:13px 10px}
}

/* by: Codex. Funnel/report polish: keep approved sizes, glass and centered opening. */
main.funnel{scroll-padding-block:16px;scrollbar-color:#768796 transparent}
main.funnel :is(h2,h3){text-wrap:balance}
main.funnel :is(.intro,.example-body p,.example-body dd,.findings p,.thanks p){text-wrap:pretty}
.step :is(p,dd,li,td){overflow-wrap:anywhere}
.step :is(.primary,.secondary){max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.step .choice:has(input:focus-visible){outline:3px solid #f5a524;outline-offset:3px}
.step .choice input:focus-visible{outline:none}
.step :is([data-resend],.eligibility summary){min-height:44px}
.step .eligibility summary{display:list-item;align-content:center}
#f-code{font-size:20px;letter-spacing:.16em;text-align:center;font-variant-numeric:tabular-nums}
.report-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-bottom:12px}
.report-section-heading h3{margin:0}
.report-motion-control{min-height:44px;font-size:13px;color:#bdc9d6}
.step-report .pillar-list li{gap:6px}
.step-report :is(.pillar-list strong,.score strong,.board td:nth-child(n+2)){font-variant-numeric:tabular-nums}
.step-report .findings{gap:16px}
.step-report .findings strong{line-height:1.45}
.step-report .findings p{line-height:1.6;margin-bottom:10px}
.step-report .findings p:last-child{margin-bottom:0}
.step-report .finding-help{gap:4px 16px;padding-top:4px}
.step-report .finding-help a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-underline-offset:4px}
.step-report .board th{font-size:13px;letter-spacing:.04em}
.step-report .board td{vertical-align:top}
.step-report .board td:first-child{overflow-wrap:anywhere}
.step-report :is(.working,.unverified) li{line-height:1.5}
.step-report .listing-photo figcaption{font-size:13px;color:#bdc9d6}
.findings li:is(:hover,:focus-within)::before,.findings li:is(:hover,:focus-within) .level{animation-play-state:paused}
.report-glow-paused .findings li::before,.report-glow-paused .findings .level,.report-glow-paused .legend li::before{animation-play-state:paused!important}
.report-glow-paused .report-chat-greeting{animation-play-state:running,paused}
@media(max-width:640px){.pillar-list li:last-child:nth-child(odd){grid-column:1 / -1;width:calc(50% - 5px);justify-self:center}}
@media(max-width:359px){#step-role .choice:first-child{flex:1.35}}
@media(prefers-reduced-motion:reduce){
  .report-motion-control{display:none}
  .globe .step-report .reveal{opacity:1;transform:none;transition:none}
}
