:root {
  --night: #07090d;
  --night-2: #0e1219;
  --ink: #12151b;
  --muted: #697079;
  --bg: #f2f3ef;
  --paper: #ffffff;
  --line: #dfe1db;
  --line-strong: #c8cbc3;
  --signal: #c7ff5e;
  --signal-dark: #5b7e18;
  --blue: #5f78ff;
  --blue-wash: #edf0ff;
  --amber: #f0c766;
  --amber-wash: #fff8df;
  --red: #cb5353;
  --red-wash: #fff0ee;
  --green: #1c7a50;
  --green-wash: #e5f7ed;
  --shadow: 0 24px 70px rgba(20, 24, 30, .09);
  --radius: 18px;
  --display: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --text-meta: 12px;
  --text-body: 14px;
  --text-body-large: 16px;
  --title-page: clamp(38px, 3.5vw, 42px);
  --title-page-mobile: clamp(32px, 9vw, 36px);
}

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--bg); font-family: var(--body); scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--bg); }
body:not(.network-home)::before {
  position: fixed; inset: 0; z-index: -1; content: ""; pointer-events: none;
  background: radial-gradient(circle at 88% 4%, rgba(95,120,255,.1), transparent 29%), linear-gradient(rgba(10,15,20,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(10,15,20,.025) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  mask-image: linear-gradient(#000, transparent 70%);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(142, 183, 70, .55); outline-offset: 3px; }
.mono, code { font-family: var(--mono); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; color: var(--night); background: var(--signal); border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

/* Public landing */
.landing-body { overflow-x: clip; color: #f7f8f5; background: #05080d; }
.landing-body::before { display: none; }
.landing-header {
  position: absolute; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: minmax(150px,1fr) auto minmax(280px,1fr); align-items: center;
  min-height: 78px; padding: 0 clamp(24px,4vw,58px); border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(5,8,13,.72); backdrop-filter: blur(18px);
}
.landing-brand { display: inline-flex; width: fit-content; color: #fff; text-decoration: none; }
.landing-brand .atn-wordmark { width: 105px; height: auto; }
.landing-nav { display: flex; align-items: center; gap: clamp(22px,3vw,42px); }
.landing-nav a { color: rgba(255,255,255,.69); font-size: 12px; font-weight: 700; text-decoration: none; transition: color 180ms ease; }
.landing-nav a:hover { color: #fff; }
.landing-header__actions { display: flex; justify-self: end; align-items: center; gap: 13px; }
.landing-header__connect { min-height: 38px; padding: 8px 14px; color: #fff; border-color: rgba(199,255,94,.52); border-radius: 0; background: rgba(199,255,94,.035); font-size: 12px; }
.landing-header__connect:hover { color: var(--night); background: var(--signal); }
.landing-header__connect span { color: var(--signal); }
.landing-header__connect:hover span { color: var(--night); }

.landing-hero { position: relative; min-height: max(820px,100vh); overflow: hidden; isolation: isolate; border-bottom: 1px solid rgba(255,255,255,.1); background-color: #05080d; }
.landing-hero::before { position: absolute; inset: 0; z-index: -2; content: ""; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg,#000 0%,rgba(0,0,0,.78) 50%,transparent 100%); }
.landing-hero::after { position: absolute; inset: auto 0 0; z-index: -1; height: 220px; content: ""; pointer-events: none; background: linear-gradient(transparent,#05080d); }
#landing-network-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.landing-hero__grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr); gap: 36px; width: min(1340px,calc(100% - 80px)); min-height: max(820px,100vh); margin: 0 auto; padding: clamp(142px,15vh,176px) 0 76px; }
.landing-hero__copy { align-self: center; max-width: 680px; }
.landing-kicker,.landing-live { display: flex; align-items: center; gap: 9px; margin: 0; color: #6d8dff; font: 750 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.landing-kicker i,.landing-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px rgba(199,255,94,.8); }
.landing-hero h1 { max-width: 680px; margin: 27px 0 0; font: 590 clamp(60px,6.4vw,94px)/.93 var(--display); letter-spacing: -.066em; text-wrap: balance; }
.landing-title-signal { display: block; width: 68px; height: 4px; margin-top: 28px; background: var(--signal); box-shadow: 0 0 22px rgba(199,255,94,.24); }
.landing-hero__description { max-width: 590px; margin: 34px 0 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.72; }
.landing-boundary { display: flex; align-items: center; gap: 11px; max-width: 540px; margin: 20px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.55; }
.landing-boundary span { display: grid; place-items: center; flex: 0 0 auto; width: 21px; height: 21px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font: 700 11px var(--mono); }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.landing-actions .button { min-height: 52px; padding: 13px 21px; border-radius: 0; }
.landing-button--outline { color: #fff; border-color: rgba(95,120,255,.72); background: rgba(17,25,43,.45); }
.landing-button--outline:hover { border-color: #7690ff; background: rgba(95,120,255,.12); }
.landing-live { margin-top: 76px; color: var(--signal); font-size: 9px; }
.landing-live > span { width: 1px; height: 14px; margin: 0 6px; background: rgba(255,255,255,.2); }
.landing-live i { width: 6px; height: 6px; animation: breathe 2.4s ease-in-out infinite; }
.landing-live span + * { color: rgba(255,255,255,.38); }

.landing-network-copy { position: relative; align-self: stretch; min-height: 600px; pointer-events: none; }
.landing-checkpoint { position: absolute; display: grid; gap: 5px; min-width: 130px; padding: 9px 11px; color: #fff; border-left: 1px solid #5f78ff; background: rgba(5,8,13,.32); backdrop-filter: blur(4px); }
.landing-checkpoint strong { font: 760 12px/1 var(--mono); letter-spacing: .05em; }
.landing-checkpoint small { color: #6684ff; font: 700 8px/1 var(--mono); letter-spacing: .08em; }
.landing-checkpoint--agent { top: 8%; left: 8%; }
.landing-checkpoint--task { top: 23%; right: 10%; border-color: var(--signal); }
.landing-checkpoint--task small,.landing-checkpoint--points small { color: var(--signal); }
.landing-checkpoint--proof { top: 44%; right: 0; }
.landing-checkpoint--review { top: 62%; left: 13%; }
.landing-checkpoint--points { right: 6%; bottom: 5%; border-color: var(--signal); }

.landing-section { width: min(1280px,calc(100% - 80px)); margin: 0 auto; padding: 110px 0; border-bottom: 1px solid rgba(255,255,255,.12); scroll-margin-top: 30px; }
.landing-section__heading { display: grid; grid-template-columns: minmax(0,.8fr) minmax(320px,.55fr); align-items: end; gap: 80px; }
.landing-section__kicker { margin: 0 0 17px; color: #6b86ff; font: 760 10px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.landing-section h2,.landing-final h2 { max-width: 620px; margin: 0; font: 590 clamp(42px,4.3vw,62px)/.98 var(--display); letter-spacing: -.055em; text-wrap: balance; }
.landing-section__heading > p { margin: 0; color: rgba(255,255,255,.48); font-size: 14px; line-height: 1.72; }
.landing-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 70px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.landing-steps li { position: relative; min-height: 245px; padding: 28px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.1); }
.landing-steps li + li { padding-left: 28px; }
.landing-steps li:last-child { border-right: 0; }
.landing-steps li > span { display: block; margin-bottom: 42px; color: #6684ff; font: 500 26px/1 var(--display); }
.landing-steps li:last-child > span { color: var(--signal); }
.landing-steps strong { display: block; font: 630 19px/1.2 var(--display); }
.landing-steps p { max-width: 240px; margin: 13px 0 0; color: rgba(255,255,255,.45); font-size: 13px; line-height: 1.65; }
.landing-steps li:not(:last-child)::after { position: absolute; top: 44px; right: 23px; content: "→"; color: var(--signal); font: 16px var(--mono); }

.landing-safety { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 100px; }
.landing-safety__title h2 { max-width: 440px; }
.landing-safety__items { display: grid; }
.landing-safety__items article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 27px 0; border-top: 1px solid rgba(255,255,255,.12); }
.landing-safety__items article:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.landing-safety__items article > span { color: #6b86ff; font: 700 11px var(--mono); }
.landing-safety__items article:last-child > span { color: var(--signal); }
.landing-safety h3 { margin: 0; font: 600 20px/1.25 var(--display); }
.landing-safety__items p { max-width: 600px; margin: 8px 0 0; color: rgba(255,255,255,.46); font-size: 13px; line-height: 1.65; }

.landing-final { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.7fr); align-items: center; gap: 90px; width: min(1280px,calc(100% - 80px)); margin: 90px auto; padding: 54px; border: 1px solid rgba(199,255,94,.38); background: rgba(9,14,22,.78); }
.landing-final h2 { max-width: 650px; font-size: clamp(38px,4vw,58px); }
.landing-final > div:last-child { padding-left: 38px; border-left: 1px solid rgba(255,255,255,.14); }
.landing-final > div:last-child p { max-width: 480px; margin: 0 0 22px; color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.7; }
.landing-final .button { min-width: 220px; border-radius: 0; }
.landing-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 34px; width: min(1280px,calc(100% - 80px)); margin: 0 auto; padding: 28px 0 38px; color: rgba(255,255,255,.34); }
.landing-footer .atn-wordmark { width: 82px; color: #fff; }
.landing-footer p { margin: 0; font: 9px/1.5 var(--mono); text-align: center; }
.landing-footer .locale-switch { justify-self: end; }

.landing-reveal { opacity: 1; transform: none; }
.motion-ready .landing-reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease,transform 800ms cubic-bezier(.2,.75,.2,1); }
.motion-ready .landing-reveal.is-visible { opacity: 1; transform: translateY(0); }

.motion-ready .landing-intro .landing-brand { animation: landing-brand-in 760ms cubic-bezier(.16,.8,.25,1) 80ms both; }
.motion-ready .landing-intro .landing-nav a { animation: landing-nav-in 620ms cubic-bezier(.16,.8,.25,1) both; }
.motion-ready .landing-intro .landing-nav a:nth-child(1) { animation-delay: 210ms; }
.motion-ready .landing-intro .landing-nav a:nth-child(2) { animation-delay: 290ms; }
.motion-ready .landing-intro .landing-nav a:nth-child(3) { animation-delay: 370ms; }
.motion-ready .landing-intro .landing-header__actions { animation: landing-actions-in 760ms cubic-bezier(.16,.8,.25,1) 320ms both; }
.motion-ready .landing-hero::before { animation: landing-grid-in 1500ms ease-out 100ms both; }
.motion-ready #landing-network-canvas { transform-origin: 74% 45%; animation: landing-canvas-in 1500ms cubic-bezier(.16,.8,.25,1) 120ms both; }
.motion-ready .landing-hero__copy .landing-kicker { animation: landing-rise-in 700ms cubic-bezier(.16,.8,.25,1) 260ms both; }
.motion-ready .landing-hero__copy h1 { animation: landing-title-in 1080ms cubic-bezier(.16,.8,.25,1) 340ms both; }
.motion-ready .landing-hero__copy .landing-title-signal { transform-origin: left center; animation: landing-signal-in 700ms cubic-bezier(.16,.8,.25,1) 690ms both; }
.motion-ready .landing-hero__copy .landing-hero__description { animation: landing-rise-in 760ms cubic-bezier(.16,.8,.25,1) 720ms both; }
.motion-ready .landing-hero__copy .landing-boundary { animation: landing-rise-in 760ms cubic-bezier(.16,.8,.25,1) 800ms both; }
.motion-ready .landing-hero__copy .landing-actions { animation: landing-rise-in 760ms cubic-bezier(.16,.8,.25,1) 900ms both; }
.motion-ready .landing-hero__copy .landing-live { animation: landing-rise-in 760ms cubic-bezier(.16,.8,.25,1) 1040ms both; }
.motion-ready .landing-checkpoint { animation: landing-checkpoint-in 700ms cubic-bezier(.16,.8,.25,1) both; }
.motion-ready .landing-checkpoint:nth-child(1) { animation-delay: 520ms; }
.motion-ready .landing-checkpoint:nth-child(2) { animation-delay: 680ms; }
.motion-ready .landing-checkpoint:nth-child(3) { animation-delay: 840ms; }
.motion-ready .landing-checkpoint:nth-child(4) { animation-delay: 1000ms; }
.motion-ready .landing-checkpoint:nth-child(5) { animation-delay: 1160ms; }
.landing-body .button--signal { position: relative; overflow: hidden; }
.landing-body .button--signal::after { position: absolute; inset: -20% auto -20% -45%; width: 28%; content: ""; pointer-events: none; background: rgba(255,255,255,.55); transform: translateX(-240%) skewX(-18deg); }
.motion-ready .landing-hero__copy.is-visible .button--signal::after { animation: landing-sheen 920ms ease-out 1380ms both; }
.landing-body .button--signal:hover::after { animation: landing-sheen 620ms ease-out both; }
.motion-ready .landing-protocol .landing-section__heading > *,
.motion-ready .landing-protocol .landing-steps li,
.motion-ready .landing-safety .landing-safety__title,
.motion-ready .landing-safety .landing-safety__items article,
.motion-ready .landing-final > * { opacity: 0; transform: translateY(20px); }
.motion-ready .landing-protocol.is-visible .landing-section__heading > *,
.motion-ready .landing-safety.is-visible .landing-safety__title,
.motion-ready .landing-final.is-visible > * { animation: landing-rise-in 720ms cubic-bezier(.16,.8,.25,1) both; }
.motion-ready .landing-protocol.is-visible .landing-section__heading > *:nth-child(2),
.motion-ready .landing-final.is-visible > *:nth-child(2) { animation-delay: 120ms; }
.motion-ready .landing-protocol.is-visible .landing-steps li,
.motion-ready .landing-safety.is-visible .landing-safety__items article { animation: landing-rise-in 720ms cubic-bezier(.16,.8,.25,1) both; }
.motion-ready .landing-protocol.is-visible .landing-steps li:nth-child(1),
.motion-ready .landing-safety.is-visible .landing-safety__items article:nth-child(1) { animation-delay: 160ms; }
.motion-ready .landing-protocol.is-visible .landing-steps li:nth-child(2),
.motion-ready .landing-safety.is-visible .landing-safety__items article:nth-child(2) { animation-delay: 260ms; }
.motion-ready .landing-protocol.is-visible .landing-steps li:nth-child(3),
.motion-ready .landing-safety.is-visible .landing-safety__items article:nth-child(3) { animation-delay: 360ms; }
.motion-ready .landing-protocol.is-visible .landing-steps li:nth-child(4) { animation-delay: 460ms; }

@keyframes landing-brand-in { from { opacity: 0; transform: translate3d(-18px,-8px,0); } }
@keyframes landing-nav-in { from { opacity: 0; transform: translate3d(0,-12px,0); } }
@keyframes landing-actions-in { from { opacity: 0; transform: translate3d(18px,-8px,0); } }
@keyframes landing-grid-in { from { opacity: 0; transform: scale(1.035); } }
@keyframes landing-canvas-in { from { opacity: 0; transform: scale(1.045); } }
@keyframes landing-rise-in { from { opacity: 0; transform: translate3d(0,22px,0); } to { opacity: 1; transform: none; } }
@keyframes landing-title-in { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0,42px,0) scale(.985); } to { opacity: 1; clip-path: inset(0); transform: none; } }
@keyframes landing-signal-in { from { opacity: 0; transform: scaleX(0); } }
@keyframes landing-checkpoint-in { from { opacity: 0; transform: translate3d(0,16px,0) scale(.96); } }
@keyframes landing-sheen { from { transform: translateX(-240%) skewX(-18deg); } to { transform: translateX(620%) skewX(-18deg); } }

@media (max-width: 1040px) {
  .landing-hero__grid { grid-template-columns: minmax(0,1fr) minmax(370px,.8fr); width: min(100% - 48px,1100px); }
  .landing-hero h1 { font-size: clamp(54px,7vw,76px); }
  .landing-checkpoint--proof { right: 3%; }
  .landing-section,.landing-final,.landing-footer { width: min(100% - 48px,1100px); }
  .landing-section__heading { gap: 48px; }
  .landing-safety { gap: 54px; }
}

@media (max-width: 820px) {
  .landing-header { grid-template-columns: 1fr auto; }
  .landing-nav { display: none; }
}

@media (max-width: 700px) {
  .landing-header { position: absolute; min-height: 66px; padding: 0 18px; }
  .landing-brand .atn-wordmark { width: 82px; }
  .landing-header .atn-beta { top: auto; right: 0; bottom: -7px; font-size: 6px; }
  .landing-header__actions { gap: 7px; }
  .landing-header .landing-header__connect { display: none; }
  .landing-header .locale-switch__option { min-width: 29px; padding-inline: 6px; }
  .landing-hero { min-height: 980px; }
  .landing-hero__grid { display: block; width: calc(100% - 36px); min-height: 980px; padding: 120px 0 40px; }
  .landing-hero__copy { position: relative; z-index: 2; }
  .landing-hero h1 { max-width: 560px; font-size: clamp(49px,15vw,69px); line-height: .95; }
  .landing-hero__description { max-width: 520px; font-size: 15px; }
  .landing-actions { display: grid; grid-template-columns: 1fr; }
  .landing-actions .button { width: 100%; }
  .landing-live { margin-top: 36px; }
  #landing-network-canvas { top: 460px; height: 520px; }
  .landing-network-copy { position: absolute; inset: 520px 18px 20px; min-height: 430px; }
  .landing-checkpoint { min-width: 105px; padding: 7px 8px; }
  .landing-checkpoint--agent { left: 2%; }
  .landing-checkpoint--task { right: 1%; }
  .landing-checkpoint--proof { top: 45%; right: 0; }
  .landing-checkpoint--review { top: 64%; left: 2%; }
  .landing-checkpoint--points { right: 2%; bottom: 2%; }
  .landing-section { width: calc(100% - 36px); padding: 76px 0; }
  .landing-section__heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .landing-section h2,.landing-final h2 { font-size: clamp(37px,11vw,48px); }
  .landing-steps { grid-template-columns: 1fr; margin-top: 48px; }
  .landing-steps li,.landing-steps li + li { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .landing-steps li > span { margin-bottom: 16px; font-size: 20px; }
  .landing-steps p { max-width: none; }
  .landing-steps li:not(:last-child)::after { top: 26px; right: 2px; transform: rotate(90deg); }
  .landing-safety { grid-template-columns: 1fr; gap: 38px; }
  .landing-safety__items article { grid-template-columns: 38px 1fr; }
  .landing-final { grid-template-columns: 1fr; gap: 32px; width: calc(100% - 36px); margin: 58px auto; padding: 32px 24px; }
  .landing-final > div:last-child { padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .landing-final .button { width: 100%; }
  .landing-footer { grid-template-columns: 1fr auto; width: calc(100% - 36px); }
  .landing-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-body * { scroll-behavior: auto !important; }
  .motion-ready .landing-reveal,.motion-ready .landing-reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .motion-ready .landing-intro *,
  .motion-ready .landing-hero::before,
  .motion-ready #landing-network-canvas,
  .motion-ready .landing-hero__copy *,
  .motion-ready .landing-checkpoint,
  .motion-ready .landing-protocol *,
  .motion-ready .landing-safety *,
  .motion-ready .landing-final * { opacity: 1; clip-path: none; transform: none; animation: none !important; }
  .landing-live i { animation: none; }
  .landing-body .button { transition: none; }
}

.topbar {
  position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(160px,1fr) auto minmax(160px,1fr); align-items: center;
  min-height: 68px; padding: 0 34px; color: #f7f8f5; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,9,13,.92); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; width: fit-content; text-decoration: none; }
.atn-lockup { position: relative; display: inline-flex; width: fit-content; color: inherit; line-height: 1; }
.atn-wordmark { display: block; width: 92px; height: 28px; overflow: visible; }
.atn-wordmark__stroke, .atn-wordmark__signal { fill: none; stroke: currentColor; stroke-width: 4.2; stroke-linecap: square; stroke-linejoin: bevel; }
.atn-wordmark__signal { color: var(--signal); stroke-width: 5; }
.atn-wordmark--large { width: 160px; height: auto; color: #f7f8f5; }
.atn-beta { position: absolute; top: -7px; right: -22px; color: #6f89ff; font: 800 7px/1 var(--mono); letter-spacing: .12em; }
.atn-lockup--large .atn-beta { top: -8px; right: -29px; font-size: 9px; }
.topnav { display: flex; gap: 3px; padding: 4px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.045); }
.topnav a { padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 700; text-decoration: none; transition: color 160ms ease, background 160ms ease; }
.topnav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.topnav a[aria-current="page"] { color: var(--night); background: var(--signal); }
.topbar-actions { display: flex; justify-self: end; align-items: center; gap: 12px; }
.logout-form { display: flex; justify-self: end; align-items: center; gap: 10px; margin: 0; }
.actor-chip { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.48); font-size: 10px; }
.actor-chip i, .network-kicker i, .signal-card__head i, .task-kind i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px rgba(199,255,94,.7); }
.locale-switch { display: inline-flex; align-items: center; gap: 2px; width: fit-content; margin: 0; padding: 3px; color: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); }
.locale-switch__option { min-width: 34px; min-height: 28px; padding: 5px 8px; color: rgba(255,255,255,.58); border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 750 11px/1 var(--mono); }
.locale-switch__option:hover { color: #fff; }
.locale-switch__option[aria-pressed="true"] { color: var(--night); background: var(--signal); }

.shell { width: min(1220px, calc(100% - 48px)); min-height: calc(100vh - 138px); margin: 0 auto; padding: 58px 0 84px; }
.shell--network { width: 100%; max-width: none; padding: 0 0 88px; }
.page-heading { margin-bottom: 34px; }
.page-heading h1 { max-width: 900px; margin: 7px 0 0; font-family: var(--display); font-size: var(--title-page); line-height: 1.05; letter-spacing: -.04em; }
.eyebrow { margin: 0; color: var(--blue); font: 750 10px/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.footer { display: flex; justify-content: space-between; width: min(1220px,calc(100% - 48px)); margin: 0 auto; padding: 22px 0 30px; color: #838982; border-top: 1px solid var(--line); font: 10px var(--mono); }
.network-home .footer { width: min(1280px,calc(100% - 48px)); }

.social-hero { position: relative; min-height: 550px; overflow: hidden; color: #f7f8f5; background: var(--night); isolation: isolate; }
.social-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.social-hero::after { position: absolute; inset: auto 0 0; z-index: 1; height: 130px; content: ""; pointer-events: none; background: linear-gradient(transparent,var(--night)); }
#task-network-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .98; pointer-events: none; }
#task-network-canvas.is-static { background: radial-gradient(ellipse at 72% 48%,rgba(69,91,255,.22),transparent 28%),linear-gradient(165deg,transparent 48%,rgba(100,88,255,.12) 50%,transparent 53%); }
.social-hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); align-items: center; gap: clamp(40px,8vw,120px); width: min(1280px,calc(100% - 64px)); min-height: 550px; margin: 0 auto; padding: 64px 0 74px; }
.social-hero__copy { max-width: 760px; }
.network-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: rgba(255,255,255,.58); font: 700 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.social-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(64px,5.5vw,76px); font-weight: 580; line-height: .94; letter-spacing: -.06em; }
.social-hero h1 span { display: block; white-space: nowrap; }
.social-hero h1 span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.78); }
.social-hero__copy > p:not(.network-kicker) { max-width: 670px; margin: 28px 0 0; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; gap: 10px; margin-top: 32px; }
.signal-card { align-self: center; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(14,18,25,.66); box-shadow: 0 32px 80px rgba(0,0,0,.28); backdrop-filter: blur(20px); }
.signal-card__head { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.44); font: 9px var(--mono); letter-spacing: .14em; }
.signal-card__head i { animation: breathe 2.4s ease-in-out infinite; }
.signal-card > strong { display: block; margin-top: 26px; font: 560 clamp(62px,7vw,92px)/.9 var(--display); letter-spacing: -.07em; }
.signal-card > p { margin: 12px 0 28px; color: rgba(255,255,255,.58); font-size: 13px; }
.signal-card dl { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.1); }
.signal-card dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.signal-card dt { color: rgba(255,255,255,.56); font-size: var(--text-meta); }
.signal-card dd { margin: 0; font: 12px var(--mono); }

.task-feed { width: min(1280px,calc(100% - 48px)); margin: 0 auto; padding-top: 58px; }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.feed-heading h2 { margin: 5px 0 0; font: 580 clamp(30px,3.5vw,46px)/1 var(--display); letter-spacing: -.045em; }
.feed-heading > p { margin: 0; color: var(--muted); font-size: 12px; }
.task-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 24px; }
.task-filters a { min-height: 38px; padding: 8px 12px; color: #4d5359; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; text-decoration: none; }
.task-filters a:hover,.task-filters a:focus-visible { color: var(--ink); border-color: #9ba098; }
.task-filters a:focus-visible { outline: 3px solid rgba(164,204,85,.3); outline-offset: 2px; }
.task-filters a.is-active { color: #173e2a; border-color: #96c881; background: #effbd9; }
.task-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.task-card { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 23px; overflow: hidden; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 5px 22px rgba(20,24,30,.035); text-decoration: none; transition: transform 220ms ease,border-color 220ms ease,box-shadow 220ms ease; animation: card-in 480ms both; }
.task-card:nth-child(2) { animation-delay: 70ms; }
.task-card:nth-child(3) { animation-delay: 140ms; }
.task-card::before { position: absolute; right: -80px; bottom: -100px; width: 210px; height: 210px; content: ""; border-radius: 50%; background: radial-gradient(circle,rgba(95,120,255,.13),transparent 68%); transition: transform 260ms ease; }
.task-card:hover { transform: translateY(-4px); border-color: #b8bcb2; box-shadow: var(--shadow); }
.task-card:hover::before { transform: scale(1.25); }
.task-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.task-kind { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.task-kind i { background: var(--blue); box-shadow: 0 0 10px rgba(95,120,255,.45); }
.task-card h2 { margin: 34px 0 9px; font: 620 22px/1.22 var(--display); letter-spacing: -.03em; }
.task-host { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font: 10px var(--mono); }
.task-host span { color: var(--blue); }
.proof-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.task-card__foot { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.reward { display: flex; align-items: baseline; gap: 5px; }
.reward > span { position: absolute; margin-top: -14px; color: var(--muted); font-size: 9px; }
.reward strong { font: 620 34px/1 var(--display); letter-spacing: -.05em; }
.reward small { font: 9px var(--mono); }
.task-card__foot dl { display: flex; gap: 18px; margin: 0; text-align: right; }
.task-card__foot dt { color: var(--muted); font-size: var(--text-meta); }
.task-card__foot dd { margin: 3px 0 0; font: 9px var(--mono); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-size: 14px; font-weight: 780; line-height: 1.2; text-decoration: none; transition: transform 160ms ease,box-shadow 160ms ease,background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--signal { min-height: 48px; padding: 12px 18px; color: var(--night); background: var(--signal); box-shadow: 0 12px 30px rgba(163,218,61,.15); }
.button--signal span { font-size: 18px; }
.button--glass { min-height: 48px; color: #fff; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.button--primary { color: #fff; background: var(--night); box-shadow: 0 9px 22px rgba(7,9,13,.15); }
.button--quiet { min-height: 34px; padding: 7px 11px; color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.button--positive { color: #0d4f34; background: #bceecf; }
.button--danger { color: #fff; background: var(--red); }
.button--danger-quiet { color: var(--red); border-color: #efceca; background: var(--red-wash); }
.button--wide { width: 100%; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: none; }

.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.93); box-shadow: 0 7px 30px rgba(20,24,30,.04); }
.panel--attention { border-color: #ead28b; background: var(--amber-wash); }
.panel h2 { margin: 4px 0 0; font: 620 21px var(--display); letter-spacing: -.025em; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.field-hint { color: var(--muted); font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: -10px 0 28px; }
.toolbar p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.7; }
.split-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 22px; align-items: start; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(290px,.85fr); gap: 22px; align-items: start; }
.detail-main,.detail-aside { display: grid; gap: 22px; }

.status,.proof-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 8px; border-radius: 999px; font: 800 11px var(--mono); letter-spacing: .04em; white-space: nowrap; }
.status--positive { color: var(--green); background: var(--green-wash); }
.status--negative { color: #963838; background: var(--red-wash); }
.status--attention { color: #7b5a09; background: var(--amber-wash); }
.status--neutral { color: #565c63; background: #eceee9; }
.proof-badge { color: #515860; border: 1px solid #d8dbd4; background: #f1f2ee; }
.proof-badge--p1 { color: #4756a2; border-color: #d6dcff; background: var(--blue-wash); }
.proof-badge--p2 { color: #68511b; border-color: #ecd99f; background: var(--amber-wash); }
.proof-badge--p3,.proof-badge.is-semantic { color: #38560b; border-color: #cde79c; background: #effbd9; }
.proof-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.proof-empty,.proof-note { color: var(--muted); font-size: 10px; line-height: 1.6; }
.proof-note { margin: 15px 0 0; }

.form-stack { display: grid; gap: 17px; }
.compact-form { gap: 13px; }
label { display: grid; gap: 7px; color: #4d5359; font-size: 14px; font-weight: 700; }
input,select,textarea { width: 100%; padding: 11px 12px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; background: #fbfcfa; transition: border 140ms ease,box-shadow 140ms ease; }
input:hover,select:hover,textarea:hover { border-color: #9ba098; }
input:focus,select:focus,textarea:focus { border-color: #778b4d; outline: 0; box-shadow: 0 0 0 3px rgba(164,204,85,.16); }
textarea { min-height: 96px; resize: vertical; }
fieldset { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
legend { padding: 0 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.form-grid { display: grid; gap: 15px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.page-guide { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; margin: -8px 0 26px; padding: 20px 22px; border: 1px solid #d9ddf2; border-radius: 16px; background: #f7f8ff; }
.page-guide__copy h2 { margin: 5px 0 7px; font: 620 21px/1.2 var(--display); }
.page-guide__copy > p:last-child { margin: 0; color: #4d5359; font-size: 14px; line-height: 1.65; }
.page-guide__action { display: grid; justify-items: end; gap: 10px; min-width: 180px; }
.page-guide__action > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.page-guide--action { border-color: #cde79c; background: #f3fbdc; }
.page-guide--warning { border-color: #ead28b; background: var(--amber-wash); }
.page-guide--success { border-color: #bce4ce; background: var(--green-wash); }
.editor-layout { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,.75fr); gap: 22px; align-items: start; }
.editor-main { display: grid; gap: 22px; }
.editor-aside { position: sticky; top: 92px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-card { grid-template-columns: auto 1fr; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; cursor: pointer; }
.choice-card:has(input:checked) { border-color: #92a565; background: #f1f9df; box-shadow: inset 0 0 0 1px #92a565; }
.choice-card input,.check-row input { width: auto; }
.choice-card span { display: grid; gap: 3px; }
.choice-card small { color: var(--muted); font-weight: 500; }
.skill-lock { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px dashed #aeb2aa; border-radius: 12px; background: #f4f5f1; }
.skill-lock__icon { color: var(--blue); font-size: 25px; }
.skill-lock div { display: grid; gap: 3px; }
.skill-lock small { color: var(--muted); font-size: 12px; }

.publish-flow { display: grid; gap: 30px; }
.skill-handoff { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(28px,5vw,72px); padding: clamp(26px,4vw,48px); overflow: hidden; color: #f7f8f5; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: var(--night-2); box-shadow: 0 26px 70px rgba(7,9,13,.16); }
.skill-handoff__intro { align-self: center; }
.skill-handoff__intro .eyebrow { color: var(--signal); }
.skill-handoff__intro h2 { max-width: 560px; margin: 9px 0 14px; font: 590 clamp(28px,3.4vw,42px)/1.06 var(--display); letter-spacing: -.045em; }
.skill-handoff__intro > p:not(.eyebrow) { max-width: 560px; margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.72; }
.skill-handoff__steps { display: grid; gap: 11px; margin: 25px 0 0; padding: 0; list-style: none; }
.skill-handoff__steps li { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 11px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
.skill-handoff__steps span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--night); border-radius: 50%; background: var(--signal); font: 800 11px var(--mono); }
.skill-handoff__intro > .button { width: fit-content; margin-top: 22px; }
.skill-handoff__prompt { display: grid; align-content: start; gap: 11px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.045); }
.skill-handoff__prompt label { color: rgba(255,255,255,.72); font-size: 13px; }
.skill-prompt { min-height: 250px; color: #e8eee3; border-color: rgba(255,255,255,.13); background: #090c11; font: 13px/1.72 var(--mono); }
.skill-prompt:hover,.skill-prompt:focus { border-color: rgba(199,255,94,.55); }
.copy-status { min-height: 21px; margin: 0; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.55; }
.manual-task { display: grid; gap: 20px; padding-top: 10px; }
.manual-task__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 0 4px; }
.manual-task__heading h2 { margin: 6px 0 0; font: 590 30px/1.1 var(--display); letter-spacing: -.035em; }
.manual-task__heading > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: right; }
.external-action { grid-template-columns: auto minmax(0,1fr); align-items: start; padding: 14px; border: 1px solid #ead28b; border-radius: 12px; background: var(--amber-wash); }
.external-action input { width: auto; margin-top: 3px; }
.external-action span { display: grid; gap: 4px; }
.external-action small { color: #6e5821; font-weight: 520; line-height: 1.5; }
.connections-flow { display: grid; gap: 24px; }
.media-identities { scroll-margin-top: 92px; }
.media-identities__heading .field-hint { max-width: 720px; margin: 10px 0 0; line-height: 1.65; }
.media-identities__distinction { max-width: 760px; margin: 10px 0 0; color: #4054bc; font-size: 13px; font-weight: 700; line-height: 1.6; }
.media-identities__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 22px; align-items: start; margin-top: 22px; }
.media-identities__accounts,.media-identities__bind { display: grid; gap: 14px; }
.media-identities__accounts h3,.media-identities__bind h3 { margin: 0; font: 620 17px var(--display); }
.media-identities__bind { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.media-challenge { display: grid; gap: 13px; margin-top: 22px; padding: 20px; border: 1px solid #d5e7a8; border-radius: 16px; background: #f6fce8; }
.media-challenge__boundary { margin: 10px 0 0; color: #5d642d; font-size: 13px; line-height: 1.65; }
.media-challenge__text { min-height: 76px; color: #e8eee3; border-color: rgba(255,255,255,.12); background: var(--night-2); font: 13px/1.65 var(--mono); resize: none; }
.human-task-summary { display: grid; gap: 20px; }
.human-task-summary .section-heading { margin-bottom: 0; }
.human-task-copy { margin: 0; color: #353a40; font-size: 15px; line-height: 1.78; white-space: pre-wrap; }
.human-task-target { display: grid; gap: 7px; padding: 14px 16px; border: 1px solid #d9ddf2; border-radius: 11px; background: #f7f8ff; }
.human-task-target span { color: var(--muted); font-size: 12px; }
.human-task-target strong { color: #4054bc; font: 12px/1.6 var(--mono); overflow-wrap: anywhere; }
.completion-summary { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.completion-summary h3 { margin: 0; font: 620 17px var(--display); }
.completion-summary ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #353a40; font-size: 14px; line-height: 1.65; }
.technical-details { padding: 0; overflow: hidden; }
.technical-details > summary { padding: 18px 22px; cursor: pointer; font-size: 14px; font-weight: 780; list-style-position: inside; }
.technical-details[open] > summary { border-bottom: 1px solid var(--line); }
.technical-details__body { display: grid; gap: 24px; padding: 22px; }
.task-markdown { max-height: 360px; overflow: auto; margin: 12px 0 0; padding: 16px; color: #dce5db; border-radius: 12px; background: var(--night-2); font: 11px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.technical-details code { font-size: 12px; overflow-wrap: anywhere; }
.detail-main .skill-handoff { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
.detail-main .skill-prompt { min-height: 210px; }
.safety-confirmation h2 { margin: 0; }
.safety-findings { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.safety-findings li { display: grid; gap: 5px; padding: 12px; border: 1px solid #ead28b; border-radius: 10px; background: var(--amber-wash); }
.safety-findings strong { color: #5d4d26; font-size: 12px; line-height: 1.55; }
.safety-findings span { color: #78642f; font-size: 11px; line-height: 1.55; }

.protocol-spine { display: grid; grid-template-columns: repeat(6,1fr); margin: 0 0 26px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; list-style: none; }
.protocol-spine li { position: relative; display: flex; align-items: center; gap: 8px; color: #858b84; font: 800 11px var(--mono); letter-spacing: .03em; }
.protocol-spine li:not(:last-child)::after { position: absolute; top: 50%; left: 14px; z-index: 0; width: calc(100% - 9px); height: 2px; content: ""; background: var(--line); }
.protocol-spine__dot { position: relative; z-index: 1; display: block; width: 10px; height: 10px; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; }
.protocol-spine li span:last-child { position: relative; z-index: 1; padding-right: 8px; background: #fff; }
.protocol-spine li.is-reached { color: var(--ink); }
.protocol-spine li.is-reached .protocol-spine__dot { border-color: var(--signal-dark); background: var(--signal); box-shadow: 0 0 0 4px #effbd9; }
.protocol-spine li.is-reached:not(:last-child)::after { background: #bad478; }
.target-url { display: flex; justify-content: space-between; gap: 18px; padding: 15px 17px; color: #4054bc; border: 1px solid #d9ddf2; border-radius: 11px; background: #f7f8ff; font: 11px var(--mono); text-decoration: none; overflow-wrap: anywhere; }
.target-url--small { padding: 10px 12px; font-size: 12px; }
.assertion-list { display: grid; gap: 12px; margin-top: 20px; }
.assertion { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding: 17px; border-left: 3px solid var(--blue); background: #f8f9ff; }
.assertion__mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--blue); border-radius: 50%; background: var(--blue-wash); font: 800 8px var(--mono); }
.assertion strong { font: 11px var(--mono); }
.assertion p { margin: 4px 0 8px; color: var(--muted); font-size: 10px; }
.assertion code { color: var(--ink); font-size: 10px; }
.protocol-card dl,.fact-list { display: grid; gap: 0; margin: 20px 0 0; }
.protocol-card dl div,.fact-list div { display: grid; gap: 5px; padding: 12px 0; border-top: 1px solid var(--line); }
.protocol-card dt,.fact-list dt { color: var(--muted); font-size: var(--text-meta); }
.protocol-card dd,.fact-list dd { margin: 0; font-size: 13px; font-weight: 680; overflow-wrap: anywhere; }
.protocol-card code { font-size: 12px; }

.record-list { display: grid; gap: 10px; }
.record-list--roomy { gap: 14px; }
.record { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; }
.record--link { padding: 19px; text-decoration: none; transition: border 150ms ease,transform 150ms ease; }
.record--link:hover { transform: translateX(3px); border-color: #aeb2aa; }
.record > div:first-child { display: grid; gap: 5px; min-width: 0; }
.record-guidance { color: #4054bc; font-size: 12px; font-weight: 750; }
.record small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.record > .mono { color: var(--muted); font-size: 12px; }
.receipt-json { max-height: 360px; overflow: auto; margin: 0; padding: 18px; color: #dce5db; border: 1px solid #242a31; border-radius: 12px; background: var(--night-2); font: 12px/1.7 var(--mono); }
.receipt-details { margin-top: 18px; }
.receipt-details .receipt-json { border: 0; border-radius: 0; }
.evidence-list { display: grid; gap: 10px; margin-top: 15px; }
.evidence-list article { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.evidence-list span,.evidence-list a { color: var(--blue); font-size: 9px; }
.evidence-list code { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
.evidence-list small { grid-column: 2/-1; color: var(--muted); font-size: 12px; }
.or-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; }
.or-divider::before,.or-divider::after { flex: 1; height: 1px; content: ""; background: var(--line); }
.notice { display: block; padding: 14px 16px; border-radius: 11px; font-size: 11px; line-height: 1.5; text-decoration: none; }
.notice--error { color: #8f3232; border: 1px solid #f0c9c7; background: var(--red-wash); }
.notice--info { color: #4054bc; border: 1px solid #d0d6ff; background: var(--blue-wash); }
.notice--warning { color: #6e5821; border: 1px solid #ead28b; background: var(--amber-wash); }
.secret-once { display: grid; gap: 8px; padding: 16px; border: 1px solid #e8c86b; border-radius: 12px; background: var(--amber-wash); }
.secret-once code { display: block; overflow: auto; padding: 10px; color: #fff; border-radius: 8px; background: var(--night); font-size: 13px; }
.secret-once p { margin: 0; color: #6e5821; font-size: 13px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-row { grid-template-columns: auto 1fr; align-items: center; font-size: 13px; font-weight: 550; }
.empty-state { display: grid; justify-items: center; padding: 75px 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,.62); text-align: center; }
.empty-state__mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 22px; }
.empty-state h2 { margin: 0; font: 620 22px var(--display); }
.empty-state p { max-width: 430px; margin: 8px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.dispute-thread { position: relative; display: grid; gap: 0; padding-left: 48px; }
.dispute-thread::before { position: absolute; top: 48px; bottom: 48px; left: 32px; width: 2px; content: ""; background: var(--line); }
.dispute-thread article { position: relative; min-height: 165px; padding: 24px 20px 28px; border-bottom: 1px solid var(--line); }
.dispute-thread article:last-child { border: 0; }
.thread-dot { position: absolute; top: 28px; left: -48px; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: var(--line-strong); box-shadow: 0 0 0 2px var(--line-strong); }
.thread-dot--executor { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.thread-dot--admin { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.dispute-thread h2 { margin: 7px 0 10px; }
.dispute-thread article > p:not(.eyebrow) { color: #4d5359; line-height: 1.7; }
.dispute-thread small,.thread-pending { color: var(--muted); font-size: 12px; }
.dispute-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.dispute-card { display: grid; gap: 18px; }
.dispute-card blockquote { margin: 0; padding: 14px 16px; border-left: 3px solid var(--amber); background: var(--amber-wash); }
.dispute-card blockquote strong { font: 9px var(--mono); }
.dispute-card blockquote p { margin: 7px 0 0; color: #5d4d26; font-size: 11px; line-height: 1.6; }

.balance-hero { position: relative; min-height: 220px; margin-bottom: 22px; padding: 36px; overflow: hidden; color: #fff; border-radius: 22px; background: var(--night-2); box-shadow: var(--shadow); }
.balance-hero::before { position: absolute; top: -90px; right: -80px; width: 300px; height: 300px; content: ""; border: 52px solid rgba(95,120,255,.25); border-radius: 50%; }
.balance-hero::after { position: absolute; right: 108px; bottom: -55px; width: 115px; height: 115px; content: ""; border: 22px solid rgba(199,255,94,.13); border-radius: 50%; }
.balance-hero p { margin: 0 0 16px; color: rgba(255,255,255,.62); font-size: 14px; }
.balance-hero strong { position: relative; z-index: 1; display: block; font: 580 clamp(46px,7vw,76px)/1 var(--display); letter-spacing: -.05em; }
.balance-hero strong span { font: 13px var(--mono); letter-spacing: .08em; }
.balance-hero small { position: absolute; bottom: 32px; color: rgba(255,255,255,.58); font-size: 13px; }
.ledger-table-wrap { overflow-x: auto; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger-table th { padding: 0 12px 14px; color: var(--muted); font-size: 13px; text-align: left; }
.ledger-table td { padding: 20px 12px; border-top: 1px solid var(--line); }
.ledger-table td:nth-child(2) { display: grid; gap: 5px; }
.ledger-table small { color: var(--muted); font: 12px/1.5 var(--mono); }
.align-right { text-align: right !important; }
.direction { padding: 5px 9px; border-radius: 999px; font: 700 12px var(--mono); }
.direction--credit { color: var(--green); background: var(--green-wash); }
.direction--debit { color: #963838; background: var(--red-wash); }

.auth-body { color: #fff; background: var(--night); }
.auth-shell { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(480px,.92fr); min-height: 100vh; }
.auth-thesis { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px,8vw,120px); overflow: hidden; background: var(--night); }
.auth-thesis::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 70% 42%,rgba(95,120,255,.2),transparent 30%),linear-gradient(125deg,transparent 48%,rgba(199,255,94,.08) 49%,transparent 50%); }
.auth-thesis > * { position: relative; z-index: 1; }
.auth-thesis h1 { font-size: clamp(40px,4.2vw,56px); line-height: 1.04; margin: 28px 0 24px; font-family: var(--display); font-weight: 580; letter-spacing: -.055em; }
.auth-rationale { max-width: 620px; margin: 0; color: rgba(255,255,255,.64); font-size: 16px; line-height: 1.72; }
.auth-boundary { max-width: 620px; margin: 15px 0 0; color: rgba(199,255,94,.75); font: 700 12px/1.6 var(--mono); }
.auth-locale { position: fixed; top: 24px; right: 28px; z-index: 20; color: rgba(255,255,255,.42); background: rgba(7,9,13,.86); box-shadow: 0 12px 30px rgba(0,0,0,.16); backdrop-filter: blur(16px); }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px,7vw,100px); color: var(--ink); background: var(--bg); }
.auth-card h2 { font-size: clamp(26px,3vw,32px); margin: 8px 0 28px; font-family: var(--display); font-weight: 620; letter-spacing: -.03em; }
.auth-card .form-note { margin-top: 18px; }
.auth-shell--connect .auth-card { padding-right: clamp(32px,6vw,88px); padding-left: clamp(32px,6vw,88px); }
.connect-steps { font-size: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0 0 24px; padding: 0; list-style: none; }
.connect-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 9px; min-width: 0; color: var(--muted); }
.connect-steps li:not(:last-child)::after { position: absolute; top: 15px; right: 7px; left: 39px; height: 1px; content: ""; background: var(--line-strong); }
.connect-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); font: 750 12px/1 var(--mono); }
.connect-steps strong { position: relative; z-index: 1; width: fit-content; padding-right: 9px; background: var(--bg); font-weight: 650; line-height: 1.35; }
.connect-steps .is-current { color: var(--ink); }
.connect-steps .is-current span { color: var(--night); border-color: var(--signal-dark); background: var(--signal); box-shadow: 0 0 0 4px rgba(199,255,94,.2); }
.connect-helper { margin: -6px 0 16px; color: #4d5359; font-size: 14px; line-height: 1.6; }
#agent-connect-prompt { min-height: 210px; font-size: 14px; line-height: 1.65; padding: 16px; border-color: var(--line); background: var(--paper); font-family: var(--mono); }
#copy-agent-connect { width: 100%; min-height: 48px; margin-top: 14px; }
#agent-connect-status { font-size: 14px; min-height: 23px; }
.connection-list { gap: 12px; }
.connection-card { min-height: 92px; padding: 18px 20px; background: var(--paper); }
.connection-card strong { font-size: 17px; line-height: 1.35; }
.connection-card .status { font-size: 13px; }
.connection-meta { font-size: 13px; line-height: 1.55; display: block; }

@keyframes breathe { 50% { opacity: .35; transform: scale(.7); } }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-thesis { min-height: 46vh; padding: 64px clamp(36px,8vw,76px); }
  .auth-thesis h1 { white-space: normal; }
  .auth-card,.auth-shell--connect .auth-card { min-height: 54vh; padding: 60px clamp(36px,8vw,76px); }
  .topbar { grid-template-columns: 1fr auto; padding: 0 22px; backdrop-filter: none; }
  .topnav { position: fixed; right: 16px; bottom: max(14px,env(safe-area-inset-bottom)); left: 16px; z-index: 40; justify-content: space-around; background: rgba(7,9,13,.94); box-shadow: 0 14px 42px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
  .topnav a { flex: 1; text-align: center; }
  .topbar-actions { grid-column: 2; }
  .social-hero__content { grid-template-columns: 1fr minmax(270px,.55fr); gap: 36px; }
  .task-grid { grid-template-columns: repeat(2,1fr); }
  .detail-layout,.editor-layout,.split-layout { grid-template-columns: 1fr; }
  .skill-handoff { grid-template-columns: 1fr; }
  .editor-aside { position: static; }
  .dispute-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 94px; }
}

@media (max-width: 680px) {
  .topbar { min-height: 60px; padding: 0 15px; }
  .atn-wordmark { width: 78px; }
  .actor-chip { display: none; }
  .topbar-actions { gap: 7px; }
  .topbar .locale-switch { padding: 2px; }
  .topbar .locale-switch__option { min-width: 30px; min-height: 26px; padding: 4px 6px; font-size: 10px; }
  .logout-form .button { min-height: 32px; padding: 6px 10px; }
  .topnav { overflow-x: auto; justify-content: flex-start; }
  .topnav a { flex: 0 0 auto; padding: 8px 12px; }
  .shell,.footer { width: min(100% - 28px,1220px); }
  .shell { padding-top: 38px; }
  .shell--network { width: 100%; padding-top: 0; }
  .page-heading { margin-bottom: 26px; }
  .page-heading h1 { font-size: var(--title-page-mobile); }
  .social-hero { min-height: 680px; }
  .social-hero__content { display: flex; flex-direction: column; align-items: stretch; justify-content: center; width: calc(100% - 30px); min-height: 680px; padding: 58px 0 65px; }
  .social-hero h1 { font-size: clamp(42px,12vw,50px); letter-spacing: -.05em; }
  .social-hero__copy > p:not(.network-kicker) { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .signal-card { align-self: stretch; width: 100%; padding: 18px; }
  .signal-card > strong { font-size: 54px; }
  .signal-card > p { margin-bottom: 16px; }
  .signal-card dl { grid-template-columns: repeat(3,1fr); }
  .signal-card dl div { display: grid; gap: 5px; }
  .task-feed { width: calc(100% - 28px); padding-top: 42px; }
  .feed-heading { align-items: flex-start; flex-direction: column; }
  .task-grid { grid-template-columns: 1fr; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar .button { width: 100%; }
  .panel { padding: 20px; }
  .page-guide { grid-template-columns: 1fr; gap: 16px; margin-bottom: 22px; padding: 18px; }
  .page-guide__action { justify-items: stretch; min-width: 0; }
  .page-guide__action .button { width: 100%; }
  .protocol-spine { grid-template-columns: repeat(6,minmax(66px,1fr)); overflow-x: auto; }
  .form-grid--2,.choice-grid,.check-grid { grid-template-columns: 1fr; }
  .media-identities__grid { grid-template-columns: 1fr; }
  .skill-handoff { gap: 24px; padding: 22px; border-radius: 18px; }
  .skill-handoff__intro h2 { font-size: 30px; }
  .skill-prompt { min-height: 280px; font-size: 12px; }
  .manual-task__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .manual-task__heading > p { text-align: left; }
  .record { grid-template-columns: minmax(0,1fr) auto; }
  .record form { grid-column: 1/-1; }
  .record form .button { width: 100%; }
  .evidence-list article { grid-template-columns: 1fr; }
  .evidence-list small { grid-column: auto; }
  .balance-hero { min-height: 205px; padding: 28px; }
  .ledger-table-wrap { overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .ledger-table,.ledger-table tbody,.ledger-table tr,.ledger-table td { display: block; width: 100%; }
  .ledger-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger-table tbody { display: grid; gap: 12px; }
  .ledger-table tr { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .ledger-table td { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); text-align: left !important; overflow-wrap: anywhere; }
  .ledger-table td:first-child { border-top: 0; }
  .ledger-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 700; }
  .ledger-table td:nth-child(2) { display: grid; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-thesis { min-height: 50vh; padding: 55px 28px; }
  .auth-thesis h1 { font-size: clamp(34px,9vw,40px); white-space: normal; }
  .auth-locale { top: 16px; right: 16px; }
  .auth-card { min-height: 50vh; padding: 52px 28px; }
  .auth-shell--connect .auth-card { padding-right: 28px; padding-left: 28px; }
  .connect-steps { gap: 8px; }
  .connect-steps li { grid-template-columns: 28px 1fr; gap: 7px; align-items: start; }
  .connect-steps li:not(:last-child)::after { display: none; }
  .connect-steps span { width: 28px; height: 28px; }
  .connect-steps strong { padding: 5px 0 0; background: transparent; font-size: 13px; }
  .connection-card { grid-template-columns: minmax(0,1fr) auto; }
  .footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .shell { padding-bottom: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
