/* Reception Display admin UI */
.ezm-ss-admin{
  --ezm-blue:#2563eb;
  --ezm-blue-dark:#1d4ed8;
  --ezm-blue-soft:#eff6ff;
  --ezm-red:#ef4444;
  --ezm-red-dark:#dc2626;
  --ezm-red-soft:#fff1f2;
  --ezm-border:#e5eaf3;
  --ezm-muted:#64748b;
  --ezm-text:#0f172a;
  --ezm-card:#ffffff;
}
.ezm-ss-admin .ezm-ss-page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin:18px 0 18px;
}
.ezm-ss-admin .ezm-ss-title-block h1{
  margin:0 0 6px;
  font-size:28px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--ezm-text);
}
.ezm-ss-admin .ezm-ss-title-block .description{
  margin:0;
  color:var(--ezm-muted);
  font-size:14px;
}
.ezm-ss-admin .ezm-ss-head-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.ezm-ss-admin .ezm-ss-toggle-card{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--ezm-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.045);
  cursor:pointer;
}
.ezm-ss-admin .ezm-ss-toggle-card strong{
  display:block;
  color:#111827;
  font-size:13px;
  line-height:1.15;
}
.ezm-ss-admin .ezm-ss-toggle-card small{
  display:block;
  margin-top:2px;
  color:var(--ezm-muted);
  font-size:11.5px;
  line-height:1.2;
}
.ezm-ss-admin .em-switch{position:relative;display:inline-block;width:44px;height:24px;flex:0 0 auto}
.ezm-ss-admin .em-switch input{opacity:0;width:0;height:0}
.ezm-ss-admin .em-slider{position:absolute;cursor:pointer;inset:0;background:#cbd5e1;transition:.2s;border-radius:999px}
.ezm-ss-admin .em-slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;transition:.2s;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.ezm-ss-admin .em-switch input:checked + .em-slider{background:#10b981}
.ezm-ss-admin .em-switch input:checked + .em-slider:before{transform:translateX(20px)}

.ezm-ss-admin .em-grid{display:grid;grid-template-columns:minmax(540px,1fr) minmax(430px,.86fr);gap:18px;align-items:start}
.ezm-ss-admin .em-grid.two{grid-template-columns:1fr 1fr;gap:14px}
.ezm-ss-admin .em-col{display:flex;flex-direction:column;gap:18px;min-width:0}
.ezm-ss-admin .em-card{
  background:var(--ezm-card);
  border:1px solid var(--ezm-border);
  border-radius:18px;
  box-shadow:0 12px 34px rgba(15,23,42,.045);
  padding:18px;
}
.ezm-ss-admin .em-card-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:17px;
  font-weight:800;
  color:var(--ezm-text);
  padding-bottom:13px;
  margin:0 0 16px;
  border-bottom:1px solid #eef2f7;
  letter-spacing:-.01em;
}
.ezm-ss-admin .em-space-between{justify-content:space-between}
.ezm-ss-admin fieldset{border:0;margin:0;padding:0;min-width:0}
.ezm-ss-admin .em-field{margin-bottom:14px}
.ezm-ss-admin .em-field:last-child{margin-bottom:0}
.ezm-ss-admin .em-field label{display:block;font-weight:700;color:#1f2937;margin:0 0 7px;font-size:13.5px}
.ezm-ss-admin .em-desc{color:var(--ezm-muted);font-size:12.5px;line-height:1.45;margin-top:6px}
.ezm-ss-admin .ezm-ss-card-desc{margin:-4px 0 12px}
.ezm-ss-admin .em-field input[type="text"],
.ezm-ss-admin .em-field input[type="number"],
.ezm-ss-admin .em-field textarea{
  width:100%;
  max-width:100%;
  min-height:44px;
  box-sizing:border-box;
  border:1px solid #dbe3ef;
  border-radius:12px;
  padding:10px 13px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 1px 2px rgba(15,23,42,.02);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.ezm-ss-admin .em-field textarea{min-height:82px;resize:vertical;line-height:1.45}
.ezm-ss-admin .em-field input[type="text"]:focus,
.ezm-ss-admin .em-field input[type="number"]:focus,
.ezm-ss-admin .em-field textarea:focus{
  border-color:#60a5fa;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
  outline:none;
}
.ezm-ss-admin code{background:#f1f5f9;border-radius:8px;padding:2px 7px;color:#475569}
.ezm-ss-admin .button,
.ezm-ss-admin .button-primary,
.ezm-ss-admin input.button-primary{
  min-height:40px;
  border-radius:12px!important;
  padding:8px 15px!important;
  font-weight:800!important;
  box-shadow:none!important;
  line-height:1.2!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.ezm-ss-admin .button-primary,
.ezm-ss-admin input.button-primary,
.ezm-ss-admin #ezm-ss-add,
.ezm-ss-admin .ezm-ss-empty-add,
.ezm-ss-admin .ezm-ss-save-top{
  background:var(--ezm-blue)!important;
  border-color:var(--ezm-blue)!important;
  color:#fff!important;
}
.ezm-ss-admin .button-primary:hover:not(:disabled),
.ezm-ss-admin input.button-primary:hover:not(:disabled),
.ezm-ss-admin #ezm-ss-add:hover:not(:disabled),
.ezm-ss-admin .ezm-ss-empty-add:hover:not(:disabled),
.ezm-ss-admin .ezm-ss-save-top:hover:not(:disabled){
  background:var(--ezm-blue-dark)!important;
  border-color:var(--ezm-blue-dark)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.18)!important;
  transform:translateY(-1px);
}
.ezm-ss-admin .ezm-ss-clear-all{
  border-color:#fecaca!important;
  background:var(--ezm-red-soft)!important;
  color:var(--ezm-red-dark)!important;
}
.ezm-ss-admin .ezm-ss-clear-all:hover:not(:disabled){
  background:#fee2e2!important;
  border-color:#fca5a5!important;
  color:#991b1b!important;
  box-shadow:0 10px 22px rgba(239,68,68,.14)!important;
  transform:translateY(-1px);
}
.ezm-ss-admin .button:disabled,
.ezm-ss-admin .button-primary:disabled,
.ezm-ss-admin input.button-primary:disabled{opacity:.52!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}

/* Media */
.ezm-ss-admin .ezm-ss-media-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ezm-ss-admin .ezm-ss-media-shell{border:1px dashed #dbe3ef;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);padding:12px;min-height:180px}
.ezm-ss-admin .ezm-ss-empty-state{display:none;min-height:180px;border-radius:14px;background:#f8fafc;border:1px dashed #cbd5e1;text-align:center;place-items:center;padding:26px 18px;color:#475569;box-sizing:border-box}
.ezm-ss-admin .ezm-ss-media-shell.is-empty .ezm-ss-empty-state{display:grid}
.ezm-ss-admin .ezm-ss-empty-state strong{display:block;color:#0f172a;font-size:16px;margin-top:6px}
.ezm-ss-admin .ezm-ss-empty-state span{display:block;max-width:300px;line-height:1.45;font-size:13px;margin:2px auto 12px}
.ezm-ss-admin .ezm-ss-empty-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:24px;font-weight:800}
.ezm-ss-admin #ezm-ss-media-list{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}
.ezm-ss-admin .ezm-ss-media-shell.is-empty #ezm-ss-media-list{display:none}
.ezm-ss-admin .ezm-ss-item,
.ezm-ss-admin .ezm-ss-sort-placeholder{box-sizing:border-box;flex:0 0 calc((100% - 42px)/4);max-width:calc((100% - 42px)/4)}
.ezm-ss-admin .ezm-ss-item{position:relative;border:1px solid var(--ezm-border);border-radius:16px;padding:8px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.035);cursor:grab;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.ezm-ss-admin .ezm-ss-item:hover{border-color:#bfdbfe;box-shadow:0 8px 22px rgba(15,23,42,.08);transform:translateY(-1px)}

.ezm-ss-admin .ezm-ss-sort-placeholder{box-sizing:border-box!important;border:2px dashed #93c5fd!important;border-radius:16px!important;background:#eff6ff!important;box-shadow:inset 0 0 0 3px rgba(255,255,255,.75)!important;min-height:0!important;height:var(--ezm-ss-drag-h,124px)!important;width:var(--ezm-ss-drag-w,170px)!important;flex:0 0 var(--ezm-ss-drag-w,170px)!important;max-width:var(--ezm-ss-drag-w,170px)!important;align-self:flex-start!important;overflow:hidden!important}
.ezm-ss-admin .ezm-ss-sort-helper{z-index:99999!important;cursor:grabbing!important;transform:scale(1.025)!important;box-shadow:0 18px 40px rgba(15,23,42,.22)!important;}
/* Drag helper fallback: keep cloned media card small even if a browser/plugin moves it outside the admin wrapper */
.ezm-ss-sort-helper{box-sizing:border-box!important;width:170px;max-width:170px;border:1px solid #dbe3ef;border-radius:16px;padding:8px;background:#fff;overflow:hidden;z-index:99999!important;cursor:grabbing!important;box-shadow:0 18px 40px rgba(15,23,42,.22)!important;transform:scale(1.02)!important}
.ezm-ss-sort-helper .thumb{width:100%!important;height:120px!important;max-height:120px!important;border-radius:12px;overflow:hidden;background:#f8fafc;display:block!important}
.ezm-ss-sort-helper img,.ezm-ss-sort-helper video{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.ezm-ss-sort-helper input,.ezm-ss-sort-helper .ezm-ss-remove{display:none!important}

.ezm-ss-admin .ezm-ss-item.dragging{opacity:.45;cursor:grabbing;transform:scale(.985);}
.ezm-ss-admin .ezm-ss-item .thumb{width:100%;aspect-ratio:1.22/1;background:#f8fafc;border-radius:12px;overflow:hidden;display:grid;place-items:center}
.ezm-ss-admin .ezm-ss-item img,.ezm-ss-admin .ezm-ss-item video{width:100%;height:100%;object-fit:cover;display:block}
.ezm-ss-admin .ezm-ss-item .ezm-ss-remove{position:absolute;top:10px;right:10px;z-index:3;width:24px;height:24px;border:1px solid rgba(255,255,255,.9);border-radius:999px;background:rgba(255,255,255,.92);color:#dc2626;font-size:16px;font-weight:900;line-height:20px;text-align:center;cursor:pointer;box-shadow:0 8px 18px rgba(15,23,42,.16);transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;opacity:.92}
.ezm-ss-admin .ezm-ss-item:hover .ezm-ss-remove{background:#ef4444;color:#fff;transform:scale(1.04);box-shadow:0 10px 22px rgba(239,68,68,.24)}
.ezm-ss-admin .ezm-ss-item .ezm-ss-remove:focus{outline:2px solid #fecaca;outline-offset:2px;background:#ef4444;color:#fff}

@media (max-width: 1320px){.ezm-ss-admin .ezm-ss-item,.ezm-ss-admin .ezm-ss-sort-placeholder{flex-basis:calc((100% - 28px)/3);max-width:calc((100% - 28px)/3)}}
@media (max-width: 960px){.ezm-ss-admin .ezm-ss-item,.ezm-ss-admin .ezm-ss-sort-placeholder{flex-basis:calc((100% - 14px)/2);max-width:calc((100% - 14px)/2)}}
@media (max-width: 560px){.ezm-ss-admin .ezm-ss-item,.ezm-ss-admin .ezm-ss-sort-placeholder{flex-basis:100%;max-width:100%}}

/* Preview */
.ezm-ss-admin .ezm-ss-preview-col{position:sticky;top:46px}
.ezm-ss-admin .ezm-preview-intro{margin:-4px 0 12px}
.ezm-ss-admin .ezm-tablet-preview{display:flex;justify-content:center;margin-top:14px}
.ezm-ss-admin .ezm-tablet-bezel{width:100%;max-width:620px;background:#111827;border-radius:32px;padding:16px;box-shadow:0 24px 60px rgba(15,23,42,.18),inset 0 0 0 1px rgba(255,255,255,.08);position:relative}
.ezm-ss-admin .ezm-tablet-camera{width:48px;height:5px;border-radius:999px;background:#374151;margin:0 auto 10px;box-shadow:inset 0 1px 1px rgba(255,255,255,.12)}
.ezm-ss-admin .ezm-tablet-screen{position:relative;min-height:315px;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#0f172a,#1e293b);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.ezm-ss-admin .ezm-tablet-media{position:absolute;inset:0;background:#0f172a;display:grid;place-items:center}
.ezm-ss-admin .ezm-tablet-media img,.ezm-ss-admin .ezm-tablet-media video{width:100%;height:100%;object-fit:cover;display:block;animation:ezmPreviewFade .25s ease both}
.ezm-ss-admin .ezm-tablet-placeholder{width:100%;height:100%;display:grid;place-items:center;text-align:center;color:#cbd5e1;font-weight:700;background:linear-gradient(135deg,#111827,#334155);padding:20px;box-sizing:border-box}
.ezm-ss-admin .ezm-tablet-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,6,23,.76),rgba(15,23,42,.28) 48%,rgba(15,23,42,.08));pointer-events:none}
.ezm-ss-admin .ezm-tablet-content{position:absolute;left:28px;right:28px;bottom:30px;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.ezm-ss-admin .ezm-tablet-kicker{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px}
.ezm-ss-admin .ezm-tablet-title{font-size:29px;line-height:1.05;font-weight:800;max-width:82%;margin-bottom:8px;letter-spacing:-.03em}
.ezm-ss-admin .ezm-tablet-sub{font-size:15px;line-height:1.45;opacity:.92;max-width:78%;margin-bottom:16px}
.ezm-ss-admin .ezm-tablet-cta{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:#0f172a;padding:9px 16px;font-size:13px;font-weight:800;box-shadow:0 10px 24px rgba(15,23,42,.24)}
.ezm-ss-admin .ezm-tablet-dots{position:absolute;left:28px;top:22px;display:flex;gap:6px;align-items:center}
.ezm-ss-admin .ezm-tablet-dots span{width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.45);display:block;transition:.2s ease}
.ezm-ss-admin .ezm-tablet-dots span.is-active{width:22px;background:#fff}
.ezm-ss-admin .ezm-tablet-dots .ezm-dot-more{width:auto;height:auto;background:rgba(255,255,255,.18);color:#fff;font-size:10px;font-weight:700;padding:1px 6px}
.ezm-ss-admin .ezm-preview-status{margin:14px auto 0;display:flex;align-items:center;justify-content:center;gap:8px;color:#475569;font-size:12px;padding:9px 12px;border:1px solid #eef2f7;border-radius:999px;background:#f8fafc;width:max-content;max-width:100%}
.ezm-ss-admin .ezm-preview-live-dot{width:8px;height:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}
.ezm-ss-admin .ezm-preview-separator{color:#94a3b8}
@keyframes ezmPreviewFade{from{opacity:.45;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}

/* Disabled state */
.ezm-ss-admin .ss-dim{position:relative}
.ezm-ss-admin .ss-dim fieldset{filter:grayscale(.35);opacity:.62;pointer-events:none}
.ezm-ss-admin .ss-dim::after{content:"";position:absolute;inset:0;border-radius:18px;background:linear-gradient(0deg,rgba(248,250,252,.30),rgba(248,250,252,.30));pointer-events:none}

@media (max-width:1280px){
  .ezm-ss-admin .em-grid{grid-template-columns:1fr}
  .ezm-ss-admin .ezm-ss-preview-col{position:static}
  .ezm-ss-admin .ezm-tablet-bezel{max-width:680px}
}
@media (max-width:782px){
  .ezm-ss-admin .ezm-ss-page-head{flex-direction:column;align-items:stretch}
  .ezm-ss-admin .ezm-ss-head-actions{justify-content:stretch}
  .ezm-ss-admin .ezm-ss-toggle-card{flex:1}
  .ezm-ss-admin .ezm-ss-save-top{flex:1}
  .ezm-ss-admin .em-grid.two{grid-template-columns:1fr}
  .ezm-ss-admin .em-card{padding:15px}
  .ezm-ss-admin .em-card-title{align-items:flex-start;flex-direction:column}
  .ezm-ss-admin .ezm-ss-media-actions{width:100%}
  .ezm-ss-admin .ezm-ss-media-actions .button{flex:1}
  .ezm-ss-admin .ezm-tablet-bezel{border-radius:24px;padding:12px}
  .ezm-ss-admin .ezm-tablet-screen{min-height:250px}
  .ezm-ss-admin .ezm-tablet-title{font-size:24px;max-width:92%}
  .ezm-ss-admin .ezm-tablet-sub{max-width:90%}
  .ezm-ss-admin .ezm-preview-status{width:100%;box-sizing:border-box;flex-wrap:wrap}
}

/* Save button inside sticky preview card */
.ezm-ss-admin .ezm-ss-head-actions{
  justify-content:flex-end;
}
.ezm-ss-admin .ezm-preview-card-head{
  align-items:center;
  gap:12px;
}
.ezm-ss-admin .ezm-ss-save-preview{
  margin-left:auto!important;
  white-space:nowrap;
  min-width:128px;
}
.ezm-ss-admin .ezm-ss-save-preview:focus{
  outline:none!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.16)!important;
}
@media (max-width:782px){
  .ezm-ss-admin .ezm-preview-card-head{
    flex-direction:row!important;
    align-items:center!important;
  }
  .ezm-ss-admin .ezm-ss-save-preview{
    width:auto;
    min-width:116px;
  }
}

/* Empty media sample placeholders */
.ezm-ss-admin .ezm-ss-empty-state{
  min-height:250px;
}
.ezm-ss-admin .ezm-ss-sample-strip{
  width:100%;
  max-width:520px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:4px auto 16px;
}
.ezm-ss-admin .ezm-ss-sample-card{
  position:relative;
  min-height:82px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.32);
  box-shadow:0 8px 18px rgba(15,23,42,.07);
  background:linear-gradient(135deg,#7f1d1d,#ef4444 52%,#14532d);
}
.ezm-ss-admin .ezm-ss-sample-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 68% 60%,rgba(255,255,255,.94) 0 34px,transparent 35px),
    radial-gradient(ellipse at 68% 60%,rgba(254,243,199,.82) 0 22px,transparent 23px),
    linear-gradient(28deg,transparent 52%,rgba(124,45,18,.92) 53% 66%,transparent 67%),
    radial-gradient(circle at 77% 44%,#22c55e 0 9px,transparent 10px),
    radial-gradient(circle at 56% 44%,#f59e0b 0 10px,transparent 11px),
    linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,0));
  opacity:.96;
}
.ezm-ss-admin .ezm-ss-sample-card.sample-two{
  background:linear-gradient(135deg,#0f766e,#14b8a6 48%,#f97316);
}
.ezm-ss-admin .ezm-ss-sample-card.sample-two::before{
  background:
    linear-gradient(84deg,transparent 0 54%,rgba(255,255,255,.92) 55% 68%,transparent 69%),
    linear-gradient(84deg,transparent 0 56%,#fb923c 57% 66%,transparent 67%),
    radial-gradient(circle at 68% 34%,#fed7aa 0 15px,#fb923c 16px 25px,transparent 26px),
    radial-gradient(ellipse at 61% 72%,rgba(2,6,23,.18) 0 48px,transparent 49px),
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.32) 0 13px,transparent 14px);
}
.ezm-ss-admin .ezm-ss-sample-card.sample-three{
  background:linear-gradient(135deg,#831843,#ec4899 46%,#7c2d12);
}
.ezm-ss-admin .ezm-ss-sample-card.sample-three::before{
  background:
    radial-gradient(ellipse at 66% 68%,rgba(255,255,255,.95) 0 46px,transparent 47px),
    radial-gradient(ellipse at 66% 68%,#fee2e2 0 28px,transparent 29px),
    radial-gradient(circle at 61% 43%,#ef4444 0 9px,transparent 10px),
    radial-gradient(circle at 73% 40%,#facc15 0 8px,transparent 9px),
    radial-gradient(circle at 82% 52%,#84cc16 0 9px,transparent 10px),
    linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,0));
}
.ezm-ss-admin .ezm-ss-sample-card em{
  position:absolute;
  left:8px;
  top:8px;
  z-index:1;
  display:inline-flex;
  align-items:center;
  min-height:18px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#334155;
  font-size:10px;
  font-style:normal;
  font-weight:800;
  box-shadow:0 4px 10px rgba(15,23,42,.12);
}
.ezm-ss-admin .ezm-tablet-media.is-sample::after{
  content:"Sample preview";
  position:absolute;
  right:18px;
  top:18px;
  z-index:2;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  backdrop-filter:blur(8px);
}
@media (max-width:782px){
  .ezm-ss-admin .ezm-ss-sample-strip{grid-template-columns:1fr;max-width:260px}
}

/* Keep the sortable drop target exactly the same size as a media card. */
.ezm-ss-sort-placeholder{box-sizing:border-box!important;width:var(--ezm-ss-drag-w,170px)!important;max-width:var(--ezm-ss-drag-w,170px)!important;flex:0 0 var(--ezm-ss-drag-w,170px)!important;height:var(--ezm-ss-drag-h,124px)!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important}

/* Exact drag sizing for Reception Display media cards. */
.ezm-ss-admin #ezm-ss-media-list{
  --ezm-ss-card-w: 170px;
  --ezm-ss-thumb-h: 104px;
}
.ezm-ss-admin #ezm-ss-media-list > .ezm-ss-item{
  flex:0 0 var(--ezm-ss-card-w)!important;
  width:var(--ezm-ss-card-w)!important;
  max-width:var(--ezm-ss-card-w)!important;
  box-sizing:border-box!important;
}
.ezm-ss-admin #ezm-ss-media-list > .ezm-ss-item .thumb{
  height:var(--ezm-ss-thumb-h)!important;
  aspect-ratio:auto!important;
}
.ezm-ss-admin #ezm-ss-media-list > .ezm-ss-sort-placeholder{
  flex:0 0 var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  width:var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  min-width:var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  max-width:var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  height:var(--ezm-ss-drag-h,122px)!important;
  min-height:var(--ezm-ss-drag-h,122px)!important;
  max-height:var(--ezm-ss-drag-h,122px)!important;
  margin:0!important;
  align-self:flex-start!important;
}
.ezm-ss-admin #ezm-ss-media-list > .ezm-ss-sort-helper,
.ezm-ss-sort-helper{
  flex:0 0 var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  width:var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  min-width:var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  max-width:var(--ezm-ss-drag-w,var(--ezm-ss-card-w))!important;
  height:var(--ezm-ss-drag-h,122px)!important;
  min-height:var(--ezm-ss-drag-h,122px)!important;
  max-height:var(--ezm-ss-drag-h,122px)!important;
  overflow:hidden!important;
}
.ezm-ss-sort-helper .thumb{
  height:var(--ezm-ss-thumb-h,104px)!important;
  max-height:var(--ezm-ss-thumb-h,104px)!important;
  aspect-ratio:auto!important;
}
@media (max-width: 560px){
  .ezm-ss-admin #ezm-ss-media-list{--ezm-ss-card-w: 100%; --ezm-ss-thumb-h: 140px;}
}
