.builder-page { min-height:100vh; padding-top:0; background:#070b13; color:#edf5ff; }
.builder-page .hub-layout { align-items:stretch; min-height:100vh; overflow-x:hidden; }
.builder-main { width:100%; max-width:none; min-width:0; flex:1 1 auto; padding:0 0 36px; }
.builder-hero { position:relative; display:flex; min-height:260px; align-items:center; overflow:hidden; padding:30px clamp(20px,4vw,58px); isolation:isolate; background:#081323; }
.builder-hero::before,.builder-hero::after { position:absolute; z-index:-1; inset:0; content:""; }
.builder-hero::before { background:linear-gradient(90deg,rgba(3,8,18,.96),rgba(3,8,18,.82) 48%,rgba(3,8,18,.1)),linear-gradient(0deg,rgba(5,9,17,.66),transparent 55%); }
.builder-hero::after { z-index:-2; background:radial-gradient(ellipse at 15% 15%,rgba(39,221,191,.13),transparent 45%),#081323; }
.sales-hero::after { background:radial-gradient(ellipse at 15% 15%,rgba(255,157,83,.15),transparent 45%),#081323; }
.builder-hero-copy { position:relative; z-index:1; width:min(690px,72%); }
.builder-eyebrow { margin:0 0 8px; color:#51e6d1; font:700 10px/1.3 'Prompt',sans-serif; letter-spacing:.17em; }
.sales-hero .builder-eyebrow { color:#ffb467; }
.builder-hero h1 { margin:0; color:#fff; font:800 clamp(27px,4vw,46px)/1.24 'Prompt',sans-serif; }
.builder-hero h1 span { color:#5de4d2; }
.sales-hero h1 span { color:#ffbd63; }
.builder-hero-copy > p:last-child { max-width:560px; margin:10px 0 0; color:#d4dfed; font:400 12px/1.8 'Prompt',sans-serif; }
.builder-hero > img { position:absolute; z-index:-2; top:0; right:0; width:56%; height:100%; object-fit:cover; object-position:center 40%; opacity:.88; mask-image:linear-gradient(90deg,transparent 0%,#000 36%); }
.builder-workspace { display:grid; grid-template-columns:minmax(300px,.88fr) minmax(0,1.12fr); gap:14px; padding:18px 0 18px clamp(12px,2vw,26px); }
.builder-form,.builder-result { min-width:0; padding:18px; border:1px solid transparent; border-radius:15px; background:linear-gradient(150deg,rgba(15,29,49,.97),rgba(8,14,25,.98)) padding-box,linear-gradient(140deg,rgba(255,255,255,.52),rgba(79,224,220,.64) 22%,rgba(255,255,255,.1) 54%,rgba(79,174,220,.3)) border-box; box-shadow:0 10px 28px rgba(0,0,0,.25),0 0 15px rgba(65,211,213,.08),inset 0 1px 0 rgba(255,255,255,.12); }
.sales-builder-page .builder-form,.sales-builder-page .builder-result { background:linear-gradient(150deg,rgba(25,25,38,.97),rgba(11,13,24,.98)) padding-box,linear-gradient(140deg,rgba(255,255,255,.5),rgba(255,180,82,.72) 22%,rgba(255,255,255,.1) 54%,rgba(255,120,63,.34)) border-box; box-shadow:0 10px 28px rgba(0,0,0,.25),0 0 15px rgba(255,160,70,.1),inset 0 1px 0 rgba(255,255,255,.12); }
.builder-section-heading { display:flex; align-items:center; gap:10px; margin-bottom:17px; }
.builder-step { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; border:1px solid rgba(67,219,202,.44); border-radius:10px; background:rgba(46,210,198,.1); color:#68eddf; font:700 11px 'Prompt',sans-serif; }
.sales-builder-page .builder-step { border-color:rgba(255,174,84,.46); background:rgba(255,174,84,.1); color:#ffc16d; }
.builder-section-heading h2 { margin:0; color:#f4f8ff; font:700 16px/1.35 'Prompt',sans-serif; }
.builder-section-heading p { margin:3px 0 0; color:#91a4bd; font:400 9px/1.5 'Prompt',sans-serif; }
.builder-form > label,.builder-field-grid label { display:grid; gap:6px; margin-bottom:12px; color:#d8e4f2; font:500 10px/1.4 'Prompt',sans-serif; }
.builder-form input,.builder-form textarea,.builder-form select { width:100%; min-width:0; border:1px solid rgba(127,157,192,.3); border-radius:8px; outline:none; background:#0a1322; color:#f1f6ff; font:400 11px/1.6 'Prompt',sans-serif; }
.builder-form input,.builder-form select { min-height:39px; padding:8px 10px; }
.builder-form select { padding-right:35px; }
.builder-form textarea { min-height:75px; padding:9px 10px; resize:vertical; }
.builder-form input:focus,.builder-form textarea:focus,.builder-form select:focus { border-color:#39dcd0; box-shadow:0 0 0 3px rgba(57,220,208,.13),0 0 16px rgba(57,220,208,.18),inset 0 1px 0 rgba(255,255,255,.11); }
.sales-builder-page .builder-form input:focus,.sales-builder-page .builder-form textarea:focus,.sales-builder-page .builder-form select:focus { border-color:#ffae54; box-shadow:0 0 0 3px rgba(255,174,84,.13),0 0 16px rgba(255,174,84,.2),inset 0 1px 0 rgba(255,255,255,.11); }
.builder-form select { appearance:none; cursor:pointer; background-image:linear-gradient(45deg,transparent 50%,#69e6e0 50%),linear-gradient(135deg,#69e6e0 50%,transparent 50%),linear-gradient(145deg,rgba(255,255,255,.065),transparent 52%); background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%,0 0; background-size:5px 5px,5px 5px,100% 100%; background-repeat:no-repeat; box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 3px 10px rgba(0,0,0,.2); transition:border-color .18s,box-shadow .18s,transform .18s,filter .18s; }
.builder-form select:hover { transform:translateY(-1px); border-color:rgba(95,231,224,.72); filter:brightness(1.12); box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 14px rgba(0,0,0,.26),0 0 10px rgba(57,220,208,.18); }
.sales-builder-page .builder-form select { background-image:linear-gradient(45deg,transparent 50%,#ffd17c 50%),linear-gradient(135deg,#ffd17c 50%,transparent 50%),linear-gradient(145deg,rgba(255,255,255,.065),transparent 52%); }
.sales-builder-page .builder-form select:hover { border-color:rgba(255,192,99,.76); box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 14px rgba(0,0,0,.26),0 0 10px rgba(255,174,84,.2); }
.builder-form input::placeholder,.builder-form textarea::placeholder { color:#71849c; }
.builder-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 10px; }
.builder-primary { display:flex; min-height:43px; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:4px; border:1px solid rgba(79,235,220,.65); border-radius:9px; background:linear-gradient(110deg,#13b9db,#13c9a7); box-shadow:0 0 18px rgba(21,204,190,.16); color:#05131a; font:700 12px 'Prompt',sans-serif; cursor:pointer; }
.builder-primary:hover { filter:brightness(1.1); }
.builder-primary span { font-size:17px; }
.sales-primary { border-color:rgba(255,188,91,.75); background:linear-gradient(110deg,#ff9e43,#ffd45c); box-shadow:0 0 18px rgba(255,170,70,.16); }
.builder-result > .builder-section-heading { margin-bottom:13px; }
.builder-copy { margin-left:auto; padding:7px 11px; border:1px solid rgba(110,154,193,.35); border-radius:7px; background:#111f32; color:#dbeafa; font:600 9px 'Prompt',sans-serif; cursor:pointer; }
.builder-copy:disabled { opacity:.4; cursor:default; }
.builder-preview { min-height:375px; padding:14px; border:1px solid rgba(124,165,206,.2); border-radius:10px; background:rgba(4,10,19,.72); }
.builder-empty { display:grid; min-height:345px; align-content:center; justify-items:center; text-align:center; }
.builder-empty > span { display:grid; width:45px; height:45px; place-items:center; margin-bottom:12px; border:1px solid rgba(76,213,221,.35); border-radius:14px; background:rgba(76,213,221,.08); color:#77e7e3; font-size:22px; }
.builder-empty strong { color:#eaf3fd; font:600 12px 'Prompt',sans-serif; }
.builder-empty p { margin:5px 0 0; color:#8295ac; font:400 9px 'Prompt',sans-serif; }
.sales-builder-page .builder-empty > span { border-color:rgba(255,182,81,.35); background:rgba(255,182,81,.08); color:#ffc46a; }
.generated-post { color:#e7eef8; font:400 11px/1.85 'Prompt',sans-serif; white-space:pre-wrap; overflow-wrap:anywhere; }
.generated-post .post-platform { display:inline-flex; margin-bottom:11px; padding:4px 8px; border:1px solid rgba(65,224,207,.3); border-radius:999px; color:#65e4d4; font:600 8px 'Prompt',sans-serif; }
.sales-builder-page .generated-post .post-platform { border-color:rgba(255,187,87,.34); color:#ffc36a; }
.generated-post .post-block { margin:0 0 12px; }
.generated-post .post-label { display:block; margin-bottom:3px; color:#60e5d3; font:700 9px 'Prompt',sans-serif; }
.sales-builder-page .generated-post .post-label { color:#ffc36a; }
.generated-post .story-beat { display:grid; grid-template-columns:58px 1fr; gap:10px; margin:8px 0; padding:10px; border:1px solid rgba(255,183,88,.2); border-radius:8px; background:rgba(255,183,88,.045); }
.story-time { color:#ffc36a; font:700 9px 'Prompt',sans-serif; }
.story-beat p { margin:0; color:#dce5ef; font:400 10px/1.65 'Prompt',sans-serif; }
@media(max-width:900px) { .builder-workspace { grid-template-columns:1fr; } .builder-preview { min-height:280px; } .builder-empty { min-height:250px; } }
@media(max-width:600px) { .builder-hero { min-height:225px; padding:76px 16px 24px; } .builder-hero-copy { width:100%; } .builder-hero > img { width:78%; opacity:.48; mask-image:linear-gradient(90deg,transparent 0%,#000 72%); } .builder-hero h1 { max-width:340px; font-size:29px; } .builder-hero-copy > p:last-child { max-width:340px; font-size:10px; } .builder-workspace { gap:10px; padding:12px 0 24px 10px; } .builder-form,.builder-result { padding:13px; } .builder-section-heading h2 { font-size:14px; } .builder-field-grid { gap:0 8px; } }
