@font-face{font-family:Bricolage Grotesque;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(/assets/polices/bricolage-grotesque-latin-477b564b.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2212}@font-face{font-family:Bricolage Grotesque;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(/assets/polices/bricolage-grotesque-latin-ext-cc70a62e.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-weight:400 900;font-display:swap;src:url(/assets/polices/nunito-latin-798ec6b6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2212}@font-face{font-family:Nunito;font-weight:400 900;font-display:swap;src:url(/assets/polices/nunito-latin-ext-012b6110.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lexend;font-weight:300 700;font-display:swap;src:url(/assets/polices/lexend-latin-45b4c66f.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2212}@font-face{font-family:Lexend;font-weight:300 700;font-display:swap;src:url(/assets/polices/lexend-latin-ext-83ea9544.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF}:root{--titre:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;--texte-police:"Nunito", "Segoe UI", system-ui, sans-serif;--lisible:"Lexend", "Segoe UI", system-ui, sans-serif;--mono:ui-monospace, "Cascadia Code", Consolas, monospace;--outil:#3b5bfd;--outil-doux:color-mix(in srgb, var(--outil) 18%, #fff);--sur-outil:#fff;--fond:#f7f5f0;--surface:#fff;--surface-2:#f0ede6;--bord:#e2ddd3;--texte:#2b2340;--doux:#5b5470;--pale:#8c869c;--danger:#d8344a;--succes:#1f9d6b;--alerte:#e59500;--ombre:0 1px 2px #2b23400f, 0 8px 24px -8px #2b23402e;--ombre-forte:0 2px 4px #2b234014, 0 24px 60px -18px #2b234059;--rayon:16px;--rayon-petit:10px;--entete-h:60px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=clair]){--fond:#15131c;--surface:#1f1c29;--surface-2:#29253a;--bord:#383349;--texte:#eeeaf7;--doux:#b5afc7;--pale:#857e99;--outil-doux:color-mix(in srgb, var(--outil) 24%, #1f1c29);--ombre:0 1px 2px #0000004d, 0 8px 24px -8px #0009;--ombre-forte:0 2px 4px #00000059, 0 24px 60px -18px #000000bf;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=sombre]{--fond:#15131c;--surface:#1f1c29;--surface-2:#29253a;--bord:#383349;--texte:#eeeaf7;--doux:#b5afc7;--pale:#857e99;--outil-doux:color-mix(in srgb, var(--outil) 24%, #1f1c29);--ombre:0 1px 2px #0000004d, 0 8px 24px -8px #0009;--ombre-forte:0 2px 4px #00000059, 0 24px 60px -18px #000000bf;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{min-height:100vh;font-family:var(--texte-police);background:var(--fond);color:var(--texte);-webkit-font-smoothing:antialiased;margin:0;font-size:1rem;line-height:1.55}h1,h2,h3,h4{font-family:var(--titre);letter-spacing:-.02em;margin:0 0 .5em;line-height:1.1}a{color:var(--outil)}img,svg,video,canvas{max-width:100%}:focus-visible{outline:3px solid color-mix(in srgb, var(--outil) 70%, transparent);outline-offset:2px}::selection{background:color-mix(in srgb, var(--outil) 30%, transparent)}.pj-entete{z-index:50;height:var(--entete-h);background:color-mix(in srgb, var(--fond) 82%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(14px);backdrop-filter:saturate(1.4)blur(14px);border-bottom:1px solid var(--bord);align-items:center;gap:12px;padding:0 16px;display:flex;position:sticky;top:0}.pj-maison{color:var(--doux);align-items:center;gap:8px;font-size:.85rem;font-weight:800;text-decoration:none;display:flex}.pj-maison img{object-fit:cover;border-radius:50%;width:30px;height:30px}.pj-maison:hover{color:var(--texte)}.pj-sep{background:var(--bord);width:1px;height:26px}.pj-nom{font-family:var(--titre);letter-spacing:-.03em;color:var(--texte);align-items:center;gap:10px;font-size:1.3rem;font-weight:800;text-decoration:none;display:flex}.pj-pastille{background:var(--outil);width:30px;height:30px;color:var(--sur-outil);box-shadow:0 4px 12px -4px var(--outil);border-radius:9px;place-items:center;font-size:1rem;display:grid}.pj-slogan{color:var(--doux);white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;overflow:hidden}.pj-entete-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.pj-entete-actions .pj-btn{padding:7px 12px}@media (width<=720px){.pj-slogan,.pj-maison span,.pj-sep,.pj-btn-texte{display:none}}.pj-btn{border:1px solid var(--bord);background:var(--surface);color:var(--texte);font:800 .95rem/1.2 var(--texte-police);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;text-decoration:none;transition:transform .12s,background .15s,box-shadow .15s,border-color .15s;display:inline-flex}.pj-btn:hover{border-color:color-mix(in srgb, var(--outil) 50%, var(--bord))}.pj-btn:active{transform:translateY(1px)scale(.98)}.pj-btn:disabled,.pj-btn[aria-disabled=true]{opacity:.45;pointer-events:none}.pj-btn--primaire{background:var(--outil);color:var(--sur-outil);box-shadow:0 6px 18px -8px var(--outil);border-color:#0000}.pj-btn--primaire:hover{background:color-mix(in srgb, var(--outil) 88%, #000);border-color:#0000}.pj-btn--fantome{background:0 0;border-color:#0000}.pj-btn--fantome:hover{background:var(--surface-2)}.pj-btn--danger{color:var(--danger)}.pj-btn--grand{padding:14px 26px;font-size:1.05rem}.pj-btn--icone{width:38px;height:38px;padding:8px}.pj-champ{gap:6px;display:grid}.pj-champ>label,.pj-label{color:var(--doux);font-size:.88rem;font-weight:800}.pj-input,.pj-select,.pj-textarea{border-radius:var(--rayon-petit);border:1px solid var(--bord);background:var(--surface);width:100%;color:var(--texte);font:inherit;padding:10px 14px;transition:border-color .15s,box-shadow .15s}.pj-textarea{resize:vertical;min-height:100px}.pj-input:focus,.pj-select:focus,.pj-textarea:focus{border-color:var(--outil);box-shadow:0 0 0 4px color-mix(in srgb, var(--outil) 18%, transparent);outline:none}input[type=range]{accent-color:var(--outil)}input[type=checkbox],input[type=radio]{accent-color:var(--outil);width:1.1em;height:1.1em}.pj-page{max-width:1180px;margin:0 auto;padding:28px 16px 64px}.pj-carte{background:var(--surface);border:1px solid var(--bord);border-radius:var(--rayon);box-shadow:var(--ombre);padding:20px}.pj-grille{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.pj-pile{gap:12px;display:grid}.pj-ligne{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pj-doux{color:var(--doux)}.pj-badge{background:var(--outil-doux);color:color-mix(in srgb, var(--outil) 80%, var(--texte));border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.pj-vide{text-align:center;color:var(--doux);border:2px dashed var(--bord);border-radius:var(--rayon);padding:48px 16px}.pj-depot{border:2px dashed color-mix(in srgb, var(--outil) 45%, var(--bord));border-radius:var(--rayon);text-align:center;background:color-mix(in srgb, var(--outil-doux) 40%, transparent);cursor:pointer;padding:36px 16px;transition:background .15s,border-color .15s}.pj-depot.survol,.pj-depot:hover{background:var(--outil-doux);border-color:var(--outil)}.pj-heros{padding:40px 0 24px}.pj-heros h1{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800}.pj-heros h1 em{color:var(--outil);font-style:normal}.pj-heros p{color:var(--doux);max-width:60ch;font-size:1.15rem}.pj-voile{z-index:90;background:#14102073;animation:.15s pj-fondu;position:fixed;inset:0}.pj-tiroir{z-index:91;background:var(--surface);width:min(420px,100vw);box-shadow:var(--ombre-forte);flex-direction:column;animation:.2s cubic-bezier(.2,.8,.3,1) pj-glisse;display:flex;position:fixed;top:0;bottom:0;right:0}.pj-tiroir header{border-bottom:1px solid var(--bord);align-items:center;padding:16px 18px;display:flex}.pj-tiroir header h2{margin:0;font-size:1.3rem}.pj-tiroir header .pj-btn{margin-left:auto}.pj-tiroir-corps{flex:1;padding:12px 18px 24px;overflow:auto}.pj-creation{color:inherit;border-radius:12px;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:10px;text-decoration:none;display:grid}.pj-creation:hover{background:var(--surface-2)}.pj-creation .pj-pastille{width:36px;height:36px;font-size:.8rem;font-weight:900}.pj-creation b{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.pj-creation small{color:var(--pale)}:where(dialog).pj-dialogue{background:var(--surface);width:min(520px,100vw - 32px);color:var(--texte);box-shadow:var(--ombre-forte);border:none;border-radius:20px;padding:0}:where(dialog).pj-dialogue::backdrop{background:#14102080}.pj-dialogue-corps{padding:22px}.pj-dialogue-actions{justify-content:flex-end;gap:8px;padding:0 22px 20px;display:flex}.pj-toasts{z-index:100;pointer-events:none;justify-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:grid;position:fixed;bottom:18px;left:50%;transform:translate(-50%)}.pj-toast{text-align:center;background:var(--texte);color:var(--fond);box-shadow:var(--ombre-forte);border-radius:999px;padding:10px 18px;font-size:.92rem;font-weight:800;animation:.25s cubic-bezier(.2,.8,.3,1) pj-monte}.pj-toast--erreur{background:var(--danger);color:#fff}.pj-toast--succes{background:var(--succes);color:#fff}@keyframes pj-fondu{0%{opacity:0}}@keyframes pj-glisse{0%{opacity:0;transform:translate(40px)}}@keyframes pj-monte{0%{opacity:0;transform:translateY(12px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.pj-sr{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}table.pj-sr{display:block}[class*=pj-][hidden]{display:none!important}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(./anton-vietnamese-400-normal-CkBxLiRJ.woff2)format("woff2"),url(./anton-vietnamese-400-normal-2FfR1wHA.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(./anton-latin-ext-400-normal-SyiqE2Jt.woff2)format("woff2"),url(./anton-latin-ext-400-normal-BMODBQc6.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Anton;font-style:normal;font-display:swap;font-weight:400;src:url(./anton-latin-400-normal-Byf51wtH.woff2)format("woff2"),url(./anton-latin-400-normal-AUNGEG_V.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:var(--fond);--text:var(--texte);--muted:var(--doux);--line:var(--bord);--line-strong:color-mix(in srgb, var(--bord) 75%, var(--texte));--primary:#4d90fe;--primary-hover:#3a7ff2;--primary-soft:color-mix(in srgb, var(--primary) 12%, var(--surface));--danger:#e5322d;--success:#2fbf71;--ia:#7b3fe4;--ia-soft:color-mix(in srgb, var(--ia) 10%, var(--surface));--radius:8px;--radius-lg:14px;--shadow:0 2px 6px #2828460f, 0 8px 24px #2828460f;--shadow-lg:0 10px 40px #28284629;--header-h:var(--entete-h);--sidebar-w:380px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}@media (prefers-color-scheme:dark){:root:not([data-theme=clair]){--ia:#a98bff;--primary-soft:color-mix(in srgb, var(--primary) 20%, var(--surface));--ia-soft:color-mix(in srgb, var(--ia) 18%, var(--surface));--shadow:0 2px 6px #0000004d, 0 8px 24px #0000004d;--shadow-lg:0 10px 40px #0000008c}}:root[data-theme=sombre]{--ia:#a98bff;--primary-soft:color-mix(in srgb, var(--primary) 20%, var(--surface));--ia-soft:color-mix(in srgb, var(--ia) 18%, var(--surface));--shadow:0 2px 6px #0000004d, 0 8px 24px #0000004d;--shadow-lg:0 10px 40px #0000008c}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);min-height:100vh}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0}.checker{background-color:#fff;background-image:linear-gradient(45deg,#e9e9ef 25%,#0000 25%),linear-gradient(-45deg,#e9e9ef 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e9e9ef 75%),linear-gradient(-45deg,#0000 75%,#e9e9ef 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.btn{border-radius:var(--radius);background:var(--surface);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:15px;font-weight:600;transition:background .15s,box-shadow .15s,border-color .15s;display:inline-flex}.btn--primary{background:var(--primary);color:#fff}.btn--primary:hover:not(:disabled){background:var(--primary-hover);box-shadow:0 4px 14px #4d90fe59}.btn--outline{border-color:var(--line-strong);background:var(--surface);flex:1;padding:9px 12px;font-size:14px;font-weight:500}.btn--outline:hover{border-color:var(--primary);color:var(--primary)}.btn--outline.is-active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.btn--sm{padding:7px 14px;font-size:14px}.btn--lg{padding:14px 26px;font-size:17px}.btn--xl{border-radius:12px;padding:20px 34px;font-size:20px}.btn--action{border-radius:10px;width:100%;padding:18px;font-size:20px}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.icon-btn{width:38px;height:38px;color:var(--text);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--surface-2)}.round-btn{background:var(--surface);width:32px;height:32px;color:var(--text);border:0;border-radius:50%;justify-content:center;align-items:center;transition:transform .1s,color .1s;display:inline-flex;box-shadow:0 1px 4px #0000002e}.round-btn:hover:not(:disabled){color:var(--primary);transform:scale(1.06)}.round-btn--danger:hover:not(:disabled){color:var(--danger)}.round-btn--lg{width:48px;height:48px}.link-btn{color:var(--primary);background:0 0;border:0;align-items:center;gap:6px;padding:4px 0;font-size:14px;font-weight:500;display:inline-flex}.link-btn:hover{text-decoration:underline}.tool-icon{border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.pj-entete .pj-entete-actions{flex:1;min-width:0}.pm-entete{flex:1;align-items:center;min-width:0;height:100%;display:flex}.header{flex:1;align-items:center;gap:16px;min-width:0;height:100%;padding-right:6px;display:flex}.header__logo{flex:none}.logo{align-items:center;gap:8px;display:inline-flex}.logo__text{letter-spacing:-.5px;color:var(--text);font-size:24px;font-weight:800}.logo__text b{color:var(--primary);font-weight:800}.header__nav{flex:1;align-items:center;gap:2px;min-width:0;display:flex;overflow:hidden}.header__link{letter-spacing:.2px;white-space:nowrap;color:var(--text);background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:8px 10px;font-size:13px;font-weight:600;display:inline-flex}.header__link:hover,.header__link.active,.header__more.is-open{color:var(--primary)}.header__right{align-items:center;gap:10px;margin-left:auto;display:flex}.header__ws{color:var(--muted);background:var(--bg);white-space:nowrap;border-radius:20px;padding:6px 10px;font-size:13px}.header__grid-wrap{position:relative}.header__burger{display:none}.grid-pop{background:var(--surface);box-shadow:var(--shadow-lg);z-index:60;border-radius:12px;grid-template-columns:repeat(3,110px);gap:6px;padding:14px;display:grid;position:absolute;top:46px;right:0}.grid-pop__item{text-align:center;border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;font-size:12px;display:flex}.grid-pop__item:hover{background:var(--bg)}.mega{inset:var(--header-h) 0 0 0;z-index:40;background:#14142833;position:fixed}.mega__inner{background:var(--surface);box-shadow:var(--shadow-lg);grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;padding:28px 40px 34px;display:grid}.mega__title{color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin-bottom:12px;font-size:12px;font-weight:700}.mega__link{border-radius:6px;align-items:center;gap:10px;padding:7px 6px;font-size:14px;font-weight:500;display:flex}.mega__link:hover{background:var(--bg);color:var(--primary)}.mobile-menu{inset:var(--header-h) 0 0 0;background:var(--surface);z-index:40;padding:12px 16px;position:fixed;overflow:auto}.mobile-menu__link{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 6px;font-weight:500;display:flex}.home{max-width:1240px;margin:0 auto;padding:0 20px 60px}.home__hero{text-align:center;padding:42px 0 30px}.home__hero h1{letter-spacing:-.6px;max-width:860px;margin:0 auto 14px;font-size:42px;font-weight:700;line-height:1.2}.home__hero p{color:var(--muted);margin:0 0 30px;font-size:21px}.filters{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.filter{border:1px solid var(--line-strong);background:var(--surface);border-radius:20px;padding:6px 16px;font-size:15px;font-weight:500}.filter:hover{border-color:var(--text)}.filter.is-active{background:var(--text);color:var(--surface);border-color:var(--text)}.tools-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.tool-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);flex-direction:column;gap:12px;min-height:220px;padding:26px 22px 24px;transition:box-shadow .18s,transform .18s;display:flex;position:relative}.tool-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.tool-card h3{margin-top:8px;font-size:20px;font-weight:600}.tool-card p{color:var(--muted);margin:0;font-size:15px;line-height:1.5}.tool-card__badge{background:var(--primary-soft);color:var(--primary);border-radius:6px;padding:4px 8px;font-size:12px;font-weight:600;position:absolute;top:14px;right:14px}.tool-card__badge--ai{background:var(--ia-soft);color:var(--ia)}.tool-card--atelier{background:linear-gradient(160deg, var(--surface) 55%, var(--ia-soft));border-color:color-mix(in srgb, var(--ia) 30%, var(--line))}.home__chain{background:var(--surface);border:1px solid var(--line);border-radius:20px;grid-template-columns:1fr 1fr;align-items:center;gap:40px;margin:56px 0 0;padding:40px;display:grid}.home__chain h2{margin-bottom:12px;font-size:28px}.home__chain p{color:var(--muted);margin:0 0 22px;font-size:16px;line-height:1.6}.home__chain-demo{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.chain-step{align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.chain-step>span:not(.tool-icon){margin-right:4px}.chain-step__arrow{color:var(--muted)}.home__features{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px;display:grid}.feature{text-align:center;padding:24px}.feature svg{color:var(--primary)}.feature h3{margin:10px 0 6px;font-size:19px}.feature p{color:var(--muted);margin:0}.footer{background:var(--surface);border-top:1px solid var(--line);margin-top:20px}.footer__inner{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;max-width:1240px;margin:0 auto;padding:40px 20px;display:grid}.footer__brand p{color:var(--muted);max-width:300px;font-size:14px;line-height:1.6}.footer__col{flex-direction:column;gap:8px;font-size:14px;display:flex}.footer__col a{color:var(--muted)}.footer__col a:hover{color:var(--primary)}.footer__title{text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px;font-size:13px;font-weight:700}.footer__bottom{text-align:center;color:var(--muted);border-top:1px solid var(--line);padding:16px;font-size:13px}.tool-page--upload{min-height:calc(100vh - var(--header-h));flex-direction:column;align-items:center;padding:0 20px;display:flex}.uploader{text-align:center;max-width:900px;padding:50px 0 20px}.uploader h1{letter-spacing:-.4px;margin-bottom:16px;font-size:42px;font-weight:700}.uploader__hero{color:var(--muted);margin:0 0 34px;font-size:21px;line-height:1.5}.uploader__hero b{color:var(--primary);font-weight:600}.uploader__btn{background:var(--primary);color:#fff;border:0;border-radius:12px;align-items:center;gap:14px;padding:26px 60px;font-size:24px;font-weight:600;transition:background .15s,transform .15s;display:inline-flex;box-shadow:0 6px 20px #4d90fe59}.uploader__btn:hover{background:var(--primary-hover);transform:translateY(-1px)}.uploader__drop{color:var(--muted);margin-top:14px;font-size:14px}.ai-note{color:var(--ia);background:var(--ia-soft);border-radius:20px;align-items:center;gap:6px;padding:8px 14px;font-size:14px;display:flex}.drop-overlay{z-index:200;pointer-events:none;background:#4d90feeb;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.drop-overlay__box{color:#fff;text-align:center;border:3px dashed #fffc;border-radius:20px;padding:60px 90px;font-size:26px;font-weight:600}.app--tool .main{min-height:calc(100vh - var(--header-h))}.workspace{min-height:calc(100vh - var(--header-h));display:flex}.workspace__main{flex-direction:column;flex:1;min-width:0;padding:18px 28px 40px;display:flex}.workspace__bar{justify-content:space-between;align-items:center;gap:12px;min-height:52px;margin-bottom:12px;display:flex}.workspace__bar-left{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.workspace__bar-right{align-items:center;gap:12px;display:flex}.add-btn{background:var(--primary);color:#fff;border:0;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex;position:relative;box-shadow:0 4px 14px #4d90fe66}.add-btn:hover{background:var(--primary-hover)}.add-btn__badge{background:var(--text);color:var(--surface);border-radius:10px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:700;display:flex;position:absolute;top:-4px;left:-6px}.file-grid{flex-wrap:wrap;place-content:flex-start center;gap:22px;padding:10px 0;display:flex}.file-card{background:var(--surface);width:200px;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;padding:10px;transition:box-shadow .15s;display:flex}.file-card:hover{box-shadow:var(--shadow-lg)}.file-card__thumb{border-radius:6px;justify-content:center;align-items:center;height:180px;display:flex;position:relative;overflow:hidden}.file-card__thumb img{object-fit:contain;max-width:92%;max-height:92%;transition:transform .25s;box-shadow:0 1px 3px #0000001f}.file-card__tag{color:#fff;background:#000000a6;border-radius:4px;padding:2px 6px;font-size:11px;position:absolute;bottom:6px;left:6px}.file-card__name{white-space:nowrap;text-overflow:ellipsis;text-align:center;margin-top:8px;font-size:13px;font-weight:500;overflow:hidden}.file-card__meta{color:var(--muted);text-align:center;margin-top:2px;font-size:11.5px}.file-card--loading .file-card__thumb{background:var(--bg)}.card-tools{opacity:0;gap:6px;transition:opacity .15s;display:flex;position:absolute;top:6px;right:6px}.card-tools--center{top:50%;left:50%;right:auto;transform:translate(-50%,-50%)}.card-tools--center .round-btn{width:40px;height:40px}.card-tools--bottom{top:auto;bottom:6px;right:6px}.file-card:hover .card-tools{opacity:1}@media (hover:none){.card-tools{opacity:1}}.sidebar{width:var(--sidebar-w);background:var(--surface);border-left:1px solid var(--line);top:var(--header-h);height:calc(100vh - var(--header-h));flex-direction:column;flex:none;display:flex;position:sticky}.sidebar__toggle{display:none}.sidebar__head{border-bottom:1px solid var(--line);text-align:center;padding:22px 24px 14px}.sidebar__head h2{font-size:22px;font-weight:600}.sidebar__body{flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.sidebar__foot{border-top:1px solid var(--line);padding:16px 24px 20px}.form-error{color:var(--danger);text-align:center;margin-bottom:10px;font-size:14px}.trail{flex-wrap:wrap;align-items:center;gap:4px;font-size:13px;display:flex}.trail__label{color:var(--muted);margin-right:4px}.trail__step{color:var(--muted);align-items:center;gap:4px;display:inline-flex}.trail__chip{background:var(--surface);color:var(--text);border:1.5px solid;border-radius:14px;padding:2px 10px;font-weight:500}.field{flex-direction:column;gap:7px;display:flex}.field__label{color:var(--muted);font-size:13px;font-weight:600}.field__hint{color:var(--muted);font-size:12px}.opt-text{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.opt-text.warn{color:color-mix(in srgb, #c2410c 80%, var(--text))}.opt-preview-size{color:var(--muted);background:var(--bg);border-radius:8px;margin:0;padding:10px 12px;font-size:14px}.row-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.segmented{background:var(--bg);border-radius:10px;gap:4px;padding:4px;display:inline-flex}.segmented--full{display:flex}.segmented--full .segmented__btn{flex:1}.segmented__btn{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:9px 12px;font-size:14px;font-weight:500}.segmented__btn.is-active{background:var(--surface);color:var(--primary);font-weight:600;box-shadow:0 1px 4px #0000001a}.checkbox{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;font-size:14px;display:flex}.checkbox input{opacity:0;pointer-events:none;position:absolute}.checkbox__box{border:2px solid var(--line-strong);border-radius:5px;flex:none;width:20px;height:20px;transition:all .12s;position:relative}.checkbox input:checked+.checkbox__box{background:var(--primary);border-color:var(--primary)}.checkbox input:checked+.checkbox__box:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:1px;left:5px;transform:rotate(45deg)}.checkbox input:focus-visible+.checkbox__box{outline:2px solid var(--primary);outline-offset:2px}.num-input{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;align-items:center;display:flex;overflow:hidden}.num-input:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.num-input input{background:0 0;border:0;outline:0;width:100%;min-width:0;padding:10px 12px;font-size:15px}.num-input__suffix{color:var(--muted);padding:0 12px;font-size:14px}.num-input.is-disabled{opacity:.5}.select,.textarea,.text-input{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;outline:0;width:100%;padding:10px 12px;font-size:14px}.select:focus,.textarea:focus,.text-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.textarea{resize:vertical;line-height:1.4}.slider{align-items:center;gap:12px;display:flex}.slider input{accent-color:var(--primary);flex:1}.slider__value{text-align:right;font-variant-numeric:tabular-nums;min-width:52px;color:var(--muted);font-size:13px}.color-input{border:1px solid var(--line-strong);cursor:pointer;background:var(--surface);border-radius:8px;align-items:center;gap:10px;padding:5px 10px 5px 5px;font-size:13px;display:inline-flex}.color-input input{cursor:pointer;background:0 0;border:0;width:30px;height:28px;padding:0}.choice-list{flex-direction:column;gap:10px;display:flex}.choice{text-align:left;border:2px solid var(--line);background:var(--surface);border-radius:10px;align-items:flex-start;gap:12px;padding:14px;display:flex}.choice strong{font-size:15px;display:block}.choice small{color:var(--muted);font-size:13px}.choice.is-active{border-color:var(--primary);background:var(--primary-soft)}.choice__radio{border:2px solid var(--line-strong);border-radius:50%;flex:none;width:18px;height:18px;margin-top:2px}.choice.is-active .choice__radio{border:5px solid var(--primary)}.pct-buttons{flex-direction:column;gap:8px;display:flex}.pct-btn{border:2px solid var(--line);background:var(--surface);border-radius:10px;padding:12px;font-size:15px}.pct-btn.is-active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line-strong);background:var(--surface);border-radius:16px;padding:5px 12px;font-size:13px;font-weight:500}.chip:hover{border-color:var(--primary)}.chip.is-active{background:var(--primary);border-color:var(--primary);color:#fff}.pos-grid-wrap{align-items:center;gap:14px;display:flex}.pos-grid{background:var(--bg);border-radius:8px;grid-template-columns:repeat(3,30px);gap:4px;padding:6px;display:grid}.pos-grid__cell{border:1px solid var(--line-strong);background:var(--surface);border-radius:5px;width:30px;height:30px}.pos-grid__cell.is-active{background:var(--primary);border-color:var(--primary)}.pos-grid__extra{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;padding:8px 12px;font-size:13px;font-weight:500}.pos-grid__extra.is-active{background:var(--primary);color:#fff;border-color:var(--primary)}.icon-toggle{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;justify-content:center;align-items:center;width:38px;height:36px;display:inline-flex}.icon-toggle.is-active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.upload-mini{border:2px dashed var(--line-strong);cursor:pointer;color:var(--muted);border-radius:10px;align-items:center;gap:12px;padding:12px;font-size:14px;display:flex}.upload-mini:hover{border-color:var(--primary);color:var(--primary)}.upload-mini img{object-fit:contain;background:var(--bg);border-radius:6px;width:48px;height:48px}.format-tiles{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.format-tile{border:2px solid var(--line);background:var(--surface);text-align:center;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;display:flex}.format-tile small{color:var(--muted);font-size:11.5px;line-height:1.3}.format-tile__badge{font-size:16px;font-weight:800}.format-tile.is-active{border-color:var(--primary);background:var(--primary-soft)}.notice{background:var(--bg);color:var(--muted);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.5}.notice--warn{background:color-mix(in srgb, #f5a000 14%, var(--surface));color:color-mix(in srgb, #8a5300 70%, var(--text))}.canvas-view{justify-content:center;align-items:center;max-width:100%;max-height:100%;display:flex}.canvas-view__canvas{width:auto;max-width:100%;height:auto;max-height:100%;display:block}.preview-main{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.preview-stage{flex:1;justify-content:center;align-items:center;min-height:360px;display:flex;position:relative}.preview-stage .canvas-view{box-shadow:var(--shadow-lg);max-height:calc(100vh - var(--header-h) - 190px)}.preview-stage .canvas-view__canvas{max-height:calc(100vh - var(--header-h) - 190px)}.preview-error{color:var(--danger)}.thumb-strip{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.thumb-strip__item{background:var(--surface);width:64px;height:64px;box-shadow:var(--shadow);border:2px solid #0000;border-radius:8px;padding:3px}.thumb-strip__item img{object-fit:contain;width:100%;height:100%}.thumb-strip__item.is-active{border-color:var(--primary)}.spinner{border:4px solid var(--surface-2);border-top-color:var(--primary);border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.crop-main{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex}.crop-stage{min-height:380px;height:calc(100vh - var(--header-h) - 170px);-webkit-user-select:none;user-select:none;flex:1;justify-content:center;align-items:center;display:flex}.crop-frame{box-shadow:var(--shadow-lg);touch-action:none;position:relative}.crop-frame .canvas-view,.crop-frame .canvas-view__canvas{width:100%;height:100%;max-height:none}.crop-rect{cursor:move;touch-action:none;outline:2px solid #fff;position:absolute;box-shadow:0 0 0 9999px #0f0f1e8c}.crop-frame{overflow:hidden}.crop-rect__grid{pointer-events:none;background-image:linear-gradient(90deg,#ffffff73 1px,#0000 1px),linear-gradient(#ffffff73 1px,#0000 1px);background-position:-1px -1px;background-size:33.333% 33.333%;position:absolute;inset:0}.crop-handle{border:2px solid var(--primary);touch-action:none;background:#fff;border-radius:3px;width:16px;height:16px;position:absolute;transform:translate(-50%,-50%)}.crop-handle--nw{cursor:nwse-resize;top:0;left:0}.crop-handle--n{cursor:ns-resize;top:0;left:50%}.crop-handle--ne{cursor:nesw-resize;top:0;left:100%}.crop-handle--e{cursor:ew-resize;top:50%;left:100%}.crop-handle--se{cursor:nwse-resize;top:100%;left:100%}.crop-handle--s{cursor:ns-resize;top:100%;left:50%}.crop-handle--sw{cursor:nesw-resize;top:100%;left:0}.crop-handle--w{cursor:ew-resize;top:50%;left:0}.processing{text-align:center;max-width:620px;margin:0 auto;padding:120px 20px}.processing h2{margin-bottom:26px;font-size:30px}.progress{background:var(--surface-2);border-radius:7px;height:14px;overflow:hidden}.progress__bar{background:linear-gradient(90deg, var(--primary), var(--ia));border-radius:7px;height:100%;transition:width .25s}.processing p{color:var(--muted)}.result{text-align:center;max-width:980px;margin:0 auto;padding:40px 20px 60px;position:relative}.result h1{margin-bottom:22px;font-size:36px}.result__back{background:var(--surface);width:44px;height:44px;box-shadow:var(--shadow);border:0;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:42px;left:20px}.result__back:hover{color:var(--primary)}.result__stats{text-align:left;background:var(--surface);box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:18px;margin-bottom:22px;padding:14px 22px;display:inline-flex}.saving-ring{--p:0;background:conic-gradient(var(--success) calc(var(--p) * 1%), var(--surface-2) 0);border-radius:50%;place-items:center;width:64px;height:64px;font-size:15px;font-weight:700;display:grid}.saving-ring span{background:var(--surface);border-radius:50%;place-items:center;width:50px;height:50px;display:grid}.result__actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:18px;display:flex}.result .trail{justify-content:center;margin-bottom:24px}.result__files{text-align:left;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;max-height:360px;padding:4px;display:grid;overflow:auto}.result-file{background:var(--surface);box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:12px;padding:8px;display:flex}.result-file__thumb{border-radius:6px;flex:none;justify-content:center;align-items:center;width:56px;height:56px;display:flex;overflow:hidden}.result-file__thumb img{max-width:100%;max-height:100%}.result-file__info{flex:1;min-width:0}.result-file__name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.result-file__meta{color:var(--muted);font-size:12px}.result__total{color:var(--muted);font-size:14px}.continue{background:var(--surface);box-shadow:var(--shadow);border-radius:18px;margin-top:44px;padding:30px}.continue h2{font-size:24px}.continue__sub{color:var(--muted);margin:6px 0 22px}.continue__grid{text-align:left;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;display:grid}.continue__item{border:1px solid var(--line);border-radius:10px;align-items:center;gap:12px;padding:10px;font-size:14px;font-weight:500;display:flex}.continue__item:hover{border-color:var(--primary);background:var(--primary-soft)}.continue__item--atelier{border-color:color-mix(in srgb, var(--ia) 30%, var(--line));background:var(--ia-soft)}.continue__reset{margin-top:18px}.toast{z-index:300;box-shadow:var(--shadow-lg);background:var(--surface);border-radius:10px;align-items:flex-start;gap:10px;max-width:520px;padding:12px 14px;font-size:14px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.toast--error{border-left:4px solid var(--danger)}.toast--error>svg{color:var(--danger);flex:none;margin-top:1px}@media (width<=1899px){.header__ws{display:none}}@media (width<=1779px){.pj-entete .pj-slogan{display:none}}@media (width<=1579px){.header__nav .header__link:nth-child(n+4):not(.header__more){display:none}}@media (width<=900px){.header__more{display:none}}@media (width<=1299px){.header__nav .header__link:not(.header__more){display:none}}@media (width<=1180px){.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mega__inner{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){:root{--sidebar-w:100%}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home__chain{grid-template-columns:1fr;padding:26px}.footer__inner{grid-template-columns:1fr 1fr}.workspace{flex-direction:column}.workspace__main{padding:12px 16px 24px}.sidebar{border-left:0;border-top:1px solid var(--line);height:auto;position:static}.sidebar__body{overflow:visible}.sidebar__foot{background:var(--surface);position:sticky;bottom:0;box-shadow:0 -4px 16px #0000000f}.crop-stage{height:60vh}}@media (width<=640px){.header{gap:8px;padding-right:0}.header__nav,.header__ws,.header__grid-wrap{display:none}.header__burger{display:inline-flex}.header__atelier{padding:7px 10px}.header__atelier-txt{display:none}.home{padding:0 16px 40px}.home__hero h1,.uploader h1{font-size:28px}.home__hero p,.uploader__hero{font-size:16px}.tools-grid{grid-template-columns:1fr}.tool-card{min-height:0}.home__features,.footer__inner{grid-template-columns:1fr}.uploader__btn{padding:20px 28px;font-size:19px}.file-card{width:calc(50% - 8px)}.file-grid{gap:12px}.file-card__thumb{height:130px}.result h1{margin-top:40px;font-size:26px}.btn--xl{white-space:normal;padding:16px 20px;font-size:16px}.mega__inner{grid-template-columns:1fr 1fr;padding:20px}.row-2{grid-template-columns:1fr 1fr;gap:8px}}.html-tool{max-width:1320px;margin:0 auto;padding:30px 20px 50px}.html-tool__head{text-align:center;margin-bottom:24px}.html-tool__head h1{margin-bottom:10px;font-size:40px}.html-tool__head .uploader__hero{margin:0}.html-tool__body{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:24px;display:grid}.html-tool__left{flex-direction:column;gap:12px;min-width:0;display:flex}.html-tool__left .segmented__btn{align-items:center;gap:6px;display:inline-flex}.html-tool__code{background:var(--surface-2);min-height:260px;font-family:ui-monospace,Consolas,monospace;font-size:13px}.html-tool__file{justify-content:center;padding:30px}.html-tool__url{flex-direction:column;gap:10px;display:flex}.html-tool__url-row{gap:8px;display:flex}.html-tool__preview-label{color:var(--muted);font-size:13px;font-weight:600}.html-tool__preview{background:var(--surface);box-shadow:var(--shadow);border-radius:12px;position:relative;overflow:hidden}.html-tool__preview iframe{background:#fff;border:0;position:absolute;top:0;left:0}.html-tool__side{background:var(--surface);box-shadow:var(--shadow);top:calc(var(--header-h) + 16px);border-radius:14px;flex-direction:column;gap:16px;padding:22px;display:flex;position:sticky}.html-tool__side h2{text-align:center;font-size:20px}.html-tool__side .num-input{margin-top:6px}@media (width<=900px){.html-tool__body{grid-template-columns:1fr}.html-tool__side{position:static}.html-tool__head h1{font-size:28px}}button.continue__item{background:var(--surface);text-align:left}@media (width<=420px){.header__atelier{display:none}}.canvas-container canvas{max-width:none}.ed-main{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.ed-toolbar{background:var(--surface);box-shadow:var(--shadow);border-radius:12px;flex-wrap:wrap;justify-content:center;align-self:center;align-items:center;gap:4px;padding:5px 8px;display:flex}.ed-toolbar__sep{background:var(--line);width:1px;height:22px;margin:0 6px}.ed-toolbar__info{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:10px;font-size:12px}.ed-tbtn{width:34px;height:34px;color:var(--text);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.ed-tbtn:hover:not(:disabled){background:var(--primary-soft);color:var(--primary)}.ed-tbtn--danger:hover:not(:disabled){background:color-mix(in srgb, var(--danger) 12%, var(--surface));color:var(--danger)}.ed-tbtn:disabled{opacity:.35}.ed-stage{min-height:360px;height:calc(100vh - var(--header-h) - 230px);flex:1;justify-content:center;align-items:center;display:flex;position:relative}.ed-paper{box-shadow:var(--shadow-lg);flex:none;position:relative}.ed-frame{width:100%;height:100%;display:block;position:absolute;inset:0}.ed-host{position:absolute;overflow:hidden}.ed-host--raised{box-shadow:none}.ed-host .canvas-container{touch-action:none}.ed-spinner{position:absolute}.ed-dot{width:9px;height:9px;box-shadow:0 0 0 2px var(--surface);background:#8b5cf6;border-radius:50%;position:absolute;top:3px;right:3px}.ed-tabs{background:var(--bg);z-index:3;box-shadow:0 -12px 0 8px var(--surface), 0 6px 10px -6px #0000001f;border-radius:12px;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;display:grid;position:sticky;top:-12px}.ed-tab{color:var(--muted);background:0 0;border:0;border-radius:9px;flex-direction:column;align-items:center;gap:3px;padding:8px 2px 6px;font-size:11px;font-weight:500;display:flex}.ed-tab:hover{color:var(--primary)}.ed-tab.is-active{background:var(--surface);color:var(--primary);font-weight:600;box-shadow:0 1px 4px #0000001a}.ed-panel{flex-direction:column;gap:14px;display:flex}.ed-slider{flex-direction:column;gap:4px;display:flex}.ed-slider__head{color:var(--muted);justify-content:space-between;align-items:center;font-size:13px;font-weight:500;display:flex}.ed-slider__val{color:var(--muted);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:6px;padding:2px 6px;font-size:12px}.ed-slider__val.is-set{color:var(--primary);background:var(--primary-soft);font-weight:600}.ed-slider input{width:100%;accent-color:var(--primary)}.ed-presets{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.ed-preset{background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;font-size:12px;font-weight:500;display:flex}.ed-preset__img{aspect-ratio:1;background:var(--bg);border:2px solid #0000;border-radius:10px;width:100%;transition:border-color .12s;overflow:hidden}.ed-preset__img img{object-fit:cover;width:100%;height:100%;display:block}.ed-preset:hover .ed-preset__img{border-color:var(--line-strong)}.ed-preset.is-active .ed-preset__img{border-color:var(--primary)}.ed-preset.is-active{color:var(--primary)}.ed-frames{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.ed-frame-tile{background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;font-size:11.5px;font-weight:500;display:flex}.ed-frame-tile__art{aspect-ratio:1;border:2px solid var(--line);background:var(--surface-2);border-radius:9px;width:100%;position:relative}.ed-frame-tile__art:after{content:"";background:linear-gradient(135deg,#7fb2ff,#b28cff);position:absolute;inset:22%}.ed-frame-tile--none .ed-frame-tile__art:after{inset:10%}.ed-frame-tile--simple .ed-frame-tile__art{box-shadow:inset 0 0 0 1px var(--line);background:#fff}.ed-frame-tile--double .ed-frame-tile__art{background:#1f2937}.ed-frame-tile--double .ed-frame-tile__art:before{content:"";border:1.5px solid #fff;position:absolute;inset:11%}.ed-frame-tile--polaroid .ed-frame-tile__art{background:#fff}.ed-frame-tile--polaroid .ed-frame-tile__art:after{inset:14% 14% 34%}.ed-frame-tile--rounded .ed-frame-tile__art:after{border-radius:12px;inset:14%}.ed-frame-tile--shadow .ed-frame-tile__art:after{box-shadow:0 4px 8px #00000059}.ed-frame-tile--cinema .ed-frame-tile__art{background:#000}.ed-frame-tile--cinema .ed-frame-tile__art:after{inset:24% 0}.ed-frame-tile.is-active .ed-frame-tile__art{border-color:var(--primary)}.ed-frame-tile.is-active{color:var(--primary)}.ed-add-list{flex-direction:column;gap:8px;display:flex}.ed-add{border:1px solid var(--line-strong);background:var(--surface);text-align:left;border-radius:10px;padding:12px 14px;font-size:14px}.ed-add:hover{border-color:var(--primary);background:var(--primary-soft)}.ed-add--title{font-size:20px;font-weight:800}.ed-add--sub{font-size:16px;font-weight:600}.ed-shapes{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.ed-shape{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:10px 2px 7px;font-size:11px;font-weight:500;display:flex}.ed-shape:hover{border-color:var(--primary);background:var(--primary-soft)}.ed-shape__art{--c:#4d90fe;width:30px;height:22px;display:block;position:relative}.ed-shape__art--rect{background:var(--c)}.ed-shape__art--rrect{background:var(--c);border-radius:6px}.ed-shape__art--circle{background:var(--c);border-radius:50%;width:24px;height:24px}.ed-shape__art--triangle{border-left:13px solid #0000;border-right:13px solid #0000;border-bottom:22px solid var(--c);width:0;height:0}.ed-shape__art--star{background:var(--c);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);width:26px;height:26px}.ed-shape__art--line,.ed-shape__art--arrow{background:var(--c);border-radius:2px;height:3px;margin:9px 0}.ed-shape__art--arrow:after{content:"";border-top:3px solid var(--c);border-right:3px solid var(--c);width:9px;height:9px;position:absolute;top:-5px;right:-2px;transform:rotate(45deg)}.ed-shape__art--outline{border:3px solid var(--c)}.ed-emojis{grid-template-columns:repeat(8,1fr);gap:2px;margin-top:6px;display:grid}.ed-emoji{background:0 0;border:0;border-radius:8px;padding:4px 0;font-size:22px;line-height:1.2}.ed-emoji:hover{background:var(--bg);transform:scale(1.12)}.ed-swatches{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ed-swatch{width:28px;height:28px;box-shadow:0 0 0 1px var(--line-strong);border:2px solid #fff;border-radius:50%}.ed-swatch.is-active{box-shadow:0 0 0 2px var(--primary)}.ed-selection{background:var(--ia-soft);border:1px solid color-mix(in srgb, var(--ia) 25%, var(--line));border-radius:12px;flex-direction:column;gap:12px;padding:12px;display:flex}.ed-selection__head{justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.ed-selection__actions{gap:2px;display:flex}.ed-inline{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ed-footer-actions{border-top:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:4px;margin-top:auto;padding-top:8px;display:flex}.ed-reset{color:var(--muted)}@media (width<=900px){.ed-stage{height:58vh;min-height:280px}.ed-tabs{box-shadow:none;position:static}.ed-toolbar__info{display:none}}@media (width<=640px){.ed-tab span{font-size:10px}.ed-presets{grid-template-columns:repeat(4,1fr)}.ed-emojis{grid-template-columns:repeat(8,1fr)}}.ai-status{background:var(--ia-soft);color:color-mix(in srgb, var(--ia) 75%, var(--text));border-radius:8px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:13px;line-height:1.45;display:flex}.ai-status>svg{flex:none;margin-top:2px}.ai-status__body{flex-direction:column;flex:1;gap:6px;display:flex}.ai-status__bar{background:color-mix(in srgb, var(--ia) 25%, var(--surface));border-radius:3px;height:6px;overflow:hidden}.ai-status__bar>div{background:var(--ia);height:100%;transition:width .2s}.ai-status--ready{background:color-mix(in srgb, #2fbf71 14%, var(--surface));color:color-mix(in srgb, #1d7a48 70%, var(--text))}.ai-status--error{background:color-mix(in srgb, #e5322d 12%, var(--surface));color:color-mix(in srgb, #b42318 75%, var(--text))}.compare{-webkit-user-select:none;user-select:none;touch-action:none;box-shadow:var(--shadow-lg);max-width:100%;position:relative}.compare__img{max-width:100%;max-height:calc(100vh - var(--header-h) - 230px);display:block}.compare__after{position:absolute;inset:0}.compare__after img{width:100%;height:100%;display:block}.compare__handle{cursor:ew-resize;background:#fff;width:3px;position:absolute;top:0;bottom:0;transform:translate(-50%);box-shadow:0 0 4px #0006}.compare__handle:after{content:"⇆";background:var(--surface);width:34px;height:34px;color:var(--primary);border-radius:50%;place-items:center;font-size:16px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1px 6px #0000004d}.compare__label{color:#fff;background:#0009;border-radius:4px;padding:3px 8px;font-size:12px;font-weight:600;position:absolute;top:10px}.ai-preview{flex-direction:column;flex:1;align-items:center;gap:14px;min-height:0;display:flex}.ai-preview__stage{flex:1;justify-content:center;align-items:center;width:100%;min-height:360px;display:flex;position:relative}.ai-preview__bar{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.ai-preview__busy{background:color-mix(in srgb, var(--bg) 70%, transparent);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex;position:absolute;inset:0}.face-stage{min-height:380px;height:calc(100vh - var(--header-h) - 170px);-webkit-user-select:none;user-select:none;flex:1;justify-content:center;align-items:center;display:flex}.face-frame{box-shadow:var(--shadow-lg);touch-action:none;cursor:crosshair;position:relative}.face-frame .canvas-view,.face-frame .canvas-view__canvas{width:100%;height:100%;max-height:none}.face-box{cursor:pointer;border:2px solid #fff;border-radius:4px;position:absolute;box-shadow:0 0 0 1px #00000059}.face-box.is-on{border-color:#db2777}.face-box.is-off{background:#ffffff26;border-style:dashed}.face-box.is-ellipse{border-radius:50%}.face-box__del{background:var(--surface);width:22px;height:22px;color:var(--text);border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:none;position:absolute;top:-11px;right:-11px;box-shadow:0 1px 4px #0000004d}.face-box:hover .face-box__del{display:flex}.face-box__del:hover{color:var(--danger)}.face-draft{pointer-events:none;background:#db27771f;border:2px dashed #db2777;position:absolute}.face-busy{color:#fff;white-space:nowrap;background:#000000b3;border-radius:16px;padding:6px 12px;font-size:13px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.thumb-strip__item{position:relative}.thumb-count{color:#fff;background:#db2777;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:700;display:grid;position:absolute;top:-6px;right:-6px}.face-help{color:var(--muted);text-align:center;margin:0;font-size:13px}.atelier{min-height:calc(100vh - var(--header-h));grid-template-columns:280px minmax(0,1fr) 400px;display:grid}.atelier__images,.atelier__recipe{background:var(--surface);top:var(--header-h);height:calc(100vh - var(--header-h));flex-direction:column;display:flex;position:sticky}.atelier__images{border-right:1px solid var(--line)}.atelier__recipe{border-left:1px solid var(--line)}.atelier__col-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:18px 18px 12px;display:flex}.atelier__col-head h2{font-size:20px}.add-btn--sm{width:36px;height:36px;box-shadow:none}.atelier__note{color:var(--muted);margin:10px 16px 0;font-size:12px}.atelier__empty{border:2px dashed var(--line-strong);background:var(--bg);color:var(--muted);border-radius:14px;flex-direction:column;align-items:center;gap:6px;margin:16px;padding:30px 16px;display:flex}.atelier__empty b{color:var(--primary);font-size:15px}.atelier__empty:hover{border-color:var(--primary)}.atelier__empty svg{color:var(--primary)}.atelier__list{flex-direction:column;flex:1;gap:6px;padding:10px;display:flex;overflow-y:auto}.atelier__img{cursor:pointer;border:2px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:6px;display:flex}.atelier__img:hover{background:var(--bg)}.atelier__img.is-active{border-color:var(--primary);background:var(--primary-soft)}.atelier__img-thumb{border-radius:6px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.atelier__img-thumb img{max-width:100%;max-height:100%}.atelier__img-info{flex-direction:column;flex:1;min-width:0;display:flex}.atelier__img-info b{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;overflow:hidden}.atelier__img-info small{color:var(--muted);font-size:11.5px}.atelier__loading{justify-content:center;padding:12px;display:flex}.atelier__preview{flex-direction:column;gap:12px;min-width:0;padding:16px 24px 20px;display:flex}.atelier__preview-bar{flex-wrap:wrap;align-items:center;gap:16px;min-height:44px;display:flex}.atelier__busy{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:inline-flex}.spinner--sm{border-width:2px;width:16px;height:16px}.atelier__stage{flex:1;justify-content:center;align-items:center;min-height:360px;display:flex}.atelier__canvas{box-shadow:var(--shadow-lg)}.atelier__canvas .canvas-view__canvas{max-height:calc(100vh - var(--header-h) - 200px)}.atelier__placeholder{text-align:center;color:var(--muted);max-width:420px}.atelier__placeholder svg{color:var(--ia)}.atelier__placeholder h3{color:var(--text);margin:10px 0 8px;font-size:22px}.atelier__compare{background:var(--surface);box-shadow:var(--shadow);border-radius:12px;flex-wrap:wrap;justify-content:center;align-self:center;align-items:center;gap:16px;padding:10px 18px;display:flex}.atelier__compare>div{flex-direction:column;display:flex}.atelier__compare small{color:var(--muted);font-size:11.5px}.atelier__compare b{font-size:14px;font-weight:600}.atelier__recipe-tools{align-items:center;gap:4px;display:flex}.atelier__steps{flex-direction:column;flex:1;gap:10px;padding:14px;display:flex;overflow-y:auto}.step-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex:none;transition:box-shadow .15s}.step-card.is-open{box-shadow:var(--shadow);border-color:var(--line-strong)}.step-card.is-disabled{opacity:.5}.step-card__head{align-items:center;gap:6px;padding:8px 6px 8px 10px;display:flex}.step-card__num{background:var(--bg);width:22px;height:22px;color:var(--muted);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:flex}.step-card__title{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;padding:2px;display:flex}.step-card__title>span:not(.tool-icon){flex-direction:column;flex:1;min-width:0;display:flex}.step-card__title b{font-size:14px}.step-card__title small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.step-card__actions{display:flex}.step-card__actions .icon-btn{width:28px;height:28px;color:var(--muted)}.step-card__actions .icon-btn:hover{color:var(--text)}.step-card__del:hover{color:var(--danger)!important}.step-card__body{border-top:1px solid var(--line);flex-direction:column;gap:14px;padding:14px 14px 16px;display:flex}.step-card__ai{color:var(--ia);align-items:center;gap:6px;margin:0;font-size:12px;display:flex}.add-step{flex:none;position:relative}.add-step__btn{border:2px dashed var(--line-strong);width:100%;color:var(--primary);background:0 0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:12px;font-weight:600;display:flex}.add-step__btn:hover{border-color:var(--primary);background:var(--primary-soft)}.add-step__menu{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:12px;grid-template-columns:1fr 1fr;gap:2px;margin-top:8px;padding:6px;display:grid}.add-step__item{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px;font-size:13px;font-weight:500;display:flex}.add-step__item:hover{background:var(--bg)}.add-step__ai{color:var(--ia);background:var(--ia-soft);border-radius:4px;margin-left:auto;padding:1px 5px;font-size:10px;font-weight:700}.recipe-menu{position:relative}.recipe-menu__pop{background:var(--surface);width:300px;box-shadow:var(--shadow-lg);z-index:30;border-radius:12px;flex-direction:column;padding:8px;display:flex;position:absolute;top:40px;right:0}.recipe-menu__title{text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:8px 8px 4px;font-size:11px;font-weight:700}.recipe-menu__item{text-align:left;background:0 0;border:0;border-radius:8px;flex:1;padding:8px;font-size:14px}.recipe-menu__item:hover{background:var(--bg);color:var(--primary)}.recipe-menu__row{align-items:center;display:flex}.recipe-menu__clear{color:var(--danger);border-top:1px solid var(--line);border-radius:0;margin-top:4px}@media (width<=1180px){.atelier{grid-template-columns:220px minmax(0,1fr) 360px}}@media (width<=900px){.atelier{grid-template-columns:minmax(0,1fr)}.atelier__preview{padding:12px 16px 16px}.atelier__images,.atelier__recipe{border:0;border-bottom:1px solid var(--line);height:auto;position:static}.atelier__list{flex-direction:row;overflow-x:auto}.atelier__img{flex:none;width:200px}.atelier__steps{overflow:visible}.atelier__recipe .sidebar__foot{background:var(--surface);position:sticky;bottom:0}.atelier__stage{min-height:260px}.recipe-menu__pop{width:270px}}
