*,:after,:before{box-sizing:border-box}body,html{margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Apple SD Gothic Neo,sans-serif;background:#f3f4f6;color:#111827}.app-shell,body{min-height:100vh}.app-shell{display:flex;flex-direction:column}.app-nav{background:#fff;border-bottom:1px solid #e5e7eb;padding:0 24px;height:56px;justify-content:space-between;position:-webkit-sticky;position:sticky;top:0;z-index:50}.app-nav,.app-nav-brand{display:flex;align-items:center}.app-nav-brand{font-size:15px;font-weight:700;color:#ef4444;text-decoration:none;gap:6px}.app-nav-links{display:flex;align-items:center;gap:4px}.app-nav-link{font-size:13px;color:#374151;text-decoration:none;padding:6px 12px;border-radius:8px;transition:background .15s}.app-nav-link:hover{background:#f3f4f6}.app-main{flex:1 1;display:flex;justify-content:center;align-items:flex-start;padding:32px 16px 48px}.app-card{width:100%;max-width:900px;background:#fff;border-radius:20px;box-shadow:0 4px 24px rgba(0,0,0,.07);padding:36px 40px 32px}.app-card-sm{max-width:540px}.app-card-header{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:28px;text-align:center}.app-icon-circle{width:64px;height:64px;border-radius:999px;background:#fef2f2;display:flex;align-items:center;justify-content:center;font-size:28px}.app-title{font-size:22px;font-weight:700;margin:0}.app-subtitle{font-size:14px;color:#6b7280;margin:0}.app-steps{text-align:left;background:#f9fafb;border-radius:14px;padding:16px 20px;font-size:13px;color:#4b5563;margin-bottom:24px}.app-steps-title{font-weight:600;margin-bottom:8px;color:#111827}.app-steps-list{margin:0;padding-left:18px;line-height:1.7}.app-primary-btn{width:100%;border:none;border-radius:12px;background:#ef4444;color:#fff;font-size:14px;font-weight:600;padding:13px 16px;cursor:pointer;transition:background .15s;margin-top:4px}.app-primary-btn:hover:not(:disabled){background:#dc2626}.app-primary-btn:disabled{opacity:.65;cursor:default}.app-secondary-btn{border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#374151;font-size:13px;font-weight:500;padding:9px 14px;cursor:pointer;transition:background .15s}.app-secondary-btn:hover{background:#f9fafb}.app-danger-btn{border:1px solid #fca5a5;border-radius:10px;background:#fff5f5;color:#dc2626;font-size:13px;font-weight:500;padding:9px 14px;cursor:pointer}.app-danger-btn:hover{background:#fee2e2}.copy-btn{border:1px solid #d1d5db;border-radius:8px;background:#f9fafb;color:#6b7280;font-size:11px;padding:4px 10px;cursor:pointer;white-space:nowrap}.copy-btn:hover{background:#f3f4f6;color:#374151}.app-link-row{margin-top:14px;font-size:12px;color:#9ca3af;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.app-link-row a{color:#2563eb;text-decoration:none}.app-link-row a:hover{text-decoration:underline}.form-field{text-align:left;margin-bottom:16px}.form-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;margin-bottom:6px;color:#374151}.form-input,.form-textarea{width:100%;border-radius:10px;border:1px solid #e5e7eb;padding:10px 12px;font-size:13px;color:#111827;outline:none;transition:border-color .15s;font-family:inherit}.form-input:focus,.form-textarea:focus{border-color:#f87171}.form-textarea{resize:vertical;min-height:100px;line-height:1.6}.form-help{font-size:11px;color:#9ca3af;margin-top:4px}.error-text{color:#dc2626;background:#fef2f2}.error-text,.success-text{font-size:12px;padding:8px 12px;border-radius:8px;margin-top:6px}.success-text{color:#16a34a;background:#f0fdf4}.warn-text{font-size:12px;color:#d97706;padding:8px 12px;background:#fffbeb;border-radius:8px;margin-top:6px}.receipt-box{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;padding:16px 18px;margin-bottom:20px;text-align:left}.receipt-box-title{font-size:11px;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px}.receipt-row{display:flex;gap:8px;font-size:13px;margin-bottom:4px;align-items:flex-start}.receipt-label{color:#9ca3af;min-width:56px;font-size:12px;padding-top:1px}.receipt-value{color:#111827;font-weight:500;flex:1 1}.preview-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px;margin-bottom:24px}.preview-section{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}.preview-section-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.preview-section-title{font-size:12px;font-weight:700;color:#374151}.preview-body{padding:14px;font-size:13px;line-height:1.7;color:#374151;white-space:pre-wrap;word-break:break-word;min-height:120px}.preview-title{font-size:14px;font-weight:700;color:#111827;margin-bottom:10px}.preview-hashtags{margin-top:10px;font-size:12px;color:#6366f1;line-height:1.6;padding-top:10px;border-top:1px solid #e5e7eb}.file-preview-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));grid-gap:10px;gap:10px;margin-top:12px}.file-preview-item{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1;background:#f3f4f6}.file-preview-item img{width:100%;height:100%;object-fit:cover}.file-preview-badge{position:absolute;bottom:4px;left:4px;font-size:9px;padding:2px 6px;border-radius:5px;font-weight:700}.badge-receipt{background:hsla(48,97%,77%,.9);color:#92400e}.badge-image{background:rgba(191,219,254,.9);color:#1e40af}.file-remove-btn{right:4px;width:18px;height:18px;border-radius:999px;border:none;background:rgba(0,0,0,.55);color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center}.file-remove-btn,.receipt-toggle-btn{position:absolute;top:4px;cursor:pointer}.receipt-toggle-btn{left:4px;font-size:9px;padding:2px 6px;border-radius:5px;border:none;font-weight:700}.draft-list{display:flex;flex-direction:column;gap:10px}.draft-card{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border:1px solid #e5e7eb;border-radius:14px;text-decoration:none;color:inherit;transition:border-color .15s,background .15s;background:#fff}.draft-card:hover{border-color:#fca5a5;background:#fff5f5}.draft-card-title{font-size:14px;font-weight:600;color:#111827;margin-bottom:3px}.draft-card-meta{font-size:12px;color:#9ca3af}.connect-card{border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin-bottom:14px}.connect-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.connect-platform{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700}.platform-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px}.platform-naver{background:#03c75a;color:#fff}.platform-instagram{background:linear-gradient(135deg,#f09433,#dc2743,#bc1888);color:#fff}.connect-status{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px}.status-connected{background:#dcfce7;color:#16a34a}.status-disconnected{background:#f3f4f6;color:#9ca3af}.divider{border:none;border-top:1px solid #e5e7eb;margin:24px 0}.two-column{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}@media (max-width:720px){.app-card{padding:24px 18px;border-radius:16px}.preview-grid,.two-column{grid-template-columns:1fr}.app-nav{padding:0 14px}}