.ii-app { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; color: #11131A; background: #F4F2FB; min-height: 900px; display: flex; border-radius: 14px; overflow: hidden; border: 0.5px solid rgba(0,0,0,0.08); }
.ii-sidebar { width: 250px; background: #EFECF7; padding: 20px 0; flex-shrink: 0; display: flex; flex-direction: column; border-right: 0.5px solid rgba(0,0,0,0.05); overflow: visible; }
.ii-logo { display: flex; align-items: center; gap: 8px; padding: 0 20px 18px; font-weight: 500; font-size: 16px; }
.ii-logo-icon { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg,#7C5CFC,#A78BFA); display: flex; align-items: center; justify-content: center; color: white; }
.ii-prop-switcher { margin: 0 14px 16px; padding: 10px 12px; background: white; border-radius: 10px; border: 0.5px solid rgba(0,0,0,0.08); cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; position: relative; z-index: 1; }
.ii-prop-switcher:hover { border-color: #7C5CFC; }
.ii-prop-dropdown { position: absolute; left: 14px; top: 110px; width: 222px; max-height: min(420px, 55vh); overflow-y: auto; background: white; border-radius: 10px; border: 0.5px solid rgba(0,0,0,0.12); padding: 6px; z-index: 2000; box-shadow: 0 8px 24px rgba(0,0,0,0.08); display: none; pointer-events: auto; }
.ii-prop-dropdown.open { display: block; }
.ii-prop-item { padding: 8px 10px; border-radius: 7px; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.ii-prop-item:hover { background: #F4F2FB; }
.ii-prop-item.active { background: #EEEDFE; color: #534AB7; font-weight: 500; }
.ii-nav-label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; color: #6B6B7E; padding: 14px 20px 8px; text-transform: uppercase; }
.ii-nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 20px; font-size: 14px; font-weight: 500; color: #2C2C3A; cursor: pointer; position: relative; }
.ii-nav-item:hover { background: rgba(124,92,252,0.06); }
.ii-nav-item.active { background: #DDD6FE; color: #5B21B6; }
.ii-nav-item.active::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: #7C5CFC; border-radius: 0 3px 3px 0; }
.ii-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ii-nav-meta { margin-left: auto; font-size: 11px; color: #6B6B7E; font-weight: 400; }
.ii-fact { margin: 14px 14px 0; padding: 12px; background: #FFF7E0; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.ii-fact-label { font-weight: 500; font-size: 10.5px; letter-spacing: 0.06em; margin-bottom: 4px; color: #92400E; }
.ii-user { margin-top: auto; padding: 14px 20px 4px; display: flex; align-items: center; gap: 10px; border-top: 0.5px solid rgba(0,0,0,0.05); }
.ii-avatar { width: 32px; height: 32px; border-radius: 50%; background: #7C5CFC; color: white; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 13px; }
.ii-user-info { font-size: 12px; line-height: 1.3; }
.ii-user-info .name { font-weight: 500; }
.ii-user-info .email { color: #6B6B7E; }
.ii-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; max-height: 900px; padding: 0; }
.ii-activity-chrome { flex-shrink: 0; padding: 20px 40px 0; }
.ii-main-scroll { flex: 1; overflow-y: auto; padding: 12px 40px 32px; }
.ii-activity-bar { background: white; border: 0.5px solid rgba(124,92,252,0.25); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(124,92,252,0.08); }
.ii-activity-bar-inner { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #534AB7; }
.ii-activity-elapsed { margin-left: auto; font-size: 12px; font-weight: 400; color: #6B6B7E; font-variant-numeric: tabular-nums; }
.ii-progress-track { height: 3px; background: #EEEDFE; border-radius: 2px; margin-top: 10px; overflow: hidden; }
.ii-progress-indeterminate { height: 100%; width: 40%; background: linear-gradient(90deg, #7C5CFC, #A78BFA); border-radius: 2px; animation: ii-progress-slide 1.2s ease-in-out infinite; }
@keyframes ii-progress-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.ii-spinner { width: 16px; height: 16px; border: 2px solid #DDD6FE; border-top-color: #7C5CFC; border-radius: 50%; animation: ii-spin 0.7s linear infinite; flex-shrink: 0; }
@keyframes ii-spin { to { transform: rotate(360deg); } }
.ii-activity-log { background: #1a1a2e; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.ii-activity-log-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer; user-select: none; background: rgba(255,255,255,0.04); }
.ii-activity-log-title { font-size: 12px; font-weight: 500; color: #A78BFA; letter-spacing: 0.04em; text-transform: uppercase; }
.ii-activity-log-badge { font-size: 11px; background: #7C5CFC; color: white; padding: 2px 8px; border-radius: 10px; }
.ii-activity-log-body { max-height: 160px; overflow-y: auto; padding: 8px 14px 12px; font-family: ui-monospace, monospace; font-size: 11.5px; line-height: 1.5; }
.ii-activity-log-line { color: #C4B5FD; margin-bottom: 4px; }
.ii-activity-log-line.err { color: #FCA5A5; }
.ii-activity-log-line.ok { color: #6EE7B7; }
.ii-activity-log-line.queue { color: #93C5FD; }
.ii-global-status { font-size: 13px; color: #534AB7; min-height: 18px; margin-bottom: 12px; padding: 0 2px; }
.ii-global-status.err { color: #DC2626; }
.ii-btn-busy { opacity: 0.85; cursor: wait; pointer-events: none; }
.ii-btn-clicked { transform: scale(0.97); transition: transform 0.1s; }
.ii-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ii-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: #7C5CFC; text-transform: uppercase; margin-bottom: 8px; }
.ii-h1 { font-size: 30px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.02em; }
.ii-h1 .accent { background: linear-gradient(90deg,#7C5CFC,#A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ii-sub { color: #6B6B7E; font-size: 14px; max-width: 640px; margin-bottom: 24px; line-height: 1.55; }
.ii-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.ii-kpi { background: white; border-radius: 10px; padding: 12px 14px; border: 0.5px solid rgba(0,0,0,0.06); position: relative; }
.ii-kpi-label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; color: #6B6B7E; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.ii-kpi-val { font-size: 22px; font-weight: 500; margin-top: 6px; letter-spacing: -0.01em; }
.ii-kpi.indexed { background: #10B981; color: white; }
.ii-kpi.indexed .ii-kpi-label { color: rgba(255,255,255,0.9); }
.ii-kpi.notindexed { background: #9CA3AF; color: white; }
.ii-kpi.notindexed .ii-kpi-label { color: rgba(255,255,255,0.9); }
.ii-kpi.pending { background: #F59E0B; color: white; }
.ii-kpi.pending .ii-kpi-label { color: rgba(255,255,255,0.9); }
.ii-card { background: white; border-radius: 12px; padding: 20px 22px; border: 0.5px solid rgba(0,0,0,0.06); margin-bottom: 16px; }
.ii-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.ii-card-title { font-size: 17px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.ii-card-count { color: #6B6B7E; font-weight: 400; margin-left: 6px; }
.ii-stepper { display: flex; align-items: center; gap: 0; margin: 8px 0 28px; max-width: 720px; }
.ii-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ii-step-circle { width: 38px; height: 38px; border-radius: 50%; background: white; border: 1.5px solid #D1D5DB; display: flex; align-items: center; justify-content: center; font-weight: 500; color: #9CA3AF; font-size: 15px; }
.ii-step.active .ii-step-circle { border-color: #7C5CFC; border-width: 2px; color: #7C5CFC; }
.ii-step-label { font-size: 12.5px; color: #6B6B7E; font-weight: 500; }
.ii-step.active .ii-step-label { color: #7C5CFC; }
.ii-step-line { flex: 1; height: 1.5px; background: #D1D5DB; margin: 0 4px; margin-bottom: 28px; }
.ii-source-row { padding: 14px 16px; background: white; border-radius: 10px; border: 0.5px solid rgba(0,0,0,0.08); display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 8px; }
.ii-source-row:hover { border-color: #7C5CFC; background: #FAF8FF; }
.ii-source-icon { width: 32px; height: 32px; border-radius: 7px; background: #EEEDFE; display: flex; align-items: center; justify-content: center; color: #7C5CFC; font-size: 16px; }
.ii-source-text { flex: 1; font-size: 14px; font-weight: 500; }
.ii-radio-row { padding: 14px 16px; background: white; border-radius: 10px; border: 0.5px solid rgba(0,0,0,0.08); display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-bottom: 8px; }
.ii-radio { width: 18px; height: 18px; border: 1.5px solid #D1D5DB; border-radius: 50%; flex-shrink: 0; margin-top: 2px; position: relative; }
.ii-radio.checked { border-color: #7C5CFC; }
.ii-radio.checked::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #7C5CFC; }
.ii-radio-content .title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.ii-radio-content .desc { font-size: 12.5px; color: #6B6B7E; line-height: 1.45; }
.ii-btn { background: #7C5CFC; color: white; padding: 10px 18px; border-radius: 9px; border: none; font-weight: 500; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.ii-btn:hover { background: #6D4DF5; }
.ii-btn.ghost { background: transparent; color: #7C5CFC; border: 1px solid #C4B5FD; }
.ii-btn.ghost:hover { background: #F5F3FF; }
.ii-btn.danger { background: transparent; color: #DC2626; border: 1px solid #FCA5A5; padding: 6px 14px; font-size: 12.5px; }
.ii-btn.danger:hover { background: #FEF2F2; }
.ii-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ii-table th { text-align: left; font-weight: 500; color: #6B6B7E; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 12px; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.ii-table th .ii-info { vertical-align: middle; }
.ii-table td { padding: 14px 12px; border-bottom: 0.5px solid rgba(0,0,0,0.05); vertical-align: middle; }
.ii-table tr:last-child td { border-bottom: none; }
.ii-toggle { width: 36px; height: 20px; background: #10B981; border-radius: 12px; position: relative; cursor: pointer; }
.ii-toggle::after { content: ''; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; background: white; border-radius: 50%; }
.ii-toggle.off { background: #D1D5DB; }
.ii-toggle.off::after { left: 2px; right: auto; }
.ii-status-ok { display: inline-flex; align-items: center; gap: 4px; color: #10B981; font-weight: 500; }
.ii-chart-wrap { position: relative; height: 280px; margin-top: 8px; }
.ii-input { width: 100%; padding: 10px 14px; border: 0.5px solid #D1D5DB; border-radius: 9px; font-family: inherit; font-size: 13.5px; background: white; }
.ii-input:focus { outline: none; border-color: #7C5CFC; box-shadow: 0 0 0 3px rgba(124,92,252,0.15); }
.ii-banner-green { background: #10B981; color: white; padding: 18px 22px; border-radius: 11px; display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; margin-bottom: 14px; }
.ii-hist-banner { background: #FEF3C7; color: #92400E; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; margin-bottom: 14px; border: 0.5px solid #FCD34D; }
.ii-collapse { background: white; border-radius: 11px; border: 0.5px solid rgba(0,0,0,0.06); margin-bottom: 8px; }
.ii-collapse-head { padding: 16px 20px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.ii-collapse-icon { color: #6B6B7E; font-size: 16px; }
.ii-collapse-title { font-weight: 500; font-size: 14px; flex: 1; display: flex; align-items: center; gap: 6px; }
.ii-collapse-sub { font-size: 12.5px; color: #6B6B7E; }
.ii-collapse-body { padding: 0 20px 20px; display: none; }
.ii-collapse.open .ii-collapse-body { display: block; }
.ii-log-panel {
  max-height: 320px;
  overflow: auto;
  background: #0f1117;
  color: #c9d1d9;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
}
.ii-log-line { white-space: pre-wrap; word-break: break-word; padding: 1px 0; }
.ii-log-line + .ii-log-line { border-top: 1px solid rgba(255,255,255,0.04); }
.ii-pill { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 11.5px; font-weight: 500; }
.pill-indexed { background: #D1FAE5; color: #065F46; }
.pill-not { background: #FEE2E2; color: #991B1B; }
.pill-pending { background: #FEF3C7; color: #92400E; }
.ii-list-item { padding: 10px 0; border-bottom: 0.5px solid rgba(0,0,0,0.06); font-size: 13px; display: flex; justify-content: space-between; }
.ii-list-item:last-child { border-bottom: none; }
.ii-list-item a { color: #7C5CFC; text-decoration: none; }
.ii-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.ii-tab { padding: 10px 16px; font-size: 13.5px; font-weight: 500; color: #6B6B7E; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -0.5px; }
.ii-tab.active { color: #7C5CFC; border-bottom-color: #7C5CFC; }
.ii-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ii-webhook-card { background: white; border-radius: 11px; padding: 18px 20px; border: 0.5px solid rgba(0,0,0,0.06); margin-bottom: 10px; }
.ii-webhook-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ii-webhook-logo { width: 32px; height: 32px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 500; font-size: 14px; }
.slack-logo { background: #4A154B; }
.gmail-logo { background: #EA4335; }
.ii-webhook-name { font-weight: 500; font-size: 14px; }
.ii-webhook-meta { font-size: 12px; color: #6B6B7E; }
.ii-trigger-pill { display: inline-block; padding: 4px 10px; background: #EEEDFE; color: #534AB7; border-radius: 12px; font-size: 11.5px; font-weight: 500; margin-right: 6px; margin-top: 4px; }
.ii-sel { padding: 8px 12px; border: 0.5px solid #D1D5DB; border-radius: 8px; background: white; font-size: 13px; font-family: inherit; }
.ii-add-btn { width: 100%; padding: 14px; border: 1.5px dashed #C4B5FD; background: transparent; border-radius: 11px; color: #7C5CFC; font-weight: 500; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.ii-add-btn:hover { background: #F5F3FF; }
.ii-prop-pos { position: relative; }
.ii-history-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 0.5px solid rgba(0,0,0,0.05); font-size: 13px; align-items: center; }
.ii-history-date { color: #6B6B7E; font-size: 12px; width: 110px; }

/* INFO TOOLTIP SYSTEM */
.ii-info { position: relative; display: inline-flex; align-items: center; justify-content: center; cursor: help; vertical-align: middle; }
.ii-info-icon { width: 14px; height: 14px; border-radius: 50%; background: rgba(124,92,252,0.15); color: #7C5CFC; font-size: 9.5px; font-weight: 500; font-style: normal; display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-family: Georgia, serif; }
.ii-info:hover .ii-info-icon { background: #7C5CFC; color: white; }
.ii-kpi.indexed .ii-info-icon, .ii-kpi.notindexed .ii-info-icon, .ii-kpi.pending .ii-info-icon { background: rgba(255,255,255,0.28); color: white; }
.ii-kpi.indexed .ii-info:hover .ii-info-icon, .ii-kpi.notindexed .ii-info:hover .ii-info-icon, .ii-kpi.pending .ii-info:hover .ii-info-icon { background: white; color: #11131A; }
.ii-tip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 340px; background: white; border-radius: 11px; padding: 14px 16px; box-shadow: 0 10px 32px rgba(17,19,26,0.18); border: 0.5px solid rgba(0,0,0,0.08); opacity: 0; visibility: hidden; transition: opacity 0.15s, visibility 0.15s; z-index: 5000; pointer-events: none; text-align: left; font-weight: 400; color: #11131A; }
.ii-info:hover .ii-tip { opacity: 1; visibility: visible; }
.ii-tip::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: white; border-left: 0.5px solid rgba(0,0,0,0.08); border-top: 0.5px solid rgba(0,0,0,0.08); }
.ii-tip-title { display: block; font-size: 13.5px; font-weight: 500; color: #11131A; margin-bottom: 5px; line-height: 1.3; }
.ii-tip-desc { display: block; font-size: 12.5px; color: #6B6B7E; line-height: 1.5; margin-bottom: 9px; }
.ii-tip-flabel { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; color: #9CA3AF; text-transform: uppercase; margin-bottom: 4px; }
.ii-tip-formula { display: block; font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace; font-size: 11.5px; background: #F4F2FB; color: #5B21B6; padding: 8px 10px; border-radius: 6px; word-break: break-word; line-height: 1.55; margin-bottom: 9px; white-space: pre-wrap; }
.ii-tip-source { display: block; font-size: 11px; color: #6B6B7E; line-height: 1.5; padding-top: 8px; border-top: 0.5px solid rgba(0,0,0,0.08); }
.ii-tip-source strong { color: #11131A; font-weight: 500; }
.ii-info.tip-up .ii-tip { top: auto; bottom: calc(100% + 8px); }
.ii-info.tip-up .ii-tip::before { top: auto; bottom: -6px; border-left: none; border-top: none; border-right: 0.5px solid rgba(0,0,0,0.08); border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.ii-info.tip-right .ii-tip { left: auto; right: -10px; transform: none; }
.ii-info.tip-right .ii-tip::before { left: auto; right: 16px; transform: rotate(45deg); }
.ii-info.tip-left .ii-tip { left: -10px; transform: none; }
.ii-info.tip-left .ii-tip::before { left: 16px; transform: rotate(45deg); }
