/* Panel-only additions on top of the copied admin style.css.
 * Keep minimal — everything else must come from style.css / custom-style.css
 * so the panel visually matches app.jsonschemaapp.com/admin.
 */

/* Platform switcher in the navbar */
.platform-switcher {
    position: relative;
}
.platform-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    min-height: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 150ms, background 150ms;
}
.platform-switcher__btn:hover {
    border-color: #6366f1;
    background: #f9fafb;
}
.platform-switcher__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: #6366f1;
    flex-shrink: 0;
}
.platform-switcher__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    min-width: 210px;
    padding: 6px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    z-index: 50;
    display: none;
}
.platform-switcher.is-open .platform-switcher__menu {
    display: block;
}
.platform-switcher__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #1f2937;
    font-size: 13px;
    text-decoration: none;
    transition: background 120ms;
    cursor: pointer;
}
.platform-switcher__item:hover {
    background: #f3f4f6;
    color: #1f2937;
}
.platform-switcher__item.is-active {
    background: rgba(99, 102, 241, 0.1);
    color: #4338ca;
    font-weight: 500;
}

/* Platform badge chip used in tables and breakdowns */
.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    white-space: nowrap;
}
.platform-chip__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.9;
}

/* Stat card breakdown row (appears under numbers when All is selected) */
.stat-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.stat-breakdown__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}
.stat-breakdown__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}

/* Definition list used on store-view */
.kv-list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 16px;
}
.kv-list dt {
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 500;
}
.kv-list dd {
    color: #111827;
    font-size: 13.5px;
    margin: 0;
    word-break: break-word;
}
