
    .ila-wrapper {
        --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        justify-content: center;
        padding: clamp(0px, 5vw, 0px) 20px;
    }

    .ila-panel {
        position: relative;                
        width: 100%;
        max-width: 1100px;
        border-radius: 28px;
        padding: clamp(28px, 5vw, 56px);
    }
    
    #bgCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.5; z-index: 0; }
    .ila-content { position: relative; z-index: 1; }

    /* ---------- INPUT AREA ---------- */
    .ila-app-container {
        background: var(--bg-body);
        border: 2px solid var(--border-color);
        border-radius: 24px;
        padding: 24px;
        transition: all 0.3s var(--ease-out);
        margin-bottom: 24px;
    }
    .ila-app-container:focus-within { border-color: var(--primary-color); background: var(--card-bg); box-shadow: 0 0 0 6px var(--primary-light); }
    
    .search-box-start { display: flex; gap: 16px; }
    @media (max-width: 768px) { .search-box-start { flex-direction: column; } }
    
    .search-input-wrap { flex: 1; position: relative; display: flex; align-items: center; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 0 20px; transition: 0.2s; }
    .search-input-wrap:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-light); }
    .search-input { width: 100%; height: 56px; border: none; background: transparent; padding-left: 12px; font-size: 16px; color: var(--text-main); outline: none; }
    .search-btn { height: 56px; padding: 0 32px; border-radius: 12px; border: none; color: #fff; background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end)); font-size: 16px; font-weight: 800; cursor: pointer; transition: all 0.25s var(--ease-out); white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .search-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px var(--primary-shadow); }
    .search-btn:disabled { opacity: 0.5; cursor: not-allowed; }

    /* ---------- LOADING STATE ---------- */
    .ila-loading { text-align: center; padding: 40px 0; }
    .ila-orb { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-body); border: 2px solid var(--primary-light); margin: 0 auto 24px auto; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 32px; box-shadow: 0 0 0 16px var(--primary-light); transition: all 0.3s; animation: pulse 2s infinite ease-in-out; }
    @keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--primary-light); } 70% { box-shadow: 0 0 0 20px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
    
    .ila-thinking-log { list-style: none; margin: 0; padding: 0 10px; display: flex; flex-direction: column; gap: 14px; max-width: 400px; margin: 0 auto; }
    .ila-thinking-log li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-muted); animation: slideInUp 0.4s ease forwards; }
    .ila-thinking-log li.active { color: var(--text-main); font-weight: 700; }
    .ila-thinking-log li.done { color: var(--text-muted); opacity: 0.7; }
    .ila-log-dot { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s; }
    .ila-log-dot span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
    .ila-thinking-log li.active .ila-log-dot { border-color: var(--primary-color); color: var(--primary-color); background: rgba(99, 102, 241, 0.08); }
    .ila-thinking-log li.done .ila-log-dot { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

    /* ---------- RESULTS DASHBOARD ---------- */
    .ila-result { animation: fadeIn 0.5s ease; }
    .ila-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
    .ila-btn-ghost { background: transparent; border: 1px solid var(--border-color); border-radius: 10px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
    .ila-btn-ghost:hover { border-color: var(--primary-color); color: var(--primary-color); }

    /* Stats Strip */
    .stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
    .sc { background: var(--bg-body); border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; text-align: center; }
    .sc.c-red .sc-lbl i { color: #ef4444; }
    .sc.c-indigo .sc-lbl i { color: #6366f1; }
    .sc.c-green .sc-lbl i { color: #10b981; }
    .sc.c-orange .sc-lbl i { color: #f59e0b; }
    .sc-val { font-size: 20px; font-weight: 900; color: var(--text-main); line-height: 1.2; margin-top: 12px; transition: transform 0.3s; }
    .sc-lbl { font-size: 14px; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

    /* Workspace Panel */
    .ws-panel { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; margin-bottom: 30px; }
    .tabs-header-tool { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--border-color); background: var(--card-bg); overflow-x: auto; }
    .tab-btn-tool { background: transparent; border: 1px solid transparent; padding: 8px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
    .tab-btn-tool:hover { color: var(--text-main); background: var(--bg-body); }
    .tab-btn-tool.active { background: var(--bg-body); color: var(--primary-color); border-color: var(--border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .tab-content { display: none; padding: 24px; }
    .tab-content.active { display: block; }
    .tabs-header-tool { display: flex; overflow-x: auto; border-bottom: 1px solid var(--border-color); background: var(--card-bg); padding: 0 12px; }
    .tab-btn-tool { background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--text-muted); font-size: 14px; font-weight: 700; padding: 16px 20px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
    .tab-btn-tool:hover { color: var(--text-main); }
    .tab-btn-tool.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }

    .tab-content { display: none; padding: 30px; }
    .tab-content.active { display: block; animation: fadeIn 0.4s ease; }

    /* Score Ring Container */
    .score-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0; }
    .score-ring { position: relative; width: 180px; height: 180px; }
    .score-svg { transform: rotate(-90deg); width: 100%; height: 100%; }
    .score-bg { fill: none; stroke: var(--border-color); stroke-width: 12; }
    .score-fill { fill: none; stroke: var(--success); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 565.48; stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease-out, stroke 0.5s; }
    .score-text { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .score-num { font-size: 48px; font-weight: 900; line-height: 1; color: var(--text-main); transition: color 0.5s; }
    .score-lbl { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

    /* Charts */
    .charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 24px; border-top: 1px solid var(--border-color); padding-top: 30px; }
    @media (max-width: 800px) { .charts-grid { grid-template-columns: 1fr; } }
    .chart-wrapper { position: relative; height: 250px; width: 100%; display: flex; align-items: center; justify-content: center; }

    /* Tables */
    .table-container { overflow-x: auto; max-height: 600px; }
    .custom-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
    .custom-scroll::-webkit-scrollbar-track { background: transparent; }
    .custom-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
    
    .data-table { width: 100%; border-collapse: collapse; text-align: left; }
    .data-table th { position: sticky; top: 0; background: var(--card-bg); font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; padding: 16px; border-bottom: 1px solid var(--border-color); z-index: 10; }
    .data-table td { padding: 16px; font-size: 14px; border-bottom: 1px solid var(--border-color); color: var(--text-main); vertical-align: middle; }
    .data-table tbody tr:hover { background: rgba(0,0,0,0.01); }
    .dark-mode .data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
    
    .tb-anchor { font-weight: 700; word-break: break-word; }
    .tb-anchor.empty { color: #ef4444; font-style: italic; }
    .tb-path { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--text-muted); word-break: break-all; text-decoration: none; }
    
    .badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
    .badge.anchor-text { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.2); text-transform: none; font-size: 13px; }
    .badge.dofollow { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
    .badge.nofollow { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
    .badge.same-page { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }

    /* ---------- HISTORY SECTION ---------- */
    .ila-history-section { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 20px; padding: 24px; margin-top: 30px; }
    .ila-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
    .ila-history-title { font-size: 15px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin: 0; }
    .ila-history-list { display: flex; flex-direction: column; gap: 10px; }
    .ila-history-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: 0.2s; gap: 12px; }
    .ila-history-item:hover { border-color: var(--primary-color); transform: translateY(-1px); }
    .ila-history-info { display: flex; align-items: center; gap: 10px; overflow: hidden; flex: 1; }
    .ila-history-badge { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; font-family: 'Space Mono', monospace; white-space: nowrap; }
    .ila-history-url { font-size: 13.5px; font-weight: 700; color: var(--text-main); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ila-history-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .ila-history-time { font-size: 12px; color: var(--text-muted); }
    .ila-history-del { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 6px; transition: 0.2s; display: flex; align-items: center; }
    .ila-history-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

    /* ---------- BENTO BOX FEATURES ---------- */
    .console-features { margin-top: 50px; width: 100%; }
    .bento-features-cluster { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(130px, auto); gap: 20px; width: 100%; position: relative; z-index: 2; }
    .bento-card { background: rgba(255, 255, 255, 0.015); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-color); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
    
    .bento-card::before {
        content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 150px; height: 150px; background-size: contain; background-repeat: no-repeat; background-position: center;
        opacity: 0.03; transition: all 0.5s ease; pointer-events: none; z-index: 0;
    }
    .bento-card:hover::before { opacity: 0.08; transform: translate(-50%, -50%) scale(1.1); }
    .dark-mode .bento-card::before { filter: invert(1); opacity: 0.05; }
    
    .bento-card::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%); pointer-events: none; }
    .bento-card:hover { transform: translateY(-4px) scale(1.01); border-color: var(--primary-color); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
    .bento-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; gap: 12px; }
    
    .dashed-ring-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; width: 44px; height: 44px; }
    .dashed-ring-wrapper::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border: 1px dashed var(--border-color); border-radius: 16px; opacity: 0.5; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: 0; transform-origin: center center; }
    .bento-card:hover .dashed-ring-wrapper::after { opacity: 1; transform: scale(1.1) rotate(180deg); border-color: var(--primary-color); }
    .bc-icon-wrapper { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-body); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.4s ease; margin-bottom: 0; position: relative; z-index: 1; }
    .bento-card:hover .bc-icon-wrapper { background: linear-gradient(135deg, var(--primary-color), var(--border-color)); color: white; border-color: transparent; transform: scale(1.1) rotate(4deg); }
    .bc-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin: 0; }
    .bc-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; font-weight: 500; }
    
    @media (max-width: 900px) {
        .bento-features-cluster { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
        .bento-features-cluster { grid-template-columns: 1fr; }
    }

    /* Zero-Inline Enhancements */
    .search-input-wrap i { color: var(--primary-color); margin-right: 8px; }
    .ila-log-dot i { width: 13px; height: 13px; }
    .ila-log-dot i.dot-circle { width: 8px; height: 8px; }
    .ila-log-dot i.spinner { animation: spin 2s linear infinite; }
    .ila-thinking-log li span.step-title { line-height: 24px; }
    .ila-result { margin: 24px 0; }
    .api-err { text-align: center; }
    .api-err .ae-icon-wrap { width: 64px; height: 64px; border-radius: 16px; background: rgba(239, 68, 68, 0.1); color: #ef4444; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
    .api-err .ae-icon-wrap i { width: 30px; height: 30px; }
    .api-err h3 { font-size: 24px; font-weight: 900; text-align: center; color: var(--text-main); margin-bottom: 12px; }
    .api-err p { font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 500px; margin: 0 auto 24px; text-align: center; }
    .tab-btn-tool i { width: 16px; height: 16px; }
    .ila-btn-ghost.export-btn { margin-left: auto; margin-top: 8px; margin-bottom: 8px; border-color: var(--primary-color); color: var(--primary-color); }
    .ila-btn-ghost i { width: 14px; height: 14px; }
    .ila-btn-ghost.btn-xs { padding: 4px 10px; font-size: 12px; }
    .ila-btn-ghost.btn-xs i { width: 12px; height: 12px; }
    .score-msg { margin-top: 24px; color: var(--text-muted); text-align: center; max-width: 600px; font-size: 15px; line-height: 1.6; }
    .chart-col { width: 100%; }
    .chart-title { font-weight: 700; font-size: 14px; color: var(--text-muted); text-align: center; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .chart-title i { width: 16px; height: 16px; }
    .chart-title i.text-indigo { color: #6366f1; }
    .chart-title i.text-green { color: #10b981; }
    .tab-content.p-0 { padding: 0; }
    th.th-idx { width: 50px; }
    th.th-anchor { width: 35%; }
    th.th-attrs { width: 120px; text-align: center; }
    th.th-count, th.th-pct { width: 150px; text-align: center; }
    td.td-id { text-align: center; color: var(--text-muted); font-family: 'Space Mono', monospace; font-size: 12px; }
    td.text-center { text-align: center; }
    td.empty-cell { text-align: center; padding: 30px; color: var(--text-muted); font-weight: bold; }
    td.td-count { text-align: center; font-family: 'Space Mono', monospace; font-weight: bold; }
    td.td-pct { text-align: center; font-family: 'Space Mono', monospace; color: var(--text-muted); }
    .badge.same-page.ml-sm { margin-left: 8px; }
    .ila-history-title i { color: var(--primary-color); }
    .ila-history-del i { width: 14px; height: 14px; }