/* SHP Hive landing — ported from the SHP Hive app (same classes, same look). Loaded on the Welcome page only. */

html[data-theme="dark"] .topbar{background:rgba(12,12,15,.88); border-bottom-color:var(--line)}

html[data-theme="dark"] .hero{background:radial-gradient(800px 400px at 85% -5%, rgba(255,179,0,.16), transparent), radial-gradient(700px 380px at 5% 10%, rgba(255,138,0,.10), transparent), linear-gradient(#17140A,#0C0C0F); border-bottom-color:var(--line)}

html[data-theme="dark"] .sub{color:#C9C4B8}

html[data-theme="dark"] .lead{color:#C9C4B8}

html[data-theme="dark"] .promptbar{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .chip{background:#241F0E; border-color:#4A3F1E; color:var(--ink)}

html[data-theme="dark"] .chip:hover{background:#332A10}

html[data-theme="dark"] button.chip{background:#241F0E; color:var(--ink)}

html[data-theme="dark"] .browser{background:#0C0C0F; border-color:var(--line)}

html[data-theme="dark"] .float{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .logos{background:#0C0C0F; border-bottom-color:var(--line)}

html[data-theme="dark"] .card{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .card p{color:#B8B2A6}

html[data-theme="dark"] .pill{color:#111}

html[data-theme="dark"] .tpl{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .tpl-body p{color:#B8B2A6}

html[data-theme="dark"] .price-card{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .price-card.pop{border-color:var(--hive)}

html[data-theme="dark"] .testi{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .faq details{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .eyebrow{color:#E8A33D}

html[data-theme="dark"] .viewas-btns .btn.on{border-color:#3A3A42}

html[data-theme="dark"] .seg .btn.on{border-color:var(--hive)}

html[data-theme="dark"] .foot-brand p{color:#A39E93}

html[data-theme="dark"] .foot-col h4{color:#CBA35A}

html[data-theme="dark"] .foot-col a{color:#C9C4B8}

html[data-theme="dark"] .foot-col a:hover{color:#fff}

html[data-theme="dark"] .foot-base{color:#8E887C}

html[data-theme="dark"] .powered{color:#FFD84D}

html[data-theme="dark"] button.btn.btn-ghost{background:#1B1B21; color:var(--ink); border:1px solid var(--line)}

html[data-theme="dark"] button.btn.btn-dark{background:#111; color:#fff; border:1px solid #3A3A42}

/* ---------- TRON layer (dark theme only — same gold palette, neon grid + glow) ---------- */
html[data-theme="dark"] .hero-grid{position:relative; z-index:1}

html[data-theme="dark"] .hero::after{content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    repeating-linear-gradient(90deg, rgba(255,179,0,.09) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(0deg, rgba(255,179,0,.09) 0 1px, transparent 1px 52px);
  -webkit-mask-image:radial-gradient(ellipse 90% 90% at 50% 40%, #000 40%, transparent 100%);
  mask-image:radial-gradient(ellipse 90% 90% at 50% 40%, #000 40%, transparent 100%)}

html[data-theme="dark"] .hero::before{content:""; position:absolute; left:0; right:0; top:0; height:22%; pointer-events:none; z-index:1;
  background:linear-gradient(to bottom, transparent, rgba(255,179,0,.10), transparent);
  transform:translateY(-130%); animation:tronSweep 9s linear infinite}

@media (prefers-reduced-motion: reduce){html[data-theme="dark"] .hero::before{animation:none; display:none}}

html[data-theme="dark"] .cta{border:1px solid rgba(255,179,0,.35); box-shadow:0 0 0 1px rgba(0,0,0,.6), 0 0 44px rgba(255,179,0,.14), var(--shadow)}

html[data-theme="dark"] .cta::before{content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background:
    repeating-linear-gradient(90deg, rgba(255,179,0,.12) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255,179,0,.12) 0 1px, transparent 1px 44px);
  -webkit-mask-image:radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image:radial-gradient(ellipse at center, #000 30%, transparent 75%)}

html[data-theme="dark"] .hex{filter:drop-shadow(0 0 10px rgba(255,179,0,.55))}

html[data-theme="dark"] .badge{box-shadow:0 0 16px rgba(255,179,0,.35)}

html[data-theme="dark"] .step-num{box-shadow:0 0 14px rgba(255,179,0,.4)}

html[data-theme="dark"] h1 .hl{filter:drop-shadow(0 0 14px rgba(255,140,0,.45))}

html[data-theme="dark"] .eyebrow{text-shadow:0 0 12px rgba(232,163,61,.6)}

html[data-theme="dark"] .topbar{box-shadow:0 1px 0 rgba(255,179,0,.22), 0 8px 30px rgba(0,0,0,.5)}

html[data-theme="dark"] .browser{box-shadow:0 0 0 1px rgba(255,179,0,.25), 0 0 50px rgba(255,179,0,.10), var(--shadow)}

html[data-theme="dark"] .promptbar{transition:box-shadow .25s ease}

html[data-theme="dark"] .promptbar:focus-within{box-shadow:0 0 0 1px rgba(255,179,0,.5), 0 0 34px rgba(255,179,0,.15)}

html[data-theme="dark"] button.btn.btn-hive{box-shadow:0 0 22px rgba(255,179,0,.35)}

html[data-theme="dark"] .btn-hive{box-shadow:0 0 22px rgba(255,179,0,.35)}

html[data-theme="dark"] .btn-hive:hover{box-shadow:0 0 34px rgba(255,179,0,.6)}

html[data-theme="dark"] .price-card.pop{box-shadow:0 0 30px rgba(255,179,0,.15)}

html[data-theme="dark"] .seg .btn.on{box-shadow:0 0 14px rgba(255,179,0,.35)}

html[data-theme="dark"] .tpl, html[data-theme="dark"] .testi, html[data-theme="dark"] .price-card, html[data-theme="dark"] .dstat{transition:box-shadow .25s ease}

html[data-theme="dark"] .tpl:hover, html[data-theme="dark"] .testi:hover, html[data-theme="dark"] .price-card:hover, html[data-theme="dark"] .dstat:hover{box-shadow:0 0 26px rgba(255,179,0,.12)}

:root{
  --paper:#FFFDF6; --ink:#111111; --muted:#6B7280; --line:#EEE7D3; --card:#FFFFFF;
  --hive:#FFB300; --hive-2:#FF6A00;
  --green:#16A34A; --radius:18px;
  --shadow:0 20px 60px rgba(0,0,0,.12);
}

*{box-sizing:border-box}

html,body{overflow-x:hidden}

html{scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%}

body{
  margin:0; text-align:left; font-size:16px;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:var(--paper); color:var(--ink);
  -webkit-font-smoothing:antialiased;
}

img{display:block; max-width:100%}

.wrap{max-width:1180px; margin:0 auto; padding:0 22px}

.topbar{position:sticky; top:0; z-index:50; backdrop-filter:blur(14px); background:rgba(255,253,246,.88); border-bottom:1px solid var(--line)}

.nav{display:flex; align-items:center; gap:18px; padding:12px 0}

.logo{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:-.02em; font-size:20px; text-decoration:none}

.hex{width:38px; height:38px; display:grid; place-items:center; color:#111; background:linear-gradient(135deg,var(--hive),var(--hive-2)); clip-path:polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%); font-weight:900}

.nav-links{display:flex; gap:18px; margin-left:8px; font-size:14px; font-weight:600}

.nav-links a{text-decoration:none; opacity:.8}
 .nav-links a:hover{opacity:1}

.nav-cta{margin-left:auto; display:flex; gap:10px; align-items:center}

.btn{border:0; cursor:pointer; font-weight:800; border-radius:999px; padding:12px 20px; font-size:14px; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition:transform .15s ease, box-shadow .15s ease}

.btn-dark{background:#111; color:#fff} .btn-dark:hover{transform:translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.22)}
.btn-hive{background:linear-gradient(135deg,var(--hive),var(--hive-2)); color:#111} .btn-hive:hover{transform:translateY(-1px); box-shadow:0 10px 24px rgba(255,179,0,.45)}
.btn-ghost{background:#fff; border:1px solid #E7E0C8; color:#111}

/* Engine normalize (button:not([disabled]) = 0,1,1) beats plain classes — these win outright */
button.btn.btn-dark{background:#111; color:#fff; border:1px solid #111}

button.btn.btn-hive{background:linear-gradient(135deg,var(--hive),var(--hive-2)); color:#111; border:0}

button.btn.btn-ghost{background:#fff; color:#111; border:1px solid #E7E0C8}

button.chip{background:#FFF9E8; color:#111}

.btn[disabled]{opacity:.55; cursor:wait}

.hero{position:relative; overflow:hidden; background:radial-gradient(800px 400px at 85% -5%, rgba(255,179,0,.28), transparent), radial-gradient(700px 380px at 5% 10%, rgba(255,138,0,.14), transparent), linear-gradient(#FFFDF6,#FFF6DE); border-bottom:1px solid var(--line)}

.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:34px; padding:54px 0 34px; align-items:center}

.badge{display:inline-flex; align-items:center; gap:8px; background:#111; color:#FFD84D; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:8px 12px; border-radius:999px}

.badge .dot{width:8px; height:8px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 4px rgba(34,197,94,.2)}

h1 .hl{background:linear-gradient(135deg,#FFB300,#FF6A00); -webkit-background-clip:text; background-clip:text; color:transparent}

.sub{font-size:18px; line-height:1.6; color:#3A3A3E; max-width:560px}

.promptbar{margin-top:20px; background:#fff; border:1px solid #E7E0C8; border-radius:20px; padding:12px; box-shadow:var(--shadow)}

.promptbar textarea{width:100%; border:0; outline:0; resize:none; font-size:16px; line-height:1.5; padding:10px; min-height:64px; font-family:inherit}

.prompt-row{display:flex; gap:10px; align-items:center; margin-top:8px; min-width:0; flex-wrap:wrap}

.chip{border:1px solid #E7E0C8; background:#FFF9E8; border-radius:999px; padding:7px 12px; font-size:13px; cursor:pointer; font-weight:600; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}

.chip:hover{background:#FFEFBF}

.hint{font-size:13px; color:var(--muted); margin-top:10px}

.bpromptbar .btn{flex-shrink:0}

.stats{display:flex; gap:26px; margin-top:18px; flex-wrap:wrap}

.stat b{font-size:20px; display:block}
 .stat span{font-size:13px; color:var(--muted)}

.hero-visual{position:relative}

.browser{background:#fff; border:1px solid #E7E0C8; border-radius:18px; overflow:hidden; box-shadow:var(--shadow)}

.browser-bar{display:flex; align-items:center; gap:8px; padding:10px 14px; background:#111; color:#fff; font-size:12px}

.browser-bar i{width:10px; height:10px; border-radius:50%; display:inline-block}

.url{margin-left:8px; background:#222; border-radius:999px; padding:5px 12px; color:#FFD84D; font-weight:700}

.hero-img{height:360px; object-fit:cover; width:100%}

.float{position:absolute; background:#fff; border:1px solid #E7E0C8; border-radius:14px; padding:10px 12px; box-shadow:var(--shadow); font-size:13px; font-weight:700}

.float small{display:block; font-weight:600; color:var(--muted)}

.f1{top:18px; left:-18px}
 .f2{bottom:22px; right:-12px}
 .f3{bottom:110px; left:-26px}

.logos{padding:22px 0; border-bottom:1px solid var(--line); background:#fff}

.logos-row{display:flex; gap:28px; align-items:center; justify-content:space-between; flex-wrap:wrap; opacity:.7; font-weight:800; letter-spacing:.06em; font-size:13px; text-transform:uppercase}

.section{padding:64px 0}

/* white band sections (get-started, pricing) — dark override so text stays readable */
.band{background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}

html[data-theme="dark"] .band{background:#101014; border-top-color:var(--line); border-bottom-color:var(--line)}

.eyebrow{font-size:12px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:#B45309}

.h2{font-size:38px; letter-spacing:-.03em; line-height:1.05; margin:10px 0 12px}

.lead{color:#444; font-size:17px; line-height:1.7; max-width:720px}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:26px}

.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:0 8px 24px rgba(0,0,0,.05)}

.card img{border-radius:12px; height:170px; width:100%; object-fit:cover; margin-bottom:12px}

.card h3{margin:6px 0 8px; font-size:18px}
 .card p{margin:0; color:#555; line-height:1.6; font-size:14px}

.step-num{width:36px; height:36px; border-radius:12px; display:grid; place-items:center; background:#111; color:#FFD84D; font-weight:900}

.pill.sale{background:#C81E1E; border-color:#C81E1E; color:#fff}

.pill{font-size:11px; font-weight:800; background:#FFF3C4; border:1px solid #F5D76A; padding:3px 8px; border-radius:999px; width:fit-content}

.chip.on{background:#111; color:#FFD84D; border-color:#111}

/* templates / features / pricing */
.templates{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px}

.tpl{border-radius:18px; overflow:hidden; border:1px solid var(--line); background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.06)}

.tpl img{height:190px; width:100%; object-fit:cover}

.tpl-body{padding:16px}
 .tpl-body h3{margin:0 0 6px}
 .tpl-body p{margin:0 0 12px; color:#555; font-size:14px; line-height:1.6}

.feat{background:#111; color:#FFF7DB; border-radius:18px; padding:22px; border:1px solid #2A2A2E}

.feat h3{margin:8px 0}
 .feat p{color:#CFC9B0; line-height:1.6; font-size:14px; margin:0}

.feat .ico{font-size:26px}

.pricing{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px}

.price-card{background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px; position:relative}

.price-card.pop{border:2px solid #111; box-shadow:var(--shadow)}

.price-card h3{margin:0}
 .amount{font-size:42px; font-weight:900; letter-spacing:-.03em; margin:10px 0}

.testis{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px}

.testi{background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px}

.testi img{width:44px; height:44px; border-radius:50%; object-fit:cover}

.faq{max-width:760px; margin-top:18px}

.faq details{background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:10px}

.faq summary{cursor:pointer; font-weight:800}

.cta{background:linear-gradient(135deg,#111,#2B1E02); color:#FFF3C4; border-radius:24px; padding:44px 34px; text-align:center; position:relative; overflow:hidden}

.cta h2{font-size:44px; letter-spacing:-.03em; margin:0 0 10px; color:#fff}

.in-wrap .ico{position:absolute; left:15px; top:50%; transform:translateY(-50%); font-size:16px; opacity:.45; pointer-events:none}

.auth-stats .stat{flex:1; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); border-radius:14px; padding:10px 6px; text-align:center; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px)}

.auth-stats .stat b{display:block; font-size:16px; color:#FFD84D}

.auth-stats .stat span{font-size:11px; color:#E8DCC0}

.img-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:22px}

.img-strip img{height:150px; width:100%; object-fit:cover; border-radius:14px}

footer{border-top:1px solid var(--line); padding:0 0 40px; background:#fff; color:#555; font-size:14px}

.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:24px; padding:40px 0 24px}

.foot-brand p{line-height:1.6; color:#666; max-width:300px}

.foot-col h4{margin:4px 0 12px; font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; color:#8A7D52}

.foot-col a{display:block; font-size:14px; color:#444; text-decoration:none; margin-bottom:10px}

.foot-col a:hover{color:#111; text-decoration:underline}

.foot-base{border-top:1px solid var(--line); padding:16px 0 6px; display:flex; gap:16px; flex-wrap:wrap; align-items:center; font-size:13px; color:#777}

.powered{margin-left:auto; color:#111}

.viewas-btns .btn.on{background:#111; color:#FFD84D; border-color:#111}

@media(max-width:980px){ .nav{flex-wrap:wrap; row-gap:10px} .foot-grid{grid-template-columns:1fr 1fr} .art-row{grid-template-columns:1fr} }

@media(max-width:980px){
  .nav{gap:10px} .logo{font-size:17px} .hex{width:32px; height:32px}
  .nav-cta{gap:8px} .nav-cta .btn{padding:8px 11px; font-size:12px}
  h1{font-size:42px} .hero-grid{grid-template-columns:1fr} .builder-shell{grid-template-columns:1fr}
  .grid3,.templates,.feat-grid,.pricing,.testis{grid-template-columns:1fr} .store-hero{grid-template-columns:1fr} .store-hero.flip{grid-template-columns:1fr} .pgrid{grid-template-columns:repeat(2,1fr)}
  .nav-links{display:none} .f1,.f3{left:8px} .f2{right:8px} .img-strip{grid-template-columns:repeat(2,1fr)}
  .auth-shell{grid-template-columns:1fr; border-radius:24px} .auth-form{padding:30px 22px 26px} .auth-side{min-height:300px; padding:12px} .auth-side img{top:12px; left:12px; right:12px; bottom:12px; width:calc(100% - 24px); height:calc(100% - 24px); border-radius:16px} .auth-side .overlay{left:24px; right:24px; bottom:24px}
  .dash-grid{grid-template-columns:repeat(2,1fr)} .dash-2{grid-template-columns:1fr}
}

/* ---------- ported app component + dark rules (verbatim, was missing) ---------- */

html[data-theme="dark"]{color-scheme:dark}

.realbanner{background:#FFEDED; border:1px solid #F5B5B5; border-radius:12px; padding:10px 14px; margin-bottom:12px; font-size:13px}

.realbanner-sub{color:#777}

html[data-theme="dark"] body{background:var(--paper); color:var(--ink)}

html[data-theme="dark"] .panel{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .panel label{color:#A89E8F}

html[data-theme="dark"] .bpanel-foot{background:var(--card); border-top-color:var(--line)}

html[data-theme="dark"] .steps{color:#B8B2A6}

html[data-theme="dark"] .bstep{background:#101014; border-color:var(--line)}

html[data-theme="dark"] .bstep>summary{color:#D8D2C4}

html[data-theme="dark"] .bstep>summary:hover{background:#1B1B21}

html[data-theme="dark"] .bstep.active{background:#1D1A08; border-color:#B48A00}

html[data-theme="dark"] .bstep.active>summary{color:#FFD84D}

html[data-theme="dark"] .bstep.done>summary{color:#7DFF9B}

html[data-theme="dark"] .bstep.fail{background:#2A1215; border-color:#7F2D2D}

html[data-theme="dark"] .bstep.fail>summary{color:#F08080}

html[data-theme="dark"] .bstep-body{color:#B8B2A6}

html[data-theme="dark"] .bstep-body .th{color:#7E7972}

html[data-theme="dark"] .bstep-body .ok{color:#7DFF9B}

html[data-theme="dark"] .store-preview{border-color:#2B2B32}

html[data-theme="dark"] .auth-shell{background:#141419; border-color:var(--line)}

html[data-theme="dark"] .auth-tabs{background:#1D1D23}

html[data-theme="dark"] .auth-tabs button{color:#A89E8F}

html[data-theme="dark"] .auth-tabs button.active{border:1px solid var(--hive)}

html[data-theme="dark"] .in-wrap input{background:#1C1C22; color:var(--ink)}

html[data-theme="dark"] .in-wrap input::placeholder{color:#6E675C}

html[data-theme="dark"] .in-wrap input:focus{background:#1C1C22; border-color:#FFB300}

html[data-theme="dark"] .role-card{background:#1B1B21; border-color:var(--line)}

html[data-theme="dark"] .role-card .rc-sub{color:#A89E8F}

html[data-theme="dark"] .ref-note{background:#241A08; border-color:#8A6D1F}

html[data-theme="dark"] .err{background:#2A1215; border-color:#7F2D2D; color:#FCA5A5}

html[data-theme="dark"] .field>label{color:#CBA35A}

html[data-theme="dark"] .dstat small{color:#CBA35A}

html[data-theme="dark"] .dpanel{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .dpanel td, html[data-theme="dark"] .dpanel th{border-bottom-color:#2B2B32}

html[data-theme="dark"] .kv-table td, html[data-theme="dark"] .kv-table th{border-bottom-color:#2B2B32}

html[data-theme="dark"] .conn-row{border-bottom-color:#333}

html[data-theme="dark"] .cart-line{border-bottom-color:#333}

html[data-theme="dark"] .drawer{background:#16161B; border-color:var(--line)}

html[data-theme="dark"] .modal{background:#16161B}

html[data-theme="dark"] .chat-thread{background:#101014; border-color:var(--line)}

html[data-theme="dark"] .chat-hint{color:#8E887C}

html[data-theme="dark"] .bubble-ai{background:#1D1D23; border-color:var(--line)}

html[data-theme="dark"] .bubble-typing{background:#1D1D23; border-color:var(--line)}

html[data-theme="dark"] .bubble-user{background:linear-gradient(135deg,var(--hive),var(--hive-2)); color:#111}

html[data-theme="dark"] .check-row{background:#101014; border-color:var(--line)}

html[data-theme="dark"] .check-row.ok{background:#10231A; border-color:#2E7D43}

html[data-theme="dark"] .pvbar{background:rgba(18,18,23,.94); border-color:var(--line)}

html[data-theme="dark"] .pvbar [data-tool].on{border-color:var(--hive)}

html[data-theme="dark"] #bToolPop{background:#16161B; border-color:var(--line)}

html[data-theme="dark"] .inline-pop{background:#16161B; border-color:var(--line)}

html[data-theme="dark"] .ce-edit{background:#1C1C22; color:var(--ink)}

html[data-theme="dark"] .manage-bar{border-top-color:#333}

html[data-theme="dark"] .dtabs button{background:#1B1B21; border-color:var(--line); color:var(--ink)}

html[data-theme="dark"] .dtabs button.on{border-color:var(--hive)}

html[data-theme="dark"] .kit-tabs button{background:#1B1B21; border-color:var(--line); color:var(--ink)}

html[data-theme="dark"] .kit-tabs button.active{border-color:var(--hive)}

html[data-theme="dark"] .role-pill{background:#2A2103; border-color:#8A6D1F; color:#FFD84D}

html[data-theme="dark"] .pay-break .pstat{background:#241F0E; border-color:#8A6D1F}

html[data-theme="dark"] .pay-break .pstat small{color:#CBA35A}

html[data-theme="dark"] .cfg-row label{color:#A89E8F}

html[data-theme="dark"] .swatch.active{box-shadow:0 0 0 2px var(--hive)}

html[data-theme="dark"] .spin{border-color:rgba(255,255,255,.25); border-top-color:#FFB300}

html[data-theme="dark"] footer{background:#0C0C0F; color:#A39E93}

html[data-theme="dark"] .legal p, html[data-theme="dark"] .legal li{color:#C0BAAE}

html[data-theme="dark"] .realbanner{background:#2A1414; border-color:#7F2D2D}

html[data-theme="dark"] .realbanner-sub{color:#C9AFAF}

html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea{background:#1C1C22; color:var(--ink); border-color:var(--line)}

html[data-theme="dark"] .panel textarea, html[data-theme="dark"] .panel select, html[data-theme="dark"] .panel input[type=text], html[data-theme="dark"] .panel input[type=email], html[data-theme="dark"] .panel input[type=password]{background:#1C1C22; color:var(--ink); border-color:var(--line)}

html[data-theme="dark"] .cfg-row input, html[data-theme="dark"] .cfg-row textarea{background:#1C1C22; color:var(--ink); border-color:var(--line)}

0%{transform:translateY(-130%)}

100%{transform:translateY(570%)}

html[data-theme="dark"] .avatar{box-shadow:0 0 12px rgba(255,179,0,.4)}

html[data-theme="dark"] .toast{box-shadow:0 0 24px rgba(255,179,0,.35)}

html[data-theme="dark"] [data-theme-btn]:hover{box-shadow:0 0 14px rgba(255,179,0,.5)}

html[data-theme="dark"] .role-card.sel, html[data-theme="dark"] .role-card:has(input:checked){border-color:var(--hive); box-shadow:0 0 22px rgba(255,179,0,.20)}

a{color:inherit}

.avatar{width:34px; height:34px; border-radius:50%; background:#111; color:#FFD84D; display:grid; place-items:center; font-weight:900; font-size:14px}

.btn-sm{padding:9px 14px; font-size:13px}

button.addBtn{background:#111; color:#fff}

button.cartBtn{background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.3); color:inherit}

.bpromptbar{display:flex; gap:8px; align-items:center; margin-top:8px; background:#fff; border:1px solid #E7E0C8; border-radius:16px; padding:8px; box-shadow:0 6px 18px rgba(0,0,0,.06)}

.bpromptbar input{flex:1; min-width:0; border:0; outline:0; background:transparent; font-size:14px; padding:10px 12px; font-family:inherit; color:inherit}

.bpromptbar input::placeholder{color:var(--muted)}

html[data-theme="dark"] .bpromptbar{background:#1C1C22; border-color:var(--line)}

.builder-shell>*{min-width:0; max-width:100%}

.panel{background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; box-shadow:0 10px 30px rgba(0,0,0,.06); align-self:start; min-width:0}

.panel label{font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#777}

.panel textarea, .panel select, .panel input[type=text], .panel input[type=email], .panel input[type=password]{width:100%; margin-top:8px; border:1px solid #E7E0C8; border-radius:12px; padding:12px; font-size:14px; font-family:inherit; outline:none}

.opt-row{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px}

.swatch-row{display:flex; gap:8px; margin-top:8px}

.swatch{width:34px; height:34px; border-radius:50%; border:3px solid #fff; box-shadow:0 0 0 1px #DDD; cursor:pointer}

.swatch.active{box-shadow:0 0 0 2px #111}

.steps{list-style:none; margin:12px 0 0; padding:0; font-size:13px; font-weight:600; color:#555}

.bstep{border:1px solid #ECE4CF; border-radius:12px; margin:8px 0 0; background:#FFFDF6; overflow:hidden}

.bstep>summary{cursor:pointer; list-style:none; display:flex; gap:8px; align-items:center; padding:9px 12px; font-size:13px; font-weight:700; color:#555; user-select:none}

.bstep>summary::-webkit-details-marker{display:none}

.bstep>summary::after{content:"▸"; margin-left:auto; color:#8A7D52; font-size:12px}

.bstep[open]>summary::after{content:"▾"}

.bstep>summary:hover{background:#FFF6DE}

.bstep.active{border-color:#B48A00; background:#FFFEF7}

.bstep.active>summary{color:#111}

.bstep.done>summary{color:#2E7D43}

.bstep.fail{border-color:#E08080; background:#FFF5F5}

.bstep.fail>summary{color:#A33}

.bstep-body{padding:4px 12px 10px 32px; font-size:12.5px; font-weight:500; color:#555; display:flex; flex-direction:column; gap:4px}

.bstep-body .th{color:#999; font-style:italic}

.bstep-body .ok{color:#2E7D43}

.bstep-body .working{color:#B48A00}

.bstep-body .code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; background:#141414; color:#CDEBC0; border-radius:8px; padding:5px 9px; font-size:11.5px; line-height:1.6; white-space:pre-wrap; word-break:break-word}

.store-preview{border-radius:18px; overflow:hidden; border:1px solid #E2D8B8; box-shadow:var(--shadow); background:#fff; min-height:640px; min-width:0; max-width:100%}

.store-nav{display:flex; align-items:center; gap:14px; padding:14px 18px; color:#fff; flex-wrap:wrap}

.store-nav a{color:inherit; text-decoration:none; font-size:13px; font-weight:700; opacity:.9}

.store-nav a[data-goto], .sfoot a[data-goto]{cursor:pointer}

.cartBtn{margin-left:auto; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.3); color:inherit; border-radius:999px; padding:8px 14px; cursor:pointer; font-weight:800}

.store-hero.flip>.store-hero-copy{order:2}

.store-hero>*{min-width:0}

.store-hero-copy{padding:34px 28px}

.store-hero-copy h2{font-size:42px; line-height:.95; letter-spacing:-.03em; margin:10px 0}

.store-hero-copy p{line-height:1.6}

.store-hero img{width:100%; height:100%; min-height:280px; object-fit:cover}

.pcard{border:1px solid #ECE7D8; border-radius:16px; overflow:hidden; background:#fff; display:flex; flex-direction:column; min-width:0; text-align:left; transition:transform .18s ease, box-shadow .18s ease}

.pcard:hover{transform:translateY(-3px); box-shadow:0 16px 34px rgba(0,0,0,.10)}

.pcard .pimg{position:relative; overflow:hidden; background:#F4F1E8}

.pcard .pimg img{height:190px; width:100%; object-fit:cover; transition:transform .3s ease}

.pcard:hover .pimg img{transform:scale(1.05)}

.pcard img{height:150px; width:100%; object-fit:cover}

.pbadges{position:absolute; top:10px; left:10px; display:flex; gap:6px; z-index:2}

.pcard-body{padding:12px 14px 14px; display:flex; flex-direction:column; gap:7px; flex:1; text-align:left}

.pcard-body b{font-size:14px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.7em}

.price{font-weight:900}

.prow{display:flex; align-items:baseline; gap:8px; flex-wrap:wrap}

.cmp{font-size:12.5px; text-decoration:line-through; font-weight:600}

.prate{font-size:12px; display:flex; align-items:center; gap:6px; font-weight:700}

.addBtn{margin-top:auto; border:0; border-radius:10px; padding:9px; font-weight:800; cursor:pointer; background:#111; color:#fff}

.addBtn:hover{background:#000}

.pcard.is-filtered-out{display:none!important}

.shopbar{display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; padding:4px 26px 0}

.shopbar .chips{display:flex; gap:8px; flex-wrap:wrap}

.shopbar-tools{display:flex; gap:8px; align-items:center; flex-wrap:wrap}

.shopbar input[type=search]{border:1px solid #ECE7D8; border-radius:999px; padding:8px 14px; font-size:13px; font-family:inherit; min-width:0; width:180px; outline:none; background:#fff; color:#111}

.shopbar select{border:1px solid #ECE7D8; border-radius:999px; padding:8px 12px; font-size:13px; font-family:inherit; background:#fff; outline:none; color:#111}

.shopmeta{padding:6px 26px 0; font-size:12px; color:#888}

.shopempty{padding:26px; text-align:center; color:#777}

.sfroot.vibe-dark .shopbar input[type=search], .sfroot.vibe-dark .shopbar select{background:#1E1E24; color:#F5F2E8; border-color:#33363D}

.shipbar{height:10px; background:#EFEAD9; border-radius:999px; overflow:hidden; margin:8px 0 4px}

.shipbar>i{display:block; height:100%; width:0; border-radius:999px; background:linear-gradient(90deg,#FFB300,#22C55E); transition:width .45s ease}

.shipmsg{font-size:12px; color:#666; margin-bottom:6px}

.cart-line{display:flex; gap:10px; align-items:center; padding:10px 0; border-bottom:1px dashed #E7E0C8}

.cart-line img{width:52px; height:52px; object-fit:cover; border-radius:10px; flex-shrink:0}

.cart-line .qty{margin-left:6px}

.qty{display:inline-flex; align-items:center; gap:2px; border:1px solid #E7E0C8; border-radius:999px; padding:2px}

.qty button{border:0; background:#F4F1E8; width:28px; height:28px; border-radius:50%; cursor:pointer; font-weight:900; font-size:14px; line-height:1}

.qty b{min-width:30px; text-align:center; font-size:13px}

.modal.qv-modal{max-width:720px; text-align:left; max-height:calc(100vh - 60px); overflow-y:auto}

.qv-grid{display:grid; grid-template-columns:1fr 1.1fr; gap:18px; text-align:left}

.qv-img{position:relative; align-self:start}

.qv-img img{width:100%; border-radius:14px; max-height:420px; object-fit:cover; background:#F4F1E8}

.qv-img .pbadges{position:absolute; top:10px; left:10px; display:flex; gap:6px}

.qv-info{display:flex; flex-direction:column; gap:8px; min-width:0}

.qv-name{font-size:20px; margin:0; line-height:1.3}

.qv-price{font-size:20px; font-weight:900}

.qv-desc{font-size:13.5px; line-height:1.6; color:#444; margin:0}

.qv-ticks{font-size:12.5px; color:#555; display:flex; flex-direction:column; gap:4px}

.qv-row{display:flex; gap:8px; align-items:center; margin-top:6px; flex-wrap:wrap}

.store-foot{padding:14px 18px; border-top:1px solid #EEE; display:flex; gap:12px; align-items:center; font-size:13px; color:#666; flex-wrap:wrap}

.auth-shell::before{content:""; position:absolute; width:480px; height:480px; left:-160px; top:-160px; background:radial-gradient(circle, rgba(255,179,0,.22), rgba(255,179,0,0) 70%); pointer-events:none}

.auth-shell::after{content:""; position:absolute; width:380px; height:380px; right:30%; bottom:-180px; background:radial-gradient(circle, rgba(255,138,0,.12), rgba(255,138,0,0) 70%); pointer-events:none}

.auth-tabs{display:inline-flex; gap:4px; background:#F1EAD8; border-radius:999px; padding:4px; margin:16px 0 20px; box-shadow:inset 0 1px 3px rgba(0,0,0,.07)}

.auth-tabs button{border:0; background:transparent; border-radius:999px; padding:10px 22px; font-weight:800; cursor:pointer; font-size:14px; color:#8A7D52; transition:all .18s ease}

.auth-tabs button.active{background:#111; color:#FFD84D; box-shadow:0 8px 18px rgba(0,0,0,.25)}

.field{margin-top:14px}

.field>label{font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#8A7D52}

.in-wrap{position:relative; margin-top:8px}

.in-wrap input{width:100%; border:1.5px solid transparent; background:#F5F0E1; border-radius:16px; padding:14px 14px 14px 44px; font-size:15px; font-family:inherit; outline:none; transition:border-color .15s ease, box-shadow .15s ease, background .15s ease; box-sizing:border-box}

.in-wrap input::placeholder{color:#A79B78}

.in-wrap input:focus{background:#fff; border-color:#FFB300; box-shadow:0 0 0 4px rgba(255,179,0,.18)}

.role-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:8px}

.role-card{position:relative; display:block; border:1.5px solid #ECE4CF; background:#FCFAF3; border-radius:18px; padding:14px 14px 13px; font-size:13px; cursor:pointer; transition:all .16s ease; line-height:1.45}

.role-card:hover{transform:translateY(-1px); box-shadow:0 10px 22px rgba(122,90,10,.12)}

.role-card input{position:absolute; opacity:0; pointer-events:none}

.role-card .rc-ico{font-size:20px}

.role-card b{display:block; margin-top:6px; font-size:14px}

.role-card .rc-sub{color:#8A7D52}

.role-card .tick{position:absolute; top:10px; right:10px; width:22px; height:22px; border-radius:50%; background:#FFB300; color:#111; font-size:13px; font-weight:900; display:grid; place-items:center; opacity:0; transform:scale(.6); transition:all .16s ease}

.role-card:has(input:checked){border-color:#111; background:linear-gradient(160deg,#1A1A1E,#2B2008); color:#fff; box-shadow:0 14px 28px rgba(0,0,0,.25)}

.role-card:has(input:checked) .rc-sub{color:#D8CBA4}

.role-card:has(input:checked) .tick{opacity:1; transform:scale(1)}

.role-card.sel{border-color:#111; background:linear-gradient(160deg,#1A1A1E,#2B2008); color:#fff; box-shadow:0 14px 28px rgba(0,0,0,.25)}

.role-card.sel .rc-sub{color:#D8CBA4}

.role-card.sel .tick{opacity:1; transform:scale(1)}

.ref-note{background:#FFF9E8; border:1px solid #F5D76A; border-radius:14px; padding:10px 14px; margin-top:14px}

#authSubmitBtn{width:100%; justify-content:center; margin-top:20px; border-radius:16px; padding:15px; font-size:15px; box-shadow:0 14px 30px rgba(255,138,0,.35)}

#authSubmitBtn:hover{transform:translateY(-1px)}

.secure-hint{text-align:center; margin-top:12px}

.glass{background:rgba(20,20,22,.44); border:1px solid rgba(255,255,255,.22); border-radius:20px; padding:18px; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:0 16px 40px rgba(0,0,0,.35)}

.glass blockquote{margin:0; font-size:19px; font-weight:800; line-height:1.4}

.glass .who{display:flex; align-items:center; gap:10px; margin-top:12px; font-size:13px; color:#F3E9CF}

.glass .avatar{width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,var(--hive),var(--hive-2)); color:#111; display:grid; place-items:center; font-weight:900}

.auth-stats{display:flex; gap:8px}

.err{background:#FDE8E8; border:1px solid #F5B5B5; color:#9B1C1C; border-radius:12px; padding:10px 12px; font-size:14px; font-weight:600; margin-top:12px}

.dstat{background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px}

.dstat small{font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#8A7D52}

.dstat b{font-size:30px; display:block; letter-spacing:-.02em}

.dpanel{background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px; min-width:0}

.dpanel h3{margin:0 0 10px}

.dpanel table{width:100%; border-collapse:collapse; font-size:13px}

.dpanel td, .dpanel th{padding:8px 6px; border-bottom:1px solid #F1EAD3; text-align:left}

.conn-row{display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed #EEE; font-size:14px}

.conn-row:last-child{border-bottom:0}

.drawer{position:fixed; right:18px; top:70px; width:360px; max-width:calc(100vw - 36px); background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:16px; z-index:60}

.drawer h3{margin:0 0 10px}

.modal-bg{position:fixed; inset:0; background:rgba(0,0,0,.5); display:grid; place-items:center; z-index:70; padding:18px}

.modal{background:#fff; border-radius:18px; max-width:480px; width:100%; padding:24px; text-align:center}

.toast{position:fixed; left:50%; bottom:22px; transform:translateX(-50%); background:#111; color:#FFE9A8; padding:12px 18px; border-radius:999px; font-weight:700; z-index:10001; box-shadow:var(--shadow)}

.legal h3{margin-top:26px}

.legal p, .legal li{line-height:1.7; color:#444}

.legal ul{padding-left:20px}

.kv-table{width:100%; border-collapse:collapse; font-size:13px}

.kv-table td, .kv-table th{padding:9px 8px; border-bottom:1px solid #F1EAD3; text-align:left; vertical-align:top}

.role-pill{font-size:11px; font-weight:800; border-radius:999px; padding:3px 10px; background:#FFF3C4; border:1px solid #F5D76A}

.viewas-banner{position:sticky; top:0; z-index:60; background:#111; color:#FFD84D; font-size:13px; padding:8px 14px; display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap}

.viewas-banner button{border:0; border-radius:999px; background:#FFB300; color:#111; font-weight:800; padding:5px 14px; cursor:pointer; font-size:13px}

.viewas-btns{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}

.kit-tabs{display:flex; gap:8px; flex-wrap:wrap; margin:16px 0}

.kit-tabs button{border:1px solid #E7E0C8; background:#fff; border-radius:999px; padding:9px 16px; font-weight:800; cursor:pointer; font-size:13px}

.kit-tabs button.active{background:#111; color:#FFD84D}

canvas.art{width:100%; max-width:520px; border-radius:14px; border:1px solid var(--line); box-shadow:var(--shadow)}

canvas.chart{width:100%; height:220px}

.cfg-row{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px}

.cfg-row label{font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#777}

.cfg-row input, .cfg-row textarea{width:100%; margin-top:6px; border:1px solid #E7E0C8; border-radius:12px; padding:10px 12px; font-size:14px; font-family:inherit}

.pay-break{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px}

.pay-break .pstat{background:#FFF9E8; border:1px solid #F5D76A; border-radius:14px; padding:12px}

.pay-break .pstat small{font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#8A7D52}

.pay-break .pstat b{font-size:22px; display:block}

.legend-dot{display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px}

.spin{display:inline-block; width:16px; height:16px; border:2px solid rgba(0,0,0,.2); border-top-color:#111; border-radius:50%; animation:sp 0.8s linear infinite; vertical-align:-3px}

to{transform:rotate(360deg)}

@media (max-width:640px){.qv-grid{grid-template-columns:1fr}.shopbar{padding:4px 16px 0}.shopmeta{padding:6px 16px 0}}


@media(max-width:980px){.cfg-row{grid-template-columns:1fr} .pay-break{grid-template-columns:repeat(2,1fr)}}


html[data-theme="dark"]{--paper:#0C0C0F; --ink:#F4EFE3; --muted:#A39E93; --line:#2B2B32; --card:#16161B; --shadow:0 20px 60px rgba(0,0,0,.55);}

html[data-theme="dark"] .dstat{background:var(--card); border-color:var(--line)}

html[data-theme="dark"] .pvbar [data-tool].on{box-shadow:0 0 14px rgba(255,179,0,.35)}

html[data-theme="dark"] .dtabs button.on{box-shadow:0 0 14px rgba(255,179,0,.35)}

html[data-theme="dark"] .kit-tabs button.active{box-shadow:0 0 14px rgba(255,179,0,.35)}

html[data-theme="dark"] .auth-tabs button.active{box-shadow:0 0 14px rgba(255,179,0,.35)}

h1{font-size:56px; line-height:.95; letter-spacing:-.04em; margin:18px 0 14px}

.builder-shell{margin-top:22px; display:grid; grid-template-columns:380px 1fr; gap:18px; min-width:0}

.panel textarea{min-height:96px; resize:vertical}

.store-hero{display:grid; grid-template-columns:1.1fr .9fr; gap:0; align-items:stretch; min-width:0}

.store-hero.flip{grid-template-columns:.9fr 1.1fr}

.pgrid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; padding:16px 26px 8px; min-width:0}

.feat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px}

.auth-shell{position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:0; background:rgba(255,255,255,.94); border:1px solid rgba(231,224,200,.65); border-radius:32px; overflow:hidden; box-shadow:0 30px 80px rgba(122,90,10,.16), 0 4px 18px rgba(0,0,0,.06); margin-top:26px; min-height:600px}

.auth-form{padding:46px 44px 36px; position:relative; z-index:1}

.auth-side{position:relative; min-height:320px; background:linear-gradient(165deg,#151517,#2E2104); padding:20px}

.auth-side img{position:absolute; top:20px; left:20px; right:20px; bottom:20px; width:calc(100% - 40px); height:calc(100% - 40px); object-fit:cover; border-radius:22px}

.auth-side .overlay{position:absolute; left:36px; right:36px; bottom:36px; display:flex; flex-direction:column; gap:12px; color:#fff}

.dash-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:20px}

.dash-2{display:grid; grid-template-columns:1.4fr 1fr; gap:14px; margin-top:14px}

.cart-line{display:flex; gap:10px; align-items:center; padding:8px 0; border-bottom:1px dashed #EEE; font-size:14px}

.cart-line img{width:48px; height:48px; border-radius:10px; object-fit:cover}

.cfg-row textarea{min-height:64px; resize:vertical}

.art-row{display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; margin-top:14px}

/* ---------- v2.4.1: missing .dtabs base (verbatim from the app) + anchor-button lockdown ---------- */
.dtabs{display:flex; gap:8px; flex-wrap:wrap; margin:16px 0 4px}

.dtabs button{border:1.5px solid #ECE4CF; background:#FCFAF3; border-radius:999px; padding:8px 16px; font-size:13px; font-weight:800; cursor:pointer; color:#444}

.dtabs button:hover{border-color:#111}

.dtabs button.on{background:#111; color:#FFD84D; border-color:#111}

/* Theme / link-color rules must never recolor buttons: anchor variants keep
   their own colors in every link state (beats .topbar a / a:visited / kept
   library link rules on specificity). No dark anchor overrides — same as the
   app, anchors keep their light-variant look in both themes. */
.shp-canvas a.btn.btn-ghost, .shp-canvas a.btn.btn-ghost:link, .shp-canvas a.btn.btn-ghost:visited{background:#fff; color:#111; border:1px solid #E7E0C8}

.shp-canvas a.btn.btn-dark, .shp-canvas a.btn.btn-dark:link, .shp-canvas a.btn.btn-dark:visited{background:#111; color:#fff; border:1px solid #111}

.shp-canvas a.btn.btn-hive, .shp-canvas a.btn.btn-hive:link, .shp-canvas a.btn.btn-hive:visited{background:linear-gradient(135deg,var(--hive),var(--hive-2)); color:#111; border:0}

.shp-canvas .nav-links a, .shp-canvas .nav-links a:link, .shp-canvas .nav-links a:visited{color:var(--ink); text-decoration:none}

.shp-canvas a.logo, .shp-canvas a.logo:link, .shp-canvas a.logo:visited{color:var(--ink); text-decoration:none}