*{box-sizing:border-box;padding:0;margin:0}body,html{max-width:100vw;overflow-x:hidden;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)}.main,body,html{min-height:100vh}.main{padding:2rem 1rem;display:flex;align-items:center;justify-content:center}.container{width:100%;max-width:800px;background:white;border-radius:16px;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);padding:3rem}.header{text-align:center;margin-bottom:3rem}.title{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{font-size:1.125rem;color:#6b7280;font-weight:400}.form,.form-section{width:100%}.input-group{margin-bottom:1.5rem}.label{display:block;font-size:1.125rem;font-weight:600;color:#374151;margin-bottom:.75rem}.textarea{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;line-height:1.5;resize:vertical;transition:border-color .2s ease;font-family:inherit}.textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.textarea:disabled{background-color:#f9fafb;cursor:not-allowed}.button{padding:.875rem 2rem;border-radius:12px;font-size:1rem;font-weight:600;border:none;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;min-width:120px}.button:disabled{cursor:not-allowed;opacity:.5}.button.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:white}.button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px rgba(102,126,234,.3)}.button.secondary{background:white;color:#374151;border:2px solid #e5e7eb}.button.secondary:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.error{background:#fef2f2;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #dc2626;font-weight:500}.fields-section{width:100%}.section-header{text-align:center;margin-bottom:2rem}.section-title{font-size:1.875rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.section-subtitle{font-size:1rem;color:#6b7280}.fields-grid{display:grid;grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.field-group{display:flex;flex-direction:column;position:relative}.field-label-container{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.field-label{font-size:.875rem;font-weight:600;color:#374151;margin-bottom:0}.hint-container{position:relative;margin-left:auto;flex-shrink:0}.hint-button{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:50%;border:1px solid #d1d5db;background:#f9fafb;color:#6b7280;font-size:.75rem;font-weight:600;cursor:help;transition:all .2s ease}.hint-button:hover{background:#667eea;color:white;border-color:#667eea;transform:scale(1.1)}.hint-tooltip{position:absolute;top:calc(100% + .5rem);right:0;width:20rem;max-width:300px;background:#1f2937;color:white;padding:.75rem;border-radius:8px;font-size:.875rem;line-height:1.4;z-index:50;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);opacity:0;visibility:hidden;transform:translateY(-.5rem);transition:all .2s ease;pointer-events:none}.hint-tooltip:before{content:"";position:absolute;top:-.25rem;right:.75rem;width:0;height:0;border-left:.25rem solid transparent;border-right:.25rem solid transparent;border-bottom:.25rem solid #1f2937}.hint-container:hover .hint-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.required{color:#dc2626;margin-left:.25rem}.field-input{width:100%;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s ease}.field-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.field-input:disabled{background-color:#f9fafb;cursor:not-allowed}.button-group{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}@media (max-width:768px){.container{padding:2rem 1.5rem;margin:1rem}.title{font-size:2rem}.button-group{flex-direction:column}.button{width:100%}}.citation-display{margin-top:2rem;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.citation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.citation-title{margin:0;font-size:1.25rem;font-weight:600;color:#495057}.copy-button{background:#007bff;color:white;border:none;padding:.5rem 1rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.copy-button:hover{background:#0056b3}.copy-button:active{transform:translateY(1px)}.citation-content{font-family:Times New Roman,Times,serif;font-size:1rem;line-height:1.6;color:#212529;padding:1rem;background:white;border:1px solid #e9ecef;border-radius:4px;word-wrap:break-word;overflow-wrap:break-word}.citation-content em{font-style:italic;font-weight:400}@media (max-width:480px){.main{padding:1rem .5rem}.container{padding:1.5rem 1rem;margin:.5rem}.title{font-size:1.75rem}.citation-header{flex-direction:column;align-items:stretch}.copy-button{width:100%;margin-top:.5rem}.citation-content{font-size:.9rem;padding:.75rem}}