/* ==========================================================
   COMPANY DEV — Preset content branch v0.1
   Row + -> Directory Preset / Text Preset
   Text Preset -> inline input -> Enter -> Value Sort re-detect
   ========================================================== */
.pse-preset-content-type-overlay{
  position:fixed;
  inset:0;
  z-index:2147481400;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.56);
}
.pse-preset-content-type-overlay[hidden]{display:none !important}
.pse-preset-content-type-dialog{
  width:min(420px,calc(100vw - 48px));
  overflow:hidden;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#fff;
  box-shadow:0 22px 60px rgba(15,23,42,.28);
}
.pse-preset-content-type-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid #e2e8f0;
}
.pse-preset-content-type-header h3{
  margin:0;
  font-size:18px;
  color:#0f172a;
}
.pse-preset-content-type-close{
  width:34px;
  height:34px;
  margin:0;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#475569;
  font-size:22px;
  cursor:pointer;
}
.pse-preset-content-type-body{
  display:grid;
  gap:10px;
  padding:16px 18px 18px;
}
.pse-preset-content-type-help{
  margin:0 0 2px;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}
.pse-preset-content-type-option{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  width:100%;
  margin:0;
  padding:13px 14px;
  border:1px solid #cbd5e1;
  border-radius:9px;
  background:#fff;
  color:#0f172a;
  text-align:left;
  cursor:pointer;
}
.pse-preset-content-type-option:hover,
.pse-preset-content-type-option:focus-visible{
  border-color:#2563eb;
  box-shadow:0 0 0 2px rgba(37,99,235,.12);
  outline:none;
}
.pse-preset-content-type-option strong{font-size:15px}
.pse-preset-content-type-option span{font-size:12px;color:#64748b;font-weight:500}

.pse-preset-text-entry-shell{
  display:inline-flex;
  align-items:center;
  min-width:220px;
  max-width:min(560px,70vw);
  padding:5px;
  border:2px solid #111827;
  border-radius:10px;
  background:#fff;
}
.pse-preset-text-entry-input{
  width:100%;
  min-width:200px;
  margin:0 !important;
  padding:8px 10px !important;
  border:1px solid #94a3b8 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#111827 !important;
  font:600 16px/1.25 inherit !important;
  box-shadow:none !important;
  outline:none !important;
}
.pse-preset-text-entry-input:focus{
  border-color:#2563eb !important;
  box-shadow:0 0 0 2px rgba(37,99,235,.12) !important;
}
