.position-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 18px}.position-toolbar h3{margin:0;font-size:24px}.position-toolbar>div>span{display:block;margin-top:5px;color:var(--muted);font-size:11px}.position-toolbar label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px}.position-toolbar select{min-width:220px;padding:10px 36px 10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text)}
.position-kpis{display:grid;grid-template-columns:1.25fr repeat(3,.8fr) 1.6fr;gap:10px;margin-bottom:12px}.position-kpis>article,.position-buckets{min-height:112px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.position-kpis>article>span,.position-kpis>article>small{display:block;color:var(--muted);font-size:9px}.position-kpis>article>b{display:block;margin:9px 0 4px;font-size:28px;line-height:1}.position-motion{display:flex;align-items:center;gap:14px}.position-donut{width:68px;height:68px;flex:none;border-radius:50%;background:conic-gradient(#39bf86 0 var(--gain),#f1a23a var(--gain) var(--same),#ef6262 var(--same) 360deg);position:relative}.position-donut:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fff}.position-motion ul{margin:0;padding:0;list-style:none}.position-motion li{margin:5px 0;color:var(--muted);font-size:9px}.position-motion li:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%}.position-motion li.gain:before{background:#39bf86}.position-motion li.same:before{background:#f1a23a}.position-motion li.loss:before{background:#ef6262}.position-motion li b{color:var(--text)}
.position-buckets{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.position-buckets span{display:flex;align-items:center;justify-content:space-between;padding:7px 9px;border-radius:9px;background:#f5f6f9}.position-buckets i{font-size:8px;font-style:normal}.position-buckets b{font-size:12px}.position-buckets .top3 i{color:#318dd8}.position-buckets .top10 i{color:#15966a}.position-buckets .top30 i{color:#33a989}.position-buckets .top50 i{color:#7aab73}.position-buckets .top100 i{color:#909ba8}.position-buckets .beyond i{color:#b87c18}
.position-chart{margin-bottom:12px;padding:17px 18px 10px;border:1px solid var(--line);border-radius:16px;background:#fff}.position-chart header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.position-chart header b,.position-chart header small{display:block}.position-chart header b{font-size:11px}.position-chart header small,.position-chart header>span{margin-top:4px;color:var(--muted);font-size:8px}.position-chart svg{display:block;width:100%;height:150px;margin-top:8px;overflow:visible}.position-chart polyline{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.position-chart circle{fill:#fff;stroke:var(--accent);stroke-width:3}.position-chart svg+div{display:flex;justify-content:space-between;color:var(--muted);font-size:8px}.position-chart-empty{display:grid;min-height:128px;place-items:center;color:var(--muted);font-size:10px}
.position-table-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.position-table-card>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid var(--line)}.position-table-card>header label{min-width:260px}.position-table-card>header label span,.position-table-card>header div small{display:block;margin-bottom:5px;color:var(--muted);font-size:8px}.position-table-card>header input{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:10px}.position-table-card>header div{text-align:right}.position-table-card>header div b{font-size:18px}.position-table-scroll{overflow:auto}.position-table{width:100%;min-width:880px;border-collapse:separate;border-spacing:0}.position-table th,.position-table td{padding:11px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;vertical-align:middle}.position-table thead th{position:sticky;top:0;z-index:2;background:#f6f7fa;color:var(--muted);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.position-table thead th:first-child,.position-table tbody th{text-align:left}.position-table tbody th{min-width:235px;background:#fff}.position-table tbody th b,.position-table tbody th small,.position-page b,.position-page small{display:block}.position-table tbody th b{font-size:10px}.position-table tbody th small,.position-page small{margin-top:4px;color:var(--muted);font-size:8px;font-weight:400}.position-frequency{min-width:72px;color:var(--muted);font-size:10px}.position-page{max-width:190px;min-width:145px;text-align:left!important}.position-page b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.position-cell{min-width:66px;background:#f5f6f9}.position-cell b{font-size:12px}.position-cell small{margin-left:4px;font-size:7px}.position-cell small.up{color:#168c63}.position-cell small.down{color:#d95151}.position-cell.top3{background:#cfe5ff}.position-cell.top10{background:#cbf3df}.position-cell.top30{background:#dcf5e9}.position-cell.top50{background:#eaf2db}.position-cell.top100{background:#edf0f3}.position-cell.beyond{background:#fff1ce}.position-cell.unknown{color:var(--muted)}.position-table tr:last-child th,.position-table tr:last-child td{border-bottom:0}.position-table th:last-child,.position-table td:last-child{border-right:0}
.position-warning{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fff7e7;color:#8a5a00;font-size:9px}.position-method{margin-top:12px;color:var(--muted);font-size:8px;line-height:1.5}
@media(max-width:1100px){.position-kpis{grid-template-columns:repeat(3,1fr)}.position-motion{grid-column:span 2}.position-buckets{grid-column:span 2}}
@media(max-width:700px){.position-toolbar{align-items:stretch;flex-direction:column}.position-toolbar label{align-items:stretch;flex-direction:column}.position-toolbar select{width:100%;min-width:0}.position-kpis{grid-template-columns:1fr 1fr}.position-kpis>article,.position-buckets{min-height:96px}.position-motion,.position-buckets{grid-column:1/-1}.position-chart header{display:block}.position-chart svg{height:120px}.position-table-card>header{align-items:stretch;flex-direction:column}.position-table-card>header label{min-width:0}.position-table-card>header div{text-align:left}.position-table tbody th{position:sticky;left:0;z-index:1}}
