/* Help pages (help_page_parent.html and descendants) */

body .navbar-default .navbar-header .navbar-brand,
body .navbar-default .navbar-header .navbar-text{
    padding: 15px;
    margin: 0;
    height: 50px;
    line-height: 20px;
}
body #main_content > h1{
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
body .navbar-default form.navbar-form{
    margin-top: 8px;
    margin-bottom: 8px;
}
#content_wrapper{
    bottom: 0;
}
#help_sidebar ul.nav.nav-list > li > a{
    color: #716b7a;
    padding: 5px 20px;
    font-size: 90%;
}
#help_sidebar ul.nav.nav-list > li > a:hover{
    background-color: #e5e3e9;
}
#help_sidebar{
    width: initial;
    height: initial;
    padding: 0;
    margin-top: 30px;
    overflow: hidden;
}
#help_sidebar form.help-sidebar-search{
    margin: 0;
    padding: 10px 12px;
    border-top: 1px solid #ddd;
    background: #eef1f6;
}
#help_sidebar form.help-sidebar-search .form-group{
    margin: 0;
}
@media (min-width: 992px) {
    #help_sidebar{
        position: fixed;
        width: 213px;
    }
}
@media (min-width: 1200px) {
    #help_sidebar{
        width: 263px;
    }
}
.help-current-nav{
    margin: 0;
    padding: 0;
    background: #eef1f6;
    border-bottom: 1px solid #ddd;
}
.help-current-nav-row{
    display: flex;
    align-items: stretch;
    min-height: 30px;
    background: #fff;
    border: 1px solid #d0d5de;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    overflow: hidden;
}
.help-current-nav-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    border: none;
    border-radius: 0;
    background: #fff;
    color: #39456d;
    text-decoration: none;
}
.help-current-nav-btn:first-child{
    border-right: 1px solid #d0d5de;
}
.help-current-nav-row > :last-child{
    border-left: 1px solid #d0d5de;
}
.help-current-nav-btn:hover,
.help-current-nav-btn:focus{
    background: #f5f6f9;
    color: #39456d;
    text-decoration: none;
}
.help-current-nav-btn.is-disabled{
    color: #bbb;
    background: #f7f8fa;
    cursor: default;
}
.help-current-nav-btn.is-disabled:hover,
.help-current-nav-btn.is-disabled:focus{
    background: #f7f8fa;
}
.help-current-nav-btn .ti-button-icon{
    line-height: 1;
}
.help-current-nav-label{
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #777;
}
.help-current-nav-title{
    display: block;
    margin-top: 0;
    padding: 10px 12px 12px;
    font-weight: bold;
    line-height: 1.35;
    color: #39456d;
    overflow-wrap: anywhere;
}
.help-current-nav-title:hover,
.help-current-nav-title:focus{
    color: #39456d;
    text-decoration: none;
}
.help-sidebar-toc{
    padding: 4px 0;
}
.help-sidebar-empty{
    margin: 0;
    padding: 12px;
    font-size: 90%;
    line-height: 1.35;
    color: #777;
}
.help-pager-direction .ti-button-icon{
    line-height: 1;
}
.help-pager{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}
.help-pager-link{
    display: block;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
.help-pager-link:hover,
.help-pager-link:focus{
    background: #f5f6f9;
    border-color: #c5d0e0;
    color: inherit;
    text-decoration: none;
}
.help-pager-next{
    grid-column: 2;
    text-align: right;
}
.help-pager-direction{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #777;
}
.help-pager-next .help-pager-direction{
    justify-content: flex-end;
}
.help-pager-title{
    display: block;
    font-weight: bold;
    line-height: 1.35;
    color: #39456d;
}
@media (max-width: 767px) {
    .help-pager{
        grid-template-columns: 1fr;
    }
    .help-pager-next{
        grid-column: 1;
        text-align: left;
    }
    .help-pager-next .help-pager-direction{
        justify-content: flex-start;
    }
}
.help-page-container{
    min-height: 100%;
}
.help-permission-alert{
    margin-top: var(--space);
}
.help-page-footer{
    padding-top: 10px;
    margin-top: 5px;
    border-top: 1px solid #ccc;
}
.ti-richtext {
    display: inline-block;
    vertical-align: -0.15em;
    font-size: 1.1em;
    line-height: 1;
}

/* Cards section — documentation palette, not marketing sector colors */
.help-cards-section{
    margin: 20px 0 24px;
}
.help-cards-section--alt{
    padding: 16px 14px;
    border: 1px solid #d0d5de;
    border-radius: 4px;
    background: #eef1f6;
}
.help-cards-title h2{
    margin-top: 0;
    margin-bottom: 8px;
    color: #39456d;
}
.help-cards-title p,
.help-cards-intro{
    margin: 0 0 16px;
    color: #716b7a;
    line-height: 1.45;
}
.help-cards-intro{
    max-width: none;
    text-align: left;
}
.help-card-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.help-card{
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: inherit;
}
.help-card:hover{
    background: #f5f6f9;
    border-color: #c5d0e0;
}
.help-cards-section--alt .help-card{
    border-color: #d0d5de;
}
.help-card-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: #39456d;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
}
.help-card-icon.heritage,
.help-card--heritage .help-card-icon{
    background: #5c4d73;
}
.help-card-icon.planner,
.help-card--planner .help-card-icon{
    background: #4a5c8c;
}
.help-card-icon.spatial,
.help-card--spatial .help-card-icon{
    background: #3d5568;
}
.help-card-icon.assets,
.help-card--assets .help-card-icon{
    background: #4d6480;
}
.help-card h3{
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.35;
    color: #39456d;
}
.help-card p{
    margin: 0 0 10px;
    font-size: 90%;
    line-height: 1.45;
    color: #555;
}
.help-card p:last-child{
    margin-bottom: 0;
}
.help-card-link{
    color: #39456d;
    font-weight: bold;
    text-decoration: none;
}
.help-card-link:hover,
.help-card-link:focus{
    color: #39456d;
    text-decoration: underline;
}
.help-cards-photos{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.help-cards-photos figure{
    margin: 0;
    overflow: hidden;
    border: 1px solid #d0d5de;
    border-radius: 4px;
    background: #fff;
}
.help-cards-photos img{
    display: block;
    width: 100%;
    height: auto;
}
.help-cards-photos figcaption{
    padding: 8px 10px;
    font-size: 90%;
    line-height: 1.35;
    color: #716b7a;
    background: #eef1f6;
}

.help-collapsable{
    margin: 16px 0 20px;
    border: 1px solid #d0d5de;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}
.help-collapsable > summary{
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.35;
    color: #39456d;
    background: #eef1f6;
}
.help-collapsable > summary::-webkit-details-marker{
    display: none;
}
.help-collapsable > summary::marker{
    content: "";
}
.help-collapsable > summary:hover,
.help-collapsable > summary:focus{
    background: #e5e3e9;
    outline: none;
}
.help-collapsable-name{
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.help-collapsable-actions{
    display: flex;
    align-items: center;
    margin-left: auto;
    flex: 0 0 auto;
}
.help-collapsable-action{
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #777;
}
.help-collapsable-action-collapse{
    display: none;
}
.help-collapsable[open] > summary .help-collapsable-action-expand{
    display: none;
}
.help-collapsable[open] > summary .help-collapsable-action-collapse{
    display: flex;
}
.help-collapsable-icon{
    flex: 0 0 auto;
    line-height: 1;
}
.help-collapsable-body{
    padding: 14px;
    border-top: 1px solid #d0d5de;
}
.help-collapsable-body > div:last-child{
    margin-bottom: 0;
}
