/* Trader Emiten — Mode Data */
.te-page{--te-ink:#22085c;--te-violet:#5e17eb;--te-line:#e6e6ea;--te-line-2:#d4d4da;--te-soft:#f4f4f6;--te-soft-2:#fafafb;--te-muted:#64607a;--te-muted-2:#3b3652;--te-up:#0f9e63;--te-down:#e5384f;
	color:var(--te-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums;background:#fff}
.te-page h1,.te-page h2,.te-page h3{letter-spacing:-.015em}
.te-k{display:block;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--te-muted)}
.te-sub{font-size:13px;color:var(--te-muted);font-weight:500}
.te-lead{font-size:16px;color:var(--te-muted-2);line-height:1.6;margin:8px 0 0}
.is-up{color:var(--te-up)}.is-down{color:var(--te-down)}.is-flat{color:var(--te-muted-2)}
.te-scroll{overflow-x:auto}

/* Head */
.te-head{border-bottom:1px solid var(--te-line);padding-top:24px}
.te-head__row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin:18px 0 20px}
.te-head__id{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.te-badge{width:68px;height:68px;border-radius:12px;background:var(--te-violet);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.te-head h1{font-size:clamp(26px,3.2vw,36px);font-weight:800;margin:0}
.te-head h1 span{font-size:.6em;font-weight:600;color:var(--te-muted-2)}
.te-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.te-tags span{background:var(--te-soft);border-radius:6px;padding:4px 8px;font-size:12px;font-weight:600}
.te-tags .is-warn{background:#fff3d6;color:#7a5200}
.te-source{font-size:12px;color:var(--te-muted);margin:8px 0 0}
.te-head__price{display:flex;align-items:flex-end;gap:28px;flex-wrap:wrap}
.te-range52{min-width:200px;display:flex;flex-direction:column;gap:6px}
.te-range52__bar{position:relative;height:6px;background:var(--te-soft);border-radius:3px}
.te-range52__bar span{position:absolute;left:0;top:0;bottom:0;background:var(--te-violet);border-radius:3px}
.te-range52__bar i{position:absolute;top:-5px;width:3px;height:16px;background:var(--te-ink)}
.te-range52__lab{display:flex;justify-content:space-between;font-size:12px;font-weight:600}
.te-price{display:flex;flex-direction:column;align-items:flex-end}
.te-price strong{font-size:42px;font-weight:700;line-height:1}
.te-price span{font-size:15px;font-weight:700}
.te-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.te-tabs button{flex:0 0 auto;min-height:48px;padding:0 14px;border:0;background:transparent;color:var(--te-muted-2);font:600 15px Inter,system-ui,sans-serif;cursor:pointer;box-shadow:inset 0 -3px 0 transparent}
.te-tabs button[aria-selected="true"]{color:var(--te-violet);box-shadow:inset 0 -3px 0 var(--te-violet)}
.te-tabs button:hover{color:var(--te-violet)}

/* Layout */
.te-body{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start;padding-top:28px;padding-bottom:56px}
.te-main{flex:999 1 620px;min-width:0;display:flex;flex-direction:column;gap:20px}
.te-panel{display:flex;flex-direction:column;gap:20px}
.te-panel[hidden]{display:none}
.te-side{flex:1 1 280px;display:flex;flex-direction:column;gap:20px}
.te-box{border:1px solid var(--te-line);border-radius:12px;padding:20px;background:#fff}
.te-box--flush{padding:0;overflow:hidden}
.te-box h2{font-size:20px;font-weight:700;margin:4px 0 14px}
.te-box__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.te-box__head h2{margin:0}
.te-seg{display:flex;border:1px solid var(--te-line-2);border-radius:8px;overflow:hidden}
.te-seg button{min-height:38px;min-width:50px;border:0;background:#fff;color:var(--te-ink);font:600 13px Inter,sans-serif;cursor:pointer}
.te-seg button[aria-pressed="true"]{background:var(--te-ink);color:#fff}

/* Charts */
.te-chart{width:100%;height:240px;display:block}
.te-chart line{stroke:var(--te-soft);stroke-width:1}
.te-chart__area{fill:rgba(94,23,235,.08)}
.te-chart__line{fill:none;stroke:var(--te-violet);stroke-width:2.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.te-chart__line--ink{stroke:var(--te-ink)}
.te-chart .te-band{fill:#efe9fd}
.te-chart .te-avg{stroke:var(--te-violet);stroke-width:1.5;stroke-dasharray:6 5;vector-effect:non-scaling-stroke}
.te-chart__foot{display:flex;justify-content:space-between;font-size:12px;color:var(--te-muted);margin-top:8px;font-weight:600}
.te-bars{display:flex;align-items:flex-end;gap:8px;height:220px;overflow-x:auto}
.te-bars__col{flex:1 0 36px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%}
.te-bars__val{font-size:11px;font-weight:700}
.te-bars__bar{width:100%;background:#d8cffb;border-radius:4px 4px 0 0;min-height:2px}
.te-bars__bar.is-last{background:var(--te-violet)}
.te-bars__lab{font-size:10px;color:var(--te-muted);font-weight:600;white-space:nowrap}
.te-wf{display:flex;gap:10px;height:260px;min-width:540px}
.te-wf__col{flex:1;display:flex;flex-direction:column;gap:8px}
.te-wf__plot{flex:1;position:relative}
.te-wf__bar{position:absolute;left:0;right:0;border-radius:3px;display:flex;justify-content:center}
.te-wf__bar em{font-style:normal;transform:translateY(-20px);font-size:12px;font-weight:700;color:var(--te-ink)}
.te-wf__bar--total{background:var(--te-violet)}.te-wf__bar--up{background:var(--te-up)}.te-wf__bar--down{background:var(--te-down)}
.te-wf__bar--down em{color:var(--te-down)}
.te-wf__lab{font-size:12px;font-weight:600;text-align:center;line-height:1.3;min-height:32px}
.te-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:var(--te-muted-2)}
.te-legend span::before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.te-legend .up::before{background:var(--te-up)}.te-legend .down::before{background:var(--te-down)}.te-legend .total::before{background:var(--te-violet)}

/* Note, score, metrics */
.te-note{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:var(--te-soft);border-radius:12px;padding:18px 20px}
.te-note p{margin:6px 0 0;font-size:15px;line-height:1.6;font-weight:500}
.te-note>div{flex:999 1 300px}
.te-mascot{width:88px;height:auto;flex:0 0 auto}
.te-score{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.te-score__total{flex:1 1 260px;display:flex;gap:16px;align-items:center}
.te-score__total h3{font-size:18px;margin:4px 0}
.te-score__total p{margin:0 0 6px;font-size:13px;color:var(--te-muted-2)}
.te-score__total a{font-size:13px;font-weight:700}
.te-score__grade{width:96px;height:96px;flex:0 0 96px;border-radius:12px;background:var(--te-violet);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.te-score__grade strong{font-size:52px;line-height:1;font-weight:800}
.te-score__grade span{font-size:11px;font-weight:700}
.te-score__rows{flex:999 1 300px;display:flex;flex-direction:column;gap:10px}
.te-score__row{display:grid;grid-template-columns:120px minmax(0,1fr) 30px;gap:12px;align-items:center;font-size:14px;font-weight:600}
.te-meter{display:block;height:10px;background:var(--te-soft);border-radius:5px;overflow:hidden}
.te-meter i{display:block;height:100%;background:var(--te-violet)}
.te-meter i.is-mid{background:#ffc542}
.te-meter--lg{height:16px}
.te-meter i.c1{background:#9a2e91}.te-meter i.c2{background:#ffc542}.te-meter i.c3{background:#64607a}
.te-grade{width:30px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#fff}
.te-grade--a{background:var(--te-up)}.te-grade--b{background:var(--te-violet)}.te-grade--c{background:#ffc542;color:var(--te-ink)}.te-grade--d{background:#ff9f43;color:var(--te-ink)}.te-grade--e{background:var(--te-down)}
.te-metrics{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.te-metric{border:1px solid var(--te-line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px}
.te-metric strong{font-size:24px;font-weight:700}
.te-metric span:last-child{font-size:13px;color:var(--te-muted-2);line-height:1.45}
.te-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin-top:14px}
.te-stats>div{background:var(--te-soft);border-radius:8px;padding:12px}
.te-stats strong{font-size:16px;font-weight:700}
.te-stats--dark>div{background:var(--te-violet);color:#fff}
.te-stats--dark .te-k{color:#dccfff}

/* Tables */
.te-table{width:100%;border-collapse:collapse;font-size:14px}
.te-table th,.te-table td{padding:12px 16px;text-align:left;border-top:1px solid var(--te-line);white-space:nowrap}
.te-table thead th{background:var(--te-soft-2);border-top:0;font-size:12px;font-weight:700;color:var(--te-muted-2);letter-spacing:.03em;text-transform:uppercase}
.te-table tbody th{font-weight:600}
.te-table .r{text-align:right}
.te-table tr.is-self{background:#f6f2ff}
.te-heat{border-collapse:separate;border-spacing:3px;width:100%;min-width:640px;font-size:11px;font-weight:700}
.te-heat th{font-weight:700;color:var(--te-muted);text-align:center}
.te-heat tbody th{text-align:left;font-size:12px;color:var(--te-ink)}
.te-heat td{height:32px;text-align:center;border-radius:4px}
.te-heat tr.is-avg th,.te-heat tr.is-avg td{border-top:2px solid var(--te-ink)}
.te-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.te-timeline li{display:grid;grid-template-columns:130px 1fr;gap:12px;position:relative;padding-left:22px}
.te-timeline li::before{content:"";position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;border:2px solid var(--te-violet);background:#fff}
.te-timeline li.is-done::before{background:var(--te-violet)}
.te-timeline__date{font-size:12px;font-weight:700;color:var(--te-muted)}
.te-timeline strong{display:block;font-size:15px}
.te-timeline small{font-size:13px;color:var(--te-muted-2)}
.te-history{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.te-history li{border-top:2px solid var(--te-line-2);padding-top:8px;display:flex;flex-direction:column;gap:4px;font-size:13px}
.te-history b{color:var(--te-violet)}
.te-pill{display:inline-block;background:var(--te-soft);color:var(--te-violet);border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.te-pill--dividen{background:#e3f6ee;color:#0b7a4c}
.te-holder{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.te-holder>div{display:flex;justify-content:space-between;gap:12px;font-size:15px;font-weight:600}
.te-news{list-style:none;margin:10px 0 0;padding:0}
.te-news li{border-top:1px solid var(--te-line);padding:12px 0;display:flex;flex-direction:column;gap:2px}
.te-news a{font-weight:600;color:var(--te-ink)}
.te-mgmt{display:flex;flex-wrap:wrap;gap:24px}
.te-mgmt>div{flex:1 1 260px}
.te-mgmt h3{font-size:15px;margin:0 0 8px}
.te-mgmt ul{list-style:none;margin:0;padding:0}
.te-mgmt li{border-top:1px solid var(--te-line);padding:8px 0;display:flex;flex-direction:column}
.te-mgmt li span{font-size:12px;color:var(--te-muted-2)}

/* Simulator */
.te-sim{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.te-sim__in,.te-sim__out{flex:1 1 260px;display:flex;flex-direction:column;gap:10px}
.te-sim label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.te-sim input{height:46px;border:1px solid var(--te-line-2);border-radius:8px;padding:0 12px;font:600 18px Inter,sans-serif;color:var(--te-ink);max-width:220px}
.te-sim__out strong{font-size:32px;font-weight:800}
.te-sim .te-pill{align-self:flex-start}

/* Side */
.te-side__komik{border:1px solid var(--te-line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px;color:var(--te-ink)}
.te-side__komik img{border-radius:8px;margin-bottom:6px;width:100%;height:auto}
.te-side__komik strong{font-size:16px;line-height:1.3}
.te-link{font-size:14px;font-weight:700;color:var(--te-violet)}

/* Database */
.te-db__title{font-size:clamp(30px,4vw,44px);font-weight:800;margin:14px 0 0}
.te-db__search{display:flex;align-items:center;gap:12px;border:1px solid var(--te-line-2);border-radius:10px;padding:0 16px;height:56px;max-width:640px;margin-top:20px}
.te-db__search input{border:0;outline:0;font:500 16px Inter,sans-serif;width:100%;color:var(--te-ink);background:transparent}
.te-db__filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 20px}
.te-db__filters button{min-height:40px;padding:0 14px;border:1px solid var(--te-line-2);border-radius:8px;background:#fff;color:var(--te-ink);font:600 14px Inter,sans-serif;cursor:pointer}
.te-db__filters button[aria-pressed="true"]{background:var(--te-ink);color:#fff;border-color:var(--te-ink)}
.te-db{padding-top:20px;padding-bottom:56px}
.te-db__meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:12px;font-weight:600}
.te-db__table thead button{background:none;border:0;padding:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;min-height:24px}
.te-db__table thead button[aria-sort]{color:var(--te-violet)}
.te-db__table thead button[aria-sort="descending"]::after{content:" ↓"}
.te-db__table thead button[aria-sort="ascending"]::after{content:" ↑"}
.te-db__table tbody tr:hover{background:var(--te-soft-2)}
.te-db__table a{color:var(--te-ink);display:flex;gap:10px;align-items:center}
.te-db__code{background:var(--te-soft);border-radius:6px;padding:4px 8px;font-weight:800;min-width:52px;text-align:center}
.te-db__name{font-weight:500;color:var(--te-muted-2);max-width:280px;overflow:hidden;text-overflow:ellipsis}
.te-db__empty{padding:32px 16px;text-align:center;font-weight:600;color:var(--te-muted-2)}

.te-ksei{table-layout:fixed;margin:14px 0}.te-ksei th:first-child{width:auto}.te-ksei th.r,.te-ksei td.r{width:96px}.te-ksei th,.te-ksei td{white-space:normal;vertical-align:top;padding:12px 10px}.te-ksei tbody th small{display:block;margin-top:3px;font-size:12px;font-weight:500;color:var(--te-muted)}
@media(max-width:560px){.te-ksei th.r,.te-ksei td.r{width:78px;font-size:13px}}
