/**
 * INFLINK Design System (www/assets/css/inflink.css)
 * - Soft Blue-Pink Pastel Palette: Soft Royal Blue (#3B82F6 ~ #6366F1) & Warm Rose Pink (#EC4899 ~ #F472B6)
 * - Smooth KR/EN Typography: SUIT Variable & Wanted Sans Variable (Anti-aliased, rounded strokes)
 * - 2-Tier Top Horizontal Bar Navigation & 100% Fluid Wide Container
 */

:root {
    --bg-body: #F7F8FC;
    --bg-card: #FFFFFF;
    --border-line: #E6E9F4;
    --text-main: #1E293B;
    --text-sub: #475569;
    --text-muted: #64748B;
    --indigo-dark: #1E293B;
    --indigo-main: #4F46E5;
    --indigo-accent: #3B82F6;
    --cyan-main: #3B82F6;
    --cyan-bright: #EC4899;
    --pink-main: #EC4899;
    --pink-soft: #FDF2F8;
    --blue-soft: #EEF4FF;
    --emerald: #059669;
    --emerald-bg: #ECFDF5;
    --rose: #E11D48;
    --amber: #D97706;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body, button, input, select, textarea {
    font-family: "SUIT Variable", "Wanted Sans Variable", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
}
body {
    background: linear-gradient(155deg, #F4F7FF 0%, #F9F6FF 50%, #FFF5FA 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 450;
    line-height: 1.52;
    letter-spacing: -0.015em;
}

/* 고정폭 숫자 정렬 (천단위 콤마 완벽 정렬 + 영문/숫자 가독성 개선) */
.num-tabular {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: -0.01em;
}

.text-indigo { color: #4F46E5 !important; }
.text-cyan { color: #DB2777 !important; }
.text-emerald { color: var(--emerald) !important; }
.text-rose { color: var(--rose) !important; }
.text-amber { color: var(--amber) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-danger { color: var(--rose) !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.small { font-size: 12.5px; }

/* 풀 와이드 컨테이너 (좌측 사이드바 없이 가로 100% 시원하게 활용) */
.inf-container-wide {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================================
   [1] 상단 2단 고정 Bar 네비게이션 (Top Utility Bar + Main GNB Hover Bar)
   ============================================================================ */
.inf-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.07);
}

/* 1단: Top Utility Bar */
.inf-topbar {
    position: relative;
    z-index: 2050;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    height: 54px;
    border-bottom: 1px solid #EDF0F9;
}
.inf-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.inf-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.inf-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo-symbol {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3B82F6 0%, #EC4899 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.logo-text {
    font-size: 18.5px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #1E293B;
}
.logo-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    background: linear-gradient(90deg, #E0E7FF 0%, #FCE7F3 100%);
    color: #6D28D9;
}

/* 워크스페이스 스위처 */
.inf-ws-switcher { position: relative; }
.ws-btn {
    height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    border: 1px solid #E5E9F5;
    background: #F9FAFF;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}
.ws-avatar, .ws-avatar-sm {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4F7DF3, #EC6EAD);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ws-code { color: #94A3B8; font-size: 11.5px; }
.ws-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 270px;
    background: #fff;
    border: 1px solid #E6E9F4;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.12);
    padding: 8px;
    z-index: 2000;
}
.ws-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.inf-ws-switcher:hover .ws-dropdown { display: block; }
.ws-dropdown-head {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
    padding: 6px 8px;
}
.ws-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #1E293B;
}
.ws-item:hover, .ws-item.active { background: #F4F6FF; }
.ws-item strong { display: block; font-size: 13px; font-weight: 600; }
.ws-item small { color: #64748B; font-size: 11.5px; }
.ws-item i { margin-left: auto; color: #4F46E5; }
.ws-dropdown-foot {
    border-top: 1px solid #F1F5F9;
    margin-top: 6px;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ws-dropdown-foot a {
    font-size: 12.5px;
    color: #475569;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 6px;
}
.ws-dropdown-foot a:hover { background: #F8FAFC; color: #4F46E5; }

/* 중앙 글로벌 AI 검색바 */
.inf-topbar-search { flex: 1; max-width: 560px; }
.global-search-form {
    display: flex;
    align-items: center;
    height: 36px;
    background: #F5F7FE;
    border: 1px solid #E4E8F6;
    border-radius: 999px;
    padding: 0 14px;
    gap: 8px;
    transition: all 0.2s;
}
.global-search-form:focus-within {
    background: #FFFFFF;
    border-color: #A78BFA;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}
.search-ai-icon { color: #EC4899; font-size: 16px; }
.global-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #1E293B;
}
.search-kbd {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #DAE0F0;
}

/* 우측 유틸리티 (멤버십, 크레딧, 프로필) */
.inf-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.inf-plan-pill {
    height: 32px;
    padding: 0 11px;
    border-radius: 8px;
    background: linear-gradient(135deg, #EEF2FF 0%, #FCE7F3 100%);
    border: 1px solid #F5D0FE;
    color: #9333EA;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}
.inf-credit-pill {
    height: 32px;
    padding: 0 6px 0 10px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E4E8F5;
    color: #1E293B;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.inf-credit-pill i { color: #4F7DF3; }
.credit-charge-btn {
    background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}
.inf-icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #E4E8F5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
}
.notify-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EC4899;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4.5px;
    border-radius: 99px;
}

.inf-profile-menu { position: relative; }
.profile-btn {
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #1E293B;
}
.profile-btn:hover { background: #F4F6FF; }
.profile-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    width: 220px;
    background: #fff;
    border: 1px solid #E6E9F4;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.12);
    padding: 6px;
    z-index: 2000;
}
.profile-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.inf-profile-menu:hover .profile-dropdown,
.inf-notify-menu:hover .profile-dropdown { display: block; }
.profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    border-radius: 7px;
}
.profile-dropdown a:hover { background: #F5F7FF; color: #4F46E5; }
.dropdown-divider { height: 1px; background: #F1F5F9; margin: 4px 0; }

/* ============================================================================
   [2] 2단: 상단 메인 GNB Bar (화사하고 부드러운 블루-핑크 파스텔 그라데이션)
   ============================================================================ */
.inf-gnb-bar {
    background: linear-gradient(90deg, #4F7DF3 0%, #7C69EF 50%, #EC6EAD 100%);
    height: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.inf-gnb-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.inf-gnb-list {
    list-style: none;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 6px;
}
.gnb-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.gnb-link {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.gnb-icon { font-size: 15px; opacity: 0.95; }
.gnb-arrow { font-size: 13px; opacity: 0.75; transition: transform 0.2s; }
.gnb-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
}

/* 마우스 오버(Hover) 및 활성 상태 하이라이트 */
.gnb-item:hover > .gnb-link,
.gnb-item.active > .gnb-link {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.08);
}
.gnb-item:hover > .gnb-link .gnb-arrow {
    transform: rotate(180deg);
    color: #FFFFFF;
}

/* 2차 카테고리 드롭다운 (마우스 오버 시 즉시 아래로 전개) */
.gnb-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 285px;
    background: #FFFFFF;
    border: 1px solid #E6E9F4;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 36px -6px rgba(79, 70, 229, 0.16);
    padding: 8px;
    z-index: 3000;
}
.gnb-submenu-right {
    left: auto;
    right: 0;
}
.gnb-item:hover > .gnb-submenu {
    display: block;
    animation: dropFade 0.16s ease-out;
}
@keyframes dropFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.submenu-header {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
    padding: 6px 10px 4px;
    letter-spacing: 0.1px;
}
.submenu-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    text-decoration: none;
    color: #1E293B;
    transition: all 0.15s;
}
.submenu-link > i {
    font-size: 17px;
    color: #6366F1;
    margin-top: 1px;
}
.submenu-link strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
}
.submenu-link small {
    display: block;
    font-size: 12px;
    color: #64748B;
    margin-top: 1px;
}
.submenu-link:hover, .submenu-link.current {
    background: linear-gradient(90deg, #F0F5FF 0%, #FDF2F8 100%);
}
.submenu-link:hover strong, .submenu-link.current strong {
    color: #4F46E5;
}
.badge-new {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    background: #FCE7F3;
    color: #DB2777;
    padding: 1px 6px;
    border-radius: 5px;
    margin-left: 4px;
}

.gnb-cta-btn {
    height: 30px;
    padding: 0 13px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.95);
    color: #4F46E5;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(30, 41, 59, 0.12);
}

/* ============================================================================
   [3] 메인 컨텐츠 레이아웃 & 컴팩트 컴포넌트 (34px Uniform Control)
   ============================================================================ */
.inf-main-Viewport {
    padding: 18px 0 48px;
}

.page-head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.page-breadcrumb {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 2px;
}
.page-title {
    font-size: 19.5px;
    font-weight: 700;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 8px;
}
.page-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 대시보드 상단 AI 배너 + 이용현황 (화사하고 옅은 블루-핑크 파스텔 테마) */
.dash-ai-banner {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 16px;
    margin-bottom: 16px;
}
.dash-ai-left {
    background: linear-gradient(125deg, #E2ECFF 0%, #EDE9FE 52%, #FCE7F3 100%);
    border: 1px solid #DDD6FE;
    color: #1E293B;
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
}
.ai-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #C7D2FE;
    color: #4F46E5;
    margin-bottom: 10px;
}
.ai-pill-badge i { color: #EC4899; }
.dash-ai-left h1 {
    font-size: 20.5px;
    font-weight: 700;
    color: #1E293B;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.dash-ai-left p {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 15px;
}
.dash-prompt-box {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.dash-prompt-box input {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    padding: 0 15px;
    font-size: 13.5px;
    color: #1E293B;
    outline: none;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.05);
}
.dash-prompt-box input:focus {
    border-color: #818CF8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.18);
}
.dash-quick-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}
.dash-quick-tags a {
    color: #4338CA;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(199, 210, 254, 0.8);
    padding: 4px 11px;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.15s;
}
.dash-quick-tags a:hover {
    background: #FFFFFF;
    color: #DB2777;
    border-color: #F9A8D4;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.12);
}

.dash-usage-card {
    background: #FFFFFF;
    border: 1px solid var(--border-line);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.04);
}
.usage-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.usage-sub { font-size: 12px; color: #64748B; }
.usage-head h3 { font-size: 16.5px; font-weight: 700; margin-top: 2px; color: #1E293B; }
.usage-metrics { display: flex; flex-direction: column; gap: 8px; }
.usage-metric-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #F9FAFF;
    border: 1px solid #EDF0F9;
    border-radius: 10px;
    text-decoration: none;
    color: #1E293B;
    transition: all 0.15s;
}
.usage-metric-item:hover { border-color: #F472B6; background: #FFF5FA; }
.usage-metric-item strong { font-size: 16px; font-weight: 700; margin-left: auto; margin-right: 6px; }
.usage-metric-item small { font-size: 12px; font-weight: 500; margin-left: 2px; color: #64748B; }

/* KPI Strip */
.kpi-strip-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.kpi-strip-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.kpi-strip-card {
    background: #fff;
    border: 1px solid var(--border-line);
    border-radius: 13px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.03);
}
.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.bg-soft-indigo { background: #EEF2FF; color: #4F46E5; }
.bg-soft-cyan { background: #FDF2F8; color: #DB2777; }
.bg-soft-emerald { background: #ECFDF5; color: #059669; }
.bg-soft-amber { background: #FEF3C7; color: #D97706; }
.kpi-strip-card span { display: block; font-size: 12.5px; color: #64748B; }
.kpi-strip-card strong { display: block; font-size: 17px; font-weight: 700; margin-top: 2px; color: #1E293B; }
.kpi-strip-card small { font-size: 12px; font-weight: 600; margin-left: 4px; }

/* 공통 섹션 카드 */
.inf-section-card {
    background: #fff;
    border: 1px solid var(--border-line);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.04);
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}
.section-head h2 { font-size: 16px; font-weight: 700; color: #1E293B; }
.section-head p { font-size: 13px; color: #64748B; margin-top: 2px; }

/* 크리에이터 카드 그리드 */
.creator-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 12px;
}
.creator-card {
    border: 1px solid #E6E9F4;
    border-radius: 13px;
    padding: 14px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.18s;
}
.creator-card:hover {
    border-color: #F472B6;
    box-shadow: 0 8px 22px rgba(236, 72, 153, 0.10);
    transform: translateY(-2px);
}
.creator-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.creator-avatar, .acct-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F7DF3, #EC6EAD);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.creator-meta { flex: 1; min-width: 0; }
.creator-name-row { display: flex; align-items: center; gap: 4px; }
.creator-name-row strong {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.creator-handle { font-size: 12px; color: #64748B; }
.score-pill {
    background: linear-gradient(90deg, #EEF2FF 0%, #FCE7F3 100%);
    color: #6D28D9;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 7px;
}
.creator-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.tag-cat, .cat-badge-primary {
    background: #EEF4FF;
    color: #3B82F6;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
}
.tag-sub, .cat-badge-sub {
    background: #FDF2F8;
    color: #DB2777;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
}
.tag-kw, .kw-chip {
    background: #F8FAFC;
    border: 1px solid #E6E9F4;
    color: #334155;
    font-size: 11.5px;
    padding: 2px 6px;
    border-radius: 6px;
}
.creator-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #F9FAFF;
    padding: 8px 10px;
    border-radius: 9px;
    gap: 6px;
}
.creator-metrics-row small { display: block; font-size: 11px; color: #64748B; }
.creator-metrics-row strong { font-size: 13px; font-weight: 700; color: #1E293B; }

/* ============================================================================
   [4] 컴팩트 필터 바 & 풀 와이드 15개 컬럼 고정(Sticky) 데이터그리드
   ============================================================================ */
.filter-bar-card {
    background: #fff;
    border: 1px solid var(--border-line);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
}
.platform-tabs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
    flex-wrap: wrap;
    gap: 10px;
}
.platform-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.plat-pill {
    height: 33px;
    padding: 0 13px;
    border-radius: 8px;
    border: 1px solid #E5E9F5;
    background: #F9FAFF;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.plat-pill span { font-size: 11.5px; color: #64748B; font-weight: 500; }
.plat-pill.active, .plat-pill:hover {
    background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%);
    border-color: transparent;
    color: #fff;
}
.plat-pill.active span, .plat-pill:hover span { color: rgba(255, 255, 255, 0.92); }
.filter-summary-right { display: flex; align-items: center; gap: 8px; }

.compact-filter-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-group label {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
}
.ctrl-34 {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #D5DCEB;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #1E293B;
    min-width: 150px;
    outline: none;
}
.ctrl-34:focus {
    border-color: #818CF8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.14);
}
.btn-search-34 {
    height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

/* 15개 컬럼 초고밀도 와이드 데이터그리드 */
.datagrid-card {
    background: #fff;
    border: 1px solid var(--border-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.04);
}
.table-scroll-wide {
    width: 100%;
    overflow-x: auto;
}
.inf-datagrid {
    width: 100%;
    min-width: 1620px;
    border-collapse: separate;
    border-spacing: 0;
}
.inf-datagrid thead th {
    background: #F8FAFE;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    padding: 11px 12px;
    border-bottom: 2px solid #E6E9F4;
    white-space: nowrap;
    text-align: left;
}
.inf-datagrid tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 13.5px;
    background: #fff;
}
.inf-datagrid tbody tr {
    cursor: pointer;
    transition: background 0.12s;
}
.inf-datagrid tbody tr:hover td {
    background: #F7F5FF !important;
}

/* 좌측 체크박스 + 계정 컬럼 고정(Sticky) */
.sticky-col-check {
    position: sticky;
    left: 0;
    z-index: 10;
    width: 38px;
    text-align: center !important;
}
.sticky-col-account {
    position: sticky;
    left: 38px;
    z-index: 10;
    border-right: 1px solid #E6E9F4;
}
.acct-cell {
    display: flex;
    align-items: center;
    gap: 9px;
}
.rank-num {
    width: 20px;
    font-weight: 700;
    color: #64748B;
    font-size: 12.5px;
}
.acct-name strong { font-size: 13.5px; font-weight: 700; color: #1E293B; }
.acct-handle { display: block; font-size: 12px; color: #64748B; }
.acct-handle em { font-style: normal; font-weight: 600; }

.er-pill {
    background: #EEF2FF;
    color: #4F46E5;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}
.lang-tag {
    font-size: 12px;
    color: #475569;
    background: #F1F5F9;
    padding: 2px 7px;
    border-radius: 5px;
}
.aud-cell span { display: block; font-size: 12.5px; }
.aud-age { font-size: 11.5px !important; color: #64748B; }
.cpr-cell strong { display: block; color: #1E293B; font-weight: 700; }
.cpr-cell small { color: #DB2777; font-weight: 600; font-size: 11.5px; }
.med-sub { font-size: 11.5px; color: #64748B; margin-top: 1px; }

/* 일반 테이블 */
.inf-table {
    width: 100%;
    border-collapse: collapse;
}
.inf-table th {
    background: #F9FAFE;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #E6E9F4;
}
.inf-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 13.5px;
}

/* 진행률 바 */
.progress-inline { display: flex; align-items: center; gap: 8px; }
.progress-bar {
    width: 90px;
    height: 7px;
    background: #E6E9F4;
    border-radius: 99px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4F7DF3, #EC6EAD);
}

/* 뱃지 & 버튼 공통 */
.badge-emerald { background: #ECFDF5; color: #059669; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.badge-soft-indigo { background: #EEF2FF; color: #4F46E5; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.badge-soft-cyan { background: #FDF2F8; color: #DB2777; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.badge-ad { background: #FFF1F2; color: #E11D48; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.badge-organic { background: #ECFDF5; color: #059669; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.badge-retailer { background: #FEF3C7; color: #B45309; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }

.btn-gradient-cyan {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(236, 110, 173, 0.25);
}
.btn-primary-sm, .btn-outline-sm, .btn-dark-sm, .btn-tab {
    height: 34px;
    padding: 0 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary-sm { background: linear-gradient(135deg, #4F7DF3 0%, #6366F1 100%); color: #fff; border: none; }
.btn-dark-sm { background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%); color: #fff; border: none; }
.btn-outline-sm { background: #fff; color: #334155; border: 1px solid #D5DCEB; }
.btn-tab { background: #fff; color: #475569; border: 1px solid #E6E9F4; }
.btn-tab.active { background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%); color: #FFFFFF; border-color: transparent; }

.btn-outline-xs, .btn-primary-xs, .btn-emerald-xs, .btn-danger-xs {
    height: 28px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-outline-xs { background: #fff; border: 1px solid #D5DCEB; color: #334155; }
.btn-primary-xs { background: #4F7DF3; border: none; color: #fff; }
.btn-emerald-xs { background: #059669; border: none; color: #fff; }
.btn-danger-xs { background: #FFF1F2; border: 1px solid #FECDD3; color: #E11D48; }

/* 하단 2열 그리드 & 아키텍처 상태 */
.dash-bottom-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
}
.arch-status-list { display: flex; flex-direction: column; gap: 8px; }
.arch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #F9FAFE;
    border: 1px solid #E6E9F4;
    border-radius: 9px;
    gap: 10px;
}
.arch-domain { font-weight: 700; color: #4F46E5; font-size: 13px; min-width: 155px; }
.arch-desc { flex: 1; font-size: 12.5px; color: #475569; }
.arch-ip { font-size: 12px; font-weight: 600; color: #059669; background: #ECFDF5; padding: 2px 7px; border-radius: 5px; }

/* ============================================================================
   [5] 콘텐츠 랭킹 · AI 어시스턴트 · 2x2 브랜드 포지셔닝 사분면 맵
   ============================================================================ */
.ai-insight-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #E2ECFF 0%, #FCE7F3 100%);
    border: 1px solid #DDD6FE;
    padding: 10px 16px;
    border-radius: 12px;
    margin-bottom: 14px;
}
.insight-label { color: #4F46E5; font-weight: 700; font-size: 13px; }
.insight-chip {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #C7D2FE;
    color: #334155;
    padding: 5px 11px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.insight-chip:hover { background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%); color: #FFFFFF; border-color: transparent; }

.content-rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 14px;
}
.content-rank-card {
    background: #fff;
    border: 1px solid #E6E9F4;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.content-card-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.content-rank-badge { background: linear-gradient(135deg, #4F7DF3 0%, #EC6EAD 100%); color: #FFFFFF; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.btn-similar-ai {
    margin-left: auto;
    background: #FDF2F8;
    border: 1px solid #FBCFE8;
    color: #DB2777;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    cursor: pointer;
}
.content-ner-box {
    background: #F9FAFE;
    border: 1px solid #E6E9F4;
    border-radius: 9px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ner-item small { display: block; font-size: 11px; color: #64748B; }
.content-caption {
    font-size: 13px;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.content-creator-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}
.content-creator-bar small { display: block; color: #64748B; }
.content-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #F1F5F9;
    padding-top: 10px;
}
.content-stats-row span { display: block; font-size: 11.5px; color: #64748B; }
.content-stats-row strong { font-size: 14px; font-weight: 700; }

/* AI 어시스턴트 */
.agent-tabs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.agent-tab-card {
    background: #fff;
    border: 1px solid #E6E9F4;
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    color: #1E293B;
    transition: all 0.15s;
}
.agent-tab-card.active, .agent-tab-card:hover {
    border-color: #EC6EAD;
    background: linear-gradient(135deg, #F5F8FF 0%, #FFF5FA 100%);
}
.agent-tab-icon { font-size: 20px; color: #6366F1; margin-bottom: 6px; }
.agent-tab-card strong { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.agent-tab-card p { font-size: 12px; color: #64748B; }

.preset-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.preset-card {
    text-align: left;
    background: #F9FAFE;
    border: 1px solid #E6E9F4;
    border-radius: 10px;
    padding: 11px;
    cursor: pointer;
    transition: all 0.15s;
}
.preset-card:hover { background: #fff; border-color: #EC6EAD; box-shadow: 0 4px 12px rgba(236, 110, 173, 0.10); }
.preset-badge { display: inline-block; font-size: 10.5px; font-weight: 700; background: #FCE7F3; color: #DB2777; padding: 1px 6px; border-radius: 4px; margin-bottom: 4px; }
.preset-card strong { display: block; font-size: 13px; font-weight: 600; color: #1E293B; }
.preset-card small { font-size: 11.5px; color: #64748B; }

.ai-chat-workspace {
    background: #F9FAFE;
    border: 1px solid #E6E9F4;
    border-radius: 12px;
    padding: 16px;
}
.ai-msg-bubble { display: flex; gap: 12px; margin-bottom: 14px; }
.ai-msg-avatar { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #4F7DF3, #EC6EAD); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-msg-content p { font-size: 13.5px; color: #334155; margin-top: 4px; }
.ai-chat-input-row { display: flex; gap: 8px; }
.ai-chat-input-row input { flex: 1; height: 38px; border: 1px solid #D5DCEB; border-radius: 8px; padding: 0 12px; font-size: 13.5px; }

/* 2x2 사분면 포지셔닝 맵 */
.quadrant-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
    border: 1px solid #D5DCEB;
    border-radius: 12px;
    overflow: hidden;
}
.quad-box { position: relative; padding: 10px; border: 1px dashed #E2E8F0; background: #F9FAFE; }
.q-tr { background: linear-gradient(135deg, #F0F5FF 0%, #FDF2F8 100%); }
.quad-title { font-size: 11.5px; font-weight: 700; color: #475569; }
.brand-bubble {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(135deg, #4F7DF3, #EC6EAD);
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.18);
    text-align: center;
}
.brand-bubble small { display: block; font-size: 10px; color: rgba(255,255,255,0.9); }
.bg-indigo { background: #4F46E5 !important; }
.bg-cyan { background: #EC4899 !important; }
.bg-emerald { background: #059669 !important; }

/* ============================================================================
   [6] 우측 슬라이드오버 상세 리포트 드로어 (Slide-over Report Drawer)
   ============================================================================ */
.inf-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 41, 59, 0.35);
    backdrop-filter: blur(2px);
    z-index: 4000;
}
.inf-drawer {
    position: fixed;
    top: 0;
    right: -920px;
    width: 880px;
    max-width: 94vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 4001;
    box-shadow: -12px 0 36px rgba(79, 70, 229, 0.16);
    transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.inf-drawer.open { right: 0; }
.inf-drawer-backdrop.open { display: block; }
.inf-drawer-header {
    padding: 18px 24px;
    border-bottom: 1px solid #E6E9F4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-profile-summary { display: flex; align-items: center; gap: 12px; }
.drawer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F7DF3, #EC6EAD);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.drawer-title-row { display: flex; align-items: center; gap: 8px; }
.badge-verified { background: #EEF4FF; color: #3B82F6; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.badge-score { background: linear-gradient(135deg, #4F7DF3, #EC6EAD); color: #FFFFFF; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.drawer-handle { color: #64748B; font-size: 13px; margin-top: 2px; }
.drawer-actions { display: flex; align-items: center; gap: 8px; }
.drawer-close-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #E6E9F4; background: #fff; font-size: 18px; cursor: pointer; }
.inf-drawer-body { padding: 22px 24px; overflow-y: auto; flex: 1; }
.kpi-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi-box { background: #F9FAFE; border: 1px solid #E6E9F4; border-radius: 11px; padding: 12px; }
.kpi-label { display: block; font-size: 11.5px; color: #64748B; }
.kpi-val { display: block; font-size: 17px; font-weight: 700; margin: 4px 0; color: #1E293B; }
.kpi-sub { font-size: 11.5px; color: #64748B; }
.drawer-section { margin-bottom: 18px; }
.drawer-section h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.ai-comment-box { background: linear-gradient(90deg, #F0F5FF 0%, #FDF2F8 100%); border: 1px solid #DDD6FE; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; color: #1E293B; }
.drawer-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drawer-card { border: 1px solid #E6E9F4; border-radius: 11px; padding: 14px; }
.drawer-card h5 { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.bar-metric-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.bar-track { flex: 1; height: 7px; background: #E6E9F4; border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; }

/* 랜딩 레이아웃 */
.landing-navbar { background: linear-gradient(90deg, #4F7DF3 0%, #7C69EF 50%, #EC6EAD 100%); height: 64px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.landing-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.landing-nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.landing-navbar .logo-text { color: #fff; }
.landing-menu { display: flex; gap: 24px; }
.landing-menu a { color: rgba(255,255,255,0.92); text-decoration: none; font-weight: 600; font-size: 14px; }
.landing-menu a:hover, .landing-menu a.active { color: #FFFFFF; text-decoration: underline; }
.landing-actions { display: flex; gap: 8px; }
.landing-hero {
    background: linear-gradient(135deg, #E2ECFF 0%, #EDE9FE 52%, #FCE7F3 100%);
    color: #1E293B;
    padding: 84px 0;
    text-align: center;
}
.landing-hero h1 { font-size: 36px; font-weight: 700; line-height: 1.32; margin: 12px 0 16px; color: #1E293B; }
.landing-hero p { font-size: 16px; color: #475569; max-width: 760px; margin: 0 auto 28px; }
.hero-cta-row { display: flex; justify-content: center; gap: 12px; }
.btn-lg { height: 46px; padding: 0 24px; font-size: 14.5px; border-radius: 10px; }
.btn-outline-white { border: 1px solid #C7D2FE; background: rgba(255,255,255,0.85); color: #4F46E5; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.landing-footer { background: #1E293B; color: #94A3B8; padding: 40px 0; font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.footer-subdomains { margin-top: 8px; color: #CBD5E1; }
.footer-subdomains code { color: #F472B6; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #CBD5E1; text-decoration: none; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 1200px) {
    .dash-ai-banner, .dash-bottom-grid, .agent-tabs-grid, .preset-grid-5 {
        grid-template-columns: 1fr;
    }
    .kpi-strip-4 { grid-template-columns: 1fr 1fr; }
}
