.cfg {
  --ink: #172c31;
  --muted: #68787b;
  --line: #e2e7e4;
  --mint: #d7f49c;
  display: flex;
  min-height: 100vh;
  background: #f4f6f3;
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.cfg * {
  box-sizing: border-box;
}
.cfg button,
.cfg input,
.cfg select,
.cfg textarea {
  font: inherit;
}
.cfg button,
.cfg a,
.cfg input,
.cfg select,
.cfg textarea {
  outline-offset: 4px;
}
.cfg button:focus-visible,
.cfg a:focus-visible,
.cfg input:focus-visible,
.cfg select:focus-visible,
.cfg textarea:focus-visible {
  outline: 2px solid #337866;
}
.cfg button {
  cursor: pointer;
}
.cfg button:disabled {
  cursor: default;
  opacity: 0.5;
}
.cfg a {
  color: inherit;
}
.cfg svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.cfg p {
  color: var(--muted);
}
.cfg-side {
  width: 246px;
  flex: none;
  background: #142e33;
  color: #eaf0ef;
  padding: 32px 22px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.cfg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin: 0 7px 34px;
}
.cfg-brand img {
  width: 122px;
  filter: brightness(0) invert(1);
}
.cfg-brand > span {
  border-left: 1px solid #57706e;
  padding-left: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
}
.cfg-workspace {
  display: flex;
  gap: 12px;
  padding: 14px 10px;
  border: 1px solid #3d5154;
  border-radius: 10px;
  align-items: center;
  margin-bottom: 36px;
}
.cfg-workspace-icon {
  background: #d7f49c;
  color: #20382e;
  width: 35px;
  height: 38px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.cfg-workspace strong {
  font-size: 14px;
}
.cfg-workspace small {
  display: block;
  font-size: 10px;
  color: #aebfbe;
}
.cfg-navlabel {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #9aafae;
  margin: 0 12px 10px;
}
.cfg-side nav {
  display: grid;
  gap: 6px;
}
.cfg-side nav button {
  border: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  background: transparent;
  text-align: left;
  color: #c6d3d2;
  padding: 12px;
  border-radius: 7px;
  font-size: 13px;
}
.cfg-side nav button.active {
  color: #e7facb;
  background: #2d4647;
}
.cfg-side nav button:hover {
  background: #284346;
}
.cfg-side nav button > span {
  margin-left: auto;
  background: #415b50;
  min-width: 20px;
  text-align: center;
  border-radius: 4px;
  font-size: 11px;
}
.cfg-side nav svg {
  width: 18px;
}
.cfg-side-note {
  margin-top: auto;
  padding: 40px 12px 25px;
  font-size: 12px;
}
.cfg-side-note > svg {
  color: #bad296;
  margin-bottom: 7px;
}
.cfg-side-note strong {
  display: block;
  color: #dce9e5;
  font-size: 12px;
}
.cfg-side-note p {
  color: #9eb3b2;
  margin: 8px 0;
  line-height: 1.7;
}
.cfg-return {
  font-size: 11px;
  text-decoration: none;
  margin: 10px 10px 24px;
  color: #abc0be !important;
}
.cfg-person {
  border-top: 1px solid #344a4e;
  padding: 22px 8px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.cfg-person > span {
  display: grid;
  place-items: center;
  background: #e0eacb;
  color: #2c4e42;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-weight: 700;
}
.cfg-person strong {
  display: block;
  font-size: 12px;
}
.cfg-person small {
  font-size: 9px;
  color: #9eb3b2;
}
.cfg-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.cfg-top {
  height: 78px;
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fcfdfb;
  font-size: 10px;
  letter-spacing: 1px;
}
.cfg-top b {
  padding: 0 15px;
  font-weight: 400;
  color: #a7b4b1;
}
.cfg-session {
  letter-spacing: 0;
  color: #597166;
  display: flex;
  gap: 8px;
  align-items: center;
}
.cfg-session i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e9060;
}
.cfg-content {
  padding: 40px 42px 45px;
  flex: 1;
  max-width: 1640px;
  width: 100%;
  margin: auto;
}
.cfg-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.cfg-eyebrow {
  font-size: 9px;
  letter-spacing: 1.65px;
  color: #798a83;
  font-weight: 600;
  margin-bottom: 9px;
}
.cfg h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.cfg-heading p {
  font-size: 13px;
  margin: 0;
}
.cfg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none;
  white-space: nowrap;
}
.cfg-button svg {
  width: 17px;
  height: 17px;
}
.cfg-button.primary {
  color: #fff;
  background: #1e473b;
  box-shadow: 0 2px 3px #182d2112;
}
.cfg-button.primary:hover {
  background: #2e5b48;
}
.cfg-button.secondary {
  color: #28483d;
  background: #fff;
  border-color: #cedbd2;
}
.cfg-button.secondary:hover {
  background: #f0f5eb;
}
.cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}
.cfg-library {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  min-width: 0;
  overflow: hidden;
}
.cfg-library-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 0;
  gap: 10px;
}
.cfg h2 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.cfg-library-head p {
  font-size: 11px;
  margin: 6px 0 0;
}
.cfg-format {
  color: #8a9994;
  font-size: 8px;
  letter-spacing: 1px;
}
.cfg-filters {
  display: flex;
  padding: 20px 24px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
#cfg-usage {
  margin: 0;
  padding: 12px 24px;
}
.cfg-search {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 1;
  min-width: 0;
}
.cfg-search svg {
  position: absolute;
  left: 12px;
  color: #8b9894;
  width: 16px;
  height: 16px;
}
.cfg input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.cfg select,
.cfg textarea {
  border: 1px solid #dce3dd;
  border-radius: 6px;
  min-height: 39px;
  padding: 9px 11px;
  color: #29413a;
  background: #fff;
  max-width: 100%;
  font-size: 12px;
  width: 100%;
}
.cfg-search input {
  padding-left: 36px !important;
  background: #fafbf9 !important;
  min-width: 0;
}
.cfg-filters > label:last-child {
  width: 132px;
  flex: none;
}
.cfg-table-wrap {
  overflow-x: auto;
}
.cfg-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
.cfg-table th {
  background: #fbfcfa;
  color: #85928d;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 500;
  font-size: 8px;
  padding: 11px 16px;
  white-space: nowrap;
}
.cfg-table td {
  border-top: 1px solid #eef1eb;
  padding: 17px 16px;
  vertical-align: middle;
  color: #4d635c;
}
.cfg-table td:first-child {
  padding-left: 24px;
}
.cfg-table strong {
  font-weight: 600;
}
.cfg-table td > small {
  display: block;
  font-size: 9px;
  color: #88968e;
  margin-top: 5px;
  max-width: 140px;
  overflow-wrap: anywhere;
}
.cfg-filelink {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border: 0;
  background: none;
  padding: 0;
  width: 100%;
}
.cfg-filelink > span:last-child {
  min-width: 0;
}
.cfg-filelink strong {
  font-size: 12px;
  display: block;
  max-width: 300px;
  overflow-wrap: anywhere;
}
.cfg-filelink small {
  font-size: 10px;
  display: block;
  color: #788a80;
  margin-top: 3px;
}
.cfg-row-detail {
  display: block;
  color: #8b9690;
  font-size: 9px;
  margin-top: 6px;
}
.cfg-file-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 42px;
  border: 1px solid #e4eae0;
  background: #f6f9f1;
  border-radius: 6px;
  flex: none;
  color: #789263;
}
.cfg-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e1e7e0;
  border-radius: 5px;
  background: #f6f8f3;
  padding: 4px 8px;
  color: #6c7b68;
  font-size: 9px;
  white-space: nowrap;
}
.cfg-chip svg {
  width: 12px;
  height: 12px;
}
.cfg-chip.green {
  background: #edf5e9;
  color: #496b3d;
  border-color: #dce9d4;
}
.cfg-chip.amber {
  background: #f8f0d7;
  color: #87661e;
  border-color: #eee1b4;
}
.cfg-open {
  border: 0;
  color: #5d7268;
  background: none;
  padding: 4px;
}
.cfg-open svg {
  width: 17px;
}
.cfg-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #7b8b82;
}
.cfg-pages button {
  background: none;
  border: 0;
  color: #557062;
  padding: 6px 0;
  font-size: 10px;
}
.cfg-empty {
  padding: 55px 30px 65px;
  text-align: center;
}
.cfg-empty > svg {
  width: 38px;
  height: 38px;
  color: #98ab8e;
  background: #f1f5ed;
  box-sizing: content-box;
  border-radius: 13px;
  padding: 15px;
  margin-bottom: 15px;
}
.cfg-empty h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
}
.cfg-empty p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto 22px;
}
.cfg-profile {
  background: #eaf0df;
  border: 1px solid #dde5cd;
  border-radius: 11px;
  padding: 24px 22px;
}
.cfg-profile-label {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #6f8365;
  font-weight: 700;
}
.cfg-profile h2 {
  font-size: 29px;
  line-height: 1.16;
  margin-top: 18px;
  letter-spacing: -1px;
}
.cfg-profile h2 span {
  color: #69805d;
  font-weight: 400;
}
.cfg-profile > p {
  font-size: 11px;
  color: #7a8b6c;
  margin: 9px 0 0;
}
.cfg-inverters {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin: 29px 0 22px;
  padding-bottom: 21px;
  border-bottom: 1px solid #d5ddc7;
  position: relative;
}
.cfg-inverters:after {
  content: "";
  position: absolute;
  bottom: 14px;
  height: 8px;
  left: 26px;
  right: 26px;
  border: 1px solid #b4c0a5;
  border-top: 0;
}
.cfg-inverters > div {
  width: 57px;
  height: 88px;
  border: 1px solid #afbf9f;
  border-radius: 5px;
  background: linear-gradient(110deg, #f4f8ea, #dee8ce);
  box-shadow: 3px 3px 0 #ccdabd;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.cfg-inverters span {
  font-size: 8px;
  color: #547349;
  margin-top: 8px;
}
.cfg-inverters i {
  width: 25px;
  height: 21px;
  margin-top: 12px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    to bottom,
    #b5c7a5 0 1px,
    transparent 1px 4px
  );
  border: 1px solid #c3d3b2;
}
.cfg-inverters b {
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #638450;
  margin-top: 8px;
}
.cfg-profile dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 18px;
}
.cfg-profile dt {
  font-size: 9px;
  color: #79866c;
}
.cfg-profile dd {
  font-size: 25px;
  font-weight: 500;
  margin: 3px 0 0;
  letter-spacing: -1px;
}
.cfg-profile dd small {
  font-size: 13px;
  color: #7d906f;
  font-weight: 400;
}
.cfg-profile .cfg-profile-help {
  font-size: 10px;
  line-height: 1.8;
  margin: 13px 0 18px;
  color: #6b7d5f;
}
.cfg-profile .cfg-button {
  width: 100%;
  font-size: 10px !important;
  background: #f5f8ef;
  border-color: #cdd9bd;
  justify-content: space-between;
}
.cfg-tip {
  display: flex;
  gap: 12px;
  padding: 23px 6px;
}
.cfg-tip > span {
  color: #84937b;
  margin-top: 3px;
}
.cfg-tip h3 {
  font-size: 11px;
  margin: 0 0 7px;
  font-weight: 600;
}
.cfg-tip p {
  font-size: 10px;
  line-height: 1.8;
  margin: 0;
  color: #889380;
}
.cfg-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #dde5d7;
  background: #eaf0e2;
  color: #69785d;
  font-size: 10px;
  padding: 16px 42px;
}
.cfg-footer a {
  font-weight: 600;
  text-decoration: none;
  color: #3d5b2b;
}
.cfg-footer i {
  font-style: normal;
  margin: 0 7px;
}
.cfg-footer > span:last-child {
  font-size: 9px;
  color: #8c9981;
}
.cfg-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cfg-dialog {
  border: 0;
  border-radius: 13px;
  box-shadow: 0 25px 90px #102c3040;
  padding: 32px;
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  background: #fff;
  overflow: auto;
}
.cfg-dialog.wide {
  width: min(800px, calc(100vw - 32px));
}
.cfg-dialog::backdrop {
  background: #122a337a;
  backdrop-filter: blur(3px);
}
.cfg-dialog-close {
  position: absolute;
  right: 15px;
  top: 13px;
  border: 0;
  background: #f4f6f1;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #6d7d6d;
}
.cfg-dialog-close svg {
  width: 15px;
  height: 15px;
}
.cfg-dialog h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin-right: 20px;
  overflow-wrap: anywhere;
}
.cfg-dialog h3 {
  font-size: 13px;
  margin: 22px 0 9px;
}
.cfg-dialog-lead {
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0 20px;
}
.cfg-dialog-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.cfg-dialog-actions > span {
  font-size: 10px;
  color: #8b9784;
}
.cfg-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  margin: 17px 0;
}
.cfg-field small {
  font-size: 9px;
  font-weight: 400;
  color: #889380;
}
.cfg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.cfg-form-grid .cfg-field {
  margin: 8px 0;
}
.cfg-private-fields {
  background: #f7f9f4;
  border: 1px solid #e3eadd;
  border-radius: 8px;
  padding: 18px;
  margin: 20px 0;
}
.cfg-private-fields > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #78886e;
}
.cfg-private-fields > span svg {
  width: 13px;
  height: 13px;
}
.cfg-private-fields .cfg-field:last-child {
  margin-bottom: 0;
}
.cfg-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
.cfg-checkbox input {
  margin-top: 3px;
  flex: none;
  accent-color: #2c5843;
  width: 16px;
  height: 16px;
}
.cfg-checkbox small {
  display: block;
  color: #8b9684;
  font-size: 10px;
}
.cfg-error {
  color: #a02c36 !important;
  font-size: 12px;
  white-space: pre-wrap;
}
.cfg-error:empty {
  display: none;
}
.cfg-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 18px;
  background: #f6f8f2;
  border: 1px dashed #bacbae;
  border-radius: 9px;
  gap: 9px;
}
.cfg-drop > span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #4c6740;
}
.cfg-drop > small {
  font-size: 10px;
  color: #8b987d;
}
.cfg-drop input {
  max-width: 100%;
  font-size: 10px;
  margin-top: 8px;
}
.cfg-import-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #edf5e7;
  border-radius: 5px;
  color: #577447;
  font-size: 10px;
  padding: 12px;
  margin: 13px 0;
  overflow-wrap: anywhere;
}
.cfg-import-ok svg {
  width: 15px;
  height: 15px;
}
.cfg-notice {
  background: #fbf7e8;
  border: 1px solid #ece3c3;
  border-radius: 7px;
  color: #83733f !important;
  font-size: 11px;
  line-height: 1.8;
  padding: 13px 15px;
}
.cfg-detailbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: #7f8d78;
  font-size: 10px;
}
.cfg-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 25px 0;
  padding: 20px;
  background: #f7f9f4;
  border-radius: 8px;
}
.cfg-detail-meta dt {
  font-size: 10px;
  color: #819177;
}
.cfg-detail-meta dd {
  font-size: 12px;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.cfg-units {
  font-size: 10px;
  border: 1px solid var(--line);
}
.cfg-units td {
  padding: 10px 12px;
}
.cfg-units td:first-child {
  padding-left: 12px;
}
.cfg-micro {
  font-size: 10px;
  line-height: 1.7;
}
.cfg-private-note {
  background: #f7f9f4;
  padding: 15px 18px;
  border-radius: 7px;
  margin: 20px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.cfg-private-note strong {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.cfg-private-note strong svg {
  width: 13px;
  height: 13px;
}
.cfg-private-note p {
  margin: 6px 0;
  white-space: pre-wrap;
}
.cfg-checksum {
  margin: 20px 0;
  font-size: 10px;
}
.cfg-checksum code {
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 9px;
  display: block;
}
.cfg-checksum summary {
  cursor: pointer;
  color: #6e8065;
}
.cfg-safety {
  font-size: 10px;
  line-height: 1.8;
}
.cfg-radio {
  display: flex;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dce5d6;
  border-radius: 8px;
  margin: 12px 0;
  cursor: pointer;
}
.cfg-radio input {
  accent-color: #345d3b;
  align-self: flex-start;
  margin-top: 4px;
}
.cfg-radio strong {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
}
.cfg-radio strong svg {
  width: 15px;
  height: 15px;
}
.cfg-radio small {
  font-size: 10px;
  color: #7c8e73;
  display: block;
  margin-top: 7px;
  line-height: 1.7;
}
.cfg [hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .cfg-content {
    padding-top: 48px;
  }
  .cfg-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .cfg-profile {
    padding: 28px;
  }
  .cfg-heading {
    margin-bottom: 36px;
  }
}
@media (max-width: 1180px) {
  .cfg-content {
    padding: 28px 24px;
  }
  .cfg-top {
    padding: 0 24px;
  }
  .cfg-side {
    width: 215px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .cfg-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cfg-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .cfg-profile h2 br {
    display: none;
  }
  .cfg-profile h2 span {
    margin-left: 10px;
  }
  .cfg-inverters {
    display: none;
  }
  .cfg-profile dl {
    margin-top: 22px;
  }
  .cfg-profile .cfg-profile-help {
    max-width: 340px;
  }
  .cfg-footer {
    padding: 16px 24px;
  }
  .cfg-format {
    display: none;
  }
}
@media (max-width: 760px) {
  .cfg {
    display: block;
  }
  .cfg-side {
    height: auto;
    position: static;
    width: 100%;
    padding: 17px 18px 0;
  }
  .cfg-brand {
    margin: 0 0 16px;
  }
  .cfg-brand img {
    width: 98px;
  }
  .cfg-workspace,
  .cfg-navlabel,
  .cfg-side-note,
  .cfg-person {
    display: none;
  }
  .cfg-side nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 13px;
  }
  .cfg-side nav button {
    font-size: 11px;
    padding: 9px;
    gap: 7px;
    white-space: nowrap;
    flex: 1;
  }
  .cfg-side nav svg {
    width: 15px;
  }
  .cfg-return {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 10px;
  }
  .cfg-top {
    height: 49px;
    font-size: 8px;
    padding: 0 18px;
  }
  .cfg-session {
    font-size: 8px;
  }
  .cfg-top b {
    padding: 0 8px;
  }
  .cfg-content {
    padding: 25px 16px;
  }
  .cfg-heading {
    display: block;
    margin-bottom: 22px;
  }
  .cfg h1 {
    font-size: 28px;
  }
  .cfg-heading p {
    font-size: 12px;
  }
  .cfg-heading > .cfg-button {
    margin-top: 20px;
    width: 100%;
  }
  .cfg-eyebrow {
    font-size: 8px;
  }
  .cfg-library-head {
    padding: 18px 16px 0;
  }
  .cfg-filters {
    padding: 18px 16px;
    flex-direction: column;
  }
  #cfg-usage {
    padding: 12px 16px;
  }
  .cfg-filters > label:last-child {
    width: 100%;
  }
  .cfg-table th,
  .cfg-table td {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cfg-table td:first-child {
    padding-left: 14px;
  }
  .cfg-table td:nth-child(2),
  .cfg-table th:nth-child(2) {
    display: none;
  }
  .cfg-filelink {
    gap: 8px;
  }
  .cfg-filelink strong {
    font-size: 11px;
  }
  .cfg-filelink small {
    font-size: 9px;
  }
  .cfg-file-icon {
    width: 28px;
    height: 35px;
  }
  .cfg-table td:last-child {
    display: none;
  }
  .cfg-table th:last-child {
    display: none;
  }
  .cfg-chip {
    font-size: 8px;
  }
  .cfg-context {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cfg-profile {
    padding: 22px;
  }
  .cfg-profile h2 {
    font-size: 27px;
  }
  .cfg-footer {
    flex-direction: column;
    gap: 5px;
    text-align: center;
    font-size: 9px;
    padding: 16px 10px;
  }
  .cfg-footer > span:last-child {
    display: none;
  }
  .cfg-dialog {
    padding: 28px 19px 22px;
  }
  .cfg-dialog h2 {
    font-size: 23px;
  }
  .cfg-form-grid {
    grid-template-columns: 1fr;
  }
  .cfg-detail-meta {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .cfg-detailbar {
    flex-wrap: wrap;
  }
  .cfg-dialog-actions > .cfg-button {
    width: 100%;
  }
  .cfg-units td:nth-child(2),
  .cfg-units th:nth-child(2),
  .cfg-units td:last-child,
  .cfg-units th:last-child {
    display: table-cell;
  }
  .cfg-units th,
  .cfg-units td {
    font-size: 8px;
    padding: 8px;
  }
  .cfg-pages {
    padding: 12px 16px;
  }
  .cfg-empty {
    padding: 38px 20px;
  }
}
/* Keep the configurator independent of the portal's generic form and definition-list rules. */
.cfg-profile dl > div {
  display: block;
  border: 0;
  padding: 0;
}
.cfg-profile dt {
  float: none;
  display: block;
}
.cfg-profile dd {
  display: block;
  white-space: nowrap;
  text-align: left;
}
.cfg-detail-meta > div {
  display: block;
  border: 0;
  padding: 0;
}
.cfg-detail-meta dd {
  text-align: left;
  display: block;
}
.cfg-filters label {
  margin: 0;
}
.cfg-filters input,
.cfg-filters select {
  margin: 0;
}
.cfg-field input,
.cfg-field select,
.cfg-field textarea {
  margin: 0;
}
.cfg-radio,
.cfg-checkbox {
  margin-top: 12px;
}
.cfg-checksum summary::marker {
  color: #6e8065;
}

/* Configuration files use the available workspace; no fixed starter preset. */
.cfg .cfg-layout { grid-template-columns: minmax(0,1fr); }
/* Saved preset field selection. */
.preset-scope { border:1px solid #ccd9ca; border-radius:12px; padding:18px; margin:18px 0; }
.preset-scope[hidden] { display:none; }
.preset-scope-groups { max-height:360px; overflow:auto; }
.preset-scope summary { cursor:pointer; padding:12px 0; font-weight:600; }
.preset-scope-field { display:flex; align-items:flex-start; gap:12px; padding:10px 4px; }
.preset-scope-field input[type=checkbox] { width:18px; height:18px; margin:3px 0; flex:none; }
.preset-scope-field span { display:grid; gap:4px; }
.preset-scope-field small { color:#64756c; }
.preset-scope-count { font-weight:600; }
