/* LogoArt Tools Studio v1 */
@font-face{font-family:"Sahel";src:url("../assets/fonts/sahel/Sahel-Light-FD-WOL.woff2") format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Sahel";src:url("../assets/fonts/sahel/Sahel-FD-WOL.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Sahel";src:url("../assets/fonts/sahel/Sahel-SemiBold-FD-WOL.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Sahel";src:url("../assets/fonts/sahel/Sahel-Bold-FD-WOL.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Sahel";src:url("../assets/fonts/sahel/Sahel-Black-FD-WOL.woff2") format("woff2");font-weight:900;font-display:swap}

.lt-scope{
  --bg:#f4f6f5;--surface:#fff;--surface-2:#fafbfb;
  --ink:#1c2628;--ink-2:#45535a;--muted:#7b878c;--line:#e2e7e5;--line-2:#eef1f0;
  --mint:#62b09f;--mint-deep:#2e7a6a;--mint-wash:#e9f4f0;
  --red:#c92116;--red-2:#e5483c;--red-wash:#fcebea;
  --r-xl:12px;--r-lg:9px;--r-md:7px;--r-sm:5px;
  --shadow-1:0 1px 2px rgba(28,38,40,.05),0 6px 20px rgba(28,38,40,.05);
  --shadow-2:0 2px 6px rgba(28,38,40,.06),0 22px 48px rgba(28,38,40,.10);
  --ease:cubic-bezier(.2,.8,.2,1);
  --top-h:72px;
}
.lt-scope *,.lt-scope *::before,.lt-scope *::after{box-sizing:border-box}

.lt-scope{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font-family:"Sahel",Tahoma,sans-serif;font-size:15px;line-height:1.9;-webkit-font-smoothing:antialiased}
.lt-scope button,.lt-scope input,.lt-scope select{font:inherit;color:inherit}
.lt-scope button{cursor:pointer}
.lt-scope a{color:inherit;text-decoration:none}
.lt-scope svg{display:block}
.lt-scope svg[viewBox="0 0 24 24"]{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lt-scope [hidden]{display:none!important}
.lt-scope :focus-visible{outline:2.5px solid var(--mint);outline-offset:2px}

/* ---------- top bar ---------- */

/* ---------- buttons ---------- */
.lt-scope .lt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 17px;border-radius:7px;border:1px solid transparent;font-size:13px;font-weight:700;white-space:nowrap;transition:background .2s var(--ease),color .2s,border-color .2s,transform .2s var(--ease),box-shadow .2s}
.lt-scope .lt-btn svg{width:19px;height:19px;flex:none}
.lt-scope .lt-btn:active{transform:scale(.97)}
.lt-scope .lt-btn:disabled{opacity:.42;cursor:not-allowed;transform:none}
.lt-scope .lt-btn-ghost{background:transparent;color:var(--ink-2);border-color:var(--line)}
.lt-scope .lt-btn-ghost:hover{background:var(--surface-2);border-color:#cfd7d4}
.lt-scope .lt-btn-soft{background:var(--mint-wash);color:var(--mint-deep)}
.lt-scope .lt-btn-soft:hover{background:#dcefe8}
.lt-scope .lt-btn-dark{background:var(--ink);color:#fff}
.lt-scope .lt-btn-dark:not(:disabled):hover{background:#000;box-shadow:0 8px 20px rgba(28,38,40,.22)}
.lt-scope .lt-btn-primary{background:var(--red);color:#fff;height:46px;padding:0 22px;box-shadow:0 6px 16px rgba(201,33,22,.22)}
.lt-scope .lt-btn-primary:not(:disabled):hover{background:#b21c12;box-shadow:0 10px 24px rgba(201,33,22,.30)}
.lt-scope .lt-icon-btn{width:40px;height:40px;border-radius:6px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--ink-2)}
.lt-scope .lt-icon-btn svg{width:19px;height:19px}
.lt-scope .lt-icon-btn:hover{background:var(--surface-2)}

/* ---------- views ---------- */
.lt-scope .lt-app{min-height:calc(100vh - var(--top-h))}
.lt-scope .lt-work{display:none}
.lt-scope .lt-app[data-view="tool"] .lt-hub{display:none}
.lt-scope .lt-app[data-view="tool"] .lt-work{display:grid}

/* ---------- hub ---------- */
.lt-scope .lt-hub{width:min(1240px,calc(100% - 32px));margin:0 auto;padding:clamp(28px,5vw,60px) 0 70px}
.lt-scope .lt-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,56px);align-items:center}

.lt-scope .lt-hero h1{margin:0;font-size:clamp(30px,4.2vw,54px);line-height:1.16;font-weight:900;letter-spacing:-.5px;color:var(--ink)}
.lt-scope .lt-hero h1 em{font-style:normal;color:var(--red)}
.lt-scope .lt-hero-sub{margin:20px 0 0;max-width:470px;color:var(--muted);font-size:15px;line-height:2}

.lt-scope .lt-hero-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;min-height:360px;padding:30px;border-radius:var(--r-xl);background:radial-gradient(120% 90% at 85% 0%,#fff 0%,#f3faf7 45%,#e8f3ef 100%);border:1.5px dashed #bcd9cf;cursor:pointer;transition:border-color .25s,transform .35s var(--ease),box-shadow .35s;overflow:hidden}
.lt-scope .lt-hero-drop:hover,.lt-scope .lt-hero-drop.is-over{border-color:var(--mint);box-shadow:var(--shadow-2);transform:translateY(-2px)}
.lt-scope .lt-hero-drop strong{font-size:17px;font-weight:800;margin-top:20px}
.lt-scope .lt-hero-drop>span{color:var(--muted);font-size:14px}
.lt-scope .lt-formats{margin-top:14px;direction:ltr;letter-spacing:1.5px;font-size:13px!important;color:#9aa6a2!important}
.lt-scope .lt-hero-drop-art{position:relative;width:170px;height:130px}
.lt-scope .lt-layer{position:absolute;inset:0;border-radius:9px;border:1.5px solid #cfe3dc;background:#fff;box-shadow:0 10px 26px rgba(46,122,106,.08)}
.lt-scope .lt-layer.l1{transform:rotate(-9deg) translate(-18px,4px);animation:ltFloat1 7s ease-in-out infinite}
.lt-scope .lt-layer.l2{transform:rotate(6deg) translate(16px,-2px);animation:ltFloat2 8s ease-in-out infinite;background:linear-gradient(160deg,#fff,#f1f8f5)}
.lt-scope .lt-layer.l3{background:linear-gradient(150deg,#ffffff 0%,#eef7f3 60%,#e3f0eb 100%);overflow:hidden;animation:ltFloat3 6s ease-in-out infinite}
.lt-scope .lt-layer.l3::before{content:"";position:absolute;left:18px;bottom:18px;width:56px;height:34px;border-radius:5px;background:var(--mint);opacity:.85;clip-path:polygon(0 100%,38% 25%,60% 62%,76% 40%,100% 100%)}
.lt-scope .lt-layer.l3::after{content:"";position:absolute;right:22px;top:20px;width:16px;height:16px;border-radius:50%;background:var(--red);opacity:.9}
@keyframes ltFloat1{50%{transform:rotate(-11deg) translate(-22px,0)}}
@keyframes ltFloat2{50%{transform:rotate(8deg) translate(20px,-6px)}}
@keyframes ltFloat3{50%{transform:translateY(-5px)}}
.lt-scope .lt-hero-drop-icon{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);width:46px;height:46px;border-radius:8px;background:var(--ink);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(28,38,40,.25)}
.lt-scope .lt-hero-drop-icon svg{width:22px;height:22px}

.lt-scope .lt-picked{display:flex;align-items:center;gap:14px;margin:22px 0 0;padding:12px 14px;border-radius:var(--r-lg);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-1);animation:ltIn .4s var(--ease)}
.lt-scope .lt-picked-thumb{width:52px;height:52px;border-radius:6px;overflow:hidden;background:var(--mint-wash);display:grid;place-items:center;color:var(--mint-deep);flex:none}
.lt-scope .lt-picked-thumb img{width:100%;height:100%;object-fit:cover}
.lt-scope .lt-picked-thumb svg{width:24px;height:24px}
.lt-scope .lt-picked-text{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.7}
.lt-scope .lt-picked-text b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lt-scope .lt-picked-text span{font-size:13px;color:var(--muted)}
@keyframes ltIn{from{opacity:0;transform:translateY(8px)}}

.lt-scope .lt-groups{margin-top:clamp(40px,6vw,72px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 14px}
.lt-scope .lt-groups>section{grid-column:span var(--n,1);min-width:0}
.lt-scope .lt-group-head{display:flex;align-items:baseline;gap:12px;margin:0 0 14px;white-space:nowrap;overflow:hidden}
.lt-scope .lt-group-head h2{margin:0;font-size:18px;font-weight:800}
.lt-scope .lt-group-head span{color:var(--muted);font-size:13px}
.lt-scope .lt-grid{display:grid;grid-template-columns:repeat(var(--n,1),minmax(0,1fr));gap:14px;height:calc(100% - 56px)}
@media (max-width:1080px){.lt-scope .lt-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.lt-scope .lt-groups>section{grid-column:span 2}.lt-scope .lt-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));height:auto}}
.lt-scope .lt-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px 20px 18px;border-radius:var(--r-lg);background:#fff;border:1px solid var(--line);text-align:right;transition:transform .3s var(--ease),box-shadow .3s,border-color .3s}
.lt-scope .lt-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-2);border-color:#d3e3dd}
.lt-scope .lt-card-icon{width:50px;height:50px;border-radius:8px;display:grid;place-items:center;background:var(--mint-wash);color:var(--mint-deep);transition:transform .35s var(--ease)}
.lt-scope .lt-card:hover .lt-card-icon{transform:rotate(-6deg) scale(1.06)}
.lt-scope .lt-card-icon svg{width:25px;height:25px}
.lt-scope .lt-card.is-ai .lt-card-icon{background:var(--red-wash);color:var(--red)}
.lt-scope .lt-card b{font-size:15px;font-weight:800;line-height:1.6}
.lt-scope .lt-card p{margin:-6px 0 0;color:var(--muted);font-size:13px;line-height:1.85}
.lt-scope .lt-card-go{position:absolute;left:18px;top:22px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--muted);background:var(--surface-2);transition:.3s var(--ease)}
.lt-scope .lt-card-go svg{width:16px;height:16px}
.lt-scope .lt-card:hover .lt-card-go{background:var(--ink);color:#fff;transform:translateX(-3px)}
.lt-scope .lt-badge{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:7px;background:var(--red-wash);color:var(--red);font-size:13px;font-weight:700;line-height:1}
.lt-scope .lt-card .lt-badge{position:absolute;left:56px;top:25px}

.lt-scope .lt-promise{margin-top:56px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lt-scope .lt-promise>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;padding:18px;border-radius:var(--r-lg);background:transparent;border:1px dashed #d4ddda}
.lt-scope .lt-promise svg{grid-row:span 2;width:26px;height:26px;color:var(--mint-deep);margin-top:4px}
.lt-scope .lt-promise b{font-size:14px}
.lt-scope .lt-promise span{font-size:13px;color:var(--muted);line-height:1.8}

/* ---------- workspace ---------- */
.lt-scope .lt-work{grid-template-columns:236px minmax(0,1fr);min-height:calc(100vh - var(--top-h))}
.lt-scope .lt-rail{position:sticky;top:var(--top-h);align-self:start;height:calc(100vh - var(--top-h));overflow:auto;padding:18px 14px;border-left:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:3px}
.lt-scope .lt-rail-label{margin:12px 10px 4px;font-size:13px;font-weight:700;color:#a1aba8}
.lt-scope .lt-rail-label:first-child{margin-top:0}
.lt-scope .lt-rail-item{display:flex;align-items:center;gap:11px;width:100%;height:44px;padding:0 11px;border:0;border-radius:6px;background:transparent;color:var(--ink-2);font-size:13px;font-weight:600;text-align:right;transition:background .18s,color .18s}
.lt-scope .lt-rail-item svg{width:20px;height:20px;flex:none}
.lt-scope .lt-rail-item:hover{background:var(--surface-2);color:var(--ink)}
.lt-scope .lt-rail-item.is-active{background:var(--ink);color:#fff}
.lt-scope .lt-rail-item .lt-dot-ai{margin-right:auto;width:7px;height:7px;border-radius:50%;background:var(--red)}
.lt-scope .lt-rail-item.is-active .lt-dot-ai{background:#ff8a80}

.lt-scope .lt-stage-wrap{display:flex;flex-direction:column;min-width:0;padding:20px clamp(14px,2.4vw,30px) 22px;gap:16px}
.lt-scope .lt-stage-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.lt-scope .lt-stage-title{display:flex;align-items:center;gap:13px;min-width:0}
.lt-scope .lt-stage-icon{width:46px;height:46px;border-radius:7px;background:var(--mint-wash);color:var(--mint-deep);display:grid;place-items:center;flex:none}
.lt-scope .lt-stage-icon.is-ai{background:var(--red-wash);color:var(--red)}
.lt-scope .lt-stage-icon svg{width:23px;height:23px}
.lt-scope .lt-stage-title h2{margin:0;font-size:17px;font-weight:800;line-height:1.5}
.lt-scope .lt-stage-title p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.lt-scope .lt-stage-actions{display:flex;gap:8px;flex:none}

.lt-scope .lt-stage{position:relative;flex:1;min-height:420px;border-radius:var(--r-xl);background:#fff;border:1px solid var(--line);overflow:hidden;display:flex}
.lt-scope .lt-drop{position:relative;flex:1;margin:14px;border-radius:10px;border:1.5px dashed #c6ddd5;background:radial-gradient(90% 80% at 50% 0%,#f7fbf9 0%,#eef6f2 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:30px;cursor:pointer;transition:border-color .25s,background .25s}
.lt-scope .lt-drop:hover,.lt-scope .lt-drop.is-over{border-color:var(--mint);background:radial-gradient(90% 80% at 50% 0%,#fff 0%,#e8f4ef 100%)}
.lt-scope .lt-drop-glow{position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(98,176,159,.18),transparent 70%);top:50%;left:50%;transform:translate(-50%,-62%);pointer-events:none;animation:ltBreath 5s ease-in-out infinite}
@keyframes ltBreath{50%{transform:translate(-50%,-62%) scale(1.12);opacity:.7}}
.lt-scope .lt-drop-icon{position:relative;width:76px;height:76px;border-radius:12px;background:#fff;color:var(--mint-deep);display:grid;place-items:center;box-shadow:var(--shadow-1);margin-bottom:12px}
.lt-scope .lt-drop-icon svg{width:34px;height:34px}
.lt-scope .lt-drop strong{position:relative;font-size:17px;font-weight:800}
.lt-scope .lt-drop>span:not(.lt-drop-glow):not(.lt-drop-icon):not(.lt-btn){position:relative;color:var(--muted);font-size:14px}
.lt-scope .lt-drop-btn{position:relative;margin-top:16px;pointer-events:none}

.lt-scope .lt-canvas{flex:1;position:relative;display:flex;flex-direction:column;min-width:0;min-height:0}
.lt-scope .lt-view{flex:1;position:relative;display:grid;place-items:center;padding:22px;min-height:360px;background-color:#f6f8f7;background-image:linear-gradient(45deg,#eceff0 25%,transparent 25%),linear-gradient(-45deg,#eceff0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eceff0 75%),linear-gradient(-45deg,transparent 75%,#eceff0 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}
.lt-scope .lt-view.is-plain{background:#f6f8f7}
.lt-scope .lt-view>img,.lt-scope .lt-view canvas{min-width:min(100%,320px);object-fit:contain;max-width:100%;max-height:min(62vh,640px);display:block;border-radius:4px;box-shadow:0 10px 30px rgba(28,38,40,.12)}

/* compare slider (signature) */
.lt-scope .lt-compare{position:relative;max-width:100%;max-height:min(62vh,640px);border-radius:4px;overflow:hidden;box-shadow:0 10px 30px rgba(28,38,40,.12);touch-action:none;user-select:none;-webkit-user-select:none;cursor:ew-resize}
.lt-scope .lt-compare{width:min(100%,calc(min(62vh,640px) * var(--ar,1)));aspect-ratio:var(--ar,1)}
.lt-scope .lt-compare img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;box-shadow:none!important;border-radius:0!important;pointer-events:none}
.lt-scope .lt-compare .lt-cmp-after{clip-path:inset(0 0 0 var(--pos,50%))}
.lt-scope .lt-cmp-line{position:absolute;top:0;bottom:0;left:var(--pos,50%);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.lt-scope .lt-cmp-knob{position:absolute;top:50%;left:var(--pos,50%);width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.22)}
.lt-scope .lt-cmp-knob svg{width:22px;height:22px}
.lt-scope .lt-cmp-tag{position:absolute;top:12px;padding:3px 11px;border-radius:7px;background:rgba(28,38,40,.68);color:#fff;font-size:13px;font-weight:700;backdrop-filter:blur(6px)}
.lt-scope .lt-cmp-tag.t-before{left:12px}
.lt-scope .lt-cmp-tag.t-after{right:12px;background:rgba(201,33,22,.85)}

.lt-scope .lt-filebar{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--line-2);background:#fff;font-size:13px;color:var(--muted);flex-wrap:wrap}
.lt-scope .lt-filebar b{color:var(--ink);font-weight:700;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lt-scope .lt-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:4px;background:var(--surface-2);border:1px solid var(--line-2);color:var(--ink-2);font-size:13px;white-space:nowrap}
.lt-scope .lt-chip.is-good{background:var(--mint-wash);border-color:#d3eae2;color:var(--mint-deep);font-weight:700}
.lt-scope .lt-chip svg{width:15px;height:15px}

/* multi-file list (pdf) */
.lt-scope .lt-list{flex:1;padding:18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;align-content:start;overflow:auto;background:#f6f8f7}
.lt-scope .lt-tile{position:relative;border-radius:7px;background:#fff;border:1px solid var(--line);padding:8px;display:flex;flex-direction:column;gap:6px;animation:ltIn .35s var(--ease)}
.lt-scope .lt-tile-img{aspect-ratio:3/4;border-radius:5px;overflow:hidden;background:#eef2f1;display:grid;place-items:center}
.lt-scope .lt-tile-img img{width:100%;height:100%;object-fit:contain}
.lt-scope .lt-tile-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:13px;color:var(--muted)}
.lt-scope .lt-tile-num{font-weight:800;color:var(--ink)}
.lt-scope .lt-tile-actions{display:flex;gap:2px}
.lt-scope .lt-tile-actions button{width:28px;height:28px;border-radius:4px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center}
.lt-scope .lt-tile-actions button:hover{background:var(--surface-2);color:var(--ink)}
.lt-scope .lt-tile-actions svg{width:16px;height:16px}
.lt-scope .lt-tile-add{border:1.5px dashed #c6ddd5;background:#f1f8f5;justify-content:center;align-items:center;color:var(--mint-deep);font-weight:700;font-size:13px;min-height:180px;cursor:pointer}
.lt-scope .lt-tile-add svg{width:28px;height:28px}
.lt-scope .lt-tile-dl{position:absolute;top:14px;left:14px;width:32px;height:32px;border-radius:5px;background:rgba(255,255,255,.95);display:grid;place-items:center;color:var(--ink);box-shadow:var(--shadow-1);border:0}
.lt-scope .lt-tile-dl svg{width:17px;height:17px}

/* palette */
.lt-scope .lt-palette{display:grid;grid-template-columns:minmax(0,1fr) 300px;flex:1;min-height:0}
.lt-scope .lt-palette .lt-view{min-height:360px}
.lt-scope .lt-swatches{padding:16px;display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--line-2);background:#fff;overflow:auto}
.lt-scope .lt-swatch{display:flex;align-items:center;gap:12px;padding:7px;border-radius:7px;border:1px solid var(--line-2);background:#fff;text-align:right;transition:.2s}
.lt-scope .lt-swatch:hover{border-color:#cfdcd7;box-shadow:var(--shadow-1)}
.lt-scope .lt-swatch i{width:46px;height:46px;border-radius:5px;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.lt-scope .lt-swatch b{direction:ltr;font-size:14px;font-weight:800;letter-spacing:.5px}
.lt-scope .lt-swatch small{display:block;direction:ltr;color:var(--muted);font-size:13px;text-align:right}
.lt-scope .lt-swatch span{flex:1;min-width:0}
.lt-scope .lt-swatch svg{width:17px;height:17px;color:var(--muted)}
.lt-scope .lt-strip{display:flex;height:16px;border-radius:4px;overflow:hidden;margin-bottom:6px}
.lt-scope .lt-strip i{flex:1}

/* busy */
.lt-scope .lt-busy{position:absolute;inset:0;display:grid;place-items:center;background:rgba(246,248,247,.72);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:5;animation:ltFade .25s ease}
@keyframes ltFade{from{opacity:0}}
.lt-scope .lt-busy-card{width:min(330px,86%);padding:24px 24px 18px;border-radius:10px;background:#fff;box-shadow:var(--shadow-2);text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.lt-scope .lt-busy-card b{font-size:15px}
.lt-scope .lt-busy-card small{font-size:13px;color:var(--muted);direction:rtl}
.lt-scope .lt-busy-spark{width:44px;height:44px;border-radius:7px;background:conic-gradient(from 0deg,var(--red),#f08a5d,var(--mint),var(--mint-deep),var(--red));animation:ltSpin 1.6s linear infinite;mask:radial-gradient(circle,transparent 9px,#000 10px);-webkit-mask:radial-gradient(circle,transparent 9px,#000 10px)}
@keyframes ltSpin{to{transform:rotate(360deg)}}
.lt-scope .lt-progress{width:100%;height:6px;border-radius:99px;background:var(--line-2);overflow:hidden}
.lt-scope .lt-progress i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--mint),var(--red));transition:width .3s ease}

/* bottom option bar */
.lt-scope .lt-bar{position:sticky;bottom:14px;z-index:6;display:flex;align-items:center;gap:14px;padding:10px 10px 10px 10px;padding-right:16px;border-radius:11px;background:rgba(255,255,255,.96);border:1px solid var(--line);box-shadow:var(--shadow-2);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.lt-scope .lt-bar-opts{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0;flex:1}
.lt-scope .lt-bar-meta{font-size:13px;color:var(--muted);white-space:nowrap;direction:rtl}
.lt-scope .lt-bar-meta:empty{display:none}
.lt-scope .lt-opt{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--ink-2);font-weight:600}
.lt-scope .lt-opt>label{white-space:nowrap}
.lt-scope .lt-seg{display:inline-flex;padding:3px;border-radius:6px;background:var(--surface-2);border:1px solid var(--line-2);gap:2px}
.lt-scope .lt-seg button{height:34px;min-width:40px;padding:0 12px;border:0;border-radius:5px;background:transparent;color:var(--ink-2);font-size:13px;font-weight:700;white-space:nowrap;transition:.18s}
.lt-scope .lt-seg button:hover{color:var(--ink)}
.lt-scope .lt-seg button.is-on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08),0 0 0 1px var(--line)}
.lt-scope .lt-range{display:flex;align-items:center;gap:9px}
.lt-scope .lt-range input{width:140px;accent-color:var(--red)}
.lt-scope .lt-range output{min-width:38px;text-align:center;font-weight:800;color:var(--ink)}
.lt-scope .lt-num{width:92px;height:38px;padding:0 10px;border-radius:5px;border:1px solid var(--line);background:#fff;font-size:13px;text-align:center;direction:ltr}
.lt-scope .lt-num:focus{outline:0;border-color:var(--mint);box-shadow:0 0 0 3px rgba(98,176,159,.15)}
.lt-scope .lt-lock{width:38px;height:38px;border-radius:5px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--muted)}
.lt-scope .lt-lock.is-on{color:var(--mint-deep);background:var(--mint-wash);border-color:#cfe6dd}
.lt-scope .lt-lock svg{width:18px;height:18px}
.lt-scope .lt-color{width:38px;height:38px;border-radius:5px;border:1px solid var(--line);padding:3px;background:#fff;cursor:pointer}
.lt-scope .lt-sel{height:38px;padding:0 12px;border-radius:5px;border:1px solid var(--line);background:#fff;font-size:13px}

.lt-scope .lt-note{display:flex;gap:10px;align-items:flex-start;margin:14px 14px 0;padding:11px 14px;border-radius:7px;background:#fff8ec;border:1px solid #f4e1bd;color:#7a5a1d;font-size:13px;line-height:1.85}
.lt-scope .lt-note svg{width:18px;height:18px;flex:none;margin-top:4px}

/* toast */
.lt-scope .lt-toast{position:fixed;left:50%;bottom:26px;z-index:100;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:11px 18px;border-radius:7px;background:var(--ink);color:#fff;font-size:13px;font-weight:600;box-shadow:var(--shadow-2);transition:.3s var(--ease);max-width:calc(100% - 32px);text-align:center}
.lt-scope .lt-toast.is-on{opacity:1;transform:translate(-50%,0)}
.lt-scope .lt-toast.is-error{background:#a2160d}
.lt-scope .lt-noscript{position:fixed;inset:auto 16px 16px;padding:14px;border-radius:6px;background:#fff3f1;color:#8a2720;text-align:center}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .lt-scope .lt-work{grid-template-columns:78px minmax(0,1fr)}
  .lt-scope .lt-rail{padding:14px 10px}
  .lt-scope .lt-rail-label{display:none}
  .lt-scope .lt-rail-item{justify-content:center;padding:0;height:50px;position:relative}
  .lt-scope .lt-rail-item span{display:none}
  .lt-scope .lt-rail-item svg{width:22px;height:22px}
  .lt-scope .lt-rail-item .lt-dot-ai{position:absolute;top:10px;left:12px;margin:0}
  .lt-scope .lt-bar{flex-wrap:wrap}
}
@media (max-width:860px){
  .lt-scope{--top-h:64px}
  
  
  
  .lt-scope .lt-hero{grid-template-columns:1fr}
  .lt-scope .lt-hero-drop{min-height:270px}
  .lt-scope .lt-promise{grid-template-columns:1fr}
  .lt-scope .lt-work{display:none;grid-template-columns:1fr}
  .lt-scope .lt-app[data-view="tool"] .lt-work{display:flex;flex-direction:column}
  .lt-scope .lt-rail{position:sticky;top:var(--top-h);z-index:20;height:auto;align-self:stretch;width:100%;min-width:0;max-width:100vw;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:10px 12px;gap:6px;border-left:0;border-bottom:1px solid var(--line);scrollbar-width:none}
  .lt-scope .lt-rail::-webkit-scrollbar{display:none}
  .lt-scope .lt-rail-item{flex:none;width:auto;height:40px;padding:0 13px;border:1px solid var(--line);border-radius:7px;justify-content:flex-start}
  .lt-scope .lt-rail-item span{display:inline}
  .lt-scope .lt-rail-item svg{width:18px;height:18px}
  .lt-scope .lt-rail-item .lt-dot-ai{position:static;margin-right:2px}
  .lt-scope .lt-rail-item.is-active{border-color:var(--ink)}
  .lt-scope .lt-stage-wrap{padding:14px 12px calc(14px + env(safe-area-inset-bottom));gap:12px}
  .lt-scope .lt-stage-title p{display:none}
  .lt-scope .lt-stage-title h2{font-size:16px}
  .lt-scope .lt-stage-icon{width:40px;height:40px;border-radius:6px}
  .lt-scope .lt-stage-actions .lt-btn span{display:none}
  .lt-scope .lt-stage-actions .lt-btn{width:44px;padding:0}
  .lt-scope .lt-stage{min-height:340px}
  .lt-scope .lt-view{min-height:300px;padding:14px}
  .lt-scope .lt-view>img,.lt-scope .lt-view canvas{max-height:52vh}
  .lt-scope .lt-compare{width:min(100%,calc(52vh * var(--ar,1)))}
  .lt-scope .lt-palette{grid-template-columns:1fr}
  .lt-scope .lt-swatches{border-right:0;border-top:1px solid var(--line-2);display:grid;grid-template-columns:1fr 1fr}
  .lt-scope .lt-bar{bottom:calc(10px + env(safe-area-inset-bottom));padding:12px;gap:12px;border-radius:10px}
  .lt-scope .lt-bar-opts{flex-basis:100%;gap:12px}
  .lt-scope .lt-opt{flex-wrap:wrap}
  .lt-scope .lt-bar-meta{flex:1}
  .lt-scope .lt-btn-primary{flex:1}
  .lt-scope .lt-range input{width:120px}
  .lt-scope .lt-list{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));padding:12px;gap:10px}
}
@media (max-width:480px){
  .lt-scope .lt-hub{width:calc(100% - 24px)}
  .lt-scope .lt-hero h1{font-size:30px}
  .lt-scope .lt-grid{grid-template-columns:1fr}
  .lt-scope .lt-swatches{grid-template-columns:1fr}
  
  
  .lt-scope .lt-drop strong{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.lt-scope *,.lt-scope *::before,.lt-scope *::after{animation:none!important;transition:none!important}}
.lt-scope .lt-chip-arrow{padding:0 6px;border:0;background:none}

.lt-scope .lt-busy-cancel{margin-top:4px;height:34px;padding:0 18px;border-radius:5px;border:1px solid var(--line-2);background:var(--surface-2);color:var(--ink-2);font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:.18s}
.lt-scope .lt-busy-cancel:hover{color:var(--ink);background:#fff}
.lt-scope .lt-busy-cancel:disabled{opacity:.5;cursor:default}
.lt-scope .lt-busy-cancel[hidden]{display:none}

/* =====================================================================
   V330 — Tools Studio inside the site shell (same header + menu as every
   other section). The section is the scroll container; the old standalone
   top bar is gone, a slim breadcrumb bar appears only inside a tool.
   ===================================================================== */
.lt-scope{--top-h:0px;--lt-vh:calc(100dvh - 150px);min-height:100%;position:relative;isolation:isolate}
.lt-scope[data-view="tool"]{--top-h:48px}
@media (max-width:760px){.lt-scope{--lt-vh:calc(100dvh - 144px)}}
.lt-scope .lt-app{min-height:calc(var(--lt-vh) - var(--top-h))}
.lt-scope .lt-work{min-height:calc(var(--lt-vh) - var(--top-h))}
.lt-scope .lt-rail{height:calc(var(--lt-vh) - var(--top-h))}

/* breadcrumb bar (tool view only) */
.lt-scope .lt-subbar{display:none}
.lt-scope[data-view="tool"] .lt-subbar{position:sticky;top:0;z-index:30;height:48px;display:flex;align-items:center;gap:12px;padding:0 clamp(14px,2.4vw,30px);background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.lt-scope .lt-crumb{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
.lt-scope .lt-crumb-home{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:0;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap;transition:color .18s}
.lt-scope .lt-crumb-home:hover{color:var(--ink)}
.lt-scope .lt-crumb-home svg{width:16px;height:16px}
.lt-scope .lt-crumb-sep{display:block;flex:none;width:6px;height:6px;border-top:1.6px solid #b4bdba;border-left:1.6px solid #b4bdba;transform:rotate(-45deg)}
.lt-scope .lt-crumb-tool{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lt-scope .lt-subbar .lt-btn{height:34px;padding:0 13px;font-size:13px}
.lt-scope .lt-subbar .lt-btn svg{width:17px;height:17px}

/* tighter, calmer hub inside the shell */
.lt-scope .lt-hub{padding:clamp(22px,4vw,46px) 0 56px}
.lt-scope .lt-hero h1{letter-spacing:-.3px}
.lt-scope .lt-hero-sub{margin-top:14px;line-height:1.95}
.lt-scope .lt-hero-drop{min-height:300px}
.lt-scope .lt-groups{margin-top:clamp(32px,5vw,56px)}
.lt-scope .lt-group-head{margin-bottom:12px}
.lt-scope .lt-card{padding:18px 18px 16px}
.lt-scope .lt-card-icon{width:44px;height:44px}
.lt-scope .lt-card-icon svg{width:22px;height:22px}
.lt-scope .lt-card .lt-badge{height:22px;top:22px}
.lt-scope .lt-card-go{top:20px}
.lt-scope .lt-promise{margin-top:44px}
.lt-scope .lt-btn{height:40px}
.lt-scope .lt-btn-primary{height:44px}
.lt-scope .lt-toast{position:fixed;bottom:96px}

/* smooth arrival after the logo intro */
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-hero-copy,
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-hero-drop,
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-groups,
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-promise{animation:ltArrive .8s cubic-bezier(.2,.8,.2,1) both}
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-hero-drop{animation-delay:.08s}
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-groups{animation-delay:.16s}
#tools.logoart-page-active .lt-scope[data-view="hub"] .lt-promise{animation-delay:.24s}
@keyframes ltArrive{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}

@media (max-width:860px){
  .lt-scope[data-view="tool"]{--top-h:46px}
  .lt-scope[data-view="tool"] .lt-subbar{height:46px;padding:0 12px}
  .lt-scope .lt-subbar .lt-btn span{display:none}
  .lt-scope .lt-subbar .lt-btn{width:36px;padding:0}
  .lt-scope .lt-rail-item{height:36px;padding:0 12px}
  .lt-scope .lt-hero-drop{min-height:240px}
}
@media (max-width:480px){.lt-scope .lt-hero h1{font-size:30px}}
@media (prefers-reduced-motion:reduce){#tools .lt-scope *{animation:none!important}}
.lt-scope.lt-float{position:static;min-height:0;background:none;isolation:auto}
.lt-scope.lt-float .lt-toast{z-index:10040;bottom:calc(92px + env(safe-area-inset-bottom))}

/* =====================================================================
   V331 — calmer, wider tool rail · branded busy card · true before/after
   ===================================================================== */
/* rail: wide enough for every name on one line */
.lt-scope .lt-work{grid-template-columns:292px minmax(0,1fr)}
.lt-scope .lt-rail{padding:20px 14px 24px;gap:2px;background:#fff;border-left:1px solid var(--line)}
.lt-scope .lt-rail-label{margin:18px 12px 6px;font-size:12px;font-weight:700;color:#9aa5a2;letter-spacing:.2px}
.lt-scope .lt-rail-label:first-child{margin-top:2px}
.lt-scope .lt-rail-item{position:relative;height:44px;gap:11px;padding:0 10px 0 12px;border-radius:7px;font-size:13.5px;font-weight:600;color:var(--ink-2);white-space:nowrap;transition:background .18s,color .18s}
.lt-scope .lt-rail-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lt-scope .lt-rail-item svg{width:30px;height:30px;padding:6px;border-radius:7px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink-2);transition:background .18s,color .18s,box-shadow .18s}
.lt-scope .lt-rail-item:hover{background:#f7f8f8;color:var(--ink)}
.lt-scope .lt-rail-item:hover svg{background:#fff;color:var(--ink)}
.lt-scope .lt-rail-item.is-active{background:var(--red-wash);color:#9e170e;font-weight:700}
.lt-scope .lt-rail-item.is-active::before{content:"";position:absolute;right:0;top:9px;bottom:9px;width:3px;border-radius:3px 0 0 3px;background:var(--red)}
.lt-scope .lt-rail-item.is-active svg{background:var(--red);color:#fff;box-shadow:none}
.lt-scope .lt-rail-item .lt-dot-ai{flex:none;margin:0;width:auto;height:18px;padding:0 6px;border-radius:4px;background:var(--red-wash);color:var(--red);font-style:normal;font-size:10.5px;font-weight:800;line-height:18px;letter-spacing:.4px;direction:ltr;font-family:inherit}
.lt-scope .lt-rail-item.is-active .lt-dot-ai{background:#fff;color:var(--red)}

/* busy card: LogoArt mark with a looping logo motion and a red progress line */
.lt-scope .lt-busy-card{gap:12px;padding:26px 24px 18px;border-radius:10px}
.lt-scope .lt-busy-logo{position:relative;width:58px;height:58px;display:grid;place-items:center;margin-bottom:2px}
.lt-scope .lt-busy-ring{position:absolute;inset:-7px;width:calc(100% + 14px);height:calc(100% + 14px);overflow:visible}
.lt-scope .lt-busy-ring rect{fill:none;stroke:var(--red);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:22 78;animation:ltBusyRing 1.6s cubic-bezier(.55,.1,.35,.9) infinite}
.lt-scope .lt-busy-tile{position:relative;width:58px;height:58px;border-radius:9px;background:var(--red);display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 22px rgba(201,33,22,.25);animation:ltBusyBreath 1.6s ease-in-out infinite}
.lt-scope .lt-busy-tile img{width:62%;height:62%;object-fit:contain;filter:brightness(0) invert(1)}
.lt-scope .lt-busy-tile b{color:#fff;font-size:22px;font-weight:900}
.lt-scope .lt-busy-glint{position:absolute;top:-40%;bottom:-40%;width:65%;right:-90%;background:linear-gradient(105deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 30%,rgba(255,255,255,.6) 48%,rgba(255,255,255,.85) 50%,rgba(255,255,255,.6) 52%,rgba(255,255,255,.1) 70%,rgba(255,255,255,0) 100%);transform:skewX(-14deg);animation:ltBusyGlint 1.6s cubic-bezier(.45,.05,.25,1) infinite}
@keyframes ltBusyRing{to{stroke-dashoffset:-100}}
@keyframes ltBusyBreath{0%,100%{transform:scale(1)}50%{transform:scale(.94)}}
@keyframes ltBusyGlint{0%{right:-90%}55%,100%{right:125%}}
.lt-scope .lt-progress{height:4px;border-radius:4px;background:#f1e3e2}
.lt-scope .lt-progress i{background:var(--red);border-radius:4px;position:relative;overflow:hidden}
.lt-scope .lt-progress i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transform:translateX(100%);animation:ltBarShine 1.4s ease-in-out infinite}
@keyframes ltBarShine{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
.lt-scope .lt-busy-card small{color:var(--red);font-weight:700}

/* before/after: each side shows only its own image, so a cut-out really looks cut out */
.lt-scope .lt-compare{background-color:#fff;background-image:linear-gradient(45deg,#e9ecec 25%,transparent 25%),linear-gradient(-45deg,#e9ecec 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9ecec 75%),linear-gradient(-45deg,transparent 75%,#e9ecec 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}
.lt-scope .lt-compare .lt-cmp-before{clip-path:inset(0 calc(100% - var(--pos,50%)) 0 0)}
.lt-scope .lt-compare .lt-cmp-after{clip-path:inset(0 0 0 var(--pos,50%))}

@media (max-width:1080px){
  .lt-scope .lt-work{grid-template-columns:84px minmax(0,1fr)}
  .lt-scope .lt-rail{padding:14px 10px}
  .lt-scope .lt-rail-item{justify-content:center;padding:0;height:52px}
  .lt-scope .lt-rail-item span{display:none;flex:none}
  .lt-scope .lt-rail-item svg{width:36px;height:36px;padding:8px}
  .lt-scope .lt-rail-item .lt-dot-ai{position:absolute;top:4px;left:6px;height:15px;line-height:15px;padding:0 4px;font-size:9.5px}
  .lt-scope .lt-rail-item.is-active::before{top:12px;bottom:12px}
}
@media (max-width:860px){
  .lt-scope .lt-work{grid-template-columns:1fr}
  .lt-scope .lt-rail{padding:10px 12px;gap:6px;border-left:0}
  .lt-scope .lt-rail-label{display:none}
  .lt-scope .lt-rail-item{flex:none;width:auto;height:38px;padding:0 6px 0 12px;justify-content:flex-start;border:1px solid var(--line)}
  .lt-scope .lt-rail-item span{display:inline;flex:none}
  .lt-scope .lt-rail-item svg{width:26px;height:26px;padding:5px}
  .lt-scope .lt-rail-item .lt-dot-ai{position:static;height:17px;line-height:17px}
  .lt-scope .lt-rail-item.is-active{border-color:#f1c9c5}
  .lt-scope .lt-rail-item.is-active::before{display:none}
}
@media (prefers-reduced-motion:reduce){.lt-scope .lt-busy-logo *,.lt-scope .lt-progress i::after{animation:none!important}}
.lt-scope .lt-busy-logo::before{content:"";position:absolute;inset:-7px;border-radius:12px;border:1.5px solid rgba(201,33,22,.13)}
