
/* GML Media Toolkit V10 utilities */
.v10-output{
  min-height:180px;
  width:100%;
  padding:16px;
  border:1px solid #dfe4ee;
  border-radius:14px;
  background:#fbfcff;
  color:#283246;
  font:500 13px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  resize:vertical;
}
.v10-output.tall{min-height:300px}
.v10-preview{
  min-height:260px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px dashed #d8deea;
  border-radius:18px;
  background:
    linear-gradient(45deg,#f4f6fa 25%,transparent 25%) 0 0/20px 20px,
    linear-gradient(-45deg,#f4f6fa 25%,transparent 25%) 0 10px/20px 20px,
    linear-gradient(45deg,transparent 75%,#f4f6fa 75%) 10px -10px/20px 20px,
    linear-gradient(-45deg,transparent 75%,#f4f6fa 75%) -10px 0/20px 20px,
    #fff;
}
.v10-preview img,.v10-preview canvas{max-width:100%;max-height:540px;display:block}
.v10-preview-card{
  width:min(92%,650px);
  min-height:180px;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(48,55,83,.14);
}
.v10-inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.v10-inline-actions .primary-btn,.v10-inline-actions .secondary-btn,.v10-inline-actions .mini-btn{min-height:46px}
.v10-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v10-color-row{display:grid;grid-template-columns:1fr 80px;gap:10px;align-items:center}
.v10-color-row input[type=color]{width:100%;height:48px;padding:4px;border:1px solid #dfe4ee;border-radius:12px;background:#fff}
.v10-range-row{display:grid;grid-template-columns:minmax(0,1fr) 62px;gap:10px;align-items:center}
.v10-range-value{padding:9px;border-radius:10px;background:#f5f6fa;text-align:center;font-size:11px;font-weight:800;color:#667086}
.v10-code-preview{
  min-height:160px;
  border-radius:18px;
  border:1px solid #e2e6ef;
  padding:18px;
  background:#121827;
  color:#eaf0ff;
  font:500 12px/1.7 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  white-space:pre-wrap;
  overflow:auto;
}
.v10-gradient-preview{height:260px;border-radius:22px;border:1px solid rgba(60,70,110,.12);box-shadow:0 22px 55px rgba(43,51,79,.12)}
.v10-result-list{display:grid;gap:9px}
.v10-result-line{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 13px;border:1px solid #e4e8f0;border-radius:12px;background:#fff}
.v10-result-line code{overflow-wrap:anywhere;font-size:11px}
.v10-result-line button{flex:0 0 auto}
.v10-mono-input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important}
.p1-field textarea{width:100%;min-height:130px;padding:13px 14px;border:1px solid #dfe4ee;border-radius:12px;resize:vertical;font:500 12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
@media(max-width:640px){.v10-kv,.v10-color-row,.v10-range-row{grid-template-columns:1fr}.v10-preview{min-height:210px}}

@media(min-width:851px){
  .gml-header-nav{gap:3px!important}
  .gml-header-nav .gml-nav-dropdown,.gml-header-nav .gml-nav-home{padding-left:10px!important;padding-right:10px!important}
  #gmlMegaAll .gml-mega-container{max-height:calc(100vh - 105px);overflow:auto}
  #gmlMegaDeveloper .gml-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1180px) and (min-width:851px){
  .gml-header-nav .gml-nav-dropdown,.gml-header-nav .gml-nav-home{font-size:10.5px!important;padding-left:7px!important;padding-right:7px!important}
}
