
:root{--cm-bg:#f7f7fb;--cm-card:#fff;--cm-border:#e7e7ef;--cm-text:#1d1d29}
body{background:var(--cm-bg);color:var(--cm-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.tool-page{padding:36px 0 70px}.container{max-width:1100px;margin:auto;padding:0 20px}
.site-header{background:#fff;border-bottom:1px solid var(--cm-border)}.nav-wrap{min-height:72px;display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:800;text-decoration:none;color:#222;display:flex;align-items:center;gap:8px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#6d5dfc;color:#fff}.brand-accent{color:#6d5dfc}
.nav-links{display:flex;gap:20px;align-items:center}.nav-links a{color:#555;text-decoration:none}.nav-links .active{color:#6d5dfc;font-weight:700}
.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;color:#777;margin-bottom:25px}.breadcrumbs a{color:#6d5dfc;text-decoration:none}
.tool-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:25px}.tool-heading h1{font-size:42px;line-height:1.1;margin:10px 0}.tool-heading p{color:#666;max-width:680px}.category-badge{font-size:13px;font-weight:700;color:#6d5dfc}.tool-trust{display:flex;gap:8px;flex-wrap:wrap}.tool-trust span,.privacy-badge{background:#fff;border:1px solid var(--cm-border);border-radius:999px;padding:8px 12px;font-size:13px}
.workspace{display:grid;grid-template-columns:1fr 1fr;gap:20px}.workspace-card,.result-card,.workspace-note,.seo-article{background:#fff;border:1px solid var(--cm-border);border-radius:18px;padding:24px}.workspace-top,.result-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.workspace-top h2,.result-top h2{margin:0 0 6px}.workspace-top p{margin:0;color:#777}
#toolUI{margin:24px 0}.field-label{display:block;font-size:14px;font-weight:700;margin:16px 0 8px}input[type=file],select{width:100%;box-sizing:border-box;border:1px solid #dcdce6;border-radius:10px;padding:12px;background:#fff}input[type=range]{width:100%}input[type=color]{width:70px;height:42px;padding:3px;border:1px solid #ddd;border-radius:8px;background:#fff}
.action-row,.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.btn{border:0;border-radius:10px;padding:11px 16px;cursor:pointer;font-weight:700}.btn.primary{background:#6d5dfc;color:#fff}.btn.secondary{background:#f0eff7;color:#333}
.status{min-height:22px;margin-top:15px;font-size:14px}.status.success{color:#137333}.status.error{color:#b42318}.result-empty{min-height:300px;display:grid;place-items:center;text-align:center;color:#777}.result-placeholder{padding:25px}.result-icon{font-size:30px;margin-bottom:10px}.preview-image{max-width:100%;max-height:520px;display:block;margin:0 auto;border-radius:10px}.result-text{width:100%;min-height:320px;box-sizing:border-box;border:1px solid #ddd;border-radius:10px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.frame-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px}.frame-item{border:1px solid #e4e4eb;border-radius:12px;padding:10px;background:#fafafe}.frame-item img{width:100%;height:130px;object-fit:contain;display:block;margin-bottom:8px;background:#fff}
.workspace-note{display:flex;gap:12px;margin:20px 0;color:#666}.workspace-note p{margin:4px 0}.seo-article{margin-top:20px}.seo-article h2{margin-top:25px}.seo-article a{color:#6d5dfc}.related-chips{display:flex;gap:8px;flex-wrap:wrap}.related-chip{padding:8px 12px;border:1px solid #ddd;border-radius:999px;text-decoration:none}
.site-footer{background:#fff;border-top:1px solid var(--cm-border);padding:35px 0}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:25px}.footer-main a{display:block;margin:7px 0;color:#666;text-decoration:none}.footer-main h3{margin-top:0}.footer-brand p{color:#666}.footer-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:25px;padding-top:20px;border-top:1px solid #eee;color:#777;font-size:13px}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.tool-heading{display:block}.tool-heading h1{font-size:34px}.nav-links{display:none}.footer-main{grid-template-columns:1fr 1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin:5px 0}}
