.venues-header{
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.venues-headerInfo{
    align-items: center;
    gap: 16px;
}

.venues-header .headerIconBox{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: var(--sl-color-primary-600);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: none;
}

.venues-header .headerIcon{
    color: inherit;
    font-size: 1.25rem;
}

.venues-headerText{
    gap: 4px;
}

.venues-subtitle{
    color: #6b7280;
    font-size: 0.95rem;
}

#newVenueBtn::part(base){
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#newVenueBtn::part(label),
#newVenueBtn sl-icon{
    color: inherit;
}

#newVenueBtn::part(base):hover{
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

#newVenueBtn::part(base):active{
    transform: translateY(0);
}

#venues_base{
    min-height: 100vh;
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 82%);
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

.venues-body{
    gap: 24px;
    max-width: 1180px;
    width: calc(100% - 80px);
    align-self: center;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.venues-summaryRow{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.venues-filterCard{
    position: relative;
    background: linear-gradient(135deg, #eef4ff 0%, #dce8ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    color: #1f2937;
    min-height: 96px;
    outline: none;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}

.venues-filterCard:hover{
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.28);
}

.venues-filterCard:focus-visible{
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35), 0 20px 36px rgba(37, 99, 235, 0.16);
}

.venues-filterCard.is-active,
.venues-filterCard[aria-pressed="true"]{
    background: linear-gradient(135deg, #e2ecff 0%, #cddcff 100%);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 22px 40px rgba(37, 99, 235, 0.18);
}

.venues-filterCard:active{
    transform: translateY(0);
}

.venues-filterCount{
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--sl-color-primary-700);
    line-height: 1;
}

.venues-filterLabel{
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
}

.venues-contentCard{
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 32px 60px -40px rgba(15, 23, 42, 0.35);
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.venues-viewSwitch{
    align-self: flex-end;
    display: inline-flex;
    gap: 0;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.venues-viewSwitch sl-button::part(base){
    min-width: 52px;
    border-radius: 10px;
    border: none;
    color: #475569;
    background: transparent;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.venues-viewSwitch sl-button::part(label),
.venues-viewSwitch sl-button sl-icon{
    color: inherit;
}

.venues-viewSwitch sl-button[variant="primary"]::part(base){
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.venues-viewSwitch sl-button:not([variant="primary"])::part(base){
    color: #475569;
}

.venues-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    padding: 16px 24px 24px 24px;
    overflow: visible;
}

#venuesListBase{
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    flex-direction: column;
    width: 100%;
    overflow: auto;
}

#venuesListBase[hidden]{
    display: none !important;
}

#venuesListBase:not([hidden]){
    display: flex !important;
}

#venuesTable_wrapper,
#venuesListBase .dataTables_wrapper{
    flex: 1 1 auto;
    min-height: 0;
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#venuesListBase .dataTables_wrapper .dataTables_scrollHead{
    flex: 0 0 auto;
}

#venuesListBase .dataTables_wrapper .dataTables_scroll,
#venuesListBase .dataTables_wrapper .dataTables_scrollBody{
    flex: 1 1 auto;
    min-height: 0;
    height: 100% !important;
}

#venuesTable{
    height: 100%;
    width: 100% !important;
}

.venues-card{
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.45);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venues-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 32px 56px -26px rgba(15, 23, 42, 0.55);
    z-index: 5;
}

.venues-card:focus-within{
    z-index: 10;
}

.venues-card-media{
    height: 140px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(236, 72, 153, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.venues-cardMenu{
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
}

.venueCardMenu{
    position: relative;
    z-index: 20;
}

.venueCardMenu sl-menu::part(base){
    min-width: 150px;
}

.venueCardMenu sl-menu-item::part(base){
    padding: 10px 14px;
    font-size: 15px;
}

.venues-card-logo{
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.15);
    padding: 6px;
}

.venues-card-body{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.venues-card-name{
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.venues-card-location{
    font-size: 0.9rem;
    color: #64748b;
}

.venues-card-status{
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
}

.venues-listItem{
    align-items: center;
    gap: 14px;
}

.venues-listItemText{
    min-width: 0;
    flex: 1 1 auto;
}

.venues-listItemActions{
    margin-left: auto;
    display: inline-flex;
    align-items: center;
}



.marketPage-shell {
    min-height: 100vh;
}

.marketPage-toolbar{
    align-items: center;
    gap: 12px;
}

.marketPage-headerCard{
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.18);
}

.marketPage-avatar{
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #eff4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.marketPage-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketPage-headerText{
    gap: 6px;
}

.marketPage-title{
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.marketPage-meta{
    color: #64748b;
    font-size: 0.95rem;
}

.marketPage-details{
    display: grid;
    gap: 12px;
    min-width: 220px;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.marketPage-details strong{
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    letter-spacing: normal;
    text-transform: none;
}

.marketPage-contentWrap{
    flex: 1;
    width: 100%;
    min-height: 0;
    display: flex;
}

.marketPage-tabCard{
    flex: 1;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 32px 60px -40px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.marketPage-tabCard sl-tab-group::part(base){
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
}

.marketPage-tabCard sl-tab-group::part(nav){
    padding: 0 24px;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
    min-height: 64px;
}

.marketPage-tabCard sl-tab-group::part(body){
    flex: 1;
    padding: 24px 24px 20px 24px;
    overflow: auto;
}

.marketPage-tabPanel{
    padding: 0;
}

.marketPage-tabPanel::part(base){
    height: 100%;
    overflow: auto;
    display: block;
}

.marketPage-tabCard sl-tab::part(base){
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #475569;
    padding: 0 16px;
}

.marketPage-tabCard sl-tab::part(base):focus-visible{
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.marketPage-panelPlaceholder{
    color: #475569;
    font-size: 0.95rem;
}

.marketPage-alertsPanel,
.marketPage-documentsPanel,
.marketPage-notesPanel{
    margin-top: 8px;
}

.marketPage-sectionHeader{
    display: flex;
    align-items: center;
    gap: 16px;
}

.marketPage-sectionTitle{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.marketPage-sectionSub{
    margin: 2px 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.marketPage-marketsWrap{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px 24px;
    box-sizing: border-box;
}

.marketPage-viewSwitch{
    align-self: flex-start;
    display: inline-flex;
    gap: 0;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.marketPage-viewSwitch sl-button::part(base){
    min-width: 52px;
    border-radius: 10px;
    border: none;
    color: #475569;
    background: transparent;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.marketPage-viewSwitch sl-button[variant="primary"]::part(base){
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.marketPage-cardGrid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 18px;
    margin-top: 0;
}

.marketPage-marketCard{
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.3);
    background: #fafcff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.marketPage-marketCardHeader{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.marketPage-marketTags{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.marketPage-marketCardHeader h4{
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.marketPage-marketCardBody p{
    margin: 8px 0 0;
    color: #475569;
    font-size: 0.9rem;
}

.marketPage-marketMeta{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #475569;
    font-size: 0.85rem;
}

.marketPage-marketMeta i{
    margin-right: 6px;
    color: #2563eb;
}

.marketPage-listWrap{
    margin-top: 0;
    overflow-x: auto;
}

.marketPage-table{
    width: 100%;
    border-collapse: collapse;
}

.marketPage-table th,
.marketPage-table td{
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(226,232,240,0.7);
    font-size: 0.9rem;
    color: #1f2937;
}

.marketPage-table th{
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #64748b;
}

.marketPage-empty{
    margin-top: 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    font-style: italic;
}

.marketDetail-shell{
    padding: 32px 40px 48px 40px;
    gap: 24px;
    background: #f7f9ff;
    min-height: calc(100vh - 80px);
    flex:1;
}

.marketDetail-toolbar{
    align-items: center;
    gap: 12px;
}

.marketDetail-card{
    flex:1;
    background: #fff;
    height:calc(100vh - 100px);
    border-radius: 20px;
    padding: 20px 24px 24px;
    box-shadow: 0 32px 60px -40px rgba(15, 23, 42, 0.3);
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

#marketDetailTabs {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.marketDetail-heading{
    margin-bottom: 4px;
}

.marketDetail-titleGroup{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.marketDetail-header{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.marketDetail-subtitle{
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.marketDetail-title{
    margin: 0;
    font-size: 1.45rem;
    color: #0f172a;
}

.marketDetail-date{
    font-size: 0.95rem;
    color: #64748b;
}

.marketDetail-info{
    display: flex;
    gap: 20px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.marketDetail-info strong{
    display: block;
    font-size: 1rem;
    color: #0f172a;
    text-transform: none;
}

.marketDetail-body{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.marketDetail-body h3{
    margin: 0 0 8px;
    font-size: 1rem;
    color: #0f172a;
}

.marketDetail-body p{
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.marketDetail-mapPanel{
    height: 100%;
    min-height: 0;
    width: 100%;
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
}

.venues-table{
    width: 100%;
    border-collapse: separate;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
}

.venues-table thead{
    display: none;
}

.venues-table tbody{
    display: block;
    flex: 1 1 auto;
    min-height: 100%;
    width: 100%;
}

.venues-table tbody tr{
    display: table;
    width: 100%;
    table-layout: fixed;
}

.venues-table tbody tr{
    background: transparent;
}

.venues-table tbody tr:hover{
    background: transparent;
}

.venues-tableCell{
    padding: 0 !important;
}

.venueListItem_box{
    width: 100%;
    padding: 12px 28px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.65);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    background: transparent;
}

.venueListItem_box:last-child{
    border-bottom: none;
}

#venuesTable tbody tr:last-child .venueListItem_box{
    border-bottom: none;
}

.venueListItem_box:hover{
    background: rgba(229, 240, 255, 0.6);
    transform: translateY(-1px);
}

.venueListItem_logoBox{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    background: #e6f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.venueListItem_logoIcon{
    width:100%;
    height:100%;
    object-fit: cover;
}

.venues-listItem{
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0;
}

.venues-listItemText{
    justify-content: flex-start;
    align-items: flex-start;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.25;
}

.venues-listItemText > *{
    margin: 0;
}

.venues-listItemLocation{
    line-height: 1.25;
    color: inherit;
}

.venueListItem_name{
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
}

.venues-empty{
    text-align: center;
    padding: 48px 16px;
    color: #6b7280;
    font-size: 0.95rem;
}

.statusIconLive{
    color:#16a34a;
}

.statusIconConstruction{
    color:#f59e0b;
}
.statusIconArchive{
    color:#ef4444;
}

:root.sl-theme-dark #venues_base{
    background: linear-gradient(180deg, var(--mm-dark-bg, #0b1120) 0%, var(--mm-dark-surface, #0f172a) 100%);
}

:root.sl-theme-dark .venues-header .headerIconBox{
    background: rgba(148, 163, 184, 0.16);
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .venues-subtitle{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark #newVenueBtn::part(base){
    background: #1c2530;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.6);
}

:root.sl-theme-dark #newVenueBtn::part(base):hover{
    background: #273241;
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.7);
}

:root.sl-theme-dark .venues-filterCard{
    background: linear-gradient(135deg, var(--mm-dark-surface, #0f172a) 0%, var(--mm-dark-surface-2, #111827) 100%);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: var(--mm-dark-shadow, 0 20px 40px rgba(2, 6, 23, 0.6));
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .venues-filterCard:hover{
    background: var(--mm-dark-surface-2, #111827);
    border-color: rgba(148, 163, 184, 0.35);
}

:root.sl-theme-dark .venues-filterCard.is-active,
:root.sl-theme-dark .venues-filterCard[aria-pressed="true"]{
    background: linear-gradient(135deg, var(--mm-dark-surface-2, #111827) 0%, var(--mm-dark-surface-3, #1f2937) 100%);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.7);
}

:root.sl-theme-dark .venues-filterCount{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .venues-filterLabel{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .venues-contentCard{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: 0 32px 60px -40px rgba(2, 6, 23, 0.8);
}

:root.sl-theme-dark .venues-viewSwitch{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.4);
}

:root.sl-theme-dark .venues-viewSwitch sl-button::part(base){
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .venues-viewSwitch sl-button[variant="primary"]::part(base){
    background: var(--mm-dark-surface-3, #1f2937);
    color: var(--mm-dark-text, #f8fafc);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.6);
}

:root.sl-theme-dark .venues-card{
    background: linear-gradient(180deg, var(--mm-dark-surface, #0f172a) 0%, var(--mm-dark-surface-2, #111827) 100%);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: 0 24px 48px -28px rgba(2, 6, 23, 0.7);
}

:root.sl-theme-dark .venues-card-media{
    background: rgba(148, 163, 184, 0.12);
}

:root.sl-theme-dark .venues-card-logo{
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.5);
}

:root.sl-theme-dark .venues-card-name{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .venues-card-location{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .venues-card-status{
    color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark .venueListItem_box{
    border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark .venueListItem_box:hover{
    background: rgba(148, 163, 184, 0.12);
}

:root.sl-theme-dark .venueListItem_logoBox{
    background: rgba(148, 163, 184, 0.12);
}

:root.sl-theme-dark .venues-listItemText{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .venueListItem_name{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .venues-empty{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketPage-shell,
:root.sl-theme-dark .marketDetail-shell{
    background: linear-gradient(180deg, var(--mm-dark-bg, #0b1120) 0%, var(--mm-dark-surface, #0f172a) 100%);
}

:root.sl-theme-dark .marketPage-headerCard,
:root.sl-theme-dark .marketPage-tabCard,
:root.sl-theme-dark .marketDetail-card{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: var(--mm-dark-shadow, 0 20px 40px rgba(2, 6, 23, 0.6));
}

:root.sl-theme-dark .marketPage-avatar{
    background: rgba(148, 163, 184, 0.16);
}

:root.sl-theme-dark .marketPage-title,
:root.sl-theme-dark .marketDetail-heading,
:root.sl-theme-dark .marketDetail-title,
:root.sl-theme-dark .marketDetail-body h3{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .marketPage-meta,
:root.sl-theme-dark .marketPage-sectionSub,
:root.sl-theme-dark .marketPage-panelPlaceholder,
:root.sl-theme-dark .marketDetail-subtitle,
:root.sl-theme-dark .marketDetail-date,
:root.sl-theme-dark .marketDetail-body p{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketDetail-info strong{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #marketDetailTabs::part(nav){
    border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark #marketDetailTabs sl-tab::part(base){
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark #marketDetailTabs sl-tab[active]::part(base){
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #marketDetailTabs::part(base),
:root.sl-theme-dark #marketDetailTabs::part(body),
:root.sl-theme-dark #marketDetailTabs sl-tab-panel::part(base){
    background: transparent;
}

:root.sl-theme-dark .marketDetail-mapPanel{
    background: var(--mm-dark-surface, #0f172a);
}

:root.sl-theme-dark .marketDetail-shell .market_dates_card{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: 0 18px 36px -28px rgba(2, 6, 23, 0.7);
}

:root.sl-theme-dark .marketDetail-shell .market_card_header{
    background: #1C2530;
    color: var(--mm-dark-text, #f8fafc);
    border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark .marketDetail-shell .market_card_header sl-badge::part(base),
:root.sl-theme-dark .marketDetail-shell .market_vendor_count::part(base){
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.35);
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .marketDetail-shell .market_dates_card_body{
    color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark .marketDetail-shell .market_vendor_empty{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketDetail-shell .mv_vendor_name{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #marketDetailBackBtn::part(base){
    background: #1C2530;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.6);
}

:root.sl-theme-dark #marketDetailBackBtn::part(base):hover{
    background: #273241;
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.7);
}

:root.sl-theme-dark .marketPage-tabCard sl-tab-group::part(nav){
    border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark .marketPage-tabCard sl-tab::part(base){
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketPage-viewSwitch{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.4);
}

:root.sl-theme-dark .marketPage-viewSwitch sl-button::part(base){
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketPage-viewSwitch sl-button[variant="primary"]::part(base){
    background: var(--mm-dark-surface-3, #1f2937);
    color: var(--mm-dark-text, #f8fafc);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.6);
}

:root.sl-theme-dark .marketPage-marketCard{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: 0 18px 36px -28px rgba(2, 6, 23, 0.7);
}

:root.sl-theme-dark .marketPage-marketCardHeader h4{
    color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .marketPage-marketCardBody p,
:root.sl-theme-dark .marketPage-marketMeta{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketPage-marketMeta i{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketPage-table th,
:root.sl-theme-dark .marketPage-table td{
    color: var(--mm-dark-body, #cbd5e1);
    border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark .marketPage-table th{
    color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .marketPage-empty{
    color: var(--mm-dark-muted, #94a3b8);
}

@media (max-width: 1024px){
    .venues-header{
        margin: 0;
    }
    .venues-body{
        margin: 24px 28px 56px 28px;
        width: calc(100% - 56px);
    }
}

@media (max-width: 640px){
    .venues-header{
        flex-wrap: wrap;
        gap: 12px;
    }
    .venues-header .headerIconBox{
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .venues-body{
        margin: 16px 20px 48px 20px;
        width: calc(100% - 40px);
    }
    .venues-summaryRow{
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    .venueListItem_box{
        padding: 12px 20px;
    }
    .venues-viewSwitch{
        align-self: center;
    }
    .venues-grid{
        grid-template-columns: 1fr;
        padding: 16px;
    }
}
.venueDetails_iconBox{
    margin-left: auto;
    margin-right: auto;
}

.venueDetails_name{
    text-align: center;
}

.venueDetail_statusText{
    margin-left:10px;
}
.venueDetail_statusTextRow{
    margin-top: 10px;
}

.venueDetails_statusText{
    margin-left:10px;
}

.venueDetails_name{
    margin-top:10px;
}

.venueWizard-graphicsStep {
    display: grid;
    grid-template-columns: 300px 180px minmax(220px, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.venueWizard-graphicsMedia {
    display: contents;
}

.venueWizard-applicationColor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 96px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--sl-color-neutral-0);
    margin-top: 30px;
}

.venueWizard-applicationColorText {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.venueWizard-applicationColor h6,
.venueWizard-applicationColor h7 {
    margin: 0;
    text-align: left;
}

.venueWizard-applicationColor h6 {
    white-space: nowrap;
}

.venueWizard-applicationColor h7 {
    line-height: 1.3;
}

.venueWizard-mediaHint {
    display: block;
    width: 300px;
    margin: -2px 0 8px 0;
    white-space: nowrap;
    text-align: left;
}

#venueApplicationColorInput::part(form-control-input) {
    width: auto;
}

#venueApplicationColorInput {
    flex: 0 0 auto;
}

#venueApplicationColorInput::part(input) {
    display: none;
}

#wizard_splashImageBox{
    position: relative;
    width:240px;
    height:80px;
    border: 1px solid;
    border-color: var(--border-color);
    cursor: pointer;
    overflow: hidden;
}

.venueWizard-imageAction {
    width: 240px;
    min-height: 38px;
    margin-top: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--sl-color-neutral-0);
    color: var(--sl-color-primary-700);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.venueWizard-imageAction:hover:not(:disabled) {
    border-color: var(--sl-color-primary-500);
    background: var(--sl-color-primary-50);
}

.venueWizard-imageAction:disabled {
    cursor: wait;
    opacity: 0.72;
}

.venueWizard-imageAction--icon {
    width: 160px;
}

#wizard_iconBox{
    position: relative;
    width:80px;
    height:80px;
    border: 1px solid;
    border-color: var(--border-color);
    cursor: pointer;
    overflow: hidden;
}

#wizard_splashImageBoxSummary{
    position: relative;
    width:240px;
    height:80px;
    border: 1px solid;
    border-color: var(--border-color);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#wizard_iconBoxSummary{
    position: relative;
    width:80px;
    height:80px;
    border: 1px solid;
    border-color: var(--border-color);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#wizard_splashImageIcon{
    position: absolute;
    top:22px;
    left:111px;
}

#wizard_splashIconIcon{
    position: absolute;
    top:30px;
    left:30px;
}

.venueWizard-cropDialog::part(panel) {
    width: min(820px, calc(100vw - 32px));
    border-radius: 16px;
    overflow: hidden;
}

.venueWizard-cropDialog::part(header) {
    min-height: 0;
    padding: 0;
    border: 0;
}

.venueWizard-cropDialog::part(title),
.venueWizard-cropDialog::part(close-button) {
    display: none;
}

.venueWizard-cropDialog::part(body) {
    padding: 22px 24px 8px;
}

.venueWizard-cropDialog::part(footer) {
    padding: 14px 24px 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.venueWizard-cropDialog__shell {
    display: grid;
    gap: 16px;
}

.venueWizard-cropDialog__hero {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(191, 219, 254, 0.9);
    background: linear-gradient(135deg, #eef5ff 0%, #fff7fb 100%);
}

.venueWizard-cropDialog__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
}

.venueWizard-cropDialog__icon sl-icon {
    font-size: 20px;
}

.venueWizard-cropDialog__hero h3 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.venueWizard-cropDialog__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.venueWizard-cropDialog__description {
    margin: 2px 0 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.3;
}

.venueWizard-cropper {
    position: relative;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(45deg, rgba(148, 163, 184, 0.14) 25%, transparent 25%, transparent 75%, rgba(148, 163, 184, 0.14) 75%, rgba(148, 163, 184, 0.14)),
        linear-gradient(45deg, rgba(148, 163, 184, 0.14) 25%, transparent 25%, transparent 75%, rgba(148, 163, 184, 0.14) 75%, rgba(148, 163, 184, 0.14));
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    touch-action: none;
    user-select: none;
}

.venueWizard-cropper img {
    position: absolute;
    max-width: none;
    max-height: none;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.venueWizard-cropper:active img {
    cursor: grabbing;
}

.venueWizard-cropper__frame {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.56);
    pointer-events: none;
}

.venueWizard-cropDialog__controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.venueWizard-cropDialog__zoomLabel,
.venueWizard-cropDialog__zoomValue {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
#wizard_splashImageIconSummary{
    position: absolute;
    top:22px;
    left:111px;
}
#wizard_splashIconIconSummary{
    position: absolute;
    top:30px;
    left:30px;
}

.venueWizardDialog {
    --width: min(820px, calc(100vw - 32px));
}

.venueWizardDialog::part(panel) {
    border-radius: 14px;
    overflow: hidden;
    max-height: calc(100vh - 32px);
}

.venueWizardDialog::part(header) {
    align-items: center;
    min-height: 0;
    padding: 0;
}

.venueWizardDialog::part(title) {
    display: none;
}

.venueWizardDialog::part(close-button) {
    display: none;
}

.venueWizardDialog::part(body) {
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding: 30px 30px 0;
}

.venueWizardDialog::part(footer) {
    padding: 0;
}

#venueWizardDialog #smartwizard {
    border: 0;
}

#venueWizardDialog #smartwizard .nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 12px !important;
    position: relative;
}

#venueWizardDialog #smartwizard .nav::before {
    background: transparent;
    content: "";
    display: none;
}

#venueWizardDialog #smartwizard .nav-item {
    position: relative;
    z-index: 1;
}

#venueWizardDialog #smartwizard .nav-link {
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 10px !important;
    color: #64748b !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    position: static !important;
    text-align: left !important;
}

#venueWizardDialog #smartwizard.sw-theme-dots > .nav .nav-link::before,
#venueWizardDialog #smartwizard.sw-theme-dots > .nav .nav-link::after,
#venueWizardDialog #smartwizard.sw-theme-dots > .nav::before,
#venueWizardDialog #smartwizard.sw-theme-dots > .nav::after {
    display: none !important;
}

#venueWizardDialog #smartwizard.sw-theme-dots > .nav .nav-link {
    margin-top: 0 !important;
}

#venueWizardDialog #smartwizard .nav-link .num,
#venueWizardDialog #smartwizard .nav-link .num.text {
    align-items: center;
    background: #e5e7eb !important;
    border: 0 !important;
    border-radius: 999px;
    color: #64748b;
    display: flex !important;
    flex: 0 0 auto;
    font-size: 12px !important;
    font-weight: 800 !important;
    height: 24px !important;
    inset: auto !important;
    justify-content: center;
    line-height: 1;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    width: 24px !important;
}

#venueWizardDialog #smartwizard .nav-link.active,
#venueWizardDialog #smartwizard .nav-link.done,
#venueWizardDialog #smartwizard .nav-item.active .nav-link,
#venueWizardDialog #smartwizard .nav-item.done .nav-link {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.09), rgba(193, 53, 132, 0.07)) !important;
    border-color: rgba(37, 99, 235, 0.18) !important;
    color: #1f2937 !important;
}

#venueWizardDialog #smartwizard .nav-link.active .num,
#venueWizardDialog #smartwizard .nav-link.active .num.text,
#venueWizardDialog #smartwizard .nav-link.done .num,
#venueWizardDialog #smartwizard .nav-link.done .num.text,
#venueWizardDialog #smartwizard .nav-item.active .nav-link .num,
#venueWizardDialog #smartwizard .nav-item.done .nav-link .num {
    background: #0b4f91;
    border-color: #0b4f91;
    box-shadow: none;
    color: #fff;
}

.venueWizard-stepLabel {
    font-size: 11px !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
}

.venueWizard-hero {
    align-items: center !important;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(193, 53, 132, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 12px;
    display: grid !important;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0;
    min-height: 82px;
    padding: 12px 18px;
}

.venueWizard-heroIcons {
    align-items: center;
    display: flex;
}

.venueWizard-heroIcons span {
    align-items: center;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.65);
    display: inline-flex;
    font-size: 18px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.venueWizard-heroIcons span:first-child {
    color: #1877f2;
}

.venueWizard-heroIcons span:last-child {
    color: #0b4f91;
    margin-left: -10px;
}

.venueWizard-hero h3 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 760;
    line-height: 1.2;
    margin: 0 0 4px;
    max-width: 520px;
}

.venueWizard-hero p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    max-width: 580px;
}

#venueWizardDialog #smartwizard .tab-content {
    border: 0;
    padding: 0;
}

#venueWizardDialog #smartwizard .tab-pane {
    padding: 0;
}

#venueWizardDialog .venueWizard-step--basic {
    min-height: 0;
}

.venueWizard-formCard {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.venueWizard-stepGrid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(210px, .8fr) minmax(0, 1.4fr);
}

.venueWizard-infoCards {
    display: grid;
    gap: 12px;
}

.venueWizard-benefitCard {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    display: grid;
    gap: 8px;
    min-height: 124px;
    padding: 14px;
}

.venueWizard-benefitCard i {
    color: #2563eb;
    font-size: 20px;
}

.venueWizard-benefitCard span {
    color: #1f2937;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
}

.venueWizard-benefitCard p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.venueWizard-fieldStack {
    display: grid;
    gap: 10px;
}

#venueWizardDialog #venueNameInput::part(form-control-label),
#venueWizardDialog #venueDescriptionInput::part(form-control-label) {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

#venueWizardDialog #venueNameInput::part(base),
#venueWizardDialog #venueDescriptionInput::part(base) {
    border-radius: 10px;
}

#venueWizardDialog #venueNameInput::part(input),
#venueWizardDialog #venueDescriptionInput::part(textarea) {
    color: #1f2937;
    font-size: 14px;
}

#venueWizardDialog #venueDescriptionInput::part(textarea) {
    height: 160px;
    max-height: 160px;
    overflow-y: auto;
    resize: none;
}

#venueWizardDialog #venueDescriptionInput::part(form-control-help-text) {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.wizardBtn {
    margin: 0;
}

#venueWizardDialog .wizardBtn::part(base) {
    align-items: center;
    border-radius: 999px;
    box-shadow: none;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    min-width: 136px;
    padding: 0 22px;
}

#venueWizardDialog .wizardBtn[variant="default"]::part(base) {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}

#venueWizardDialog .wizardBtn[variant="default"]::part(base):hover {
    background: #f8fafc;
    border-color: #9ca3af;
}

#venueWizardDialog .wizardBtn[variant="primary"]::part(base) {
    background: #00488b;
    border: 1px solid #00488b;
    color: #ffffff;
}

#venueWizardDialog .wizardBtn[variant="primary"]::part(base):hover {
    background: #003b73;
    border-color: #003b73;
}

#venueWizardDialog .wizardBtn[disabled]::part(base) {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #9ca3af;
    opacity: 1;
}

#venueWizardDialog .toolbar,
#venueWizardDialog .sw-toolbar {
    border-top: 1px solid #e5e7eb;
    margin: 12px -30px 0;
    padding: 10px 30px 14px;
    background: rgba(248, 250, 252, 0.8);
}

.venueWizard-footer {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.venueWizard-footerActions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    justify-content: flex-end;
}

.wizardInstructs {
    color: var(--sl-color-primary-600);
    font-size: 12px;
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 720px) {
    .venueWizardDialog::part(header) {
        padding: 0;
    }

    .venueWizardDialog::part(body) {
        padding: 20px 20px 0;
    }

    #venueWizardDialog #smartwizard .nav {
        gap: 6px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #venueWizardDialog #smartwizard .nav-link .num,
    #venueWizardDialog #smartwizard .nav-link .num.text {
        height: 24px;
        width: 24px;
    }

    #venueWizardDialog #smartwizard .nav::before {
        top: 17px;
    }

    .venueWizard-hero {
        align-items: center;
        padding: 16px;
    }

    .venueWizard-hero h3 {
        font-size: 24px;
    }

    .venueWizard-stepGrid {
        grid-template-columns: 1fr;
    }

    #venueWizardDialog .toolbar,
    #venueWizardDialog .sw-toolbar {
        margin-left: -20px;
        margin-right: -20px;
        padding: 14px 20px;
    }

    .venueWizard-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .venueWizard-footerActions {
        flex-wrap: wrap;
    }
}

.wizardSummary_boldText{
    font-weight: 900;
}

.wizardSummary_text{
    margin-left: 10px;
}

.venueWizard-summaryLayout{
    min-height: 301px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) minmax(240px, 1fr) minmax(120px, 0.7fr);
    gap: 24px;
    align-items: start;
}

.venueWizard-summaryText{
    min-width: 0;
}

.venueWizard-summaryMedia{
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.venueWizard-summaryMedia h6{
    margin: 0 0 8px 0;
}

.venueWizard-summaryLocationRow{
    flex-wrap: wrap;
    row-gap: 4px;
}

@media (max-width: 1200px){
    .venueWizard-summaryLayout{
        grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.9fr);
    }
}

@media (max-width: 860px){
    .venueWizard-summaryLayout{
        grid-template-columns: 1fr;
    }
}

#marketDetailTabs sl-tab-panel[name="shifts"]::part(base) {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 295px) !important;
}

#marketDetailTabs sl-tab-panel[name="details"]::part(base) {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#marketDetailTabs sl-tab-panel[name="map"]::part(base) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1 1 auto;
    width: 100%;
}

#marketDetailTabs sl-tab-panel[active] {
    flex: 1 1 auto;
    min-height: 0;
}

#marketDetailTabs sl-tab-panel[active]::part(base) {
    height: 100%;
    min-height: 0;
    width: 100%;
}

#marketDetailTabs::part(base),
#marketDetailTabs::part(body) {
    width: 100%;
}

#marketDetailTabs sl-tab-panel[active] {
    width: 100%;
}

.marketDetail-mapPanel .market-map-layout {
    height: 100%;
    min-height: 0;
    max-height: 100%;
}

#market_dash {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding: 4px 0 12px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.marketDetail-shell .market_dates_card {
    flex: 1 1 260px;
    max-width: 320px;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.3);
}

.marketDetail-shell .market_card_header {
    height: auto;
    padding: 10px 14px;
    line-height: normal;
    text-align: left;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.marketDetail-shell .market_card_header sl-icon {
    color: inherit;
}

.marketDetail-shell .market_card_header sl-badge::part(base),
.marketDetail-shell .market_vendor_count::part(base) {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.marketDetail-shell .market_dates_card_body {
    flex: 1 1 auto;
    margin-left: 0;
    padding: 12px 16px 16px;
    height: auto;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#marketDetailBackBtn::part(base) {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    gap: 8px;
}

#marketDetailBackBtn::part(label),
#marketDetailBackBtn sl-icon {
    color: inherit;
}

#marketDetailBackBtn::part(base):hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

#marketDetailBackBtn::part(base):active {
    transform: translateY(0);
}

#venueBase {
    background: white;
    margin: 20px;
    flex: 1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border:1px solid rgba(221, 229, 239, 0.9)
}

#venue_headerSection{
    height:200px;
}

#venue_dataSection{
    flex:1;

}

#marketPageBackBtn{
    margin: 20px;
}

#marketPageShell{
    background: #FAFAFB;
}

:root.sl-theme-dark #marketPageShell{
    background: linear-gradient(180deg, var(--mm-dark-bg, #0b1120) 0%, var(--mm-dark-surface, #0f172a) 100%);
}

:root.sl-theme-dark #venueBase{
    background: var(--mm-dark-surface, #0f172a);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    box-shadow: var(--mm-dark-shadow, 0 20px 40px rgba(2, 6, 23, 0.6));
}

:root.sl-theme-dark #venue_headerSection{
    border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark #venue_dataSection{
    background: transparent;
}

:root.sl-theme-dark .marketPage-shell sl-tag::part(base){
    background: rgba(148, 163, 184, 0.16);
    border-color: rgba(148, 163, 184, 0.24);
    color: #e2e8f0;
}

:root.sl-theme-dark sl-button.market-create-btn::part(base){
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
    color: #e2e8f0;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.5);
}

:root.sl-theme-dark sl-button.market-create-btn::part(base):hover{
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.6);
}
