@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{font-family:"DM Sans",sans-serif;color:#202538;background:#f7f8fb;font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0}
button,input,textarea{font:inherit}
button,a,label{ -webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.app{min-height:100vh;display:flex}
.sidebar{width:242px;flex-shrink:0;background:#171c2d;color:#a8adc0;padding:31px 18px 20px;display:flex;flex-direction:column;min-height:100vh}
.brand{display:flex;gap:10px;align-items:center;color:#fff;font:800 25px Manrope,sans-serif;letter-spacing:-1.6px;padding:0 12px}
.brand-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#a993f4;font-size:23px;color:#242039;letter-spacing:0}
.brand-dot{color:#b4a1f2}
.sidebar-label{font-size:10px;font-weight:700;letter-spacing:1.2px;margin:58px 13px 15px;color:#6e758c}
.side-nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px;border-radius:8px;font-size:13px;font-weight:600}.nav-item>span:first-child{font-size:18px;width:19px;text-align:center}.nav-item.active{color:#fff;background:#302d49}.nav-arrow{margin-left:auto;color:#ac9be9;font-size:14px}.nav-item:not(.active):hover{background:#242a3d;color:#fff}
.sidebar-bottom{margin-top:auto}.sidebar-tip{background:#24293c;border:1px solid #30364a;border-radius:12px;padding:17px 15px;margin-bottom:25px}.tip-icon{color:#b29af4;font-size:19px;margin-bottom:11px}.sidebar-tip strong{font-size:12px;color:#f2effc}.sidebar-tip p{font-size:11px;line-height:1.65;margin:7px 0 0;color:#9da3b7}.profile{border-top:1px solid #303548;padding:20px 2px 0;display:flex;align-items:center;gap:10px}.profile-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#c9b9f4;color:#514671;font-weight:700;font-size:13px}.profile strong,.profile small{display:block}.profile strong{color:#eeedf6;font-size:11px}.profile small{font-size:10px;margin-top:3px}.profile-dots{margin-left:auto;color:#a6a8b7}
.main{flex:1;min-width:0}.topbar{height:74px;padding:0 5%;border-bottom:1px solid #ebeef3;display:flex;align-items:center;justify-content:space-between;background:#fff}.breadcrumb{font-size:12px;color:#9da2b0}.breadcrumb span{margin:0 11px;color:#d4d7de}.breadcrumb strong{color:#454b5c;font-weight:600}.top-link{font-size:12px;font-weight:700;color:#656b7b}.top-link span{margin-left:8px;color:#9f88eb}
.content{max-width:1450px;margin:auto;padding:43px 5% 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow,.step-label{font-size:10px;letter-spacing:1.45px;font-weight:700;color:#9583d1}.eyebrow{display:flex;align-items:center;gap:8px}.status-dot,.live-dot{width:7px;height:7px;background:#a68ce9;border-radius:50%;display:inline-block}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(26px,2.4vw,36px);letter-spacing:-1.5px;line-height:1.2;margin:13px 0 11px}h1 span{color:#9179dd}.page-heading p,.section-heading p,.preview-heading p{color:#9499a8;font-size:13px;line-height:1.6;margin:0}.heading-decoration{color:#e0d7fa;font-size:72px;margin-right:35px}
.workspace{display:grid;grid-template-columns:minmax(440px,1fr) minmax(400px,1fr);gap:30px;align-items:start}.card{background:#fff;border:1px solid #ebedf3;border-radius:14px;box-shadow:0 8px 26px rgba(32,38,64,.035)}.builder{padding:27px 30px 24px}.section-heading,.preview-heading{display:flex;justify-content:space-between;align-items:start}.section-heading h2,.preview-heading h2{font-size:19px;letter-spacing:-.6px;margin:7px 0 5px}.section-heading h2 span,.preview-heading h2 span,.modules-heading h3 span{color:#a992ed}.step-badge{font-size:10px;color:#a9afbd;font-weight:700;letter-spacing:.5px;background:#f8f9fb;padding:8px 10px;border-radius:6px;white-space:nowrap}.section-heading{padding-bottom:25px;border-bottom:1px solid #f0f1f5;margin-bottom:24px}.field{margin-bottom:20px}.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.label-row label,legend{font-weight:700;font-size:12px;color:#353b4d}.label-row>span{font-size:9px;letter-spacing:.6px;color:#b1b5c0;font-weight:700}input[type=text],input:not([type]),textarea{width:100%;border:1px solid #e8eaf0;border-radius:8px;background:#fbfbfd;color:#252a3a;padding:13px 14px;outline:none;font-size:12px;transition:border-color .2s,box-shadow .2s}textarea{resize:vertical;min-height:92px;line-height:1.6}input::placeholder,textarea::placeholder{color:#b7bbc7}input:focus,textarea:focus{border-color:#a991ec;box-shadow:0 0 0 3px #eee9fc}.field-hint{display:flex;justify-content:space-between;color:#a9aebb;font-size:10px;margin-top:7px}.choice-field{border:0;padding:0}.choice-field legend{padding:0;margin-bottom:10px}.type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.type-option{cursor:pointer;position:relative}.type-option input{position:absolute;opacity:0}.type-box{height:98px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #eceef3;border-radius:8px;padding:11px;position:relative}.type-icon{font-size:18px;color:#a48de7;height:30px}.type-box strong{font-size:11px;color:#42485a}.type-box small{font-size:9px;color:#a5aab8;margin-top:4px}.radio-mark{position:absolute;right:10px;top:10px;width:13px;height:13px;border:1px solid #dfe1e8;border-radius:50%}.type-option input:checked+.type-box{border-color:#ac96eb;background:#faf8ff}.type-option input:checked+.type-box .radio-mark{border:4px solid #a68ce9}.type-option input:focus-visible+.type-box,.module input:focus-visible+.toggle{outline:2px solid #7459d0;outline-offset:3px}
.modules-heading{border-top:1px solid #f0f1f5;padding-top:23px;margin-top:25px;display:flex;justify-content:space-between}.modules-heading h3{font-size:16px;letter-spacing:-.4px;margin:7px 0 5px}.modules-heading p{font-size:11px;color:#9da2b0;margin-bottom:16px}.module-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.module{display:flex;align-items:center;gap:9px;border:1px solid #eef0f4;border-radius:8px;padding:10px;cursor:pointer;min-width:0}.module-icon{width:31px;height:31px;flex-shrink:0;border-radius:7px;display:grid;place-items:center;font-size:16px}.purple{background:#f0ebff;color:#977ce3}.blue{background:#e8f4fd;color:#78add0}.peach{background:#fff0e9;color:#e7a184}.green{background:#e9f6f1;color:#7db9a0}.module-copy{min-width:0;flex:1}.module-copy strong,.module-copy small{display:block}.module-copy strong{font-size:11px;white-space:nowrap}.module-copy small{font-size:9px;color:#a2a7b3;line-height:1.4;margin-top:3px}.module input{position:absolute;opacity:0}.toggle{width:27px;height:16px;border-radius:12px;background:#e6e8ed;flex-shrink:0;position:relative;transition:background .2s}.toggle:after{content:"";position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:#fff;transition:transform .2s}.module input:checked+.toggle{background:#a18ae5}.module input:checked+.toggle:after{transform:translateX(11px)}.prototype-note{font-size:10px;line-height:1.5;color:#9ba0ae;margin:12px 0}.generate-button{width:100%;border:0;background:#9076db;color:#fff;border-radius:8px;padding:15px;font-size:12px;font-weight:700;box-shadow:0 5px 12px #d8cef2}.generate-button:hover{background:#7f64ce}.generate-button>span:first-child{margin-right:7px}.button-arrow{float:right;font-size:16px;line-height:12px}.form-footer{text-align:center;color:#a7adba;font-size:10px;margin:14px 0 0}.form-footer span{color:#a98ee9}.form-status{font-size:11px;color:#a65353;margin:8px 0 0}.form-status:empty{display:none}
.preview-column{padding-top:2px}.preview-heading{margin-bottom:22px}.preview-card{background:#fff;border:1px solid #e8ebf2;border-radius:12px;overflow:hidden;box-shadow:0 12px 30px rgba(33,38,64,.05)}.preview-toolbar{height:48px;display:flex;align-items:center;padding:0 15px;gap:18px;border-bottom:1px solid #eef0f5}.window-dots{display:flex;gap:5px}.window-dots i{width:6px;height:6px;border-radius:50%;background:#dddfe7}.window-dots i:first-child{background:#e8b5bd}.window-dots i:nth-child(2){background:#e8d4a9}.window-dots i:nth-child(3){background:#b8daca}.address-bar{height:25px;flex:1;max-width:280px;margin:auto;text-align:center;background:#f7f8fa;border-radius:5px;color:#b4b8c2;font-size:9px;line-height:25px}.address-bar span{margin-right:6px}.toolbar-more{color:#b2b6c1;font-weight:700}.preview-frame-wrap{height:430px;background:#fbfaff}.preview-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:radial-gradient(ellipse at center,#f0ebff 0,#fbfaff 60%)}.placeholder-art{height:150px;width:210px;position:relative;margin-bottom:20px}.art-window{position:absolute;top:22px;left:28px;width:154px;height:113px;background:#fff;border:1px solid #e3dcf9;border-radius:9px;box-shadow:0 18px 35px #dcd4f59c;transform:rotate(-5deg);padding:30px 17px}.art-top{position:absolute;left:0;top:0;width:100%;height:19px;border-bottom:1px solid #f0ecfa}.art-top:before{content:"•••";position:absolute;left:9px;top:1px;letter-spacing:3px;color:#d6c9f3;font-size:10px}.art-line{width:80px;height:7px;background:#d7c9f4;border-radius:5px;margin-bottom:8px}.art-line.short{width:105px;height:5px;background:#eeebf7}.art-button{width:43px;height:14px;background:#a992e9;border-radius:4px;margin-top:13px}.art-star,.art-sparkle{position:absolute;color:#a992e9}.art-star.one{font-size:27px;top:0;right:10px}.art-star.two{font-size:28px;bottom:2px;left:8px;color:#c5b5f0}.art-sparkle{right:1px;bottom:25px;font-size:32px}.preview-placeholder h3{font-size:15px;margin-bottom:9px;letter-spacing:-.3px}.preview-placeholder p{font-size:11px;color:#a0a4b2;line-height:1.7;margin:0}#preview-frame{width:100%;height:100%;border:0;background:white}#preview-frame[hidden]{display:none}.preview-bottom{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;font-size:10px;color:#9399a8}.live-dot{width:6px;height:6px;background:#94cbb4;margin-right:5px}.preview-bottom button{border:1px solid #e9e7f2;background:#fff;border-radius:6px;padding:8px 10px;font-size:10px;font-weight:700;color:#7560bc}.preview-bottom button:disabled{color:#bcbec9;cursor:not-allowed}.preview-bottom button span{margin-left:7px}.preview-info{display:flex;gap:13px;background:#f1edfc;border:1px solid #e9e1fa;border-radius:10px;margin-top:16px;padding:17px}.info-icon{color:#9e87df;font-size:22px}.preview-info strong,.notice strong{font-size:11px;color:#625583}.preview-info p,.notice p{font-size:10px;line-height:1.6;color:#9890aa;margin:5px 0 0}.notice{display:flex;gap:10px;margin-top:20px;color:#a2a7b5}.notice p{margin:0;color:#999eaa}.notice strong{color:#777e8d}.notice>span{font-size:14px}footer{display:flex;justify-content:space-between;border-top:1px solid #eceef3;color:#b1b5c0;font-size:10px;padding:22px 0;margin-top:45px}.footer-star{color:#a38ce5;margin-left:5px}
@media(max-width:1100px){.sidebar{width:205px}.workspace{grid-template-columns:minmax(0,1fr)}.preview-column{max-width:none}.preview-frame-wrap{height:400px}.content{max-width:760px}.heading-decoration{display:none}}
@media(max-width:650px){.app{display:block}.sidebar{min-height:0;width:100%;padding:14px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:21px;padding:0}.brand-icon{width:30px;height:30px}.sidebar-label,.sidebar-bottom{display:none}.side-nav{display:flex;gap:2px}.nav-item{font-size:0;padding:8px}.nav-item>span:first-child{font-size:17px}.nav-arrow{display:none}.topbar{height:55px;padding:0 20px}.content{padding:30px 18px 0}.page-heading{margin-bottom:24px}h1{font-size:27px}.builder{padding:22px 18px}.workspace{gap:26px}.module-list{grid-template-columns:1fr}.type-box{padding:9px;height:95px}.type-box strong{font-size:10px}.type-box small{font-size:8px}.preview-frame-wrap{height:390px}footer{gap:15px}.breadcrumb{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
.preview-placeholder[hidden]{display:none}
.legal-card{margin-top:30px;padding:27px 30px}.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.legal-card .field label{display:block;font-size:12px;font-weight:700;color:#353b4d;margin-bottom:9px}.legal-card select{width:100%;border:1px solid #e8eaf0;border-radius:8px;background:#fbfbfd;color:#252a3a;padding:12px 14px;font:inherit;font-size:12px;min-height:42px}.legal-warning{background:#fff7e7;border:1px solid #f1dfb8;border-radius:8px;padding:14px;color:#745b31;font-size:12px;line-height:1.6;margin:0 0 20px}.legal-data-notice{font-size:11px;line-height:1.6;color:#656b7b}.legal-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;margin:15px 0;color:#454b5c}.legal-consent input{margin-top:3px;flex-shrink:0}.legal-card .generate-button:disabled{opacity:.6;cursor:wait}.legal-status{font-size:12px;color:#68569b;min-height:1em}.legal-result-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:30px}.legal-result-heading h3,#legal-results h3{font-size:16px}.legal-result-heading button{border:1px solid #e9e7f2;background:#fff;border-radius:6px;padding:10px;font-size:11px;color:#7560bc;font-weight:700}#legal-documents article{border:1px solid #e8eaf0;border-radius:8px;padding:15px;margin:12px 0}#legal-documents h4{font-size:13px;margin:0 0 10px}#legal-documents p{white-space:pre-wrap;line-height:1.7;font-size:12px;margin:0;color:#515768}#legal-issues{font-size:12px;line-height:1.7;color:#515768}.legal-card [hidden]{display:none}
@media(max-width:650px){.legal-card{padding:22px 18px}.legal-grid{grid-template-columns:1fr}.legal-result-heading{align-items:flex-start;flex-direction:column}}
.top-actions{display:flex;align-items:center;gap:12px}.top-actions label{font-size:11px;color:#656b7b}.top-actions select{border:1px solid #e8eaf0;border-radius:6px;padding:7px;background:#fff;color:#454b5c}.translation-fields{margin:0 0 20px;font-size:12px;color:#515768}.translation-fields summary{cursor:pointer;font-weight:700;color:#7560bc}.translation-fields p{font-size:11px;line-height:1.6;color:#858b99}.translation-fields label{display:block;font-weight:700;margin-bottom:8px}.translation-fields textarea{min-height:60px}.translation-fields .field{margin-bottom:10px}
@media(max-width:650px){.top-actions{gap:6px}.top-actions label{display:none}.top-link{font-size:0}.top-link span{font-size:15px}.top-actions select{font-size:11px}}
.project-card{padding:22px 30px;margin-bottom:26px}.project-card .section-heading{margin-bottom:16px;padding-bottom:15px}.project-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.project-controls label{font-size:11px;font-weight:700;color:#353b4d}.project-controls input,.project-controls select{width:auto;min-width:170px;max-width:220px;border:1px solid #e8eaf0;border-radius:7px;background:#fbfbfd;color:#252a3a;padding:10px;font-size:12px}.project-controls button{border:1px solid #e1dcf0;background:#faf8ff;color:#6d55b2;border-radius:7px;padding:10px;font-size:11px;font-weight:700}.project-controls button:hover{background:#eee9fc}.project-note,#project-status{font-size:11px;line-height:1.6;color:#858b99;margin:12px 0 0}#project-status{color:#68569b}#project-status:empty{display:none}@media(max-width:650px){.project-card{padding:20px 18px}.project-controls{align-items:stretch;flex-direction:column}.project-controls input,.project-controls select{max-width:none;width:100%}}
.ai-button{width:100%;margin-bottom:10px;padding:13px;border:1px solid #a48ee5;background:#faf8ff;color:#6d55b2;border-radius:8px;font-size:12px;font-weight:700}.ai-button:disabled{opacity:.6;cursor:wait}.website-editor{border-top:1px solid #f0f1f5;margin-top:24px;padding-top:20px}.website-editor[hidden]{display:none}.website-editor h3{font-size:16px;margin-bottom:8px}.website-editor p{font-size:11px;line-height:1.6;color:#858b99}.website-editor label{display:block;font-size:12px;font-weight:700;margin:13px 0 7px}.website-editor select{width:100%;border:1px solid #e8eaf0;border-radius:8px;background:#fbfbfd;color:#252a3a;padding:12px;font:inherit;font-size:12px}.website-editor input[type=color]{height:38px;width:70px;padding:2px;border:1px solid #e8eaf0;border-radius:5px}
#media-editor{border-top:1px solid #f0f1f5;margin-top:20px;padding-top:20px}#media-editor input[type=file]{font-size:11px;max-width:100%;margin:8px 0}.media-item{display:flex;align-items:center;gap:12px;margin:8px 0}.media-item img{width:80px;height:60px;object-fit:contain;background:#f7f8fb;border-radius:6px}.media-item button{border:1px solid #e1dcf0;background:#faf8ff;color:#6d55b2;border-radius:6px;padding:8px;font-size:11px}#media-status{color:#a65353}
#product-editor{border-top:1px solid #f0f1f5;margin-top:20px;padding-top:20px}#product-editor button{margin-top:10px}#product-status{color:#68569b}

/* Loop 1 (16. 11.): pole, která neměla styl (e-mail, adresy, čísla, tarif, soubory) a tlačítko se vzorovými sazbami */
#builder-form input[type=email],#builder-form input[type=url],#builder-form input[type=number],.website-editor input[type=email],.website-editor input[type=url],.website-editor input[type=number],#builder-form select{width:100%;border:1px solid #e8eaf0;border-radius:8px;background:#fbfbfd;color:#252a3a;padding:13px 14px;outline:none;font:inherit;font-size:12px;max-width:100%}
#builder-form input[type=email]:focus,#builder-form input[type=url]:focus,#builder-form input[type=number]:focus,.website-editor input[type=number]:focus,.website-editor input[type=url]:focus,#builder-form select:focus{border-color:#a991ec;box-shadow:0 0 0 3px #eee9fc}
#builder-form .field-hint#tariff-hint{display:block;margin:0 0 8px}
.secondary-button{border:1px solid #e1dcf0;background:#faf8ff;color:#6d55b2;border-radius:7px;padding:10px 12px;font-size:11px;font-weight:700;cursor:pointer}
.secondary-button:hover{background:#eee9fc}
#product-editor input[type=file]{font-size:11px;max-width:100%;margin:8px 0}
.modules-heading .step-badge,.section-heading .step-badge{align-self:flex-start}
#builder-form .field>label[for=tariff]{display:block;font-weight:700;font-size:12px;color:#353b4d;margin-bottom:6px}

/* Loop 5: project file buttons (label styled as a button for the hidden file input). */
.file-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.file-button:hover{filter:brightness(.97)}
.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-input:focus-visible+*,.file-button:has(+.file-input:focus-visible){outline:2px solid #6d55b2;outline-offset:2px}
.project-controls label.file-button{border:1px solid #e1dcf0;background:#faf8ff;color:#6d55b2;border-radius:7px;padding:10px 12px;font-size:11px;font-weight:700;margin:0}
