:root{--bg:#0d0e13;--panel:#18191f;--panel2:#22232b;--muted:#9b9da9;--text:#f8f8fb;--yellow:#ffdf38;--border:#34353d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.65 Inter,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px max(4%,calc((100vw - 1160px)/2));background:#101116ed;border-bottom:1px solid #24252a;backdrop-filter:blur(14px)}.brand{font-size:21px;font-weight:900;letter-spacing:-1.1px;white-space:nowrap}.brand-ai{color:var(--yellow)}.brand small{display:inline-block;font-size:9px;color:#b6b7bd;margin-left:5px;vertical-align:top;letter-spacing:2px}.topbar nav{display:flex;align-items:center;gap:20px;font-size:13px;font-weight:650}.topbar nav a:hover,.yellow,.section-head a,.muted a{color:var(--yellow)}.nav-signup{padding:9px 15px;background:var(--yellow);border-radius:9px;color:#141414!important}.inline{display:inline}.nav-logout{border:0;color:#ddd;background:none;padding:0}.container{max-width:1160px;margin:0 auto;padding:0 24px;min-height:72vh}footer{text-align:center;border-top:1px solid var(--border);padding:35px;color:#9b9da9;font-size:12px;margin-top:65px}footer span{color:var(--yellow)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,5vw,54px);line-height:1.17;letter-spacing:-1.8px}h2{font-size:24px;line-height:1.3;letter-spacing:-.5px}h3{font-size:18px;line-height:1.35}p{color:#adb0bc}.eyebrow{color:var(--yellow);font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase;margin-bottom:12px}.hero{padding:92px 0 100px;max-width:835px}.hero h1{font-size:clamp(43px,6.3vw,76px);font-weight:850;letter-spacing:-3px;margin-bottom:25px}.hero em{font-style:normal;color:var(--yellow)}.hero>p{font-size:18px;max-width:680px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:12px 19px;font-weight:800;font-size:13px;line-height:1.4;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--yellow);color:#171714}.btn.secondary{background:#24252c;color:#fafafa;border-color:var(--border)}.btn.small{padding:7px 10px;font-size:12px}.btn.full{width:100%}.stats{display:flex;gap:35px;margin-top:48px;color:#a8aab3;font-size:12px;flex-wrap:wrap}.stats b{color:white;font-size:17px;margin-right:7px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.section-head h2{margin-bottom:0}.section-head a{font-size:13px;font-weight:800}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product,.card,.kpi{background:linear-gradient(150deg,#1b1c23,#15161b);border:1px solid var(--border);border-radius:16px}.product{display:flex;flex-direction:column;min-height:223px;padding:22px;transition:.18s}.product:hover{border-color:#82752f;transform:translateY(-3px)}.product h3{margin:8px 0}.product p{font-size:13px;line-height:1.65;flex:1}.product .bigicon{display:grid;place-items:center;background:#2c2b20;color:var(--yellow);width:45px;height:45px;border-radius:12px;font-size:23px}.product-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #35353a;padding-top:15px;margin-top:12px}.product-bottom b{color:var(--yellow)}.product-bottom span{font-size:12px;color:#d8d8de}.page-head{padding:45px 0 28px}.page-head h1{font-size:clamp(32px,4.5vw,48px);margin-bottom:12px}.page-head p{max-width:700px}.search{margin-bottom:25px}.search input{max-width:580px}.tiny{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--yellow);margin-top:14px;font-weight:800}.card{padding:24px;margin-bottom:18px}.card h2{margin-bottom:16px}.auth{max-width:460px;margin:75px auto}.auth h1{font-size:32px}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 17px}.field>span{color:#e4e4e8;font-size:13px;font-weight:700}input,textarea,select{width:100%;color:var(--text);background:#0e0f14;border:1px solid #383943;outline:none;border-radius:9px;padding:11px 13px}input:focus,textarea:focus,select:focus{border-color:var(--yellow)}textarea{resize:vertical}.auth .center{margin-top:18px}.muted{color:var(--muted);font-size:13px}.center{text-align:center}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:12px 0 38px}.kpi{padding:22px}.kpi b{display:block;font-size:29px;color:var(--yellow);line-height:1.4}.kpi span{font-size:12px;color:#abacb5}.empty,.blank{padding:55px 25px;background:#16171d;border:1px dashed #42434c;text-align:center;color:var(--muted);border-radius:14px;margin-bottom:25px}.empty a{color:var(--yellow)}.pill{display:inline-block;align-self:start;border-radius:30px;font-size:10px;font-weight:800;letter-spacing:1px;padding:4px 10px;background:#253b29;color:#9fe5aa}.line{display:flex;justify-content:space-between;border-bottom:1px solid #303038;padding:11px 0;gap:15px}.line:last-child{border:0}.line small{color:var(--muted)}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:20px}.output textarea{background:#0d0e13;white-space:pre-wrap;font-size:13px;line-height:1.7}.output .section-head{margin-bottom:13px}.purchase{max-width:720px;margin:auto;text-align:center;padding:55px 25px}.purchase .price{color:var(--yellow);font-weight:900;font-size:42px;margin:12px}.purchase .muted{margin-top:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:left;font-size:11px;color:var(--yellow);text-transform:uppercase;letter-spacing:1px}th,td{padding:12px 11px;border-bottom:1px solid #34353a}td{color:#ddd}td a{color:var(--yellow)}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.alert{padding:12px 18px;border-radius:10px;margin-top:15px;background:#203925;color:#c0f5c8;border:1px solid #315b3a}.alert.err{background:#422023;color:#ffc1c7;border-color:#68343c}[hidden]{display:none!important}@media(max-width:760px){.topbar{padding:12px 17px;align-items:flex-start;flex-direction:column}.topbar nav{width:100%;overflow-x:auto;gap:13px;white-space:nowrap}.container{padding:0 16px}.hero{padding:65px 0}.hero h1{letter-spacing:-2px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-layout{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}}@media(max-width:500px){.cards{grid-template-columns:1fr}.stats{gap:13px}.card{padding:18px}.section-head{align-items:flex-start}.product{min-height:185px}}

/* Prompt History add-on */
.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}.history-list{display:flex;flex-direction:column}.history-entry{padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--border)}.history-entry:first-child{padding-top:0}.history-entry:last-child{border-bottom:0;padding-bottom:0}.history-entry>div:first-child{min-width:0;flex:1}.history-entry h3{margin:0 0 4px}.history-preview{font-size:13px;color:var(--muted);overflow-wrap:anywhere;margin:9px 0 0}.history-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.history-actions form{margin:0}.history-pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin:24px 0}.history-pagination span{font-size:13px;color:var(--muted)}@media(max-width:760px){.history-entry{align-items:flex-start;flex-direction:column}.history-actions{width:100%}}
