@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/***** Base *****/
* {
  box-sizing: border-box;
}

body {
  background-color: #f7f7f9;
  color: #141414;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) {
  body > main {
    min-height: 65vh;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

h4 {
  font-size: 16px;
}

a {
  color: #19c386;
  text-decoration: none;
}
a:visited {
  color: #15a872;
}
a:hover, a:active, a:focus {
  text-decoration: underline;
}

.hbs-form input,
.hbs-form textarea, .search input,
.search textarea {
  color: #000;
  font-size: 14px;
}
.hbs-form input, .search input {
  max-width: 100%;
  box-sizing: border-box;
  transition: border 0.12s ease-in-out;
  /* We use the :where selector to not increase the specificity of the selector */
}
.hbs-form input:where(:not([type=checkbox])), .search input:where(:not([type=checkbox])) {
  outline: none;
}
.hbs-form input:where(:not([type=checkbox])):focus, .search input:where(:not([type=checkbox])):focus {
  border: 1px solid #19c386;
}
.hbs-form input[disabled], .search input[disabled] {
  background-color: #ddd;
}
.hbs-form select, .search select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23CCC' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E%0A") no-repeat #fff;
  background-position: right 10px center;
  border: 1px solid #848F99;
  border-radius: 4px;
  padding: 8px 30px 8px 10px;
  outline: none;
  color: #555;
  width: 100%;
}
.hbs-form select:focus, .search select:focus {
  border: 1px solid #19c386;
}
.hbs-form select::-ms-expand, .search select::-ms-expand {
  display: none;
}
.hbs-form textarea, .search textarea {
  border: 1px solid #848F99;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}
.hbs-form textarea:focus, .search textarea:focus {
  border: 1px solid #19c386;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}
@media (min-width: 1160px) {
  .container {
    padding: 0;
    width: 90%;
  }
}

.container-divider {
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}
@media (min-width: 1160px) {
  .error-page {
    padding: 0;
    width: 90%;
  }
}

.visibility-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/***** Buttons *****/
.button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link, .subscriptions-subscribe button, .requests-table-toolbar .organization-subscribe button, .community-follow button, .article-subscribe button, .section-subscribe button, .split-button button {
  background-color: transparent;
  border: 1px solid #19c386;
  border-radius: 4px;
  color: #19c386;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  line-height: 2.34;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  transition: background-color 0.12s ease-in-out, border-color 0.12s ease-in-out, color 0.15s ease-in-out;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  -webkit-touch-callout: none;
}
@media (min-width: 768px) {
  .button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link, .subscriptions-subscribe button, .requests-table-toolbar .organization-subscribe button, .community-follow button, .article-subscribe button, .section-subscribe button, .split-button button {
    width: auto;
  }
}
.button:visited, .pagination-next-link:visited, .pagination-prev-link:visited, .pagination-first-link:visited, .pagination-last-link:visited, .subscriptions-subscribe button:visited, .requests-table-toolbar .organization-subscribe button:visited, .community-follow button:visited, .article-subscribe button:visited, .section-subscribe button:visited, .split-button button:visited {
  color: #19c386;
}
.button:hover, .pagination-next-link:hover, .pagination-prev-link:hover, .pagination-first-link:hover, .pagination-last-link:hover, .subscriptions-subscribe button:hover, .requests-table-toolbar .organization-subscribe button:hover, .community-follow button:hover, .article-subscribe button:hover, .section-subscribe button:hover, .split-button button:hover, .button:active, .pagination-next-link:active, .pagination-prev-link:active, .pagination-first-link:active, .pagination-last-link:active, .subscriptions-subscribe button:active, .requests-table-toolbar .organization-subscribe button:active, .community-follow button:active, .article-subscribe button:active, .section-subscribe button:active, .split-button button:active, .button:focus, .pagination-next-link:focus, .pagination-prev-link:focus, .pagination-first-link:focus, .pagination-last-link:focus, .subscriptions-subscribe button:focus, .requests-table-toolbar .organization-subscribe button:focus, .community-follow button:focus, .article-subscribe button:focus, .section-subscribe button:focus, .split-button button:focus, .button.button-primary, .button-primary.pagination-next-link, .button-primary.pagination-prev-link, .button-primary.pagination-first-link, .button-primary.pagination-last-link, .subscriptions-subscribe button.button-primary, .subscriptions-subscribe button[data-selected=true], .requests-table-toolbar .organization-subscribe button.button-primary, .requests-table-toolbar .organization-subscribe button[data-selected=true], .community-follow button.button-primary, .article-subscribe button.button-primary, .article-subscribe button[data-selected=true], .section-subscribe button.button-primary, .section-subscribe button[data-selected=true], .split-button button.button-primary {
  background-color: #19c386;
  color: #ffffff;
  text-decoration: none;
}
.button.button-primary:hover, .button-primary.pagination-next-link:hover, .button-primary.pagination-prev-link:hover, .button-primary.pagination-first-link:hover, .button-primary.pagination-last-link:hover, .subscriptions-subscribe button.button-primary:hover, .subscriptions-subscribe button[data-selected=true]:hover, .requests-table-toolbar .organization-subscribe button.button-primary:hover, .requests-table-toolbar .organization-subscribe button[data-selected=true]:hover, .community-follow button.button-primary:hover, .article-subscribe button.button-primary:hover, .article-subscribe button[data-selected=true]:hover, .section-subscribe button.button-primary:hover, .section-subscribe button[data-selected=true]:hover, .split-button button:hover, .button.button-primary:focus, .button-primary.pagination-next-link:focus, .button-primary.pagination-prev-link:focus, .button-primary.pagination-first-link:focus, .button-primary.pagination-last-link:focus, .subscriptions-subscribe button.button-primary:focus, .subscriptions-subscribe button[data-selected=true]:focus, .requests-table-toolbar .organization-subscribe button.button-primary:focus, .requests-table-toolbar .organization-subscribe button[data-selected=true]:focus, .community-follow button.button-primary:focus, .article-subscribe button.button-primary:focus, .article-subscribe button[data-selected=true]:focus, .section-subscribe button.button-primary:focus, .section-subscribe button[data-selected=true]:focus, .split-button button.button-primary:focus, .button.button-primary:active, .button-primary.pagination-next-link:active, .button-primary.pagination-prev-link:active, .button-primary.pagination-first-link:active, .button-primary.pagination-last-link:active, .subscriptions-subscribe button.button-primary:active, .subscriptions-subscribe button[data-selected=true]:active, .requests-table-toolbar .organization-subscribe button.button-primary:active, .requests-table-toolbar .organization-subscribe button[data-selected=true]:active, .community-follow button.button-primary:active, .article-subscribe button.button-primary:active, .article-subscribe button[data-selected=true]:active, .section-subscribe button.button-primary:active, .section-subscribe button[data-selected=true]:active, .split-button button.button-primary:active {
  background-color: #0d6948;
  border-color: #0d6948;
}
.button[data-disabled], [data-disabled].pagination-next-link, [data-disabled].pagination-prev-link, [data-disabled].pagination-first-link, [data-disabled].pagination-last-link, .subscriptions-subscribe button[data-disabled], .requests-table-toolbar .organization-subscribe button[data-disabled], .community-follow button[data-disabled], .article-subscribe button[data-disabled], .section-subscribe button[data-disabled], .split-button button[data-disabled] {
  cursor: default;
}

.button-large, .hbs-form input[type=submit] {
  cursor: pointer;
  background-color: #19c386;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
}
@media (min-width: 768px) {
  .button-large, .hbs-form input[type=submit] {
    width: auto;
  }
}
.button-large:visited, .hbs-form input[type=submit]:visited {
  color: #ffffff;
}
.button-large:hover, .button-large:active, .button-large:focus, .hbs-form input[type=submit]:hover, .hbs-form input[type=submit]:active, .hbs-form input[type=submit]:focus {
  background-color: #0d6948;
}
.button-large[disabled], .hbs-form input[type=submit][disabled] {
  background-color: #ddd;
}

.button-secondary {
  color: #474747;
  border: 1px solid #848F99;
  background-color: transparent;
}
.button-secondary:visited {
  color: #474747;
}
.button-secondary:hover, .button-secondary:focus, .button-secondary:active {
  color: #141414;
  border: 1px solid #848F99;
  background-color: #eeeef2;
}

/***** Split button *****/
.split-button {
  display: flex;
}

.split-button button {
  background-color: #19c386;
  border: 0;
  color: #ffffff;
  height: 32px;
  line-height: 16px;
  outline-color: #19c386;
}

[dir=rtl] .split-button button:not(:only-child):first-child {
  border-left: 1px solid #ffffff;
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}
[dir=ltr] .split-button button:not(:only-child):first-child {
  border-right: 1px solid #ffffff;
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}
.split-button button:not(:only-child):last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  padding: 0;
}
[dir=rtl] .split-button button:not(:only-child):last-child {
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}
[dir=ltr] .split-button button:not(:only-child):last-child {
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

/***** Tables *****/
.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}
@media (min-width: 768px) {
  .table {
    table-layout: auto;
  }
}
.table th,
.table th a {
  color: #474747;
  font-size: 13px;
  text-align: left;
}
[dir=rtl] .table th,
[dir=rtl] .table th a {
  text-align: right;
}
.table tr {
  border-bottom: 1px solid #ddd;
  display: block;
  padding: 20px 0;
}
@media (min-width: 768px) {
  .table tr {
    display: table-row;
  }
}
.table td {
  display: block;
}
@media (min-width: 768px) {
  .table td {
    display: table-cell;
  }
}
@media (min-width: 1024px) {
  .table td, .table th {
    padding: 20px 30px;
  }
}
@media (min-width: 768px) {
  .table td, .table th {
    padding: 10px 20px;
    height: 60px;
  }
}

/***** Forms *****/
.form {
  max-width: 650px;
}

.form-field ~ .form-field {
  margin-top: 25px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-field input {
  border: 1px solid #848F99;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}
.form-field input:focus {
  border: 1px solid #19c386;
}

.form-field input[type=text] {
  border: 1px solid #848F99;
  border-radius: 4px;
}
.form-field input[type=text]:focus {
  border: 1px solid #19c386;
}

.form-field input[type=checkbox] {
  width: auto;
}

.form-field .nesty-input {
  border-radius: 4px;
  border: 1px solid #848F99;
  height: 40px;
  line-height: 40px;
  outline: none;
  vertical-align: middle;
}
.form-field .nesty-input:focus {
  border: 1px solid #19c386;
  text-decoration: none;
}

.form-field .hc-multiselect-toggle {
  border: 1px solid #848F99;
}

.form-field .hc-multiselect-toggle:focus {
  outline: none;
  border: 1px solid #19c386;
  text-decoration: none;
}

.form-field textarea {
  vertical-align: middle;
}

.form-field input[type=checkbox] + label {
  margin: 0 0 0 10px;
}

.form-field .optional {
  color: #474747;
  margin-left: 4px;
}

.form-field p {
  color: #474747;
  font-size: 12px;
  margin: 5px 0;
}

.form footer {
  margin-top: 40px;
  padding-top: 30px;
}

.form footer a {
  color: #474747;
  cursor: pointer;
  margin-right: 15px;
}

.form .suggestion-list {
  font-size: 13px;
  margin-top: 30px;
}
.form .suggestion-list label {
  border-bottom: 1px solid #ddd;
  display: block;
  padding-bottom: 5px;
}
.form .suggestion-list li {
  padding: 10px 0;
}
.form .suggestion-list li a:visited {
  color: #15a872;
}

/***** Header *****/
.header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  align-items: center;
  display: flex;
  height: 71px;
  justify-content: space-between;
}
@media (min-width: 1160px) {
  .header {
    padding: 0;
    width: 90%;
  }
}

.logo img {
  max-height: 37px;
  vertical-align: middle;
}

.logo span {
  margin: 0 10px;
  color: #19c386;
}

.logo a {
  display: inline-block;
}

.logo a:hover, .logo a:focus, .logo a:active {
  text-decoration: none;
}

.user-nav {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .user-nav {
    position: relative;
  }
}
.user-nav[aria-expanded=true] {
  background-color: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15), 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  border: solid 1px #ddd;
  right: 0;
  left: 0;
  top: 71px;
  z-index: 1;
}
.user-nav[aria-expanded=true] > a {
  display: block;
  margin: 20px;
}
.user-nav[aria-expanded=true] > .user-nav-list li {
  display: block;
}
.user-nav[aria-expanded=true] > .user-nav-list a {
  display: block;
  margin: 20px;
}

.user-nav-list {
  display: block;
  list-style: none;
}
.user-nav-list > li {
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-wrapper-desktop {
    display: none;
  }
}
@media (min-width: 768px) {
  .nav-wrapper-desktop {
    display: none;
  }
}
@media (min-width: 1024px) {
  .nav-wrapper-desktop {
    display: inline-block;
  }
}
.nav-wrapper-desktop a {
  border: 0;
  color: #19c386;
  display: none;
  font-size: 14px;
  padding: 0 20px 0 0;
  width: auto;
}
@media (min-width: 768px) {
  .nav-wrapper-desktop a {
    display: inline-block;
  }
}
[dir=rtl] .nav-wrapper-desktop a {
  padding: 0 0 0 20px;
}
.nav-wrapper-desktop a:hover, .nav-wrapper-desktop a:focus, .nav-wrapper-desktop a:active {
  background-color: transparent;
  color: #19c386;
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .nav-wrapper-mobile {
    display: none;
  }
}
.nav-wrapper-mobile .menu-button-mobile {
  background: none;
  border: 0;
  width: auto;
  min-width: 71px;
  cursor: pointer;
}
.nav-wrapper-mobile .menu-button-mobile .icon-menu {
  padding: 7px;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.nav-wrapper-mobile .menu-button-mobile[aria-expanded=true] .icon-menu {
  background: #f3f3f3;
}
.nav-wrapper-mobile .menu-list-mobile {
  position: absolute;
  background-color: var(--surface);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.15);
  border-top: solid 1px var(--border);
  border-bottom: solid 1px var(--border);
  right: 0;
  left: 0;
  top: 71px;
  z-index: 2;
}
.nav-wrapper-mobile .menu-list-mobile[aria-expanded=false] {
  display: none;
}
.nav-wrapper-mobile .menu-list-mobile[aria-expanded=true] {
  display: block;
}
.nav-wrapper-mobile .menu-list-mobile-items .item {
  margin: 4px 0;
}
.nav-wrapper-mobile .menu-list-mobile-items li:empty:not(.nav-divider) {
  display: none;
}
.nav-wrapper-mobile .menu-list-mobile-items .nav-divider {
  border-bottom: 0.1px solid var(--border);
  padding: 0;
}
.nav-wrapper-mobile .menu-list-mobile-items .nav-divider:last-child {
  display: none;
}
.nav-wrapper-mobile .menu-list-mobile-items button {
  background: none;
  border: none;
  padding: 8px 24px;
  width: 100%;
  height: 100%;
  color: var(--text-body);
  cursor: pointer;
  text-align: start;
}
.nav-wrapper-mobile .menu-list-mobile-items button:active, .nav-wrapper-mobile .menu-list-mobile-items button:focus, .nav-wrapper-mobile .menu-list-mobile-items button:hover {
  background-color: var(--surface-muted);
  text-decoration: underline;
}
.nav-wrapper-mobile .menu-list-mobile-items a {
  display: block;
  padding: 8px 24px;
  width: 100%;
  height: 100%;
  color: var(--text-body);
}
.nav-wrapper-mobile .menu-list-mobile-items a:active, .nav-wrapper-mobile .menu-list-mobile-items a:focus, .nav-wrapper-mobile .menu-list-mobile-items a:hover {
  background-color: var(--surface-muted);
}
.nav-wrapper-mobile .menu-list-mobile-items .my-profile {
  display: flex;
  line-height: 1.5;
}
.nav-wrapper-mobile .menu-list-mobile-items .my-profile .my-profile-tooltip {
  font-size: 12px;
  color: #68737D;
}
.nav-wrapper-mobile .menu-list-mobile-items .menu-profile-avatar {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  margin-top: 1px;
}
[dir=rtl] .nav-wrapper-mobile .menu-list-mobile-items .menu-profile-avatar {
  margin-right: 0;
  margin-left: 8px;
}

.skip-navigation {
  align-items: center;
  background-color: black;
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: center;
  left: -999px;
  margin: 20px;
  padding: 20px;
  overflow: hidden;
  position: absolute;
  top: auto;
  z-index: -999;
}
[dir=rtl] .skip-navigation {
  left: initial;
  right: -999px;
}
.skip-navigation:focus, .skip-navigation:active {
  left: auto;
  overflow: auto;
  text-align: center;
  text-decoration: none;
  top: auto;
  z-index: 999;
}
[dir=rtl] .skip-navigation:focus, [dir=rtl] .skip-navigation:active {
  left: initial;
  right: auto;
}

#zd-modal-container ~ .skip-navigation {
  display: none;
}

/***** User info in header *****/
.user-info {
  display: inline-block;
}
.user-info .dropdown-toggle::after {
  display: none;
}
@media (min-width: 768px) {
  .user-info .dropdown-toggle::after {
    display: inline-block;
  }
}
.user-info > button {
  border: 0;
  color: #19c386;
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}
.user-info > button:hover, .user-info > button:focus {
  color: #19c386;
  background-color: transparent;
}
.user-info > button::after {
  color: #19c386;
  padding-right: 15px;
}
[dir=rtl] .user-info > button::after {
  padding-left: 15px;
  padding-right: 0;
}

#user #user-name {
  display: none;
  font-size: 14px;
}
@media (min-width: 768px) {
  #user #user-name {
    display: inline-block;
  }
}
#user #user-name:hover {
  text-decoration: underline;
}

/***** User avatar *****/
.user-avatar {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.avatar {
  display: inline-block;
  position: relative;
}
.avatar img {
  height: 40px;
  width: 40px;
}
.avatar .icon-agent {
  color: #19c386;
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -4px;
  background-color: #ffffff;
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 17px;
}

/***** Footer *****/
.footer {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding: 30px 0;
}
.footer a {
  color: #474747;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
}
@media (min-width: 1160px) {
  .footer-inner {
    padding: 0;
    width: 90%;
  }
}
.footer-language-selector button {
  color: #474747;
  display: inline-block;
}

.powered-by-zendesk a,
.powered-by-zendesk a:visited {
  color: #474747;
}

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 15px 0;
  padding: 0;
  display: flex;
}
@media (min-width: 768px) {
  .breadcrumbs {
    margin: 0;
  }
}
.breadcrumbs li {
  display: inline-block;
  color: #474747;
  font-size: 13px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumbs li + li::before {
  content: ">";
  margin: 0 4px;
}
.breadcrumbs li a:visited {
  color: #19c386;
}

/***** Search field *****/
.search-container {
  position: relative;
}

.search {
  border-color: #848F99;
  border-radius: 30px;
  border-style: solid;
  border-width: 1px;
  display: flex;
  position: relative;
  transition: border 0.12s ease-in-out;
}
.search:focus-within {
  border-color: #19c386;
}
.search input[type=search],
.search .clear-button {
  background-color: #fff;
  border-radius: 30px;
  border: none;
}
.search-full input[type=search], .search-full .clear-button {
  border-color: #fff;
}
.search input[type=search] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  color: #666;
  flex: 1 1 auto;
  height: 40px;
  width: 100%;
}
.search input[type=search]:focus {
  color: #555;
}
.search input[type=search]::-webkit-search-decoration, .search input[type=search]::-webkit-search-cancel-button, .search input[type=search]::-webkit-search-results-button, .search input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}
.search input[type=search]:-webkit-autofill, .search input[type=search]:-webkit-autofill:hover, .search input[type=search]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
.search .clear-button {
  align-items: center;
  box-sizing: border-box;
  color: #777;
  cursor: pointer;
  display: none;
  flex: none;
  justify-content: center;
  padding: 0 15px;
}
.search .clear-button:hover {
  background-color: #19c386;
  color: #fff;
}
.search .clear-button:focus {
  outline: 0;
  box-shadow: 0 0 0 3px #19c386;
}
.search-has-value .clear-button {
  display: flex;
}

[dir=ltr] .search input[type=search] {
  padding-left: 40px;
  padding-right: 20px;
}
[dir=ltr] .search-has-value input[type=search] {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right-color: transparent;
}
[dir=ltr] .search-has-value input[type=search]:focus {
  border-right-color: #19c386;
}
[dir=ltr] .search .clear-button {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-left-color: transparent;
}
[dir=ltr] .search .clear-button:focus {
  border-left-color: #19c386;
}

[dir=rtl] .search input[type=search] {
  padding-left: 20px;
  padding-right: 40px;
}
[dir=rtl] .search-has-value input[type=search] {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-left-color: transparent;
}
[dir=rtl] .search-has-value input[type=search]:focus {
  border-left-color: #19c386;
}
[dir=rtl] .search .clear-button {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right-color: transparent;
}
[dir=rtl] .search .clear-button:focus {
  border-right-color: #19c386;
}

.search-icon {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  left: 15px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: #777;
  pointer-events: none;
}
[dir=rtl] .search-icon {
  left: auto;
  right: 15px;
}

/***** Hero component *****/
.hero {
  background-image: url();
  background-position: center;
  background-size: cover;
  height: 300px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}
.hero-inner {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 610px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0;
}
@media (min-width: 768px) {
  .page-header {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
  }
}
.page-header .section-subscribe {
  flex-shrink: 0;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .page-header .section-subscribe {
    margin-bottom: 0;
  }
}
.page-header h1 {
  flex-grow: 1;
  margin-bottom: 10px;
}
.page-header-description {
  font-style: italic;
  margin: 0 0 30px 0;
  word-break: break-word;
}
@media (min-width: 1024px) {
  .page-header-description {
    flex-basis: 100%;
  }
}
.page-header .icon-lock {
  height: 20px;
  width: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px 30px;
  justify-content: space-between;
  margin-bottom: 55px;
}
@media (min-width: 768px) {
  .sub-nav {
    flex-direction: row;
  }
}
.sub-nav .breadcrumbs {
  margin: 0;
}
.sub-nav .search-container {
  max-width: 300px;
  width: 100%;
}
@media (min-width: 768px) {
  .sub-nav .search-container {
    flex: 0 1 300px;
  }
}
.sub-nav input[type=search]::after {
  font-size: 15px;
}

/***** Blocks *****/
/* Used in Homepage#categories and Community#topics */
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .blocks-list {
    margin: 0 -15px;
  }
}
.blocks-item {
  border: 1px solid #19c386;
  border-radius: 4px;
  box-sizing: border-box;
  color: #19c386;
  display: flex;
  flex: 1 0 340px;
  margin: 0 0 30px;
  max-width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .blocks-item {
    margin: 0 15px 30px;
  }
}
.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
  background-color: #19c386;
}
.blocks-item:hover *, .blocks-item:focus *, .blocks-item:active * {
  color: #ffffff;
  text-decoration: none;
}
.blocks-item-internal {
  background-color: transparent;
  border: 1px solid #ddd;
}
.blocks-item-internal .icon-lock {
  height: 15px;
  width: 15px;
  bottom: 5px;
  position: relative;
}
.blocks-item-internal a {
  color: #141414;
}
.blocks-item-link {
  color: #19c386;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  border-radius: inherit;
}
.blocks-item-link:visited, .blocks-item-link:hover, .blocks-item-link:active {
  color: inherit;
  text-decoration: none;
}
.blocks-item-link:focus {
  outline: 0;
  box-shadow: 0 0 0 3px #19c386;
  text-decoration: none;
}
.blocks-item-title {
  margin-bottom: 0;
  font-size: 16px;
}
.blocks-item-description {
  margin: 0;
}
.blocks-item-description:not(:empty) {
  margin-top: 10px;
}

/***** Homepage *****/
.home-section h2 {
  margin-bottom: 10px;
  text-align: center;
}

/***** Promoted articles *****/
.promoted-articles {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .promoted-articles {
    flex-direction: row;
  }
}
.promoted-articles-item {
  flex: 1 0 auto;
}
@media (min-width: 1024px) {
  .promoted-articles-item {
    align-self: flex-end;
    flex: 0 0 auto;
    padding-right: 30px;
    width: 33%; /* Three columns on desktop */
  }
  [dir=rtl] .promoted-articles-item {
    padding: 0 0 0 30px;
  }
}
.promoted-articles-item:nth-child(3n) {
  padding-right: 0;
}
.promoted-articles-item a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}
.promoted-articles-item .icon-lock {
  vertical-align: baseline;
}
.promoted-articles-item:last-child a {
  border: 0;
}
@media (min-width: 1024px) {
  .promoted-articles-item:last-child a {
    border-bottom: 1px solid #ddd;
  }
}

/***** Community section in homepage *****/
.community {
  text-align: center;
}
.community-image {
  min-height: 300px;
  margin-top: 32px;
  background-image: url();
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}
.community a {
  color: #19c386;
  text-decoration: underline;
}
.community a:visited {
  color: #15a872;
}
.community a:hover, .community a:active, .community a:focus {
  color: #15a872;
}

.community,
.activity {
  border-top: 1px solid #ddd;
  padding: 30px 0;
}

/***** Recent activity *****/
.recent-activity-header {
  margin-bottom: 10px;
  text-align: center;
}
.recent-activity-list {
  padding: 0;
}
.recent-activity-item {
  border-bottom: 1px solid #ddd;
  overflow: auto;
  padding: 20px 0;
}
.recent-activity-item h3 {
  margin: 0;
}
.recent-activity-item-parent {
  font-size: 16px;
  font-weight: 600;
}
.recent-activity-item-parent, .recent-activity-item-link {
  margin: 6px 0;
  display: inline-block;
  width: 100%;
}
@media (min-width: 768px) {
  .recent-activity-item-parent, .recent-activity-item-link {
    width: 70%;
    margin: 0;
  }
}
.recent-activity-item-link {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-activity-item-meta {
  color: #141414;
  margin: 15px 0 0 0;
  float: none;
}
@media (min-width: 768px) {
  .recent-activity-item-meta {
    margin: 0;
    float: right;
  }
  [dir=rtl] .recent-activity-item-meta {
    float: left;
  }
}
.recent-activity-item-time, .recent-activity-item-comment {
  display: inline-block;
  font-size: 13px;
}
.recent-activity-item-comment {
  padding-left: 5px;
}
[dir=rtl] .recent-activity-item-comment {
  padding: 0 5px 0 0;
}
.recent-activity-item-comment::before {
  display: inline-block;
}
.recent-activity-controls {
  padding-top: 15px;
}
.recent-activity-controls a {
  color: #19c386;
  text-decoration: underline;
}
.recent-activity-controls a:visited {
  color: #15a872;
}
.recent-activity-controls a:hover, .recent-activity-controls a:active, .recent-activity-controls a:focus {
  color: #15a872;
}
.recent-activity-accessibility-label {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.recent-activity-comment-icon svg {
  vertical-align: middle;
  color: #19c386;
  width: 16px;
  height: 16px;
}
.recent-activity-comment-icon:after {
  content: attr(data-comment-count);
  margin-left: 3px;
}
[dir=rtl] .recent-activity-comment-icon:after {
  margin-left: 0;
  margin-right: 3px;
}

/***** Category pages *****/
.category-container {
  display: flex;
  justify-content: flex-end;
}
.category-content {
  flex: 1;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .category-content {
    flex: 0 0 80%;
  }
}

.section-tree {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .section-tree {
    flex-direction: row;
  }
}
.section-tree .section {
  flex: initial;
  max-width: 100%;
}
@media (min-width: 768px) {
  .section-tree .section {
    flex: 0 0 45%; /* Two columns for tablet and desktop. Leaving 5% separation between columns */
  }
}
.section-tree-title {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}
.section-tree-title a {
  color: #141414;
}
.section-tree .see-all-articles {
  display: block;
  padding: 15px 0;
}

.article-list-item {
  font-size: 14px;
  overflow: hidden;
  padding: 10px 14px;
  text-overflow: ellipsis;
}
.article-list-item a {
  color: #141414;
}

.section-content .article-list {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 32px 0;
  padding: 0;
}
@media (min-width: 768px) {
  .section-content .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .section-content .article-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.section-content .article-list-item {
  border: 1px solid #ddd;
  border-radius: 8px;
}

.icon-star {
  color: #19c386;
  font-size: 18px;
}

/***** Section pages *****/
.section-container {
  display: flex;
  justify-content: center;
}
.section-content {
  flex: 1;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .section-content {
    flex: 0 0 100%;
  }
}
.section-list {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 32px 0;
  padding: 0;
}
@media (min-width: 768px) {
  .section-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .section-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-list-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  padding: 10px 14px;
}
.section-list-item a {
  align-items: center;
  color: #141414;
  display: flex;
  justify-content: space-between;
}

.see-all-sections-trigger {
  cursor: pointer;
  display: block;
  padding: 15px;
  text-align: center;
}
.see-all-sections-trigger[aria-hidden=true] {
  display: none;
}

/***** Article *****/
.article {
  /*
  * The article grid is defined this way to optimize readability:
  * Sidebar | Content | Free space
  * 17%     | 66%     | 17%
  */
  flex: 1 0 auto;
}
@media (min-width: 1024px) {
  .article {
    flex: 1 0 66%;
    max-width: 66%;
    min-width: 640px;
    padding: 0 30px;
  }
}
.article-container {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .article-container {
    flex-direction: row;
  }
}
.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .article-header {
    flex-direction: row;
    margin-top: 0;
  }
}
.article-avatar {
  margin-right: 10px;
}
.article-author {
  margin-bottom: 10px;
}
.article-title {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (min-width: 768px) {
  .article-title {
    flex-basis: 100%; /* Take entire row */
  }
}
.article-title .icon-lock {
  position: relative;
  left: -5px;
  vertical-align: baseline;
}
.article [role=button] {
  flex-shrink: 0; /*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
  width: 100%;
}
@media (min-width: 768px) {
  .article [role=button] {
    width: auto;
  }
}
.article-info {
  max-width: 100%;
}
.article-meta {
  display: inline-block;
  vertical-align: middle;
}
.article-body {
  display: flow-root;
}
.article-body a {
  color: #19c386;
  text-decoration: underline;
}
.article-body a:visited {
  color: #15a872;
}
.article-body a:hover, .article-body a:active, .article-body a:focus {
  color: #15a872;
}
.article-body img {
  height: auto;
  max-width: 100%;
}
.article-body p > img.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.article-body p > img.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.article-body p > img.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.article-body p > img.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.article-body figure.image {
  display: table;
  margin: 0 auto;
}
.article-body figure.image > img {
  display: block;
  width: 100%;
}
.article-body figure.image.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.article-body figure.image.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.article-body figure.image.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.article-body figure.image.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.article-body figcaption {
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
  background-color: #e8e8ee;
}
.article-body ul,
.article-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}
[dir=rtl] .article-body ul,
[dir=rtl] .article-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}
.article-body ul > ul,
.article-body ol > ol,
.article-body ol > ul,
.article-body ul > ol,
.article-body li > ul,
.article-body li > ol {
  margin: 0;
}
.article-body ul {
  list-style-type: disc;
}
.article-body :not(pre) > code {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.article-body pre {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
  direction: ltr;
}
.article-body blockquote {
  border-left: 1px solid #ddd;
  color: #474747;
  font-style: italic;
  padding: 0 15px;
}
.article-body > p:last-child {
  margin-bottom: 0;
}
.article-content {
  line-height: 1.6;
  margin: 40px 0;
  word-wrap: break-word;
}
.article-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.article-comment-count {
  color: #474747;
}
.article-comment-count:hover {
  text-decoration: none;
}
.article-comment-count-icon {
  vertical-align: middle;
  color: #19c386;
  width: 18px;
  height: 18px;
}
.article-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}
@media (min-width: 1024px) {
  .article-sidebar {
    border: 0;
    flex: 0 0 17%;
    height: auto;
    max-width: 17%;
  }
}
.article-relatives {
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
@media (min-width: 768px) {
  .article-relatives {
    flex-direction: row;
  }
}
.article-relatives > * {
  flex: 1 0 50%;
  min-width: 50%;
  overflow-wrap: break-word;
  margin-right: 0;
}
.article-relatives > *:last-child {
  padding: 0;
}
@media (min-width: 768px) {
  .article-relatives > * {
    padding-right: 20px;
  }
}
.article-votes {
  border-top: 1px solid #ddd;
  padding: 30px 0;
  text-align: center;
}
.article-votes-question {
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 0;
}
.article-vote {
  margin: 10px 5px;
  min-width: 90px;
  width: auto;
}
.article-more-questions {
  margin: 10px 0 20px;
  text-align: center;
}
.article-more-questions a {
  color: #19c386;
  text-decoration: underline;
}
.article-more-questions a:visited {
  color: #15a872;
}
.article-more-questions a:hover, .article-more-questions a:active, .article-more-questions a:focus {
  color: #15a872;
}
.article-return-to-top {
  border-top: 1px solid #848F99;
}
@media (min-width: 1024px) {
  .article-return-to-top {
    display: none;
  }
}
.article-return-to-top a {
  color: #141414;
  display: block;
  padding: 20px 0;
}
.article-return-to-top a:hover, .article-return-to-top a:focus {
  text-decoration: none;
}
.article-return-to-top-icon {
  transform: rotate(0.5turn);
}
.article td > p:first-child,
.article th > p:first-child {
  margin-top: 0;
}
.article td > p:last-child,
.article th > p:last-child {
  margin-bottom: 0;
}

.sidenav-title {
  font-size: 15px;
  position: relative;
  font-weight: 600;
}
.sidenav-item {
  display: block;
  margin-top: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-articles li,
.related-articles li {
  margin-bottom: 15px;
}

/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.attachments .attachment-item {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}
.attachments .attachment-item:last-child {
  margin-bottom: 0;
}
.attachments .attachment-item .attachment-icon {
  color: #141414;
  left: 0;
  position: absolute;
  top: 5px;
}
[dir=rtl] .attachments .attachment-item {
  padding-left: 0;
  padding-right: 20px;
}
[dir=rtl] .attachments .attachment-item .attachment-icon {
  left: auto;
  right: 0;
}

.upload-dropzone span {
  color: #474747;
}

/***** Social share links *****/
.share {
  padding: 0;
  white-space: nowrap;
}

.share li, .share a {
  display: inline-block;
}

.share li {
  height: 25px;
  width: 25px;
}

.share a {
  color: #474747;
}
.share a:hover {
  text-decoration: none;
  color: #19c386;
}
.share a svg {
  height: 18px;
  width: 18px;
  display: block;
}

/***** Comments *****/
/* Styles comments inside articles, posts and requests */
.comment {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}
.comment-heading, .recent-articles-title,
.related-articles-title {
  margin-bottom: 5px;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}
.comment-overview {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}
.comment-overview p {
  margin-top: 0;
}
.comment-callout {
  color: #474747;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 0;
}
.comment-callout a {
  color: #19c386;
  text-decoration: underline;
}
.comment-callout a:visited {
  color: #15a872;
}
.comment-callout a:hover, .comment-callout a:active, .comment-callout a:focus {
  color: #15a872;
}
.comment-sorter {
  display: inline-block;
  float: right;
}
.comment-sorter .dropdown-toggle {
  color: #474747;
  font-size: 13px;
}
[dir=rtl] .comment-sorter {
  float: left;
}
.comment-wrapper {
  display: flex;
  position: relative;
}
.comment-wrapper.comment-official {
  border: 1px solid #19c386;
  padding: 40px 20px 20px;
}
@media (min-width: 768px) {
  .comment-wrapper.comment-official {
    padding-top: 20px;
  }
}
.comment-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}
[dir=rtl] .comment-info {
  padding-right: 0;
  padding-left: 20px;
}
.comment-author {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .comment-author {
    justify-content: space-between;
  }
}
.comment-avatar {
  margin-right: 10px;
}
[dir=rtl] .comment-avatar {
  margin-left: 10px;
  margin-right: 0;
}
.comment-meta {
  flex: 1 1 auto;
}
.comment-labels {
  flex-basis: 100%;
}
@media (min-width: 768px) {
  .comment-labels {
    flex-basis: auto;
  }
}
.comment .status-label:not(.status-label-official) {
  margin-top: 10px;
}
@media (min-width: 768px) {
  .comment .status-label:not(.status-label-official) {
    margin-top: 0;
  }
}
.comment-form {
  display: flex;
  padding-top: 30px;
  word-wrap: break-word;
}
.comment-container {
  width: 100%;
}
.comment-form-controls {
  display: none;
  margin-top: 10px;
  text-align: left;
}
@media (min-width: 768px) {
  [dir=ltr] .comment-form-controls {
    text-align: right;
  }
}
.comment-form-controls input[type=submit] {
  margin-top: 15px;
}
@media (min-width: 1024px) {
  .comment-form-controls input[type=submit] {
    margin-left: 15px;
  }
  [dir=rtl] .comment-form-controls input[type=submit] {
    margin-left: 0;
    margin-right: 15px;
  }
}
.comment-form-controls input[type=checkbox] {
  margin-right: 5px;
}
.comment-form-controls input[type=checkbox] [dir=rtl] {
  margin-left: 5px;
}
.comment-ccs {
  display: none;
}
.comment-ccs + textarea {
  margin-top: 10px;
}
.comment-attachments {
  margin-top: 10px;
}
.comment-attachments a {
  color: #19c386;
}
.comment-body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  display: flow-root;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: auto;
}
.comment-body a {
  color: #19c386;
  text-decoration: underline;
}
.comment-body a:visited {
  color: #15a872;
}
.comment-body a:hover, .comment-body a:active, .comment-body a:focus {
  color: #15a872;
}
.comment-body img {
  height: auto;
  max-width: 100%;
}
.comment-body p > img.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.comment-body p > img.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.comment-body p > img.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.comment-body p > img.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.comment-body figure.image {
  display: table;
  margin: 0 auto;
}
.comment-body figure.image > img {
  display: block;
  width: 100%;
}
.comment-body figure.image.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.comment-body figure.image.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.comment-body figure.image.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.comment-body figure.image.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.comment-body figcaption {
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
  background-color: #e8e8ee;
}
.comment-body ul,
.comment-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}
[dir=rtl] .comment-body ul,
[dir=rtl] .comment-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}
.comment-body ul > ul,
.comment-body ol > ol,
.comment-body ol > ul,
.comment-body ul > ol,
.comment-body li > ul,
.comment-body li > ol {
  margin: 0;
}
.comment-body ul {
  list-style-type: disc;
}
.comment-body :not(pre) > code {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.comment-body pre {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
  direction: ltr;
}
.comment-body blockquote {
  border-left: 1px solid #ddd;
  color: #474747;
  font-style: italic;
  padding: 0 15px;
}
.comment-mark-as-solved {
  display: inline-block;
}

/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.vote a:active, .vote a:hover, .vote a:focus {
  text-decoration: none;
}

.vote-sum {
  color: #474747;
  display: block;
  margin: 3px 0;
}
[dir=rtl] .vote-sum {
  direction: ltr;
  unicode-bidi: bidi-override;
}

.vote-up svg {
  transform: scale(1, -1);
}

.vote-up:hover,
.vote-down:hover {
  color: #19c386;
}

.vote-up, .vote-down {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  color: #474747;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-voted {
  color: #19c386;
}

.vote-voted:hover {
  color: #0d6948;
}

/***** Actions *****/
/* Styles admin and en user actions(edit, delete, change status) in comments and posts */
.actions {
  text-align: center;
  flex-shrink: 0; /*Avoid collapsing elements in Safari*/
}
.actions button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***** Community *****/
.community-hero {
  background-image: url();
  margin-bottom: 10px;
}
.community-footer {
  padding-top: 50px;
  text-align: center;
}
.community-footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}
.community-featured-posts .title {
  font-size: 18px;
  font-weight: 600;
}
.community-featured-posts, .community-activity {
  padding-top: 40px;
  width: 100%;
}
.community-header {
  margin-bottom: 30px;
}
.community-header .title {
  margin-bottom: 0;
  font-size: 16px;
}

.post-to-community {
  margin-top: 10px;
}
@media (min-width: 768px) {
  .post-to-community {
    margin: 0;
  }
}

/* Community topics grid */
.topics {
  max-width: none;
  width: 100%;
}
.topics-item .meta-group {
  justify-content: center;
  margin-top: 20px;
}

/* Community topic page */
.topic-header {
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}
@media (min-width: 768px) {
  .topic-header {
    padding-bottom: 10px;
  }
}
.topic-header .dropdown {
  display: block;
  border-top: 1px solid #ddd;
  padding: 10px 0;
}
@media (min-width: 768px) {
  .topic-header .dropdown {
    border-top: 0;
    display: inline-block;
    margin-right: 20px;
    padding: 0;
  }
}

.no-posts-with-filter {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Topic, post and user follow button */
.community-follow {
  margin-bottom: 10px;
  width: 100%;
}
@media (min-width: 768px) {
  .community-follow {
    margin-bottom: 0;
    width: auto;
  }
}
.community-follow button {
  line-height: 30px;
  padding: 0 10px 0 15px;
  position: relative;
  width: 100%;
}
@media (min-width: 768px) {
  .community-follow button {
    width: auto;
  }
}
.community-follow button:hover {
  background-color: #19c386;
}
.community-follow button:hover::after, .community-follow button:focus::after {
  border-color: #ffffff;
  color: #ffffff;
}
.community-follow button[data-selected=true] {
  background-color: #19c386;
  color: #ffffff;
}
.community-follow button[data-selected=true]::after {
  border-left: 1px solid #ffffff;
  color: #ffffff;
}
.community-follow button[data-selected=true]:hover {
  background-color: #0d6948;
  border-color: #0d6948;
}
.community-follow button::after {
  border-left: 1px solid #19c386;
  content: attr(data-follower-count);
  color: #19c386;
  display: inline-block;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-left: 15px;
  padding-left: 10px;
  position: absolute;
  right: 10px;
}
@media (min-width: 768px) {
  .community-follow button::after {
    position: static;
  }
}
[dir=rtl] .community-follow button::after {
  border-left: 0;
  border-right: 1px solid #19c386;
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
}

/***** Striped list *****/
/* Used in community posts list and requests list */
.striped-list {
  padding: 0;
}
.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0;
}
@media (min-width: 768px) {
  .striped-list-item {
    align-items: center;
    flex-direction: row;
  }
}
.striped-list-info {
  flex: 2;
}
.striped-list-title {
  color: #19c386;
  margin-bottom: 10px;
  margin-right: 5px;
}
.striped-list-title:hover, .striped-list-title:focus, .striped-list-title:active {
  text-decoration: underline;
}
.striped-list-title:visited {
  color: #15a872;
}
.striped-list .meta-group {
  margin: 5px 0;
}
.striped-list-count {
  color: #474747;
  font-size: 13px;
  justify-content: flex-start;
  text-transform: capitalize;
}
@media (min-width: 768px) {
  .striped-list-count {
    display: flex;
    flex: 1;
    justify-content: space-around;
  }
}
.striped-list-count-item::after {
  content: "·";
  display: inline-block;
  padding: 0 5px;
}
@media (min-width: 768px) {
  .striped-list-count-item::after {
    display: none;
  }
}
.striped-list-count-item:last-child::after {
  display: none;
}
.striped-list-number {
  text-align: center;
}
@media (min-width: 768px) {
  .striped-list-number {
    color: #141414;
    display: block;
  }
}

/***** Status labels *****/
/* Styles labels used in posts, articles and requests */
.status-label {
  background-color: #038153;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-right: 2px;
  padding: 3px 10px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-block;
}
.status-label:hover, .status-label:active, .status-label:focus {
  text-decoration: none;
}
.status-label-pinned, .status-label-featured, .status-label-official {
  background-color: #19c386;
}
.status-label-official {
  border-radius: 0;
  margin-right: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .status-label-official {
    border-radius: 0 0 4px 4px;
    right: 30px;
    width: auto;
  }
}
[dir=rtl] .status-label-official {
  left: 30px;
  right: auto;
}
.status-label-not-planned, .status-label-closed {
  background-color: #e9ebed;
  color: #474747;
}
.status-label-pending, .status-label-pending-moderation {
  background-color: #1f73b7;
  text-align: center;
}
.status-label-open {
  background-color: #c72a1c;
}
.status-label-solved {
  background-color: #68737d;
}
.status-label-new {
  background-color: #ffb648;
  color: #703b15;
}
.status-label-hold {
  background-color: #000;
}
.status-label-request {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .status-label-request {
    max-width: 150px;
  }
}

/***** Post *****/
/*
* The post grid is defined this way:
* Content | Sidebar
* 70%     | 30%
*/
.post {
  flex: 1;
  margin-bottom: 10px;
}
@media (min-width: 1024px) {
  .post {
    flex: 1 0 70%;
    max-width: 70%;
  }
}
.post-container {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .post-container {
    flex-direction: row;
  }
}
.post-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .post-header {
    align-items: baseline;
    flex-direction: row;
  }
}
.post-header .status-label {
  vertical-align: super;
}
.post-title {
  margin-bottom: 20px;
  width: 100%;
}
@media (min-width: 768px) {
  .post-title {
    margin-bottom: 0;
    padding-right: 10px;
  }
}
.post-title h1 {
  display: inline;
  vertical-align: middle;
}
@media (min-width: 768px) {
  .post-title h1 {
    margin-right: 5px;
  }
}
.post-author {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}
.post-avatar {
  margin-bottom: 30px;
}
.post-content {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  word-break: break-word;
}
.post-info-container {
  display: flex;
  margin-bottom: 40px;
}
.post-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}
[dir=rtl] .post-info {
  padding-right: 0;
  padding-left: 20px;
}
.post-meta {
  display: inline-block;
  flex: 1;
  margin-left: 10px;
  vertical-align: middle;
}
[dir=rtl] .post-meta {
  margin-left: 0;
  margin-right: 10px;
}
.post-body {
  display: flow-root;
}
.post-body a {
  color: #19c386;
  text-decoration: underline;
}
.post-body a:visited {
  color: #15a872;
}
.post-body a:hover, .post-body a:active, .post-body a:focus {
  color: #15a872;
}
.post-body img {
  height: auto;
  max-width: 100%;
}
.post-body p > img.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.post-body p > img.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.post-body p > img.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.post-body p > img.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.post-body figure.image {
  display: table;
  margin: 0 auto;
}
.post-body figure.image > img {
  display: block;
  width: 100%;
}
.post-body figure.image.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.post-body figure.image.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.post-body figure.image.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.post-body figure.image.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.post-body figcaption {
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
  background-color: #e8e8ee;
}
.post-body ul,
.post-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}
[dir=rtl] .post-body ul,
[dir=rtl] .post-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}
.post-body ul > ul,
.post-body ol > ol,
.post-body ol > ul,
.post-body ul > ol,
.post-body li > ul,
.post-body li > ol {
  margin: 0;
}
.post-body ul {
  list-style-type: disc;
}
.post-body :not(pre) > code {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.post-body pre {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
  direction: ltr;
}
.post-body blockquote {
  border-left: 1px solid #ddd;
  color: #474747;
  font-style: italic;
  padding: 0 15px;
}
.post-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.post-comment-count {
  color: #474747;
}
.post-comment-count:hover {
  text-decoration: none;
}
.post-comment-count .icon-comments {
  color: #19c386;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 5px;
  vertical-align: middle;
}
.post-sidebar {
  border-top: 1px solid #ddd;
  flex: 1;
  padding: 30px 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .post-sidebar {
    border: 0;
    flex: 1 0 30%;
    padding: 0 0 0 50px;
    text-align: initial;
  }
  [dir=rtl] .post-sidebar {
    padding: 0 50px 0 0;
  }
}
.post-sidebar-title {
  font-size: 18px;
  font-weight: 600;
}
.post-comments {
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  .post-comments {
    margin-bottom: 0;
  }
}

/***** Community Badges *****/
/* Styles labels used next to the authors of article comments, community posts, and community comments */
.community-badge-title {
  background-color: #04444d;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0px 8px;
  vertical-align: top;
  white-space: nowrap;
  display: inline-block;
  line-height: 18px;
  vertical-align: middle;
}

.community-badge-titles {
  display: inline;
}

.community-badge-achievement {
  display: block;
  height: 16px;
  white-space: nowrap;
  width: 16px;
}
.community-badge-achievement img {
  width: 100%;
  height: 100%;
}

.community-badge-achievements {
  display: flex;
}

.community-badge-achievements-rest {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  vertical-align: top;
}

.community-badge {
  margin: 2px;
}

.profile-info .community-badge-title {
  padding: 2px 8px;
  line-height: 20px;
}
.profile-info .community-badge-achievement {
  height: 40px;
  width: 40px;
}
.profile-info .community-badge-achievements-rest {
  line-height: 40px;
  font-size: 20px;
}

/* Navigation element that collapses on mobile */
.collapsible-nav {
  flex-direction: column;
  font-size: 14px;
  position: relative;
}
@media (min-width: 768px) {
  .collapsible-nav {
    flex-direction: row;
  }
}

.collapsible-nav-border {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
@media (min-width: 768px) {
  .collapsible-nav-border {
    border-top: 0;
  }
}

.collapsible-nav-toggle {
  top: 22.5px;
  transform: translateY(-50%);
  position: absolute;
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
@media (min-width: 768px) {
  .collapsible-nav-toggle {
    display: none;
  }
}
[dir=rtl] .collapsible-nav-toggle {
  left: 0;
  right: auto;
}
.collapsible-nav-toggle-icon {
  display: none;
}
.collapsible-nav-toggle[aria-expanded=false] .chevron-icon {
  display: inline-block;
}
.collapsible-nav-toggle[aria-expanded=true] .x-icon {
  display: inline-block;
}
.collapsible-nav-toggle:focus {
  outline: none;
  border: 1px solid #19c386;
}

.collapsible-nav-list {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .collapsible-nav-list {
    flex-direction: row;
  }
}
.collapsible-nav-list li {
  color: #141414;
  line-height: 45px;
  order: 1;
}
@media (min-width: 768px) {
  .collapsible-nav-list li {
    line-height: normal;
    margin-right: 30px;
  }
  [dir=rtl] .collapsible-nav-list li {
    margin-left: 30px;
    margin-right: 0;
  }
  .collapsible-nav-list li a {
    text-decoration: none;
    padding: 15px 0;
  }
}
.collapsible-nav-list li a {
  color: #141414;
  display: block;
}
@media (min-width: 768px) {
  .collapsible-nav-list li:hover {
    border-bottom: 4px solid #ddd;
  }
  .collapsible-nav-list li:hover a:not([aria-current=page]) {
    padding: 15px 0 11px 0;
    text-decoration: none;
  }
}
.collapsible-nav-list li:not([aria-selected=true]),
.collapsible-nav-list li:not(.current) {
  display: none;
}
@media (min-width: 768px) {
  .collapsible-nav-list li:not([aria-selected=true]),
  .collapsible-nav-list li:not(.current) {
    display: block;
  }
}
@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected=true] {
    padding: 15px 0 11px 0;
  }
}
.collapsible-nav-list li[aria-selected=true],
.collapsible-nav-list li.current {
  order: 0;
  position: relative;
}
@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected=true],
  .collapsible-nav-list li.current {
    border-bottom: 4px solid #19c386;
    order: 1;
  }
}
.collapsible-nav-list li[aria-selected=true] a,
.collapsible-nav-list li.current a {
  color: #141414;
}

.collapsible-nav[aria-expanded=true] li:not([aria-selected=true]),
.collapsible-nav[aria-expanded=true] li:not(.current) {
  display: block;
}

/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
  flex: 1;
  max-height: 45px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
@media (min-width: 1024px) {
  .collapsible-sidebar {
    max-height: none;
    padding: 0;
  }
}
.collapsible-sidebar-title {
  margin-top: 0;
}
.collapsible-sidebar-toggle {
  position: absolute;
  top: 22.5px;
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
@media (min-width: 1024px) {
  .collapsible-sidebar-toggle {
    display: none;
  }
}
[dir=rtl] .collapsible-sidebar-toggle {
  left: 0;
  right: auto;
}
.collapsible-sidebar-toggle-icon {
  display: none;
}
.collapsible-sidebar-toggle[aria-expanded=false] .chevron-icon {
  display: inline-block;
}
.collapsible-sidebar-toggle[aria-expanded=true] .x-icon {
  display: inline-block;
}
.collapsible-sidebar-toggle:focus {
  outline: none;
  border: 1px solid #19c386;
}
.collapsible-sidebar-body {
  display: none;
}
@media (min-width: 1024px) {
  .collapsible-sidebar-body {
    display: block;
  }
}
.collapsible-sidebar[aria-expanded=true] {
  max-height: none;
}
.collapsible-sidebar[aria-expanded=true] .collapsible-sidebar-body {
  display: block;
}

/***** My activities *****/
.my-activities-nav {
  background-color: #e8e8ee;
  margin-bottom: 20px;
}
.my-activities-sub-nav {
  margin-bottom: 30px;
}
.my-activities-table .striped-list-title { /* My activities tables */
  display: block;
  margin-bottom: 10px;
  max-width: 350px;
  white-space: normal;
}
@media (min-width: 1024px) {
  .my-activities-table .striped-list-title {
    margin-bottom: 0;
    max-width: 500px;
    min-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.my-activities-table thead {
  display: none;
}
@media (min-width: 768px) {
  .my-activities-table thead {
    display: table-header-group;
  }
}
.my-activities-table th:first-child,
.my-activities-table td:first-child {
  padding-left: 0;
}
@media (min-width: 1024px) {
  .my-activities-table th:first-child,
  .my-activities-table td:first-child {
    width: 500px;
  }
}
.my-activities-table th:last-child,
.my-activities-table td:last-child {
  padding-right: 0;
}
.my-activities-table td:not(:first-child) {
  display: none;
}
@media (min-width: 768px) {
  .my-activities-table td:not(:first-child) {
    display: table-cell;
  }
}

/* Requests table */
.requests-search {
  width: 100%;
}
.requests-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .requests-table-toolbar {
    flex-direction: row;
  }
}
.requests-table-toolbar .search {
  flex: 1;
  width: 100%;
}
.requests-table-toolbar .request-table-filter {
  width: 100%;
}
@media (min-width: 768px) {
  .requests-table-toolbar .request-table-filter {
    width: auto;
  }
}
.requests-table-toolbar .request-filter {
  display: block;
}
@media (min-width: 768px) {
  .requests-table-toolbar .request-filter {
    margin: 0 0 0 30px;
  }
  [dir=rtl] .requests-table-toolbar .request-filter {
    margin: 0 30px 0 0;
  }
}
.requests-table-toolbar .request-filter-label {
  font-size: 13px;
  margin-top: 30px;
}
@media (min-width: 768px) {
  .requests-table-toolbar .request-filter-label {
    margin-top: 0;
  }
}
.requests-table-toolbar select {
  max-height: 40px;
  margin-bottom: 30px;
  width: 100%;
}
@media (min-width: 768px) {
  .requests-table-toolbar select {
    margin-bottom: 0;
    max-width: 300px;
    width: auto;
  }
}
@media (min-width: 768px) {
  .requests-table-toolbar .organization-subscribe {
    margin-left: 10px;
  }
  [dir=rtl] .requests-table-toolbar .organization-subscribe {
    margin: 0 10px 0 0;
  }
}
.requests-table-toolbar .organization-subscribe button {
  line-height: 40px;
  max-height: 40px;
  padding: 0 20px;
}
.requests-table-toolbar + .requests-search-info {
  margin-top: 15px;
}
.requests-table-toolbar + .requests-search-info.meta-data::after {
  content: "";
  margin: 0;
}
.requests-table-toolbar + .requests-search-info + .requests {
  margin-top: 20px;
}
.requests-table-toolbar + .requests {
  margin-top: 40px;
}
.requests .requests-table-meta {
  display: block;
}
@media (min-width: 768px) {
  .requests .requests-table-meta {
    display: none;
  }
}
.requests .requests-table thead {
  display: none;
}
@media (min-width: 768px) {
  .requests .requests-table thead {
    display: table-header-group;
  }
}
.requests .requests-table-info {
  display: block;
}
@media (min-width: 768px) {
  .requests .requests-table-info {
    display: table-cell;
    vertical-align: middle;
    width: auto;
  }
}
.requests .requests-table .requests-link {
  position: relative;
}
.requests .requests-table .requests-sort-symbol {
  position: absolute;
  left: calc(100% + 3px);
  bottom: 0;
  font-size: 10px;
}

/* Following table */
@media (min-width: 768px) {
  .subscriptions-subscribe button {
    width: auto;
  }
}
.subscriptions-table td:last-child {
  display: block;
}
@media (min-width: 768px) {
  .subscriptions-table td:last-child {
    display: table-cell;
  }
}
.subscriptions-table td:first-child {
  display: flex;
  align-items: center;
}
.subscriptions-table .user-avatar {
  margin-right: 10px;
}
.subscriptions .striped-list-title {
  display: inline-block;
  vertical-align: middle;
}

/* Contributions table */
.contributions-table td:last-child {
  color: #474747;
  font-size: 13px;
}
@media (min-width: 768px) {
  .contributions-table td:last-child {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }
}

.no-activities {
  color: #474747;
}

/***** Request *****/
.request-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .request-container {
    align-items: flex-start;
    flex-direction: row;
  }
}
.request-container .comment-container {
  min-width: 0;
}
.request-breadcrumbs {
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .request-breadcrumbs {
    margin-bottom: 60px;
  }
}
.request-main {
  flex: 1 0 auto;
  order: 1;
}
.request-main .comment-fields, .request-main .request-submit-comment {
  display: none;
}
.request-main .comment-fields.shown {
  display: block;
}
.request-main .request-submit-comment.shown {
  display: inline;
}
@media (min-width: 1024px) {
  .request-main {
    flex: 0 0 66%;
    order: 0;
    min-width: 0;
  }
}
.request-main .comment-form-controls {
  display: block;
}
.request-main .comment-ccs {
  display: block;
}
.request-main .comment-show-container {
  border-radius: 2px;
  border: 1px solid #ddd;
  color: #474747;
  text-align: inherit;
  padding: 8px 25px;
  width: 100%;
}
.request-main .comment-show-container.hidden {
  display: none;
}
.request-main .form-field.comment-ccs > ul {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
.request-main .form-field.comment-ccs > ul[data-hc-focus=true] {
  border: 1px solid #19c386;
}
.request-main .form-field.comment-ccs > input[type=text] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
.request-main .comment-ccs + textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}
.request-main .comment-ccs + textarea:focus {
  border-top: 1px solid #19c386;
}
.request-main input#mark_as_solved {
  display: none;
}
.request-title {
  width: 100%;
}
@media (min-width: 1024px) {
  .request-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    max-width: 66%;
    padding-bottom: 20px;
  }
}
.request-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  order: 0;
}
@media (min-width: 1024px) {
  .request-sidebar {
    background-color: #eeeef2;
    border: 0;
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 20px;
    width: 30%;
  }
}
.request-sidebar h2 {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
@media (min-width: 1024px) {
  .request-sidebar h2 {
    display: none;
  }
}
.request-details {
  border-bottom: 1px solid #ddd;
  font-size: 0;
  margin: 0;
  padding-bottom: 20px;
}
.request-details:last-child {
  border: 0;
}
.request-details dt, .request-details dd {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  margin: 20px 0 0 0;
}
.request-details dd {
  padding: 0 10px;
  width: 60%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.request-details dd::after {
  content: "\a";
  white-space: pre;
}
.request-details dt {
  line-break: strict;
  color: #474747;
  width: 40%;
}
.request-details .request-collaborators {
  display: inline-block;
}
.request-attachments dt, .request-attachments dd {
  width: 100%;
}
.request-attachments dd {
  margin: 10px 0 0 0;
}
.request-form textarea {
  min-height: 120px;
}
.request-follow-up {
  padding-top: 20px;
}

/***** Pagination *****/
.pagination {
  margin: 20px 0;
  text-align: center;
}
.pagination-next, .pagination-prev, .pagination-first, .pagination-last {
  display: inline-block;
}
.pagination-first-link, .pagination-last-link {
  padding: 0 10px;
}
.pagination-first-text, .pagination-last-text {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.pagination-next-link {
  padding-right: 10px;
}
.pagination-next-text {
  margin-right: 10px;
}
[dir=rtl] .pagination-next-link {
  padding-left: 10px;
}
[dir=rtl] .pagination-next-text {
  margin-left: 10px;
}
.pagination-prev-link {
  padding-left: 10px;
}
.pagination-prev-text {
  margin-left: 10px;
}
[dir=rtl] .pagination-prev-link {
  padding-right: 10px;
}
[dir=rtl] .pagination-prev-text {
  margin-right: 10px;
}

/***** Metadata *****/
.meta-group {
  display: block;
}

.meta-group-opposite {
  float: right;
}

[dir=rtl] .meta-group-opposite {
  float: left;
}

.meta-group * {
  display: inline;
}

.meta-data {
  color: #474747;
  font-size: 13px;
}
.meta-data:not(:last-child)::after {
  content: "·";
  margin: 0 5px;
}

/* User Profiles */
.profile-header {
  padding: 30px 0;
  background-color: #eeeef2;
}

.profile-header .container {
  display: flex;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .profile-header .container {
    flex-wrap: nowrap;
  }
}

.profile-header .profile-info {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.profile-avatar {
  position: relative;
  line-height: 0;
  align-self: center;
  margin-right: 10px;
}
[dir=rtl] .profile-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-avatar .user-avatar {
  width: 80px;
  height: 80px;
}

.profile-avatar .icon-agent {
  bottom: 0;
  right: 0;
}

.profile-header .basic-info {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}
.profile-header .basic-info .name {
  margin: 0;
  line-height: 25px;
  vertical-align: middle;
  display: inline;
}

.profile-header .options {
  display: flex;
  flex-basis: 100%;
  margin-top: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .profile-header .options {
    flex-wrap: nowrap;
    flex-basis: auto;
    margin-top: 0;
    margin-left: 10px;
  }
  [dir=rtl] .profile-header .options {
    margin-left: 0;
    margin-right: 10px;
  }
  .profile-header .options > :not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
  }
  [dir=rtl] .profile-header .options > :not(:last-child) {
    margin-left: 10px;
    margin-right: 0;
  }
}

.user-profile-actions {
  width: 100%;
  margin-bottom: 15px;
}

.profile-header .description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 15px 0;
  flex-basis: 100%;
}

.profile-stats {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.profile-stats .stat {
  display: flex;
  margin-bottom: 10px;
}

.profile-stats .stat-label {
  color: #474747;
  flex: 0 0 100px;
  margin-right: 10px;
}
[dir=rtl] .profile-stats .stat-label {
  margin-left: 10px;
  margin-right: 0;
}

.profile-stats-activity {
  border-top: solid 1px #ddd;
  margin-top: 15px;
}
@media (min-width: 768px) {
  .profile-stats-activity {
    border-top: 0;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat {
    flex-direction: column;
  }
}

.profile-stats-activity .stat:first-child {
  margin-top: 10px;
}
@media (min-width: 768px) {
  .profile-stats-activity .stat:first-child {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:not(:last-child) {
    margin-right: 40px;
  }
  [dir=rtl] .profile-stats-activity .stat:not(:last-child) {
    margin-left: 40px;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat-label {
    flex: 0 1 auto;
  }
}

.profile-stats-counters {
  border-bottom: solid 1px #ddd;
}
@media (min-width: 768px) {
  .profile-stats-counters {
    flex: 0 0 200px;
    border-bottom: 0;
    margin-left: 40px;
  }
  [dir=rtl] .profile-stats-counters {
    margin-left: 0;
    margin-right: 40px;
  }
}
@media (min-width: 1024px) {
  .profile-stats-counters {
    flex: 0 0 270px;
    margin-left: 60px;
  }
  [dir=rtl] .profile-stats-counters {
    margin-right: 60px;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat {
    flex-direction: column;
  }
}
@media (min-width: 1024px) {
  .profile-stats-counters .stat {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat-label {
    flex: 0 1 auto;
  }
}
@media (min-width: 1024px) {
  .profile-stats-counters .stat-label {
    flex: 0 0 100px;
  }
}

.profile-private-badge {
  flex-basis: 100%;
  border: solid 1px #19c386;
  border-radius: 4px;
  color: #19c386;
  padding: 5px 20px;
  font-size: 12px;
  text-align: center;
}
.profile-private-badge .profile-private-icon {
  margin-left: 5px;
  line-height: 15px;
}
@media (min-width: 768px) {
  .profile-private-badge {
    flex-basis: auto;
  }
}

.profile-nav {
  background-color: #e8e8ee;
  margin-bottom: 37px;
}

.profile-section {
  width: 100%;
}
@media (min-width: 1024px) {
  .profile-section {
    width: calc(100% - 330px);
  }
}

.profile-section-header {
  display: flex;
  flex-wrap: wrap;
}

.profile-section-title {
  flex-basis: 100%;
  margin-bottom: 0;
}

.profile-section-description {
  flex-basis: 100%;
  padding: 10px 0;
  color: #474747;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .profile-section-description {
    flex: 1 0 50%;
    padding-bottom: 0;
  }
}

.profile-section-sorter {
  flex-basis: 100%;
  border-top: solid 1px #eee;
  font-size: 13px;
}
.profile-section-sorter .dropdown-toggle {
  padding: 10px 0;
  width: 100%;
}
.profile-section-sorter .dropdown-toggle::after {
  position: absolute;
  right: 0;
}
[dir=rtl] .profile-section-sorter .dropdown-toggle::after {
  left: 0;
  right: initial;
}
@media (min-width: 768px) {
  .profile-section-sorter .dropdown-toggle::after {
    position: relative;
  }
}
@media (min-width: 768px) {
  .profile-section-sorter {
    flex: 0 1 auto;
    padding-top: 0;
    border-top: 0;
    margin-left: 20px;
  }
  [dir=rtl] .profile-section-sorter {
    margin-left: 0;
    margin-right: 20px;
  }
}

.profile-badges-items {
  margin-top: 25px;
}
.profile-badges-item {
  border-top: 1px solid #ddd;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 27px 12px;
}
.profile-badges-item > div {
  padding-right: 12px;
  padding-left: 12px;
}
.profile-badges-item-image {
  height: 40px;
  width: 40px;
  margin-right: 12px;
}
.profile-badges-item-image img {
  max-height: 40px;
}
[dir=rtl] .profile-badges-item-image {
  margin-left: 12px;
  margin-right: 0;
}
.profile-badges-item-title, .profile-badges-item-metadata-title {
  font-size: 15px;
  margin-bottom: 10px;
}
.profile-badges-item-title {
  font-weight: 600;
}
.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: #474747;
  font-size: 13px;
  margin: 0;
}
.profile-badges-item-metadata {
  margin-left: auto;
  text-align: right;
}
[dir=rtl] .profile-badges-item-metadata {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.profile-contribution {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  padding: 20px 0;
  position: relative;
}

.profile-contribution-header {
  margin-bottom: 5px;
}

.profile-contribution-title {
  margin: 0 0 5px 0;
  display: inline;
  line-height: 21px;
  font-size: 15px;
  vertical-align: middle;
}

.profile-contribution-body {
  margin: 10px 0;
}

.profile-contribution-list > .profile-contribution {
  border-top: 1px solid #eee;
}
@media (min-width: 768px) {
  .profile-contribution-list > .profile-contribution {
    padding-left: 30px;
  }
  [dir=rtl] .profile-contribution-list > .profile-contribution {
    padding-right: 30px;
    padding-left: 0;
  }
}

.profile-contribution-list > .profile-contribution:last-child {
  border-bottom: 1px solid #eee;
}

.profile-contribution-icon {
  left: 0;
  position: absolute;
  color: #ccc;
  line-height: 25px;
}
[dir=rtl] .profile-contribution-icon {
  right: 0;
}
.profile-contribution-icon svg {
  vertical-align: middle;
}

.profile-contribution-list .profile-contribution-header {
  margin-left: 30px;
}
[dir=rtl] .profile-contribution-list .profile-contribution-header {
  padding-right: 30px;
  padding-left: 0;
}
@media (min-width: 768px) {
  .profile-contribution-list .profile-contribution-header {
    margin-left: 0;
  }
  [dir=rtl] .profile-contribution-list .profile-contribution-header {
    padding-right: 0;
  }
}

.profile-comments .profile-contribution-breadcrumbs {
  margin-left: 30px;
}
[dir=rtl] .profile-comments .profile-contribution-breadcrumbs {
  padding-right: 30px;
  padding-left: 0;
}
@media (min-width: 768px) {
  .profile-comments .profile-contribution-breadcrumbs {
    margin-left: 0;
  }
  [dir=rtl] .profile-comments .profile-contribution-breadcrumbs {
    padding-right: 0;
  }
}

.profile-section .no-activity,
.profile-section .private-activity {
  display: block;
  margin-top: 40px;
  color: #999;
}

.private-activity-icon {
  margin-right: 10px;
}
[dir=rtl] .private-activity-icon {
  margin-right: 0;
  margin-left: 10px;
}

.profile-activity-list {
  margin-top: 25px;
}

.profile-activity {
  position: relative;
  padding-bottom: 30px;
}
@media (min-width: 768px) {
  .profile-activity {
    padding-left: 20px;
  }
  [dir=rtl] .profile-activity {
    padding-right: 20px;
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-activity:not(:last-child) {
    border-left: 1px solid #ddd;
  }
  [dir=rtl] .profile-activity:not(:last-child) {
    border-left: 0;
    border-right: 1px solid #ddd;
  }
}

.profile-activity-header {
  display: flex;
  align-items: center;
  margin-left: 35px;
}
[dir=rtl] .profile-activity-header {
  margin-left: 0;
  margin-right: 35px;
}
@media (min-width: 768px) {
  .profile-activity-header {
    margin-left: 0;
  }
  [dir=rtl] .profile-activity-header {
    margin-right: 0;
  }
}

.profile-activity-header .user-avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  min-width: 40px;
  align-self: flex-start;
}
[dir=rtl] .profile-activity-header .user-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-activity-description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.profile-activity-description span:first-child {
  font-weight: 600;
  display: inline;
}

.profile-activity-contribution {
  padding: 20px;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #eeeef2;
}
@media (min-width: 768px) {
  .profile-activity-contribution {
    margin-top: 0;
    margin-left: 50px;
  }
  [dir=rtl] .profile-activity-contribution {
    margin-left: 0;
    margin-right: 50px;
  }
}

.profile-activity-icon {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-color: #f7f7f9;
  background-position: 50% 50%;
  text-align: center;
  color: #ccc;
}
[dir=rtl] .profile-activity-icon {
  right: 0;
}
@media (min-width: 768px) {
  .profile-activity-icon {
    left: -14px;
  }
  [dir=rtl] .profile-activity-icon {
    right: -14px;
  }
}

.profile-activity-icon svg {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  margin: auto;
}

/***** Search results *****/
.search-results {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .search-results {
    flex-direction: row;
  }
}
.search-results-column {
  flex: 1;
}
@media (min-width: 1024px) {
  .search-results-column {
    flex: 0 0 75%;
  }
}
.search-results-sidebar {
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}
@media (min-width: 1024px) {
  .search-results-sidebar {
    border: 0;
    flex: 0 0 20%;
    height: auto;
  }
}
.search-results-sidebar .sidenav-item {
  border-radius: 4px;
  padding: 10px 36px;
  margin-bottom: 4px;
  color: #141414;
}
.search-results-sidebar .sidenav-item:hover, .search-results-sidebar .sidenav-item.current {
  background-color: #e9ebed;
  text-decoration: none;
}
.search-results-sidebar .sidenav-subitem {
  unicode-bidi: embed;
}
.search-results-sidebar .sidenav-tag {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-grow: 0;
}
.search-results-sidebar .sidenav-tag .content-tag {
  background: #E9EBED;
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
}
.search-results-sidebar .sidenav-tag .content-tag .label {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  letter-spacing: -0.000427656px;
  color: #49545C;
  flex-grow: 0;
  vertical-align: middle;
  display: inline-block;
}
.search-results-sidebar .sidenav-tag .content-tag .close-icon {
  color: #555555;
  vertical-align: middle;
  display: inline-block;
}
.search-results-sidebar .collapsible-sidebar {
  margin-bottom: 30px;
}
.search-results-sidebar .collapsible-sidebar[aria-expanded=false] .multibrand-filter-list {
  display: none;
}
@media (min-width: 1024px) {
  .search-results-sidebar .collapsible-sidebar[aria-expanded=false] .multibrand-filter-list {
    display: block;
  }
}
.search-results-sidebar .multibrand-filter-list--collapsed li:nth-child(1n+6) {
  display: none;
}
.search-results-sidebar .multibrand-filter-list .doc-count {
  color: #666;
}
.search-results-sidebar .see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 10px;
  color: #19c386;
}
.search-results-sidebar .see-all-filters[aria-hidden=true] {
  display: none;
}
.search-results-sidebar .see-all-filters:hover {
  text-decoration: underline;
}
.search-results-sidebar .see-all-filters::after {
  content: " ⌄";
  font-weight: bold;
}
.search-results-subheading {
  font-size: 18px;
  font-weight: 600;
}
.search-results-list {
  margin-bottom: 25px;
}
.search-results-list > li {
  padding: 20px 0;
}
.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}
.search-results .no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
}
.search-results .no-results .headline {
  color: #2F3941;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.45px;
}
.search-results .no-results .action-prompt {
  color: #68737D;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.154px;
}
.search-results .no-results .action-prompt a {
  color: #19c386;
}
.search-results .no-results .action-prompt a:visited {
  color: #19c386;
}

.search-result-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-result-title {
  font-size: 16px;
  margin-bottom: 0;
}
.search-result-votes, .search-result-meta-count {
  color: #474747;
  font-size: 13px;
}
.search-result-votes-icon, .search-result-meta-count-icon {
  color: #19c386;
  vertical-align: middle;
  width: 13px;
  height: 13px;
}
[dir=ltr] .search-result-votes, [dir=ltr] .search-result-meta-count {
  margin-left: 20px;
}
[dir=rtl] .search-result-votes, [dir=rtl] .search-result-meta-count {
  margin-right: 20px;
}
.search-result-meta-container {
  color: #666;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .search-result-meta-container {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .search-result-meta-container nav {
    flex: 1;
  }
}
@media (min-width: 1024px) {
  [dir=ltr] .search-result-meta-container .meta-data {
    margin-left: 20px;
  }
}
@media (min-width: 1024px) {
  [dir=rtl] .search-result-meta-container .meta-data {
    margin-right: 20px;
  }
}
.search-result-meta-container .meta-data::after {
  content: none;
}
.search-result-breadcrumbs {
  margin: 0;
}
.search-result-description {
  margin-top: 10px;
  margin-bottom: 0;
  word-break: break-word;
}

/* By default use bold instead of italic to highlight */
.search-results-description em {
  font-style: normal;
  font-weight: bold;
}

/* Add a yellow background for Chinese */
html[lang|=zh] .search-results-description em {
  font-style: normal;
  background: yellow;
}

/***** Notifications *****/
.notification {
  border: 1px solid;
  display: table;
  font-family: sans-serif;
  font-size: 12px;
  padding: 13px 15px;
  transition: height 0.2s;
  width: 100%;
  color: #555;
}

.notification a {
  color: #158ec2;
}

.notification-inner {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 980px;
}

.notification-icon, .notification-inline.notification-error::before, .notification-text, .notification-dismiss {
  display: table-cell;
  vertical-align: middle;
}

.notification-text {
  padding: 0 15px;
  width: 100%;
}

.notification + .notification {
  margin-bottom: -1px;
  position: relative;
  top: -1px;
}

/* Error */
.notification-error {
  background: #ffeded;
  border-color: #f7cbcb;
}

.notification-error .notification-icon::before, .notification-error .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23555555'/%3E%3C/svg%3E");
}

/* Notice */
.notification-notice {
  background: #dbf3ff;
  border-color: #b5e0f5;
}

.notification-notice .notification-icon::before, .notification-notice .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.5 6l2 2L9 4.5'/%3E%3Ccircle cx='6' cy='6' r='5.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Alert / Lock */
.notification-alert {
  color: #ad5e18;
  background: #fff8ed;
  border-color: #fcdba9;
}

.notification-alert .notification-icon::before, .notification-alert .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ad5e18' stroke-linecap='round' d='M5.06 1.27l-4.5 8.5c-.18.33.06.73.44.73h9c.38 0 .62-.4.44-.73l-4.5-8.5a.494.494 0 00-.88 0zM5.5 4v2'/%3E%3Ccircle cx='5.5' cy='8' r='.8' fill='%23ad5e18'/%3E%3C/svg%3E");
}

.notification-icon::before, .notification-inline.notification-error::before {
  background-size: cover;
  content: "";
  display: inline-block;
  height: 14px;
  width: 14px;
  vertical-align: middle;
}

/* Dismiss button */
.notification-dismiss, a.notification-dismiss {
  color: #555;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 100ms ease;
  text-decoration: none !important;
}

.notification-dismiss:hover {
  opacity: 1;
}

/* Inline notifications */
.notification-inline {
  border-radius: 4px;
  line-height: 14px;
  margin-top: 5px;
  padding: 5px;
  position: relative;
  text-align: left;
  vertical-align: middle;
}
[dir=rtl] .notification-inline {
  text-align: right;
}
.notification-inline[aria-hidden=true] {
  display: none;
}
.notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23e35b66'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23e35b66'/%3E%3C/svg%3E");
  margin: -2px 5px 0 0;
}
[dir=rtl] .notification-inline.notification-error::before {
  margin: 0 0 0 5px;
}
.notification-inline.notification-error {
  background-color: #fff0f1;
  border: 1px solid #e35b66;
  color: #cc3340;
}
.notification-inline.notification-large {
  padding: 13px 15px;
  margin-bottom: 25px;
}

.notification-left-aligned {
  text-align: left;
  padding-left: 0;
}

html[dir=rtl] .notification-left-aligned {
  text-align: right;
  padding-left: auto;
  padding-right: 0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: 0;
  display: inline-block;
  padding: 0;
  text-align: initial;
  vertical-align: middle;
}
.dropdown-toggle:hover {
  text-decoration: none;
}
.dropdown-toggle > * {
  display: inline-block;
}
.dropdown-toggle[aria-expanded=true] + .dropdown-menu {
  display: block;
}

.dropdown-menu {
  background: #fff;
  border: 1px solid #d8dcde;
  border-radius: 3px;
  box-shadow: 0px 20px 30px 0px rgba(23, 73, 77, 0.15);
  display: none;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  left: 0;
  margin-top: 1px;
  min-width: 170px;
  padding: 10px 0;
  position: absolute;
  text-align: left;
  z-index: 1000;
}
[dir=rtl] .dropdown-menu {
  text-align: right;
}
.dropdown-menu [role=separator] {
  border-bottom: 1px solid #e9ebed;
  margin: 4px 0;
}
.dropdown-menu [role=menuitem],
.dropdown-menu [role=menuitemradio] {
  color: #2f3941;
  cursor: pointer;
  display: block;
  padding: 7px 40px 7px 20px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  text-align: start;
  line-height: inherit;
  width: 100%;
}
[dir=rtl] .dropdown-menu [role=menuitem],
[dir=rtl] .dropdown-menu [role=menuitemradio] {
  padding: 7px 20px 7px 40px;
}
.dropdown-menu [role=menuitem]:hover, .dropdown-menu [role=menuitem]:focus,
.dropdown-menu [role=menuitemradio]:hover,
.dropdown-menu [role=menuitemradio]:focus {
  background: rgba(31, 115, 183, 0.08);
  text-decoration: none;
  color: #2f3941;
}
.dropdown-menu [role=menuitem][aria-selected=true], .dropdown-menu [role=menuitem][aria-checked=true],
.dropdown-menu [role=menuitemradio][aria-selected=true],
.dropdown-menu [role=menuitemradio][aria-checked=true] {
  cursor: default;
}
.dropdown-menu [role=menuitem][aria-selected=true]::after, .dropdown-menu [role=menuitem][aria-checked=true]::after,
.dropdown-menu [role=menuitemradio][aria-selected=true]::after,
.dropdown-menu [role=menuitemradio][aria-checked=true]::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 7l3 3 7-7'%3E%3C/path%3E%3C/svg%3E");
  display: inline-block;
  height: 12px;
  margin-left: 10px;
  width: 12px;
}
[dir=rtl] .dropdown-menu [role=menuitem][aria-selected=true]::after, [dir=rtl] .dropdown-menu [role=menuitem][aria-checked=true]::after,
[dir=rtl] .dropdown-menu [role=menuitemradio][aria-selected=true]::after,
[dir=rtl] .dropdown-menu [role=menuitemradio][aria-checked=true]::after {
  margin-left: 0;
  margin-right: 10px;
  float: left;
}
.dropdown-menu [role=menuitem][hidden], .dropdown-menu [role=menuitem][aria-hidden=true],
.dropdown-menu [role=menuitemradio][hidden],
.dropdown-menu [role=menuitemradio][aria-hidden=true] {
  display: none !important;
}

.dropdown-menu-end {
  left: auto;
  right: 0;
}

.dropdown-menu-top {
  bottom: 100%;
  margin-bottom: 1px;
}

[dir=rtl] .dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}
[dir=rtl] .dropdown-menu-end {
  left: 0;
  right: auto;
}

.dropdown-chevron-icon {
  vertical-align: middle;
}

.content-tags > p {
  color: #68737D;
  margin-top: 32px;
  margin-bottom: 4px;
}
.content-tags-add-hint {
  color: #68737D;
  font-size: 14px;
}

.content-tag-list {
  display: flex;
  flex-wrap: wrap;
  word-break: break-word;
}
.content-tag-list li {
  border-right: 1px solid #C2C8CC;
  margin-bottom: 4px;
}
[dir=ltr] .content-tag-list li {
  padding-right: 8px;
  margin-right: 8px;
}
[dir=rtl] .content-tag-list li {
  padding-left: 8px;
  margin-left: 8px;
}
.content-tag-list li:last-child {
  border: none;
}

/***** WYSIWYG Editor *****/
#hc-wysiwyg {
  border: 1px solid #848F99;
}

/***** Upload Dropzone *****/
.upload-dropzone {
  border: 1px solid #848F99;
}

/***** Summary component *****/
zd-summary-block {
  background: #f3f6f6;
}
[dir=ltr] zd-summary-block {
  border-left-color: #859fa1;
}
[dir=rtl] zd-summary-block {
  border-right-color: #859fa1;
}

.service-catalog-hero {
  background-image: url();
  margin-bottom: 10px;
  height: 320px;
}
.service-catalog-description {
  display: flow-root;
}
.service-catalog-description a {
  color: #19c386;
  text-decoration: underline;
}
.service-catalog-description a:visited {
  color: #15a872;
}
.service-catalog-description a:hover, .service-catalog-description a:active, .service-catalog-description a:focus {
  color: #15a872;
}
.service-catalog-description img {
  height: auto;
  max-width: 100%;
}
.service-catalog-description p > img.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.service-catalog-description p > img.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.service-catalog-description p > img.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.service-catalog-description p > img.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.service-catalog-description figure.image {
  display: table;
  margin: 0 auto;
}
.service-catalog-description figure.image > img {
  display: block;
  width: 100%;
}
.service-catalog-description figure.image.image-style-align-left {
  float: left;
  margin: 8px 20px 6px 0;
}
.service-catalog-description figure.image.image-style-align-right {
  float: right;
  margin: 8px 0px 6px 20px;
}
.service-catalog-description figure.image.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.service-catalog-description figure.image.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.service-catalog-description figcaption {
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
  background-color: #e8e8ee;
}
.service-catalog-description ul,
.service-catalog-description ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}
[dir=rtl] .service-catalog-description ul,
[dir=rtl] .service-catalog-description ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}
.service-catalog-description ul > ul,
.service-catalog-description ol > ol,
.service-catalog-description ol > ul,
.service-catalog-description ul > ol,
.service-catalog-description li > ul,
.service-catalog-description li > ol {
  margin: 0;
}
.service-catalog-description ul {
  list-style-type: disc;
}
.service-catalog-description :not(pre) > code {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.service-catalog-description pre {
  background: #eeeef2;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
  direction: ltr;
}
.service-catalog-description blockquote {
  border-left: 1px solid #ddd;
  color: #474747;
  font-style: italic;
  padding: 0 15px;
}
.service-catalog-main-content {
  display: flex;
  gap: 32px;
}
.service-catalog-list {
  width: 100%;
}
.service-catalog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ==============================================================
   BNDRY brand-aligned overrides — matches https://www.bndry.net
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ---- Design tokens (light + dark) ----
   Aligned with the BNDRY web app (emerald/forest daisyUI themes)
   and bndry.net (Webflow) palette.
   Dark mode is activated via data-theme="dark" on <html>.
*/
:root {
  /* Surfaces */
  --bg: #f7f7f9;
  --surface: #fff;
  --surface-alt: #fafafa;
  --surface-muted: #f5f5f7;

  /* Text */
  --text: #141414;
  --text-body: #3a3a3a;
  --text-muted: #5e5e5e;
  --text-faint: #ccc;
  --text-on-brand: #fff;

  /* Borders */
  --border: #ebebeb;
  --border-faint: #f0f0f0;
  --border-strong: rgba(0, 0, 0, 0.25);

  /* Brand palette */
  --brand: #19c386;
  --brand-hover: #15a872;
  --brand-soft: rgba(25, 195, 134, 0.12);
  --brand-glow: rgba(25, 195, 134, 0.18);
  --brand-glow-strong: rgba(25, 195, 134, 0.28);
  --violet: #866bf0;
  --violet-bg: #efedfb;
  --amber: #eeab44;
  --amber-bg: rgba(238, 171, 68, 0.18);
  --peachy: #d8337b;
  --peachy-bg: rgba(216, 51, 123, 0.14);
  --sapphire: #5392b8;
  --sapphire-bg: rgba(83, 146, 184, 0.16);
  --orange: #ea7343;
  --orange-bg: rgba(234, 115, 67, 0.15);

  /* CTAs */
  --cta-bg: #141414;
  --cta-bg-hover: #19c386;
  --cta-text: #fff;
  --cta-gradient: linear-gradient(90deg, #19c3b9 0%, #19c386 100%);
  --cta-gradient-hover: linear-gradient(90deg, #15a99e 0%, #15a872 100%);

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card-soft: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-card-lift: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-elevated: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-cta: 0 8px 24px rgba(25, 195, 134, 0.18);
  --focus-ring: 0 0 0 3px rgba(25, 195, 134, 0.12);

  /* Featured tile (Get Started) — soft slime tint */
  --featured-bg: linear-gradient(135deg, rgba(25, 195, 185, 0.10) 0%, rgba(25, 195, 134, 0.12) 100%);
  --featured-bg-hover: linear-gradient(135deg, rgba(25, 195, 185, 0.16) 0%, rgba(25, 195, 134, 0.18) 100%);
  --featured-border: rgba(25, 195, 134, 0.35);

  /* Footer always reads as dark to match bndry.net */
  --footer-bg: #141414;
  --footer-text: #b1b1b1;
  --footer-text-hover: #fff;

  /* Code blocks / inline code */
  --code-bg: #fafafa;
}

[data-theme="dark"] {
  /* Surfaces — slightly darker than the BNDRY app's "forest" base so docs feel grounded */
  --bg: #1a1a1c;
  --surface: #232323;
  --surface-alt: #1f1f21;
  --surface-muted: #2a2a2c;

  /* Text — brighter than the BNDRY app's body-font-dark (#b1b1b1)
     so long-form articles read as content, not grey-on-grey */
  --text: #f5f5f7;
  --text-body: #f0f0f2;
  --text-muted: #9a9a9c;
  --text-faint: #4a4a4a;

  /* Borders */
  --border: #3d3d3d;
  --border-faint: #2a2a2a;
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Brand: slime unchanged; hover deepens (matches BNDRY forest theme) */
  --brand-hover: #248c52;
  --violet-bg: rgba(134, 107, 240, 0.18);
  --amber-bg: rgba(238, 171, 68, 0.20);
  --peachy-bg: rgba(216, 51, 123, 0.18);
  --sapphire-bg: rgba(83, 146, 184, 0.22);
  --orange-bg: rgba(234, 115, 67, 0.20);

  /* CTAs: flip the dark fill to slime so it stays visible on dark bg */
  --cta-bg: #19c386;
  --cta-bg-hover: #248c52;

  /* Shadows are deeper to register on dark surfaces */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-card-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-card-lift: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-card-elevated: 0 10px 30px rgba(0, 0, 0, 0.5);

  --featured-bg: linear-gradient(135deg, rgba(25, 195, 185, 0.12) 0%, rgba(25, 195, 134, 0.14) 100%);
  --featured-bg-hover: linear-gradient(135deg, rgba(25, 195, 185, 0.18) 0%, rgba(25, 195, 134, 0.22) 100%);
  --featured-border: rgba(25, 195, 134, 0.45);

  --code-bg: #1f1f21;
}

/* Respect OS preference on first visit; toggle overrides via data-theme */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #1a1a1c;
    --surface: #232323;
    --surface-alt: #1f1f21;
    --surface-muted: #2a2a2c;
    --text: #f5f5f7;
    --text-body: #f0f0f2;
    --text-muted: #9a9a9c;
    --text-faint: #4a4a4a;
    --border: #3d3d3d;
    --border-faint: #2a2a2a;
    --border-strong: rgba(255, 255, 255, 0.18);
    --brand-hover: #248c52;
    --violet-bg: rgba(134, 107, 240, 0.18);
    --amber-bg: rgba(238, 171, 68, 0.20);
    --peachy-bg: rgba(216, 51, 123, 0.18);
    --sapphire-bg: rgba(83, 146, 184, 0.22);
    --orange-bg: rgba(234, 115, 67, 0.20);
    --cta-bg: #19c386;
    --cta-bg-hover: #248c52;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-card-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-card-lift: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-card-elevated: 0 10px 30px rgba(0, 0, 0, 0.5);
    --featured-bg: linear-gradient(135deg, rgba(25, 195, 185, 0.12) 0%, rgba(25, 195, 134, 0.14) 100%);
    --featured-bg-hover: linear-gradient(135deg, rgba(25, 195, 185, 0.18) 0%, rgba(25, 195, 134, 0.22) 100%);
    --featured-border: rgba(25, 195, 134, 0.45);
    --code-bg: #1f1f21;
  }
}

/* Smooth colour transitions when theme flips */
html, body, .header, .footer, .blocks-item, .recent-activity-item,
.section-list-item, .search-results-list > li, .striped-list-item,
.comment, .profile-badges-item, .profile-contribution, .article-votes,
.request-sidebar, .dropdown-menu, .article-vote, .button {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* ---- Typography baseline ---- */
body {
  background-color: var(--bg) !important;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  color: var(--text-body) !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  letter-spacing: -0.3px !important;
}

/* ---- Header ---- */
.header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* Logo: swap midnight/white variants by theme */
.logo .logo-light { display: inline-block; }
.logo .logo-dark { display: none; }
[data-theme="dark"] .logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark { display: inline-block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .logo .logo-light { display: none; }
  html:not([data-theme]) .logo .logo-dark { display: inline-block; }
}

/* "Developer docs" link — subtle, slime-on-hover */
.developer-docs-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-body) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.developer-docs-link:hover,
.developer-docs-link:focus {
  color: var(--brand) !important;
}

/* ---- Theme toggle button ---- */
.theme-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  margin: 0 16px 0 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-body);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.theme-toggle:hover,
.theme-toggle:focus {
  color: var(--brand);
  border-color: var(--brand);
  background-color: var(--surface-muted);
  outline: none;
}
.theme-toggle svg {
  flex: none;
}
/* Show CURRENT state: sun + "Light" while in light mode, moon + "Dark" while in dark mode */
.theme-toggle .theme-toggle-label-dark,
.theme-toggle .theme-toggle-icon-moon {
  display: none;
}
.theme-toggle .theme-toggle-label-light,
.theme-toggle .theme-toggle-icon-sun {
  display: inline-flex;
}
[data-theme="dark"] .theme-toggle .theme-toggle-label-dark,
[data-theme="dark"] .theme-toggle .theme-toggle-icon-moon {
  display: inline-flex;
}
[data-theme="dark"] .theme-toggle .theme-toggle-label-light,
[data-theme="dark"] .theme-toggle .theme-toggle-icon-sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .theme-toggle .theme-toggle-label-dark,
  html:not([data-theme]) .theme-toggle .theme-toggle-icon-moon {
    display: inline-flex;
  }
  html:not([data-theme]) .theme-toggle .theme-toggle-label-light,
  html:not([data-theme]) .theme-toggle .theme-toggle-icon-sun {
    display: none;
  }
}
.nav-wrapper-mobile .theme-toggle {
  margin: 12px 16px;
}

/* ---- Hero: tagline + search, no image ---- */
.hero {
  background-image: none !important;
  background-color: var(--bg) !important;
  height: auto !important;
  padding: 48px 20px 24px !important;
}
.hero::before {
  content: "How can we help?";
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: var(--text);
  text-align: center;
  margin: 0 auto 24px;
  max-width: 700px;
}
@media (max-width: 768px) {
  .hero::before {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .hero { padding: 32px 20px 16px !important; }
}
.hero-inner {
  position: relative !important;
  top: auto !important;
  transform: none !important;
  max-width: 610px;
  margin: 0 auto;
}

/* ---- Search ---- */
.search {
  border-radius: 50px !important;
  border-color: var(--border) !important;
  background-color: var(--surface);
  box-shadow: var(--shadow-card);
}
.search input[type=search] {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  height: 48px !important;
  background-color: var(--surface) !important;
  color: var(--text) !important;
}

/* ---- Buttons: pill, dark fill, green on hover ---- */
.button,
.pagination-next-link,
.pagination-prev-link,
.pagination-first-link,
.pagination-last-link,
.subscriptions-subscribe button,
.requests-table-toolbar .organization-subscribe button,
.community-follow button,
.article-subscribe button,
.section-subscribe button,
.split-button button {
  background-color: var(--cta-bg) !important;
  color: var(--cta-text) !important;
  border: 1px solid var(--cta-bg) !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: capitalize;
  line-height: 1.6;
}
.button:hover,
.button:focus,
.button:active,
.pagination-next-link:hover,
.pagination-prev-link:hover,
.pagination-first-link:hover,
.pagination-last-link:hover,
.subscriptions-subscribe button:hover,
.community-follow button:hover,
.article-subscribe button:hover,
.section-subscribe button:hover,
.split-button button:hover {
  background-color: var(--cta-bg-hover) !important;
  border-color: var(--cta-bg-hover) !important;
  color: var(--cta-text) !important;
}

/* Large CTA buttons get the topaz→slime gradient */
.button-large,
.hbs-form input[type=submit] {
  background: var(--cta-gradient) !important;
  color: var(--cta-text) !important;
  border: 0 !important;
  border-radius: 50px !important;
  padding: 12px 32px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  text-transform: capitalize;
}
.button-large:hover,
.button-large:focus,
.button-large:active,
.hbs-form input[type=submit]:hover,
.hbs-form input[type=submit]:focus,
.hbs-form input[type=submit]:active {
  background: var(--cta-gradient-hover) !important;
  color: var(--cta-text) !important;
}

/* Secondary: hairline-bordered pill */
.button-secondary,
.button-secondary:visited {
  background-color: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 50px !important;
}
.button-secondary:hover,
.button-secondary:focus,
.button-secondary:active {
  background-color: var(--surface-muted) !important;
  color: var(--text) !important;
}

/* ---- Category tiles ---- */
.blocks-list {
  gap: 16px;
  margin: 0 !important;
}
.blocks-item {
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-card);
  margin: 0 !important;
  text-align: left !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blocks-item *,
.blocks-item-link,
.blocks-item-link:visited {
  color: var(--text-body) !important;
}
.blocks-item-link {
  padding: 28px !important;
  text-align: left !important;
  justify-content: flex-start !important;
}
.blocks-item-title {
  color: var(--text) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.3px;
}
.blocks-item-description {
  color: var(--text-body) !important;
  font-size: 15px !important;
  line-height: 1.5;
}
.blocks-item:hover,
.blocks-item:focus,
.blocks-item:active {
  background-color: var(--surface) !important;
  border-color: var(--brand) !important;
  box-shadow: var(--shadow-card-lift);
  transform: translateY(-2px);
}
.blocks-item:hover *,
.blocks-item:focus *,
.blocks-item:active * {
  color: var(--text-body) !important;
}
.blocks-item:hover .blocks-item-title,
.blocks-item:focus .blocks-item-title,
.blocks-item:active .blocks-item-title {
  color: var(--text) !important;
}

/* Icon badge above each non-featured tile title */
.blocks-item:not(.blocks-item-featured) .blocks-item-title::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px;
}
/* Position 1 — violet (Concepts) */
.blocks-item:not(.blocks-item-featured):nth-of-type(1) .blocks-item-title::before,
.blocks-item:not(.blocks-item-featured):nth-of-type(2) .blocks-item-title::before {
  background-color: var(--violet-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23866bf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}
/* Position 2 — orange (References) */
.blocks-item:not(.blocks-item-featured):nth-of-type(3) .blocks-item-title::before {
  background-color: var(--orange-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23ea7343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}
/* Position 3 — amber (How do I) */
.blocks-item:not(.blocks-item-featured):nth-of-type(4) .blocks-item-title::before {
  background-color: var(--amber-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23eeab44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 2.5 1.5 4.5 3 6v3h8v-3c1.5-1.5 3-3.5 3-6a7 7 0 0 0-7-7z'/%3E%3C/svg%3E");
}

/* ---- Featured "Get started" tile: arrow only.
   Box, colour, padding, and hover are all set later by the
   :has(.blocks-item-link[href*="16240188540175"]) selectors. ---- */
.blocks-item-featured .blocks-item-link::after {
  content: "→";
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: var(--text-on-brand);
  transition: transform 0.2s ease;
}
.blocks-item-featured:hover .blocks-item-link::after {
  transform: translateY(-50%) translateX(6px);
}

/* ---- Recent activity: inverted hierarchy + card list ---- */
.activity {
  border-top: 0 !important;
  padding: 32px 0 12px !important;
}
.recent-activity-header {
  text-align: left !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  margin-bottom: 20px !important;
  color: var(--text) !important;
  letter-spacing: -0.3px;
}
/* Two-column grid on desktop, single column on mobile */
.recent-activity-list {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 !important;
}
@media (min-width: 768px) {
  .recent-activity-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.recent-activity-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px !important;
  margin-bottom: 0 !important;
}
/* Stack meta below title inside narrower 2-column cards */
@media (min-width: 768px) {
  .recent-activity-item-meta {
    float: none !important;
    margin: 8px 0 0 !important;
    display: block !important;
  }
}

/* Article title becomes primary (large, dark) */
.recent-activity-item-link {
  display: block !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  font-family: 'Outfit', sans-serif !important;
  width: 100% !important;
  margin: 0 !important;
  transition: color 0.15s ease;
}
.recent-activity-item-link:visited {
  color: var(--text) !important;
}
.recent-activity-item-link:hover,
.recent-activity-item-link:focus {
  color: var(--brand) !important;
  text-decoration: underline;
}

/* Category becomes a small violet pill above the title */
.recent-activity-item-parent {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--violet) !important;
  background-color: var(--violet-bg);
  padding: 3px 10px;
  border-radius: 4px;
  margin: 0 0 8px !important;
  width: auto !important;
}
.recent-activity-item-parent a {
  color: var(--violet) !important;
  text-decoration: none !important;
}
.recent-activity-item-parent a:hover,
.recent-activity-item-parent a:focus {
  text-decoration: underline !important;
}
.recent-activity-item-meta {
  color: var(--text-muted) !important;
  font-size: 13px !important;
}

/* ---- Footer: always dark to match bndry.net ---- */
.footer {
  background-color: var(--footer-bg) !important;
  border-top: 0 !important;
  margin-top: 64px !important;
  padding: 32px 0 !important;
}
.footer a,
.footer a:visited {
  color: var(--footer-text) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
}
.footer a:hover {
  color: var(--footer-text-hover) !important;
}
.footer .footer-inner > a {
  color: var(--footer-text-hover) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.5px;
}
.footer-language-selector button {
  color: var(--footer-text) !important;
}
.footer-language-selector button:hover {
  color: var(--footer-text-hover) !important;
}

/* ---- Spacing rhythm ---- */
.sub-nav { margin-bottom: 24px; }
.article-header { margin-bottom: 24px; }
.article-content { margin: 24px 0; line-height: 1.65; }
.article-votes { padding: 20px 0; }
.article-relatives { padding: 12px 0; }
.page-header { margin: 8px 0 28px; }
.page-header-description { margin: 0 0 16px; }
.community, .activity {
  padding: 20px 0;
  border-top: 0 !important;
}
.comment { padding: 14px 0; }
.comment-overview { padding: 14px 0; }

/* ============================================================
   Page-level design pass (article, section, category, search,
   request, profile) — applies the same bndry.net philosophy
   ============================================================ */

/* === Inner page sub-nav (breadcrumbs + scoped search) === */
.sub-nav {
  margin: 24px 0 32px !important;
}
.breadcrumbs li {
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  max-width: none !important;
}
.breadcrumbs li + li::before {
  margin: 0 10px !important;
}
/* Always render the help-center home crumb (e.g. "Bndry") as uppercase brand mark */
.breadcrumbs li:first-child,
.breadcrumbs li:first-child a {
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}
.breadcrumbs li a,
.breadcrumbs li a:visited {
  color: var(--brand) !important;
}
.breadcrumbs li + li::before {
  color: var(--text-faint);
}

/* === Section / category page headers === */
.page-header h1 {
  font-size: 40px !important;
  font-weight: 500 !important;
  letter-spacing: -0.5px;
  line-height: 1.1 !important;
  color: var(--text) !important;
  margin-bottom: 8px;
}
.page-header-description {
  font-style: normal !important;
  color: var(--text-muted) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  max-width: 720px;
  flex: 1 1 auto !important;
  flex-basis: auto !important;
  width: auto !important;
  margin: 0 0 0 8px !important;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .page-header-description {
    flex-basis: 100% !important;
    width: 100% !important;
    margin: 8px 0 16px !important;
  }
}

/* Pack all header items together from the left rather than spreading them */
.page-header {
  align-items: center !important;
  justify-content: flex-start !important;
}
.page-header h1 {
  margin-bottom: 0 !important;
}

/* Keep Follow button and description close to the heading */
.page-header h1 {
  flex-grow: 0 !important;
}
.page-header .section-subscribe {
  margin-left: 16px !important;
  margin-bottom: 0 !important;
}
[dir=rtl] .page-header .section-subscribe {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* === Section list (subsections in a section page) === */
.section-list { margin: 32px 0 !important; }
.section-list-item {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 18px 22px !important;
  margin-bottom: 10px;
  font-size: 17px !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.section-list-item:first-child {
  border-top: 1px solid var(--border) !important;
}
.section-list-item:hover {
  border-color: var(--brand) !important;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}
.section-list-item a,
.section-list-item a:visited {
  color: var(--text) !important;
  font-weight: 500;
}
.section-list-item:hover a {
  color: var(--brand) !important;
}

/* === Article list (in section/category pages) — card tiles === */
.article-list-item {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 18px 22px !important;
  margin-bottom: 10px;
  font-size: 17px !important;
  box-shadow: var(--shadow-card-soft);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-list-item:hover {
  border-color: var(--brand) !important;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}
.article-list-item a,
.article-list-item a:visited {
  color: var(--text) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.article-list-item a::after {
  content: "→";
  color: var(--brand);
  font-size: 18px;
  flex: none;
  transition: transform 0.2s ease;
}
.article-list-item:hover a {
  color: var(--brand) !important;
  text-decoration: none !important;
}
.article-list-item:hover a::after {
  transform: translateX(4px);
}

/* === Category page section tree === */
.section-tree { gap: 32px; }
.section-tree-title {
  font-size: 22px !important;
  font-weight: 500 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px;
}
.section-tree-title a,
.section-tree-title a:visited {
  color: var(--text) !important;
}
.section-tree-title a:hover { color: var(--brand) !important; text-decoration: none !important; }
.section-tree .see-all-articles {
  color: var(--brand) !important;
  font-weight: 500;
  font-size: 14px;
}

/* === Article page === */
.article-title {
  font-size: 40px !important;
  font-weight: 500 !important;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text) !important;
}
.article-meta .meta-data,
.article-meta { color: var(--text-muted) !important; font-size: 13px; }
.article-body { font-size: 17px !important; line-height: 1.7 !important; color: var(--text-body) !important; }
.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--text) !important;
  margin-top: 1.6em;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: -0.3px !important;
}
.article-body h2 { font-size: 28px !important; font-weight: 500 !important; }
.article-body h3 { font-size: 22px !important; font-weight: 500 !important; }
.article-body h4 { font-size: 18px !important; font-weight: 600 !important; }
.article-body a,
.article-body a:visited { color: var(--brand) !important; }
.article-body :not(pre) > code,
.article-body pre {
  border-radius: 8px !important;
  border-color: var(--border) !important;
  background: var(--code-bg) !important;
  color: var(--text-body) !important;
}
.article-body blockquote {
  border-left: 3px solid var(--brand) !important;
  background-color: var(--surface-alt);
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0;
  color: var(--text-body) !important;
  font-style: normal !important;
}

/* Sidebars (article + search) */
.sidenav-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted) !important;
  margin-bottom: 12px;
}
.sidenav-item {
  border-radius: 8px !important;
  padding: 8px 12px !important;
  margin: 0 0 2px !important;
  color: var(--text-body) !important;
  font-size: 14px !important;
  transition: background-color 0.15s, color 0.15s;
}
.sidenav-item:hover {
  background-color: var(--surface-muted) !important;
  color: var(--text) !important;
  text-decoration: none !important;
}
.sidenav-item.current,
.sidenav-item.current-article {
  background-color: var(--violet-bg) !important;
  color: var(--violet) !important;
  font-weight: 500;
}

/* Article relatives (recent + related articles) */
.article-relatives {
  border-top: 1px solid var(--border) !important;
  padding: 32px 0 !important;
  gap: 32px;
}
.recent-articles-title,
.related-articles-title,
.comment-heading {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted) !important;
  margin-bottom: 12px !important;
}
.recent-articles li a,
.related-articles li a,
.recent-articles li a:visited,
.related-articles li a:visited {
  color: var(--text) !important;
  font-size: 15px;
}
.recent-articles li a:hover,
.related-articles li a:hover {
  color: var(--brand) !important;
  text-decoration: none !important;
}

/* Vote / "was this helpful?" panel */
.article-votes {
  background-color: var(--surface-alt);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 28px !important;
  margin: 32px 0;
}
.article-votes-question {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  margin-bottom: 16px !important;
}
.article-vote {
  background-color: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
.article-vote:hover {
  background-color: var(--brand) !important;
  color: var(--text-on-brand) !important;
  border-color: var(--brand) !important;
}
.article-vote.button-primary,
.article-vote[data-selected=true] {
  background-color: var(--brand) !important;
  color: var(--text-on-brand) !important;
  border-color: var(--brand) !important;
}
.article-votes-count { color: var(--text-muted) !important; font-size: 13px; }

/* Article comment count icon */
.article-comment-count,
.article-comment-count:visited {
  color: var(--text-muted) !important;
  font-size: 14px;
}
.article-comment-count-icon { color: var(--brand) !important; }

/* Article return-to-top */
.article-return-to-top {
  border-top: 1px solid var(--border) !important;
}
.article-return-to-top a,
.article-return-to-top a:visited {
  color: var(--brand) !important;
  font-weight: 500;
}

/* Article footer breathing room */
.article-footer { padding-bottom: 32px; }

/* === Comments === */
.comment-overview {
  border: 0 !important;
  padding: 32px 0 16px !important;
}
.comment-overview .comment-heading {
  font-size: 22px !important;
  font-weight: 500 !important;
  text-transform: none;
  letter-spacing: -0.3px;
  color: var(--text) !important;
}
.comment {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 20px 24px !important;
  margin-bottom: 12px;
}
.comment-body { font-size: 16px !important; line-height: 1.65 !important; color: var(--text-body); }
.comment-body a,
.comment-body a:visited { color: var(--brand) !important; }
.comment-callout {
  color: var(--text-muted) !important;
  font-size: 14px !important;
}
.comment-callout a,
.comment-callout a:visited { color: var(--brand) !important; }
.vote-up:hover,
.vote-down:hover,
.vote-voted { color: var(--brand) !important; }
.vote-voted:hover { color: var(--text) !important; }

/* === Search results === */
.search-results-subheading {
  font-size: 22px !important;
  font-weight: 500 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.3px;
  color: var(--text) !important;
}
.search-results-list > li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px !important;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  list-style: none;
}
.search-results-list > li:first-child { border-top: 1px solid var(--border) !important; }
.search-results-list > li:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}
.search-result-title {
  font-size: 18px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}
.search-result-title a,
.search-result-title a:visited { color: var(--text) !important; }
.search-result-title a:hover { color: var(--brand) !important; }
.search-result-description {
  color: var(--text-body) !important;
  font-size: 15px !important;
  line-height: 1.55;
}
.search-result-breadcrumbs li,
.search-result-breadcrumbs li a,
.search-result-breadcrumbs li a:visited {
  font-size: 12px !important;
  color: var(--violet) !important;
}
.search-result-meta-container .meta-data { color: var(--text-muted) !important; font-size: 12px; }
.search-result-votes-icon,
.search-result-meta-count-icon { color: var(--brand) !important; }
.no-results .headline {
  font-family: 'Outfit', sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  letter-spacing: -0.3px;
}
.no-results .action-prompt a,
.no-results .action-prompt a:visited { color: var(--brand) !important; }

/* === Forms (request, login, profile) === */
.form-field input,
.form-field input[type=text],
.form-field textarea,
.form-field select,
.form-field .nesty-input,
.hbs-form input,
.hbs-form textarea,
.hbs-form select,
.search input[type=search] {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  background-color: var(--surface) !important;
  color: var(--text) !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field input[type=text]:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-field .nesty-input:focus,
.hbs-form input:focus,
.hbs-form textarea:focus,
.hbs-form select:focus {
  border-color: var(--brand) !important;
  box-shadow: var(--focus-ring) !important;
  outline: none !important;
}
.form-field label {
  font-weight: 500 !important;
  color: var(--text) !important;
  font-size: 14px !important;
  margin-bottom: 8px;
}
.form-field .optional,
.form-field p { color: var(--text-muted) !important; }
/* Search input keeps pill radius */
.search input[type=search] {
  border-radius: 50px !important;
}

/* === Request page === */
.request-sidebar {
  background-color: var(--surface-alt) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 24px !important;
}
.request-sidebar h2 {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted) !important;
}
.request-details {
  border-bottom: 1px solid var(--border) !important;
}
.request-details dt {
  color: var(--text-muted) !important;
  font-size: 13px;
}
.request-details dd {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 14px;
}
.request-title h1 {
  font-size: 32px !important;
  font-weight: 500 !important;
  letter-spacing: -0.4px;
  color: var(--text) !important;
}

/* === Striped list (requests/subscriptions/community posts) === */
.striped-list-item {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 18px 22px !important;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.striped-list-item:hover {
  border-color: var(--brand) !important;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}
.striped-list-title,
.striped-list-title:visited {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 17px;
}
.striped-list-title:hover { color: var(--brand) !important; text-decoration: none !important; }
.striped-list-count { font-size: 12px; color: var(--text-muted) !important; }

/* === Profile page === */
.profile-header {
  background-color: var(--surface-alt) !important;
  border-bottom: 1px solid var(--border);
  padding: 40px 0 !important;
}
.profile-avatar .user-avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
}
.profile-header .basic-info .name {
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: -0.3px;
  color: var(--text) !important;
}
.profile-section-title {
  font-size: 22px !important;
  font-weight: 500 !important;
  letter-spacing: -0.3px;
  color: var(--text) !important;
}
.profile-private-badge {
  background-color: var(--violet-bg) !important;
  border-color: var(--violet-bg) !important;
  color: var(--violet) !important;
  border-radius: 50px !important;
  font-weight: 500;
}
.profile-stats .stat-label { color: var(--text-muted) !important; }
.profile-badges-item,
.profile-contribution {
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 10px;
  padding: 18px 22px !important;
}
.profile-badges-item:last-child { margin-bottom: 0; }
.profile-badges-item-title { color: var(--text) !important; }
.profile-badges-item-description { color: var(--text-muted) !important; }
.profile-nav { background-color: transparent !important; }

/* === Collapsible top-nav active state === */
.collapsible-nav-list li[aria-selected=true],
.collapsible-nav-list li.current {
  border-bottom-color: var(--brand) !important;
}

/* === Status labels: pill === */
.status-label {
  border-radius: 50px !important;
  padding: 3px 12px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
}

/* === Notifications: rounded + Outfit === */
.notification {
  border-radius: 12px !important;
  font-family: 'Outfit', sans-serif !important;
}
.notification-inline {
  border-radius: 8px !important;
}

/* === Dropdowns === */
.dropdown-menu {
  border-radius: 12px !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-card-elevated) !important;
  font-family: 'Outfit', sans-serif !important;
}
.dropdown-menu [role=menuitem],
.dropdown-menu [role=menuitemradio] {
  color: var(--text-body) !important;
}
.dropdown-menu [role=menuitem]:hover,
.dropdown-menu [role=menuitemradio]:hover {
  background-color: var(--surface-muted) !important;
  color: var(--text) !important;
}

/* === Content tags (article footer) === */
.content-tags > p {
  color: var(--text-muted) !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.content-tag-list li {
  background-color: var(--surface-muted);
  border-radius: 50px;
  padding: 4px 12px !important;
  border-right: 0 !important;
  margin-right: 6px !important;
}
.content-tag-list li a,
.content-tag-list li a:visited {
  color: var(--brand) !important;
  font-size: 14px;
}

/* === Promoted-articles star and lock icons === */
.icon-star { color: var(--brand) !important; }
.icon-lock { color: var(--violet) !important; }

/* === Pagination buttons === */
.pagination { gap: 8px; }
.pagination-next-link,
.pagination-prev-link,
.pagination-first-link,
.pagination-last-link {
  padding: 6px 16px !important;
}

/* === Container-divider: kill or tone down === */
.container-divider { border-top: 0 !important; margin-bottom: 0 !important; }

/* === Article more-questions (Submit a request callout) === */
.article-more-questions a,
.article-more-questions a:visited { color: var(--brand) !important; }

/* === Section-subscribe button inherits .button styling already === */

/* === Tables (My activities, etc) === */
.table th, .table th a {
  color: var(--text-muted) !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.table tr { border-bottom-color: var(--border) !important; }

/* ============================================================
   Post-preview corrections
   ============================================================ */

/* Search input: restore room for the magnifying glass icon */
.search input[type=search] {
  padding-left: 48px !important;
  padding-right: 20px !important;
  height: 52px !important;
}
.search-icon { left: 18px !important; }

/* Header: extend full viewport (not just centred container) */
.header {
  max-width: none !important;
  width: 100% !important;
  padding: 0 5% !important;
  background-color: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
}
@media (min-width: 1160px) {
  .header { padding: 0 5% !important; width: 100% !important; }
}

/* Wider content area */
.container,
.error-page,
.footer-inner {
  max-width: 1320px !important;
}
@media (min-width: 1320px) {
  .container,
  .error-page,
  .footer-inner {
    width: 90% !important;
    padding: 0 !important;
  }
}

/* Tighten vertical whitespace */
.hero {
  padding: 20px 20px 12px !important;
  margin-bottom: 0 !important;
}
.hero::before {
  font-size: 40px !important;
  margin: 0 auto 16px !important;
}
@media (max-width: 768px) {
  .hero {
    padding: 16px 20px 8px !important;
  }
  .hero::before {
    font-size: 28px !important;
    margin-bottom: 12px !important;
  }
}

.knowledge-base { margin-top: 8px; }


/* ============================================================
   Featured tile: CSS-only fallback by URL match
   (works even if template's {{#is id "..."}} doesn't fire)
   ============================================================ */

/* Match the Get Started tile by its section URL */
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) {
  flex: 1 0 100% !important;
  background: var(--cta-gradient) !important;
  border: 0 !important;
  border-radius: 16px !important;
  order: -1 !important;
  box-shadow: var(--shadow-cta) !important;
  margin: 0 0 16px !important;
  position: relative;
  overflow: hidden;
  text-align: center !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) *,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-link,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-link:visited,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-title,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-description {
  color: var(--text-on-brand) !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-link {
  padding: 24px 32px !important;
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-title {
  color: var(--text-on-brand) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: -0.4px;
  margin-bottom: 4px !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-description {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px !important;
}
/* Suppress the wrongly-positioned icon badge on the Get Started tile */
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-title::before {
  display: none !important;
}

/* ============================================================
   Further whitespace reductions
   ============================================================ */

/* Hero: even tighter */
.hero {
  padding: 12px 20px 8px !important;
}
.hero::before {
  font-size: 36px !important;
  margin: 0 auto 12px !important;
}

/* Container gets a touch of top padding instead of relying on hero */
.container { padding-top: 0 !important; }

/* Tile internal padding: less */
.blocks-item-link {
  padding: 20px !important;
}
.blocks-item:not(:has(.blocks-item-link[href*="16240188540175"])) .blocks-item-title::before {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  background-size: 22px;
}

/* Sections sit closer together */
.section { margin-bottom: 16px !important; }
@media (min-width: 768px) {
  .section { margin-bottom: 20px !important; }
}

/* Recent activity: trim top padding */
.activity { padding: 8px 0 4px !important; }
.recent-activity-header {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

/* Footer: closer to content */
.footer { margin-top: 28px !important; padding: 20px 0 !important; }

/* ============================================================
   Palette + card-shadow normalisation
   (Token defaults already match bndry.net light values; dark
    overrides live in the [data-theme="dark"] block above.)
   ============================================================ */

/* Body sits on the section-bg token */
body {
  background-color: var(--bg) !important;
}

/* Large "Submit a Request" CTA keeps the small-scale topaz→slime gradient */
.button-large,
.hbs-form input[type=submit] {
  background: var(--cta-gradient) !important;
}
.button-large:hover,
.hbs-form input[type=submit]:hover {
  background: var(--cta-gradient-hover) !important;
}

/* Card shadow normalisation */
.blocks-item,
.recent-activity-item,
.section-list-item,
.search-results-list > li,
.striped-list-item,
.comment,
.profile-badges-item,
.profile-contribution {
  box-shadow: var(--shadow-card-soft) !important;
}

/* Hero / tagline area uses the section-bg token */
.hero { background-color: var(--bg) !important; }

/* Light-grey card hover backgrounds */
.sidenav-item:hover,
.button-secondary:hover {
  background-color: var(--surface-muted) !important;
}

/* ============================================================
   Tile icon corrections — semantically matched
   Concepts (1)   -> violet network nodes  (#866bf0 on #efedfb)
                     — relationships / mental model
   Guides (2)     -> amber compass         (#eeab44 on bg-tint)
                     — direction / step-by-step journey
   References (3) -> sapphire open book    (#5392b8 on bg-tint)
                     — lookup material
   ============================================================ */

/* Reset earlier shared-icon rule */
.blocks-item:not(.blocks-item-featured):nth-of-type(1) .blocks-item-title::before,
.blocks-item:not(.blocks-item-featured):nth-of-type(2) .blocks-item-title::before,
.blocks-item:not(.blocks-item-featured):nth-of-type(3) .blocks-item-title::before,
.blocks-item:not(.blocks-item-featured):nth-of-type(4) .blocks-item-title::before {
  background: none;
}

/* Position 1 — Concepts — violet network of three connected nodes */
.blocks-item:not(.blocks-item-featured):nth-of-type(1) .blocks-item-title::before {
  background-color: var(--violet-bg) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23866bf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'/%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 26px !important;
}

/* Position 2 — Guides — amber compass */
.blocks-item:not(.blocks-item-featured):nth-of-type(2) .blocks-item-title::before {
  background-color: var(--amber-bg) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23eeab44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 26px !important;
}

/* Position 3 — References — sapphire open book */
.blocks-item:not(.blocks-item-featured):nth-of-type(3) .blocks-item-title::before {
  background-color: var(--sapphire-bg) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%235392b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 26px !important;
}

/* Position 4 (if visible as non-featured fallback) — peachy compass */
.blocks-item:not(.blocks-item-featured):nth-of-type(4) .blocks-item-title::before {
  background-color: var(--peachy-bg) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23d8337b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76' fill='%23d8337b' fill-opacity='0.18'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 26px !important;
}

/* ============================================================
   Featured Get Started: soft slime-green tinted card
   (replaces the heavy dark #141414 slab)

   Mirrors bndry.net's pastel-tinted card pattern — same as how
   their feature tiles sit on #efedfb / #ea734354 glow backgrounds.
   ============================================================ */

.blocks-item:has(.blocks-item-link[href*="16240188540175"]) {
  background: var(--featured-bg) !important;
  border: 1px solid var(--featured-border) !important;
  box-shadow: none !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]):hover,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]):focus,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]):active {
  background: var(--featured-bg-hover) !important;
  border-color: var(--brand) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Heading uses the brand colour on the light slime tint */
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) *,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-link,
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-link:visited {
  color: var(--text) !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-title {
  color: var(--brand) !important;
  font-weight: 600 !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-description {
  color: var(--text-body) !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]):hover * {
  color: var(--text) !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]):hover .blocks-item-title {
  color: var(--brand) !important;
}

/* Arrow keeps the slime-green accent */
.blocks-item:has(.blocks-item-link[href*="16240188540175"]) .blocks-item-link::after {
  color: var(--brand) !important;
}
.blocks-item:has(.blocks-item-link[href*="16240188540175"]):hover .blocks-item-link::after {
  color: var(--brand-hover) !important;
}

/* ============================================================
   Dark-mode override for rich-text bodies
   Zendesk's WYSIWYG editor injects inline color styles on <p>,
   <span>, etc. (typically `color: #141414` for body text). Those
   inline styles win against ordinary class CSS, so we force the
   theme colour with `!important` on a wildcard scoped to the
   rich-text containers.
   ============================================================ */
[data-theme="dark"] .article-body,
[data-theme="dark"] .article-body p,
[data-theme="dark"] .article-body li,
[data-theme="dark"] .article-body span,
[data-theme="dark"] .article-body td,
[data-theme="dark"] .article-body th,
[data-theme="dark"] .article-body dd,
[data-theme="dark"] .article-body dt,
[data-theme="dark"] .post-body,
[data-theme="dark"] .post-body p,
[data-theme="dark"] .post-body li,
[data-theme="dark"] .post-body span,
[data-theme="dark"] .post-body td,
[data-theme="dark"] .post-body th,
[data-theme="dark"] .comment-body,
[data-theme="dark"] .comment-body p,
[data-theme="dark"] .comment-body li,
[data-theme="dark"] .comment-body span,
[data-theme="dark"] .service-catalog-description,
[data-theme="dark"] .service-catalog-description p,
[data-theme="dark"] .service-catalog-description li,
[data-theme="dark"] .service-catalog-description span {
  color: var(--text-body) !important;
}
[data-theme="dark"] .article-body h1,
[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3,
[data-theme="dark"] .article-body h4,
[data-theme="dark"] .article-body h5,
[data-theme="dark"] .article-body h6,
[data-theme="dark"] .article-body strong,
[data-theme="dark"] .article-body b,
[data-theme="dark"] .post-body h1,
[data-theme="dark"] .post-body h2,
[data-theme="dark"] .post-body h3,
[data-theme="dark"] .post-body h4,
[data-theme="dark"] .post-body strong,
[data-theme="dark"] .post-body b,
[data-theme="dark"] .comment-body h1,
[data-theme="dark"] .comment-body h2,
[data-theme="dark"] .comment-body h3,
[data-theme="dark"] .comment-body h4,
[data-theme="dark"] .comment-body strong,
[data-theme="dark"] .comment-body b {
  color: var(--text) !important;
}
[data-theme="dark"] .article-body a,
[data-theme="dark"] .article-body a:visited,
[data-theme="dark"] .post-body a,
[data-theme="dark"] .post-body a:visited,
[data-theme="dark"] .comment-body a,
[data-theme="dark"] .comment-body a:visited {
  color: var(--brand) !important;
}
[data-theme="dark"] .article-body :not(pre) > code,
[data-theme="dark"] .article-body pre,
[data-theme="dark"] .post-body :not(pre) > code,
[data-theme="dark"] .post-body pre,
[data-theme="dark"] .comment-body :not(pre) > code,
[data-theme="dark"] .comment-body pre {
  background: var(--code-bg) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
[data-theme="dark"] .article-body blockquote,
[data-theme="dark"] .post-body blockquote,
[data-theme="dark"] .comment-body blockquote {
  background-color: var(--surface-alt) !important;
  color: var(--text-body) !important;
}
[data-theme="dark"] .article-body figcaption,
[data-theme="dark"] .post-body figcaption,
[data-theme="dark"] .comment-body figcaption {
  background-color: var(--surface-alt) !important;
  color: var(--text-muted) !important;
}

/* Same overrides when the OS prefers dark and the user hasn't chosen a theme yet */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .article-body,
  html:not([data-theme]) .article-body p,
  html:not([data-theme]) .article-body li,
  html:not([data-theme]) .article-body span,
  html:not([data-theme]) .article-body td,
  html:not([data-theme]) .article-body th,
  html:not([data-theme]) .article-body dd,
  html:not([data-theme]) .article-body dt,
  html:not([data-theme]) .post-body,
  html:not([data-theme]) .post-body p,
  html:not([data-theme]) .post-body li,
  html:not([data-theme]) .post-body span,
  html:not([data-theme]) .post-body td,
  html:not([data-theme]) .post-body th,
  html:not([data-theme]) .comment-body,
  html:not([data-theme]) .comment-body p,
  html:not([data-theme]) .comment-body li,
  html:not([data-theme]) .comment-body span,
  html:not([data-theme]) .service-catalog-description,
  html:not([data-theme]) .service-catalog-description p,
  html:not([data-theme]) .service-catalog-description li,
  html:not([data-theme]) .service-catalog-description span {
    color: var(--text-body) !important;
  }
  html:not([data-theme]) .article-body h1,
  html:not([data-theme]) .article-body h2,
  html:not([data-theme]) .article-body h3,
  html:not([data-theme]) .article-body h4,
  html:not([data-theme]) .article-body h5,
  html:not([data-theme]) .article-body h6,
  html:not([data-theme]) .article-body strong,
  html:not([data-theme]) .article-body b,
  html:not([data-theme]) .post-body h1,
  html:not([data-theme]) .post-body h2,
  html:not([data-theme]) .post-body h3,
  html:not([data-theme]) .post-body h4,
  html:not([data-theme]) .post-body strong,
  html:not([data-theme]) .post-body b,
  html:not([data-theme]) .comment-body h1,
  html:not([data-theme]) .comment-body h2,
  html:not([data-theme]) .comment-body h3,
  html:not([data-theme]) .comment-body h4,
  html:not([data-theme]) .comment-body strong,
  html:not([data-theme]) .comment-body b {
    color: var(--text) !important;
  }
  html:not([data-theme]) .article-body a,
  html:not([data-theme]) .article-body a:visited,
  html:not([data-theme]) .post-body a,
  html:not([data-theme]) .post-body a:visited,
  html:not([data-theme]) .comment-body a,
  html:not([data-theme]) .comment-body a:visited {
    color: var(--brand) !important;
  }
  html:not([data-theme]) .article-body :not(pre) > code,
  html:not([data-theme]) .article-body pre,
  html:not([data-theme]) .post-body :not(pre) > code,
  html:not([data-theme]) .post-body pre,
  html:not([data-theme]) .comment-body :not(pre) > code,
  html:not([data-theme]) .comment-body pre {
    background: var(--code-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
  }
  html:not([data-theme]) .article-body blockquote,
  html:not([data-theme]) .post-body blockquote,
  html:not([data-theme]) .comment-body blockquote {
    background-color: var(--surface-alt) !important;
    color: var(--text-body) !important;
  }
}

/* ============================================================
   New request form (Garden/React bundle) — dark mode contrast
   ============================================================ */

/* Labels */
[data-theme="dark"] [data-garden-id="forms.input_label"],
[data-theme="dark"] [data-garden-container-id="containers.field.label"] {
  color: var(--text) !important;
}

/* Hint and validation message text */
[data-theme="dark"] [data-garden-id="forms.input_hint"],
[data-theme="dark"] [data-garden-id="forms.input_message"] {
  color: var(--text-muted) !important;
}

/* Input, textarea, select backgrounds and text */
[data-theme="dark"] [data-garden-id="forms.input"],
[data-theme="dark"] [data-garden-id="forms.textarea"],
[data-theme="dark"] [data-garden-id="forms.select"],
[data-theme="dark"] [data-garden-id="forms.multiselect"],
[data-theme="dark"] [data-garden-container-id="containers.field.input"] {
  background-color: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

/* CC / tag input (faux_input) */
[data-theme="dark"] [data-garden-id="forms.faux_input"],
[data-theme="dark"] [data-garden-id="forms.faux_input"] input {
  background-color: #ffffff !important;
  color: #141414 !important;
  border-color: var(--border) !important;
}

/* CC tag chips — dark mode */
[data-theme="dark"] [data-garden-id="forms.faux_input"] [data-garden-id="tags.tag"] {
  background-color: #f0f0f0 !important;
  color: #141414 !important;
  border-color: #ddd !important;
}

[data-theme="dark"] [data-garden-id="forms.faux_input"] [data-garden-id="tags.close"] {
  color: #5e5e5e !important;
}

/* Focus ring */
[data-theme="dark"] [data-garden-id="forms.input"]:focus,
[data-theme="dark"] [data-garden-id="forms.textarea"]:focus {
  border-color: var(--brand) !important;
  box-shadow: var(--focus-ring) !important;
}

/* Autofill override (Chrome injects its own background colour) */
[data-theme="dark"] [data-garden-id="forms.input"]:-webkit-autofill,
[data-theme="dark"] [data-garden-id="forms.input"]:-webkit-autofill:hover,
[data-theme="dark"] [data-garden-id="forms.input"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 0s 600000s, color 0s 600000s !important;
}

/* OS-level dark mode (no data-theme set yet) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) [data-garden-id="forms.input_label"],
  html:not([data-theme]) [data-garden-container-id="containers.field.label"] {
    color: var(--text) !important;
  }

  html:not([data-theme]) [data-garden-id="forms.input_hint"],
  html:not([data-theme]) [data-garden-id="forms.input_message"] {
    color: var(--text-muted) !important;
  }

  html:not([data-theme]) [data-garden-id="forms.input"],
  html:not([data-theme]) [data-garden-id="forms.textarea"],
  html:not([data-theme]) [data-garden-id="forms.select"],
  html:not([data-theme]) [data-garden-id="forms.multiselect"],
  html:not([data-theme]) [data-garden-container-id="containers.field.input"] {
    background-color: var(--surface) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
  }

  html:not([data-theme]) [data-garden-id="forms.input"]:focus,
  html:not([data-theme]) [data-garden-id="forms.textarea"]:focus {
    border-color: var(--brand) !important;
    box-shadow: var(--focus-ring) !important;
  }

  html:not([data-theme]) [data-garden-id="forms.input"]:-webkit-autofill,
  html:not([data-theme]) [data-garden-id="forms.input"]:-webkit-autofill:hover,
  html:not([data-theme]) [data-garden-id="forms.input"]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    caret-color: var(--text);
  }
}

/* Input fields — white background in dark mode */
[data-theme="dark"] [data-garden-id="forms.input"],
[data-theme="dark"] [data-garden-id="forms.textarea"],
[data-theme="dark"] [data-garden-id="forms.faux_input"] {
  background-color: #ffffff !important;
  color: #141414 !important;
  border-color: var(--border) !important;
}
