.tone-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.tone-card{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.6rem .4rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;cursor:pointer;font-family:inherit;transition:all .2s}.tone-card:hover{border-color:#818cf8}.tone-card.active{border-color:#818cf8;background:#818cf81a}.tone-icon{font-size:1.25rem}.tone-label{font-size:.75rem;font-weight:500}.heading-input-row{display:flex;gap:.4rem}.heading-type-select{padding:.55rem .5rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-family:inherit;font-size:.85rem;font-weight:600;outline:none;cursor:pointer;min-width:60px}.heading-input-row input{flex:1;padding:.55rem .75rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-family:inherit;font-size:.9rem;outline:none}.heading-input-row input:focus{border-color:#818cf8}.add-btn{padding:.55rem .85rem;border-radius:8px;border:1px solid #334155;background:#6366f1;color:#fff;font-size:1rem;font-weight:700;font-family:inherit;cursor:pointer;transition:opacity .2s}.add-btn:hover:not(:disabled){opacity:.85}.add-btn:disabled{opacity:.4;cursor:not-allowed}.heading-list{list-style:none;margin-top:.5rem;display:flex;flex-direction:column;gap:.35rem}.heading-item{display:flex;align-items:center;gap:.5rem;padding:.4rem .6rem;background:#0f172a;border-radius:6px;font-size:.85rem}.heading-tag{background:#6366f1;color:#fff;padding:.15rem .45rem;border-radius:4px;font-size:.7rem;font-weight:700;flex-shrink:0}.heading-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-btn{background:none;border:none;color:#ef4444;cursor:pointer;font-size:.85rem;font-weight:600;padding:.15rem .4rem;border-radius:4px;font-family:inherit}.remove-btn:hover{background:#ef444426}.keyword-input-row{display:flex;gap:.4rem}.keyword-input-row input{flex:1;padding:.55rem .75rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-family:inherit;font-size:.9rem;outline:none}.keyword-input-row input:focus{border-color:#818cf8}.keyword-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem}.keyword-tag{display:inline-flex;align-items:center;gap:.3rem;background:#38bdf81f;border:1px solid rgba(56,189,248,.3);color:#38bdf8;padding:.25rem .6rem;border-radius:20px;font-size:.8rem;font-weight:500}.keyword-tag button{background:none;border:none;color:#38bdf8;cursor:pointer;font-size:.8rem;font-weight:700;padding:0;font-family:inherit;opacity:.7}.keyword-tag button:hover{opacity:1}.length-options{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}.length-card{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.6rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;cursor:pointer;font-family:inherit;transition:all .2s}.length-card:hover{border-color:#818cf8}.length-card.active{border-color:#818cf8;background:#818cf81a}.length-label{font-size:.9rem;font-weight:600}.length-desc{font-size:.7rem;color:#64748b}.custom-length{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}.custom-length input{flex:1;padding:.55rem .75rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-family:inherit;font-size:.9rem;outline:none}.custom-length input:focus{border-color:#818cf8}.custom-suffix{color:#64748b;font-size:.85rem;flex-shrink:0}.output-panel{background:#1e293b;border-radius:12px;padding:1.5rem;border:1px solid #334155;min-height:500px}.output-panel.empty{display:flex;align-items:center;justify-content:center}.empty-state{text-align:center;color:#475569}.empty-icon{font-size:3rem;display:block;margin-bottom:1rem}.empty-hint{font-size:.85rem;margin-top:.5rem}.output-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #334155}.output-header h2{font-size:1rem;font-weight:600;color:#94a3b8}.copy-btn{padding:.4rem .85rem;border-radius:6px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-size:.8rem;font-family:inherit;cursor:pointer;transition:all .2s}.copy-btn:hover{border-color:#818cf8;background:#818cf81a}.loading-indicator{display:flex;align-items:center;gap:.75rem;color:#94a3b8;margin-bottom:1rem}.spinner{width:20px;height:20px;border:2px solid #334155;border-top-color:#818cf8;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.article-text{line-height:1.75;font-size:.95rem}.article-text h1{font-size:1.5rem;font-weight:700;margin:1.25rem 0 .75rem;color:#f1f5f9}.article-text h2{font-size:1.25rem;font-weight:600;margin:1rem 0 .6rem;color:#e2e8f0}.article-text h3{font-size:1.1rem;font-weight:600;margin:.85rem 0 .5rem;color:#cbd5e1}.article-text h4{font-size:1rem;font-weight:600;margin:.75rem 0 .4rem;color:#cbd5e1}.article-text p{margin-bottom:.75rem;color:#cbd5e1}.article-text strong{color:#f1f5f9}.app{max-width:1280px;margin:0 auto;padding:2rem 1.5rem}.header{text-align:center;margin-bottom:2.5rem}.header h1{font-size:2rem;font-weight:700;background:linear-gradient(135deg,#38bdf8,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header p{color:#94a3b8;margin-top:.5rem}.main{display:grid;grid-template-columns:400px 1fr;gap:2rem;align-items:start}@media(max-width:900px){.main{grid-template-columns:1fr}}.form-panel{background:#1e293b;border-radius:12px;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem;border:1px solid #334155}.form-group label{display:block;font-size:.85rem;font-weight:600;color:#94a3b8;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.05em}.form-group input[type=text]{width:100%;padding:.65rem .85rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-size:.95rem;font-family:inherit;outline:none;transition:border-color .2s}.form-group input[type=text]:focus{border-color:#818cf8}.generate-btn{width:100%;padding:.75rem;border:none;border-radius:8px;background:linear-gradient(135deg,#6366f1,#818cf8);color:#fff;font-size:1rem;font-weight:600;font-family:inherit;cursor:pointer;transition:opacity .2s,transform .1s}.generate-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.generate-btn:disabled{opacity:.5;cursor:not-allowed}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#0f172a;color:#e2e8f0;min-height:100vh}#root{min-height:100vh}
