:root{color-scheme:light;--background:#faf9f6;--surface:#ffffff;--surface-muted:#f2f1ed;--foreground:#242637;--muted:#656778;--border:#dedee5;--accent:#6750cf;--accent-strong:#5740ba;--accent-soft:#efebfc;--accent-ink:#ffffff;--study-ink:#216850;--study-soft:#e7f3ec;--writing-ink:#8b4e26;--writing-soft:#fcf0e4;--danger:#ab2343;--danger-soft:#fff0f3;--shadow:0 6px 24px rgb(34 30 63/0.035);--hero-glow:#e8e0fb;--hero-mint:#e2f0e8}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--background:#12151c;--surface:#1b202a;--surface-muted:#202632;--foreground:#f0eff7;--muted:#b0b2c4;--border:#353b4c;--accent:#b9a8ff;--accent-strong:#cec1ff;--accent-soft:#30283f;--accent-ink:#211536;--study-ink:#a1dec0;--study-soft:#20392f;--writing-ink:#efc09a;--writing-soft:#3a2d25;--danger:#ffadc2;--danger-soft:#3e2633;--shadow:0 6px 24px rgb(0 0 0/0.08);--hero-glow:#2d2442;--hero-mint:#1e332c}}:root[data-theme=dark]{color-scheme:dark;--background:#12151c;--surface:#1b202a;--surface-muted:#202632;--foreground:#f0eff7;--muted:#b0b2c4;--border:#353b4c;--accent:#b9a8ff;--accent-strong:#cec1ff;--accent-soft:#30283f;--accent-ink:#211536;--study-ink:#a1dec0;--study-soft:#20392f;--writing-ink:#efc09a;--writing-soft:#3a2d25;--danger:#ffadc2;--danger-soft:#3e2633;--shadow:0 6px 24px rgb(0 0 0/0.08);--hero-glow:#2d2442;--hero-mint:#1e332c}body{min-width:0;font-family:var(--font-body);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}::selection{background:var(--accent-soft);color:var(--accent-strong)}html{scroll-padding-top:6.5rem}:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px}body .catalog-header h1,body .category-shortcut h3,body .desk-panel h2,body .hero-copy h1,body .hero-preview h2,body .information-header h1,body .section-heading h2,body .status-card h1,body .tool-card h3,body .tool-page-header h1{line-height:1.2}.skip-link{position:fixed;z-index:100;top:.8rem;left:1rem;transform:translateY(-200%);border-radius:.6rem;background:var(--foreground);color:var(--background);padding:.8rem 1.2rem;font-weight:600}.skip-link:focus{transform:translateY(0)}.site-header{background:color-mix(in srgb,var(--background) 86%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.header-inner{min-height:5rem;gap:1rem}.brand{gap:.7rem;font-size:1.3rem;letter-spacing:normal;font-weight:400}.logo-mark{width:29px;height:29px}.nav-link{font-size:.82rem;font-weight:600;border-radius:999px;padding:.55rem .75rem}.icon-button,.menu-button{border-radius:50%}.icon-button:hover{transform:rotate(-6deg)}.card{border-radius:1.25rem}.button{border-radius:.75rem;font-weight:650;letter-spacing:-.01em;transition:background-color .18s,transform .18s,box-shadow .18s}.button-primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 5px 12px color-mix(in srgb,var(--accent) 15%,transparent)}.button-primary:hover{background:var(--accent-strong);color:var(--accent-ink);box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 23%,transparent)}.button:active:not(:disabled){transform:translateY(1px)}.button-ghost{color:var(--foreground)}.badge{font-weight:600;padding:.4rem .65rem}.badge-accent{gap:.5rem}.status-dot{display:inline-block;flex-shrink:0;width:.4rem;height:.4rem;border-radius:50%;background:currentColor}.content-section{padding-block:clamp(3.75rem,7vw,5.5rem)}.section-heading h2{font-weight:400;font-size:clamp(1.8rem,3.8vw,2.65rem);letter-spacing:normal}.eyebrow{font-size:.66rem;font-weight:700;letter-spacing:.14em}.section-description{font-size:.98rem}.home-hero{position:relative;isolation:isolate;padding-block:clamp(4rem,7.5vw,6rem);border-bottom:0}.home-hero:before{position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 76% 38%,var(--hero-glow),transparent 49%),radial-gradient(ellipse at 92% 80%,var(--hero-mint),transparent 39%);content:""}.hero-section>.hero-inner{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(2rem,5vw,5rem)}.hero-copy h1{max-width:none;margin:1.5rem 0;font-size:clamp(3rem,5.5vw,4.75rem);font-weight:600;line-height:1.03;letter-spacing:-.065em}.hero-copy h1>.hero-line-emphasis{color:var(--accent-strong);font-family:var(--font-heading);font-size:.93em;font-weight:400;font-style:normal;letter-spacing:normal}.hero-copy>p{max-width:29rem;font-size:1rem;line-height:1.8}.hero-actions{gap:.5rem;margin-top:1.75rem}.hero-note{gap:.6rem;margin-top:1.4rem!important;color:var(--muted)!important;font-weight:400;font-size:.75rem!important}.hero-note>span:first-child{color:var(--study-ink)}.note-divider{color:var(--border);padding-inline:.25rem}.study-desk{position:relative;padding:1.5rem .5rem 0}.desk-panel{position:relative;padding:clamp(1.5rem,3vw,2rem);border:1px solid color-mix(in srgb,var(--surface) 65%,var(--border));border-radius:1.5rem;background:color-mix(in srgb,var(--surface) 84%,transparent);box-shadow:0 24px 65px rgb(46 34 80/.09),inset 0 1px 0 color-mix(in srgb,var(--surface) 90%,transparent);top:0;transform:none}.desk-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.desk-heading .eyebrow{color:var(--muted);font-size:.62rem}.desk-window-dots{display:flex;gap:.3rem}.desk-window-dots i{width:.3rem;height:.3rem;border-radius:50%;background:var(--border)}.desk-panel h2{margin:1.3rem 0 .3rem;font-size:1.65rem;font-weight:600;letter-spacing:-.05em}.desk-panel>p{margin:0;color:var(--muted);font-size:.8rem}.desk-tools{display:grid;gap:.7rem;margin-top:1.75rem}.desk-tool{display:flex;align-items:center;gap:.85rem;border:1px solid var(--border);border-radius:.85rem;background:var(--surface);padding:.85rem;transition:transform .18s,box-shadow .18s,border-color .18s}.desk-tool>span:nth-child(2){flex:1;min-width:0}.desk-tool small{display:block;color:var(--muted);font-size:.67rem;margin-bottom:.15rem}.desk-tool strong{display:block;font-size:.86rem}.desk-tool .tool-icon{width:2.65rem;height:2.65rem;flex-shrink:0}.desk-arrow{color:var(--muted);font-size:1.1rem}.desk-tool:hover{transform:translateX(3px);border-color:var(--accent);box-shadow:var(--shadow)}.desk-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.5rem;padding-top:1rem;border-top:1px dashed var(--border);color:var(--muted);font-size:.65rem}.desk-footer>span:first-child{display:inline-flex;align-items:center;gap:.4rem}.desk-footer .status-dot{color:var(--study-ink);width:.3rem;height:.3rem}.desk-caption{margin-top:1.6rem;color:var(--muted);text-align:center;font-size:.75rem;letter-spacing:.02em}.desk-caption>span{margin-right:.4rem;color:var(--accent)}.desk-decoration{position:absolute;inset:0;pointer-events:none;color:var(--accent-strong)}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:2rem}.section-heading-row .section-heading{margin-bottom:0}.text-link{display:inline-flex;align-items:center;gap:.6rem;color:var(--accent-strong);font-size:.8rem;font-weight:600}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.category-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.category-shortcut{position:relative;display:block;min-width:0;padding:1.65rem;border:1px solid var(--border);border-radius:1.2rem;background:var(--surface);transition:transform .18s,border-color .18s}.category-shortcut-count{float:right;color:var(--muted);font-size:.7rem;border:1px solid var(--border);padding:.25rem .6rem;border-radius:999px}.category-shortcut h3{margin:1.3rem 0 .5rem;font-size:1.35rem;font-weight:600;letter-spacing:-.04em}.category-shortcut p{min-height:4.3rem;margin:0 0 1.25rem;font-size:.86rem;line-height:1.7;color:var(--muted)}.category-shortcut:hover{transform:translateY(-3px);border-color:var(--accent)}.tool-tone-calculate{--tool-ink:var(--accent-strong);--tool-soft:var(--accent-soft)}.tool-tone-study{--tool-ink:var(--study-ink);--tool-soft:var(--study-soft)}.tool-tone-writing{--tool-ink:var(--writing-ink);--tool-soft:var(--writing-soft)}.tool-icon{background:var(--tool-soft,var(--accent-soft));color:var(--tool-ink,var(--accent-strong));border-radius:.8rem}.collection-section{border-block:1px solid var(--border);background:color-mix(in srgb,var(--surface-muted) 60%,var(--background))}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:2rem}.collection-count{display:grid;flex-shrink:0;justify-items:end;gap:.2rem;font-size:2.6rem;font-weight:300;line-height:1;color:var(--accent-strong)}.collection-count small{color:var(--muted);font-size:.65rem;font-weight:400}.home-page .tool-search{max-width:none}.home-tool-group+.home-tool-group{margin-top:3rem;padding-top:2.5rem;border-top:1px solid var(--border)}.home-group-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1.25rem;margin-bottom:1.5rem}.home-group-heading h3{margin:.35rem 0 .6rem;font-size:clamp(1.35rem,3vw,1.8rem);font-weight:600;letter-spacing:-.035em}.home-group-heading p:not(.eyebrow){margin:0;color:var(--muted);font-size:.875rem;line-height:1.7}.home-group-heading>span{flex-shrink:0;color:var(--muted);font-size:.75rem}#search-tools:has([data-search-active=true])+.home-tool-groups{display:none}.search-field{min-height:3.7rem;border-radius:.85rem;box-shadow:var(--shadow)}.input::placeholder,.search-field input::placeholder{color:var(--muted);opacity:1}.search-results{min-height:3.75rem;padding-top:.85rem}.search-hint{font-size:.74rem}.search-grid{margin-bottom:1.75rem}.all-tools-grid,.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-card{padding:1.45rem;display:flex;flex-direction:column;min-width:0}.tool-card-top{align-items:flex-start}.tool-card-badges{max-width:75%;gap:.35rem}.tool-card .badge-neutral{background:transparent;color:var(--muted);padding:.3rem 0;font-size:.66rem}.tool-card .badge-success{font-size:.61rem;padding:.3rem .5rem}.tool-card h3{margin:1.3rem 0 .5rem;font-size:1.04rem;font-weight:650;line-height:1.35;letter-spacing:-.025em}.tool-card p{flex:1;min-height:3.2rem;font-size:.83rem;line-height:1.7}.tool-card-link{display:flex;justify-content:space-between;align-items:center;margin-top:1.4rem;padding-top:.9rem;border-top:1px solid var(--border);font-size:.73rem;font-weight:600;color:var(--tool-ink,var(--accent-strong))}.tool-card-link>span{transition:transform .18s}.card-interactive:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgb(46 34 80/.08)}.tool-card-link-wrapper:hover .tool-card-link>span{transform:translateX(3px)}.tool-card-link-wrapper:focus-visible{border-radius:1.25rem}.benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem}.benefit-card{padding:0}.benefit-number{display:block;padding-bottom:1rem;border-bottom:1px solid var(--border);color:var(--accent-strong);font-size:.75rem}.benefit-card h3{font-size:1.15rem;font-weight:600;letter-spacing:-.035em;margin:1.25rem 0 .6rem}.benefit-card p{font-size:.87rem;line-height:1.8}.faq-section{border-top:1px solid var(--border)}.faq-list summary{font-size:.92rem;font-weight:600;padding-block:1.3rem}.faq-list summary span{transition:transform .18s}.faq-list details[open] p{animation:answer-arrive .18s ease-out}@keyframes answer-arrive{0%{opacity:.5;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.final-cta-section{padding-top:0}.final-cta{padding:clamp(2rem,5vw,4rem);background:radial-gradient(ellipse at 100% 90%,var(--hero-mint),transparent 58%),linear-gradient(125deg,var(--accent-soft),var(--surface));border-radius:1.5rem}.final-cta h2{max-width:none;font-size:clamp(2rem,4vw,3.3rem);font-weight:550;line-height:1.1}.final-cta h2>span{font-family:var(--font-heading);font-style:normal;font-weight:400;color:var(--accent-strong);letter-spacing:normal}.final-cta p:not(.eyebrow){max-width:24rem;font-size:.9rem;line-height:1.7;margin-top:1rem}.site-footer{background:var(--surface);padding-top:3.5rem}.footer-group h2{color:var(--muted);font-weight:600}.brand-mark-small{color:var(--accent-strong);background:var(--accent-soft)}.catalog-header h1,.information-header h1,.tool-page-header h1{max-width:18ch;font-size:clamp(2.3rem,5vw,3.8rem);font-weight:600;line-height:1.08;letter-spacing:-.05em}.tool-page-header{max-width:52rem;margin-bottom:clamp(2rem,4vw,3rem)}.input,.writing-textarea{background:var(--surface);min-height:2.9rem;border-radius:.65rem}.input:focus,.writing-textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent)}.writing-textarea{line-height:1.8}.pomodoro-progress span,.study-time-bar span{transition:width .25s ease}.cgpa-percentage,.percentage-value,.study-exam-units strong,.writing-stat strong{font-variant-numeric:tabular-nums}.writing-stat{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 20%,var(--border));padding:1rem}.writing-stat strong{color:var(--accent-strong)}.attendance-result-card,.cgpa-result-card,.percentage-result-card,.required-marks-result-card,.study-planner-result-card,.study-time-result-card,.writing-result-card{background:linear-gradient(145deg,color-mix(in srgb,var(--accent-soft) 40%,var(--surface)),var(--surface) 70%)}.attendance-form-error,.field-error,.percentage-form-error,.required-marks-empty-result .required-marks-summary,.required-marks-form-error,.required-marks-result-impossible .eyebrow,.study-planner-unscheduled h3,.study-tool-form-error,.writing-limit-over{color:var(--danger)}.input-error{border-color:var(--danger)}.study-planner-unscheduled{border-color:var(--danger);background:var(--danger-soft)}.study-planner-unscheduled li,.study-planner-unscheduled p{color:var(--foreground)}@media (max-width:1000px){.hero-section>.hero-inner{gap:2rem}.hero-copy h1{font-size:3.7rem}.header-inner{gap:.5rem}.nav-link{padding-inline:.55rem;font-size:.77rem}.header-actions{margin-left:0}.desk-tool{gap:.6rem;padding:.7rem}.desk-tool strong{font-size:.78rem}.desk-tool small{font-size:.62rem}}@media (max-width:800px){.hero-copy h1{font-size:3.2rem}.category-shortcut,.desk-panel{padding:1.2rem}.category-shortcut p{min-height:6rem}}@media (max-width:760px){.header-inner{min-height:4.25rem}.main-nav{top:calc(100% + .35rem);border-radius:.85rem;background:var(--surface);box-shadow:var(--shadow);padding:.65rem}.nav-link{border-radius:.6rem;padding:.7rem .85rem;font-size:.9rem}.header-actions{margin-left:auto}.hero-section>.hero-inner{grid-template-columns:1fr;gap:2.5rem}.home-hero{padding-block:3.25rem 2.5rem}.hero-copy{max-width:36rem}.hero-copy h1{font-size:clamp(3rem,8vw,4.5rem)}.hero-copy>p{max-width:31rem}.study-desk{width:min(100%,28rem);justify-self:center}.desk-panel{padding:1.5rem}.desk-tool{padding:.85rem;gap:.85rem}.desk-tool strong{font-size:.86rem}.desk-tool small{font-size:.67rem}.category-shortcuts{grid-template-columns:1fr}.category-shortcut p{min-height:0;max-width:34rem}.category-shortcut{padding:1.4rem}.all-tools-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-grid{grid-template-columns:1fr;gap:2rem}.benefit-card p{max-width:32rem}.collection-count{display:none}.final-cta,.section-heading-row{align-items:flex-start;flex-direction:column}.section-heading-row{gap:1rem}.tool-card-badges{max-width:65%}}@media (max-width:500px){.all-tools-grid,.catalog-grid{grid-template-columns:1fr}.hero-copy h1{font-size:clamp(2.7rem,9.7vw,3.5rem)}.hero-copy h1>.hero-line-emphasis{font-size:.93em}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button{width:100%}.hero-actions .button-ghost{min-height:2.6rem}.hero-note{flex-wrap:wrap;font-size:.72rem!important}.desk-panel{padding:1.25rem}.desk-heading .eyebrow{font-size:.57rem}.desk-tool{padding:.75rem;gap:.6rem}.desk-tool .tool-icon{width:2.3rem;height:2.3rem}.desk-tool strong{font-size:.79rem}.desk-tool small{font-size:.62rem}.tool-card{padding:1.35rem}.tool-card h3{font-size:1.1rem}.tool-card p{min-height:0}.final-cta{padding:1.6rem}}.study-desk{isolation:isolate}.desk-panel{z-index:1;background:var(--surface)}.desk-panel h2{font-weight:650}.desk-panel>p{font-size:.875rem}.desk-tool small{font-size:.75rem;line-height:1.45}.desk-tool strong{font-size:.9375rem;font-weight:600;line-height:1.4}.desk-tool:hover{transform:none}.desk-tool:hover .desk-arrow{color:var(--accent-strong)}.desk-footer{flex-wrap:wrap;gap:.5rem .75rem;font-size:.75rem;line-height:1.5}.desk-caption{font-size:.8125rem}.collection-count{display:flex;align-items:center;gap:.8rem;padding:.8rem 1rem;border:1px solid var(--border);border-radius:.9rem;background:var(--surface)}.collection-count strong{color:var(--accent-strong);font-size:2rem;line-height:1;font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.collection-count>span{color:var(--foreground);font-size:.8125rem;line-height:1.4;font-weight:500;letter-spacing:0}.desk-decoration{display:block;z-index:0}.desk-decoration .desk-spark{position:absolute;display:block;width:22px;height:22px;color:var(--accent-strong)}.desk-spark svg{display:block;width:100%;height:100%}.desk-decoration .desk-spark-1{top:0;right:-1rem;width:24px;height:24px}.desk-decoration .desk-spark-2{bottom:5rem;left:-1.5rem;color:var(--study-ink);width:18px;height:18px}.desk-decoration .desk-spark-3{top:5rem;left:-1.25rem;width:11px;height:11px}.desk-decoration .desk-spark-4{top:45%;right:-1.6rem;width:15px;height:15px;color:var(--study-ink)}.desk-decoration .desk-spark-5{bottom:1rem;right:1rem;width:13px;height:13px}.desk-decoration .desk-spark-6{top:-.7rem;left:38%;width:14px;height:14px;color:var(--muted)}.crate-mark{width:36px;height:36px;flex-shrink:0;overflow:visible}.nav-link:hover:not(.is-active){background:color-mix(in srgb,var(--accent-soft) 45%,transparent)}@media (prefers-reduced-motion:no-preference){.desk-panel{animation:desk-float 6.5s ease-in-out infinite}.desk-spark{animation:spark-wander-a 12s ease-in-out infinite}.desk-spark-1{animation-duration:12s;animation-delay:-3s}.desk-spark-2{animation-name:spark-wander-b;animation-duration:15s;animation-delay:-8s}.desk-spark-3{animation-name:spark-wander-c;animation-duration:10s;animation-delay:-1s}.desk-spark-4{animation-name:spark-wander-b;animation-duration:17s;animation-delay:-5s;animation-direction:reverse}.desk-spark-5{animation-duration:14s;animation-delay:-10s;animation-direction:reverse}.desk-spark-6{animation-name:spark-wander-c;animation-duration:13s;animation-delay:-8s}.crate-tools{animation:crate-tools-float 7s ease-in-out infinite}.brand:focus-visible .crate-tools,.brand:hover .crate-tools{animation:crate-tools-greeting .6s ease-in-out}.page-transition{animation:page-arrive .3s cubic-bezier(.2,.65,.3,1)}.search-reveal{animation:results-arrive .2s ease-out}.search-reveal .tool-card-link-wrapper{animation:result-card-arrive .24s ease-out backwards}.search-reveal .tool-card-link-wrapper:nth-child(2){animation-delay:25ms}.search-reveal .tool-card-link-wrapper:nth-child(3){animation-delay:50ms}.search-reveal .tool-card-link-wrapper:nth-child(n+4){animation-delay:75ms}}@keyframes desk-float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes spark-wander-a{0%,to{transform:translate(0) rotate(-8deg)}19%{transform:translate(-11px,7px) rotate(5deg)}43%{transform:translate(3px,18px) rotate(18deg)}68%{transform:translate(13px,2px) rotate(-4deg)}84%{transform:translate(5px,-9px) rotate(-16deg)}}@keyframes spark-wander-b{0%,to{transform:translate(0) rotate(0)}23%{transform:translate(9px,-13px) rotate(12deg)}48%{transform:translate(-7px,-20px) rotate(-6deg)}71%{transform:translate(-13px,3px) rotate(-20deg)}88%{transform:translate(5px,8px) rotate(4deg)}}@keyframes spark-wander-c{0%,to{transform:translate(0) rotate(10deg)}17%{transform:translate(6px,11px) rotate(-10deg)}39%{transform:translate(15px,-3px) rotate(3deg)}65%{transform:translate(-3px,-12px) rotate(22deg)}86%{transform:translate(-9px,5px) rotate(-4deg)}}@keyframes crate-tools-float{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes crate-tools-greeting{0%,to{transform:translateY(0)}45%{transform:translateY(-3px)}}@keyframes page-arrive{0%{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes results-arrive{0%{opacity:.5}to{opacity:1}}@keyframes result-card-arrive{0%{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}@media (max-width:760px){.collection-count{display:none}.desk-decoration .desk-spark-1{right:-.2rem}.desk-decoration .desk-spark-2{left:-.1rem}.desk-decoration .desk-spark-3{left:0}.desk-decoration .desk-spark-4{right:-.1rem}.desk-tool small{font-size:.75rem}.desk-tool strong{font-size:.875rem}}@media (max-width:380px){.desk-panel{padding:1.1rem}.desk-tool{gap:.55rem;padding:.65rem}.desk-tool small{font-size:.6875rem}.desk-tool strong{font-size:.8125rem}.desk-arrow{font-size:.95rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:after,:before{animation:none!important;transition:none!important}.button:active:not(:disabled),.card-interactive:hover,.category-shortcut:hover,.desk-tool:hover,.icon-button:hover{transform:none}}body .brand>span{font-size:1.04em}body .hero-copy h1{font-size:clamp(3.25rem,6vw,5.25rem);line-height:1.12}body .catalog-header h1,body .information-header h1,body .status-card h1,body .tool-page-header h1{font-size:clamp(2.5rem,5.2vw,4.7rem);line-height:1.16}body .section-heading h2{font-size:clamp(2rem,4vw,3rem);line-height:1.16}body .category-shortcut h3,body .desk-panel h2,body .hero-preview h2,body .tool-card h3{line-height:1.18}@media (max-width:760px){body .brand>span{font-size:1em}body .hero-copy h1{font-size:clamp(2.8rem,12vw,4rem);line-height:1.15}body .catalog-header h1,body .information-header h1,body .status-card h1,body .tool-page-header h1{font-size:clamp(2.25rem,11vw,3.6rem);line-height:1.2}body .section-heading h2{font-size:clamp(1.85rem,9vw,2.6rem);line-height:1.2}}.tool-tone-image{--tool-ink:#246b70;--tool-soft:#e5f2f1}.tool-tone-image .tool-icon{color:var(--tool-ink);background:var(--tool-soft)}:root[data-theme=dark] .tool-tone-image{--tool-ink:#9eddd7;--tool-soft:#213c3d}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .tool-tone-image{--tool-ink:#9eddd7;--tool-soft:#213c3d}}.image-tool-page{padding-bottom:4rem}.image-tool-page .tool-page-header{max-width:48rem}.image-workbench{margin-top:1.75rem}.image-privacy-note{display:flex;gap:.8rem;align-items:center;padding:1rem 1.25rem;background:var(--study-soft);color:var(--study-ink);border-radius:1rem;font-size:.875rem;line-height:1.65;margin-bottom:1.25rem}.image-privacy-note>span:first-child{font-size:1.5rem}.image-dropzone{padding:clamp(1.5rem,4vw,3rem);text-align:center;border:2px dashed var(--border);border-radius:1.25rem;background:var(--surface);transition:border-color .18s,background-color .18s}.image-dropzone.is-dragging{border-color:var(--accent);background:var(--accent-soft)}.image-drop-icon{display:grid;place-items:center;width:3.2rem;height:3.2rem;background:var(--accent-soft);color:var(--accent-strong);border-radius:1rem;font-size:1.75rem;margin:0 auto 1rem}.image-dropzone h3{font-size:1.45rem;letter-spacing:-.035em;margin:0}.image-dropzone p{color:var(--muted);margin:.5rem 0 1.25rem}.image-dropzone>small{display:block;margin-top:1rem;color:var(--muted);font-size:.75rem;line-height:1.7}.image-settings{min-width:0;margin:1.75rem 0 1.25rem;padding:1.5rem}.image-settings legend{padding-inline:.6rem;font-weight:650;font-size:1.1rem}.image-setting-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1.5rem}.image-field{min-width:0;display:flex;flex-direction:column;gap:.6rem;font-weight:600;font-size:.875rem}.image-field .input{width:100%;min-width:0}.image-field input[type=range]{width:100%;min-height:2rem;accent-color:var(--accent)}.image-field small,.image-field-help{color:var(--muted);font-size:.8rem;line-height:1.65;font-weight:400}.image-field-help{margin-bottom:0}.image-check{display:flex;gap:.65rem;align-items:center;font-size:.875rem}.image-check input{width:1.15rem;height:1.15rem;accent-color:var(--accent)}.image-settings:disabled{opacity:.65}.image-actions{display:flex;flex-wrap:wrap;gap:.75rem}.image-status{min-height:1.6rem;color:var(--muted);font-size:.875rem;margin:1rem 0}.image-errors{padding:1rem 1.25rem;border:1px solid var(--danger);background:var(--danger-soft);color:var(--danger);border-radius:.75rem;margin-bottom:1rem;overflow-wrap:anywhere}.image-errors ul{margin:0;padding-left:1.2rem}.image-results{display:grid;gap:1.5rem}.image-result{padding:clamp(1rem,3vw,1.5rem);min-width:0;scroll-margin-top:6.5rem;transition:border-color .25s,box-shadow .25s}.image-result[data-state=done]{border-color:color-mix(in srgb,var(--accent) 35%,var(--border))}.image-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.image-result-heading>div{min-width:0}.image-result h3{font-size:1rem;overflow-wrap:anywhere;margin:0 0 .35rem}.image-result-heading p{color:var(--muted);font-size:.8rem;margin:0}.image-preview-pair{display:grid;grid-template-columns:1fr;gap:1rem}.image-preview-pair.has-result{grid-template-columns:repeat(2,minmax(0,1fr))}.image-preview-pair figure{margin:0;min-width:0}.image-preview{display:flex;align-items:center;justify-content:center;height:240px;padding:.75rem;overflow:hidden;border-radius:.75rem;background-color:#ececed;background-image:conic-gradient(#d7d7da 25%,transparent 0 50%,#d7d7da 0 75%,transparent 0);background-size:20px 20px;border:1px solid var(--border)}.image-preview img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.image-preview-pair figcaption{color:var(--muted);font-size:.8rem;padding-top:.6rem;text-align:center}.image-download-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}.image-download-row p{margin:0;color:var(--muted);font-size:.875rem}.image-item-error{color:var(--danger);margin-bottom:0}.image-guide,.image-related{margin-top:4rem}.image-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;padding-left:1.3rem;margin:2rem 0}.image-guide-steps li{padding-left:.3rem}.image-guide p{color:var(--muted);line-height:1.8}.file-tool-answer{max-width:52rem;margin:1.5rem 0 2rem;padding:1.25rem 1.5rem;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:1rem;background:var(--surface)}.file-tool-answer h2{margin:0 0 .65rem;font-size:clamp(1.4rem,3vw,1.8rem);line-height:1.25}.file-tool-answer p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.8}.file-tool-example ol{display:grid;gap:.75rem;padding-left:1.4rem;color:var(--foreground);line-height:1.75}.file-tool-example .file-tool-provenance{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.8rem}.file-tool-provenance a{text-underline-offset:3px}.image-guide-note{padding:1.5rem;margin:1rem 0}.image-guide-note h3{font-size:1.05rem;margin-top:0}.image-guide-note p:last-child{margin-bottom:0}.image-toast{position:fixed;z-index:120;right:max(1.25rem,env(safe-area-inset-right));bottom:max(1.25rem,env(safe-area-inset-bottom));display:flex;align-items:center;gap:.75rem;width:max-content;max-width:calc(100vw - 2.5rem);padding:.85rem 1rem;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:1rem;background:var(--surface);color:var(--foreground);box-shadow:0 10px 35px rgb(0 0 0/.18);font-size:.875rem}.image-toast-check{display:grid;place-items:center;width:1.8rem;height:1.8rem;flex-shrink:0;background:var(--study-soft);color:var(--study-ink);border-radius:50%}.image-toast button{display:grid;place-items:center;width:2rem;height:2rem;flex-shrink:0;padding:0;border:0;border-radius:.5rem;background:transparent;color:var(--muted);cursor:pointer;font-size:1.3rem}.image-toast button:hover{background:var(--accent-soft);color:var(--accent-strong)}.image-dropzone{position:relative;overflow:hidden}.image-dropzone:after{position:absolute;pointer-events:none;inset:0;background:linear-gradient(110deg,transparent 25%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 75%);transform:translateX(-110%);content:""}[data-image-reveal]{transition:opacity .45s ease,transform .45s cubic-bezier(.2,.65,.3,1)}.image-reveal-pending:not(:focus-within){opacity:0;transform:translateY(16px)}@media (prefers-reduced-motion:no-preference){.image-category-page .catalog-header,.image-tool-page .tool-page-header{animation:image-enter .42s ease-out backwards}.image-privacy-note{animation:image-enter .38s ease-out 60ms backwards}.image-dropzone{animation:image-enter .42s ease-out .11s backwards}.image-settings{animation:image-enter .42s ease-out .17s backwards}.image-result{animation:image-enter .38s cubic-bezier(.2,.65,.3,1) backwards}.image-preview-pair.has-result figure:nth-child(2){animation:image-enter .32s ease-out backwards}.image-category-page .tool-card-link-wrapper{animation:image-enter .42s ease-out backwards}.image-category-page .tool-card-link-wrapper:nth-child(2){animation-delay:60ms}.image-category-page .tool-card-link-wrapper:nth-child(3){animation-delay:.12s}.image-toast{animation:image-toast-in .3s cubic-bezier(.2,.7,.3,1) backwards}.image-toast.is-leaving{animation:image-toast-out .35s ease-in forwards}.image-toast-check{animation:image-check-in .4s ease-out 70ms backwards}.image-drop-icon{transition:transform .25s ease}.image-dropzone:is(:hover,:focus-within) .image-drop-icon{transform:translateY(-4px)}.image-dropzone:is(:hover,:focus-within):after{animation:image-sheen .7s ease-out}.is-working .image-drop-icon{animation:image-working 1.4s ease-in-out infinite}}@keyframes image-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes image-toast-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes image-toast-out{to{opacity:0;transform:translateY(10px)}}@keyframes image-check-in{0%{opacity:0;transform:scale(.65)}to{opacity:1;transform:none}}@keyframes image-sheen{to{transform:translateX(110%)}}@keyframes image-working{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@media (prefers-reduced-motion:reduce){.image-reveal-pending:not(:focus-within){opacity:1;transform:none}[data-image-reveal]{transition:none}}.category-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:1100px) and (min-width:761px){.category-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.category-shortcuts,.image-guide-steps{grid-template-columns:1fr}.image-guide-steps{gap:.75rem}.image-settings{padding:1rem}}@media (max-width:480px){.image-preview-pair.has-result{grid-template-columns:1fr}.image-preview{height:190px}.image-download-row{align-items:flex-start;flex-direction:column}}.image-editor{--iw-panel:var(--surface);--iw-stage:var(--surface-muted);display:flex;flex-direction:column;width:100%;min-width:0;height:780px;min-height:640px;background:var(--iw-panel);color:var(--foreground);border:1px solid var(--border);border-radius:20px;overflow:hidden;isolation:isolate;font-family:var(--font-body)}.image-editor a,.image-editor button{-webkit-tap-highlight-color:transparent}.image-editor button{font:inherit;cursor:pointer}.image-editor button:disabled{opacity:.4;cursor:not-allowed}.image-editor--immersive{height:100svh;min-height:650px;border:0;border-radius:0}body:has(.image-editor--immersive) .site-footer,body:has(.image-editor--immersive) .site-header{display:none}.page-transition:has(.image-editor--immersive){animation:none;transform:none}.iw-topbar{min-height:76px;gap:20px;padding:12px 26px;border-bottom:1px solid var(--border);background:var(--iw-panel);z-index:3}.iw-brand,.iw-topbar{display:flex;align-items:center;flex-shrink:0}.iw-brand{text-decoration:none;font-size:20px}.iw-brand .crate-mark{width:34px;height:34px}.iw-topbar-divider{height:30px;width:1px;background:var(--border)}.iw-title{min-width:0}.iw-title h1,.iw-title>p{margin:0;font-weight:650;letter-spacing:-.2px;line-height:1.4}.iw-title>span{display:flex;align-items:center;gap:6px;margin-top:3px;color:var(--muted)}.iw-title i{width:5px;height:5px;border-radius:50%;background:var(--study-ink)}.iw-history{display:flex;gap:4px;margin-left:12px}.iw-history button,.iw-icon-button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:9px;color:var(--muted);background:transparent}.iw-history button:hover:enabled,.iw-icon-button:hover{background:var(--accent-soft)}.iw-top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.iw-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid var(--border);border-radius:10px;font-size:12px!important;font-weight:600!important;line-height:1.3;text-decoration:none;background:var(--iw-panel);color:var(--foreground);white-space:nowrap;transition:background .16s,border-color .16s,box-shadow .16s}.iw-button:hover:enabled,a.iw-button:hover{border-color:var(--accent);background:var(--accent-soft)}.iw-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.iw-primary:hover:enabled,a.iw-primary:hover{color:var(--accent-ink);background:var(--accent-strong);border-color:var(--accent-strong);box-shadow:0 4px 14px color-mix(in srgb,var(--accent) 20%,transparent)}.iw-body{display:grid;grid-template-columns:76px 278px minmax(0,1fr);flex:1;min-height:0}.iw-rail{gap:10px;align-items:stretch;padding:19px 9px 14px;border-right:1px solid var(--border)}.iw-rail,.iw-rail>button{display:flex;flex-direction:column}.iw-rail>button{align-items:center;justify-content:center;gap:7px;min-height:65px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-weight:550}.iw-rail>button.is-active{background:var(--accent-soft)}.iw-rail-space{flex:1}.iw-question{display:grid;place-items:center;width:21px;height:21px;font-size:13px;border:1.5px solid;border-radius:50%}.iw-settings{display:flex;flex-direction:column;padding:27px 23px 12px;min-height:0;border-right:1px solid var(--border);overflow-y:auto;scrollbar-width:thin}.iw-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:25px}.iw-overline{font-size:9px!important;font-weight:700;letter-spacing:1.8px;color:var(--muted);margin:0 0 8px!important}.iw-panel-heading h2{margin:0;font-size:26px;letter-spacing:-1px;line-height:1.25}.iw-panel-heading p:not(.iw-overline){margin:6px 0 0;font-size:12px;color:var(--muted)}.iw-collapse{width:25px;height:25px}.iw-fields{margin:0;padding:0;border:0;min-width:0}.iw-field{display:flex;flex-direction:column;gap:9px;margin:20px 0 0;font-size:12px;font-weight:600}.iw-field:first-child{margin-top:0}.iw-field input:not([type=range]),.iw-field select{min-width:0;width:100%;padding:11px 12px;min-height:43px;border:1px solid var(--border);border-radius:9px;color:var(--foreground);font:inherit;font-weight:450}.iw-field input[type=range]{width:100%;min-height:27px;accent-color:var(--accent);cursor:pointer}.iw-range-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.iw-hint{color:var(--muted);font-size:11px;line-height:1.75;margin:10px 0 0}.iw-field-label{display:block;font-size:12px;font-weight:600}.iw-format-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 20px}.iw-format-options button{border:1px solid var(--border);color:var(--muted);border-radius:9px;padding:12px 4px;font-size:12px;font-weight:600}.iw-format-options button.is-active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.iw-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:600;cursor:pointer}.iw-switch input{appearance:none;-webkit-appearance:none;width:31px;height:18px;flex-shrink:0;border-radius:20px;border:1px solid var(--border);position:relative;cursor:pointer;transition:background .16s}.iw-switch input:after{content:"";position:absolute;width:12px;height:12px;top:2px;left:2px;background:var(--muted);border-radius:50%;transition:transform .16s}.iw-switch input:checked{background:var(--accent);border-color:var(--accent)}.iw-switch input:checked:after{background:var(--accent-ink);transform:translateX(13px)}.iw-checkbox{display:flex;align-items:flex-start;font-size:11px;line-height:1.65;margin-top:20px;cursor:pointer}.iw-checkbox input{width:15px;height:15px;margin:2px 0 0;flex-shrink:0}.iw-dimensions{display:flex;gap:12px}.iw-dimensions .iw-field{flex:1;min-width:0}.iw-caution{color:var(--writing-ink);background:var(--writing-soft);padding:10px;border-radius:8px;font-size:11px}.iw-settings-divider{height:1px;background:var(--border);margin:24px 0}.iw-small-note{display:flex;align-items:flex-start;gap:10px;background:var(--surface-muted);color:var(--muted);padding:14px;border-radius:12px;margin-top:22px}.iw-small-note svg{flex-shrink:0;color:var(--accent)}.iw-small-note p{margin:0;font-size:11px;line-height:1.75}.iw-format-detail{margin-top:28px;padding-top:25px;border-top:1px solid var(--border)}.iw-format-letter{display:grid;place-items:center;width:54px;height:64px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));border-radius:10px 10px 15px 10px;color:var(--accent-strong);background:var(--accent-soft);font-size:12px;font-weight:700;letter-spacing:1px;box-shadow:4px 5px 0 var(--surface-muted)}.iw-format-detail h3{margin:19px 0 7px;font-size:15px;letter-spacing:-.4px}.iw-format-detail p{margin:0;font-size:11px;color:var(--muted);line-height:1.8}.iw-panel-footer{margin-top:auto;padding-top:26px;text-align:center}.iw-panel-footer>p{color:var(--muted);font-size:10px;margin:0 0 11px}.iw-panel-footer .iw-button{width:100%}.iw-text-button{border:0;background:transparent;color:var(--muted);font-size:11px!important;padding:10px 0;text-underline-offset:4px}.iw-text-button:hover:enabled{color:var(--accent-strong);text-decoration:underline}.iw-stage-section{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.iw-stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;min-height:61px;padding:12px 27px;border-bottom:1px solid color-mix(in srgb,var(--border) 65%,transparent)}.iw-file-heading{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted)}.iw-file-heading svg{flex-shrink:0}.iw-file-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iw-file-heading small{color:var(--muted);white-space:nowrap;font-size:9px}.iw-stage-badge{font-size:8px;letter-spacing:1.3px;color:var(--muted);white-space:nowrap;border:1px solid var(--border);border-radius:20px;padding:5px 9px}.iw-view-switch{display:flex;gap:2px;padding:3px;background:var(--iw-panel);border:1px solid var(--border);border-radius:9px;flex-shrink:0}.iw-view-switch button{border:0;border-radius:6px;padding:6px 9px;font-size:10px;color:var(--muted);background:transparent}.iw-view-switch button[aria-pressed=true]{color:var(--accent-strong);background:var(--accent-soft)}.iw-canvas{flex:1;min-height:220px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background-image:radial-gradient(color-mix(in srgb,var(--muted) 17%,transparent) .7px,transparent .7px);background-size:18px 18px}.iw-canvas.iw-has-image{padding:35px 45px}.iw-preview-image-wrap{display:flex;align-items:center;justify-content:center}.iw-preview-image{width:auto;height:auto;object-fit:contain;box-shadow:0 5px 28px rgb(0 0 0/.09);background-image:conic-gradient(#dedee5 25%,#f7f7fa 0 50%,#dedee5 0 75%,#f7f7fa 0);background-size:12px 12px}.iw-empty{text-align:center;padding:18px}.iw-empty-art{width:140px;height:103px;position:relative;margin:0 auto 22px}.iw-art-back{position:absolute;inset:9px 14px 3px;background:var(--surface);border:1px solid var(--border);border-radius:13px;transform:rotate(-12deg)}.iw-art-card{position:absolute;inset:0 0 6px 16px;border:6px solid var(--surface);border-radius:15px;overflow:hidden;box-shadow:0 8px 23px rgb(47 35 84/.08);transform:rotate(7deg)}.iw-art-card svg{width:100%;height:100%;display:block}.iw-art-plus{position:absolute;right:-5px;bottom:0;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-size:23px;box-shadow:0 0 0 5px var(--iw-stage)}.iw-art-dot{position:absolute;top:-2px;left:1px;width:9px;height:9px;border-radius:50%;background:#79d9bd}.iw-empty .iw-overline{color:var(--accent-strong);font-size:8px!important}.iw-empty h2{margin:12px 0 14px;font-size:clamp(30px,3vw,38px);font-weight:650;letter-spacing:-1.8px;line-height:1.15}.iw-empty h2 em{font-family:var(--font-heading);font-weight:400;font-style:normal;letter-spacing:normal;color:var(--accent-strong)}.iw-empty>p:not(.iw-overline){color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 21px}.iw-empty>.iw-button{min-height:44px;padding-inline:24px}.iw-empty>.iw-text-button{display:block;margin:8px auto 0}.iw-empty>small{display:block;color:var(--muted);font-size:9px;margin-top:19px}.iw-result-bar{display:flex;justify-content:space-between;gap:14px;background:var(--iw-panel);padding:13px 24px;border-top:1px solid var(--border);min-height:56px;flex-shrink:0}.iw-result-bar>div{display:flex;flex-direction:column;gap:4px}.iw-result-label{font-size:8px;letter-spacing:1.4px;color:var(--muted);font-weight:650}.iw-result-bar strong{font-size:11px;font-weight:550}.iw-result-bar strong>span{color:var(--muted);padding:0 4px}.iw-result-status{font-size:10px;color:var(--study-ink);text-align:right;max-width:40%}.iw-empty-note{color:var(--muted);font-size:10px;display:flex;align-items:center;gap:8px;margin:auto}.iw-empty-note>span{color:var(--study-ink);font-size:17px}.iw-bottom-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:6px 23px;gap:15px;flex-shrink:0}.iw-footer-notice{color:var(--muted);font-size:9px;line-height:1.6}.iw-zoom{display:flex;align-items:center;flex-shrink:0;gap:4px}.iw-zoom button{display:grid;place-items:center;min-width:25px;min-height:25px;border:0;background:transparent;color:var(--muted);font-size:11px}.iw-filmstrip{display:flex;align-items:center;gap:16px;padding:12px 23px 12px 100px;flex-shrink:0;border-top:1px solid var(--border);background:var(--iw-panel);min-height:94px}.iw-filmstrip-items{display:flex;gap:11px;align-items:center;overflow-x:auto;min-width:0}.iw-thumbnail{width:65px;height:57px;flex-shrink:0;position:relative;border-radius:10px;border:2px solid transparent}.iw-thumbnail>button:first-child{position:relative;display:block;width:100%;height:100%;padding:0;border:0;border-radius:5px;background:var(--surface-muted);overflow:hidden}.iw-thumbnail img{width:100%;height:100%;object-fit:contain}.iw-thumbnail>button>span{position:absolute;bottom:2px;left:2px;background:#211b32;color:#fff;border-radius:4px;padding:1px 4px;font-size:8px}.iw-thumbnail i{position:absolute;right:2px;bottom:2px;background:#20392f;color:#a1dec0;width:14px;height:14px;border-radius:50%;font-size:9px;font-style:normal}.iw-thumbnail .iw-remove{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--border);border-radius:50%;background:var(--iw-panel);color:var(--muted);font-size:14px;line-height:1}.iw-add-tile{display:grid;place-items:center;flex-shrink:0;border:1px dashed var(--border);border-radius:9px;background:transparent;color:var(--muted)}.iw-batch-actions{display:flex;gap:16px;align-items:center;margin-left:auto;flex-shrink:0}.iw-show-settings{position:absolute;top:75px;left:16px;z-index:2;box-shadow:var(--shadow)}.iw-focus-mode .iw-body{grid-template-columns:76px minmax(0,1fr)}.iw-focus-mode .iw-settings{display:none}.iw-busy-overlay,.iw-drop-overlay{position:absolute;inset:0;background:color-mix(in srgb,var(--iw-panel) 94%,transparent);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;z-index:4;text-align:center;padding:25px;font-size:12px;color:var(--muted)}.iw-drop-overlay{border:2px dashed var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.iw-drop-overlay strong{font-size:23px}.iw-busy-overlay .iw-spinner{width:28px;height:28px;border-width:2px}.iw-spinner{display:inline-block;width:14px;height:14px;border:1.5px solid;border-right:1.5px solid transparent;border-radius:50%}.iw-error,.iw-errors,.iw-resize-notice{margin:0;padding:9px 20px;font-size:11px;line-height:1.6;flex-shrink:0}.iw-errors p{margin:3px 0}.iw-error,.iw-errors{color:var(--danger);background:var(--danger-soft);max-height:95px;overflow-y:auto;overflow-wrap:anywhere}.iw-resize-notice{color:var(--writing-ink);background:var(--writing-soft)}.iw-toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:11px 14px;font-size:12px;color:var(--foreground);background:var(--surface);border:1px solid var(--border);border-radius:13px;box-shadow:0 7px 30px rgb(0 0 0/.12);z-index:120;white-space:nowrap}.iw-toast>span{display:grid;place-items:center;background:var(--study-soft);color:var(--study-ink);width:23px;height:23px;border-radius:50%}.iw-toast button{border:0;background:transparent;color:var(--muted);font-size:18px;padding:2px 5px}.iw-dialog{width:min(430px,calc(100vw - 32px));padding:28px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--foreground);box-shadow:0 20px 80px rgb(0 0 0/.2)}.iw-dialog::backdrop{background:rgb(15 16 25/.5)}.iw-dialog h2{font-size:23px;letter-spacing:-.7px;margin:0 0 12px}.iw-dialog p{color:var(--muted);font-size:13px;line-height:1.8}.iw-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.iw-guide{padding-block:60px 80px}.iw-guide>h2{font-size:30px;letter-spacing:-1px;margin-bottom:12px}.iw-guide>p{color:var(--muted);max-width:750px;font-size:14px}.iw-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-block:30px}.iw-guide-grid h3{font-size:16px}.iw-guide-grid p{color:var(--muted);font-size:13px;line-height:1.8}@media (prefers-reduced-motion:no-preference){.iw-fields{animation:iw-panel-in .16s ease-out}.iw-spinner{animation:iw-spin .85s linear infinite}.iw-empty-art{animation:iw-art-in .55s cubic-bezier(.2,.7,.3,1) both}.iw-art-card{animation:iw-card-float 8s ease-in-out infinite}.iw-thumbnail{animation:iw-panel-in .2s ease-out}}@keyframes iw-panel-in{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes iw-spin{to{rotate:1turn}}@keyframes iw-art-in{0%{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes iw-card-float{0%,to{transform:rotate(7deg) translateY(0)}50%{transform:rotate(7deg) translateY(-3px)}}@media (max-width:1050px){.iw-topbar{gap:14px;padding-inline:18px}.iw-body{grid-template-columns:66px 247px minmax(0,1fr)}.iw-settings{padding:23px 18px 12px}.iw-history{margin-left:0}.iw-title>span{display:none}.iw-canvas.iw-has-image{padding:30px}.iw-stage-toolbar{padding-inline:18px}.iw-filmstrip{padding-left:84px}}@media (max-width:760px){.image-editor{height:auto;min-height:0}.iw-topbar{padding:10px 14px;gap:12px;min-height:65px;flex-wrap:wrap}.iw-brand{font-size:16px;gap:6px}.iw-brand .crate-mark{width:29px;height:29px}.iw-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.iw-topbar-divider{display:none}.iw-history{gap:0;margin-left:auto}.iw-history button{width:29px}.iw-top-actions{margin-left:0;gap:6px}.iw-add{display:none}.iw-top-actions .iw-button{padding:9px 11px;min-height:36px;font-size:10px!important;gap:5px}.iw-body,.iw-focus-mode .iw-body{display:flex;flex-direction:column}.iw-rail{order:0;flex-direction:row;justify-content:center;padding:7px 12px;gap:8px;border-right:0;border-bottom:1px solid var(--border)}.iw-rail>button{flex:1;max-width:150px;flex-direction:row;gap:7px;min-height:42px;font-size:11px}.iw-rail svg{width:18px;height:18px}.iw-rail-space,.iw-rail>.iw-help-link{display:none}.iw-stage-section{order:1;min-height:420px}.iw-stage-toolbar{min-height:50px;padding:9px 14px;gap:8px}.iw-stage-badge{font-size:7px;padding:5px 7px}.iw-file-heading{font-size:10px}.iw-view-switch button{font-size:9px;padding:6px}.iw-canvas{min-height:290px;height:320px;flex:none}.iw-canvas:not(.iw-has-image){min-height:440px;height:auto}.iw-canvas.iw-has-image{padding:24px}.iw-empty{padding:25px 20px}.iw-empty-art{height:85px;width:115px;margin-bottom:20px}.iw-art-plus{width:25px;height:25px;font-size:18px}.iw-empty h2{font-size:29px;margin:9px 0;letter-spacing:-1.1px}.iw-empty>p:not(.iw-overline){font-size:11px;margin-bottom:13px}.iw-empty>small{margin-top:8px;font-size:8px}.iw-empty>.iw-button{min-height:39px}.iw-empty .iw-overline{display:none}.iw-empty>.iw-text-button{margin-top:3px;padding:7px 0}.iw-result-bar{padding:10px 14px}.iw-result-bar strong{font-size:10px}.iw-result-status{font-size:9px;max-width:44%;line-height:1.5}.iw-bottom-toolbar{padding:6px 14px}.iw-footer-notice{font-size:8px}.iw-settings{order:2;padding:20px;border-top:1px solid var(--border);border-right:0;overflow:visible}.iw-panel-heading{margin-bottom:19px}.iw-panel-heading h2{font-size:23px}.iw-panel-heading .iw-overline{display:none}.iw-fields{width:100%}.iw-field{margin-top:16px}.iw-format-detail{display:none}.iw-panel-footer{padding-top:21px}.iw-panel-footer .iw-button{max-width:400px}.iw-panel-footer .iw-text-button{display:block;margin:auto}.iw-filmstrip{padding:11px 12px;gap:8px;flex-wrap:wrap}.iw-filmstrip-items{flex:1}.iw-batch-actions{margin-left:0;gap:10px}.iw-batch-actions .iw-button{font-size:10px!important}.iw-batch-actions>.iw-text-button{font-size:9px!important}.iw-toast{bottom:15px;font-size:11px}.iw-guide{padding-block:40px}.iw-guide-grid{grid-template-columns:1fr;gap:10px}}.image-editor{--iw-stage:color-mix(in srgb,var(--surface-muted) 88%,var(--background));--iw-panel-raised:color-mix(in srgb,var(--surface) 88%,var(--accent-soft));--iw-border-soft:color-mix(in srgb,var(--border) 78%,transparent);--iw-accent-wash:color-mix(in srgb,var(--accent-soft) 74%,var(--surface));border-radius:24px;box-shadow:0 18px 52px color-mix(in srgb,var(--foreground) 9%,transparent);-webkit-font-smoothing:antialiased}.image-editor--immersive{box-shadow:none}.image-editor button:disabled{opacity:.46}.image-editor :where(button,a,input,select):focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 42%,transparent);outline-offset:3px}.iw-topbar{min-height:74px;gap:18px;padding:13px 28px;border-color:var(--iw-border-soft);background:color-mix(in srgb,var(--iw-panel) 94%,var(--accent-soft))}.iw-brand{gap:10px;color:var(--foreground);font-size:18px;font-weight:400;letter-spacing:normal}.iw-brand .crate-mark{width:35px;height:35px}.iw-topbar-divider{background:var(--iw-border-soft)}.iw-title h1,.iw-title>p{font-family:var(--font-heading);font-size:14px;font-weight:400;font-stretch:normal;font-synthesis:none;letter-spacing:normal;line-height:1.15}.iw-dialog h2,.iw-empty h2,.iw-format-detail h3,.iw-guide-grid h3,.iw-guide>h2,.iw-panel-heading h2,.iw-title h1{line-height:1.25}.iw-title>span{gap:7px;font-size:10px;line-height:1.4}.iw-state-line{transition:color .18s ease}.iw-state-line i{width:6px;height:6px;box-shadow:0 0 0 3px var(--study-soft);transition:background-color .18s ease,box-shadow .18s ease}.iw-state-line--processing{color:var(--accent-strong)!important}.iw-state-line--processing i{background:var(--accent)!important;box-shadow:0 0 0 3px var(--accent-soft)}.iw-state-line--complete i{background:var(--study-ink)!important}.iw-state-line--error{color:var(--writing-ink)!important}.iw-state-line--error i{background:var(--writing-ink)!important;box-shadow:0 0 0 3px var(--writing-soft)}.iw-history{gap:3px;margin-left:10px}.iw-history button,.iw-icon-button{border:1px solid transparent;border-radius:10px;transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease}.iw-history button:hover:enabled,.iw-icon-button:hover{border-color:var(--iw-border-soft);background:var(--iw-accent-wash);color:var(--accent-strong);transform:translateY(-1px)}.iw-history button:active:enabled,.iw-icon-button:active{transform:translateY(1px)}.iw-top-actions{gap:9px}.iw-button{min-height:41px;padding:9px 16px;border-color:var(--iw-border-soft);border-radius:11px;box-shadow:0 1px 2px color-mix(in srgb,var(--foreground) 4%,transparent);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}.iw-button:hover:enabled,a.iw-button:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:var(--iw-accent-wash);box-shadow:0 5px 14px color-mix(in srgb,var(--accent) 11%,transparent);transform:translateY(-1px)}.iw-button:active:enabled,a.iw-button:active{box-shadow:none;transform:translateY(1px)}.iw-primary{box-shadow:0 5px 14px color-mix(in srgb,var(--accent) 17%,transparent)}.iw-primary:hover:enabled,a.iw-primary:hover{box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 24%,transparent)}.iw-body{grid-template-columns:78px 280px minmax(0,1fr)}.iw-rail{gap:8px;padding:18px 10px 14px;border-color:var(--iw-border-soft);background:color-mix(in srgb,var(--iw-panel) 96%,var(--accent-soft))}.iw-rail>button{position:relative;min-height:66px;border:1px solid transparent;border-radius:13px;font-size:10px;font-weight:600;transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.iw-rail>button:hover{border-color:var(--iw-border-soft);background:var(--surface-muted);color:var(--foreground);transform:translateY(-1px)}.iw-rail>button.is-active{border-color:color-mix(in srgb,var(--accent) 25%,var(--border));background:var(--iw-accent-wash);color:var(--accent-strong);box-shadow:inset 3px 0 0 var(--accent),0 5px 14px color-mix(in srgb,var(--accent) 10%,transparent)}.iw-rail>button.is-active:after{position:absolute;top:50%;right:6px;width:4px;height:4px;border-radius:50%;background:var(--study-ink);content:"";transform:translateY(-50%)}.iw-rail>button:active{transform:translateY(1px)}.iw-question{transition:background-color .18s ease,color .18s ease,border-color .18s ease}.iw-help-link:hover .iw-question{background:var(--accent-soft);border-color:var(--accent-strong)}.iw-settings{padding:28px 24px 16px;border-color:var(--iw-border-soft);background:color-mix(in srgb,var(--iw-panel) 97%,var(--accent-soft));scrollbar-color:var(--border) transparent}.iw-panel-heading{margin-bottom:23px}.iw-panel-heading h2{font-size:25px;font-weight:650;letter-spacing:-.055em}.iw-panel-heading p:not(.iw-overline){margin-top:7px;line-height:1.5}.iw-collapse{flex-shrink:0}.iw-fields{transform-origin:top center}.iw-field{gap:8px;margin-top:18px;line-height:1.35}.iw-field-label{font-weight:650}.iw-field input:not([type=range]),.iw-field select{min-height:42px;padding:10px 12px;border-color:var(--iw-border-soft);border-radius:11px;background:var(--iw-panel);box-shadow:inset 0 1px 2px color-mix(in srgb,var(--foreground) 3%,transparent);transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.iw-field input:not([type=range]):hover,.iw-field select:hover,.iw-format-options button:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 48%,var(--border))}.iw-field input:not([type=range]):focus,.iw-field select:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent);outline:none}.iw-field input[type=range]{min-height:31px}.iw-range-labels{font-variant-numeric:tabular-nums}.iw-hint{font-size:10.5px;line-height:1.65}.iw-format-options{gap:8px;margin:14px 0 18px}.iw-format-options button{min-height:43px;border-color:var(--iw-border-soft);border-radius:10px;background:var(--iw-panel);transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.iw-format-options button:hover:not(:disabled){background:var(--iw-accent-wash);color:var(--accent-strong);transform:translateY(-1px)}.iw-format-options button:active:not(:disabled){transform:translateY(1px)}.iw-format-options button.is-active{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.iw-switch{min-height:24px;font-weight:650}.iw-switch input{width:38px;height:22px;border-color:var(--iw-border-soft);background:var(--surface-muted);transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.iw-switch input:after{width:14px;height:14px;top:3px;left:3px;transition:background-color .2s ease,transform .2s ease}.iw-switch input:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 35%,transparent);outline-offset:3px}.iw-switch input:checked{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.iw-switch input:checked:after{transform:translateX(16px)}.iw-checkbox{gap:9px;margin-top:18px;line-height:1.55}.iw-checkbox input{accent-color:var(--accent)}.iw-dimensions{gap:10px}.iw-caution{border:1px solid color-mix(in srgb,var(--writing-ink) 18%,var(--border));background:color-mix(in srgb,var(--writing-soft) 78%,var(--iw-panel));padding:10px 11px;line-height:1.55}.iw-settings-divider{margin:22px 0;background:var(--iw-border-soft)}.iw-small-note{border:1px solid var(--iw-border-soft);background:var(--iw-panel-raised);padding:13px;margin-top:20px}.iw-small-note svg{color:var(--accent-strong)}.iw-small-note p{font-size:10.5px;line-height:1.65}.iw-format-detail{margin-top:25px;padding-top:23px;border-color:var(--iw-border-soft)}.iw-format-letter{box-shadow:4px 5px 0 color-mix(in srgb,var(--surface-muted) 85%,var(--accent-soft))}.iw-panel-footer{padding-top:24px}.iw-panel-footer>p{line-height:1.45}.iw-text-button{border-radius:7px;transition:color .18s ease,background-color .18s ease,transform .18s ease}.iw-text-button:hover:enabled{background:var(--accent-soft);text-decoration:none;transform:translateY(-1px)}.iw-text-button:active:enabled{transform:translateY(1px)}.iw-stage-section{background:var(--iw-stage)}.iw-stage-toolbar{min-height:62px;padding:12px 28px;border-color:var(--iw-border-soft);background:color-mix(in srgb,var(--iw-stage) 88%,var(--surface))}.iw-file-heading{gap:10px;font-size:11px}.iw-file-heading svg{color:var(--accent-strong)}.iw-file-heading small{font-variant-numeric:tabular-nums}.iw-stage-badge{background:color-mix(in srgb,var(--surface) 56%,transparent)}.iw-view-switch{gap:3px;padding:4px;border-color:var(--iw-border-soft);border-radius:11px;box-shadow:0 2px 8px color-mix(in srgb,var(--foreground) 4%,transparent)}.iw-view-switch button{min-height:28px;padding:6px 11px;border-radius:7px;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.iw-view-switch button:hover:not(:disabled){color:var(--foreground);background:var(--surface-muted)}.iw-view-switch button:active:not(:disabled){transform:translateY(1px)}.iw-view-switch button[aria-pressed=true]{box-shadow:0 1px 3px color-mix(in srgb,var(--accent) 15%,transparent)}.iw-canvas{background-color:var(--iw-stage);background-image:radial-gradient(color-mix(in srgb,var(--accent-strong) 13%,transparent) .7px,transparent .7px);background-size:19px 19px;contain:layout paint;transition:background-color .22s ease}.iw-canvas.iw-has-image{padding:clamp(24px,4vw,48px)}.iw-preview-image-wrap{position:relative;width:100%;height:100%;min-height:0;min-width:0;display:grid;place-items:center;contain:layout paint}.iw-preview-image{display:block;max-width:100%;max-height:100%;border:1px solid color-mix(in srgb,var(--foreground) 7%,transparent);border-radius:3px;background-image:conic-gradient(color-mix(in srgb,var(--muted) 21%,var(--iw-panel)) 25%,color-mix(in srgb,var(--surface) 92%,var(--iw-stage)) 0 50%,color-mix(in srgb,var(--muted) 21%,var(--iw-panel)) 0 75%,color-mix(in srgb,var(--surface) 92%,var(--iw-stage)) 0);box-shadow:0 8px 28px color-mix(in srgb,var(--foreground) 13%,transparent);transform:scale(var(--iw-zoom,1));transform-origin:center;backface-visibility:hidden;transition:transform .22s ease,opacity .22s ease,box-shadow .22s ease}.iw-empty{max-width:480px;padding:22px}.iw-empty-art{margin-bottom:23px}.iw-art-back{background:var(--iw-panel)}.iw-art-card{box-shadow:0 8px 23px color-mix(in srgb,var(--foreground) 10%,transparent)}.iw-empty h2{font-weight:600}.iw-empty>p:not(.iw-overline){max-width:30rem;margin-inline:auto;line-height:1.75}.iw-empty>small{letter-spacing:.01em}.iw-result-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,42%);align-items:center;gap:18px;min-height:64px;padding:14px 28px;border-color:var(--iw-border-soft);background:color-mix(in srgb,var(--iw-panel) 96%,var(--accent-soft))}.iw-result-bar>div{min-width:0}.iw-result-label{color:var(--accent-strong)}.iw-result-bar strong{display:block;overflow:hidden;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.iw-result-status{max-width:none;min-width:0;line-height:1.45;overflow-wrap:anywhere}.iw-empty-note{grid-column:1/-1;justify-content:center}.iw-result-warning{color:var(--writing-ink)}.iw-bottom-toolbar{min-height:43px;padding:7px 28px;border-top:1px solid var(--iw-border-soft);background:color-mix(in srgb,var(--iw-stage) 92%,var(--surface))}.iw-footer-notice{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iw-zoom{gap:2px;padding:2px;border:1px solid var(--iw-border-soft);border-radius:8px;background:color-mix(in srgb,var(--surface) 60%,transparent)}.iw-zoom button{min-width:27px;min-height:26px;border-radius:6px;transition:color .18s ease,background-color .18s ease,transform .18s ease}.iw-zoom button:hover:enabled{background:var(--iw-panel);color:var(--accent-strong)}.iw-zoom button:active:enabled{transform:translateY(1px)}.iw-filmstrip{gap:18px;min-height:102px;padding:14px 28px 14px 100px;border-color:var(--iw-border-soft);background:color-mix(in srgb,var(--iw-panel) 97%,var(--accent-soft));box-shadow:0 -5px 18px color-mix(in srgb,var(--foreground) 3%,transparent)}.iw-filmstrip-items{gap:10px;padding:5px;scrollbar-color:var(--border) transparent}.iw-thumbnail{width:70px;height:61px;border-radius:12px;padding:3px;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease}.iw-thumbnail:hover:not(.is-selected){transform:translateY(-2px)}.iw-thumbnail.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent),0 7px 16px color-mix(in srgb,var(--accent) 12%,transparent)}.iw-thumbnail>button:first-child{border-radius:8px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--foreground) 4%,transparent);transition:box-shadow .18s ease,transform .18s ease}.iw-thumbnail>button:first-child:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--accent),0 3px 8px color-mix(in srgb,var(--foreground) 9%,transparent)}.iw-thumbnail>button:first-child:active:not(:disabled){transform:scale(.98)}.iw-thumbnail>button>span{background:color-mix(in srgb,var(--foreground) 88%,var(--iw-panel));color:var(--background)}.iw-thumbnail i{display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--study-ink) 30%,transparent);background:var(--study-soft);color:var(--study-ink);font-weight:700;line-height:1}.iw-thumbnail i[aria-label="Target not met"]{border-color:color-mix(in srgb,var(--writing-ink) 30%,transparent);background:var(--writing-soft);color:var(--writing-ink)}.iw-thumbnail .iw-remove{z-index:1;border-color:var(--iw-border-soft);box-shadow:0 2px 6px color-mix(in srgb,var(--foreground) 10%,transparent);transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease}.iw-thumbnail .iw-remove:hover:enabled{border-color:var(--danger);background:var(--danger-soft);color:var(--danger);transform:scale(1.08)}.iw-thumbnail .iw-remove:active:enabled{transform:scale(.96)}.iw-add-tile{height:48px;width:48px;border-color:var(--iw-border-soft);border-radius:10px;transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease}.iw-add-tile:hover:enabled{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong);transform:translateY(-2px)}.iw-add-tile:active:enabled{transform:translateY(1px)}.iw-batch-actions{gap:12px}.iw-show-settings{top:18px;left:18px;box-shadow:0 7px 20px color-mix(in srgb,var(--foreground) 12%,transparent)}.iw-busy-overlay,.iw-drop-overlay{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.iw-drop-overlay{border-radius:0}.iw-drop-overlay strong{letter-spacing:-.04em}.iw-busy-copy{display:flex;flex-direction:column;align-items:center;gap:5px;max-width:min(460px,100%);text-align:center}.iw-busy-copy strong{color:var(--foreground);font-size:13px;font-weight:650}.iw-busy-copy span{font-size:11px;line-height:1.5}.iw-error,.iw-errors,.iw-resize-notice{border-top:1px solid color-mix(in srgb,var(--border) 60%,transparent)}.iw-toast{border-color:var(--iw-border-soft);box-shadow:0 12px 32px color-mix(in srgb,var(--foreground) 16%,transparent);animation:iw-toast-in .22s ease-out both}.iw-toast>span{border:1px solid color-mix(in srgb,var(--study-ink) 25%,transparent)}.iw-dialog{border-radius:20px;box-shadow:0 24px 80px color-mix(in srgb,var(--foreground) 22%,transparent)}.iw-dialog>div .iw-button{min-width:110px}.iw-guide{padding-block:clamp(48px,7vw,72px) clamp(64px,9vw,96px)}.iw-guide>h2{font-weight:600;letter-spacing:-.055em}.iw-guide>p{max-width:680px;line-height:1.8}.iw-guide-grid{gap:22px;margin-block:32px 38px}.iw-guide-grid>div{padding:20px 0 0;border-top:2px solid color-mix(in srgb,var(--accent) 35%,var(--border))}.iw-guide-grid h3{margin:0 0 7px;font-weight:650;letter-spacing:-.025em}.iw-guide-grid p{margin:0;line-height:1.75}.iw-guide details{border-top:1px solid var(--border)}.iw-guide details:last-child{border-bottom:1px solid var(--border)}.iw-guide summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:15px 0;color:var(--foreground);font-size:14px;font-weight:650}.iw-guide summary::-webkit-details-marker{display:none}.iw-guide summary:after{flex-shrink:0;color:var(--accent-strong);content:"+";font-size:20px;font-weight:400;transition:transform .18s ease}.iw-guide details[open] summary:after{transform:rotate(45deg)}.iw-guide details p{max-width:720px;margin:0 28px 17px 0;color:var(--muted);font-size:13px;line-height:1.75}@media (prefers-reduced-motion:no-preference){.iw-fields{animation:iw-settings-in .22s cubic-bezier(.2,.7,.3,1) both}.iw-filmstrip{animation:iw-filmstrip-in .24s cubic-bezier(.2,.7,.3,1) both}.iw-thumbnail{animation:iw-thumbnail-in .22s cubic-bezier(.2,.7,.3,1) both}.iw-thumbnail:nth-child(2){animation-delay:25ms}.iw-thumbnail:nth-child(3){animation-delay:45ms}.iw-thumbnail:nth-child(4){animation-delay:65ms}.iw-thumbnail:nth-child(5){animation-delay:85ms}.iw-thumbnail:nth-child(6){animation-delay:105ms}.iw-thumbnail:nth-child(7){animation-delay:125ms}.iw-thumbnail:nth-child(8){animation-delay:145ms}.iw-thumbnail:nth-child(9){animation-delay:165ms}.iw-thumbnail:nth-child(10){animation-delay:185ms}.iw-preview-image[alt^=Edited],.iw-preview-image[alt^=Original]{animation:iw-preview-in .22s ease-out both}.iw-empty-art{animation:iw-art-in .24s cubic-bezier(.2,.7,.3,1) both}.iw-art-card{animation:none}}@keyframes iw-settings-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes iw-filmstrip-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes iw-thumbnail-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}@keyframes iw-preview-in{0%{opacity:0}to{opacity:1}}@keyframes iw-toast-in{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translateX(-50%)}}@media (max-width:1050px){.iw-body{grid-template-columns:70px 252px minmax(0,1fr)}.iw-bottom-toolbar,.iw-result-bar,.iw-settings,.iw-stage-toolbar,.iw-topbar{padding-inline:20px}.iw-filmstrip{padding-left:88px;padding-right:20px}}@media (max-width:760px){.image-editor{border-radius:0;box-shadow:none}.iw-topbar{min-height:64px;gap:10px;padding:10px 14px}.iw-brand{font-size:16px}.iw-brand .crate-mark{width:30px;height:30px}.iw-history{margin-left:auto}.iw-history button,.iw-icon-button{width:31px;height:31px}.iw-top-actions{gap:6px}.iw-top-actions .iw-button{min-height:37px;padding-inline:11px}.iw-body,.iw-focus-mode .iw-body{display:flex;flex-direction:column}.iw-rail{gap:7px;padding:8px 12px;background:var(--iw-panel)}.iw-rail>button{min-height:43px;border-radius:11px}.iw-rail>button.is-active{box-shadow:inset 0 -3px 0 var(--accent),0 4px 12px color-mix(in srgb,var(--accent) 10%,transparent)}.iw-rail>button.is-active:after{top:auto;right:auto;bottom:5px;left:50%;width:4px;height:4px;transform:translateX(-50%)}.iw-stage-toolbar{min-height:53px;padding:9px 14px}.iw-canvas.iw-has-image{padding:24px}.iw-result-bar{grid-template-columns:minmax(0,1fr) minmax(0,44%);gap:10px;padding:11px 14px}.iw-result-status{font-size:9px}.iw-bottom-toolbar{padding:7px 14px}.iw-settings{padding:22px 20px 18px;background:var(--iw-panel)}.iw-panel-heading h2{line-height:1.3}.iw-empty h2{line-height:1.22}.iw-filmstrip{align-items:stretch;flex-direction:column;gap:9px;min-height:0;padding:12px 14px 14px}.iw-filmstrip-items{width:100%;flex:none}.iw-batch-actions{width:100%;justify-content:space-between;gap:10px}.iw-batch-actions .iw-button{flex:1}.iw-guide{padding-block:44px 64px}.iw-guide-grid{gap:18px;margin-block:26px 32px}}@media (max-width:420px){.iw-brand span{max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iw-top-actions .iw-button{padding-inline:9px;font-size:10px!important}.iw-top-actions .iw-button svg{width:15px;height:15px}.iw-stage-badge{display:none}.iw-file-heading{min-width:0}.iw-file-heading small{font-size:8px}.iw-view-switch button{padding-inline:8px}.iw-canvas{min-height:270px}.iw-canvas:not(.iw-has-image){min-height:410px}.iw-canvas.iw-has-image{padding:18px}.iw-result-bar{grid-template-columns:1fr;gap:6px}.iw-result-status{text-align:left;max-width:none}.iw-empty-note{grid-column:auto}.iw-settings{padding-inline:16px}.iw-filmstrip-items{overflow-x:auto}.iw-guide details p{margin-right:0}}@media (prefers-reduced-motion:reduce){.image-editor *,.image-editor :after,.image-editor :before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.image-editor .iw-add-tile:hover:enabled,.image-editor .iw-button:hover:enabled,.image-editor .iw-icon-button:hover,.image-editor .iw-rail>button:hover,.image-editor .iw-thumbnail:hover:not(.is-selected){transform:none}.image-editor .iw-art-card{animation:none}}.iw-brand>span{font-size:1.04em}.iw-panel-heading h2{font-size:27px;line-height:1.18}.iw-format-detail h3{font-size:17px;line-height:1.22}.iw-empty h2{font-size:clamp(32px,3.3vw,42px);line-height:1.18}.iw-dialog h2{font-size:26px;line-height:1.2}.iw-guide>h2{font-size:clamp(30px,4vw,38px)}.iw-guide-grid h3,.iw-guide>h2{line-height:1.2}.image-editor.iw-connected{--iw-panel:var(--surface);--iw-stage:color-mix(in srgb,var(--surface-muted) 88%,var(--background))}.iw-connected .iw-settings{flex:1 1 0%;width:100%;min-width:0;padding:18px 16px 14px;border:0;background:transparent}.iw-connected .iw-panel-footer{margin-top:auto;padding-top:22px;text-align:left}.iw-connected .iw-settings-history{display:flex;align-items:center;justify-content:space-between;gap:8px}.iw-connected .iw-field{margin-top:18px}.iw-connected .iw-format-detail{margin-top:20px;padding-top:20px}.iw-connected .iw-stage-toolbar{min-height:62px;padding:10px 18px}.iw-connected .iw-file-heading{min-width:0;font-size:13px}.iw-connected .iw-file-heading>span{color:var(--foreground);font-weight:650}.iw-connected .iw-file-heading small{font-size:11px}.iw-connected .iw-canvas{flex:1 1 0%;min-height:0}.iw-connected .iw-canvas.iw-has-image{padding:24px}.iw-connected .iw-preview-image-wrap{grid-template:minmax(0,1fr) /minmax(0,1fr)}.iw-connected .iw-preview-image{min-width:0;min-height:0}.iw-connected .iw-result-bar{min-height:56px;padding:10px 18px}.iw-connected .iw-result-bar:has(.iw-empty-note){display:none}.iw-connected .iw-bottom-toolbar{min-height:40px;padding:7px 18px}.iw-connected .iw-footer-notice{font-size:12px}.iw-image-list{display:flex;flex:1 1 0%;flex-direction:column;gap:12px;min-height:0;margin:0;padding:14px 12px;overflow-y:auto;overscroll-behavior:contain;list-style:none;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.iw-image-card{position:relative;flex-shrink:0;min-width:0;padding:8px;border:1px solid var(--border);border-radius:11px;background:var(--surface);transition:border-color .18s ease,background-color .18s ease}.iw-image-card[data-active=true]{border-color:var(--accent);background:var(--accent-soft)}.iw-image-select{display:flex;flex-direction:column;gap:9px;width:100%;min-width:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--foreground);text-align:left}.iw-image-select>img{display:block;width:100%;height:112px;object-fit:contain;border-radius:6px;background:var(--surface-muted)}.iw-image-select>span{display:grid;gap:4px;width:100%;min-width:0;padding-right:30px}.iw-image-select strong{display:block;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.iw-image-select small{color:var(--muted);font-size:11px;line-height:1.5}.iw-image-select em{color:var(--accent-strong);font-size:11px;font-style:normal;font-weight:650}.iw-image-select .iw-image-warning{color:var(--writing-ink)}.iw-image-remove{position:absolute;right:8px;bottom:8px}.iw-image-remove:hover:enabled{color:var(--danger);background:var(--danger-soft)}.iw-images-footer{display:flex;flex:0 0 auto;flex-direction:column;gap:9px;margin-top:auto;padding:12px;border-top:1px solid var(--border)}.iw-images-footer>span{color:var(--muted);font-size:12px;text-align:center}.iw-guide-dialog .iw-guide{width:100%;max-width:none;margin:0;padding:0}.iw-guide-dialog .iw-guide>.eyebrow,.iw-guide-dialog .iw-guide>h2{display:none}.iw-guide-dialog .iw-guide>p{font-size:13px}.iw-guide-dialog .iw-guide-grid{grid-template-columns:1fr;gap:16px;margin:22px 0}.iw-guide-dialog .iw-guide-grid>div{padding-top:12px}.iw-guide-dialog .iw-guide-grid h3{font-size:19px}.iw-guide-dialog .iw-guide-grid p{font-size:13px}@media (max-width:760px){.iw-connected .iw-settings{padding:16px}.iw-connected .iw-stage-toolbar{flex-wrap:wrap;padding:10px 12px;gap:8px}.iw-connected .iw-result-bar{padding:10px 12px}.iw-connected .iw-bottom-toolbar{padding:7px 12px}.iw-connected .iw-canvas.iw-has-image{padding:14px}.iw-connected .iw-canvas:not(.iw-has-image){min-height:0}.iw-connected .iw-file-heading{flex:1 1 100%}.iw-connected .iw-image-select>img{height:100px}}@media (prefers-reduced-motion:no-preference){.iw-guide-dialog[open]{animation:iw-guide-enter .18s ease-out}@keyframes iw-guide-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}@media (max-width:760px){.iw-brand>span{font-size:1em}.iw-panel-heading h2{font-size:25px;line-height:1.22}.iw-empty h2{font-size:clamp(30px,8vw,36px);line-height:1.2}.iw-guide>h2{font-size:clamp(25px,8vw,32px);line-height:1.24}}