/* =====================================================================================
   LND Aura: the account and bot pages (sign in, account, my bots, a shared bot, the docs).
   Built on landing.css (its colours, nav, buttons); everything here is for those pages only.
   ===================================================================================== */
body.pg { min-height: 100dvh; }
.pwrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 108px 0 40px; }
.pwrap.narrow { width: min(560px, calc(100% - 32px)); }
.ph { margin: 0 0 26px; } .ph h1 { margin: 0 0 8px; font: 700 clamp(34px, 5vw, 54px)/1.08 var(--serif); letter-spacing: -.02em; } .ph h1 em { color: var(--accent); }
.ph p { margin: 0; max-width: 62ch; color: var(--soft); } .ph-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mute { color: var(--muted); } .small { font-size: 13.5px; } .mono { font-family: var(--mono); }
[hidden] { display: none !important; }

/* ----- the nav on these pages ----- */
.nav.solid, body.pg .nav { background: color-mix(in srgb, var(--bg0) 78%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.links a.cur { color: var(--ink); background: var(--panel); }
.chip { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 5px 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); color: var(--ink); font-size: 14px; cursor: pointer; }
.chip:hover { border-color: var(--accent); } .chip .coin { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #f6b73c 60%, #b9791a); }
.chip b { font: 500 13.5px var(--mono); } .chip small { color: var(--muted); font-size: 12px; }
.av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 13px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.signin { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; border: 1px solid var(--line2); background: var(--panel2); } .signin:hover { border-color: var(--accent); }
.pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 292px; padding: 16px; border-radius: 20px; border: 1px solid var(--line2); background: var(--panel-solid); box-shadow: 0 30px 70px -24px rgba(0,0,0,.7); animation: pop .18s var(--ease) both; transform-origin: top right; text-align: left; cursor: default; }
.pop-me { display: flex; align-items: center; gap: 12px; } .pop-me .av { width: 40px; height: 40px; } .pop-me b { display: block; font-size: 15px; } .pop-me span { color: var(--muted); font-size: 13px; }
.pop-bal { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 4px; } .pop-bal strong { font: 700 34px/1 var(--serif); } .pop-bar { height: 6px; border-radius: 6px; background: var(--panel); overflow: hidden; } .pop-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.pop-lines { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 12.5px; } .pop-a { display: grid; gap: 8px; margin-top: 14px; }
.pop-a a, .pop-a button { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); text-decoration: none; font-weight: 600; font-size: 14px; } .pop-a .go { color: var(--accent-ink); border-color: transparent; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--accent2))); } .pop-a .out { color: #ff7b7b; background: none; }
.tmenu .tgrp { margin: 4px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .tsw { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line2); background: conic-gradient(var(--a), var(--b), var(--c), var(--a)); }

/* ----- buttons, fields ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { border-color: var(--accent); background: var(--panel); } .btn:active { transform: scale(.97); } .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.solid { color: var(--accent-ink); border-color: transparent; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--accent2))); box-shadow: 0 12px 28px -14px var(--accent); } .btn.solid:hover { transform: translateY(-1px); }
.btn.danger { color: #ff7b7b; border-color: color-mix(in srgb, #ff6b6b 45%, var(--line2)); } .btn.danger:hover { background: #e5484d; color: #fff; border-color: #e5484d; } .btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; } .btn.wide { width: 100%; height: 50px; }
.lnk { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fld { display: grid; gap: 7px; margin-bottom: 16px; } .fld > span { font-size: 13.5px; font-weight: 500; color: var(--soft); } .fld > span small { font-weight: 400; color: var(--muted); margin-left: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], textarea, select.sel { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel2); color: var(--ink); font: inherit; font-size: 15.5px; outline: 0; transition: border-color .2s, background-color .2s; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; } input:focus, textarea:focus, select.sel:focus { border-color: var(--accent); background: var(--panel); } ::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
select.sel { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
select.sel option { background: var(--panel-solid); color: var(--ink); }
.pwbox { position: relative; } .pwbox input { padding-right: 70px; } .pwbox button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; padding: 6px 10px; border-radius: 10px; color: var(--muted); font-size: 13px; } .pwbox button:hover { color: var(--ink); }
.chk { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel2); cursor: pointer; margin-bottom: 10px; } .chk input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; } .chk b { display: block; font-size: 15px; font-weight: 600; } .chk small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel2); } .seg button { padding: 9px 16px; border-radius: 12px; color: var(--soft); font-weight: 500; font-size: 14.5px; } .seg button[aria-pressed="true"], .seg button.on { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2))); font-weight: 600; }
.err, .msg.bad { color: #ff8a8a; font-size: 14px; min-height: 1.3em; margin: 6px 0 0; } .msg { font-size: 14px; min-height: 1.3em; margin: 6px 0 0; color: var(--muted); } .msg.good { color: #6fe3a8; }
.checklist { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); } .checklist li { display: flex; gap: 9px; align-items: center; } .checklist i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line2); flex: none; } .checklist li.ok { color: var(--soft); } .checklist li.ok i { background: var(--accent3); border-color: var(--accent3); }

/* ----- cards, tiles ----- */
.card { padding: clamp(20px, 3vw, 30px); border-radius: 24px; border: 1px solid var(--line2); background: var(--panel); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); margin-bottom: 20px; }
.card h2 { margin: 0 0 6px; font: 700 28px/1.15 var(--serif); } .card h3 { margin: 0 0 6px; font-size: 16px; } .card > p.lead { margin: 0 0 18px; color: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; } .tile { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel2); } .tile span { display: block; font-size: 12.5px; color: var(--muted); } .tile b { display: block; margin-top: 4px; font: 700 32px/1.1 var(--serif); } .tile small { color: var(--muted); font-size: 12.5px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); font-size: 12px; font-weight: 600; color: var(--soft); } .tag.ok { color: #6fe3a8; border-color: color-mix(in srgb, #6fe3a8 40%, var(--line2)); } .tag.warn { color: #ffcf6e; border-color: color-mix(in srgb, #ffcf6e 40%, var(--line2)); } .tag.bad { color: #ff8a8a; border-color: color-mix(in srgb, #ff8a8a 40%, var(--line2)); } .tag.acc { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line2)); }
.note { padding: 12px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line2)); background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--soft); font-size: 14.5px; margin: 0 0 16px; line-height: 1.55; }
.note.warn { border-color: color-mix(in srgb, #ffcf6e 40%, var(--line2)); background: color-mix(in srgb, #ffcf6e 8%, transparent); }
.empty { padding: 36px 20px; text-align: center; border: 1px dashed var(--line2); border-radius: 22px; color: var(--muted); } .empty h3 { margin: 0 0 6px; color: var(--ink); font: 700 24px var(--serif); }

/* ----- boot, dialogs, toast ----- */
.boot { display: grid; gap: 16px; padding-top: 118px; } .sk { border-radius: 18px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel2) 50%, var(--panel) 70%) 0 0 / 300% 100%; animation: skSlide 1.4s ease-in-out infinite; height: 120px; } .sk.t { height: 44px; width: min(380px, 70%); } .sk.p { height: 16px; width: min(560px, 90%); }
@keyframes skSlide { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.boot-h { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
dialog.dlg { width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--line2); border-radius: 26px; background: var(--panel-solid); color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0,0,0,.8); overflow: hidden; } dialog.dlg::backdrop { background: rgba(4,3,10,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.dlg.wide { width: min(760px, calc(100vw - 28px)); } .dlg-in { padding: clamp(20px, 3vw, 30px); max-height: calc(100dvh - 28px); overflow-y: auto; } .dlg h3 { margin: 0 0 6px; font: 700 28px/1.15 var(--serif); } .dlg p.lead { margin: 0 0 18px; color: var(--soft); }
.dlg-a { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
#toast { pointer-events: none; }

/* ----- login ----- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(24px, 5vw, 72px); align-items: center; min-height: calc(100dvh - 150px); }
.auth-art { text-align: center; } .auth-art .orb-wrap { display: grid; place-items: center; } .auth-art h2 { margin: 12px 0 8px; font: 700 clamp(30px, 4vw, 44px)/1.1 var(--serif); } .auth-art h2 em { color: var(--accent); } .auth-art ul { list-style: none; padding: 0; margin: 18px auto 0; display: inline-grid; gap: 10px; text-align: left; color: var(--soft); } .auth-art li { display: flex; gap: 10px; align-items: center; } .auth-art li svg { width: 18px; color: var(--accent3); flex: none; }
.auth-card { padding: clamp(22px, 3vw, 34px); border-radius: 28px; border: 1px solid var(--line2); background: var(--panel); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.auth-card h1 { margin: 18px 0 4px; font: 700 34px/1.1 var(--serif); } .auth-card > p { margin: 0 0 20px; color: var(--soft); } .gift { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, #f6b73c 40%, var(--line2)); background: color-mix(in srgb, #f6b73c 9%, transparent); font-size: 14.5px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); } .tabs button { flex: 1; height: 40px; border-radius: 999px; color: var(--soft); font-weight: 600; font-size: 14.5px; } .tabs button[aria-selected="true"] { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2))); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ----- account ----- */
.acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; } .sidenav { position: sticky; top: 92px; display: grid; gap: 4px; } .sidenav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--soft); font-size: 15px; } .sidenav a:hover { background: var(--panel); color: var(--ink); } .sidenav a.on { background: var(--panel); color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.ring { position: relative; width: 170px; height: 170px; margin: 0 auto; } .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .ring circle { fill: none; stroke-width: 12; stroke-linecap: round; } .ring .bg { stroke: var(--panel); } .ring .fg { stroke: url(#ringg); transition: stroke-dashoffset .9s var(--ease); } .ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .ring b { font: 700 38px/1 var(--serif); } .ring span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ov { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; } .meter { margin: 10px 0 14px; } .meter > div { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; } .meter .bar { height: 8px; border-radius: 8px; background: var(--panel); overflow: hidden; } .meter .bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--accent2)); } .meter small { color: var(--muted); font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; } .plan { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 22px; border: 1px solid var(--line2); background: var(--panel2); } .plan.here { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--panel2)); } .plan h3 { margin: 0; font: 700 26px var(--serif); } .plan .price { font: 700 40px/1 var(--serif); } .plan .price small { font: 14px var(--font); color: var(--muted); } .plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--soft); } .plan li { display: flex; gap: 9px; } .plan li svg { width: 16px; flex: none; color: var(--accent3); margin-top: 3px; } .plan .flag { position: absolute; top: -11px; left: 20px; }
.led { list-style: none; margin: 0; padding: 0; } .led li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); align-items: center; } .led li:last-child { border: 0; } .led small { color: var(--muted); display: block; } .led .d { font: 500 14px var(--mono); } .led .d.neg { color: var(--soft); } .led .d.pos { color: #6fe3a8; } .led .b { font: 13px var(--mono); color: var(--muted); min-width: 60px; text-align: right; }
.keyrow { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel2); margin-bottom: 10px; } .keyrow b { display: block; } .keyrow small { color: var(--muted); }

/* ----- my bots ----- */
.bots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; } .bcard { display: grid; gap: 12px; padding: 20px; border-radius: 24px; border: 1px solid var(--line2); background: var(--panel); transition: border-color .2s, transform .25s var(--ease); } .bcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.bcard-h { display: flex; gap: 14px; align-items: center; } .bava { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font: 700 24px var(--serif); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2) 60%, var(--accent3)); flex: none; } .bcard h3 { margin: 0; font-size: 18px; } .bcard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; } .bcard-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; } .bcard-a { display: flex; gap: 8px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line2)); background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; } .back:hover { background: var(--accent); color: var(--accent-ink); }
.etabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 20px; position: sticky; top: 76px; z-index: 5; padding: 6px; border-radius: 18px; border: 1px solid var(--line2); background: color-mix(in srgb, var(--bg0) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); width: fit-content; max-width: 100%; } .etabs button { padding: 10px 18px; border-radius: 13px; color: var(--soft); font-weight: 600; font-size: 14.5px; } .etabs button[aria-selected="true"] { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2))); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; } .look { display: flex; gap: 10px; flex-wrap: wrap; } .look button { display: grid; gap: 6px; justify-items: center; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel2); font-size: 13px; color: var(--soft); } .look button i { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--a), var(--b), var(--c), var(--a)); border: 1px solid var(--line2); } .look button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 18px; } .kind { text-align: left; padding: 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel2); display: grid; gap: 4px; } .kind b { font-size: 16px; } .kind span { color: var(--muted); font-size: 13.5px; line-height: 1.45; } .kind[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 2px dashed var(--line2); border-radius: 20px; color: var(--soft); cursor: pointer; transition: border-color .2s, background-color .2s; } .drop:hover, .drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); } .drop b { font-size: 16px; } .drop small { color: var(--muted); }
.srcs { display: grid; gap: 10px; margin-top: 18px; } .src { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel2); } .src .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); color: var(--accent); font: 600 11px var(--mono); letter-spacing: .06em; } .src b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .src small { color: var(--muted); font-size: 12.5px; } .src-a { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.train { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel2); margin-bottom: 18px; } .train .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; } .train.ready .dot { background: #6fe3a8; box-shadow: 0 0 0 5px color-mix(in srgb, #6fe3a8 20%, transparent); } .train.busy .dot { background: #ffcf6e; animation: ping 1.4s infinite; } .train b { display: block; } .train small { color: var(--muted); }
.cap { margin-bottom: 4px; } .cap .bar { height: 6px; border-radius: 6px; background: var(--panel); overflow: hidden; margin-top: 6px; } .cap .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.codebox { position: relative; margin: 8px 0 14px; } .codebox pre { margin: 0; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel2); font: 13px/1.55 var(--mono); overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--soft); } .codebox button { position: absolute; top: 8px; right: 8px; }
.urlrow { display: flex; gap: 8px; } .urlrow input { flex: 1; font-family: var(--mono); font-size: 14px; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin: 12px 0 4px; } .chart i { flex: 1; min-height: 3px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent), var(--accent2)); opacity: .85; } .chart-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.gaps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; } .gaps li { padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel2); font-size: 14.5px; }
.price-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; } .price-tbl td { padding: 9px 4px; border-bottom: 1px solid var(--line); } .price-tbl td:last-child { text-align: right; font-family: var(--mono); white-space: nowrap; }

/* ----- a shared bot (the page visitors see) ----- */
body.chatpg { height: 100dvh; overflow: hidden; } .cshell { position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100dvh; width: min(860px, 100%); margin: 0 auto; }
.chead { display: flex; align-items: center; gap: 14px; padding: 14px clamp(14px, 3vw, 22px); } .chead .orb-s { flex: none; } .chead h1 { margin: 0; font: 700 24px/1.1 var(--serif); } .chead p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; } .chead .grow { flex: 1; min-width: 0; } .chead .grow p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); color: var(--soft); } .iconbtn:hover { border-color: var(--accent); color: var(--ink); } .iconbtn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); } .iconbtn svg { width: 19px; height: 19px; }
.msgs { overflow-y: auto; padding: 8px clamp(14px, 3vw, 22px) 20px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.hello { margin: auto; text-align: center; padding: 20px 0; } .hello .orb-wrap { display: grid; place-items: center; margin-bottom: 6px; } .hello h2 { margin: 6px 0 8px; font: 700 clamp(30px, 5vw, 42px)/1.1 var(--serif); } .hello p { margin: 0 auto; max-width: 46ch; color: var(--soft); } .sugs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; } .sugs button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); color: var(--soft); font-size: 14.5px; text-align: left; } .sugs button:hover { border-color: var(--accent); color: var(--ink); background: var(--panel); }
.m { max-width: 86%; padding: 12px 16px; border-radius: 20px; line-height: 1.6; font-size: 16px; overflow-wrap: anywhere; } .m.me { align-self: flex-end; border-bottom-right-radius: 6px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2))); white-space: pre-wrap; } .m.bot { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--panel); border: 1px solid var(--line2); } .m.bot p { margin: 0 0 .7em; } .m.bot p:last-child { margin: 0; } .m.bot ul, .m.bot ol { margin: .3em 0 .7em; padding-left: 1.3em; } .m.bot code { font: .9em var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--panel2); } .m.bot pre { margin: .5em 0; padding: 12px; border-radius: 12px; background: var(--panel2); overflow-x: auto; } .m.bot pre code { padding: 0; background: none; } .m.bot a { color: var(--accent); }
.m.err { align-self: center; background: color-mix(in srgb, #ff6b6b 12%, transparent); border: 1px solid color-mix(in srgb, #ff6b6b 40%, var(--line2)); font-size: 14.5px; } .m .src-l { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .m .src-l span { padding: 2px 10px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); font-size: 12px; color: var(--muted); } .m .src-l::before { content: "Source"; font-size: 12px; color: var(--muted); align-self: center; }
.dots { display: inline-flex; gap: 5px; padding: 4px 0; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1.1s infinite; } .dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; } @keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.cfoot { padding: 8px clamp(14px, 3vw, 22px) calc(14px + env(safe-area-inset-bottom)); } .attach { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel2); font-size: 13.5px; } .attach b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attach button { margin-left: auto; color: var(--muted); }
.composer { display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 24px; border: 1px solid var(--line2); background: var(--panel-solid); box-shadow: 0 20px 50px -26px rgba(0,0,0,.7); } .composer:focus-within { border-color: var(--accent); } .composer textarea { flex: 1; min-height: 28px; max-height: 140px; padding: 8px 4px; border: 0; background: none; font-size: 16px; resize: none; line-height: 1.45; } .composer textarea:focus { background: none; }
.send { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); } .send:disabled { opacity: .4; } .send svg { width: 20px; height: 20px; } .mic.rec { color: #fff; background: #e5484d; border-color: #e5484d; animation: ping 1.4s infinite; }
.cbadge { text-align: center; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); } .cbadge a { color: var(--soft); text-decoration: none; } .cbadge a:hover { color: var(--accent); }
.gone { margin: auto; text-align: center; max-width: 420px; padding: 30px 20px; } .gone h2 { font: 700 34px var(--serif); margin: 12px 0 8px; } .gone p { color: var(--soft); }

/* ----- docs ----- */
.docs { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 40px; align-items: start; } .toc { position: sticky; top: 92px; display: grid; gap: 2px; } .toc a { padding: 8px 12px; border-radius: 10px; color: var(--soft); text-decoration: none; font-size: 14.5px; } .toc a:hover, .toc a.on { background: var(--panel); color: var(--ink); } .toc p { margin: 0 12px 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc section { margin-bottom: 54px; scroll-margin-top: 90px; } .doc h2 { margin: 0 0 12px; font: 700 clamp(30px, 4vw, 40px)/1.1 var(--serif); } .doc h3 { margin: 26px 0 8px; font-size: 18px; } .doc p, .doc li { color: var(--soft); line-height: 1.7; } .doc ul.plain { padding-left: 1.2em; } .doc code { font: .9em var(--mono); padding: 1px 7px; border-radius: 7px; background: var(--panel); border: 1px solid var(--line); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 14px 0; display: grid; gap: 18px; } .steps > li { counter-increment: s; position: relative; padding-left: 52px; } .steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); } .steps h3 { margin: 4px 0 6px; font-size: 17px; color: var(--ink); }
.shot { margin: 16px 0 6px; } .shot a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.7); } .shot img { display: block; width: 100%; height: auto; } .shot figcaption { margin-top: 8px; text-align: center; color: var(--muted); font-size: 13px; } .shot.tall a { max-width: 520px; margin-inline: auto; }
.callout { padding: 14px 18px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line2)); background: color-mix(in srgb, var(--accent) 8%, transparent); margin: 16px 0; } .callout b { color: var(--ink); }
.vt { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line2); border-radius: 16px; } .vt table { width: 100%; border-collapse: collapse; font-size: 14.5px; } .vt th { text-align: left; padding: 11px 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--panel2); } .vt td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--soft); }

/* ----- phones ----- */
@media (max-width: 1100px) {
  .nav .links { display: none; } .burger { position: fixed; z-index: 60; left: 16px; bottom: 18px; width: auto; height: 46px; padding: 0 18px 0 14px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; border: 1px solid var(--line2); background: color-mix(in srgb, var(--panel-solid) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); } .burger i { display: none; }
  .mnav:not([hidden]) { display: block; position: fixed; z-index: 59; left: 16px; bottom: 74px; width: min(300px, calc(100% - 32px)); max-height: calc(100dvh - 110px); overflow-y: auto; padding: 8px 18px; border-radius: 22px; border: 1px solid var(--line2); background: var(--panel-solid); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); } .mnav a { padding: 12px 4px; font-size: 16px; }
  body.chatpg .burger { display: none; }
}
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 0; } .auth-art { display: none; } .acct { grid-template-columns: 1fr; } .sidenav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; } .sidenav a { white-space: nowrap; border: 1px solid var(--line2); } .docs { grid-template-columns: 1fr; } .toc { display: none; } .ov { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pwrap { width: calc(100% - 28px); padding-top: 94px; } .keyrow { grid-template-columns: 1fr; } .src { grid-template-columns: auto minmax(0, 1fr); } .src-a { grid-column: 1 / -1; justify-content: flex-start; } .bots { grid-template-columns: 1fr; } .m { max-width: 92%; } .nav .cta.sm { display: none; } .chip small { display: none; } .urlrow { flex-direction: column; } .etabs button { padding: 9px 13px; }
  .tmenu { right: -8px; } .tbtn span { display: none; } .tbtn { padding: 0 11px; } .led li { grid-template-columns: 1fr auto; } .led .b { display: none; }
}
@media (max-width: 380px) { .nav .logo span { display: none; } }
.vt:not(.keep) { }
@media (max-width: 720px) { .vt:not(.keep) table, .vt:not(.keep) tbody, .vt:not(.keep) tr, .vt:not(.keep) td { display: block; width: 100%; box-sizing: border-box; } .vt:not(.keep) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .vt:not(.keep) tr { padding: 6px 14px; border-bottom: 1px solid var(--line2); } .vt:not(.keep) td { padding: 6px 0; border: 0; } .vt:not(.keep) td[data-label]::before { content: attr(data-label); display: block; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } }

.savebar { position: sticky; bottom: 16px; z-index: 8; display: flex; align-items: center; gap: 12px; justify-content: flex-end; flex-wrap: wrap; padding: 12px 16px; border-radius: 20px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--panel-solid) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); } .savebar span { margin-right: auto; font-weight: 500; }
.fileit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; } .fileit.ok span:last-child { color: #6fe3a8; } .fileit.bad span:last-child { color: #ff8a8a; } .faqrow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 10px; align-items: start; } .faqrow textarea { min-height: 52px; } @media (max-width: 640px) { .faqrow { grid-template-columns: 1fr; } }

/* fixes from the phone audit */
.docs > .doc, .acct > div, .cshell > * { min-width: 0; } .doc img, .doc .shot { max-width: 100%; } .doc table { max-width: 100%; }
@media (max-width: 900px) { .docs, .acct { grid-template-columns: minmax(0, 1fr); } }
.codebox pre { padding: 46px 16px 14px; } @media (min-width: 700px) { .codebox pre { padding: 14px 84px 14px 16px; } }
.chead h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .m.bot pre, .m.bot table { max-width: 100%; overflow-x: auto; }
.cap > div.small { flex-wrap: wrap; gap: 2px 14px; } .cap .mono { font-size: 12.5px; }
@media (max-width: 640px) { .faqrow button { justify-self: start; } .faqrow .btn { width: auto; } }
