/* Scoped styles: keep the existing calendar and Instagram screens untouched. */
#trendsView{max-width:1600px;margin:auto;color:#233c49;font-family:'Pretendard Variable',Pretendard,'Malgun Gothic',sans-serif;line-height:1.55;font-size:14px;padding-bottom:36px}
#app[data-view=trends] main{display:block;overflow:auto}#app[data-view=trends] .workspace{min-width:0}#app[data-view=trends] #showSources{display:none}
#trendsView h2{font-size:27px;letter-spacing:-1px;margin:0 0 6px}#trendsView h3{font-size:17px;margin:0 0 6px;letter-spacing:-.4px}#trendsView h4{font-size:14px;margin:17px 0 10px}#trendsView p{margin:5px 0 12px}
#trendsView button,#trendsView select,#trendsView input{font:inherit;color:inherit}#trendsView button,#trendsView select{background:white;border:1px solid #d9e3e5;border-radius:7px;padding:7px 12px}#trendsView button:hover{background:#edf5f2;border-color:#8cb5aa}#trendsView button:focus-visible,#trendsView input:focus-visible,#trendsView select:focus-visible{outline:3px solid #70b9a9;outline-offset:3px}
#trendsView .tr-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:8px 0 23px}.tr-heading p{color:#5b6f7a}.tr-eyebrow{font-size:10px!important;letter-spacing:2px;color:#207d6c!important;font-weight:750}
#trendsView .tr-primary{background:#207d6c;color:#fff;border-color:#207d6c;font-weight:700;white-space:nowrap;padding:10px 20px}
#trendsView .tr-primary:hover{background:#165c4f;border-color:#165c4f;color:white}
.tr-card{background:#fff;border:1px solid #dde6e9;border-radius:13px;padding:22px;margin-bottom:18px;min-width:0;box-shadow:0 2px 3px #20334403}.tr-card-head p{color:#62747d;font-size:12px}.tr-card-head{margin-bottom:18px}
#trendsView .tr-keyword{display:block;width:100%;padding:16px 17px;border:1px solid #b7cfc8;border-radius:9px;background:#fafdfc;font-size:20px;font-weight:600;letter-spacing:-.5px;margin-bottom:16px}#trendsView .tr-keyword::placeholder{font-size:16px;color:#839590;font-weight:400}
.tr-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tr-controls label{font-size:12px;display:flex;align-items:center;gap:6px}.tr-controls input{border:1px solid #d9e3e5;border-radius:7px;padding:8px;max-width:154px}.tr-controls>.tr-primary{margin-left:auto}.tr-segments{display:flex;gap:4px}
#trendsView .selected{background:#e5f2ed;color:#185f50;border-color:#9fc8bb;font-weight:700}.tr-conditions{margin-top:20px;border-top:1px solid #e9eef0;padding-top:14px}.tr-conditions summary{cursor:pointer;font-size:13px;font-weight:650}.tr-conditions p{font-size:12px;color:#697d86;margin-top:12px!important}.tr-tag-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:9px 0}.tr-tag-row label{width:48px;font-size:12px}.tr-tags{display:flex;gap:4px;flex-wrap:wrap}.tr-tags button{padding:4px 9px!important;background:#e8f3ef!important;font-size:12px!important}.tr-tag-row input{min-width:130px;max-width:250px;border:1px dashed #b7c7cd;padding:7px 10px;border-radius:6px}.tr-recent{display:flex;align-items:center;gap:14px;margin-top:18px;font-size:12px;color:#62747d}.tr-recent>div{display:flex;gap:7px;flex-wrap:wrap}.tr-recent button{padding:3px 9px!important;font-size:12px!important}.tr-recent>button{margin-left:auto;border:0!important}
.tr-coverage{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:12px;color:#546975;margin:16px 0}.tr-coverage small{flex-basis:100%;font-size:11px}.tr-pill{border-radius:5px;background:#fff2dc;padding:2px 5px;font-size:11px;color:#94641e}.tr-error{border-left:3px solid #c95c45;background:#fff1ed;padding:12px 16px;color:#923e2d;border-radius:6px;margin:15px 0}
.tr-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:24px}.tr-provider{background:#f8fafb;border:1px solid #dfe7eb;border-radius:8px;padding:12px;position:relative}.tr-provider>div{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:12px}.tr-provider>div span{font-size:11px;color:#657782}.tr-provider small{display:block;font-size:11px;color:#60737e;margin:7px 0 2px}.tr-provider button{font-size:11px!important;padding:3px 7px!important;margin-top:6px}.tr-provider.complete{border-color:#a3cebc}.tr-provider.partial{border-color:#dac8a3}.tr-provider.error{border-color:#dc9d90}.tr-provider.collecting{border-color:#87b6c5;animation:tr-pulse 1.5s ease-in-out infinite}@keyframes tr-pulse{50%{opacity:.5}}
.tr-tabs{display:flex;gap:5px;border-bottom:1px solid #dae4e7;padding-bottom:8px;margin-bottom:22px;overflow:auto}#trendsView .tr-tabs button{border:0;padding:9px 23px;white-space:nowrap;font-weight:650}.tr-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin:0 0 19px}.tr-kpis article{background:white;border:1px solid #dde6e9;border-radius:11px;padding:17px 16px;min-width:0}.tr-kpis p{font-size:12px;color:#617680;margin-bottom:12px!important}.tr-kpis strong{font-size:26px;letter-spacing:-.8px;display:block;line-height:1.25;overflow-wrap:anywhere}.tr-kpis strong small{font-size:13px;margin-left:4px;font-weight:500}.tr-kpis article>small{font-size:11px;color:#75858e;display:block;margin-top:10px;line-height:1.5}
.tr-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:0}.tr-columns>.tr-card{min-width:0}.tr-network-columns{grid-template-columns:1.05fr 1fr}.tr-chart-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;font-size:12px;color:#5a727c;flex-wrap:wrap}.tr-chart-controls label{display:flex;gap:7px;align-items:center}.tr-chart{width:100%;overflow:auto}.tr-chart svg{display:block;width:100%;min-width:560px;max-height:340px}.tr-chart text{font:11px 'Pretendard Variable',sans-serif;fill:#637884}.tr-chart [role=button]{cursor:pointer}.tr-legend{display:flex;justify-content:center;gap:8px 17px;flex-wrap:wrap;margin-top:10px;font-size:12px}.tr-legend i,.tr-donut i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px}#trendsView .tr-legend button{border:0;padding:3px 5px;font-size:12px}.tr-legend .off{opacity:.4;text-decoration:line-through}.tr-bars{display:grid;gap:16px;padding:8px 0}.tr-bar-row{display:grid;grid-template-columns:80px minmax(30px,1fr) 55px 48px;gap:10px;align-items:center;font-size:12px}.tr-bar-row>span{overflow-wrap:anywhere}.tr-bar-row>div{height:13px;border-radius:4px;background:#f0f4f5}.tr-bar-row i{height:100%;display:block;border-radius:4px;min-width:0}.tr-bar-row b{text-align:right;font-weight:600}.tr-bar-row small{color:#6d808a;font-size:11px}.tr-donut{display:flex;align-items:center;justify-content:center;gap:28px;min-height:190px}.tr-donut svg{width:180px;height:180px;flex-shrink:0}.tr-donut svg text{fill:#62747d;font-size:11px}.tr-donut .tr-big-number{font-size:26px;font-weight:700;fill:#263e49}.tr-donut>div{min-width:160px}.tr-donut p{display:flex;align-items:center;gap:5px;font-size:12px;margin:8px 0!important}.tr-donut b{margin-left:auto}.tr-donut small{width:47px;text-align:right;color:#637884}
#trNetwork{position:relative;min-height:400px;background:#fff;border-radius:8px}#trNetwork:fullscreen,#trNetwork.tr-fullscreen{padding:24px;width:100vw;height:100vh;overflow:auto;background:#fff}#trNetwork.tr-fullscreen{position:fixed;inset:0;z-index:1000}#trNetwork:fullscreen #trNetworkGraph svg{height:80vh}#trNetworkGraph svg{display:block;width:100%;touch-action:none;cursor:grab}#trNetworkGraph [data-word]{cursor:grab}#trNetworkGraph text{font:12px 'Pretendard Variable',sans-serif;pointer-events:none}.tr-network-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:11px;flex-wrap:wrap}#trendsView .tr-network-tools button,#trendsView .tr-network-tools select{font-size:11px;padding:5px 7px}.tr-small{font-size:11px;color:#657b86;line-height:1.7}.tr-table-scroll{overflow:auto;max-height:400px}#trendsView table{width:100%;border-collapse:collapse;font-size:11px;min-width:480px}#trendsView th,#trendsView td{padding:11px 9px;text-align:left;border-bottom:1px solid #e9eef0;font-weight:450}#trendsView thead th{background:#f4f7f8;font-weight:650;position:sticky;top:0}#trendsView tbody th{font-weight:600}#trendsView td{font-variant-numeric:tabular-nums}.tr-word-tags{display:flex;gap:7px;flex-wrap:wrap}.tr-word-tags button{font-size:12px!important}.tr-word-tags b{color:#207d6c;margin-left:6px}.tr-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:1px solid #e5ecef;padding-top:15px;margin-top:20px}.tr-three section>small{font-size:11px;color:#6b7b85}.tr-rank{display:flex;width:100%;align-items:center;gap:9px;border:0!important;border-radius:4px!important;padding:9px 4px!important;margin-top:3px;font-size:12px!important;position:relative}.tr-rank span{width:17px;color:#8b9aa2}.tr-rank b{font-weight:500;min-width:65px}.tr-rank i{height:6px;border-radius:3px}.tr-rank strong{margin-left:auto;font-size:12px}.tr-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:26px;border-top:1px solid #e4ebee;padding-top:12px}.tr-subhead label{font-size:12px}.tr-composition>div{display:grid;grid-template-columns:100px minmax(50px,1fr) 130px;gap:13px;align-items:center;margin:10px 0}.tr-composition>div>button{font-size:12px!important;border:0!important;text-align:left;padding:3px!important}.tr-composition small{font-size:11px;color:#6b7c85}.tr-stack{display:flex;height:25px;border-radius:4px;overflow:hidden}#trendsView .tr-stack button{padding:0;border:0;border-radius:0;color:white;font-size:11px;min-width:0;overflow:hidden}.tr-histogram{height:200px;display:flex;gap:6px;align-items:flex-end}.tr-histogram>div{display:flex;flex:1;align-items:center;flex-direction:column;font-size:11px;min-width:0}.tr-histogram i{width:80%;display:block;min-height:1px}.tr-histogram small{font-size:9px;color:#6b7c85;white-space:nowrap;transform:rotate(-25deg);padding-top:7px}.tr-empty{background:#f8fafb;border:1px dashed #d9e3e7;border-radius:9px;padding:35px 18px;text-align:center;color:#6b7e88;font-size:13px;line-height:1.8}.tr-scope-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tr-scope-grid>div,.tr-callout{background:#f4f8f6;padding:13px;border-radius:8px;font-size:12px}.tr-scope-grid span{display:block;color:#617680;font-size:11px;margin-top:6px}.tr-method{font-size:12px;color:#647882}.tr-method summary{cursor:pointer;font-weight:600;color:#334e5b}.tr-method p{margin-top:13px!important}
.tr-panel{max-width:790px!important;width:calc(100% - 32px);max-height:88dvh;padding:26px!important;color:#233c49!important}.tr-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:-26px;background:white;padding:10px 0;z-index:1}.tr-panel h3{margin:0;font-size:20px}.tr-panel-head button{border:0;background:#f0f4f5;border-radius:6px;padding:8px 12px}.tr-panel .tr-primary{margin-bottom:14px}.tr-documents article{padding:17px 0;border-bottom:1px solid #e6ecef}.tr-documents article:last-child{border-bottom:0}.tr-doc-meta{display:flex;gap:12px;flex-wrap:wrap;color:#73838b;font-size:11px}.tr-documents h4{font-size:15px!important;margin:8px 0!important}.tr-documents a{text-decoration:none;color:#245c50}.tr-documents a:hover{text-decoration:underline}.tr-documents p{font-size:13px;line-height:1.7;color:#546b77}.tr-doc-tags{display:flex;gap:5px;flex-wrap:wrap}.tr-doc-tags span{background:#f0f5f3;color:#5f7d72;font-size:10px;padding:2px 6px;border-radius:4px}.tr-sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
@media(min-width:1700px){.tr-kpis strong{font-size:30px}.tr-card{padding:26px}}
@media(max-width:1250px){.tr-kpis{grid-template-columns:repeat(3,1fr)}.tr-columns{grid-template-columns:1fr}.tr-chart svg{max-height:320px}.tr-status-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){#trendsView{font-size:13px}.tr-heading{align-items:flex-start!important}.tr-heading h2{font-size:22px!important}.tr-heading p{font-size:12px}.tr-heading>button{font-size:11px!important;white-space:nowrap;padding:7px!important}.tr-card{padding:16px;border-radius:10px}.tr-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tr-kpis article{padding:14px}.tr-kpis strong{font-size:23px}.tr-controls{gap:8px}.tr-controls>.tr-primary{margin-left:0;width:100%}.tr-controls .tr-segments{width:100%;justify-content:space-between}.tr-controls input{max-width:132px;font-size:12px!important}.tr-status-grid{gap:7px}.tr-provider{padding:10px}.tr-provider>div{flex-wrap:wrap}.tr-tabs button{padding:8px 12px!important;font-size:12px!important}.tr-three{grid-template-columns:1fr;gap:15px}.tr-composition>div{grid-template-columns:70px minmax(30px,1fr) 70px;gap:7px}.tr-scope-grid{grid-template-columns:1fr}.tr-donut{gap:12px}.tr-donut svg{width:145px;height:145px}.tr-donut>div{min-width:130px}.tr-chart-controls span{font-size:11px}.tr-recent{gap:8px;align-items:flex-start}.tr-panel{padding:18px!important}.tr-panel-head{top:-18px}.tr-keyword{font-size:18px!important}.tr-keyword::placeholder{font-size:13px!important}.tr-network-tools{justify-content:flex-start}#trNetwork{min-height:300px}.tr-bar-row{grid-template-columns:75px minmax(30px,1fr) 45px 40px;gap:6px}.tr-bar-row small{overflow-wrap:anywhere}#app[data-view=trends] .sidebar nav{overflow-x:auto;flex-wrap:nowrap}#app[data-view=trends] .sidebar .menu{flex-shrink:0}}

.tr-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tr-news-grid article,.tr-news-grid article:last-child{min-width:0;padding:18px;border:1px solid #dfe7e9;border-radius:9px;background:#fbfcfc}.tr-news-grid h4{line-height:1.6;overflow-wrap:anywhere}.tr-news-grid p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tr-news-grid .tr-doc-meta{color:#586b75}
@media(max-width:780px){.tr-news-grid{grid-template-columns:minmax(0,1fr)}}
.tr-common-label{display:flex;align-items:baseline;gap:10px;font-size:12px;font-weight:700;color:#425b68;margin-top:24px}.tr-common-label span{font-weight:400;font-size:11px;color:#71828d}.tr-common-label+.tr-coverage{margin-top:8px}
.tr-result-scope{--scope-accent:#207d6c;--scope-line:#b7d2ca;--scope-bg:#edf5f2;border:1px solid var(--scope-line);border-top:4px solid var(--scope-accent);border-radius:14px;background:var(--scope-bg);min-width:0;isolation:isolate}
.tr-result-scope[data-platform=naver]{--scope-accent:#287954;--scope-line:#b7d2c0;--scope-bg:#eef6f0}.tr-result-scope[data-platform=instagram]{--scope-accent:#79549a;--scope-line:#d1c4df;--scope-bg:#f4f0f8}.tr-result-scope[data-platform=youtube]{--scope-accent:#a4513e;--scope-line:#dfc7bd;--scope-bg:#f8f1ee}.tr-result-scope[data-platform=google]{--scope-accent:#3e67a0;--scope-line:#bccde3;--scope-bg:#eef3fa}
.tr-scope-header{position:sticky;top:0;z-index:5;padding:15px 20px 12px;background:var(--scope-bg);border-radius:10px 10px 0 0;border-bottom:1px solid var(--scope-line);box-shadow:0 3px 6px #243c4c06}.tr-result-scope .tr-tabs{margin:0 0 12px;padding:0;border:0;gap:7px}.tr-result-scope .tr-tabs button{flex:1;min-width:100px}#trendsView .tr-result-scope .tr-tabs button{border:1px solid transparent;background:transparent;color:#536574;border-radius:8px;padding:10px 18px}#trendsView .tr-result-scope .tr-tabs button.selected{background:white;border-color:var(--scope-line);color:var(--scope-accent);box-shadow:0 2px 5px #233c4912}#trendsView .tr-result-scope .tr-tabs button.selected:before{content:'✓';margin-right:7px;font-size:12px}.tr-scope-caption{display:flex;align-items:center;gap:14px;flex-wrap:wrap}#trendsView .tr-scope-caption h3{margin:0;font-size:16px;color:var(--scope-accent)}.tr-scope-caption>span{font-size:12px;color:#5d7180}.tr-scope-caption>b{font-size:11px;background:#fff3d6;color:#795916;border:1px solid #dfc38b;padding:2px 7px;border-radius:4px;margin-left:auto}
#trResult{padding:20px;min-width:0}#trResult>.tr-card:last-child{margin-bottom:0}.tr-network-only{grid-template-columns:minmax(0,1fr)}
@media(max-width:780px){.tr-scope-header{padding:10px 9px}.tr-result-scope .tr-tabs{gap:3px;margin-bottom:9px}.tr-result-scope .tr-tabs button{min-width:0;flex:1}#trendsView .tr-result-scope .tr-tabs button{padding:8px 3px!important;font-size:11px!important}#trendsView .tr-result-scope .tr-tabs button.selected:before{display:none}.tr-scope-caption{gap:4px 10px}#trendsView .tr-scope-caption h3{font-size:14px}.tr-scope-caption>span{font-size:10px}.tr-common-label{flex-wrap:wrap;gap:3px 10px}#trResult{padding:10px}.tr-scope-caption>b{font-size:10px;padding:1px 5px}}

.tr-heading p{margin:0;font-size:13px;color:#596579}.tr-heading{margin-bottom:14px}

.tr-search-field{position:relative}#trendsView .tr-search-field .tr-keyword{padding-right:65px}#trendsView .tr-search-icon{position:absolute;right:7px;top:7px;width:46px;height:44px;padding:10px;border:0;background:#e3f0eb;color:#207d6c}.tr-search-icon svg{width:23px;height:23px}.tr-kpis strong{font-size:23px}.tr-chart svg{height:auto;max-height:none}.tr-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tr-video-grid article{border:1px solid #dce5e8;border-radius:10px;overflow:hidden;background:white;min-width:0}.tr-video-thumb{display:grid;place-items:center;position:relative;aspect-ratio:16/9;background:#edf1f4;color:#7c4b45;text-decoration:none}.tr-video-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tr-video-body{padding:15px}.tr-video-body a{color:#243f46;text-decoration:none}.tr-video-body h4{margin:0 0 8px!important;font-size:16px!important;line-height:1.5}.tr-video-body p,.tr-video-body time{font-size:12px;color:#627781}.tr-video-body p:last-child{margin-bottom:0!important}#trNetworkGraph svg{touch-action:pan-y;cursor:default}
@media(max-width:780px){.tr-video-grid{grid-template-columns:1fr}.tr-chart svg{max-height:none}.tr-kpis strong{font-size:20px}}

.tr-news-grid article{position:relative;padding:22px 20px 20px!important;border:1px solid #dce7e4!important;border-top:4px solid #328b76!important;background:linear-gradient(135deg,#f1faf6,white 65%)!important;box-shadow:0 4px 16px #193e3610;transition:transform .15s,box-shadow .15s}
.tr-news-grid article:nth-child(3n+2){border-top-color:#5c79b7!important;background:linear-gradient(135deg,#f0f4ff,white 65%)!important}.tr-news-grid article:nth-child(3n){border-top-color:#bd8547!important;background:linear-gradient(135deg,#fff7eb,white 65%)!important}
.tr-news-grid article:hover{transform:translateY(-2px);box-shadow:0 8px 24px #193e361b}.tr-news-rank{display:inline-flex;align-items:center;justify-content:center;width:32px;height:29px;border-radius:8px;background:#207d6c;color:white;font-size:13px;font-weight:800;margin-bottom:10px}.tr-news-grid article:nth-child(3n+2) .tr-news-rank{background:#5274b5}.tr-news-grid article:nth-child(3n) .tr-news-rank{background:#a67239}.tr-news-grid h4 a{font-size:17px;font-weight:750;color:#183e36!important}.tr-news-grid .tr-doc-tags span{background:#fff;border:1px solid #cddfd8;color:#356959}.tr-news-grid .tr-doc-meta{align-items:center}.tr-news-grid .tr-doc-meta span:first-child{font-weight:650;color:#44665e}
#trNetworkGraph svg{width:100%;height:auto;max-height:610px}#trNetworkGraph [data-word]{cursor:pointer}#trNetworkGraph [data-word]:hover circle,#trNetworkGraph [data-word]:focus circle{stroke-width:4;fill-opacity:.34}#trPanelBody label{display:block;margin:14px 0}#trPanelBody label input{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #c8d8d1;border-radius:7px}

/* Compact search workspace; immediate chart feedback. */
.tr-result-scope .tr-tabs{margin-bottom:0}.tr-scope-header{padding:10px 16px}.tr-result-scope #trResult{padding:16px}
.tr-search{padding:16px}.tr-search .tr-conditions{margin-top:12px}.tr-search .tr-recent{margin-top:10px}.tr-status-grid{margin-bottom:12px}.tr-provider details{font-size:12px;margin-top:5px}.tr-provider details small{margin-top:6px}
.tr-chart-tip{position:fixed;z-index:10000;max-width:280px;padding:11px 14px;background:#173a36;color:white;border-radius:10px;box-shadow:0 4px 18px #173a3633;white-space:pre-line;font-size:12px;line-height:1.6;pointer-events:none}.tr-chart-tip[hidden]{display:none}
.tr-search-volume{padding:12px 16px;background:#eef7f2;border-radius:10px}.tr-search-volume small{display:block;margin-top:5px;color:#61776c}
.tr-sentiment{display:inline-block;padding:3px 8px;border-radius:20px;font-weight:700;background:#eef1f3;color:#697681}.tr-sentiment.positive{background:#ddf4ea;color:#176b53}.tr-sentiment.negative{background:#ffebe4;color:#a5432b}.tr-sentiment.neutral{background:#e7edf5;color:#47627d}

.tr-status-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

.tr-monthly .tr-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.tr-source-foot{text-align:right;font-size:10px;color:#70817d;line-height:1.5;margin:8px 0 0}.tr-method.tr-card{padding:9px 14px!important;min-height:0;margin-top:12px}.tr-method summary{font-size:12px}.tr-chart svg[role=group]{width:100%;min-width:0;height:auto;display:block}
#trendsView .tr-monthly .tr-number{text-align:right}#trendsView .tr-source-foot{text-align:right;font-size:10px}

.tr-more{display:block;margin:12px auto 4px;padding:9px 18px;border:1px solid #b5cec5;border-radius:8px;background:#f3f9f6;color:#245e4d;cursor:pointer}.tr-body-progress{padding:8px 14px;background:#eef6f3;border-radius:8px}

/* Requested search UI: primary channels, explicit loading and 12 visible rows. */
.tr-result-scope{position:relative}.tr-loading-layer{position:absolute;inset:0;z-index:8;background:rgba(244,249,247,.93);border-radius:14px;backdrop-filter:blur(3px)}
.tr-loading-box{position:sticky;top:48px;margin:60px auto 24px;max-width:360px;display:flex;align-items:center;flex-direction:column;gap:14px;padding:28px 20px;color:#245e4d;text-align:center;background:#fff;border:1px solid #cee1d8;border-radius:16px;box-shadow:0 12px 32px #173a3615}
.tr-loading-box>span:last-child{font-size:12px;color:#617a70}.tr-spinner{width:28px;height:28px;border:3px solid #d6e8df;border-top-color:#28765e;border-radius:50%;animation:tr-spin .9s linear infinite}.tr-is-loading #trResult{min-height:330px;pointer-events:none}
@keyframes tr-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tr-spinner{animation:none}}
.tr-network-columns{align-items:stretch}.tr-network-columns>.tr-card{display:flex;flex-direction:column}.tr-monthly-scroll{height:520px;max-height:520px;flex:none}
#trendsView .tr-monthly th,#trendsView .tr-monthly td{height:40px;box-sizing:border-box;padding:8px 9px;line-height:23px;white-space:nowrap}#trendsView .tr-monthly tbody th{max-width:210px;overflow:hidden;text-overflow:ellipsis}
.tr-monthly thead{position:sticky;top:0;background:#f6faf8;z-index:1}.tr-monthly-help{position:relative;display:flex;justify-content:flex-end;margin-top:8px}
#trendsView #trMonthlyHelp{display:grid;place-items:center;width:22px;height:22px;padding:0;border:1px solid #77978b;border-radius:50%;background:#fff;color:#416b5c;font-size:13px;font-weight:700}
#trMonthlyHelpText{position:absolute;z-index:12;right:0;bottom:30px;width:min(440px,70vw);padding:14px 16px;border:1px solid #c7dbd2;border-radius:10px;background:#fff;box-shadow:0 8px 25px #173a3620;line-height:1.7;font-size:12px;color:#526a61}
