/* AUREA AI — Local Cloud guide page (/ai-local) */
.ail-hero { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid rgba(255, 215, 0, .45); box-shadow: 0 0 24px rgba(147, 51, 234, .35); }
.ail-h1 { margin: 18px 0 8px; font-size: 1.7rem; line-height: 1.3; }
.ail-lead { color: var(--muted); line-height: 1.7; }
.ail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.ail-chip { border: 1px solid rgba(255, 215, 0, .5); color: var(--gold-light); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .9rem; background: rgba(255, 215, 0, .06); }
.ail-connect { margin-top: 16px; }
.ail-connect-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ail-connect-btn { display: inline-flex; align-items: center; gap: 8px; }
.ail-connect-btn.is-ok { background: #1d7a3a; border-color: #2f9e4f; color: #fff; }
.ail-status { font-weight: 700; }
.ail-status.ok { color: #4ade80; }
.ail-status.ng { color: #f87171; }
.ail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ail-banner { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 14px; }
.ail-check { list-style: none; padding: 0; margin: 10px 0 16px; }
.ail-check li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--border); line-height: 1.6; }
.ail-check li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--gold); font-weight: 800; }
.ail-steps { padding-left: 22px; margin: 10px 0 16px; }
.ail-steps li { padding: 6px 0; line-height: 1.7; border-bottom: 1px dashed var(--border); }
.ail-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ail-shots figure { margin: 0; }
.ail-shot { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); }
.ail-shots figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; line-height: 1.5; }
.ail-folderfig { margin: 16px 0 4px; }
.ail-folderfig img { width: min(300px, 100%); height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); }
.ail-folderfig figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; line-height: 1.5; }
.ail-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.ail-price { border: 1px solid rgba(255, 215, 0, .5); border-radius: 14px; padding: 20px; background: rgba(255, 215, 0, .04); box-shadow: 0 0 18px rgba(255, 215, 0, .12); }
.ail-price-alt { border-color: rgba(147, 51, 234, .55); background: rgba(147, 51, 234, .05); box-shadow: 0 0 18px rgba(147, 51, 234, .15); }
.ail-price h3 { margin: 0 0 6px; }
.ail-price .big { font-size: 2.3rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.ail-price-alt .big { color: #c4b5fd; }
.ail-per { font-size: 1.1rem; font-weight: 700; }
.ail-ts h3 { margin: 16px 0 4px; }
.ail-ts h3:first-child { margin-top: 0; }
.ail-qa { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 14px 16px; margin: 12px 0; box-shadow: 0 0 14px rgba(147, 51, 234, .10), inset 0 0 0 1px rgba(255, 215, 0, .05); }
.ail-q { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--text); margin: 0 0 8px; line-height: 1.55; }
.ail-a { display: flex; gap: 10px; align-items: flex-start; margin: 0; line-height: 1.65; color: var(--muted); }
.ail-qbadge, .ail-abadge { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.ail-qbadge { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #141828; box-shadow: 0 0 10px rgba(255, 215, 0, .35); }
.ail-abadge { background: rgba(147, 51, 234, .16); border: 1px solid var(--violet); color: #c4b5fd; }
.ail-cta .section-title { margin-top: 0; }
.ail-linkcard { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ail-linkcard img { width: 300px; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 215, 0, .45); }
.ail-linkcard .ail-linkbody { flex: 1 1 260px; }
.ail-linkcard h2 { margin: 0 0 6px; font-size: 1.25rem; }

/* Download card + buyout Full Kit card (2026-12-02) */
.ail-dlcard { margin: 16px 0; padding: 20px; border: 1px solid rgba(255, 215, 0, .55); border-radius: 14px; background: rgba(255, 215, 0, .05); box-shadow: 0 0 22px rgba(255, 215, 0, .14), 0 0 34px rgba(147, 51, 234, .12); }
.ail-dlcard h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--gold-light, #FFE873); }
.ail-dlbtn { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; padding: 12px 22px; margin: 8px 0 4px; }
/* Free-kit DL highlight (user order 2026-12-02): FREE badge + gold/purple neon frame on the free kit download buttons (/ai local-cloud card and /ai-local Step 1). Badge is language-independent "FREE" text; button labels are untouched. */
.dl-free-wrap { position: relative; display: inline-block; margin: 12px 14px 4px 0; }
.dl-free-wrap .btn { margin-top: 0; margin-bottom: 0; }
.free-badge { position: absolute; top: -13px; right: -14px; z-index: 3; background: linear-gradient(135deg, #FFE873, #FFB800); color: #241a00; font-size: .72rem; font-weight: 800; letter-spacing: .08em; line-height: 1; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 0 12px rgba(255, 200, 0, .8), 0 2px 6px rgba(0, 0, 0, .45); transform: rotate(6deg); pointer-events: none; }
.dl-free-btn { border: 2px solid #FFD700 !important; box-shadow: 0 0 0 2px rgba(147, 51, 234, .6), 0 0 18px rgba(255, 215, 0, .55), 0 0 32px rgba(147, 51, 234, .45) !important; }
.ail-buycard { padding: 22px; border: 1px solid rgba(147, 51, 234, .6); border-radius: 14px; background: rgba(147, 51, 234, .05); box-shadow: 0 0 22px rgba(147, 51, 234, .18), 0 0 30px rgba(255, 215, 0, .10); }
.ail-buyprice { font-size: 2.6rem; font-weight: 800; color: var(--gold, #FFD700); line-height: 1.05; }
.ail-buyprice span { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.ail-buytag { margin: 4px 0 8px; font-weight: 700; color: #c4b5fd; }

.ail-check li a, .ail-steps li a, .ail-help a { color: var(--gold-light, #FFEB50); text-decoration: underline; }

/* Local Cloud appeal pitches on /ai (user order 2026-12-02): three
   honest catchphrases under the local-cloud card — dedicated feel,
   console-inside-your-PC feel, companion feel. No offline / full
   automation claims (the kit relays through aureaswap.com). */
.ail-pitch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 6px; }
.ail-pitch-item { border: 1px solid rgba(255, 215, 0, .5); border-radius: 12px; padding: 12px 14px; background: rgba(147, 51, 234, .07); box-shadow: 0 0 14px rgba(255, 215, 0, .10), inset 0 0 18px rgba(147, 51, 234, .08); }
.ail-pitch-item h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.35; color: var(--gold-light, #FFE873); }
.ail-pitch-item p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--muted, #A7ACC2); }
@media (max-width: 720px) { .ail-pitch { grid-template-columns: 1fr; } }

/* Integrations list (/ai-local) */
.ail-int-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.ail-int-card { border: 1px solid rgba(255, 215, 0, .35); box-shadow: 0 0 12px rgba(146, 84, 222, .18); }
.ail-int-card .cr-use-head { display: flex; align-items: center; gap: 12px; }
.ail-int-card .cr-use-head svg { flex: none; }
.ail-badge { margin-left: auto; flex: none; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid; letter-spacing: .02em; white-space: nowrap; }
.ail-badge.ok { color: #3ddc84; border-color: rgba(61, 220, 132, .55); background: rgba(61, 220, 132, .10); box-shadow: 0 0 8px rgba(61, 220, 132, .25); }
.ail-badge.dev { color: #ffd700; border-color: rgba(255, 215, 0, .55); background: rgba(255, 215, 0, .08); box-shadow: 0 0 8px rgba(255, 215, 0, .25); }
.ail-badge.soon { color: #a7acc2; border-color: rgba(167, 172, 194, .4); background: rgba(167, 172, 194, .07); }
.ail-badge.coming { color: #c9a2ff; border-color: rgba(160, 110, 255, .55); background: rgba(150, 100, 255, .10); box-shadow: 0 0 8px rgba(150, 100, 255, .25); }

/* Full Kit campaign (until 2026-12-31) + Lv.35 standing free perk */
.ail-buyprice s { font-size: 1.7rem; font-weight: 700; color: var(--muted); margin-right: 10px; }
.ail-buyprice .ail-free { font-size: 2.6rem; font-weight: 800; color: var(--gold, #FFD700); text-shadow: 0 0 16px rgba(255, 215, 0, .35); }
.ail-lvl-note { margin: 2px 0 10px; font-size: .92rem; font-weight: 600; color: #c4b5fd; }
.ail-campbanner { padding: 22px; border: 1px solid rgba(255, 215, 0, .55); border-radius: 14px; background: linear-gradient(135deg, rgba(255, 215, 0, .07), rgba(147, 51, 234, .08)); box-shadow: 0 0 22px rgba(255, 215, 0, .14), 0 0 30px rgba(147, 51, 234, .16); }
.ail-campbanner h2 { margin: 0 0 14px; font-size: 1.35rem; color: var(--gold, #FFD700); }
.ail-campgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ail-campitem { border: 1px solid rgba(147, 51, 234, .45); border-radius: 12px; padding: 14px; background: rgba(10, 15, 30, .35); }
.ail-campitem h3 { margin: 0 0 6px; font-size: 1.05rem; }
.ail-campitem p { margin: 0 0 10px; }
@media (max-width: 640px) { .ail-campgrid { grid-template-columns: 1fr; } }

/* API Keys page link on /ai-local (patch #172) */
.ail-apikey-link { margin: 14px 0 4px; }

/* --- kit-download.js ("Download the kit with your key") ------------ */
.kitdl-box { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255, 215, 0, .35); }
.kitdl-status { font-size: 0.92rem; margin: 12px 0 0; }
.kitdl-status-link { color: #FFD700; text-decoration: underline; font-weight: 700; }
.kitdl-reveal {
  border: 1px solid rgba(255, 215, 0, 0.6); border-radius: 14px;
  background: rgba(255, 215, 0, 0.06);
  padding: 16px; margin: 14px 0 4px;
}
.kitdl-reveal-title { font-weight: 800; font-size: 1.05rem; margin: 0 0 6px; }
.kitdl-reveal-warn { color: #FFE873; font-size: 0.92rem; margin: 0 0 12px; }
.kitdl-keyrow { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 0 0 10px; }
.kitdl-keyrow code {
  flex: 1 1 280px; box-sizing: border-box;
  background: #0B0F1D; border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px; padding: 11px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem; word-break: break-all; color: #FFE873;
}

/* Self-service site opening section (#self-open) */
.ail-so-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.ail-so-notes { margin: 8px 0 12px; padding-left: 20px; color: var(--muted, #A7ACC2); line-height: 1.7; }
.ail-so-notes .cs-pill { margin-left: 6px; vertical-align: middle; }
/* Coming-soon pill (same look as soon-banner.css .cs-pill; ai-local
   does not load that sheet, so the rule lives here too) */
.cs-pill {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  color: #FFD700; background: rgba(255, 215, 0, .07);
  border: 1px solid rgba(255, 215, 0, .75);
  box-shadow: 0 0 10px rgba(255, 215, 0, .22), 0 0 14px rgba(138, 43, 226, .18);
  vertical-align: middle; white-space: nowrap;
}
.cs-pill[hidden] { display: none; }

/* AI mode tabs (2026-12-03, user order): the Local / Cloud / Agent
   three-page split — a tab-style switcher shared by /ai, /ai-local
   and /ai-agent (the same block lives in ai.css). */
.ai-mode-tabs{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:20px 0 6px}
.ai-mode-tabs a{padding:10px 26px;border-radius:999px;border:1px solid #39415F;background:rgba(20,26,46,.72);color:#A7ACC2;font-weight:700;font-size:.95rem;text-decoration:none;transition:border-color .15s,color .15s,box-shadow .15s}
.ai-mode-tabs a:hover{border-color:rgba(255,215,0,.65);color:#FFD700}
.ai-mode-tabs a.active{background:linear-gradient(90deg,#FFD700,#FFB300);border-color:#FFD700;color:#0A0F1E;font-weight:800;box-shadow:0 0 16px rgba(255,215,0,.35)}

/* Section visuals (image enrichment 2026-12-03) */
.sec-visual{margin:16px 0 20px}
.sec-visual img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--border)}
.price-img{width:100%;height:130px;object-fit:cover;border-radius:10px;display:block;margin-bottom:14px}
