/* S182 EXECUTIVE RIGHT SIDEBAR v2 — estilo do print (Cowork/ChatGPT-like) */

/* Esconder seções técnicas antigas no Founder View */
html body .app:not(.technical-view) #rp-codex-style,
html body .app:not(.technical-view) #rp-onboarding,
html body .app:not(.technical-view) #rp-founder-dashboard,
html body .app:not(.technical-view) #rp-stability,
html body .app:not(.technical-view) #rp-parallel-run,
html body .app:not(.technical-view) #rp-runs,
html body .app:not(.technical-view) #rp-providers,
html body .app:not(.technical-view) #rp-provider-control,
html body .app:not(.technical-view) #rp-provider-ledger,
html body .app:not(.technical-view) .rp .focus-technical,
html body .app:not(.technical-view) .rp .rp-tabs{
  display: none !important;
}
html body .app:not(.technical-view) .rp .rp-head{ display: none !important; }
html body .app:not(.technical-view) .rp #rp-context{ display: none !important; }

/* Container compacto */
.s182-container{ padding: 6px 8px 12px; }

/* ============ PAINEL ============ */
.s182-panel{
  margin: 10px 4px;
  border: 1px solid var(--ox-panel-border, rgba(255,255,255,.08));
  border-radius: var(--ox-radius-card, 10px);
  background: var(--ox-card-bg, rgba(255,255,255,.025));
  overflow: hidden;
}
.s182-panel-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--ox-row-height, 36px);
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
}
.s182-panel-title-wrap{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.s182-panel-title{
  font-size: var(--ox-font-size-base, 14px);
  color: var(--ox-text-main, var(--tx-1));
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.s182-panel-title-icon{
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: var(--tx-3);
  flex: 0 0 auto;
}
.s182-panel-actions{ display: inline-flex; gap: 4px; align-items: center; }
.s182-panel-caret{
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--tx-3);
  transition: color .14s ease, opacity .14s ease;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}
.s182-panel[data-collapsed="true"] .s182-panel-caret{
  transform: rotate(-90deg);
}
.s182-panel[data-collapsed="true"] .s182-panel-body{
  display: none;
}
.s182-panel-body{
  padding: 0 10px 12px;
}

/* ============ PROGRESSO (estilo print) ============ */
.s182-progress-list{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.s182-progress-item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: var(--ox-row-height, 36px);
  padding: 7px 6px;
  border-radius: var(--ox-radius-card, 10px);
  font-size: var(--ox-font-size-small, 13px);
  line-height: 1.42;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.s182-progress-item:hover{
  background: var(--ox-card-hover, rgba(255,255,255,.045));
}
.s182-progress-checkbox{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,.04);
  color: var(--tx-3);
  border: 1px solid rgba(255,255,255,.06);
  margin-top: 1px;
}
.s182-progress-text{
  flex: 1;
  min-width: 0;
  color: var(--tx-1);
  word-wrap: break-word;
}
/* done */
.s182-progress-item[data-state="done"] .s182-progress-checkbox{
  background: var(--ac-blue, #4a8eff);
  color: #fff;
  border-color: transparent;
}
.s182-progress-item[data-state="done"] .s182-progress-text{
  color: var(--tx-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255,255,255,.25);
}
/* running (atual) */
.s182-progress-item[data-state="running"] .s182-progress-checkbox{
  background: rgba(94,132,255,.16);
  color: var(--tx-1);
  border-color: rgba(94,132,255,.5);
  box-shadow: 0 0 0 3px rgba(94,132,255,.08);
}
.s182-progress-item[data-state="running"] .s182-progress-text{
  color: var(--tx-1);
  font-weight: 500;
}
/* pending */
.s182-progress-item[data-state="pending"] .s182-progress-checkbox{
  color: var(--tx-3);
}
.s182-progress-item[data-state="pending"] .s182-progress-text{
  color: var(--tx-2);
}
/* error */
.s182-progress-item[data-state="error"] .s182-progress-checkbox{
  background: rgba(239,131,84,.16);
  color: var(--ac-red);
  border-color: rgba(239,131,84,.4);
}
.s182-progress-item[data-state="error"] .s182-progress-text{
  color: var(--ac-red);
}
/* ============ PROJETO + ARQUIVOS (estilo print) ============ */
.s182-project-files{
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.s182-file-item{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--ox-row-height, 36px);
  width: 100%;
  padding: 7px 6px;
  border-radius: var(--ox-radius-card, 10px);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--ox-font-size-small, 13px);
  line-height: 1.42;
  color: var(--ox-text-muted, var(--tx-2));
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease, opacity .14s ease;
}
.s182-file-item:hover{
  background: var(--ox-card-hover, rgba(255,255,255,.045));
  color: var(--ox-text-main, var(--tx-1));
}
.s182-file-icon{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border-radius: 5px;
  color: var(--tx-3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.s182-file-icon-svg{
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.s182-file-name{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.s182-file-copy-hint{
  order: 3;
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--tx-faint);
  font-size: 11px;
  opacity: .75;
}
.s182-file-prefix{
  color: var(--tx-faint);
  margin-right: 4px;
}

/* Ícones por tipo de arquivo */
.s182-file-icon[data-ext="md"]{ color: #6da6ff; background: rgba(109,166,255,.08); }
.s182-file-icon[data-ext="py"]{ color: #ffb347; background: rgba(255,179,71,.08); }
.s182-file-icon[data-ext="js"]{ color: #f0db4f; background: rgba(240,219,79,.08); }
.s182-file-icon[data-ext="json"]{ color: #8fc77e; background: rgba(143,199,126,.08); }
.s182-file-icon[data-ext="sh"], .s182-file-icon[data-ext="command"]{ color: #b691ff; background: rgba(182,145,255,.08); }
.s182-file-icon[data-ext="css"]{ color: #d490ff; background: rgba(212,144,255,.08); }
.s182-file-icon[data-ext="html"]{ color: #ff8e6e; background: rgba(255,142,110,.08); }

/* Empty state */
.s182-empty{
  font-size: var(--ox-font-size-small, 13px);
  color: var(--ox-text-muted, var(--tx-faint));
  padding: 9px 6px;
  font-style: normal;
  line-height: 1.42;
}
.s182-unavailable{ color: var(--ac-amber, #f4b25d); }

/* ============ VER TÉCNICO ============ */
.s182-vertec{
  display: block;
  text-align: center;
  margin: 10px 4px 14px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--tx-faint);
  background: var(--ox-card-bg, rgba(255,255,255,.025));
  border-radius: var(--ox-radius-card, 10px);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.05);
  text-decoration: none;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.s182-vertec:hover{
  color: var(--tx-2);
  background: var(--ox-card-hover, rgba(255,255,255,.045));
  border-color: rgba(255,255,255,.1);
}

/* Folder icon button no header */
.s182-folder-btn{
  background: transparent;
  border: 1px solid transparent;
  color: var(--tx-3);
  cursor: pointer;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: var(--ox-radius-card, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease, opacity .14s ease;
}
.s182-folder-btn:hover:not(:disabled){
  background: var(--ox-card-hover, rgba(255,255,255,.045));
  color: var(--tx-1);
  border-color: var(--ox-panel-border, rgba(255,255,255,.08));
}
.s182-folder-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}
.s182-folder-btn svg{ width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.s182-feedback{
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  border-radius: var(--ox-radius-card, 10px);
  background: var(--ox-popover-bg, rgba(35,36,39,.98));
  border: 1px solid var(--ox-panel-border, rgba(255,255,255,.1));
  color: var(--ox-text-main, var(--tx-1));
  box-shadow: var(--ox-shadow-popover, 0 12px 32px rgba(0,0,0,.26));
  font-size: 12px;
  line-height: 1.35;
  z-index: 40;
}

/* ============ S35_RIGHT_SIDEBAR_COMMAND_CENTER ============ */
[data-s182-panel^="cmdc-"] .s182-panel-body {
  padding: 8px 12px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ox-text-2, #c9cdd4);
}
.cmdc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cmdc-row:last-child { border-bottom: none; }
.cmdc-k { color: var(--ox-text-3, #8c93a4); font-weight: 500; min-width: 80px; }
.cmdc-v { color: var(--ox-text-1, #e6e8ec); text-align: right; word-break: break-word; }
.cmdc-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: lowercase;
}
.cmdc-status-idle { background: rgba(140,147,164,0.12); color: #8c93a4; }
.cmdc-status-running { background: rgba(91,141,239,0.18); color: #5b8def; }
.cmdc-status-queued { background: rgba(240,179,64,0.16); color: #f0b340; }
.cmdc-status-ok { background: rgba(62,194,127,0.16); color: #3ec27f; }
.cmdc-status-partial { background: rgba(240,179,64,0.16); color: #f0b340; }
.cmdc-status-unavailable, .cmdc-status-unknown { background: rgba(140,147,164,0.12); color: #8c93a4; }
.cmdc-status-blocked, .cmdc-status-failed { background: rgba(224,98,92,0.16); color: #e0625c; }
.cmdc-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ox-text-3, #8c93a4);
  margin: 10px 0 4px;
  font-weight: 600;
}
.cmdc-progress, .cmdc-arms, .cmdc-agents, .cmdc-arts, .cmdc-risks, .cmdc-actions, .cmdc-sources {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cmdc-progress li, .cmdc-arms li, .cmdc-agents li, .cmdc-arts li, .cmdc-risks li, .cmdc-actions li, .cmdc-sources li {
  padding: 3px 0;
  font-size: 11.5px;
}
.cmdc-arms li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cmdc-agent {
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cmdc-agent:last-child {
  border-bottom: none;
}
.cmdc-agent-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cmdc-agent-sub,
.cmdc-agent-meta {
  font-size: 10.5px;
  color: var(--ox-text-3, #8c93a4);
  margin-top: 2px;
}
.cmdc-arm-status {
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 999px;
}
.cmdc-art-kind {
  display: inline-block;
  font-size: 9px;
  padding: 1px 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-right: 6px;
  color: var(--ox-text-3, #8c93a4);
  text-transform: uppercase;
  font-weight: 600;
}
.cmdc-risk-p0 { color: #e0625c; font-weight: 600; }
.cmdc-risk-p1 { color: #f0b340; }
.cmdc-risk-p2 { color: var(--ox-text-3, #8c93a4); }
.cmdc-risk-info { color: #8c93a4; }
.cmdc-act-enabled { color: var(--ox-text-1, #e6e8ec); }
.cmdc-act-disabled { color: var(--ox-text-3, #8c93a4); opacity: 0.7; }
.cmdc-act-reason { color: var(--ox-text-3, #8c93a4); font-style: italic; font-size: 10.5px; }
.cmdc-inline-btn,
.cmdc-review-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--ox-text-1, #e6e8ec);
  border-radius: 6px;
  padding: 5px 8px;
  font: inherit;
  font-size: 11px;
  line-height: 1.3;
}
.cmdc-inline-btn[disabled],
.cmdc-review-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cmdc-review-openers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}
.cmdc-review-pre {
  margin: 6px 0 0;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--ox-text-2, #c9cdd4);
  font-size: 10.5px;
  line-height: 1.45;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.cmdc-review-pre-err {
  color: #f0b340;
}
.cmdc-review-log-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cmdc-review-log {
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
}
.cmdc-review-log-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ox-text-1, #e6e8ec);
  font-size: 11px;
  font-weight: 600;
}
.cmdc-review-log-cmd,
.cmdc-review-reason {
  margin-top: 4px;
  color: var(--ox-text-3, #8c93a4);
  font-size: 10.5px;
  line-height: 1.45;
  word-break: break-word;
}
.cmdc-review-actions li {
  padding: 5px 0;
}
.cmdc-sources code {
  font-size: 10px;
  background: rgba(255,255,255,0.04);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--ox-text-2, #c9cdd4);
}
.cmdc-more { font-size: 10px; color: var(--ox-text-3, #8c93a4); margin-top: 4px; font-style: italic; }
.s182-empty { color: var(--ox-text-3, #8c93a4); font-style: italic; font-size: 11px; padding: 4px 0; }

/* ============ S35_LEFT_STYLE_REORDER ============ */
/* Right sidebar should match the lighter, compact density of the left sidebar.
   Strip card-heavy borders; use thin row separators like s214-row. */
.s214-sidebar .s182-container,
.rp .s182-container {
  background: transparent;
  display: block;
  min-height: 100%;
}
.rp .s182-container {
  overflow: visible;
  padding-bottom: 18px;
}
[data-s182-panel] {
  border: none !important;
  border-bottom: 1px solid var(--ox-line, rgba(255,255,255,0.06)) !important;
  border-radius: 0 !important;
  background: transparent !important;
  margin: 0 !important;
}
.s182-panel-header {
  padding: 8px 12px !important;
  background: transparent !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  color: var(--ox-text-3, #8c93a4) !important;
  font-weight: 600 !important;
}
.s182-panel-title {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  font-weight: 600 !important;
  color: var(--ox-text-3, #8c93a4) !important;
}
.s182-panel-body {
  padding: 4px 12px 10px !important;
}
/* tighter card content (Command Center rows) */
[data-s182-panel^="cmdc-"] .cmdc-row {
  padding: 2px 0;
  font-size: 11.5px;
  border-bottom: none;
}
[data-s182-panel^="cmdc-"] .cmdc-status {
  font-size: 10px;
  padding: 1px 8px;
  margin-bottom: 4px;
}
[data-s182-panel^="cmdc-"] .cmdc-section-label {
  font-size: 9.5px;
  margin: 6px 0 2px;
}
/* reorder controls: discrete, hidden until hover */
.s182-reorder-btn {
  background: transparent;
  border: none;
  color: var(--ox-text-3, #8c93a4);
  font-size: 9px;
  padding: 0 4px;
  cursor: pointer;
  opacity: 0;
  line-height: 1;
}
[data-s182-panel]:hover .s182-reorder-btn,
.s182-panel-header:hover .s182-reorder-btn,
.s182-reorder-btn:hover,
.s182-reorder-btn:focus {
  opacity: 0.7;
}
.s182-reorder-btn:hover { color: var(--ox-text-1, #e6e8ec); opacity: 1; }

/* ============ S35_RIGHT_SIDEBAR_VISUAL_PARITY ============ */
/* Founder View: make the right sidebar read like the left sidebar,
   not like stacked technical cards from older layers. */
html body.s179-final-surface:not(.technical-view) .rp,
body.ia-clean:not(.technical-view) .rp {
  background: #202123 !important;
  border-left: 1px solid rgba(255,255,255,0.07) !important;
}

html body.s179-final-surface:not(.technical-view) .rp .s182-container,
body.ia-clean:not(.technical-view) .rp .s182-container {
  display: block !important;
  min-height: 100%;
  padding: 10px 10px 14px !important;
}

html body.s179-final-surface:not(.technical-view) [data-s182-panel],
body.ia-clean:not(.technical-view) [data-s182-panel] {
  margin: 0 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.s179-final-surface:not(.technical-view) .s182-panel-header,
body.ia-clean:not(.technical-view) .s182-panel-header {
  min-height: 36px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #f4f4f5 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.s179-final-surface:not(.technical-view) .s182-panel[data-collapsed="false"] .s182-panel-header,
body.ia-clean:not(.technical-view) .s182-panel[data-collapsed="false"] .s182-panel-header {
  background: rgba(255,255,255,0.055) !important;
}

html body.s179-final-surface:not(.technical-view) .s182-panel-title,
body.ia-clean:not(.technical-view) .s182-panel-title {
  color: #f4f4f5 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.s179-final-surface:not(.technical-view) .s182-panel-caret,
body.ia-clean:not(.technical-view) .s182-panel-caret {
  color: #a6a7ad !important;
}

html body.s179-final-surface:not(.technical-view) .s182-panel-body,
body.ia-clean:not(.technical-view) .s182-panel-body {
  padding: 6px 10px 10px !important;
}

html body.s179-final-surface:not(.technical-view) .s182-empty,
body.ia-clean:not(.technical-view) .s182-empty {
  padding: 6px 10px 8px !important;
  font-size: 12px !important;
  color: #a6a7ad !important;
  font-style: normal !important;
}

html body.s179-final-surface:not(.technical-view) .s182-progress-list,
html body.s179-final-surface:not(.technical-view) .s182-project-files,
body.ia-clean:not(.technical-view) .s182-progress-list,
body.ia-clean:not(.technical-view) .s182-project-files {
  gap: 2px !important;
}

html body.s179-final-surface:not(.technical-view) .s182-progress-item,
html body.s179-final-surface:not(.technical-view) .s182-file-item,
body.ia-clean:not(.technical-view) .s182-progress-item,
body.ia-clean:not(.technical-view) .s182-file-item {
  min-height: 32px !important;
  padding: 6px 8px !important;
  border-radius: 8px !important;
}

html body.s179-final-surface:not(.technical-view) [data-s182-panel^="cmdc-"] .cmdc-row,
body.ia-clean:not(.technical-view) [data-s182-panel^="cmdc-"] .cmdc-row {
  display: block !important;
  padding: 6px 8px !important;
  border-radius: 8px !important;
}

html body.s179-final-surface:not(.technical-view) [data-s182-panel^="cmdc-"] .cmdc-k,
body.ia-clean:not(.technical-view) [data-s182-panel^="cmdc-"] .cmdc-k {
  display: block !important;
  min-width: 0 !important;
  margin-bottom: 2px !important;
  font-size: 11px !important;
  color: #a6a7ad !important;
}

html body.s179-final-surface:not(.technical-view) [data-s182-panel^="cmdc-"] .cmdc-v,
body.ia-clean:not(.technical-view) [data-s182-panel^="cmdc-"] .cmdc-v {
  display: block !important;
  text-align: left !important;
  color: #f4f4f5 !important;
  font-size: 13px !important;
}

html body.s179-final-surface:not(.technical-view) .cmdc-progress li,
html body.s179-final-surface:not(.technical-view) .cmdc-arms li,
html body.s179-final-surface:not(.technical-view) .cmdc-agents li,
html body.s179-final-surface:not(.technical-view) .cmdc-arts li,
html body.s179-final-surface:not(.technical-view) .cmdc-risks li,
html body.s179-final-surface:not(.technical-view) .cmdc-actions li,
html body.s179-final-surface:not(.technical-view) .cmdc-sources li,
body.ia-clean:not(.technical-view) .cmdc-progress li,
body.ia-clean:not(.technical-view) .cmdc-arms li,
body.ia-clean:not(.technical-view) .cmdc-agents li,
body.ia-clean:not(.technical-view) .cmdc-arts li,
body.ia-clean:not(.technical-view) .cmdc-risks li,
body.ia-clean:not(.technical-view) .cmdc-actions li,
body.ia-clean:not(.technical-view) .cmdc-sources li {
  padding: 4px 8px !important;
  font-size: 12px !important;
}

html body.s179-final-surface:not(.technical-view) .s182-reorder-btn,
body.ia-clean:not(.technical-view) .s182-reorder-btn {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  opacity: 0;
}

html body.s179-final-surface:not(.technical-view) .s182-reorder-btn[aria-disabled="true"],
body.ia-clean:not(.technical-view) .s182-reorder-btn[aria-disabled="true"],
html body.s179-final-surface:not(.technical-view) .s182-reorder-btn:disabled,
body.ia-clean:not(.technical-view) .s182-reorder-btn:disabled {
  opacity: 0.22 !important;
  cursor: not-allowed !important;
}

.s182-reset-order {
  width: calc(100% - 20px);
  margin: 6px 10px 0;
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: #cfd0d4;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.s182-reset-order:hover,
.s182-reset-order:focus {
  background: rgba(255,255,255,0.065);
  color: #f4f4f5;
}

/* TOP10_W1_INLINE_EXISTING_ASSETS_BEGIN */
/* TOP10_W1 · HQ100_041 · HQ Agora badge no right sidebar
 * Inlinado em s182_right_sidebar.css
 */
.top10w1-hq-agora {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 12px;
  font-family: "Inter", -apple-system, sans-serif;
}
.top10w1-hq-agora-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.top10w1-hq-agora-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.top10w1-hq-agora-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6fc77c; box-shadow: 0 0 8px rgba(111, 199, 124, 0.5);
  animation: top10w1-pulse 2s infinite;
}
.top10w1-hq-agora-dot.idle { background: #888; box-shadow: none; animation: none; }
.top10w1-hq-agora-dot.warn { background: #f3c44d; box-shadow: 0 0 8px rgba(243, 196, 77, 0.5); }
@keyframes top10w1-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.top10w1-hq-agora-status {
  font-size: 13.5px; font-weight: 500; color: var(--tx-1, #fff); margin-bottom: 4px;
}
.top10w1-hq-agora-detail {
  font-size: 11.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.01em;
}
.top10w1-hq-agora-counters {
  display: flex; gap: 16px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.top10w1-hq-agora-counter { flex: 1; }
.top10w1-hq-agora-counter-val {
  font-size: 18px; font-weight: 600; color: var(--tx-1, #fff); line-height: 1.1;
}
.top10w1-hq-agora-counter-lbl {
  font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-top: 2px;
}
/* TOP10_W1_INLINE_EXISTING_ASSETS_END */
