.ig-analyzer{display:flex;flex-direction:column;gap:20px;color:var(--text-primary,#eaf3ff)}
.ig-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.ig-header h1{margin:2px 0 4px;font-size:clamp(1.7rem,3vw,2.25rem)}.ig-header p,.ig-panel p,.ig-connection p{margin:4px 0;color:var(--text-muted,#91a4bc)}.ig-eyebrow{font-size:.72rem;letter-spacing:.14em;color:#43c7ed;font-weight:700}.ig-private-badge,.ig-status{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(66,190,227,.26);border-radius:999px;padding:8px 12px;color:#9ce9fb;font-size:.82rem;background:rgba(27,111,146,.12)}
.ig-tabs{display:flex;gap:7px;border-bottom:1px solid rgba(150,180,220,.15);overflow:auto}.ig-tab{appearance:none;border:0;background:none;color:#93a6bf;padding:11px 16px;font:inherit;white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent}.ig-tab.is-active{color:#eaf8ff;border-color:#39c4eb}.ig-panel,.ig-connection{background:linear-gradient(145deg,rgba(13,29,54,.95),rgba(9,19,38,.92));border:1px solid rgba(115,157,205,.17);border-radius:16px;padding:20px;box-shadow:0 12px 30px rgba(0,0,0,.1)}.ig-connection{display:flex;align-items:center;justify-content:space-between;gap:16px}.ig-connection h2{font-size:1.1rem;margin:4px 0}.ig-panel__head{display:flex;align-items:end;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}.ig-panel__head h2,.ig-panel h2{margin:2px 0 5px;font-size:1.2rem}.ig-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ig-kpi{min-width:0;display:flex;flex-direction:column;gap:6px;padding:16px;background:rgba(10,25,46,.8);border:1px solid rgba(115,157,205,.16);border-radius:14px}.ig-kpi>span{color:#91a4bc;font-size:.8rem}.ig-kpi strong{font-size:1.45rem;overflow-wrap:anywhere}.ig-kpi small{font-size:.7rem;color:#8397b0}.ig-table-wrap{width:100%;overflow:auto;border:1px solid rgba(115,157,205,.16);border-radius:12px}.ig-table{border-collapse:collapse;width:100%;min-width:850px;font-size:.82rem}.ig-table th,.ig-table td{padding:12px 11px;border-bottom:1px solid rgba(130,162,200,.12);text-align:left;vertical-align:top;white-space:nowrap}.ig-table th{background:rgba(20,39,67,.82);font-size:.71rem;color:#9db1c9;text-transform:uppercase;letter-spacing:.06em}.ig-table tr:last-child td{border-bottom:0}.ig-link{padding:0;background:none;border:0;color:#77dcf5;text-decoration:none;font:inherit;text-align:left;cursor:pointer}.ig-link:hover{text-decoration:underline}.ig-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.ig-tags span{padding:2px 6px;border-radius:6px;background:rgba(49,129,162,.18);color:#a8ddea;font-size:.68rem}.ig-tags span.is-warn{background:rgba(229,155,63,.17);color:#ffd18e}.ig-empty{text-align:center;padding:26px 12px;color:#91a4bc}.ig-empty h3{color:#e8f2ff}.ig-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:18px;border:1px solid rgba(115,157,205,.15);border-radius:13px;background:rgba(7,19,37,.45)}.ig-form h3{grid-column:1/-1;margin:0 0 4px;font-size:1rem}.ig-form label{display:flex;flex-direction:column;gap:6px;color:#a5b8cf;font-size:.78rem}.ig-form input,.ig-form select,.ig-form textarea,.ig-filter select{width:100%;min-width:0;border:1px solid rgba(137,168,207,.22);border-radius:8px;background:#0a1930;color:#eaf3ff;padding:9px 10px;font:inherit}.ig-form textarea{resize:vertical}.ig-form .ig-check{flex-direction:row;align-items:center}.ig-form .ig-check input{width:auto}.ig-span-2{grid-column:1/-1}.ig-form--grid{margin-top:18px}.ig-alert,.ig-success{padding:12px 15px;border-radius:10px}.ig-alert{border:1px solid rgba(233,115,115,.36);color:#ffc0c0;background:rgba(145,36,53,.15)}.ig-success{border:1px solid rgba(90,208,160,.28);color:#a3f0d2;background:rgba(20,124,87,.14)}.ig-filter{display:flex;align-items:center;gap:8px;color:#9db1c9;font-size:.76rem}.ig-filter select{width:auto;min-width:110px;padding:7px}.ig-compare-group{margin-top:20px}.ig-compare-group h3{font-size:.95rem}.ig-detail{display:flex;flex-direction:column;gap:18px}.ig-detail>header{display:flex;justify-content:space-between;gap:16px}.ig-detail>header h2{max-width:700px}.ig-kpis--detail{grid-template-columns:repeat(4,minmax(0,1fr))}.ig-chart{padding:10px 6px;border:1px solid rgba(115,157,205,.13);border-radius:12px}.ig-chart svg{display:block;width:100%;height:auto;max-height:320px}.ig-chart svg line{stroke:rgba(150,180,220,.28)}.ig-chart svg path{stroke:#3bc9f0}.ig-chart svg circle{fill:#d8f8ff;stroke:#2397bc;stroke-width:2}.ig-chart svg text{fill:#98adc7;font-size:12px}.ig-chart p{padding:0 10px;font-size:.76rem}.ig-event-result ul{display:grid;gap:9px;padding-left:20px;color:#a4b6cc}.ig-event-result li strong,.ig-event-result li span{display:block}.ig-event-result li span{font-size:.8rem;color:#91a4bc}.ig-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ig-settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid rgba(130,162,200,.12)}.ig-settings-row strong,.ig-settings-row span{display:block}.ig-settings-row span{margin-top:4px;color:#91a4bc;font-size:.8rem}.ig-settings-row .ig-status{margin:0;white-space:nowrap}.ig-footnote{margin:0;color:#8499b4;font-size:.77rem}
body.is-ig-analyzer-view .main-panel{overflow:hidden}
body.is-ig-analyzer-view #route-view{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
body.is-ig-analyzer-view #route-view>.ig-analyzer{flex:0 0 auto}
@media(max-width:800px){.ig-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ig-kpis--detail{grid-template-columns:repeat(2,minmax(0,1fr))}.ig-detail-grid{grid-template-columns:1fr}.ig-connection{align-items:flex-start;flex-direction:column}.ig-private-badge{font-size:.72rem}}
@media(max-width:520px){.ig-analyzer{gap:14px}.ig-panel,.ig-connection{padding:14px}.ig-header{align-items:flex-start}.ig-private-badge{padding:7px}.ig-form{padding:13px;grid-template-columns:1fr}.ig-span-2{grid-column:auto}.ig-panel__head{align-items:flex-start}.ig-filter{width:100%;justify-content:space-between}.ig-filter select{flex:1}.ig-detail>header{flex-direction:column}.ig-kpi{padding:12px}.ig-kpi strong{font-size:1.2rem}}
.ig-pagination{display:flex;justify-content:center;align-items:center;gap:14px;padding:14px;color:#91a4bc;font-size:.8rem}.ig-pagination button:disabled{opacity:.45;cursor:not-allowed}
.ig-origin-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;border:1px solid rgba(115,157,205,.17);border-radius:12px;background:rgba(10,25,46,.55)}.ig-origin-bar>span{color:#91a4bc;font-size:.78rem}.ig-origin-control{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(115,157,205,.2);border-radius:10px;background:rgba(6,17,33,.8)}.ig-origin-control button{border:0;border-radius:7px;padding:7px 12px;background:transparent;color:#91a4bc;font:inherit;font-size:.78rem;cursor:pointer;white-space:nowrap}.ig-origin-control button.is-active{background:rgba(49,160,193,.2);color:#c6f4ff;box-shadow:inset 0 0 0 1px rgba(65,190,225,.25)}.ig-origin-badge{display:inline-flex;vertical-align:middle;margin:0 7px 4px 0;padding:3px 7px;border:1px solid rgba(100,190,216,.2);border-radius:999px;background:rgba(49,129,162,.14);color:#a8ddea;font-size:.63rem;letter-spacing:.04em;white-space:nowrap}.ig-origin-badge.is-collab{border-color:rgba(176,137,243,.28);background:rgba(130,88,197,.14);color:#d7c2ff}
.ig-filter input{width:130px;min-width:0;border:1px solid rgba(137,168,207,.22);border-radius:8px;background:#0a1930;color:#eaf3ff;padding:7px;font:inherit}
.ig-meta-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 8px}.ig-page-picker{display:grid;gap:9px;margin:16px 0;padding:16px;border:1px solid rgba(65,190,225,.22);border-radius:12px;background:rgba(8,24,45,.55)}.ig-page-picker h3,.ig-page-picker p{margin:0}.ig-page-choice{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}.ig-page-choice span{color:#91a4bc;font-size:.78rem}

.ig-analyzer,.ig-detail,.ig-history-panel{min-width:0;max-width:100%}
.ig-reel-row{cursor:pointer}.ig-reel-row:hover,.ig-reel-row:focus-within{background:rgba(49,129,162,.12)}
.ig-detail-back{align-self:flex-start;padding:8px 0}
.ig-reel-header{display:flex;gap:18px;align-items:center}.ig-reel-header>div{min-width:0}.ig-reel-thumb{width:76px;height:104px;object-fit:cover;border-radius:10px;flex-shrink:0;background:#0a1930}.ig-reel-caption{overflow-wrap:anywhere;line-height:1.45!important;font-size:1.12rem!important;margin:6px 0!important}.ig-reel-header p{font-size:.8rem;margin-bottom:12px}
.ig-history-coverage{display:flex;flex-direction:column;gap:5px;font-size:.8rem;color:#91a4bc;line-height:1.6}.ig-history-coverage strong{color:#d9e7f6;font-weight:500}
.ig-growth-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ig-growth-stats strong{font-size:1.25rem}
.ig-history-chart{width:100%;min-width:0}.ig-history-chart svg{width:100%;display:block;height:auto;touch-action:pan-y}.ig-history-chart svg line{stroke:rgba(150,180,220,.16)}.ig-history-chart svg text{fill:#9db1c9;font-size:11px;font-family:inherit}.ig-history-chart svg path{stroke:#43c7ed;stroke-width:2.5;fill:none;stroke-linejoin:round}.ig-history-chart svg circle{fill:#bceffd;stroke:#43c7ed}.ig-history-chart svg .ig-reacceleration{fill:#ffc980;stroke:#ffc980}.ig-history-chart svg .ig-chart-cursor{stroke:#7b9fb5;stroke-dasharray:4 4}
.ig-chart-tooltip{min-height:82px;padding:12px 14px;background:rgba(6,17,33,.6);border:1px solid rgba(115,157,205,.16);border-radius:10px;display:flex;flex-wrap:wrap;gap:6px 18px;align-content:center}.ig-chart-tooltip strong{font-size:1rem;color:#c6f4ff}.ig-chart-tooltip span{color:#91a4bc;font-size:.78rem;line-height:1.5}.ig-chart-tooltip span:last-child{flex-basis:100%}.ig-chart-scrubber{display:block;width:100%;height:30px;margin:0 0 6px;accent-color:#43c7ed;cursor:pointer}
.ig-milestones{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin-top:16px}.ig-milestones article{display:flex;flex-direction:column;gap:7px;border-left:2px solid rgba(67,199,237,.4);padding:6px 12px;min-width:0}.ig-milestones strong{font-size:1rem}.ig-milestones span{color:#b5d2e3;font-size:.86rem}.ig-milestones small{color:#91a4bc;font-size:.72rem;line-height:1.5}
.ig-detail-tools summary{cursor:pointer;color:#9db1c9;min-height:24px}.ig-detail-tools[open] summary{margin-bottom:18px}.ig-detail-tools .ig-detail-grid{margin-top:18px}
.ig-skeleton{border:1px solid rgba(115,157,205,.16);border-radius:14px;background:linear-gradient(100deg,#0b1930 30%,#142b46 50%,#0b1930 70%);background-size:220% 100%;animation:ig-loading 1.6s ease-in-out infinite}.ig-skeleton--header{height:150px}.ig-skeleton--kpi{height:95px}.ig-skeleton--chart{height:330px}@keyframes ig-loading{to{background-position:-220% 0}}
.ig-analyzer button:focus-visible,.ig-analyzer a:focus-visible,.ig-analyzer input:focus-visible,.ig-analyzer summary:focus-visible{outline:2px solid #43c7ed;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.ig-skeleton{animation:none}}
@media(max-width:600px){.ig-growth-stats{grid-template-columns:1fr}.ig-reel-header{align-items:flex-start;gap:12px}.ig-reel-thumb{width:54px;height:76px}.ig-reel-caption{font-size:.95rem!important}.ig-metric-switch{flex-wrap:wrap}.ig-metric-switch button{padding:9px 10px}.ig-chart-tooltip{min-height:104px}.ig-history-panel{padding:12px}}

/* Analyzer V2: let this route use document scrolling and its full content width. */
html:has(body.is-ig-analyzer-view),body.is-ig-analyzer-view{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
body.is-ig-analyzer-view .dashboard{height:auto;min-height:100svh;overflow:visible;align-content:start}
body.is-ig-analyzer-view .dashboard-layout{height:auto;min-height:100svh;grid-template-rows:auto auto auto}
body.is-ig-analyzer-view .dashboard-body-grid{height:auto;min-height:calc(100svh - 100px);align-items:start}
body.is-ig-analyzer-view .dashboard-sidebar{position:sticky;top:14px;height:max-content;max-height:calc(100svh - 28px)}
body.is-ig-analyzer-view .dashboard-content{height:auto;min-height:0;grid-template-rows:auto auto;align-content:start}
body.is-ig-analyzer-view .main-panel{height:auto;min-height:calc(100svh - 170px);overflow:visible;padding:14px 18px}
body.is-ig-analyzer-view #route-view{flex:0 0 auto;min-height:0;width:100%;max-width:none;align-items:stretch;overflow:visible;gap:0;padding:0}
body.is-ig-analyzer-view #route-view>*{width:min(100%,1760px);max-width:1760px;margin-inline:auto}
body.is-ig-analyzer-view #route-view>.ig-analyzer{flex:0 0 auto}
body.is-ig-analyzer-view .ig-analyzer{gap:12px}
body.is-ig-analyzer-view .ig-header{min-height:0;align-items:center;gap:10px}
body.is-ig-analyzer-view .ig-header h1{font-size:1.55rem;margin:0}
body.is-ig-analyzer-view .ig-header p{font-size:.8rem;margin:1px 0}
body.is-ig-analyzer-view .ig-private-badge{padding:5px 10px}
body.is-ig-analyzer-view .ig-tabs{position:sticky;top:0;z-index:12;min-height:40px;background:rgba(5,12,22,.96);backdrop-filter:blur(14px)}
body.is-ig-analyzer-view .ig-tab{padding:8px 13px}
body.is-ig-analyzer-view .ig-panel,body.is-ig-analyzer-view .ig-connection{border-radius:12px;padding:13px 15px;box-shadow:none}
body.is-ig-analyzer-view .ig-analyzer .ig-connection{min-height:58px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
body.is-ig-analyzer-view .ig-connection__identity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
body.is-ig-analyzer-view .ig-connection__identity>.ig-eyebrow{font-size:.62rem}
body.is-ig-analyzer-view .ig-connection__identity>strong{font-size:.92rem}
body.is-ig-analyzer-view .ig-connection__state{display:inline-flex;align-items:center;gap:5px;color:#9ce9c4;font-size:.75rem}
body.is-ig-analyzer-view .ig-connection__state i{width:6px;height:6px;background:#65d7a1;border-radius:50%}
body.is-ig-analyzer-view .ig-connection__page,body.is-ig-analyzer-view .ig-connection__sync{font-size:.71rem;color:#91a4bc}
body.is-ig-analyzer-view .ig-connection__actions{display:flex;align-items:center;gap:8px}
body.is-ig-analyzer-view .ig-connection__actions .button-secondary{min-height:34px;padding:6px 12px}
body.is-ig-analyzer-view .ig-meta-actions{display:flex;gap:8px;margin:0}
body.is-ig-analyzer-view .ig-more-actions{position:relative}
body.is-ig-analyzer-view .ig-more-actions summary{list-style:none;cursor:pointer;border:1px solid rgba(137,168,207,.22);border-radius:8px;padding:8px 11px;color:#b4c6da;font-size:.78rem}
body.is-ig-analyzer-view .ig-more-actions summary::-webkit-details-marker{display:none}
body.is-ig-analyzer-view .ig-more-actions__menu{position:absolute;z-index:15;right:0;top:calc(100% + 5px);min-width:180px;display:grid;gap:3px;padding:6px;background:#0a1930;border:1px solid rgba(115,157,205,.24);border-radius:10px;box-shadow:0 12px 28px #0008}
body.is-ig-analyzer-view .ig-more-actions__menu button{padding:9px 10px;text-align:left;color:#c9d6e6;background:transparent;border:0;border-radius:6px;cursor:pointer}
body.is-ig-analyzer-view .ig-more-actions__menu button:hover{background:#16304c}
body.is-ig-analyzer-view .ig-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:34px}
body.is-ig-analyzer-view .ig-section-heading h2{font-size:1.14rem;margin:0}
body.is-ig-analyzer-view .ig-section-heading p{font-size:.72rem;margin:2px 0 0}
body.is-ig-analyzer-view .ig-overview,body.is-ig-analyzer-view .ig-reels,body.is-ig-analyzer-view .ig-compare{display:grid;gap:10px;min-width:0}
body.is-ig-analyzer-view .ig-overview .ig-section-heading>.ig-origin-control,body.is-ig-analyzer-view .ig-compare>.ig-section-heading>.ig-origin-control{margin-left:auto}
body.is-ig-analyzer-view .ig-origin-control{padding:2px;border-radius:8px}
body.is-ig-analyzer-view .ig-origin-control button{padding:6px 10px;font-size:.73rem}
body.is-ig-analyzer-view .ig-kpis{gap:8px}
body.is-ig-analyzer-view .ig-kpi{gap:3px;padding:9px 11px;border-radius:10px}
body.is-ig-analyzer-view .ig-kpi>span{font-size:.68rem}
body.is-ig-analyzer-view .ig-kpi strong{font-size:1.18rem;line-height:1.15}
body.is-ig-analyzer-view .ig-kpi small{font-size:.64rem}
body.is-ig-analyzer-view .ig-kpis--overview{grid-template-columns:repeat(6,minmax(0,1fr))}
body.is-ig-analyzer-view .ig-panel__head{align-items:center;margin-bottom:8px}
body.is-ig-analyzer-view .ig-panel__head h2,body.is-ig-analyzer-view .ig-panel h2{font-size:1rem;margin:0 0 3px}
body.is-ig-analyzer-view .ig-panel__head p,body.is-ig-analyzer-view .ig-panel>p{font-size:.7rem}
body.is-ig-analyzer-view .ig-table-wrap{border-radius:8px;overflow-x:auto;overscroll-behavior-x:contain}
body.is-ig-analyzer-view .ig-table{width:100%;min-width:0;table-layout:fixed;font-size:.73rem}
body.is-ig-analyzer-view .ig-table th,body.is-ig-analyzer-view .ig-table td{padding:8px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.is-ig-analyzer-view .ig-table th{font-size:.62rem}
body.is-ig-analyzer-view .ig-overview-latest .ig-table th:nth-child(9),body.is-ig-analyzer-view .ig-overview-latest .ig-table td:nth-child(9),body.is-ig-analyzer-view .ig-reels-table-panel .ig-table th:nth-child(9),body.is-ig-analyzer-view .ig-reels-table-panel .ig-table td:nth-child(9){display:none}
body.is-ig-analyzer-view .ig-table td:nth-child(1){width:12%}
body.is-ig-analyzer-view .ig-table td:nth-child(2){width:30%}
body.is-ig-analyzer-view .ig-table td:nth-child(n+3){width:8%}
body.is-ig-analyzer-view .ig-table td:nth-child(2) .ig-link{display:inline-block;max-width:min(36vw,390px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
body.is-ig-analyzer-view .ig-tags{display:inline-flex;vertical-align:middle;margin:0 0 0 5px}
body.is-ig-analyzer-view .ig-tags span{font-size:.59rem}
body.is-ig-analyzer-view .ig-origin-badge{font-size:.57rem;padding:2px 5px;margin-right:4px}
body.is-ig-analyzer-view .ig-reels-toolbar{display:grid;gap:7px;padding:8px 10px;border:1px solid rgba(115,157,205,.17);border-radius:10px;background:rgba(10,25,46,.48)}
body.is-ig-analyzer-view .ig-reels-toolbar__main{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.is-ig-analyzer-view .ig-search{display:flex;align-items:center;gap:5px;flex:1 1 190px;max-width:340px}
body.is-ig-analyzer-view .ig-search input{height:34px;width:100%;min-width:0;padding:6px 10px;color:#eaf3ff;background:#0a1930;border:1px solid rgba(137,168,207,.22);border-radius:8px;font:inherit;font-size:.76rem}
body.is-ig-analyzer-view .ig-search button{height:34px;padding:5px 10px;color:#dff8ff;background:rgba(49,160,193,.16);border:1px solid rgba(65,190,225,.25);border-radius:8px;font:inherit;font-size:.74rem;cursor:pointer}
body.is-ig-analyzer-view .ig-search:focus-within{outline:2px solid rgba(67,199,237,.6);outline-offset:2px;border-radius:8px}
body.is-ig-analyzer-view .ig-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
body.is-ig-analyzer-view .ig-reels-toolbar .ig-filter{gap:4px;font-size:.66rem}
body.is-ig-analyzer-view .ig-reels-toolbar .ig-filter select{min-width:116px;padding:7px 25px 7px 8px;font-size:.73rem}
body.is-ig-analyzer-view .ig-filter-toggle{min-height:34px;padding:6px 10px;font-size:.73rem}
body.is-ig-analyzer-view .ig-advanced-filters{display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding-top:8px;border-top:1px solid rgba(130,162,200,.12)}
body.is-ig-analyzer-view .ig-advanced-filters[hidden]{display:none}
body.is-ig-analyzer-view .ig-advanced-filters .ig-filter input{width:145px;padding:7px 8px;font-size:.73rem}
body.is-ig-analyzer-view .ig-advanced-filters .ig-filter select{min-width:130px}
body.is-ig-analyzer-view .ig-reels-table-panel{padding:8px 10px}
body.is-ig-analyzer-view .ig-pagination{padding:8px;gap:12px}
body.is-ig-analyzer-view .ig-pagination .button-secondary{min-height:34px;padding:5px 10px}
body.is-ig-analyzer-view .ig-add-panel>summary{display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;cursor:pointer;list-style:none;font-size:.76rem}
body.is-ig-analyzer-view .ig-add-panel>summary::-webkit-details-marker{display:none}
body.is-ig-analyzer-view .ig-add-panel .ig-form{margin-top:8px}
body.is-ig-analyzer-view .ig-panel:has(> .ig-compare-group){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}
body.is-ig-analyzer-view .ig-panel:has(> .ig-compare-group)>h2,body.is-ig-analyzer-view .ig-panel:has(> .ig-compare-group)>p{grid-column:1/-1}
body.is-ig-analyzer-view .ig-compare-group{margin:0;min-width:0;padding:10px 12px;border:1px solid rgba(115,157,205,.15);border-radius:10px;background:rgba(10,25,46,.38)}
body.is-ig-analyzer-view .ig-compare-group h3{margin:0 0 6px;font-size:.78rem}
body.is-ig-analyzer-view .ig-compare-group .ig-table-wrap{border:0;border-radius:0}
body.is-ig-analyzer-view .ig-compare-group .ig-table{font-size:.68rem}
body.is-ig-analyzer-view .ig-compare-group .ig-table th,body.is-ig-analyzer-view .ig-compare-group .ig-table td{padding:6px 5px;white-space:normal}
body.is-ig-analyzer-view .ig-compare-group .ig-table th{letter-spacing:0;font-size:.56rem}
body.is-ig-analyzer-view .ig-compare-group .ig-table td:nth-child(1){width:25%}
body.is-ig-analyzer-view .ig-compare-group .ig-table td:nth-child(n+2){width:15%}
body.is-ig-analyzer-view .ig-detail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
body.is-ig-analyzer-view .ig-detail-back,body.is-ig-analyzer-view .ig-reel-header,body.is-ig-analyzer-view .ig-kpis--detail,body.is-ig-analyzer-view .ig-history-coverage,body.is-ig-analyzer-view .ig-detail>.ig-empty,body.is-ig-analyzer-view .ig-detail>.ig-footnote,body.is-ig-analyzer-view .ig-detail-tools{grid-column:1/-1}
body.is-ig-analyzer-view .ig-detail-back{padding:1px 0}
body.is-ig-analyzer-view .ig-reel-header{min-height:74px;gap:12px}
body.is-ig-analyzer-view .ig-reel-header .ig-reel-thumb{width:48px;height:66px}
body.is-ig-analyzer-view .ig-reel-caption{font-size:.94rem!important;line-height:1.2!important;margin:3px 0!important}
body.is-ig-analyzer-view .ig-reel-header p{display:inline;margin:0 12px 0 0;font-size:.69rem}
body.is-ig-analyzer-view .ig-reel-header a{font-size:.72rem}
body.is-ig-analyzer-view .ig-kpis--detail{grid-template-columns:repeat(8,minmax(0,1fr))}
body.is-ig-analyzer-view .ig-history-coverage{gap:2px;font-size:.67rem;line-height:1.35}
body.is-ig-analyzer-view .ig-detail>.ig-history-panel--views{grid-column:span 4}
body.is-ig-analyzer-view .ig-detail>.ig-growth-stats{grid-column:span 2;display:flex;flex-direction:column;gap:4px;align-self:stretch}
body.is-ig-analyzer-view .ig-detail>.ig-growth-stats .ig-kpi{flex:1;justify-content:center;padding:7px 10px}
body.is-ig-analyzer-view .ig-detail>.ig-history-panel--velocity,body.is-ig-analyzer-view .ig-detail>.ig-history-panel--reach{grid-column:span 3}
body.is-ig-analyzer-view .ig-detail>.ig-history-panel:has(.ig-metric-switch){grid-column:1/-1}
body.is-ig-analyzer-view .ig-detail>.ig-panel:has(> .ig-milestones){grid-column:span 3}
body.is-ig-analyzer-view .ig-detail>.ig-history-panel .ig-panel__head{margin-bottom:2px}
body.is-ig-analyzer-view .ig-detail .ig-history-panel .ig-panel__head p{font-size:.64rem;margin:0}
body.is-ig-analyzer-view .ig-detail .ig-history-chart svg{max-height:208px}
body.is-ig-analyzer-view .ig-detail .ig-chart-scrubber{height:22px;margin:0}
body.is-ig-analyzer-view .ig-detail .ig-chart-tooltip{min-height:57px;padding:7px 10px;gap:3px 12px}
body.is-ig-analyzer-view .ig-detail .ig-milestones{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:4px;margin-top:6px}
body.is-ig-analyzer-view .ig-detail .ig-milestones article{gap:3px;padding:5px 8px}
body.is-ig-analyzer-view .ig-detail .ig-milestones strong{font-size:.82rem}
body.is-ig-analyzer-view .ig-detail .ig-milestones span{font-size:.73rem}
body.is-ig-analyzer-view .ig-detail .ig-milestones small{font-size:.61rem;line-height:1.3}
body.is-ig-analyzer-view .ig-app-note{font-size:.66rem}
@media(min-width:1400px){body.is-ig-analyzer-view .ig-tabs{top:0}body.is-ig-analyzer-view .ig-detail .ig-history-chart svg{max-height:190px}}
@media(max-width:1150px){body.is-ig-analyzer-view .ig-kpis--overview{grid-template-columns:repeat(3,minmax(0,1fr))}body.is-ig-analyzer-view .ig-kpis--detail{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){body.is-ig-analyzer-view .ig-detail{grid-template-columns:repeat(2,minmax(0,1fr))}body.is-ig-analyzer-view .ig-detail>.ig-history-panel--views,body.is-ig-analyzer-view .ig-detail>.ig-growth-stats,body.is-ig-analyzer-view .ig-detail>.ig-history-panel--velocity,body.is-ig-analyzer-view .ig-detail>.ig-history-panel--reach,body.is-ig-analyzer-view .ig-detail>.ig-history-panel:has(.ig-metric-switch),body.is-ig-analyzer-view .ig-detail>.ig-panel:has(> .ig-milestones){grid-column:1/-1}body.is-ig-analyzer-view .ig-detail>.ig-growth-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}body.is-ig-analyzer-view .ig-kpis--detail{grid-template-columns:repeat(4,minmax(0,1fr))}body.is-ig-analyzer-view .ig-panel:has(> .ig-compare-group){grid-template-columns:1fr 1fr}}
@media(max-width:768px){body.is-ig-analyzer-view,html:has(body.is-ig-analyzer-view){height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}body.is-ig-analyzer-view .dashboard{height:auto;min-height:100dvh;overflow:visible}body.is-ig-analyzer-view .dashboard-layout{height:auto;min-height:100dvh;grid-template-rows:auto auto auto}body.is-ig-analyzer-view .dashboard-body-grid{height:auto;min-height:0}body.is-ig-analyzer-view .dashboard-content{height:auto;padding-bottom:0}body.is-ig-analyzer-view .main-panel{height:auto;min-height:0;padding:5px 2px;overflow:visible}body.is-ig-analyzer-view #route-view{height:auto;min-height:0;overflow:visible;gap:0}body.is-ig-analyzer-view .dashboard-sidebar{position:relative;top:auto;height:auto;max-height:none}body.is-ig-analyzer-view .ig-panel,body.is-ig-analyzer-view .ig-connection{padding:10px}body.is-ig-analyzer-view .ig-analyzer .ig-connection{align-items:flex-start}body.is-ig-analyzer-view .ig-kpis--overview{grid-template-columns:repeat(3,minmax(0,1fr))}body.is-ig-analyzer-view .ig-kpis--detail{grid-template-columns:repeat(4,minmax(0,1fr))}body.is-ig-analyzer-view .ig-panel:has(> .ig-compare-group){grid-template-columns:1fr 1fr}body.is-ig-analyzer-view .ig-reels-toolbar__main{gap:6px}body.is-ig-analyzer-view .ig-search{max-width:none}}
@media(max-width:560px){body.is-ig-analyzer-view .ig-analyzer{gap:9px}body.is-ig-analyzer-view .ig-header h1{font-size:1.32rem}body.is-ig-analyzer-view .ig-header>.ig-private-badge{font-size:.62rem;padding:4px 7px}body.is-ig-analyzer-view .ig-tabs{gap:1px}body.is-ig-analyzer-view .ig-tab{padding:8px 9px;font-size:.75rem}body.is-ig-analyzer-view .ig-analyzer .ig-connection{align-items:center;gap:8px}body.is-ig-analyzer-view .ig-connection__identity{gap:6px}body.is-ig-analyzer-view .ig-connection__identity>.ig-eyebrow,body.is-ig-analyzer-view .ig-connection__page{display:none}body.is-ig-analyzer-view .ig-connection__actions{gap:4px}body.is-ig-analyzer-view .ig-connection__actions .button-secondary{min-height:32px;padding:5px 8px;font-size:.67rem}body.is-ig-analyzer-view .ig-more-actions summary{padding:7px 8px;font-size:.67rem}body.is-ig-analyzer-view .ig-section-heading{align-items:flex-start}body.is-ig-analyzer-view .ig-kpis--overview{grid-template-columns:repeat(2,minmax(0,1fr))}body.is-ig-analyzer-view .ig-kpis--detail{grid-template-columns:repeat(2,minmax(0,1fr))}body.is-ig-analyzer-view .ig-panel:has(> .ig-compare-group){grid-template-columns:1fr}body.is-ig-analyzer-view .ig-reels-toolbar__main>.ig-origin-control{max-width:100%;overflow-x:auto}body.is-ig-analyzer-view .ig-search{flex-basis:100%;order:2}body.is-ig-analyzer-view .ig-reels-toolbar__main>.ig-filter{order:3}body.is-ig-analyzer-view .ig-filter-toggle{order:4}body.is-ig-analyzer-view .ig-advanced-filters{align-items:stretch}body.is-ig-analyzer-view .ig-advanced-filters .ig-filter,body.is-ig-analyzer-view .ig-advanced-filters .ig-filter input,body.is-ig-analyzer-view .ig-advanced-filters .ig-filter select{width:100%}body.is-ig-analyzer-view .ig-overview-latest .ig-table th:nth-child(1),body.is-ig-analyzer-view .ig-overview-latest .ig-table td:nth-child(1),body.is-ig-analyzer-view .ig-overview-latest .ig-table th:nth-child(4),body.is-ig-analyzer-view .ig-overview-latest .ig-table td:nth-child(4),body.is-ig-analyzer-view .ig-overview-latest .ig-table th:nth-child(5),body.is-ig-analyzer-view .ig-overview-latest .ig-table td:nth-child(5){display:none}body.is-ig-analyzer-view .ig-reels-table-panel .ig-table th:nth-child(1),body.is-ig-analyzer-view .ig-reels-table-panel .ig-table td:nth-child(1){width:76px}body.is-ig-analyzer-view .ig-reels-table-panel .ig-table th:nth-child(3),body.is-ig-analyzer-view .ig-reels-table-panel .ig-table td:nth-child(3),body.is-ig-analyzer-view .ig-reels-table-panel .ig-table th:nth-child(4),body.is-ig-analyzer-view .ig-reels-table-panel .ig-table td:nth-child(4){display:none}body.is-ig-analyzer-view .ig-table td:nth-child(2){width:42%}body.is-ig-analyzer-view .ig-table td:nth-child(n+5){width:11%}body.is-ig-analyzer-view .ig-table td:nth-child(2) .ig-link{max-width:44vw}body.is-ig-analyzer-view .ig-detail>.ig-growth-stats{grid-template-columns:1fr}body.is-ig-analyzer-view .ig-reel-header .ig-reel-thumb{width:40px;height:56px}}
/* Audience shares the Analyzer dark/cyan system and compact metrics. */
.ig-audience{display:grid;gap:14px;min-width:0}.ig-audience>div[aria-busy]{display:grid;gap:14px}.ig-audience .ig-audience-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.ig-audience-kpis .ig-kpi{padding:12px 14px;min-height:85px}.ig-audience-kpis .ig-kpi strong{font-size:1.45rem}.ig-audience-kpis .ig-kpi span{font-size:.72rem}.ig-audience-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:12px 0}.ig-audience-toolbar form{display:flex;gap:8px;align-items:flex-end}.ig-audience .ig-filter{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.ig-audience .ig-filter input{width:190px}.ig-audience-chip{display:inline-flex;border:1px solid rgba(67,199,237,.25);background:rgba(67,199,237,.08);color:#bceffd;border-radius:20px;padding:4px 8px;font-size:.7rem;white-space:nowrap}.ig-audience-drop{display:grid;gap:12px;padding:22px;border:1px dashed rgba(67,199,237,.45);border-radius:12px;background:rgba(10,25,48,.55);cursor:pointer}.ig-audience-drop span{font-size:.76rem;color:#91a4bc}.ig-audience-drop.is-dragging{background:rgba(67,199,237,.15)}.ig-audience-drop input{max-width:100%;color:#c6f4ff}.ig-audience-preview{display:grid;gap:12px;margin-top:18px}.ig-audience-preview ul{margin:0;padding-left:20px;font-size:.82rem;line-height:1.8}.ig-audience-quality{display:flex;flex-wrap:wrap;gap:7px 14px;color:#91a4bc;font-size:.73rem}.ig-audience .ig-table td small{display:block;margin-top:5px}.ig-audience .ig-table details{max-width:230px;overflow-wrap:anywhere}.ig-audience-chart{min-width:0;color:#9db1c9}.ig-audience-chart svg{display:block;width:100%;height:auto}.ig-audience-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:.77rem;margin:12px 0}.ig-audience button:disabled{opacity:.5;cursor:not-allowed}.ig-audience .ig-section-heading small{display:block;color:#91a4bc;font-size:.73rem;margin-top:7px}
@media(max-width:1100px){.ig-audience .ig-audience-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.ig-audience .ig-audience-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ig-audience .ig-section-heading{flex-wrap:wrap}.ig-audience .ig-filter{width:auto}.ig-audience-toolbar form{flex-wrap:wrap}.ig-audience-drop{padding:16px}}
.ig-audience-charts{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;min-width:0}.ig-audience-charts>.ig-panel{min-width:0}.ig-audience-charts .ig-panel__head{flex-wrap:wrap}.ig-audience-charts .ig-audience-chart svg{max-height:255px}.ig-audience-charts .ig-filter select{max-width:100%}@media(max-width:1050px){.ig-audience-charts{grid-template-columns:1fr}}
.ig-active-account{margin-left:auto;align-self:center;color:#91a4bc;font-size:.74rem;overflow-wrap:anywhere}.ig-onboarding{max-width:760px;align-self:start}.ig-onboarding p{line-height:1.7}.ig-onboarding .button-primary{margin-top:10px}
@media(max-width:600px){body.is-ig-analyzer-view .ig-tabs{flex-wrap:wrap}.ig-active-account{flex-basis:100%;margin-left:0;text-align:right;padding:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
.ig-page-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-top:14px}.ig-page-choice{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left}.ig-page-choice span{font-size:.8rem;color:#91a4bc}
