.logo-tool{max-width:1140px;margin:0 auto;padding:16px;color:#1e293b;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-sizing:border-box}.logo-tool *{box-sizing:border-box}.logo-header{text-align:center;margin-bottom:24px}.logo-header h2{font-size:1.75rem;font-weight:800;color:#0f172a;margin:0 0 8px}.logo-header p{font-size:.95rem;color:#64748b;margin:0}.logo-inputs-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin-bottom:24px;box-shadow:0 4px 12px #0000000a}.input-row{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:16px}@media(min-width:640px){.input-row{grid-template-columns:2fr 1fr}}.input-group{display:flex;flex-direction:column;gap:6px}.input-label{font-size:.85rem;font-weight:600;color:#334155;display:flex;justify-content:space-between;align-items:center}.input-counter{font-size:.75rem;font-weight:400;color:#94a3b8}.text-input{width:100%;height:44px;padding:8px 14px;font-size:1rem;border:1.5px solid #cbd5e1;border-radius:8px;outline:none;transition:border-color .15s,box-shadow .15s}.text-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.initials-controls{display:flex;gap:8px;align-items:center}.mode-toggle{display:inline-flex;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden;height:44px}.mode-btn{border:none;background:#f8fafc;padding:0 12px;font-size:.85rem;font-weight:600;color:#64748b;cursor:pointer;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}.mode-btn.active{background:#2563eb;color:#fff}.icon-section{margin-top:16px;margin-bottom:16px}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:8px;max-height:168px;overflow-y:auto;padding:6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.icon-btn{width:100%;aspect-ratio:1;min-height:44px;border:1.5px solid transparent;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:6px;transition:all .15s}.icon-btn:hover{background:#f1f5f9;border-color:#94a3b8}.icon-btn.active{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px #2563eb33}.icon-btn img,.icon-btn svg{width:28px;height:28px;color:#1e293b}.palette-section{margin-top:16px}.palettes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin-bottom:12px}.palette-btn{border:1.5px solid #e2e8f0;background:#fff;border-radius:8px;padding:6px 8px;display:flex;align-items:center;gap:6px;cursor:pointer;min-height:44px;transition:all .15s}.palette-btn:hover{border-color:#94a3b8}.palette-btn.active{border-color:#2563eb;background:#eff6ff}.palette-swatches{display:flex;gap:3px}.palette-dot{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.15)}.palette-name{font-size:.75rem;font-weight:500;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-colors-row{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:10px}.color-picker-item{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#475569}.color-input{width:44px;height:44px;padding:2px;border:1px solid #cbd5e1;border-radius:6px;cursor:pointer;background:none}.bg-options-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;padding-top:12px;border-top:1px dashed #e2e8f0}.radio-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:20px;border:1px solid #cbd5e1;background:#fff;font-size:.85rem;font-weight:500;cursor:pointer;min-height:44px}.radio-chip input{margin:0;cursor:pointer}.radio-chip.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.logo-workspace{display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:32px}@media(min-width:860px){.logo-workspace{grid-template-columns:1fr 1fr;align-items:start}}.preview-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 12px #0000000a}.preview-canvas-container{width:100%;max-width:440px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:12px;overflow:hidden;position:relative;background-image:linear-gradient(45deg,#f1f5f9 25%,transparent 25%),linear-gradient(-45deg,#f1f5f9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f1f5f9 75%),linear-gradient(-45deg,transparent 75%,#f1f5f9 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px;background-color:#fff;border:1px solid #e2e8f0}.preview-canvas{width:100%;height:100%;object-fit:contain;display:block}.preview-badge-row{margin-top:10px;display:flex;gap:8px;align-items:center}.style-badge{font-size:.75rem;font-weight:600;color:#475569;background:#f1f5f9;padding:4px 10px;border-radius:12px}.export-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;box-shadow:0 4px 12px #0000000a;display:flex;flex-direction:column;gap:16px}.export-panel h3{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.export-grid{display:grid;grid-template-columns:1fr;gap:10px}@media(min-width:480px){.export-grid{grid-template-columns:1fr 1fr}}.export-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 16px;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;border:1.5px solid transparent;transition:all .15s}.export-btn-primary{background:#2563eb;color:#fff}.export-btn-primary:hover{background:#1d4ed8}.export-btn-secondary{background:#f8fafc;color:#334155;border-color:#cbd5e1}.export-btn-secondary:hover{background:#f1f5f9;border-color:#94a3b8}.export-btn-zip{background:#059669;color:#fff;grid-column:1 / -1;font-size:.95rem}.export-btn-zip:hover{background:#047857}.export-btn:disabled{opacity:.6;cursor:not-allowed}.gallery-section{margin-top:32px}.gallery-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:12px}.gallery-header h3{font-size:1.25rem;font-weight:800;color:#0f172a;margin:0}.gallery-count{font-size:.85rem;color:#64748b;font-weight:500}.gallery-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:480px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:768px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}@media(min-width:1024px){.gallery-grid{grid-template-columns:repeat(4,1fr)}}.gallery-card{background:#fff;border:2px solid #e2e8f0;border-radius:14px;padding:12px;display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:all .15s ease;position:relative}.gallery-card:hover{border-color:#94a3b8;transform:translateY(-2px);box-shadow:0 6px 16px #0000000f}.gallery-card.selected{border-color:#2563eb;background:#f8faff;box-shadow:0 0 0 3px #2563eb26}.gallery-thumb-wrap{width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#0f172a;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.gallery-thumb-canvas{width:100%;height:100%;object-fit:contain;display:block}.gallery-card-name{font-size:.85rem;font-weight:700;color:#1e293b;text-align:center;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.gallery-card-action{font-size:.75rem;font-weight:600;color:#2563eb;background:#eff6ff;border:none;padding:4px 10px;border-radius:6px;margin-top:4px;min-height:28px}.history-section{margin-top:32px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.history-grid{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}.history-item{flex:0 0 80px;cursor:pointer;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;transition:transform .15s}.history-item:hover{transform:scale(1.05)}.history-item img{width:80px;height:80px;object-fit:cover;display:block}
