/* FO_CONTRAST_FIX_V6 — 최종 */
#foCreateDecisionDraftBtn, #btnCreateDecisionDraft { display:none !important; }
.foInbox details { background:rgba(17,24,39,0.85) !important; border-color:rgba(148,163,184,0.18) !important; }
.foInbox summary { color:#e5e7eb !important; opacity:1 !important; }
.foInbox label, .foInbox .fo-mini, .foInbox .small { color:#a7b4c6 !important; }
.foInbox input, .foInbox select, .foInbox textarea { color:#e5e7eb !important; background:rgba(14,20,32,0.9) !important; border-color:rgba(148,163,184,0.2) !important; }
.foInbox input::placeholder, .foInbox textarea::placeholder { color:#6b7a8d !important; }
.foInbox button, .foInbox .btn, .foInbox .fo-btn, .foInbox .foMenuBtn { color:#e5e7eb !important; }
.foInbox .btn.primary, .foInbox .fo-btn.primary { color:#fff !important; }
.fo-col { background:#1e293b !important; opacity:1 !important; }
.fo-col.fo-left { background:rgba(17,24,39,0.95) !important; }
.thread, #threads > div { background:#334155 !important; color:#ffffff !important; font-weight:500 !important; padding:10px !important; border-radius:8px !important; margin-bottom:6px !important; border:1px solid rgba(148,163,184,0.12) !important; opacity:1 !important; }
.thread:hover, #threads > div:hover { background:#475569 !important; }
#threads, .fo-threads { opacity:1 !important; }
#threads *, .fo-threads * { opacity:1 !important; }
.fo-right, .fo-right * { color:#e5e7eb !important; }
.fo-right h3, .fo-right strong { color:#f0f1f4 !important; }
.fo-right .muted, .fo-right .small { color:#8896a8 !important; }
.muted { color:#8896a8 !important; opacity:0.95 !important; }
p { color:#b0b8c8 !important; }
.topbar, .topbar * { color:#d1d5de !important; }

/* FO_CONTRAST_FIX_V7 — right_panel_v4 다크모드 */
#foRpV4 { background:#141b2a !important; border-color:rgba(148,163,184,0.18) !important; color:#e5e7eb !important; box-shadow:0 12px 30px rgba(0,0,0,.4) !important; }
#foRpV4 * { color:#e5e7eb !important; }
#foRpV4 div[style*="font-weight:900"] { color:#f0f1f4 !important; }
#foRpV4 div[style*="opacity"] { opacity:0.7 !important; color:#8896a8 !important; }
#foRpV4 button, .foRpV4Item { background:#1e293b !important; border-color:rgba(148,163,184,0.15) !important; color:#e5e7eb !important; }
.foRpV4Item:hover { background:#334155 !important; }
#foRpV4Body { background:#141b2a !important; }
#foRpV4Body > div[style*="background:#fff"], #foRpV4Body > div[style*="background: #fff"] { background:#1e293b !important; }
#foRpV4 div[style*="border-bottom"] { border-color:rgba(148,163,184,0.15) !important; }
#foRpV4Reload { background:#1e293b !important; border-color:rgba(148,163,184,0.2) !important; color:#e5e7eb !important; }

/* FO_CONTRAST_FIX_V8 — [object HTMLDivElement] 숨김 */
.foInbox .fo-card div:not([id]):not([class]) { overflow:hidden; }

/* FO_CONTRAST_FIX_V9 — NORMAL 오버레이 숨김 */
#foGeaoOverrideBtnV1 { display:none !important; }

/* FO_CONTRAST_FIX_V10 — GEAO 오버레이 + 스레드 목록 하단 박스 숨김 */
#foGeaoBoxV1, #foGeaoOverrideBtnV1, [id*="foGeao"] { display:none !important; }

/* FO_CENTER_PANEL_DARK_V1 */
#foRpV4, #foRpV4Body, #foRpV4 div, .foRpV4Item { background:#141b2a !important; color:#e5e7eb !important; }
#foRpV4 .fo-link, #foRpV4 a { color:#60a5fa !important; }
#foRpV4 .fo-mini { background:#1e293b !important; border-color:rgba(148,163,184,0.15) !important; color:#e5e7eb !important; padding:6px 10px; border-radius:8px; text-decoration:none; }
#foRpV4 .fo-mini:hover { background:#334155 !important; }
.foOpsBtnV1, .foOpsBtnV1:hover { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.15) !important; }
.foOpsModalV1, .foOpsModalInner { background:#1e293b !important; color:#e5e7eb !important; }
.foOpsModalV1 input, .foOpsModalV1 select, .foOpsModalV1 textarea { background:#0e1420 !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.2) !important; }
.foOpsModalV1 .btn, .foOpsModalV1 button { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.15) !important; }

/* FO_RPV4_DARK_V1 */
#foRpV4 { background:#141b2a !important; border-color:rgba(148,163,184,0.18) !important; }
#foRpV4Body { background:#141b2a !important; }
#foRpV4Body button, .foRpV4Item { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.15) !important; }
.foRpV4Item:hover { background:#334155 !important; }
#foRpV4Reload { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.15) !important; }
#foRpV4 div[style*="font-weight:800"], #foRpV4 span { color:#e5e7eb !important; }

/* FO_OPS_MENU_DARK_V1 — ops menu & account panel dark theme */
.foOpsMenuV1, #foOpsMenuV1 { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.18) !important; }
.foOpsBtnV1 { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.18) !important; }
.foOpsBtnV1:hover { background:#334155 !important; }
.foAccountDetails, #foAccountDetails { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.18) !important; }
.foAccountRow { border-color:rgba(148,163,184,0.12) !important; }
.foAccountKey { color:#94a3b8 !important; }
.foAccountVal { color:#e5e7eb !important; }
.foAccountActions { border-color:rgba(148,163,184,0.12) !important; }
.foLinkBtn { background:#1e293b !important; color:#60a5fa !important; border-color:rgba(148,163,184,0.18) !important; }
.foLinkBtn:hover { background:#334155 !important; }
#btnWithdrawalOps { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.18) !important; }
#btnWithdrawalOps:hover { background:#334155 !important; }
.foOpsExportToolbarV2 { background:transparent !important; }
#foCpSearchWrap { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.18) !important; }
#foCpResults { background:#141b2a !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.18) !important; }
#foCpResults .fo-btn { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.15) !important; }
#foCpResults .fo-btn:hover { background:#334155 !important; }
.fo-pill { color:#e5e7eb !important; }
.fo-pill.fo-muted { color:#94a3b8 !important; }

/* FO_BUTTON_DARK_V1 — signup, logout, switch account buttons */
#foSignupBtn { background:#2563eb !important; color:#fff !important; border-color:#1d4ed8 !important; }
#foSignupBtn:hover { background:#1d4ed8 !important; }
#foHdrLogoutBtnV1 { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.25) !important; }
#foHdrLogoutBtnV1:hover { background:#334155 !important; }
#foHdrSwitchAccountBtnV1 { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.25) !important; }
#foHdrSwitchAccountBtnV1:hover { background:#334155 !important; }
#foTopbarMeLogout { background:rgba(15,23,42,0.92) !important; border-color:rgba(148,163,184,0.18) !important; color:#e5e7eb !important; }
#foTopbarMeLogout button { background:#1e293b !important; color:#e5e7eb !important; border-color:rgba(148,163,184,0.25) !important; }
#foTopbarMeLogout button:hover { background:#334155 !important; }
#foTopbarMeLabel { color:#c8d0dc !important; }
