@import"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{font-family:Space Grotesk,Segoe UI,system-ui,-apple-system,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--brand-gradient: linear-gradient(to right, rgb(0, 156, 62), rgb(172, 236, 32));--brand-primary: rgb(0, 156, 62);--brand-secondary: rgb(172, 236, 32);--ink: #0f172a;--muted: #5c665a;background:#eef2ea}*{box-sizing:border-box}a{color:inherit}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 10%,rgba(90,206,122,.18),transparent 40%),radial-gradient(circle at 95% 0%,rgba(255,180,78,.16),transparent 42%),linear-gradient(180deg,#f3f5ef,#eef2ea);color:var(--ink)}body.toolzite-embed{background:transparent;min-height:auto}#root.toolzite-embed-root{min-height:auto}#root{width:100%;min-height:100vh}.toolzite-shell{min-height:100vh;padding:14px 16px 28px}.toolzite-shell.embed-mode{min-height:auto;padding:0}.utility-header,.utility-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;border-radius:18px;border:1px solid rgba(24,62,40,.12);background:#fffc;box-shadow:0 14px 32px #10211814}.utility-header{position:sticky;top:12px;z-index:20}.utility-brand{display:flex;align-items:center;gap:12px}.utility-brand-badge{width:42px;height:42px;border-radius:14px;display:inline-grid;place-items:center;text-decoration:none;font-weight:800;color:#102316;background:var(--brand-gradient)}.utility-brand-eyebrow{margin:0 0 4px;color:#2f4538;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.utility-brand-title{margin:0;font-size:clamp(1.35rem,3vw,2.1rem);line-height:1.12;color:#111a16}.utility-nav,.utility-footer-links{display:flex;flex-wrap:wrap;gap:10px}.utility-nav a,.utility-nav-pill,.utility-footer-links a{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;border:1px solid rgba(24,62,40,.12);background:#ffffffc7;color:#15221b;text-decoration:none;font-weight:700;font-size:.88rem;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.utility-nav a:hover,.utility-nav-pill,.utility-footer-links a:hover{background:var(--brand-gradient);color:#102316;border-color:transparent;box-shadow:0 12px 28px #009c3e29,inset 0 1px #ffffff57}.app{min-height:100vh;display:grid;grid-template-columns:320px 1fr;gap:24px;padding:20px 0 24px;color:var(--ink);align-items:start}.toolzite-shell.embed-mode .app{min-height:auto;padding-top:0}.sidebar{background:linear-gradient(180deg,#009c3e1f,#acec201f);border:1px solid rgba(0,156,62,.18);border-radius:24px;padding:20px;position:sticky;top:92px;height:fit-content;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000014;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.toolzite-shell.embed-mode .sidebar{top:6px;max-height:calc(100vh - 12px)}.toolzite-shell.embed-mode .tool-stack{max-height:calc(100vh - 190px);overflow-y:scroll;overflow-x:hidden;padding-right:8px}.tool-stack{display:flex;flex-direction:column;flex:1 1 auto;gap:10px;max-height:calc(100vh - 240px);overflow:auto;min-height:0;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(0,156,62,.42) rgba(255,255,255,.4)}.tool-stack::-webkit-scrollbar{width:10px}.tool-stack::-webkit-scrollbar-track{background:#ffffff6b;border-radius:999px}.tool-stack::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#009c3ed1,#acec20d1);border-radius:999px;border:1px solid rgba(255,255,255,.55)}.tool-stack::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#009c3ef2,#acec20f2)}.tool{width:100%;text-align:left;background:#fbfdf8;border:0;border-radius:18px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;color:inherit;text-decoration:none;box-shadow:inset 0 0 0 1px #d6dfd4;transform:translateZ(0)}.tool:hover{transform:translateY(-2px);box-shadow:0 10px 20px #17352214,inset 0 0 0 1px #d6dfd4}.tool.active{background:var(--brand-gradient);color:#0b1f12;box-shadow:0 16px 34px #009c3e29,inset 0 1px #ffffff57}.utility-footer{margin-top:auto}.tool-label{font-weight:600;margin:0}.workspace{background:#ffffffc7;border-radius:24px;padding:24px;border:1px solid rgba(0,156,62,.08);box-shadow:0 30px 90px #0000000f}.hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(0,156,62,.12);padding-bottom:18px}.hero h1{margin:0 0 6px;font-size:28px;letter-spacing:-.01em}.panel{margin-top:22px;padding:18px;border:1px solid rgba(0,156,62,.08);border-radius:20px;background:linear-gradient(135deg,#009c3e0f,#acec200d,#fff);box-shadow:0 20px 40px #0000000a}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-heading h3{margin:0}.dropzone{border:1.5px dashed rgba(0,156,62,.25);border-radius:16px;padding:16px 16px 22px 64px;background:#ffffffb3;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;margin-bottom:14px;position:relative;overflow:hidden}.dropzone>div:first-of-type{flex:1}.dropzone:before{content:"⇪";position:absolute;left:16px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:10px;border:1px solid rgba(0,156,62,.2);background:linear-gradient(135deg,#009c3e29,#acec2040);color:#0b4d21;display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1;pointer-events:none}.dropzone:after{content:"";position:absolute;left:12px;right:12px;bottom:8px;height:4px;border-radius:999px;width:0%;background:linear-gradient(90deg,#009c3ef2,#acec20f2);opacity:0;transition:width .22s ease,opacity .2s ease,background-color .2s ease;pointer-events:none}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.dropzone.is-uploading,.workspace.is-uploading .dropzone{border-style:solid;box-shadow:inset 0 0 0 2px #009c3e29}.workspace.is-uploading .dropzone:after{opacity:1;width:var(--upload-progress, 0%)}.workspace.upload-complete .dropzone{border-style:solid;box-shadow:inset 0 0 0 2px #22c55e47}.workspace.upload-complete .dropzone:before{content:"✓";color:#166534;border-color:#16a34a47;background:linear-gradient(135deg,#22c55e3d,#bbf7d0b3)}.workspace.upload-complete .dropzone:after{opacity:1;width:100%;background:#16a34a}.drop-title{margin:0 0 2px;font-weight:600}.muted{color:var(--muted);margin:0}.tiny{font-size:12px}.control{margin:12px 0 16px}.control-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.control input[type=text]{width:100%;padding:10px 12px;border-radius:12px;border:1px solid rgba(15,23,42,.15);font-size:15px;background:#fff}.control input[type=range]{width:100%;accent-color:var(--brand-primary)}.control input[type=number],.control select,.control input[type=color]{width:100%;padding:10px 12px;border-radius:12px;border:1px solid rgba(15,23,42,.15);font-size:15px;background:#fff}.rotate-angle-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.rotate-angle-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;min-height:44px;font-weight:600}.rotate-angle-btn.active{border-color:transparent;background:var(--brand-gradient);color:#0b1f12;box-shadow:0 12px 28px #009c3e24,inset 0 1px #ffffff52}.rotate-angle-icon{font-size:18px;line-height:1}.rotate-angle-label{font-size:12px}.chip,.file-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#009c3e1f;font-size:13px;color:#0f172a}.file-list{display:flex;flex-direction:column;gap:10px;padding:8px 0}.file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:#fffc;border:1px solid rgba(0,156,62,.08)}.file-name{margin:0;font-weight:600}.file-actions{display:flex;gap:6px}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 6px}.pill{display:inline-flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:16px;background:#fbfdf8;border:1px solid transparent;min-width:120px;cursor:pointer;text-align:left;color:#2a3830;box-shadow:inset 0 0 0 1px #d6dfd4;transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.pill:hover{transform:translateY(-1px);box-shadow:0 10px 20px #17352214,inset 0 0 0 1px #d6dfd4}.sidebar-pill-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.sidebar-pill{border-radius:999px;width:100%;min-width:0;min-height:52px;padding:8px 12px;justify-content:center;align-items:center;text-align:center}.sidebar-pill .pill-title{font-size:.82rem;letter-spacing:.02em;line-height:1.1}.pill-active{border-color:transparent;background:var(--brand-gradient);color:#0b1f12;box-shadow:0 12px 28px #009c3e24,inset 0 1px #ffffff4d}.pill-title{font-weight:700}.pill-sub{font-size:12px;color:inherit;opacity:.8}.text-area{width:100%;min-height:140px;padding:12px;border-radius:14px;border:1px solid rgba(15,23,42,.1);font-size:14px;font-family:Space Grotesk,Segoe UI,system-ui,-apple-system,sans-serif;background:#fff}.diff-result{margin-top:10px;padding:12px;background:#0f172a0a;border-radius:12px;border:1px solid rgba(0,156,62,.12);min-height:60px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;white-space:pre-wrap}.diff-add{background:#22c55e26;color:#166534}.diff-remove{background:#ef444426;color:#991b1b;text-decoration:line-through}.number-badge{padding:8px 12px;border-radius:10px;background:#009c3e14;font-weight:600}.preview{margin:10px 0}.preview-frame{position:relative;border-radius:14px;border:1px solid rgba(0,156,62,.16);overflow:hidden;background:#fff}.preview-frame img{width:100%;display:block}.preview-frame.small{max-width:420px;max-height:220px}.preview-frame.small img{object-fit:contain;max-height:220px}.rotate-preview-frame{display:flex;align-items:center;justify-content:center;min-height:220px}.rotate-preview-frame img{width:auto;max-width:100%;max-height:200px;transition:transform .2s ease;transform-origin:center}.preview-frame.interactive{cursor:crosshair;min-height:240px;box-shadow:inset 0 0 0 1px #009c3e1a}.preview-frame.interactive.small{min-height:220px}.preview-frame.dragging{box-shadow:0 0 0 2px #009c3e66}.crop-overlay{position:absolute;border:2px dashed rgba(0,156,62,.8);background:#009c3e1f;pointer-events:none}.crop-overlay .handle{position:absolute;right:6px;bottom:6px;width:12px;height:12px;background:var(--brand-secondary);border-radius:4px;border:1px solid rgba(0,0,0,.08)}button.action{width:100%;background:var(--brand-gradient);color:#0f172a;border:none;border-radius:14px;padding:12px 16px;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,opacity .14s ease;box-shadow:0 16px 40px #009c3e29,inset 0 1px #ffffff52}button.action:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}button.action:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 20px 50px #009c3e33}button.ghost{border:1px solid rgba(0,156,62,.28);background:#fff;color:#0f172a;border-radius:10px;padding:8px;cursor:pointer}button.ghost:disabled{opacity:.35;cursor:not-allowed}button.ghost.danger{border-color:#ef444480;color:#b91c1c}.status-bar{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:#009c3e0f;border:1px solid rgba(0,156,62,.1)}.status-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:210px}.upload-progress-wrap{min-width:170px}.upload-track{margin-top:4px;height:6px;border-radius:999px;background:#009c3e26;overflow:hidden}.upload-track span{display:block;height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#009c3ef2,#acec20f2);transition:width .2s ease}.error{color:#b91c1c;margin:0}.loader{width:14px;height:14px;border-radius:999px;border:3px solid rgba(0,156,62,.18);border-top-color:var(--brand-primary);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.toolzite-shell{padding:10px 12px 24px}.utility-header,.utility-footer{position:static}.app{grid-template-columns:1fr;padding:18px}.sidebar{position:relative;top:0}}@media(max-width:640px){.utility-header,.utility-footer{flex-direction:column;align-items:flex-start}.panel{padding:14px}.hero{flex-direction:column}.grid-2{grid-template-columns:1fr}.status-right{min-width:0}}
