/**
 * 全球产业热力 + 产业透镜 — 共用视觉规范
 * 工具栏 / 信息条 / 控件 / 涨跌色 / 次要面板
 */
.gsm-page,
.sl-page {
    background: #0a0c10;
    color: #e8eaed;
    font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.gsm-page {
    font-size: 12px;
}

.sl-page {
    font-size: 13px;
}

/* 数字 / 代码：等宽 + tabular；中文标签走页面 sans */
.sl-num {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.sl-leader-name {
    margin-left: 6px;
    color: #d1d5db;
    font-family: inherit;
    font-weight: 400;
}

/* ── 产业块（纯展示：9 块一眼看涨跌） ── */
.sl-macro-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid #1f2937;
    background: #0a0c10;
}

.sl-macro-bar:empty {
    display: none;
}

.sl-macro-block {
    flex: 1 1 calc(11% - 6px);
    min-width: 76px;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #374151;
    background: rgba(55, 65, 81, 0.25);
    cursor: pointer;
    text-align: center;
    line-height: 1.25;
    transition: border-color 0.15s, background 0.15s;
}

.sl-macro-block:hover {
    border-color: #4b5563;
    background: rgba(55, 65, 81, 0.45);
}

.sl-macro-block.up {
    border-color: rgba(221, 68, 68, 0.35);
    background: rgba(221, 68, 68, 0.08);
}

.sl-macro-block.down {
    border-color: rgba(0, 200, 83, 0.35);
    background: rgba(0, 200, 83, 0.08);
}

.sl-macro-block.active {
    border-color: #93c5fd;
    box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.25);
}

.sl-macro-label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sl-macro-pct {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 600;
}

.sl-macro-sub {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    color: #6b7280;
}

.sl-macro-tip {
    position: fixed;
    z-index: 200;
    max-width: 300px;
    padding: 8px 10px;
    background: rgba(10, 12, 16, 0.96);
    border: 1px solid #374151;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    font-size: 11px;
    line-height: 1.35;
    color: #e5e7eb;
    pointer-events: none;
}

.sl-macro-tip.hidden {
    display: none;
}

.sl-macro-tip-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 4px 0;
}

.sl-macro-tip-rank {
    color: #6b7280;
    min-width: 1.2em;
    flex-shrink: 0;
}

.sl-macro-tip-name {
    flex: 1;
    color: #d1d5db;
    min-width: 0;
}

.sl-macro-tip-pct {
    flex-shrink: 0;
    font-weight: 400;
}

@media (max-width: 900px) {
    .sl-macro-block {
        flex: 1 1 calc(33% - 6px);
    }
}

/* ── 顶栏工具条 ── */
.gsm-toolbar,
.sl-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-bottom: 1px solid #1f2937;
    flex-shrink: 0;
    min-height: 0;
    background: #0a0c10;
}

.sl-toolbar {
    position: sticky;
    top: var(--nav-height);
    z-index: 50;
}

.gsm-meta,
.sl-meta {
    color: #9ca3af;
    font-size: 12px;
    margin-right: auto;
    line-height: 1.35;
    font-weight: 500;
}

.gsm-controls,
.sl-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.gsm-controls label {
    line-height: 1.2;
}

.sl-controls label {
    line-height: 1.35;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.gsm-controls select,
.gsm-controls button,
.sl-controls select,
.sl-controls button,
.sl-controls a.sl-btn {
    background: #1f2937;
    border: 1px solid #374151;
    color: #e5e7eb;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
    font-family: inherit;
}

.gsm-controls select:focus,
.gsm-controls select:focus-visible,
.sl-controls select:focus,
.sl-controls select:focus-visible {
    outline: none;
    border-color: #374151;
    box-shadow: none;
}

.sl-controls a.sl-btn {
    text-decoration: none;
    display: inline-block;
}

.gsm-controls button:hover,
.sl-controls button:hover,
.sl-controls a.sl-btn:hover {
    background: #374151;
}

.gsm-matrix-note-btn,
.sl-freeze-btn {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fcd34d !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
}

.gsm-matrix-note-btn:hover,
.sl-freeze-btn:hover {
    background: rgba(245, 158, 11, 0.22) !important;
}

/* ── 信息条（合成 / 统计） ── */
.gsm-meta-bar,
.sl-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 6px 16px;
    border-bottom: 1px solid #1f2937;
    background: rgba(59, 130, 246, 0.04);
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
    line-height: 1.35;
}

.sl-meta-bar-single {
    flex-wrap: nowrap;
    gap: 0;
    padding: 5px 16px;
    overflow: hidden;
}

.sl-stats-single {
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    gap: 6px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.sl-stats-single::-webkit-scrollbar {
    height: 3px;
}

.sl-stats-single::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 2px;
}

.sl-stat-clip strong {
    display: inline-block;
    max-width: 11em;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.sl-stat-trans strong {
    max-width: 14em;
}

.sl-stat-hint {
    color: #fcd34d;
    font-weight: 500;
    white-space: nowrap;
}

.sl-stat-hint.align-ok {
    color: #6ee7b7;
}

.sl-stat-attrib {
    color: #fcd34d;
    font-weight: 500;
    white-space: nowrap;
    max-width: 22em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gsm-stats,
.sl-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.gsm-stat,
.sl-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
}

.gsm-stat strong {
    color: #f3f4f6;
    font-weight: 600;
    font-size: 12px;
}

.sl-stat strong {
    color: #f3f4f6;
    font-weight: 400;
    font-size: 12px;
}

.sl-stat-mono,
.gsm-summary-stats {
    font-family: 'JetBrains Mono', monospace;
    color: #9ca3af;
}

.gsm-stat a,
.sl-stat a {
    color: #93c5fd;
    text-decoration: none;
    border-bottom: 1px dashed rgba(147, 197, 253, 0.4);
}

.gsm-stat a:hover,
.sl-stat a:hover {
    color: #bfdbfe;
}

.gsm-meta-divider,
.sl-meta-divider {
    width: 1px;
    height: 14px;
    background: #374151;
    flex-shrink: 0;
}

.sl-meta-line2 {
    flex-basis: 100%;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
}

.sl-meta-muted {
    color: #9ca3af;
}

.sl-meta-muted.align-ok {
    color: #6ee7b7;
}

.sl-meta-muted.align-warn {
    color: #fcd34d;
}

.sl-attribution {
    color: #fcd34d;
    font-weight: 500;
}

.sl-transmission-ok {
    color: #93c5fd !important;
}

/* ── 透镜三列主区 ── */
.sl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 12px 12px;
}

@media (max-width: 1100px) {
    .sl-grid { grid-template-columns: 1fr; }
}

.sl-col {
    background: #0a0c10;
    border: 1px solid #1f2937;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sl-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.sl-col-cn::before { background: rgba(221, 68, 68, 0.38); }
.sl-col-asia::before { background: rgba(167, 139, 250, 0.38); }
.sl-col-us::before { background: rgba(59, 130, 246, 0.38); }
.sl-col.dimmed { opacity: 0.55; }

.sl-col-head {
    padding: 10px 12px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.sl-col-head h2 {
    font-size: 13px;
    font-weight: 600;
    color: #d1d5db;
    margin: 0;
    letter-spacing: 0.02em;
}

.sl-badge {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 3px;
    border: 1px solid #374151;
    color: #9ca3af;
    font-weight: 500;
    flex-shrink: 0;
}

.sl-kpi {
    padding: 0 12px 8px;
}

.sl-kpi .pct {
    font-size: 24px;
    font-weight: 650;
    line-height: 1.15;
}

.sl-kpi .pct.sl-num {
    letter-spacing: -0.03em;
}

.sl-kpi .sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.35;
}

.sl-kpi .sub.trend {
    margin-top: 2px;
    font-size: 11px;
}

.sl-kpi .sub.trend.dayline {
    margin-top: 3px;
    font-size: 10px;
    color: #6b7280;
}

.sl-kpi .sub.trend.dayline .day-label {
    color: #6b7280;
    font-weight: 400;
}

.sl-kpi .sub.trend .sep {
    color: #4b5563;
}

.sl-kpi .sub.trend .sl-up { color: #f87171; }
.sl-kpi .sub.trend .sl-down { color: #4ade80; }
.sl-kpi .sub.trend.dayline .sl-up { color: #f87171; opacity: 0.82; }
.sl-kpi .sub.trend.dayline .sl-down { color: #4ade80; opacity: 0.82; }

.sl-chart-hint {
    padding: 0;
    font-size: 11px;
    color: #9ca3af;
    display: inline;
    line-height: 1.35;
}

.sl-chart-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 6px 12px 0;
}

.sl-chart-window {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}

.sl-chart-window select {
    background: #111827;
    color: #e5e7eb;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 11px;
    padding: 2px 6px;
    color-scheme: dark;
    cursor: pointer;
}

.sl-chart-window select:focus,
.sl-chart-window select:focus-visible {
    outline: 1px solid #6b7280;
    outline-offset: 1px;
}

.sl-chart {
    height: 160px;
    padding: 0 4px;
}

.sl-col .sl-meta {
    padding: 8px 12px 10px;
    border-top: 1px solid #1f2937;
    margin-right: 0;
}

.sl-col .sl-meta-title {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.sl-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #1f2937;
}

.sl-lists .sl-meta {
    border-top: none;
    min-width: 0;
}

.sl-lists .sl-meta + .sl-meta {
    border-left: 1px solid #1f2937;
}

.sl-meta--core .sl-meta-title {
    color: #c4b5fd;
}

.sl-core-leaders li {
    color: #a78bfa;
}

.sl-core-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 0 4px;
    border-radius: 3px;
    font-size: 9px;
    line-height: 1.4;
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.35);
    vertical-align: middle;
}

@media (max-width: 720px) {
    .sl-lists {
        grid-template-columns: 1fr;
    }
    .sl-lists .sl-meta + .sl-meta {
        border-left: none;
        border-top: 1px solid #1f2937;
    }
}

.sl-leaders {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sl-leaders li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.45);
    cursor: pointer;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

.sl-leaders li:hover .sl-leader-name {
    color: #93c5fd;
}

.sl-leader-main {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sl-leader-sym {
    color: #e5e7eb;
    font-size: 11px;
}

.sl-leader-pct {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
}

.sl-expand {
    margin: 6px 12px 10px;
    background: transparent;
    border: 1px dashed #374151;
    color: #9ca3af;
    border-radius: 3px;
    padding: 5px 8px;
    width: calc(100% - 24px);
    cursor: pointer;
    font-size: 11px;
    font-family: inherit;
}

.sl-expand:hover {
    color: #d1d5db;
    border-color: #4b5563;
}

.sl-constituents {
    display: none;
    padding: 0 12px 10px;
    max-height: 160px;
    overflow-y: auto;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
}

.sl-constituents.open { display: block; }

.sl-loading {
    padding: 32px;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

#sl-replay-chart { height: 200px; width: 100%; }

/* 高度由左侧「标题+图」决定；右侧榜绝对铺满同高，底边与时滞图对齐 */
.sl-replay-layout {
    position: relative;
    padding-right: 260px;
}
.sl-replay-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.sl-replay-main .sl-panel-hd {
    margin-bottom: 4px;
}
.sl-cn-ranks {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 248px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #1f2937;
    padding-left: 10px;
    overflow: hidden;
    box-sizing: border-box;
}
.sl-cn-ranks-hd {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin: 0 0 4px;
    min-height: 18px;
    flex: 0 0 auto;
}
.sl-cn-ranks-title {
    font-size: 12px;
    color: #d1d5db;
    font-weight: 500;
    line-height: 1.35;
}
.sl-cn-ranks-asof {
    font-size: 10px;
    color: #6b7280;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}
.sl-cn-ranks-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 4px;
    flex: 0 0 auto;
}
.sl-cn-ranks-tab {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #1f2937;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
}
.sl-cn-ranks-tab:hover { color: #d1d5db; border-color: #374151; }
.sl-cn-ranks-tab.active {
    color: #fff;
    background: #1e3a5f;
    border-color: #3b82f6;
}
.sl-cn-ranks-cols {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 6px;
    align-items: center;
    padding: 1px 2px 3px;
    margin-bottom: 1px;
    border-bottom: 1px solid #1f2937;
    font-size: 10px;
    color: #9ca3af;
    line-height: 1.35;
    font-weight: 500;
    flex: 0 0 auto;
}
.sl-cn-ranks-cols .sl-rank-pct {
    text-align: right;
    white-space: nowrap;
}
.sl-cn-ranks-sort {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 10px;
    font-weight: 500;
    color: #9ca3af;
    cursor: pointer;
    text-align: right;
    white-space: nowrap;
    line-height: inherit;
}
.sl-cn-ranks-sort:hover { color: #d1d5db; }
.sl-cn-ranks-sort.is-asc::after,
.sl-cn-ranks-sort.is-desc::after {
    content: '';
    display: inline-block;
    margin-left: 3px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    vertical-align: middle;
}
.sl-cn-ranks-sort.is-desc::after {
    border-top: 4px solid currentColor;
}
.sl-cn-ranks-sort.is-asc::after {
    border-bottom: 4px solid currentColor;
}
.sl-cn-ranks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}
.sl-cn-ranks-list li {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 6px;
    align-items: center;
    padding: 2px 2px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.45);
    font-size: 11px;
    line-height: 1.3;
    color: #d1d5db;
    cursor: pointer;
}
.sl-cn-ranks-list li:hover { background: rgba(59, 130, 246, 0.08); }
.sl-cn-ranks-list li.is-current {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}
.sl-cn-ranks-list .sl-rank-n {
    color: #6b7280;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 10px;
    text-align: right;
}
.sl-cn-ranks-list .sl-rank-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.sl-cn-ranks-list .sl-rank-k {
    display: inline-block;
    margin-left: 3px;
    padding: 0 1px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #6b7280;
    vertical-align: middle;
    user-select: none;
}
.sl-cn-ranks-list .sl-rank-k:hover {
    color: #3b82f6;
}
.sl-cn-ranks-list .sl-rank-pct {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    text-align: right;
    white-space: nowrap;
}
.sl-cn-ranks-empty {
    padding: 16px 4px;
    font-size: 11px;
    color: #6b7280;
    text-align: center;
}
@media (max-width: 900px) {
    .sl-replay-layout {
        padding-right: 0;
    }
    .sl-cn-ranks {
        position: static;
        width: 100%;
        max-width: none;
        border-left: none;
        border-top: 1px solid #1f2937;
        padding-left: 0;
        padding-top: 6px;
        margin-top: 8px;
        max-height: 220px;
    }
}

.sl-capital {
    padding: 0 12px 6px;
    font-size: 11px;
    color: #fcd34d;
    line-height: 1.35;
}

.sl-catalysts { margin-top: 8px; }

.sl-catalysts .tag {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    font-size: 11px;
    line-height: 1.35;
    font-family: inherit;
}

.sl-diffusion ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 100px;
    overflow-y: auto;
}

.sl-diffusion li {
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.45);
    color: #d1d5db;
    line-height: 1.4;
}

.sl-history table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.sl-history th {
    text-align: left;
    color: #9ca3af;
    font-weight: 500;
    font-size: 11px;
    padding: 4px 8px 4px 0;
    border-bottom: 1px solid #1f2937;
    font-family: inherit;
}

.sl-history td {
    padding: 5px 8px 5px 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.45);
    color: #d1d5db;
}

.sl-history td.sl-num,
.sl-history .delta-narrow,
.sl-history .delta-widen {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-variant-numeric: tabular-nums;
}

.sl-history .delta-narrow { color: #6ee7b7; }
.sl-history .delta-widen { color: #fcd34d; }

/* ── 涨跌色（与矩阵一致） ── */
.sl-up,
.ss-up {
    color: #d44;
}

.sl-down,
.ss-down {
    color: #00c853;
}

/* ── 扁平内容区（透镜：传导 / 扩散 / 复盘） ── */
.sl-panel {
    padding: 6px 16px 8px;
    border-bottom: 1px solid #1f2937;
    background: #0a0c10;
}

.sl-panel-hd {
    font-size: 12px;
    color: #d1d5db;
    margin: 0 0 6px;
    font-weight: 400;
    line-height: 1.35;
}

.sl-panel-note {
    color: #9ca3af;
    font-weight: 400;
    font-size: 11px;
}

/* ── 矩阵专用（保留在共用表以便一处维护色板） ── */
.gsm-legend-scale {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #6b7280;
}

.gsm-legend-item {
    color: #6b7280;
    font-size: 10px;
    white-space: nowrap;
}

.gsm-legend-bar {
    width: 100px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #00c853, #374151, #d44);
}

.gsm-chart-wrap {
    flex: 1;
    min-height: 0;
    padding: 4px 12px 0;
    overflow: auto;
}

#gsm-heatmap {
    width: 100%;
}

.gsm-summary {
    border-top: 1px solid #1f2937;
    padding: 6px 16px 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    min-height: 36px;
    flex-shrink: 0;
}

.gsm-summary.gsm-summary-hint {
    background: rgba(245, 158, 11, 0.05);
    border-top-color: rgba(245, 158, 11, 0.2);
}

.gsm-summary-hint-text {
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.5;
}

.gsm-summary-hint-text strong {
    color: #fcd34d;
    font-weight: 600;
}

.gsm-summary-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.gsm-summary-detail[hidden],
.gsm-summary-hint[hidden] {
    display: none !important;
}

.gsm-summary-title {
    font-weight: 600;
    color: #f3f4f6;
    font-size: 12px;
}

.gsm-summary-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.gsm-summary-actions a {
    text-decoration: none;
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
}

.gsm-summary-actions a:hover {
    background: rgba(59, 130, 246, 0.22);
}

.gsm-summary-actions .gsm-note-btn {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
}

.gsm-summary-actions .gsm-note-btn:hover {
    background: rgba(245, 158, 11, 0.22);
}
