iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

html {
    scroll-behavior: smooth;
    font-size: 15.5px;
}


* {
    scrollbar-width: thin;
    scrollbar-color: #9ca3af66 transparent;
    box-sizing: border-box;
}

:root {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    background: #fff;
    color: #111;
}

strong {
    font-weight: 600;
}

a {
    color: inherit;
}

.topbar {
    height: 66px;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1;
}

.topbar__inner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-color: white;
    border-bottom: 1px solid rgb(228, 228, 231);
}

.topbar__inner>div {
    display: flex;
}

.topbar .header-search {
    margin-left: 32px;
    padding-left: .75vw;
}

.topbar .header-search input {
    margin: 0;
    font-size: 14px;
}

.brand {
    /*background: rgb(250, 250, 250);
	background: #ecf1f333;*/
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    width: 275px;
    padding: 24px 35px;
    border-right: 1px solid rgb(228, 228, 231);
}

.topnav a {
    color: #fff;
    text-decoration: none;
    opacity: .85;
    margin-left: 12px;
}

.topnav a:hover {
    opacity: 1;
}

.main {
    max-width: 1640px;
    margin: 0 auto;
    padding-top: 96px;
}

.docs,
.admin {
    padding-left: 317px;
    padding-right: 332px;
    padding-top: 10px;
}

.admin {
    padding-top: 22px;
}

.docs__sidebar,
.edit__sidebar {
    background: rgb(250, 250, 250);
    background: #fbfcfd;
    border-right: 1px solid rgb(228, 228, 231);
    padding: 16px 24px;
    overflow: auto;
    top: 0;
    height: calc(100vh - 64px);
    position: fixed;
    top: 64px;
    width: 285px;
    left: 0;
    z-index: 2;
    padding-top: 23px;
}

.sidebar__title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: .8;
}

.docs__content {
    min-width: 0;
    padding-left: .75vw;
    padding-right: .75vw;
}

.content {
    line-height: 1.6;
}

.content h2 {
    margin-top: 36px;
}

.content h3 {
    margin-top: 28px;
}

.content h4 {
    margin-bottom: 12px;
}

.tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tree__item {
    /*margin: -3px 0;*/
    line-height: 1.5;
}

.tree__row {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    margin-bottom: 2px;
}

.tree__toggle {
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: rotate(0deg);
    opacity: .5;
    order: 1;
    margin-right: 6.5px;
    font-size: 14px;
    color: #000;
    transform: rotate(-90deg);
    padding: 5px;
    margin-top: 8px;
}

.tree__item.is-open>.tree__row .tree__toggle,
.tree__item.is>.tree__row:hover .tree__toggle {
    opacity: 1;
    margin-right: 8px;
    margin-top: 4px;
}

.tree__item>.tree__row:hover {
    /*background: #e8e8e8;*/
}

.tree__item.is-open>.tree__row .tree__toggle {
    transform: none;
}

.tree__spacer {
    display: inline-block;
    width: 22px;
    order: 1;
}

.tree__item .tree__item .tree__spacer {
    display: none;
}

.tree__link {
    text-decoration: none;
    padding: 6px 12px;
    display: inline-block;
    flex: 1;
}

.tree__item.is-active>.tree__row {
    /*background: #01b08724;*/
    color: #019a76;
    font-weight: 500;
}

.tree__children {
    margin-left: 20px;
    display: none;
}

.tree__item.is-open>.tree__children {
    display: block;
    font-size: 15px;
}

.admin__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Admin editor split layout */
.edit {
    padding-right: 32px;
}

.edit__main {
    min-width: 0;
}

.card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.card__title {
    font-weight: 800;
    margin-bottom: 10px;
}

/* Make CKEditor tall */
.ck-editor__editable_inline {
    min-height: calc(100vh - 220px);
}

/* Responsive: stack on small screens */
@media (max-width: 980px) {
    .edit {
        grid-template-columns: 1fr;
    }

    .edit__sidebar {
        position: relative;
        top: 0;
    }

    .ck-editor__editable_inline {
        min-height: 420px;
    }
}


.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.table th,
.table td {
    border-bottom: 1px solid #eee;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.table code {
    background: #f6f6f6;
    padding: 2px 6px;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    background: #111;
    color: #fff;
    border: 0;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.btn--secondary {
    background: #666;
}

.btn--danger {
    background: #b00020;
}

.btn--small {
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 13px;
}

.form {
    max-width: 900px;
    display: grid;
    gap: 12px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

input,
select,
textarea {
    font: inherit;
    padding: 10px 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-bottom: 20px;
}

.hint {
    font-weight: 400;
    opacity: .65;
    margin-left: 6px;
    font-size: 12px;
}

.form__actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

@media (max-width: 980px) {
    .docs {
        grid-template-columns: 1fr;
    }

    /*
    .docs__sidebar {
        position: relative;
        top: 0;
        height: auto;
    }*/
}

/* CKEditor 5 editor height */
.ck-editor__editable_inline {
    min-height: 400px;
}

img {
    max-width: 100%;
}

figure {
    margin: 0;
    padding: 0;
}

.docs__toc {
    position: fixed;
    top: 62px;
    width: 300px;
    right: 0;
    padding-right: 32px;
    font-size: 13px;
    color: rgb(82, 82, 91);
    border-left: 1px solid rgb(228, 228, 231);
    padding-left: 32px;
    font-size: 14.5px;
    opacity: .8;
}

@media (min-width: 1440px) {
    .docs__toc {
        width: 400px;
        padding-right: 64px;
    }

    .docs {
        padding-right: 432px;
    }

}

.toc__title {
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

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

.toc__nav li {
    margin: 6px 0;
}

.toc__nav a {
    text-decoration: none;
    color: rgb(82, 82, 91);
    display: block;
    line-height: 1.5;
    padding: 1px 0;
}

.toc__nav a:hover {
    color: #000;
}

.toc__nav a.is-active {
    font-weight: 500;
    color: #000;
}

/* Indent h3 */
.toc__nav li.level-3 {
    margin-left: 12px;
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}


h1 {
    font-size: 30px !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    line-height: 36px !important;
}

h2 {
    font-size: 24px !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgb(228, 228, 231) !important;
    line-height: 32px !important;
}

h3 {
    font-size: 19px !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    line-height: 24px !important;
}

p {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    margin-bottom: 20px !important;
}

.content li {
    line-height: 26px;
}

h1 strong,
h2 strong,
h3 strong {
    font-weight: inherit;
}

.ck.ck-editor__editable_inline {
    padding: 6px 24px !important;
}

/* Hide CKEditor 4 security warning banner */
.cke_notification_warning {
    display: none !important;
}

/* Callout boxes */
.callout {
    padding: 14px 16px;
    margin: 27px 0;
    background: #fdefec;
    border-left: 6px solid #d3532f;
    font-size: 16px;
    line-height: 26px;
}

.callout--caution::before {
    content: "Caution";
    display: block;
    font-weight: 800;
    color: #d32f2f;
    margin-bottom: 6px;
}

/* Optional: add variants later */
.callout--info {
    background: #e1f0f7;
    border-left-color: #007f9d;
}

.callout--tip {
    background: #e1f7ea;
    border-left-color: #009d7e;
}

.callout--note,
.callout--warning {
    background: #fdefec;
    border-left: 6px solid #d3532f;
}

/*
.callout--info::before {
    content: "Info";
    color: #009d78;
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
}*/

.cke_contents {
    padding: 10px 24px !important;
}

iframe,
p img {
    width: 100%;
    max-width: 720px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin: 6px 0 24px;
    color: #667085;
}

.breadcrumbs__home,
.breadcrumbs__link {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs__link:hover,
.breadcrumbs__home:hover {
    text-decoration: underline;
}

.breadcrumbs__sep {
    opacity: .6;
}

.breadcrumbs__current {
    color: #333;
    font-weight: 500;
}

/* Offset anchor jumps for fixed header */
:root {
    --header-offset: 80px;
}

/* adjust to your header height */

.content h1,
.content h2,
.content h3,
.content h4,
.content [id] {
    scroll-margin-top: 114px;
}

.header-search input[type="search"] {
    width: 280px;
    padding: 10px 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: rgb(250, 250, 250);
}

@media (max-width: 900px) {
    .header-search input[type="search"] {
        width: 40vw;
    }
}

.search-page__form {
    display: flex;
    gap: 10px;
    margin: 12px 0 18px;
}

.search-page__form input {
    flex: 1;
    padding: 16px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: rgb(250, 250, 250);
    font-size: 16px;
    margin-bottom: 0;
}

.search-results {
    list-style: none;
    padding: 0 0 16px;
    margin: 0;
}

.search-results__item {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.search-results__title {
    font-weight: 700;
    text-decoration: none;
}

.search-results__snippet {
    color: #667085;
    margin-top: 6px;
    line-height: 1.5;
}

.muted {
    color: #667085;
}

mark {
    border-radius: 4px;
    background: none;
    font-weight: 500;
}

.info-box {
    border-radius: 12px;
    padding: 14px 16px;
    margin: 16px 0;
    border: 1px solid transparent;
}

.info-box__title {
    font-weight: 700;
    margin-bottom: 6px;
}

.info-box__content p {
    margin: 0;
}

.info-box__content p+p {
    margin-top: 8px;
}

.info-box--info {
    background: #e8f2ff;
    border-color: #b9d6ff;
}

.info-box--note {
    background: #f2f3f5;
    border-color: #d7dbe0;
}

.info-box--warning {
    background: #fff4e5;
    border-color: #ffd29a;
}

.next-steps {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #e6e6e6;
}

.next-steps__title {
    margin: 0 0 12px;
    font-size: 32px;
}

.next-steps__text {
    margin: 0 0 18px;
    font-size: 18px;
}

.next-steps__link {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.next-steps__cards {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.next-steps__card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 18px 18px;
    min-width: 240px;
    flex: 1;
}

.next-steps__label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.next-steps__name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 6px;
}

.js-doc-content {
    padding-bottom: 32px !important;
}

h1+.content>h2:first-child {
    margin-top: 0;
}

.cke_contents {
    height: calc(100vh - 220px) !important;
}

iframe.cke_reset {
    max-width: none !important;
}

.copyr {
    border-top: 1px solid rgb(228, 228, 231) !important;
    font-size: 14px !important;
    color: #aaa;
    padding-bottom: 32px;
    padding-top: 6px;
}

@media (max-width: 1279px) {
    .docs__toc {
        width: 240px;
    }

    .docs__sidebar {
        width: 235px;
        padding: 22px 16px 16px 16px;
    }

    .docs {
        padding-right: 272px;
        padding-left: 267px;
    }

    .brand {
        width: 235px;
        padding: 24px 27px;
    }

    .docs__content {
        padding-left: 0;
        padding-right: 0;
    }

}

@media (max-width: 1023px) {
    .docs__toc {
        display: none;
    }

    .docs {
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 32px;
    }

    .docs__sidebar {
        transform: translateX(-100%);
        top: 86px;
        width: 277px;
        padding: 24px;
        transition: ease .3s;
    }

    .docs__sidebar.open {
        transform: none;
    }

    .topbar .menu,
    .sidebar__top .menu {
        display: block;
    }

    .brand {
        background-color: transparent;
        border: 0;
        padding: 24px 0 24px 16px;
        width: 182px;
    }

    .topbar__inner {
        justify-content: space-between;
        padding-right: 32px;
    }

    .topbar__inner>div {
        display: flex;
    }

    .main {
        padding-top: 84px;
    }

    .topbar .header-search {
        margin-left: 0;
    }
}

@media (max-width: 767px) {

    .topbar .menu,
    .sidebar__top .menu {
        margin-right: 16px;
    }

    .tree__toggle {

        color: #111;
        margin-top: 2px;
    }

    .tree__item.is-open>.tree__row .tree__toggle {
        margin-top: 0;
    }

    /*
    .brand {
        padding: 16px 0 16px 16px;
        overflow: hidden;
        margin-top: 0;
        margin-bottom: -2px;
        width: 162px;
    }

    .brand img {
        margin-left: -48px;
        margin-top: 2px;
    }*/

    .docs {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 6px;
    }

    .topbar__inner {
        padding-right: 24px;
    }

    .docs__sidebar {
        top: 64px;
    }

}

.tree .tree {
    margin-bottom: 3px;
}

.docs__sidebar.new .brand {
    width: 100%;
    padding: 6px 35px 18px 10px;
    border: 0;
    display: block;
}

.docs__sidebar.new {
    top: 0;
    height: 100%;
}

.docs__sidebar.new input[type=search] {
    width: calc(100% - 20px);
    background-color: white;
    font-size: 14px;
    margin-left: 10px;
}

.docs__sidebar.new .tree__item.is-open>.tree__row .tree__link {
    /*color: #019a76;*/
    font-weight: 500;
    opacity: 1;
}

.docs__sidebar.new .tree .tree {
    border-left: 1.5px solid rgb(228, 228, 231);
}

.docs__sidebar.new .tree .tree .tree__item>.tree__row:hover,
.docs__sidebar.new .tree .tree .tree__item.is-active>.tree__row {
    border-left: 1.5px solid #019a76;
    padding-left: 2px !important;
    margin-left: .5px;
    border-radius: 0;
    background: none;
    margin-left: -1.5px;
}

.docs__sidebar.new .tree .tree .tree__item>.tree__row:hover .tree__link {
    opacity: 1;
}

.docs__sidebar.new .tree .tree .tree__row {
    padding-left: 2px;
    margin-bottom: 0;
}

.docs__sidebar.new .tree .tree__link {
    opacity: .725;
}

.docs__sidebar.new .tree .tree .tree__link {
    padding: 7px 12px;
    font-size: 14.5px;
    opacity: .725;
}

.docs__sidebar.new .tree .tree__link:hover {
    opacity: 1;
}


main {
    padding-top: 24px !important;
}

.tree__item.is-open>.tree__children {
    margin-top: -6px;
}

header.mob {
    display: none;
}

@media (max-width: 1023px) {

    main,
    .main {
        padding-top: 84px !important;
    }

    .search-page {
        margin-top: -16px;
    }

    .docs {
        padding-top: 0;
    }

    header.mob {
        display: block;
        position: fixed;
        width: 100%;
        background-color: white;
        border-bottom: 1px solid rgb(228, 228, 231) !important;
        height: 60px;
        top: 0;
        left: 0;
        padding-left: 32px;
        padding-right: 32px;
    }

    header.mob .menu {
        border: 0;
        background: none;
        font-size: 20px;
        padding-right: 0;
        padding-left: 0;
        color: #555 !important;
    }

    header.mob .brand {
        width: 190px;
        padding: 13px 20px;
    }

    header.mob .menu i {
        color: #555 !important;
    }

    header.mob .flex {
        display: flex;
    }

    .docs__sidebar.new {
        top: 60px;
        height: calc(100% - 60px);
        padding: 24px 12px;
    }

    .docs__sidebar.new .sidebar__top .brand {
        display: none;
    }

    .docs__sidebar.new .tree .tree .tree__link {
        font-size: 16px;
    }

    .docs__sidebar.new input[type=search] {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    header.mob {
        padding-left: 24px;
        padding-right: 24px;
        z-index: 5;
    }
}

.content li {
    padding-left: 6px;
    margin-bottom: 4px;
}

.content li::marker {
    color: #888;
    font-weight: 500;
    font-size: .935em;
}

.content a {
    color: #0f7f5c;
    font-weight: 500;
}



.content .callout--info a {
    color: #007f9d;
}

.content .callout--tip a {
    color: #009d7e;
}

.content .callout--note a,
.content .callout--warning a {
    color: #d3532f;
}

.content a[target="_blank"] {
    margin-right: 13px;
    position: relative;
    white-space: nowrap;
}

.content a[target="_blank"]:after {
    content: var(--fa);
    --fa: "\f08e";
    display: block;
    font-family: "Font Awesome 6 Free";
    font-size: 8px;
    position: absolute;
    top: 4px;
    left: 100%;
    margin-left: 2.5px;
    width: 10px;
    height: 10px;
    line-height: 8px;
}



.ibtn {
    border: 1px solid #aaa;
    border-radius: 5px;
    padding: 3px 8px;
    margin: 0 3px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 14px;
    background: #fbfcfd;
    color: #333;
    height: 27px;
}

.ibtn.black,
.ibtn.green {
    color: white;
}

.ibtn.black {
    border-color: #000;
    background: #000;
}

.ibtn.green {
    border-color: #03b087;
    background: #03b087;
}

.content .fa-solid {
    margin-left: 3px;
    margin-right: 2px;
    color: #9aa7a6;
}

.content .fa-solid.black {
    color: black;
}

.content .fa-solid.green {
    color: #03b087;
}

.ibtn.fa-solid {
    margin: 0;
    color: #333;
    padding: 3px 4px;
}

.ibtn.black.fa-solid,
.ibtn.green.fa-solid {
    color: white;
}

div.fa-solid {
    display: inline;
}

.fa-solid br {
    display: none;
}

.content .fa-solid.large {
    font-size: 20px;
}

.ibtn .fa-solid {
    margin-left: 0;
    margin-right: 2px;
    color: black;
}

.ibtn.fa-solid span {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 16px;
    padding-left: 1px;
    font-size: 14px;
    line-height: 14px;
    display: inline-block;
    padding: 3px 4px 3px 5px;
}

.ibtn.fa-solid.text {
    padding-left: 7px;
    margin: 0 3px !important;
}