.item-card input[type=number]::-webkit-outer-spin-button,
.item-card input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.item-card input[type=number] { -moz-appearance: textfield; }
.slide-wrap { overflow: hidden; transition: grid-template-rows .25s ease, opacity .25s ease; display:grid; grid-template-rows:0fr; opacity:0; }
.slide-wrap.open { grid-template-rows:1fr; opacity:1; }
.slide-wrap > .slide-inner { min-height:0; }

.check-chip {
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  padding:.7rem .95rem;
  /* border:1px solid rgba(51,65,85,.9);
  background:rgba(15,23,42,.8); */
  border-radius:999px;
  transition:.18s ease;
  cursor:pointer;
}
.check-chip:hover { border-color:rgba(212, 242, 255, 0.55); background:rgba(24, 35, 61, 0.95); }
/* .check-chip input[type=checkbox] {
  appearance:none;
  -webkit-appearance:none;
  width:1.15rem;
  height:1.15rem;
  border-radius:.35rem;
  border:1px solid rgba(100,116,139,.85);
  background:#0f172a;
  position:relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.check-chip input[type=checkbox]:checked {
  background:#0284c7;
  border-color:#38bdf8;
}
.check-chip input[type=checkbox]:checked::after {
  content:'';
  position:absolute;
  left:.32rem;
  top:.08rem;
  width:.28rem;
  height:.56rem;
  border:solid white;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
} */
.check-chip span { color:#e2e8f0; }

.item-card .row-shell { position:relative; }
.unavailable-wrap { border-color:rgba(239,68,68,.28)!important; background:rgba(127,29,29,.08)!important; }
.unavailable-banner {
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.72);
  border:1px solid rgba(239,68,68,.35);
  color:#fecaca;
  font-weight:700;
  letter-spacing:.02em;
  border-radius:1rem;
  pointer-events:none;
  text-align:center;
  backdrop-filter: blur(2px);
}
.compact-price input { min-height:42px; }
.item-card textarea,
.item-card input,
.item-card select { font-size:.95rem; }


.item-card .drag-handle{line-height:1}
.item-card{transition:border-color .2s ease, box-shadow .2s ease}

.unavailable-banner{position:sticky;top:0;z-index:5}


.unavailable-wrap > *:not(.unavailable-banner):not(.absolute){position:relative;z-index:1}
.unavailable-wrap .row-description,
.unavailable-wrap .meta-field,
.unavailable-wrap .row-price,
.unavailable-wrap .row-price-qty,
.unavailable-wrap input,
.unavailable-wrap textarea,
.unavailable-wrap select{filter:grayscale(.08)}


.unavailable-wrap > *:not(.unavailable-banner){position:relative;z-index:1}
.unavailable-banner{pointer-events:none}
.item-card.drop-target-before{box-shadow: inset 0 3px 0 0 rgba(56,189,248,.95), 0 0 0 1px rgba(56,189,248,.35);}
.agreement-tool-btn{border:1px solid #cbd5e1;background:#fff;border-radius:.75rem;padding:.55rem .8rem;font-size:.875rem;line-height:1;transition:.15s;color:#0f172a}
.agreement-tool-btn:hover{background:#f8fafc}
.agreement-editor-shell table{border-collapse:collapse;width:100%}
.agreement-editor-shell table td,.agreement-editor-shell table th{border:1px solid #94a3b8;padding:8px;vertical-align:top;min-width:80px}
.agreement-editor-shell h1{font-size:2rem;font-weight:700;margin:.6rem 0}
.agreement-editor-shell h2{font-size:1.5rem;font-weight:700;margin:.6rem 0}
.agreement-editor-shell h3{font-size:1.25rem;font-weight:700;margin:.6rem 0}
.agreement-editor-shell p{margin:.4rem 0}
.agreement-editor-shell ul{list-style:disc outside;margin:.5rem 0 .5rem 1.5rem;padding-left:1.25rem}
.agreement-editor-shell ol{list-style:decimal outside;margin:.5rem 0 .5rem 1.5rem;padding-left:1.25rem}
