/* Browser / OS / device distribution. Independent of the traffic chart. */
.stats-dashboard .card.technology-card {
    padding: 22px 24px 0;
    margin-bottom: 12px;
    overflow: hidden;
    border-color: rgba(148, 163, 184, .13);
    background: radial-gradient(ellipse at 0 45%, rgba(52, 211, 153, .035), transparent 55%), #0f1216;
}
.technology-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.technology-title { margin: 0; color: #f1f5f9; font-size: 15px; font-weight: 700; letter-spacing: -.025em; }
.technology-description { margin: 6px 0 0; color: #8b95a4; font-size: 11px; line-height: 1.6; }
.technology-period { padding: 5px 9px; flex-shrink: 0; border: 1px solid #2b343e; border-radius: 6px; background: #171d24; color: #b3becc; font-size: 10px; font-weight: 600; }
.technology-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-bottom: 19px; border-bottom: 1px solid #ffffff0d; }
.technology-tabs { display: inline-flex; padding: 4px; gap: 3px; border: 1px solid #252c34; border-radius: 10px; background: #0a0d11; }
.technology-tab { border: 0; border-radius: 7px; padding: 8px 18px; background: transparent; color: #98a2b1; font: inherit; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; cursor: pointer; transition: background .18s, color .18s; }
.technology-tab:hover { background: #192027; color: #f1f5f9; }
.technology-tab.is-active { background: #17342c; color: #6ee7b7; box-shadow: inset 0 0 0 1px #34d3992e, 0 2px 5px #0003; }
.technology-tab:focus-visible, .technology-row:focus-visible, .technology-show-more:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }
.technology-metric-note { color: #8b95a4; font-size: 10px; }
.technology-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; padding: 22px 4px 24px; min-height: 320px; }
.technology-visual { min-width: 0; text-align: center; }
.technology-donut { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin: 0 auto; }
.technology-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.technology-segment { cursor: pointer; transition: opacity .18s, stroke-width .18s; }
.technology-segment.is-dimmed { opacity: .3; }
.technology-segment.is-active { stroke-width: 26px; }
.technology-center { position: absolute; inset: 64px 47px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; pointer-events: none; }
.technology-center-caption { color: #8290a1; font-size: 10px; }
.technology-center-share { color: #f1f5f9; font-size: 33px; font-weight: 650; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.technology-center-name { max-width: 100%; color: #d4dce7; font-size: 12px; font-weight: 600; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.technology-center-count { color: #8491a2; font-size: 11px; font-variant-numeric: tabular-nums; }
.technology-chart-caption { display: inline-block; margin-top: 5px; color: #8491a2; font-size: 10px; }
.technology-breakdown { min-width: 0; }
.technology-list-header { display: flex; justify-content: space-between; gap: 12px; margin: 0 10px 9px; color: #7d899a; font-size: 10px; }
.technology-list-header > span:first-child { color: #b5c0cf; font-weight: 600; }
.technology-list { display: flex; flex-direction: column; gap: 4px; max-height: 354px; padding: 3px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #394350 transparent; }
.technology-row { display: block; width: 100%; min-width: 0; border: 1px solid transparent; border-radius: 9px; padding: 10px 9px; background: transparent; text-align: left; cursor: pointer; font: inherit; }
.technology-row:hover, .technology-row.is-active { background: #ffffff04; border-color: #ffffff09; }
.technology-row-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; }
.technology-row-label { display: flex; align-items: center; gap: 9px; color: #cbd5e1; font-size: 12px; min-width: 0; }
.technology-row-label > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.technology-icon { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; flex: 0 0 17px; }
.technology-icon img, .technology-icon svg { width: 16px; height: 16px; object-fit: contain; }
.technology-icon-fallback { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--technology-color); box-shadow: 0 0 10px color-mix(in srgb, var(--technology-color) 15%, transparent); }
.technology-row-values { display: inline-flex; align-items: baseline; gap: 12px; flex-shrink: 0; font-size: 11px; font-variant-numeric: tabular-nums; }
.technology-row-count { color: #e2e8f0; font-weight: 600; }
.technology-row-share { min-width: 48px; color: #91a0b3; text-align: right; }
.technology-bar-track { display: block; height: 4px; margin: 9px 0 0 26px; overflow: hidden; border-radius: 4px; background: #202730; }
.technology-bar { display: block; height: 100%; width: var(--technology-share); border-radius: inherit; background: var(--technology-color); }
.technology-show-more { display: block; width: 100%; margin-top: 9px; padding: 9px; border: 1px solid #26303b; border-radius: 8px; background: #ffffff02; color: #a8b7c9; font: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
.technology-show-more:hover { color: #6ee7b7; border-color: #35564c; }
.technology-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 310px; padding: 30px 15px; text-align: center; }
.technology-empty-symbol { color: #6ee7b7; font-size: 40px; margin-bottom: 8px; }
.technology-empty strong { color: #cbd5e1; font-size: 13px; }
.technology-empty > span:last-child { color: #8b95a4; font-size: 11px; line-height: 1.5; }
.technology-empty[hidden], .technology-layout[hidden], .technology-show-more[hidden] { display: none; }
.technology-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 -24px; padding: 12px 24px; border-top: 1px solid #ffffff0c; background: #ffffff01; color: #8b95a4; font-size: 10px; line-height: 1.5; }
.technology-bot-note { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: #7eaa9a; }
.technology-bot-note::before { content: ''; width: 5px; height: 5px; background: #34d399; border-radius: 50%; }
.technology-fallback { padding: 10px 0; color: #a8b7c9; font-size: 12px; }
@media (max-width: 639px) {
    .stats-dashboard .card.technology-card { padding: 17px 15px 0; }
    .technology-title { font-size: 14px; }
    .technology-header { gap: 10px; }
    .technology-description { font-size: 10px; }
    .technology-toolbar { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; padding-bottom: 13px; }
    .technology-tabs { display: flex; width: 100%; }
    .technology-tab { flex: 1; padding: 9px 7px; font-size: 10px; }
    .technology-metric-note { text-align: center; font-size: 10px; }
    .technology-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 16px 0 18px; }
    .technology-donut { width: 230px; max-width: 100%; }
    .technology-center { inset: 57px 37px; }
    .technology-center-share { font-size: 30px; }
    .technology-center-name { font-size: 11px; }
    .technology-row { padding: 9px 6px; }
    .technology-row-label { font-size: 11px; }
    .technology-row-top { gap: 8px; }
    .technology-row-values { gap: 8px; font-size: 10px; }
    .technology-row-share { min-width: 42px; }
    .technology-footer { align-items: flex-start; gap: 9px; margin: 0 -15px; padding: 11px 15px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .technology-tab, .technology-segment { transition: none; }
}
