.studio-pilot{--pilot-line:#415167;--pilot-muted:#b3c0d1;max-width:740px;min-width:0;margin:28px auto;padding:32px;border:1px solid var(--pilot-line);border-radius:18px;background:#172231;color:var(--studio-text,#edf2f8)}
.studio-pilot *{box-sizing:border-box}
.studio-pilot [hidden]{display:none!important}
.pilot-heading{margin-bottom:24px}
.pilot-bot-mark{display:grid;place-items:center;width:38px;height:38px;margin-bottom:19px;border:1px solid #63758c;border-radius:12px;color:#e0e7f0;font-size:22px;background:#2e3d52}
.pilot-eyebrow{display:block;font-size:12px;color:#b9c8da;line-height:1.7;margin-bottom:10px}
.pilot-heading h2{font:500 clamp(25px,3vw,33px)/1.2 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.035em;margin:0;color:#f0f4fa;max-width:600px}
.pilot-progress{display:flex;align-items:center;gap:16px;margin-top:23px;color:#b3c4db;font-size:11px}
.pilot-progress>span{flex:none}
.pilot-progress progress{height:4px;width:140px;border:0;border-radius:5px;appearance:none;background:#394a62;color:#c5d0df}
.pilot-progress progress::-webkit-progress-bar{background:#394a62;border-radius:5px}
.pilot-progress progress::-webkit-progress-value{background:#c5d0df;border-radius:5px}
.pilot-progress progress::-moz-progress-bar{background:#c5d0df;border-radius:5px}
.pilot-question>p{font-size:14px;line-height:1.8;color:#bdcbdc;margin:0 0 16px}
.pilot-question :is(input,textarea){display:block;width:100%;min-width:0;min-height:54px;padding:16px;border:1px solid #6a7d97;border-radius:11px;background:#0d1724;color:#f0f4fa;font:16px/1.65 "Segoe UI",Arial,sans-serif;margin:0;resize:vertical}
.pilot-question textarea{min-height:136px}
.pilot-question :is(input,textarea)::placeholder{color:#8fa1b8;opacity:1}
.pilot-step-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px}
.studio-pilot .chat-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;font-size:13px;padding:12px 20px;border-radius:9px}
.studio-pilot .chat-button:disabled{opacity:.45;cursor:default}
.studio-pilot .text-button{font-size:12px;line-height:1.7;min-height:35px;color:#c6d5e9;text-decoration:underline;text-underline-offset:4px;background:none}
.studio-pilot .text-button:disabled{opacity:.45;cursor:default}
.pilot-save-later{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:16px}
.pilot-save-later>span{font-size:11px;color:#aabdd6;line-height:1.8}
.pilot-options{border-top:1px solid #3c4d65;margin-top:26px;padding-top:14px}
.pilot-options>summary,.pilot-results>summary,.pilot-admin-details>summary{cursor:pointer;font-size:13px;line-height:1.8;color:#c8d7eb;min-height:40px;padding:8px 0}
.pilot-options[open]>summary{margin-bottom:14px}
.pilot-optional-fields{display:grid;gap:20px;padding:2px 0 10px}
.pilot-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;font-size:13px;color:#d5dfed}
.pilot-field>span{font-weight:500;line-height:1.7}
.pilot-field :is(input,textarea,select){width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #566b87;border-radius:8px;background:#101b2a;color:#ecf2fa;font:14px/1.6 "Segoe UI",Arial,sans-serif;margin:0}
.pilot-field textarea{min-height:100px;resize:vertical}
.pilot-field :is(input,textarea)::placeholder{color:#8da0b8;opacity:1}
.pilot-field select{color-scheme:dark;cursor:pointer}
.pilot-field>small{font-size:11px;color:#afc0d7;line-height:1.8}
.pilot-budget{display:grid;grid-template-columns:minmax(0,1fr) 94px;gap:12px}
.pilot-week{padding:15px 17px;border-left:2px solid #8b9cb4;background:#24344b75;border-radius:0 8px 8px 0}
.pilot-week>strong{font-weight:500;font-size:13px;color:#d5e1ef}
.pilot-week>p{font-size:12px;line-height:1.8;color:#b8c9df;margin:7px 0 0}
.pilot-summary dl{margin:0}
.pilot-summary dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid #34465e}
.pilot-summary dt{font-size:12px;color:#9fb4cf;line-height:1.8}
.pilot-summary dd{font-size:14px;line-height:1.8;color:#e1e9f5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.pilot-summary>.text-button{margin-top:13px}
.pilot-plan{margin-top:27px;padding-top:25px;border-top:1px solid #455a76}
.pilot-plan h3{font:500 25px/1.25 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.025em;color:#eaf1fb;margin:0 0 12px}
.pilot-plan>p{font-size:13px;line-height:1.8;color:#b8c9e0;margin:0 0 18px}
.pilot-plan-controls{display:flex;gap:14px;align-items:flex-end}
.pilot-plan-controls>.pilot-field{flex:1}
.pilot-plan-controls>.chat-button{min-height:47px;flex:none}
.studio-pilot .pilot-help{font-size:11px;line-height:1.8;color:#aebfd7;margin:13px 0 0}
.pilot-posting-status{font-size:11px;line-height:1.8;color:#aebfd5;margin:24px 0 0}
.pilot-posting-status strong{display:block;font-weight:500;color:#cbd9ec;font-size:12px}
.pilot-feedback{padding:17px 18px;margin-top:23px;border:1px solid #657c9b;border-radius:10px;background:#263a55a1}
.pilot-feedback>p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}
.pilot-error{color:#f0c2b8}
.pilot-notice{color:#d8e7fa}
.pilot-feedback>.text-button{display:block;margin-top:10px}
.pilot-feedback>small{display:block;font-size:10px;color:#acbed7;line-height:1.8;margin-top:4px}
.pilot-feedback .chat-button{margin-bottom:5px}
.pilot-sample{font-size:12px;line-height:1.8;color:#c4d5ee;border:1px solid #5a7293;border-radius:8px;background:#30466370;padding:12px 14px;margin:0 0 22px}
.pilot-results,.pilot-admin-details{border-top:1px solid #374c68;padding-top:10px;margin-top:20px}
.pilot-results>p,.pilot-admin-details p{font-size:12px;line-height:1.8;color:#b0c3dc;margin:12px 0}
.pilot-admin-details ul{list-style:none;padding:0;margin:0}
.pilot-admin-details li{padding:12px 0;border-bottom:1px solid #354b67}
.pilot-admin-details li>div{display:flex;justify-content:space-between;align-items:center;gap:15px}
.pilot-admin-details li strong{font-size:12px;font-weight:500}
.pilot-state{font-size:10px;color:#c3d1e4;border:1px solid #617997;border-radius:15px;padding:3px 8px;flex:none}
.pilot-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}
.pilot-metrics dt{font-size:10px;line-height:1.8;color:#a9bfdc;margin-bottom:6px}
.pilot-metrics dd{font:500 16px/1.4 Bahnschrift,"Segoe UI",sans-serif;color:#e3edfa;margin:0;overflow-wrap:anywhere}
.pilot-admin-note{overflow-wrap:anywhere}
.pilot-load-error h2{font:500 25px/1.3 Bahnschrift,"Segoe UI",sans-serif}
.pilot-load-error>p{font-size:13px;line-height:1.8;color:#e6c2b8}
.studio-pilot :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid #d4dfed;outline-offset:4px}
@media(max-width:650px){.studio-pilot{padding:25px 19px;margin:20px auto;border-radius:14px}.pilot-heading{margin-bottom:20px}.pilot-heading h2{font-size:28px}.pilot-bot-mark{margin-bottom:15px}.pilot-eyebrow{font-size:11px}.pilot-question>p{font-size:13px}.pilot-question :is(input,textarea){font-size:16px;padding:14px}.pilot-question textarea{min-height:135px}.pilot-step-actions{gap:12px}.studio-pilot .chat-button{min-height:46px;font-size:13px;padding:12px 17px}.pilot-save-later{gap:5px;align-items:flex-start;flex-direction:column}.pilot-save-later>span{font-size:10px}.pilot-field :is(input,textarea,select){font-size:16px;min-height:46px}.pilot-summary dl>div{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0}.pilot-summary dt{font-size:11px}.pilot-summary dd{font-size:14px}.pilot-plan-controls{align-items:stretch;flex-direction:column}.pilot-plan-controls>.chat-button{width:100%}.pilot-plan h3{font-size:24px}.pilot-budget{grid-template-columns:minmax(0,1fr) 90px}.pilot-progress progress{width:120px}.pilot-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.studio-pilot *{transition:none!important;scroll-behavior:auto!important}}
