.sub {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.4;
}

.wrap {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 0px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: #d2e4f3;  
  border-radius: 14px;
  padding: 14px;  
  box-shadow: 0 0 0 1px #c3cacf, 0 0 10px rgba(60, 85, 95, 0.35);
}

.dark-mode .card {
  background: #111827;
  box-shadow: 0 0 0 1px #08436d, 0 0 10px rgba(60, 85, 95, 0.35);
}

.card h2 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #3c4147;
}

.dark-mode .card h2 {
  color: #d1d5db;
}

.card h2.in-section-title {
  margin-top: 30px;
}

.card.compact-mode h2.in-section-title {
  margin-top: 0;
}

label {
  display: block;
  font-size: 13px;
  margin: 10px 0 6px;
  color: #3c3f42;
}

.dark-mode label {
  color: #cbd5e1;
}

input[type="text"],
input[type="url"],
input[type="number"],
select,
textarea {
  box-sizing: border-box;
  width: 90%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #97a0a7;
  background: #b9c9e9;
  
  outline: none;
}

.dark-mode input[type="text"],
.dark-mode input[type="url"],
.dark-mode input[type="number"],
.dark-mode select,
.dark-mode textarea {
  background: #000f2d !important;
  border: 1px solid #52585c !important;
  color: #d1d5db !important; 
}


input[type="text"]:focus,
input[type="text"]:focus-visible,
input[type="url"]:focus,
input[type="url"]:focus-visible,
input[type="number"]:focus,
input[type="number"]:focus-visible,
textarea:focus,
textarea:focus-visible {
  border: 1px dashed #7ed2df !important;
  outline: 1px solid rgba(34, 211, 238, 0.35) !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18) !important;
}

#edition {
  width: auto;
  min-width: 220px;
  background: #ffebda;
  border-color: #c76f1a;
  box-shadow: 0 0 0 1px #c76f1a, 0 0 10px rgba(199, 111, 26, 0.35);
  font-weight: 600;
}

.dark-mode #edition {
  background: #2a1606;
  border-color: #c76f1a;
  box-shadow: 0 0 0 1px #c76f1a, 0 0 10px rgba(199, 111, 26, 0.35);
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.controls-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.controls-row .hint {
  width: auto;
}

.controls-row .filename-vars {
  flex: 1 1 520px;
  min-width: 280px;
  margin-bottom: 0 !important;
}

.command-import-input {
  flex: 1 1 560px;
  width: auto;
}

.clearable-wrap {
  position: relative;
  display: inline-block;
  width: 90%;
  max-width: 100%;
}

.clearable-wrap.command-import-input {
  flex: 1 1 560px;
  width: auto;
}

.clearable-wrap > input[type="text"],
.clearable-wrap > input[type="url"],
.clearable-wrap > input[type="number"],
.clearable-wrap > textarea {
  width: 100%;
  padding-right: 30px;
}

.clear-input-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: none;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  line-height: 18px;
  cursor: pointer;
}

.clearable-wrap.has-value .clear-input-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clearable-wrap > input:disabled + .clear-input-btn,
.clearable-wrap > textarea:disabled + .clear-input-btn {
  display: none !important;
}

.hint {
  font-size: 12px;
  color: #94a3b8;
  width: 80%;
}

.req {
  color: #be5666;    
  font-size: 12px;
  font-weight: 600;
  margin-left: 6px;
}

input.required-border,
select.required-border,
textarea.required-border {
  border-color: #be5666;    
  border-style: dashed;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b1220;
  border: 1px dashed #334155;
  color: #cbd5e1;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
}

#copy {
  width: 150px;
  height: 40px;
  box-sizing: border-box;
  line-height: 1;
  justify-content: center;
}

.btn.reset {
  background: linear-gradient(135deg, #d97706, #ef4444);
}


.out {
  background: #e2e8f0;
  border: 2px solid #59707d;
  border-radius: 12px;
  padding: 16px;
  min-height: 80px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  white-space: pre-wrap;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(73, 73, 73, 0.2);
  color: #151d29;
}

.dark-mode .out {
  background: #1e293b;
  color: #d1d5db;
}

.cswitch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#mode,
#targetType {
  flex-direction: column;
}

.cswitch label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hr {
  height: 1px;
  margin: 12px 0;
}

.tag {  
  background: #7a9db7;
  border: 1px solid #4f9db9;
  color: #b0f0ff;
  padding: 6px;
  border-radius: 999px;
  font-size: 11px;
  margin-right: 3px;
  
}

.dark-mode .tag {
  background: #0b1220;
  border: 1px solid #334155;
  color: #a5b4fc;
}

.tag.var-token {
  cursor: pointer;
  user-select: none;
}

.tag.var-token:hover {
  border-color: #7ed2df;
  color: #e5e7eb;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tests {
  display: none;
  margin-top: 16px;
}


/* ==========================================================================
   Product matrix layout/components
   ========================================================================== */

   /*
header {
  max-width: 1164px;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid;
  border-radius: 14px;
  backdrop-filter: none;
}*/

.legend {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid;
  border-radius: 999px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

main {
  max-width: 1200px;
  margin: 0 auto;
}



code {
  font-size: 12.5px;
  border: 1px solid;
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
}

tr.obsolete {
  /* background-color removed */
}

.mark {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.cols-param {
  width: 26%;
}

.cols-desc {
  width: 30%;
}

.cols-ed {
  width: 10%;
}


