.trd-ideas{max-width:1120px;margin:0 auto;color:#0b2945;font-family:inherit}.trd-ideas *{box-sizing:border-box}.trd-ideas-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:0 0 14px}.trd-kicker{display:inline-block;font-size:11px;letter-spacing:.14em;font-weight:800;border:1px solid #d8e2eb;background:#eef5fa;border-radius:999px;padding:6px 9px}.trd-ideas h2{font-family:Georgia,serif;font-size:34px;line-height:1.05;margin:8px 0 4px;color:#0b2945}.trd-ideas-head p{margin:0;color:#607286;font-size:14px}.trd-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.trd-chip{display:inline-flex;gap:6px;align-items:center;text-decoration:none!important;color:#0b2945!important;border:1px solid #cbd9e5;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.trd-chip span{color:#708296}.trd-chip strong{color:#157347}.trd-stock{border:1px solid #d5e0e8;border-radius:14px;background:#fff;margin:0 0 18px;overflow:hidden;box-shadow:0 1px 1px rgba(15,42,65,.03)}.trd-stock-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:13px 16px;border-bottom:1px solid #e3eaf0}.trd-stock-head>div:first-child{display:flex;align-items:center;gap:9px}.trd-stock h3{font-family:Georgia,serif;font-size:22px;margin:0;color:#0b2945}.trd-rank{font-size:11px;font-weight:800;color:#5f7183;border:1px solid #d5e0e8;border-radius:999px;padding:4px 7px}.trd-meta{font-size:12px;color:#53697b;text-align:right}.is-positive{color:#157347}.is-negative{color:#b42318}.trd-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding:12px}.trd-card{min-width:0}.trd-card-label{font-size:10px;letter-spacing:.14em;font-weight:800;color:#5b7287;margin:0 0 7px}.trd-tv{height:420px;width:100%;overflow:hidden;border-radius:8px;background:#111}.trd-method{font-size:12px;line-height:1.5;color:#6d7d8c;border-top:1px solid #e1e8ee;padding:12px 0 0;margin-top:6px}.trd-ideas-empty{padding:14px;border:1px solid #efc36b;background:#fff8e6;border-radius:8px}
@media(max-width:900px){.trd-grid{grid-template-columns:1fr}.trd-tv{height:440px}.trd-stock-head{align-items:flex-start;flex-direction:column}.trd-meta{text-align:left}.trd-ideas h2{font-size:30px}}
@media(max-width:560px){.trd-tv{height:390px}.trd-chip{font-size:11px}.trd-stock{border-radius:10px}.trd-grid{padding:9px}.trd-stock-head{padding:12px}.trd-ideas h2{font-size:27px}}

/* v0.1.1 — symbol-safe widgets + restricted-chart fallback */
.trd-chart-fallback{height:420px;width:100%;border:1px solid #d7e2eb;border-radius:8px;background:linear-gradient(180deg,#f8fbfd,#f1f6fa);padding:22px;display:flex;flex-direction:column;justify-content:center;color:#0b2945}
.trd-chart-fallback-top{display:flex;align-items:center;gap:9px;margin-bottom:8px}.trd-chart-exchange{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd9e5;border-radius:999px;background:#fff;color:#607286;font-size:10px;font-weight:800;letter-spacing:.12em;padding:5px 8px}.trd-chart-fallback-top strong{font-size:14px;letter-spacing:.03em}
.trd-chart-fallback-title{font-family:Georgia,serif;font-size:25px;line-height:1.1;margin:4px 0 18px;color:#0b2945}
.trd-chart-levels{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.trd-chart-levels>div{background:#fff;border:1px solid #dbe5ed;border-radius:10px;padding:10px 12px}.trd-chart-levels span{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6b7d8d;font-weight:800}.trd-chart-levels strong{display:block;margin-top:3px;font-size:14px;color:#0b2945;font-variant-numeric:tabular-nums}
.trd-chart-link{display:inline-flex!important;align-items:center;justify-content:center;align-self:flex-start;border-radius:999px;background:#0b2945;color:#fff!important;text-decoration:none!important;padding:10px 15px;font-size:12px;font-weight:800}.trd-chart-link:hover{background:#133b61}
.trd-chart-note{margin-top:12px;font-size:11px;line-height:1.45;color:#687b8d}.trd-widget-fallback{height:420px;border-radius:8px;background:#111;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:22px}.trd-widget-fallback strong{font-size:17px}.trd-widget-fallback span{margin-top:8px;color:#cbd5df;font-size:12px;line-height:1.5}
@media(max-width:900px){.trd-chart-fallback,.trd-widget-fallback{height:440px}}
@media(max-width:560px){.trd-chart-fallback,.trd-widget-fallback{height:auto;min-height:330px}.trd-chart-levels{grid-template-columns:1fr}}


/* v0.1.2 — native Upstox-backed fundamentals/profile cards */
.trd-native-card{height:420px;width:100%;overflow:auto;border:1px solid #d7e2eb;border-radius:8px;background:#fff;padding:18px;color:#0b2945;display:flex;flex-direction:column;gap:14px}
.trd-native-title{display:flex;align-items:baseline;gap:7px;padding-bottom:10px;border-bottom:1px solid #e1e9ef}.trd-native-title strong{font-size:18px;color:#0b2945}.trd-native-title span{font-family:Georgia,serif;font-size:22px;color:#0b2945}
.trd-native-section{display:flex;flex-direction:column;gap:8px}.trd-native-section-label{font-size:10px;letter-spacing:.13em;font-weight:800;text-transform:uppercase;color:#61788d}
.trd-native-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.trd-native-metrics>div,.trd-native-income>div{border:1px solid #e1e8ee;background:#f8fbfd;border-radius:9px;padding:9px 10px;min-width:0}.trd-native-metrics span,.trd-native-income span{display:block;font-size:10px;color:#607286;font-weight:700}.trd-native-metrics strong,.trd-native-income strong{display:block;margin-top:2px;font-size:14px;color:#0b2945;font-variant-numeric:tabular-nums}.trd-native-metrics small,.trd-native-income small{display:block;margin-top:2px;font-size:9px;color:#7b8b99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trd-native-income{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.trd-native-market{display:flex;flex-wrap:wrap;gap:7px}.trd-native-market>span{border:1px solid #dce6ed;border-radius:999px;background:#f8fbfd;padding:6px 8px;font-size:10px;color:#65798b}.trd-native-market strong{color:#0b2945;margin-left:3px}
.trd-native-source{margin-top:auto;padding-top:9px;border-top:1px solid #edf1f4;font-size:9px;line-height:1.4;color:#7a8996}
.trd-native-empty{justify-content:center;background:linear-gradient(180deg,#f8fbfd,#f1f6fa)}.trd-native-empty strong{font-family:Georgia,serif;font-size:20px}.trd-native-empty span{font-size:12px;color:#607286;line-height:1.5}
.trd-profile-name{font-family:Georgia,serif;font-size:19px;line-height:1.2}.trd-profile-tags{display:flex;gap:6px;flex-wrap:wrap}.trd-profile-tags span{border:1px solid #d7e2eb;background:#f5f9fc;border-radius:999px;padding:5px 7px;font-size:9px;font-weight:800;color:#587083}.trd-profile-fact{display:flex;justify-content:space-between;gap:12px;border:1px solid #e1e8ee;background:#f8fbfd;border-radius:9px;padding:9px 10px}.trd-profile-fact span{font-size:10px;color:#607286}.trd-profile-fact strong{font-size:12px;color:#0b2945}.trd-profile-copy{font-size:12px;line-height:1.55;color:#30485e;overflow:auto;padding-right:3px}
@media(max-width:900px){.trd-native-card{height:440px}}
@media(max-width:560px){.trd-native-card{height:auto;min-height:330px}.trd-native-income{grid-template-columns:1fr}.trd-native-metrics{grid-template-columns:1fr 1fr}}


/* v0.1.3 — native price chart + card certification polish */
.trd-native-chart{height:420px;width:100%;border:1px solid #d7e2eb;border-radius:8px;background:linear-gradient(180deg,#fbfdff,#f4f8fb);padding:16px;color:#0b2945;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.trd-chart-history-count{margin-left:auto;font-size:9px;font-weight:800;color:#6c7f90;border:1px solid #dbe5ed;background:#fff;border-radius:999px;padding:4px 7px}
.trd-native-chart .trd-chart-fallback-title{font-size:22px;margin:0 0 2px}
.trd-native-svg-wrap{position:relative;height:190px;border:1px solid #dce6ed;background:#fff;border-radius:10px;overflow:hidden}
.trd-native-svg{display:block;width:100%;height:100%}.trd-chart-axis{stroke:#dbe4eb;stroke-width:1}.trd-price-line{fill:none;stroke:#0b5f7a;stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.trd-last-dot{fill:#157347;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.trd-level{stroke-width:1;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}.trd-level-entry{stroke:#7891a6}.trd-level-support{stroke:#2d8b57}.trd-level-resistance{stroke:#b46a35}
.trd-chart-scale,.trd-chart-date{position:absolute;font-size:8px;color:#7a8996;background:rgba(255,255,255,.82);padding:1px 3px;border-radius:3px}.trd-chart-scale-high{top:4px;left:5px}.trd-chart-scale-low{bottom:20px;left:5px}.trd-chart-date-first{left:6px;bottom:4px}.trd-chart-date-last{right:6px;bottom:4px}
.trd-native-chart-legend{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:9px;color:#607286}.trd-native-chart-legend span{display:inline-flex;align-items:center;gap:4px}.trd-native-chart-legend i{display:inline-block;width:14px;height:2px;border-radius:2px}.trd-legend-close{background:#0b5f7a}.trd-legend-entry{background:#7891a6}.trd-legend-support{background:#2d8b57}.trd-legend-resistance{background:#b46a35}
.trd-chart-levels-compact{margin:1px 0 0;gap:6px}.trd-chart-levels-compact>div{padding:6px 8px;border-radius:8px}.trd-chart-levels-compact span{font-size:8px}.trd-chart-levels-compact strong{font-size:11px}
.trd-native-chart .trd-native-source{margin-top:auto;padding-top:6px}

.trd-native-card-polished{overflow:hidden;padding:14px;gap:9px}.trd-native-card-polished .trd-native-title{padding-bottom:7px}.trd-native-card-polished .trd-native-title strong{font-size:16px}.trd-native-card-polished .trd-native-title span{font-size:20px}
.trd-native-card-polished .trd-native-section{gap:6px}.trd-native-card-polished .trd-native-section-label{font-size:9px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.trd-section-note{font-size:8px;letter-spacing:0;text-transform:none;font-weight:600;color:#8a98a4}.trd-period-badge{font-size:8px;letter-spacing:0;text-transform:none;border:1px solid #d7e2eb;background:#f4f8fb;color:#5f7385;padding:2px 5px;border-radius:999px}
.trd-native-card-polished .trd-native-metrics{gap:6px}.trd-native-card-polished .trd-native-metrics>div,.trd-native-card-polished .trd-native-income>div{padding:7px 8px;border-radius:8px}.trd-native-card-polished .trd-native-metrics span,.trd-native-card-polished .trd-native-income span{font-size:9px}.trd-native-card-polished .trd-native-metrics strong,.trd-native-card-polished .trd-native-income strong{font-size:12px}.trd-native-card-polished .trd-native-metrics small,.trd-native-card-polished .trd-native-income small{font-size:8px}
.trd-native-card-polished .trd-native-income{gap:5px}.trd-native-card-polished .trd-native-market{gap:5px}.trd-native-card-polished .trd-native-market>span{padding:5px 6px;font-size:8px}.trd-native-card-polished .trd-native-source{padding-top:6px;font-size:8px}
.trd-profile-card .trd-profile-name{font-size:18px}.trd-profile-card .trd-profile-tags{gap:5px}.trd-profile-card .trd-profile-tags span{padding:4px 6px;font-size:8px}.trd-profile-card .trd-profile-fact{padding:7px 8px}.trd-profile-card .trd-profile-fact span{font-size:9px}.trd-profile-card .trd-profile-fact span small{display:block;margin-top:2px;font-size:7px;color:#8a98a4}.trd-profile-card .trd-profile-fact strong{font-size:11px}
.trd-profile-card .trd-profile-copy{font-size:11px;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical}
@media(max-width:900px){.trd-native-chart{height:440px}.trd-native-svg-wrap{height:205px}}
@media(max-width:560px){.trd-native-chart{height:auto;min-height:390px}.trd-native-svg-wrap{height:205px}.trd-native-card-polished{height:auto;min-height:360px;overflow:visible}.trd-profile-card .trd-profile-copy{-webkit-line-clamp:12}}

/* v0.1.4 — financial & ownership intelligence */
.trd-fundamentals-rich,.trd-know-card,.trd-native-chart{height:620px}
.trd-fundamentals-rich,.trd-know-card{overflow:auto}
.trd-native-chart .trd-native-svg-wrap{height:250px}
.trd-enterprise-note{border:1px dashed #d6e1e9;background:#fbfdff;border-radius:8px;padding:7px 8px;font-size:9px;line-height:1.35;color:#607286}.trd-enterprise-note strong{color:#0b2945}.trd-enterprise-note span{display:block;margin-top:2px}
.trd-ownership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.trd-ownership-grid>div{border:1px solid #e1e8ee;background:#f8fbfd;border-radius:8px;padding:7px 8px}.trd-ownership-grid span{display:block;font-size:9px;color:#607286;font-weight:700}.trd-ownership-grid strong{display:block;margin-top:2px;font-size:12px;color:#0b2945}.trd-ownership-grid small{display:block;margin-top:2px;font-size:8px;color:#7b8b99}.trd-ownership-profile{grid-template-columns:repeat(2,minmax(0,1fr))}
.trd-stale-badge{font-size:8px;letter-spacing:.04em;border:1px solid #efb8b4;background:#fff2f1;color:#a62922;padding:2px 5px;border-radius:999px}.trd-period-badge.is-stale{border-color:#efb8b4;background:#fff2f1;color:#a62922}
.trd-named-holder-pending{border:1px dashed #ccd9e4;background:#fbfdff;border-radius:9px;padding:10px}.trd-named-holder-pending strong{display:block;font-size:11px;color:#0b2945}.trd-named-holder-pending span{display:block;margin-top:4px;font-size:9px;line-height:1.45;color:#65798b}
.trd-named-holder-wrap{display:grid;gap:8px}.trd-holder-group{border:1px solid #e1e8ee;border-radius:8px;background:#fbfdff;padding:8px}.trd-holder-title{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#61788d}.trd-holder-group ol{margin:6px 0 0 18px;padding:0}.trd-holder-group li{font-size:9px;color:#30485e;padding:2px 0}.trd-holder-group li span{display:inline}.trd-holder-group li strong{float:right;color:#0b2945}
.trd-know-card .trd-profile-copy{-webkit-line-clamp:7}
@media(max-width:900px){.trd-fundamentals-rich,.trd-know-card,.trd-native-chart{height:auto;min-height:520px}.trd-native-chart .trd-native-svg-wrap{height:240px}}
@media(max-width:560px){.trd-ownership-grid,.trd-ownership-profile{grid-template-columns:1fr 1fr}.trd-native-chart .trd-native-svg-wrap{height:220px}}

/* v0.1.7 — Piotroski source-gap adjudication + sector-aware fundamentals */
.trd-freshness-strip{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 8px}.trd-freshness-strip span{font-size:8px;line-height:1.2;padding:3px 6px;border-radius:999px;border:1px solid #d7e2eb;background:#f7fafc;color:#63788a;font-weight:700}.trd-freshness-strip span.is-current{border-color:#c8e4d1;background:#f2fbf5;color:#21713c}.trd-freshness-strip span.is-stale{border-color:#efb8b4;background:#fff2f1;color:#a62922}.trd-named-source-note{font-size:8px;line-height:1.4;color:#708497;margin-top:6px}
