.gpt-chat-wrap .chat{background:var(--card);border:1px solid #1f2937;border-radius:16px;display:flex;flex-direction:column;gap:12px;max-height:60vh;overflow-y:auto;padding:14px;scrollbar-width:none}.gpt-chat-wrap .chat::-webkit-scrollbar{display:none}.gpt-chat-wrap .msg{display:flex;gap:10px}.gpt-chat-wrap .bubble{word-wrap:break-word;border-radius:14px;max-width:75%;padding:10px 12px;white-space:pre-wrap}.gpt-chat-wrap .msg.user{justify-content:flex-end}.gpt-chat-wrap .user .bubble{background:#1f2a44;border:1px solid #2a3a55}.gpt-chat-wrap .ai .bubble{background:#0f172a;border:1px solid #1f2937}.gpt-chat-wrap .composer{align-items:flex-end;display:flex;gap:10px;margin-top:12px}.gpt-chat-wrap .input{background:#0f172a;border:1px solid #263241;border-radius:12px;color:var(--fg);flex:1;font-size:1rem;line-height:1.5;max-height:240px;min-height:80px;outline:none;overflow-y:auto;padding:1rem;resize:none;transition:height 80ms ease}.gpt-chat-wrap .btn{align-items:center;border:1px solid #263241;border-radius:12px;cursor:pointer;display:inline-flex;font-weight:600;justify-content:center;padding:.7rem .9rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gpt-chat-wrap .btn .icon{font-size:1.2rem}.gpt-chat-wrap .btn[disabled]{cursor:not-allowed;opacity:.6}.gpt-chat-wrap .btn-generate{justify-content:center;width:100%}.gpt-chat-wrap .disclaimer,.gpt-chat-wrap .tip{color:var(--muted);font-size:.8rem;margin:4px 0 0}.gpt-chat-wrap .disclaimer{font-size:.75rem;font-style:italic}.gpt-chat-wrap .card-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:20px 0}.gpt-chat-wrap .slide-card{align-items:center;background:var(--card);border:1px solid #1f2937;border-radius:14px;color:var(--fg);cursor:pointer;display:flex;flex-direction:column;font:inherit;gap:2px;height:84px;justify-content:center;transition:border-color .15s ease,background .15s ease;width:96px}.gpt-chat-wrap .slide-card:hover{border-color:#2a3a55}.gpt-chat-wrap .slide-card.selected{background:#17223a;border-color:var(--accent)}.gpt-chat-wrap .slide-card-count{font-size:22px;font-weight:700}.gpt-chat-wrap .slide-card-label{color:var(--muted);font-size:.75rem}.gpt-chat-wrap .gpt-chat-status-area{margin-top:16px}.gpt-chat-wrap .generation-status{background:var(--card);border:1px solid #1f2937;border-radius:14px;display:flex;flex-direction:column;gap:4px;padding:14px}.gpt-chat-wrap .status-text{color:var(--muted);font-size:.9rem}.gpt-chat-wrap .generation-links{background:var(--card);border:1px solid #1f2937;border-radius:14px;display:flex;flex-direction:column;gap:6px;padding:14px}.gpt-chat-wrap .generation-links a{color:var(--accent);text-decoration:underline}.gpt-chat-wrap .error-text{color:#f87171;font-size:.9rem;margin-top:8px}body.light-theme .gpt-chat-wrap .chat,body.light-theme .gpt-chat-wrap .generation-links,body.light-theme .gpt-chat-wrap .generation-status{background:var(--card);color:var(--fg)}body.light-theme .gpt-chat-wrap .input{background-color:#fff;border:1px solid #d1d5db;color:#000}body.light-theme .gpt-chat-wrap .input::-moz-placeholder{color:#6b7280}body.light-theme .gpt-chat-wrap .input::placeholder{color:#6b7280}body.light-theme .gpt-chat-wrap .user .bubble{background:#e8f0ff;border:1px solid #c7d2fe;color:#111827}body.light-theme .gpt-chat-wrap .ai .bubble{background:#f5f5f5;border:1px solid #e5e7eb;color:#111827}body.light-theme .gpt-chat-wrap .slide-card{background:var(--card);border:1px solid #d1d5db;color:var(--fg)}body.light-theme .gpt-chat-wrap .slide-card.selected{background:#e8f0ff;border-color:var(--accent)}.pai-spinner{animation:pai-spin .7s linear infinite;border:2.5px solid rgba(102,126,234,.25);border-radius:50%;border-top-color:#667eea;display:inline-block;height:18px;vertical-align:middle;width:18px}.pai-spinner--lg{border-width:4px;height:40px;width:40px}@keyframes pai-spin{to{transform:rotate(1turn)}}body.light-theme .pai-spinner{border-color:#667eea rgba(102,126,234,.2) rgba(102,126,234,.2)}.spinner-border,.spinner-grow{animation-duration:.7s!important;border-color:#667eea rgba(102,126,234,.25) rgba(102,126,234,.25)!important}