/* Sparker 3.6 admin_section: navbar-sidenav, box_general, header_box and list_general.
   Keep dashboard styles inside the shared site header and footer. */
.tp-dashboard, .tp-password-page { background: #f8f9fa; color: var(--tp-ink); }
.tp-dashboard { padding: clamp(24px, 4vw, 52px) 0 clamp(48px, 7vw, 88px); }
.tp-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(205px, 248px) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
}
.tp-dashboard-sidebar {
    min-width: 0; overflow: hidden; border-radius: 5px;
    background: #263341; color: #fff;
}
.tp-dashboard-identity {
    display: flex; flex-direction: column; align-items: flex-start; gap: .85rem;
    padding: 24px 20px; background: #1d2936;
}
.tp-dashboard-identity > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.tp-dashboard-identity strong { display: block; font-size: 1.13rem; line-height: 1.25; }
.tp-dashboard-identity > div > span { display: block; margin-top: .25rem; color: #ced7df; font-size: .83rem; }
.tp-dashboard-menu summary { padding: 11px 20px; color: #fff; cursor: pointer; font-weight: 600; }
.tp-dashboard-menu summary:focus-visible { outline-offset: -3px; }
.tp-dashboard-menu summary[hidden] { display: none; }
.tp-dashboard .navbar-sidenav { margin: 0; padding: 6px 0; }
.tp-dashboard-sidebar .nav-link {
    display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 20px;
    border: 0; border-inline-start: 3px solid transparent; background: transparent;
    color: #e5ebf1; font: inherit; font-size: .94rem; text-align: start;
}
.tp-dashboard-sidebar .nav-link:hover, .tp-dashboard-sidebar .nav-link:focus-visible {
    background: #334455; color: #fff;
}
.tp-dashboard-sidebar .nav-link[aria-current] {
    background: #36495b; border-inline-start-color: #ffc847; color: #fff; font-weight: 700;
}
.tp-dashboard-sidebar .nav-link i { color: #c2cfd9; }
.tp-dashboard-sidebar .nav-link[aria-current] i { color: #ffd161; }
.tp-dashboard-editor-nav { border-top: 1px solid #45525f; }
.tp-dashboard-editor-nav > p {
    margin: 16px 22px 0; color: #b6c3cf; font-size: .72rem;
    font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.tp-dashboard-logout { margin: 0; padding: 5px 0; border-top: 1px solid #45525f; }
.tp-dashboard-content { min-width: 0; }
.tp-dashboard-content > .tp-editor, .tp-dashboard-content > .tp-account { max-width: none; margin: 0; padding: 0; }
.tp-dashboard-content h1, .tp-password-page h1 {
    margin: 0 0 18px; font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.12;
    letter-spacing: -.035em; overflow-wrap: anywhere;
}
.tp-dashboard-content .tp-kicker, .tp-password-page .tp-kicker {
    margin: 1px 0 7px; color: var(--tp-muted); font-size: .8rem; font-weight: 650;
}
.tp-dashboard .box_general {
    --panel-padding: clamp(18px, 3vw, 30px);
    margin: 0 0 24px; border: 1px solid #e5e8eb; border-radius: 5px;
    padding: 20px var(--panel-padding) 0; background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,.075); color: var(--tp-ink);
}
.tp-dashboard .box_general.padding_bottom { padding-bottom: 20px; }
.tp-dashboard .box_general > :last-child { margin-bottom: 0; }
.tp-dashboard .header_box.version_2 {
    margin: 0 calc(-1 * var(--panel-padding)) 16px;
    border-bottom: 1px solid #e6e8eb; padding: 0 var(--panel-padding) 14px;
}
.tp-dashboard .header_box h2 { margin: 0; color: var(--tp-ink); font-size: 1.32rem; line-height: 1.3; }
.tp-dashboard .header_box h2 i { margin-right: 10px; color: #536c84; font-size: 1.1rem; }
.tp-dashboard .list_general > ul { margin: 0; padding: 0; list-style: none; }
.tp-dashboard .list_general > ul > li {
    margin: 0 calc(-1 * var(--panel-padding)); padding: 19px var(--panel-padding);
    border: 0; border-bottom: 1px solid #ededed;
}
.tp-dashboard .list_general > ul > li:last-child { border-bottom: 0; padding-bottom: 6px; }
.tp-dashboard .list_general > ul > li:hover { background-color: #f8f9fa; }
.tp-dashboard .header_box:has(+ .list_general) { margin-bottom: 0; }
.tp-dashboard .tp-editor-filters select { min-width: 145px; }
.tp-dashboard a.btn_1, .tp-dashboard button.btn-primary { color: #fff; }
.tp-dashboard .tp-editor-queue p { margin-top: 3px; }
.tp-dashboard .tp-account-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.tp-dashboard .tp-account-status {
    border-radius: 30px; padding: 2px 9px; background: #edf2fa; color: #314f75; font-size: .8rem;
}
.tp-dashboard .tp-account-item form { padding: 12px 0; border-top: 1px solid #ededed; }
.tp-dashboard .tp-account-item form .tp-account-link { margin-inline-start: .45rem; }
.tp-dashboard .tp-account-item blockquote { margin-top: 14px; }
.tp-dashboard .tp-account-events { padding: 0; margin: .75rem 0 0; list-style: none; }
.tp-dashboard .tp-account-events li { border-inline-start: 2px solid #d4e0ef; padding: 5px 0 5px 13px; }
.tp-dashboard .tp-account-events time { display: inline-block; }
.tp-dashboard .tp-account-empty { padding-top: 26px; }
.tp-dashboard .tp-account-signin-options {
    background: #fff; padding: 13px 18px; border: 1px solid #e2e6ea; border-radius: 5px;
}
.tp-password-page { padding-block: clamp(32px, 6vw, 75px); }
.tp-password-page .box_account { max-width: 510px; margin: 0 auto; }
.tp-password-page .form_container { padding: clamp(24px, 4vw, 38px); }
@media (min-width: 992px) {
    .tp-dashboard-sidebar { position: sticky; top: 1rem; }
}
@media (max-width: 767px) {
    .tp-dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .tp-dashboard-identity { flex-direction: row; align-items: center; padding: 10px 16px; }
    .tp-dashboard-identity .tp-member-avatar { width: 42px; height: 42px; font-size: 1.05rem; }
    .tp-dashboard-menu summary { padding: 10px 16px; }
    .tp-dashboard .navbar-sidenav { flex-direction: row; flex-wrap: wrap; padding: 2px 6px; }
    .tp-dashboard-sidebar .nav-link { padding: 9px 12px; font-size: .9rem; }
    .tp-dashboard-editor-nav > p { margin: 8px 18px 0; }
    .tp-dashboard-logout { padding: 0 6px; }
}
@media (max-width: 440px) {
    .tp-dashboard .tp-editor-filters > label, .tp-dashboard .tp-editor-filters select { width: 100%; }
    .tp-dashboard .tp-editor dl { grid-template-columns: minmax(0,1fr); }
}
