.group-v6-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:17px;
}

.group-v6-card{
padding:19px;
border:1px solid var(--border);
border-radius:19px;
background:#fff;
box-shadow:var(--shadow);
}

.group-v6-card>header{
display:grid;
grid-template-columns:70px 1fr auto;
gap:13px;
align-items:center;
}

.group-day{
padding:10px;
border-radius:14px;
background:linear-gradient(
135deg,
var(--blue-soft),
var(--purple-soft)
);
text-align:center;
}

.group-day span,
.group-day strong{
display:block;
}

.group-day span{
font-size:8px;
font-weight:850;
text-transform:uppercase;
color:var(--blue);
}

.group-day strong{
margin-top:4px;
font-size:18px;
}

.group-title>span{
font-size:8px;
font-weight:900;
color:var(--blue);
}

.group-title h3{
margin:4px 0;
font-size:16px;
}

.group-title p{
margin:0;
font-size:9px;
color:var(--muted);
}

.group-v6-card>header>b{
padding:6px 8px;
border-radius:8px;
background:#f1f4f9;
font-size:8px;
color:#536075;
}

.group-meta{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:9px;
margin:15px 0;
}

.group-meta div,
.capacity-panel div{
padding:11px;
border-radius:12px;
background:#f8faff;
}

.group-meta span,
.group-meta strong,
.capacity-panel span,
.capacity-panel strong{
display:block;
}

.group-meta span,
.capacity-panel span{
font-size:8px;
color:var(--muted);
}

.group-meta strong{
margin-top:4px;
font-size:9px;
}

.capacity-panel{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:9px;
}

.capacity-panel strong{
font-size:18px;
}

.capacity-panel .full{
background:#ffe7e7;
color:var(--red);
}

.group-v6-card footer{
display:flex;
justify-content:space-between;
align-items:center;
gap:10px;
margin-top:14px;
padding-top:13px;
border-top:1px solid var(--border);
}

.group-type{
padding:6px 9px;
border-radius:999px;
background:var(--blue-soft);
color:var(--blue);
font-size:8px;
font-weight:850;
}

.group-v6-card footer>div{
display:flex;
gap:10px;
align-items:center;
}

.group-v6-card footer a,
.group-v6-card footer button{
padding:0;
border:0;
background:none;
font-size:9px;
font-weight:850;
text-decoration:none;
cursor:pointer;
color:var(--blue);
}

.group-v6-card footer button{
color:var(--red);
}

.group-v6-card footer form{
margin:0;
}

.group-v6-form{
display:grid;
gap:17px;
}

.studio-card{
padding:20px;
border:1px solid var(--border);
border-radius:19px;
background:#fff;
box-shadow:var(--shadow);
}

.studio-card>header{
display:flex;
gap:11px;
align-items:center;
margin-bottom:17px;
}

.studio-card>header>span{
width:38px;
height:38px;
display:grid;
place-items:center;
border-radius:12px;
background:var(--blue-soft);
color:var(--blue);
font-weight:900;
}

.studio-card>header h3{
margin:0;
}

.studio-card>header p{
margin:4px 0 0;
font-size:9px;
color:var(--muted);
}

.group-form-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}

.group-form-grid label{
display:grid;
gap:6px;
}

.group-form-grid .wide{
grid-column:span 2;
}

.group-form-grid span{
font-size:9px;
font-weight:800;
color:#536075;
}

.group-form-grid input,
.group-form-grid select{
width:100%;
padding:10px;
border:1px solid var(--border);
border-radius:10px;
background:#fff;
}

@media(max-width:950px){
.group-v6-grid{
grid-template-columns:1fr;
}
}

@media(max-width:750px){
.group-meta,
.capacity-panel,
.group-form-grid{
grid-template-columns:1fr;
}

.group-form-grid .wide{
grid-column:auto;
}
}
