
.dz-edu-overlay{
 position:fixed;
 inset:0;
 z-index:2147483645;
 background:rgba(0,0,0,.65);
 display:flex;
 align-items:center;
 justify-content:center;
 padding:18px;
}
.dz-edu-panel{
 width:min(900px,100%);
 max-height:90dvh;
 overflow:auto;
 background:#fff;
 color:#18352c;
 border-radius:20px;
 padding:26px;
 box-shadow:0 20px 70px #0005;
}
.dz-edu-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:15px;
}
.dz-edu-header h2{margin:0}
.dz-edu-close{
 border:1px solid #d1d5db;
 border-radius:9px;
 padding:9px 15px;
 background:white;
 cursor:pointer;
}
.dz-edu-intro{
 color:#64748b;
 margin:18px 0;
}
.dz-edu-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:15px;
}
.dz-edu-card{
 border:1px solid #dce7e1;
 background:#f8fbf9;
 border-radius:14px;
 padding:18px;
}
.dz-edu-card h3{
 font-size:16px;
 margin:0 0 9px;
}
.dz-edu-card p{
 font-size:14px;
 line-height:1.5;
 color:#64748b;
 margin:0;
}
.dz-edu-note{
 margin-top:20px;
 font-size:13px;
 color:#64748b;
}
@media(max-width:650px){
 .dz-edu-panel{padding:17px}
 .dz-edu-grid{grid-template-columns:1fr}
}


/* DOG ZEN — Educazione cinofila, layout a schede */
.dz-edu-panel-v2 {
 width:min(1040px,100%);
 max-height:min(88dvh,900px);
 padding:24px;
}

.dz-edu-tabs-v2 {
 display:flex;
 gap:8px;
 flex-wrap:wrap;
 margin:22px 0 18px;
 padding:6px;
 background:#f1f5f3;
 border-radius:14px;
}

.dz-edu-tab-v2 {
 flex:1 1 150px;
 min-height:44px;
 border:0;
 border-radius:10px;
 background:transparent;
 color:#29483d;
 font-weight:700;
 cursor:pointer;
 padding:10px 16px;
}

.dz-edu-tab-v2.is-active {
 background:#fff;
 color:#14543c;
 box-shadow:0 2px 10px #00000012;
}

.dz-edu-view-v2 {
 min-height:220px;
 padding:8px 2px 20px;
}

.dz-edu-view-v2[hidden] {
 display:none!important;
}

.dz-edu-view-v2 h3 {
 margin:0 0 16px;
}

.dz-edu-view-v2 button,
.dz-edu-view-v2 input,
.dz-edu-view-v2 select,
.dz-edu-view-v2 textarea {
 font:inherit;
}

#dz-edu-create-lesson {
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:14px!important;
 align-items:start;
}

#dz-edu-create-lesson > * {
 min-width:0;
 margin:0!important;
}

#dz-edu-create-lesson label {
 display:grid;
 gap:6px;
}

#dz-edu-create-lesson input,
#dz-edu-create-lesson select,
#dz-edu-create-lesson textarea {
 box-sizing:border-box;
 width:100%;
 min-height:44px;
 padding:10px 12px;
 border:1px solid #dce4df;
 border-radius:10px;
}

#dz-edu-create-lesson textarea {
 min-height:100px;
}

#dz-edu-create-lesson > button[type="submit"],
#dz-edu-create-lesson > p {
 grid-column:1/-1;
}

@media(max-width:700px) {
 .dz-edu-panel-v2 {
  padding:16px;
  max-height:94dvh;
 }
 #dz-edu-create-lesson {
  grid-template-columns:1fr;
 }
 #dz-edu-create-lesson > * {
  grid-column:1/-1;
 }
}
