/* One practice palette for the public directory, care, contact and workforce pages. */
@font-face {
    font-family: "League Spartan";
    src: url("/assets/drktmed/v3/fonts/LeagueSpartan-Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --practice-ink: #123635;
    --practice-muted: #415b57;
    --practice-teal: #07665d;
    --practice-line: #cbdcd6;
    --practice-page: #f7faf9;
    --practice-tint: #e4f3ed;
    --practice-mint: #b8f1de;
    --practice-body: system-ui, -apple-system, "Segoe UI", sans-serif;
    --practice-heading: "League Spartan", var(--practice-body);

    --ink: var(--practice-ink);
    --product-ink: var(--practice-ink);
    --dk-ink: var(--practice-ink);
    --drkt-black: var(--practice-ink);
    --accent: var(--practice-teal);
    --focus: var(--practice-teal);
    --teal: var(--practice-teal);
    --teal-dark: var(--practice-teal);
    --dk-teal: var(--practice-teal);
    --dk-teal-dark: var(--practice-teal);
    --product-accent: var(--practice-teal);
    --drkt-teal: var(--practice-teal);
    --drkt-teal-dark: var(--practice-teal);
    --muted: var(--practice-muted);
    --dk-muted: var(--practice-muted);
    --product-muted: var(--practice-muted);
    --product-bg: var(--practice-page);
    --drkt-offwhite: var(--practice-page);
    --surface-soft: var(--practice-tint);
    --dk-teal-soft: var(--practice-tint);
    --teal-soft: var(--practice-tint);
    --product-soft: var(--practice-tint);
    --line: var(--practice-line);
    --product-line: var(--practice-line);
    --dk-line: var(--practice-line);
}

html, body, body.public-site, body.practice-home {
    font-family: var(--practice-body);
}
body { color: var(--practice-ink); }
main :is(h1, h2, h3), .drkt-hero h1, .platform-brand-name {
    font-family: var(--practice-heading);
}
body.public-site .public-nav > a,
body.public-site .public-nav .header-account a,
.drkt-menu a, .dk-subnav a {
    font-size: 1rem;
    line-height: 1.45;
}
button.btn, .drkt-btn { font-family: var(--practice-body); font-size: 1rem; line-height: 1.45; }
/* The practice header appears on the homepage and on the workforce pages. */
:is(.v3-header, .dk-header) nav,
:is(.v3-header, .dk-header) :is(.v3-nav, .dk-nav) :is(a, summary, strong, small),
:is(.v3-header, .dk-header) .v3-mobile-toggle,
.site-header .public-nav a, .site-header .menu-toggle, .drkt-menu a {
    font-family: var(--practice-body);
}
:is(.v3-header, .dk-header) .v3-mobile-toggle, .site-header .menu-toggle {
    font-size: 1rem;
    line-height: 1.4;
}
:is(.v3-header, .dk-header) .practice-workforce-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    list-style: none;
    cursor: pointer;
}
.practice-workforce-menu > summary::-webkit-details-marker { display: none; }
:is(.v3-header, .dk-header) .practice-workforce-menu > summary::after {
    content: "";
    position: static;
    width: .45rem;
    height: .45rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    background: none;
    transform: translateY(-.12rem) rotate(45deg);
}
:is(.v3-header, .dk-header) .practice-workforce-menu[open] > summary::after {
    transform: translateY(.1rem) rotate(225deg);
}
:is(.v3-header, .dk-header) .practice-workforce-panel {
    top: calc(100% + .25rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 23rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 7rem);
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    padding: .45rem;
    background: #fff;
    border: 1px solid var(--practice-line);
    border-radius: 1rem;
    box-shadow: 0 .75rem 2rem rgb(18 54 53 / 14%);
    text-align: left;
}
:is(.v3-header, .dk-header) .practice-workforce-panel a {
    display: block;
    padding: .6rem .8rem;
    border-radius: .65rem;
    text-decoration: none;
    color: var(--practice-ink);
}
:is(.v3-header, .dk-header) .practice-workforce-panel a:is(:hover, :focus-visible) {
    background: var(--practice-tint);
}
:is(.v3-header, .dk-header) .practice-workforce-panel a:focus-visible {
    outline: 2px solid var(--practice-teal);
    outline-offset: -2px;
}
:is(.v3-header, .dk-header) .practice-workforce-panel strong,
:is(.v3-header, .dk-header) .practice-workforce-panel small {
    display: block;
    line-height: 1.4;
    letter-spacing: normal;
}
:is(.v3-header, .dk-header) .practice-workforce-panel strong {
    font-size: 1.125rem;
    font-weight: 650;
}
:is(.v3-header, .dk-header) .practice-workforce-panel small {
    margin-top: .125rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--practice-muted);
}
.dk-header .dk-book { background: var(--practice-teal) !important; }
.support-page .contact-links span,
.support-page .contact-links strong,
.public-site .verify-form label { font-size: 1rem; }
body.public-site main .kicker, .drkt-eyebrow, .eyebrow, .badge, .drkt-label, .dual-status, .table-wrap th {
    font-size: .875rem;
}

body.public-site .public-footer, .dk-footer, .drkt-footer {
    background: var(--practice-ink);
    color: #f4faf7;
    border-color: #315854;
}
body.public-site .public-footer .platform-brand-name,
body.public-site .public-footer .footer-grid nav strong { color: #fff; }
body.public-site .public-footer .platform-brand-owner,
body.public-site .public-footer a, .dk-footer a { color: #c5f3e1; }
body.public-site .public-footer .footer-practice, .public-footer .footer-copyright,
.dk-footer p { color: #d1e2da; }
.public-footer .footer-grid nav strong,
.public-footer .footer-grid nav a, .public-footer .footer-top,
.public-footer .footer-practice, .dk-footer-links a { font-size: 1rem; }
.public-footer .footer-copyright { font-size: .875rem; }
body.public-site .public-footer .footer-bottom { border-color: #4a6865; }
body.public-site .public-footer a:focus-visible,
.dk-footer a:focus-visible, .drkt-footer a:focus-visible { outline-color: var(--practice-mint); }

@media (max-width: 850px) {
    /* Keep every consultancy destination reachable on a narrow screen. */
    .drkt-header { position: static; }
    .drkt-nav { display: grid; gap: .5rem; padding-block: 1rem; }
    .drkt-menu { gap: .2rem 1rem; }
    .drkt-menu > a:not(.drkt-btn) { display: inline-flex; align-items: center; min-height: 44px; }
    :is(.v3-header, .dk-header) [data-v3-nav][data-open] {
        max-height: calc(100vh - 5rem);
        max-height: calc(100dvh - 5rem);
        overflow-y: auto;
    }
    :is(.v3-header, .dk-header) [data-v3-nav][data-open] .practice-workforce-panel {
        position: static;
        transform: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        max-height: none;
        margin: .3rem 0;
        box-shadow: none;
    }
}

.practice-brand-logo { display: block; max-width: 100%; height: auto; object-fit: contain; }
.practice-brand-footer { box-sizing: border-box; padding: 5px 8px; background: #fff; border-radius: 4px; }

@media (max-width: 560px) {
    .drkt-master-brand .practice-brand-logo, .site-header .platform-brand .practice-brand-logo, .dk-master-brand .practice-brand-logo { width: 10rem; max-width: 100%; }
}
