/* Public document directory and contact-page link. Site typography is inherited. */
.pwh-docs,
.pwh-doc-hint {
    box-sizing: border-box;
    width: 100%;
    font: inherit;
    color: #344126
}

.pwh-docs *,
.pwh-doc-hint * {
    box-sizing: border-box
}

.pwh-docs [hidden] {
    display: none !important
}

.pwh-docs .pwh-docs__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px
}

.pwh-docs .pwh-docs__search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 580px;
    margin: 0;
    padding: 0
}

.pwh-docs .pwh-docs__search>svg {
    position: absolute;
    left: 16px;
    pointer-events: none
}

.pwh-docs .pwh-docs__search input {
    display: block;
    width: 100%;
    height: 52px;
    min-height: 52px;
    margin: 0;
    padding: 12px 16px 12px 48px;
    border: 1px solid #b8c8a6;
    border-radius: 12px;
    background: #fffdf8;
    color: #344126;
    font: inherit;
    line-height: 1.5;
    box-shadow: none
}

.pwh-docs .pwh-docs__search input:focus {
    outline: 2px solid #728355;
    outline-offset: 2px
}

.pwh-docs .pwh-docs__search input::placeholder {
    color: #6c7862;
    opacity: 1
}

.pwh-docs .pwh-docs__results {
    margin: 0;
    flex: 0 0 auto;
    color: #637357;
    font-size: .85em;
    line-height: 1.5
}

.pwh-docs .pwh-docs__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0
}

.pwh-docs .pwh-docs__categories a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 8px 15px;
    border: 1px solid #c1d0af;
    border-radius: 999px;
    background: #e8efdd;
    color: #435b30;
    font: inherit;
    font-size: .85em;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none
}

.pwh-docs .pwh-docs__categories a:hover {
    background: #dce8ca;
    border-color: #8fa674
}

.pwh-docs .pwh-docs__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px
}

.pwh-docs .pwh-docs__groups--single {
    grid-template-columns: minmax(0, 1fr)
}

.pwh-docs .pwh-docs__group {
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid #dce5cf;
    border-radius: 20px;
    background: #fffdf8;
    scroll-margin-top: 120px
}

.pwh-docs .pwh-docs__group-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
    padding: 0
}

.pwh-docs .pwh-docs__group-header h2 {
    margin: 0;
    padding: 0;
    color: #344126;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4
}

.pwh-docs .pwh-docs__count {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e8efdd;
    color: #526b3c;
    font-size: .75rem;
    font-weight: 600
}

.pwh-docs .pwh-docs__group-description {
    margin: -8px 0 18px;
    padding: 0;
    color: #64715b;
    font-size: .88em;
    line-height: 1.6
}

.pwh-docs .pwh-docs__list {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important
}

.pwh-docs .pwh-docs__item {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important
}

.pwh-docs .pwh-docs__item+.pwh-docs__item {
    border-top: 1px solid #e4e9dc
}

.pwh-docs .pwh-docs__document {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    margin: 0;
    padding: 18px 0;
    border-radius: 8px;
    color: #344126;
    text-decoration: none;
    transition: background-color .15s
}

.pwh-docs .pwh-docs__item:first-child .pwh-docs__document {
    padding-top: 4px
}

.pwh-docs .pwh-docs__item:last-child .pwh-docs__document {
    padding-bottom: 4px
}

.pwh-docs .pwh-docs__document:hover {
    background: #f0f5e8;
    color: #344126
}

.pwh-docs .pwh-docs__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 46px;
    border-radius: 10px;
    background: #e8efdd;
    color: #607c42
}

.pwh-docs .pwh-docs__details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 5px
}

.pwh-docs .pwh-docs__details strong {
    display: block;
    margin: 0;
    padding: 0;
    font: inherit;
    font-size: .94em;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere
}

.pwh-docs .pwh-docs__description {
    display: block;
    font-size: .84em;
    font-weight: 400;
    line-height: 1.6;
    color: #64715b;
    overflow-wrap: anywhere
}

.pwh-docs .pwh-docs__meta {
    font-size: .73em;
    line-height: 1.5;
    color: #64715b
}

.pwh-docs .pwh-docs__open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: #526e39;
    font-size: .75em;
    font-weight: 600;
    white-space: nowrap
}

.pwh-docs svg,
.pwh-doc-hint svg {
    display: block;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
    fill: none !important;
    stroke: currentColor
}

.pwh-docs .pwh-docs__open svg,
.pwh-doc-hint .pwh-doc-hint__button svg {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px
}

.pwh-docs a:focus-visible,
.pwh-docs button:focus-visible,
.pwh-doc-hint a:focus-visible {
    outline: 3px solid #728355;
    outline-offset: 4px
}

.pwh-docs .pwh-docs__empty,
.pwh-docs .pwh-docs__no-results {
    padding: 24px;
    margin: 0;
    border: 1px solid #d4dfc5;
    border-radius: 16px;
    background: #f6f9ef;
    line-height: 1.65
}

.pwh-docs .pwh-docs__no-results p {
    margin: 0 0 12px
}

.pwh-docs .pwh-docs__reset {
    margin: 0;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #728355;
    color: #fff;
    font: inherit;
    cursor: pointer
}

.pwh-docs .pwh-docs__note {
    margin: 20px 0 0;
    padding: 0;
    color: #66745b;
    font-size: .78em;
    line-height: 1.6
}

.pwh-docs .pwh-docs__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0
}

.pwh-doc-hint {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 28px;
    border: 1px solid #d1ddc0;
    border-radius: 20px;
    background: #fffdf8
}

.pwh-doc-hint .pwh-doc-hint__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 58px;
    border-radius: 13px;
    background: #e8efdd;
    color: #607c42
}

.pwh-doc-hint .pwh-doc-hint__text {
    min-width: 0
}

.pwh-doc-hint .pwh-doc-hint__text h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #344126;
    font: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4
}

.pwh-doc-hint .pwh-doc-hint__text p {
    margin: 0;
    padding: 0;
    color: #5c6b50;
    font: inherit;
    font-size: .94em;
    line-height: 1.7
}

.pwh-doc-hint .pwh-doc-hint__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 12px 20px;
    border: 1px solid #728355;
    border-radius: 999px;
    background: #728355;
    color: #fff;
    font: inherit;
    font-size: .9em;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap
}

.pwh-doc-hint .pwh-doc-hint__button:hover {
    background: #566b3c;
    border-color: #566b3c;
    color: #fff
}

@media(max-width:950px) {
    .pwh-docs .pwh-docs__groups {
        grid-template-columns: minmax(0, 1fr)
    }

    .pwh-doc-hint {
        grid-template-columns: 52px minmax(0, 1fr)
    }

    .pwh-doc-hint .pwh-doc-hint__button {
        grid-column: 2;
        justify-self: start
    }
}

@media(max-width:600px) {
    .pwh-docs .pwh-docs__toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px
    }

    .pwh-docs .pwh-docs__search {
        max-width: none
    }

    .pwh-docs .pwh-docs__group {
        padding: 20px 16px;
        border-radius: 16px
    }

    .pwh-docs .pwh-docs__document {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
        gap: 10px
    }

    .pwh-docs .pwh-docs__icon {
        width: 36px;
        height: 40px
    }

    .pwh-docs .pwh-docs__open>span {
        display: none
    }

    .pwh-docs .pwh-docs__categories {
        gap: 8px
    }

    .pwh-doc-hint {
        padding: 22px;
        gap: 14px;
        grid-template-columns: 42px minmax(0, 1fr)
    }

    .pwh-doc-hint .pwh-doc-hint__icon {
        width: 42px;
        height: 48px
    }

    .pwh-doc-hint .pwh-doc-hint__button {
        grid-column: 1/-1;
        justify-self: stretch;
        white-space: normal
    }
}

@media(prefers-reduced-motion:reduce) {
    .pwh-docs .pwh-docs__document {
        transition: none
    }
}

/* Refined filters, document rows and unboxed contact hint. */
.pwh-docs .pwh-docs__categories a {
    background: #dae5c9;
    border-color: #b2c49a;
    color: #3d542c;
    cursor: pointer;
    transition: background-color .15s, color .15s
}

.pwh-docs .pwh-docs__categories a:hover,
.pwh-docs .pwh-docs__categories a[aria-pressed="true"] {
    background: #526b3c;
    border-color: #526b3c;
    color: #fff
}

.pwh-docs .pwh-docs__count {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center;
    letter-spacing: 0
}

.pwh-docs .pwh-docs__document,
.pwh-docs .pwh-docs__item:first-child .pwh-docs__document,
.pwh-docs .pwh-docs__item:last-child .pwh-docs__document {
    padding: 16px 12px;
    gap: 14px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    border-radius: 10px
}

.pwh-docs .pwh-docs__icon {
    width: 28px;
    height: 30px;
    background: transparent;
    border-radius: 0;
    color: #60734d
}

.pwh-docs .pwh-docs__document:hover {
    background: #edf2e5
}

.pwh-doc-hint {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none
}

@media(max-width:950px) {
    .pwh-doc-hint {
        grid-template-columns: minmax(0, 1fr)
    }

    .pwh-doc-hint .pwh-doc-hint__button {
        grid-column: 1;
        justify-self: start
    }
}

@media(max-width:600px) {

    .pwh-docs .pwh-docs__document,
    .pwh-docs .pwh-docs__item:first-child .pwh-docs__document,
    .pwh-docs .pwh-docs__item:last-child .pwh-docs__document {
        grid-template-columns: 24px minmax(0, 1fr) 18px;
        padding: 14px 8px;
        gap: 10px
    }

    .pwh-docs .pwh-docs__icon {
        width: 24px;
        height: 28px
    }

    .pwh-doc-hint {
        padding: 0;
        gap: 20px
    }
}

/* Center the contact link button on mobile screens. */
@media(max-width:600px) {
    .pwh-doc-hint .pwh-doc-hint__button {
        justify-self: center
    }
}

/* Dark category panels with individually bordered document cards. */
.pwh-docs .pwh-docs__group {
    background: #526b3c;
    border-color: #526b3c
}

.pwh-docs .pwh-docs__group-header h2 {
    color: #fffdf8
}

.pwh-docs .pwh-docs__group-description {
    color: #e5eddc
}

.pwh-docs .pwh-docs__list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.pwh-docs .pwh-docs__item+.pwh-docs__item {
    border-top: 0
}

.pwh-docs .pwh-docs__document {
    background: #62794e;
    border: 1px solid #83966f;
    border-radius: 12px;
    color: #fffdf8;
    transition: background-color .18s, border-color .18s
}

.pwh-docs .pwh-docs__document:hover,
.pwh-docs .pwh-docs__document:focus-visible {
    background: #6a8055;
    border-color: #adbd99;
    color: #fffdf8
}

.pwh-docs .pwh-docs__document:focus-visible {
    outline: 2px solid #edf3e3;
    outline-offset: 3px
}

.pwh-docs .pwh-docs__details strong {
    color: #fffdf8
}

.pwh-docs .pwh-docs__description,
.pwh-docs .pwh-docs__meta {
    color: #f2f5ed
}

.pwh-docs .pwh-docs__icon,
.pwh-docs .pwh-docs__open {
    color: #f2f5ed
}

@media(prefers-reduced-motion:reduce) {
    .pwh-docs .pwh-docs__document {
        transition: none
    }
}
