/* Topic research reader, community look: board header with numbers, a pinned summary post, best-post ranking,
   a VS card for the debate, a planning board, a board list with a post/comment viewer, feed cards and a status
   matrix. Neutral surfaces carry one colour per meaning. Data hooks (data-tr-*) live in topic-editorial-reader.js. */
.topic-editorial-reader{--tr-ink:#18181b;--tr-ink-2:#3f3f46;--tr-muted:#71717a;--tr-faint:#a1a1aa;--tr-line:#e4e4e7;--tr-line-2:#f0f0f2;--tr-soft:#f4f4f5;--tr-wash:#fafafa;--tr-paper:#fff;--tr-bg:#f6f7f9;--tr-accent:#0f766e;--tr-accent-ink:#115e59;--tr-accent-soft:#ecfdf8;--tr-hot:#e11d48;--tr-hot-soft:#fff1f2;--tr-a:#2563eb;--tr-a-soft:#eff4ff;--tr-b:#ea580c;--tr-b-soft:#fff4ec;--tr-plan:#7c3aed;--tr-plan-soft:#f5f1ff;--tr-field-0:#0f766e;--tr-field-1:#2563eb;--tr-field-2:#c2410c;--tr-field-3:#7c3aed;--tr-skin:#495057;--tr-radius:16px;--tr-shadow:0 1px 2px rgba(24,24,27,.04),0 6px 20px rgba(24,24,27,.05);color:var(--tr-ink);background:var(--tr-bg);border:1px solid var(--tr-line);border-radius:20px;font-size:14.5px;line-height:1.65;overflow:clip}
.topic-editorial-reader *{box-sizing:border-box;min-width:0}.topic-editorial-reader [hidden]{display:none!important}.topic-editorial-reader :is(h2,h3,h4,p,ul,ol){margin:0}.topic-editorial-reader :is(ul,ol){padding:0;list-style:none}.topic-editorial-reader :is(p,h2,h3,h4,a,strong,li,b){overflow-wrap:anywhere;word-break:keep-all}
.topic-editorial-reader button,.topic-editorial-reader select{font:inherit;cursor:pointer;color:var(--tr-ink)}
.topic-editorial-reader button{border:1px solid var(--tr-line);background:var(--tr-paper);border-radius:10px;transition:background .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s}
.topic-editorial-reader button:hover{border-color:#d4d4d8}
.topic-editorial-reader :is(button,a):focus-visible{outline:2px solid var(--tr-accent);outline-offset:2px}
.topic-editorial-reader .tr-icon{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.topic-editorial-reader .tr-eyebrow{display:block;color:var(--tr-muted);font-size:12px;font-weight:650}
.topic-editorial-reader .tr-muted{color:var(--tr-faint)}
/* masthead: board header */
.topic-editorial-reader .tr-masthead{display:grid;gap:14px;padding:26px 30px 22px;background:var(--tr-paper);border-bottom:1px solid var(--tr-line)}
.topic-editorial-reader .tr-mast-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.topic-editorial-reader .tr-board-badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:999px;background:var(--tr-ink);color:#fff;font-size:12px;font-weight:650}
.topic-editorial-reader .tr-period{display:inline-flex;align-items:center;height:28px;padding:0 11px;border-radius:999px;background:var(--tr-soft);color:var(--tr-ink-2);font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-mast-top .tr-use{margin-left:auto}
.topic-editorial-reader .tr-masthead h2.tr-masthead-query{font-size:22px;line-height:1.45;letter-spacing:-.025em;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:1000px}
.topic-editorial-reader .tr-mast-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;align-items:stretch}
.topic-editorial-reader .tr-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.topic-editorial-reader .tr-kpi{position:relative;display:grid;gap:2px;padding:12px 14px;border:1px solid var(--tr-line);border-radius:12px;background:var(--tr-wash);overflow:hidden}
.topic-editorial-reader .tr-kpi>.tr-icon{color:var(--tr-faint);width:14px;height:14px}
.topic-editorial-reader .tr-kpi b{font-size:22px;line-height:1.2;font-weight:750;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.topic-editorial-reader .tr-kpi b small{font-size:13px;color:var(--tr-faint);font-weight:600}
.topic-editorial-reader .tr-kpi span{font-size:12px;color:var(--tr-muted);font-weight:550}
.topic-editorial-reader .tr-kpi-bar{position:absolute;left:0;bottom:0;height:3px;width:var(--tr-pct);background:var(--tr-accent)}
.topic-editorial-reader .tr-mix{display:grid;align-content:center;gap:10px;padding:12px 14px;border:1px solid var(--tr-line);border-radius:12px;background:var(--tr-wash)}
.topic-editorial-reader .tr-mix-bar{display:flex;gap:3px;height:10px}.topic-editorial-reader .tr-mix-bar i{border-radius:999px;min-width:6px}
.topic-editorial-reader .tr-mix-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--tr-ink-2)}.topic-editorial-reader .tr-mix-legend span{display:inline-flex;align-items:center;gap:6px}.topic-editorial-reader .tr-mix-legend i{width:8px;height:8px;border-radius:50%;background:var(--tr-skin)}.topic-editorial-reader .tr-mix-legend b{font-variant-numeric:tabular-nums}
/* "이 조사 활용하기" */
.topic-editorial-reader .tr-use{position:relative;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 14px;border:0;border-radius:12px;color:#fff;font-size:13.5px;font-weight:700;background:linear-gradient(135deg,#0f766e,#0e7490 55%,#4f46e5);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 6px 18px rgba(14,116,144,.28)}
.topic-editorial-reader .tr-use:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 10px 24px rgba(14,116,144,.34)}
.topic-editorial-reader .tr-use .tr-icon{width:16px;height:16px}
/* tabs */
.topic-editorial-reader .tr-view-nav{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(480px,calc(100% - 60px));margin:18px 30px 0;padding:4px;border-radius:14px;background:#ebecef;isolation:isolate}
.topic-editorial-reader .tr-view-indicator{position:absolute;z-index:-1;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:10px;background:var(--tr-paper);box-shadow:0 1px 2px rgba(24,24,27,.08),0 2px 8px rgba(24,24,27,.06);transform:translateX(calc(var(--tr-tab,0)*100%));transition:transform .28s cubic-bezier(.3,.7,.2,1)}
.topic-editorial-reader .tr-view-nav button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;padding:9px 10px;border-radius:10px;font-size:13.5px;font-weight:650;color:var(--tr-muted)}
.topic-editorial-reader .tr-view-nav button:hover{color:var(--tr-ink)}.topic-editorial-reader .tr-view-nav button[aria-pressed=true]{color:var(--tr-ink)}
@media(prefers-reduced-motion:reduce){.topic-editorial-reader .tr-view-indicator{transition:none}}
.topic-editorial-reader [data-tr-panel]{display:grid;gap:22px;padding:20px 30px 30px}
/* section heads */
.topic-editorial-reader .tr-section-head{display:flex;align-items:center;gap:10px}
.topic-editorial-reader .tr-section-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--tr-soft);color:var(--tr-ink-2)}
.topic-editorial-reader .tr-section-head h3{font-size:16px;font-weight:750;letter-spacing:-.015em}
.topic-editorial-reader .tr-count{padding:1px 9px;border-radius:999px;background:var(--tr-soft);color:var(--tr-muted);font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-section-head.is-hot .tr-section-icon{background:var(--tr-hot-soft);color:var(--tr-hot)}
.topic-editorial-reader .tr-section-head.is-versus .tr-section-icon{background:var(--tr-a-soft);color:var(--tr-a)}
.topic-editorial-reader .tr-section-head.is-plan .tr-section-icon{background:var(--tr-plan-soft);color:var(--tr-plan)}
/* pinned summary post */
.topic-editorial-reader .tr-summary{display:grid;gap:12px}
.topic-editorial-reader .tr-pin{position:relative;display:grid;gap:16px;padding:24px 26px;border:1px solid #cfeee6;border-radius:var(--tr-radius);background:linear-gradient(180deg,var(--tr-accent-soft),var(--tr-paper) 62%);box-shadow:var(--tr-shadow)}
.topic-editorial-reader .tr-pin-tag{display:inline-flex;align-items:center;gap:6px;width:fit-content;height:26px;padding:0 10px;border-radius:999px;background:var(--tr-accent);color:#fff;font-size:12px;font-weight:700}.topic-editorial-reader .tr-pin-tag .tr-icon{width:13px;height:13px}
.topic-editorial-reader .tr-pin h3{font-size:23px;line-height:1.42;letter-spacing:-.03em;font-weight:800;max-width:900px}
.topic-editorial-reader .tr-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.topic-editorial-reader .tr-points li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;border:1px solid var(--tr-line);border-radius:12px;background:var(--tr-paper)}
.topic-editorial-reader .tr-points li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--tr-accent-soft);color:var(--tr-accent-ink);font-size:12px;font-weight:800}
.topic-editorial-reader .tr-points p{font-size:14px;line-height:1.6;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-sowhat{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:var(--tr-ink);color:#fff}
.topic-editorial-reader .tr-sowhat b{flex:none;padding:2px 9px;border-radius:7px;background:rgba(255,255,255,.14);font-size:12px;font-weight:700}
.topic-editorial-reader .tr-sowhat p{font-size:14.5px;line-height:1.6;font-weight:600}
.topic-editorial-reader .tr-refs{display:flex;flex-wrap:wrap;gap:6px}
.topic-editorial-reader .tr-ref{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 4px;border-radius:999px;font-size:12px;font-weight:650;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-ref:hover{background:var(--tr-wash)}
.topic-editorial-reader .tr-ref-dot{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--tr-skin);color:#fff;font-size:10.5px;font-weight:800}
.topic-editorial-reader .tr-ref b{color:var(--tr-faint);font-weight:700;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-field-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.topic-editorial-reader .tr-field-card{display:flex;flex-direction:column;gap:10px;padding:0 0 16px;border:1px solid var(--tr-line);border-radius:14px;background:var(--tr-paper);overflow:hidden}
.topic-editorial-reader .tr-field-card header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 16px;background:color-mix(in srgb,var(--tr-field) 9%,#fff);border-bottom:1px solid color-mix(in srgb,var(--tr-field) 18%,#fff)}
.topic-editorial-reader .tr-field-card header span{font-size:13.5px;font-weight:750;color:var(--tr-field)}
.topic-editorial-reader .tr-field-card header b{min-width:24px;height:22px;padding:0 7px;display:grid;place-items:center;border-radius:999px;background:var(--tr-field);color:#fff;font-size:11.5px;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-field-card p{padding:0 16px;font-size:14px;line-height:1.65;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-field-card .tr-refs{padding:0 16px;margin-top:auto}
/* best posts TOP 3 */
.topic-editorial-reader .tr-top{display:grid;gap:12px}
.topic-editorial-reader .tr-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.topic-editorial-reader .tr-top-card{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px;padding:18px 18px 16px 12px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper);transition:border-color .15s,box-shadow .15s,transform .15s}
.topic-editorial-reader .tr-top-card:hover{border-color:#d4d4d8;box-shadow:var(--tr-shadow);transform:translateY(-1px)}
.topic-editorial-reader .tr-rank{font-size:34px;line-height:1;font-weight:850;letter-spacing:-.04em;text-align:center;color:var(--tr-hot);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-top-card:nth-child(n+2) .tr-rank{color:#f43f5e;opacity:.75}.topic-editorial-reader .tr-top-card:nth-child(n+3) .tr-rank{opacity:.55}
.topic-editorial-reader .tr-top-body{display:flex;flex-direction:column;gap:9px}
.topic-editorial-reader .tr-top-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.topic-editorial-reader .tr-top-meta small{font-size:12px;color:var(--tr-faint)}
.topic-editorial-reader .tr-top-card h4{font-size:16px;line-height:1.45;font-weight:750;letter-spacing:-.02em}
.topic-editorial-reader .tr-top-card .tr-top-body>p{font-size:13.5px;line-height:1.6;color:var(--tr-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.topic-editorial-reader .tr-best-comment{display:flex;gap:8px;align-items:flex-start;padding:9px 11px;border-radius:11px;background:var(--tr-wash);border:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-best-comment>span{flex:none;padding:1px 6px;border-radius:5px;background:var(--tr-hot);color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em}
.topic-editorial-reader .tr-best-comment p{font-size:12.5px;line-height:1.55;color:var(--tr-ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.topic-editorial-reader .tr-best-comment b{margin-right:3px;color:var(--tr-tone,var(--tr-ink))}
.topic-editorial-reader .tr-top-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-top-foot button{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:650;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-top-card:hover .tr-top-foot button{background:var(--tr-ink);border-color:var(--tr-ink);color:#fff}
/* debate VS + planning board */
.topic-editorial-reader .tr-insight-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px;align-items:start}.topic-editorial-reader .tr-insight-row.is-single{grid-template-columns:1fr}
.topic-editorial-reader :is(.tr-versus,.tr-plan){display:grid;gap:14px;padding:20px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper)}
.topic-editorial-reader .tr-versus-q{font-size:15px;line-height:1.6;font-weight:650;color:var(--tr-ink)}
.topic-editorial-reader .tr-versus-grid{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:stretch}
.topic-editorial-reader .tr-side{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:14px;background:var(--tr-a-soft);border:1px solid #d6e4ff}
.topic-editorial-reader .tr-side.is-b{background:var(--tr-b-soft);border-color:#ffe0c7}
.topic-editorial-reader .tr-side-tag{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--tr-a);color:#fff;font-size:12.5px;font-weight:800}.topic-editorial-reader .tr-side.is-b .tr-side-tag{background:var(--tr-b)}
.topic-editorial-reader .tr-side>b{font-size:15px;font-weight:750;color:#1e3a8a}.topic-editorial-reader .tr-side.is-b>b{color:#9a3412}
.topic-editorial-reader .tr-side>p{font-size:13.5px;line-height:1.6;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-side ul{display:grid;gap:4px}.topic-editorial-reader .tr-side li{position:relative;padding-left:12px;font-size:12.5px;line-height:1.55;color:var(--tr-muted)}.topic-editorial-reader .tr-side li::before{content:"";position:absolute;left:1px;top:.65em;width:4px;height:4px;border-radius:50%;background:currentColor}
.topic-editorial-reader .tr-side .tr-refs{margin-top:auto}
.topic-editorial-reader .tr-vs{align-self:center;justify-self:center;display:grid;place-items:center;width:40px;height:40px;margin:0 -2px;position:relative;z-index:1;border-radius:50%;background:var(--tr-ink);color:#fff;font-size:12px;font-weight:850;letter-spacing:.02em;box-shadow:0 0 0 4px var(--tr-paper)}
.topic-editorial-reader .tr-plan-grid{display:grid;gap:8px}
.topic-editorial-reader .tr-plan-card{display:grid;gap:5px;padding:14px 16px;border-radius:12px;border:1px solid #e6dcff;background:var(--tr-plan-soft)}
.topic-editorial-reader .tr-plan-card.is-backup{background:var(--tr-paper);border-color:var(--tr-line)}
.topic-editorial-reader .tr-plan-card.is-question{background:var(--tr-ink);border-color:var(--tr-ink);color:#fff}
.topic-editorial-reader .tr-plan-tag{display:inline-flex;align-items:center;gap:5px;width:fit-content;font-size:11.5px;font-weight:750;color:var(--tr-plan)}.topic-editorial-reader .tr-plan-tag .tr-icon{width:13px;height:13px}
.topic-editorial-reader .tr-plan-card.is-backup .tr-plan-tag{color:var(--tr-muted)}.topic-editorial-reader .tr-plan-card.is-question .tr-plan-tag{color:#c4b5fd}
.topic-editorial-reader .tr-plan-card b{font-size:15px;line-height:1.5;font-weight:750}.topic-editorial-reader .tr-plan-card p{font-size:13px;line-height:1.55;color:var(--tr-muted)}
.topic-editorial-reader .tr-checklist{display:grid;gap:6px}
.topic-editorial-reader .tr-checklist li{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.55;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-checklist .tr-icon{margin-top:2px;padding:2px;width:17px;height:17px;border-radius:5px;background:var(--tr-plan-soft);color:var(--tr-plan);stroke-width:2.6}
/* board list + post viewer */
.topic-editorial-reader .tr-board{display:grid;gap:12px}
.topic-editorial-reader .tr-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.topic-editorial-reader .tr-filter{display:flex;flex-wrap:wrap;gap:6px}
.topic-editorial-reader .tr-filter button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:600;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-filter button b{font-size:11.5px;color:var(--tr-faint);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-filter button[aria-pressed=true]{background:var(--tr-ink);border-color:var(--tr-ink);color:#fff}.topic-editorial-reader .tr-filter button[aria-pressed=true] b{color:#a1a1aa}
.topic-editorial-reader .tr-reading-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;align-items:start}
.topic-editorial-reader .tr-issue-nav{display:flex;flex-direction:column;position:sticky;top:64px;max-height:calc(100vh - 84px);overflow:auto;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper)}
.topic-editorial-reader .tr-issue-nav button{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:start;text-align:left;padding:11px 14px;border:0;border-bottom:1px solid var(--tr-line-2);border-radius:0;background:none}
.topic-editorial-reader .tr-issue-nav button:last-child{border-bottom:0}
.topic-editorial-reader .tr-issue-nav button:hover{background:var(--tr-wash)}
.topic-editorial-reader .tr-issue-nav button[aria-pressed=true]{background:color-mix(in srgb,var(--tr-skin) 7%,#fff);box-shadow:inset 3px 0 0 var(--tr-skin)}
.topic-editorial-reader .tr-nav-no{padding-top:1px;font-size:12px;font-weight:700;color:var(--tr-faint);text-align:center;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-nav-main{display:grid;gap:3px}
.topic-editorial-reader .tr-issue-nav strong{font-size:13.5px;line-height:1.45;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.topic-editorial-reader .tr-issue-nav strong em{font-style:normal;font-weight:750;color:var(--tr-hot);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-issue-nav small{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--tr-faint);overflow:hidden;white-space:nowrap}.topic-editorial-reader .tr-issue-nav small i{width:6px;height:6px;border-radius:50%;background:var(--tr-skin);flex:none}.topic-editorial-reader .tr-issue-nav small .tr-icon{width:12px;height:12px}
.topic-editorial-reader .tr-chip{display:inline-flex;align-items:center;gap:6px;color:var(--tr-ink-2);font-size:12px;font-weight:650;white-space:nowrap}
.topic-editorial-reader .tr-chip i{width:7px;height:7px;border-radius:50%;background:var(--tr-skin)}
.topic-editorial-reader .tr-badge{display:inline-flex;align-items:center;gap:3px;height:22px;padding:0 8px;border-radius:7px;background:var(--tr-soft);color:var(--tr-ink-2);font-size:11.5px;font-weight:700;white-space:nowrap}.topic-editorial-reader .tr-badge .tr-icon{width:12px;height:12px}.topic-editorial-reader .tr-badge.is-best{background:#fff4e6;color:#c2410c}.topic-editorial-reader .tr-badge.is-stance{background:var(--tr-accent);color:#fff}
.topic-editorial-reader .tr-hot{display:inline-flex;align-items:center;height:20px;padding:0 6px;border-radius:6px;background:var(--tr-hot-soft);color:var(--tr-hot);font-size:10.5px;font-style:normal;font-weight:800;letter-spacing:.04em}
.topic-editorial-reader .tr-stats{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--tr-faint);white-space:nowrap}.topic-editorial-reader .tr-stats span{display:inline-flex;align-items:center;gap:4px}.topic-editorial-reader .tr-stats .tr-icon{width:13px;height:13px}.topic-editorial-reader .tr-stats b{color:var(--tr-ink-2);font-weight:650;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-meta-pill{display:inline-flex;align-items:center;gap:6px;width:fit-content;margin-top:12px;padding:4px 10px;border-radius:999px;background:var(--tr-soft);color:var(--tr-ink-2);font-size:12px;font-weight:600}
.topic-editorial-reader .tr-post{display:grid;grid-template-columns:minmax(0,1fr) 270px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper);overflow:hidden}
.topic-editorial-reader .tr-post-head{grid-column:1/-1;display:grid;gap:12px;padding:20px 26px 18px;border-bottom:1px solid var(--tr-line-2);box-shadow:inset 0 3px 0 var(--tr-skin)}
.topic-editorial-reader .tr-post.is-news .tr-post-head{box-shadow:inset 0 3px 0 #27272a}
.topic-editorial-reader .tr-crumb{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:650;color:var(--tr-skin)}.topic-editorial-reader .tr-crumb>span:nth-child(3){color:var(--tr-muted);font-weight:550}
.topic-editorial-reader .tr-crumb-sep{width:13px;height:13px;transform:rotate(-90deg);color:var(--tr-faint)}
.topic-editorial-reader .tr-crumb-badges{display:inline-flex;gap:6px;margin-left:auto}
.topic-editorial-reader .tr-post-head h3{font-size:21px;line-height:1.45;letter-spacing:-.025em;font-weight:780}
.topic-editorial-reader .tr-author{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.topic-editorial-reader .tr-author>div:not(.tr-stats){display:grid;line-height:1.35}.topic-editorial-reader .tr-author>div:not(.tr-stats) b{font-size:13px;font-weight:700}.topic-editorial-reader .tr-author>div:not(.tr-stats) small{font-size:12px;color:var(--tr-faint);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-author .tr-stats{margin-left:auto}
.topic-editorial-reader .tr-avatar{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--tr-skin);color:#fff;font-size:13px;font-weight:800}
.topic-editorial-reader .tr-avatar.is-news{border-radius:10px;background:var(--tr-ink)}.topic-editorial-reader .tr-avatar.is-news .tr-icon{width:16px;height:16px}
.topic-editorial-reader .tr-post-main{display:grid;gap:20px;padding:22px 26px 24px;align-content:start}
.topic-editorial-reader .tr-post-body p{font-size:15px;line-height:1.85;color:var(--tr-ink-2)}.topic-editorial-reader .tr-post-body p+p{margin-top:10px}
.topic-editorial-reader .tr-vote{justify-self:center;display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 20px;border:1px solid var(--tr-line);border-radius:999px;color:var(--tr-hot);background:var(--tr-paper);box-shadow:0 1px 2px rgba(24,24,27,.05)}
.topic-editorial-reader .tr-vote .tr-icon{width:17px;height:17px}.topic-editorial-reader .tr-vote b{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}.topic-editorial-reader .tr-vote span{font-size:12.5px;font-weight:600;color:var(--tr-muted)}
.topic-editorial-reader .tr-post-comments{display:grid;gap:10px;padding-top:18px;border-top:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-comments-head{display:flex;align-items:baseline;gap:10px}.topic-editorial-reader .tr-comments-head h4{font-size:14.5px;font-weight:750}.topic-editorial-reader .tr-comments-head h4 b{color:var(--tr-hot);font-variant-numeric:tabular-nums}.topic-editorial-reader .tr-comments-head span{font-size:12px;color:var(--tr-faint)}
.topic-editorial-reader .tr-comments{display:grid}
.topic-editorial-reader .tr-comment{--tr-tone:#52525b;--tr-tone-soft:#f4f4f5;display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;padding:13px 0;border-bottom:1px solid var(--tr-line-2)}.topic-editorial-reader .tr-comment:last-child{border-bottom:0}
.topic-editorial-reader :is(.tr-comment,.tr-best-comment).is-agree{--tr-tone:#15803d;--tr-tone-soft:#ecfdf3}.topic-editorial-reader :is(.tr-comment,.tr-best-comment).is-rebut{--tr-tone:#c2410c;--tr-tone-soft:#fff4ec}.topic-editorial-reader :is(.tr-comment,.tr-best-comment).is-mock{--tr-tone:#7c3aed;--tr-tone-soft:#f5f1ff}.topic-editorial-reader :is(.tr-comment,.tr-best-comment).is-worry{--tr-tone:#b45309;--tr-tone-soft:#fffbeb}.topic-editorial-reader :is(.tr-comment,.tr-best-comment).is-fact{--tr-tone:#1d4ed8;--tr-tone-soft:#eff4ff}.topic-editorial-reader :is(.tr-comment,.tr-best-comment).is-ask{--tr-tone:#0f766e;--tr-tone-soft:#ecfdf8}
.topic-editorial-reader .tr-comment-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--tr-tone-soft);color:var(--tr-tone);font-size:12px;font-weight:800}
.topic-editorial-reader .tr-comment-main{display:grid;gap:4px}
.topic-editorial-reader .tr-comment-head{display:flex;align-items:center;gap:7px;font-size:12.5px}.topic-editorial-reader .tr-comment-head b{font-weight:650}
.topic-editorial-reader .tr-tone{padding:1px 8px;border-radius:999px;background:var(--tr-tone-soft);color:var(--tr-tone);font-size:11.5px;font-weight:700}
.topic-editorial-reader .tr-comment p{font-size:14px;line-height:1.65;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-comment-same{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--tr-faint);font-weight:600}.topic-editorial-reader .tr-comment-same .tr-icon{width:12px;height:12px}
.topic-editorial-reader .tr-post-aside{display:grid;gap:12px;align-content:start;padding:22px 22px 22px 0}
.topic-editorial-reader .tr-proof{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:14px;border:1px solid #ffe2d1;border-radius:13px;background:#fff8f3}
.topic-editorial-reader .tr-proof-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffedd5;color:#c2410c}
.topic-editorial-reader .tr-proof h4{font-size:12.5px;font-weight:750;color:#9a3412;margin-bottom:3px}.topic-editorial-reader .tr-proof p{font-size:13px;line-height:1.55;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-planning{position:relative;padding:16px 16px 14px;border-radius:4px 4px 14px 4px;background:#fff8c5;box-shadow:0 1px 0 rgba(0,0,0,.04),0 6px 14px rgba(161,98,7,.1);transform:rotate(-.6deg)}
.topic-editorial-reader .tr-planning h4{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:750;color:#854d0e;margin-bottom:8px}
.topic-editorial-reader .tr-planning li{position:relative;padding-left:14px;font-size:13px;line-height:1.6;color:#422006}.topic-editorial-reader .tr-planning li+li{margin-top:6px}.topic-editorial-reader .tr-planning li::before{content:"";position:absolute;left:2px;top:.68em;width:5px;height:5px;border-radius:50%;background:#ca8a04}.topic-editorial-reader .tr-planning p{font-size:13px;line-height:1.6;color:#422006}.topic-editorial-reader .tr-planning ul+p{margin-top:8px}
.topic-editorial-reader .tr-inline-link{display:inline-block;margin-top:6px;color:#c2410c;font-size:12.5px;font-weight:650;text-decoration:none}.topic-editorial-reader .tr-inline-link:hover{text-decoration:underline;text-underline-offset:3px}
.topic-editorial-reader span.tr-inline-link{display:none}
.topic-editorial-reader .tr-post>footer{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:14px 26px;border-top:1px solid var(--tr-line-2);background:var(--tr-wash)}
.topic-editorial-reader .tr-post>footer:empty{display:none}
.topic-editorial-reader .tr-primary-link{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px;border-radius:11px;background:var(--tr-ink);color:#fff;font-size:13px;font-weight:650;text-decoration:none;transition:background .15s}.topic-editorial-reader .tr-primary-link:hover{background:#3f3f46}
.topic-editorial-reader .tr-empty{display:grid;justify-items:center;gap:12px;padding:44px 24px;border:1px dashed #d4d4d8;border-radius:var(--tr-radius);text-align:center;background:var(--tr-paper)}.topic-editorial-reader .tr-empty h3{font-size:15px;font-weight:650;color:var(--tr-ink-2)}.topic-editorial-reader .tr-empty button{height:34px;padding:0 14px;font-size:13px;font-weight:650}
/* library feed */
.topic-editorial-reader .tr-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.topic-editorial-reader .tr-library-card{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper);transition:border-color .15s,box-shadow .15s,transform .15s}
.topic-editorial-reader .tr-library-card:hover{border-color:#d4d4d8;box-shadow:var(--tr-shadow);transform:translateY(-1px)}
.topic-editorial-reader .tr-library-card header{display:flex;align-items:center;gap:10px}.topic-editorial-reader .tr-library-card header>div{display:grid;line-height:1.35}.topic-editorial-reader .tr-library-card header>div b{font-size:13px;font-weight:700}.topic-editorial-reader .tr-library-card header>div small{font-size:12px;color:var(--tr-faint)}
.topic-editorial-reader .tr-kind{margin-left:auto;padding:2px 9px;border-radius:999px;background:var(--tr-soft);color:var(--tr-muted);font-size:11.5px;font-weight:650;white-space:nowrap}.topic-editorial-reader .tr-kind.is-community{background:var(--tr-accent-soft);color:var(--tr-accent-ink)}.topic-editorial-reader .tr-kind.is-background{background:#f1f5f9;color:#334155}
.topic-editorial-reader .tr-library-card h3{font-size:15.5px;line-height:1.5;font-weight:700;letter-spacing:-.015em}.topic-editorial-reader .tr-library-card h3 a{color:var(--tr-ink);text-decoration:none}.topic-editorial-reader .tr-library-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.topic-editorial-reader .tr-library-card>p{font-size:13.5px;line-height:1.65;color:var(--tr-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.topic-editorial-reader .tr-library-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--tr-line-2)}.topic-editorial-reader .tr-library-card footer small{font-size:12px;color:var(--tr-faint);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-pager{display:flex;align-items:center;justify-content:center;gap:12px}.topic-editorial-reader .tr-pager button{height:34px;padding:0 14px;font-size:13px;font-weight:650}.topic-editorial-reader .tr-pager button:disabled{opacity:.4;cursor:default}.topic-editorial-reader .tr-pager span{font-size:12.5px;color:var(--tr-muted);font-variant-numeric:tabular-nums}
/* coverage: rings, matrix, pending */
.topic-editorial-reader .tr-scope-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.topic-editorial-reader .tr-ring-card{--tr-ring:#52525b;display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper)}
.topic-editorial-reader .tr-ring-card.is-good{--tr-ring:var(--tr-accent)}.topic-editorial-reader .tr-ring-card.is-done{--tr-ring:var(--tr-plan)}
.topic-editorial-reader .tr-ring{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:50%;background:conic-gradient(var(--tr-ring) calc(var(--tr-pct)*1%),#ececef 0)}
.topic-editorial-reader .tr-ring b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--tr-paper);font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-ring-card>div:last-child{display:grid}.topic-editorial-reader .tr-ring-card span{font-size:12.5px;color:var(--tr-muted);font-weight:600}.topic-editorial-reader .tr-ring-card>div:last-child>b{font-size:22px;font-weight:780;font-variant-numeric:tabular-nums}.topic-editorial-reader .tr-ring-card small{font-size:13px;color:var(--tr-faint);font-weight:600}
.topic-editorial-reader .tr-matrix-box{display:grid;gap:12px;padding:20px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper)}
.topic-editorial-reader .tr-table-wrap{overflow:auto;border:1px solid var(--tr-line);border-radius:12px}
.topic-editorial-reader table{width:100%;border-collapse:collapse;font-size:13px}.topic-editorial-reader th,.topic-editorial-reader td{padding:10px 12px;border-bottom:1px solid var(--tr-line-2);text-align:left;vertical-align:middle}.topic-editorial-reader thead th{background:var(--tr-wash);font-size:12px;font-weight:650;color:var(--tr-muted);white-space:nowrap}.topic-editorial-reader tbody tr:last-child :is(th,td){border-bottom:0}
.topic-editorial-reader .tr-matrix tbody th{display:grid;gap:1px;min-width:120px;font-weight:700;white-space:nowrap}.topic-editorial-reader .tr-matrix tbody th small{font-size:11.5px;color:var(--tr-faint);font-weight:600;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-cell{--tr-c:#a1a1aa;--tr-c-soft:#f4f4f5;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:3px 10px;border-radius:9px;background:var(--tr-c-soft);font-size:12px;white-space:nowrap}
.topic-editorial-reader .tr-cell i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--tr-c)}.topic-editorial-reader .tr-cell b{font-weight:650;color:var(--tr-ink-2)}.topic-editorial-reader .tr-cell small{color:var(--tr-muted);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-cell.is-verified{--tr-c:#0f766e;--tr-c-soft:#e7f8f3}.topic-editorial-reader .tr-cell.is-budget_exhausted{--tr-c:#d97706;--tr-c-soft:#fff7e6}.topic-editorial-reader .tr-cell.is-unverified{--tr-c:#eab308;--tr-c-soft:#fefce8}.topic-editorial-reader .tr-cell.is-criteria_not_met{--tr-c:#6366f1;--tr-c-soft:#eef0ff}.topic-editorial-reader .tr-cell.is-access_failed{--tr-c:#dc2626;--tr-c-soft:#fef2f2}.topic-editorial-reader .tr-cell.is-empty{background:none;color:var(--tr-faint)}
.topic-editorial-reader .tr-legend{display:flex;flex-wrap:wrap;gap:6px}.topic-editorial-reader .tr-legend .tr-cell{min-height:24px;font-size:11.5px;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-pending-box{border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper)}
.topic-editorial-reader .tr-pending-toggle{width:100%;display:flex;align-items:center;gap:9px;padding:16px 18px;border:0;border-radius:var(--tr-radius);background:none;font-size:14px;text-align:left}.topic-editorial-reader .tr-pending-toggle b{font-weight:700}.topic-editorial-reader .tr-pending-toggle span{padding:1px 9px;border-radius:999px;background:var(--tr-soft);color:var(--tr-muted);font-size:12px;font-weight:650}.topic-editorial-reader .tr-pending-toggle>.tr-icon:first-child{color:var(--tr-muted)}
.topic-editorial-reader .tr-toggle-icon{width:16px;height:16px;margin-left:auto;transition:transform .2s;color:var(--tr-muted)}.topic-editorial-reader .tr-pending-toggle[aria-expanded=true] .tr-toggle-icon{transform:rotate(180deg)}
.topic-editorial-reader [data-tr-pending-body]{display:grid;gap:14px;padding:0 18px 18px}
.topic-editorial-reader .tr-pending-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.topic-editorial-reader [data-tr-pending]{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--tr-line-2);border-radius:12px;background:var(--tr-wash)}
.topic-editorial-reader .tr-pending-state{flex:none;padding:2px 8px;border-radius:999px;background:var(--tr-paper);border:1px solid var(--tr-line);font-size:11px;font-weight:650;color:var(--tr-muted)}
.topic-editorial-reader [data-tr-pending] h4{font-size:13.5px;font-weight:650;line-height:1.45}.topic-editorial-reader [data-tr-pending] h4 a{color:var(--tr-ink);text-decoration:none}.topic-editorial-reader [data-tr-pending] h4 a:hover{text-decoration:underline}.topic-editorial-reader [data-tr-pending] p{margin-top:2px;font-size:12px;color:var(--tr-faint)}
/* footer */
.topic-editorial-reader .tr-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 30px 20px;border-top:1px solid var(--tr-line);background:var(--tr-paper)}
.topic-editorial-reader .tr-footer-actions{display:flex;flex-wrap:wrap;gap:8px}.topic-editorial-reader .tr-footer-actions button{height:36px;padding:0 14px;font-size:13px;font-weight:650;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-footer-actions [data-competitor-delete-topic-pulse]{color:#b91c1c}
/* page header override: the reader carries its own header and actions */
.competitor-topic-result-page:has(.topic-editorial-reader)>header{padding:12px 4px!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important;margin-bottom:10px!important;display:flex!important;gap:18px!important;align-items:center!important}.competitor-topic-result-page:has(.topic-editorial-reader)>header>aside,.competitor-topic-result-page:has(.topic-editorial-reader)>header>div>span,.competitor-topic-result-page:has(.topic-editorial-reader)>header>div>p{display:none!important}.competitor-topic-result-page:has(.topic-editorial-reader)>header h1{font-size:14px!important;font-weight:600!important;color:#71717a!important;margin:0!important}
@media(max-width:1100px){.topic-editorial-reader .tr-mast-grid{grid-template-columns:1fr}.topic-editorial-reader .tr-reading-layout{grid-template-columns:250px minmax(0,1fr)}.topic-editorial-reader .tr-post{grid-template-columns:minmax(0,1fr)}.topic-editorial-reader .tr-post-aside{padding:0 26px 22px}.topic-editorial-reader .tr-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-editorial-reader .tr-insight-row{grid-template-columns:1fr}.topic-editorial-reader .tr-points{grid-template-columns:1fr}}
@media(max-width:760px){.topic-editorial-reader{border-radius:16px}.topic-editorial-reader .tr-masthead{padding:18px 16px 16px}.topic-editorial-reader .tr-masthead h2.tr-masthead-query{font-size:18px}.topic-editorial-reader .tr-mast-top .tr-use{order:3;width:100%;justify-content:center;margin-left:0}.topic-editorial-reader .tr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-editorial-reader .tr-view-nav{width:calc(100% - 32px);margin:14px 16px 0}.topic-editorial-reader .tr-view-nav button{font-size:12.5px;padding:8px 4px;gap:5px}.topic-editorial-reader [data-tr-panel]{gap:18px;padding:16px}.topic-editorial-reader .tr-pin{padding:18px}.topic-editorial-reader .tr-pin h3{font-size:19px}.topic-editorial-reader .tr-versus-grid{grid-template-columns:1fr}.topic-editorial-reader .tr-vs{margin:-8px auto}.topic-editorial-reader .tr-overview{grid-template-columns:1fr}.topic-editorial-reader .tr-reading-layout{grid-template-columns:1fr}.topic-editorial-reader .tr-issue-nav{position:static;max-height:340px}.topic-editorial-reader .tr-post-head{padding:16px}.topic-editorial-reader .tr-post-head h3{font-size:18px}.topic-editorial-reader .tr-author .tr-stats{margin-left:0;width:100%}.topic-editorial-reader .tr-post-main{padding:16px}.topic-editorial-reader .tr-post-aside{padding:0 16px 16px}.topic-editorial-reader .tr-post>footer{padding:12px 16px}.topic-editorial-reader .tr-library-grid,.topic-editorial-reader .tr-scope-stats,.topic-editorial-reader .tr-pending-grid{grid-template-columns:1fr}.topic-editorial-reader .tr-footer{padding:16px}.topic-editorial-reader .tr-matrix-box,.topic-editorial-reader :is(.tr-versus,.tr-plan){padding:16px}}

/* ---- Topic research main (tw): search, start, results. Explanations moved to the guide modal. ---- */
#competitorAnalysisPage .topic-research-workbench.tw{--tw-ink:#16303a;--tw-muted:#67808a;--tw-line:#dbe5e8;--tw-accent:#0f7f76;--tw-accent-ink:#0b5f59;--tw-wash:#f5f9f8;display:grid;gap:18px;color:var(--tw-ink);}
#competitorAnalysisPage .tw-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:6px 2px 2px;}
#competitorAnalysisPage .tw-back{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--tw-line);border-radius:9px;background:#fff;color:#3f5762;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s;}
#competitorAnalysisPage .tw-back:hover{border-color:#b9cdd3;background:var(--tw-wash);}
#competitorAnalysisPage .tw-title h1{margin:0;color:var(--tw-ink);font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.3;}
#competitorAnalysisPage .tw-title p{margin:4px 0 0;color:var(--tw-muted);font-size:13.5px;line-height:1.55;}
#competitorAnalysisPage .tw-state{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px;border:1px solid var(--tw-line);border-radius:999px;background:#fff;color:#5b7480;font-size:12.5px;font-weight:600;white-space:nowrap;}
#competitorAnalysisPage .tw-state i{width:8px;height:8px;border-radius:50%;background:#b8c7cd;}
#competitorAnalysisPage .tw-state.is-running{border-color:#bfe3dc;color:var(--tw-accent-ink);background:#eef8f6;}
#competitorAnalysisPage .tw-state.is-running i{background:#17a08f;box-shadow:0 0 0 4px rgba(23,160,143,.14);animation:tw-pulse 1.4s ease-in-out infinite;}
@keyframes tw-pulse{0%,100%{box-shadow:0 0 0 3px rgba(23,160,143,.14);}50%{box-shadow:0 0 0 7px rgba(23,160,143,.05);}}
/* search block */
#competitorAnalysisPage .tw-search.competitor-topic-pulse-form{display:grid;grid-template-columns:1fr;gap:14px;padding:22px 24px 18px;border:1px solid var(--tw-line);border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(20,45,60,.04),0 10px 30px rgba(20,45,60,.05);}
#competitorAnalysisPage .tw-label{display:inline-flex;align-items:center;gap:6px;color:#3f5762;font-size:12.5px;font-weight:650;letter-spacing:.01em;}
#competitorAnalysisPage .tw-label svg{width:15px;height:15px;color:var(--tw-accent);}
#competitorAnalysisPage .tw-query{display:grid;gap:8px;}
#competitorAnalysisPage .tw-search textarea{width:100%;min-height:96px;margin:0;padding:14px 16px;border:1px solid #c9d7dc;border-radius:11px;background:#fbfdfd;color:var(--tw-ink);font:inherit;font-size:15px;line-height:1.6;resize:vertical;box-sizing:border-box;transition:border-color .15s,box-shadow .15s,background .15s;}
#competitorAnalysisPage .tw-search textarea::placeholder{color:#9aabb3;}
#competitorAnalysisPage .tw-search textarea:hover{border-color:#b3c6cd;}
#competitorAnalysisPage .tw-search textarea:focus{outline:none;border-color:var(--tw-accent);background:#fff;box-shadow:0 0 0 4px rgba(15,127,118,.12);}
#competitorAnalysisPage .tw-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;}
#competitorAnalysisPage .tw-select{display:grid;gap:8px;min-width:190px;}
#competitorAnalysisPage .tw-select-box{position:relative;display:block;}
#competitorAnalysisPage .tw-search select{width:100%;height:46px;margin:0;padding:0 40px 0 14px;border:1px solid #c9d7dc;border-radius:10px;background:#fff;color:var(--tw-ink);font:inherit;font-size:14px;font-weight:550;appearance:none;-webkit-appearance:none;cursor:pointer;transition:border-color .15s,box-shadow .15s;}
#competitorAnalysisPage .tw-search select:hover{border-color:#b3c6cd;}
#competitorAnalysisPage .tw-search select:focus{outline:none;border-color:var(--tw-accent);box-shadow:0 0 0 4px rgba(15,127,118,.12);}
#competitorAnalysisPage .tw-select-box i{position:absolute;top:50%;right:15px;width:8px;height:8px;border-right:2px solid #5b7480;border-bottom:2px solid #5b7480;transform:translateY(-70%) rotate(45deg);pointer-events:none;}
#competitorAnalysisPage .tw-custom{display:flex;gap:10px;}
#competitorAnalysisPage .tw-custom label{display:grid;gap:8px;}
#competitorAnalysisPage .tw-search input[type="date"]{height:46px;margin:0;padding:0 12px;border:1px solid #c9d7dc;border-radius:10px;background:#fff;color:var(--tw-ink);font:inherit;font-size:14px;}
#competitorAnalysisPage .tw-search input[type="date"]:focus{outline:none;border-color:var(--tw-accent);box-shadow:0 0 0 4px rgba(15,127,118,.12);}
#competitorAnalysisPage .tw-start{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;margin-left:auto;padding:0 22px;border:0;border-radius:10px;background:var(--tw-accent);color:#fff;font:inherit;font-size:14.5px;font-weight:700;letter-spacing:.01em;cursor:pointer;box-shadow:0 6px 16px rgba(15,127,118,.22);transition:background .15s,transform .15s,box-shadow .15s;}
#competitorAnalysisPage .tw-start:hover{background:#0c6d65;transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,127,118,.26);}
#competitorAnalysisPage .tw-start:active{transform:translateY(0);}
#competitorAnalysisPage .tw-start b{font-weight:700;}
#competitorAnalysisPage .tw-hint{margin:0;color:var(--tw-muted);font-size:12.5px;line-height:1.6;}
#competitorAnalysisPage .tw-link{margin-left:6px;padding:0;border:0;background:none;color:var(--tw-accent-ink);font:inherit;font-size:12.5px;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
#competitorAnalysisPage .tw-link:hover{color:#08514c;}
/* results */
#competitorAnalysisPage .tw-results{display:grid;gap:12px;padding:20px 24px 22px;border:1px solid var(--tw-line);border-radius:14px;background:#fff;}
#competitorAnalysisPage .tw-results-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:4px;}
#competitorAnalysisPage .tw-results-head h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.01em;color:var(--tw-ink);}
#competitorAnalysisPage .tw-results-head span{color:var(--tw-muted);font-size:12.5px;font-weight:550;}
#competitorAnalysisPage .tw-list{display:grid;gap:8px;}
#competitorAnalysisPage .tw-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;overflow:hidden;border:1px solid var(--tw-line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s;}
#competitorAnalysisPage .tw-item:hover{border-color:#b9d3cf;box-shadow:0 6px 18px rgba(20,45,60,.07);}
#competitorAnalysisPage .tw-item-open{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:64px;padding:12px 16px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;}
#competitorAnalysisPage .tw-item-open:hover{background:#fafcfc;}
#competitorAnalysisPage .tw-item-open:focus-visible,#competitorAnalysisPage .tw-item-delete:focus-visible,#competitorAnalysisPage .tw-start:focus-visible,#competitorAnalysisPage .tw-back:focus-visible{outline:3px solid rgba(15,127,118,.35);outline-offset:2px;}
#competitorAnalysisPage .tw-item-status{display:inline-flex;align-items:center;gap:6px;min-width:64px;height:26px;padding:0 9px;border-radius:999px;background:#eef2f4;color:#5b7480;font-size:11.5px;font-weight:650;white-space:nowrap;}
#competitorAnalysisPage .tw-item-status i{width:7px;height:7px;border-radius:50%;background:#9fb1b8;}
#competitorAnalysisPage .tw-item.is-completed .tw-item-status{background:#e4f3ee;color:#146a5d;}
#competitorAnalysisPage .tw-item.is-completed .tw-item-status i{background:#1a9f8c;}
#competitorAnalysisPage .tw-item.is-running .tw-item-status{background:#e9f1fb;color:#2c5c99;}
#competitorAnalysisPage .tw-item.is-running .tw-item-status i{background:#3b82f6;animation:tw-pulse 1.4s ease-in-out infinite;}
#competitorAnalysisPage .tw-item.is-failed .tw-item-status{background:#fdeeee;color:#a13a3a;}
#competitorAnalysisPage .tw-item.is-failed .tw-item-status i{background:#d05a5a;}
#competitorAnalysisPage .tw-item-main{display:grid;gap:3px;min-width:0;}
#competitorAnalysisPage .tw-item-main strong{overflow:hidden;color:var(--tw-ink);font-size:14.5px;font-weight:650;line-height:1.4;text-overflow:ellipsis;white-space:nowrap;}
#competitorAnalysisPage .tw-item-main small{overflow:hidden;color:var(--tw-muted);font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap;}
#competitorAnalysisPage .tw-item.is-failed .tw-item-main small{color:#a13a3a;}
#competitorAnalysisPage .tw-item-cta{display:inline-flex;align-items:center;gap:5px;color:var(--tw-accent-ink);font-size:13px;font-weight:650;white-space:nowrap;opacity:.85;}
#competitorAnalysisPage .tw-item:hover .tw-item-cta{opacity:1;}
#competitorAnalysisPage .tw-item-cta b{font-weight:700;transition:transform .15s;}
#competitorAnalysisPage .tw-item:hover .tw-item-cta b{transform:translateX(2px);}
#competitorAnalysisPage .tw-item-delete{display:grid;place-items:center;width:44px;border:0;border-left:1px solid var(--tw-line);background:#fff;color:#9aabb3;cursor:pointer;transition:color .15s,background .15s;}
#competitorAnalysisPage .tw-item-delete svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}
#competitorAnalysisPage .tw-item-delete:hover{color:#a13a3a;background:#fdf3f3;}
#competitorAnalysisPage .tw-item-delete:disabled{color:#c9d3d8;background:#f7f9fa;cursor:not-allowed;}
#competitorAnalysisPage .tw-more{justify-self:center;min-height:38px;padding:0 16px;border:1px solid var(--tw-line);border-radius:999px;background:#fff;color:#3f5762;font:inherit;font-size:13px;font-weight:600;cursor:pointer;}
#competitorAnalysisPage .tw-more:hover{background:var(--tw-wash);}
#competitorAnalysisPage .tw-empty{display:grid;justify-items:center;gap:6px;padding:34px 20px;border:1px dashed #cdd9de;border-radius:12px;background:#fafcfc;text-align:center;}
#competitorAnalysisPage .tw-empty strong{font-size:15px;font-weight:650;color:#2f4854;}
#competitorAnalysisPage .tw-empty p{margin:0;color:var(--tw-muted);font-size:13px;}
@media(max-width:820px){
  #competitorAnalysisPage .tw-head{grid-template-columns:1fr auto;}
  #competitorAnalysisPage .tw-head .tw-title{grid-column:1/-1;}
  #competitorAnalysisPage .tw-title h1{font-size:21px;}
  #competitorAnalysisPage .tw-search.competitor-topic-pulse-form{padding:16px;}
  #competitorAnalysisPage .tw-select{min-width:0;flex:1 1 160px;}
  #competitorAnalysisPage .tw-start{width:100%;margin-left:0;}
  #competitorAnalysisPage .tw-results{padding:16px;}
  #competitorAnalysisPage .tw-item-open{grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 14px;}
  #competitorAnalysisPage .tw-item-status{width:fit-content;}
  #competitorAnalysisPage .tw-item-main strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
  #competitorAnalysisPage .tw-item-main small{white-space:normal;}
  #competitorAnalysisPage .tw-item-cta{display:none;}
}
/* guide modal */
.tw-guide-modal{width:min(720px,calc(100vw - 28px));}
.tw-guide-modal .modal-head small{display:block;margin-bottom:4px;color:#0f7f76;font-size:11px;font-weight:700;letter-spacing:.12em;}
.tw-guide-modal .modal-head h2{margin:0;font-size:20px;font-weight:700;}
.tw-guide-modal .modal-body{display:grid;gap:26px;padding:24px 26px;}
.tw-guide-modal .modal-body section{display:grid;gap:6px;}
.tw-guide-kicker{color:#0f7f76;font-size:11px;font-weight:700;letter-spacing:.12em;}
.tw-guide-modal h3{margin:0 0 8px;font-size:17px;font-weight:700;color:#16303a;}
.tw-guide-steps{display:grid;gap:0;margin:0;padding:0;list-style:none;}
.tw-guide-steps li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:11px 0;border-top:1px solid #e6edf0;}
.tw-guide-steps li:first-child{border-top:0;}
.tw-guide-steps li b{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#e4f3ee;color:#146a5d;font-size:12px;font-weight:700;}
.tw-guide-steps strong{display:block;font-size:14px;font-weight:650;color:#16303a;}
.tw-guide-steps span{display:block;margin-top:2px;color:#67808a;font-size:12.5px;line-height:1.5;}
.tw-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.tw-guide-grid article{display:grid;align-content:start;gap:6px;padding:14px;border:1px solid #dbe5e8;border-radius:10px;background:#fafcfc;}
.tw-guide-grid strong{font-size:14px;font-weight:650;color:#16303a;}
.tw-guide-grid p{margin:0;color:#67808a;font-size:12.5px;line-height:1.55;}
.tw-guide-grid span{width:fit-content;padding:3px 8px;border-radius:999px;background:#eef2f4;color:#5b7480;font-size:11px;font-weight:600;}
.tw-guide-note{margin:0;color:#67808a;font-size:12.5px;line-height:1.6;}
.tw-guide-note .tw-guide-kicker{font-size:10px;}
@media(max-width:600px){.tw-guide-grid{grid-template-columns:1fr;}}
/* modal chrome polish inside the research tab and shared research modals */
.modal-backdrop .modal-head .icon-button{width:36px;height:36px;border-radius:10px;color:#4a5f6b;font-size:22px;line-height:1;transition:background .15s,color .15s;}
.modal-backdrop .modal-head .icon-button:hover{background:#eef3f4;color:#16303a;}
.modal-backdrop .modal-head .icon-button:focus-visible{outline:3px solid rgba(15,127,118,.35);outline-offset:2px;}
.competitor-external-request-modal .modal-head{align-items:flex-start;}
.competitor-external-request-modal .modal-head small{display:block;margin-bottom:4px;color:#0f7f76;font-size:11px;font-weight:700;letter-spacing:.12em;}
.competitor-external-request-modal .modal-head h2{margin:0;font-size:20px;font-weight:700;color:#16303a;}
.competitor-external-running-head > div strong{display:block;color:#f2fbf9;font-size:15px;font-weight:650;}
.competitor-external-running-head > div p{margin:4px 0 0;color:#bcd9d3;font-size:13px;}
/* result page: topic as the headline, quick actions in the page header */
.competitor-topic-result-page:has(.topic-editorial-reader)>header .tw-result-actions{display:none;}
.competitor-topic-result-page:has(.topic-editorial-reader)>header .tw-result-actions button{min-height:36px;padding:0 13px;border:1px solid #dbe5e8;border-radius:9px;background:#fff;color:#2f4854;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s;}
.competitor-topic-result-page:has(.topic-editorial-reader)>header .tw-result-actions button:hover{border-color:#b9cdd3;background:#f5f9f8;}
@media(max-width:760px){.competitor-topic-result-page:has(.topic-editorial-reader)>header .tw-result-actions{display:none;}}

/* 의견 분포 조사 (opinion mode): verdict, share bars, per-community stacks, stance cards. */
.topic-editorial-reader .tr-opinion{display:grid;gap:16px;padding:22px 24px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-paper)}
.topic-editorial-reader .tr-opinion-head{display:grid;gap:8px}
.topic-editorial-reader .tr-opinion-head h3{font-size:19px;line-height:1.45;letter-spacing:-.02em;font-weight:700}
.topic-editorial-reader .tr-opinion-verdict{font-style:normal;display:inline-block;margin-right:8px;padding:2px 10px;border-radius:999px;background:var(--tr-accent);color:#fff;font-size:13px;vertical-align:middle}
.topic-editorial-reader .tr-opinion-head p{font-size:14px;line-height:1.7;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-opinion-sample{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:var(--tr-muted)}.topic-editorial-reader .tr-opinion-sample b{color:var(--tr-ink);font-weight:650;font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-opinion-overall{display:grid;gap:10px}
.topic-editorial-reader .tr-opinion-bar-head{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:4px}
.topic-editorial-reader .tr-opinion-bar-head b{color:var(--tr-stance,var(--tr-accent));font-weight:650}.topic-editorial-reader .tr-opinion-bar-head span{color:var(--tr-muted);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-opinion-track{height:8px;border-radius:999px;background:var(--tr-soft);overflow:hidden}
.topic-editorial-reader .tr-opinion-track i{display:block;height:100%;border-radius:999px}
.topic-editorial-reader .tr-opinion-table-wrap{overflow-x:auto;border:1px solid var(--tr-line);border-radius:12px}
.topic-editorial-reader .tr-opinion-communities{width:100%;border-collapse:collapse;font-size:13px}
.topic-editorial-reader .tr-opinion-communities td b{color:var(--tr-stance,var(--tr-accent))}
.topic-editorial-reader .tr-opinion-stack{display:flex;height:8px;min-width:160px;border-radius:999px;overflow:hidden;background:var(--tr-soft)}
.topic-editorial-reader .tr-opinion-stack i{display:block;height:100%}
.topic-editorial-reader .tr-opinion-stances{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.topic-editorial-reader .tr-opinion-stance{padding:16px 18px;border:1px solid var(--tr-line);border-radius:12px;background:var(--tr-wash);box-shadow:inset 3px 0 0 var(--tr-stance,var(--tr-accent))}
.topic-editorial-reader .tr-opinion-stance header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px}
.topic-editorial-reader .tr-opinion-stance h4{font-size:14.5px;font-weight:650;color:var(--tr-stance,var(--tr-accent))}
.topic-editorial-reader .tr-opinion-stance header span{font-size:12px;color:var(--tr-muted);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tr-opinion-stance p{font-size:13.5px;line-height:1.65;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-opinion-args{margin:8px 0 0;padding-left:18px!important;list-style:disc!important;font-size:13px;line-height:1.6;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-opinion-quotes{margin:10px 0 0;display:grid;gap:6px}
.topic-editorial-reader .tr-opinion-quotes li{padding:9px 11px;border-radius:10px;background:var(--tr-paper);border:1px solid var(--tr-line);font-size:12.5px;line-height:1.55}
.topic-editorial-reader .tr-opinion-quotes q{quotes:"\201C" "\201D"}
.topic-editorial-reader .tr-opinion-quotes small{display:block;margin-top:4px;color:var(--tr-faint)}.topic-editorial-reader .tr-opinion-quotes small a{color:inherit}
.topic-editorial-reader .tr-opinion-quotes.is-comment li{border-style:dashed}
.topic-editorial-reader :is(.tr-opinion-timeline,.tr-opinion-diff,.tr-opinion-actions) ul{display:grid;gap:4px;margin-top:6px;font-size:13px;line-height:1.65;color:var(--tr-ink-2)}
.topic-editorial-reader :is(.tr-opinion-timeline,.tr-opinion-diff) li span{color:var(--tr-muted);margin-left:6px}
/* 의견 분포 as a community poll post (2026-10-27 시안 3). */
.topic-editorial-reader .tr-poll{margin:4px 0;border:1px solid var(--tr-line);border-radius:16px;background:var(--tr-paper);overflow:hidden;box-shadow:inset 0 3px 0 var(--tr-ink)}
.topic-editorial-reader .tr-poll-head{display:flex;align-items:center;gap:12px;padding:18px 24px 14px;border-bottom:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-poll-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--tr-soft);color:var(--tr-ink)}.topic-editorial-reader .tr-poll-icon svg{width:17px;height:17px}
.topic-editorial-reader .tr-poll-head>div{min-width:0}
.topic-editorial-reader .tr-poll-head small{display:block;font-size:12px;font-weight:650;color:var(--tr-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topic-editorial-reader .tr-poll-head h3{margin:2px 0 0;font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--tr-ink)}
.topic-editorial-reader .tr-poll-stats{margin-left:auto;display:flex;gap:14px;font-size:13px;font-weight:600;color:var(--tr-ink-2);white-space:nowrap}.topic-editorial-reader .tr-poll-stats b{color:var(--tr-ink)}
.topic-editorial-reader .tr-poll-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.topic-editorial-reader .tr-poll-bars{display:grid;gap:9px;align-content:start;padding:18px 24px 20px;border-right:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-poll-row{position:relative;display:flex;align-items:center;gap:10px;width:100%;height:50px;min-height:0;padding:0 16px;border:1.5px solid transparent!important;border-radius:12px;background:var(--tr-soft)!important;box-shadow:none!important;overflow:hidden;cursor:pointer;text-align:left;font:inherit;color:var(--tr-ink)}
.topic-editorial-reader .tr-poll-row>i{position:absolute;inset:0 auto 0 0;width:var(--tr-poll-w);background:color-mix(in srgb,var(--tr-stance) 16%,#fff);transition:width .4s ease}
.topic-editorial-reader .tr-poll-row.is-top>i{background:color-mix(in srgb,var(--tr-stance) 24%,#fff)}
.topic-editorial-reader .tr-poll-row>*:not(i){position:relative}
.topic-editorial-reader .tr-poll-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--tr-stance)}
.topic-editorial-reader .tr-poll-row b{font-size:15px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topic-editorial-reader .tr-poll-first{flex:none;padding:2px 7px;border-radius:6px;background:var(--tr-stance);color:#fff;font-size:11px;font-weight:800;white-space:nowrap}
.topic-editorial-reader .tr-poll-row em{margin-left:auto;font-style:normal;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--tr-ink)}.topic-editorial-reader .tr-poll-row.is-top em{color:var(--tr-stance)}
.topic-editorial-reader .tr-poll-row small{flex:none;width:30px;text-align:right;font-size:12px;font-weight:600;color:var(--tr-muted);white-space:nowrap}
.topic-editorial-reader .tr-poll-row[aria-pressed="true"]{border-color:var(--tr-stance)!important}
.topic-editorial-reader .tr-poll-side{min-width:0;padding:16px 24px 18px}
.topic-editorial-reader .tr-poll-side h4{display:flex;align-items:center;gap:6px;margin:0 0 4px;font-size:13px;font-weight:750;color:var(--tr-ink)}.topic-editorial-reader .tr-poll-side h4 span{padding:1px 6px;border-radius:5px;background:var(--tr-hot-soft);color:var(--tr-hot);font-size:11px;font-weight:800}
.topic-editorial-reader .tr-poll-list{margin:0;padding:0;list-style:none}.topic-editorial-reader .tr-poll-list[hidden]{display:none}
.topic-editorial-reader .tr-poll-c{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--tr-line-2)}.topic-editorial-reader .tr-poll-c:last-child{border-bottom:0}
.topic-editorial-reader .tr-poll-av{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--tr-soft);color:var(--tr-ink-2);font-size:12px;font-weight:800}
.topic-editorial-reader .tr-poll-ch{display:flex;align-items:center;gap:7px;font-size:12.5px}.topic-editorial-reader .tr-poll-ch b{font-weight:700;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-poll-ch span{padding:1px 7px;border-radius:6px;background:color-mix(in srgb,var(--tr-stance) 12%,#fff);color:var(--tr-stance);font-size:11.5px;font-weight:750}
.topic-editorial-reader .tr-poll-c p{margin:3px 0 0;font-size:14.5px;line-height:1.5;font-weight:550;color:var(--tr-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topic-editorial-reader .tr-poll-foot{display:flex;flex-wrap:wrap;gap:8px;padding:12px 24px 14px;border-top:1px solid var(--tr-line-2);background:var(--tr-wash)}
.topic-editorial-reader .tr-poll-cm{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border:1px solid var(--tr-line);border-radius:999px;background:var(--tr-paper);font-size:12.5px;font-weight:650;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-poll-cm>span{display:inline-flex;flex-wrap:wrap;gap:3px}.topic-editorial-reader .tr-poll-cm i{display:block;width:9px;height:9px;border-radius:50%}
@media(prefers-reduced-motion:reduce){.topic-editorial-reader .tr-poll-row>i{transition:none}}
@media(max-width:760px){.topic-editorial-reader .tr-poll-head{gap:10px;padding:14px 16px}.topic-editorial-reader .tr-poll-head h3{font-size:16px}.topic-editorial-reader .tr-poll-stats{flex-direction:column;gap:2px;font-size:12px;text-align:right}.topic-editorial-reader .tr-poll-body{grid-template-columns:minmax(0,1fr)}.topic-editorial-reader .tr-poll-bars{padding:14px 16px;border-right:0;border-bottom:1px solid var(--tr-line-2)}.topic-editorial-reader .tr-poll-row{gap:8px;height:46px;padding:0 12px}.topic-editorial-reader .tr-poll-row b{flex:none;font-size:14px}.topic-editorial-reader .tr-poll-row em{font-size:17px}.topic-editorial-reader .tr-poll-row small{width:26px}.topic-editorial-reader .tr-poll-side{padding:12px 16px}.topic-editorial-reader .tr-poll-c p{white-space:normal}.topic-editorial-reader .tr-poll-foot{padding:12px 16px}}
.topic-editorial-reader .tr-op-reason{font-size:13.5px;line-height:1.7;color:var(--tr-ink-2)}
.topic-editorial-reader .tp-field.is-stance{color:#fff}
.topic-editorial-reader .tr-opinion h4{font-size:13px;font-weight:650}

/* ---- Topic research main: feed of result cards (community main look). Cover = summary headline over the
   source colours; body = hottest posts like a board snippet + numbers. ---- */
#competitorAnalysisPage .tw-title h1{font-size:26px;letter-spacing:-.03em}
#competitorAnalysisPage .tw-guide-link{display:inline-flex;align-items:center;align-self:flex-end;height:46px;margin-left:auto;padding:0 16px;border:1px solid #e4e4e7;border-radius:10px;background:#fff;color:#3f3f46;text-decoration:none;font-size:13.5px;font-weight:650}
#competitorAnalysisPage .tw-guide-link:hover{background:#fafafa;color:#18181b;text-decoration:none}
#competitorAnalysisPage .tw-guide-link+.tw-start{margin-left:0}
#competitorAnalysisPage .tw-results{background:transparent;border:0;padding:4px 0 0}
#competitorAnalysisPage .tw-results-head h2{font-size:19px;letter-spacing:-.02em}
#competitorAnalysisPage .tw-list.tc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px;align-items:stretch}
#competitorAnalysisPage .tc-card{position:relative;display:flex;border:1px solid #e4e4e7;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(24,24,27,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
#competitorAnalysisPage .tc-card:hover{transform:translateY(-2px);border-color:#d4d4d8;box-shadow:0 12px 30px rgba(24,24,27,.09)}
#competitorAnalysisPage .tc-card.is-featured{grid-column:1/-1}
#competitorAnalysisPage .tc-open{all:unset;box-sizing:border-box;display:flex;flex-direction:column;width:100%;cursor:pointer}
#competitorAnalysisPage .tc-open:focus-visible{outline:3px solid rgba(15,118,110,.4);outline-offset:-3px;border-radius:18px}
#competitorAnalysisPage .tc-card.is-featured .tc-open{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
#competitorAnalysisPage .tc-cover{position:relative;display:flex;flex-direction:column;gap:14px;min-height:168px;padding:18px 20px;color:#fff;background:linear-gradient(135deg,#27272a,#09090b);overflow:hidden;isolation:isolate}
#competitorAnalysisPage .tc-cover::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.18),transparent 45%),radial-gradient(circle at 10% 110%,rgba(255,255,255,.12),transparent 50%)}
#competitorAnalysisPage .tc-cover::after{content:"";position:absolute;right:-30px;bottom:-40px;z-index:-1;width:160px;height:160px;border-radius:40px;background:rgba(255,255,255,.07);transform:rotate(18deg)}
#competitorAnalysisPage .tc-card.is-featured .tc-cover{min-height:280px;padding:24px 26px}
#competitorAnalysisPage .tc-cover-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#competitorAnalysisPage .tc-status{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(6px);font-size:11.5px;font-weight:700}
#competitorAnalysisPage .tc-status i{width:6px;height:6px;border-radius:50%;background:#5eead4}
#competitorAnalysisPage .tc-period{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:rgba(0,0,0,.22);font-size:11.5px;font-weight:600}
#competitorAnalysisPage .tc-cover-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:19px;line-height:1.42;font-weight:800;letter-spacing:-.03em;text-shadow:0 1px 12px rgba(0,0,0,.25);word-break:keep-all}
#competitorAnalysisPage .tc-card.is-featured .tc-cover-title{font-size:27px;-webkit-line-clamp:4}
#competitorAnalysisPage .tc-cover-foot{display:flex;align-items:center;gap:10px;margin-top:auto}
#competitorAnalysisPage .tc-avatars{display:flex}
#competitorAnalysisPage .tc-avatars i{display:grid;place-items:center;width:26px;height:26px;margin-left:-6px;border-radius:50%;background:var(--tr-skin);border:2px solid rgba(255,255,255,.85);font-size:10.5px;font-style:normal;font-weight:800}
#competitorAnalysisPage .tc-avatars i:first-child{margin-left:0}
#competitorAnalysisPage .tc-mix{font-size:12px;font-weight:600;color:rgba(255,255,255,.85)}
#competitorAnalysisPage .tc-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:16px 18px}
#competitorAnalysisPage .tc-card.is-featured .tc-body{padding:22px 24px;gap:14px}
#competitorAnalysisPage .tc-points{display:grid;gap:8px;margin:0;padding:0;list-style:none}
#competitorAnalysisPage .tc-points li{position:relative;padding-left:16px;font-size:14px;line-height:1.6;color:#3f3f46;word-break:keep-all}
#competitorAnalysisPage .tc-points li::before{content:"";position:absolute;left:3px;top:.7em;width:6px;height:6px;border-radius:50%;background:#0f766e}
#competitorAnalysisPage .tc-top{display:grid;margin:0;padding:0;list-style:none;border:1px solid #f0f0f2;border-radius:12px;overflow:hidden}
#competitorAnalysisPage .tc-top li{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 12px;font-size:13px;border-bottom:1px solid #f0f0f2;background:#fff}
#competitorAnalysisPage .tc-top li:last-child{border-bottom:0}
#competitorAnalysisPage .tc-rank{flex:none;width:14px;color:#e11d48;font-weight:800;font-variant-numeric:tabular-nums;text-align:center}
#competitorAnalysisPage .tc-dot{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--tr-skin);color:#fff;font-size:10px;font-weight:800}
#competitorAnalysisPage .tc-post{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#18181b;font-weight:600}
#competitorAnalysisPage .tc-top em{flex:none;font-style:normal;font-weight:750;color:#e11d48;font-size:12px;font-variant-numeric:tabular-nums}
#competitorAnalysisPage .tc-query{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#a1a1aa;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#competitorAnalysisPage .tc-card .tr-icon{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#competitorAnalysisPage .tc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #f0f0f2}
#competitorAnalysisPage .tc-stats{display:flex;align-items:center;gap:12px;min-width:0;font-size:12px;color:#71717a;overflow:hidden}
#competitorAnalysisPage .tc-stats>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
#competitorAnalysisPage .tc-stats b{color:#18181b;font-weight:700;font-variant-numeric:tabular-nums}
#competitorAnalysisPage .tc-fields{gap:4px!important;overflow:hidden}
#competitorAnalysisPage .tc-fields span{padding:1px 8px;border-radius:999px;background:#f4f4f5;color:#3f3f46;font-size:11px;font-weight:650}
#competitorAnalysisPage .tc-foot small{flex:none;font-size:11.5px;color:#a1a1aa;font-variant-numeric:tabular-nums}
#competitorAnalysisPage .tc-cta{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;color:#0f766e}
#competitorAnalysisPage .tc-message{margin:0;font-size:13px;line-height:1.6;color:#52525b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#competitorAnalysisPage .tc-cover.is-running{background:linear-gradient(135deg,#1e3a8a,#0f172a)}
#competitorAnalysisPage .tc-cover.is-running .tc-status i{background:#60a5fa;animation:tw-pulse 1.4s ease-in-out infinite}
#competitorAnalysisPage .tc-cover.is-failed{background:linear-gradient(135deg,#7f1d1d,#18181b)}
#competitorAnalysisPage .tc-cover.is-failed .tc-status i{background:#fca5a5}
#competitorAnalysisPage .tc-cover.is-ready{background:linear-gradient(135deg,#52525b,#18181b)}
#competitorAnalysisPage .tc-progress{height:4px;margin-top:auto;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
#competitorAnalysisPage .tc-progress i{display:block;width:40%;height:100%;border-radius:999px;background:#93c5fd;animation:tc-slide 1.6s ease-in-out infinite}
@keyframes tc-slide{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}
#competitorAnalysisPage .tc-delete{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:9px;background:rgba(0,0,0,.25);color:#fff;opacity:0;cursor:pointer;transition:opacity .15s,background .15s}
#competitorAnalysisPage .tc-card:hover .tc-delete,#competitorAnalysisPage .tc-delete:focus-visible{opacity:1}
#competitorAnalysisPage .tc-delete:hover{background:#dc2626}
#competitorAnalysisPage .tc-delete:disabled{display:none}
#competitorAnalysisPage .tc-delete svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(prefers-reduced-motion:reduce){#competitorAnalysisPage .tc-card,#competitorAnalysisPage .tc-progress i{transition:none;animation:none}}
@media(hover:none){#competitorAnalysisPage .tc-delete{opacity:1}}
@media(max-width:820px){#competitorAnalysisPage .tc-card.is-featured .tc-open{display:flex}#competitorAnalysisPage .tc-card.is-featured .tc-cover{min-height:200px}#competitorAnalysisPage .tc-card.is-featured .tc-cover-title{font-size:21px}#competitorAnalysisPage .tw-list.tc-grid{grid-template-columns:1fr}#competitorAnalysisPage .tc-fields{display:none!important}}
#competitorAnalysisPage .tc-cover>.tc-status{align-self:flex-start}
#competitorAnalysisPage .tc-card:not(.is-featured) .tc-fields{display:none!important}

/* ---- One clean system: no per-community colours. Ink + one accent; summaries as labelled keyword chips. ---- */
.topic-editorial-reader{--tr-field-0:#18181b;--tr-field-1:#18181b;--tr-field-2:#18181b;--tr-field-3:#18181b}
.topic-editorial-reader .tr-field-card header{background:var(--tr-wash);border-bottom-color:var(--tr-line-2)}
.topic-editorial-reader .tr-field-card header span{color:var(--tr-ink)}
.topic-editorial-reader .tr-field-card header b{background:var(--tr-ink)}
.topic-editorial-reader .tr-field-body{padding:0 16px}
.topic-editorial-reader .tr-post-head{box-shadow:inset 0 3px 0 var(--tr-ink)}
.topic-editorial-reader .tr-crumb{color:var(--tr-ink)}
.topic-editorial-reader .tr-issue-nav button[aria-pressed=true]{background:var(--tr-wash);box-shadow:inset 3px 0 0 var(--tr-ink)}
.topic-editorial-reader .tr-angle{display:grid;gap:7px}
.topic-editorial-reader .tr-angle>b{font-size:12.5px;font-weight:750;color:var(--tr-accent-ink)}
.topic-editorial-reader .tr-angle-chips{display:flex;flex-wrap:wrap;gap:6px}
.topic-editorial-reader .tr-angle-chips i{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:8px;background:var(--tr-soft);color:var(--tr-ink);font-size:13px;font-style:normal;font-weight:600;line-height:1.35;word-break:keep-all}
.topic-editorial-reader .tr-angle.is-field .tr-angle-chips i{background:var(--tr-paper);border:1px solid var(--tr-line)}
.topic-editorial-reader .tr-angle-text{font-size:14px;line-height:1.55;font-weight:600;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-points li{align-items:start}
.topic-editorial-reader .tr-points li .tr-angle-chips i{background:var(--tr-wash);border:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-sowhat{flex-direction:column;gap:10px}
.topic-editorial-reader .tr-priority{display:flex;flex-wrap:wrap;gap:8px}
.topic-editorial-reader .tr-priority li{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:10px;background:rgba(255,255,255,.1);font-size:14px;font-weight:650}
.topic-editorial-reader .tr-priority em{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#fff;color:var(--tr-ink);font-size:12px;font-style:normal;font-weight:800}
#competitorAnalysisPage .tc-cover{background:linear-gradient(160deg,#1c1c20 0%,#0c0c0e 100%)}
#competitorAnalysisPage .tc-cover::before{background:radial-gradient(circle at 92% 8%,rgba(94,234,212,.16),transparent 42%)}
#competitorAnalysisPage .tc-cover::after{background:rgba(255,255,255,.04)}
#competitorAnalysisPage .tc-cover.is-running,#competitorAnalysisPage .tc-cover.is-failed,#competitorAnalysisPage .tc-cover.is-ready{background:linear-gradient(160deg,#1c1c20 0%,#0c0c0e 100%)}
#competitorAnalysisPage .tc-cover.is-failed .tc-status i{background:#f87171}
#competitorAnalysisPage .tc-avatars i{background:#3f3f46;border-color:#27272a}
#competitorAnalysisPage .tc-dot{background:#f4f4f5;color:#3f3f46}
#competitorAnalysisPage .tc-rank{color:#18181b}
#competitorAnalysisPage .tc-rows{display:grid;gap:8px;margin:0;padding:0;list-style:none}
#competitorAnalysisPage .tc-rows li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:baseline}
#competitorAnalysisPage .tc-rows b{justify-self:start;padding:2px 8px;border-radius:6px;background:#18181b;color:#fff;font-size:11.5px;font-weight:700}
#competitorAnalysisPage .tc-rows li:nth-child(n+2) b{background:#f4f4f5;color:#3f3f46}
#competitorAnalysisPage .tc-rows span{font-size:14px;line-height:1.5;font-weight:650;color:#18181b;word-break:keep-all}

/* ---- Cards v3: one skeleton per card (cover 2-line title + one tag line, optional labelled rows, three board
   lines, footer) so the grid lines up; depth from layered shadows and an inner highlight. ---- */
#competitorAnalysisPage .tw-list.tc-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px}
#competitorAnalysisPage .tc-card{border:0;border-radius:22px;background:#fff;box-shadow:0 0 0 1px rgba(24,24,27,.06),0 1px 2px rgba(24,24,27,.06),0 10px 28px -10px rgba(24,24,27,.18);transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s ease}
#competitorAnalysisPage .tc-card:hover{transform:translateY(-4px);border:0;box-shadow:0 0 0 1px rgba(24,24,27,.08),0 2px 4px rgba(24,24,27,.06),0 22px 44px -14px rgba(24,24,27,.28)}
#competitorAnalysisPage .tc-cover{height:156px;min-height:0;gap:10px;padding:18px 20px 16px;margin:6px 6px 0;border-radius:17px;background:linear-gradient(160deg,#232328 0%,#0d0d10 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.04)}
#competitorAnalysisPage .tc-cover::before{background:radial-gradient(circle at 88% 0%,rgba(94,234,212,.22),transparent 46%),radial-gradient(circle at 0% 100%,rgba(129,140,248,.12),transparent 50%)}
#competitorAnalysisPage .tc-cover::after{right:-36px;bottom:-56px;width:150px;height:150px;border-radius:44px;background:rgba(255,255,255,.035)}
#competitorAnalysisPage .tc-cover-title{-webkit-line-clamp:2;min-height:2.84em;font-size:18.5px;line-height:1.42;text-shadow:none}
#competitorAnalysisPage .tc-tags{display:flex;gap:6px;margin-top:auto;overflow:hidden;white-space:nowrap;mask-image:linear-gradient(90deg,#000 85%,transparent)}
#competitorAnalysisPage .tc-tags span{flex:none;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.88);font-size:11.5px;font-weight:600}
#competitorAnalysisPage .tc-body{gap:10px;padding:14px 18px 16px}
#competitorAnalysisPage .tc-top-head{display:flex;justify-content:space-between;align-items:center;padding:0 2px;font-size:11.5px;font-weight:650;color:#a1a1aa}
#competitorAnalysisPage .tc-top-head span:first-child{display:inline-flex;align-items:center;gap:5px;color:#52525b}
#competitorAnalysisPage .tc-top-head .tr-icon{color:#e11d48}
#competitorAnalysisPage .tc-top{border:0;border-radius:12px;background:#fafafa;box-shadow:inset 0 0 0 1px #f0f0f2}
#competitorAnalysisPage .tc-top li{display:grid;grid-template-columns:16px 40px minmax(0,1fr) auto;gap:8px;height:38px;padding:0 12px;background:transparent;border-bottom:1px solid #f0f0f2}
#competitorAnalysisPage .tc-top li:last-child{border-bottom:0}
#competitorAnalysisPage .tc-top li.is-empty .tc-post{color:#d4d4d8;font-weight:500}
#competitorAnalysisPage .tc-rank{width:auto;color:#18181b}
#competitorAnalysisPage .tc-src{justify-self:start;padding:1px 0;color:#71717a;font-size:11.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40px}
#competitorAnalysisPage .tc-top em{justify-self:end;color:#18181b;font-size:12px;font-weight:750}
#competitorAnalysisPage .tc-foot{padding-top:10px}
#competitorAnalysisPage .tc-stats{gap:14px}
#competitorAnalysisPage .tc-cta{color:#18181b}
#competitorAnalysisPage .tc-card.is-featured .tc-open{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
#competitorAnalysisPage .tc-card.is-featured .tc-cover{height:auto;min-height:262px;margin:6px;border-radius:17px;padding:26px 28px 22px}
#competitorAnalysisPage .tc-card.is-featured .tc-cover-title{-webkit-line-clamp:3;min-height:0;font-size:28px;line-height:1.35}
#competitorAnalysisPage .tc-card.is-featured .tc-body{padding:22px 24px 18px 18px}
#competitorAnalysisPage .tc-rows{gap:0;border-radius:12px;box-shadow:inset 0 0 0 1px #f0f0f2;overflow:hidden}
#competitorAnalysisPage .tc-rows li{grid-template-columns:48px minmax(0,1fr);align-items:center;min-height:40px;padding:6px 12px;border-bottom:1px solid #f0f0f2}
#competitorAnalysisPage .tc-rows li:last-child{border-bottom:0}
#competitorAnalysisPage .tc-rows span{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#competitorAnalysisPage .tc-card:not(.is-completed) .tc-cover{display:flex}
#competitorAnalysisPage .tc-card:not(.is-completed) .tc-body{min-height:170px}
#competitorAnalysisPage .tc-delete{top:14px;right:14px;background:rgba(255,255,255,.12);backdrop-filter:blur(6px)}
@media(max-width:820px){#competitorAnalysisPage .tc-card.is-featured .tc-cover{min-height:190px}#competitorAnalysisPage .tc-card.is-featured .tc-cover-title{font-size:21px}#competitorAnalysisPage .tc-card.is-featured .tc-body{padding:14px 18px 16px}}
/* Pinned summary: aligned rows (number · label · keywords) instead of a loose card grid. */
.topic-editorial-reader .tr-pin h3{font-size:24px}
.topic-editorial-reader .tr-tags{display:flex;flex-wrap:wrap;gap:6px}
.topic-editorial-reader .tr-tags span{padding:4px 10px;border-radius:999px;background:var(--tr-paper);border:1px solid #cfeee6;color:var(--tr-accent-ink);font-size:12.5px;font-weight:650}
.topic-editorial-reader .tr-rows{display:grid;border-radius:14px;background:var(--tr-paper);box-shadow:0 0 0 1px var(--tr-line),0 1px 2px rgba(24,24,27,.04);overflow:hidden}
.topic-editorial-reader .tr-rows li{display:grid;grid-template-columns:28px 112px minmax(0,1fr);gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-rows li:last-child{border-bottom:0}
.topic-editorial-reader .tr-row-no{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--tr-ink);color:#fff;font-size:12px;font-weight:800}
.topic-editorial-reader .tr-row-label{font-size:13.5px;font-weight:750;color:var(--tr-ink);word-break:keep-all}
.topic-editorial-reader .tr-row-value p{font-size:14px;line-height:1.55;color:var(--tr-ink-2);font-weight:550}
.topic-editorial-reader .tr-row-value .tr-angle-chips i{background:var(--tr-wash);border:1px solid var(--tr-line-2)}
@media(max-width:760px){.topic-editorial-reader .tr-rows li{grid-template-columns:24px minmax(0,1fr);gap:8px 10px}.topic-editorial-reader .tr-row-value{grid-column:1/-1}}
/* Field cards: equal height, keywords top, evidence chips pinned to the bottom. */
.topic-editorial-reader .tr-field-cards{align-items:stretch}
.topic-editorial-reader .tr-field-card{box-shadow:0 1px 2px rgba(24,24,27,.04),0 8px 20px -12px rgba(24,24,27,.14)}

/* ---- Portal result page: 3-card issue slider with post pictures + comment ranking, per-field headline columns,
   small debate/planning boxes. Light surfaces only, one teal accent. ---- */
.topic-editorial-reader{background:#fff}
.topic-editorial-reader .tr-masthead.tp-mast{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:24px 28px 18px;border-bottom:1px solid var(--tr-line-2)}
.topic-editorial-reader .tp-meta{margin-bottom:6px;font-size:12.5px;color:var(--tr-muted);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tp-mast h2.tr-masthead-query{margin:0;font-size:24px;-webkit-line-clamp:2}
.topic-editorial-reader .tr-use{flex:none;background:var(--tr-accent);box-shadow:0 6px 16px -6px rgba(15,118,110,.55)}
.topic-editorial-reader .tr-view-nav{grid-template-columns:repeat(4,minmax(0,1fr));width:min(520px,calc(100% - 56px));margin:16px 28px 0;background:var(--tr-soft)}
.topic-editorial-reader .tr-view-indicator{width:calc((100% - 8px)/4)}
.topic-editorial-reader [data-tr-panel]{padding:20px 28px 28px}
.topic-editorial-reader .tp-row1{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.topic-editorial-reader .tp-row1.is-single{grid-template-columns:1fr}
.topic-editorial-reader .tp-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.topic-editorial-reader .tp-head h3{font-size:16.5px;font-weight:750}
.topic-editorial-reader .tp-pager{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:12.5px;color:var(--tr-muted);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tp-pager button{display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:50%;background:var(--tr-soft);border:0}.topic-editorial-reader .tp-pager button:hover{background:#e9e9ec}
.topic-editorial-reader .tp-prev{transform:rotate(90deg)}.topic-editorial-reader .tp-next{transform:rotate(-90deg)}
.topic-editorial-reader .tp-slide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.topic-editorial-reader .tp-card{display:flex;flex-direction:column;padding:0;text-align:left;border:0;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--tr-line),0 10px 24px -18px rgba(20,20,40,.4);transition:transform .2s,box-shadow .2s}
.topic-editorial-reader .tp-card:hover{transform:translateY(-3px);box-shadow:0 0 0 1px #dcdce0,0 18px 34px -18px rgba(20,20,40,.45)}
.topic-editorial-reader .tp-img{position:relative;display:block;height:172px;background:linear-gradient(160deg,#f0fdf9,#eef2ff);overflow:hidden}
.topic-editorial-reader .tr-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transition:opacity .3s}
.topic-editorial-reader .has-img>.tr-img{opacity:1}.topic-editorial-reader .has-img>.tp-fallback{visibility:hidden}
.topic-editorial-reader .tp-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.topic-editorial-reader .tp-fallback b{font-size:34px;font-weight:850;letter-spacing:-.03em;color:var(--tr-accent)}.topic-editorial-reader .tp-fallback small{font-size:12px;color:var(--tr-muted)}
.topic-editorial-reader .tp-src,.topic-editorial-reader .tp-field{position:absolute;top:10px;z-index:1;padding:3px 8px;border-radius:8px;font-size:11.5px;font-weight:700}
.topic-editorial-reader .tp-src{left:10px;background:rgba(255,255,255,.95);color:var(--tr-ink)}.topic-editorial-reader .tp-field{right:10px;background:rgba(15,118,110,.92);color:#fff}
.topic-editorial-reader .tp-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:14px 16px 16px}
.topic-editorial-reader .tp-body h4{font-size:15.5px;line-height:1.45;letter-spacing:-.02em;min-height:2.9em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.topic-editorial-reader .tp-nums{display:flex;gap:12px;font-size:12px;color:var(--tr-muted)}.topic-editorial-reader .tp-nums b{color:var(--tr-ink);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tp-best{margin-top:auto;padding:9px 11px;border-radius:11px;background:var(--tr-wash);font-size:12.5px;line-height:1.5;color:var(--tr-ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.topic-editorial-reader .tp-best b{margin-right:6px;color:var(--tr-muted)}.topic-editorial-reader .tp-best.is-agree b{color:#15803d}.topic-editorial-reader .tp-best.is-rebut b{color:#c2410c}.topic-editorial-reader .tp-best.is-mock b{color:#7c3aed}.topic-editorial-reader .tp-best.is-worry b{color:#b45309}.topic-editorial-reader .tp-best.is-fact b{color:#1d4ed8}
.topic-editorial-reader .tp-dots{display:flex;justify-content:center;gap:6px;margin-top:12px}.topic-editorial-reader .tp-dots i{width:7px;height:7px;border-radius:999px;background:#dcdce0;transition:width .2s}.topic-editorial-reader .tp-dots i.on{width:20px;background:var(--tr-accent)}
.topic-editorial-reader .tp-rank{padding:14px 14px 6px;border-radius:16px;box-shadow:0 0 0 1px var(--tr-line)}.topic-editorial-reader .tp-rank h3{font-size:15px;font-weight:750;margin-bottom:6px}
.topic-editorial-reader .tp-rank button{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;height:36px;padding:0 2px;border:0;border-top:1px solid #f4f4f6;border-radius:0;background:none;text-align:left;font-size:13px}
.topic-editorial-reader .tp-rank button:hover{background:var(--tr-wash)}
.topic-editorial-reader .tp-rk{font-weight:800;color:var(--tr-faint);text-align:center;font-variant-numeric:tabular-nums}.topic-editorial-reader .tp-rk.is-top{color:var(--tr-accent)}
.topic-editorial-reader .tp-rt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topic-editorial-reader .tp-rc{font-size:12px;font-weight:700;color:var(--tr-hot);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tp-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;padding-top:22px;border-top:1px solid var(--tr-line-2)}
.topic-editorial-reader .tp-col header{display:flex;align-items:center;gap:8px;margin-bottom:10px}.topic-editorial-reader .tp-col h3{font-size:15.5px;font-weight:750}.topic-editorial-reader .tp-col header span{font-size:12px;color:var(--tr-muted);font-weight:650}
.topic-editorial-reader .tp-keys{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}.topic-editorial-reader .tp-keys span{padding:2px 8px;border-radius:7px;background:var(--tr-soft);color:var(--tr-ink-2);font-size:12px;font-weight:600}
.topic-editorial-reader .tp-lead{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center;width:100%;padding:0 0 12px;margin-bottom:4px;border:0;border-bottom:1px solid var(--tr-line-2);border-radius:0;background:none;text-align:left}
.topic-editorial-reader .tp-thumb{position:relative;display:block;width:100px;height:70px;border-radius:10px;overflow:hidden;background:linear-gradient(160deg,#f0fdf9,#eef2ff)}.topic-editorial-reader .tp-thumb .tp-fallback b{font-size:16px}
.topic-editorial-reader .tp-lead-text b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.45;font-weight:700}.topic-editorial-reader .tp-lead-text small{display:block;margin-top:4px;font-size:12px;color:var(--tr-muted)}
.topic-editorial-reader .tp-col ul button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;height:34px;padding:0 2px;border:0;border-radius:0;background:none;text-align:left;font-size:13px}
.topic-editorial-reader .tp-col ul button:hover .tp-t{text-decoration:underline;text-underline-offset:3px}
.topic-editorial-reader .tp-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topic-editorial-reader .tp-col em{font-style:normal;font-size:12px;color:var(--tr-muted);font-variant-numeric:tabular-nums}
.topic-editorial-reader .tp-row3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.topic-editorial-reader .tp-row3.is-single{grid-template-columns:1fr}
.topic-editorial-reader .tp-box{padding:16px 18px;border-radius:16px;box-shadow:0 0 0 1px var(--tr-line)}.topic-editorial-reader .tp-box header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.topic-editorial-reader .tp-box h3{font-size:15px;font-weight:750}
.topic-editorial-reader .tp-box header button{height:28px;padding:0 10px;border-radius:8px;border:0;background:var(--tr-soft);font-size:12px;font-weight:650;color:var(--tr-ink-2)}
.topic-editorial-reader .tp-vs{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:center}.topic-editorial-reader .tp-vs>div{display:flex;align-items:center;gap:10px;padding:14px;border-radius:12px}
.topic-editorial-reader .tp-vs span{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:8px;color:#fff;font-weight:800;font-size:13px}.topic-editorial-reader .tp-vs b{font-size:14px;line-height:1.4}
.topic-editorial-reader .tp-vs .is-a{background:#eff4ff}.topic-editorial-reader .tp-vs .is-a span{background:#2563eb}.topic-editorial-reader .tp-vs .is-b{background:#fff4ec}.topic-editorial-reader .tp-vs .is-b span{background:#ea580c}.topic-editorial-reader .tp-vs i{justify-self:center;font-style:normal;font-weight:800;font-size:12px;color:var(--tr-muted)}
.topic-editorial-reader .tp-plan li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:8px 0;border-top:1px solid #f4f4f6}.topic-editorial-reader .tp-plan li:first-child{border-top:0}
.topic-editorial-reader .tp-plan em{justify-self:start;padding:2px 8px;border-radius:6px;background:var(--tr-accent-soft);color:var(--tr-accent-ink);font-size:11.5px;font-style:normal;font-weight:800}.topic-editorial-reader .tp-plan b{font-size:13.5px;line-height:1.45}
.topic-editorial-reader .tr-library{display:grid;gap:12px;margin-top:6px;padding-top:22px;border-top:1px solid var(--tr-line-2)}
/* no black blocks anywhere in the reader */
.topic-editorial-reader .tr-sowhat{background:var(--tr-accent-soft);color:var(--tr-ink);border:1px solid #ccfbf1}.topic-editorial-reader .tr-sowhat b{background:var(--tr-accent);color:#fff}
.topic-editorial-reader .tr-priority li{background:#fff;box-shadow:0 0 0 1px #ccfbf1}.topic-editorial-reader .tr-priority em{background:var(--tr-accent);color:#fff}
.topic-editorial-reader .tr-row-no{background:var(--tr-accent-soft);color:var(--tr-accent-ink)}
.topic-editorial-reader .tr-plan-card.is-question{background:var(--tr-accent-soft);border-color:#ccfbf1;color:var(--tr-ink)}.topic-editorial-reader .tr-plan-card.is-question .tr-plan-tag{color:var(--tr-accent-ink)}
.topic-editorial-reader .tr-vs{background:#fff;color:var(--tr-ink);box-shadow:0 0 0 1px var(--tr-line),0 4px 12px -4px rgba(0,0,0,.15)}
.topic-editorial-reader .tr-primary-link{background:var(--tr-accent)}.topic-editorial-reader .tr-primary-link:hover{background:var(--tr-accent-ink)}
.topic-editorial-reader .tr-filter button[aria-pressed=true]{background:var(--tr-accent-soft);border-color:#99e2d5;color:var(--tr-accent-ink)}.topic-editorial-reader .tr-filter button[aria-pressed=true] b{color:var(--tr-accent)}
.topic-editorial-reader .tr-post-head{box-shadow:inset 0 3px 0 var(--tr-accent)}.topic-editorial-reader .tr-issue-nav button[aria-pressed=true]{box-shadow:inset 3px 0 0 var(--tr-accent)}
.topic-editorial-reader .tr-avatar{background:#e4e4e7;color:var(--tr-ink-2)}.topic-editorial-reader .tr-ref-dot{background:#e4e4e7;color:var(--tr-ink-2)}
@media(max-width:1100px){.topic-editorial-reader .tp-row1{grid-template-columns:1fr}.topic-editorial-reader .tp-slide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.topic-editorial-reader .tr-masthead.tp-mast{flex-direction:column;align-items:stretch;padding:18px 16px 14px}.topic-editorial-reader .tp-mast h2.tr-masthead-query{font-size:19px}.topic-editorial-reader .tr-view-nav{width:calc(100% - 32px);margin:12px 16px 0}.topic-editorial-reader [data-tr-panel]{padding:16px}.topic-editorial-reader .tp-slide{grid-template-columns:1fr}.topic-editorial-reader .tp-row3{grid-template-columns:1fr}.topic-editorial-reader .tp-vs{grid-template-columns:1fr;gap:6px}.topic-editorial-reader .tp-vs i{display:none}}
/* main page: picture-led cards */
#competitorAnalysisPage .tw-list.tc-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
#competitorAnalysisPage .tc-card.is-featured{grid-column:auto}
#competitorAnalysisPage .tc-card.is-media .tc-open{display:flex;flex-direction:column}
#competitorAnalysisPage .tc-media{position:relative;display:block;height:176px;margin:6px 6px 0;border-radius:16px;overflow:hidden;background:linear-gradient(160deg,#f0fdf9,#eef2ff)}
#competitorAnalysisPage .tc-media .tr-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transition:opacity .3s}
#competitorAnalysisPage .tc-media.has-img .tr-img{opacity:1}#competitorAnalysisPage .tc-media.has-img .tc-fallback{visibility:hidden}
#competitorAnalysisPage .tc-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center}#competitorAnalysisPage .tc-fallback b{font-size:44px;font-weight:850;letter-spacing:-.03em;color:#0f766e}#competitorAnalysisPage .tc-fallback small{font-size:12.5px;color:#71717a}
#competitorAnalysisPage .tc-badges{position:absolute;left:10px;top:10px;z-index:1;display:flex;gap:6px}
#competitorAnalysisPage .tc-media .tc-status,#competitorAnalysisPage .tc-media .tc-period{height:24px;padding:0 9px;border-radius:8px;background:rgba(255,255,255,.95);color:#18181b;font-size:11.5px;font-weight:700;backdrop-filter:none;display:inline-flex;align-items:center;gap:5px}
#competitorAnalysisPage .tc-media .tc-status i{width:6px;height:6px;border-radius:50%;background:#0f766e}
#competitorAnalysisPage .tc-card.is-media .tc-body{display:flex;flex-direction:column;gap:8px;padding:14px 18px 16px}
#competitorAnalysisPage .tc-date{font-size:12px;color:#a1a1aa;font-variant-numeric:tabular-nums}
#competitorAnalysisPage .tc-title{font-size:17px;line-height:1.42;letter-spacing:-.02em;font-weight:750;color:#18181b;min-height:2.84em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#competitorAnalysisPage .tc-card.is-media .tc-tags{display:flex;gap:6px;overflow:hidden;white-space:nowrap;margin:0;mask-image:linear-gradient(90deg,#000 85%,transparent)}
#competitorAnalysisPage .tc-card.is-media .tc-tags span{flex:none;padding:2px 8px;border-radius:7px;background:#f4f4f5;border:0;color:#52525b;font-size:12px;font-weight:600}
#competitorAnalysisPage .tc-card.is-media .tc-stats{display:flex;gap:12px;margin-top:4px;padding-top:10px;border-top:1px solid #f0f0f2;font-size:12.5px;color:#71717a}
#competitorAnalysisPage .tc-card.is-media .tc-stats b{color:#18181b}
#competitorAnalysisPage .tc-cover.is-running,#competitorAnalysisPage .tc-cover.is-failed,#competitorAnalysisPage .tc-cover.is-ready{height:176px;margin:6px 6px 0;border-radius:16px;background:linear-gradient(160deg,#f0fdf9,#eef2ff);color:#18181b;box-shadow:none}
#competitorAnalysisPage .tc-cover.is-running::before,#competitorAnalysisPage .tc-cover.is-running::after,#competitorAnalysisPage .tc-cover.is-failed::before,#competitorAnalysisPage .tc-cover.is-failed::after,#competitorAnalysisPage .tc-cover.is-ready::before,#competitorAnalysisPage .tc-cover.is-ready::after{display:none}
#competitorAnalysisPage .tc-cover.is-failed{background:linear-gradient(160deg,#fef2f2,#fff7ed)}
#competitorAnalysisPage .tc-card:not(.is-completed) .tc-status{background:#fff;color:#18181b}
#competitorAnalysisPage .tc-progress{background:rgba(15,118,110,.15)}#competitorAnalysisPage .tc-progress i{background:#0f766e}
#competitorAnalysisPage .tc-delete{background:rgba(255,255,255,.9);color:#3f3f46}#competitorAnalysisPage .tc-delete:hover{color:#fff}
.topic-editorial-reader .tp-row3{align-items:start}

/* ---- Polish v2: calmer, more professional surfaces. ---- */
.topic-editorial-reader .tp-best{display:block;margin-top:auto;padding:9px 11px;border-radius:11px;background:var(--tr-wash);-webkit-line-clamp:unset;max-height:none}
.topic-editorial-reader .tp-best-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;line-height:1.5;color:var(--tr-ink-2)}
.topic-editorial-reader .tp-card .tp-img .tr-img{transition:opacity .3s,transform .5s cubic-bezier(.2,.7,.2,1)}
.topic-editorial-reader .tp-card:hover .tp-img .tr-img{transform:scale(1.04)}
.topic-editorial-reader .tp-cols{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.topic-editorial-reader .tp-col{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--tr-line)}
.topic-editorial-reader .tp-col header{margin:0}
.topic-editorial-reader .tp-col-head{display:flex;align-items:center;gap:8px;width:100%;padding:0;border:0;background:none;text-align:left}
.topic-editorial-reader .tp-col-head h3{font-size:15px;font-weight:750}
.topic-editorial-reader .tp-col-head span{padding:1px 8px;border-radius:999px;background:var(--tr-soft);font-size:11.5px;font-weight:700;color:var(--tr-muted)}
.topic-editorial-reader .tp-col-head .tr-icon{margin-left:auto;color:var(--tr-faint);width:14px;height:14px}
.topic-editorial-reader .tp-col-head:hover h3{color:var(--tr-accent-ink)}.topic-editorial-reader .tp-col-head:hover .tr-icon{color:var(--tr-accent)}
.topic-editorial-reader .tp-keys{margin:0}
.topic-editorial-reader .tp-lead{grid-template-columns:1fr;gap:10px;padding:0 0 10px;margin:0}
.topic-editorial-reader .tp-thumb{width:100%;height:120px;border-radius:12px}
.topic-editorial-reader .tp-thumb .tr-img{transition:opacity .3s,transform .5s}.topic-editorial-reader .tp-lead:hover .tp-thumb .tr-img{transform:scale(1.04)}
.topic-editorial-reader .tp-thumb .tp-fallback b{font-size:22px}
.topic-editorial-reader .tp-lead:hover .tp-lead-text b{color:var(--tr-accent-ink)}
.topic-editorial-reader .tp-col ul{margin-top:-4px}
.topic-editorial-reader .tp-col ul li+li button{border-top:1px solid #f4f4f6}
.topic-editorial-reader .tp-row1{padding-bottom:4px}
.topic-editorial-reader .tp-hero .tp-head h3,.topic-editorial-reader .tp-rank h3{font-size:16px}
.topic-editorial-reader .tp-rank{background:#fff}
.topic-editorial-reader .tr-library-card,.topic-editorial-reader .tr-post,.topic-editorial-reader .tr-issue-nav,.topic-editorial-reader .tr-matrix-box,.topic-editorial-reader .tr-pending-box,.topic-editorial-reader .tr-ring-card,.topic-editorial-reader :is(.tr-versus,.tr-plan),.topic-editorial-reader .tr-pin{border:0;box-shadow:0 0 0 1px var(--tr-line),0 8px 22px -18px rgba(20,20,40,.35)}
.topic-editorial-reader .tr-pin{background:#fff}
/* main page cards v4 */
#competitorAnalysisPage .tw-list.tc-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}
#competitorAnalysisPage .tc-card.is-media{border-radius:20px;box-shadow:0 0 0 1px rgba(24,24,27,.07),0 1px 2px rgba(24,24,27,.05),0 12px 30px -18px rgba(24,24,27,.32)}
#competitorAnalysisPage .tc-card.is-media:hover{transform:translateY(-3px);box-shadow:0 0 0 1px rgba(24,24,27,.09),0 2px 4px rgba(24,24,27,.05),0 24px 44px -20px rgba(24,24,27,.38)}
#competitorAnalysisPage .tc-media{height:164px;margin:8px 8px 0;border-radius:14px;background:linear-gradient(160deg,#f0fdf9,#eef2ff)}
#competitorAnalysisPage .tc-media .tr-img{object-position:center 20%;transition:opacity .3s,transform .6s cubic-bezier(.2,.7,.2,1)}
#competitorAnalysisPage .tc-card.is-media:hover .tc-media .tr-img{transform:scale(1.05)}
#competitorAnalysisPage .tc-media::after{content:"";position:absolute;inset:0;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(24,24,27,.06);pointer-events:none}
#competitorAnalysisPage .tc-card.is-media .tc-body{gap:9px;padding:14px 18px 16px}
#competitorAnalysisPage .tc-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#a1a1aa;font-variant-numeric:tabular-nums}
#competitorAnalysisPage .tc-state{display:inline-flex;align-items:center;gap:5px;color:#0f766e;font-weight:700}
#competitorAnalysisPage .tc-state i{width:6px;height:6px;border-radius:50%;background:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.15)}
#competitorAnalysisPage .tc-meta .tc-date{margin-left:auto}
#competitorAnalysisPage .tc-title{font-size:16.5px}
#competitorAnalysisPage .tc-card.is-media .tc-stats{gap:0}
#competitorAnalysisPage .tc-card.is-media .tc-stats>span+span::before{content:"";display:inline-block;width:3px;height:3px;margin:0 9px 3px;border-radius:50%;background:#d4d4d8}
#competitorAnalysisPage .tc-delete{top:16px;right:16px;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.92);box-shadow:0 1px 3px rgba(0,0,0,.12)}
#competitorAnalysisPage .tc-meta{white-space:nowrap;min-width:0}#competitorAnalysisPage .tc-state{min-width:0;overflow:hidden;text-overflow:ellipsis}#competitorAnalysisPage .tc-meta .tc-date{flex:none}
.topic-editorial-reader .tr-board-head .tr-filter{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:thin;padding-bottom:2px}.topic-editorial-reader .tr-filter button{flex:none}

/* ---- Header explanation line, 전체 요약 button and the summary popup. ---- */
.topic-editorial-reader .tp-mast>div:first-child{min-width:0}
.topic-editorial-reader .tp-sub{margin-top:8px;max-width:900px;font-size:14.5px;line-height:1.6;color:var(--tr-ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.topic-editorial-reader .tp-mast-actions{display:flex;flex:none;align-items:center;gap:8px}
.topic-editorial-reader .tr-summary-btn{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 15px;border-radius:12px;border:1px solid #99e2d5;background:var(--tr-accent-soft);color:var(--tr-accent-ink);font-size:13.5px;font-weight:700}
.topic-editorial-reader .tr-summary-btn:hover{background:#d9f7ef;border-color:#5fcfbd}
.topic-editorial-reader .tr-summary-btn .tr-icon{width:16px;height:16px}
.topic-editorial-reader .tr-sheet{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:28px}
.topic-editorial-reader .tr-sheet-backdrop{position:absolute;inset:0;background:rgba(24,24,27,.42);backdrop-filter:blur(3px);animation:tr-fade .18s ease}
.topic-editorial-reader .tr-sheet-panel{position:relative;display:flex;flex-direction:column;width:min(920px,100%);max-height:calc(100dvh - 56px);border-radius:22px;background:#fff;box-shadow:0 30px 80px -20px rgba(0,0,0,.45);overflow:hidden;animation:tr-rise .22s cubic-bezier(.2,.7,.2,1)}
@keyframes tr-fade{from{opacity:0}}@keyframes tr-rise{from{opacity:0;transform:translateY(12px) scale(.985)}}
@media(prefers-reduced-motion:reduce){.topic-editorial-reader .tr-sheet-backdrop,.topic-editorial-reader .tr-sheet-panel{animation:none}}
.topic-editorial-reader .tr-sheet-head{display:flex;align-items:flex-start;gap:16px;padding:22px 24px 18px;border-bottom:1px solid var(--tr-line-2)}
.topic-editorial-reader .tr-sheet-head>div{flex:1;min-width:0;display:grid;gap:6px}
.topic-editorial-reader .tr-sheet-head .tr-eyebrow{color:var(--tr-accent-ink)}
.topic-editorial-reader .tr-sheet-head h2{font-size:21px;line-height:1.4;letter-spacing:-.025em;font-weight:780}
.topic-editorial-reader .tr-sheet-head p{font-size:14.5px;line-height:1.6;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-sheet-close{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:0;border-radius:10px;background:var(--tr-soft);font-size:22px;line-height:1;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-sheet-close:hover{background:#e9e9ec}
.topic-editorial-reader .tr-sheet-body{display:grid;gap:16px;padding:20px 24px 26px;overflow:auto;background:var(--tr-wash)}
.topic-editorial-reader .tr-sheet-body .tr-pin{padding:18px;background:#fff;gap:14px}
.topic-editorial-reader .tr-sheet-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.topic-editorial-reader .tr-sheet-fields article{display:grid;gap:8px;align-content:start;padding:14px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--tr-line)}
.topic-editorial-reader .tr-sheet-fields article>b{font-size:13.5px;font-weight:750;color:var(--tr-accent-ink)}
.topic-editorial-reader .tr-sheet-body :is(.tr-versus,.tr-plan){background:#fff}
.topic-editorial-reader .tr-sheet-body .tr-insight-row{display:none}
@media(max-width:760px){.topic-editorial-reader .tp-mast-actions{flex-wrap:wrap}.topic-editorial-reader .tp-mast-actions>*{flex:1;justify-content:center}.topic-editorial-reader .tr-sheet{padding:0;place-items:end stretch}.topic-editorial-reader .tr-sheet-panel{width:100%;max-height:92dvh;border-radius:22px 22px 0 0}.topic-editorial-reader .tr-sheet-head{padding:18px 16px 14px}.topic-editorial-reader .tr-sheet-body{padding:16px}}
/* main page card: one explanation line */
#competitorAnalysisPage .tc-sub{font-size:13px;line-height:1.55;color:#52525b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.1em}

/* ---- Plain-language layer: the easy line leads, the original sits behind 상세 내용 보기. ---- */
.topic-editorial-reader .tr-easy-text{padding:14px 16px;border-radius:14px;background:var(--tr-accent-soft);border:1px solid #ccfbf1;font-size:16.5px;line-height:1.65;font-weight:650;color:var(--tr-ink)}
.topic-editorial-reader .tr-detail{margin-top:12px}
.topic-editorial-reader .tr-detail>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:6px 12px;border-radius:999px;background:var(--tr-soft);font-size:12.5px;font-weight:700;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-detail>summary::-webkit-details-marker{display:none}
.topic-editorial-reader .tr-detail>summary::after{content:"";width:6px;height:6px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.topic-editorial-reader .tr-detail[open]>summary::after{transform:rotate(-135deg) translateY(-1px)}
.topic-editorial-reader .tr-detail[open]>summary{margin-bottom:12px}
.topic-editorial-reader .tr-detail p{font-size:14px;line-height:1.8;color:var(--tr-muted)}.topic-editorial-reader .tr-detail p+p{margin-top:8px}
.topic-editorial-reader .tp-easy{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-angle-line{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:start;font-size:13.5px;line-height:1.55;color:#422006}
.topic-editorial-reader .tr-angle-line+.tr-angle-line{margin-top:8px;padding-top:8px;border-top:1px dashed #e6d38a}
.topic-editorial-reader .tr-angle-line b{justify-self:start;padding:1px 7px;border-radius:6px;background:#fde68a;color:#713f12;font-size:11.5px;font-weight:800}
.topic-editorial-reader .tr-planning h4+.tr-angle-line{margin-top:2px}
.topic-editorial-reader .tr-row-value.is-easy{font-size:14.5px;line-height:1.6;font-weight:600;color:var(--tr-ink)}
.topic-editorial-reader .tr-sowhat-body.is-easy{font-size:15px;line-height:1.6;font-weight:650}
.topic-editorial-reader .tr-side p.is-easy{font-size:15px;line-height:1.6;color:var(--tr-ink)}
.topic-editorial-reader .tr-side:has(p.is-easy) ul{display:none}
.topic-editorial-reader .tr-checklist span.is-easy{font-size:14px;font-weight:600;color:var(--tr-ink)}
.topic-editorial-reader .tr-summary-btn.is-quiet{background:#fff;border-color:var(--tr-line);color:var(--tr-ink-2)}.topic-editorial-reader .tr-summary-btn.is-quiet:hover{background:var(--tr-wash);border-color:#d4d4d8}
.topic-editorial-reader .tr-sheet-panel.is-narrow{width:min(680px,100%)}
.topic-editorial-reader .tr-query-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.topic-editorial-reader .tr-query-meta span{padding:2px 9px;border-radius:999px;background:var(--tr-soft);font-size:12px;font-weight:650;color:var(--tr-ink-2)}
.topic-editorial-reader .tr-query-text{margin:0;padding:16px 18px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--tr-line);white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;font:inherit;font-size:15px;line-height:1.75;color:var(--tr-ink)}
.topic-editorial-reader .tr-query-actions{display:flex;justify-content:flex-end}
@media(max-width:760px){.topic-editorial-reader .tp-mast-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.topic-editorial-reader .tp-mast-actions>*{white-space:nowrap;min-width:0}.topic-editorial-reader .tp-mast-actions>:last-child:nth-child(odd){grid-column:1/-1}}
