/* The complete creation journey, using the existing Műhely palette and icon system. */
:root{--surface:#171b23;--surface-raised:#202630;--line:#303946;--muted:#a4aebb;--accent:#e51b49}
body{background:#0f141b}.topbar{height:66px;background:#11171e;gap:18px;padding:0 22px}.topbar .brand b{font-size:17px}.brand-sub{font-size:17px!important;color:#f2f5f8!important;font-weight:600!important}.project-switch{padding:0;border:0;margin-left:18px;background:#1b222c;border:1px solid #343f4d;border-radius:9px}.project-switch select{max-width:230px;padding:10px 12px;font-weight:500}.project-switch button{padding:6px 12px;border-left:1px solid #343f4d}.topbar #open-archive{display:none}.header-build-state{font-size:12px;letter-spacing:0;padding:8px 12px;border-radius:9px;border:1px solid #665126;color:#f0c468;background:#302919}.header-build-state[data-state=completed]{background:#17362b;color:#a0dfbe;border-color:#315e4c}.app-layout{height:calc(100dvh - 66px);grid-template-columns:384px minmax(0,1fr)}.assistant{background:#131922;padding:20px 18px 16px;border-right:1px solid #303946;gap:0}.aside-heading{display:none}.conversation{padding:2px 0 15px;min-height:80px}.conversation article{font-size:14px;line-height:1.6}.conversation .user-message{margin-left:0!important;margin-right:0!important;border-radius:14px!important;background:#232c38!important;border-color:#323e4e!important}.conversation .ai-message{margin-right:0!important;border-radius:14px!important;background:#1b232e;border-color:#2b3745}.conversation article::before{padding-left:32px;margin-bottom:8px}.build-progress-card{background:#19212c;border-color:#34404f;border-radius:14px;padding:20px}.build-card-heading>strong{font-size:18px}.build-steps{gap:14px;padding:18px 0}.build-steps li{font-size:13px}.build-steps .current{color:#f2ca70}.build-steps .done{color:#abd4bc}.build-credit{font-size:13px}.build-hint{font-size:12px}.composer{background:#1c2530;border-color:#3b4859;padding:15px;border-radius:14px;margin-top:16px}.composer textarea{font-size:14px;line-height:1.65;min-height:60px;max-height:150px}.composer .send{width:42px;height:42px;background:#e51b49;border-radius:10px}.composer .attach-file{width:36px;height:36px;border:1px solid #364354;border-radius:9px}.composer-options{font-size:10px}.composer #model-auto{font-size:11px}.ai-progress{background:#30291b!important;border-color:#655026!important;color:#f4ce7f!important}.workspace-bar{height:56px;background:#19212c;border-color:#303946;padding:0 18px}.workspace-bar .tabs{gap:6px}.workspace-bar .tab{font-size:14px;padding:10px 12px}.workspace-bar .tools button{font-size:11px}.workspace-content{padding:0 16px 14px;background:#111820}.preview-heading{height:64px;min-height:64px;padding:10px 0;display:flex}.preview-heading>#preview-pages{flex:0 1 280px;max-width:320px}.preview-page-picker>summary{background:#1b2531;border-color:#384555;min-height:40px;font-size:13px}.preview-page-picker .ui-icon{width:16px;height:16px}.viewport-controls{margin-left:auto;display:flex;gap:7px}.viewport-controls button{height:34px;min-width:34px;font-size:16px}.viewport-controls .chosen{background:#3c495a;color:#fff;border:1px solid #58667b}.private-preview-label{color:#acb7c5}.preview-heading #verify-preview{display:inline-flex!important;font-size:11px!important;height:32px;min-width:0}#frame-wrap{border-color:#3d4a5a;border-radius:12px;box-shadow:0 12px 36px #0003}.browser-bar{height:30px;background:#1c2530;border-color:#384454}#preview-url{font-size:10px;color:#9caabc}.workspace-footer{background:#111820;color:#8f9eae;border:0;height:28px}#publication-workspace-state,#preview-reconnect-status{display:none!important}.workspace-content>#website-check-result{margin:8px 0 0;padding:8px 12px;max-height:90px;font-size:12px}.workspace-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;min-height:64px;margin:0;padding:12px 0 0}.workspace-summary[hidden]{display:none}.workspace-summary strong{display:block;font-size:13px;color:#dbe6f0;font-weight:550}.workspace-summary span{display:block;font-size:11px;line-height:1.5;color:#9eacbc;margin-top:4px}.workspace-summary[data-state=passed] strong{color:#9ed5b7}.workspace-summary-actions{display:flex;gap:8px}.workspace-summary button{font-size:11px;padding:8px 12px}.workspace-summary-actions .primary{background:#e51b49;border-color:#e51b49;color:#fff}.build-canvas{position:absolute;inset:30px 0 0;z-index:4;display:grid;place-items:center;background:#111820f7;color:#eff4fa;padding:28px;overflow:auto}.build-canvas[hidden]{display:none}.build-canvas-card{width:min(100%,620px);padding:36px 40px;background:#1a232f;border:1px solid #3b485b;border-radius:20px;box-shadow:0 20px 70px #0004}.build-canvas-mark{width:34px;height:34px;color:#f2bf64;margin-bottom:24px;animation:build-pulse 1.8s ease-in-out infinite}.build-canvas .tiny-label{display:block;letter-spacing:1.8px;font-size:10px;color:#e0bd77}.build-canvas h2{font-size:clamp(23px,2.5vw,34px);line-height:1.2;letter-spacing:-.7px;margin:14px 0}.build-canvas-card>p{font-size:14px;color:#b6c2d0;line-height:1.7}.build-canvas-pages{list-style:none;margin:24px 0;padding:0;border-top:1px solid #364355}.build-canvas-pages li{display:flex;align-items:center;gap:12px;border-bottom:1px solid #303d4f;padding:13px 0;font-size:13px;color:#8b9aad}.build-canvas-pages strong{font-weight:500;flex:1}.build-canvas-pages span{font-size:11px}.build-canvas-pages .ui-icon{width:18px;height:18px;flex:none}.build-canvas-pages [data-state=done]{color:#9ed8b6}.build-canvas-pages [data-state=current]{color:#f2ce82}.build-canvas-note{font-size:12px!important;margin-bottom:0}.publication-dialog{width:min(610px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #445164;border-radius:18px;background:#171f2a;color:#eff4f8;box-shadow:0 30px 100px #0007}.publication-dialog::backdrop{background:#070b12b8;backdrop-filter:blur(5px)}.publication-dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #354252;position:sticky;top:0;background:#171f2a;z-index:2}.publication-dialog-heading h2{font-size:18px;margin:0}.publication-dialog-heading button{background:none;border:0;padding:6px;font-size:23px;color:#b9c5d4}.publication-dialog .customer-publication{border:0!important;background:none!important;margin:0!important;padding:24px!important;max-width:none!important;box-shadow:none!important}.publication-dialog .customer-publication h3{font-size:24px!important;margin:0 0 14px!important}.publication-dialog .customer-publication p{font-size:14px;line-height:1.7}.publication-dialog .customer-publication a{overflow-wrap:anywhere}.publication-dialog .customer-publication>button,.publication-dialog .hestia-actions button{padding:11px 15px;font-size:13px;white-space:normal}.publication-dialog .customer-publication>button:first-of-type{background:#dc2149;border-color:#dc2149;color:white}.publication-dialog .publication-summary{padding:18px!important;border-radius:12px!important;background:#1d2b37!important}.publication-dialog .hestia-actions{flex-wrap:wrap;gap:8px}.publication-dialog .hestia-attempt{background:#1d2936;border:1px solid #354759;border-radius:10px;padding:16px}.publication-dialog .hestia-attempt strong{font-size:14px;overflow-wrap:anywhere}.publication-dialog .hestia-review:not(:empty){padding:18px;border:1px solid #46586b;border-radius:12px;margin-top:18px}.publication-dialog label{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.6}.publication-dialog .publication-alert{margin:20px 0;border-radius:12px;padding:18px;background:#30271d;border:1px solid #655132}.publication-dialog details{margin-top:22px;font-size:12px}.publication-dialog details summary{cursor:pointer;color:#a8b8c9}.start-page{max-width:1200px;padding:72px 28px 60px}.start-page>h1{font-size:clamp(38px,4.5vw,60px);letter-spacing:-2px;margin:14px 0 20px}.start-page>.tiny-label{color:#e5a6b5}.start-page>.start-intro{font-size:16px;max-width:580px;line-height:1.7;margin-bottom:32px}#start-composer-slot{max-width:800px}#start-composer-slot .composer{background:#19222e;border-color:#705063;padding:22px;border-radius:18px;box-shadow:0 0 0 4px #b03b5d12}#start-composer-slot textarea{height:110px;font-size:16px}#start-composer-slot #model-auto{font-size:12px}.start-page>.creation-paths{margin-top:24px}.start-page>.creation-paths>.creation-path{border:1px solid #354253!important;background:#18202b!important}.start-page>.creation-paths>.creation-path .path-action{font-size:12px;color:#bac7d5}.start-existing{font-size:12px!important}.start-page .start-templates{display:none}#project-hub{text-align:left;margin:60px auto 0;max-width:1100px}#project-hub[hidden]{display:none}.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.hub-heading h2{font-size:20px;letter-spacing:-.3px;margin:0}.hub-heading a{font-size:12px;color:#b1bfce;text-decoration:none}.project-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-hub-card{border:1px solid #344152;border-radius:14px;background:#1b2430;overflow:hidden;min-width:0}.hub-preview{width:100%;height:176px;position:relative;display:grid;place-items:center;overflow:hidden;border:0;border-radius:0;padding:0;background:#222e3d}.hub-preview>iframe{position:absolute;left:0;top:0;width:1200px;height:720px;max-width:none;transform:scale(.28);transform-origin:top left;pointer-events:none;border:0;background:#f7f7f4}.hub-preview>.ui-icon{width:40px;height:40px;color:#8d9db2}.hub-preview>span{font-size:12px;color:#a8b6c8}.hub-card-body{padding:16px;display:grid;gap:9px}.hub-project-name{text-align:left;font-size:14px;font-weight:600;border:0;padding:0;background:none;color:#eff4f8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.hub-project-state{font-size:11px;color:#a6b4c6}.hub-project-state[data-state=published]{color:#a5d6ba}.hub-live{display:block;margin:0 16px 14px;font-size:11px;color:#9ccdb1;text-decoration:none}.hub-note{font-size:14px;line-height:1.7;color:#a3b1c2}.start-page>#start-existing-projects{display:none}
@media(prefers-reduced-motion:reduce){.build-canvas-mark{animation:none}}
@media(max-width:1250px) and (min-width:701px){.app-layout{grid-template-columns:340px minmax(0,1fr)}.topbar .brand b{font-size:14px}.topbar{gap:10px}.project-switch{margin-left:0}.project-switch select{max-width:180px}.header-build-state{font-size:10px}.workspace-bar{padding:0 10px}.workspace-bar .tab{padding:8px;font-size:12px}.workspace-bar .tools #select-element{font-size:0}.workspace-bar .tools #select-element::first-letter{font-size:15px}.assistant{padding:16px 14px}.workspace-content{padding:0 12px 12px}.build-canvas-card{padding:26px}.private-preview-label{display:none}.workspace-summary-actions>button:not(.primary){display:none}.project-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:850px) and (min-width:701px){.build-progress-card{padding:14px 16px}.build-steps{gap:8px;padding:10px 0}.build-hint{padding-top:9px;margin-top:9px;font-size:11px}.build-credit{font-size:12px}.conversation{min-height:80px}.build-activity{display:none}.composer{padding:12px;margin-top:12px}.composer textarea{height:58px;min-height:52px}}
@media(max-width:700px){.topbar{height:60px;min-height:60px;padding:0 10px;gap:8px}.topbar .brandmark{width:30px}.topbar .brand b{display:none}.project-switch{margin:0;background:none;border:0;max-width:130px}.project-switch select{padding:6px;max-width:100px;font-size:12px}.project-switch button{padding:3px 5px;border:0}.header-build-state{display:none!important}.topbar #open-publication{padding:9px 12px;font-size:11px;flex:none}.topbar #credit-balance-link{font-size:10px!important;padding:7px!important}.app-layout{height:calc(100dvh - 104px);display:block}.assistant{padding:16px}.workspace-bar{height:50px;padding:0 6px;overflow-x:auto;scrollbar-width:none}.workspace-bar .tabs{gap:0;flex:none}.workspace-bar .tab{font-size:12px;padding:9px}.workspace-bar .tools{display:none}.workspace-content{padding:0 10px 10px}.preview-heading{height:56px;min-height:56px;padding:7px 0;gap:5px}.preview-heading>#preview-pages{max-width:190px;min-width:0;flex:1}.viewport-controls{gap:2px}.viewport-controls button{min-width:27px;width:27px;height:30px;padding:4px;font-size:15px}.viewport-controls #tablet{display:none}.workspace-summary{min-height:62px;padding-top:8px;gap:8px}.workspace-summary strong{font-size:11px}.workspace-summary span{font-size:10px}.workspace-summary-actions>button:not(.primary){display:none}.workspace-summary button{font-size:10px;padding:8px}.build-canvas{padding:16px}.build-canvas-card{padding:24px 20px}.build-canvas h2{font-size:25px}.build-canvas-mark{margin-bottom:16px}.build-canvas-pages li{font-size:12px;padding:10px 0}.publication-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 30px)}.publication-dialog-heading{padding:16px 18px}.publication-dialog .customer-publication{padding:20px!important}.start-page{padding:48px 20px}.start-page>h1{font-size:42px;letter-spacing:-1.6px}.start-page>.start-intro{font-size:14px}#start-composer-slot .composer{padding:18px}#start-composer-slot textarea{font-size:15px;min-height:120px}.start-page>.creation-paths{flex-direction:column;align-items:stretch;gap:8px}.start-page>.creation-paths>.creation-path{text-align:center}.project-hub-grid{grid-template-columns:1fr}.hub-heading h2{font-size:17px}.hub-heading a{font-size:10px}.hub-preview{height:180px}#project-hub{margin-top:44px}.build-progress-card{padding:14px}.build-steps{grid-template-columns:1fr 1fr;gap:10px}.build-card-heading>strong{font-size:16px}.build-hint{font-size:11px}}

.publication-journey{list-style:none;padding:0;margin:22px 0;display:grid;gap:0}.publication-journey li{position:relative;display:grid;grid-template-columns:30px 1fr;column-gap:12px;padding:0 0 22px;color:#91a1b5}.publication-journey li:not(:last-child)::after{content:"";position:absolute;left:14px;top:31px;bottom:4px;width:1px;background:#3a485b}.publication-step-number{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border:1px solid #526176;border-radius:50%;font-size:12px}.publication-journey strong{font-size:13px;font-weight:550;line-height:1.6}.publication-journey small{font-size:11px;line-height:1.6;margin-top:3px}.publication-journey .done{color:#a0d8ba}.publication-journey .done .publication-step-number{border-color:#3c7c5b;background:#1c3d2b}.publication-journey .current{color:#f4cbd7}.publication-journey .current .publication-step-number{background:#643043;border-color:#b75d78}

body[data-building=true] .workspace-summary{display:none}

@media(max-width:700px){.preview-heading #verify-preview{display:none!important}}

.build-progress-close{border:0;background:transparent;padding:0 3px;color:#a6b2c3;font-size:20px;line-height:1}.build-progress-close[hidden]{display:none}.build-progress-card[data-state=completed]:not([data-checking=true]) .build-steps,.build-progress-card[data-state=completed]:not([data-checking=true]) .build-activity{display:none}.build-progress-card[data-state=completed]:not([data-checking=true]) .build-hint{font-size:11px}.build-card-heading{flex-wrap:nowrap}
@media(max-width:700px){.workspace-bar .tabs{flex:1;min-width:0;justify-content:space-between}.workspace-bar .tab{flex:1;justify-content:center;font-size:11px;padding:9px 6px}.workspace-bar .tab .ui-icon{display:none}}

.workspace-live-link{display:inline-flex;align-items:center;justify-content:center;font-size:11px;padding:8px 12px;border:1px solid #e51b49;border-radius:8px;text-decoration:none;white-space:nowrap}.workspace-live-link[hidden],.workspace-summary-actions button[hidden]{display:none}@media(max-width:700px){.workspace-live-link{font-size:10px;padding:8px}.workspace-summary-actions{flex:none}}

.start-brief-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid #394052;border-radius:20px;background:#151921;color:#eff2f7;overflow:auto}.start-brief-dialog::backdrop{background:#07090dc9;backdrop-filter:blur(6px)}.start-brief-dialog h2{font-size:25px;letter-spacing:-.6px;margin:0 0 12px}.start-brief-dialog>p{color:#abb6c6;line-height:1.6;font-size:14px}.start-brief-dialog details{margin:20px 0;color:#aab5c5;font-size:13px}.start-brief-dialog details p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto}.start-brief-dialog summary{cursor:pointer}.start-brief-fields{display:grid;gap:20px}.start-brief-fields label{display:grid;gap:9px;font-size:14px}.start-brief-fields textarea{font:inherit;color:#f1f4f9;background:#0e1219;border:1px solid #3e485a;border-radius:10px;padding:12px;width:100%;resize:vertical;min-height:72px}.start-brief-fields textarea:focus-visible{outline:2px solid #ef4770;outline-offset:2px}.start-brief-fields textarea::placeholder{color:#8c9aaf}.start-brief-note{font-size:12px;line-height:1.6;color:#b1bfce;margin:22px 0}.start-brief-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.start-brief-actions button{font-size:12px;padding:11px 14px}.start-brief-actions button:first-child{margin-right:auto}.build-canvas-credit{color:#edc7d1!important;font-size:13px!important;border-top:1px solid #384154;padding-top:18px;margin-top:20px!important}@media(max-width:700px){.start-brief-dialog{padding:22px 18px}.start-brief-dialog h2{font-size:22px}.start-brief-actions button:first-child{margin-right:0}.start-brief-actions{justify-content:flex-start}.start-brief-actions .primary{width:100%}}
.start-brief-dialog{color-scheme:dark}.start-brief-fields label{margin:0}.start-brief-dialog summary:focus-visible,.start-brief-actions button:focus-visible{outline:2px solid #ef4770;outline-offset:3px}
