body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;background-color:#f9fafb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;line-height:1.5}button,input,textarea{font-size:inherit;min-height:44px}.app-container{display:flex;flex-direction:column;margin:0 auto;max-width:1200px;min-height:100vh;padding:16px}.loading-screen{color:#6b7280;flex-direction:column;gap:1rem;height:100vh}.crisis-modal,.loading-screen{align-items:center;display:flex;justify-content:center}.crisis-modal{background:#000c;bottom:0;left:0;position:fixed;right:0;top:0;z-index:2000}.crisis-modal-content{animation:crisis-appear .3s ease-out;background:#fff;border:3px solid #dc2626;border-radius:12px;box-shadow:0 20px 25px -5px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;padding:2rem;width:90%}@keyframes crisis-appear{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.auth-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.auth-modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-height:80vh;max-width:400px;overflow-y:auto;padding:2rem;width:90%}.auth-modal-content h2{color:#1f2937;font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}.auth-form{display:flex;flex-direction:column;gap:1rem}.auth-input{border:1px solid #d1d5db;border-radius:8px;font-size:1rem;min-height:44px;padding:.75rem;transition:border-color .2s}.auth-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.auth-button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:1rem;font-weight:500;gap:.5rem;justify-content:center;min-height:44px;padding:.75rem 1rem;transition:all .2s}.auth-button.primary{background:#3b82f6;color:#fff}.auth-button.primary:hover{background:#2563eb}.auth-button.secondary{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.auth-button.secondary:hover{background:#e5e7eb}.auth-button.google{background:#4285f4;color:#fff}.auth-button.google:hover{background:#3367d6}.auth-modal input[type=checkbox]{cursor:pointer;flex-shrink:0;height:16px;margin:0;width:16px}.auth-modal input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.header-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.header-top{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.main-title{color:#1f2937;font-size:2.25rem;font-weight:700;margin-bottom:4px}.subtitle{color:#6b7280;font-size:1rem}.header-buttons{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.status-indicator{background:#eff6ff;color:#2563eb}.status-indicator,.status-indicator.phase-indicator{align-items:center;border-radius:8px;display:flex;font-size:.875rem;gap:8px;padding:8px 12px}.status-indicator.phase-indicator{font-weight:500}.status-indicator.phase-initial{background:#f9fafb;color:#6b7280}.status-indicator.phase-games-identified{background:#eff6ff;color:#2563eb}.status-indicator.phase-games-prioritized{background:#fff7ed;color:#ea580c}.status-indicator.phase-game-selected{background:#faf5ff;color:#7c3aed}.status-indicator.phase-rules-analysis{background:#eff6ff;color:#2563eb}.status-indicator.phase-choices-mapped{background:#f0fdf4;color:#16a34a}.status-indicator.phase-action-planning{background:#fef2f2;color:#dc2626}.auth-status,.user-menu{align-items:center;display:flex;gap:.5rem}.user-menu{background:#f3f4f6;border-radius:8px;font-size:.875rem;padding:.5rem 1rem}.user-email{color:#374151;font-weight:500}.login-button{align-items:center;background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;min-height:44px;padding:.5rem 1rem;transition:background .2s}.login-button:hover{background:#2563eb}.logout-button{align-items:center;background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;min-height:36px;min-width:36px;padding:.25rem;transition:background .2s}.logout-button:hover{background:#dc2626}.saved-sessions-button{align-items:center;background:#10b981;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;min-height:44px;padding:.5rem 1rem;transition:background .2s}.saved-sessions-button:hover{background:#059669}.saved-sessions-list{margin-bottom:1rem;max-height:400px;overflow-y:auto}.saved-session-item{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:1rem}.session-info h4{color:#1f2937;font-size:.875rem;font-weight:500;margin:0 0 .25rem}.session-info p{color:#6b7280;font-size:.75rem;margin:0}.session-actions{display:flex;gap:.5rem}.load-button{background:#3b82f6;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.75rem;min-height:32px;padding:.25rem .5rem;transition:background .2s}.load-button:hover{background:#2563eb}.delete-button{background:#ef4444;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.75rem;min-height:32px;padding:.25rem .5rem;transition:background .2s}.delete-button:hover{background:#dc2626}.save-options{display:flex;gap:.5rem}.save-button{align-items:center;background:#f3f4f6;border:none;border-radius:8px;color:#8b5cf6;cursor:pointer;display:flex;font-size:.875rem;gap:8px;min-height:44px;padding:8px 12px;transition:background-color .2s}.save-button:hover{background:#e5e7eb}.new-session-button{align-items:center;background:#f3f4f6;border:none;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:.875rem;gap:8px;min-height:44px;padding:8px 12px;transition:background-color .2s}.new-session-button:hover{background:#e5e7eb}.progress-container{gap:12px;justify-content:center;margin-bottom:16px}.progress-circle,.progress-container,.progress-item{align-items:center;display:flex}.progress-circle{background-color:#d1d5db;border-radius:50%;color:#fff;font-weight:700;height:40px;justify-content:center;transition:background-color .3s ease;width:40px}.progress-circle.active{background-color:#2563eb}.progress-line{background-color:#d1d5db;height:2px;margin:0 8px;width:32px}.progress-labels{color:#6b7280;display:flex;font-size:.75rem;gap:8px;justify-content:space-between;margin-bottom:16px}.progress-labels span{flex:1 1;font-size:.7rem;text-align:center}.progress-labels span.active{color:#2563eb;font-weight:600}.rule-reference{border-top:1px solid #e5e7eb;padding-top:16px}.reference-toggle{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:flex;font-size:.875rem;gap:8px;min-height:44px;transition:color .2s}.reference-toggle:hover{color:#374151}.reference-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:12px}.reference-card{border:1px solid;border-radius:8px;padding:12px}.reference-card.gray{background:#f9fafb;border-color:#d1d5db}.reference-card.gray .reference-title{color:#374151}.reference-card.gray .reference-text{color:#6b7280}.reference-card.yellow{background:#fffbeb;border-color:#fed7aa}.reference-card.yellow .reference-title{color:#92400e}.reference-card.yellow .reference-text{color:#b45309}.reference-card.blue{background:#eff6ff;border-color:#bfdbfe}.reference-card.blue .reference-title{color:#1e40af}.reference-card.blue .reference-text{color:#1d4ed8}.reference-card.green{background:#f0fdf4;border-color:#bbf7d0}.reference-card.green .reference-title{color:#166534}.reference-card.green .reference-text{color:#15803d}.reference-card.red{background:#fef2f2;border-color:#fecaca}.reference-card.red .reference-title{color:#991b1b}.reference-card.red .reference-text{color:#dc2626}.reference-card.orange{background:#fff7ed;border-color:#fed7aa}.reference-card.orange .reference-title{color:#ea580c}.reference-card.orange .reference-text{color:#c2410c}.reference-card.purple{background:#faf5ff;border-color:#d8b4fe}.reference-card.purple .reference-title{color:#7c3aed}.reference-card.purple .reference-text{color:#6d28d9}.reference-title{font-size:.875rem;font-weight:500;margin-bottom:4px}.reference-text{font-size:.75rem}.system-priority-1{background:#fef2f2;border-left:4px solid #dc2626}.system-priority-1,.system-priority-2{border-radius:0 6px 6px 0;margin:4px 0;padding:8px 12px}.system-priority-2{background:#fff7ed;border-left:4px solid #ea580c}.system-priority-3{background:#fefce8;border-left:4px solid #eab308;border-radius:0 6px 6px 0;margin:4px 0;padding:8px 12px}.chat-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;flex:1 1;flex-direction:column;height:600px}.messages-area{display:flex;flex:1 1;flex-direction:column;gap:20px;overflow-y:auto;padding:20px}.message{display:flex;width:100%}.message.user{justify-content:flex-end}.message.assistant{justify-content:flex-start}.message-content{align-items:flex-start;display:flex;gap:12px;max-width:80%}.message.user .message-content{flex-direction:row-reverse}.message-avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.message.user .message-avatar{background:#2563eb;color:#fff}.message.assistant .message-avatar{background:#f3f4f6;color:#6b7280}.message-bubble{word-wrap:break-word;border-radius:12px;min-width:0;padding:16px}.message.user .message-bubble{background:#2563eb;color:#fff}.message.assistant .message-bubble{color:#374151}.message-bubble.loading,.message.assistant .message-bubble{background:#f9fafb;border:1px solid #e5e7eb}.message-header{flex-wrap:wrap;gap:8px;margin-bottom:8px}.message-header,.rule-badge{align-items:center;display:flex}.rule-badge{border-radius:6px;font-size:.75rem;font-weight:500;gap:4px;padding:4px 8px}.rule-badge.phase-initial{background:#f9fafb;color:#6b7280}.rule-badge.phase-identified{background:#eff6ff;color:#2563eb}.rule-badge.phase-prioritized{background:#fff7ed;color:#ea580c}.rule-badge.phase-selected{background:#faf5ff;color:#7c3aed}.message-timestamp{font-size:.75rem;opacity:.7}.message-text{line-height:1.6;white-space:pre-line}.loading-content{align-items:center;color:#6b7280;display:flex;gap:8px}.loading-content.analyzing,.loading-content.analyzing .animate-spin{color:#7c3aed}.message-bubble .phase-badge{align-items:center;border-radius:4px;display:inline-flex;font-size:.7rem;font-weight:500;gap:4px;margin-right:8px;padding:2px 6px}.input-area{border-top:1px solid #e5e7eb;padding:20px}.sample-prompts{margin-bottom:16px}.sample-prompts-title{color:#6b7280;font-size:.875rem;margin-bottom:8px}.sample-prompts-grid{display:flex;flex-wrap:wrap;gap:8px}.sample-prompt-button{background:#eff6ff;border:none;border-radius:20px;color:#1d4ed8;cursor:pointer;font-size:.75rem;min-height:36px;padding:8px 12px;text-align:center;transition:background-color .2s}.sample-prompt-button:hover{background:#dbeafe}.input-controls{align-items:flex-end;display:flex;gap:12px}.message-input{-webkit-appearance:none;border:1px solid #d1d5db;border-radius:8px;flex:1 1;font-family:inherit;font-size:1rem;line-height:1.5;min-height:44px;padding:12px;resize:none;transition:border-color .2s,box-shadow .2s}.message-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a;outline:none}.send-button{align-items:center;background:#2563eb;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-weight:500;gap:8px;height:-webkit-fit-content;height:fit-content;justify-content:center;min-height:44px;min-width:44px;padding:12px 16px;transition:background-color .2s}.send-button:hover:not(:disabled){background:#1d4ed8}.send-button:disabled{cursor:not-allowed;opacity:.5}.footer{color:#6b7280;font-size:.875rem;margin-top:16px;padding:12px;text-align:center}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.messages-area::-webkit-scrollbar{width:6px}.messages-area::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.messages-area::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.messages-area::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width:768px){.app-container{padding:8px}.main-title{font-size:1.5rem}.subtitle{font-size:.875rem}.header-top{align-items:flex-start;flex-direction:column;gap:12px}.header-buttons{flex-wrap:wrap;gap:8px;justify-content:flex-start;width:100%}.save-options{flex-direction:column;gap:.5rem;width:100%}.user-menu{justify-content:center}.header-card{padding:16px}.progress-container{gap:8px;margin-bottom:12px}.progress-circle{font-size:.875rem;height:32px;width:32px}.progress-line{height:2px;width:16px}.progress-labels{font-size:.65rem;gap:4px}.progress-labels span{font-size:.6rem}.reference-grid{gap:8px;grid-template-columns:1fr}.reference-card{padding:10px}.reference-title{font-size:.8rem}.reference-text{font-size:.7rem}.chat-container{height:60vh;min-height:400px}.messages-area{gap:16px;padding:12px}.message-content{max-width:95%}.message-bubble{font-size:.9rem;line-height:1.5;padding:12px}.message-header{margin-bottom:6px}.rule-badge{padding:3px 6px}.message-timestamp,.rule-badge{font-size:.7rem}.input-area{padding:12px}.sample-prompts{margin-bottom:12px}.sample-prompts-title{font-size:.8rem;margin-bottom:6px}.sample-prompts-grid{align-items:stretch;flex-direction:column;gap:6px}.sample-prompt-button{font-size:.8rem;padding:10px 12px;text-align:left}.input-controls{align-items:stretch;flex-direction:column;gap:8px}.message-input{font-size:1rem;min-height:44px;padding:12px}.send-button{align-self:stretch;font-size:1rem;padding:12px}.footer{font-size:.8rem;margin-top:12px;padding:8px}.auth-modal-content,.crisis-modal-content{margin:1rem;padding:1.5rem}.saved-session-item{align-items:stretch;flex-direction:column;gap:.5rem}.session-actions{justify-content:center}.status-indicator{font-size:.75rem;padding:6px 8px}.system-priority-1,.system-priority-2,.system-priority-3{margin:2px 0;padding:6px 8px}}@media (max-width:480px){.app-container{padding:4px}.header-card{margin-bottom:12px;padding:12px}.main-title{font-size:1.25rem}.subtitle{font-size:.8rem}.header-buttons{gap:6px}.login-button,.new-session-button,.save-button,.saved-sessions-button,.status-indicator{font-size:.75rem;padding:6px 8px}.progress-container{gap:6px}.progress-circle{font-size:.75rem;height:28px;width:28px}.progress-line{width:12px}.progress-labels{font-size:.55rem;gap:2px}.progress-labels span{font-size:.5rem}.reference-toggle{font-size:.75rem}.reference-card{padding:8px}.reference-title{font-size:.75rem}.reference-text{font-size:.65rem}.chat-container{height:50vh;min-height:350px}.messages-area{gap:12px;padding:8px}.message-avatar{height:28px;width:28px}.message-bubble{font-size:.875rem;line-height:1.4;padding:10px}.rule-badge{padding:2px 4px}.message-timestamp,.rule-badge{font-size:.65rem}.input-area{padding:8px}.sample-prompts-title{font-size:.75rem}.sample-prompt-button{font-size:.75rem;padding:8px 10px}.message-input{font-size:.95rem;min-height:40px;padding:10px}.send-button{font-size:.9rem;padding:10px}.footer{font-size:.75rem;padding:6px}}
/*# sourceMappingURL=main.36adc081.css.map*/