@import url("https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1");
* {
  scrollbar-width: thin;
}

html {
  background: #F1F1F1;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

body {
  width: 100%;
  min-height: 100vh;
  color: #000000;
  font-family: "Encode Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.02em;
  background: #ffffff;
  margin: 0;
  padding: 0;
}
body.pdf-body header,
body.pdf-body footer,
body.pdf-body .pdf-hidden {
  display: none !important;
}

section {
  position: relative;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 32px;
  padding-bottom: 32px;
}
section.padding72 {
  padding-top: 72px;
  padding-bottom: 72px;
}
section.no-padding {
  padding: 0;
}
section.dark {
  background-color: #F1F1F1;
}
section.black {
  background-color: #000000;
  color: #ffffff;
}
section.cover {
  max-width: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}
section .mid {
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  font-family: "Encode Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  line-height: 1.2em;
  letter-spacing: 0.01em;
  word-break: break-word;
  margin: 0;
}
h1.white,
h2.white,
h3.white,
h4.white,
h5.white,
h6.white {
  color: #ffffff;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 20px;
}

p {
  margin: 0;
}

:focus {
  outline: none;
}

a {
  color: #000000;
  text-decoration-line: none;
}
a.with-line {
  text-decoration-line: underline;
}

form {
  margin: 0;
}

#main {
  width: 100%;
  min-height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.bg-dark {
  background-color: #F1F1F1;
}

.bg-dark-red {
  background-color: #F3EEEE;
}

.bg-dark-green {
  background-color: #EEF4F2;
}

.bg-black {
  background-color: #000000;
}

.bg-white {
  background-color: #ffffff;
}

.bg-grey {
  background-color: #9b9b9b !important;
}

.bg-green {
  background-color: #0fc36c !important;
}

.bg-yellow {
  background-color: #FFD300 !important;
}

.bg-yellow-light {
  background-color: rgb(255, 250.6, 229.5) !important;
}

.bg-mark {
  background-color: mark !important;
}

.bg-red {
  background-color: #ef4337 !important;
}

.bg-plum {
  background-color: #c32fa0 !important;
}

.bg-plum-dark {
  background-color: #62136A !important;
}

.bg-turquoise {
  background-color: #117C96 !important;
}

.clear {
  clear: both;
}

.hidden {
  display: none !important;
}

.hidden2 {
  opacity: 0;
  visibility: none;
  width: 0;
  height: 0;
  position: absolute;
  padding: 0;
  margin: 0;
}

.hidden-important {
  display: none !important;
}

.upload-progress {
  min-width: 180px;
  margin-top: 8px;
}
.upload-progress .upload-progress__track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  background-color: #F1F1F1;
  border-radius: 4px;
}
.upload-progress .upload-progress__bar {
  width: 0%;
  height: 100%;
  background-color: #117C96;
  transition: width 120ms linear;
}

.opacity0 {
  opacity: 0;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}
.absolute.top {
  top: 0;
}
.absolute.bottom {
  bottom: 0;
}
.absolute.right {
  right: 0;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.full-width {
  width: 100%;
  max-width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.full-height {
  height: 100%;
  max-height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.pointer {
  cursor: pointer;
}

.min-height100 {
  min-height: 100%;
}

.font-10 {
  font-size: 10px;
}

.font-12 {
  font-size: 12px;
}

.font-14 {
  font-size: 14px;
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

.font-22 {
  font-size: 22px;
}

.font-200 {
  font-weight: 200;
}

.font-300 {
  font-weight: 300;
}

.font-400 {
  font-weight: 400;
}

.font-500 {
  font-weight: 500;
}

.font-600 {
  font-weight: 600;
}

.font-800 {
  font-weight: 800;
}

.w100p {
  width: 100vw;
  max-width: 100%;
}

.w1300 {
  width: 1300px;
  max-width: 100%;
}

.w1000 {
  width: 1000px;
  max-width: 100%;
}

.w600 {
  width: 600px;
  max-width: 100%;
}

.w500 {
  width: 500px;
  max-width: 100%;
}

.w460 {
  width: 460px;
  max-width: 100%;
}

.w400 {
  width: 400px;
  max-width: 100%;
}

.w300 {
  width: 300px;
  max-width: 100%;
}

.w30 {
  width: 30px;
}

.w16 {
  width: 16px;
}

.w50 {
  width: 50px;
}

.max-w50 {
  max-width: 50px;
}

.max-w400 {
  max-width: 400px;
}

.max-w600 {
  max-width: 600px;
}

.max-w800 {
  max-width: 800px;
}

.max-w900 {
  max-width: 900px;
}

.max-w1000 {
  max-width: 1000px;
}

.max-w936 {
  max-width: 936px;
}

.marg-top4 {
  margin-top: 4px;
}

.marg-top8 {
  margin-top: 8px;
}

.marg-top10 {
  margin-top: 10px;
}

.marg-top16 {
  margin-top: 16px;
}

.marg-top24 {
  margin-top: 24px;
}

.marg-top32 {
  margin-top: 32px;
}

.marg-top36 {
  margin-top: 36px;
}

.marg-top64 {
  margin-top: 64px;
}

.marg-bottom8 {
  margin-bottom: 8px;
}

.marg-bottom16 {
  margin-bottom: 16px;
}

.marg-bottom32 {
  margin-bottom: 32px;
}

.margin-right6 {
  margin-right: 6px;
}

.marg-left16 {
  margin-left: 16px;
}

.no-padding {
  padding: 0;
}

.padding4 {
  padding: 4px;
}

.padding8 {
  padding: 8px;
}

.padding16 {
  padding: 16px;
}

.padding20 {
  padding: 20px;
}

.padding24 {
  padding: 24px;
}

.padding32 {
  padding: 32px;
}

.padding60 {
  padding: 60px;
}

.padding-top16 {
  padding-top: 16px;
}

.padding-left4 {
  padding-left: 4px;
}

.padding-left40 {
  padding-left: 40px;
}

.padding-right0 {
  padding-right: 0px !important;
}

.padding-right4 {
  padding-right: 4px;
}

.padding-right8 {
  padding-right: 8px;
}

.color-grey {
  color: #475467;
}
.color-grey a {
  color: #475467;
}
.color-grey a:hover {
  color: #000000;
}

.color-red {
  color: #ef4337;
}

.color-green {
  color: #0fc36c;
}

.color-blue {
  color: #117C96;
}

.color-yellow {
  color: #e7bf00;
}

.submission-periods summary {
  cursor: pointer;
}
.submission-periods[open] summary {
  margin-bottom: 8px;
}

.access-user-count {
  display: inline-flex;
  align-items: center;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.border-3 {
  border-radius: 3px;
}

.border-4 {
  border-radius: 4px;
}

.border-6 {
  border-radius: 6px;
}

.border-8 {
  border-radius: 8px;
}

.flex {
  display: flex;
}
.flex.column {
  flex-direction: column;
}
.flex.gap4 {
  gap: 4px;
}
.flex.gap6 {
  gap: 6px;
}
.flex.gap8 {
  gap: 8px;
}
.flex.gap12 {
  gap: 12px;
}
.flex.gap16 {
  gap: 16px;
}
.flex.gap18 {
  gap: 18px;
}
.flex.gap20 {
  gap: 20px;
}
.flex.gap22 {
  gap: 22px;
}
.flex.gap24 {
  gap: 24px;
}
.flex.gap28 {
  gap: 28px;
}
.flex.gap32 {
  gap: 32px;
}
.flex.gap48 {
  gap: 48px;
}
.flex.gap64 {
  gap: 64px;
}
.flex.gap104 {
  gap: 104px;
}
.flex.column-gap32 {
  column-gap: 32px;
}
.flex.wrap {
  flex-wrap: wrap;
}
.flex.nowrap {
  flex-wrap: nowrap;
}
.flex.space-between {
  justify-content: space-between;
}
.flex.justify-center {
  justify-content: center;
}
.flex.justify-end {
  justify-content: flex-end;
}
.flex.align-center {
  align-items: center;
}
.flex.align-start {
  align-items: flex-start;
}
.flex.align-end {
  align-items: flex-end;
}
.flex.stretch {
  align-items: stretch;
}
.flex.all-in-center {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.flex.white {
  color: #ffffff;
}
.flex.white a {
  color: #ffffff;
}
.flex .flex0 {
  flex: 0;
}
.flex .flex1 {
  flex: 1;
}
.flex .flex2 {
  flex: 2;
}

.inline-flex {
  display: inline-flex !important;
}

.grid11,
.grid12,
.grid21,
.grid22,
.grid222,
.grid111,
.grid1111 {
  position: relative;
  width: 100%;
  display: grid;
  grid-gap: 32px;
}
.grid11 .col,
.grid12 .col,
.grid21 .col,
.grid22 .col,
.grid222 .col,
.grid111 .col,
.grid1111 .col {
  position: relative;
}
.grid11 .col img,
.grid12 .col img,
.grid21 .col img,
.grid22 .col img,
.grid222 .col img,
.grid111 .col img,
.grid1111 .col img {
  display: block;
  max-width: 100%;
}
.grid11 .col.example,
.grid12 .col.example,
.grid21 .col.example,
.grid22 .col.example,
.grid222 .col.example,
.grid111 .col.example,
.grid1111 .col.example {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 30px;
  height: 200px;
  background-color: #9b9b9b;
}

.grid11 {
  grid-template-columns: 1fr 1fr;
}

.grid22 {
  grid-template-columns: 1fr 1fr;
}

.grid222 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid12 {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid12 .col:nth-child(2) {
  grid-column: 2/4;
}

.grid21 {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid21 .col img {
  max-width: 100%;
}
.grid21 .col:nth-child(1) {
  grid-column: 1/3;
}
.grid111 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid1111 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  height: 100px;
  border-radius: 100px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background-color: #000000;
  background-position: center;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.avatar.squared {
  border-radius: 4px !important;
}
.avatar.grey {
  background-color: #9b9b9b;
}
.avatar.dark-green {
  background-color: #8ea29b;
}
.avatar.x24 {
  min-width: 24px;
  max-width: 24px;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  font-size: 12px;
}
.avatar.x30 {
  min-width: 30px;
  max-width: 30px;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  font-size: 15px;
}
.avatar.x40 {
  min-width: 40px;
  max-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  font-size: 18px;
}
.avatar.x50 {
  min-width: 50px;
  max-width: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  font-size: 25px;
}
.avatar.online::before {
  content: "";
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 7px;
  height: 7px;
  border-radius: 7px;
  border: 2px solid #fff;
  background-color: #0fc36c;
}
.avatar .hover {
  display: none;
}

.line-clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.line-height12 {
  line-height: 1.2em;
}

.read-more-text p {
  display: none;
}
.read-more-text p:first-child {
  padding-top: 0;
}
.read-more-text.open p {
  display: block;
}
.body-text {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5em;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.body-text table {
  width: 100%;
}
.body-text table td {
  vertical-align: top;
  min-width: 20px;
}
.body-text table td img {
  max-width: none;
}
.body-text h1, .body-text h2 {
  font-size: 34px;
  margin-bottom: 40px;
}
.body-text h3, .body-text h4, .body-text h5, .body-text h6 {
  font-size: 24px;
  margin-bottom: 24px;
}
.body-text p {
  margin: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}
.body-text p:has(iframe) {
  margin-top: 16px;
  margin-bottom: 16px;
}
.body-text a {
  color: #c32fa0;
  text-decoration: none;
}
.body-text a:hover {
  text-decoration: underline;
}
.body-text .marg {
  margin-left: -100px;
}
.body-text img {
  max-width: 100%;
  height: auto !important;
}
.body-text ol {
  list-style-type: decimal;
}
.body-text ul,
.body-text ol {
  margin-left: 32px;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background-color: #ffffff;
  position: relative;
}
.card .content {
  padding: 32px;
  overflow-wrap: break-word;
}
.card .content.small {
  padding: 16px;
}
.card .content.medium {
  padding: 24px;
}
.card.dashboard {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.card.program .content {
  padding: 0px;
}
.card.program .content .cover {
  max-width: 40%;
  aspect-ratio: 16/9;
  max-height: 100%;
}
.card.program .content .cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.card.program .content .info {
  padding: 32px;
}

table.rows {
  width: auto !important;
  min-width: 100%;
  max-width: 100%;
  table-layout: auto;
  border: 0;
  border-spacing: 0px;
  border-collapse: separate;
  box-sizing: border-box;
  table-layout: fixed;
}
table.rows tbody {
  vertical-align: middle;
}
table.rows tbody tr td {
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  background-color: #ffffff;
}
table.rows tbody tr td.align-top {
  vertical-align: text-top;
}
table.rows tbody tr:first-child td:first-child {
  border-top-left-radius: 4px;
}
table.rows tbody tr:first-child td:last-child {
  border-top-right-radius: 4px;
}
table.rows tbody tr:last-child td {
  border-bottom: none;
}
table.rows tbody tr:last-child td:first-child {
  border-bottom-left-radius: 4px;
}
table.rows tbody tr:last-child td:last-child {
  border-bottom-right-radius: 4px;
}
table.rows tfoot td {
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}
table.rows tfoot td:first-child {
  border-bottom-left-radius: 4px;
}
table.rows tfoot td:last-child {
  border-bottom-right-radius: 4px;
}

.bordered-table {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}
.bordered-table .table {
  display: table;
  width: auto !important;
  min-width: 100%;
  table-layout: auto;
  border: 0;
  border-spacing: 0px;
  border-collapse: separate;
  box-sizing: border-box;
  white-space: nowrap;
  table-layout: fixed;
}
.bordered-table .table .tr {
  display: table-row;
}
.bordered-table .table .thead {
  display: table-header-group;
}
.bordered-table .table .thead .th {
  display: table-cell;
  font-weight: 400;
  padding: 10px 20px;
  text-align: start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}
.bordered-table .table .thead .th:first-child {
  border-top-left-radius: 4px;
}
.bordered-table .table .thead .th:last-child {
  border-top-right-radius: 4px;
}
.bordered-table .table .tbody {
  display: table-row-group;
  vertical-align: middle;
}
.bordered-table .table .tbody turbo-frame {
  display: table-row;
}
.bordered-table .table .tbody turbo-frame[complete] .td, .bordered-table .table .tbody turbo-frame.prepend .td {
  -webkit-animation: change-bg-color-green-transparent 1s linear alternate both;
  animation: change-bg-color-green-transparent 1s linear alternate both;
}
.bordered-table .table .tbody turbo-frame:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.bordered-table .table .tbody turbo-frame .td {
  display: table-cell;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  background-color: #ffffff;
}
.bordered-table .tnav {
  display: flex;
  background-color: #ffffff;
  padding: 10px 20px;
  font-size: 12px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.ez-editor-shell {
  width: 100%;
  height: calc(100vh - 240px);
  min-height: 620px;
}

summary {
  list-style: none;
}

#edit_field details summary {
  list-style-type: "+";
  padding-left: 6px;
}
#edit_field details[open] > summary {
  list-style-type: "-";
}
#edit_field .options {
  display: none;
}
#edit_field .table-options {
  display: none;
}
#edit_field[field-type=select] .supporting-text,
#edit_field[field-type=select] .characters-limits {
  display: none;
}
#edit_field[field-type=select] .options {
  display: block;
}
#edit_field[field-type=year] .supporting-text,
#edit_field[field-type=year] .options {
  display: none;
}
#edit_field[field-type=year] .characters-limits {
  display: block;
}
#edit_field[field-type=tags] .supporting-text,
#edit_field[field-type=tags] .label {
  display: none;
}
#edit_field[field-type=tags] .options {
  display: block;
}
#edit_field[field-type=heading] .supporting-text,
#edit_field[field-type=heading] .characters-limits,
#edit_field[field-type=heading] .label,
#edit_field[field-type=heading] .options,
#edit_field[field-type=heading] .optional {
  display: none;
}
#edit_field[field-type=table] .supporting-text,
#edit_field[field-type=table] .characters-limits,
#edit_field[field-type=table] .label,
#edit_field[field-type=table] .options {
  display: none;
}
#edit_field[field-type=table] .table-options {
  display: block;
}

.table-column .table-column-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto 40px;
  align-items: center;
  gap: 8px;
}
.table-column .table-column-main > md-filled-text-field,
.table-column .table-column-main > md-filled-select {
  width: 100%;
  min-width: 0;
}
.table-column.row-label-column .table-column-main {
  grid-template-columns: 1fr auto;
}
@media (max-width: 640px) {
  .table-column .table-column-main {
    grid-template-columns: 1fr 1fr auto;
  }
  .table-column .table-column-main > md-filled-text-field {
    grid-column: 1/-1;
  }
  .table-column .table-column-main .table-column-type {
    grid-column: 1;
  }
  .table-column .table-column-main .table-column-header-color {
    grid-column: 2;
  }
  .table-column .table-column-main > .column-delete {
    grid-column: 3;
    grid-row: 2;
  }
  .table-column .table-column-main .column-required {
    grid-column: 1/-1;
  }
  .table-column.row-label-column .table-column-main {
    grid-template-columns: 1fr auto;
  }
}

.table-column-choices,
.predefined-row-choices {
  width: 100%;
  max-width: 480px;
}

.predefined-row-choices {
  max-width: 520px;
}

.table-choice-editor,
.table-choice-rows {
  display: grid;
  gap: 8px;
}

.table-choice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
}
.table-choice-row.table-choice-row--colored {
  grid-template-columns: minmax(0, 1fr) 40px 40px;
}

.table-choice-input {
  width: 100%;
  min-width: 0;
}

.table-choice-add {
  justify-self: start;
}

.table-color-setting {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.table-color-setting .table-color-picker {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.table-column-header-color {
  z-index: 3;
  min-width: 40px;
}

.table-color-trigger {
  --table-color-button-background: #ffffff;
  --table-color-button-foreground: #475467;
  --md-filled-icon-button-container-color: var(--table-color-button-background);
  --md-filled-icon-button-icon-color: var(--table-color-button-foreground);
  --md-filled-icon-button-hover-icon-color: var(--table-color-button-foreground);
  --md-filled-icon-button-focus-icon-color: var(--table-color-button-foreground);
  --md-filled-icon-button-pressed-icon-color: var(--table-color-button-foreground);
  --md-filled-icon-button-hover-state-layer-color: var(--table-color-button-foreground);
  --md-filled-icon-button-pressed-state-layer-color: var(--table-color-button-foreground);
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 50%;
}

.table-color-menu-content {
  width: 204px;
  box-sizing: border-box;
  padding: 12px 12px 8px;
}

.table-color-presets {
  display: grid;
  grid-template-columns: repeat(5, 28px);
  gap: 8px;
}

.table-color-preset {
  width: 28px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  background: var(--table-preset-color);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
}
.table-color-preset:hover, .table-color-preset:focus-visible {
  outline: 2px solid #475467;
  outline-offset: 2px;
}

.table-color-hex-label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #475467;
  font-size: 12px;
  font-weight: 500;
}

.table-color-hex {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 7px 8px;
  color: #101828;
  font: inherit;
  text-transform: uppercase;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
}
.table-color-hex:focus {
  border-color: #475467;
  outline: 2px solid rgba(71, 84, 103, 0.18);
}
.table-color-hex.is-invalid {
  border-color: #b3261e;
}

.table-color-setting.has-color .table-color-trigger {
  border-color: transparent;
}

.table-color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
}

.table-required-indicator {
  opacity: 0.7;
}

.table-scroll {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto;
  isolation: isolate;
}
.table-scroll table.rows {
  width: max-content !important;
  min-width: 100%;
  max-width: none;
  table-layout: auto;
}
.table-scroll table.rows .table-column-fixed {
  position: sticky;
  left: 0;
  z-index: 10;
  isolation: isolate;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.12);
}
.table-scroll table.rows th.table-column-fixed {
  z-index: 11;
  background-color: #f7f7f7;
}
.table-scroll table.rows td.table-column-fixed {
  background-color: #ffffff;
}
.table-scroll table.rows .table-column-textarea {
  min-width: 280px;
}
.table-scroll table.rows .table-column-textarea md-outlined-text-field {
  resize: none;
}
.table-scroll table.rows .table-column-date {
  min-width: 180px;
}
.table-scroll table.rows .table-column-number {
  min-width: 160px;
}
.table-scroll table.rows .table-column-select,
.table-scroll table.rows .table-column-colored_select {
  min-width: 220px;
}
.table-scroll table.rows td.table-column-colored_select {
  transition: background-color 0.15s ease, color 0.15s ease;
}
.table-scroll table.rows td.table-column-colored_select md-outlined-select {
  --md-sys-color-on-surface: currentColor;
  --md-sys-color-on-surface-variant: currentColor;
  --md-sys-color-primary: currentColor;
  --md-outlined-select-text-field-disabled-input-text-opacity: .72;
  --md-outlined-select-text-field-disabled-trailing-icon-opacity: .72;
}
.table-scroll table.rows .table-column-boolean {
  min-width: 120px;
}
.table-scroll table.rows .table-actions {
  min-width: 52px;
}
.table-scroll table.rows th {
  padding: 10px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  background-color: #f7f7f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.table-scroll table.rows td {
  min-width: 180px;
}
.table-scroll table.rows .table-actions {
  width: 52px;
  min-width: 52px;
}

@media (prefers-reduced-motion: reduce) {
  .table-scroll table.rows td.table-column-colored_select {
    transition: none;
  }
}
.table-field {
  min-width: 0;
  max-width: 100%;
}

.constructor_fields .sortable-item > .flex1 {
  min-width: 0;
}

.copy-picker-list {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.copy-picker-option {
  box-sizing: border-box;
  padding: 12px 16px;
  cursor: pointer;
}
.copy-picker-option + .copy-picker-option {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.copy-picker-option:hover {
  background-color: #F9F9F9;
}
.copy-picker-option:focus-within {
  outline: 2px solid #475467;
  outline-offset: -2px;
}

.copy-picker-empty {
  padding: 32px 16px;
  text-align: center;
}

.copy-picker-loading {
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 16px;
}
.copy-picker-loading md-circular-progress {
  --md-circular-progress-size: 20px;
}

.copy-picker-page {
  display: block;
}
.copy-picker-page > .copy-picker-option:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-copy-picker-target=results][aria-busy=true] {
  opacity: 0.65;
}

.sortable .sortable-item {
  position: relative;
}
.sortable .sortable-item .sortable-icon {
  display: block;
  color: #9b9b9b;
}
.sortable .sortable-item .sortable-icon:hover {
  cursor: grab;
}
.sortable .sortable-item .sortable-td {
  width: 16px;
  padding: 0;
  padding-left: 6px;
}
.sortable .sortable-ghost,
.sortable .sortable-ghost td {
  background-color: #F1F1F1;
}

.field_body.dependent.disabled {
  display: none;
}

#fields .sortable-item {
  padding: 16px;
}
#fields.preview .sortable-item {
  padding: 0px;
}
#fields.preview .sortable-item .field_body {
  margin-top: 16px;
  margin-bottom: 16px;
}
#fields.constructor_fields .field_body.dependent.disabled {
  display: block;
  opacity: 0.6;
}

#chat {
  max-width: 500px;
  width: 100%;
  position: fixed;
  bottom: 4px;
  right: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 10px;
  background-color: #ffffff;
}
#chat.minimized {
  max-height: 56px;
  max-width: 160px;
}
#chat.minimized md-list,
#chat.minimized form {
  display: none;
}
#chat md-list {
  height: 100%;
  max-height: 500px;
  overflow-y: scroll;
}
#chat md-list md-list-item .source {
  display: none;
}
#chat md-list md-divider:last-child {
  display: none;
}
#chat md-list.program-list md-list-item .source {
  display: flex;
  gap: 7px;
  text-align: none;
  text-decoration-line: none;
  color: #9b9b9b;
  margin-top: 8px;
  line-height: 1.3em;
  font-size: 14px;
}

:root {
  --md-ref-typeface-brand: $font-body;
  --md-ref-typeface-plain: $font-body;
  --md-ref-typeface-weight-bold: 900;
  --md-icon-font: "Material Symbols Rounded";
  --md-sys-color-primary: #c32fa0;
  --md-sys-color-surface-tint: rgb(133 75 113);
  --md-sys-color-on-primary: rgb(255 255 255);
  --md-sys-color-primary-container: rgb(255 216 237);
  --md-sys-color-on-primary-container: rgb(106 52 89);
  --md-sys-color-secondary: rgb(125 78 125);
  --md-sys-color-on-secondary: rgb(255 255 255);
  --md-sys-color-secondary-container: rgb(255 214 251);
  --md-sys-color-on-secondary-container: rgb(99 54 100);
  --md-sys-color-tertiary: rgb(3 103 126);
  --md-sys-color-on-tertiary: rgb(255 255 255);
  --md-sys-color-tertiary-container: rgb(181 235 255);
  --md-sys-color-on-tertiary-container: rgb(0 78 95);
  --md-sys-color-error: rgb(186 26 26);
  --md-sys-color-on-error: rgb(255 255 255);
  --md-sys-color-error-container: rgb(255 218 214);
  --md-sys-color-on-error-container: rgb(147 0 10);
  --md-sys-color-background: rgb(255 248 249);
  --md-sys-color-on-background: rgb(33 26 29);
  --md-sys-color-surface: rgb(255 248 249);
  --md-sys-color-on-surface: rgb(33 26 29);
  --md-sys-color-surface-variant: rgb(240 222 229);
  --md-sys-color-on-surface-variant: rgb(79 68 74);
  --md-sys-color-outline: rgb(129 115 122);
  --md-sys-color-outline-variant: rgb(211 194 201);
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(54 46 50);
  --md-sys-color-inverse-on-surface: rgb(251 237 242);
  --md-sys-color-inverse-primary: rgb(248 177 220);
  --md-sys-color-primary-fixed: rgb(255 216 237);
  --md-sys-color-on-primary-fixed: rgb(54 7 43);
  --md-sys-color-primary-fixed-dim: rgb(248 177 220);
  --md-sys-color-on-primary-fixed-variant: rgb(106 52 89);
  --md-sys-color-secondary-fixed: rgb(255 214 251);
  --md-sys-color-on-secondary-fixed: rgb(50 9 54);
  --md-sys-color-secondary-fixed-dim: rgb(237 180 235);
  --md-sys-color-on-secondary-fixed-variant: rgb(99 54 100);
  --md-sys-color-tertiary-fixed: rgb(181 235 255);
  --md-sys-color-on-tertiary-fixed: rgb(0 31 40);
  --md-sys-color-tertiary-fixed-dim: rgb(135 209 235);
  --md-sys-color-on-tertiary-fixed-variant: rgb(0 78 95);
  --md-sys-color-surface-dim: rgb(228 214 220);
  --md-sys-color-surface-bright: rgb(255 248 249);
  --md-sys-color-surface-container-lowest: rgb(255 255 255);
  --md-sys-color-surface-container-low: rgb(254 240 245);
  --md-sys-color-surface-container: rgb(248 234 239);
  --md-sys-color-surface-container-high: rgb(243 229 234);
  --md-sys-color-surface-container-highest: rgb(237 223 228);
  --md-sys-color-scrim: var(--md-sys-color-scrim-light);
  --md-ripple-hover-color: var(--md-sys-color-primary);
  --md-ripple-pressed-color: var(--md-sys-color-primary);
}

md-filled-text-field {
  --md-filled-text-field-container-shape: 6px;
  --md-filled-text-field-container-color: #ffffff;
  --md-filled-text-field-active-indicator-height: 0px;
  --md-filled-text-field-focus-active-indicator-height: 0px;
  --md-filled-text-field-hover-active-indicator-height: 0px;
  --md-filled-text-field-hover-state-layer-opacity: 0;
  resize: none;
}
md-filled-text-field.medium {
  --md-filled-field-top-space: 8px;
  --md-filled-field-bottom-space: 8px;
  --md-filled-field-leading-space: 12px;
  --md-filled-field-trailing-space: 12px;
  --md-filled-text-field-top-space: 8px;
  --md-filled-text-field-bottom-space: 8px;
  --md-filled-text-field-label-text-populated-line-height: 10px;
  --md-filled-text-field-with-label-bottom-space: 2px;
  --md-filled-text-field-with-label-top-space: 4px;
}

md-outlined-text-field {
  --md-outlined-text-field-container-shape: 6px;
  --md-outlined-text-field-focus-outline-width: 2px;
}

md-filled-select {
  --md-filled-select-text-field-container-shape: 6px;
  --md-filled-select-text-field-container-color: #ffffff;
  --md-filled-select-text-field-active-indicator-height: 0px;
  --md-filled-select-text-field-focus-active-indicator-height: 0px;
  --md-filled-select-text-field-hover-active-indicator-height: 0px;
  --md-filled-select-text-field-hover-state-layer-color: #c32fa0;
  --md-filled-select-text-field-hover-state-layer-opacity: 0.02;
  z-index: 2;
}
md-filled-select.medium {
  --md-filled-field-top-space: 8px;
  --md-filled-field-bottom-space: 8px;
  --md-filled-field-leading-space: 12px;
  --md-filled-field-trailing-space: 48px;
}
md-filled-select.label-active {
  --md-filled-select-text-field-container-color: var(--md-ref-palette-secondary98);
}
md-filled-select.label-inactive {
  --md-filled-select-text-field-input-text-color: var(--md-sys-color-on-surface-variant-light);
}
md-filled-select a {
  text-decoration: none;
}

md-outlined-select {
  --md-outlined-select-text-field-container-shape: 6px;
  --md-outlined-select-text-field-focus-outline-width: 2px;
}

md-filled-button.black,
md-outlined-button.black,
md-elevated-button.black,
md-text-button.black,
md-icon-button.black,
md-filled-icon-button.black,
md-outlined-icon-button.black,
md-icon.black {
  --md-sys-color-primary: #000000;
}
md-filled-button.selected-text-button,
md-outlined-button.selected-text-button,
md-elevated-button.selected-text-button,
md-text-button.selected-text-button,
md-icon-button.selected-text-button,
md-filled-icon-button.selected-text-button,
md-outlined-icon-button.selected-text-button,
md-icon.selected-text-button {
  --md-sys-color-primary: #000000;
  background-color: #f1f1f1;
}
md-filled-button.grey,
md-outlined-button.grey,
md-elevated-button.grey,
md-text-button.grey,
md-icon-button.grey,
md-filled-icon-button.grey,
md-outlined-icon-button.grey,
md-icon.grey {
  --md-sys-color-primary: #9b9b9b;
  --md-icon-button-icon-color: #9b9b9b;
  --md-icon-color: #9b9b9b;
  color: #9b9b9b;
}
md-filled-button.grey-text,
md-outlined-button.grey-text,
md-elevated-button.grey-text,
md-text-button.grey-text,
md-icon-button.grey-text,
md-filled-icon-button.grey-text,
md-outlined-icon-button.grey-text,
md-icon.grey-text {
  --md-sys-color-primary: #475467;
  --md-icon-button-icon-color: #475467;
  --md-icon-color: #475467;
  color: #475467;
}
md-filled-button.yellow,
md-outlined-button.yellow,
md-elevated-button.yellow,
md-text-button.yellow,
md-icon-button.yellow,
md-filled-icon-button.yellow,
md-outlined-icon-button.yellow,
md-icon.yellow {
  --md-sys-color-primary: #e7bf00;
  --md-icon-button-icon-color: #e7bf00;
  --md-icon-color: #e7bf00;
  color: #e7bf00;
}
md-filled-button.green-hover,
md-outlined-button.green-hover,
md-elevated-button.green-hover,
md-text-button.green-hover,
md-icon-button.green-hover,
md-filled-icon-button.green-hover,
md-outlined-icon-button.green-hover,
md-icon.green-hover {
  --md-icon-button-hover-icon-color: #0fc36c;
}
md-filled-button.green-hover:hover,
md-outlined-button.green-hover:hover,
md-elevated-button.green-hover:hover,
md-text-button.green-hover:hover,
md-icon-button.green-hover:hover,
md-filled-icon-button.green-hover:hover,
md-outlined-icon-button.green-hover:hover,
md-icon.green-hover:hover {
  --md-sys-color-primary: #0fc36c;
  --md-icon-button-icon-color: #0fc36c;
  --md-icon-color: #0fc36c;
  color: #0fc36c;
}
md-filled-button.red-hover,
md-outlined-button.red-hover,
md-elevated-button.red-hover,
md-text-button.red-hover,
md-icon-button.red-hover,
md-filled-icon-button.red-hover,
md-outlined-icon-button.red-hover,
md-icon.red-hover {
  --md-icon-button-hover-icon-color: #ef4337;
}
md-filled-button.red-hover:hover,
md-outlined-button.red-hover:hover,
md-elevated-button.red-hover:hover,
md-text-button.red-hover:hover,
md-icon-button.red-hover:hover,
md-filled-icon-button.red-hover:hover,
md-outlined-icon-button.red-hover:hover,
md-icon.red-hover:hover {
  --md-sys-color-primary: #ef4337;
  --md-icon-button-icon-color: #ef4337;
  --md-icon-color: #ef4337;
  color: #ef4337;
}
md-filled-button.yellow-hover,
md-outlined-button.yellow-hover,
md-elevated-button.yellow-hover,
md-text-button.yellow-hover,
md-icon-button.yellow-hover,
md-filled-icon-button.yellow-hover,
md-outlined-icon-button.yellow-hover,
md-icon.yellow-hover {
  --md-icon-button-hover-icon-color: #e7bf00;
}
md-filled-button.yellow-hover:hover,
md-outlined-button.yellow-hover:hover,
md-elevated-button.yellow-hover:hover,
md-text-button.yellow-hover:hover,
md-icon-button.yellow-hover:hover,
md-filled-icon-button.yellow-hover:hover,
md-outlined-icon-button.yellow-hover:hover,
md-icon.yellow-hover:hover {
  --md-sys-color-primary: #e7bf00;
  --md-icon-button-icon-color: #e7bf00;
  --md-icon-color: #e7bf00;
  color: #e7bf00;
}
md-filled-button.dark-grey,
md-outlined-button.dark-grey,
md-elevated-button.dark-grey,
md-text-button.dark-grey,
md-icon-button.dark-grey,
md-filled-icon-button.dark-grey,
md-outlined-icon-button.dark-grey,
md-icon.dark-grey {
  --md-sys-color-primary: #475467;
  --md-icon-button-icon-color: #475467;
  --md-icon-color: #475467;
  color: #475467;
}
md-filled-button.green,
md-outlined-button.green,
md-elevated-button.green,
md-text-button.green,
md-icon-button.green,
md-filled-icon-button.green,
md-outlined-icon-button.green,
md-icon.green {
  --md-sys-color-primary: #0fc36c;
  --md-icon-button-icon-color: #0fc36c;
  --md-icon-color: #0fc36c;
  color: #0fc36c;
}
md-filled-button.red,
md-outlined-button.red,
md-elevated-button.red,
md-text-button.red,
md-icon-button.red,
md-filled-icon-button.red,
md-outlined-icon-button.red,
md-icon.red {
  --md-sys-color-primary: #ef4337;
  --md-icon-button-icon-color: #ef4337;
  --md-icon-color: #ef4337;
  color: #ef4337;
}
md-filled-button.large,
md-outlined-button.large,
md-elevated-button.large,
md-text-button.large,
md-icon-button.large,
md-filled-icon-button.large,
md-outlined-icon-button.large,
md-icon.large {
  --md-icon-button-icon-size: 24px;
  --md-icon-button-state-layer-width: 48px;
  --md-icon-button-state-layer-height: 48px;
  --md-filled-icon-button-icon-size: 24px;
  --md-filled-icon-button-container-width: 48px;
  --md-filled-icon-button-container-height: 48px;
  --md-filled-button-container-height: 56px;
  --md-filled-button-label-text-size: 16px;
  --md-filled-button-label-text-line-height: 1.3em;
  --md-filled-button-leading-space: 32px;
  --md-filled-button-trailing-space: 32px;
  --md-outlined-button-container-height: 56px;
  --md-outlined-button-label-text-size: 16px;
  --md-outlined-button-label-text-line-height: 1.3em;
  --md-outlined-button-icon-size: 24px;
  column-gap: 12px;
}
md-filled-button.medium,
md-outlined-button.medium,
md-elevated-button.medium,
md-text-button.medium,
md-icon-button.medium,
md-filled-icon-button.medium,
md-outlined-icon-button.medium,
md-icon.medium {
  --md-icon-button-icon-size: 20px;
  --md-icon-button-state-layer-width: 36px;
  --md-icon-button-state-layer-height: 36px;
  --md-filled-icon-button-icon-size: 20px;
  --md-filled-icon-button-container-width: 36px;
  --md-filled-icon-button-container-height: 36px;
  --md-outlined-icon-button-icon-size: 20px;
  --md-outlined-icon-button-container-width: 36px;
  --md-outlined-icon-button-container-height: 36px;
  --md-icon-size: 24px;
}
md-filled-button.small,
md-outlined-button.small,
md-elevated-button.small,
md-text-button.small,
md-icon-button.small,
md-filled-icon-button.small,
md-outlined-icon-button.small,
md-icon.small {
  --md-filled-button-container-height: 32px;
  --md-filled-button-label-text-size: 14px;
  --md-filled-button-label-text-line-height: 1.3em;
  --md-outlined-button-container-height: 32px;
  --md-outlined-button-label-text-size: 14px;
  --md-outlined-button-label-text-line-height: 1.3em;
  --md-icon-button-icon-size: 16px;
  --md-icon-button-state-layer-width: 32px;
  --md-icon-button-state-layer-height: 32px;
  --md-filled-icon-button-icon-size: 16px;
  --md-filled-icon-button-container-width: 32px;
  --md-filled-icon-button-container-height: 32px;
  --md-outlined-icon-button-icon-size: 16px;
  --md-outlined-icon-button-container-width: 32px;
  --md-outlined-icon-button-container-height: 32px;
  --md-icon-size: 16px;
}
md-filled-button.mini,
md-outlined-button.mini,
md-elevated-button.mini,
md-text-button.mini,
md-icon-button.mini,
md-filled-icon-button.mini,
md-outlined-icon-button.mini,
md-icon.mini {
  --md-filled-button-container-height: 20px;
  --md-filled-button-label-text-size: 13px;
  --md-filled-button-label-text-line-height: 1.3em;
  --md-filled-button-leading-space: 10px;
  --md-filled-button-trailing-space: 10px;
  --md-outlined-button-container-height: 20px;
  --md-outlined-button-label-text-size: 13px;
  --md-outlined-button-label-text-line-height: 1.3em;
  --md-outlined-button-icon-size: 22px;
  --md-outlined-button-leading-space: 12px;
  --md-outlined-button-trailing-space: 12px;
  --md-text-button-container-height: 20px;
  --md-text-button-label-text-size: 13px;
  --md-text-button-label-text-line-height: 1.3em;
  --md-text-button-icon-size: 22px;
  --md-text-button-leading-space: 12px;
  --md-text-button-trailing-space: 12px;
  --md-icon-size: 8px;
}
md-filled-button.supermini,
md-outlined-button.supermini,
md-elevated-button.supermini,
md-text-button.supermini,
md-icon-button.supermini,
md-filled-icon-button.supermini,
md-outlined-icon-button.supermini,
md-icon.supermini {
  --md-icon-size: 4px;
}
md-filled-button.squared,
md-outlined-button.squared,
md-elevated-button.squared,
md-text-button.squared,
md-icon-button.squared,
md-filled-icon-button.squared,
md-outlined-icon-button.squared,
md-icon.squared {
  --md-filled-button-container-shape: 6px;
}

md-icon {
  --md-icon-size: 38px;
  --md-icon-font: "Material Symbols Rounded";
}

md-icon[filled] {
  font-variation-settings: "FILL" 1;
}

md-list {
  padding: 0;
}
md-list.white {
  --md-list-container-color: #ffffff;
}

md-list-item [slot=trailing-supporting-text] {
  width: 30px;
  text-align: end;
  font-size: 30px;
}

md-checkbox {
  --md-focus-ring-color: #ba1a1a;
  --md-focus-ring-width: 2px;
}

md-dialog {
  --md-dialog-container-color: #f2eff4;
  max-width: calc(100% - 48px);
  max-height: calc(100% - 48px);
}
md-dialog.table-fullscreen-dialog {
  width: calc(100vw - 48px);
  height: calc(100vh - 48px);
}
md-dialog.table-fullscreen-dialog .table-scroll {
  max-height: calc(100vh - 240px);
  overflow: auto;
  overscroll-behavior: contain;
}
md-dialog.table-fullscreen-dialog .table-scroll table.rows thead th {
  position: sticky;
  top: 0;
  z-index: 12;
}
md-dialog.table-fullscreen-dialog .table-scroll table.rows thead th.table-column-fixed {
  z-index: 13;
}

.table-fullscreen-content {
  min-width: 0;
}

md-chip-set {
  position: relative;
}
md-chip-set.show-supporting-text {
  padding-bottom: 24px;
}
md-chip-set.show-supporting-text .supporting-text {
  display: block;
}
md-chip-set .supporting-text {
  display: none;
  position: absolute;
  bottom: 0;
  left: 16px;
  color: #b3261e;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

md-switch.green {
  --md-sys-color-primary: #fff;
  --md-switch-selected-track-color: #0fc36c;
  --md-switch-selected-focus-track-color: #0fc36c;
  --md-switch-selected-hover-track-color: #0fc36c;
}

md-divider.light {
  --md-divider-color: #e1e1e1;
}

.primary {
  background-color: var(--md-sys-color-primary);
}

.primary-text {
  color: var(--md-sys-color-primary);
}

.on-primary {
  background-color: var(--md-sys-color-on-primary);
}

.on-primary-text {
  color: var(--md-sys-color-on-primary);
}

.primary-container {
  background-color: var(--md-sys-color-primary-container);
}

.primary-container-text {
  color: var(--md-sys-color-primary-container);
}

.on-primary-container {
  background-color: var(--md-sys-color-on-primary-container);
}

.on-primary-container-text {
  color: var(--md-sys-color-on-primary-container);
}

.secondary {
  background-color: var(--md-sys-color-secondary);
}

.secondary-text {
  color: var(--md-sys-color-secondary);
}

.on-secondary {
  background-color: var(--md-sys-color-on-secondary);
}

.on-secondary-text {
  color: var(--md-sys-color-on-secondary);
}

.secondary-container {
  background-color: var(--md-sys-color-secondary-container);
}

.secondary-container-text {
  color: var(--md-sys-color-secondary-container);
}

.on-secondary-container {
  background-color: var(--md-sys-color-on-secondary-container);
}

.on-secondary-container-text {
  color: var(--md-sys-color-on-secondary-container);
}

.tertiary {
  background-color: var(--md-sys-color-tertiary);
}

.tertiary-text {
  color: var(--md-sys-color-tertiary);
}

.on-tertiary {
  background-color: var(--md-sys-color-on-tertiary);
}

.on-tertiary-text {
  color: var(--md-sys-color-on-tertiary);
}

.tertiary-container {
  background-color: var(--md-sys-color-tertiary-container);
}

.tertiary-container-text {
  color: var(--md-sys-color-tertiary-container);
}

.on-tertiary-container {
  background-color: var(--md-sys-color-on-tertiary-container);
}

.on-tertiary-container-text {
  color: var(--md-sys-color-on-tertiary-container);
}

.error {
  background-color: var(--md-sys-color-error);
}

.error-text {
  color: var(--md-sys-color-error);
}

.error-container {
  background-color: var(--md-sys-color-error-container);
}

.error-container-text {
  color: var(--md-sys-color-error-container);
}

.on-error {
  background-color: var(--md-sys-color-on-error);
}

.on-error-text {
  color: var(--md-sys-color-on-error);
}

.on-error-container {
  background-color: var(--md-sys-color-on-error-container);
}

.on-error-container-text {
  color: var(--md-sys-color-on-error-container);
}

.background {
  background-color: var(--md-sys-color-background);
}

.background-text {
  color: var(--md-sys-color-background);
}

.on-background {
  background-color: var(--md-sys-color-on-background);
}

.on-background-text {
  color: var(--md-sys-color-on-background);
}

.surface {
  background-color: var(--md-sys-color-surface);
}

.surface-text {
  color: var(--md-sys-color-surface);
}

.on-surface {
  background-color: var(--md-sys-color-on-surface);
}

.on-surface-text {
  color: var(--md-sys-color-on-surface);
}

.surface-variant {
  background-color: var(--md-sys-color-surface-variant);
}

.surface-variant-text {
  color: var(--md-sys-color-surface-variant);
}

.on-surface-variant {
  background-color: var(--md-sys-color-on-surface-variant);
}

.on-surface-variant-text {
  color: var(--md-sys-color-on-surface-variant);
}

.outline {
  background-color: var(--md-sys-color-outline);
}

.outline-text {
  color: var(--md-sys-color-outline);
}

.inverse-on-surface {
  background-color: var(--md-sys-color-inverse-on-surface);
}

.inverse-on-surface-text {
  color: var(--md-sys-color-inverse-on-surface);
}

.inverse-surface {
  background-color: var(--md-sys-color-inverse-surface);
}

.inverse-surface-text {
  color: var(--md-sys-color-inverse-surface);
}

.inverse-primary {
  background-color: var(--md-sys-color-inverse-primary);
}

.inverse-primary-text {
  color: var(--md-sys-color-inverse-primary);
}

.shadow {
  background-color: var(--md-sys-color-shadow);
}

.shadow-text {
  color: var(--md-sys-color-shadow);
}

.surface-tint {
  background-color: var(--md-sys-color-surface-tint);
}

.surface-tint-text {
  color: var(--md-sys-color-surface-tint);
}

.outline-variant {
  background-color: var(--md-sys-color-outline-variant);
}

.outline-variant-text {
  color: var(--md-sys-color-outline-variant);
}

.scrim {
  background-color: var(--md-sys-color-scrim);
}

.scrim-text {
  color: var(--md-sys-color-scrim);
}

header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
header .mid {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  height: 60px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

@media only screen and (max-width: 600px) {
  header .mid {
    gap: 8px;
    padding-bottom: 8px;
    padding-top: 8px;
  }
  header nav {
    min-width: 0;
    overflow-x: auto;
  }
  header nav a {
    flex: 0 0 auto;
  }
  header .mid > a {
    flex: 0 0 auto;
  }
}
@media only screen and (max-width: 840px) {
  header .mid,
  section .mid {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media only screen and (max-width: 600px) {
  header .mid,
  section .mid {
    padding-left: 16px;
    padding-right: 16px;
  }
  .grid12,
  .grid21,
  .grid22,
  .grid222,
  .grid111 {
    grid-template-columns: 1fr;
  }
  .grid12 .col:nth-child(1),
  .grid12 .col:nth-child(2),
  .grid21 .col:nth-child(1),
  .grid21 .col:nth-child(2),
  .grid22 .col:nth-child(1),
  .grid22 .col:nth-child(2),
  .grid222 .col:nth-child(1),
  .grid222 .col:nth-child(2),
  .grid111 .col:nth-child(1),
  .grid111 .col:nth-child(2) {
    grid-column: 1;
  }
  .flex-column-mobile {
    flex-direction: column;
  }
  .flex-column-reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .card.program .cover {
    max-width: 100% !important;
  }
}
.animation-text-deleted {
  -webkit-animation: deleted-text-color-change 1s linear alternate both;
  animation: deleted-text-color-change 1s linear alternate both;
}

.animation-updated,
.animation-updated td {
  -webkit-animation: highlight-green-transparent 1s linear;
  animation: highlight-green-transparent 1s linear;
}

.animation-deleted,
.animation-deleted td {
  -webkit-animation: highlight-red-transparent 1s linear;
  animation: highlight-red-transparent 1s linear;
}

@-webkit-keyframes highlight-green-transparent {
  0% {
    box-shadow: inset 0 0 0 100vmax rgba(15, 195, 108, 0.16);
  }
  100% {
    box-shadow: inset 0 0 0 100vmax transparent;
  }
}
@keyframes highlight-green-transparent {
  0% {
    box-shadow: inset 0 0 0 100vmax rgba(15, 195, 108, 0.16);
  }
  100% {
    box-shadow: inset 0 0 0 100vmax transparent;
  }
}
@-webkit-keyframes highlight-red-transparent {
  0% {
    box-shadow: inset 0 0 0 100vmax rgba(239, 67, 55, 0.16);
  }
  100% {
    box-shadow: inset 0 0 0 100vmax transparent;
  }
}
@keyframes highlight-red-transparent {
  0% {
    box-shadow: inset 0 0 0 100vmax rgba(239, 67, 55, 0.16);
  }
  100% {
    box-shadow: inset 0 0 0 100vmax transparent;
  }
}
@-webkit-keyframes deleted-text-color-change {
  0% {
    color: #ef4337;
  }
  100% {
    color: #9b9b9b;
  }
}
@keyframes deleted-text-color-change {
  0% {
    color: #ef4337;
  }
  100% {
    color: #9b9b9b;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animation-text-deleted,
  .animation-updated,
  .animation-updated td,
  .animation-deleted,
  .animation-deleted td {
    animation: none;
  }
  .upload-progress__bar {
    transition: none;
  }
}
.catalog-tabs {
  margin-top: 24px;
  max-width: 100%;
}

.catalog-tabs.flex {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.catalog-tabs.flex::-webkit-scrollbar {
  display: none;
}

#md-catalog-examples h6 {
  font-weight: 500;
}

#md-catalog-examples .color-red {
  color: #8c1d18;
}
#md-catalog-examples .color-green {
  color: #075c38;
}
#md-catalog-examples .color-yellow {
  color: #714b00;
}

.catalog-page-help,
.catalog-section-description {
  color: var(--md-sys-color-on-surface-variant, #475467);
  max-width: 760px;
}

.catalog-section-description {
  margin-top: 8px;
}

.catalog-type-list,
.catalog-type-grid {
  display: grid;
  gap: 16px;
  max-width: 840px;
}

.catalog-type-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.catalog-type-sample {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.catalog-type-sample:focus-visible {
  outline: 2px solid var(--md-sys-color-primary, #c32fa0);
  outline-offset: 2px;
}
.catalog-type-sample > code:last-child {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
}

.catalog-inline-code {
  background: var(--md-sys-color-surface-container-high, #ece6eb);
  border-radius: 4px;
  padding: 2px 6px;
  width: fit-content;
}

.catalog-space-list,
.catalog-width-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.catalog-space-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px minmax(64px, 160px) 1fr;
}

.catalog-space-bar {
  background: var(--md-sys-color-primary, #c32fa0);
  border-radius: 4px;
  height: 16px;
  width: var(--catalog-space);
}

.catalog-layout-frame {
  background: var(--md-sys-color-surface-container, #f3edf2);
  display: grid;
  grid-template-columns: minmax(16px, 1fr) minmax(200px, 720px) minmax(16px, 1fr);
  max-width: 840px;
  min-height: 120px;
}

.catalog-layout-gutter,
.catalog-layout-content,
.catalog-layout-item,
.catalog-layout-grid .col,
.catalog-width-sample {
  align-items: center;
  display: flex;
  justify-content: center;
}

.catalog-layout-gutter {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
  writing-mode: vertical-rl;
}

.catalog-layout-content {
  background: var(--md-sys-color-surface, #fff);
  border-inline: 1px dashed var(--md-sys-color-outline, #79747e);
  padding: 24px;
  text-align: center;
}

.catalog-layout-example {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 12px;
  max-width: 760px;
  padding: 16px;
}

.catalog-layout-item,
.catalog-layout-grid .col {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 8px;
  min-height: 56px;
  padding: 8px 16px;
}

.catalog-layout-grid {
  gap: 16px;
  max-width: 760px;
}

.catalog-width-sample {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 8px;
  box-sizing: border-box;
  gap: 12px;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 16px;
}

.catalog-responsive-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.catalog-responsive-sample {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-device {
  background: var(--md-sys-color-outline, #79747e);
  border-radius: 12px;
  padding: 10px;
}
.catalog-device.tablet {
  height: 150px;
  width: 210px;
}
.catalog-device.mobile {
  height: 150px;
  width: 84px;
}

.catalog-device-content {
  background: var(--md-sys-color-surface, #fff);
  border-radius: 5px;
  height: 100%;
}

[data-catalog-layout]:focus-visible {
  outline: 2px solid var(--md-sys-color-primary, #c32fa0);
  outline-offset: 2px;
}

@media only screen and (max-width: 600px) {
  .catalog-space-row {
    grid-template-columns: 44px 72px 1fr;
  }
}
.catalog-a11y-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 760px;
}

.catalog-a11y-card {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-left-width: 4px;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  padding: 20px;
}
.catalog-a11y-card.is-correct {
  border-left-color: #0b7a48;
}
.catalog-a11y-card.is-wrong {
  border-left-color: #ba1a1a;
}

.catalog-a11y-status {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.catalog-fake-control {
  background: #000;
  border-radius: 999px;
  color: #fff;
  padding: 10px 24px;
  width: fit-content;
}

.catalog-icon-mock,
.catalog-target {
  align-items: center;
  display: flex;
  justify-content: center;
}

.catalog-icon-mock {
  height: 40px;
  width: 40px;
}

.catalog-mock-input {
  border: 2px solid var(--md-sys-color-outline, #79747e);
  border-radius: 6px;
  min-height: 40px;
  padding: 8px 12px;
  color: #000;
}
.catalog-mock-input.error {
  border-color: #ba1a1a;
}

.catalog-accessible-success {
  color: #075c38;
}

.catalog-contrast-sample {
  border-radius: 6px;
  padding: 12px;
}
.catalog-contrast-sample.good {
  background: #fff;
  color: #000;
}
.catalog-contrast-sample.bad {
  background: #fff;
  color: #c7c7c7;
}

.catalog-color-only {
  color: #ef4337;
  font-size: 24px;
}

.catalog-target {
  border: 1px dashed var(--md-sys-color-outline, #79747e);
  border-radius: 50%;
}
.catalog-target.good {
  height: 48px;
  width: 48px;
}
.catalog-target.bad {
  height: 24px;
  width: 24px;
}
.catalog-target.bad md-icon {
  --md-icon-size: 16px;
}

[data-catalog-accessibility]:focus-visible {
  outline: 2px solid var(--md-sys-color-primary, #c32fa0);
  outline-offset: 2px;
}

.catalog-tab {
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
}
.catalog-tab.active, .catalog-tab[aria-current=page] {
  background-color: var(--md-sys-color-surface-container-highest, #e7e7e7);
}

.catalog-color-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.catalog-color {
  align-items: flex-end;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
  min-height: 132px;
  padding: 16px;
}
.catalog-color code {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.catalog-service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 720px;
}

.catalog-state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.catalog-state-item {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-hover-state {
  background-color: var(--md-sys-color-primary-container);
  border-radius: 999px;
}

.catalog-focus-state {
  border-radius: 999px;
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.catalog-button-progress,
.catalog-inline-progress {
  --md-circular-progress-size: 20px;
}

.catalog-code {
  max-width: 720px;
}
.catalog-code summary {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 14px;
}

.catalog-code__body {
  background: var(--md-sys-color-inverse-surface);
  border-radius: 8px;
  color: var(--md-sys-color-inverse-on-surface);
  margin-top: 8px;
  padding: 16px 52px 16px 16px;
  position: relative;
}
.catalog-code__body pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre;
}
.catalog-code__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.catalog-code__copy {
  --md-icon-button-icon-color: var(--md-sys-color-inverse-on-surface);
  position: absolute;
  right: 8px;
  top: 8px;
}

.catalog-tooltip-descriptions {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.catalog-tooltip {
  background: var(--md-sys-color-inverse-surface);
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  color: var(--md-sys-color-inverse-on-surface);
  font-size: 13px;
  line-height: 1.4;
  max-width: 320px;
  padding: 10px 12px;
  pointer-events: none;
  position: fixed;
  z-index: 10000;
}

.catalog-tooltip[hidden] {
  display: none;
}

.catalog-color.primary {
  color: var(--md-sys-color-on-primary);
}

.catalog-color.on-primary {
  color: var(--md-sys-color-on-surface);
}

.catalog-color.primary-container {
  color: var(--md-sys-color-on-primary-container);
}

.catalog-color.on-primary-container {
  color: var(--md-sys-color-primary-container);
}

.catalog-color.secondary {
  color: var(--md-sys-color-on-secondary);
}

.catalog-color.secondary-container {
  color: var(--md-sys-color-on-secondary-container);
}

.catalog-color.tertiary {
  color: var(--md-sys-color-on-tertiary);
}

.catalog-color.tertiary-container {
  color: var(--md-sys-color-on-tertiary-container);
}

.catalog-color.error {
  color: var(--md-sys-color-on-error);
}

.catalog-color.error-container {
  color: var(--md-sys-color-on-error-container);
}

.catalog-color.surface {
  color: var(--md-sys-color-on-surface);
}

.catalog-color.surface-variant {
  color: var(--md-sys-color-on-surface-variant);
}

.catalog-color.outline {
  background-color: var(--md-sys-color-surface);
  border: 4px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
}

.catalog-pattern,
.catalog-pattern-state,
.catalog-empty-state {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  box-sizing: border-box;
  max-width: 760px;
  padding: 24px;
}

.catalog-contract-list,
.catalog-decision-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.catalog-content-rules,
.catalog-copy-grid,
.catalog-status-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 900px;
}

.catalog-content-rule,
.catalog-copy-example,
.catalog-status-item {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  box-sizing: border-box;
  padding: 20px;
}

.catalog-content-comparison {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.catalog-content-comparison > div {
  border-left: 3px solid;
  border-radius: 6px;
  padding: 12px;
}
.catalog-content-comparison .preferred {
  background: #eef4f2;
  border-color: #0b7a48;
}
.catalog-content-comparison .avoid {
  background: #fdf0f0;
  border-color: #ba1a1a;
}

.catalog-content-label {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.catalog-copy-example {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-copy-table {
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  max-width: 900px;
  overflow: hidden;
}

.catalog-copy-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 16px;
}
.catalog-copy-row:not(:last-child) {
  border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
}
.catalog-copy-row.header {
  background: var(--md-sys-color-surface-container, #f3edf2);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.catalog-status-item {
  padding: 16px;
}

.catalog-state-matrix {
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  max-width: 1120px;
  overflow: hidden;
}

.catalog-state-matrix__row {
  display: grid;
  gap: 16px;
  grid-template-columns: 0.75fr repeat(4, 1fr);
  padding: 16px;
}
.catalog-state-matrix__row:not(:last-child) {
  border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
}
.catalog-state-matrix__row.header {
  background: var(--md-sys-color-surface-container, #f3edf2);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.catalog-state-matrix__row > div {
  min-width: 0;
}

.catalog-matrix-examples,
.catalog-state-control-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1120px;
}

.catalog-matrix-examples .catalog-pattern-state,
.catalog-matrix-examples .catalog-empty-state {
  max-width: none;
}

.catalog-form-anatomy,
.catalog-form-decision,
.catalog-form-action-pattern {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  box-sizing: border-box;
  max-width: 760px;
  padding: 20px;
}

.catalog-form-anatomy {
  display: grid;
  gap: 12px;
}

.catalog-form-anatomy__step {
  align-items: center;
  display: flex;
  gap: 16px;
}
.catalog-form-anatomy__step:not(:last-child)::after {
  background: var(--md-sys-color-outline-variant, #cac4d0);
  content: "";
  height: 16px;
  left: 15px;
  position: absolute;
  top: calc(100% - 2px);
  width: 2px;
}
.catalog-form-anatomy__step {
  position: relative;
}

.catalog-form-anatomy__number {
  align-items: center;
  background: var(--md-sys-color-primary-container, #ffd7f3);
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.catalog-validation-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1120px;
}

.catalog-validation-step {
  align-items: center;
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 10px;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: auto 1fr;
  max-width: 210px;
  padding: 14px;
}
.catalog-validation-step .catalog-form-anatomy__number {
  grid-row: 1/3;
}

.catalog-form-decision {
  display: grid;
  gap: 12px;
}

.catalog-form-decision__branch {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 140px auto 1fr;
}

.catalog-form-decision__result {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 8px;
  padding: 12px;
}

.catalog-form-long-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 900px;
}

.catalog-contract,
.catalog-decision,
.catalog-page-pattern {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  box-sizing: border-box;
  padding: 20px;
}

.catalog-contract__details {
  display: grid;
  gap: 12px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
}
.catalog-contract__details > div:last-child {
  grid-column: 1/-1;
}
.catalog-contract__details dt {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.catalog-contract__details dd {
  margin: 4px 0 0;
}

.catalog-page-pattern-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 900px;
}

.catalog-page-pattern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-page-pattern__anatomy {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 8px;
  font-size: 14px;
  padding: 12px;
}

.catalog-decision__options {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.catalog-decision__options > div {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 8px;
  padding: 16px;
}

.catalog-form-examples {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-pattern-state-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
}

.catalog-pattern-state {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  padding: 20px;
}

.catalog-empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.catalog-empty-state > md-icon {
  --md-icon-size: 44px;
  color: var(--md-sys-color-on-surface-variant, #475467);
}

.catalog-shape-grid,
.catalog-elevation-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 900px;
}

.catalog-shape-sample {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-shape-box {
  background: var(--md-sys-color-primary-container, #ffd7f3);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: var(--catalog-radius);
  height: 88px;
  width: 112px;
}

.catalog-border-sample,
.catalog-elevation-sample {
  align-items: center;
  background: var(--md-sys-color-surface, #fff);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 112px;
  padding: 16px;
  text-align: center;
}

.catalog-border-sample {
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
}
.catalog-border-sample.strong {
  border: 2px solid var(--md-sys-color-outline, #79747e);
}
.catalog-border-sample.error {
  border: 2px solid var(--md-sys-color-error, #ba1a1a);
}

.catalog-elevation-sample {
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.catalog-elevation-sample.level-0 {
  box-shadow: none;
}
.catalog-elevation-sample.level-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.catalog-elevation-sample.level-2 {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
.catalog-elevation-sample.level-3 {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.catalog-surface-flow,
.catalog-motion-sequence {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

.catalog-surface-step,
.catalog-motion-step {
  align-items: center;
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
}

.catalog-motion-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
}

.catalog-motion-card {
  align-items: flex-start;
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.catalog-breakpoint-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: 3fr 2fr 1.4fr;
  max-width: 900px;
}

.catalog-breakpoint {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
}
.catalog-breakpoint code {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
}

.catalog-responsive-comparison {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.catalog-viewport,
.catalog-responsive-form,
.catalog-dialog-preview {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border: 8px solid var(--md-sys-color-outline, #79747e);
  border-radius: 14px;
  box-sizing: border-box;
  overflow: hidden;
}
.catalog-viewport.desktop,
.catalog-responsive-form.desktop,
.catalog-dialog-preview.desktop {
  min-height: 210px;
  width: min(100%, 520px);
}
.catalog-viewport.mobile,
.catalog-responsive-form.mobile,
.catalog-dialog-preview.mobile {
  min-height: 260px;
  width: 180px;
}

.catalog-viewport__header {
  background: var(--md-sys-color-surface, #fff);
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px;
  white-space: nowrap;
}
.catalog-viewport__header .selected {
  background: var(--md-sys-color-surface-container-highest, #e7e7e7);
  border-radius: 999px;
  padding: 4px 10px;
}

.catalog-viewport__body {
  color: var(--md-sys-color-on-surface-variant, #475467);
  padding: 24px 16px;
}

.catalog-responsive-form {
  padding: 16px;
}
.catalog-responsive-form.mobile {
  padding: 12px;
}

.catalog-form-field,
.catalog-form-action {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline, #79747e);
  border-radius: 6px;
  box-sizing: border-box;
  padding: 10px 12px;
}

.catalog-form-action {
  border-radius: 999px;
  text-align: center;
}
.catalog-form-action.primary {
  background: #000;
  color: #fff;
}

.catalog-table-viewport {
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  max-width: 600px;
  overflow-x: auto;
}
.catalog-table-viewport table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}
.catalog-table-viewport th,
.catalog-table-viewport td {
  border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

.catalog-dialog-preview {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.catalog-dialog-preview__surface {
  align-items: stretch;
  background: var(--md-sys-color-surface, #fff);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  padding: 20px;
  width: 100%;
}

.catalog-checklist {
  display: grid;
  gap: 8px;
  max-width: 760px;
  padding-left: 24px;
}

.catalog-guideline-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 900px;
}

.catalog-guideline-card {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-left-width: 4px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}
.catalog-guideline-card.do {
  border-left-color: #0b7a48;
}
.catalog-guideline-card.dont {
  border-left-color: #ba1a1a;
}

.catalog-guideline-label {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.catalog-nav-pill {
  background: var(--md-sys-color-surface-container-highest, #e7e7e7);
  border-radius: 999px;
  padding: 8px 14px;
}

[data-catalog-pattern]:focus-visible,
[data-catalog-content]:focus-visible,
[data-catalog-matrix-state]:focus-visible,
[data-catalog-form-architecture]:focus-visible,
[data-catalog-contract]:focus-visible,
[data-catalog-shape]:focus-visible,
[data-catalog-motion]:focus-visible,
[data-catalog-responsive]:focus-visible,
[data-catalog-guideline]:focus-visible {
  outline: 2px solid var(--md-sys-color-primary, #c32fa0);
  outline-offset: 2px;
}

.catalog-data-rule,
.catalog-key-rule,
.catalog-locale-card,
.catalog-component-status,
.catalog-snippet {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  box-sizing: border-box;
  padding: 20px;
}

.catalog-data-table-wrap {
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  max-width: 100%;
  overflow-x: auto;
}

.catalog-data-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}
.catalog-data-table th,
.catalog-data-table td {
  border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  padding: 12px 16px;
  text-align: left;
}
.catalog-data-table thead th {
  background: var(--md-sys-color-surface-container, #f3edf2);
  font-size: 12px;
  font-weight: 600;
}
.catalog-data-table .numeric {
  text-align: right;
}

.catalog-data-status,
.catalog-status-badge {
  background: var(--md-sys-color-surface-container-highest, #e7e7e7);
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
}

.catalog-bulk-bar,
.catalog-data-toolbar,
.catalog-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  max-width: 100%;
}

.catalog-bulk-bar {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 10px;
  padding: 12px 16px;
}

.catalog-mobile-records,
.catalog-snippet-list,
.catalog-usage-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.catalog-usage {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  padding: 20px;
}

.catalog-usage__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.catalog-usage__details {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 2fr;
  margin: 20px 0 0;
}
.catalog-usage__details dt {
  color: var(--md-sys-color-on-surface-variant, #475467);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.catalog-usage__details dd {
  margin: 0;
}

.catalog-usage-link {
  align-items: center;
  color: var(--md-sys-color-primary, #c32fa0);
  display: inline-flex;
  gap: 4px;
}
.catalog-usage-link md-icon {
  font-size: 16px;
}

.catalog-usage-review,
.catalog-usage-approved {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}
.catalog-usage-review md-icon,
.catalog-usage-approved md-icon {
  flex: 0 0 auto;
  font-size: 20px;
}

.catalog-usage-review {
  color: #714b00;
}

.catalog-usage-approved {
  color: #075c38;
}

.catalog-usage-coverage {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1000px;
}

.catalog-usage-coverage__group {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  padding: 16px;
}

.catalog-usage-component {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border-radius: 5px;
  font-size: 12px;
  padding: 4px 7px;
}

.catalog-mobile-record {
  border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  max-width: 480px;
  padding: 16px 0;
}

.catalog-key-grid,
.catalog-locale-comparison,
.catalog-status-legend {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
}

.catalog-key-rule {
  align-items: center;
  display: flex;
  gap: 16px;
}

kbd {
  background: var(--md-sys-color-surface-container, #f3edf2);
  border: 1px solid var(--md-sys-color-outline, #79747e);
  border-radius: 5px;
  box-shadow: 0 2px 0 var(--md-sys-color-outline-variant, #cac4d0);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  padding: 4px 7px;
}

.catalog-focus-flow,
.catalog-status-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-focus-step,
.catalog-status-step {
  border: 1px solid var(--md-sys-color-outline, #79747e);
  border-radius: 8px;
  padding: 12px 16px;
}
.catalog-focus-step.primary,
.catalog-status-step.primary {
  background: #000;
  color: #fff;
}

.catalog-keyboard-table,
.catalog-localization-table,
.catalog-component-inventory {
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  max-width: 1000px;
  overflow: hidden;
}

.catalog-keyboard-row,
.catalog-localization-row,
.catalog-component-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 0.7fr 0.8fr 2fr;
  padding: 14px 16px;
}
.catalog-keyboard-row:not(:last-child),
.catalog-localization-row:not(:last-child),
.catalog-component-row:not(:last-child) {
  border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
}
.catalog-keyboard-row.header,
.catalog-localization-row.header,
.catalog-component-row.header {
  background: var(--md-sys-color-surface-container, #f3edf2);
  font-size: 12px;
  font-weight: 600;
}

.catalog-localization-row,
.catalog-component-row {
  grid-template-columns: repeat(4, 1fr);
}

.catalog-rtl-example {
  background: var(--md-sys-color-surface, #fff);
  border: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
  border-radius: 12px;
  max-width: 520px;
  padding: 20px;
}

.catalog-status-badge.stable {
  background: #d8f3e7;
  color: #075c38;
}

.catalog-status-badge.experimental {
  background: #fff0c2;
  color: #714b00;
}

.catalog-status-badge.deprecated {
  background: #f9dede;
  color: #8c1d18;
}

.catalog-component-status {
  border-top: 4px solid var(--md-sys-color-outline-variant, #cac4d0);
}
.catalog-component-status.stable {
  border-top-color: #0b7a48;
}
.catalog-component-status.experimental {
  border-top-color: #b87900;
}
.catalog-component-status.deprecated {
  border-top-color: #ba1a1a;
}

.catalog-snippet > .catalog-code {
  margin-top: 16px;
  max-width: none;
}

[data-catalog-data-display]:focus-visible,
[data-catalog-keyboard]:focus-visible,
[data-catalog-localization]:focus-visible,
[data-catalog-component-status]:focus-visible,
[data-catalog-code-example]:focus-visible {
  outline: 2px solid var(--md-sys-color-primary, #c32fa0);
  outline-offset: 2px;
}

[data-catalog-usage]:focus-visible {
  outline: 2px solid var(--md-sys-color-primary, #c32fa0);
  outline-offset: 2px;
}

.catalog-visual-test * {
  animation: none !important;
  caret-color: transparent !important;
  transition: none !important;
}

.catalog-visual-test-root {
  scrollbar-width: none;
}
.catalog-visual-test-root::-webkit-scrollbar {
  display: none;
}

@media only screen and (max-width: 600px) {
  .catalog-tabs.flex {
    gap: 4px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
  }
  .catalog-form-examples {
    flex-direction: column;
  }
  .catalog-form-examples > md-outlined-text-field,
  .catalog-form-examples > md-filled-text-field,
  .catalog-form-examples > md-outlined-select,
  .catalog-form-examples > md-filled-select {
    width: 100%;
  }
  .catalog-contract__details,
  .catalog-decision__options,
  .catalog-content-comparison {
    grid-template-columns: 1fr;
  }
  .catalog-copy-row {
    gap: 6px;
    grid-template-columns: 1fr;
  }
  .catalog-copy-row > div:first-child {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
  }
  .catalog-copy-row.header {
    display: none;
  }
  .catalog-state-matrix {
    border: 0;
    overflow: visible;
  }
  .catalog-state-matrix__row {
    background: var(--md-sys-color-surface, #fff);
    border: 1px solid var(--md-sys-color-outline-variant, #cac4d0) !important;
    border-radius: 12px;
    gap: 12px;
    grid-template-columns: 1fr;
    margin-bottom: 16px;
  }
  .catalog-state-matrix__row.header {
    display: none;
  }
  .catalog-state-matrix__row > div[data-label]::before {
    color: var(--md-sys-color-on-surface-variant, #475467);
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
  }
  .catalog-validation-flow {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-validation-flow > md-icon {
    align-self: center;
    transform: rotate(90deg);
  }
  .catalog-validation-step {
    box-sizing: border-box;
    max-width: none;
    width: 100%;
  }
  .catalog-form-decision__branch {
    grid-template-columns: 1fr;
  }
  .catalog-form-decision__branch > md-icon {
    transform: rotate(90deg);
  }
  .catalog-contract__details > div:last-child {
    grid-column: auto;
  }
  .catalog-breakpoint-strip {
    grid-template-columns: 1fr;
  }
  .catalog-responsive-comparison {
    flex-direction: column;
  }
  .catalog-responsive-form.mobile,
  .catalog-viewport.mobile,
  .catalog-dialog-preview.mobile {
    width: min(100%, 320px);
  }
  .catalog-keyboard-row,
  .catalog-localization-row,
  .catalog-component-row {
    grid-template-columns: 1fr;
  }
  .catalog-keyboard-row.header,
  .catalog-localization-row.header,
  .catalog-component-row.header {
    display: none;
  }
  .catalog-keyboard-row > div[data-label]::before,
  .catalog-localization-row > div[data-label]::before,
  .catalog-component-row > div[data-label]::before {
    color: var(--md-sys-color-on-surface-variant, #475467);
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .catalog-data-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-data-toolbar > md-outlined-text-field,
  .catalog-data-toolbar > md-outlined-select {
    width: 100%;
  }
  .catalog-focus-flow,
  .catalog-status-flow {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-focus-flow > md-icon,
  .catalog-status-flow > md-icon {
    align-self: center;
    transform: rotate(90deg);
  }
  .catalog-usage__details {
    grid-template-columns: 1fr;
  }
}
