.pml-front,
.pml-front * {
  box-sizing: border-box;
}

.pml-front {
  max-width: 920px;
  color: #444;
}

.pml-front--account {
  max-width: 100%;
}

.pml-front h1 {
  margin: 0 0 24px;
  padding-bottom: 0;
  border-bottom: 0;
  color: #208497;
}

.pml-front h2 {
  margin: 28px 0 14px;
  color: #208497;
}

.pml-front-info {
  margin: 0 0 24px;
  color: #444;
}

.pml-front-info--outro {
  margin: 24px 0 0;
}

.pml-front-info > :first-child {
  margin-top: 0;
}

.pml-front-info > :last-child {
  margin-bottom: 0;
}

.pml-front-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 0 28px;
}

.pml-front-form label {
  display: grid;
  gap: 5px;
  color: #555;
  font-weight: 700;
}

.pml-front-form label span {
  color: #777;
  font-size: 14px;
  font-weight: 400;
}

.pml-front-form input,
.pml-front-form select,
.pml-front-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #444;
  font: inherit;
}

.pml-front-form textarea {
  min-height: 130px;
  resize: vertical;
}

.pml-front-form--case {
  max-width: 900px;
  margin-top: 18px;
}

.pml-front-form--case textarea {
  min-height: 900px;
}

.pml-front-form label.pml-case-consent {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #208497;
  border-radius: 4px;
  background: #e9f6f8;
  color: #444;
  line-height: 1.4;
}

.pml-front-form label.pml-case-consent span {
  margin: 0;
  color: #444;
  font-weight: 700;
}

.pml-case-consent__line {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.pml-case-consent__line input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
}

.pml-front-form label.pml-case-consent .pml-case-consent__note {
  font-size: 13px;
  font-weight: 600;
}

.pml-case-consent a {
  color: #208497;
  font-weight: 900;
}

.pml-front-form--note {
  max-width: 1100px;
}

.pml-note-bundle {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8d8d8;
  border-radius: var(--pml-case-article-radius, 4px);
  background: #fff;
}

.pml-note-bundle h2 {
  margin: 0;
  color: #208497;
  font-size: 24px;
  line-height: 1.2;
}

.pml-note-bundle p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

.pml-note-pickers {
  display: grid;
  gap: 10px;
}

.pml-note-picker {
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fafafa;
  overflow: hidden;
}

.pml-note-picker summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #208497;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.pml-note-picker summary::-webkit-details-marker {
  display: none;
}

.pml-note-picker > .pml-muted {
  margin: 0;
  padding: 12px;
}

.pml-note-picker__all {
  margin: 0;
  border-top: 1px solid #d8d8d8;
}

.pml-note-picker__all summary {
  padding: 9px 12px;
  background: #e9f6f8;
  color: #208497;
  font-size: 14px;
}

.pml-note-picker__all[open] summary {
  border-bottom: 1px solid #d8d8d8;
}

.pml-note-picker__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 12px;
}

.pml-note-picker__items label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.pml-note-picker__items input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.pml-note-picker__items span {
  overflow-wrap: anywhere;
}

.pml-note-bundle-group {
  margin: 0 0 18px;
}

.pml-note-bundle-group:last-child {
  margin-bottom: 0;
}

.pml-note-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pml-note-bundle-card {
  padding: 11px 12px;
  border: 1px solid #d8d8d8;
  border-radius: var(--pml-case-article-radius, 4px);
  background: #fff;
  min-width: 0;
}

.pml-note-bundle-card a,
.pml-note-bundle-card strong {
  color: #208497;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.pml-note-bundle-card a:hover {
  color: #000;
  text-decoration: underline;
}

.pml-front-form button,
.pml-front-btn,
.pm-pin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #208497;
  border-radius: 6px;
  background: #208497;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.pml-front-btn:hover,
.pml-front-form button:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none;
}

.pml-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1200px;
}

.pml-front-form--help {
  max-width: none;
}

.pml-help-tickets {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
}

.pml-help-tickets h2 {
  margin: 0;
  color: #208497;
  font-size: 22px;
  line-height: 1.2;
}

.pml-help-ticket-list {
  display: grid;
  gap: 10px;
  max-height: 760px;
  overflow: auto;
}

.pml-help-ticket {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fafafa;
}

.pml-help-ticket__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pml-help-ticket__head strong {
  min-width: 0;
  color: #208497;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pml-help-status {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 23px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #208497;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.pml-help-ticket--beantwoordt .pml-help-status {
  background: #557d1c;
}

.pml-help-ticket--afgerond .pml-help-status {
  background: #111;
}

.pml-help-ticket__meta {
  color: #777;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.pml-help-ticket p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.pml-help-ticket__answer {
  border-top: 1px solid #e5e5e5;
  padding-top: 7px;
}

.pml-help-ticket__answer summary {
  color: #208497;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.pml-help-ticket__answer div {
  margin-top: 7px;
  color: #444;
  font-size: 14px;
  line-height: 1.45;
}

.pml-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-width: 900px;
  margin: 0 0 22px;
}

.pml-section-head h1 {
  margin-bottom: 0;
}

.pml-section-head__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.pml-dashboard-intro,
.pml-dashboard-notice {
  max-width: 1100px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #d8e8eb;
  border-radius: 6px;
  background: #f4fbfc;
  color: #444;
}

.pml-dashboard-notice {
  border-color: #208497;
  background: #e9f6f8;
}

.pml-dashboard-intro > :first-child,
.pml-dashboard-notice > :first-child {
  margin-top: 0;
}

.pml-dashboard-intro > :last-child,
.pml-dashboard-notice > :last-child {
  margin-bottom: 0;
}

.pml-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 0 24px;
}

.pml-dashboard-box {
  padding: 16px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
}

.pml-dashboard-box h2 {
  margin: 0 0 14px;
  color: #208497;
  font-size: 22px;
}

.pml-dashboard-action,
.pml-dashboard-message {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d8e8eb;
  border-radius: 6px;
  background: #f9fdfd;
}

.pml-dashboard-action + .pml-dashboard-action,
.pml-dashboard-message + .pml-dashboard-message {
  margin-top: 10px;
}

.pml-dashboard-action strong,
.pml-dashboard-message strong {
  color: #208497;
  font-weight: 900;
}

.pml-dashboard-action span,
.pml-dashboard-message span {
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

.pm-pin-button {
  width: 38px;
  min-height: 38px;
  padding: 8px;
  border-color: #d4d4d4;
  border-radius: 999px;
  background: #d4d4d4;
}

.pm-pin-button img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pm-pin-button.is-active {
  background: #208497;
  border-color: #208497;
}

.pm-pin-button.is-active img {
  filter: brightness(0) invert(1);
}

.pml-front-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pml-front-notice,
.pml-front-error {
  margin: 0 0 18px;
  padding: 11px 13px;
  border-radius: 6px;
}

.pml-front-notice {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.pml-front-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.pml-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pml-list li {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.pml-list--words li {
  border-left: 4px solid #fa9403;
}

.pml-list--faq li {
  border-left: 4px solid #208497;
}

.pml-list--cases li {
  display: grid;
  gap: 10px;
}

.pml-list span {
  display: inline-flex;
  margin-left: 8px;
  color: #777;
  font-size: 14px;
}

.pml-list .pml-case-meta {
  margin-left: 0;
}

.pml-list--cases p {
  margin: 0;
}

.pml-pins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1400px;
  margin: 0;
}

.pml-pin-group {
  max-width: 1400px;
  margin: 0 0 30px;
}

.pml-pin-group:last-child {
  margin-bottom: 0;
}

.pml-pin-group h2 {
  margin: 0 0 12px;
  color: #208497;
  font-size: 26px;
  line-height: 1.2;
}

.pml-pin-card {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 14px 44px 14px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.pml-pin-card__icon {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: #208497;
  -webkit-mask: url("assets/pin.svg") center / contain no-repeat;
  mask: url("assets/pin.svg") center / contain no-repeat;
}

.pml-pin-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pml-pin-card__title {
  color: #208497;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.pml-pin-card__title:hover {
  color: #000;
  text-decoration: underline;
}

.pml-pin-card__type {
  color: #777;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.pml-pin-card__delete {
  position: absolute;
  top: 9px;
  right: 9px;
  margin: 0;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .16s ease, transform .16s ease;
}

.pml-pin-card:hover .pml-pin-card__delete,
.pml-pin-card__delete:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.pml-pin-card__delete button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.pml-pin-card__delete img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.pml-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.pml-case-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #208497;
  border-radius: 6px;
  background: #208497;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.pml-case-tag__alarm {
  width: 13px;
  height: 13px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.pml-case-help-link {
  width: fit-content;
  color: #208497;
  font-weight: 800;
}

.pml-cases {
  --pml-case-action-bg: #444;
  --pml-case-accent: #208497;
  --pml-case-tag-bg: #208497;
  --pml-case-tag-text: #fff;
  --pml-case-tag-hover-bg: #000;
  --pml-case-tag-hover-text: #fff;
  --pml-case-action-text: #fff;
  --pml-case-action-hover-bg: #111;
  --pml-case-action-hover-text: #fff;
  --pml-case-article-gap: 20px;
  --pml-case-article-radius: 4px;
  --pml-case-read-more-radius: 0;
  --pml-case-read-more-align: flex-start;
  --pml-case-back-link-radius: 0;
  --pml-case-filter-button-radius: 0;
  --pml-case-tag-radius: 0;
  --pml-case-columns: 3;
  max-width: 100%;
  font-family: "Cabin", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.pml-cases .pml-section-head {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pml-cases h1 {
  margin: 0 0 14px;
  padding-bottom: 0;
  border-bottom: 0;
  color: #208497;
  font-size: 50px;
  line-height: 1.18;
  font-weight: normal;
  letter-spacing: 0;
}

.pml-cases .pml-front-btn,
.pml-cases .pml-front-form button,
.pml-case-filterbar button,
.pml-case-filterbar a,
.pml-case-pagination a {
  border-color: var(--pml-case-action-bg) !important;
  background: var(--pml-case-action-bg) !important;
  color: var(--pml-case-action-text) !important;
}

.pml-cases .pml-front-btn:hover,
.pml-cases .pml-front-form button:hover,
.pml-case-filterbar button:hover,
.pml-case-filterbar a:hover,
.pml-case-pagination a:hover,
.pml-case-pagination a.is-active {
  border-color: var(--pml-case-action-hover-bg) !important;
  background: var(--pml-case-action-hover-bg) !important;
  color: var(--pml-case-action-hover-text) !important;
}

.pml-case-card__actions .pml-front-btn,
.pml-cases .pml-front-form button {
  border-radius: var(--pml-case-read-more-radius);
}

.pml-cases .pml-front-btn--back {
  border-radius: var(--pml-case-back-link-radius);
}

.pml-section-head > .pml-front-btn:not(.pml-front-btn--back) {
  border-radius: var(--pml-case-filter-button-radius);
}

.pml-case-filterbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
  max-width: 1400px;
  margin: 0 auto 28px;
  padding: 18px;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.pml-case-filterbar label {
  display: grid;
  gap: 5px;
  color: #555;
  font-weight: 800;
}

.pml-case-filterbar label span {
  color: #777;
  font-size: 13px;
}

.pml-case-filterbar select {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: var(--pml-case-filter-button-radius);
  background: #fff;
  color: #444;
  font: inherit;
}

.pml-case-filterbar button,
.pml-case-filterbar a,
.pml-case-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid;
  border-radius: var(--pml-case-filter-button-radius);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.pml-case-overview {
  display: grid;
  grid-template-columns: repeat(var(--pml-case-columns), minmax(0, 1fr));
  gap: var(--pml-case-article-gap);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pml-case-card,
.pml-case-detail,
.pml-case-sidebar,
.pml-recommended-card {
  border: 1px solid #ddd;
  border-radius: var(--pml-case-article-radius);
  background: #fff;
}

.pml-case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 100%;
  padding: 22px;
  overflow: hidden;
}

.pml-case-card--submitted {
  border-color: #208497;
  box-shadow: inset 0 0 0 1px rgba(32, 132, 151, .18);
}

.pml-case-card__topline,
.pml-case-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.pml-case-card__topline {
  margin: -4px 0 0;
}

.pml-case-submission-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid #208497;
  border-radius: 6px;
  background: #208497;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.pml-case-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.pml-case-card__category,
.pml-case-detail__category {
  color: #208497;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: lowercase;
}

.pml-case-card h2 a,
.pml-case-sidebar a,
.pml-recommended-card h4,
.pml-recommended-card a {
  color: var(--pml-case-accent);
  font-weight: 900;
  text-decoration: none;
}

.pml-case-card h2 a:hover,
.pml-case-sidebar a:hover,
.pml-recommended-card a:hover {
  color: #000;
  text-decoration: underline;
}

.pml-case-card p,
.pml-recommended-card p {
  margin: 0;
}

.pml-case-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: var(--pml-case-read-more-align);
  margin-top: auto;
}

.pml-case-card__actions .pml-front-btn {
  min-height: 27px;
  padding: 2px 11px;
  font-size: 15px;
}

.pml-cases .pml-case-tag {
  border-color: var(--pml-case-tag-bg) !important;
  border-radius: var(--pml-case-tag-radius);
  background: var(--pml-case-tag-bg) !important;
  color: var(--pml-case-tag-text) !important;
}

.pml-cases .pml-case-tag:hover {
  border-color: var(--pml-case-tag-hover-bg) !important;
  background: var(--pml-case-tag-hover-bg) !important;
  color: var(--pml-case-tag-hover-text) !important;
}

.pml-case-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: var(--pml-case-article-gap);
  align-items: start;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pml-case-detail,
.pml-case-sidebar {
  padding: 18px;
}

.pml-case-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pml-case-detail__text {
  margin: 18px 0;
  line-height: 1.65;
}

.pml-case-detail hr {
  margin: 24px 0 18px;
  border: 0;
  border-top: 1px solid #ddd;
}

.pml-case-detail h3 {
  margin: 0 0 14px;
  color: var(--pml-case-accent);
}

.pml-recommended-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pml-recommended-card {
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto 1fr auto;
  padding: 13px;
}

.pml-recommended-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.pml-recommended-card__button {
  align-self: end;
  justify-self: var(--pml-case-read-more-align);
  margin-top: 4px;
  border-radius: var(--pml-case-read-more-radius);
}

html.pml-modal-open {
  overflow: hidden;
}

.pml-kb-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}

.pml-kb-modal[hidden] {
  display: none !important;
}

.pml-kb-modal__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .62);
  cursor: pointer;
}

.pml-kb-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  max-height: min(88vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .34);
}

.pml-kb-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.pml-kb-modal__header h2 {
  margin: 0;
  color: var(--pml-case-accent);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
}

.pml-kb-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--pml-case-action-bg);
  border-radius: 999px;
  background: var(--pml-case-action-bg);
  color: var(--pml-case-action-text);
  cursor: pointer;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.pml-kb-modal__close:hover,
.pml-kb-modal__close:focus-visible {
  border-color: var(--pml-case-action-hover-bg);
  background: var(--pml-case-action-hover-bg);
  color: var(--pml-case-action-hover-text);
}

.pml-kb-modal__body {
  overflow: auto;
  padding: 24px;
  color: #444;
  line-height: 1.7;
  overscroll-behavior: contain;
}

.pml-kb-modal__body > :first-child {
  margin-top: 0;
}

.pml-kb-modal__body > :last-child {
  margin-bottom: 0;
}

.pml-kb-modal__body p {
  margin: 0 0 1em;
}

.pml-kb-modal__body img {
  max-width: 100%;
  height: auto;
}

.pml-kb-modal__summary {
  margin: 0 0 18px;
  color: #555;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.pml-kb-modal__section {
  margin: 0 0 24px;
}

.pml-kb-modal__section h3 {
  margin: 0 0 12px;
  color: var(--pml-case-accent);
  font-size: 24px;
}

.pml-kb-modal__section h4 {
  margin: 0 0 8px;
  color: #222;
  font-size: 17px;
}

.pml-kb-modal__section ul {
  margin-top: 0;
}

.pml-kb-modal__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.pml-kb-modal__split > div {
  padding: 14px;
  border: 1px solid #e3e3e3;
  border-radius: var(--pml-case-article-radius);
  background: #fafafa;
}

.pml-link-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.pml-link-modal[hidden] {
  display: none !important;
}

.pml-link-modal__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .66);
  cursor: pointer;
}

.pml-link-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1400px, calc(100vw - 36px));
  height: min(940px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .38);
}

.pml-link-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 15px 22px;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.pml-link-modal__header h2 {
  min-width: 0;
  margin: 0;
  color: var(--pml-case-accent, #208497);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pml-link-modal__actions {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.pml-link-modal__external,
.pml-link-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pml-case-action-bg, #208497);
  border-radius: var(--pml-case-read-more-radius, 4px);
  background: var(--pml-case-action-bg, #208497);
  color: var(--pml-case-action-text, #fff);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.pml-link-modal__external {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 14px;
}

.pml-link-modal__close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  font-size: 27px;
  line-height: 1;
}

.pml-link-modal__external:hover,
.pml-link-modal__external:focus-visible,
.pml-link-modal__close:hover,
.pml-link-modal__close:focus-visible {
  border-color: var(--pml-case-action-hover-bg, #000);
  background: var(--pml-case-action-hover-bg, #000);
  color: var(--pml-case-action-hover-text, #fff);
}

.pml-link-modal__frame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

@media (max-width: 760px) {
  .pml-link-modal {
    padding: 8px;
  }

  .pml-link-modal__dialog {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    border-radius: 8px;
  }

  .pml-link-modal__header {
    align-items: flex-start;
    padding: 13px;
  }

  .pml-link-modal__external {
    display: none;
  }
}

.pml-related-faq-list {
  display: grid;
  gap: 10px;
}

.pml-related-faq {
  border: 1px solid #ddd;
  border-radius: var(--pml-case-article-radius);
  background: #fff;
  overflow: hidden;
}

.pml-related-faq summary {
  display: block;
  padding: 12px 14px;
  background: var(--pml-case-accent);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

.pml-related-faq summary::-webkit-details-marker {
  display: none;
}

.pml-related-faq summary:hover,
.pml-related-faq[open] summary {
  background: var(--pml-case-action-hover-bg);
  color: var(--pml-case-action-hover-text);
}

.pml-related-faq__answer {
  padding: 14px;
  color: #444;
  line-height: 1.65;
}

.pml-related-faq__answer > :first-child {
  margin-top: 0;
}

.pml-related-faq__answer > :last-child {
  margin-bottom: 0;
}

.pml-case-sidebar h2 {
  margin-top: 0;
}

.pml-case-sidebar ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pml-case-sidebar li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.pml-case-sidebar li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pml-case-sidebar span {
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.pml-case-sidebar p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.pml-case-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 1400px;
  margin: 26px auto 0;
}

.pm-login-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.pm-login-menu a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.pm-login-menu a.is-current,
.pm-login-menu a[aria-current="page"] {
  color: #208497;
}

.pm-pin-form {
  display: inline;
  margin: 0;
}

@media (max-width: 680px) {
  .pml-section-head {
    display: grid;
  }

  .pml-pins-grid,
  .pml-dashboard-actions,
  .pml-help-layout,
  .pml-note-picker__items,
  .pml-note-bundle-grid,
  .pml-case-filterbar,
  .pml-case-overview,
  .pml-case-detail-layout,
  .pml-recommended-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 681px) and (max-width: 1000px) {
  .pml-pins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .pml-note-picker__items,
  .pml-dashboard-actions,
  .pml-help-layout,
  .pml-note-bundle-grid,
  .pml-case-overview,
  .pml-case-detail-layout,
  .pml-recommended-grid {
    grid-template-columns: 1fr;
  }
}
