/* altitude-street: From a decision card down to the owner's chat and the work itself, and back up. */
.altitude-street{--base:var(--or-base,#111210);--panel:var(--or-panel,#191b18);--raised:var(--or-raised,#1f211d);--featured:#1d1c16;--text:var(--or-text,#eeeae2);
  --muted:var(--or-muted,#b1b3aa);--dim:var(--or-dim,#9fa397);--line:var(--or-line,#34372f);--signal:var(--or-signal,#ff943d);--on-signal:var(--or-on-signal,#1a140d);
  --accent-edge:var(--or-accent-edge,#8d6842);--ok:var(--or-ok,#a3c98b);--bad:var(--or-danger,#ee7b65);--sans:var(--or-sans,"Helvetica Neue",Helvetica,Arial,sans-serif);
  --mono:var(--or-mono,ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace);--ease:cubic-bezier(.2,.8,.2,1);--zoom:cubic-bezier(.65,0,.25,1);
  width:100%;color:var(--text);font:400 15px/22px var(--sans);-webkit-font-smoothing:antialiased;text-align:left}
.altitude-street *{box-sizing:border-box}
.altitude-street p,.altitude-street ul,.altitude-street pre{margin:0;max-width:none}
.altitude-street-box{position:relative;width:100%;overflow:hidden;border-radius:10px}
.altitude-street-stage{position:absolute;left:0;top:0;width:960px;height:540px;overflow:hidden;transform-origin:0 0;background:radial-gradient(90% 80% at 40% 0%,#1d1c18 0%,#141513 60%,#111210 100%);transition:opacity 600ms ease}
.altitude-street-stage.altitude-street-narrow{width:420px;height:640px}
.altitude-street-stage.altitude-street-out{opacity:0}
.altitude-street-view{position:absolute;left:40px;top:36px;width:800px;height:468px}
.altitude-street-narrow .altitude-street-view{left:12px;top:14px;width:336px;height:612px}

.altitude-street-lvl{position:absolute;inset:0;opacity:0;transform:scale(.72);transition:opacity 700ms ease,transform 900ms var(--zoom);pointer-events:none}
.altitude-street-lvl.altitude-street-here{opacity:1;transform:none}
.altitude-street-lvl.altitude-street-above{opacity:0;transform:scale(1.7)}
.altitude-street-lvl.altitude-street-a{transform-origin:62% 62%}
.altitude-street-lvl.altitude-street-b{transform-origin:50% 70%}
.altitude-street-lvl.altitude-street-b .altitude-street-frame{left:12%;right:12%;top:14%;bottom:14%}
.altitude-street-narrow .altitude-street-lvl.altitude-street-b .altitude-street-frame{left:0;right:0;top:12%;bottom:12%}
.altitude-street-frame{position:absolute;inset:0;border-radius:10px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--line),0 24px 60px rgba(0,0,0,.5);overflow:hidden;display:flex;flex-direction:column}
.altitude-street-fh{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;box-shadow:inset 0 -1px 0 var(--line);background:var(--base);font-size:14px}
.altitude-street-brand{display:flex;align-items:center;gap:10px;font-weight:600}
.altitude-street-brand i{width:18px;height:18px;border-radius:4px;background:var(--signal)}
.altitude-street-nv{color:var(--muted)}
.altitude-street-nv b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:6px;padding:0 6px;border-radius:11px;background:var(--signal);color:var(--on-signal);font-size:13px}
.altitude-street-dim{color:var(--dim)}

.altitude-street-cards{list-style:none;padding:20px;display:flex;flex-direction:column;gap:10px}
.altitude-street-narrow .altitude-street-cards{padding:14px}
.altitude-street-card{display:grid;grid-template-rows:1fr;transition:grid-template-rows 450ms var(--ease),opacity 350ms ease,transform 450ms var(--ease)}
.altitude-street-card > .altitude-street-in{min-height:0;overflow:hidden;border-radius:8px;background:var(--raised);box-shadow:inset 0 0 0 1px var(--line)}
.altitude-street-card.altitude-street-gone{grid-template-rows:0fr;opacity:0;transform:translateX(-30px)}
.altitude-street-card.altitude-street-enter{opacity:0;transform:translateY(14px)}
.altitude-street-card.altitude-street-open > .altitude-street-in{background:var(--featured);box-shadow:inset 0 0 0 1px var(--accent-edge),0 12px 28px rgba(0,0,0,.35)}
.altitude-street-q{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;font-size:15px}
.altitude-street-open .altitude-street-q{font-size:18px;line-height:24px;font-weight:500;padding-top:16px}
.altitude-street-q span{color:var(--dim);font-size:13px;font-weight:400;white-space:nowrap}
.altitude-street-more{display:none}
.altitude-street-open .altitude-street-more{display:block}
.altitude-street-why{padding:0 16px;color:var(--muted);font-size:14px;line-height:20px}
.altitude-street-rec{display:flex;align-items:center;gap:8px;padding:8px 16px 0;font-size:14px}
.altitude-street-lg{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:var(--panel);box-shadow:inset 0 0 0 1px var(--line);flex:none}
.altitude-street-lg svg{width:14px;height:14px}
.altitude-street-bt{display:flex;flex-wrap:wrap;gap:8px;padding:14px 16px 16px}
.altitude-street-btn{min-height:38px;padding:0 15px;border-radius:4px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;white-space:nowrap;transition:transform 120ms,filter 120ms}
.altitude-street-btn.altitude-street-pri{background:var(--signal);color:var(--on-signal)}
.altitude-street-btn.altitude-street-gh{box-shadow:inset 0 0 0 1px var(--line);font-weight:500}
.altitude-street-btn.altitude-street-press{transform:scale(.94);filter:brightness(1.12)}

.altitude-street-who{display:flex;align-items:center;gap:10px;font-size:15px}
.altitude-street-who b{font-weight:500}
.altitude-street-msgs{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:20px}
.altitude-street-m{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:22px;opacity:0;transform:translateY(8px);transition:opacity 350ms ease,transform 450ms var(--ease)}
.altitude-street-m.altitude-street-on{opacity:1;transform:none}
.altitude-street-m.altitude-street-me{justify-content:flex-end}
.altitude-street-m.altitude-street-me span{padding:9px 14px;border-radius:14px;background:#2c2a24}
.altitude-street-att{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.altitude-street-att span{padding:6px 10px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--line);font-size:13px;color:var(--muted);transition:box-shadow 300ms,color 300ms}
.altitude-street-att span.altitude-street-hot{box-shadow:inset 0 0 0 1px var(--signal);color:var(--text)}
.altitude-street-typing{display:inline-flex;gap:4px;padding:8px 0}
.altitude-street-typing i{width:6px;height:6px;border-radius:3px;background:var(--dim);animation:altitude-street-dots 1s infinite}
.altitude-street-typing i:nth-child(2){animation-delay:.15s}.altitude-street-typing i:nth-child(3){animation-delay:.3s}
@keyframes altitude-street-dots{0%,100%{opacity:.3}40%{opacity:1}}

.altitude-street-work{position:absolute;inset:0;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:14px}
.altitude-street-narrow .altitude-street-work{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto}
.altitude-street-pane{border-radius:10px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--line),0 18px 40px rgba(0,0,0,.45);overflow:hidden;opacity:0;transform:translateY(12px);
  transition:opacity 450ms ease,transform 550ms var(--ease),box-shadow 400ms}
.altitude-street-pane.altitude-street-on{opacity:1;transform:none}
.altitude-street-pane.altitude-street-hot{box-shadow:inset 0 0 0 1px var(--accent-edge),0 18px 40px rgba(0,0,0,.45)}
.altitude-street-ph{padding:11px 14px;font-size:13px;color:var(--muted);box-shadow:inset 0 -1px 0 var(--line);background:var(--base)}
.altitude-street-diff .altitude-street-ph{font-family:var(--mono)}
.altitude-street-code{padding:14px;font:400 13px/22px var(--mono);white-space:pre-wrap;word-break:break-word}
.altitude-street-code span{display:block;border-radius:3px;padding:0 4px}
.altitude-street-code .altitude-street-ctx{color:var(--dim)}
.altitude-street-code .altitude-street-del{color:#f0a296;background:rgba(238,123,101,.12)}
.altitude-street-code .altitude-street-add{color:#c4e3b0;background:rgba(163,201,139,.14)}
.altitude-street-narrow .altitude-street-code{padding:10px;font-size:12px;line-height:19px}
.altitude-street-site{margin:14px;padding:14px;border-radius:8px;background:#f4eee4;color:#2a241c}
.altitude-street-site b{display:block;font-family:Georgia,serif;font-size:17px;font-weight:400}
.altitude-street-amts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}
.altitude-street-amts span{text-align:center;padding:7px 0;border-radius:6px;box-shadow:inset 0 0 0 1px #cdbfac;font-size:13px}
.altitude-street-amts span.altitude-street-new{box-shadow:inset 0 0 0 2px #c0643f;font-weight:600;color:#9a4a2a}
.altitude-street-buy{margin-top:10px;text-align:center;padding:9px 0;border-radius:8px;background:#2a241c;color:#f4eee4;font-size:13px;font-weight:600}
.altitude-street-narrow .altitude-street-site{margin:10px;padding:10px}
.altitude-street-narrow .altitude-street-amts{grid-template-columns:repeat(4,1fr)}
.altitude-street-pass{display:flex;align-items:center;gap:10px;padding:14px 14px 6px;font-size:18px;font-weight:500;color:var(--ok)}
.altitude-street-pass i,.altitude-street-tests li i{width:18px;height:18px;border-radius:9px;background:var(--ok);flex:none;position:relative}
.altitude-street-pass i::after,.altitude-street-tests li i::after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid var(--on-signal);border-width:0 2px 2px 0;transform:rotate(45deg)}
.altitude-street-tests ul{list-style:none;padding:6px 14px 14px;display:flex;flex-direction:column;gap:9px}
.altitude-street-tests li{display:flex;align-items:center;gap:10px;font-size:14px;line-height:19px;color:var(--muted)}
.altitude-street-tests li i{width:14px;height:14px}
.altitude-street-tests li i::after{left:4.5px;top:2px;width:4px;height:7px}
.altitude-street-narrow .altitude-street-pass{padding:10px 12px 4px;font-size:16px}
.altitude-street-narrow .altitude-street-tests ul{padding:4px 12px 10px;gap:6px}

.altitude-street-alt{position:absolute;right:40px;top:36px;bottom:36px;width:72px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;line-height:16px;color:var(--muted);text-align:center}
.altitude-street-narrow .altitude-street-alt{right:8px;top:14px;bottom:14px;width:56px;font-size:11px;line-height:14px}
.altitude-street-rail{position:relative;flex:1;width:2px;background:var(--line);border-radius:1px}
.altitude-street-tick{position:absolute;left:-5px;width:12px;height:2px;background:var(--line)}
.altitude-street-t1{top:25%}.altitude-street-t2{top:50%}.altitude-street-t3{top:75%}
.altitude-street-mk{position:absolute;left:-7px;width:16px;height:16px;margin-top:-8px;border-radius:8px;background:var(--signal);box-shadow:0 0 0 4px rgba(255,148,61,.18),0 0 18px rgba(255,148,61,.45);top:0;transition:top 900ms var(--zoom)}
.altitude-street-mk.altitude-street-mid{top:50%}.altitude-street-mk.altitude-street-low{top:100%}

.altitude-street-ptr{position:absolute;left:0;top:0;width:20px;height:24px;z-index:5;pointer-events:none;opacity:0;transition:transform 800ms cubic-bezier(.45,0,.2,1),opacity 250ms}
.altitude-street-ptr.altitude-street-on{opacity:1}
.altitude-street-ptr svg{display:block;filter:drop-shadow(0 2px 3px rgba(0,0,0,.65));transition:transform 120ms}
.altitude-street-ptr.altitude-street-click svg{transform:scale(.86)}
.altitude-street-frozen,.altitude-street-frozen *{transition:none!important;animation-play-state:paused!important}

.altitude-street-present{position:fixed;inset:0;z-index:2147483000;background:var(--or-base,#111210);overflow:hidden}
.altitude-street-present .altitude-street-box{position:absolute;left:50%;top:50%;border-radius:0}
