/* ARC public shell chrome — v2 (Public Introduction polish, 2026-12-01)
   One environment for the public website and the invited computer.
   This sheet styles only the shared chrome: header, compact launcher,
   Noetica presence, dock, institutional footer, and the site
   directory. Page styles stay with each page. Every selector is
   scoped to the shell or to the shell-on state.
   Palette tokens come from arc-palette.css. Tile and dock patterns
   follow launcher.css and arc-os.css, narrowed to public material.

   v2 changes: compact native-style launcher (4 columns on phones,
   descriptions in app-info/search/onboarding, no repeated public
   labels), header Noetica orb removed (floating orb + dock share
   one conversation surface; the orb recedes while it is open),
   simplified header proportions, dock space reserved from its
   measured height plus safe areas, one institutional footer. */

html.arc-pub-shell-on{
  --arc-pub-header-h:56px;
  --arc-pub-tools-h:0px;
  --arc-pub-dock-h:0px;
  --arc-pub-dock-reserve:0px;
  --arc-pub-ground:#030408;
  --arc-pub-panel:#06070b;
  --arc-pub-panel-2:#0b0d1a;
  --arc-pub-ink:#f7f1e0;
  --arc-pub-mut:#cfd5f2;
  --arc-pub-dim:#9aa3d6;
  --arc-pub-gold:#ffd98a;
  --arc-pub-gold-deep:#f0bd5e;
  --arc-pub-teal:#3ee6c4;
  --arc-pub-tint-teal:#9ff3e0;
  --arc-pub-blue:#8fb4ff;
  --arc-pub-line:rgba(255,217,138,.28);
  --arc-pub-line-soft:rgba(207,213,242,.18);
  /* Page scenes keyed to the old door bar clear the shell chrome. */
  --hdr-clear:calc(var(--arc-pub-header-h) + var(--arc-pub-tools-h));
  scroll-padding-top:calc(var(--arc-pub-header-h) + var(--arc-pub-tools-h) + 16px);
}
html.arc-pub-shell-on:has(.site-door-bar .viewctl),
html.arc-pub-shell-on:has([data-arc-pub-tools]){--arc-pub-tools-h:48px}
@media (max-width:900px){
  html.arc-pub-shell-on{--arc-pub-header-h:54px;--arc-pub-dock-h:68px;--arc-pub-dock-reserve:86px}
}
html.arc-pub-shell-on body{
  padding-top:calc(var(--arc-pub-header-h) + var(--arc-pub-tools-h));
  /* App-layout pages pin body to the viewport with hidden overflow;
     under the shell the page scrolls as a page so the footer and
     dock reserve stay reachable. Internal scroll regions keep
     working inside their containers. */
  height:auto;
  min-height:100dvh;
  overflow-y:visible;
}
@media (max-width:900px){
  /* The fixed dock reserves its own space: its measured height plus
     its bottom offset (safe area included), so it never obscures
     content or controls at the end of the page. */
  html.arc-pub-shell-on body{
    padding-bottom:calc(var(--arc-pub-dock-reserve) + 14px);
  }
}

/* Legacy navigation retirement. The rollout removes legacy nav
   markup from the document; these rules remain as a guard for any
   hand-edited page. Page tools that survive (the audience lens,
   a theme toggle) live in a slim strip directly under the header,
   and the strip keeps the geometry scene pages already measure. */
html.arc-pub-shell-on .site-door-bar,
html.arc-pub-shell-on [data-arc-pub-tools]{
  position:fixed !important;
  top:var(--arc-pub-header-h) !important;
  left:0;right:0;
  z-index:850;
  height:var(--arc-pub-tools-h);
  min-height:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  overflow:visible;
  display:flex;align-items:center;
  background:rgba(3,4,8,.92);
  border-bottom:1px solid var(--arc-pub-line-soft);
}
html.arc-pub-shell-on .site-door-bar nav,
html.arc-pub-shell-on .site-door-bar .sdb-mark,
html.arc-pub-shell-on .site-door-bar .arc-enter-wonderland{display:none !important}
html.arc-pub-shell-on .site-door-bar .viewctl{
  margin-left:auto;
  align-self:center;
  padding-right:max(12px,3vw);
}
html.arc-pub-shell-on [data-arc-pub-tools]>*{margin-left:auto;padding-right:max(12px,3vw)}
html.arc-pub-shell-on header.nv-head{display:none !important}
html.arc-pub-shell-on .arc-pub-nav{display:none !important}

.arc-pub-shell{
  font-family:Geist,Nunito,system-ui,sans-serif;
  color:var(--arc-pub-ink);
}
.arc-pub-shell *, .arc-pub-shell *::before, .arc-pub-shell *::after{box-sizing:border-box}
.arc-pub-shell a{color:inherit}
.arc-pub-shell button,.arc-pub-shell input,.arc-pub-shell summary{font-family:Geist,Nunito,system-ui,sans-serif}
.arc-pub-shell canvas{display:block}
.arc-pub-shell .arc-pub-header,.arc-pub-shell .arc-pub-panel,.arc-pub-shell .arc-pub-guide,.arc-pub-shell .arc-pub-dock{color:var(--arc-pub-ink)}
.arc-pub-shell :focus-visible{
  outline:3px solid var(--arc-pub-gold);
  outline-offset:3px;
  border-radius:8px;
}
.arc-pub-sr{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;
}
.arc-pub-skip{
  position:fixed;left:12px;top:-80px;z-index:1200;
  background:var(--arc-pub-gold);color:#1d1a12;
  font:700 14px/1 Geist,system-ui,sans-serif;
  padding:12px 16px;border-radius:0 0 12px 12px;text-decoration:none;
  transition:top .2s ease;
}
.arc-pub-skip:focus{top:0}
.arc-pub-js-only{display:none !important}
html.arc-pub-js .arc-pub-js-only{display:inline-flex !important}

/* Environment header. The banner is a div with a banner role, so
   page rules and page scripts that target header elements keep
   governing the page header alone. Shell selectors carry the shell
   scope, which outranks generic page element rules. Proportions
   stay quiet: one slim row, content leads. */
.arc-pub-shell .arc-pub-header{
  position:fixed;top:0;left:0;right:0;z-index:900;
  height:var(--arc-pub-header-h);
  display:flex;align-items:center;gap:10px;
  padding:0 max(14px,3vw);
  padding-top:env(safe-area-inset-top,0px);
  background:rgba(3,4,8,.92);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border-bottom:1px solid var(--arc-pub-line);
}
.arc-pub-brand{
  display:flex;align-items:center;gap:9px;min-width:0;
  text-decoration:none;margin-right:auto;
}
.arc-pub-mark{
  flex:none;width:34px;height:34px;border-radius:11px;
  display:grid;place-items:center;
  border:1px solid var(--arc-pub-gold);
  background:linear-gradient(145deg,#06070b,#0b0d1a);
  box-shadow:0 0 18px rgba(240,189,94,.22);
  font:300 20px/1 Geist,system-ui,sans-serif;color:var(--arc-pub-gold);
}
.arc-pub-brand b{
  display:block;font:800 14px/1.1 Geist,system-ui,sans-serif;
  letter-spacing:.14em;color:#fff;white-space:nowrap;
}
.arc-pub-brand small{
  display:block;font:600 8.5px/1.3 "Geist Mono",ui-monospace,monospace;
  letter-spacing:.22em;text-transform:uppercase;color:var(--arc-pub-tint-teal);
  white-space:nowrap;
}
.arc-pub-header-nav{display:flex;align-items:center;gap:7px}
.arc-pub-menu{position:static}
.arc-pub-menu>summary{
  list-style:none;cursor:pointer;white-space:nowrap;
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 13px;border-radius:999px;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(255,255,255,.04);
  font:700 13px/1 Geist,system-ui,sans-serif;color:var(--arc-pub-ink);
}
.arc-pub-menu>summary::-webkit-details-marker{display:none}
.arc-pub-menu>summary::after{
  content:"";width:7px;height:7px;flex:none;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
}
.arc-pub-menu[open]>summary{border-color:var(--arc-pub-gold);color:var(--arc-pub-gold)}
.arc-pub-menu[open]>summary::after{transform:rotate(225deg) translateY(-1px)}
.arc-pub-menu>summary:hover{border-color:var(--arc-pub-gold)}
.arc-pub-enter>summary{
  background:var(--arc-pub-gold);border-color:var(--arc-pub-gold);color:#1d1a12;
  box-shadow:0 6px 24px -8px rgba(240,189,94,.7);
}
.arc-pub-enter>summary:hover{background:var(--arc-pub-gold-deep)}
.arc-pub-enter[open]>summary{color:#1d1a12}

.arc-pub-panel{
  position:absolute;top:calc(var(--arc-pub-header-h) + 10px);
  z-index:950;
  max-height:calc(100dvh - var(--arc-pub-header-h) - var(--arc-pub-dock-reserve) - 24px);
  overflow:auto;overflow-x:hidden;
  background:rgba(6,7,11,.98);
  border:1px solid var(--arc-pub-line);
  border-radius:20px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.8);
  padding:20px;
}
.arc-pub-panel-apps{
  left:50%;transform:translateX(-50%);
  width:min(880px,calc(100vw - 24px));
}
.arc-pub-panel-featured{right:max(16px,3vw);width:min(430px,calc(100vw - 24px))}
.arc-pub-panel-enter{right:max(16px,3vw);width:min(440px,calc(100vw - 24px))}
.arc-pub-panel h2{
  margin:0 0 6px;font:800 17px/1.25 Geist,system-ui,sans-serif;color:#fff;
}
.arc-pub-panel .arc-pub-panel-lede{
  margin:0 0 14px;font:500 14px/1.55 Geist,system-ui,sans-serif;color:var(--arc-pub-mut);
}
.arc-pub-launcher-tools{display:flex;gap:8px;align-items:center;margin:0 0 14px}
.arc-pub-launcher-tools input{
  flex:1;min-width:0;padding:10px 14px;border-radius:999px;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(255,255,255,.05);color:#fff;
  font:500 13.5px Geist,system-ui,sans-serif;
}
.arc-pub-launcher-tools input::placeholder{color:var(--arc-pub-dim)}
.arc-pub-launcher-tools input:focus{outline:3px solid var(--arc-pub-gold);outline-offset:2px}
.arc-pub-launcher-count{margin:0;font:600 12px/1.4 Geist,system-ui,sans-serif;color:var(--arc-pub-dim);white-space:nowrap}
.arc-pub-launcher-empty{margin:0 0 6px;font:500 13.5px/1.55 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}

/* Compact launcher: native-style icon grid. Rows size to content
   with no negative margins or transforms, so tiles can never
   overlap. Labels wrap; they never clip. Every tile is at least
   a 44px tap target. */
.arc-pub-app-grid{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;
  align-items:start;
}
.arc-pub-app{position:relative;min-width:0}
.arc-pub-app>a{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  min-height:96px;padding:14px 6px 10px;border-radius:18px;text-decoration:none;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(255,255,255,.03);
  text-align:center;
}
.arc-pub-app>a:hover{border-color:var(--acc,var(--arc-pub-gold));background:rgba(255,217,138,.06)}
.arc-pub-app>a[aria-current="page"]{border-color:var(--arc-pub-gold);background:rgba(255,217,138,.1)}
.arc-pub-app b{
  display:block;font:700 12.5px/1.3 Geist,system-ui,sans-serif;color:#fff;
  overflow-wrap:break-word;hyphens:auto;
}
.arc-pub-app-info{
  position:absolute;top:4px;right:4px;z-index:2;
  width:26px;height:26px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(6,7,11,.85);color:var(--arc-pub-mut);
  font:700 12px/1 Georgia,serif;font-style:italic;
}
.arc-pub-app-info:hover{border-color:var(--arc-pub-gold);color:var(--arc-pub-gold)}
.arc-pub-icon{
  flex:none;width:54px;height:54px;border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#06070b,#0b0d1a);
  border:1px solid var(--acc,var(--arc-pub-gold));
  box-shadow:0 0 18px var(--accglow,rgba(240,189,94,.2));
  color:var(--acc,var(--arc-pub-gold));
}
.arc-pub-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.arc-pub-acc-gold{--acc:#f0bd5e;--accglow:rgba(240,189,94,.25)}
.arc-pub-acc-teal{--acc:#3ee6c4;--accglow:rgba(62,230,196,.25)}
.arc-pub-acc-blue{--acc:#8fb4ff;--accglow:rgba(143,180,255,.25)}
.arc-pub-acc-violet{--acc:#b38bff;--accglow:rgba(179,139,255,.25)}
.arc-pub-acc-pink{--acc:#ff8fb1;--accglow:rgba(255,143,177,.25)}
.arc-pub-acc-coral{--acc:#ff5a6e;--accglow:rgba(255,90,110,.25)}
.arc-pub-acc-orange{--acc:#f5c062;--accglow:rgba(245,192,98,.25)}
.arc-pub-acc-slate{--acc:#9aa3d6;--accglow:rgba(154,163,214,.25)}
/* Legacy tile markup (pre-v2 shell blocks still being aligned by
   hand on the home and Observatory pages) renders in the same
   compact form: icon and name only, description lifted to
   app-info by the shell script. */
.arc-pub-header .arc-pub-orb-btn{display:none !important}
.arc-pub-app-grid>li{min-width:0;position:relative}
.arc-pub-app-grid>li>a{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  min-height:96px;padding:14px 6px 10px;border-radius:18px;text-decoration:none;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(255,255,255,.03);
  text-align:center;
}
.arc-pub-app-grid>li>a:hover{border-color:var(--acc,var(--arc-pub-gold));background:rgba(255,217,138,.06)}
.arc-pub-app-grid>li>a[aria-current="page"]{border-color:var(--arc-pub-gold);background:rgba(255,217,138,.1)}
.arc-pub-app-grid>li>a b{
  display:block;font:700 12.5px/1.3 Geist,system-ui,sans-serif;color:#fff;
  overflow-wrap:break-word;hyphens:auto;
}
.arc-pub-app-grid>li>a>span>span{display:none}
@media (max-width:900px){
  .arc-pub-app-grid>li>a{min-height:92px;padding:12px 4px 9px;border-radius:16px}
}
.arc-pub-panel-sub{
  margin:20px 0 10px;font:700 11px/1.3 "Geist Mono",ui-monospace,monospace;
  letter-spacing:.2em;text-transform:uppercase;color:var(--arc-pub-tint-teal);
}
.arc-pub-link-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.arc-pub-link-list a{
  display:block;padding:12px 14px;border-radius:14px;text-decoration:none;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.03);
}
.arc-pub-link-list a:hover{border-color:var(--arc-pub-gold)}
.arc-pub-link-list a[aria-current="page"]{border-color:var(--arc-pub-gold);background:rgba(255,217,138,.1)}
.arc-pub-link-list b{display:block;font:700 15px/1.3 Geist,system-ui,sans-serif;color:#fff}
.arc-pub-link-list span{display:block;margin-top:2px;font:500 13px/1.5 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}
.arc-pub-deeper{display:flex;flex-wrap:wrap;gap:8px}
.arc-pub-deeper a{
  padding:8px 12px;border-radius:999px;text-decoration:none;
  border:1px solid var(--arc-pub-line-soft);
  font:600 12.5px/1 Geist,system-ui,sans-serif;color:var(--arc-pub-mut);
}
.arc-pub-deeper a:hover{border-color:var(--arc-pub-teal);color:var(--arc-pub-tint-teal)}

/* App-info popover: descriptions live here, in search results,
   and in onboarding — not in the compact grid. */
.arc-pub-appinfo{
  position:fixed;z-index:970;
  left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(400px,calc(100vw - 32px));
  background:rgba(6,7,11,.98);
  border:1px solid var(--arc-pub-line);
  border-radius:20px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.85);
  padding:20px;color:var(--arc-pub-ink);
}
.arc-pub-appinfo[hidden]{display:none !important}
.arc-pub-appinfo-head{display:flex;gap:12px;align-items:center}
.arc-pub-appinfo-head h3{margin:0;font:800 17px/1.25 Geist,system-ui,sans-serif;color:#fff}
.arc-pub-appinfo p{margin:12px 0 0;font:500 14px/1.6 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}
.arc-pub-appinfo-actions{display:flex;gap:8px;margin-top:16px}
.arc-pub-appinfo-open{
  flex:1;text-align:center;padding:12px 16px;border-radius:999px;text-decoration:none;
  background:var(--arc-pub-gold);color:#1d1a12;font:800 14px/1 Geist,system-ui,sans-serif;
}
.arc-pub-appinfo-close{
  padding:12px 16px;border-radius:999px;cursor:pointer;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.04);
  color:var(--arc-pub-ink);font:700 14px/1 Geist,system-ui,sans-serif;
}
@media (max-width:900px){
  .arc-pub-appinfo{
    left:10px;right:10px;top:auto;transform:none;width:auto;
    bottom:calc(var(--arc-pub-dock-reserve) + 12px);
  }
}

.arc-pub-search{display:flex;align-items:center;gap:6px}
.arc-pub-search input{
  width:min(230px,26vw);padding:9px 14px;border-radius:999px;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(255,255,255,.05);color:#fff;
  font:500 13.5px Geist,system-ui,sans-serif;
}
.arc-pub-search input::placeholder{color:var(--arc-pub-dim)}
.arc-pub-search input:focus{outline:3px solid var(--arc-pub-gold);outline-offset:2px}
.arc-pub-search button,.arc-pub-search-link,.arc-pub-sound{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  padding:9px 13px;border-radius:999px;cursor:pointer;
  border:1px solid var(--arc-pub-line-soft);
  background:rgba(255,255,255,.04);color:var(--arc-pub-ink);
  font:700 13px/1 Geist,system-ui,sans-serif;text-decoration:none;
}
.arc-pub-search button:hover,.arc-pub-search-link:hover,.arc-pub-sound:hover{border-color:var(--arc-pub-gold)}
.arc-pub-search-link{display:none}
.arc-pub-sound[aria-pressed="true"]{border-color:var(--arc-pub-teal);color:var(--arc-pub-tint-teal)}
/* ARC-1 operator door: the computer's name in the corner of the
   chrome, linking to the operator workspace gate. Always visible,
   no script required. */
/* The door takes the corner; the search field yields the room. */
.arc-pub-header-nav{min-width:0}
.arc-pub-search{min-width:0}
.arc-pub-search input{min-width:0}
.arc-pub-pathways{display:grid;gap:10px}
.arc-pub-pathways a{
  display:block;padding:16px;border-radius:16px;text-decoration:none;
  border:1px solid var(--arc-pub-line);
}
.arc-pub-pathways a.arc-pub-path-invited{background:var(--arc-pub-gold);color:#1d1a12}
.arc-pub-pathways a.arc-pub-path-request{background:rgba(62,230,196,.08);border-color:rgba(62,230,196,.55)}
.arc-pub-pathways b{display:block;font:800 16px/1.3 Geist,system-ui,sans-serif}
.arc-pub-pathways span{display:block;margin-top:4px;font:500 13.5px/1.55 Geist,system-ui,sans-serif}
.arc-pub-pathways a.arc-pub-path-request span{color:var(--arc-pub-mut)}
.arc-pub-terms{margin:14px 0 0;font:500 13.5px/1.6 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}

/* Floating orb and public guide: one conversation surface. The
   floating orb is the expressive presence; the dock control is
   the dependable one. Both operate the same guide. While the
   conversation is open the orb recedes into the panel's place
   and returns on close. */
.arc-pub-guide-details{position:static}
.arc-pub-orb{
  position:fixed;right:18px;bottom:18px;z-index:920;
  width:60px;height:60px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;list-style:none;
  background:radial-gradient(circle at 36% 28%,rgba(255,250,232,.30),rgba(255,217,138,.10) 34%,rgba(62,230,196,.05) 58%,rgba(5,6,10,0) 76%),radial-gradient(circle at 50% 55%,#0b0d1a 0%,#05060a 72%);
  border:1px solid var(--arc-pub-gold);
  box-shadow:0 0 0 1px rgba(255,255,255,.12) inset,0 14px 34px -8px rgba(240,189,94,.65);
  transition:opacity .3s ease,transform .3s ease;
}
.arc-pub-orb::-webkit-details-marker{display:none}
.arc-pub-orb canvas{width:50px;height:50px;border-radius:50%}
.arc-pub-orb:hover{transform:translateY(-2px)}
.arc-pub-shell.arc-pub-guide-open .arc-pub-orb,
.arc-pub-shell.arc-pub-menu-open .arc-pub-orb{
  opacity:0;transform:scale(.55) translateY(14px);pointer-events:none;
}
.arc-pub-guide{
  position:fixed;right:16px;bottom:16px;z-index:940;
  width:min(430px,calc(100vw - 24px));
  max-height:calc(100dvh - var(--arc-pub-header-h) - var(--arc-pub-dock-reserve) - 32px);
  overflow:auto;
  background:rgba(6,7,11,.98);
  border:1px solid rgba(62,230,196,.5);
  border-radius:22px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.85);
  padding:20px;
}
.arc-pub-guide-head{display:flex;gap:14px;align-items:center}
.arc-pub-guide-head canvas{
  flex:none;width:74px;height:74px;border-radius:50%;
  background:#030408;border:1px solid rgba(62,230,196,.4);
}
.arc-pub-guide-head h2{margin:0;font:800 19px/1.25 Geist,system-ui,sans-serif;color:#fff}
.arc-pub-guide-head p{margin:4px 0 0;font:500 13.5px/1.55 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}
.arc-pub-guide-close{
  margin-left:auto;flex:none;width:38px;height:38px;border-radius:50%;cursor:pointer;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.05);
  color:var(--arc-pub-ink);font:700 16px/1 Geist,system-ui,sans-serif;
}
.arc-pub-guide-body{margin-top:14px;font:500 14.5px/1.65 Geist,system-ui,sans-serif;color:var(--arc-pub-ink)}
.arc-pub-guide-body p{margin:0 0 12px}
.arc-pub-guide-caption{
  min-height:24px;padding:10px 12px;border-radius:12px;
  background:rgba(62,230,196,.08);border:1px solid rgba(62,230,196,.35);
  font:600 13.5px/1.55 Geist,system-ui,sans-serif;color:var(--arc-pub-tint-teal);
}
.arc-pub-guide-actions{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.arc-pub-guide-actions a,.arc-pub-guide-actions button{
  display:block;width:100%;text-align:left;cursor:pointer;
  padding:12px 14px;border-radius:14px;text-decoration:none;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.03);
  font:700 14px/1.4 Geist,system-ui,sans-serif;color:#fff;
}
.arc-pub-guide-actions a:hover,.arc-pub-guide-actions button:hover{border-color:var(--arc-pub-teal)}
.arc-pub-guide-actions span{display:block;margin-top:2px;font:500 12.5px/1.5 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}
.arc-pub-guide-foot{
  margin-top:14px;padding-top:12px;border-top:1px solid var(--arc-pub-line-soft);
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  font:500 12.5px/1.55 Geist,system-ui,sans-serif;color:var(--arc-pub-dim);
}

/* Institutional footer: one footer for the whole site. The
   exhaustive navigation lives in the searchable site directory. */
.arc-pub-footer{
  margin-top:72px;
  background:#05060a;
  border-top:1px solid var(--arc-pub-line);
  color:var(--arc-pub-ink);
  font-family:Geist,Nunito,system-ui,sans-serif;
}
.arc-pub-footer *,.arc-pub-footer *::before,.arc-pub-footer *::after{box-sizing:border-box}
.arc-pub-footer a{color:inherit}
.arc-pub-footer-in{max-width:1180px;margin:0 auto;padding:44px max(20px,4vw) 30px}
.arc-pub-footer-top{display:flex;gap:26px;align-items:flex-start;flex-wrap:wrap}
.arc-pub-footer-harmony{flex:none;margin:0}
.arc-pub-footer-harmony img{
  width:92px;height:92px;object-fit:cover;border-radius:18px;
  border:1px solid var(--arc-pub-line);
  box-shadow:0 0 26px rgba(240,189,94,.18);
}
.arc-pub-footer-id{min-width:min(320px,100%)}
.arc-pub-footer-word{
  margin:0;font:800 30px/1.1 Geist,system-ui,sans-serif;letter-spacing:.1em;color:#fff;
}
.arc-pub-footer-word .arc-pub-footer-lambda{color:var(--arc-pub-gold)}
.arc-pub-footer-sci{
  margin:8px 0 0;font:700 11px/1.4 "Geist Mono",ui-monospace,monospace;
  letter-spacing:.24em;text-transform:uppercase;color:var(--arc-pub-tint-teal);
}
.arc-pub-footer-tag{
  margin:10px 0 0;font:500 15px/1.6 Geist,system-ui,sans-serif;color:var(--arc-pub-mut);
}
.arc-pub-footer-cols{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;
  margin-top:36px;
}
.arc-pub-footer-cols h3{
  margin:0 0 12px;font:700 11px/1.3 "Geist Mono",ui-monospace,monospace;
  letter-spacing:.2em;text-transform:uppercase;color:var(--arc-pub-gold);
}
.arc-pub-footer-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.arc-pub-footer-cols a{
  font:500 14.5px/1.4 Geist,system-ui,sans-serif;color:var(--arc-pub-mut);
  text-decoration:none;
}
.arc-pub-footer-cols a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.arc-pub-footer-cols a[aria-current="page"]{color:var(--arc-pub-gold)}
.arc-pub-footer-bottom{
  margin-top:36px;padding-top:20px;border-top:1px solid var(--arc-pub-line-soft);
  display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;justify-content:space-between;
  font:500 13px/1.5 Geist,system-ui,sans-serif;color:var(--arc-pub-dim);
}
.arc-pub-footer-bottom nav{display:flex;flex-wrap:wrap;gap:6px 16px}
.arc-pub-footer-bottom a{color:var(--arc-pub-mut);text-decoration:none}
.arc-pub-footer-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.arc-pub-footer-bottom a[aria-current="page"]{color:var(--arc-pub-gold)}
.arc-pub-footer-sig{margin:0}
.arc-pub-footer-sig b{color:var(--arc-pub-gold);font-weight:700}
@media (max-width:820px){
  .arc-pub-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}
@media (max-width:460px){
  .arc-pub-footer-in{padding:36px 18px 26px}
  .arc-pub-footer-harmony img{width:72px;height:72px}
  .arc-pub-footer-word{font-size:26px}
}

/* Site directory (search.html): grouped, searchable, and fully
   readable with no JavaScript. */
.arc-pub-directory{max-width:920px;margin:0 auto;padding:8px max(18px,4vw) 40px;font-family:Geist,Nunito,system-ui,sans-serif;color:var(--arc-pub-ink)}
.arc-pub-directory h1{font:800 30px/1.2 Geist,system-ui,sans-serif;color:#fff;margin:18px 0 8px}
.arc-pub-directory .arc-pub-dir-lede{font:500 15px/1.65 Geist,system-ui,sans-serif;color:var(--arc-pub-mut);margin:0 0 20px;max-width:65ch}
.arc-pub-dir-tools{display:flex;gap:8px;align-items:center;margin:0 0 8px}
.arc-pub-dir-tools input{
  flex:1;min-width:0;padding:13px 18px;border-radius:999px;
  border:1px solid var(--arc-pub-line);
  background:rgba(255,255,255,.05);color:#fff;
  font:500 15px Geist,system-ui,sans-serif;
}
.arc-pub-dir-tools input:focus{outline:3px solid var(--arc-pub-gold);outline-offset:2px}
.arc-pub-dir-count{font:600 12.5px/1.4 Geist,system-ui,sans-serif;color:var(--arc-pub-dim);margin:0 0 18px}
.arc-pub-directory h2{
  margin:30px 0 12px;font:700 11.5px/1.3 "Geist Mono",ui-monospace,monospace;
  letter-spacing:.2em;text-transform:uppercase;color:var(--arc-pub-tint-teal);
}
.arc-pub-dir-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.arc-pub-dir-list a{
  display:block;padding:13px 16px;border-radius:14px;text-decoration:none;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.03);
}
.arc-pub-dir-list a:hover{border-color:var(--arc-pub-gold)}
.arc-pub-dir-list b{display:block;font:700 15px/1.35 Geist,system-ui,sans-serif;color:#fff}
.arc-pub-dir-list span{display:block;margin-top:2px;font:500 13px/1.55 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}
.arc-pub-dir-list .arc-pub-dir-path{display:block;margin-top:3px;font:500 11.5px/1.4 "Geist Mono",ui-monospace,monospace;color:var(--arc-pub-dim)}
.arc-pub-dir-empty{font:500 14px/1.6 Geist,system-ui,sans-serif;color:var(--arc-pub-mut)}

/* Mobile dock */
.arc-pub-dock{display:none}
@media (max-width:900px){
  .arc-pub-shell .arc-pub-header{gap:6px;padding:0 8px}
  .arc-pub-header-nav{gap:6px}
  .arc-pub-search{display:none}
  .arc-pub-search-link{display:inline-flex}
  .arc-pub-menu-featured{display:none}
  html.arc-pub-js .arc-pub-shell .arc-pub-sound-head{display:none !important}
  .arc-pub-brand{flex:none}
  .arc-pub-header-nav{min-width:0}
  .arc-pub-menu>summary,.arc-pub-search-link{flex:none}
  .arc-pub-menu>summary{padding:8px 11px;font-size:12.5px}
  .arc-pub-app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .arc-pub-app>a{min-height:92px;padding:12px 4px 9px;border-radius:16px}
  .arc-pub-icon{width:50px;height:50px;border-radius:15px}
  .arc-pub-icon svg{width:26px;height:26px}
  .arc-pub-panel{padding:16px}
  .arc-pub-panel-apps,.arc-pub-panel-featured,.arc-pub-panel-enter{
    left:8px;right:8px;transform:none;width:auto;
  }
  .arc-pub-orb{
    right:14px;
    bottom:calc(var(--arc-pub-dock-reserve) + 12px);
    width:56px;height:56px;
  }
  .arc-pub-orb canvas{width:46px;height:46px}
  .arc-pub-guide{
    left:8px;right:8px;width:auto;
    bottom:calc(var(--arc-pub-dock-reserve) + 12px);
  }
  .arc-pub-dock{
    position:fixed;left:50%;transform:translateX(-50%);
    bottom:max(10px,env(safe-area-inset-bottom,0px));
    z-index:910;
    width:min(430px,calc(100vw - 16px));
    display:flex;gap:2px;align-items:stretch;justify-content:space-between;
    padding:7px 8px;border-radius:24px;
    background:rgba(6,7,11,.94);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border:1px solid var(--arc-pub-line);
    box-shadow:0 16px 40px -12px rgba(0,0,0,.8);
  }
  .arc-pub-dock a,.arc-pub-dock button{
    flex:1;min-width:0;min-height:44px;
    display:grid;place-items:center;gap:3px;
    padding:7px 2px;border-radius:16px;border:0;cursor:pointer;
    background:none;color:var(--arc-pub-ink);text-decoration:none;
    font:700 10.5px/1.15 Geist,system-ui,sans-serif;text-align:center;
  }
  .arc-pub-dock a[aria-current="page"]{background:rgba(255,217,138,.14);color:var(--arc-pub-gold)}
  .arc-pub-dock a.arc-pub-dock-enter{color:var(--arc-pub-gold)}
  .arc-pub-dock a[aria-expanded="true"]{background:rgba(62,230,196,.16);color:var(--arc-pub-tint-teal)}
  .arc-pub-dock svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .arc-pub-dock canvas{width:24px;height:24px;border-radius:50%}
}
@media (max-width:560px){
  .arc-pub-shell .arc-pub-header{gap:4px;padding:0 6px}
  .arc-pub-header-nav{gap:4px}
  .arc-pub-brand>span:last-child{display:none}
  .arc-pub-brand{margin-right:2px}
  .arc-pub-mark{width:30px;height:30px;border-radius:10px;font-size:17px}
  .arc-pub-search-word{display:none}
  .arc-pub-search-link{padding:7px 8px}
  .arc-pub-menu>summary{padding:8px 7px;font-size:11.5px;gap:4px}
  .arc-pub-enter>summary{padding:8px 7px;font-size:11.5px}
  /* Two-row header on narrow phones so the ARC-1 door stays
     visible in the corner without crowding the menus. */
  html.arc-pub-shell-on{--arc-pub-header-h:142px}
  .arc-pub-shell .arc-pub-header{flex-wrap:wrap;align-content:center;row-gap:6px}
  .arc-pub-header-nav{width:100%;flex-wrap:wrap;gap:4px}
  .arc-pub-menu>summary{padding:7px 5px;font-size:11px;gap:3px}
  .arc-pub-enter>summary{padding:7px 5px;font-size:11px}
  .arc-pub-search-link{padding:6px}
}
@media (max-width:359px){
  .arc-pub-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.arc-pub-dock{transition:transform .28s ease,opacity .28s ease}
.arc-pub-dock.arc-pub-dock-hidden{transform:translate(-50%,160%);opacity:0;pointer-events:none}

/* Homepage launcher, compacted by the shell sheet so the home
   surface matches the switcher before its markup is aligned by
   hand. Descriptions move to app-info; the repeated public label
   goes. Rows size to content; nothing overlaps. */
html.arc-pub-shell-on .home-tiles{
  grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:start;
}
html.arc-pub-shell-on .home-tile{position:relative;min-width:0}
html.arc-pub-shell-on .home-tile a{
  align-items:center;text-align:center;gap:8px;
  min-height:104px;padding:16px 8px 12px;border-radius:18px;
}
html.arc-pub-shell-on .home-tile-icon{width:54px;height:54px;border-radius:16px}
html.arc-pub-shell-on .home-tile-icon svg{width:28px;height:28px}
html.arc-pub-shell-on .home-tile b{
  font-size:13px;line-height:1.3;overflow-wrap:break-word;hyphens:auto;
}
html.arc-pub-shell-on .home-tile a>span:not(.home-tile-icon){display:none}
html.arc-pub-shell-on .home-tile small{display:none}
@media (max-width:900px){
  html.arc-pub-shell-on .home-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  html.arc-pub-shell-on .home-tile a{min-height:98px;padding:13px 5px 10px}
  html.arc-pub-shell-on .home-tile-icon{width:50px;height:50px;border-radius:15px}
  html.arc-pub-shell-on .home-tile-icon svg{width:26px;height:26px}
}
@media (max-width:359px){
  html.arc-pub-shell-on .home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Motion, forced colours, and print */
@media (prefers-reduced-motion:reduce){
  .arc-pub-shell *, .arc-pub-shell *::before, .arc-pub-shell *::after,
  .arc-pub-footer *, .arc-pub-footer *::before, .arc-pub-footer *::after{
    animation:none !important;transition:none !important;scroll-behavior:auto !important;
  }
  .arc-pub-orb:hover{transform:none}
  .arc-pub-shell.arc-pub-guide-open .arc-pub-orb,.arc-pub-shell.arc-pub-menu-open .arc-pub-orb{transform:none}
}
html[data-rc-motion="none"] .arc-pub-shell *,
html[data-rc-motion="none"] .arc-pub-shell *::before,
html[data-rc-motion="none"] .arc-pub-shell *::after{
  animation:none !important;transition:none !important;
}
@media (forced-colors:active){
  .arc-pub-header,.arc-pub-panel,.arc-pub-guide,.arc-pub-dock,.arc-pub-appinfo,.arc-pub-footer{border:1px solid CanvasText}
  .arc-pub-menu>summary,.arc-pub-search button,.arc-pub-sound,.arc-pub-app-info,.arc-pub-appinfo-close{border:1px solid ButtonText}
}
@media print{
  .arc-pub-shell{display:none !important}
  html.arc-pub-shell-on body{padding-top:0;padding-bottom:0}
  html.arc-pub-shell-on .site-door-bar{position:static !important;height:auto}
  html.arc-pub-shell-on .site-door-bar nav,html.arc-pub-shell-on .site-door-bar .sdb-mark{display:block !important}
}

/* Convergence repair: the shell header must fit a 390px viewport on every
   public page, including light featured pages whose own styles widen the
   row. The Enter menu summary is the widest item; tighten the row and clip
   any residual horizontal spill from shell chrome only. */
html.arc-pub-shell-on body{overflow-x:clip}
@media (max-width:560px){
  .arc-pub-header{gap:4px;padding-inline:6px}
  .arc-pub-header>*{min-width:0}
  .arc-pub-enter>summary{padding:8px 7px;font-size:11.5px;white-space:nowrap}
  .arc-pub-menu>summary{padding:8px 7px}
  .arc-pub-panel-enter,.arc-pub-panel-featured{right:10px;width:min(440px,calc(100vw - 20px))}
}
@media (max-width:560px){
  .arc-pub-panel{position:fixed;left:10px;right:10px;width:auto;top:calc(var(--arc-pub-header-h) + var(--arc-pub-tools-h) + 8px)}
  .arc-pub-panel-apps{left:10px;right:10px;transform:none;width:auto}
}

/* Enter page request form: labels and inputs must stay inside the
   viewport on phones (pre-existing overflow, repaired under the shell). */
body[data-app="enter"] form.request,body[data-app="enter"] form.request label{max-width:100%;box-sizing:border-box}
body[data-app="enter"] form.request input,body[data-app="enter"] form.request textarea,body[data-app="enter"] form.request select{max-width:100%;box-sizing:border-box}
body[data-app="enter"] form.request>*{min-width:0}
body[data-app="enter"] form.request input,body[data-app="enter"] form.request textarea{width:100%}
body[data-app="enter"] form.request select{width:100%;min-width:0}
.arc-pub-dock a{min-width:0}
.arc-pub-dock a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.arc-pub-panel *{min-width:0}
.arc-pub-pathways{grid-template-columns:minmax(0,1fr)}

/* Shell chrome defense: page-level header/nav rules must never widen the
   shell header or dock beyond the viewport. */
.arc-pub-header{left:0;right:0;width:auto;max-width:100vw;box-sizing:border-box}
.arc-pub-header nav{min-width:0}
.arc-pub-dock{max-width:calc(100vw - 16px);box-sizing:border-box}

/* For Agents: long machine tokens and code lines must wrap or scroll
   inside their containers on phones instead of widening the page. */
body[data-app="agents"] main{overflow-x:clip}
body[data-app="agents"] pre,body[data-app="agents"] code{max-width:100%}
body[data-app="agents"] pre{overflow-x:auto}
body[data-app="agents"] a,body[data-app="agents"] td,body[data-app="agents"] li{overflow-wrap:anywhere}
html.arc-pub-shell-on{overflow-x:clip}

/* Wide page media stays inside the viewport under the shell, so a
   fixed-width canvas or table scrolls in place instead of widening
   the page (Beta Ledger strip and accounts table, home geometry). */
html.arc-pub-shell-on canvas,html.arc-pub-shell-on img,html.arc-pub-shell-on video,html.arc-pub-shell-on svg{max-width:100%}
/* Wide tables scroll inside their wrapper instead of widening the
   page (Beta Ledger accounts table keeps its 520px minimum). */
html.arc-pub-shell-on div:has(> table){overflow-x:auto;max-width:100%}
html.arc-pub-shell-on table{max-width:100%}
/* Homepage observatory instrument stays inside the viewport
   (defensive containment; the home lane owns the final layout). */
html.arc-pub-shell-on .ao-focus-wrap,html.arc-pub-shell-on .ao-chips,html.arc-pub-shell-on .ao-view-btns{max-width:100%;min-width:0;width:100%;overflow-x:auto;box-sizing:border-box}
html.arc-pub-shell-on .ao-controls>*{min-width:0}
html.arc-pub-shell-on .ao-chips,html.arc-pub-shell-on .ao-view-btns{flex-wrap:wrap}
html.arc-pub-shell-on .ao-focus{max-width:100%;min-width:0;box-sizing:border-box}
html.arc-pub-shell-on .ao-focus-wrap svg{overflow:hidden;max-width:100%}
.arc-pub-table-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
html.arc-pub-shell-on body{overflow-wrap:break-word}

/* Shell header defense against page header rules with :not() specificity. */
body.arc-pub-app header.arc-pub-header{position:fixed;top:0;left:0;right:0;background:rgba(3,4,8,.94);z-index:900}

/* Light featured pages: restore horizontal breathing room on phones so
   hero text never sits flush against the viewport edge. */
@media (max-width:560px){
  body[data-app="enter"] main .wrap,body[data-app="revelation"] main .wrap,body[data-app="architect"] main .wrap,body[data-app="science"] main .wrap,body[data-app="culture"] main .wrap,body[data-app="observatory"] main .wrap{padding-inline:18px;box-sizing:border-box}
}

/* Reading-progress hairline under the header. Page engines from the
   door-bar era drive #prog by id; the shell provides the element and
   drives it generically where no page engine does. */
.arc-pub-prog{position:absolute;left:0;bottom:0;height:2px;width:0;background:linear-gradient(90deg,#3ee6c4,#f5c86e);z-index:6;pointer-events:none}
.arc-pub-footer-preserved{margin:8px 0 0;font-size:12.5px;color:var(--arc-pub-muted,#9fb3a8);overflow-wrap:anywhere}

/* Defensive containment for rolled page layouts whose grids/panels
   blow out at phone widths (grid items refuse to shrink below
   content min-size; negative-margin bleeds overshoot the gutter).
   Page owners can refine; these guards only stop clipping. */
html.arc-pub-shell-on .demogrid>*{min-width:0}
html.arc-pub-shell-on .democard{max-width:100%;box-sizing:border-box}
html.arc-pub-shell-on .democard pre,html.arc-pub-shell-on .democard iframe,html.arc-pub-shell-on .democard table{max-width:100%}
@media (max-width:560px){
  html.arc-pub-shell-on .netpanel{margin-left:0;margin-right:0}
}

/* Repair (2026-12-01, B-1/B-5): shell isolation guard. Legacy page
   styles (generic nav/a rules with uppercase + letter-spacing) must
   never restyle shell chrome: dock labels truncated ("OBSERV...") and
   Enter-panel text uppercased on the Observatory. Shell link
   typography is reset here; intentional uppercase shell labels keep
   their own class rules (panel subheads, footer headings). */
.arc-pub-shell .arc-pub-dock a,.arc-pub-shell .arc-pub-dock button,
.arc-pub-shell .arc-pub-panel a,.arc-pub-shell .arc-pub-header a,
.arc-pub-shell .arc-pub-guide a{letter-spacing:normal;text-transform:none}
.arc-pub-shell .arc-pub-dock a span{letter-spacing:0;text-transform:none}

/* Repair (2026-12-01, B-5): short landscape viewports. The floating orb
   moves under the header at the top right so it cannot cover the
   exhibition stage, which occupies the lower viewport there. The dock
   Noetica control remains the dependable path at every size. */
@media (max-width:900px) and (max-height:520px){
  .arc-pub-orb{top:calc(var(--arc-pub-header-h) + 10px);bottom:auto;right:12px;width:48px;height:48px}
  .arc-pub-orb canvas{width:40px;height:40px}
}

/* Page-local section navigation (consolidated from legacy page headers
   in the 2026-12-02 convergence: brand and site links live in the
   shell; only the page's own anchors remain, as one slim nav). */
.page-local-nav{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 0;border-bottom:1px solid rgba(226,232,255,.10);margin-bottom:18px}
.page-local-nav a{color:inherit;text-decoration:underline;text-decoration-color:rgba(246,198,100,.5);text-underline-offset:4px;padding:4px 2px}
.page-local-nav a:hover{color:#FFD98A}

/* ============================================================
   W2 surface repair (2026-12-02): header breathing room, Enter
   pinned far right, unified orb spec, lambda mark, launcher
   for fifteen applications, collapsible guide introduction.
   ============================================================ */

/* Header: breathing room at every width; Enter Wonderland is
   pinned to the far right with clear separation. */
.arc-pub-shell .arc-pub-header{gap:16px;padding:0 max(18px,3.5vw)}
.arc-pub-brand{gap:11px}
.arc-pub-header-nav{gap:10px;margin-left:auto}
.arc-pub-menu>summary{padding:10px 15px}
.arc-pub-enter{margin-left:14px}
.arc-pub-enter>summary{padding:10px 18px;letter-spacing:.01em}
.arc-pub-search input{width:min(205px,22vw)}
.arc-pub-search button,.arc-pub-search-link,.arc-pub-sound{padding:10px 14px}
@media (max-width:1100px){
  .arc-pub-search input{width:min(160px,18vw)}
  .arc-pub-header{gap:12px}
  .arc-pub-enter{margin-left:8px}
}
@media (max-width:900px){
  .arc-pub-shell .arc-pub-header{gap:8px;padding:0 10px}
  .arc-pub-header-nav{gap:8px}
  .arc-pub-menu>summary{padding:9px 12px}
  .arc-pub-enter{margin-left:6px}
  .arc-pub-enter>summary{padding:9px 13px}
}
@media (max-width:560px){
  .arc-pub-shell .arc-pub-header{gap:6px;padding:0 8px}
  .arc-pub-header-nav{gap:6px}
  .arc-pub-menu>summary{padding:8px 10px;font-size:12px}
  .arc-pub-enter>summary{padding:8px 11px;font-size:12px}
}

/* Lambda mark (ΛRC brand language): open ring, true lambda
   stroke with no crossbar, horizon line. Used by the header
   brand mark and the dock Enter control. */
.arc-pub-lambda{fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.arc-pub-lambda-ring{stroke:rgba(62,230,196,.6);stroke-width:1.4}
.arc-pub-lambda-stroke{stroke:var(--arc-pub-gold);stroke-width:2.4}
.arc-pub-lambda-horizon{stroke:rgba(159,243,224,.85);stroke-width:1.5}
.arc-pub-mark .arc-pub-lambda{width:22px;height:22px}
.arc-pub-mark .arc-pub-lambda-stroke{stroke-width:2.7}
.arc-pub-dock-enter .arc-pub-lambda{width:27px;height:27px;filter:drop-shadow(0 0 6px rgba(240,189,94,.45))}
.arc-pub-dock-enter:hover .arc-pub-lambda,.arc-pub-dock-enter:focus-visible .arc-pub-lambda{filter:drop-shadow(0 0 10px rgba(240,189,94,.7))}

/* Unified orb spec: one design at every size. Dark ground,
   gold ring, top-left specular highlight, deep lower shading.
   The torus canvas paints over this ground; with no canvas
   the ground alone still reads as the same orb. No light
   disc behind the canvas, so small orbs never blow out. */
.arc-orb{
  display:block;border-radius:50%;overflow:hidden;flex:none;
  background:
    radial-gradient(circle at 36% 28%,rgba(255,250,232,.30),rgba(255,217,138,.10) 34%,rgba(62,230,196,.05) 58%,rgba(5,6,10,0) 76%),
    radial-gradient(circle at 50% 55%,#0b0d1a 0%,#05060a 72%);
  border:1px solid rgba(255,217,138,.55);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),inset -8px -12px 22px rgba(0,0,0,.55),0 10px 28px -10px rgba(240,189,94,.45);
}
.arc-orb canvas{width:100%;height:100%;display:block;border-radius:50%}
.arc-orb::after{
  content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 34% 24%,rgba(255,255,255,.20),rgba(255,255,255,0) 42%);
}
.arc-orb:not(.arc-pub-orb){position:relative}
.arc-pub-orb.arc-orb{position:fixed}
.arc-pub-orb{
  background:
    radial-gradient(circle at 36% 28%,rgba(255,250,232,.30),rgba(255,217,138,.10) 34%,rgba(62,230,196,.05) 58%,rgba(5,6,10,0) 76%),
    radial-gradient(circle at 50% 55%,#0b0d1a 0%,#05060a 72%);
}
.arc-pub-orb canvas{width:100%;height:100%}
.arc-orb-guide{width:72px;height:72px}
.arc-pub-guide-head .arc-orb-guide canvas{width:100%;height:100%;border:0;background:none}
.arc-orb-dock{width:26px;height:26px}
.arc-pub-dock .arc-orb-dock canvas{width:100%;height:100%}
.arc-orb-stage{
  border-radius:26px;width:100%;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),inset -14px -20px 44px rgba(0,0,0,.5),0 18px 44px -16px rgba(240,189,94,.35);
}
.arc-orb-stage::after{border-radius:26px}
.arc-orb-stage canvas{width:100%;height:auto;border-radius:26px}
@media (max-width:900px){
  .arc-pub-orb canvas{width:100%;height:100%}
  .arc-orb-guide{width:64px;height:64px}
}

/* Launcher: fifteen applications, five across on desktop. */
.arc-pub-panel-apps{width:min(920px,calc(100vw - 24px))}
.arc-pub-app-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
@media (max-width:900px){.arc-pub-app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}}
@media (max-width:359px){.arc-pub-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
html.arc-pub-shell-on .home-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
@media (max-width:900px){html.arc-pub-shell-on .home-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}}
@media (max-width:359px){html.arc-pub-shell-on .home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Guide introduction: hideable, with a discreet reopen. */
.arc-pub-guide-info{position:relative}
.arc-pub-guide-info[hidden]{display:none !important}
.arc-pub-guide-info-dismiss{
  float:right;margin:0 0 8px 10px;padding:6px 11px;border-radius:999px;cursor:pointer;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.04);
  color:var(--arc-pub-mut);font:700 11.5px/1 Geist,system-ui,sans-serif;
}
.arc-pub-guide-info-dismiss:hover{border-color:var(--arc-pub-teal);color:var(--arc-pub-tint-teal)}
.arc-pub-guide-info-reopen{
  margin:0 0 12px;padding:7px 12px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(62,230,196,.4);background:rgba(62,230,196,.06);
  color:var(--arc-pub-tint-teal);font:700 12px/1 Geist,system-ui,sans-serif;
}
.arc-pub-guide-info-reopen[hidden]{display:none !important}
.arc-pub-guide-info-reopen:hover{border-color:var(--arc-pub-teal)}

/* Legacy floating chrome must clear the public dock on small screens:
   the dock already carries Home; the clock pill has no room in the
   mobile header; the NOE-2 bar and interop dock stack above the dock
   instead of over it. */
@media (max-width:640px){
  .arc-home-float{display:none !important}
  .arc-cc-util-float{display:none !important}
  #arc-noe-bar{bottom:calc(150px + env(safe-area-inset-bottom,0px)) !important;top:auto !important}
  .aif-dock{bottom:calc(92px + env(safe-area-inset-bottom,0px)) !important;top:auto !important}
}

/* Release stamp sits below the fixed header, never over the brand. */
.arc-ver{top:64px !important}
@media (max-width:640px){
  /* Page-owned mobile tab bars stack above the public dock. */
  .mobilebar{bottom:calc(84px + env(safe-area-inset-bottom,0px)) !important}
}

/* NOE-2 bar clears page-owned bottom-left controls at every width. */
#arc-noe-bar{bottom:calc(92px + env(safe-area-inset-bottom,0px)) !important;top:auto !important}

/* Staged-update offer (Phase B2): a small non-modal card above the
   dock. It never blocks reading, and activation never reloads the
   page for the visitor. */
.arc-pub-update-offer{
  position:fixed;left:50%;transform:translateX(-50%);
  bottom:calc(var(--arc-pub-dock-reserve,0px) + 14px);
  z-index:960;max-width:min(440px,calc(100vw - 24px));box-sizing:border-box;
  padding:14px 16px;border-radius:14px;
  border:1px solid rgba(62,230,196,.45);background:var(--arc-pub-panel-2,#0b0d1a);
  color:var(--arc-pub-ink,#eef1ff);box-shadow:0 12px 40px rgba(0,0,0,.5);
  font:500 13.5px/1.5 Geist,system-ui,sans-serif;
}
.arc-pub-update-offer-text{margin:0 0 10px}
.arc-pub-update-offer-main{
  margin:0 8px 0 0;padding:8px 14px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(62,230,196,.55);background:rgba(62,230,196,.14);
  color:var(--arc-pub-tint-teal);font:700 12.5px/1 Geist,system-ui,sans-serif;
}
.arc-pub-update-offer-main:hover{border-color:var(--arc-pub-teal)}
.arc-pub-update-offer-later{
  margin:0;padding:8px 12px;border-radius:999px;cursor:pointer;
  border:1px solid var(--arc-pub-line-soft);background:rgba(255,255,255,.04);
  color:var(--arc-pub-mut);font:700 12.5px/1 Geist,system-ui,sans-serif;
}
.arc-pub-update-offer-later:hover{border-color:var(--arc-pub-teal);color:var(--arc-pub-tint-teal)}
/* Operator door (Ricky 2026-12-02): persistent sign-in entrance for the
   computer's operator, distinct from visitor entrances. */
.arc-pub-shell .arc-pub-dock .arc-pub-dock-operator{border-left:1px solid rgba(207,213,242,.22)}
.arc-pub-shell .arc-pub-dock .arc-pub-dock-operator span{font-size:10.5px;line-height:1.15;text-align:center}

.arc-pub-chat-btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;flex:none;cursor:pointer;
  padding:8px 14px;border-radius:999px;border:1px solid var(--arc-pub-gold);color:var(--arc-pub-gold);
  background:linear-gradient(145deg,rgba(240,189,94,.16),rgba(240,189,94,.05));font:700 13px/1 Geist,system-ui,sans-serif}
.arc-pub-chat-btn:hover,.arc-pub-chat-btn:focus-visible{outline:2px solid var(--arc-pub-gold);outline-offset:2px;background:rgba(240,189,94,.26)}
.arc-pub-chat-dot{width:9px;height:9px;border-radius:50%;background:var(--arc-pub-gold);box-shadow:0 0 8px var(--arc-pub-gold)}
@media (max-width:640px){.arc-pub-chat-btn{padding:6px 9px;font-size:11.5px}.arc-pub-chat-btn span:last-child{display:none}.arc-pub-chat-btn::after{content:"Chat"}}
.arc-pub-pathways a.arc-pub-path-voice{background:rgba(179,139,255,.10);border-color:rgba(179,139,255,.55)}
.arc-pub-pathways a.arc-pub-path-voice span{color:var(--arc-pub-mut)}
