.smpt-location-name{
    text-align: center;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}
/* Underline tabs inside the widget. `all: unset` keeps theme button styles out.
   Set --smpt-tab-accent on .smpt-table-wrap / .smpt-card-section to change the accent (default dark gray). */
.smpt-switcher-tabs-wrap{
    display: flex;
    align-items: stretch;
    /* Centered, and only as wide as the tab labels so the baseline stops at the last one. */
    width: fit-content;
    max-width: 100%;
    align-self: center;
    margin-inline: auto;
    box-sizing: border-box;
    box-shadow: inset 0 -1px 0 #ddd;
}
.smpt-card-section .smpt-switcher-tabs-wrap{
    margin-bottom: 1rem;
}
.smpt-switcher-tabs{
    position: relative;
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}
.smpt-switcher-tabs::-webkit-scrollbar{
    display: none;
}
/* Overflowing tabs can be dragged with the mouse (touch scrolls natively); see smpt_switcher.js. */
.smpt-switcher-tabs-wrap.smpt-overflowing .smpt-switcher-tabs{
    cursor: grab;
}
.smpt-switcher-tabs.smpt-dragging,
.smpt-switcher-tabs.smpt-dragging .smpt-switcher-tab{
    cursor: grabbing;
    user-select: none;
}
.smpt-switcher-tabs .smpt-switcher-tab{
    all: unset;
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
    color: #5f6368;
    background: transparent;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
/* Themes often style button:hover/:focus/:active (e.g. a colored background); pin them down. */
.smpt-switcher-tabs .smpt-switcher-tab:hover,
.smpt-switcher-tabs .smpt-switcher-tab:focus,
.smpt-switcher-tabs .smpt-switcher-tab:active{
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    color: #3e3e3e;
}
.smpt-switcher-tabs .smpt-switcher-tab.smpt-active-tab,
.smpt-switcher-tabs .smpt-switcher-tab.smpt-active-tab:hover,
.smpt-switcher-tabs .smpt-switcher-tab.smpt-active-tab:focus{
    color: var(--smpt-tab-accent, #3e3e3e);
    border-bottom-color: var(--smpt-tab-accent, #3e3e3e);
}
.smpt-switcher-tabs .smpt-switcher-tab:focus-visible{
    outline: 2px solid var(--smpt-tab-accent, #3e3e3e);
    outline-offset: -2px;
}
/* A panel stands in for the widget's own flex column. */
.smpt-switcher-panel{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.smpt-switcher-panel[hidden]{
    display: none;
}
.smpt-card-section[data-smpt-switcher] .smpt-switcher-panel{
    gap: 0.5rem;
}
