.social-workspace{--accent:#2563eb;--wash:#eff6ff;--border:#bfdbfe;max-width:1360px;margin:auto}
.social-workspace[data-mode=search]{--accent:#0f766e;--wash:#f0fdfa;--border:#99f6e4}
.social-workspace[data-mode=hot]{--accent:#c2410c;--wash:#fff7ed;--border:#fed7aa}
.social-hero{background:#172b4d;color:#fff;border-radius:18px;padding:26px 28px;margin-bottom:22px;display:flex;justify-content:space-between;gap:22px;align-items:center}
.social-hero h2{font-size:25px;margin:6px 0 10px}.social-hero p{margin:0;color:#cad6e8;font-size:13px;line-height:1.8}.social-eyebrow{font-size:11px;letter-spacing:2px;color:#96b9ee}
.social-quota{background:#ffffff10;border:1px solid #ffffff30;border-radius:12px;padding:16px;min-width:210px}.social-quota small{color:#b9cbe3}.social-quota p{font-size:16px;font-weight:700;color:#fff;margin:6px 0}
.social-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.social-mode{--mode:#2563eb;--mode-bg:#eff6ff;background:#fff;color:#334155;text-align:left;border:2px solid #e2e8f0;border-radius:14px;padding:18px;display:flex;gap:12px;align-items:center;min-height:92px}
.social-mode[data-social-mode=search]{--mode:#0f766e;--mode-bg:#f0fdfa}.social-mode[data-social-mode=hot]{--mode:#c2410c;--mode-bg:#fff7ed}
.social-mode[aria-pressed=true]{border-color:var(--mode);background:var(--mode-bg);box-shadow:0 4px 14px #17203308}.social-mode:hover{border-color:var(--mode)}
.social-mode-icon{background:var(--mode);color:white;border-radius:11px;width:42px;height:42px;display:grid;place-items:center;font-size:19px;flex:none}.social-mode strong{display:block;font-size:16px;color:#172033}.social-mode small{display:block;font-size:12px;color:#64748b;margin-top:5px}
.social-panel{background:white;border:1px solid #dbe3ee;border-radius:16px;padding:24px;margin-bottom:24px;box-shadow:0 3px 12px #0f172a04}
.social-panel-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.social-section-number{background:#eaf0f8;color:#526481;font-size:12px;font-weight:800;border-radius:9px;padding:7px 9px}.social-panel-title h3{margin:0;font-size:18px}.social-panel-title p{margin:4px 0 0;color:#64748b;font-size:12px}
.social-query-panel{border-top:4px solid var(--accent)}.social-query-panel .social-section-number{background:var(--wash);color:var(--accent)}
.social-platform-field{max-width:300px}.social-workspace .field input,.social-workspace .field select,.social-workspace .field textarea{background:#fbfcfe;border-color:#dbe3ee}.social-workspace textarea:focus,.social-workspace input:focus,.social-workspace select:focus{outline:2px solid var(--border);outline-offset:1px}
.social-search-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.social-query-footer{padding-top:16px;border-top:1px solid #e8ecf2;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.social-query-footer #socialStart{background:var(--accent);padding:12px 24px;min-width:140px}.social-query-footer p{margin:0;max-width:620px;font-size:12px;color:#64748b}.social-workspace button:disabled{opacity:.55;cursor:not-allowed}
.social-workspace [hidden]{display:none!important}.social-progress:not(:empty){padding:14px 16px;background:var(--wash);border-left:3px solid var(--accent);border-radius:8px;margin-top:16px;color:#334155}
.social-history{display:flex;flex-direction:column;gap:10px}.social-history-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px}.social-history-time{font-size:12px;color:#64748b}.social-history-kind{font-weight:600;flex:1}.social-status{font-size:12px;border-radius:6px;padding:4px 8px;background:#e2e8f0;color:#475569}.social-status.succeeded{background:#dcfce7;color:#166534}.social-status.failed{background:#fee2e2;color:#991b1b}.social-status.running,.social-status.checking{background:#fef3c7;color:#92400e}
.social-results-heading{border-top:4px solid #475569}.social-result-toolbar{background:#f1f5f9;border-radius:10px;padding:14px;margin:18px 0 0!important;gap:12px}.social-result-toolbar select{min-width:160px}.social-result-toolbar button{background:#172b4d}.social-result-toolbar #socialSelectedCount{font-size:12px;color:#475569}
.social-result-list{display:flex;flex-direction:column;gap:20px}.social-result{--item-accent:#2563eb;--item-wash:#eff6ff;border:1px solid #cbd5e1;border-left:5px solid var(--item-accent);border-radius:14px;background:white;padding:0;overflow:hidden;box-shadow:0 4px 12px #0f172a06}
.social-result.is-search{--item-accent:#0f766e;--item-wash:#f0fdfa}.social-result.is-hot{--item-accent:#c2410c;--item-wash:#fff7ed}.social-result.is-selected{outline:2px solid var(--item-accent);outline-offset:2px}
.social-result-top{background:var(--item-wash);padding:13px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0;gap:12px}.social-result-top strong{color:var(--item-accent);font-size:13px}.social-select-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#475569}.social-select-label input{width:16px;height:16px;accent-color:var(--item-accent)}
.social-result-body{padding:18px 20px}.social-result .resultTitle{font-size:17px;font-weight:700;color:#172033;background:white}.social-result .field label{font-size:12px;color:#64748b}.social-result-meta{display:flex;gap:10px;flex-wrap:wrap;padding:8px 0}.social-result-meta span{background:#f1f5f9;border-radius:6px;padding:5px 9px;color:#475569;font-size:12px}.social-result-meta .social-platform-pill{background:var(--item-wash);color:var(--item-accent);font-weight:700}
.social-result-footer{padding:14px 20px;border-top:1px solid #e8ecf2;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.social-original-link{color:#334155;font-size:13px;text-decoration:none;border:1px solid #cbd5e1;border-radius:8px;padding:9px 12px;background:#fff}.social-original-link:hover{border-color:var(--item-accent);color:var(--item-accent)}.social-result-footer .toolbar{margin:0}.social-result-footer button{background:var(--item-accent)}.social-result .resultMessage{margin:0;padding:0 20px 12px;font-size:12px;color:#166534}.social-result .resultMessage:empty{display:none}
.social-empty{padding:38px 20px;text-align:center;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;color:#64748b}.social-raw{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto}
@media(max-width:1000px){.social-mode{padding:12px;gap:8px}.social-mode strong{font-size:14px}.social-mode-icon{width:32px;height:32px}.social-hero{padding:20px}.social-quota{min-width:170px}}
@media(max-width:640px){.social-hero{align-items:stretch;flex-direction:column;gap:14px}.social-hero h2{font-size:21px}.social-quota{padding:12px}.social-mode-tabs{grid-template-columns:1fr;gap:9px}.social-mode{min-height:70px}.social-panel{padding:17px}.social-search-grid{grid-template-columns:1fr;gap:0}.social-result-body{padding:14px}.social-result-top,.social-result-footer{padding:12px 14px}.social-result-footer .toolbar{width:100%}.social-result-footer select{min-width:0;flex:1}.social-history-kind{flex-basis:60%}}
