:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box;color:inherit}html,body,#root{min-height:100%;height:100%}body{color:#2c3e50;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);background-attachment:fixed}.app-container{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:2rem 1rem;overflow-y:auto}.app-inner{display:flex;flex-direction:column;align-items:center;width:100%;gap:1.5rem}.progress-bar-wrapper{display:flex;align-items:center;justify-content:center;width:100%;max-width:600px;gap:0}.progress-step{display:flex;flex-direction:column;align-items:center;position:relative;flex:1}.progress-circle{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;z-index:1;transition:background-color .3s ease,color .3s ease}.progress-circle.pending{background-color:#dce3ec;color:#8a9ab0}.progress-circle.active{background-color:#3498db;color:#fff;box-shadow:0 0 0 4px #3498db33}.progress-circle.complete{background-color:#27ae60;color:#fff}.progress-label{font-size:.7rem;color:#8a9ab0;margin-top:6px;text-align:center;white-space:nowrap}.progress-label.label-active{color:#3498db;font-weight:600}.progress-line{position:absolute;top:16px;left:calc(50% + 16px);right:calc(-50% + 16px);height:2px;background-color:#dce3ec;transition:background-color .3s ease;z-index:0}.progress-line.line-complete{background-color:#27ae60}.api-error-box{background-color:#fff3cd;border-left:4px solid #f0a500;color:#7d5a00;padding:.85rem 1rem;border-radius:6px;margin-bottom:1.25rem;font-size:.95rem;font-weight:500}.form-container{color:#2c3e50;background:#fff;border-radius:12px;padding:2rem;box-shadow:0 10px 40px #0000001a;animation:slideIn .3s ease-in-out;width:100%;max-width:100%;margin:.5rem}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.user-form{max-width:600px;width:100%}.writing-form{max-width:800px;width:100%}.form-title{font-size:1.5rem;color:#2c3e50;margin-bottom:1.5rem;text-align:center;font-weight:600;display:block}.form-group{margin-bottom:1.25rem;display:flex;flex-direction:column;gap:.45rem}.form-label{font-size:1rem;color:#1f3b5f;font-weight:600;display:block}.form-input{background-color:#fff;color:#000;padding:.6rem .75rem;font-size:.95rem;border:2px solid #c3d0e1;border-radius:10px;transition:all .25s ease;font-family:inherit;width:100%}.form-input:focus{background-color:#fff;color:#000;outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.form-input:disabled{background-color:#ecf0f1;cursor:not-allowed;color:#95a5a6}.form-textarea{background-color:#fff;color:#000;padding:.75rem;font-size:.95rem;border:2px solid #bdc3c7;border-radius:8px;font-family:inherit;resize:vertical;transition:all .3s ease;width:100%;margin:.75rem 0}.form-textarea:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a;background-color:#f8f9ff}.form-textarea:disabled{background-color:#ecf0f1;cursor:not-allowed;color:#95a5a6}.writing-instruction{color:#555;margin-bottom:1rem;font-size:1rem}.form-subtext{font-size:.95rem;color:#444;margin-bottom:.75rem;line-height:1.5}.error-box{background-color:#ffe6e6;border-left:4px solid #e74c3c;padding:1rem;border-radius:6px;margin-bottom:1.5rem}.error-item{color:#c0392b;margin:.5rem 0;font-size:.95rem}.warning-text{color:#d32f2f;font-weight:600;margin-bottom:1rem;padding:.75rem;background-color:#ffebee;border-radius:6px;font-size:1rem}.timer{display:flex;justify-content:center;align-items:center;font-size:1rem;font-weight:600;color:#2c3e50;margin:1rem 0;padding:.75rem;background-color:#ecf0f1;border-radius:8px;transition:background-color .3s ease,color .3s ease}.timer-low{background-color:#ffe6e6;color:#c0392b}.timer-value{color:#3498db;font-size:1.2rem;margin:0 .5rem;font-weight:700}.timer-low .timer-value{color:#e74c3c}.btn{padding:.75rem 2rem;font-size:1rem;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s ease;width:100%;margin-top:1rem}.btn-primary{background-color:#3498db;color:#fff}.btn-primary:hover:not(:disabled){background-color:#2980b9;transform:translateY(-2px);box-shadow:0 5px 15px #3498db4d}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn:disabled{background-color:#bdc3c7;cursor:not-allowed;opacity:.6}.thank-you-container{text-align:center;background:#fff;border-radius:12px;padding:3rem 2rem;box-shadow:0 10px 40px #0000001a;max-width:600px;width:100%;animation:slideIn .3s ease-in-out}.thank-you-title{font-size:3rem;color:#27ae60;margin-bottom:1.5rem;font-weight:700;animation:bounceIn .6s ease-in-out}@keyframes bounceIn{0%{opacity:0;transform:scale(.8)}50%{opacity:1}to{transform:scale(1)}}.thank-you-message{font-size:1.2rem;color:#34495e;margin-bottom:1rem;line-height:1.6}.thank-you-footer{font-size:1rem;color:#7f8c8d;margin-top:2rem}@media(max-width:768px){.app-container{padding:1rem}.form-container{padding:1.5rem}.form-title{font-size:1.5rem}.thank-you-title{font-size:2.5rem}.btn{padding:.65rem 1.5rem;font-size:.95rem}}@media(max-width:480px){.app-container{padding:.75rem}.form-container{padding:1rem;border-radius:8px}.form-title{font-size:1.3rem;margin-bottom:1rem}.form-group{margin-bottom:1rem}.form-label{font-size:.95rem}.form-input,.form-textarea{font-size:16px}.thank-you-title{font-size:2rem}.thank-you-message,.timer{font-size:1rem}.timer-value{font-size:1.2rem}}
