/* AGENTPAD app: launch form, my coins, the workspace (five agent panels + live feed), launch and swarm dialogs. */
.nowrap { flex-wrap: nowrap; } .between { justify-content: space-between; } .mb16 { margin-bottom: 16px; } .clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk { font: 600 14px var(--mono); color: var(--acc); white-space: nowrap; } .acct { flex-wrap: nowrap; gap: 8px; } .wshead h1 { min-width: 0; overflow-wrap: anywhere; } .tiny.bad { color: var(--bad); }
.faces { display: flex; } .faces .aface + .aface { margin-left: -10px; }
.aface.lg { width: 64px; height: 64px; padding: 5px; } .aface.sm { width: 28px; height: 28px; padding: 2px; } .aface.think { animation: think 1.6s ease-in-out infinite; } @keyframes think { 50% { transform: translateY(-3px) rotate(-6deg); } }
.card.hov { transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; } .card.hov:hover { border-color: rgba(18, 245, 160, .45); transform: translateY(-3px); box-shadow: 0 20px 50px -26px rgba(18, 245, 160, .55); }
.empty.slim { padding: 22px 14px; } .empty.slim .eico { width: 52px; height: 52px; } .empty.slim b { font-size: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.ferr { color: #ffb4c0; font-size: 13px; min-height: 0; margin-top: 4px; } .ferr:empty { display: none; }

/* /launch */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; } @media (max-width: 960px) { .lgrid { grid-template-columns: minmax(0, 1fr); } }
.ask, .form { padding: 24px; } .ask h3, .form h3 { font-size: 26px; } .askrow { display: flex; gap: 10px; } .askrow input { flex: 1; min-width: 0; } @media (max-width: 520px) { .askrow { flex-direction: column; } }
.opts { display: grid; gap: 12px; } .opt { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: .3s var(--ease); } .opt.on { border-color: var(--acc); background: rgba(18, 245, 160, .07); } .opt b { font: 700 19px var(--disp); letter-spacing: -.02em; } .opt .mono { color: var(--acc); font-size: 13.5px; }
.lrow { display: flex; gap: 8px; flex-wrap: wrap; } .lthumb { width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--line2); overflow: hidden; padding: 0; background: var(--bg3); transition: .25s; } .lthumb:hover { border-color: rgba(18, 245, 160, .6); } .lthumb.on { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(18, 245, 160, .2); } .lthumb img { width: 100%; height: 100%; object-fit: cover; }
.logobox { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px dashed var(--line2); border-radius: 16px; }
@media (max-width: 520px) { .logobox { flex-direction: column; align-items: flex-start; } }

/* /projects */
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 20px; } .pcard h3 { font-size: 21px; overflow-wrap: anywhere; } .pcard .grow { min-width: 0; } .pcard .chip { flex: none; } .pcard .meta { margin-top: auto; } .newc { align-items: center; justify-content: center; text-align: center; border-style: dashed; min-height: 190px; gap: 10px; } .newc b { font: 700 22px var(--disp); }
.nlist .nrow { display: flex; align-items: center; gap: 12px; min-height: 56px; }

/* workspace: header, tabs, grid */
.ws { padding-top: 24px; } .wshead { display: flex; gap: 18px; align-items: center; padding: 20px 22px; flex-wrap: wrap; } .wshead h1 { font-size: clamp(26px, 3.4vw, 38px); } .wshead .grow { min-width: 220px; }
.wsbtns { margin-left: auto; flex-wrap: nowrap; } .wsbtns .btn { white-space: nowrap; }
button.chip.mono { cursor: pointer; } a.chip:hover, button.chip:hover { border-color: rgba(18, 245, 160, .5); color: var(--tx); }
.welcome { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px 16px; } .welcome svg { color: var(--acc); }
.agtabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.agtab { position: relative; display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 8px 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); text-align: left; transition: .3s var(--ease); min-width: 0; } .agtab:hover { border-color: color-mix(in srgb, var(--ac) 50%, transparent); transform: translateY(-2px); }
.agtab.on { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 13%, #07100c); box-shadow: 0 16px 40px -22px var(--ac); } .agtab .at { display: block; min-width: 0; } .agtab b { display: block; font: 700 15.5px var(--disp); letter-spacing: -.02em; white-space: nowrap; } .agtab .r { display: block; font-size: 12px; color: var(--tx3); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agtab .nb { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; font: 700 12px var(--mono); background: color-mix(in srgb, var(--ac) 22%, transparent); color: var(--ac); } .agtab .spin { margin-left: auto; border-top-color: var(--ac); }
.wsgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; } .panel { min-width: 0; } .side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
.sidec { padding: 16px; } .feed { display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow-y: auto; }
.fr { flex: none; display: flex; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 6px 8px; border-radius: 12px; text-align: left; font-size: 13.5px; line-height: 1.3; transition: background .2s; border-left: 2px solid transparent; } .fr:hover { background: var(--panel2); } .fr.sw { border-left-color: var(--ac); } .fr .grow { min-width: 0; overflow-wrap: anywhere; } .fr b { color: var(--ac); font-weight: 600; } .fr .err2 { display: block; color: #ffb4c0; font-size: 12.5px; } .fr .tiny { white-space: nowrap; }
.rq { padding: 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.bar { height: 6px; }
.tabbar { display: none; }
@media (max-width: 1100px) { .agtab .r { display: none; } .agtab { min-height: 56px; } .wsgrid { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 900px) {
  .agtabs { display: none; } .wsgrid { grid-template-columns: minmax(0, 1fr); } .side { position: static; max-height: none; overflow: visible; } .ws:not(.m-feed) .side { display: none; } .ws.m-feed .panel { display: none; } .ws { padding-bottom: 90px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #060b09; border-top: 1px solid var(--line2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tb { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--tx3); } .tb.on { color: var(--tx); background: color-mix(in srgb, var(--ac) 16%, transparent); box-shadow: inset 0 2px 0 var(--ac); } .tb img { width: 28px; height: 28px; object-fit: contain; } .tb svg { width: 24px; height: 24px; color: var(--acc); } .tb i { position: absolute; top: 2px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--acc); color: var(--ink); font: 800 12px/18px var(--sans); text-align: center; font-style: normal; }
  .wshead { padding: 16px; } .wsbtns { margin-left: 0; width: 100%; } .wsbtns .btn:not(.ic) { flex: 1; }
}

/* agent panels */
.aghead { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; } .aghead h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--tx); } .aghead p { font-size: 15px; max-width: 620px; margin-top: 4px; } .aghead .chip { margin-left: auto; }
.actbar { padding: 18px; --ac: var(--acc); } .btns { display: flex; gap: 10px; flex-wrap: wrap; } .btns .btn { flex: 1 1 150px; } .btns .btn:only-child { flex: 0 0 auto; } .btn .sub { font: 500 12px var(--sans); color: var(--tx3); margin-left: 2px; } .btn.ag[disabled] .sub { color: inherit; }
.sech { font-size: 22px; margin: 26px 0 12px; } .sech2 { font: 700 18px var(--disp); letter-spacing: -.02em; margin: 22px 0 8px; }
.curr { margin-top: 14px; } .curcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .curcard .exl { display: inline-flex; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); } .curbanner { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line2); } .curbanner.none { display: grid; place-items: center; background: var(--panel); border-style: dashed; color: var(--tx3); font-size: 14px; }
.results { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.rcard { --ac: var(--acc); position: relative; padding: 16px 18px 18px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--ac) 30%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 7%, #08110d), #08110d 70%); transition: box-shadow .4s, border-color .4s; } .rcard.flash { border-color: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 35%, transparent); }
.rhead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .rtitle { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; flex-wrap: wrap; } .rtitle b { font: 700 17px var(--disp); letter-spacing: -.02em; } .rtime { white-space: nowrap; }
.rcard.working .spin { border-top-color: var(--ac); } .rcard.failed { border-color: rgba(255, 122, 141, .35); }
.chip.sm { min-height: 24px; padding: 0 9px; font-size: 12px; }
.agempty { border: 1px dashed color-mix(in srgb, var(--ac) 40%, var(--line2)); border-radius: 22px; background: radial-gradient(ellipse 60% 70% at 50% 0%, color-mix(in srgb, var(--ac) 10%, transparent), transparent 70%); } .agempty .eico { width: 96px; height: 96px; }
.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; } .pics.memes { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.pic { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .pimg { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: var(--bg3); aspect-ratio: 1; } .pic.banner .pimg { aspect-ratio: 3 / 1.5; } .pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px 8px; text-align: center; font: 800 15px/1.1 Impact, 'Arial Black', var(--disp); text-transform: uppercase; color: #fff; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 6px #000; }
.pacts { display: flex; gap: 6px; flex-wrap: wrap; } .pacts .btn:not(.ic) { flex: 1; }
.tx { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; } .tx .exl, .reading .exl, .angle .exl { display: inline-flex; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); } .tx .chip { align-self: flex-start; }
.ptext { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.5; }
.thread { list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 8px; } .thread li { counter-increment: t; position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); } .thread li::before { content: counter(t); position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); color: var(--ink); background: var(--ac); }
.plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; } .day { padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; } .dh { display: flex; align-items: center; gap: 8px; } .prow { display: flex; gap: 8px; align-items: flex-start; } .prow .ptext { font-size: 14.5px; }
.ads { margin-top: 0; } .ad { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .ad b { font: 700 18px var(--disp); }
.qa { border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .25); margin-bottom: 8px; } .qa summary { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; cursor: pointer; font-weight: 600; list-style: none; } .qa summary::-webkit-details-marker { display: none; } .qa[open] summary { color: var(--ac); } .qa p { padding: 0 14px 10px; color: var(--tx2); } .qa .row { padding: 0 14px 12px; }
.qline { margin-bottom: 8px; } .rules { margin-left: 20px; display: grid; gap: 6px; font-size: 14.5px; } .chips { display: flex; gap: 6px; flex-wrap: wrap; } .plain { margin-left: 18px; display: grid; gap: 4px; font-size: 14.5px; color: var(--tx2); }
.catalog { display: flex; flex-direction: column; gap: 10px; } .gi { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s; } .gi.open { border-color: rgba(255, 138, 42, .5); background: rgba(255, 138, 42, .05); } .gi-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .gi-main b { font: 700 18px var(--disp); letter-spacing: -.02em; } .gi-act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; flex: none; width: 170px; }
.reco { color: #ffc89a; display: flex; gap: 6px; align-items: flex-start; } .reco svg { width: 16px; height: 16px; margin-top: 3px; } .rnote a { color: var(--acc); text-decoration: underline; }
@media (max-width: 720px) { .gi { flex-direction: column; align-items: stretch; } .gi-act { width: 100%; flex-direction: row; flex-wrap: wrap; } .gi-act .btn { flex: 1; } }
.rank { margin-left: 22px; display: grid; gap: 10px; margin-top: 10px; } .rank li span { display: block; }
.tw { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); } .mt { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; } .mt th { text-align: left; padding: 10px 12px; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); border-bottom: 1px solid var(--line2); white-space: nowrap; } .mt td { padding: 9px 12px; border-bottom: 1px solid var(--line); } .mt .r { text-align: right; white-space: nowrap; } .mt tr.own td { background: rgba(18, 245, 160, .07); } .up { color: var(--acc); } .dn { color: var(--bad); }
.reading { padding: 4px 0; } .angle { padding: 14px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--ac) 55%, transparent); background: rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .angle .exl { color: var(--ac); }
.meta { gap: 8px; }

/* dialogs */
.swsteps { display: flex; flex-direction: column; gap: 10px; } .sws { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); transition: .3s; } .sws[data-s="working"] { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 10%, transparent); } .sws[data-s="done"] { border-color: rgba(18, 245, 160, .5); } .sws p { margin: 0; }
.review { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; } .review > div { display: flex; gap: 14px; padding: 11px 14px; background: #09120e; } .review span { width: 100px; flex: none; color: var(--tx3); font-size: 13.5px; } .review b { font-weight: 600; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; } .rlogo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.chk { display: flex; gap: 10px; align-items: flex-start; color: var(--warn); font-size: 14px; } .ladder { display: grid; gap: 8px; font-size: 14.5px; } .ladder div { display: flex; gap: 10px; align-items: center; } .ladder b { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 13px var(--mono); color: var(--ink); background: var(--acc); flex: none; }
.steps2 { display: grid; gap: 8px; } .ls { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--tx3); } .ls .si { position: relative; width: 22px; height: 22px; flex: none; display: grid; place-items: center; } .ls .si svg, .ls .si .spin { display: none; } .ls .si i { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); } .ls[data-s="wait"] { color: var(--tx); } .ls[data-s="wait"] .si .spin { display: block; } .ls[data-s="wait"] .si i, .ls[data-s="done"] .si i, .ls[data-s="bad"] .si i { display: none; } .ls[data-s="done"] { color: var(--tx); } .ls[data-s="done"] .si svg { display: block; width: 18px; height: 18px; } .ls[data-s="bad"] { color: var(--bad); }
@media (max-width: 640px) { .btns .btn { flex: 1 1 100%; } }
