:root{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e293b;font-size:14px;font-synthesis:none;--green:#10a37f;--muted:#64748b;--blue:#1d9bf0}*{box-sizing:border-box}body{margin:0;background:#0f172a;min-height:100vh}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:#4c7dff}button:focus-visible,a:focus-visible{outline:3px solid #4c7dff;outline-offset:4px}button{border:0}p{line-height:1.6}h1,h2,h3,p{margin-top:0}input,textarea{width:100%;min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:9px;padding:10px 12px;color:#334155;outline:none;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:13px;transition:border-color .2s,box-shadow .2s}input:focus,textarea:focus{border-color:#6477ff;box-shadow:0 0 0 3px #6477ff20}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#888}[hidden]{display:none!important}.platform-nav{position:fixed;z-index:20;top:14px;left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:5px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;box-shadow:0 3px 12px #0002;white-space:nowrap}.platform-nav a{display:flex;gap:7px;align-items:center;padding:7px 14px;border-radius:999px;color:#475569;text-decoration:none;font-size:13px;font-weight:700;transition:background .2s}.platform-nav img{width:16px;height:16px;object-fit:contain}.platform-nav a[aria-current=page]{color:white;background:linear-gradient(135deg,#10a37f,#0d8a6b);box-shadow:0 3px 10px #10a37f55}.platform-nav a[data-route=grok][aria-current=page]{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);box-shadow:0 3px 10px #0005}.gpt-page{max-width:1080px;margin:104px auto 56px;position:relative;isolation:isolate}.gpt-page:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 12% 18%,#6ee7b738,transparent 38%),radial-gradient(circle at 88% 22%,#34d39929,transparent 45%),radial-gradient(circle at 50% 88%,#10a37f1a,transparent 55%),linear-gradient(#f6fffb,#fff 60%,#f0fdf9)}.gpt-hero{padding:55px 64px;border:1px solid #10a37f26;border-radius:28px;background:linear-gradient(135deg,#ffffffb3,#ffffff66),linear-gradient(135deg,#f0fdf9,#d1fae5 55%,#a7f3d0);box-shadow:0 20px 60px #10a37f2e,0 4px 12px #10a37f14;position:relative;overflow:hidden;margin-bottom:18px}.gpt-hero:before{content:"";position:absolute;right:-8%;top:-30%;height:380px;width:380px;background:radial-gradient(circle,#10a37f52,transparent 65%);pointer-events:none;animation:orb 10s ease-in-out infinite alternate}.gpt-hero:after{content:"";position:absolute;left:-6%;bottom:-40%;height:320px;width:320px;background:radial-gradient(circle,#34d39942,transparent 70%);pointer-events:none}.gpt-hero>*{position:relative;z-index:1}.gpt-hero h1{font-family:"Times New Roman",Georgia,serif;font-size:36px;line-height:1.08;letter-spacing:-1px;font-weight:800;color:#0d8a6b;margin:0 0 30px;display:block;width:fit-content;position:relative}.gpt-hero h1:after,.grok-hero h1:after{content:"";position:absolute;left:0;bottom:-6px;display:block;width:56px;height:3px;margin-top:0;background:linear-gradient(90deg,#10a37f,transparent);border-radius:2px}.gpt-hero .subtitle{font-size:15px;color:#5d746d;line-height:1.55;margin:0}.auto-notice{max-width:520px;margin:14px auto 24px;padding:10px 16px;border:1px solid #a7f3b9;background:#f0fdf4d9;border-radius:12px;color:#248247;font-size:13px;line-height:1.5;display:flex;align-items:center;gap:12px}.auto-notice>span{font-size:20px}.stats{display:flex;gap:14px;flex-wrap:wrap}.stat{display:flex;align-items:center;gap:12px;border:1px solid #10a37f33;border-radius:15px;padding:12px 16px;background:#ffffffa6;min-width:124px}.stat .icon{height:36px;width:36px;display:grid;place-items:center;font-size:20px;background:linear-gradient(135deg,#10a37f,#07866c);border-radius:10px;box-shadow:0 4px 12px #10a37f33}.stat strong{display:block;font-size:20px;line-height:1.1;color:#103d37}.stat small{font-size:11px;color:#4b5d59}.stat .caption{font-size:10px;font-weight:600;letter-spacing:.3px;margin-top:4px;color:#526a63}.content-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:20px 24px;border-radius:22px;background:#ffffffe0;border:1px solid #10a37f1f;box-shadow:0 8px 32px #10a37f14;position:relative;overflow:hidden;backdrop-filter:blur(18px);transition:transform .3s,box-shadow .3s}.panel:before,.grok-card:before{position:absolute;content:"";height:2px;top:0;left:0;right:0;background:linear-gradient(90deg,transparent,#34d399);opacity:.65}.panel:hover{transform:translateY(-2px);box-shadow:0 14px 40px #10a37f24}.panel-title{font-size:17px;font-weight:700;color:#103d37;display:flex;align-items:center;gap:10px;margin:0 0 20px;line-height:27.2px}.panel-title:before,.grok-card h2:before{content:"";height:16px;width:4px;background:var(--green);border-radius:2px;flex-shrink:0}.guide-list{display:grid;gap:22px;counter-reset:guide}.guide-item{position:relative;padding:16px 18px 16px 52px;margin-bottom:10px;border:1px solid #10a37f1f;border-left:3px solid var(--stripe);border-radius:14px;background:#fff9;counter-increment:guide}.guide-item:before{content:counter(guide);position:absolute;left:14px;top:14px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;color:#0d8a6b;border:1px solid #10a37f40;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.guide-item h3{font-size:16px;line-height:25.6px;margin:0 0 6px}.guide-item p{font-size:14px;line-height:1.7;color:#64748b;margin:0}.guide-action{display:inline-flex;justify-content:center;min-width:120px;min-height:36px;align-items:center;padding:6px 14px;margin-top:8px;border-radius:9px;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #10a37f40;font-size:12px;font-weight:700;color:#0d8a6b;text-decoration:none;transition:.2s}.guide-action:hover{background:#10a37f;color:#fff}.fast-box{margin:12px 0;padding:14px;border-radius:10px;border:1px solid #4c7dff33;background:linear-gradient(135deg,#4c7dff14,#7b5cff0f)}.fast-title{width:100%;padding:12px;border-radius:9px;color:white;font-weight:700;background:linear-gradient(135deg,#4c7dff,#7b5cff);box-shadow:0 0 0 5px #4c7dff1a,0 4px 12px #4c7dff33;margin:4px 0 20px;text-align:center}.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:8px}.plan{display:flex;align-items:center;justify-content:center;text-align:center;padding:13px 5px 10px;min-height:70px;border-radius:16px;background:#ffffffb3;box-shadow:0 1px 3px #0001;border:1px solid #e2e8f0;color:#6960ff;font-weight:750;transition:.2s;text-decoration:none}.plan:hover,.plan.active{box-shadow:0 6px 18px #4c7dff22;background:#fff}.plan:focus-visible{outline-offset:1px}.stock{display:flex;align-items:center;width:fit-content;margin:6px auto 0;padding:2px 10px;border-radius:999px;background:#22c55e1a;color:#36a366;font-size:10px;line-height:16px;font-weight:600}.stock:before{content:"";display:inline-block;width:6px;height:6px;background:#22c55e;border-radius:50%;margin-right:5px}.plan-note{font-size:11.5px;line-height:1.7;color:#64748b;margin-bottom:6px;overflow-wrap:anywhere}.field-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#52617b;margin:8px 0}.step{display:inline-grid;place-items:center;flex-shrink:0;width:20px;height:20px;border-radius:50%;background:#6c63ff;color:white;font-size:12px}.fast-box textarea{height:140px;min-height:140px;margin-top:0;font-size:12px}.hint{font-size:11px;color:#8190a5;line-height:1.6;margin-top:9px;overflow-wrap:anywhere}.hint a{text-decoration:none}.go{display:block;width:100%;border-radius:10px;padding:13px;margin-top:10px;background:linear-gradient(135deg,#4c7dff,#7b5cff);color:#fff;font-weight:700}.go:disabled{background:#a2aabb88;color:#ffffffaa}.query-bar{background:linear-gradient(135deg,#f9faff,#f3f4fa);border:1px solid #dce2ed;border-radius:16px;padding:18px 20px;margin-top:30px;text-align:center}.query-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.primary,.secondary{padding:12px 20px;border-radius:11px;font-weight:700;background:#3478f6;color:white;box-shadow:0 5px 16px #3478f633}.primary.green{background:linear-gradient(135deg,#10a37f,#0d8a6b)}.secondary{background:#f1f5f9;color:#475569;box-shadow:none}.query-bar p{margin:16px 0 0;font-size:13px;color:#94a3b8}.demo-note{font-size:11px;text-align:center;color:#76859a;margin:20px 0;line-height:1.8}.status{padding:11px 13px;border-radius:8px;font-size:12px;line-height:1.6;overflow-wrap:anywhere;background:#eef2ff;color:#4659ac;margin:12px 0 0}.status.error{background:#fff1f2;color:#c24153}.grok-page{max-width:724px;margin:48px auto 32px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;font-size:13px;color:#e7e9ea;line-height:1.6}body.grok{background:#000}.grok-hero{padding:38px 36px 32px;border-radius:28px;border:1px solid #ffffff14;background:radial-gradient(ellipse at 80% 40%,#0097e92e,transparent 50%),radial-gradient(ellipse at 15% 100%,#8051d22b,transparent 50%),linear-gradient(135deg,#0f0f12eb,#000d);box-shadow:0 1px 0 #fff1 inset}.grok-heading{line-height:1.1}.grok-logo{display:inline-block;vertical-align:baseline;width:86px;height:86px;border-radius:24px;background:#000;border:1px solid #ffffff26;box-shadow:0 0 30px #1d9bf01a;overflow:hidden}.grok-logo img{width:84px;height:84px}.grok-hero h1{display:inline-block;position:relative;vertical-align:baseline;font-size:36px;font-weight:800;letter-spacing:-1.25px;line-height:1.1;margin:0 0 8px;background:linear-gradient(135deg,#fff,#b4c6d4);background-clip:text;color:transparent}.grok-hero h1:after{background:linear-gradient(90deg,#1d9bf0,transparent);margin-top:5px}.grok-hero .sub{font-size:15px;color:#71767b;line-height:1.55;margin:26px 0 24px}.grok-page .stats{gap:12px}.grok-page .stat{background:#ffffff0a;border-color:#ffffff1f;padding:12px 16px;min-width:123px;gap:12px}.grok-page .stat .icon{background:#1d9bf0;box-shadow:0 4px 12px #1d9bf033;width:34px;height:34px;font-size:19px}.grok-page .stat strong{color:#fff;font-size:18px}.grok-page .stat small,.grok-page .stat .caption{color:#71767b}.grok-tabs{display:flex;gap:5px;padding:5px;border:1px solid #78a0ff26;background:linear-gradient(135deg,#78a0ff0f,#78a0ff05);border-radius:16px;margin:28px 0 14px}.grok-tabs button{height:41px;line-height:normal;flex:1;background:transparent;color:#94a3b8;padding:12px 8px;border-radius:11px;font-size:13px;font-weight:700}.grok-tabs button.active{background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;box-shadow:0 4px 16px #0ea5e94d}.grok-card{position:relative;overflow:hidden;background:#16181cd9;padding:28px 30px;border:1px solid #ffffff1f;border-radius:22px;margin:0 0 18px;box-shadow:0 1px 0 #ffffff0d inset}.grok-card:before{background:linear-gradient(90deg,transparent,#1d9bf0)}.grok-card h2{display:flex;align-items:center;gap:12px;margin:0 0 20px;font-size:18px;color:#fff;line-height:29px}.grok-card h2:before{background:#1d9bf0;height:18px}.grok-stock{font-size:11px;color:#1d9bf0;background:#1d9bf02e;border:1px solid #1d9bf066;border-radius:999px;padding:5px 14px;margin-left:6px;font-weight:800;line-height:18px}.grok-card .field-label{font-size:11px;color:#e7e9ea;text-transform:uppercase;letter-spacing:.8px;gap:10px;margin:18px 0 10px}.grok-card .step{width:26px;height:26px;background:linear-gradient(135deg,#fff,#c9d1d9);color:#000;box-shadow:0 0 0 3px #ffffff14,0 4px 12px #ffffff1f}.grok-card input,.grok-card textarea{line-height:normal;padding:14px 16px;border:1px solid #ffffff1f;border-radius:14px;font-size:14px;background:#000;color:white}.grok-card input::placeholder,.grok-card textarea::placeholder{color:#71767b}.grok-card input:focus,.grok-card textarea:focus{border-color:#1d9bf0;box-shadow:0 0 0 4px #1d9bf02e}.grok-card .hint{color:#71767b;font-size:12px;line-height:21px;margin-top:12px}.grok-page a{color:#1d9bf0}.grok-go{line-height:normal;height:54px;margin-top:22px;padding:16px 28px;width:100%;border-radius:999px;background:linear-gradient(135deg,#fff,#f0f0f0);color:#000;font-size:15px;font-weight:800}.grok-go:disabled{background:#2a2c30;color:#71767b;opacity:.7}.grok-faq h3{font-size:13px;color:#e7e9ea;margin:20px 0 6px}.grok-faq p{color:#71767b;font-size:13px;margin:0;line-height:1.8}.grok-faq code{background:#000;padding:2px 8px;border-radius:3px}.grok-guide{padding:0;border:0;background:none;width:100%;margin:6px 0 0;cursor:zoom-in}.grok-guide img{display:block;width:100%;height:auto;border-radius:18px}.grok-card h2 .query-sub{font-size:11px;font-weight:400;color:#94a3b8;margin-left:auto;line-height:1.5}.grok-query textarea{min-height:170px}.query-meta{display:flex;justify-content:space-between;align-items:center;margin:8px 0;color:#94a3b8;font-size:12px}.clear-query{border:1px solid #334155;background:transparent;color:#94a3b8;border-radius:6px;padding:4px 10px}.grok-query .primary{width:100%;background:linear-gradient(135deg,#0ea5e9,#0284c7)}.grok-page .status{background:#1d9bf01a;color:#7dd3fc;border:1px solid #1d9bf033}.grok-page .status.error{background:#ef44441a;color:#fca5a5;border-color:#ef444433}.query-result{margin-top:10px;border:1px solid #334155;border-radius:10px;padding:12px;color:#94a3b8;overflow-wrap:anywhere}.query-result summary{cursor:pointer;color:#e7e9ea}.query-result p{margin-bottom:0}dialog{width:min(600px,calc(100% - 32px));padding:24px;border:1px solid #e2e8f0;border-radius:18px;color:#1e293b;box-shadow:0 24px 80px #0004;max-height:90vh}dialog::backdrop{background:#0006;backdrop-filter:blur(3px)}dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}dialog h2{font-size:18px;margin:0}dialog .close{background:transparent;color:#94a3b8;font-size:28px;line-height:1;padding:3px 6px}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}dialog textarea{min-height:160px}#image-dialog{width:min(1100px,calc(100% - 32px));padding:40px 12px 12px;background:#fff}#image-dialog .close{position:absolute;right:10px;top:8px}#image-dialog img{display:block;width:100%;height:auto}.gpt-hero,.panel,.grok-hero,.grok-card{animation:enter .55s cubic-bezier(.2,.8,.2,1) both}.panel:nth-child(2){animation-delay:.18s}@keyframes enter{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes orb{to{transform:translate(-20px,20px) scale(1.08)}}@media(max-width:1120px){.gpt-page{margin-left:24px;margin-right:24px}}@media(max-width:960px){.content-layout{grid-template-columns:1fr}}@media(max-width:780px){.grok-page{margin-left:34px;margin-right:34px}}@media(min-width:641px) and (max-width:768px){.gpt-page{margin-top:128px}.gpt-hero{min-height:449px}.gpt-hero .stats{max-width:450px}}@media(max-width:640px){.platform-nav{top:12px;max-width:calc(100% - 24px)}.platform-nav a{padding:8px 12px;font-size:12px}.gpt-page{margin:126px 24px 32px}.gpt-hero{padding:46px;min-height:445px;border-radius:26px}.gpt-hero h1{font-size:26px;margin-bottom:20px}.gpt-hero .subtitle{font-size:13px}.auto-notice{font-size:12px;padding:10px 14px;margin:14px auto 16px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stat{min-width:0;padding:10px;gap:8px;border-radius:12px}.stat .icon{width:28px;height:28px;font-size:16px;flex-shrink:0}.stat strong{font-size:14px}.stat .caption{font-size:9px}.panel{padding:22px 24px}.panel-title{font-size:16px}.guide-item{padding:14px 14px 14px 46px}.guide-item:before{width:22px;height:22px;left:12px;top:12px;font-size:11px}.guide-item h3{font-size:16px}.guide-item p{font-size:14px}.plans{grid-template-columns:repeat(2,minmax(0,1fr))}.fast-box{padding:14px;margin:8px 0}.fast-title small{display:block;font-size:10px;font-weight:400}.plan{font-size:13px}.fast-box textarea{height:180px}.query-actions{flex-direction:column;align-items:center}.query-bar{padding:18px 14px}.grok-page{margin:144px 30px 32px}.grok-hero{padding:28px 22px 24px;min-height:369px}.grok-logo{width:64px;height:64px;border-radius:18px}.grok-logo img{width:62px;height:62px}.grok-hero h1{font-size:26px;margin-top:22px}.grok-hero .sub{font-size:13px;margin:20px 0}.grok-page .stats{gap:8px}.grok-page .stat{min-width:0;padding:10px;gap:9px}.grok-page .stat strong{font-size:16px}.grok-page .stat .icon{width:30px;height:30px}.grok-card{padding:22px 20px;border-radius:18px}.grok-card h2{font-size:16px;gap:8px;flex-wrap:wrap}.grok-card h2 .query-sub{margin-left:0;width:100%}.grok-card input{font-size:14px;padding:14px 12px}.grok-stock{padding:3px 10px}.grok-card .hint{font-size:12px}.grok-go{font-size:14px}.grok-faq code{overflow-wrap:anywhere}.grok-tabs{margin-top:28px}.grok-guide img{border-radius:12px}}@media(max-width:380px){.gpt-page{margin-left:14px;margin-right:14px}.gpt-hero{padding:30px 26px}.panel{padding:18px}.grok-page{margin-left:24px;margin-right:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.gpt-hero{padding-top:28px;padding-bottom:28px}
.gpt-page .guide-list{gap:10px;max-height:none;overflow:visible}
.gpt-page .guide-item{margin-bottom:0}
#gpt-form > .hint{display:none}
.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.guide-heading h3{margin:0;min-width:0;overflow-wrap:anywhere}
.guide-heading .guide-action{margin:0;min-width:0;min-height:30px;padding:4px 10px;flex-shrink:0}
.recharge-actions{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.recharge-actions .go,.recharge-actions .primary{width:100%;min-width:0;min-height:48px;margin:0;padding:8px 6px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
@media(min-width:641px) and (max-width:768px){.gpt-hero{min-height:359px}}
@media(max-width:640px){
  .gpt-hero{min-height:356px}
  .guide-heading{gap:6px}
  .guide-heading h3{font-size:14px}
  .guide-heading .guide-action{font-size:11px;padding:4px 6px}
  .recharge-actions{gap:5px}
  .recharge-actions .go,.recharge-actions .primary{font-size:11px;padding:8px 4px}
}

.dialog-results{margin-top:12px;display:grid;gap:8px;max-height:40vh;overflow:auto}
.dialog-result-line{margin:0;padding:10px 12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;line-height:1.55;color:#334155;overflow-wrap:anywhere;font-family:ui-monospace,"SF Mono",Menlo,monospace}
.stock{background:#94a3b81a;color:#64748b}
.stock:before{background:#94a3b8}

/* Linked plan cards are <a class="plan"> (whole card clickable, no buy badge) */
a.plan{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;cursor:pointer}
a.plan:hover{color:#6960ff}


/* Query-center result cards (CDK history + subscription) */
dialog.wide{width:min(720px,calc(100% - 24px))}
.dialog-results{margin-top:12px;display:grid;gap:12px;max-height:55vh;overflow:auto}
.qcard{margin:0;padding:14px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 2px 10px #0f172a0a}
.qcard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}
.qcard-title{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:12px;font-weight:700;color:#0f172a;overflow-wrap:anywhere}
.qcard-hint{margin:0 0 10px;font-size:12px;color:#64748b;line-height:1.5}
.qbadge{flex-shrink:0;display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700;background:#e2e8f0;color:#475569}
.qbadge.st-completed{background:#dcfce7;color:#166534}
.qbadge.st-pending,.qbadge.st-submitted,.qbadge.st-manual_review{background:#dbeafe;color:#1d4ed8}
.qbadge.st-failed{background:#fee2e2;color:#b91c1c}
.qbadge.st-unused{background:#f1f5f9;color:#475569}
.qbadge.st-replaced{background:#ffedd5;color:#c2410c}
.qbadge.st-notfound,.qbadge.st-unknown{background:#f8fafc;color:#64748b}
.qkv-grid{display:grid;gap:8px}
.qkv{display:grid;grid-template-columns:88px 1fr;gap:8px;font-size:12px;line-height:1.45}
.qkv-k{color:#94a3b8;font-weight:600}
.qkv-v{color:#1e293b;overflow-wrap:anywhere}
.sub-result{display:grid;gap:12px}
.sub-hero{padding:14px;border-radius:14px;background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid #e2e8f0}
.sub-hero-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.sub-label{font-size:12px;font-weight:700;color:#64748b;margin-bottom:4px}
.sub-plan{font-size:22px;font-weight:800;color:#0f172a;line-height:1.2}
.sub-desc{margin-top:6px;font-size:12px;color:#64748b}
.sub-banner{padding:10px 12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;line-height:1.5}
.sub-banner.warn{background:#fef3c7;border-color:#fde68a;color:#92400e}
.sub-mid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.sub-mid{grid-template-columns:1fr}}
.sub-mid-card{padding:12px;border-radius:12px;background:#fff;border:1px solid #e2e8f0}
.sub-mid-k{font-size:11px;color:#94a3b8;font-weight:700;margin-bottom:6px}
.sub-mid-v{font-size:14px;font-weight:750;color:#0f172a}
.sub-mid-v.on{color:#15803d}
.sub-mid-v.off{color:#b45309}
.sub-grid{padding:12px;border-radius:12px;background:#fff;border:1px solid #e2e8f0}
.grok-page .qcard{background:#16181c;border-color:#ffffff1f;color:#e7e9ea}
.grok-page .qcard-title{color:#e7e9ea}
.grok-page .qkv-k{color:#71767b}
.grok-page .qkv-v{color:#e7e9ea}
.grok-page .qcard-hint{color:#94a3b8}

/* Grok wizard (multi-step recharge) */
.grok-steps{display:flex;gap:0;list-style:none;margin:0 0 22px;padding:0;align-items:center;justify-content:space-between}
.grok-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;color:#64748b;font-size:12px;font-weight:600}
.grok-step:not(:last-child):after{content:"";position:absolute;top:14px;left:calc(50% + 18px);right:calc(-50% + 18px);height:3px;background:#334155;border-radius:2px;z-index:0}
.grok-step.done:not(:last-child):after,.grok-step.active:not(:last-child):after{background:linear-gradient(90deg,#0ea5e9,#38bdf8)}
.grok-step .n{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#1e293b;border:2px solid #334155;color:#94a3b8;font-weight:800;z-index:1;position:relative}
.grok-step.active .n,.grok-step.done .n{background:linear-gradient(135deg,#0ea5e9,#0284c7);border-color:#38bdf8;color:#fff}
.grok-step.active{color:#e2e8f0}
.grok-step .t{text-align:center;line-height:1.3}
.grok-plan-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px;color:#e7e9ea;font-size:14px;font-weight:700}
.grok-plan-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#111;font-size:12px;font-weight:800}
.grok-plan-pill:before{content:"⚡"}
.grok-cdk-tail{margin-left:auto;font-size:12px;color:#94a3b8;font-weight:600}
.grok-sso-guide{padding:14px 16px;border-radius:12px;background:#0ea5e914;border:1px solid #0ea5e933;margin-bottom:16px}
.grok-sso-guide strong{display:block;color:#e7e9ea;margin-bottom:6px;font-size:13px}
.grok-sso-guide p{margin:0;color:#94a3b8;font-size:13px;line-height:1.7}
.grok-example-link{display:inline;margin-left:6px;padding:0;border:0;background:none;color:#38bdf8;font-weight:700;cursor:pointer;text-decoration:underline}
.grok-sso-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.grok-sso-head .field-label{margin:0;flex:1}
.grok-sso-head .lock{margin-right:2px}
.grok-import-btn{border:1px solid #7c3aed66;background:#7c3aed22;color:#c4b5fd;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700}
.grok-import-btn:hover{background:#7c3aed44}
#grok-sso{min-height:110px;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:12px}
.grok-secure-note{display:flex;align-items:flex-start;gap:8px;margin:14px 0;padding:12px 14px;border-radius:12px;background:#7c3aed1f;border:1px solid #7c3aed44;color:#ddd6fe;font-size:12px;line-height:1.55}
.grok-wizard-actions{display:flex;gap:12px;margin-top:8px}
.grok-wizard-actions .grok-go{flex:1;margin-top:0}
.grok-back{flex:0 0 auto;min-width:110px;height:54px;margin-top:0;padding:0 18px;border-radius:999px;background:transparent;border:1px solid #475569;color:#e2e8f0;font-weight:700}
.grok-back:hover{border-color:#94a3b8}
.grok-done{text-align:center;padding:18px 8px 8px}
.grok-done-icon{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#10b981,#059669);color:#fff;font-size:28px;font-weight:800}
.grok-done h3{color:#fff;margin:0 0 10px;font-size:18px}
.grok-done p{color:#94a3b8;margin:0 0 12px;line-height:1.7}
