:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-start:#e8f7ff;--bg-end:#c8ecff;--surface:#ffffffdb;--surface-strong:#fff;--text:#102033;--muted:#607389;--primary:#0877ff;--primary-dark:#005bd1;--danger:#ef4444;--danger-dark:#c92d2d;--dark:#122033;--ring:#0877ff3d;--shadow:0 24px 70px #125d972e}*{box-sizing:border-box}body{min-height:100vh;color:var(--text);background:radial-gradient(circle at top left, #fffffff2, transparent 34rem), radial-gradient(circle at 80% 10%, #39b8ff42, transparent 28rem), linear-gradient(135deg, var(--bg-start), var(--bg-end));margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:before,body:after{z-index:-1;content:"";filter:blur(8px);background:#5fc2ff47;border-radius:999px;width:22rem;height:22rem;position:fixed}body:before{top:-8rem;right:8%}body:after{background:#0877ff29;bottom:-10rem;left:4%}button,input{font:inherit}button{border:0}h1,h2,h3,p{margin-top:0}.app-shell{gap:24px;width:min(100%,1440px);min-height:100vh;margin:0 auto;padding:24px 20px 48px;display:grid}.topbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.brand-link{color:var(--text);align-items:center;gap:10px;font-weight:950;text-decoration:none;display:inline-flex}.brand-mark{color:#fff;background:linear-gradient(135deg, var(--primary), #39b8ff);border-radius:16px;place-items:center;width:48px;height:48px;font-size:.8rem;font-weight:950;display:grid;box-shadow:0 14px 28px #0877ff3d}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.site-nav{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff94;border:1px solid #ffffffbd;border-radius:999px;gap:8px;padding:6px;display:flex;box-shadow:0 12px 32px #0e54871a}.site-nav a{min-height:36px;color:var(--muted);border-radius:999px;align-items:center;padding:0 13px;font-size:.88rem;font-weight:850;text-decoration:none;display:inline-flex}.site-nav a.is-active{color:var(--primary-dark);background:#fff;box-shadow:0 8px 18px #0877ff24}.language-switcher{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffa3;border:1px solid #ffffffbd;border-radius:999px;gap:8px;padding:6px;display:flex;box-shadow:0 12px 32px #0e54871f}.language-option{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:0 11px;font-size:.82rem;font-weight:850;display:inline-flex}.language-option.is-active{color:var(--primary-dark);background:#fff;box-shadow:0 8px 18px #0877ff24}.flag{border-radius:3px;flex:none;width:22px;height:15px;display:inline-block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #1020331f}.flag-en{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v30H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='m0 0 60 30m0-30L0 30'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='m0 0 60 30m0-30L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/g%3E%3C/svg%3E");background-position:50%;background-size:cover}.flag-fr{background:linear-gradient(90deg,#0055a4 0 33.33%,#fff 33.33% 66.66%,#ef4135 66.66%)}.flag-it{background:linear-gradient(90deg,#009246 0 33.33%,#fff 33.33% 66.66%,#ce2b37 66.66%)}.flag-es{background:linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%)}.hero-panel,.workspace,.preview-section,.portfolio-hero,.projects-section{box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff61;border:1px solid #ffffffb8;border-radius:28px}.portfolio-shell,.pdf-manager-route{gap:24px;display:grid}.portfolio-shell[hidden],.pdf-manager-route[hidden]{display:none}.portfolio-hero{grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);align-items:stretch;gap:34px;padding:42px;display:grid}.portfolio-copy{max-width:760px}.portfolio-copy h1{font-size:clamp(4rem,12vw,8.4rem)}.portfolio-copy p{max-width:720px;color:var(--muted);font-size:1.1rem;line-height:1.75}.portfolio-actions{flex-wrap:wrap;gap:12px;margin-top:26px;display:flex}.portfolio-panel{color:#fff;background:linear-gradient(135deg,#0877ffeb,#39b8ffc7),#0877ff;border:1px solid #ffffffd1;border-radius:22px;align-content:end;min-height:360px;padding:28px;display:grid;box-shadow:0 16px 42px #0e548733}.portfolio-panel h2{margin-bottom:12px;font-size:clamp(2rem,4vw,3.4rem);line-height:.98}.portfolio-panel p{color:#ffffffdb;margin-bottom:0;line-height:1.7}.panel-kicker,.project-status{letter-spacing:.08em;text-transform:uppercase;border-radius:999px;width:fit-content;margin-bottom:14px;padding:7px 11px;font-size:.74rem;font-weight:900;display:inline-flex}.panel-kicker{color:#fff;background:#ffffff2e}.projects-section{gap:22px;padding:28px;display:grid}.section-heading h2{margin-bottom:0;font-size:clamp(2.3rem,5vw,4.8rem);line-height:.98}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.project-card{background:#ffffffdb;border:1px solid #ffffffd1;border-radius:22px;align-content:start;min-height:280px;padding:22px;display:grid;box-shadow:0 16px 42px #0e54871f}.project-card-active{background:#fff}.project-status{color:var(--primary-dark);background:#e8f7ffe0}.project-card h3{margin-bottom:12px;font-size:1.55rem}.project-card p{color:var(--muted);line-height:1.65}.project-card a{width:fit-content;color:var(--primary-dark);align-self:end;margin-top:18px;font-weight:900;text-decoration:none}.hero-panel{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:34px;padding:42px;display:grid}.hero-copy{max-width:600px}.eyebrow{color:var(--primary-dark);letter-spacing:.08em;text-transform:uppercase;background:#ffffffb8;border:1px solid #0877ff29;border-radius:999px;margin-bottom:16px;padding:8px 13px;font-size:.78rem;font-weight:850;display:inline-flex}h1{letter-spacing:0;margin-bottom:18px;font-size:clamp(3.3rem,9vw,7.2rem);line-height:.9}.hero-copy p,.upload-card p,.workspace-header p,.panel-header p{color:var(--muted);line-height:1.65}.upload-card,.pages-panel{background:var(--surface);border:1px solid #ffffffd1;border-radius:22px;box-shadow:0 16px 42px #0e548724}.upload-card{gap:22px;padding:28px;display:grid}.upload-icon{color:#fff;background:linear-gradient(135deg, var(--primary), #39b8ff);border-radius:20px;place-items:center;width:72px;height:72px;font-weight:950;display:grid;box-shadow:0 14px 28px #0877ff47}.upload-card h2,.workspace-header h2,.panel-header h3{margin-bottom:8px}.upload-card h2{font-size:1.65rem}.actions,.toolbar-actions{flex-wrap:wrap;gap:12px;display:flex}.button{cursor:pointer;border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-weight:850;transition:transform .18s,box-shadow .18s,background .18s,opacity .18s;display:inline-flex}.button:hover{transform:translateY(-2px)}.button:disabled{cursor:not-allowed;opacity:.5;box-shadow:none;transform:none}.button:focus-visible,.ghost-button:focus-visible,.language-option:focus-visible,.page-card:focus-within{outline:4px solid var(--ring);outline-offset:3px}.button-primary{color:#fff;background:linear-gradient(135deg, var(--primary), var(--primary-dark));box-shadow:0 12px 24px #0877ff47}.button-secondary{color:var(--primary-dark);background:var(--surface-strong);box-shadow:inset 0 0 0 1px #0877ff24}.button-danger{color:#fff;background:linear-gradient(135deg, var(--danger), var(--danger-dark));box-shadow:0 12px 24px #ef444438}.button-dark{color:#fff;background:var(--dark);box-shadow:0 12px 24px #12203333}.insert-control{min-width:190px;color:var(--primary-dark);background:#ffffffeb;border-radius:14px;gap:6px;padding:8px 12px;font-size:.78rem;font-weight:850;display:grid;box-shadow:inset 0 0 0 1px #0877ff24}.insert-control input{width:100%;min-height:34px;color:var(--text);background:#e8f7ffb8;border:1px solid #0877ff2e;border-radius:10px;padding:0 10px;font-weight:850}.insert-control input:focus{outline:3px solid var(--ring);outline-offset:2px}.insert-control:has(input:disabled){opacity:.52}.ghost-button{min-height:38px;color:var(--primary-dark);cursor:pointer;background:#e8f7ffd6;border-radius:12px;padding:0 12px;font-weight:800}.file-status{min-height:48px;color:var(--muted);overflow-wrap:anywhere;background:#e8f7ffc7;border-radius:14px;align-items:center;gap:10px;padding:12px 14px;display:flex}.status-dot{background:#45c7ff;border-radius:999px;flex:none;width:10px;height:10px;box-shadow:0 0 0 6px #45c7ff29}.file-status.has-file{color:var(--text);background:#ffffffe0}.file-status.has-file .status-dot{background:#10b981;box-shadow:0 0 0 6px #10b98129}.page-info{min-height:28px;color:var(--primary-dark);margin-bottom:0;font-weight:850}.workspace{gap:22px;padding:28px;display:grid}.workspace[hidden],.source-panel[hidden],.preview-section[hidden]{display:none}.workspace-header,.preview-header{justify-content:space-between;align-items:flex-start;gap:22px;display:flex}.workspace-header h2,.preview-header h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1}.workspace-header p,.preview-header p{margin-bottom:0}.toolbar-actions,.preview-actions{justify-content:flex-end;max-width:620px}.preview-actions{flex-wrap:wrap;gap:12px;display:flex}.preview-section{justify-self:center;gap:20px;width:min(100%,1380px);padding:28px;display:grid}.final-preview-frame{background:#eef7ff;border:1px solid #ffffffd1;border-radius:18px;width:100%;height:min(90vh,1120px);min-height:760px;box-shadow:0 16px 42px #0e548724}.workspace-grid{grid-template-columns:minmax(0,1fr);gap:20px;display:grid}.pages-panel{gap:18px;padding:20px;display:grid}.panel-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.panel-header h3{font-size:1.28rem}.panel-header p{margin-bottom:0}.page-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;display:grid}.page-grid.compact{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.page-card{cursor:pointer;background:#fff;border:2px solid #0000;border-radius:18px;gap:10px;min-width:0;padding:12px;transition:border-color .18s,transform .18s,box-shadow .18s;display:grid;position:relative;box-shadow:0 12px 28px #125d971f}.page-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px #125d9729}.page-card.is-selected{border-color:var(--primary);box-shadow:0 18px 36px #0877ff33}.page-card input{z-index:2;width:20px;height:20px;accent-color:var(--primary);position:absolute;top:12px;left:12px}.page-preview{pointer-events:none;background:#eef7ff;border:1px solid #10203314;border-radius:12px;width:100%;min-height:230px}.compact .page-preview{min-height:190px}.page-meta{min-width:0;color:var(--text);justify-content:center;font-weight:850;display:flex}.empty-state{min-height:160px;color:var(--muted);background:#e8f7ff8f;border:1px dashed #0877ff47;border-radius:18px;place-items:center;font-weight:800;display:grid}@media (width<=900px){.hero-panel,.portfolio-hero,.workspace-header{grid-template-columns:1fr}.hero-panel,.portfolio-hero{gap:24px;padding:28px}.project-grid{grid-template-columns:1fr}.workspace-header,.preview-header{display:grid}.toolbar-actions,.preview-actions{justify-content:flex-start;max-width:none}}@media (width<=640px){.app-shell{padding:16px 12px 32px}.topbar,.panel-header{flex-direction:column;align-items:stretch}.topbar-actions,.site-nav{width:100%}.site-nav{border-radius:18px;justify-content:space-between}.site-nav a{flex:1;justify-content:center}.language-switcher{border-radius:18px;justify-content:space-between;width:100%}.language-option{flex:1;justify-content:center}.hero-panel,.portfolio-hero,.projects-section,.workspace,.preview-section{border-radius:22px;padding:20px}h1{font-size:clamp(3rem,18vw,5rem)}.upload-card,.pages-panel{padding:18px}.actions,.portfolio-actions,.toolbar-actions,.preview-actions,.button,.insert-control{width:100%}.final-preview-frame{height:78vh;min-height:560px}.page-grid,.page-grid.compact{grid-template-columns:1fr}}
