/* Chart type menu (app/chart-types.js) */

.ct-back { position: fixed; inset: 0; z-index: 80; }

.ct-menu {
    position: fixed;
    width: 230px;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    font: 14px/1.2 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif;
}

.ct-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 38px;
    padding: 0 10px 0 6px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.ct-item:hover, .ct-item:focus-visible { background: var(--surface-2); outline: none; }
.ct-item[aria-checked="true"] { background: var(--text); color: var(--surface); }
.ct-icon { flex: none; display: grid; width: 28px; height: 28px; }
.ct-icon svg { width: 28px; height: 28px; }
.ct-item[aria-checked="true"] .ct-icon circle[fill="var(--surface)"] { fill: var(--text); }

.ct-sep { height: 1px; margin: 6px 4px; border: 0; background: var(--border); }
