/* Built by `composer build:css` from the files in nowl_site_style_sources(). Edit those, not this file. */

/* style.css */
/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

:root {
    --global-palette1: #3068b6;
    --global-palette2: #4287e6;
    --global-palette3: #e8f0fa;
    --global-palette4: #dfe7f1;
    --global-palette5: #c6ced8;
    --global-palette6: #b1b8c4;
    --global-palette7: #39404d;
    --global-palette8: #272e3b;
    --global-palette9: #151c27;
    --muted-text: #8698AC;
    --outline-color: rgba(153, 188, 238, 0.30);
    --portal-card-hover: #1F2530;
    --global-palette-highlight: #4287e6 !important;
    --scroll-bar-color: rgba(232, 240, 250, 0.2);
    --error-color: #6B2A2A !important;
    --error-background: #6B2A2A;
    --error-border: #d40022;
    --error-highlight: #ff4466;
    --success-background: #2A6B46;
    --success-border: #00D45C;
    --warning-background: #6B5A2A;
    --warning-background-transparent: rgba(107, 90, 42, 0.7);
    --warning-border: #D49B00;
    --portal-contained-content-width: 1440px;
    --portal-narrow-content-width: 1290px;
    --global-content-width: 1290px;
    --journey-narrow-content-width: 960px;
    --narrow-content-width: 800px;
    --global-content-edge-padding: 1.5rem;
    --learning-hub-bg: #394D3C;
    --ai-tools-bg: #3F394D;
    --community-bg: #4D3939;
    --journeys-bg: #4D3939;
    --expert-videos-bg:#4B4D39;
    --tasks-bg: #394A4D;
    --expert-videos-pill: #51466e;
    --job-search-bg: #4A5568;
    --green: #2F9F74;
    --green-highlight: #19C986;
    --blue-component: #3068B6;
    --blue-highlight: #4287E6;
    --orange-component: #B66830;
    --orange-highlight: #E68642;
    --audience-other: var(--job-search-bg);
    --text-on-accent: #e8f0fa;
}

html {
    font-size: 16px !important;
}

body {
    overscroll-behavior-y: none;
}

a {
    text-decoration: none;
    color: var(--global-palette1);
}

a:hover {
    color: var(--global-palette2);
}

.header-navigation ul ul.sub-menu {
    background: var(--global-palette8) !important;
}

.nowl-button {
    background: var(--global-palette1);
    border: 2px solid var(--global-palette1);
    padding: 0.6rem 2rem;
    color: var(--text-on-accent);
    font-size: 1.1rem;
    line-height: 1.2;
    border-radius: 3px;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: none !important;
    text-align: center;
}

.nowl-button:hover,
.nowl-button:active,
.nowl-button:focus {
    background: var(--global-palette2);
    border: 2px solid var(--global-palette2);
    color: var(--text-on-accent);
    cursor: pointer;
}

.nowl-button:hover:disabled,
.nowl-button:disabled:hover {
    background: var(--global-palette1);
    border: 2px solid var(--global-palette1);
    color: var(--text-on-accent);
    cursor: not-allowed;
}

.nowl-button--green {
    background: var(--green);
    border-color: var(--green);
}

.nowl-button--green:hover {
    background: var(--green-highlight);
    border-color: var(--green-highlight);
}

.nowl-button--disabled {
    pointer-events: none;
    cursor: not-allowed;
    background-color: var(--global-palette5);
    color: var(--global-palette7);
    border-color: var(--global-palette5);
}

.nowl-button--outline,
#bbpress-forums .nowl-button--outline,
.app-portal .wp-element-button,
.app-portal .mwai-chatbot-container .mwai-input-submit,
.app-portal.single-mpcs-lesson #mpcs-main #respond .form-submit input[name=submit] {
    border: 2px solid var(--global-palette1) ;
    background: none;
    padding: 0.8rem 2rem;
    color: var(--global-palette5);
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 3px;
    text-decoration: none !important;
    justify-content: center;
    align-items: center;
    display: flex;
    box-shadow: none !important;
}

.nowl-button--outline:hover,
#bbpress-forums .nowl-button--outline:hover,
.app-portal .wp-element-button:hover,
.app-portal .mwai-chatbot-container .mwai-input-submit:hover,
.app-portal.single-mpcs-lesson #mpcs-main #respond .form-submit input[name=submit]:hover {
    border: 2px solid var(--global-palette2);
    color: var(--global-palette3);
    background: none;
    cursor: pointer;
}

.nowl-button--outline:hover:disabled {
    border: 2px solid var(--global-palette1);
    color: var(--global-palette5);
    cursor: not-allowed;
}

.nowl-button--outline:focus,
#bbpress-forums .nowl-button--outline:focus,
.app-portal .wp-element-button:focus,
.app-portal .mwai-chatbot-container .mwai-input-submit:focus {
    color: var(--global-palette3);
    background: none;
}

.nowl-button--outline.white {
    border-color: var(--global-palette5);
}

.nowl-button--outline.white:hover {
    border-color: var(--global-palette2);
    color: var(--global-palette2);
}

.nowl-button--outline.small,
.nowl-button.small {
    border-width: 1px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.nowl-button--outline-danger {
    border-color: var(--error-border);
    color: var(--error-border);
}

.nowl-button--outline-danger:hover,
.nowl-button--outline-danger:focus {
    border-color: var(--error-highlight);
    color: var(--error-highlight);
}

.mepr_error {
    background-color: var(--error-color) !important;
    border-color: var(--outline-color);
    border-radius: 3px;
}

.nowl-tabs {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--outline-color);
    margin-bottom: 2rem;
    scrollbar-color: var(--scroll-bar-color) transparent;
    scrollbar-width: thin;
    justify-content: start;
}

.nowl-tab-button {
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    border: none;
    border-radius: 0;
    background-color: unset;
    color: var(--global-palette3);
    transition: none;
    margin-bottom: 3px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .nowl-tab-button {
        padding: 0.4rem 0.8rem;
    }
}

.nowl-tab-button:hover,
.nowl-tab-button.active {
    border-bottom: 4px solid var(--global-palette2);
    background-color: unset;
    margin-bottom: -1px;
}

.nowl-tab-button a {
    color: var(--global-palette3);
    transition: none;
}

.nowl-tab-button:hover a {
    color: var(--global-palette3);
}

.nowl-tab-content {
    margin-top: 20px;
    display: none;
    max-width: var(--narrow-content-width);
    margin-left: auto;
    margin-right: auto;
}

.nowl-tab-content.active {
    display: block;
}

.nowl-tab-content .nowl-tab-panel {
    padding: 15px;
    border-radius: 5px;
}

.nowl-video-card__labels {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.nowl-pill-label {
    padding: 4px 12px;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8rem;
    background-color: var(--global-palette1);
    color: var(--text-on-accent);
    align-self: start;
    text-wrap: nowrap;
}

/* One colour per audience, so who a report is for reads at a glance. The colours
   themselves are not here: each audience holds its own, dealt from a palette
   when the term is created and changeable on the Audiences screen, and emitted
   per term (see includes/cpts-and-fields/report-term-colors.php). This neutral
   is only what an audience wears before it has been given one. */
.nowl-pill-label--audience {
    background-color: var(--audience-other);
}

/* A report's kind leads the pill row nearly squared off, so it reads as a
   different sort of label from the rounded audience pills beside it. It borrows
   their line box (0.9rem x 1.2) to match their height, and the uneven padding
   drops its smaller text onto the same baseline as the labels beside it. The
   right side gives back the letter-spacing that trails the final character,
   which would otherwise pull the lettering off centre. */
.nowl-pill-label--kind {
    display: inline-block;
    padding: 5px calc(8px - 0.08em) 3px 8px;
    border-radius: 3px;
    background-color: var(--global-palette2);
    color: var(--text-on-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.08rem;
}

.nowl-report-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.35rem;
}

.nowl-report-topic {
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--global-palette5);
}

.nowl-report-topic:not(:last-child)::after {
    content: ",";
}

.nowl-portal-page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--global-palette3);
}

.nowl-portal-page-title--padded {
    padding-bottom: 4rem;
}

.nowl-search-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    max-width: 600px;
    width: 100%;
}

#nowl-search {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    padding-left: 2.5rem;
    color: var(--global-palette5);
    background-color: var(--global-palette7);
    border: 1px solid var(--outline-color);
    border-radius: 4px;
    width: 100%;
}

.nowl-search-wrapper i {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--global-palette5);
}

.default-portal-container {
    max-width: var(--portal-contained-content-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

@media (min-width: 767px) and (max-width: 1024px){
    .default-portal-container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 767px) {
    .default-portal-container {
        padding: 1rem 1rem 3rem;
    }
}

.portal-narrow-content-width {
    max-width: var(--portal-narrow-content-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.nowl-notice {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.4;
}

.nowl-notice--warning {
    margin-top: 2.5rem;
    background-color: var(--warning-background);
    border: 1px solid var(--warning-border);
    color: #fff;
}

.blog-content {
    .wp-block-kadence-accordion {
        margin: 2rem 0;
    }

    .kt-blocks-accordion-header {
        background: var(--global-palette7)!important;
    }

    .kt-blocks-accordion-title {
        color: var(--global-palette4);
    }

    .kt-blocks-accordion-icon-trigger::before,
    .kt-blocks-accordion-icon-trigger::after {
        background: var(--global-palette4)!important;
    }

    .kt-accordion-header-wrap:hover .kt-blocks-accordion-title,
    .kt-accordion-header-wrap:hover .kt-blocks-accordion-icon-trigger {
        color: var(--global-palette2)!important;
    }

    .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger::before,
    .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger::after,
    .kt-blocks-accordion-header:focus .kt-blocks-accordion-icon-trigger::before,
    .kt-blocks-accordion-header:focus .kt-blocks-accordion-icon-trigger::after {
        background: var(--global-palette2)!important;
    }

    .kt-accordion-panel-inner {
        padding: 2rem!important;
        border: none!important;
        border-radius: 0 0 8px 8px;
    }

    .kt-accordion-panel-inner,
    .kt-accordion-panel-inner ol,
    .kt-accordion-panel-inner li,
    .kt-accordion-panel-inner span,
    .kt-accordion-panel-inner p,
    .kt-accordion-panel-inner h2,
    .kt-accordion-panel-inner h3,
    .kt-accordion-panel-inner h4 {
        background: var(--global-palette8)!important;
        color: var(--global-palette5)!important;
    }

    .kt-blocks-accordion-header {
        transition: none;
    }

    .kt-accordion-panel-active {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

.task-main-content {
    .kt-accordion-panel-inner,
    .kt-accordion-panel-inner ol,
    .kt-accordion-panel-inner li,
    .kt-accordion-panel-inner span,
    .kt-accordion-panel-inner p,
    .kt-accordion-panel-inner h2,
    .kt-accordion-panel-inner h3,
    .kt-accordion-panel-inner h4 {
        background: var(--global-palette9)!important;
        color: var(--global-palette5)!important;
    }

    .kt-blocks-accordion-header {
        transition: none;
    }

    .kt-accordion-panel-active {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

.blog-content,
.task-main-content {
    a:not(.cta-block a):not(.cta-block a *) {
        text-decoration: underline;
        color: var(--global-palette4) !important;
    }

    a:not(.cta-block a):not(.cta-block a *):hover {
        color: var(--global-palette2) !important;
    }
}

@media (min-width: 767px) and (max-width: 1024px){
    .mwai-trigger {
        right: -1.5rem!important;
        bottom: -1.5rem!important;
    }

    .mwai-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 767px) {
    .mwai-trigger {
        right: -1.5rem!important;
        bottom: -1.5rem!important;
    }

    .mwai-icon {
        width: 36px;
        height: 36px;
    }
}

.nowl-note {
    color: var(--global-palette5);
    max-width: var(--narrow-content-width);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.nowl-subheading {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
    color: var(--global-palette3);
}

.nowl-input-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    max-width: 600px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.nowl-input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--outline-color);
    border-radius: 4px;
    background: var(--global-palette8);
    color: var(--global-palette4);
    font-size: 1rem;
}

.nowl-input:focus {
    border-color: var(--global-palette2) !important;
    outline: none;
}

.nowl-table {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-collapse: collapse;
    border: 1px solid var(--outline-color);
    table-layout: fixed;
    width: 100%;
}

.nowl-table th,
.nowl-table td {
    text-align: left;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--outline-color);
}

.nowl-table th {
    background: var(--global-palette7);
    color: var(--global-palette4);
    font-weight: 600;
}

.nowl-table tr:nth-child(even) td {
    background: var(--global-palette8);
}

.nowl-table-total td {
    font-weight: bold;
    background: var(--global-palette9);
    border-top: 2px solid var(--global-palette2);
}

.nowl-flash-wrapper:not(:empty) {
    margin: 1rem;
}

.nowl-flash {
    border-radius: 3px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.nowl-flash--success {
    background-color: var(--success-background);
    border: 1px solid var(--success-border);
    color: var(--global-palette3);
}

.nowl-flash--error {
    background-color: var(--error-background);
    border: 1px solid var(--error-border);
    color: var(--global-palette3);
}

.nowl-flash--warning {
    background-color: var(--warning-background);
    border: 1px solid var(--warning-border);
    color: var(--global-palette3);
}

.nowl-cards {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.nowl-card {
    border: 1px solid var(--outline-color);
    border-radius: 8px;
    padding: 1rem;
    background: var(--global-palette7);
    color: var(--global-palette5);
}

.nowl-card--dark {
    border-radius: 20px;
    margin-bottom: 2rem;
    background-color: var(--global-palette9);
}

.nowl-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.nowl-card__email {
    color: var(--global-palette5);
    font-size: 0.875rem;
}

.nowl-card__body p {
    margin: 0.25rem 0;
}

.nowl-card__footer {
    margin-top: 0.75rem;
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.nowl_account_settings__label {
    margin-right: 1rem;
}

.nowl-account-section {
    max-width: var(--narrow-content-width);
    margin: 2rem auto;
}

.nowl-card__body {
    margin-top: 0.75rem;
}

.nowl-card__footer {
    margin-top: 1rem;
}

.nowl-card__footer a {
    text-decoration: none;
    color: inherit;
    font-size: 1.1rem;
}

.nowl-card__footer .mepr-account-row-action {
    border: 2px solid var(--global-palette1);
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 1.1rem;
    color: var(--global-palette5);
}

body.nowl-standalone-page {
    background: var(--global-palette8);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nowl-standalone-header {
    padding: 1.5rem 2rem;
}
.nowl-standalone-header .nowl-standalone-logo img {
    max-height: 40px;
}

.nowl-standalone-container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

@media (max-width: 767px) {
    .nowl-standalone-container {
        padding: 2rem 1rem;
    }
}

.nowl-standalone-content {
    width: 100%;
    max-width: 480px;
}

.intake-container h1 {
    text-align: center;
}

.nowl-form-row {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.nowl-form-row label {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--global-palette4);
}

.intake-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nowl-collapsible {
    display: none;
    margin-top: 1rem;
}
.nowl-collapsible.open {
    display: block;
}

.manage-members__import {
    margin-block: 1rem 3rem;
}

#mpca-import-sub-users-form {
    margin-bottom: 2rem;
}

.nowl_account_settings__item_2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    gap: 0.5rem;
}

.nowl-page-nav {
    color: var(--text-on-accent);
}

.nowl-page-nav:hover,
.nowl-page-nav:active,
.nowl-page-nav:focus {
    color: var(--text-on-accent);
}

/* css/our-approach.css */
.our-approach-table {

    .kt-row-column-wrap {
        grid-template-columns: 2fr 3fr 3fr!important;
    }

    .our-approach-nowl span {
        flex: 0;
        text-wrap: nowrap;
    }

    .kt-row-column-wrap > .wp-block-kadence-column:nth-child(3n+1):nth-child(n+4) {
        .kt-inside-inner-col {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 1rem;
        }

        .wp-block-kadence-advancedheading {
            flex: 1;
        }
    }

    .kt-row-column-wrap > .wp-block-kadence-column:nth-child(3n+2):nth-child(n+5) {
        .kt-inside-inner-col {
            display: flex;
            flex-direction: row;
            gap: 1rem;
            align-items: center;

        }

        .wp-block-kadence-advancedheading {
            flex: 1;
        }
    }

    .kt-row-column-wrap > .wp-block-kadence-column:nth-child(3n+3):nth-child(n+6) {
        .kt-inside-inner-col {
            display: flex;
            flex-direction: row;
            gap: 1rem;
            align-items: center;

        }

        .wp-block-kadence-advancedheading {
            flex: 1;
        }
    }

    .wp-block-kadence-icon {
        flex: 0;
    }
}

/* css/tools-hub.css */
.tools-hub-archive,
.tools-hub-single {
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
}

.tools-hub-archive__header,
.tools-hub-single__header {
    margin-bottom: 2rem;
}

.tools-hub-archive__intro,
.tools-hub-single__intro,
.tools-hub-archive .nowl-archive-outro {
    color: var(--global-palette4);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 70ch;
}

.tools-hub-archive .nowl-archive-outro {
    margin-top: 4rem;
    max-width: none;
}

.tools-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tools-hub-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--global-palette7, #e5e7eb);
    border-radius: 0.75rem;
    background: var(--global-palette9, #fff);
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.tools-hub-card:hover {
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.tools-hub-card__icon {
    margin: 1.25rem 1.25rem 0;
}

.tools-hub-card__icon img {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0.75rem;
}

.tools-hub-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    padding: 1.25rem;
}

.tools-hub-card__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--global-palette3);
}

.tools-hub-card__excerpt {
    margin: 0;
    color: var(--global-palette5);
    font-size: 0.95rem;
    line-height: 1.55;
}

.tools-hub-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-weight: 700;
    color: var(--global-palette2);
}

/* Leadership-authored content (FAQs, notes, etc.) shown under the tool. */
.tools-hub-single__content {
    max-width: 75ch;
    margin: 3rem auto 0;
}

.tools-hub-single__content > *:first-child {
    margin-top: 0;
}

.tools-hub-single__content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--global-palette3);
}

.tools-hub-single__content h3 {
    margin: 2rem 0 0.5rem;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--global-palette3);
}

.tools-hub-single__content p,
.tools-hub-single__content li {
    color: var(--global-palette4);
    font-size: 1.05rem;
    line-height: 1.65;
}

.tools-hub-single__content details {
    border: 1px solid var(--global-palette7, #e5e7eb);
    border-radius: 0.75rem;
    padding: 0 1.25rem;
    margin: 0.75rem 0;
    background: var(--global-palette9, #fff);
}

.tools-hub-single__content details[open] {
    padding-bottom: 0.5rem;
}

.tools-hub-single__content summary {
    cursor: pointer;
    padding: 1.1rem 0;
    font-weight: 700;
    color: var(--global-palette3);
    list-style: none;
}

.tools-hub-single__content summary::-webkit-details-marker {
    display: none;
}

.tools-hub-single__content summary::after {
    content: "+";
    float: right;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--global-palette2);
}

.tools-hub-single__content details[open] summary::after {
    content: "\2013";
}

.tools-hub-single__back {
    margin-top: 2.5rem;
}

/* The embedded tools are self-contained; the wrapper just keeps them from
   inheriting unexpected flow styles when dropped inside article content. */
.nowl-tool-embed {
    clear: both;
}

/* Full width: break out of the article column to the viewport edges,
   and lift the tool's own internal max-width cap so it can fill the space.
   !important because the blog template's generated Kadence CSS constrains all
   post-content children (max-width 650px) with unpredictable specificity. */
.nowl-tool-embed--full {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Natural: escape the article column like --full, but let the tool size itself
   rather than stretching. The wrapper spans the viewport purely so the centred
   tool is not boxed in by a narrow content width. */
.nowl-tool-embed--natural {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nowl-tool-embed--natural > * {
    flex: 0 1 auto;
    max-width: 100%;
}

/* Custom: break out of the article column up to the chosen max width, centered. */
.nowl-tool-embed--custom {
    width: min(var(--nowl-tool-max-width, 1120px), 100vw) !important;
    max-width: none !important;
    margin-left: calc(50% - min(var(--nowl-tool-max-width, 1120px), 100vw) / 2) !important;
    margin-right: calc(50% - min(var(--nowl-tool-max-width, 1120px), 100vw) / 2) !important;
}

.nowl-tool-embed--full > :not(style):not(script),
.nowl-tool-embed--custom > :not(style):not(script) {
    max-width: none;
}

/* Share / open-tool actions bar */
.nowl-tool-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tools-hub-single__header .nowl-tool-actions {
    margin-top: 1.25rem;
}

/* The pasted tool controls its own internal spacing, but its outer margin
   collapses into ours and bloats the gap before the actions bar. Neutralize
   the wrapper's direct children so the spacing around the actions bar is
   predictable and owned here. */
.nowl-tool-embed > :not(.nowl-tool-actions):not(style):not(script) {
    margin-top: 0;
    margin-bottom: 0;
}

.nowl-tool-embed .nowl-tool-actions {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Keep the actions clear of the viewport edge when the tool breaks out. */
.nowl-tool-embed--full > .nowl-tool-actions,
.nowl-tool-embed--custom > .nowl-tool-actions {
    padding-inline: var(--global-content-edge-padding, 1rem);
}

.nowl-tool-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--global-palette7, #e5e7eb);
    border-radius: 0.5rem;
    background: var(--global-palette9, #fff);
    color: var(--global-palette3);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.nowl-tool-action:hover {
    border-color: var(--global-palette2);
    color: var(--global-palette2);
}

.nowl-tool-action i {
    font-size: 1.15rem;
}

.nowl-tool-action--copied {
    border-color: var(--global-palette2);
    color: var(--global-palette2);
}

/* css/research-single.css */
.research-single {
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;

    .page-title {
        margin-bottom: 1rem;
        font-size: 2.5rem;
        line-height: 1.15;
        color: var(--global-palette3);
    }

    .research-meta {
        display: flex;
        flex-wrap: wrap;
        text-wrap: wrap;
        gap: 0.75rem 1.25rem;
        margin-bottom: 1.25rem;
        color: var(--global-palette4);
        p { margin: 0; }
    }

    .research-meta a {
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .research-image {
        overflow: hidden;
        margin-bottom: 1rem;
        height: 40px;

        img {
            height: 100%;
            display: block;
            object-fit: contain;
        }
    }

    .research-why {
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        padding: 1rem;
        border-radius: 8px;
        margin-block: 2rem;
    }

    .research-summary {
        margin-bottom: 2rem;
    }

    .research-notes {
        margin-bottom: 2rem;
    }

    .research-section {
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        padding: 1rem 1.25rem;
        margin-bottom: 1rem;

        > h2,
        > h3 {
            margin: 0 0 0.5rem 0;
            font-size: 1.15rem;
            color: var(--global-palette3);
        }

        p {
            margin: 0;
            color: var(--global-palette5);
            line-height: 1.6;
            font-size: 1rem;
        }
    }

    .research-content {
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        padding: 1rem 1.25rem;
        margin-bottom: 1rem;
        color: var(--global-palette3);

        p {
            line-height: 1.7;
            margin: 0 0 1rem 0;
            color: var(--global-palette4);
        }

        h2, h3, h4 {
            color: var(--global-palette2);
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
        }

        ul, ol {
            padding-left: 1.2rem;
            margin: 0 0 1rem 0;
        }

        blockquote {
            margin: 1rem 0;
            padding: 0.75rem 1rem;
            border-left: 3px solid var(--global-palette2);
            background: var(--global-palette9);
            color: var(--global-palette4);
            border-radius: 0 0.5rem 0.5rem 0;
        }

        code {
            background: var(--global-palette9);
            padding: 0.1rem 0.35rem;
            border-radius: 4px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
            font-size: 0.95em;
            border: 1px solid var(--outline-color);
        }

        pre code {
            display: block;
            padding: 1rem;
            line-height: 1.5;
            overflow: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
            border: 1px solid var(--outline-color);
            background: var(--global-palette9);
        }

        th, td {
            text-align: left;
            padding: 0.6rem 0.75rem;
            border-bottom: 1px solid var(--outline-color);
        }

        th {
            background: var(--global-palette8);
            color: var(--global-palette3);
        }
    }

    .research-tags-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;

        li {
            background-color: var(--global-palette7);
            color: var(--global-palette3);
            padding: 2px 10px;
            border-radius: 999px;
            font-size: 0.9rem;
            border: 1px solid var(--outline-color);
        }
    }

    .research-back {
        margin-top: 1rem;
    }

    @media (max-width: 767px) {
        padding-top: 1rem;

        .page-title {
            font-size: 1.75rem;
        }

        h2 {
            font-size: 1.3rem;
        }
    }
}

/* css/content-previews/nowl-icon.css */
.nowl-icon {
    display: flex;
    flex: 0 1 120px;
    flex-direction: column;
    align-items: center;
    row-gap: 0.7rem;
    padding: 0.5rem;
    border-radius: 3px;
    text-decoration: none;
}

.nowl-icon:hover {
    background-color: var(--global-palette8);
}

.nowl-icon__image-wrapper {
    position: relative;
    display: inline-block;
}

.nowl-icon__image-wrapper img {
    max-width: 60px;
    max-height: 60px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.nowl-icon__overlay {
    position: absolute;
    top: 45px;
    left: 42px;
    padding: 2px 4px;
    border-radius: 4px;
    background: #333;
    color: var(--global-palette3);
}

.nowl-icon__title {
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--global-palette5);
}

/* css/content-previews/nowl-chip.css */
.nowl-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background-color: var(--global-palette9);
    text-decoration: none;
    column-gap: 0.5rem;
    max-width: 100%;
    border: 1px solid var(--outline-color);
    margin: 1rem 0;
}

.nowl-chip:hover {
    background-color: var(--portal-card-hover);
    border: 1px solid var(--global-palette2);
}

.nowl-chip__thumb {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    overflow: hidden;
}

.nowl-chip__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nowl-chip__icon-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.65rem;
    padding: 1px 3px;
    border-radius: 3px;
    background: #333;
    color: var(--global-palette3);
}

.nowl-chip__title {
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--global-palette5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* css/research-archive.css */
.research-archive {
    margin-top: 2rem;
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;

    .page-title {
        margin-bottom: 1rem;
    }

    .nowl-archive-intro,
    .nowl-archive-outro {
        margin-bottom: 4rem;
        border-radius: 0.75rem;
        color: var(--global-palette4);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .nowl-archive-outro {
        margin-bottom: 0;
        margin-top: 4rem;
    }

    .nowl-filter-bar {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .nowl-filter-bar__upper,
    .nowl-filter-bar__lower {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .nowl-dropdown-filters-group {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        flex: 1;
    }

    .nowl-search-wrapper {
        margin-bottom: 0;
        width: unset;
        max-width: unset;
        flex: 1;
        min-width: 300px;
    }

    .nowl-multiselect {
        position: relative;
        font-size: 14px;
        flex: 1 1 0;
        min-width: 300px;
        max-width: 100%;

        .nowl-multiselect__trigger {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 1rem;
            background: var(--global-palette7);
            border: 1px solid var(--outline-color);
            border-radius: 4px;
            cursor: pointer;
            min-height: 46px;
            overflow: hidden;
        }

        .nowl-multiselect__placeholder {
            color: var(--global-palette5);
            flex-grow: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nowl-multiselect__arrow {
            margin-left: auto;
            color: var(--global-palette3);
            flex-shrink: 0;
        }

        .nowl-multiselect__tags {
            display: flex;
            gap: 0.3rem;
            overflow: hidden;
            flex-shrink: 1;
            flex-grow: 1;
            min-width: 0;
        }

        .nowl-multiselect__tags:empty {
            display: none;
        }

        .nowl-multiselect__tag {
            background-color: var(--global-palette1);
            color: var(--global-palette3);
            padding: 1px 10px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nowl-multiselect__more {
            background-color: var(--global-palette1);
            color: var(--global-palette3);
            padding: 1px 10px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
            cursor: pointer;
            flex-shrink: 0;
        }

        .nowl-multiselect__tag-remove {
            cursor: pointer;
            font-weight: bold;
            line-height: 1;
        }

        .nowl-multiselect__dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            margin-top: 2px;
            background-color: var(--global-palette8);
            border: 1px solid var(--outline-color);
            border-radius: 4px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 100;
            display: none;
            max-height: 250px;
            overflow-y: auto;
        }

        &.open {
            .nowl-multiselect__dropdown {
                display: block;
            }
        }

        .nowl-multiselect__option {
            display: block;
            padding: 0.5rem 1rem;
            color: var(--global-palette3);
            cursor: pointer;

            &:hover {
                background-color: var(--global-palette8);
            }

            input {
                margin-right: 0.5rem;
            }
        }
    }

    .nowl-clear-filters {
        font-size: 1.1rem;
        min-height: 42px;
        padding: 0.6rem 2rem;
    }

    @media (max-width: 640px) {
        .nowl-filter-bar {
            flex-direction: column;
            align-items: stretch;
        }

        .nowl-search-wrapper {
            width: 100%;
        }

        #nowl-search {
            background: var(--global-palette8) !important;
        }

        .nowl-multiselect {
            flex: 1;
            width: unset;
        }
    }

    .nowl-entry-grid__container {
        container-type: inline-size;
        container-name: research-grid;
    }

    .nowl-entry-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .nowl-research-card {
        background-color: var(--global-palette8);
        border-radius: 1rem;
        border: 1px solid var(--outline-color);
        display: flex;
        flex-direction: column;
        overflow: hidden;

        &:hover {
            background-color: var(--portal-card-hover);
            border-color: var(--global-palette2);
        }

        img {
            height: 30px;
            align-self: start;
        }
    }

    .nowl-entry-card__body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        row-gap: 0.5rem;
        height: 100%;
    }

    .nowl-entry-card__title {
        color: var(--global-palette3);
        font-size: 1.3rem;
        line-height: 1.2;
        margin: 0;

        a:hover {
            color: var(--global-palette3);
        }
    }

    .nowl-pills {
        display: inline-flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .nowl-pill-label--category {
        background-color: var(--expert-videos-pill);
    }

    .nowl-entry-card__summary {
        color: var(--global-palette5);
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
    }

    @container research-grid (max-width: 1000px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @container research-grid (max-width: 750px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @container research-grid (max-width: 500px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
}

/* css/acf-forms.css */
.nowl-personalization-data__fields,
.nowl-branding__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .nowl-field-block {
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        padding: 1rem;
    }

    .acf-fields.-border {
        border: none !important;
        background: unset !important;
    }

    .acf-fields>.acf-field {
        border: none !important;
    }

    .acf-form-submit {
        float: right;
    }

    .acf-image-uploader .image-wrap img {
        background: none;
    }
}

.acf-button {
    background-color: var(--global-palette1) !important;
    color: var(--text-on-accent) !important;
}

.acf-button:hover {
    background-color: var(--global-palette2) !important;
}

/* css/error-404.css */
.error-404 {
    .blog-archive__wrapper {
        text-align: center;
    }

    .error-404__logo {
        display: block;
        margin-bottom: 1rem;
    }

    .error-404__logo img {
        width: 180px;
        height: auto;
        display: block;
        margin-inline: auto;
    }

    .error-404__title {
        font-size: 2.6rem;
        margin-bottom: 1rem;
        color: var(--global-palette3);
    }

    .error-404__body {
        color: var(--global-palette5);
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }

    .error-404__link {
        display: inline-flex;
        width: fit-content;
    }
}

/* css/reports-archive.css */
.reports-archive {
    margin-top: 2rem;
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;

    .page-title {
        margin-bottom: 1rem;
    }

    .nowl-archive-intro,
    .nowl-archive-outro {
        border-radius: 0.75rem;
        color: var(--global-palette4);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .nowl-archive-intro {
        margin-bottom: 4rem;
    }

    /* Below the listing rather than above it, so the spacing is the other way up. */
    .nowl-archive-outro {
        margin-top: 4rem;
    }

    .reports-featured {
        position: relative;
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 2.5rem;
        align-items: center;
        padding: 0.5rem 0 1rem;
        margin-bottom: 2.5rem;
    }

    .reports-featured__media {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: stretch;

        img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 0.4rem;
            box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
        }
    }

    .reports-featured__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .reports-featured__eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--text-on-accent);
        background: var(--global-palette2);
        padding: 0.3rem 0.7rem;
        border-radius: 999px;

        i {
            font-size: 0.9rem;
        }
    }

    .reports-featured__title {
        margin: 0;
        font-size: 2rem;
        line-height: 1.15;

        a {
            color: var(--global-palette3);
        }

        a:hover {
            color: var(--global-palette2);
        }
    }

    .reports-featured__summary {
        margin: 0;
        color: var(--global-palette5);
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 70ch;
    }

    .reports-featured__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 0.5rem;

        a {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
    }

    @media (max-width: 720px) {
        .reports-featured {
            grid-template-columns: 1fr;
        }

        .reports-featured__media {
            max-width: 220px;
        }
    }

    .nowl-filter-bar {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .nowl-dropdown-filters-group {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        flex: 1;
    }

    .nowl-search-wrapper {
        margin-bottom: 0;
        width: unset;
        max-width: unset;
        flex: 1;
        min-width: 300px;
    }

    .nowl-multiselect {
        position: relative;
        font-size: 14px;
        flex: 1 1 0;
        min-width: 300px;
        max-width: 100%;

        .nowl-multiselect__trigger {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 1rem;
            background: var(--global-palette7);
            border: 1px solid var(--outline-color);
            border-radius: 4px;
            cursor: pointer;
            min-height: 46px;
            overflow: hidden;
        }

        .nowl-multiselect__placeholder {
            color: var(--global-palette5);
            flex-grow: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nowl-multiselect__arrow {
            margin-left: auto;
            color: var(--global-palette3);
            flex-shrink: 0;
        }

        .nowl-multiselect__tags {
            display: flex;
            gap: 0.3rem;
            overflow: hidden;
            flex-shrink: 1;
            flex-grow: 1;
            min-width: 0;
        }

        .nowl-multiselect__tags:empty {
            display: none;
        }

        .nowl-multiselect__tag {
            background-color: var(--global-palette1);
            color: var(--global-palette3);
            padding: 1px 10px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nowl-multiselect__tag-remove {
            cursor: pointer;
            font-weight: bold;
            line-height: 1;
        }

        .nowl-multiselect__dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            margin-top: 2px;
            background-color: var(--global-palette8);
            border: 1px solid var(--outline-color);
            border-radius: 4px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 100;
            display: none;
            max-height: 250px;
            overflow-y: auto;
        }

        &.open {
            .nowl-multiselect__dropdown {
                display: block;
            }
        }

        .nowl-multiselect__option {
            display: block;
            padding: 0.5rem 1rem;
            color: var(--global-palette3);
            cursor: pointer;

            &:hover {
                background-color: var(--global-palette8);
            }

            input {
                margin-right: 0.5rem;
            }
        }
    }

    .nowl-clear-filters {
        font-size: 1.1rem;
        min-height: 42px;
        padding: 0.6rem 2rem;
    }

    @media (max-width: 640px) {
        .nowl-filter-bar {
            flex-direction: column;
            align-items: stretch;
        }

        .nowl-search-wrapper {
            width: 100%;
        }

        #nowl-search {
            background: var(--global-palette8) !important;
        }

        .nowl-multiselect {
            flex: 1;
            width: unset;
        }
    }

    .nowl-entry-grid__container {
        container-type: inline-size;
        container-name: reports-grid;
    }

    .nowl-entry-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        align-items: stretch;
    }

    .nowl-empty-state {
        color: var(--global-palette5);
        font-size: 1.1rem;
        grid-column: 1 / -1;
    }

    .nowl-report-card {
        background-color: var(--global-palette8);
        border-radius: 1rem;
        border: 1px solid var(--outline-color);
        display: flex;
        flex-direction: column;
        overflow: hidden;

        &:hover {
            background-color: var(--portal-card-hover);
            border-color: var(--global-palette2);
        }
    }

    .nowl-report-card__cover {
        height: 340px;
        overflow: hidden;
        background: var(--global-palette9);
        border-bottom: 1px solid var(--outline-color);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;

        /* The WebP plugin wraps images in <picture>. Left alone it becomes the flex
           item, and the image's percentage max-height has no definite height to
           resolve against, so the page overflows the box and gets cropped. */
        picture {
            display: contents;
        }

        img {
            max-height: 100%;
            max-width: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
        }
    }

    .nowl-entry-card__body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        row-gap: 0.5rem;
    }

    .nowl-entry-card__title {
        color: var(--global-palette3);
        font-size: 1.3rem;
        line-height: 1.2;
        margin: 0;

        a:hover {
            color: var(--global-palette3);
        }
    }

    .nowl-pills {
        display: inline-flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .nowl-pill-label--year {
        background-color: var(--global-palette7);
        color: var(--global-palette4);
    }

    .nowl-entry-card__summary {
        color: var(--global-palette5);
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
    }

    @container reports-grid (max-width: 750px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @container reports-grid (max-width: 500px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
}

/* css/feedback.css */
#feedback-button {
    position: fixed;
    left: 2rem;
    bottom: 0;
    background: var(--global-palette1);
    color: var(--text-on-accent);
    font-size: 1rem;
    line-height: 1rem;
    border-radius: 4px 4px 0 0;
    display: flex;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

#feedback-button:hover {
    background: var(--global-palette2);
}

#feedback-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

#feedback-button a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .6rem 1.2rem;
}

#feedback-button i {
    vertical-align: center;
}

@media (max-width: 768px) {
    #feedback-button {
        left: 1rem;
        font-size: 0.9rem;
    }

    #feedback-button a {
        padding: .6rem 0.8rem;
    }

    #feedback-button i {
        font-size: 1rem;
    }
}

/* css/ai-chat.css */
/* ============================================
   SHARED CHAT COMPONENT STYLES
   These styles apply to .nowl-chat-component in both main page and widget
   ============================================ */

.nowl-chat-component {
    font-family: system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    min-height: 0;
}

.nowl-chat-component .nowl-chat-debug-widget {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 5;
}

.nowl-chat-component .nowl-chat-debug-widget__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    background: transparent;
}

.nowl-chat-component .nowl-chat-debug-widget__menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    background: var(--global-palette8);
    border: 1px solid var(--outline-color);
    border-radius: 0.375rem;
    padding: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    z-index: 6;
}

.nowl-chat-component .nowl-chat-debug-widget__menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    color: var(--global-palette4);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.nowl-chat-component .nowl-chat-debug-widget__menu-item:hover:not(:disabled) {
    background: var(--global-palette7);
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-chat-debug-widget__menu-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nowl-chat-component .nowl-chat-debug-widget__menu-item i {
    font-size: 0.875rem;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-chat-debug-widget__menu-item--toggle {
    cursor: pointer;
    user-select: none;
}

.nowl-chat-component .nowl-chat-debug-widget__menu-item--toggle input[type="checkbox"] {
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-messages-wrapper {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.nowl-chat-component .nowl-messages {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    flex-shrink: 1;
}

.nowl-chat-component .nowl-scroll-fade-enter-active,
.nowl-chat-component .nowl-scroll-fade-leave-active {
    transition: opacity 0.2s ease;
}

.nowl-chat-component .nowl-scroll-fade-enter-from,
.nowl-chat-component .nowl-scroll-fade-leave-to {
    opacity: 0;
}

/* Entry animations - slide in from the side each element is aligned to */
@keyframes nowl-fade-in-from-left {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nowl-fade-in-from-right {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .nowl-chat-component .nowl-message-wrapper,
    .nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component,
    .nowl-chat-component .nowl-message-wrapper > .nowl-component,
    .nowl-chat-component .nowl-message-wrapper > .nowl-suggested-responses-container {
        animation: none;
    }
}

.nowl-chat-component .nowl-scroll-to-bottom {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--outline-color);
    background: var(--global-palette8);
    color: var(--global-palette4);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, color 0.2s;
}

.nowl-chat-component .nowl-scroll-to-bottom:hover {
    background: var(--global-palette7);
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-scroll-to-bottom i {
    font-size: 1.25rem;
}

.nowl-chat-component .msg {
    margin-bottom: 0;
    padding: .5rem .75rem;
    border-radius: .75rem;
    max-width: 85%;
    line-height: 1.3;
    word-wrap: break-word;
}

.nowl-chat-component .msg p:first-child {
    margin-top: 0;
}

.nowl-chat-component .msg p:last-child {
    margin-bottom: 0;
}

/* Headers within chat bubbles - make them smaller and more appropriate */
.nowl-chat-component .msg h1, 
.nowl-chat-component .msg h2, 
.nowl-chat-component .msg h3, 
.nowl-chat-component .msg h4, 
.nowl-chat-component .msg h5, 
.nowl-chat-component .msg h6 {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
}

.nowl-chat-component .msg h1 {
    font-size: 1.25rem;
    margin-top: 0;
}

.nowl-chat-component .msg h2 {
    font-size: 1.15rem;
    margin-top: 0;
}

.nowl-chat-component .msg h3 {
    font-size: 1.05rem;
}

.nowl-chat-component .msg h4 {
    font-size: 1rem;
}

.nowl-chat-component .msg h5 {
    font-size: 0.95rem;
}

.nowl-chat-component .msg h6 {
    font-size: 0.9rem;
}

/* Ensure first header doesn't have top margin */
.nowl-chat-component .msg h1:first-child,
.nowl-chat-component .msg h2:first-child,
.nowl-chat-component .msg h3:first-child,
.nowl-chat-component .msg h4:first-child,
.nowl-chat-component .msg h5:first-child,
.nowl-chat-component .msg h6:first-child {
    margin-top: 0;
}

/* Strong text - make it less bold */
.nowl-chat-component .msg strong {
    font-weight: 500;
}

/* Lists - add spacing between items */
.nowl-chat-component .msg ul, 
.nowl-chat-component .msg ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.nowl-chat-component .msg li {
    margin: 0.2rem 0;
    line-height: 1.4;
}

.nowl-chat-component .msg ul ul, 
.nowl-chat-component .msg ol ol, 
.nowl-chat-component .msg ul ol, 
.nowl-chat-component .msg ol ul {
    margin: 0.2rem 0;
}

.nowl-chat-component .msg.user {
    background: var(--global-palette7);
    align-self: flex-end;
}

.nowl-chat-component .msg.bot {
    background: var(--blue-component);
    align-self: flex-start;
}

.nowl-chat-component .msg.tool {
    background: var(--global-palette8);
    border: 1px solid var(--outline-color);
    align-self: flex-start;
    font-size: 0.9rem;
}

.nowl-chat-component .msg--tool-call {
    border-left: 3px solid var(--global-palette2);
}

.nowl-chat-component .msg--tool-result {
    border-left: 3px solid var(--global-palette3);
}

.nowl-chat-component .nowl-action-log {
    font-size: 1rem;
    color: var(--global-palette6);
}

.nowl-chat-component .nowl-action-log[open] .nowl-action-log__title {
    margin-bottom: 6px;
}

.nowl-chat-component .nowl-action-log__title {
    font-weight: 600;
    color: var(--global-palette6);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.nowl-chat-component .nowl-action-log__title::-webkit-details-marker,
.nowl-chat-component .nowl-action-log__title::marker {
    display: none;
}

.nowl-chat-component .nowl-action-log__chevron {
    margin-left: 6px;
    font-size: 0.9em;
    opacity: 0.7;
}

.nowl-chat-component .nowl-action-log__chevron--open {
    display: none;
}

.nowl-chat-component .nowl-action-log[open] .nowl-action-log__chevron--closed {
    display: none;
}

.nowl-chat-component .nowl-action-log[open] .nowl-action-log__chevron--open {
    display: inline;
}

.nowl-chat-component .nowl-action-log__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nowl-chat-component .nowl-action-log__item {
    margin-bottom: 2px;
}

.nowl-chat-component .nowl-action-log__item:last-child {
    margin-bottom: 0;
}

.nowl-chat-component .nowl-action-log__content-title {
    font-weight: 600;
}

.nowl-chat-component .nowl-action-log__item.nowl-action-log__dots {
    display: flex;
    gap: 3px;
    align-items: center;
    margin-top: 8px;
}

.nowl-chat-component .nowl-action-log__item.nowl-action-log__dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--global-palette6);
    display: inline-block;
    animation: nowl-action-log-dot 1.4s infinite ease-in-out;
    opacity: 0.6;
}

.nowl-chat-component .nowl-action-log__item.nowl-action-log__dots span:nth-child(1) {
    animation-delay: 0s;
}

.nowl-chat-component .nowl-action-log__item.nowl-action-log__dots span:nth-child(2) {
    animation-delay: 0.2s;
}

/* Current activity - ChatGPT-style single line during streaming */
.nowl-chat-component .nowl-message-wrapper.nowl-current-activity {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    /* Simple fade-in on first appearance only; no slide - avoids bouncy feel when status text updates */
    animation: nowl-current-activity-fade-in 0.25s ease-out both;
}

.nowl-chat-component .nowl-current-activity {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
    color: var(--global-palette6, #666);
    text-align: left;
}


@keyframes nowl-current-activity-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Link styles in messages - match blog link styling */
.nowl-chat-component .msg a {
    text-decoration: underline;
    color: var(--global-palette4);
}

.nowl-chat-component .msg a:hover {
    color: var(--global-palette2);
}

/* Message wrapper - groups message bubble, components, and debug together */
.nowl-chat-component .nowl-message-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    scroll-margin-top: 16px;
    animation: nowl-fade-in-from-left 0.35s ease-out both;
}
/* Suppress animation for messages that were present on initial load (prevents bounce when sending first message) */
.nowl-chat-component .nowl-message-wrapper.nowl-message--no-animate {
    animation: none;
}
.nowl-chat-component .nowl-message-wrapper.nowl-message--no-animate > .nowl-components-container > .nowl-component,
.nowl-chat-component .nowl-message-wrapper.nowl-message--no-animate > .nowl-component,
.nowl-chat-component .nowl-message-wrapper.nowl-message--no-animate > .nowl-suggested-responses-container {
    animation: none;
}
/* User messages (right-aligned) slide in from the right */
.nowl-chat-component .nowl-message-wrapper:has(.msg.user) {
    animation-name: nowl-fade-in-from-right;
}

/* Components container - horizontal scrollable row, aligned to right */
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    margin-left: auto;
    width: 100%;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-bar-color) transparent;
}

/* Components rendered outside message bubbles - in horizontal row (left-aligned) */
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component {
    flex-shrink: 0;
    flex-grow: 0;
    width: auto;
    margin-bottom: 0;
    max-width: 100%;
    animation: nowl-fade-in-from-left 0.4s ease-out both;
}
/* Stagger cards when multiple appear in a row */
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component:nth-child(1) { animation-delay: 0.05s; }
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component:nth-child(2) { animation-delay: 0.1s; }
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component:nth-child(3) { animation-delay: 0.15s; }
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component:nth-child(4) { animation-delay: 0.2s; }
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component:nth-child(5) { animation-delay: 0.25s; }
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component:nth-child(6) { animation-delay: 0.3s; }

/* Post card components in horizontal scroll - ensure fixed width and add bottom margin for scrollbar */
.nowl-chat-component .nowl-message-wrapper > .nowl-components-container > .nowl-component .nowl-post-card-component {
    width: 350px;
    max-width: min(350px, 100%);
}

/* Fallback for components not in container (backwards compatibility) */
.nowl-chat-component .nowl-message-wrapper > .nowl-component {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.75rem;
    animation: nowl-fade-in-from-left 0.4s ease-out 0.05s both;
}

/* Suggested responses container - right-aligned, slides in from the right */
.nowl-chat-component .nowl-message-wrapper > .nowl-suggested-responses-container {
    width: 100%;
    max-width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    animation: nowl-fade-in-from-right 0.4s ease-out 0.1s both;
    justify-content: flex-end;
}

.nowl-chat-component .nowl-message-wrapper > .nowl-suggested-responses-container > .nowl-component {
    width: auto;
    max-width: 100%;
    margin-bottom: 0;
}

/* Debug info rendered outside message bubbles - inside message wrapper */
.nowl-chat-component .nowl-message-wrapper > .nowl-debug-raw,
.nowl-chat-component .nowl-message-wrapper > .nowl-message-debug {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.nowl-chat-component .nowl-tool-call-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--global-palette7);
    border-radius: 6px;
    border: 1px solid var(--outline-color);
}

.nowl-chat-component .nowl-tool-call-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--global-palette4);
    display: block;
    margin-bottom: 0.5rem;
}

.nowl-chat-component .nowl-tool-call-item {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--global-palette8);
    border-radius: 4px;
    font-size: 0.85rem;
}

.nowl-chat-component .nowl-tool-call-item strong {
    color: var(--global-palette2);
    display: block;
    margin-bottom: 0.25rem;
}

.nowl-chat-component .nowl-tool-call-args {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--global-palette5);
    white-space: pre-wrap;
    word-break: break-all;
}

.nowl-chat-component .nowl-tool-result-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--global-palette7);
    border-radius: 6px;
    border: 1px solid var(--outline-color);
}

.nowl-chat-component .nowl-tool-result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--global-palette4);
    display: block;
    margin-bottom: 0.5rem;
}

.nowl-chat-component .nowl-tool-result-content {
    font-size: 0.85rem;
    color: var(--global-palette4);
    white-space: pre-wrap;
    word-break: break-word;
}

.nowl-chat-component .nowl-input-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--outline-color);
    border-radius: 0.5rem;
    background: var(--global-palette8);
    overflow: visible;
    margin: 1rem;
    z-index: 10;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--global-palette3);
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.5;
    min-height: calc(1rem * 1.5 + 1.5rem);
    max-height: 200px;
    font-family: inherit;
    box-sizing: border-box;
    flex: 0 0 auto;
    align-self: stretch;
}

.nowl-chat-component .nowl-input:focus {
    outline: none;
    box-shadow: none;
}

.nowl-chat-component .nowl-input::placeholder {
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-actions {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.5rem 0.5rem;
    background: transparent;
    margin-top: 0;
}

.nowl-chat-component .nowl-action-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--global-palette7);
    color: var(--global-palette4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-action-btn i {
    font-size: 1.0625rem;
}

.nowl-chat-component .nowl-reset-btn {
    width: 38px;
    height: 38px;
    background: transparent;
}

.nowl-chat-component .nowl-reset-btn i {
    font-size: 1.25rem;
}

.nowl-chat-component .nowl-action-btn:hover:not(:disabled) {
    background: var(--global-palette6);
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-action-btn:active:not(:disabled) {
    background: var(--global-palette5);
}

.nowl-chat-component .nowl-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nowl-chat-component .nowl-reset-btn:hover:not(:disabled) {
    background: transparent;
    color: var(--global-palette1);
    opacity: 1;
}

.nowl-chat-component .nowl-reset-btn:not(:hover) {
    opacity: 0.7;
}

.nowl-chat-component .nowl-send-btn {
    width: 35px;
    height: 35px;
    background: var(--global-palette1);
    color: var(--text-on-accent);
    border-radius: 50%;
}

.nowl-chat-component .nowl-send-btn i {
    font-size: 1.125rem;
}

.nowl-chat-component .nowl-send-btn:hover:not(:disabled) {
    background: var(--global-palette2);
    color: var(--text-on-accent);
}

.nowl-chat-component .nowl-send-btn:disabled {
    background: var(--global-palette5);
    color: var(--global-palette7);
}

.nowl-chat-component .nowl-actions-group {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-assistant-pill-wrapper {
    position: relative;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-assistant-pill {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--global-palette7);
    border: none;
    border-radius: 9999px;
    color: var(--global-palette4);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nowl-chat-component .nowl-assistant-pill:hover:not(:disabled) {
    background: var(--global-palette6);
}

.nowl-chat-component .nowl-assistant-pill:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nowl-chat-component .nowl-assistant-pill i {
    font-size: 0.9375rem;
}

.nowl-chat-component .nowl-assistant-pill__caret {
    font-size: 0.75rem;
    margin-left: 0.125rem;
    transition: transform 0.2s ease;
}

.nowl-chat-component .nowl-assistant-pill--open .nowl-assistant-pill__caret {
    transform: rotate(180deg);
}

.nowl-chat-component .nowl-mode-menu {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 0;
    background: var(--global-palette8);
    border: 1px solid var(--outline-color);
    border-radius: 0.5rem;
    padding: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    z-index: 6;
}

.nowl-chat-component .nowl-mode-menu__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    color: var(--global-palette4);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
    position: relative;
}

.nowl-chat-component .nowl-mode-menu__item:hover:not(:disabled) {
    background: var(--global-palette7);
}

.nowl-chat-component .nowl-mode-menu__item--active {
    background: var(--global-palette7);
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-mode-menu__item--active i:last-child {
    margin-left: auto;
    font-size: 0.875rem;
}

.nowl-chat-component .nowl-mode-menu__item:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nowl-chat-component .nowl-mode-menu__item i:first-child {
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-mode-menu__tooltip {
    position: absolute;
    left: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%);
    background: var(--global-palette3);
    color: var(--global-palette9);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: max-content;
    max-width: 250px;
    white-space: normal;
    line-height: 1.4;
    word-wrap: break-word;
}

.nowl-chat-component .nowl-mode-menu__item:hover:not(:disabled) .nowl-mode-menu__tooltip {
    opacity: 1;
}

.nowl-chat-component .nowl-mode-menu__tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--global-palette3);
}

/* Continue extracting shared component styles - Error, Readonly Banner, Quota Indicator, etc. */
.nowl-chat-component .nowl-error {
    background: var(--error-background);
    border: 1px solid var(--error-border);
    color: var(--global-palette5);
    border-radius: 6px;
    padding: 8px 10px;
    margin: 0.5rem 1rem;
    font-size: 0.9rem;
    animation: fadeIn 0.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nowl-chat-component .nowl-error__message {
    flex: 1;
    text-align: center;
}

.nowl-chat-component .nowl-error__message a {
    color: var(--global-palette3);
    text-decoration: underline;
    font-weight: 500;
}

.nowl-chat-component .nowl-error__message a:hover {
    color: var(--global-palette2);
}

.nowl-chat-component .nowl-error__dismiss {
    background: none;
    border: none;
    color: var(--global-palette5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.nowl-chat-component .nowl-error__dismiss:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-error__dismiss i {
    font-size: 1rem;
}

.nowl-chat-component .nowl-readonly-banner {
    margin: 15px 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    margin: 0;
    text-align: center;
    color: #856404;
}

/* Extract all component styles - they should work in both contexts */
.nowl-chat-component .quota-indicator {
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    flex-shrink: 0;
}

.nowl-chat-component .quota-indicator__circle {
    width: 26px;
    height: 26px;
}

.nowl-chat-component .quota-indicator__progress {
    transition: stroke-dashoffset 0.3s ease, stroke 0.3s ease;
}

.nowl-chat-component .quota-indicator__tooltip {
    position: fixed;
    bottom: auto;
    top: calc(var(--tooltip-top, 0px) - 2.5rem);
    left: var(--tooltip-left, 50%);
    transform: translateX(-50%);
    background: var(--global-palette3);
    color: var(--global-palette9);
    padding: 0.375rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nowl-chat-component .quota-indicator__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--global-palette3);
}

.nowl-chat-component .quota-indicator:hover .quota-indicator__tooltip {
    opacity: 1;
}

.nowl-chat-component .quota-indicator--normal .quota-indicator__progress {
    stroke: var(--global-palette2);
}

.nowl-chat-component .quota-indicator--normal .quota-indicator__text {
    color: var(--global-palette4);
}

.nowl-chat-component .quota-indicator--warning .quota-indicator__progress {
    stroke: #ffa500;
}

.nowl-chat-component .quota-indicator--warning .quota-indicator__text {
    color: #ffa500;
}

.nowl-chat-component .quota-indicator--critical .quota-indicator__progress {
    stroke: #ef4444;
}

.nowl-chat-component .quota-indicator--critical .quota-indicator__text {
    color: #ef4444;
}

.nowl-chat-component .quota-indicator circle {
    transition: stroke 0.3s ease;
}

/* ============================================
   PAGE-SPECIFIC STYLES
   These styles only apply on the main chat page
   ============================================ */

.nowl-ai-chat-page.app-portal__body {
    .nowl-chat-page {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .nowl-chatbox {
        background: var(--global-palette9);
        border-radius: 0.5rem;
        border: 1px solid var(--outline-color);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        font-family: system-ui, sans-serif;
        width: 100%;
        max-width: 900px;
        margin: 2rem auto;
        height: 100%;
        position: relative;
        min-height: 0;
    }

    /* Page-specific error styling - full width */
    .nowl-chat-component .nowl-error {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

    /* --- Quota Indicator --- */
    .quota-indicator {
        position: relative;
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: default;
        flex-shrink: 0;
    }

    .quota-indicator__circle {
        width: 26px;
        height: 26px;
    }

    .quota-indicator__progress {
        transition: stroke-dashoffset 0.3s ease, stroke 0.3s ease;
    }

    .quota-indicator__tooltip {
        position: fixed;
        bottom: auto;
        top: calc(var(--tooltip-top, 0px) - 2.5rem);
        left: var(--tooltip-left, 50%);
        transform: translateX(-50%);
        background: var(--global-palette3);
        color: var(--global-palette9);
        padding: 0.375rem 0.625rem;
        border-radius: 0.25rem;
        font-size: 0.75rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 1000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .quota-indicator__tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 4px solid transparent;
        border-top-color: var(--global-palette3);
    }

    .quota-indicator:hover .quota-indicator__tooltip {
        opacity: 1;
    }

    .quota-indicator--normal .quota-indicator__progress {
        stroke: var(--global-palette2);
    }

    .quota-indicator--normal .quota-indicator__text {
        color: var(--global-palette4);
    }

    .quota-indicator--warning .quota-indicator__progress {
        stroke: #ffa500;
    }

    .quota-indicator--warning .quota-indicator__text {
        color: #ffa500;
    }

    .quota-indicator--critical .quota-indicator__progress {
        stroke: #ef4444;
    }

    .quota-indicator--critical .quota-indicator__text {
        color: #ef4444;
    }

    .quota-indicator circle {
        transition: stroke 0.3s ease;
    }

/* Extract remaining component styles to shared scope */
.nowl-chat-component .nowl-action-confirm {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: 8px;
}

.nowl-chat-component .nowl-action-label {
    font-size: 0.85rem;
    color: #555;
}

.nowl-chat-component .nowl-action-confirm.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.nowl-chat-component .nowl-action-confirm.disabled button {
    cursor: not-allowed;
}

/* --- Tool Confirmation Component --- */
.nowl-chat-component .nowl-tool-confirm {
    background: var(--global-palette7);
    border: 1px solid var(--outline-color);
    border-left: 3px solid var(--global-palette2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nowl-chat-component .nowl-tool-confirm--confirmed {
    border-left-color: var(--green);
    opacity: 0.85;
}

.nowl-chat-component .nowl-tool-confirm--cancelled {
    border-left-color: var(--global-palette6);
    opacity: 0.7;
}

.nowl-chat-component .nowl-tool-label {
    font-size: 0.95rem;
    color: var(--global-palette4);
    font-weight: 500;
    line-height: 1.4;
}

.nowl-chat-component .nowl-tool-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nowl-chat-component .nowl-btn-confirm,
.nowl-chat-component .nowl-btn-cancel {
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.nowl-chat-component .nowl-btn-confirm {
    background: var(--global-palette1);
    color: var(--text-on-accent);
    border: 2px solid var(--global-palette1);
}

.nowl-chat-component .nowl-btn-confirm:hover:not(:disabled) {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
}

.nowl-chat-component .nowl-btn-confirm:disabled {
    background: var(--global-palette5);
    border-color: var(--global-palette5);
    cursor: not-allowed;
    opacity: 0.7;
}

.nowl-chat-component .nowl-btn-cancel {
    background: transparent;
    border: 2px solid var(--outline-color);
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-btn-cancel:hover:not(:disabled) {
    border-color: var(--global-palette6);
    color: var(--global-palette4);
}

.nowl-chat-component .nowl-btn-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nowl-chat-component .nowl-tool-status {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.nowl-chat-component .nowl-tool-status-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--global-palette4);
}

/* --- Suggested Responses Component --- */
.nowl-chat-component .nowl-suggested-responses-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    width: 100%;
}

.nowl-chat-component .nowl-suggested-responses__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--global-palette5);
    margin-bottom: 0.25rem;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nowl-chat-component .nowl-suggested-responses__label i {
    font-size: 0.875rem;
}

.nowl-chat-component .nowl-suggested-response {
    border: 1px solid var(--outline-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.nowl-chat-component .nowl-suggested-response__text {
    flex: 1;
    text-align: left;
}

.nowl-chat-component .nowl-suggested-response__icon-wrapper {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--global-palette1);
    color: var(--text-on-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.nowl-chat-component .nowl-suggested-response__icon {
    font-size: 1rem;
}

.nowl-chat-component .nowl-suggested-response:hover:not(:disabled) {
    background: var(--global-palette7);
    border-color: var(--global-palette5);
}

.nowl-chat-component .nowl-suggested-response:hover:not(:disabled) .nowl-suggested-response__icon-wrapper {
    background: var(--global-palette2);
}

.nowl-chat-component .nowl-suggested-response:active:not(:disabled) {
    background: var(--global-palette7);
    opacity: 0.9;
}

.nowl-chat-component .nowl-suggested-response:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Editable Form Component --- */
.nowl-chat-component .nowl-editable-form {
    background: var(--global-palette7);
    border: 1px solid var(--outline-color);
    border-left: 3px solid var(--global-palette2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nowl-chat-component .nowl-editable-form--confirmed {
    border-left-color: var(--green);
    opacity: 0.85;
}

.nowl-chat-component .nowl-editable-form--cancelled {
    border-left-color: var(--global-palette6);
    opacity: 0.7;
}

.nowl-chat-component .nowl-editable-form--completed {
    border-left-color: var(--green);
    opacity: 0.9;
}

.nowl-chat-component .nowl-editable-form--skipped {
    border-left-color: var(--global-palette6);
    opacity: 0.7;
}

.nowl-chat-component .nowl-editable-form__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nowl-chat-component .nowl-editable-form__label {
    font-size: 0.95rem;
    color: var(--global-palette4);
    font-weight: 600;
    line-height: 1.4;
}

.nowl-chat-component .nowl-editable-form__instructions {
    font-size: 0.85rem;
    color: var(--global-palette5);
    line-height: 1.4;
    font-style: italic;
}

.nowl-chat-component .nowl-editable-form__current-value {
    padding: 0.75rem;
    background: var(--global-palette8);
    border: 1px solid var(--outline-color);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.nowl-chat-component .nowl-editable-form__current-value-label {
    font-size: 0.8rem;
    color: var(--global-palette5);
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nowl-chat-component .nowl-editable-form__current-value-text {
    font-size: 0.9rem;
    color: var(--global-palette4);
    line-height: 1.4;
    word-break: break-word;
}

.nowl-chat-component .nowl-editable-form__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nowl-chat-component .nowl-editable-form__input,
.nowl-chat-component .nowl-editable-form__textarea,
.nowl-chat-component .nowl-editable-form__select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--outline-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--global-palette4);
    background: var(--global-palette8);
    color-scheme: dark;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nowl-chat-component .nowl-editable-form__input:focus,
.nowl-chat-component .nowl-editable-form__textarea:focus,
.nowl-chat-component .nowl-editable-form__select:focus {
    outline: none;
    border-color: var(--global-palette2);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.nowl-chat-component .nowl-editable-form__input:disabled,
.nowl-chat-component .nowl-editable-form__textarea:disabled,
.nowl-chat-component .nowl-editable-form__select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--global-palette7);
}

.nowl-chat-component .nowl-editable-form__textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.nowl-chat-component .nowl-editable-form__radio-group,
.nowl-chat-component .nowl-editable-form__checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--global-palette8);
    border: 1px solid var(--outline-color);
    border-radius: 6px;
}

.nowl-chat-component .nowl-editable-form__radio-label,
.nowl-chat-component .nowl-editable-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--global-palette4);
    cursor: pointer;
    padding: 0.25rem 0;
}

.nowl-chat-component .nowl-editable-form__radio-label input[type="radio"],
.nowl-chat-component .nowl-editable-form__checkbox-label input[type="checkbox"] {
    cursor: pointer;
    margin: 0;
    width: auto;
}

.nowl-chat-component .nowl-editable-form__radio-label:hover,
.nowl-chat-component .nowl-editable-form__checkbox-label:hover {
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-editable-form__time-picker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nowl-chat-component .nowl-editable-form__time-select {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--outline-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--global-palette4);
    background: var(--global-palette8);
    color-scheme: dark;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nowl-chat-component .nowl-editable-form__time-select:focus {
    outline: none;
    border-color: var(--global-palette2);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.nowl-chat-component .nowl-editable-form__time-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--global-palette7);
}

.nowl-chat-component .nowl-editable-form__time-select:first-child {
    min-width: 80px;
}

.nowl-chat-component .nowl-editable-form__time-ampm {
    min-width: 70px;
}

/* Dropdown options: light text on dark background (fixes legibility on Windows) */
.nowl-chat-component .nowl-editable-form__select option,
.nowl-chat-component .nowl-editable-form__time-select option {
    color: var(--global-palette3);
    background-color: var(--global-palette8);
}

.nowl-chat-component .nowl-editable-form__time-separator {
    font-size: 1rem;
    font-weight: 600;
    color: var(--global-palette4);
    padding: 0 0.25rem;
}

.nowl-chat-component .nowl-editable-form__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--outline-color);
}

.nowl-chat-component .nowl-editable-form__status {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.nowl-chat-component .nowl-editable-form__status-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--global-palette4);
}

/* --- Video Component --- */
.nowl-chat-component .nowl-video-component {
    background: var(--global-palette7);
    border: 1px solid var(--outline-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 0.75rem 0;
}

.nowl-chat-component .nowl-video-component .nowl-video__player {
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
}

.nowl-chat-component .nowl-video-component .nowl-video__player iframe,
.nowl-chat-component .nowl-video-component .nowl-video__embed {
    width: 100%;
    height: 100%;
}

.nowl-chat-component .nowl-video-component .nowl-video__url-fallback {
    padding: 1.25rem;
    text-align: center;
    background: var(--global-palette8);
    border-radius: 0.5rem;
    border: 1px solid var(--outline-color);
}

.nowl-chat-component .nowl-video-component .nowl-video__url-fallback p {
    margin: 0;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-video-component .nowl-video__url-fallback a {
    color: var(--global-palette1);
    text-decoration: underline;
}

.nowl-chat-component .nowl-video-component .nowl-video__url-fallback a:hover {
    color: var(--global-palette2);
}

.nowl-chat-component .nowl-video-component .nowl-video__no-video {
    padding: 1.25rem;
    text-align: center;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-video-component .nowl-video__locked {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--global-palette8);
    border-radius: 0.5rem;
    border: 1px solid var(--outline-color);
    position: relative;
}

.nowl-chat-component .nowl-video-component .nowl-video__lock-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.nowl-chat-component .nowl-video-component .nowl-video__lock-placeholder i {
    font-size: 3rem;
    color: var(--global-palette5);
    margin-bottom: 0.5rem;
}

.nowl-chat-component .nowl-video-component .nowl-video__lock-message {
    margin: 0;
    color: var(--global-palette5);
    font-size: 1rem;
}

.nowl-chat-component .nowl-video-component .nowl-video__lock-message strong {
    color: var(--global-palette3);
    font-weight: 600;
}

.nowl-chat-component .nowl-video-component .nowl-video__upgrade-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--global-palette1);
    color: var(--global-palette5);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nowl-chat-component .nowl-video-component .nowl-video__upgrade-link:hover {
    background: var(--global-palette2);
    color: var(--global-palette5);
    text-decoration: none;
}

.nowl-chat-component .nowl-video-component .nowl-video__upgrade-link i {
    font-size: 1rem;
    margin: 0;
}

.nowl-chat-component .nowl-video-component .nowl-video__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-video-component .nowl-video__expert {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-video-component .nowl-video__expert strong {
    color: var(--global-palette3);
    font-weight: 600;
}

.nowl-chat-component .nowl-video-component .nowl-video__expertise {
    margin-left: 0.5rem;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-video-component .nowl-video-card__labels {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.nowl-chat-component .nowl-video-component .nowl-video__footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--outline-color);
}

.nowl-chat-component .nowl-video-component .nowl-video__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--global-palette4);
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nowl-chat-component .nowl-video-component .nowl-video__link:hover {
    color: var(--global-palette2);
}

.nowl-chat-component .nowl-video-component .nowl-video__link i {
    font-size: 0.875rem;
}

/* --- Expert Component --- */
.nowl-chat-component .nowl-expert-component {
    background: var(--global-palette7);
    border: 1px solid var(--outline-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 0.75rem 0;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__image {
    flex-shrink: 0;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--outline-color);
}

.nowl-chat-component .nowl-expert-component .nowl-expert__info {
    flex: 1;
    text-align: left;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--global-palette3);
}

.nowl-chat-component .nowl-expert-component .nowl-expert__expertise {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--global-palette4);
    font-weight: 500;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-expert-component .nowl-expert__footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--outline-color);
    text-align: center;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--global-palette4);
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nowl-chat-component .nowl-expert-component .nowl-expert__link:hover {
    color: var(--global-palette2);
}

.nowl-chat-component .nowl-expert-component .nowl-expert__link i {
    font-size: 0.875rem;
}

/* --- Copilot Note Component --- */
.nowl-chat-component .nowl-copilot-note-component {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    margin: 0.5rem 0;
    background: var(--global-palette8);
    border: 1px solid var(--outline-color);
    border-left: 2px solid var(--global-palette5);
    border-radius: 0.5rem;
    opacity: 0.85;
}

.nowl-chat-component .nowl-copilot-note-component__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--global-palette5);
    font-size: 1rem;
    line-height: 1;
}

.nowl-chat-component .nowl-copilot-note-component__icon i {
    font-size: 1rem;
}

.nowl-chat-component .nowl-copilot-note-component__content {
    flex: 1;
    min-width: 0;
}

.nowl-chat-component .nowl-copilot-note-component__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--global-palette5);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.nowl-chat-component .nowl-copilot-note-component__summary {
    font-size: 0.8125rem;
    color: var(--global-palette4);
    line-height: 1.4;
    word-wrap: break-word;
}

.nowl-chat-component .nowl-copilot-note-component__change {
    font-weight: 500;
    color: var(--global-palette3);
    background: var(--global-palette7);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

/* --- Post Card Component --- */
.nowl-chat-component .nowl-post-card-component {
    background: var(--global-palette9);
    border: 1px solid var(--outline-color);
    border-radius: 1rem;
    padding: 1rem;
    max-width: 320px;
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__embed {
    aspect-ratio: 16/9;
    margin-bottom: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__embed iframe,
.nowl-chat-component .nowl-post-card-component .nowl-video__embed {
    width: 100%;
    height: 100%;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__image {
    margin-bottom: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Journey card - small square icon */
.nowl-chat-component .nowl-post-card-component .nowl-post-card__journey-icon {
    margin-bottom: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__journey-icon-img {
    max-width: 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 20px;
    object-fit: cover;
}

.nowl-chat-component .nowl-post-card-component .nowl-expert__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--outline-color);
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__content {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__title {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    color: var(--global-palette3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__expert {
    font-size: 1rem;
    margin: 0;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__expert strong {
    color: var(--global-palette3);
    font-weight: 600;
}

.nowl-chat-component .nowl-post-card-component .nowl-video__expertise {
    margin-left: 0.5rem;
    color: var(--global-palette5);
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__expertise {
    font-size: 1rem;
    margin: 0;
    color: var(--global-palette4);
    font-weight: 500;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__meta {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    flex-wrap: wrap;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__year,
.nowl-chat-component .nowl-post-card-component .nowl-post-card__type,
.nowl-chat-component .nowl-post-card-component .nowl-post-card__ai-type {
    font-size: 0.875rem;
    color: var(--global-palette5);
    background: var(--global-palette8);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__labels {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

/* Pill labels in post cards */
.nowl-chat-component .nowl-post-card-component .nowl-pill-label {
    padding: 4px 12px;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 400;
    border-radius: 8rem;
    background-color: var(--global-palette1);
    color: var(--text-on-accent);
    text-wrap: nowrap;
}

.nowl-chat-component .nowl-post-card-component .nowl-pill-label--category {
    background-color: var(--expert-videos-pill);
    color: var(--global-palette3);
}

/* Purple pill for research type */
.nowl-chat-component .nowl-post-card-component .nowl-pill-label--type {
    background-color: var(--global-palette2);
    color: var(--text-on-accent);
}

/* Pills container for research entries */
.nowl-chat-component .nowl-post-card-component .nowl-pills {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__excerpt {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--global-palette5);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__summary {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--global-palette5);
    margin: 0;
    padding: 0.75rem;
    background: var(--global-palette8);
    border-radius: 0.5rem;
    border: 1px solid var(--outline-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 0;
}

/* Research entry summary - no container (matches archive) */
.nowl-chat-component .nowl-post-card-component[data-post-type="research_entry"] .nowl-post-card__summary {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--outline-color);
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--global-palette4);
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__link:hover {
    color: var(--global-palette2);
}

.nowl-chat-component .nowl-post-card-component .nowl-post-card__link i {
    font-size: 0.875rem;
}

/* Lock overlay (reusing archive card styles) */
.nowl-chat-component .nowl-post-card-component .nowl-card__restricted {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    text-align: center;
    font-weight: bold;
    color: var(--global-palette5);
    background-color: var(--warning-background-transparent);
    border-bottom: 1px solid var(--outline-color);
    padding: 0.4rem 0.3rem;
    z-index: 10;
}

.nowl-chat-component .nowl-post-card-component .nowl-card__lock-icon {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.nowl-chat-component .nowl-post-card-component .nowl-card__lock-icon i {
    font-size: 1rem;
}

.nowl-chat-component .nowl-post-card-component .nowl-card__access-text {
    font-weight: 400;
    margin: 0;
}

    /* Note: Additional component styles (tool-confirm variants, editable-form, suggested-responses, 
       video-component, expert-component, post-card-component, copilot-note-component) remain 
       in the page scope for now but should work in both contexts due to CSS inheritance.
       They can be extracted to .nowl-chat-component scope if needed. */
    .nowl-tool-confirm {

    .nowl-tool-confirm--confirmed {
        border-left-color: var(--green);
        opacity: 0.85;
    }

    .nowl-tool-confirm--cancelled {
        border-left-color: var(--global-palette6);
        opacity: 0.7;
    }

    .nowl-tool-label {
        font-size: 0.95rem;
        color: var(--global-palette4);
        font-weight: 500;
        line-height: 1.4;
    }

    .nowl-tool-buttons {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .nowl-btn-confirm,
    .nowl-btn-cancel {
        border: none;
        border-radius: 4px;
        padding: 0.5rem 1.25rem;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
        line-height: 1.2;
    }

    .nowl-btn-confirm {
        background: var(--global-palette1);
        color: var(--text-on-accent);
        border: 2px solid var(--global-palette1);
    }

    .nowl-btn-confirm:hover:not(:disabled) {
        background: var(--global-palette2);
        border-color: var(--global-palette2);
    }

    .nowl-btn-confirm:disabled {
        background: var(--global-palette5);
        border-color: var(--global-palette5);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .nowl-btn-cancel {
        background: transparent;
        border: 2px solid var(--outline-color);
        color: var(--global-palette5);
    }

    .nowl-btn-cancel:hover:not(:disabled) {
        border-color: var(--global-palette6);
        color: var(--global-palette4);
    }

    .nowl-btn-cancel:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .nowl-tool-status {
        display: flex;
        align-items: center;
        padding: 0.5rem 0;
    }

    .nowl-tool-status-text {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--global-palette4);
    }

    /* --- Suggested Responses Component --- */
    .nowl-suggested-responses-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        width: 100%;
    }

    .nowl-suggested-responses__label {
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--global-palette5);
        margin-bottom: 0.25rem;
        align-self: flex-end;
        display: flex;
        align-items: center;
        gap: 0.375rem;
    }

    .nowl-suggested-responses__label i {
        font-size: 0.875rem;
    }

    .nowl-suggested-response {
        border: 1px solid var(--outline-color);
        background: transparent;
        cursor: pointer;
        transition: all 0.2s ease;
        font-family: inherit;
        font-size: inherit;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: space-between;
    }

    .nowl-suggested-response__text {
        flex: 1;
        text-align: left;
    }

    .nowl-suggested-response__icon-wrapper {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        background: var(--global-palette1);
        color: var(--text-on-accent);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease;
    }

    .nowl-suggested-response__icon {
        font-size: 1rem;
    }

    .nowl-suggested-response:hover:not(:disabled) {
        background: var(--global-palette7);
        border-color: var(--global-palette5);
    }

    .nowl-suggested-response:hover:not(:disabled) .nowl-suggested-response__icon-wrapper {
        background: var(--global-palette2);
    }

    .nowl-suggested-response:active:not(:disabled) {
        background: var(--global-palette7);
        opacity: 0.9;
    }

    .nowl-suggested-response:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* --- Editable Form Component --- */
    .nowl-editable-form {
        background: var(--global-palette7);
        border: 1px solid var(--outline-color);
        border-left: 3px solid var(--global-palette2);
        border-radius: 8px;
        padding: 1rem;
        margin-top: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .nowl-editable-form--confirmed {
        border-left-color: var(--green);
        opacity: 0.85;
    }

    .nowl-editable-form--cancelled {
        border-left-color: var(--global-palette6);
        opacity: 0.7;
    }

    .nowl-editable-form--completed {
        border-left-color: var(--green);
        opacity: 0.9;
    }

    .nowl-editable-form--skipped {
        border-left-color: var(--global-palette6);
        opacity: 0.7;
    }

    .nowl-editable-form__header {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nowl-editable-form__label {
        font-size: 0.95rem;
        color: var(--global-palette4);
        font-weight: 600;
        line-height: 1.4;
    }

    .nowl-editable-form__instructions {
        font-size: 0.85rem;
        color: var(--global-palette5);
        line-height: 1.4;
        font-style: italic;
    }

    .nowl-editable-form__current-value {
        padding: 0.75rem;
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }

    .nowl-editable-form__current-value-label {
        font-size: 0.8rem;
        color: var(--global-palette5);
        font-weight: 500;
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nowl-editable-form__current-value-text {
        font-size: 0.9rem;
        color: var(--global-palette4);
        line-height: 1.4;
        word-break: break-word;
    }


    .nowl-editable-form__body {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .nowl-editable-form__input,
    .nowl-editable-form__textarea,
    .nowl-editable-form__select {
        width: 100%;
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--outline-color);
        border-radius: 6px;
        font-size: 0.9rem;
        font-family: inherit;
        color: var(--global-palette4);
        background: var(--global-palette8);
        color-scheme: dark;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .nowl-editable-form__input:focus,
    .nowl-editable-form__textarea:focus,
    .nowl-editable-form__select:focus {
        outline: none;
        border-color: var(--global-palette2);
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .nowl-editable-form__input:disabled,
    .nowl-editable-form__textarea:disabled,
    .nowl-editable-form__select:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background: var(--global-palette7);
    }

    .nowl-editable-form__textarea {
        resize: vertical;
        min-height: 100px;
        line-height: 1.5;
    }

    .nowl-editable-form__radio-group,
    .nowl-editable-form__checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 6px;
    }

    .nowl-editable-form__radio-label,
    .nowl-editable-form__checkbox-label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: var(--global-palette4);
        cursor: pointer;
        padding: 0.25rem 0;
    }

    .nowl-editable-form__radio-label input[type="radio"],
    .nowl-editable-form__checkbox-label input[type="checkbox"] {
        cursor: pointer;
        margin: 0;
        width: auto;
    }

    .nowl-editable-form__radio-label:hover,
    .nowl-editable-form__checkbox-label:hover {
        color: var(--global-palette3);
    }

    .nowl-editable-form__time-picker {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nowl-editable-form__time-select {
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--outline-color);
        border-radius: 6px;
        font-size: 0.9rem;
        font-family: inherit;
        color: var(--global-palette4);
        background: var(--global-palette8);
        color-scheme: dark;
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .nowl-editable-form__time-select:focus {
        outline: none;
        border-color: var(--global-palette2);
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .nowl-editable-form__time-select:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background: var(--global-palette7);
    }

    .nowl-editable-form__time-select:first-child {
        min-width: 80px;
    }

    .nowl-editable-form__time-ampm {
        min-width: 70px;
    }

    /* Dropdown options: light text on dark background (fixes legibility on Windows) */
    .nowl-editable-form__select option,
    .nowl-editable-form__time-select option {
        color: var(--global-palette3);
        background-color: var(--global-palette8);
    }

    .nowl-editable-form__time-separator {
        font-size: 1rem;
        font-weight: 600;
        color: var(--global-palette4);
        padding: 0 0.25rem;
    }

    .nowl-editable-form__actions {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--outline-color);
    }

    .nowl-editable-form__status {
        display: flex;
        align-items: center;
        padding: 0.5rem 0;
    }

    .nowl-editable-form__status-text {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--global-palette4);
    }

    .nowl-debug-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        color: var(--global-palette5);
        cursor: pointer;
        user-select: none;
    }

    .nowl-debug-toggle input[type="checkbox"] {
        cursor: pointer;
    }

    .nowl-message-debug {
        margin-top: -0.5rem;
        padding: 0;
    }

    .nowl-debug-json {
        margin-top: 0;
        padding: 0.75rem;
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 4px;
        font-size: 0.75rem;
        font-family: 'Courier New', monospace;
        color: var(--global-palette4);
        overflow-x: auto;
        max-height: 300px;
        overflow-y: auto;
        white-space: pre-wrap;
        word-break: break-all;
    }

    /* --- Debug raw line --- */
    .nowl-debug-raw {
        background: #f5f5f5;
        border-left: 3px solid #007cba;
        color: #555;
        font-size: 0.8rem;
        padding: 6px 8px;
        margin: 6px 0 0 0;
        border-radius: 4px;
        white-space: pre-wrap;
    }

    .nowl-action-confirm.disabled {
        opacity: 0.5;
        pointer-events: none;
    }
    .nowl-action-confirm.disabled button {
        cursor: not-allowed;
    }

    /* --- Error banner --- */
    .nowl-error {
        background: var(--error-background);
        border: 1px solid var(--error-border);
        color: var(--global-palette5);
        border-radius: 6px;
        padding: 8px 10px;
        margin: 0.5rem auto;
        max-width: 900px;
        font-size: 0.9rem;
        animation: fadeIn 0.2s ease-out;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .nowl-error__message {
        flex: 1;
        text-align: center;
    }

    .nowl-error__message a {
        color: var(--global-palette3);
        text-decoration: underline;
        font-weight: 500;
    }

    .nowl-error__message a:hover {
        color: var(--global-palette2);
    }

    .nowl-error__dismiss {
        background: none;
        border: none;
        color: var(--global-palette5);
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        transition: background-color 0.2s ease, color 0.2s ease;
        flex-shrink: 0;
    }

    .nowl-error__dismiss:hover {
        background: rgba(0, 0, 0, 0.1);
        color: var(--global-palette3);
    }

    .nowl-error__dismiss i {
        font-size: 1rem;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(4px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* --- Video Component --- */
    .nowl-video-component {
        background: var(--global-palette7);
        border: 1px solid var(--outline-color);
        border-radius: 0.5rem;
        padding: 1.5rem;
        margin: 0.75rem 0;
    }

    .nowl-video-component .nowl-video__player {
        aspect-ratio: 16/9;
        margin-bottom: 1rem;
    }

    .nowl-video-component .nowl-video__player iframe,
    .nowl-video-component .nowl-video__embed {
        width: 100%;
        height: 100%;
    }

    .nowl-video-component .nowl-video__url-fallback {
        padding: 1.25rem;
        text-align: center;
        background: var(--global-palette8);
        border-radius: 0.5rem;
        border: 1px solid var(--outline-color);
    }

    .nowl-video-component .nowl-video__url-fallback p {
        margin: 0;
        color: var(--global-palette5);
    }

    .nowl-video-component .nowl-video__url-fallback a {
        color: var(--global-palette1);
        text-decoration: underline;
    }

    .nowl-video-component .nowl-video__url-fallback a:hover {
        color: var(--global-palette2);
    }

    .nowl-video-component .nowl-video__no-video {
        padding: 1.25rem;
        text-align: center;
        color: var(--global-palette5);
    }

    .nowl-video-component .nowl-video__locked {
        aspect-ratio: 16/9;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--global-palette8);
        border-radius: 0.5rem;
        border: 1px solid var(--outline-color);
        position: relative;
    }

    .nowl-video-component .nowl-video__lock-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 2rem;
        text-align: center;
    }

    .nowl-video-component .nowl-video__lock-placeholder i {
        font-size: 3rem;
        color: var(--global-palette5);
        margin-bottom: 0.5rem;
    }

    .nowl-video-component .nowl-video__lock-message {
        margin: 0;
        color: var(--global-palette5);
        font-size: 1rem;
    }

    .nowl-video-component .nowl-video__lock-message strong {
        color: var(--global-palette3);
        font-weight: 600;
    }

    .nowl-video-component .nowl-video__upgrade-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: var(--global-palette1);
        color: var(--global-palette5);
        text-decoration: none;
        border-radius: 0.5rem;
        font-weight: 600;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nowl-video-component .nowl-video__upgrade-link:hover {
        background: var(--global-palette2);
        color: var(--global-palette5);
        text-decoration: none;
    }

    .nowl-video-component .nowl-video__upgrade-link i {
        font-size: 1rem;
        margin: 0;
    }

    .nowl-video-component .nowl-video__title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        font-weight: 600;
        color: var(--global-palette3);
    }

    .nowl-video-component .nowl-video__expert {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: var(--global-palette5);
    }

    .nowl-video-component .nowl-video__expert strong {
        color: var(--global-palette3);
        font-weight: 600;
    }

    .nowl-video-component .nowl-video__expertise {
        margin-left: 0.5rem;
        color: var(--global-palette5);
    }

    .nowl-video-component .nowl-video-card__labels {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .nowl-video-component .nowl-video__footer {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--outline-color);
    }

    .nowl-video-component .nowl-video__link {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: var(--global-palette4);
        text-decoration: underline;
        font-size: 0.875rem;
        transition: color 0.2s ease;
    }

    .nowl-video-component .nowl-video__link:hover {
        color: var(--global-palette2);
    }

    .nowl-video-component .nowl-video__link i {
        font-size: 0.875rem;
    }

    /* --- Expert Component --- */
    .nowl-expert-component {
        background: var(--global-palette7);
        border: 1px solid var(--outline-color);
        border-radius: 0.5rem;
        padding: 1.5rem;
        margin: 0.75rem 0;
    }

    .nowl-expert-component .nowl-expert__content {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .nowl-expert-component .nowl-expert__image {
        flex-shrink: 0;
    }

    .nowl-expert-component .nowl-expert__photo {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--outline-color);
    }

    .nowl-expert-component .nowl-expert__info {
        flex: 1;
        text-align: left;
    }

    .nowl-expert-component .nowl-expert__name {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        font-weight: 600;
        color: var(--global-palette3);
    }

    .nowl-expert-component .nowl-expert__expertise {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        color: var(--global-palette4);
        font-weight: 500;
    }

    .nowl-expert-component .nowl-expert__bio {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--global-palette5);
    }

    .nowl-expert-component .nowl-expert__footer {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--outline-color);
        text-align: center;
    }

    .nowl-expert-component .nowl-expert__link {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: var(--global-palette4);
        text-decoration: underline;
        font-size: 0.875rem;
        transition: color 0.2s ease;
    }

    .nowl-expert-component .nowl-expert__link:hover {
        color: var(--global-palette2);
    }

    .nowl-expert-component .nowl-expert__link i {
        font-size: 0.875rem;
    }

    /* --- Post Card Component --- */
    .nowl-post-card-component {
        background: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        padding: 1rem;
        max-width: 320px;
        width: 320px;
        min-width: 320px;
        display: flex;
        flex-direction: column;
        row-gap: 0.5rem;
        height: 100%;
        min-height: 400px;
        position: relative;
        overflow: hidden;
    }

    .nowl-post-card-component .nowl-post-card__embed {
        aspect-ratio: 16/9;
        margin-bottom: 0;
    }

    .nowl-post-card-component .nowl-post-card__embed iframe,
    .nowl-post-card-component .nowl-video__embed {
        width: 100%;
        height: 100%;
    }

    .nowl-post-card-component .nowl-post-card__image {
        margin-bottom: 0;
    }

    .nowl-post-card-component .nowl-post-card__thumbnail {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        border-radius: 0.5rem;
    }

    /* Journey card - small square icon */
    .nowl-post-card-component .nowl-post-card__journey-icon {
        margin-bottom: 0;
    }

    .nowl-post-card-component .nowl-post-card__journey-icon-img {
        max-width: 3.5rem;
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 20px;
        object-fit: cover;
    }

    .nowl-post-card-component .nowl-expert__photo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--outline-color);
    }

    .nowl-post-card-component .nowl-post-card__content {
        display: flex;
        gap: 1rem;
        align-items: center;
        margin-bottom: 0;
    }

    .nowl-post-card-component .nowl-post-card__title {
        font-size: 1.3rem;
        margin: 0;
        line-height: 1.2;
        font-weight: 600;
        color: var(--global-palette3);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nowl-post-card-component .nowl-post-card__expert {
        font-size: 1rem;
        margin: 0;
        color: var(--global-palette5);
    }

    .nowl-post-card-component .nowl-post-card__expert strong {
        color: var(--global-palette3);
        font-weight: 600;
    }

    .nowl-post-card-component .nowl-video__expertise {
        margin-left: 0.5rem;
        color: var(--global-palette5);
    }

    .nowl-post-card-component .nowl-post-card__expertise {
        font-size: 1rem;
        margin: 0;
        color: var(--global-palette4);
        font-weight: 500;
    }

    .nowl-post-card-component .nowl-post-card__meta {
        display: flex;
        gap: 0.5rem;
        margin: 0;
        flex-wrap: wrap;
    }

    .nowl-post-card-component .nowl-post-card__year,
    .nowl-post-card-component .nowl-post-card__type,
    .nowl-post-card-component .nowl-post-card__ai-type {
        font-size: 0.875rem;
        color: var(--global-palette5);
        background: var(--global-palette8);
        padding: 0.25rem 0.75rem;
        border-radius: 0.25rem;
    }

    .nowl-post-card-component .nowl-post-card__labels {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin: 0;
    }

    /* Pill labels in post cards */
    .nowl-post-card-component .nowl-pill-label {
        padding: 4px 12px;
        font-size: 0.9rem;
        line-height: 1.2;
        font-weight: 400;
        border-radius: 8rem;
        background-color: var(--global-palette1);
        color: var(--text-on-accent);
        text-wrap: nowrap;
    }

    .nowl-post-card-component .nowl-pill-label--category {
        background-color: var(--expert-videos-pill);
        color: var(--global-palette3);
    }

    /* Purple pill for research type */
    .nowl-post-card-component .nowl-pill-label--type {
        background-color: var(--global-palette2);
        color: var(--text-on-accent);
    }

    /* Pills container for research entries */
    .nowl-post-card-component .nowl-pills {
        display: inline-flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin: 0;
    }

    .nowl-post-card-component .nowl-post-card__excerpt {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--global-palette5);
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-grow: 0;
    }

    .nowl-post-card-component .nowl-post-card__summary {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--global-palette5);
        margin: 0;
        padding: 0.75rem;
        background: var(--global-palette8);
        border-radius: 0.5rem;
        border: 1px solid var(--outline-color);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-grow: 0;
    }

    /* Research entry summary - no container (matches archive) */
    .nowl-post-card-component[data-post-type="research_entry"] .nowl-post-card__summary {
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
    }


    .nowl-post-card-component .nowl-post-card__footer {
        margin-top: auto;
        padding-top: 0.75rem;
        border-top: 1px solid var(--outline-color);
    }

    .nowl-post-card-component .nowl-post-card__link {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: var(--global-palette4);
        text-decoration: underline;
        font-size: 0.875rem;
        transition: color 0.2s ease;
    }

    .nowl-post-card-component .nowl-post-card__link:hover {
        color: var(--global-palette2);
    }

    .nowl-post-card-component .nowl-post-card__link i {
        font-size: 0.875rem;
    }

    /* Lock overlay (reusing archive card styles) */
    .nowl-post-card-component .nowl-card__restricted {
        z-index: 10;
        font-size: 0.875rem;
        padding: 0.4rem 0.3rem;
    }

    .nowl-post-card-component .nowl-card__lock-icon i {
        font-size: 1rem;
    }

    /* Copilot Note Component - Subdued background style */
    .nowl-copilot-note-component {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.625rem 0.875rem;
        margin: 0.5rem 0;
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-left: 2px solid var(--global-palette5);
        border-radius: 0.5rem;
        opacity: 0.85;
    }

    .nowl-copilot-note-component__icon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--global-palette5);
        font-size: 1rem;
        line-height: 1;
    }

    .nowl-copilot-note-component__icon i {
        font-size: 1rem;
    }

    .nowl-copilot-note-component__content {
        flex: 1;
        min-width: 0;
    }

    .nowl-copilot-note-component__label {
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--global-palette5);
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 0.025em;
    }

    .nowl-copilot-note-component__summary {
        font-size: 0.8125rem;
        color: var(--global-palette4);
        line-height: 1.4;
        word-wrap: break-word;
    }

    .nowl-copilot-note-component__change {
        font-weight: 500;
        color: var(--global-palette3);
        background: var(--global-palette7);
        padding: 0.125rem 0.25rem;
        border-radius: 0.25rem;
    }

}

/* Mobile responsive styles for input bar */
@media (max-width: 768px) {
    .nowl-ai-chat-page.app-portal__body {
        .nowl-input-area {
            margin: 0.75rem;
        }

        .nowl-input {
            padding: 0.875rem 1rem;
            font-size: 1rem;
            min-height: calc(1rem * 1.5 + 1.5rem);
            max-height: 180px;
        }

        .nowl-actions {
            padding: 0.375rem;
            gap: 0.25rem;
        }

        .nowl-action-btn {
            width: 38px;
            height: 38px;
        }

        .nowl-action-btn i {
            font-size: 1.1875rem;
        }

        .nowl-reset-btn {
            width: 44px;
            height: 44px;
        }

        .nowl-reset-btn i {
            font-size: 1.375rem;
        }

        .quota-indicator {
            width: 30px;
            height: 30px;
        }

        .quota-indicator__circle {
            width: 30px;
            height: 30px;
        }

        .nowl-send-btn {
            width: 39px;
            height: 39px;
        }

        .nowl-send-btn i {
            font-size: 1.25rem;
        }
    }
}

/* Keyframes must be at root level for animations to work */
@keyframes nowl-action-log-dot {
    0%, 60%, 100% {
        transform: translateY(2px) scale(1);
        opacity: 0.6;
    }
    30% {
        transform: translateY(0) scale(1.2);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ph-spin {
    animation: spin 1s linear infinite;
}

/* css/portal-retired.css */
.portal-retired {
    display: flex;
    justify-content: center;
    padding: 6rem 1.5rem;
}

.portal-retired__inner {
    max-width: 38rem;
    width: 100%;
}

.portal-retired__title {
    margin: 0 0 1rem;
}

.portal-retired__lede {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.portal-retired__links {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.portal-retired__links a {
    display: block;
    padding: 0.875rem 1.125rem;
    border: 1px solid currentColor;
    border-radius: 0.5rem;
    text-decoration: none;
}

.portal-retired__links a:hover,
.portal-retired__links a:focus-visible {
    text-decoration: underline;
}

.portal-retired__footnote {
    margin: 0;
    opacity: 0.85;
}

/* css/login-facade.css */
.nowl-login {
    width: 100%;
}

.nowl-login__notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.125rem;
    border-left: 3px solid var(--global-palette3, #f5a623);
    border-radius: 4px;
    background: var(--global-palette8, #f7f7f7);
    color: var(--global-palette4, #2d2d2d);
    font-size: 0.95rem;
    line-height: 1.5;
}

.nowl-login #nowl-login-form p {
    margin: 0 0 1rem;
}

.nowl-login #nowl-login-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nowl-login #nowl-login-form input[type="text"],
.nowl-login #nowl-login-form input[type="password"] {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--global-palette7, #d6d6d6);
    border-radius: 4px;
    font-size: 1rem;
}

.nowl-login #nowl-login-form .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
}

.nowl-login #nowl-login-form .login-submit input[type="submit"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 4px;
    background: var(--global-palette1, #1e1e3f);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.nowl-login #nowl-login-form .login-submit input[type="submit"]:hover {
    background: var(--global-palette2, #33335c);
}

.nowl-login__help {
    margin: 1rem 0 0;
    font-size: 0.9rem;
}

.nowl-login__greeting {
    margin: 0 0 1rem;
}

.nowl-login__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.nowl-login__button {
    display: inline-block;
    padding: 0.7rem 1.1rem;
    border-radius: 4px;
    background: var(--global-palette1, #1e1e3f);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.nowl-login__button:hover {
    background: var(--global-palette2, #33335c);
    color: #fff;
}

/* css/signup.css */
.pricing-page .nowl-portal-page-title {
    text-align: center;
}

.pricing-page-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.pricing-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    column-gap: 1rem;
    row-gap: 2rem;
    max-width: 1440px;
}

.pricing-boxes.is-hidden {
    display: none !important;
}

.pricing-organizations-wrapper {
    width: 100%;
    max-width: none;
}

.pricing-page .nowl-standalone-content {
    max-width: none;
}

.pricing-organizations-wrapper.is-hidden {
    display: none !important;
}

.pricing-card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.pricing-card {
    background-color: var(--global-palette9);
    border: 1px solid var(--outline-color);
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
}

.pricing-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 1rem;
    text-align: left;
}

.pricing-card-title[style*="text-align: center"] {
    text-align: center !important;
    width: 100%;
    align-self: center;
}

.pricing-card-price {
    font-size: 2rem;
    line-height: 1;
    font-weight: normal;
    margin: 0 0 1rem;
}

.pricing-card-heading {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.pricing-card-benefits {
    width: 100%;
}

.pricing-benefits-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-benefit-item {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    display: flex;
    align-items: start;
}

.pricing-benefit-item i {
    font-size: 1rem;
    line-height: 1.5;
    margin-right: 0.5rem;
    color: var(--global-palette2);
    flex-shrink: 0;
}

.pricing-card-foot {
    margin-top: auto;
    padding-top: 3rem;
    width: 100%;
}

.pricing-card-footer {
    font-size: 0.9rem;
}

.pricing-card-wrapper--organizations {
    max-width: 850px;
    margin: 0 auto;
}

.pricing-card-title--centered {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    align-self: center;
}

.pricing-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.pricing-card-section {
    margin-bottom: 2rem;
}

.pricing-card-heading--spaced {
    margin-bottom: 1rem;
}

.pricing-card-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.pricing-fair-use {
    font-size: 0.9rem;
    color: var(--global-palette5);
    margin: 0 0 0.5rem;
    text-align: left;
}

/* Signup shortcode theme: light — darker page background (palette 9), cards and toggle use palette 8 */
.nowl-signup-shortcode.nowl-signup-shortcode--light .plan-toggle {
    background: var(--global-palette8);
}

.nowl-signup-shortcode.nowl-signup-shortcode--light .pricing-card {
    background-color: var(--global-palette8);
}

@media (max-width: 900px) {
    .pricing-boxes {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-card-buttons {
        flex-direction: column;
    }
    
    .pricing-card-buttons .nowl-button {
        width: 100%;
    }
}

/* css/blocks/steps.css */
.steps-block {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    counter-reset: step;


    .steps-block__item {
        display: flex;
        align-items: center;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        position: relative;
        counter-increment: step;
    }

    .steps-block__icon-wrapper {
        margin-right: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        flex-shrink: 0;
    }

    .steps-block__icon {
        background: var(--global-palette7);
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 24px;
        z-index: 1;
        position: relative;
    }

    i::before {
        color: var(--global-palette3);
        font-size: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .steps-block__line {
        position: absolute;
        top: 50%;
        left: 62px;
        width: 5px;
        height: calc(100% + 1.5rem);
        background: var(--global-palette7);
        z-index: 0;
    }

    .steps-block__item:last-child .steps-block__line {
        display: none;
    }

    .steps-block__content {
        flex: 1;
    }

    .steps-block__title {
        font-weight: 600;
        font-size: 1.3rem;
        margin: 0 0 1rem;
        color: var(--global-palette3);
        display: inline;
        align-items: baseline;
    }

    .steps-block__title::before {
        content: counter(step) ".";
        font-weight: 700;
        color: var(--global-palette3);
        margin-right: 4px;
        text-wrap: nowrap;
    }

    .steps-block__desc {
        margin: 0;
        color: var(--global-palette5);
        font-size: 1.1rem;
    }

    a {
        text-decoration: underline;
        color: var(--global-palette4) !important;
    }

    a:hover {
        color: var(--global-palette-highlight) !important;
    }

    .steps-block__icon--highlight {
        background: var(--global-palette-highlight);
    }

    .steps-block__line--highlight {
        background: var(--global-palette-highlight);
    }

    @media (max-width: 600px) {
        .steps-block__item {
            padding: 0;
        }

        .steps-block__line {
            left: 38px;
        }

        .steps-block__icon-wrapper {
            margin-right: 1.5rem;
        }

        .steps-block__line {
            left: 26px;
            height: calc(100% + 1.5rem);
        }

        .steps-block__icon {
            width: 56px;
            height: 56px;
        }

        i::before {
            font-size: 2.5rem;
        }
    }
}

/* css/blocks/content-preview.css */
.nowl-content-preview {
    margin-block: 1rem;
}

.nowl-content-preview .ai-tools-card,
.nowl-content-preview .nowl-course-card,
.nowl-content-preview .journey-card,
.nowl-content-preview .nowl-video-card {
    max-width: 350px;
    height: 100%;
}

.nowl-content-preview--icon {
    max-width: 120px;
    width: 100%;
}

.nowl-content-preview--icon .nowl-icon {
    height: 100%;
}

.nowl-content-preview .nowl-icon:hover {
    background-color: var(--global-palette9);
}

/* css/blocks/cta.css */
.cta-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid var(--outline-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--global-palette9);
    max-width: 800px;
    margin-block: 1rem;
}

.cta-block--full {
    max-width: none;
    width: 100%;
}

.cta-block--card {
    background-color: var(--global-palette7);
}

.cta-block--flip {
    direction: rtl;
}

.cta-block--flip > * {
    direction: ltr;
}

.cta-block__figure img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.25rem;
}

.cta-block__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-block__title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.cta-block__body {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cta-block--chip {
    display: flex;
    background: none;
    border: none;
    width: fit-content;
    padding: 0;
}

.cta-block__figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-block .nowl-card {
    max-width: 350px
}

@media (max-width: 767px) {
    .cta-block {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: .75rem;
    }

    .cta-block__title {
        font-size: 1.2rem;
    }

    .cta-block__body {
        font-size: .9rem;
    }

    .cta-block__body p {
        margin-top: 0;
        margin-bottom: 0;
    }

    .cta-block__button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .cta-block > div > img {
        max-height: 150px;
    }
}

/* css/events-single.css */
.event-single {
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;

    .event-back {
        margin: 0 0 1.5rem 0;
    }

    .event-single__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 2.5rem;
        align-items: start;
    }

    .page-title {
        margin: 0.5rem 0 1rem;
        font-size: 2.5rem;
        line-height: 1.15;
        color: var(--global-palette3);
    }

    .event-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nowl-pill-label--type {
        background-color: var(--global-palette2);
    }

    .nowl-pill-label--past {
        background-color: var(--global-palette7);
        color: var(--global-palette4);
    }

    .event-summary {
        color: var(--global-palette4);
        font-size: 1.15rem;
        line-height: 1.6;
        margin: 0 0 1.5rem;
    }

    .event-tags-list {
        list-style: none;
        margin: 0 0 2rem;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;

        li {
            background-color: var(--global-palette7);
            color: var(--global-palette3);
            padding: 2px 10px;
            border-radius: 999px;
            font-size: 0.9rem;
            border: 1px solid var(--outline-color);
        }
    }

    .event-content {
        background: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        padding: 1.25rem 1.5rem;
        color: var(--global-palette3);

        p {
            line-height: 1.7;
            margin: 0 0 1rem 0;
            color: var(--global-palette4);
        }

        h2, h3, h4 {
            color: var(--global-palette2);
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
        }

        ul, ol {
            padding-left: 1.2rem;
            margin: 0 0 1rem 0;
        }

        a {
            color: var(--global-palette2);
        }

        blockquote {
            margin: 1rem 0;
            padding: 0.75rem 1rem;
            border-left: 3px solid var(--global-palette2);
            background: var(--global-palette9);
            color: var(--global-palette4);
            border-radius: 0 0.5rem 0.5rem 0;
        }
    }

    .event-single__aside {
        position: sticky;
        top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .event-cover {
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        overflow: hidden;
        background: var(--global-palette9);

        img {
            width: 100%;
            height: auto;
            display: block;
            aspect-ratio: 16 / 9;
            object-fit: cover;
        }
    }

    .event-details-card {
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        background: var(--global-palette8);
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .event-details-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        li {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            color: var(--global-palette3);
            font-size: 1rem;
        }

        i {
            font-size: 1.3rem;
            color: var(--global-palette2);
            line-height: 1.3;
        }

        span {
            display: flex;
            flex-direction: column;
        }
    }

    .event-details-list__label {
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--global-palette5);
    }

    .event-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;

        i {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 900px) {
        .event-single__layout {
            grid-template-columns: 1fr;
        }

        .event-single__aside {
            position: static;
            order: -1;
            max-width: 360px;
        }
    }

    @media (max-width: 767px) {
        padding-top: 1rem;

        .page-title {
            font-size: 1.75rem;
        }
    }
}

/* css/forms.css */
/** normal forms */
html:not(.app-portal) {

    .gform_wrapper .ginput_container input,
    .gform_wrapper textarea {
        background-color: var(--global-palette7);
        border: 1px solid var(--outline-color);
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--global-palette5);
    }

    select {
        color-scheme: dark;
    }

    /* Dropdown options: light text on dark background (fixes legibility on Windows) */
    select option,
    select optgroup {
        color: var(--global-palette5);
        background-color: var(--global-palette9);
    }

    .gform_wrapper .ginput_container select {
        color: var(--global-palette5);
    }

    .gfield_label {
        color: var(--global-palette5);
        font-size: 1rem !important;
        line-height: 1.2;
        font-weight: 400 !important;
    }

    .gfield_radio,
    .gfield_checkbox {
        display: grid;
        grid-column-gap: 0.5rem !important;
        grid-row-gap: 0.4rem;
        line-height: 1.2;
    }

    @media only screen and (min-width: 641px) {
        .gchoice_1_9_6,
        .gchoice_3_9_6 {
            grid-column: span 2;
        }
    }

    .gchoice {
        margin: auto 0;
    }

    .gfield_radio .gform-field-label,
    .gfield_checkbox .gform-field-label {
        font-size: 0.9rem !important;
        line-height: 1.2;
    }

    .gform_required_legend {
        display: none;
    }

    .gform_button,
    .gform_next_button,
    .gform_previous_button {
        background: none !important;
        border: 2px solid var(--global-palette1) !important;
        padding: 0.5rem 2rem !important;
        border-radius: 4px !important;
        color: var(--global-palette3) !important;
    }

    .gform_button:hover,
    .gform_next_button:hover,
    .gform_previous_button:hover {
        border: 2px solid var(--global-palette2) !important;
    }

    .gfield_required {
        color: var(--global-palette3) !important;
    }

    .gfield_required {
        color: var(--global-palette3) !important;
    }

    .gform_wrapper input:disabled {
        color: var(--global-palette6);
        background-color: var(--global-palette8);
        opacity: 60%;
    }

    .gform_page_footer {
        display: flex;
        row-gap: 1rem;
        column-gap: 1rem;
        flex-wrap: wrap;
    }

    .gform_page_footer input {
        margin: 0 !important;
    }

    .gfield_error-label,
    .gform_wrapper .validation_message,
    .gfield_error,
    .gfield_error legend,
    .gform_validation_errors h2,
    .gform_submission_error,
    .gform_validation_errors h2.gform_submission_error {
        color: var(--global-palette5) !important;
        font-size: 1rem!important;
        line-height: 1.6rem!important;
        font-weight: 400!important;
        border-radius: 3px!important;
    }

    .gform_submission_error .gform-icon {
        color: var(--global-palette5) !important;
    }

    .gform_wrapper .validation_message {
        color: var(--global-palette5) !important;
        background-color: var(--error-background) !important;
        border-color: var(--error-border) !important;
        border-radius: 3px!important;
        padding: 0.5rem;
    }

    .gform_wrapper .gform_validation_errors {
        color: var(--global-palette5) !important;
        background-color: var(--error-background) !important;
        border-color: var(--error-border) !important;
        border-radius: 3px!important;
        padding: .5rem .8rem .5rem 3.2rem;
    }

    .gform_wrapper.gravity-theme .gform_validation_errors:focus {
        outline: none;
        outline-offset: 0;
    }

    .gform_wrapper .gfield_error [aria-invalid="true"],
    .gform_validation_errors {
        border-color: var(--error-border) !important;
    }

    .contact-support-form,
    .schedule-consultation-form {
        .gform_wrapper,
        .gform_confirmation_wrapper {
            background-color: var(--global-palette8);
            padding: 2rem;
            border-radius: 1rem;
            border: 1px solid var(--outline-color);
        }
    }

    .early-access-form {
        .gform_wrapper,
        .gform_confirmation_wrapper {
            background-color: var(--global-palette8);
            padding: 0;
            border-radius: 0;
            border: 0;
        }
        .gform_fields{
            display:flex!important;
        }

        .ginput_container_email input{
            height:43px;
        }

        .gform-footer{
            display:none!important;
        }

        .gform_wrapper{
            background-color: transparent;
            padding:0;
            border-radius:0;
            border: 0;
        }

        .validation_message {
            display:none;
        }

        .gfield--type-email {
            flex-grow: 1;
        }
        .gfield--type-submit {
            flex-shrink: 0;
        }
        .ginput_container_email input {
            width: 100%!important;
        }
        @media (max-width: 640px){
            .gform_fields {
                grid-column-gap: 8px;
            }
            .gform-button {
                line-height: 1.6!important;
            }
        }
        @media (max-width: 450px) {
            .gform_fields {
                flex-direction: column;
                align-items: stretch;
                grid-row-gap: 8px!important;
            }
            .gform-button {
                width: 100%;
            }
        }

    }
}


/* portal forms */
.app-portal {

    .gform_wrapper.gravity-theme {

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background-color: var(--global-palette8);
        border: none;
        font-style: normal;
        font-weight: 400 !important;
        font-size: 1.1rem !important;
        line-height: 1.6rem !important;
        font-family: var(--global-body-font-family);
        color: var(--global-palette5);
        width: 100%;

        .gform_required_legend {
            display: none;
        }

        form {
            width: 100%;
            max-width: 450px;
        }

        .gform_body {
            background-color: var(--global-palette8);
            width: 100%;
        }

        .gf_progressbar {
            background: var(--global-palette9);
        }

        .gf_progressbar_percentage {
            background-color: var(--global-palette1)!important;
        }

        .gfield_label,
        .gfield_required {
            font-weight: 400 !important;
            font-size: 1.1rem !important;
            line-height: 1.6rem !important;
            color: var(--global-palette5) !important;
            margin-bottom: 0.2rem;
        }

        .gfield {
            margin-bottom: 15px;
        }

        .ginput_container input:not([type="radio"]):not([type="checkbox"]),
        .ginput_container textarea,
        .ginput_container select {
            background-color: var(--global-palette9) !important;
            width: 100%;
            margin: 0 0 1rem 0;
            border: 1px solid transparent !important;
        }

        .ginput_container select {
            color: var(--global-palette5);
            color-scheme: dark;
        }

        /* Dropdown options: light text on dark background (fixes legibility on Windows) */
        .ginput_container select option {
            color: var(--global-palette5);
            background-color: var(--global-palette9);
        }

        .ginput_container input:focus,
        .ginput_container textarea:focus,
        .ginput_container select:focus {
            border: 1px solid var(--global-palette2) !important;
            border-color: #0073aa;
            outline: none;
        }

        .ginput_counter {
            color: var(--global-palette5);
            margin: 0 !important;;
            padding: 0 !important;
        }

        /* Error Messages */

        .gfield_error-label,
        .gform_wrapper .validation_message,
        .gfield_error,
        .gfield_error legend,
        .gform_validation_errors h2,
        .gform_submission_error,
        .gform_validation_errors h2.gform_submission_error {
            color: var(--global-palette5) !important;
            font-size: 1rem!important;
            line-height: 1.6rem!important;
            font-weight: 400!important;
            border-radius: 3px!important;
        }

        .gform_submission_error .gform-icon {
            color: var(--global-palette5) !important;
        }

        .validation_message {
            color: var(--global-palette5) !important;
            background-color: var(--error-background) !important;
            border-color: var(--error-border) !important;
            border-radius: 3px!important;
            padding: 0.5rem;
        }

        .gform_validation_errors {
            color: var(--global-palette5) !important;
            background-color: var(--error-background) !important;
            border-color: var(--error-border) !important;
            border-radius: 3px!important;
            padding: .5rem .8rem .5rem 3.2rem;
            max-width: 450px;
        }

       .gform_validation_errors:focus {
            outline: none;
        }

        .gform_validation_errors ol {
            display: none!important;
        }

        .gform_validation_errors>h2 {
            margin-block-end: 0;
        }

        /* Form Notes */

        .gform_wrapper .gform_footer {
            text-align: center;
        }

        /* Submit Button */

        .gform_wrapper .gform_button {
            width: 100%;
            color: var(--text-on-accent);
        }
    }

    .gform_confirmation_wrapper {
        border: none;
    }


    .gform_button,
    .gform_next_button  {
        background: var(--global-palette1) !important;
        border: 2px solid var(--global-palette1) !important;
        padding: 0.5rem 2rem !important;
        border-radius: 4px !important;
        color: var(--text-on-accent); !important;
    }

    .gform_previous_button,
    .gform-theme-button--secondary {
        background: none !important;
        border: 2px solid var(--global-palette1) !important;
        padding: 0.5rem 2rem !important;
        border-radius: 4px !important;
        color: var(--text-on-accent); !important;
    }

    .gform_button:hover,
    .gform_next_button:hover {
        background: var(--global-palette2) !important;
        border: 2px solid var(--global-palette2) !important;
        color: var(--text-on-accent)!important;
    }

    .gform_previous_button:hover {
        border: 2px solid var(--global-palette2) !important;
        color: var(--text-on-accent)!important;
    }

    .gform_button_select_files {
        color: var(--text-on-accent)!important;
    }

    .gform_button_select_files:hover,
    .gform_button_select_files:active,
    .gform_button_select_files:focus {
        color: var(--text-on-accent)!important;
    }
}

/* css/components/usage-limit.css */
.usage-limit-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.usage-limit {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    &.rate-limited .usage-limit-pill {
        background: var(--error-background);
        border-color: var(--error-border);
        color: var(--global-palette3);
    }
}

.usage-limit-pill {
    border: 1px solid var(--outline-color);
    display: flex;
    gap: .5rem;
    background: var(--global-palette7);
    padding: 4px 14px;
    border-radius: 999px;
}

.usage-status-limit__label,
.usage-status-limit__count {
    font-size: .9rem;
}

.usage-status-limit__upgrade {
    font-size: 1rem;
    display: flex;
    align-self: end;
    align-items: center;
}

/* ---------------- COMPACT VARIANT ---------------- */
.usage-limit-wrapper.usage-limit--compact {
    flex-direction: row;
    align-items: center;
    gap: .75rem;
}

.usage-limit-wrapper.usage-limit--compact .usage-limit {
    flex-direction: row;
    align-items: center;
    gap: .75rem;
}

.usage-limit-wrapper.usage-limit--compact .usage-limit-pill {
    padding: 2px 8px;
    font-size: 0.8rem;
    gap: .25rem;
}

.usage-limit-wrapper.usage-limit--compact .usage-status-limit__label,
.usage-limit-wrapper.usage-limit--compact .usage-status-limit__count {
    font-size: 0.8rem;
}

.usage-limit-wrapper.usage-limit--compact .usage-status-limit__upgrade {
    font-size: 0.8rem;
    align-self: center;
    margin-left: .5rem;
    white-space: nowrap;
}

/* css/components/unauthorized.css */
.nowl-unauthorized__notice {
    background: var(--warning-background-transparent);
    text-align: center;
    padding: 1rem;
    width: 100%;
    color: var(--global-palette5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 0;
    pointer-events: auto;
    z-index: 9;
}

.nowl-unauthorized__notice p {
    margin: 0 !important;
}

.nowl-unauthorized__cta {
    color: var(--global-palette5);
    font-weight: bold;
    font-size: 1.1rem;
}

.nowl-unauthorized__cta:visited {
    color: var(--global-palette5);
}

.nowl-unauthorized__cta:hover {
    color: var(--global-palette2);
    text-decoration: none;
}

.nowl-unauthorized__cta i {
    margin-right: 0.5rem;
}

.nowl-unauthorized__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9;
}

.nowl-card__restricted {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--global-palette5);
    background-color: var(--warning-background-transparent);
    border-bottom: 1px solid var(--outline-color);
    padding: 0.3rem;
}
.nowl-card__lock-icon {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}
.nowl-card__access-text {
    font-weight: 400;
    margin: 0;
}

/* css/components/announcement-banner.css */
.nowl-announcement {
    position: relative;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.4;
    --nowl-announcement-bg: var(--global-palette1);
    --nowl-announcement-fg: var(--global-palette3);
    --nowl-announcement-link: var(--global-palette3);
    background: var(--nowl-announcement-bg);
    color: var(--nowl-announcement-fg);
}

.nowl-announcement[hidden] {
    display: none;
}

.nowl-announcement--info {
    --nowl-announcement-bg: var(--global-palette1);
    --nowl-announcement-fg: var(--global-palette3);
}

.nowl-announcement--success {
    --nowl-announcement-bg: var(--success-background);
    --nowl-announcement-fg: var(--global-palette3);
}

.nowl-announcement--warning {
    --nowl-announcement-bg: var(--warning-background);
    --nowl-announcement-fg: var(--global-palette3);
}

.nowl-announcement--sticky {
    position: sticky;
    top: 0;
    z-index: 10;
}

body.nowl-announcement-sticky-active .public-header {
    top: var(--nowl-announcement-height, 0px);
}

.nowl-announcement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.65rem 3rem;
}

.nowl-announcement__message {
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.nowl-announcement__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: var(--nowl-announcement-link);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nowl-announcement__cta:hover,
.nowl-announcement__cta:focus {
    background: var(--nowl-announcement-fg);
    color: var(--nowl-announcement-bg);
}

.nowl-announcement__dismiss {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: transparent;
    border: 0;
    color: currentColor;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.nowl-announcement__dismiss:hover,
.nowl-announcement__dismiss:focus {
    opacity: 1;
}

@media (max-width: 767px) {
    .nowl-announcement__inner {
        flex-wrap: wrap;
        gap: 0.6rem;
        padding: 0.6rem 2.5rem;
    }

    .nowl-announcement__message {
        flex: 1 1 100%;
        order: 1;
    }

    .nowl-announcement__cta {
        order: 2;
    }

    .nowl-announcement__dismiss {
        right: 0.6rem;
    }
}

/* css/public-header.css */
.nowl-auth-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    .site-container {
        padding: 0 .5rem !important;
    }

    .nowl-auth-buttons .nowl-button--outline,
    .nowl-auth-buttons .nowl-button {
        padding: 0.4rem .5rem;
        font-size: 1rem;
    }

    html:not(.app-portal) {
        .navbar__profile-button {
            padding: 0 !important;
        }
    }
}

.navbar__profile-dropdown-item {
    text-wrap: nowrap;
}

.main-navigation .sub-menu {
    overflow: visible !important;
}

/* css/pricing.css */
.signup-page .nowl-portal-page-title,
.pricing-page .nowl-portal-page-title {
    text-align: center;
}

.pricing-page-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.plan-toggle {
    display: inline-flex;
    background: var(--global-palette9);
    border-radius: 100px;
    padding: 4px;
    margin-bottom: 1rem;
}

.plan-toggle__item {
    flex: 1;
    text-align: center;
    padding: .3rem 1.2rem;
    color: var(--global-palette3);
    border-radius: 100px;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: .8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-wrap: nowrap;
}

.plan-toggle__item.is-active {
    background: var(--global-palette-highlight);
    color: var(--global-palette3);
}

.plan-toggle__item:not(.is-active):hover,
.plan-toggle__item:not(.is-active):focus {
    color: var(--global-palette-highlight);
    outline: none;
    background: transparent;
}

.pricing-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    column-gap: 1rem;
    row-gap: 2rem;
    max-width: 1440px;
}

.pricing-boxes.is-hidden {
    display: none !important;
}

.pricing-organizations-wrapper {
    width: 100%;
    max-width: none;
}

.signup-page .nowl-standalone-content,
.pricing-page .nowl-standalone-content {
    max-width: none;
}

.pricing-organizations-wrapper.is-hidden {
    display: none !important;
}

.pricing-card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.pricing-card {
    background-color: var(--global-palette9);
    border: 1px solid var(--outline-color);
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
}

.pricing-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 1rem;
    text-align: left;
}

.pricing-card-title[style*="text-align: center"] {
    text-align: center !important;
    width: 100%;
    align-self: center;
}

.pricing-card-price {
    font-size: 2rem;
    line-height: 1;
    font-weight: normal;
    margin: 0 0 1rem;
}

.pricing-card-heading {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.pricing-card-benefits {
    width: 100%;
}

.pricing-benefits-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-benefit-item {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    display: flex;
    align-items: start;
}

.pricing-benefit-item i {
    font-size: 1rem;
    line-height: 1.5;
    margin-right: 0.5rem;
    color: var(--global-palette2);
    flex-shrink: 0;
}

.pricing-card-foot {
    margin-top: auto;
    padding-top: 3rem;
    width: 100%;
}

.pricing-card-footer {
    font-size: 0.9rem;
}

.pricing-card-wrapper--organizations {
    max-width: 850px;
    margin: 0 auto;
}

.pricing-card-title--centered {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    align-self: center;
}

.pricing-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.pricing-card-section {
    margin-bottom: 2rem;
}

.pricing-card-heading--spaced {
    margin-bottom: 1rem;
}

.pricing-card-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.pricing-fair-use {
    font-size: 0.9rem;
    color: var(--global-palette5);
    margin: 0 0 0.5rem;
    text-align: left;
}

@media (max-width: 900px) {
    .pricing-boxes {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-card-buttons {
        flex-direction: column;
    }
    
    .pricing-card-buttons .nowl-button {
        width: 100%;
    }
}

/* css/reports/lead-capture.css */
.nowl-report-download__trigger {
    cursor: pointer;
    border: none;
    font: inherit;
}

body.nowl-lead-modal-open {
    overflow: hidden;
}

.nowl-lead-modal[hidden] {
    display: none;
}

.nowl-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.nowl-lead-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.nowl-lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: var(--global-palette8);
    color: var(--global-palette3);
    border: 1px solid var(--outline-color);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    padding: 2rem 1.75rem 1.75rem;
    animation: nowl-lead-modal-in 0.18s ease-out;
}

@keyframes nowl-lead-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nowl-lead-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted-text);
    padding: 0.35rem;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nowl-lead-modal__close:hover {
    background: var(--portal-card-hover);
    color: var(--global-palette3);
}

.nowl-lead-modal__title {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    color: var(--global-palette3);
}

.nowl-lead-modal__subtitle {
    margin: 0 0 1.25rem;
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.nowl-lead-form__field {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
}

.nowl-lead-form__field label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--global-palette4);
}

.nowl-lead-form__req {
    color: var(--error-highlight);
}

.nowl-lead-form__field input,
.nowl-lead-form__field select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: var(--global-palette9);
    border: 1px solid var(--outline-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--global-palette3);
}

.nowl-lead-form__field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.25rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.nowl-lead-form__field input::placeholder {
    color: var(--muted-text);
}

.nowl-lead-form__field input:focus,
.nowl-lead-form__field select:focus {
    outline: none;
    border-color: var(--green-highlight);
    box-shadow: 0 0 0 3px rgba(25, 201, 134, 0.2);
}

.nowl-lead-form__message {
    margin: 0.5rem 0 0.75rem;
}

.nowl-lead-form__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.nowl-lead-form__submit {
    width: 100%;
    justify-content: center;
    color: var(--text-on-accent);
}

.nowl-lead-form__submit:hover,
.nowl-lead-form__submit:active,
.nowl-lead-form__submit:focus {
    color: var(--text-on-accent);
}

.nowl-lead-form__skip {
    background: none;
    border: none;
    color: var(--muted-text);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.nowl-lead-form__skip:hover {
    color: var(--global-palette3);
}

.nowl-lead-form__submit[disabled],
.nowl-lead-form__skip[disabled] {
    opacity: 0.6;
    cursor: default;
}

.nowl-lead-form__consent {
    margin: 0.25rem 0 0.5rem;
}

.nowl-lead-form__consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--muted-text);
}

.nowl-lead-form__consent-label input {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--green-highlight);
    cursor: pointer;
}

/* css/dashboard.css */
.page-template-page-dashboard,
.nowl-onboarding-page,
.employer-hub-page {

    .dashboard-header {
        font-size: 2rem;
        line-height: 1.2;
        font-weight: 500;
        color: var(--global-palette5);
        margin-bottom: 1.5rem;
    }

    .dashboard-layout {
        display: flex;
        flex-direction: column;
    }

    .nowl_profile_card--guest {
        align-items: center;
        padding: 2rem 2.5rem;
        background-color: var(--warning-background);
        border: 1px solid var(--warning-border);
        border-radius: 20px;
    }

    .dashboard-profile {
        margin-bottom: 3.5rem;
    }

    .nowl_profile_card--guest-inner {
        display: inline;
        gap: .5rem;
    }

    .nowl_profile_card--guest a {
        color: var(--global-palette4);
        text-decoration: none;
        border-bottom: 1px solid currentColor;
    }

    .nowl_profile_card--guest a:hover {
        color: var(--global-palette2);
        border-bottom-color: currentColor;
    }

    .nowl_profile_card--guest i {
        color: var(--global-palette4);
        font-size: 1.1rem;
        margin-right: 2px;
    }

    .dashboard-row {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        width: 100%;
        margin-bottom: 4rem;
    }

    .nowl_profile_card {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .nowl_profile_image img {
        max-width: 120px;
        border-radius: 50%;
    }

    .nowl_profile_info {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        width: auto;
    }

    .nowl_full_name {
        display: block;
        font-size: 1.1rem;
        line-height: 1.2;
        font-weight: 500;
        color: var(--global-palette3);
    }

    .nowl_job_and_company {
        font-size: 0.9rem;
    }

    .nowl_pill_and_badges {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    .nowl_access_level,
    .nowl_program {
        align-self: unset;
    }

    .dashboard-row {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .dashboard-row__left {
        flex: 1;
    }

    .dashboard-row__right {
        flex: 2;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-tasks-activity {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .dashboard-platform-cards {
        width: 100%;
    }

    .nightly-task-container {
        container-type: inline-size;
        width: 100%;
        background-color: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 20px;
        padding: 2rem 2.5rem;
    }

    .nightly-task {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nightly-task__image-container {
        flex-shrink: 0;
    }

    .nightly-task__image {
        width: 180px;
        #height: 120px;
        border-radius: 10px;
        object-fit: cover;
    }

    .nightly-task__content {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        align-items: start;
    }

    .nightly-task__header {
        font-size: 1.5rem;
        line-height: 1.2;
        font-weight: 500;
    }

    .nightly-task__body {
        font-size: 1.1rem;
        line-height: 1.5;
        font-weight: 400;
        margin: 0;
    }

    .nightly-task button {
        height: 3rem;
    }

    .nightly-task__completed {
        display: flex;
        column-gap: 0.5rem;
        align-items: center;
        background-color: var(--success-background);
        border: 2px solid var(--success-border);
        padding: 0.8rem 2rem;
        border-radius: 3px;
        height: 3rem;
    }

    @container (max-width: 420px) {
        .nightly-task {
            flex-direction: column;
            align-items: start;
        }
    }

    .recent-activity-widget {
        display: flex;
        flex-direction: column;
        background-color: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 20px;
        padding: 2rem 2.5rem;
    }

    .recent-activity-widget__title {
        font-size: 1.5rem;
        line-height: 1.2;
        font-weight: 500;
        color: var(--global-palette3);
        margin-bottom: 1.5rem;
    }

    .recent-activity-widget__inner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        column-gap: 0;
    }

    .recent-activity-widget--preview {
        opacity: 0.5;
    }

    .task-progress-widget {
        display: flex;
        flex-direction: column;
        row-gap: 1.5rem;
        background-color: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 20px;
        padding: 2rem 2.5rem;
    }

    .tasks-progress-widget--preview {
        opacity: 0.5;
        pointer-events: none;
    }

    .task-progress__title {
        font-size: 1.5rem;
        line-height: 1.2;
        font-weight: 500;
    }

    .task-progress__section {
        display: flex;
        flex-direction: column;
        row-gap: 0.8rem;
    }

    .task-progress__section-title {
        font-size: 1rem;
        color: var(--global-palette5);
    }

    .task-progress {
        display: flex;
        flex-direction: column;
        row-gap: 0.2rem;
    }

    .task-progress__text {
        color: var(--global-palette3);
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        column-gap: 1rem;
    }

    .task-progress--link:hover .task-progress__text {
        color: var(--global-palette2);
    }

    .task-progress a {
        color: var(--global-palette2);
    }

    .task-progress__view-all a {
        color: var(--global-palette2);
    }

    .progress-bar {
        width: 100%;
        background-color: var(--global-palette8);
        height: 20px;
        border-radius: 10px;
        overflow: hidden;
    }

    .progress-bar__fill {
        height: 100%;
        background-color: var(--global-palette2);
        width: 0;
        transition: width 0.3s ease;
    }

    .badges-widget-wrapper {
        width: 100%;
    }

    .badges-widget {
        display: flex;
        flex-direction: column;
        background-color: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 20px;
        padding: 2rem 2.5rem;
        width: 100%;
    }

    .dashboard-platform-cards__title {
        font-size: 2rem;
        line-height: 1.2;
        font-weight: 700;
        color: var(--global-palette5);
        margin-bottom: 2rem;
    }

    .portal-cards-container {
        container-type: inline-size;
        width: 100%;
    }

    .portal-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
        column-gap: 2rem;
    }

    @container (max-width: 780px) {
        .portal-cards {
            grid-template-columns: 1fr;
        }
    }

    .portal-card {
        background-color: var(--global-palette9);
        flex-direction: column;
        row-gap: 1rem;
        column-gap: 1rem;
        border-radius: 20px;
        border: 1px solid var(--outline-color);
        padding: 2rem;
        display: flex;
    }

    .portal-card--disabled {
        display: none;
    }

    .portal-card:hover {
    }

    .portal-card__icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .portal-card__icon.icon-box {
        background-color: #4D4839;
    }

    .portal-card__icon.icon-ai-tools {
        background-color: var(--ai-tools-bg);
    }

    .portal-card__icon.icon-learning {
        background-color: var(--learning-hub-bg);
    }

    .portal-card__icon.icon-community {
        background-color: var(--community-bg);
    }

    .portal-card__icon.icon-journeys {
        background-color: var(--journeys-bg);
    }

    .portal-card__icon.icon-tasks {
        background-color: var(--tasks-bg);
    }

    .portal-card__icon.icon-videos {
        background-color: var(--expert-videos-bg);
    }

    .portal-card__icon.icon-job-search {
        background-color: var(--job-search-bg);
    }

    .portal-card__content {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        align-items: start;
    }

    .portal-card__title {
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.2;
        font-weight: 500;
    }

    .portal-card__description {
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
    }

    .portal-card__button {
    }

    .nowl-button--outline.disabled {
        border-color: var(--global-palette5) !important;
        pointer-events: none;
    }

    .portal-card__button:hover {
    }

    .nowl-button--locked {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    @media (max-width: 1266px) {
        .dashboard-row {
            flex-direction: column;
        }
    }

    @media (max-width: 767px) {
        .nowl_profile_card--guest {
            padding: 1rem 1rem;
        }
    }
}

/* css/events-archive.css */
.events-archive {
    margin-top: 2rem;
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;

    .page-title {
        margin-bottom: 1rem;
    }

    .nowl-archive-intro,
    .nowl-archive-outro {
        margin-bottom: 4rem;
        border-radius: 0.75rem;
        color: var(--global-palette4);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .nowl-archive-outro {
        margin-bottom: 0;
        margin-top: 4rem;
    }

    .events-featured {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) 1fr;
        gap: 2.5rem;
        align-items: center;
        padding: 0.5rem 0 1rem;
        margin-bottom: 2.5rem;
    }

    .events-featured__media {
        display: block;
        align-self: stretch;

        img {
            width: 100%;
            height: 100%;
            max-height: 360px;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
            border-radius: 0.6rem;
            box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
        }
    }

    .events-featured__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .events-featured__eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--text-on-accent);
        background: var(--global-palette2);
        padding: 0.3rem 0.7rem;
        border-radius: 999px;

        i {
            font-size: 0.9rem;
        }
    }

    .events-featured__title {
        margin: 0;
        font-size: 2rem;
        line-height: 1.15;

        a {
            color: var(--global-palette3);
        }

        a:hover {
            color: var(--global-palette2);
        }
    }

    .events-featured__meta {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1.5rem;

        li {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            color: var(--global-palette4);
            font-size: 1rem;
        }

        i {
            font-size: 1.1rem;
            color: var(--global-palette2);
        }
    }

    .events-featured__summary {
        margin: 0;
        color: var(--global-palette5);
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 70ch;
    }

    .events-featured__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 0.5rem;

        a {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
    }

    @media (max-width: 720px) {
        .events-featured {
            grid-template-columns: 1fr;
        }
    }

    .nowl-filter-bar {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .nowl-dropdown-filters-group {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        flex: 1;
    }

    .nowl-search-wrapper {
        margin-bottom: 0;
        width: unset;
        max-width: unset;
        flex: 1;
        min-width: 300px;
    }

    .nowl-multiselect {
        position: relative;
        font-size: 14px;
        flex: 1 1 0;
        min-width: 300px;
        max-width: 100%;

        .nowl-multiselect__trigger {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 1rem;
            background: var(--global-palette7);
            border: 1px solid var(--outline-color);
            border-radius: 4px;
            cursor: pointer;
            min-height: 46px;
            overflow: hidden;
        }

        .nowl-multiselect__placeholder {
            color: var(--global-palette5);
            flex-grow: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nowl-multiselect__arrow {
            margin-left: auto;
            color: var(--global-palette3);
            flex-shrink: 0;
        }

        .nowl-multiselect__tags {
            display: flex;
            gap: 0.3rem;
            overflow: hidden;
            flex-shrink: 1;
            flex-grow: 1;
            min-width: 0;
        }

        .nowl-multiselect__tags:empty {
            display: none;
        }

        .nowl-multiselect__tag {
            background-color: var(--global-palette1);
            color: var(--global-palette3);
            padding: 1px 10px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nowl-multiselect__tag-remove {
            cursor: pointer;
            font-weight: bold;
            line-height: 1;
        }

        .nowl-multiselect__dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            margin-top: 2px;
            background-color: var(--global-palette8);
            border: 1px solid var(--outline-color);
            border-radius: 4px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 100;
            display: none;
            max-height: 250px;
            overflow-y: auto;
        }

        &.open {
            .nowl-multiselect__dropdown {
                display: block;
            }
        }

        .nowl-multiselect__option {
            display: block;
            padding: 0.5rem 1rem;
            color: var(--global-palette3);
            cursor: pointer;

            &:hover {
                background-color: var(--global-palette8);
            }

            input {
                margin-right: 0.5rem;
            }
        }
    }

    .nowl-clear-filters {
        font-size: 1.1rem;
        min-height: 42px;
        padding: 0.6rem 2rem;
    }

    @media (max-width: 640px) {
        .nowl-filter-bar {
            flex-direction: column;
            align-items: stretch;
        }

        .nowl-search-wrapper {
            width: 100%;
        }

        #nowl-search {
            background: var(--global-palette8) !important;
        }

        .nowl-multiselect {
            flex: 1;
            width: unset;
        }
    }

    .nowl-entry-grid__container {
        container-type: inline-size;
        container-name: events-grid;
    }

    .nowl-entry-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        align-items: stretch;
    }

    .nowl-empty-state {
        color: var(--global-palette5);
        font-size: 1.1rem;
        grid-column: 1 / -1;
    }

    .nowl-event-card {
        background-color: var(--global-palette8);
        border-radius: 1rem;
        border: 1px solid var(--outline-color);
        display: flex;
        flex-direction: column;
        overflow: hidden;

        &:hover {
            background-color: var(--portal-card-hover);
            border-color: var(--global-palette2);
        }

        &.is-past {
            opacity: 0.82;
        }
    }

    .nowl-event-card__cover {
        position: relative;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: var(--global-palette9);
        border-bottom: 1px solid var(--outline-color);

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    .nowl-event-card__date {
        position: absolute;
        left: 0.75rem;
        bottom: 0.75rem;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: var(--global-palette9);
        color: var(--global-palette3);
        border: 1px solid var(--outline-color);
        padding: 0.25rem 0.6rem;
        border-radius: 999px;
        font-size: 0.85rem;
        font-weight: 600;

        i {
            font-size: 0.95rem;
            color: var(--global-palette2);
        }
    }

    .nowl-entry-card__body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        row-gap: 0.5rem;
    }

    .nowl-entry-card__title {
        color: var(--global-palette3);
        font-size: 1.3rem;
        line-height: 1.2;
        margin: 0;

        a:hover {
            color: var(--global-palette3);
        }
    }

    .nowl-event-card__location {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        color: var(--global-palette4);
        font-size: 0.95rem;

        i {
            font-size: 1.05rem;
            color: var(--global-palette2);
        }
    }

    .nowl-pills {
        display: inline-flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .nowl-pill-label--category {
        background-color: var(--expert-videos-pill);
    }

    .nowl-pill-label--type {
        background-color: var(--global-palette2);
    }

    .nowl-pill-label--past {
        background-color: var(--global-palette7);
        color: var(--global-palette4);
    }

    .nowl-entry-card__summary {
        color: var(--global-palette5);
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
    }

    @container events-grid (max-width: 750px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @container events-grid (max-width: 500px) {
        .nowl-entry-grid {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
}

/* css/blog/index.css */
.blog-archive {
    .blog-archive__wrapper {
        max-width: var(--global-content-width);
        padding-inline: var(--global-content-edge-padding);
        padding-top: 4rem;
        padding-bottom: 4rem;
        margin-left: auto;
        margin-right: auto;
    }

    .page-title {
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .page-subtitle-wrapper {
        margin-bottom: 2rem;
    }

    .page-subtitle {
        font-size: 2.6rem;
        margin-bottom: .5rem;
    }

    .page-description p {
        max-width: 850px;
        margin-block: .5rem 1.5rem;
    }

    .page-subtitle-button {
        width: fit-content;
    }

    .nowl-archive-outro {
        margin-top: 4rem;
        color: var(--global-palette4);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .nowl-filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .nowl-dropdown-filters-group {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        flex: 1;
    }

    .nowl-search-wrapper {
        margin-bottom: 0;
        width: unset;
        max-width: unset;
        flex: 1;
        min-width: 300px;
    }

    #nowl-search {
        min-height: 46px;
    }

    .nowl-multiselect {
        position: relative;
        font-size: .95rem;
        flex: 1 1 0;
        min-width: 300px;
        max-width: 100%;
    }

    .nowl-multiselect__trigger {
        display: flex;
        align-items: center;
        gap: .4rem;
        padding: .4rem 1rem;
        background: var(--global-palette7);
        border: 1px solid var(--outline-color);
        border-radius: 4px;
        cursor: pointer;
        min-height: 46px;
        overflow: hidden;
    }

    .nowl-multiselect__placeholder {
        color: var(--global-palette5);
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nowl-multiselect__arrow {
        margin-left: auto;
        color: var(--global-palette3);
        flex-shrink: 0;
    }

    .nowl-multiselect__tags {
        display: flex;
        gap: .3rem;
        overflow: hidden;
        flex-shrink: 1;
        flex-grow: 1;
        min-width: 0;
    }

    .nowl-multiselect__tags:empty {
        display: none;
    }

    .nowl-multiselect__tag {
        background-color: var(--global-palette1);
        color: var(--global-palette3);
        padding: 1px 10px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        gap: .4rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nowl-multiselect__tag-remove {
        cursor: pointer;
        font-weight: bold;
        line-height: 1;
    }

    .nowl-multiselect__dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 2px;
        background-color: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: none;
        max-height: 250px;
        overflow-y: auto;
    }

    .nowl-multiselect.open .nowl-multiselect__dropdown {
        display: block;
    }

    .nowl-multiselect__option {
        display: block;
        padding: .5rem 1rem;
        color: var(--global-palette3);
        cursor: pointer;
    }

    .nowl-multiselect__option:hover {
        background-color: var(--global-palette8);
    }

    .nowl-clear-filters {
        font-size: 1.1rem;
        min-height: 42px;
        padding: .6rem 2rem;
    }

    .nowl-post-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .blog-card {
        display: flex;
        flex-direction: column;
        background-color: var(--global-palette8);
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        overflow: hidden;
        transition: background-color .2s ease, border-color .2s ease;
    }

    .blog-card:hover {
        background-color: var(--portal-card-hover);
        border-color: var(--global-palette2);
    }

    .nowl-post-card__image {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .nowl-post-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .nowl-post-card__body {
        padding: 1.75rem 2rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        gap: .75rem;
    }

    .nowl-post-card__title {
        color: var(--global-palette3);
        font-size: 1.5rem;
        line-height: 120%;
        margin: 0;
    }

    .nowl-post-card__summary {
        color: var(--global-palette5);
        font-size: 1.25rem;
    }

    .nowl-post-card__tags {
        display: inline-flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .nowl-tag {
        display: inline-flex;
        padding: 4px 14px;
        background-color: var(--expert-videos-pill);
        border-radius: 999px;
        color: var(--global-palette3);
        font-size: 1.1rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    @media (max-width: 767px) {
        .page-subtitle {
            font-size: 1.8rem;
        }

        .nowl-post-grid {
            grid-template-columns: 1fr;
        }

        .nowl-search-wrapper {
            width: 100%;
        }

        .nowl-multiselect {
            flex: 1;
            width: unset;
        }
    }
}

/* css/blog/preview-card.css */
.advocacy-read-more {
    .kt-blocks-post-grid-item:hover {
        background-color: var(--portal-card-hover);
        border: 1px solid var(--global-palette2);
    }
}

/* css/partials/page-header-breadcrumb.css */
.nowl-page-header {
    margin-bottom: 2rem;
}

.nowl-page-header__breadcrumb {
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--global-palette3);
}

.nowl-page-header__link {
    color: var(--global-palette3);
    text-decoration: none;
}

.nowl-page-header__link:hover {
    color: var(--global-palette2);
}

.nowl-page-header__current {
    color: var(--global-palette3);
}

.nowl-page-header__sep {
    color: var(--global-palette3);
}

/* css/partials/pagination.css */
.nowl-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.nowl-pagination {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.nowl-page-range {
    margin-right: 0.5rem;
    color: var(--global-palette3);
    font-size: 1.1rem;
}

.nowl-page-nav {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-radius: 0.35rem;
    transition: background-color .15s ease, opacity .15s ease;
    color: var(--global-palette3);
}

.nowl-page-nav.is-disabled {
    opacity: .4;
    cursor: not-allowed;
}

.nowl-page-nav.is-disabled:hover {
    background: var(--global-palette1)
}

.nowl-page-nav i {
    font-size: 1.2rem;
}

/* css/partials/public-header.css */
.public-header {
    position: sticky;
    top: 0;
    background-color: var(--global-palette9);
    height: 80px;
    width: 100%;
    z-index: 9;
    border-bottom: 1px solid var(--outline-color);
    overflow: visible;

    .public-header__inner {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        max-width: var(--global-content-width);
        margin-inline: auto;
        padding-inline: var(--global-content-edge-padding);
    }

    .public-header__left {
        display: flex;
        gap: 3.2rem;
        align-items: center;
    }

    .public-header__right {
        display: flex;
        gap: 1rem;
    }

    .public-header__brand {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .public-header__logo {
        display: flex;
        align-items: center;
        max-width: 130px;
    }

    .public-header__logo-img {
        max-height: 34px;
        width: auto;
    }

    .public-header__nav,
    .public-header__actions {
        display: flex;
        align-items: center;
        height: 100%;
        overflow: visible;
    }

    .public-nav,
    .public-actions {
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 1rem;
        height: 100%;
        overflow: visible;
    }

    .public-nav > li {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .public-nav li,
    .public-actions li {
        position: relative;
    }

    .menu-item a,
    .menu-item .public-nav__trigger,
    .public-actions a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.4rem 0.75rem;
        font-size: 1.1rem;
        color: var(--global-palette3);
        text-decoration: none;
        border-radius: 6px;
        transition: color 0.15s ease, background-color 0.15s ease;
    }

    .menu-item .public-nav__trigger {
        cursor: pointer;
    }

    .public-nav a:hover,
    .public-nav .public-nav__trigger:hover,
    .public-actions a:hover {
        color: var(--global-palette2);
        background-color: var(--global-palette8);

        i {
            color: var(--global-palette2);
        }
    }

    .public-nav,
    .public-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .menu-item {
        cursor: pointer;
    }

    .menu-item-has-children > a::after,
    .menu-item-has-children > .public-nav__trigger::after {
        display: none;
        content: none;
    }

    .menu-item i {
        font-size: .75rem;
        color: var(--global-palette5);
    }

    .submenu-caret {
        transition: transform 0.2s ease;
    }

    .menu-item-has-children.is-open > a .submenu-caret,
    .menu-item-has-children.is-open > .public-nav__trigger .submenu-caret {
        transform: rotate(180deg);
    }

    /* Dropdowns (Insights, About) – chat bubble style */
    .public-nav .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 0 0 12px 12px;
        min-width: 300px;
        padding: 0.35rem;
        z-index: 20;
        white-space: nowrap;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.12);
        --arrow-size: 10px;
        --arrow-left: 32px;
    }

    /* Chat bubble arrow – border (top-level dropdowns only; megamenu has its own below) */
    .public-nav > li > .sub-menu:not(.public-nav__megamenu)::before {
        content: '';
        position: absolute;
        top: calc(-1 * var(--arrow-size));
        left: var(--arrow-left);
        width: 0;
        height: 0;
        border-left: var(--arrow-size) solid transparent;
        border-right: var(--arrow-size) solid transparent;
        border-bottom: var(--arrow-size) solid var(--outline-color);
        z-index: 1;
        filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.15));
    }

    /* Chat bubble arrow – fill (1px inset so border shows as 1px; dropdown border is 1px) */
    .public-nav > li > .sub-menu:not(.public-nav__megamenu)::after {
        content: '';
        position: absolute;
        top: calc(-1 * var(--arrow-size) + 2px);
        left: calc(var(--arrow-left) + 2px);
        width: 0;
        height: 0;
        border-left: calc(var(--arrow-size) - 2px) solid transparent;
        border-right: calc(var(--arrow-size) - 2px) solid transparent;
        border-bottom: calc(var(--arrow-size) - 2px) solid var(--global-palette9);
        z-index: 1;
    }

    /* Top-level dropdowns (Insights, About): fixed at header bottom */
    .public-nav > li > .sub-menu:not(.public-nav__megamenu) {
        position: fixed;
        top: var(--public-header-bottom, 80px);
        left: var(--submenu-left, 0);
        padding: 0.75rem;
        z-index: 9999;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    }

    .public-nav > li > .sub-menu {
        left: 0;
    }

    .public-nav .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        margin-left: 7px;
    }

    .public-nav .sub-menu li {
        width: 100%;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }

    .public-nav .sub-menu li:hover {
        background-color: var(--global-palette8);
    }

    .public-nav .sub-menu li:hover a,
    .public-nav .sub-menu li:hover .public-nav__item-desc {
        color: var(--global-palette2);
    }

    .public-nav .sub-menu li:hover a i {
        color: var(--global-palette2);
    }

    .public-nav .sub-menu a {
        width: 100%;
        padding: 0;
        font-size: 1rem;
        border-radius: 0;
        justify-content: space-between;
        background: transparent;
    }

    .public-nav .sub-menu a:hover {
        background: transparent;
    }

    .public-nav .sub-menu a.public-nav__item-with-desc {
        display: block;
        margin: -0.5rem -0.75rem;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }

    .public-nav .sub-menu .public-nav__item-label {
        display: block;
    }

    .public-nav .sub-menu .public-nav__item-desc {
        display: block;
        margin-top: 0.2rem;
        padding: 0;
        font-size: 0.8rem;
        color: var(--global-palette5);
        line-height: 1.3;
    }

    .public-nav .menu-item-has-children.is-open {
        position: relative;
        z-index: 100;
    }

    .public-nav .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }

    /* Solutions megamenu – chat bubble style */
    .public-nav .public-nav__megamenu {
        position: fixed;
        top: var(--public-header-bottom, 80px);
        left: 0;
        right: 0;
        width: 100%;
        max-width: calc(var(--global-content-width) - 2 * var(--global-content-edge-padding));
        margin-inline: auto;
        box-sizing: border-box;
        background-color: var(--global-palette9);
        border: 1px solid var(--outline-color);
        border-radius: 0 0 12px 12px;
        padding: 1.5rem var(--global-content-edge-padding) 2rem;
        z-index: 9999;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.12);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
        overflow: visible;
        white-space: normal;
        --megamenu-arrow-size: 12px;
        --megamenu-arrow-left: 120px;
    }

    /* Megamenu chat bubble arrow – border */
    .public-nav .public-nav__megamenu::before {
        content: '';
        position: absolute;
        top: calc(-1 * var(--megamenu-arrow-size));
        left: var(--megamenu-arrow-left);
        width: 0;
        height: 0;
        border-left: var(--megamenu-arrow-size) solid transparent;
        border-right: var(--megamenu-arrow-size) solid transparent;
        border-bottom: var(--megamenu-arrow-size) solid var(--outline-color);
        z-index: 1;
        filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.15));
    }

    /* Megamenu chat bubble arrow – fill (2px inset so border matches dropdown thickness) */
    .public-nav .public-nav__megamenu::after {
        content: '';
        position: absolute;
        top: calc(-1 * var(--megamenu-arrow-size) + 2px);
        left: calc(var(--megamenu-arrow-left) + 2px);
        width: 0;
        height: 0;
        border-left: calc(var(--megamenu-arrow-size) - 2px) solid transparent;
        border-right: calc(var(--megamenu-arrow-size) - 2px) solid transparent;
        border-bottom: calc(var(--megamenu-arrow-size) - 2px) solid var(--global-palette9);
        z-index: 1;
    }

    .public-nav__megamenu-inner {
        display: flex;
        gap: 3rem;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 0;
        box-sizing: border-box;
        position: relative;
    }

    .public-nav__megamenu-group {
        flex: 2;
        min-width: 0;
    }

    .public-nav__megamenu-columns {
        display: flex;
        gap: 2rem;
    }

    .public-nav__megamenu-columns .public-nav__megamenu-list {
        flex: 1;
        min-width: 0;
    }

    .public-nav__megamenu-group .public-nav__megamenu-list {
        min-width: 0;
    }

    .public-nav__megamenu-column {
        flex: 1;
        min-width: 0;
    }

    .public-nav__megamenu-title {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--global-palette5);
        margin: 0 0 0.75rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--outline-color);
    }

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

    .public-nav__megamenu .public-nav__megamenu-list .menu-item {
        margin: 0;
    }

    .public-nav__megamenu .public-nav__megamenu-list a {
        display: block;
        width: auto;
        font-size: 1rem;
        color: var(--global-palette3);
        text-decoration: none;
        border-radius: 6px;
        transition: color 0.15s ease, background-color 0.15s ease;
        box-sizing: border-box;
        justify-content: flex-start;
    }

    .public-nav__megamenu .public-nav__megamenu-list a:hover {
        color: var(--global-palette2);
        background-color: transparent;
    }

    .public-nav__megamenu-list--industries .menu-item:not(:first-child) {
        padding-left: 1rem;
    }

    .public-nav__megamenu-list--industries .menu-item:not(:first-child) a {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .public-nav__megamenu-list--industries .public-nav__industry-icon {
        font-size: 1.1em;
        color: var(--global-palette5);
        flex-shrink: 0;
    }

    .public-nav__megamenu-list--industries .menu-item:not(:first-child) a:hover .public-nav__industry-icon {
        color: var(--global-palette2);
    }

    .public-header__toggle {
        display: none;
        align-items: center;
        justify-content: center;
        color: var(--global-palette5);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .public-header__toggle i {
        font-size: 1.75rem;
    }

    .navbar__profile-button {
        padding-right: 0;
        right: -4px;
    }

    .public-header__cta-buttons {
        display: flex;
        gap: .25rem;
    }

    .public-header__cta-button {
        border-width: 1px;
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    @media (max-width: 1023px) {
        .public-header__nav,
        .public-header__actions {
            display: none;
        }

        .public-header__toggle {
            display: flex;
        }
    }

    @media (max-width: 430px) {
        .public-header__cta-buttons {
            display: none;
        }
    }
}

/* Signed-in profile menu */
.navbar__profile {
    position: relative;
    cursor: pointer;
}

.navbar__profile-button {
    height: 100%;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0 1rem;
    color: var(--global-palette5);
}

.navbar__profile-button:hover {
    color: var(--global-palette2);
}

.navbar__profile-button:hover .navbar__profile-image img {
    border-color: var(--global-palette2);
}

.navbar__profile-image {
    max-width: 32px;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}

.navbar__profile-image img {
    background-color: var(--global-palette3);
    border-radius: 50%;
    display: block;
    height: auto;
    max-width: 100%;
    border: 2px solid var(--global-palette9);
}

.navbar__profile-name {
    font-size: 1rem;
    white-space: nowrap;
}

.navbar__profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background-color: var(--global-palette9);
    border: 1px solid var(--outline-color);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    min-width: 150px;
    padding: 10px 0;
}

.navbar__profile.open .navbar__profile-dropdown {
    display: block;
}

.navbar__profile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none !important;
    color: var(--global-palette3) !important;
    font-size: 14px;
    font-weight: 400;
}

.navbar__profile-dropdown-item:hover {
    color: var(--global-palette2) !important;
}

.navbar__profile-dropdown-item i {
    margin-right: 8px;
    font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
    .navbar__profile-name,
    .navbar__profile-button i {
        display: none;
    }
}

/* Hide header line until scroll on pages with header-line-scroll-only */
body.header-line-scroll-only .public-header {
    border-bottom: none;
}

body.header-line-scroll-only .public-header.public-header--scrolled {
    border-bottom: 1px solid var(--outline-color);
}

html.public-menu-open,
body.public-menu-open {
    overflow: hidden;
    height: 100%;
    touch-action: none;
}

body.public-menu-open {
    position: fixed;
    width: 100%;
}

.public-mobile-nav {
    @media (max-width: 1023px) {
        position: fixed;
        top: var(--public-header-bottom, 80px);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--global-palette9);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;

        .public-mobile-nav__inner {
            padding: 1.25rem 1.25rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .public-mobile-menu {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 0.25rem;
        }

        .public-mobile-menu > li {
            border-radius: 8px;
        }

        .public-mobile-menu > li > a,
        .public-mobile-menu > li > .public-nav__trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0.75rem;
            font-size: 1.05rem;
            font-weight: 500;
            color: var(--global-palette3);
            text-decoration: none;
            border-radius: 8px;
            transition: background-color 0.15s ease, color 0.15s ease;
        }

        .public-mobile-menu > li > .public-nav__trigger {
            cursor: pointer;
        }

        .public-mobile-menu > li > a:hover,
        .public-mobile-menu > li > .public-nav__trigger:hover {
            background-color: var(--global-palette8);
            color: var(--global-palette2);

            i {
                color: var(--global-palette2);
            }
        }

        .public-mobile-menu .submenu-caret {
            font-size: 1rem;
            color: var(--global-palette5);
            transition: transform 0.2s ease;
        }

        .public-mobile-menu
        .menu-item-has-children.is-open
        > a
        .submenu-caret,
        .public-mobile-menu
        .menu-item-has-children.is-open
        > .public-nav__trigger
        .submenu-caret {
            transform: rotate(180deg);
        }

        .public-mobile-menu .sub-menu {
            list-style: none;
            margin: 0.25rem 0 0.25rem 0.75rem;
            padding-left: 0.75rem;
            border-left: 1px solid var(--outline-color);
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.25s ease, opacity 0.2s ease;
        }

        .public-mobile-menu
        .menu-item-has-children.is-open
        > .sub-menu {
            max-height: 1000px;
            opacity: 1;
        }

        .public-mobile-menu .sub-menu li {
            border-radius: 6px;
        }

        .public-mobile-menu .sub-menu a,
        .public-mobile-menu .sub-menu .public-nav__trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 0.75rem;
            font-size: 0.95rem;
            color: var(--global-palette4);
            text-decoration: none;
            border-radius: 6px;
            transition: background-color 0.15s ease, color 0.15s ease;
        }

        .public-mobile-menu .sub-menu .public-nav__trigger {
            cursor: pointer;
        }

        .public-mobile-menu .sub-menu a:hover,
        .public-mobile-menu .sub-menu .public-nav__trigger:hover {
            background-color: var(--global-palette8);
            color: var(--global-palette2);

            i {
                color: var(--global-palette2);
            }
        }

        .public-mobile-menu .sub-menu a.public-nav__item-with-desc {
            display: block;
            padding: 0.6rem 0.75rem;
            border-radius: 6px;
        }

        .public-mobile-menu .sub-menu .public-nav__item-label {
            display: block;
        }

        .public-mobile-menu .sub-menu .public-nav__item-desc {
            display: block;
            margin-top: 0.2rem;
            padding: 0;
            font-size: 0.8rem;
            color: var(--global-palette5);
            line-height: 1.3;
        }

        .public-mobile-menu .sub-menu .sub-menu {
            margin-left: 0.75rem;
            padding-left: 0.75rem;
            border-left: 1px solid var(--outline-color);
        }

        .public-header__cta-buttons {
            display: flex;
            flex-direction: column;
            gap: .5rem;
        }

        .public-header__cta-button {
            border-width: 1px;
            font-size: 1rem;
            padding: .6rem 1rem;
        }

    }

    @media (min-width: 430px) {
        .public-header__cta-buttons {
            display: none;
        }
    }
}

/* css/partials/footer.css */
/* Custom footer - no Kadence/Cadence dependencies */

.nowl-footer {
    color: var(--global-palette3);
}

.nowl-footer__wrap {
    display: flex;
    flex-direction: column;
}

.nowl-footer__middle {
    background-color: var(--global-palette8);
}

.nowl-footer__container {
    max-width: var(--global-content-width);
    margin-inline: auto;
    padding-inline: var(--global-content-edge-padding);
}

/* Middle section - 4 columns */
.nowl-footer__middle {
    padding: 3rem 0;
}

.nowl-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.nowl-footer__column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.nowl-footer__column-title {
    display: block;
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--global-palette5);
    margin-bottom: 0.25rem;
}

.nowl-footer__links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.nowl-footer__link {
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--global-palette3);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nowl-footer__link:hover {
    color: var(--global-palette2);
}

/* Bottom section - copyright + social */
.nowl-footer__bottom {
    padding: 1.5rem 0;
    background-color: var(--global-palette7);
}

.nowl-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nowl-footer__copyright p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--global-palette5);
}

.nowl-footer__social {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nowl-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--global-palette5);
    transition: color 0.15s ease;
}

.nowl-footer__social-link:hover {
    color: var(--global-palette2);
}

.nowl-footer__social-icon {
    width: 24px;
    height: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
    .nowl-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .nowl-footer__middle {
        padding: 2rem 0;
    }

    .nowl-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nowl-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nowl-footer__social {
        width: 100%;
        justify-content: flex-start;
    }
}

/* css/reports-single.css */
.report-single {
    max-width: var(--global-content-width);
    padding-inline: var(--global-content-edge-padding);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;

    .report-back {
        margin: 0 0 1.5rem 0;
    }

    .report-single__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 2.5rem;
        align-items: start;
    }

    .page-title {
        margin: 0.5rem 0 1rem;
        font-size: 2.5rem;
        line-height: 1.15;
        color: var(--global-palette3);
    }

    .report-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nowl-pill-label--year {
        background-color: var(--global-palette7);
        color: var(--global-palette4);
    }

    .report-summary {
        color: var(--global-palette4);
        font-size: 1.15rem;
        line-height: 1.6;
        margin: 0 0 1.5rem;
    }

    .report-download {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;

        .nowl-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;

            i {
                font-size: 1.2rem;
            }
        }
    }

    .report-download__meta {
        color: var(--global-palette5);
        font-size: 0.95rem;
    }

    .report-tags-list {
        list-style: none;
        margin: 0 0 1rem;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0 0.35rem;

        li {
            font-size: 0.85rem;
            font-style: italic;
            line-height: 1.4;
            color: var(--global-palette5);
        }

        li:not(:last-child)::after {
            content: ",";
        }
    }

    .report-content {
        margin-top: 2.5rem;
        color: var(--global-palette3);

        p {
            line-height: 1.7;
            margin: 0 0 1rem 0;
            color: var(--global-palette4);
        }

        h2, h3, h4 {
            color: var(--global-palette2);
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
        }

        ul, ol {
            padding-left: 1.2rem;
            margin: 0 0 1rem 0;
        }

        a {
            color: var(--global-palette2);
        }

        blockquote {
            margin: 1rem 0;
            padding: 0.75rem 1rem;
            border-left: 3px solid var(--global-palette2);
            background: var(--global-palette9);
            color: var(--global-palette4);
            border-radius: 0 0.5rem 0.5rem 0;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1.25rem 0;
            border-radius: 0.5rem;
        }

        figure {
            margin: 1.25rem 0;
        }

        figcaption {
            margin-top: 0.4rem;
            font-size: 0.9rem;
            color: var(--global-palette5);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.25rem 0;
            font-size: 0.98rem;
        }

        th,
        td {
            border: 1px solid var(--outline-color);
            padding: 0.5rem 0.65rem;
            text-align: left;
            vertical-align: top;
        }

        th {
            background: var(--global-palette9);
            color: var(--global-palette3);
        }

        caption {
            caption-side: bottom;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: var(--global-palette5);
            text-align: left;
        }
    }

    .report-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;

        .nowl-button,
        .nowl-button--outline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;

            i {
                font-size: 1.2rem;
            }
        }
    }

    .report-single__aside {
        position: sticky;
        top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .report-cover {
        border: 1px solid var(--outline-color);
        border-radius: 1rem;
        overflow: hidden;
        background: var(--global-palette9);

        img {
            width: 100%;
            height: auto;
            display: block;
        }
    }

    .report-cover__download {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;

        i {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 900px) {
        .report-single__layout {
            grid-template-columns: 1fr;
        }

        .report-single__aside {
            position: static;
            order: -1;
            max-width: 320px;
        }
    }

    @media (max-width: 767px) {
        padding-top: 1rem;

        .page-title {
            font-size: 1.75rem;
        }
    }
}

/* css/employer-share.css */
.page-template-page-employer-share .employer-share,
.page-employer-share .employer-share {
    padding: 1.5rem 1.5rem 3rem;
}

.employer-share__title {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--global-palette3);
    margin-bottom: 0.5rem;
}

.employer-share__intro {
    font-size: 1.3rem;
    color: var(--global-palette6, #555);
    margin-bottom: 2rem;
    max-width: 42em;
}

.employer-share__cards {
    margin-top: 4rem;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.employer-share-card {
    flex: 1 1 16rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--global-palette8, #fff);
    border: 1px solid var(--outline-color, #e0e0e0);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.employer-share-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    background-color: var(--global-palette7);
    border-radius: 8px;
    color: var(--global-palette5);
}

.employer-share-card__icon .ph-light {
    font-size: 2rem;
}

.employer-share-card__heading {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--global-palette3);
    margin: 0 0 0.35em;
    text-transform: capitalize;
}

.employer-share-card__description {
    font-size: 1.3rem;
    color: var(--global-palette6, #555);
    margin: 0 0 2rem;
}

.employer-share-card__message-actions,
.employer-share-card__pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.employer-share-card__message-actions {
    margin-bottom: 1rem;
}

.employer-share-card__pdf-actions {
    margin-top: auto;
}

.employer-share-card__pdf-actions {
    flex-direction: column;
}

.employer-share-card__pdf-actions .nowl-button {
    width: 100%;
    justify-content: center;
}

.employer-share .nowl-button {
    text-transform: capitalize;
}

.employer-share .nowl-button .employer-share-btn__icon {
    font-size: 1.15em;
}

.employer-share-card .nowl-button {
    margin-top: auto;
}

.employer-share-pdf-btn {
    width: auto;
    display: inline-flex;
}

.employer-share-card__message-box-wrap {
    margin-top: 0.5rem;
}

.employer-share-label {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--global-palette5, #1a1a1a);
    margin-bottom: 0.35rem;
}

.employer-share-textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 0.75rem;
    font-size: 1.3rem;
    line-height: 1.5;
    border: 1px solid var(--outline-color, #ddd);
    border-radius: 6px;
    background: var(--global-palette9);
    color: var(--global-palette5, #1a1a1a);
    font-family: inherit;
    box-sizing: border-box;
}

.employer-share-textarea:focus {
    outline: none;
    border-color: var(--global-palette1, #3068b6);
    box-shadow: 0 0 0 2px rgba(48, 104, 182, 0.2);
}

.employer-share-message-preview {
    margin-top: 0.35rem;
    padding: 0.75rem 0.85rem;
    font-size: 1.3rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--global-palette5, #1a1a1a);
    background: var(--global-palette7);
    border: 1px solid var(--outline-color, #eee);
    border-radius: 6px;
    min-height: 2.5em;
}

#employer-share-message-preview-label {
    margin-top: 1rem;
}

.employer-share-hint {
    font-size: 1.3rem;
    color: var(--global-palette6, #666);
    margin: 0.4rem 0 0;
}

.employer-share-form {
    margin-bottom: 1.5rem;
}

.employer-share-form__row {
    margin-bottom: 1rem;
}

.employer-share-form__row--checkbox {
    margin-bottom: 1.25rem;
}

.employer-share-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1.3rem;
    border: 1px solid var(--outline-color, #ddd);
    border-radius: 6px;
    background: var(--global-palette9);
    color: var(--global-palette5, #1a1a1a);
    box-sizing: border-box;
}

.employer-share-input:focus {
    outline: none;
    border-color: var(--global-palette1, #3068b6);
}

.employer-share-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: var(--global-palette5, #1a1a1a);
    cursor: pointer;
}

.employer-share-checkbox {
    flex-shrink: 0;
    margin: 0;
    height: 1.6rem;
}

.employer-share-form__error {
    margin-bottom: 1rem;
}

.employer-share-form__error[hidden] {
    display: none;
}

.employer-share-form__actions {
    margin-top: 0.5rem;
}

/* Outreach preview */
.employer-share-outreach-preview {
    padding-top: 1.75rem;
    border-top: 1px solid var(--outline-color, #eee);
    font-family: inherit;
}

.employer-share-outreach-preview__title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--global-palette5, #1a1a1a);
    margin: 0 0 0.5rem;
}

.employer-share-outreach-preview__note {
    font-size: 1rem;
    color: var(--global-palette6, #555);
    margin: 0 0 1.25rem;
}

.employer-share-outreach-preview__body {
    background: var(--global-palette7);
    border: 1px solid var(--outline-color, #eee);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.employer-share-outreach-preview__subject {
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--outline-color, #eee);
}

.employer-share-outreach-preview__text {
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--global-palette5, #1a1a1a);
    font-family: inherit;
}

.employer-share-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
    max-width: 90vw;
}

.employer-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.employer-share-modal[hidden] {
    display: none;
}

.employer-share-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.employer-share-modal__box {
    position: relative;
    width: 100%;
    max-width: 52rem;
    max-height: calc(100vh - 3rem);
    overflow: auto;
    background: var(--global-palette8, #fff);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.employer-share-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--outline-color, #eee);
}

.employer-share-modal__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--global-palette5, #1a1a1a);
}

.employer-share-modal__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--global-palette5, #1a1a1a);
    cursor: pointer;
    border-radius: 6px;
}

.employer-share-modal__close:hover {
    background: var(--global-palette7, #f0f0f0);
}

.employer-share-modal__close .ph-bold {
    font-size: 1.25rem;
}

.employer-share-modal__body {
    padding: 1.5rem;
}

/* Smaller text in modals */
.employer-share-modal__body .employer-share-label {
    font-size: 1.05rem;
}

.employer-share-modal__body .employer-share-textarea {
    font-size: 1.05rem;
}

.employer-share-modal__body .employer-share-hint {
    font-size: 1rem;
}

.employer-share-modal__body .employer-share-message-preview {
    font-size: 1.05rem;
}

.employer-share-modal__body .employer-share-input {
    font-size: 1.05rem;
}

.employer-share-modal__body .employer-share-checkbox-label {
    font-size: 1.05rem;
}

.employer-share-modal__body .employer-share-outreach-preview__title {
    font-size: 1.35rem;
}

.employer-share-modal__body .employer-share-outreach-preview__body {
    font-size: 1.05rem;
}

.employer-share-modal__body .employer-share-outreach-preview__text {
    font-size: 1.05rem;
}

@media (max-width: 480px) {
    .employer-share .nowl-button {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .employer-share .employer-share-card__message-actions {
        flex-direction: column;
    }
}

/* css/industries-archive.css */
.industries-hero__inner {
    max-width: var(--global-content-width);
    margin: 0 auto;
    padding: 4rem var(--global-content-edge-padding);
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.industries-hero__content {
    flex: 6 1 0;
}

.industries-hero__title {
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--global-palette3);
    margin: 0 0 0.5rem;
}

.industries-hero__description {
    color: var(--global-palette5);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.industries-hero__description p:last-child {
    margin-bottom: 0;
}

.industries-hero__button {
    width: fit-content;
}

.industries-hero__image {
    flex: 4 1 0;
}

.industries-hero__image img {
    max-width: 100%;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--outline-color);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 767px) {
    .industries-hero__inner {
        padding: 3rem var(--global-content-edge-padding);
        flex-direction: column;
        align-items: stretch;
    }

    .industries-hero__title {
        font-size: 2rem;
    }

    .industries-hero__image img {
        max-width: 100%;
    }
}

.industries-archive__wrapper {
    max-width: var(--global-content-width);
    padding: 4rem var(--global-content-edge-padding);
    margin-left: auto;
    margin-right: auto;
}

.industries-archive__wrapper--top {
    padding-top: 2rem;
    padding-bottom: 0;
}

.industries-archive .nowl-archive-outro {
    margin-top: 4rem;
    color: var(--global-palette4);
    font-size: 1.1rem;
    line-height: 1.6;
}

.industry-single .industry-content {
    margin-inline: calc(-1 * var(--global-content-edge-padding));
}

.industries-archive .nowl-post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industries-archive .industry-card {
    display: flex;
    flex-direction: column;
    background-color: var(--global-palette8);
    border: 1px solid var(--outline-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.industries-archive .industry-card:hover {
    background-color: var(--portal-card-hover);
    border-color: var(--global-palette2);
}

.industries-archive .industry-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.industries-archive .industry-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industries-archive .nowl-post-card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industries-archive .nowl-post-card__title {
    color: var(--global-palette3);
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0;
}

.industries-archive .nowl-post-card__summary {
    color: var(--global-palette5);
    font-size: 1.05rem;
    line-height: 1.45;
}

@media (max-width: 1200px) {
    .industries-archive .nowl-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .industries-archive .nowl-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .industries-archive .nowl-post-grid {
        grid-template-columns: 1fr;
    }
}

/* css/workshops.css */
.workshops-page {
    max-width: 1200px;
    margin: 0 auto;
}

.workshops-page__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.workshops-page__header h1 {
    margin: 0 0 0.5rem;
}

.workshops-page__lead {
    margin: 0;
    color: var(--global-palette5);
}

.workshops-page__request-btn {
    flex-shrink: 0;
}

.workshops-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.workshop-card {
    background-color: var(--global-palette9);
    border-radius: 1rem;
    border: 1px solid var(--outline-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.workshop-card:hover {
    background-color: var(--portal-card-hover);
    border-color: var(--global-palette2);
}

.workshop-card--cancelled {
    opacity: 0.85;
}

.workshop-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--global-palette7);
    overflow: hidden;
}

.workshop-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.workshop-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--global-palette5);
}

.workshop-card__image--placeholder .ph {
    font-size: 3rem;
}

.workshop-card__tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--global-palette8);
    color: var(--global-palette4);
}

.workshop-card__tag--virtual {
    background: var(--global-palette2);
    color: white;
}

.workshop-card__tag--onsite {
    background: var(--green);
    color: white;
}

.workshop-card__cancelled {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    background: #c00;
    color: white;
}

.workshop-card__content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.workshop-card__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--global-palette3);
    line-height: 1.3;
}

.workshop-card__date {
    font-size: 0.9rem;
    color: var(--global-palette5);
}

.workshops-page__empty {
    color: var(--global-palette5);
    font-style: italic;
}

.workshops-page__loading {
    color: var(--global-palette5);
}

.workshops-modal .nowl_modal__content {
    width: 100%;
    max-width: 560px;
}

.workshops-modal__content--scrollable {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.workshop-detail__body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.workshops-modal__content--scrollable .nowl_modal__actions {
    flex-shrink: 0;
    padding-top: 1rem;
}

.workshop-detail__image-wrap {
    margin-bottom: 1rem;
}

.workshop-detail__image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.workshop-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.workshop-detail__tag {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.workshop-detail__date {
    font-size: 0.95rem;
    color: var(--global-palette5);
}

.workshop-detail__location {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.workshop-detail__description {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--global-palette5);
}

.workshop-detail__description--empty {
    font-style: italic;
}

.workshop-detail__description.blog-content p {
    margin: 0 0 0.75rem;
}

.workshop-detail__description.blog-content p:last-child {
    margin-bottom: 0;
}

.workshop-request__lead {
    color: var(--global-palette5);
    font-size: 0.95rem;
    margin: 0 0 2.25rem;
    line-height: 1.4;
}

.workshop-request__flash {
    max-width: 100%;
}

.workshops-modal .nowl_modal__header {
    margin-bottom: 0.5rem;
}

.workshops-modal .ai-form-container input,
.workshops-modal .ai-form-container textarea {
    background-color: var(--global-palette7) !important;
    border: 1px solid var(--outline-color) !important;
    border-radius: 3px;
    padding: 0.6rem 0.75rem;
}

.workshops-modal .ai-form-container label {
    font-weight: 300;
}

.workshops-modal .ai-form-container .nowl_modal__field_label {
    margin-bottom: 0.5rem;
}

.workshops-modal .ai-form-container .nowl_modal__fields {
    row-gap: 1.25rem;
}

.workshops-modal .ai-form-container .nowl_modal__field_input {
    margin-bottom: 0;
}

.workshops-modal .request-workshop-textarea {
    min-height: 5.5rem;
    resize: vertical;
}

/* css/modals.css */
.nowl_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.nowl_modal__content {
    background: var(--global-palette8);
    padding: 20px;
    border-radius: 5px;
    width: 400px;
    text-align: left;
}

.nowl_modal__content {
    width: 600px;
}

.nowl_modal__header {
    text-align: center;
    margin-bottom: 1rem;
}

.nowl_modal__field {
}

.nowl_modal__field_label {
    display: block;
    margin-bottom: 0.2rem;
}

.nowl_modal__field_input {
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid transparent !important;
}

.nowl_modal__actions {
    display: flex;
    justify-content: end;
    column-gap: 0.5rem;
}

.nowl_modal__button {
    color: var(--text-on-accent);
}

.nowl_modal__button:hover,
.nowl_modal__button:active,
.nowl_modal__button:focus {
    color: var(--text-on-accent);
}

.nowl_modal__fields {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.nowl_modal__close {
    float: right;
    height: 2rem;
    width: 2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nowl_modal__summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1rem 0;
}

.nowl_modal__summary p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.95rem;
    color: var(--global-palette4);
}

.nowl_modal__summary p strong {
    color: var(--global-palette3);
    font-weight: 600;
}

/* css/newsletter.css */
/* NightOwling Notes / Insights newsletter signup pages — match employer share width & typography */

.nowl-newsletter-page {
    padding: 3.5rem 1.5rem 8rem;
}

.nowl-newsletter-page__layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5rem;
}

/* Left column: single image, 4:5 aspect ratio */
.nowl-newsletter-page__images {
    position: relative;
    flex-shrink: 0;
    min-width: 260px;
}

.nowl-newsletter-page__floater {
    width: 449.579px;
    height: 456.657px;
    transform: rotate(-30.862deg);
    position: absolute;
    left: -136px;
    top: 50px;
    z-index: 0;
    border-radius: 164px;
    background: rgba(101, 84, 170, 0.30);
    filter: blur(300px);
    pointer-events: none;
}

.nowl-newsletter-page__image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--outline-color, rgba(153, 188, 238, 0.3));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nowl-newsletter-page__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.nowl-newsletter-page__content {
    flex: 1;
    min-width: 0;
    max-width: 42em;
}

.nowl-newsletter-page__title {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--global-palette3);
    margin-bottom: 0.5rem;
}

.nowl-newsletter-page__description {
    font-size: 1.3rem;
    color: var(--global-palette6, #555);
    margin-bottom: 2rem;
    max-width: 42em;
}

.nowl-newsletter-page__bullets {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    padding-left: 0 !important;
}

.nowl-newsletter-page__bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--global-palette6);
    line-height: 1.4;
}

.nowl-newsletter-page__bullet .ph {
    flex-shrink: 0;
    color: var(--green);
    font-size: 1.15em;
    margin-top: 3px;
}

.nowl-newsletter-form__row {
    margin-bottom: 0;
}

.nowl-newsletter-form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.125rem;
}

.nowl-newsletter-form__input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    max-width: 44rem;
}

.nowl-newsletter-form__input {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
    line-height: 1.5;
    background-color: var(--global-palette8) !important;
    border: 1px solid var(--outline-color) !important;
    border-radius: 4px;
    color: var(--global-palette5, #333);
}

.nowl-newsletter-form__input:focus {
    outline: 2px solid var(--global-palette1, #333);
    outline-offset: 2px;
}

.nowl-newsletter-form__submit {
    flex-shrink: 0;
    min-width: 10rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.0625rem;
}

.nowl-newsletter-form__message {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Compact layout: for half-width areas */
.nowl-newsletter-page--compact {
    padding: 2rem 0 3rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__layout {
    gap: 1.5rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__images {
    min-width: 140px;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__floater {
    width: 120px;
    height: 120px;
    left: -30px;
    top: 10px;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__image {
    max-width: 180px;
    box-shadow: none;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__image img {
    border: none;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__title {
    display: block;
    font-size: 1.125rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__description {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__bullets {
    margin-bottom: 1rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-page__bullet {
    font-size: 1rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-form__input-group {
    gap: 0.35rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-form__label {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-form__input {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-form__submit {
    min-width: 6rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
}

.nowl-newsletter-page--compact .nowl-newsletter-form__message {
    font-size: 0.8125rem;
}

/* Full layout: switch to column sooner on mobile */
@media (max-width: 64em) {
    .nowl-newsletter-page:not(.nowl-newsletter-page--compact) .nowl-newsletter-page__layout {
        flex-direction: column;
    }
}

/* Mobile: tablet and smaller */
@media (max-width: 48em) {
    .nowl-newsletter-page {
        padding: 2rem 1rem 4rem;
    }

    .nowl-newsletter-page__layout {
        gap: 2.5rem;
    }

    .nowl-newsletter-page__images {
        min-width: 0;
        width: 100%;
    }

    .nowl-newsletter-page__floater {
        width: 180px;
        height: 180px;
        left: -40px;
        top: 20px;
    }

    .nowl-newsletter-page__image {
        max-width: 280px;
    }

    .nowl-newsletter-page__title {
        font-size: 2rem;
    }

    .nowl-newsletter-page__description {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    .nowl-newsletter-page__bullets {
        margin-bottom: 1.5rem;
    }

    .nowl-newsletter-page__bullet {
        font-size: 1.15rem;
    }

    .nowl-newsletter-form__input-group {
        flex-direction: column;
        max-width: none;
    }

    .nowl-newsletter-form__input {
        padding: 0.875rem 1rem;
        font-size: 1.125rem;
    }

    .nowl-newsletter-form__submit {
        min-width: 0;
        width: 100%;
        padding: 0.875rem 1rem;
    }
}

/* Mobile: small phones */
@media (max-width: 30em) {
    .nowl-newsletter-page {
        padding: 1.5rem 0.75rem 3rem;
    }

    .nowl-newsletter-page__layout {
        gap: 2rem;
    }

    .nowl-newsletter-page__title {
        font-size: 1.75rem;
    }

    .nowl-newsletter-form__label {
        font-size: 1rem;
    }
}

/* css/reports-document.css */
/* Full-page report reader: slim bar on top, document filling everything below.
   The document renders in a sandboxed iframe, so nothing here reaches inside it. */

body.nowl-report-reader {
    margin: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--global-palette9);
}

/* The reader is its own shell; hide any chrome the theme or plugins inject. */
body.nowl-report-reader #wrapper,
body.nowl-report-reader .site-header,
body.nowl-report-reader .site-footer,
body.nowl-report-reader #wpadminbar {
    display: none !important;
}

.report-reader__bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    background: var(--global-palette8);
    border-bottom: 1px solid var(--global-palette7);
}

.report-reader__back,
.report-reader__action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--global-palette7);
    border-radius: 6px;
    color: var(--global-palette3);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.report-reader__back:hover,
.report-reader__action:hover {
    background: var(--global-palette7);
    color: var(--global-palette3);
}

.report-reader__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--global-palette4);
    /* Long report titles must not push the actions off the bar. */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.report-reader__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-reader__frame {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    display: block;
    /* Exports assume a white page; avoid a dark flash before they paint. */
    background: #fff;
}

@media (max-width: 600px) {
    .report-reader__title {
        display: none;
    }

    .report-reader__action span {
        display: none;
    }
}
