:root{
  --bg:#0B0F1A;
  --bg-2:#111827;
  --surface:rgba(255,255,255,0.03);
  --surface-strong:rgba(17,24,39,0.92);
  --line:rgba(255,255,255,0.06);
  --line-strong:rgba(255,255,255,0.12);
  --text:#FFFFFF;
  --muted:#9CA3AF;
  --purple:#7C3AED;
  --blue:#3B82F6;
  --green:#22C55E;
  --warning:#F59E0B;
  --pink:#EC4899;
  --gradient:linear-gradient(135deg,var(--purple),var(--blue));
  --radius:14px;
  --shadow-soft:0 14px 36px rgba(0,0,0,.22);
  --shadow-strong:0 20px 48px rgba(0,0,0,.32);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,"Segoe UI",system-ui,sans-serif;
  line-height:1.5;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%,rgba(124,58,237,.18),transparent 24%),
    radial-gradient(circle at 90% 6%,rgba(59,130,246,.14),transparent 24%),
    linear-gradient(180deg,var(--bg) 0%,#0E1525 100%);
}

button,input,textarea,select{font:inherit;line-height:1.4}

button{
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--text);
  border-radius:14px;
  min-height:48px;
  padding:12px 16px;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease;
}
button:hover{
  transform:scale(1.02);
  border-color:rgba(124,58,237,.28);
  box-shadow:var(--shadow-soft);
}
button:active{transform:scale(.96)}
button:disabled{
  opacity:.56;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

input,textarea,select{
  width:100%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:14px;
  padding:14px 16px;
}
select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.04)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M4.47 6.97a.75.75 0 0 1 1.06 0L8 9.44l2.47-2.47a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 0 1 0-1.06Z'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right:48px;
}
select option,
select optgroup{
  background:var(--bg-2);
  color:var(--text);
}
input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:rgba(59,130,246,.32);
  box-shadow:0 0 0 4px rgba(59,130,246,.08);
}
textarea{resize:vertical}

#appFrame{
  width:min(1280px,calc(100% - 48px));
  margin:0 auto;
  padding:24px 0 120px;
}

#appHeader{
  position:sticky;
  top:16px;
  z-index:30;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:24px;
  align-items:center;
  padding:14px 18px;
  background:rgba(11,15,26,.76);
  border:1px solid var(--line);
  border-radius:18px;
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-soft);
}

#brandSlot{
  display:flex;
  align-items:center;
  gap:12px;
}
#brandSlot::before{
  content:"G";
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--gradient);
  font-weight:800;
  box-shadow:0 10px 24px rgba(124,58,237,.28);
}
#brandSlot strong{
  display:block;
  font-size:18px;
  letter-spacing:-.03em;
}
#brandSlot .brand-copy{
  min-width:0;
}
#brandSlot p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
#brandSlot .brand-context{
  display:grid;
  gap:4px;
  padding-left:12px;
  border-left:1px solid var(--line);
}
#brandSlot .brand-context small{
  max-width:260px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-chip{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
}

#routeList{
  display:flex;
  gap:8px;
  justify-content:center;
}
#routeList a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 14px;
  border-radius:12px;
  color:var(--muted);
  text-decoration:none;
  border:1px solid transparent;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
#routeList a:hover,
#routeList a[aria-current="page"]{
  color:var(--text);
  background:rgba(255,255,255,.04);
  border-color:var(--line);
}

#topbarActions{
  display:flex;
  align-items:center;
  gap:10px;
}
#topbarActions button{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
#topbarActions button small{
  color:var(--muted);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ui-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#topbarActions .primary-action{
  background:var(--gradient);
  border-color:transparent;
  box-shadow:0 10px 28px rgba(59,130,246,.24);
}

#topbarActions .wallet-action{
  background:rgba(255,255,255,.05);
}

#statusToast{
  position:fixed;
  top:88px;
  right:20px;
  z-index:40;
  pointer-events:none;
}
#statusToast section{
  width:min(420px,calc(100vw - 40px));
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(15,20,32,.94);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-strong);
  opacity:0;
  transform:translateY(-8px);
  transition:opacity .2s ease,transform .2s ease;
}
#statusToast[data-tone] section{
  opacity:1;
  transform:translateY(0);
}
#statusToast[data-tone="success"] section{box-shadow:inset 0 0 0 1px rgba(34,197,94,.18),var(--shadow-strong)}
#statusToast[data-tone="warn"] section{box-shadow:inset 0 0 0 1px rgba(245,158,11,.18),var(--shadow-strong)}
#statusToast p{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.5}

#appRoot{
  display:grid;
  gap:24px;
  margin-top:24px;
}

[data-structure]{
  display:grid;
  gap:32px;
}

section,article{
  min-width:0;
}

.shell-section,
.shell-panel,
.agent-card,
.feed-card,
.leader-row,
.step-card,
.result-block,
.metric-card,
.task-row,
.simple-panel{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  padding:16px 20px;
  backdrop-filter:blur(6px);
  box-shadow:var(--shadow-soft);
}

.mini-label{
  margin:0 0 8px;
  color:#BAA2FF;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
}

h1,h2,h3,p{margin:0}
h1{font-size:clamp(48px,6vw,56px);line-height:1.04;letter-spacing:-.05em}
h2{font-size:clamp(24px,3vw,28px);line-height:1.12;letter-spacing:-.03em}
h3{font-size:20px;line-height:1.18;letter-spacing:-.02em}
p,small,span,label,dt{font-size:14px;line-height:1.6}
.muted{color:var(--muted)}
.empty-inline{
  padding:16px 18px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.1);
  color:var(--muted);
  background:rgba(255,255,255,.02);
}
.empty-state{
  display:grid;
  gap:10px;
  padding:18px 20px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.1);
  background:rgba(255,255,255,.02);
}
.empty-state-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.error-state{
  display:grid;
  gap:12px;
  align-items:start;
}
.spinner{
  width:14px;
  height:14px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.25);
  border-top-color:#fff;
  animation:spin .8s linear infinite;
}

[data-structure="execution-home"] > header{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:24px;
  align-items:center;
}

.hero-copy{
  grid-column:span 6;
  display:grid;
  gap:20px;
}

.hero-copy__search{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:12px;
}

.hero-copy__search input{
  min-height:56px;
  font-size:16px;
}

.hero-primary{
  background:var(--gradient);
  border-color:transparent;
  box-shadow:0 10px 28px rgba(59,130,246,.24);
}

.hero-secondary{
  background:transparent;
}
.hero-primary:hover{
  box-shadow:0 16px 34px rgba(59,130,246,.28);
}

.hero-visual{
  grid-column:span 6;
}

.hero-system{
  position:relative;
  min-height:360px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 30%,rgba(124,58,237,.22),transparent 28%),
    linear-gradient(180deg,rgba(124,58,237,.08),rgba(59,130,246,.06));
}

.hero-system__node{
  position:absolute;
  width:110px;
  height:110px;
  border-radius:999px;
  display:grid;
  place-items:center;
  text-align:center;
  font-weight:700;
  background:rgba(17,24,39,.88);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 0 0 6px rgba(255,255,255,.02),0 0 28px rgba(124,58,237,.2);
}
.hero-system__node--task{left:28px;top:132px}
.hero-system__node--agent{left:50%;top:40px;transform:translateX(-50%)}
.hero-system__node--result{right:32px;top:136px}
.hero-system__node--payout{left:50%;bottom:24px;transform:translateX(-50%)}

.hero-system__line{
  position:absolute;
  height:2px;
  background:linear-gradient(90deg,rgba(124,58,237,.7),rgba(59,130,246,.9));
}
.hero-system__line::after{
  content:"";
  position:absolute;
  right:-7px;
  top:-4px;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 0 16px rgba(255,255,255,.9);
  animation:orbitPulse 2.2s ease-in-out infinite;
}
.hero-system__line--1{left:118px;top:172px;width:222px;transform:rotate(-24deg)}
.hero-system__line--2{left:306px;top:138px;width:204px;transform:rotate(20deg)}
.hero-system__line--3{left:306px;top:218px;width:186px;transform:rotate(-12deg)}

.trust-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.metric-card strong{
  display:block;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-.04em;
}
.metric-card span{display:block;margin-top:6px;color:var(--muted)}

.live-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:24px;
}

.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.live-feed{
  display:grid;
  gap:12px;
}

.feed-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
  animation:slideInLeft .32s ease both;
}
.feed-card > div,
.leader-row__meta,
.leader-row__value,
.audit-item,
.attachment-item,
.result-block,
.simple-panel,
.status-banner,
.wallet-flow-card,
.wallet-session-card,
.checklist-row,
.agent-card__identity,
.agent-card__top{
  min-width:0;
}
.feed-card strong,
.feed-card p,
.leader-row strong,
.leader-row span,
.agent-card strong,
.agent-card p,
.audit-item strong,
.audit-item p,
.audit-item small,
.attachment-item strong,
.attachment-item p,
.attachment-item small,
.result-block strong,
.result-block p,
.simple-panel strong,
.simple-panel p,
.status-banner strong,
.status-banner p,
.wallet-flow-card strong,
.wallet-flow-card p,
.wallet-session-card h3,
.wallet-session-card p,
.wizard-stage-card h2,
.wizard-stage-card p,
.wizard-snapshot h3,
.wizard-snapshot p,
.metric-card strong,
.metric-card span,
.tag,
.tag-button,
.meta-pill,
.brand-chip{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.feed-card--success{
  border-color:rgba(34,197,94,.16);
  box-shadow:inset 0 0 0 1px rgba(34,197,94,.08),var(--shadow-soft);
}
.feed-card--trending{
  border-color:rgba(236,72,153,.16);
  box-shadow:inset 0 0 0 1px rgba(236,72,153,.08),var(--shadow-soft);
}
.feed-card__meta{
  display:grid;
  gap:8px;
  justify-items:end;
  text-align:right;
}
.feed-card__meta small{
  color:var(--muted);
}

.feed-card__pulse,
.live-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--green);
  box-shadow:0 0 0 0 rgba(34,197,94,.42);
  animation:livePulse 1.6s ease-out infinite;
  margin-top:7px;
}
.feed-card__pulse{background:var(--pink);box-shadow:0 0 14px rgba(236,72,153,.42)}

.leaderboard{
  display:grid;
  gap:12px;
}

.leader-row{
  display:grid;
  grid-template-columns:38px 1fr auto;
  align-items:center;
  gap:12px;
  animation:fadeUp .36s ease both;
}
.leader-row--up .leader-rank{
  box-shadow:inset 0 0 0 1px rgba(34,197,94,.18);
}
.leader-row--down .leader-rank{
  box-shadow:inset 0 0 0 1px rgba(236,72,153,.18);
}

.leader-rank{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  font-weight:700;
}

.leader-row__meta{
  display:grid;
  gap:3px;
}
.leader-row__value{
  display:grid;
  justify-items:end;
  gap:4px;
}

.trend-up{color:var(--green)}
.trend-down{color:var(--pink)}

.agent-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:300px;
  gap:16px;
  overflow-x:auto;
  padding-bottom:4px;
}

.agent-card{
  display:grid;
  gap:16px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.agent-card:hover{
  transform:scale(1.02);
  box-shadow:var(--shadow-strong),0 0 0 1px rgba(124,58,237,.18);
  border-color:rgba(124,58,237,.24);
}
.agent-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.agent-card__identity{
  display:flex;
  gap:12px;
}
.avatar{
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:700;
  background:var(--gradient);
  box-shadow:0 0 0 2px rgba(255,255,255,.05),0 10px 22px rgba(124,58,237,.24);
}
.agent-card__tagline{
  color:var(--muted);
  margin-top:4px;
}
.agent-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.tag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  font-size:12px;
  line-height:1.35;
}
.tag-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:auto;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  font-size:12px;
  line-height:1.35;
  color:var(--muted);
}
.tag-button:hover{
  border-color:rgba(255,255,255,.2);
  color:var(--text);
}
.agent-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.agent-metrics div{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
}
.agent-metrics strong{
  display:block;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.agent-metrics span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
}
.metric-success{color:#B5F7C8}
.metric-earnings{
  background:linear-gradient(135deg,rgba(124,58,237,.18),rgba(59,130,246,.12));
}
.agent-status{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
}
.agent-card footer button{width:100%}

.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.task-market-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.task-rail{
  display:grid;
  gap:12px;
}

.step-card{display:grid;gap:14px}
.step-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(124,58,237,.16);
  font-weight:800;
}

[data-structure="task-composer"] > header,
[data-structure="agent-market"] > header,
[data-structure="agent-profile"] > header,
[data-structure="dashboard"] > header,
[data-structure="create-agent"] > header,
[data-structure="task-detail"] > header,
[data-structure="admin-console"] > header{
  padding:24px 28px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  backdrop-filter:blur(6px);
}

.composer-grid,
.profile-grid,
.dashboard-grid,
.admin-grid,
.task-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:24px;
}

.composer-main,
.task-main{
  grid-column:span 8;
  display:grid;
  gap:24px;
}
.composer-side,
.task-side{
  grid-column:span 4;
  display:grid;
  gap:16px;
}

.composer-intro{
  padding:20px 22px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(124,58,237,.10),rgba(59,130,246,.06));
  border:1px solid rgba(124,58,237,.14);
}
.composer-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.composer-badges,
.preview-tags,
.meta-inline,
.ops-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.meta-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.form-grid .field-wide{grid-column:1 / -1}
.field-stack{
  display:grid;
  gap:8px;
}
.field-stack label{
  display:grid;
  gap:8px;
  color:var(--muted);
  font-size:13px;
}
.field-stack label strong{
  color:var(--text);
  font-size:13px;
}

.segmented{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.segmented .active{
  background:rgba(124,58,237,.18);
  border-color:rgba(124,58,237,.24);
}

.task-preview,
.info-panel{
  display:grid;
  gap:14px;
}
.disclosure-panel summary{
  cursor:pointer;
  list-style:none;
  font-weight:700;
}
.disclosure-panel summary::-webkit-details-marker{
  display:none;
}
.disclosure-panel__body{
  display:grid;
  gap:18px;
  margin-top:16px;
}
.tag-success{
  border-color:rgba(34,197,94,.28);
  color:#C6F6D5;
}
.tag-muted{
  opacity:.78;
}
.task-row--success{
  border-color:rgba(34,197,94,.18);
}
.task-row--trending{
  border-color:rgba(236,72,153,.18);
}
.task-row footer{
  margin-top:12px;
}
.attachment-list,
.audit-list{
  display:grid;
  gap:10px;
}
.attachment-item,
.audit-item{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.03);
}
.attachment-item small,
.audit-item p,
.audit-item small{
  color:var(--muted);
}

.info-panel .tag-cloud{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.status-banner{
  padding:16px 18px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.status-banner.warning{
  border-color:rgba(245,158,11,.22);
  background:rgba(245,158,11,.08);
}
.status-banner.info{
  border-color:rgba(59,130,246,.22);
  background:rgba(59,130,246,.08);
}

.mobile-action{
  display:none;
}

.task-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.ops-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.ops-stack{
  display:grid;
  gap:24px;
}

.result-surface{
  display:grid;
  gap:12px;
}

.result-block{
  padding:14px 16px;
}

.review-actions,
.secondary-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.wizard-progress{
  display:grid;
  gap:16px;
}

.wizard-progress__bar{
  width:100%;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  overflow:hidden;
}
.wizard-progress__bar span{
  display:block;
  height:100%;
  background:var(--gradient);
}

.wizard-steps{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
}

.wizard-steps button{
  min-height:auto;
  display:grid;
  gap:8px;
  justify-items:center;
  padding:12px 10px;
  text-align:center;
}

.wizard-shell{
  display:grid;
  gap:24px;
}
.wizard-layout{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);
  gap:24px;
}
.wizard-main,
.wizard-side{
  display:grid;
  gap:24px;
}
.wizard-stage-card{
  display:grid;
  gap:18px;
}
.wizard-stage-body{
  display:grid;
  gap:18px;
}
.wizard-snapshot{
  display:grid;
  gap:14px;
}
.wizard-preview-card{
  box-shadow:none;
}
.launch-checklist{
  display:grid;
  gap:10px;
}
.checklist-row{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
}
.checklist-row span{
  width:18px;
  text-align:center;
}
.checklist-row.is-ready{
  color:var(--text);
}
.checklist-row.is-ready span{
  color:var(--green);
}
.wizard-tools-grid button{
  min-height:56px;
}

.loading-shell{
  display:grid;
  gap:16px;
}

.skeleton{
  min-height:140px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  position:relative;
  overflow:hidden;
}
.skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
  animation:shimmer 1.3s ease-in-out infinite;
}

.wallet-sheet{
  position:fixed;
  inset:0;
  display:none;
  z-index:50;
}
.wallet-sheet.open{display:block}
.wallet-sheet-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}
.wallet-sheet-panel{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  max-width:960px;
  margin:0 auto;
  padding:24px;
  border-radius:22px;
  border:1px solid var(--line-strong);
  background:
    radial-gradient(circle at top right,rgba(124,58,237,.18),transparent 26%),
    linear-gradient(180deg,rgba(17,24,39,.96),rgba(11,15,26,.98));
  box-shadow:var(--shadow-strong);
}
.wallet-sheet-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}
.wallet-sheet-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.wallet-flow-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}
.wallet-flow-card{
  display:grid;
  gap:10px;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.wallet-flow-card:hover{
  transform:translateY(-2px);
  border-color:rgba(124,58,237,.24);
  background:rgba(255,255,255,.04);
}
.wallet-flow-step{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--gradient);
  font-size:12px;
  font-weight:700;
}
.wallet-session-card{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.wallet-session-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.wallet-sheet-note{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
}
.wallet-sheet-footer{
  margin-top:14px;
  color:var(--muted);
}
.status-banner strong,
.error-state strong,
.wallet-session-card h3{
  letter-spacing:-.02em;
}

.wallet-sheet-panel .wallet-sheet-handle{
  width:64px;
  height:6px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  margin:0 auto 16px;
}

.app-utility-hidden{
  position:absolute;
  left:-9999px;
  top:-9999px;
}

.burst-layer{pointer-events:none;position:fixed;inset:0;display:grid;place-items:center}

@keyframes shimmer{100%{transform:translateX(100%)}}
@keyframes livePulse{
  0%{box-shadow:0 0 0 0 rgba(34,197,94,.42)}
  70%{box-shadow:0 0 0 12px rgba(34,197,94,0)}
  100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}
}
@keyframes orbitPulse{
  0%,100%{opacity:.7;transform:scale(.9)}
  50%{opacity:1;transform:scale(1.2)}
}
@keyframes slideInLeft{
  from{opacity:0;transform:translateX(-10px)}
  to{opacity:1;transform:translateX(0)}
}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width:1024px){
  #appHeader{grid-template-columns:1fr}
  #routeList{justify-content:flex-start}
  [data-structure="execution-home"] > header,
  .live-grid,
  .task-market-grid,
  .composer-grid,
  .task-grid,
  .profile-grid,
  .dashboard-grid,
  .admin-grid,
  .ops-grid{
    grid-template-columns:1fr;
  }
  .hero-copy,.hero-visual,.composer-main,.composer-side,.task-main,.task-side{grid-column:auto}
  .wizard-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  .wizard-layout{
    grid-template-columns:1fr;
  }
  .wallet-flow-grid,
  .wallet-session-card{
    grid-template-columns:1fr;
    display:grid;
  }
}

@media (max-width:639px){
  #appFrame{width:min(100%,calc(100% - 16px));padding:12px 0 96px}
  #appHeader{padding:14px}
  #topbarActions{width:100%;flex-wrap:wrap}
  #topbarActions button{flex:1}
  #brandSlot .brand-context{display:none}
  .wallet-sheet-hero,
  .wallet-session-card{
    display:grid;
    gap:16px;
  }
  .wallet-flow-grid{
    grid-template-columns:1fr;
  }
  .hero-copy__search,
  .trust-strip,
  .steps-grid,
  .task-market-grid,
  .task-summary,
  .form-grid,
  .wizard-steps{
    grid-template-columns:1fr;
  }
  .agent-carousel{grid-auto-columns:minmax(280px,88vw)}
  .mobile-action{display:block}
  #statusToast{right:12px;left:12px;top:84px}
  #statusToast section{width:auto}
  h1{font-size:clamp(40px,11vw,48px)}
  .hero-system{min-height:300px}
  .hero-system__node{width:88px;height:88px}
  .hero-system__node--task{left:16px;top:120px}
  .hero-system__node--agent{top:34px}
  .hero-system__node--result{right:16px;top:126px}
  .hero-system__node--payout{bottom:18px}
  .hero-system__line--1{left:90px;top:166px;width:150px}
  .hero-system__line--2{left:210px;top:130px;width:120px}
  .hero-system__line--3{left:204px;top:196px;width:120px}
}
