/* v28.18 - 넓은 화면 활용 + VirusTotal API 상태 색 (가장 마지막에 로드) */

/* 1) 모든 메뉴: 본문을 가운데 1680/1780px 로 가두지 않고 화면 폭 전체 사용 */
html body #mainContent{
  max-width:none!important;
  margin-inline:0!important;
}
html body #mainContent > :not(dialog):not(script):not(style){
  max-width:none!important;
  margin-inline:0!important;
}
html body #mainContent :is(.summary-grid,.intel-new-page,.mail-analysis-page,.hex-analyzer-page,.ai-workspace,.admin-login-only,.admin-page,.notice-page,.news-page){
  max-width:none!important;
  margin-inline:0!important;
}

/* 2) VirusTotal API 상태: 미등록 = 빨강, 등록 = 초록 (AI 도우미와 같은 규칙) */
html[data-dashboard-theme] #vtApiState.status-badge,
html[data-dashboard-theme] #vtNotice.vt-notice,
html[data-dashboard-theme] #vtApiKeyStatus.api-key-status{
  border-width:1px!important;
  border-style:solid!important;
  box-shadow:none!important;
}
html[data-dashboard-theme] #vtApiState.status-badge.ip-status-not-ready,
html[data-dashboard-theme] #vtNotice.vt-notice.is-warn,
html[data-dashboard-theme] #vtApiKeyStatus.api-key-status.is-empty{
  background:var(--theme-danger-soft)!important;
  color:var(--theme-danger)!important;
  border-color:color-mix(in srgb,var(--theme-danger) 48%,var(--theme-line))!important;
}
html[data-dashboard-theme] #vtApiState.status-badge.ip-status-ready,
html[data-dashboard-theme] #vtNotice.vt-notice.is-ready,
html[data-dashboard-theme] #vtApiKeyStatus.api-key-status.is-ready{
  background:var(--theme-success-soft)!important;
  color:var(--theme-success)!important;
  border-color:color-mix(in srgb,var(--theme-success) 48%,var(--theme-line))!important;
}
html[data-dashboard-theme] #vtApiState.status-badge::before{
  content:"● ";
}

/* 3) 웹 모니터링 장애 점멸: 장애난 사이트 카드 + 장애 요약 카드 (장애 수 1 이상) */
html body #mainContent :is(.site-card.is-down,.summary-card--bad.is-alert){
  position:relative!important;
}
html body #mainContent .sd-alert-ring{
  display:none;
}
html body #mainContent :is(.site-card.is-down,.summary-card--bad.is-alert) > .sd-alert-ring{
  display:block!important;
  position:absolute!important;
  inset:-1px!important;
  z-index:3!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  border:2px solid var(--theme-danger,#d1242f)!important;
  background:color-mix(in srgb,var(--theme-danger,#d1242f) 9%,transparent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-danger,#d1242f) 22%,transparent),0 0 18px color-mix(in srgb,var(--theme-danger,#d1242f) 45%,transparent)!important;
  animation:sd-alert-blink 1.2s ease-in-out infinite!important;
}
html body #mainContent .summary-card--bad.is-alert strong{
  color:var(--theme-danger,#d1242f)!important;
}
@keyframes sd-alert-blink{
  0%,100%{opacity:1}
  50%{opacity:.12}
}
@media (prefers-reduced-motion:reduce){
  html body #mainContent :is(.site-card.is-down,.summary-card--bad.is-alert) > .sd-alert-ring{animation-duration:2.4s!important}
}

/* 4) VirusTotal 헤더 'API 연결 상태' 묶음: 이전 테마가 칠한 흰 상자·그림자·왼쪽 선 제거 → 라벨 + 상태 배지만 */
html[data-dashboard-theme] body .intel-new-header .intel-new-connection{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:6px!important;
}
html[data-dashboard-theme] body .intel-new-header .intel-new-connection > :not(.status-badge){
  color:var(--theme-muted)!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
  background:transparent!important;
  margin:0!important;
}

/* 5) 보안권고문 설정 > 한글 양식 탭 */
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-current{
  margin:10px 0 8px!important;padding:10px 12px!important;border:1px solid var(--theme-line)!important;border-radius:10px!important;
  background:var(--theme-surface-inset)!important;color:var(--theme-text)!important;font-size:13px!important;
}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-current.is-custom{border-color:color-mix(in srgb,var(--theme-success) 45%,var(--theme-line))!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-current small{color:var(--theme-muted)!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-error{margin-top:8px;color:var(--theme-danger)!important;font-weight:600}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-report{list-style:none!important;margin:0 0 12px!important;padding:0!important;display:grid!important;gap:4px!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-report li{display:grid!important;grid-template-columns:96px 1fr!important;gap:10px!important;font-size:12.5px!important;padding:5px 2px!important;border-bottom:1px dashed var(--theme-line)!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-report li span{color:var(--theme-muted)!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-report li b{color:var(--theme-text)!important;font-weight:600!important;word-break:break-all}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:10px!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-upload{cursor:pointer}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-upload.is-busy{opacity:.6;pointer-events:none}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-help{font-size:12.5px!important;color:var(--theme-muted)!important}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-help summary{cursor:pointer;color:var(--theme-text)!important;font-weight:600}
html[data-dashboard-theme] .hwpx-template-panel .hwpx-template-help code{padding:1px 5px;border-radius:5px;background:var(--theme-surface-inset);color:var(--theme-text)}
/* ── 자산 취약점 대조 (ASSET_WATCH) ── */
html body #mainContent .aw-summary{margin-bottom:14px}
html body #mainContent .aw-card-warn strong{color:var(--theme-warning,#b54708)!important}
html body #mainContent .aw-card-ok strong{color:var(--theme-success,#1a7f37)!important}
html body #mainContent .aw-main{padding:6px 20px 20px!important}
html body #mainContent .aw-tabs{display:flex;gap:4px;border-bottom:1px solid var(--theme-line);margin:0 -20px 16px;padding:0 16px}
html body #mainContent .aw-tab{position:relative;padding:14px 16px 12px;border:0;background:none;color:var(--theme-muted);font-size:14.5px;font-weight:700;cursor:pointer}
html body #mainContent .aw-tab b{margin-left:4px;padding:1px 7px;border-radius:999px;font-size:11.5px;background:var(--theme-surface-soft,var(--theme-surface-inset));color:var(--theme-muted)}
html body #mainContent .aw-tab.is-active{color:var(--theme-primary-strong,var(--theme-primary))}
html body #mainContent .aw-tab.is-active::after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--theme-primary)}
html body #mainContent .aw-lead{margin:0 0 12px;font-size:13px;color:var(--theme-muted)}
html body #mainContent .aw-muted{color:var(--theme-muted)}
html body #mainContent .aw-small{font-size:12px}
html body #mainContent .aw-ver{font-family:Consolas,'D2Coding',monospace;font-size:13px;color:var(--theme-text)}
html body #mainContent .aw-empty{padding:28px 12px;text-align:center;color:var(--theme-muted);font-size:13.5px}
html body #mainContent .aw-toolbar{display:flex;flex-wrap:wrap;gap:6px}
html body #mainContent .aw-file-btn{cursor:pointer}

/* 판정 표시 */
html body #mainContent .aw-v{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;border:1px solid transparent;line-height:1.4}
html body #mainContent .aw-v--affected{color:var(--theme-danger);background:var(--theme-danger-soft);border-color:color-mix(in srgb,var(--theme-danger) 35%,transparent)}
html body #mainContent .aw-v--unknown{color:var(--theme-warning);background:var(--theme-warning-soft);border-color:color-mix(in srgb,var(--theme-warning) 35%,transparent)}
html body #mainContent .aw-v--safe{color:var(--theme-success);background:var(--theme-success-soft);border-color:color-mix(in srgb,var(--theme-success) 30%,transparent)}
html body #mainContent .aw-v--none{color:var(--theme-muted);background:var(--theme-surface-soft,var(--theme-surface-inset))}

/* 조치 현황: 자산 한 줄 */
html body #mainContent .aw-row{margin-bottom:8px;border:1px solid var(--theme-line);border-left:5px solid var(--theme-line-strong,var(--theme-line));border-radius:12px;background:var(--theme-surface);overflow:hidden}
html body #mainContent .aw-row--affected{border-left-color:var(--theme-danger)}
html body #mainContent .aw-row--unknown{border-left-color:var(--theme-warning)}
html body #mainContent .aw-row--safe{border-left-color:var(--theme-success)}
html body #mainContent .aw-row__main{display:grid;grid-template-columns:118px minmax(180px,1fr) minmax(240px,1.5fr) 170px 16px;align-items:center;gap:16px;width:100%;padding:14px 16px;border:0;background:none;color:var(--theme-text);text-align:left;font:inherit;cursor:pointer}
html body #mainContent .aw-row__main:disabled{cursor:default}
html body #mainContent .aw-row__main:not(:disabled):hover{background:var(--theme-surface-soft,var(--theme-surface-inset))}
html body #mainContent .aw-row__asset b{font-size:15px;color:var(--theme-heading)}
html body #mainContent .aw-row__asset small{display:block;margin-top:2px;font-size:12px;color:var(--theme-muted)}
html body #mainContent .aw-row__action{font-size:14px;line-height:1.5}
html body #mainContent .aw-act__label{font-weight:600}
html body #mainContent .aw-arrow{margin:0 6px;color:var(--theme-muted)}
html body #mainContent .aw-row .aw-fix{font-size:15.5px;color:var(--theme-danger)!important}
html body #mainContent .aw-act__text{font-size:13px;color:var(--theme-text)}
html body #mainContent .aw-row__meta{font-size:12.5px;color:var(--theme-muted);text-align:right}
html body #mainContent .aw-row__meta b{color:var(--theme-text)}
html body #mainContent .aw-row__chev{color:var(--theme-muted);font-size:12px}
html body #mainContent .aw-detail{padding:4px 16px 12px 150px;border-top:1px dashed var(--theme-line);background:var(--theme-surface-soft,transparent)}
html body #mainContent .aw-detail__item{padding:10px 0;border-bottom:1px solid var(--theme-line)}
html body #mainContent .aw-detail__item:last-child{border-bottom:0}
html body #mainContent .aw-detail__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px}
html body #mainContent .aw-detail__head a{color:var(--theme-heading);font-weight:600;text-decoration:none}
html body #mainContent .aw-detail__head a:hover{text-decoration:underline}
html body #mainContent .aw-detail__ver{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px;margin-top:5px;font-size:13px}
html body #mainContent .aw-detail__ver .aw-small{margin-left:10px}
html body #mainContent .aw-fine{margin-top:14px}
html body #mainContent .aw-fine > summary{margin-bottom:8px;cursor:pointer;font-size:13px;font-weight:600;color:var(--theme-muted)}
html body #mainContent .aw-allgood{padding:18px;border-radius:12px;background:var(--theme-success-soft);color:var(--theme-success);font-weight:700;text-align:center}
html body #mainContent .aw-start{padding:34px 20px;text-align:center}
html body #mainContent .aw-start b{font-size:16px;color:var(--theme-heading)}
html body #mainContent .aw-start p{margin:8px 0 16px;color:var(--theme-muted);font-size:13.5px}
html body #mainContent .aw-start .aw-toolbar{justify-content:center}

/* 자산 목록 */
html body #mainContent .aw-pane-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:12px}
html body #mainContent .aw-search{flex:1 1 260px;max-width:420px;padding:8px 12px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-surface-inset,var(--theme-surface));color:var(--theme-text)}
html body #mainContent .aw-table-wrap{overflow:auto;border:1px solid var(--theme-line);border-radius:12px}
html body #mainContent .aw-table{width:100%;border-collapse:collapse;font-size:13.5px}
html body #mainContent .aw-table th{padding:10px 12px;text-align:left;font-size:12px;font-weight:700;white-space:nowrap;color:var(--theme-muted);background:var(--theme-surface-soft,var(--theme-surface));border-bottom:1px solid var(--theme-line)}
html body #mainContent .aw-table td{padding:10px 12px;border-bottom:1px solid var(--theme-line);vertical-align:middle;color:var(--theme-text)}
html body #mainContent .aw-table tr:last-child td{border-bottom:0}
html body #mainContent .aw-table tr.is-off td{opacity:.55}
html body #mainContent .aw-col-actions{width:1%;white-space:nowrap;text-align:right}
html body #mainContent .aw-mini{padding:4px 10px!important;font-size:12px!important;min-height:0!important}
html body #mainContent .aw-mini + .aw-mini{margin-left:4px}
html body #mainContent .aw-danger{color:var(--theme-danger)!important}
html body #mainContent .aw-tag{display:inline-block;margin:1px 4px 1px 0;padding:1px 8px;border-radius:999px;font-size:11.5px;background:var(--theme-primary-soft);color:var(--theme-primary-strong,var(--theme-primary))}

/* 권고문별 */
html body #mainContent .aw-filter{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
html body #mainContent .aw-chip{padding:6px 12px;border-radius:999px;border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text);font-size:12.5px;cursor:pointer}
html body #mainContent .aw-chip b{margin-left:4px;color:var(--theme-muted)}
html body #mainContent .aw-chip.is-active{border-color:var(--theme-primary);background:var(--theme-primary-soft);color:var(--theme-primary-strong,var(--theme-primary));font-weight:700}
html body #mainContent .aw-notices{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:10px}
html body #mainContent .aw-notice{padding:12px 16px;border:1px solid var(--theme-line);border-top:4px solid var(--theme-line-strong,var(--theme-line));border-radius:12px;background:var(--theme-surface)}
html body #mainContent .aw-notice--affected{border-top-color:var(--theme-danger)}
html body #mainContent .aw-notice--unknown{border-top-color:var(--theme-warning)}
html body #mainContent .aw-notice--safe{border-top-color:var(--theme-success)}
html body #mainContent .aw-notice__head{display:flex;gap:8px;font-size:12px}
html body #mainContent .aw-notice h3{margin:4px 0 8px;font-size:14.5px;line-height:1.4;color:var(--theme-heading)}
html body #mainContent .aw-notice h3 a{color:inherit;text-decoration:none}
html body #mainContent .aw-notice h3 a:hover{text-decoration:underline}
html body #mainContent .aw-notice__items{margin:0;padding:0;list-style:none;font-size:13px}
html body #mainContent .aw-notice__items li{padding:5px 0;border-top:1px solid var(--theme-line)}

/* 도움말·대화상자 */
html body #mainContent .aw-help{margin-top:16px;padding:12px 18px!important;font-size:12.5px;color:var(--theme-muted)}
html body #mainContent .aw-help summary{cursor:pointer;font-weight:700;color:var(--theme-text)}
html body #mainContent .aw-help ul{margin:8px 0 0;padding-left:18px;line-height:1.8}
html body #mainContent .aw-help code,html body .aw-settings code{padding:1px 5px;border-radius:5px;background:var(--theme-surface-inset,var(--theme-surface-soft));color:var(--theme-text)}
html body #mainContent .aw-locked{padding:28px!important}
html body #mainContent .aw-locked p{color:var(--theme-muted)}
html body .aw-dialog{width:min(640px,calc(100vw - 32px))!important}
html body .aw-dialog .aw-form{padding:4px 16px 8px}
html body .aw-dialog .aw-form small{font-weight:400;color:var(--theme-muted);margin-left:4px}
html body .aw-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:10px 16px 16px}
html body .aw-dialog .aw-settings{display:flex;flex-direction:column;gap:10px;padding:8px 18px 4px;font-size:13.5px}

@media (max-width:1100px){
  html body #mainContent .aw-row__main{grid-template-columns:110px 1fr 16px;gap:6px 12px}
  html body #mainContent .aw-row__action{grid-column:2/3}
  html body #mainContent .aw-row__meta{grid-column:2/3;text-align:left}
  html body #mainContent .aw-row__chev{grid-row:1;grid-column:3}
  html body #mainContent .aw-detail{padding-left:16px}
  html body #mainContent .aw-notices{grid-template-columns:1fr}
}

/* 자산 취약점: 펼친 권고문의 '영향받는 제품' 표 */
html body #mainContent .aw-detail__reason{margin-top:6px;font-size:12.5px;color:var(--theme-warning)}
html body #mainContent .aw-ntable-wrap{margin-top:8px;max-width:980px;overflow:auto;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-surface)}
html body #mainContent .aw-ntable-cap{padding:6px 12px;font-size:12px;font-weight:700;color:var(--theme-muted);background:var(--theme-surface-soft,var(--theme-surface-inset));border-bottom:1px solid var(--theme-line)}
html body #mainContent .aw-ntable{width:100%;border-collapse:collapse;font-size:13px}
html body #mainContent .aw-ntable th{padding:7px 12px;text-align:left;font-size:12px;font-weight:700;white-space:nowrap;color:var(--theme-muted);border-bottom:1px solid var(--theme-line)}
html body #mainContent .aw-ntable td{padding:7px 12px;border-bottom:1px solid var(--theme-line);color:var(--theme-text);vertical-align:top}
html body #mainContent .aw-ntable tr:last-child td{border-bottom:0}
html body #mainContent .aw-ntable .aw-t-fix{white-space:nowrap}
html body #mainContent .aw-ntable .aw-t-cve{font-size:12px;color:var(--theme-muted)}
html body #mainContent .aw-ntable .aw-t-mark{width:1%;white-space:nowrap;text-align:right}
html body #mainContent .aw-ntable tr.is-hit td{background:var(--theme-danger-soft);font-weight:700;color:var(--theme-heading)}
html body #mainContent .aw-ntable tr.is-hit td.aw-t-fix{color:var(--theme-danger)!important}
html body #mainContent .aw-ntable tr.is-hit td:first-child{box-shadow:inset 3px 0 0 var(--theme-danger)}
html body #mainContent .aw-ntable tr.is-check td{background:var(--theme-warning-soft)}
html body #mainContent .aw-hitmark{font-size:12px;font-weight:700;color:var(--theme-danger)}
html body #mainContent .aw-checkmark{font-size:12px;font-weight:700;color:var(--theme-warning)}
html body #mainContent .aw-more{margin:10px 0 2px;padding:6px 12px;border:1px dashed var(--theme-line-strong,var(--theme-line));border-radius:999px;background:none;color:var(--theme-primary-strong,var(--theme-primary));font-size:12.5px;font-weight:600;cursor:pointer}

/* 자산 취약점: 알림 설정 */
html body .aw-notify-dialog{width:min(760px,calc(100vw - 32px))!important}
html body .aw-notify-dialog .dialog-head{align-items:flex-start}
html body .aw-notify-dialog .aw-notify__sub{margin:6px 0 0;font-size:12.5px;line-height:1.55;color:var(--theme-muted);max-width:600px}
html body .aw-notify{display:flex;flex-direction:column;gap:18px;padding:16px 20px 6px;max-height:calc(100vh - 230px);overflow:auto}
html body .aw-notify__group h3{margin:0 0 8px;font-size:13.5px;font-weight:800;color:var(--theme-heading)}
html body .aw-notify__group h3 small{margin-left:6px;font-size:11.5px;font-weight:500;color:var(--theme-muted)}
html body .aw-notify__choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .aw-choice{display:flex!important;align-items:flex-start;gap:10px;padding:12px 14px!important;border:1px solid var(--theme-line)!important;border-radius:12px!important;background:var(--theme-surface)!important;cursor:pointer;text-align:left}
html body .aw-choice input{margin-top:3px;flex:0 0 auto;width:auto!important;accent-color:var(--theme-primary)}
html body .aw-choice:has(input:checked){border-color:var(--theme-primary)!important;background:var(--theme-primary-soft)!important}
html body .aw-choice__body{display:grid;gap:3px}
html body .aw-choice__body b{font-size:13.5px;color:var(--theme-heading)}
html body .aw-choice__body small{font-size:12px;line-height:1.5;color:var(--theme-muted)}
html body .aw-notify .aw-switch{display:flex!important;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:0 0 8px;padding:12px 14px!important;border:1px solid var(--theme-line)!important;border-radius:12px!important;background:var(--theme-surface)!important;text-align:left;box-sizing:border-box}
html body .aw-notify .aw-switch:last-child{margin-bottom:0}
html body .aw-notify .aw-switch strong{font-size:13.5px;color:var(--theme-heading)!important}
html body .aw-notify .aw-switch small{font-size:12px!important;color:var(--theme-muted)!important}
html body .aw-notify code{padding:1px 5px;border-radius:5px;background:var(--theme-surface-inset,var(--theme-surface-soft));color:var(--theme-text);font-size:11.5px}
html body .aw-prev{display:grid;grid-template-columns:110px 1fr;gap:10px 14px;align-items:start;padding:14px;border:1px dashed var(--theme-line-strong,var(--theme-line));border-radius:12px;background:var(--theme-surface-soft,var(--theme-surface-inset))}
html body .aw-prev__label{padding-top:3px;font-size:12px;font-weight:700;color:var(--theme-muted)}
html body .aw-prev__subject{font-size:13px;color:var(--theme-text);word-break:break-all}
html body .aw-prev__tag{padding:1px 4px;border-radius:4px;background:#fee4e2;color:#b42318;font-weight:700}
html body .aw-prev__alert{padding:8px 10px;border:2px solid #b42318;border-radius:8px;background:#fef3f2;color:#101828;font-size:12px}
html body .aw-prev__alert > b{display:block;margin-bottom:6px;color:#b42318}
html body .aw-prev__alert table{width:100%;border-collapse:collapse;background:#fff}
html body .aw-prev__alert th,html body .aw-prev__alert td{padding:4px 6px;border:1px solid #e4e7ec;text-align:left;color:#101828}
html body .aw-prev__alert th{background:#f9fafb;font-size:11px}
html body .aw-prev__alert small{color:#667085}
html body .aw-prev__red{color:#b42318!important;font-weight:700}
html body .aw-prev__tg{margin:0;padding:10px 12px;border-radius:10px;background:#17212b;color:#e6edf3;font:12.5px/1.6 'Malgun Gothic','Apple SD Gothic Neo',sans-serif;white-space:pre-wrap}
@media (max-width:700px){html body .aw-notify__choices{grid-template-columns:1fr}html body .aw-prev{grid-template-columns:1fr}}

/* ── 메뉴 묶음 (NAV_REGROUP): 분석도구 펼침 · 보안 정보 배지 · 보안 정보 탭 ── */
html body .nav-group{display:flex;flex-direction:column;gap:inherit;min-width:0}
html body .nav-group__toggle{width:100%;margin:0;border:0;background:transparent;font:inherit;color:inherit;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none}
html body .nav-group__chev{margin-left:auto;padding-left:6px;font-size:11px;opacity:.65;transition:transform .18s ease}
html body .nav-group:not(.is-open) .nav-group__chev{transform:rotate(-90deg)}
html body .nav-group__items{display:none;flex-direction:column;gap:4px;margin:2px 0 4px 26px;padding-left:10px;border-left:2px solid var(--theme-line)}
html body .nav-group.is-open .nav-group__items{display:flex}
html body .nav-group__items .nav__link{min-height:0!important;padding-top:6px!important;padding-bottom:6px!important}
html body .nav-group__items .nav__icon{width:32px!important;height:32px!important;flex-basis:32px!important;font-size:14px!important}
html body .nav-group.has-active > .nav-group__toggle .nav__label{color:var(--theme-primary-strong,var(--theme-primary))!important;font-weight:800}
html body .nav__link--hub{position:relative}
html body .nav__badge{flex:0 0 auto;margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--theme-danger,#d1242f);color:#fff!important;font-size:11.5px;font-weight:800;line-height:20px;text-align:center}
/* 메뉴바를 접었거나(아이콘만) 좁은 화면(위쪽 격자)에서는 묶음 머리를 숨기고 도구 3개를 그대로 보여 줍니다. */
html body.sidebar-collapsed .nav-group,html body.sidebar-collapsed .nav-group__items{display:contents!important}
html body.sidebar-collapsed .nav-group__toggle{display:none!important}
html body.sidebar-collapsed .nav__badge{position:absolute;top:2px;right:4px;margin:0;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}
@media (max-width:900px){
  html body .nav-group,html body .nav-group__items{display:contents!important}
  html body .nav-group__toggle{display:none!important}
}

html body #mainContent .hub-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 14px;padding:5px;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-surface);box-shadow:var(--theme-shadow-soft,none)}
html body #mainContent .hub-tabs__title{display:inline-flex;align-items:center;gap:6px;margin-right:6px;padding:0 12px 0 8px;border-right:1px solid var(--theme-line);font-size:12.5px;font-weight:800;color:var(--theme-muted);white-space:nowrap}
html body #mainContent .hub-tab{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:10px;color:var(--theme-text);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s ease}
html body #mainContent .hub-tab:hover{background:var(--theme-surface-soft,var(--theme-surface-inset))}
html body #mainContent .hub-tab.is-active{background:var(--theme-primary-soft);color:var(--theme-primary-strong,var(--theme-primary));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-primary) 35%,transparent)}
html body #mainContent .hub-tab__icon{font-size:15px}
html body #mainContent .hub-tab__badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--theme-danger,#d1242f);color:#fff;font-size:11.5px;font-weight:800;line-height:20px;text-align:center}
html body #mainContent .hub-tab__lock{font-size:11px;opacity:.75}
@media (max-width:560px){html body #mainContent .hub-tabs__title{display:none}html body #mainContent .hub-tab{padding:8px 11px;font-size:13px}}

/* ── 사용자 화면 / 관리자 화면 분리 (PORTAL_SPLIT) ── */
/* 사용자 화면: 설정 버튼과 관리자 전용 요소를 모두 숨깁니다(서버도 설정 저장·관리자 API 를 받지 않음). */
html body.portal-user :is(#openSettingsBtn,#openAiSettingsBtn,#openAiApiStatusBtn,#openUrlTestBtn,#openExternalSitesBtn,#openFoldersBtn,#awSettingsBtn,#awRescanBtn,[data-admin-only]){display:none!important}
html body.portal-admin .portal-admin-mark{display:inline-block;margin-right:8px;padding:2px 9px;border-radius:999px;background:var(--theme-danger,#d1242f);color:#fff!important;font-size:10.5px;font-weight:800;letter-spacing:0;vertical-align:1px}
html body.portal-admin .topbar{box-shadow:inset 0 3px 0 var(--theme-danger,#d1242f),var(--theme-shadow-soft,none)}

/* ── 가입 요청 승인 (ADMIN_SIGNUP) ── */
html body .signup-pending-badge{display:inline-block;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:var(--theme-danger,#d1242f);color:#fff!important;font-size:11px;font-weight:800;line-height:18px;text-align:center;vertical-align:1px}
html body .signup-pending-badge[hidden]{display:none!important}
html body .signup-requests{margin:0 0 14px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--theme-warning,#b54708) 45%,transparent);border-radius:12px;background:var(--theme-warning-soft,#fffaeb)}
html body .signup-requests[hidden]{display:none!important}
html body .signup-requests h3{margin:0 0 10px;font-size:14px;color:var(--theme-heading)}
html body .signup-requests h3 small{margin-left:6px;font-size:12px;font-weight:500;color:var(--theme-muted)}
html body .signup-request{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;padding:10px 12px;margin-top:6px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-surface)}
html body .signup-request__who{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0;font-size:13px;color:var(--theme-text)}
html body .signup-request__who b{font-size:14px;color:var(--theme-heading)}
html body .signup-request__who small{flex-basis:100%;font-size:12px;color:var(--theme-muted)}
html body .signup-request__perm{height:32px;padding:0 8px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-size:12.5px}
html body .signup-request__reject{color:var(--theme-danger)!important}
@media (max-width:640px){html body .signup-request{grid-template-columns:1fr 1fr}html body .signup-request__who{grid-column:1/-1}}

/* ── 안내 페이지 (SITE_PAGES): 재시작 안내 덮개 · 점검 중 표시 · 설정 창 ── */
.sd-reconnect{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;background:rgba(10,15,30,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.sd-reconnect__card{width:min(420px,100%);padding:30px 28px;border-radius:18px;background:#fff;color:#1d2433;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.3);font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif}
.sd-reconnect__card h2{margin:14px 0 8px;font-size:18px}
.sd-reconnect__card p{margin:0;font-size:14px;line-height:1.6;color:#667085;white-space:pre-line}
.sd-reconnect__state{display:block;margin-top:14px;font-size:12px;color:#98a2b3}
.sd-reconnect__spin{width:42px;height:42px;margin:0 auto;border-radius:50%;border:4px solid #e4e7ff;border-top-color:#5b6cff;animation:sd-spin 1s linear infinite}
@keyframes sd-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.sd-reconnect__spin{animation-duration:3s}}
html body .maint-pill{display:inline-block;margin-left:8px;padding:2px 10px;border-radius:999px;background:var(--theme-warning,#b54708);color:#fff!important;font-size:10.5px;font-weight:800;letter-spacing:0;text-decoration:none;vertical-align:1px;animation:sd-alert-blink 1.6s ease-in-out infinite}
html body .is-maint-on{color:var(--theme-warning,#b54708)!important;font-weight:800}
html body .site-pages-dialog{width:min(720px,calc(100vw - 32px))!important}
html body .sp-settings{display:flex;flex-direction:column;gap:16px;padding:16px 20px 6px;max-height:calc(100vh - 230px);overflow:auto}
html body .sp-group{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-surface)}
html body .sp-group--maint{border-color:color-mix(in srgb,var(--theme-warning,#b54708) 40%,var(--theme-line))}
html body .sp-group__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body .sp-group__head h3{margin:0;font-size:14.5px;color:var(--theme-heading)}
html body .sp-preview{font-size:12.5px;font-weight:700;color:var(--theme-primary-strong,var(--theme-primary));text-decoration:none}
html body .sp-preview:hover{text-decoration:underline}
html body .sp-state{margin:0;padding:8px 12px;border-radius:10px;background:var(--theme-surface-soft,var(--theme-surface-inset));font-size:12.5px;color:var(--theme-muted)}
html body .sp-state.is-on{background:var(--theme-warning-soft,#fffaeb);color:var(--theme-warning,#b54708);font-weight:700}
html body .sp-hint{margin:0;font-size:12.5px;line-height:1.55;color:var(--theme-muted)}
html body .sp-switch{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px!important;border:1px solid var(--theme-line)!important;border-radius:12px!important;background:var(--theme-surface)!important;text-align:left}
html body .sp-switch strong{font-size:13.5px;color:var(--theme-heading)!important}
html body .sp-switch small{font-size:12px!important;color:var(--theme-muted)!important}
html body .sp-field{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:700;color:var(--theme-text)}
html body .sp-field small{margin-left:4px;font-weight:500;color:var(--theme-muted)}
html body .sp-field input,html body .sp-field textarea{width:100%;padding:9px 12px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-surface-inset,var(--theme-surface));color:var(--theme-text);font:inherit;font-weight:500;resize:vertical}

/* ── 보안 이슈 (SECURITY_ISSUES): 보안권고문·보안뉴스 요약 카드 ── */
html body #mainContent .si-page{display:flex;flex-direction:column;gap:18px}
html body #mainContent .si-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding:18px 22px!important}
html body #mainContent .si-head h2{margin:0 0 4px;font-size:18px;color:var(--theme-heading)}
html body #mainContent .si-head p{margin:0;font-size:13px;color:var(--theme-muted)}
html body #mainContent .si-search{display:flex;align-items:center;gap:8px;flex:0 1 420px;min-width:240px;padding:0 14px;height:44px;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface-inset,var(--theme-surface))}
html body #mainContent .si-search input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:none;padding:0!important;font:inherit;font-size:14px;color:var(--theme-text)}
html body #mainContent .si-section__head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:4px 2px 12px}
html body #mainContent .si-section__head h2{margin:0;font-size:17px;color:var(--theme-heading);display:flex;align-items:center;gap:8px}
html body #mainContent .si-count{padding:1px 9px;border-radius:999px;font-size:12px;background:var(--theme-primary-soft);color:var(--theme-primary-strong,var(--theme-primary))}
html body #mainContent .si-chips{display:flex;flex-wrap:wrap;gap:6px}
html body #mainContent .si-chip{padding:5px 12px;border-radius:999px;border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text);font-size:12.5px;font-weight:600;cursor:pointer}
html body #mainContent .si-chip b{margin-left:3px;color:var(--theme-muted);font-weight:600}
html body #mainContent .si-chip.is-active{border-color:var(--theme-primary);background:var(--theme-primary-soft);color:var(--theme-primary-strong,var(--theme-primary))}
html body #mainContent .si-updated{margin-left:auto;font-size:12px;color:var(--theme-muted)}
html body #mainContent .si-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
html body #mainContent .si-card{display:flex;flex-direction:column;gap:8px;min-height:190px;padding:16px 18px;border:1px solid var(--theme-line);border-radius:16px;background:var(--theme-surface);color:var(--theme-text);text-decoration:none;box-shadow:0 1px 2px var(--theme-shadow-soft,rgba(0,0,0,.05));transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
html body #mainContent :is(a.si-card,.si-card.is-link):hover,html body #mainContent .si-news-item:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--theme-primary) 45%,var(--theme-line));box-shadow:0 12px 28px var(--theme-shadow-soft,rgba(0,0,0,.08))}
html body #mainContent .si-card__meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--theme-muted)}
html body #mainContent .si-src{padding:2px 8px;border-radius:6px;font-size:11.5px;font-weight:800;background:var(--theme-primary-soft);color:var(--theme-primary-strong,var(--theme-primary))}
html body #mainContent .si-src--news{background:var(--theme-accent-soft,var(--theme-primary-soft));color:var(--theme-accent,var(--theme-primary))}
html body #mainContent .si-new{padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:800;background:var(--theme-danger,#d1242f);color:#fff}
html body #mainContent .si-card h3,html body #mainContent .si-news-item h3{margin:0;font-size:15.5px;line-height:1.45;color:var(--theme-heading);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body #mainContent .si-card__sum,html body #mainContent .si-news-item p{margin:0;font-size:13.5px;line-height:1.65;color:var(--theme-text);opacity:.88;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body #mainContent .si-card__foot{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto}
html body #mainContent .si-tags{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
html body #mainContent .si-tag{padding:2px 8px;border-radius:999px;border:1px solid var(--theme-line);font-size:11.5px;color:var(--theme-muted);white-space:nowrap;max-width:170px;overflow:hidden;text-overflow:ellipsis}
html body #mainContent .si-tag--cve{border-color:color-mix(in srgb,var(--theme-danger) 35%,transparent);color:var(--theme-danger)}
html body #mainContent .si-tag--more{font-weight:700}
html body #mainContent .si-go{flex:0 0 auto;font-size:12.5px;font-weight:700;color:var(--theme-primary-strong,var(--theme-primary))}
html body #mainContent .si-news{display:grid;grid-template-columns:repeat(auto-fill,minmax(460px,1fr));gap:10px}
html body #mainContent .si-news-item{display:flex;gap:16px;align-items:stretch;padding:14px 16px;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-surface);color:var(--theme-text);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
html body #mainContent .si-news-item__body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
html body #mainContent .si-news-item p{-webkit-line-clamp:2;font-size:13px}
html body #mainContent .si-thumb{flex:0 0 132px;width:132px;height:92px;object-fit:cover;border-radius:10px;background:var(--theme-surface-soft);align-self:center}
html body #mainContent .si-muted{color:var(--theme-muted)!important;opacity:1!important}
html body #mainContent .si-empty{grid-column:1/-1;padding:30px 12px;text-align:center;color:var(--theme-muted);font-size:13.5px;border:1px dashed var(--theme-line);border-radius:14px}
html body #mainContent .si-more[hidden]{display:none!important}
html body #mainContent .si-more{display:block;margin:12px auto 0;padding:8px 22px;border-radius:999px;border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text);font-weight:700;cursor:pointer}
@media (max-width:640px){html body #mainContent .si-news{grid-template-columns:1fr}html body #mainContent .si-thumb{flex-basis:96px;width:96px;height:72px}html body #mainContent .si-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){html body #mainContent :is(.si-card,.si-news-item){transition:none}}

/* ── 보안 이슈 통계 (SECURITY_ISSUES_STATS): 색은 dataviz 기본 팔레트 1·2번(검증 통과), 어두운 테마는 별도 단계 ── */
html body .si-stats,html body .si-tip{--si-notice:#2a78d6;--si-news:#eb6834;--si-grid:#e1e0d9;--si-axis:#c3c2b7;--si-ink-muted:#898781;--si-prev:#a3a29a}
html[data-theme-mode="dark"] body .si-stats,html[data-theme-mode="dark"] body .si-tip{--si-notice:#3987e5;--si-news:#d95926;--si-grid:#2c2c2a;--si-axis:#383835;--si-prev:#6b6a64}
html body #mainContent .si-stats{padding:16px 20px 12px!important;transition:opacity .2s}
html body #mainContent .si-stats.is-loading .si-charts,html body #mainContent .si-stats.is-loading .si-kpis{opacity:.55}
html body #mainContent .si-stats__bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:14px}
html body #mainContent .si-stats__bar h2{margin:0;font-size:16px;color:var(--theme-heading)}
html body #mainContent .si-seg{display:inline-flex;padding:3px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-surface-soft,var(--theme-surface))}
html body #mainContent .si-seg__btn{padding:5px 14px;border:0;border-radius:7px;background:none;color:var(--theme-muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
html body #mainContent .si-seg__btn.is-active{background:var(--theme-surface);color:var(--theme-heading);box-shadow:0 1px 3px var(--theme-shadow-soft,rgba(0,0,0,.08))}
html body #mainContent .si-stat-range{font-size:12.5px;color:var(--theme-muted)}
html body #mainContent .si-stat-tablebtn{margin-left:auto;padding:5px 12px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
html body #mainContent .si-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
html body #mainContent .si-kpi{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface)}
html body #mainContent .si-kpi__label{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--theme-muted)}
html body #mainContent .si-kpi strong{font-size:24px;font-weight:700;line-height:1.25;color:var(--theme-heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #mainContent .si-kpi small{font-size:12px;color:var(--theme-muted)}
html body #mainContent .si-key{display:inline-block;width:10px;height:10px;border-radius:3px;flex:0 0 auto}
html body #mainContent .si-key--notice{background:var(--si-notice)}
html body #mainContent .si-key--news{background:var(--si-news)}
html body #mainContent .si-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(240px,.8fr);gap:12px}
html body #mainContent .si-chart{margin:0;padding:12px 12px 6px;border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface);min-width:0}
html body #mainContent .si-chart figcaption{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:13px;font-weight:700;color:var(--theme-text)}
html body #mainContent .si-chart__plot svg{display:block;max-width:100%;height:auto;overflow:visible}
html body #mainContent .si-axis{stroke:var(--si-axis);stroke-width:1}
html body #mainContent .si-tick{fill:var(--theme-muted);font-size:11px;font-variant-numeric:tabular-nums}
html body #mainContent .si-val{fill:var(--theme-text);font-size:11.5px;font-weight:700}
html body #mainContent .si-ranks{display:flex;flex-direction:column;gap:9px;padding:6px 4px 8px}
html body #mainContent .si-rank{display:grid;grid-template-columns:92px minmax(0,1fr) 38px;align-items:center;gap:8px;font-size:12.5px}
html body #mainContent .si-rank__name{color:var(--theme-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #mainContent .si-rank__track{height:10px}
html body #mainContent .si-rank__num{text-align:right;color:var(--theme-text);font-variant-numeric:tabular-nums}
html body #mainContent .si-stat-empty{margin:20px 0;text-align:center;font-size:12.5px;color:var(--theme-muted)}
html body #mainContent .si-stat-table{margin-top:12px;max-height:280px;overflow:auto;border:1px solid var(--theme-line);border-radius:10px}
html body #mainContent .si-stat-table table{width:100%;border-collapse:collapse;font-size:12.5px}
html body #mainContent .si-stat-table :is(th,td){padding:6px 12px;border-bottom:1px solid var(--theme-line);text-align:right;font-variant-numeric:tabular-nums;color:var(--theme-text)}
html body #mainContent .si-stat-table :is(thead th,tbody th){text-align:left}
html body #mainContent .si-stat-table thead th{position:sticky;top:0;background:var(--theme-surface-soft,var(--theme-surface));color:var(--theme-muted);font-weight:700}
html body #mainContent .si-stat-note{margin:8px 2px 0;font-size:12px;color:var(--theme-muted);min-height:16px}
html body .si-tip{position:fixed;z-index:2147482000;pointer-events:none;padding:8px 10px;border-radius:8px;background:var(--theme-surface,#fff);border:1px solid var(--theme-line,#e1e0d9);box-shadow:0 8px 24px rgba(0,0,0,.15);font-size:12px;color:var(--theme-text,#0b0b0b)}
html body .si-tip span{color:var(--theme-muted,#52514e)}
@media (max-width:1180px){html body #mainContent .si-charts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html body #mainContent .si-chart--rank{grid-column:1/-1}}
@media (max-width:760px){html body #mainContent .si-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html body #mainContent .si-charts{grid-template-columns:1fr}}
/* 꺾은선 그래프 + 움직임 */
html body #mainContent .si-chart__plot{width:100%;min-height:220px}
html body #mainContent .si-chart figcaption .si-legend{display:inline-flex;gap:12px;margin-left:auto;font-size:11.5px;font-weight:600;color:var(--theme-muted)}
html body #mainContent .si-legend>span{display:inline-flex;align-items:center;gap:5px}
html body #mainContent .si-lg{display:inline-block;width:16px;height:0;border-top:2.5px solid var(--si-notice);border-radius:2px}
html body #mainContent .si-lg--news{border-top-color:var(--si-news)}
html body #mainContent .si-lg--prev{border-top:1.5px dashed var(--si-prev)}
html body #mainContent .si-gridline{stroke:var(--si-grid);stroke-width:1}
html body #mainContent .si-stop--notice{stop-color:var(--si-notice)}
html body #mainContent .si-stop--news{stop-color:var(--si-news)}
html body #mainContent .si-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;animation:siDraw 1.2s cubic-bezier(.33,0,.2,1) both}
html body #mainContent .si-line--notice{stroke:var(--si-notice);filter:drop-shadow(0 6px 6px color-mix(in srgb,var(--si-notice) 35%,transparent))}
html body #mainContent .si-line--news{stroke:var(--si-news);filter:drop-shadow(0 6px 6px color-mix(in srgb,var(--si-news) 35%,transparent))}
html body #mainContent .si-area{animation:siFade .9s .35s ease-out both}
html body #mainContent .si-prev{fill:none;stroke:var(--si-prev);stroke-width:1.5;stroke-dasharray:4 4;stroke-linecap:round;animation:siFade .6s ease-out both}
html body #mainContent .si-dot{stroke:var(--theme-surface);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:siPop .4s cubic-bezier(.34,1.56,.64,1) both}
html body #mainContent .si-dot--notice{fill:var(--si-notice)}
html body #mainContent .si-dot--news{fill:var(--si-news)}
html body #mainContent .si-focus{stroke:var(--theme-surface);stroke-width:2.5;pointer-events:none}
html body #mainContent .si-pulse{fill:none;stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center;pointer-events:none;animation:siPulse 2.2s 1.3s ease-out infinite}
html body #mainContent .si-pulse--notice{stroke:var(--si-notice)}
html body #mainContent .si-pulse--news{stroke:var(--si-news)}
html body #mainContent .si-cross{stroke:var(--si-axis);stroke-width:1;stroke-dasharray:3 3;pointer-events:none}
html body #mainContent .si-hit{fill:transparent;outline:none;cursor:crosshair}
html body #mainContent .si-val{paint-order:stroke;stroke:var(--theme-surface);stroke-width:3px;stroke-linejoin:round;animation:siFade .4s 1.1s ease-out both}
html body #mainContent .si-rank__bar{display:block;height:10px;border-radius:0 4px 4px 0;background:linear-gradient(90deg,color-mix(in srgb,var(--si-notice) 55%,transparent),var(--si-notice));transition:width .9s cubic-bezier(.22,1,.36,1)}
html body #mainContent .si-kpi{transition:transform .2s ease,box-shadow .2s ease}
html body #mainContent .si-kpi:hover{transform:translateY(-2px);box-shadow:0 8px 20px var(--theme-shadow-soft,rgba(0,0,0,.08))}
html body .si-tip__row{display:flex;align-items:center;gap:7px;white-space:nowrap}
html body .si-tip__row+.si-tip__row{margin-top:4px}
html body .si-tip b{font-size:14px;color:var(--theme-heading,#0b0b0b);font-variant-numeric:tabular-nums}
html body .si-tip__key{display:inline-block;width:12px;height:0;border-top:2.5px solid var(--si-notice);border-radius:2px}
html body .si-tip__key--news{border-top-color:var(--si-news)}
html body .si-tip__key--prev{border-top:1.5px dashed var(--si-prev)}
@keyframes siDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes siFade{from{opacity:0}to{opacity:1}}
@keyframes siPop{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes siPulse{0%{transform:scale(1);opacity:.75}100%{transform:scale(3.4);opacity:0}}
html body #mainContent .si-stats.si-noanim :is(.si-line,.si-area,.si-prev,.si-dot,.si-val){animation:none}
html body #mainContent .si-stats.si-noanim .si-rank__bar{transition:none}
@media (prefers-reduced-motion:reduce){html body #mainContent .si-stats :is(.si-line,.si-area,.si-prev,.si-dot,.si-val,.si-pulse){animation:none}html body #mainContent .si-stats .si-rank__bar{transition:none}}

/* ── 긴급 CVE (SECURITY_ISSUES_CRITICAL_CVE): 상태색 critical #d03b3b 은 늘 느낌표 + 글자와 함께 ── */
html body{--si-crit:#d03b3b}
html body #mainContent .si-section__head .si-search{margin-left:auto;flex:0 1 360px;min-width:220px;height:38px;border-radius:10px}
html body #mainContent .si-section__head .si-search input{font-size:13.5px}
html body #mainContent .si-critonly{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid color-mix(in srgb,var(--si-crit) 45%,var(--theme-line));border-radius:999px;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
html body #mainContent .si-critonly[hidden]{display:none!important}
html body #mainContent .si-critonly i,html body #mainContent .si-crit-badge i,html body #mainContent .si-crit__icon,html body #mainContent .si-kpi__crit i{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--si-crit);color:#fff;font-style:normal;font-size:11px;font-weight:900;line-height:1;flex:0 0 auto}
html body #mainContent .si-critonly.is-active{background:color-mix(in srgb,var(--si-crit) 12%,var(--theme-surface));border-color:var(--si-crit)}
html body #mainContent .si-critonly b{font-variant-numeric:tabular-nums}
html body #mainContent .si-crit-badge{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:2px 8px 2px 3px;border-radius:999px;background:color-mix(in srgb,var(--si-crit) 12%,transparent);color:var(--theme-heading);font-size:11.5px;font-weight:800}
html body #mainContent .si-card.has-crit{border-color:color-mix(in srgb,var(--si-crit) 40%,var(--theme-line))}
html body #mainContent .si-crit{list-style:none;margin:0;padding:8px 10px;display:flex;flex-direction:column;gap:6px;border-radius:10px;background:color-mix(in srgb,var(--si-crit) 7%,var(--theme-surface));border:1px solid color-mix(in srgb,var(--si-crit) 22%,transparent)}
html body #mainContent .si-crit li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;font-size:12px;line-height:1.4;color:var(--theme-text)}
html body #mainContent .si-crit__id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;color:var(--theme-heading)}
html body #mainContent .si-crit__score{padding:0 6px;border-radius:5px;background:var(--si-crit);color:#fff;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
html body #mainContent .si-crit__kev{padding:0 6px;border-radius:5px;border:1px solid var(--si-crit);color:var(--theme-heading);font-size:11px;font-weight:700}
html body #mainContent .si-crit__what{flex-basis:100%;padding-left:23px;color:var(--theme-muted);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #mainContent .si-crit__more{padding-left:23px;color:var(--theme-muted);font-size:11.5px}
html body #mainContent .si-kpi small.si-kpi__crit{display:inline-flex;align-items:center;gap:5px;color:var(--theme-heading);font-weight:700}
@media (max-width:760px){html body #mainContent .si-section__head .si-search{flex-basis:100%;margin-left:0}}

/* ── 긴급 CVE 목록 스크롤 + CVE 선택창 ── */
html body #mainContent .si-card.is-link{cursor:pointer}
html body #mainContent .si-card h3 a{color:inherit;text-decoration:none}
html body #mainContent .si-card h3 a:focus-visible{outline:2px solid var(--theme-accent,#2a78d6);outline-offset:2px;border-radius:4px}
html body #mainContent .si-crit.is-scroll{max-height:150px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--si-crit) 45%,transparent) transparent}
html body #mainContent .si-crit.is-scroll::-webkit-scrollbar{width:6px}
html body #mainContent .si-crit.is-scroll::-webkit-scrollbar-thumb{border-radius:3px;background:color-mix(in srgb,var(--si-crit) 45%,transparent)}
html body #mainContent button.si-crit__id{padding:0 4px;margin:0 -4px;border:0;border-radius:4px;background:none;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:700;color:var(--theme-heading);text-decoration:underline dotted color-mix(in srgb,var(--si-crit) 70%,transparent);text-underline-offset:3px;cursor:pointer}
html body #mainContent button.si-crit__id:hover,html body #mainContent button.si-crit__id[aria-expanded="true"]{background:color-mix(in srgb,var(--si-crit) 14%,transparent)}
html body #mainContent button.si-crit__id:focus-visible{outline:2px solid var(--si-crit);outline-offset:1px}
html body .si-cvemenu{--si-crit:#d03b3b;position:fixed;z-index:2147482500;width:260px;padding:6px;border:1px solid var(--theme-line,#e1e0d9);border-radius:12px;background:var(--theme-surface,#fff);box-shadow:0 14px 34px rgba(0,0,0,.18);font-size:13px;color:var(--theme-text,#222)}
html body .si-cvemenu__head{display:flex;align-items:center;gap:7px;padding:6px 8px 4px}
html body .si-cvemenu__head i{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--si-crit);color:#fff;font-style:normal;font-size:11px;font-weight:900}
html body .si-cvemenu__head b{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--theme-heading,#111)}
html body .si-cvemenu__head span{margin-left:auto;padding:0 6px;border-radius:5px;background:var(--si-crit);color:#fff;font-size:11px;font-weight:800}
html body .si-cvemenu__what{margin:0 8px 6px;font-size:11.5px;color:var(--theme-muted,#666);line-height:1.4}
html body .si-cvemenu__item{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:8px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
html body .si-cvemenu__item:hover,html body .si-cvemenu__item:focus-visible{background:var(--theme-surface-soft,rgba(0,0,0,.05));outline:none}
html body .si-cvemenu__item b{display:block;font-size:13px;color:var(--theme-heading,#111)}
html body .si-cvemenu__item small{display:block;font-size:11.5px;color:var(--theme-muted,#666)}
html body .si-cvemenu__icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--theme-surface-soft,rgba(0,0,0,.05));flex:0 0 auto}

/* ── 제목 띠 없앰 (TOPBAR_SLIM): 버튼만 오른쪽 위 얇은 줄 ── */
html body .shell>.topbar.topbar--hidden{display:none!important}
html body .shell>.topbar.topbar--slim{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-height:0!important;height:auto!important;margin:0 0 10px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important}
html body .shell>.topbar.topbar--slim::before,html body .shell>.topbar.topbar--slim::after{display:none!important}
html body .shell>.topbar.topbar--slim .topbar__title{display:none!important}
html body .shell>.topbar.topbar--slim .topbar__actions{margin-left:auto!important}
html body .shell>.topbar.topbar--slim .maint-pill{margin-right:auto}
html body .shell>.topbar.topbar--slim .topbar__page-actions:empty{display:none!important}
html body.portal-admin .shell>.topbar.topbar--slim{box-shadow:none!important}
html body .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html body .brand__copy small.brand__admin{color:var(--theme-danger,#d1242f)!important;font-weight:800}

/* ── 웹 모니터링 요약 칸: 위로 붙이고 높이는 알맞게 ── */
html body .shell>.topbar.topbar--slim{margin-bottom:6px!important}
html body .shell>#mainContent.page{padding-top:4px!important}
html body #mainContent .summary-grid .summary-card{min-height:94px!important;padding:14px 20px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:6px!important}
html body #mainContent .summary-grid .summary-card>span{font-size:14px!important;font-weight:700!important}
html body #mainContent .summary-grid .summary-card>strong{font-size:30px!important;line-height:1.1!important}
html body #mainContent .summary-grid .summary-card>strong#lastUpdated{font-size:20px!important;line-height:1.3!important}
/* VirusTotal: 화면 안 머리글 없앰 → 'API 연결' 상태만 오른쪽 위 줄에 (VT_HEAD_SLIM) */
html body .topbar .vt-api-pill{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--theme-muted)}
html body .topbar .vt-api-pill__label{letter-spacing:.02em}
/* ── 오른쪽 위 줄 맞춤 (TOPBAR_ALIGN): 모든 메뉴에서 줄 높이 38px 고정, 버튼 높이 32px 로 통일 ── */
html body .shell>.topbar.topbar--slim{height:38px!important;min-height:38px!important;max-height:38px!important;margin:0 0 6px!important;align-items:center!important;overflow:visible!important}
html body .shell>.topbar.topbar--slim .topbar__actions{display:flex!important;align-items:center!important;gap:8px!important;height:38px!important;min-height:0!important;padding:0!important;margin:0 0 0 auto!important}
html body .shell>.topbar.topbar--slim .topbar__page-actions{display:flex!important;align-items:center!important;gap:8px!important;height:38px!important;margin:0!important;padding:0!important;flex-wrap:nowrap!important}
html body .shell>.topbar.topbar--slim .topbar__page-actions>:is(.btn,button,a,span){box-sizing:border-box!important;height:32px!important;min-height:32px!important;max-height:32px!important;display:inline-flex!important;align-items:center!important;margin:0!important;white-space:nowrap!important}
html body .shell>.topbar.topbar--slim .topbar__page-actions>[hidden]{display:none!important}
html body .shell>.topbar.topbar--slim .topbar__page-actions .vt-api-pill .status-badge{height:28px!important;display:inline-flex!important;align-items:center!important}
html body .shell>.topbar.topbar--slim .topbar-auth{display:flex!important;align-items:center!important;gap:6px!important;height:38px!important;margin:0!important;padding:0!important}
html body .shell>.topbar.topbar--slim .topbar-auth>.topbar-auth__button{box-sizing:border-box!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding-top:0!important;padding-bottom:0!important;display:inline-flex!important;align-items:center!important}
html body .shell>.topbar.topbar--slim .topbar-auth>.topbar-auth__button--logout{width:38px!important;min-width:38px!important;justify-content:center!important}
html body .shell>.topbar.topbar--slim .topbar-auth__avatar{width:26px!important;height:26px!important;min-width:26px!important;font-size:12px!important}
html body .shell>.topbar.topbar--slim .maint-pill{height:32px!important;display:inline-flex!important;align-items:center!important}
/* 왼쪽 패널이 예전 머리 띠 높이(92px)만큼 내려가 붙던 것: 옆 칸과 같은 높이에서 시작 */
html body .mail-side-panel,html body .vt-hero-panel{top:14px!important}
/* VirusTotal 오른쪽 칸: 요약 카드 위 흰 띠(칸 바탕색)와 4px 여백 없앰 → 왼쪽 패널과 같은 높이에서 시작 */
html body .intel-new-page--vt .intel-new-main{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
html body .intel-new-page--vt .intel-new-main>.intel-new-metrics{margin-top:0!important}
/* ── 보안권고문 가로 한 줄 (SECURITY_ISSUES_RAIL): 스크롤바 숨김, 양 끝 흐림 + ‹ › 단추 ── */
html body #mainContent .si-rail-wrap{position:relative}
html body #mainContent .si-grid.si-rail{display:flex!important;grid-template-columns:none!important;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;padding:6px 2px 12px;margin:-6px -2px -12px;outline:none;cursor:grab}
html body #mainContent .si-rail::-webkit-scrollbar{display:none;width:0;height:0}
/* 카드 크기 모두 동일(한 화면 5장): 긴 CVE·제품 글자가 카드를 늘리지 않도록 너비 고정 + 줄바꿈 */
html body #mainContent .si-rail>.si-card{--si-card-w:max(210px,calc((100% - 48px) / 5));flex:0 0 var(--si-card-w);width:var(--si-card-w);min-width:var(--si-card-w);max-width:var(--si-card-w);box-sizing:border-box;overflow:hidden;scroll-snap-align:start}
html body #mainContent .si-rail>.si-card *{min-width:0;overflow-wrap:anywhere}
/* 좁은 카드: 여백·글자 조금 줄이고, 긴급 CVE 목록은 높이를 정해 안에서 스크롤, 태그는 두 줄까지 */
html body #mainContent .si-rail>.si-card{padding:14px 14px;gap:7px}
html body #mainContent .si-rail>.si-card h3{font-size:15px;line-height:1.4}
html body #mainContent .si-rail>.si-card .si-card__sum{font-size:13px}
html body #mainContent .si-rail .si-crit{max-height:128px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:7px 8px}
html body #mainContent .si-rail .si-crit li{gap:3px 5px}
html body #mainContent .si-rail .si-crit__id,html body #mainContent .si-rail button.si-crit__id{font-size:11px;letter-spacing:-.2px;margin:0 -2px;padding:0 2px}
html body #mainContent .si-rail .si-crit__icon{width:15px!important;height:15px!important;flex:0 0 15px!important;font-size:10px!important}
html body #mainContent .si-rail .si-crit li{flex-wrap:wrap;column-gap:4px}
html body #mainContent .si-rail :is(.si-crit__score,.si-crit__kev){font-size:10.5px;padding:0 5px}
html body #mainContent .si-rail .si-crit__what{padding-left:20px;font-size:11px}
html body #mainContent .si-rail .si-tags{max-height:56px;overflow:hidden}
html body #mainContent .si-rail .si-tag{font-size:11.5px}
html body #mainContent .si-rail>.si-card :is(.si-tags,.si-card__meta,.si-card__foot){flex-wrap:wrap}
html body #mainContent .si-rail>.si-empty{flex:1 1 100%;cursor:default}
html body #mainContent .si-rail.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
html body #mainContent .si-rail:focus-visible{box-shadow:0 0 0 2px var(--theme-primary,#2a78d6);border-radius:16px}
html body #mainContent .si-rail-wrap.can-right .si-rail{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 18px),transparent)}
html body #mainContent .si-rail-wrap.can-left .si-rail{-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px);mask-image:linear-gradient(90deg,transparent,#000 18px)}
html body #mainContent .si-rail-wrap.can-left.can-right .si-rail{-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent)}
html body #mainContent .si-rail__btn{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:40px;height:40px;margin-top:-20px;padding:0 0 3px;border-radius:50%;border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-heading,var(--theme-text));font-size:24px;font-weight:700;line-height:1;box-shadow:0 6px 16px var(--theme-shadow-soft,rgba(0,0,0,.14));cursor:pointer;transition:opacity .15s ease,transform .15s ease}
html body #mainContent .si-rail__btn--prev{left:-10px}
html body #mainContent .si-rail__btn--next{right:-10px}
html body #mainContent .si-rail__btn:hover{transform:scale(1.08)}
html body #mainContent .si-rail__btn:focus-visible{outline:2px solid var(--theme-primary,#2a78d6);outline-offset:2px}
html body #mainContent .si-rail__btn:disabled{opacity:0;pointer-events:none}
@media (max-width:640px){html body #mainContent .si-rail>.si-card{flex-basis:86%}html body #mainContent .si-rail__btn{display:none}}
@media (max-width:900px){html body .shell>.topbar.topbar--slim,html body .shell>.topbar.topbar--slim .topbar__actions,html body .shell>.topbar.topbar--slim .topbar__page-actions{height:auto!important;max-height:none!important;flex-wrap:wrap!important}}

/* 유출 비밀번호 경고 (BREACHED_PASSWORD) */
html body #mainContent .pw-breach-banner{margin:0 0 14px;padding:11px 16px;border-radius:12px;border:1px solid color-mix(in srgb,var(--theme-danger,#d03b3b) 40%,transparent);background:var(--theme-danger-soft,#fef3f2);color:var(--theme-text);font-size:13.5px;line-height:1.6}
html body #mainContent .pw-breach-banner b{color:var(--theme-danger,#d03b3b)}
html body #mainContent .pw-breach-banner a{font-weight:700;margin-left:6px;white-space:nowrap}
/* 보안 정보도 펼침 묶음: 접혀 있을 때만 묶음 줄에 배지, 펼치면 '자산 취약점' 줄에 */
html body .nav-group.is-open > .nav-group__toggle .nav__badge--group{display:none}
html body .nav-group__toggle .nav__badge--group{margin-left:auto;margin-right:4px}
/* 정보 출처 (INFO_SOURCES): 왼쪽 아래 단추 + 목록 창 */
html body .sidebar__footer.sidebar__sources{width:100%;font:inherit;text-align:left;cursor:pointer;color:inherit}
html body .sidebar__footer.sidebar__sources:hover{border-color:var(--theme-primary,#0969da)!important}
html body .sidebar__footer.sidebar__sources:focus-visible{outline:2px solid var(--theme-primary,#0969da);outline-offset:2px}
html body .sources-dialog{width:min(640px,calc(100vw - 32px))!important}
html body .sources-dialog__sub{margin:4px 0 0;font-size:12.5px;color:var(--theme-muted);font-weight:400}
html body .sources-list{display:grid;gap:14px;padding:4px 20px 8px;max-height:calc(100vh - 230px);overflow:auto}
html body .sources-group h3{margin:0 0 6px;font-size:13px;color:var(--theme-heading)}
html body .sources-group ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
html body .sources-group li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;padding:7px 0;border-bottom:1px dashed var(--theme-line);font-size:13px}
html body .sources-group li:last-child{border-bottom:0}
html body .sources-group small{color:var(--theme-muted);font-size:12px;line-height:1.5}
html body .sources-name a{font-weight:700;text-decoration:none}
html body .sources-name a:hover{text-decoration:underline}
@media (max-width:640px){html body .sources-group li{grid-template-columns:1fr}}
/* 보안 이슈: 긴급이 아닌 CVE 도 같은 목록에(긴급은 빨강, 나머지는 점수 색) */
html body #mainContent .si-crit.is-plain{background:var(--theme-surface-soft,var(--theme-surface));border-color:var(--theme-line)}
html body #mainContent .si-cve:not(.is-crit) .si-crit__icon{background:var(--theme-line);color:var(--theme-muted)}
html body #mainContent .si-cve.is-high .si-crit__icon,html body #mainContent .si-cve.is-high .si-crit__score{background:#c2410c;color:#fff}
html body #mainContent .si-cve.is-mid .si-crit__icon,html body #mainContent .si-cve.is-mid .si-crit__score{background:#a16207;color:#fff}
html body #mainContent .si-cve.is-low .si-crit__score{background:var(--theme-muted);color:#fff}
html body #mainContent .si-crit__score--none{background:transparent!important;color:var(--theme-muted)!important;border:1px dashed var(--theme-line);font-weight:600}

/* 보안 이슈 카드 아래: 왼쪽 '원문 보기' · 오른쪽 제품 하나 + '+N'(누르면 목록 창) · CVE 수는 CVE 목록 위 */
html body #mainContent .si-rail>.si-card .si-card__foot.si-card__foot--fixed{display:flex;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;min-height:24px}
html body #mainContent .si-card__foot--fixed .si-go{flex:0 0 auto;text-decoration:none;white-space:nowrap}
html body #mainContent .si-card__foot--fixed .si-go:hover{text-decoration:underline}
html body #mainContent .si-rail .si-tags.si-tags--right{display:flex;flex-wrap:nowrap!important;justify-content:flex-end;align-items:center;gap:4px;max-height:none;overflow:hidden;flex:0 1 auto}
html body #mainContent .si-tags--right .si-tag--prod{max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
html body #mainContent .si-tags--right .si-tag--more{flex:0 0 auto;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-size:11.5px;font-weight:800;cursor:pointer}
html body #mainContent .si-tags--right .si-tag--more:hover,html body #mainContent .si-tags--right .si-tag--more[aria-expanded=true]{border-color:var(--theme-primary);color:var(--theme-primary-strong,var(--theme-primary))}
html body #mainContent .si-tags--right .si-tag--more:focus-visible{outline:2px solid var(--theme-primary);outline-offset:1px}
html body #mainContent .si-cvebox{display:flex;flex-direction:column;gap:4px;min-height:0}
html body #mainContent .si-cvebox__cap{margin:0;font-size:11.5px;font-weight:700;color:var(--theme-muted)}
html body #mainContent .si-cvebox__cap b{color:var(--si-crit,#d03b3b)}
html body .si-prodpop{min-width:200px;max-width:280px}
html body .si-prodpop .si-cvemenu__head{justify-content:space-between}
html body .si-prodpop__x{border:0;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;padding:0 4px}
html body .si-prodpop__list{list-style:none;margin:6px 0 2px;padding:0;display:grid;gap:4px;max-height:220px;overflow:auto}
html body .si-prodpop__list li{padding:5px 8px;border-radius:8px;background:var(--theme-surface-soft,rgba(0,0,0,.04));font-size:12.5px}

/* SETTINGS_DIALOG_V28_53: 설정 창 공통 모양(점검 설정 · 조치 기한 설정 · 다크웹 감시 설정)
   머리말 한 줄 설명 · 묶음 제목 · 한 상자 안에 줄 단위 · 조절 칸은 오른쪽 끝에 같은 너비 */
html body dialog.sd-set-dialog{width:min(680px,calc(100vw - 32px))!important}
html body .sd-set-dialog .dialog-head{align-items:flex-start;gap:16px}
html body .sd-set-dialog .sd-set__headcopy{min-width:0}
html body .sd-set-dialog .sd-set__headcopy h2{margin:0}
html body .sd-set-dialog .sd-set__lead{margin:6px 0 0;font-size:12.5px;line-height:1.55;color:var(--theme-muted);max-width:560px}
html body .sd-set{display:flex;flex-direction:column;gap:18px;padding:16px 20px 8px;max-height:calc(100vh - 230px);overflow:auto;text-align:left}
html body .sd-set__group h3{margin:0 0 8px;font-size:13.5px;font-weight:800;color:var(--theme-heading)}
html body .sd-set__group h3 small{margin-left:6px;font-size:11.5px;font-weight:500;color:var(--theme-muted)}
html body .sd-set__card{border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface);overflow:hidden}
html body .sd-set__card>*+*,html body .sd-set__dep>*+*{border-top:1px solid var(--theme-line)}
html body .sd-set .sd-set__row{display:flex!important;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:58px;margin:0!important;padding:11px 14px!important;border:0;border-radius:0!important;background:transparent!important;box-sizing:border-box;text-align:left;cursor:default}
html body .sd-set label.sd-set__row{cursor:pointer}
html body .sd-set .sd-set__row--sub{padding-left:30px!important;background:var(--theme-surface-soft,transparent)!important;transition:opacity .15s}
html body .sd-set .sd-set__copy{display:grid;gap:3px;min-width:0;flex:1 1 auto;margin:0!important;padding:0!important;border:0!important;background:transparent!important;cursor:inherit}
html body .sd-set .sd-set__copy strong{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:750;color:var(--theme-heading)!important}
html body .sd-set .sd-set__copy small{font-size:12px!important;font-weight:500!important;line-height:1.5;color:var(--theme-muted)!important;margin:0!important}
html body .sd-set .sd-set__ctl,html body .sd-set .sd-set__ctlwrap{flex:0 0 200px;width:200px!important;box-sizing:border-box}
html body .sd-set select.sd-set__ctl{min-height:36px!important}
html body .sd-set .sd-set__ctlwrap{display:flex;align-items:center;justify-content:flex-end;gap:10px}
html body .sd-set .sd-num{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--theme-muted);font-size:13px;white-space:nowrap}
html body .sd-set .sd-num input{width:76px!important;flex:0 0 76px;text-align:right;font-variant-numeric:tabular-nums}
html body .sd-set .sd-num--short input{width:64px!important;flex-basis:64px}
html body .sd-set .sd-set__ex{flex:1 1 auto;min-width:0;font-size:11.5px;color:var(--theme-muted);white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
html body .sd-set .sd-set__ex.is-bad{color:var(--danger,#d03b3b)}
html body .sd-set .telegram-send-switch__control{flex:0 0 auto}
/* 앞 스위치를 끄면 딸린 줄은 흐리게 */
html body .sd-set__dep:has(>.sd-set__row:first-child input[role=switch]:not(:checked))>.sd-set__row--sub{opacity:.45}
html body .sd-set__dep:has(>.sd-set__row:first-child input[role=switch]:not(:checked))>.sd-set__row--sub :is(input,select){pointer-events:none}
/* 여러 줄 입력 */
html body .sd-set .sd-set__field{display:grid;gap:8px;padding:12px 14px}
html body .sd-set .sd-set__fieldhead{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
html body .sd-set .sd-set__count{flex:0 0 auto;padding:2px 8px;border-radius:999px;background:var(--theme-surface-soft,rgba(0,0,0,.05));font-size:11.5px;font-weight:700;color:var(--theme-muted);font-variant-numeric:tabular-nums}
html body .sd-set .sd-set__count.is-over{background:transparent;color:var(--danger,#d03b3b);box-shadow:inset 0 0 0 1px currentColor}
html body .sd-set textarea{width:100%!important;box-sizing:border-box;min-height:76px!important;resize:vertical;font:inherit;font-size:13px!important;line-height:1.55}
html body .sd-set textarea.sd-set__mono{font-family:ui-monospace,SFMono-Regular,Consolas,"D2Coding",monospace!important;font-size:12.5px!important}
/* 안내 상자 */
html body .sd-set .sd-set__callout{display:flex;align-items:flex-start;gap:10px;margin:0;padding:10px 12px;border-radius:10px;font-size:12.5px;line-height:1.55;color:var(--theme-text);border:1px solid var(--theme-line);background:var(--theme-surface-soft,transparent)}
html body .sd-set .sd-set__callout[hidden]{display:none!important}
html body .sd-set .sd-set__callout b{margin-right:4px;color:var(--theme-heading)}
html body .sd-set .sd-set__callout a{color:var(--theme-primary);font-weight:700}
html body .sd-set .sd-set__callout-ico{flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;color:#fff;background:var(--theme-muted)}
html body .sd-set .sd-set__callout.is-warn{border-color:color-mix(in srgb,#d97706 45%,var(--theme-line))}
html body .sd-set .sd-set__callout.is-warn .sd-set__callout-ico{background:#d97706}
html body .sd-set .sd-set__callout.is-info .sd-set__callout-ico{background:var(--theme-primary)}
@media (max-width:640px){html body .sd-set .sd-set__row{flex-wrap:wrap}html body .sd-set .sd-set__ctl,html body .sd-set .sd-set__ctlwrap{flex-basis:100%;width:100%!important;justify-content:flex-start}}

/* INFO_SOURCES_V28_53: 정보 출처 — 묶음마다 상자 · 묶음 이름과 쓰는 화면을 머리줄에 · 직접 하는 것은 따로 */
html body .sources-dialog{width:min(680px,calc(100vw - 32px))!important}
html body .sources-list{display:flex!important;flex-direction:column;gap:12px!important;padding:14px 20px 8px!important}
html body .sources-part{margin:6px 0 -2px;font-size:11.5px;font-weight:800;letter-spacing:.02em;color:var(--theme-muted)}
html body .sources-part:first-child{margin-top:0}
html body .sources-group{border:1px solid var(--theme-line);border-radius:12px;background:var(--theme-surface);overflow:hidden}
html body .sources-group.is-own{border-style:dashed}
html body .sources-group__head{display:flex;align-items:center;gap:8px;padding:9px 14px;background:var(--theme-surface-soft,rgba(0,0,0,.035));border-bottom:1px solid var(--theme-line)}
html body .sources-group__ico{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;font-size:13px;line-height:1}
html body .sources-group .sources-group__head h3{margin:0!important;font-size:13.5px!important;font-weight:800;color:var(--theme-heading)}
html body .sources-group__where{margin-left:auto;font-size:11.5px;color:var(--theme-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html body .sources-group ul{gap:0!important;padding:0 14px!important}
html body .sources-group li{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;padding:9px 0!important;border-bottom:1px solid var(--theme-line)!important;align-items:baseline}
html body .sources-group li:last-child{border-bottom:0!important}
html body .sources-name{font-weight:700;color:var(--theme-heading)}
@media (max-width:640px){html body .sources-group__where{display:none}}
html body .sources-list>*{flex:0 0 auto}
html body .sd-set>*{flex:0 0 auto}
html body :is(.sd-set-dialog .sd-set__lead,.sd-set .sd-set__copy small,.sd-set .sd-set__callout,.sources-dialog__sub,.sources-group small){word-break:keep-all;overflow-wrap:anywhere}

/* AI_MARKDOWN_V28_54: AI 답변 모양 — 제목 · 결론 줄 · 목록(들여쓰기) · 표 · 인용 · 구분선 · 링크 (두 채팅창 공통) */
html body :is(.ai-answer-content,.ai-quick-answer-content){overflow-wrap:anywhere;word-break:keep-all}
html body :is(.ai-answer-content,.ai-quick-answer-content)>:first-child{margin-top:0!important}
html body :is(.ai-answer-content,.ai-quick-answer-content) h3.md-h{margin:18px 0 8px!important;padding:0 0 0 10px!important;border-left:3px solid var(--theme-primary,#5b70cf)!important;font-size:14px!important;font-weight:850!important;line-height:1.45;color:var(--theme-heading,#273c60)!important}
html body .ai-quick-answer-content h3.md-h{margin:14px 0 6px!important;font-size:13px!important}
html body :is(.ai-answer-content,.ai-quick-answer-content) h4.md-h{margin:14px 0 6px!important;font-size:13.5px!important;font-weight:800!important;color:var(--theme-heading,#273c60)!important}
html body :is(.ai-answer-content,.ai-quick-answer-content) p{margin:0 0 10px}
html body :is(.ai-answer-content,.ai-quick-answer-content) :is(ul,ol){margin:6px 0 12px!important;padding-left:22px!important}
html body :is(.ai-answer-content,.ai-quick-answer-content) li{margin:4px 0!important;padding-left:3px!important}
html body :is(.ai-answer-content,.ai-quick-answer-content) li :is(ul,ol){margin:4px 0 2px!important;padding-left:18px!important}
html body :is(.ai-answer-content,.ai-quick-answer-content) ul>li::marker{color:var(--theme-primary,#5b70cf)}
html body :is(.ai-answer-content,.ai-quick-answer-content) ol>li::marker{color:var(--theme-primary,#5b70cf);font-weight:800;font-variant-numeric:tabular-nums}
html body :is(.ai-answer-content,.ai-quick-answer-content) li li::marker{color:var(--theme-muted,#8592a6)}
html body :is(.ai-answer-content,.ai-quick-answer-content) em{font-style:normal;font-weight:700;color:var(--theme-heading,#273c60)}
html body :is(.ai-answer-content,.ai-quick-answer-content) del{color:var(--theme-muted,#8592a6)}
html body :is(.ai-answer-content,.ai-quick-answer-content) a{color:var(--theme-primary,#4357b8);font-weight:700;text-decoration:underline;text-underline-offset:2px;word-break:break-all}
html body :is(.ai-answer-content,.ai-quick-answer-content) hr{margin:14px 0;border:0;border-top:1px dashed var(--theme-line,#dfe5ee)}
html body :is(.ai-answer-content,.ai-quick-answer-content) blockquote{margin:8px 0 12px;padding:8px 12px;border-left:3px solid var(--theme-line-strong,#c9d3e3);border-radius:0 8px 8px 0;background:var(--theme-surface-soft,#f5f7fb);color:var(--theme-text,#40506a);font-size:.95em}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table-wrap{margin:8px 0 14px;overflow-x:auto;border:1px solid var(--theme-line,#e3e8f0);border-radius:10px}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table{width:100%;border-collapse:collapse;font-size:12.5px;line-height:1.5}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table th{padding:7px 10px;background:var(--theme-surface-soft,#f5f7fb);border-bottom:1px solid var(--theme-line,#e3e8f0);color:var(--theme-heading,#273c60);font-weight:800;text-align:left;white-space:nowrap}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table td{padding:7px 10px;border-top:1px solid var(--theme-line,#e3e8f0);vertical-align:top}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table tbody tr:first-child td{border-top:0}
/* 결론 줄은 눈에 띄게 */
html body :is(.ai-answer-keyline,.ai-quick-answer-keyline).is-conclusion{border-color:color-mix(in srgb,var(--theme-primary,#5b70cf) 40%,transparent)!important;background:color-mix(in srgb,var(--theme-primary,#5b70cf) 8%,var(--theme-surface,#fff))!important}
html body :is(.ai-answer-keyline,.ai-quick-answer-keyline).is-conclusion>strong{font-size:13.5px;color:var(--theme-heading,#273c60)!important}
html body :is(.ai-answer-keyline,.ai-quick-answer-keyline):first-child{margin-top:0}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table :is(th,td).is-center{text-align:center}
html body :is(.ai-answer-content,.ai-quick-answer-content) .md-table :is(th,td).is-right{text-align:right;font-variant-numeric:tabular-nums}
/* AI 답변 코드 상자: 밝은 바탕(ui_verified_v8)에 맞게 글자색 — 예전엔 어두운 바탕용 연한 글자라 잘 안 보였음 */
html body .ai-code-card .ai-code-line__text,html body .ai-quick-code-card .ai-quick-code-line i{color:var(--theme-text,#1f3550)!important}
html body .ai-code-card .ai-code-line__number,html body .ai-quick-code-card .ai-quick-code-line b{color:var(--theme-muted,#7d8ea8)!important}
html body .ai-code-card .ai-code-token--keyword{color:#2f56c4!important}
html body .ai-code-card .ai-code-token--string{color:#2f7d32!important}
html body .ai-code-card .ai-code-token--comment{color:#6b7c93!important}
html body .ai-code-card .ai-code-token--number{color:#b45309!important}
html[data-theme-mode="dark"] body .ai-code-card .ai-code-token--keyword{color:#9bb7ff!important}
html[data-theme-mode="dark"] body .ai-code-card .ai-code-token--string{color:#b9e58c!important}
html[data-theme-mode="dark"] body .ai-code-card .ai-code-token--comment{color:#8b9bb3!important}
html[data-theme-mode="dark"] body .ai-code-card .ai-code-token--number{color:#ffbf8f!important}

/* TLS_SELF_RENEW_V28_57: 자체 서명 인증서 갱신 창 */
html body .sd-set .tls-renew__text{flex:0 0 280px;width:280px!important;min-height:36px!important}
html body .sd-set .tls-renew__text--short{flex-basis:90px;width:90px!important;text-transform:uppercase}
@media (max-width:640px){html body .sd-set .tls-renew__text{flex-basis:150px;width:150px!important}}
