.syr-cms-api{
  border:1px solid #e7e7e7;
  border-radius:14px;
  background:#fff;
  padding:14px;
  margin:12px 0;
  box-shadow:0 4px 18px rgba(0,0,0,.04);
  font-size:14px;
}

.syr-cms-api-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #f0f0f0;
  padding-bottom:10px;
  margin-bottom:10px;
}

.syr-cms-api-title{
  font-weight:700;
  font-size:16px;
  color:#171717;
}

.syr-cms-api-sub{
  font-size:12px;
  color:#666;
  margin-top:3px;
}

.syr-cms-api-open{
  color:#fff;
  background:#1167d8;
  border:1px solid #1167d8;
  text-decoration:none;
  font-weight:700;
  padding:7px 10px;
  border-radius:10px;
  white-space:nowrap;
  font-size:12px;
}

.syr-cms-api-loading,
.syr-cms-api-empty{
  color:#666;
  padding:8px 0;
}

.syr-cms-api-empty code{
  background:#f1f1f1;
  padding:2px 5px;
  border-radius:5px;
}

.syr-cms-api-section-title,
.syr-cms-api-minihead{
  font-weight:700;
  margin:8px 0;
}

.syr-cms-api-card{
  border:1px solid #eeeeee;
  background:#fafafa;
  border-radius:12px;
  padding:10px;
  margin:8px 0;
}

.syr-cms-api-card-title{
  font-weight:700;
  color:#222;
}

.syr-cms-api-meta,
.syr-cms-api-lcd,
.syr-cms-api-code-row,
.syr-cms-api-foot{
  color:#666;
  font-size:12px;
  margin-top:4px;
}

.syr-cms-api-codes,
.syr-cms-api-icds{
  margin-top:8px;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:8px;
}

.syr-cms-api-icds summary{
  cursor:pointer;
  font-weight:700;
  color:#333;
}

.syr-cms-api-small-link,
.syr-cms-api-foot a{
  display:inline-block;
  margin-top:7px;
  color:#1167d8;
  font-weight:700;
  text-decoration:none;
}

.syr-cms-api-note{
  font-size:12px;
  color:#555;
  background:#fff8e6;
  border:1px solid #f4df9b;
  border-radius:10px;
  padding:9px;
  margin-top:10px;
}

.syr-cms-api-compact{
  padding:10px;
  font-size:12px;
}

.syr-cms-api-compact .syr-cms-api-title{
  font-size:13px;
}

.syr-cms-api-compact .syr-cms-api-sub,
.syr-cms-api-compact .syr-cms-api-note,
.syr-cms-api-compact .syr-cms-api-foot,
.syr-cms-api-compact .syr-cms-api-icds{
  display:none;
}

@media(max-width:600px){
  .syr-cms-api-head{
    flex-direction:column;
  }
  .syr-cms-api-open{
    width:100%;
    text-align:center;
  }
}

.syr-cms-generate-snippet{
  display:inline-block;
  margin-top:7px;
  margin-left:8px;
  color:#fff;
  background:#111;
  border:1px solid #111;
  font-weight:700;
  text-decoration:none;
  border-radius:10px;
  padding:7px 10px;
  font-size:12px;
  cursor:pointer;
}

.syr-cms-generate-snippet:hover{
  opacity:.86;
}

.syr-cms-generate-snippet:disabled{
  opacity:.55;
  cursor:wait;
}

.syr-cms-api-compact .syr-cms-generate-snippet{
  margin-left:0;
  display:block;
  width:100%;
  margin-top:8px;
}


.syr-cms-snippet-is-locked{
  overflow:hidden !important;
}

.syr-cms-snippet-overlay{
  display:none;
  position:fixed;
  z-index:999999;
  inset:0;
  background:rgba(15,18,25,.72);
  backdrop-filter:blur(4px);
  align-items:center;
  justify-content:center;
  pointer-events:auto;
}

.syr-cms-snippet-overlay.is-visible{
  display:flex;
}

.syr-cms-snippet-modal{
  width:min(92vw, 480px);
  background:#fff;
  border-radius:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.28);
  padding:30px 30px 24px;
  text-align:center;
  color:#1f2430;
  font-family:inherit;
}

.syr-cms-snippet-brand{
  display:inline-block;
  font-weight:800;
  letter-spacing:.02em;
  color:#0b63d8;
  margin-bottom:12px;
}

.syr-cms-snippet-title{
  font-size:22px;
  font-weight:800;
  margin-bottom:18px;
}

.syr-cms-snippet-spinner{
  width:46px;
  height:46px;
  border-radius:50%;
  border:4px solid #e7ecf5;
  border-top-color:#0b63d8;
  animation:syrCmsSpin .9s linear infinite;
  margin:0 auto 18px;
}

@keyframes syrCmsSpin{
  to{ transform:rotate(360deg); }
}

.syr-cms-snippet-status{
  font-size:18px;
  font-weight:800;
  margin-bottom:8px;
}

.syr-cms-snippet-substatus{
  font-size:13px;
  line-height:1.45;
  color:#657084;
  min-height:36px;
  margin-bottom:18px;
}

.syr-cms-snippet-progress{
  width:100%;
  height:9px;
  background:#eef2f8;
  border-radius:999px;
  overflow:hidden;
  margin:0 auto 18px;
}

#syr-cms-snippet-progressbar{
  width:0;
  height:100%;
  background:#0b63d8;
  border-radius:999px;
  transition:width .45s ease;
}

.syr-cms-snippet-cancel{
  appearance:none;
  border:1px solid #d9e0eb;
  background:#fff;
  color:#364154;
  border-radius:12px;
  padding:9px 16px;
  font-weight:700;
  cursor:pointer;
}

.syr-cms-snippet-cancel:hover{
  background:#f6f8fb;
}

.syr-cms-generate-snippet:disabled{
  opacity:.55;
  cursor:wait;
}
