*{box-sizing:border-box}.app{min-height:100vh;background-color:var(--background);overflow-x:hidden}.app-main{position:relative;width:100%;margin:0 auto;padding:120px 24px 24px;min-height:100vh;box-sizing:border-box}.content-container{display:block;position:relative}.editor-section{width:100%;max-width:calc(100% - 320px);transition:max-width .3s ease}.editor-section.full-width{max-width:100%;padding-right:32px}.suggestions-section{position:fixed;top:120px;right:32px;width:300px;max-height:calc(100vh - 150px);z-index:100}.suggestions-header{margin-bottom:16px}.style-selector-section{width:100%;display:flex;flex-direction:column;gap:12px}.style-dropdown-container{display:flex;align-items:center;gap:8px}.style-dropdown{flex:1;min-width:0;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background-color:#fff;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.style-dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.style-dropdown:hover{border-color:#9ca3af}.no-style-message{padding:8px 12px;background-color:#fef3c7;border:1px solid #f59e0b;border-radius:6px;text-align:center}.no-style-text{font-size:14px;font-weight:500;color:#92400e}.no-suggestions{text-align:center;padding:24px;color:var(--text-secondary)}.no-suggestions p{margin:0;font-size:16px}.new-style-btn{display:flex;align-items:center;gap:6px;padding:10px 16px;background:transparent;border:2px dashed #d1d5db;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;border-radius:6px;transition:all .2s;width:100%;justify-content:center}.new-style-btn:hover{border-color:#3b82f6;color:#3b82f6;background-color:#3b82f60d}.refresh-styles-btn{background:none;border:none;color:#9ca3af;cursor:pointer;font-size:16px;line-height:1;padding:2px;border-radius:4px;transition:all .2s;margin-left:auto}.refresh-styles-btn:hover{color:#3b82f6;background-color:#eff6ff}@media (max-width: 1024px){.editor-section{max-width:100%;padding-right:16px}.suggestions-section{position:relative;top:auto;right:auto;width:100%;max-height:400px;margin-top:24px}.suggestions-header{margin-bottom:12px}.app-main{padding:140px 16px 24px}}.auth-debug-toggle{position:fixed;top:10px;right:10px;z-index:1000}.debug-toggle-btn{background:#ff6b35;color:#fff;border:none;padding:8px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;box-shadow:0 2px 8px #ff6b354d;transition:all .2s ease}.debug-toggle-btn:hover{background:#e55a2b;transform:translateY(-1px);box-shadow:0 4px 12px #ff6b3566}.auth-debug-panel{position:fixed;top:10px;right:10px;width:350px;background:#fff;border:2px solid #ff6b35;border-radius:12px;box-shadow:0 8px 32px #00000026;z-index:1001;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.debug-panel-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#ff6b35;color:#fff;border-radius:10px 10px 0 0}.debug-panel-header h3{margin:0;font-size:16px;font-weight:600}.close-btn{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.close-btn:hover{background:#fff3}.debug-panel-content{padding:20px;max-height:500px;overflow-y:auto}.auth-status-section,.auth-controls-section,.debug-info-section{margin-bottom:20px}.auth-status-section h4,.auth-controls-section h4,.debug-info-section h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#333;border-bottom:1px solid #eee;padding-bottom:6px}.status-item{display:flex;justify-content:space-between;padding:6px 0;font-size:13px;border-bottom:1px solid #f5f5f5}.status-item:last-child{border-bottom:none}.status-message{margin-top:12px;padding:10px;background:#f8f9fa;border-radius:6px;font-size:12px;color:#666;font-style:italic}.control-buttons{display:flex;flex-direction:column;gap:8px}.toggle-btn,.signin-btn,.signout-btn{padding:10px 16px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.toggle-btn.enabled{background:#28a745;color:#fff}.toggle-btn.enabled:hover{background:#218838}.toggle-btn.disabled{background:#dc3545;color:#fff}.toggle-btn.disabled:hover{background:#c82333}.signin-btn{background:#007bff;color:#fff}.signin-btn:hover{background:#0056b3}.signout-btn{background:#6c757d;color:#fff}.signout-btn:hover{background:#545b62}.debug-info{background:#f8f9fa;padding:12px;border-radius:6px;font-size:12px}.debug-info code{background:#e9ecef;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;color:#d63384}.debug-info p{margin:0 0 8px;font-weight:600}@media (max-width: 768px){.auth-debug-panel{width:calc(100vw - 20px);right:10px;left:10px}}.suggestions-panel{background:var(--background-card);border-radius:var(--border-radius);padding:16px;display:flex;flex-direction:column;height:auto;max-height:calc(100vh - 200px);overflow-y:auto;border:1px solid var(--border-color)}.suggestions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:12px}.suggestions-title-group{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.suggestions-title{font-weight:600;color:var(--text-primary);font-size:18px}.suggestions-count{background-color:var(--primary-color);color:#fff;border-radius:12px;padding:4px 12px;font-size:12px;font-weight:600}.suggestions-hint{font-size:12px;color:var(--text-secondary);font-style:italic}.bulk-actions{display:flex;gap:8px;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}.bulk-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:6px;border:none;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;flex:1}.bulk-btn.accept-all{background-color:var(--success-color);color:#fff}.bulk-btn.accept-all:hover{background-color:var(--success-hover);transform:translateY(-1px)}.bulk-btn.reject-all{background-color:var(--error-color);color:#fff}.bulk-btn.reject-all:hover{background-color:var(--error-hover);transform:translateY(-1px)}.bulk-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.suggestions-list{display:flex;flex-direction:column;gap:12px}.suggestions-list::-webkit-scrollbar{width:6px}.suggestions-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.suggestions-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.suggestions-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.empty-state{text-align:center;padding:40px 20px}.spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suggestion-group{margin-bottom:16px}@media (max-width: 1024px){.suggestions-panel{position:relative;top:auto;right:auto;width:100%;height:400px;max-height:400px}}:root{--primary-color: #0066FF;--primary-hover: #0052CC;--primary-light: #E8F0FE;--primary-accent: #4285F4;--secondary-color: #0066FF;--success-color: #10B981;--success-hover: #059669;--error-color: #EF4444;--error-hover: #DC2626;--text-primary: #1F2937;--text-secondary: #6B7280;--text-placeholder: #9CA3AF;--background: #FFFFFF;--grey-tag-background: #F7F7F7;--tag-background: #F6FAFF;--background-card: #FFFFFF;--border-color: #E5E7EB;--border-hover: #0066FF;--shadow-light: 0 1px 3px rgba(0,0,0,.1);--shadow-medium: 0 4px 6px rgba(0,0,0,.1);--shadow-large: 0 10px 40px rgba(0, 102, 255, .15);--border-radius: 8px;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;--header-height: 64px}z *{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-family);color:var(--text-primary);background-color:var(--background);line-height:1.6}#root{min-height:100vh}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}*{transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
