*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f7f7f5;min-height:100vh;color:#2f2f2f;line-height:1.5}.header{background:#fff;border-bottom:1px solid #e6e6e4;padding:16px 24px;position:-webkit-sticky;position:sticky;top:0;z-index:100;justify-content:space-between}.header,.logo{display:flex;align-items:center}.logo{font-size:18px;font-weight:600;color:#2f2f2f;gap:8px;text-decoration:none}.auth-status{display:flex;align-items:center;gap:12px}.auth-link{color:#667eea;text-decoration:none;font-size:14px;font-weight:500;padding:8px 16px;border:1px solid #e2e8f0;border-radius:6px;transition:all .2s ease}.auth-link:hover{background:#f7fafc;border-color:#667eea}.user-menu{display:flex;align-items:center;gap:12px;font-size:14px}.user-email{color:#656565}.dashboard-link{color:#667eea;text-decoration:none;font-weight:500;padding:6px 12px;border:1px solid #e2e8f0;border-radius:4px;transition:all .2s ease}.dashboard-link:hover{background:#f7fafc;border-color:#667eea}.container{max-width:1200px;margin:0 auto;padding:32px 24px}.hero{text-align:center;margin-bottom:32px}.main-title{font-size:32px;font-weight:600;margin-bottom:8px;color:#2f2f2f}.subtitle{font-size:16px;margin-bottom:16px;color:#656565;max-width:500px;margin-left:auto;margin-right:auto}.example-hint{background:#f0f0ee;color:#525252;padding:8px 16px;border-radius:8px;font-size:14px;margin-bottom:32px;border:1px solid #e6e6e4;display:inline-block}.main-content{display:grid;grid-template-columns:400px 1fr;grid-gap:32px;gap:32px;align-items:start}.input-section{background:#fff;border-radius:8px;border:1px solid #e6e6e4;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:box-shadow .2s ease}.input-section:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}.input-header{padding:16px 20px;border-bottom:1px solid #e6e6e4;background:#fafaf9;font-weight:500;color:#2f2f2f;display:flex;justify-content:space-between;align-items:center;font-size:14px}.char-count{font-size:12px;color:#8e8e93;font-weight:400}.prompt-input{width:100%;height:160px;padding:20px;border:none;outline:none;font-family:inherit;font-size:14px;resize:vertical;line-height:1.6;background:#fff;color:#2f2f2f}.prompt-input::placeholder{color:#a8a8a3}.button-container{padding:16px 20px;background:#fafaf9;border-top:1px solid #e6e6e4}.analyze-button{background:linear-gradient(135deg,#2f2f2f,#1a1a1a);color:#fff;border:none;padding:12px 20px;border-radius:6px;font-weight:500;font-size:14px;cursor:pointer;transition:all .2s ease;width:100%;box-shadow:0 2px 4px rgba(0,0,0,.1)}.analyze-button:hover:not(:disabled){background:linear-gradient(135deg,#1a1a1a,#0f0f0f);transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.analyze-button:disabled{opacity:.6;cursor:not-allowed}.feedback-section{background:#fff;border-radius:8px;border:1px solid #e6e6e4;overflow:hidden;opacity:0;transform:translateY(10px);transition:all .3s ease;box-shadow:0 4px 12px rgba(0,0,0,.05)}.feedback-section.show{opacity:1;transform:translateY(0)}.feedback-header{padding:16px 20px;border-bottom:1px solid #e6e6e4;background:#fafaf9;font-weight:500;color:#2f2f2f;font-size:14px}.tabs-container{background:#fff}.tab-headers{display:flex;border-bottom:1px solid #e6e6e4;background:#fafaf9}.tab-header{flex:1 1;padding:12px 16px;background:transparent;cursor:pointer;font-size:13px;font-weight:500;color:#656565;border:none;border-bottom:2px solid transparent;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:6px}.tab-header:hover{color:#2f2f2f;background:#f0f0ee}.tab-header.active{color:#2f2f2f;border-bottom-color:#2f2f2f;background:#fff}.tab-content{display:none;padding:20px;min-height:200px}.tab-content.active{display:block}.tab-content h3{font-size:16px;font-weight:600;color:#2f2f2f}.analysis-summary,.tab-content h3{margin-bottom:16px}.summary-good,.summary-needs-work{display:flex;align-items:flex-start;padding:12px 16px;border-radius:6px;font-size:14px;line-height:1.5}.summary-good{background:#f0f9ff;border:1px solid #bfdbfe;color:#1e40af}.summary-needs-work{background:#fef3c7;border:1px solid #fbbf24;color:#92400e}.summary-icon{margin-right:10px;margin-top:2px;font-size:16px;flex-shrink:0}.issues-list,.questions-list{display:flex;flex-direction:column;gap:12px}.issue-item,.question-item{display:flex;align-items:flex-start;padding:12px 16px;border-radius:6px;font-size:14px;line-height:1.5;border-left:3px solid;transition:all .2s ease}.issue-item{background:#fef7f7;border-left-color:#dc2626;color:#7f1d1d}.question-item{background:#fffbeb;border-left-color:#f59e0b;color:#92400e}.item-icon{margin-right:10px;margin-top:2px;font-size:16px;flex-shrink:0}.no-issues,.no-suggestions{display:flex;align-items:flex-start;padding:16px;border-radius:6px;font-size:14px;line-height:1.5;background:#f0f9ff;border:1px solid #bfdbfe;color:#1e40af}.prompt-versions{display:flex;flex-direction:column;gap:20px}.prompt-version{border:1px solid #e6e6e4;border-radius:8px;overflow:hidden;background:#fff}.version-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafaf9;border-bottom:1px solid #e6e6e4}.version-header h4{font-size:14px;font-weight:600;margin:0;color:#2f2f2f}.version-prompt{padding:16px;font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:13px;line-height:1.5;background:#fff;color:#2f2f2f;white-space:pre-line;max-height:200px;overflow-y:auto;border-bottom:1px solid #e6e6e4}.action-buttons{display:flex;gap:0}.copy-version-button{background:linear-gradient(135deg,#2f2f2f,#1a1a1a);color:#fff;border:none;padding:10px 16px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:13px;flex:1 1;border-radius:0}.copy-version-button:hover{background:linear-gradient(135deg,#1a1a1a,#0f0f0f)}.save-prompt-button{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;padding:10px 16px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:13px;flex:1 1;border-radius:0;border:none;border-left:1px solid hsla(0,0%,100%,.2)}.save-prompt-button:hover{background:linear-gradient(135deg,#15803d,#166534)}.try-another-section{margin-top:20px;padding-top:20px;border-top:1px solid #e6e6e4;text-align:center}.optimize-another-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:14px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.optimize-another-button:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.editing-encouragement{display:flex;align-items:flex-start;gap:12px;margin-top:24px;padding:16px;background:linear-gradient(135deg,#f0f9ff,#ecfdf5);border-radius:8px;border:1px solid #bfdbfe;border-left:4px solid #2563eb}.encouragement-icon{font-size:20px;flex-shrink:0;margin-top:2px}.encouragement-text{font-size:14px;line-height:1.5;color:#1e40af}.encouragement-text strong{color:#1d4ed8}.loading{text-align:center;padding:40px 20px;color:#8e8e93}.spinner{width:20px;height:20px;border:2px solid #e6e6e4;border-top-color:#2f2f2f;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 12px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.footer{text-align:center;padding:32px 20px;color:#8e8e93;font-size:13px}.simple-issues-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.simple-issue-item{border:1px solid #e2e8f0;border-left:3px solid #f56565}.simple-issue-item,.simple-question-item{display:flex;align-items:flex-start;padding:10px 12px;background:#fff;border-radius:4px}.simple-question-item{border:1px solid #e2e8f0;border-left:3px solid #ed8936}.issue-bullet{color:#f56565;font-weight:500}.issue-bullet,.question-icon{margin-right:10px;margin-top:2px;flex-shrink:0}.issue-text,.question-text{font-size:14px;line-height:1.5;color:#2d3748}.no-issues-simple,.no-questions-simple{display:flex;align-items:flex-start;padding:12px;background:#f7fafc;border-radius:4px;border:1px solid #e2e8f0;border-left:3px solid #48bb78}.simple-questions-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.issues-section h4{font-size:16px;font-weight:600;margin-bottom:8px;color:#2d3748;display:flex;align-items:center;gap:8px}@media (max-width:968px){.main-content{grid-template-columns:1fr;gap:24px}.container{padding:24px 16px}.main-title{font-size:28px}.tab-header{font-size:12px;padding:10px 12px}.action-buttons{flex-direction:column}.save-prompt-button{border-left:none;border-top:1px solid hsla(0,0%,100%,.2)}}