:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#1f2937;background-color:#f5f7fb;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f8fbff,#eef2ff)}#root{min-height:100vh}.page-shell{width:min(760px,92%);margin:0 auto;padding:2rem 0 3rem}.page-header{text-align:center;margin-bottom:1rem}.page-header h1{margin:0;color:#1d4ed8;font-size:2.2rem}.page-header p{margin-top:.4rem;color:#4b5563}.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:1.25rem;box-shadow:0 10px 25px #1e40af12;margin-bottom:1rem}label{display:block;margin-top:.85rem;margin-bottom:.35rem;font-weight:600}input,textarea,select,button{width:100%;font:inherit}input,textarea,select{border:1px solid #d1d5db;border-radius:10px;padding:.65rem .75rem;background:#fff}button{margin-top:1rem;border:none;border-radius:10px;padding:.75rem .9rem;background-color:#2563eb;color:#fff;font-weight:700;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.7}.story-sections{display:grid;gap:.8rem}.story-section{border:1px solid #e5e7eb;border-radius:10px;padding:.85rem;background:#f9faff}.story-section h3{margin:0 0 .35rem;color:#1e3a8a;font-size:1rem}.story-section p{margin:0}.loading-text{margin:0;color:#1e3a8a;font-weight:600}.error-card{border-color:#fecaca;background:#fff1f2}.error-text{color:#b91c1c;margin-top:.75rem;margin-bottom:0}@media(max-width:640px){.page-header h1{font-size:1.9rem}.card{padding:1rem}}
