/* ==========================================================================
   Portal2026 + AI restyle layer
   Design language aligned with SCMA Website Design V3 / 2025 theme tokens.
   Prefer Etellect common.css utilities (e-flex, e-grid, e-stack, e-gap*, p*, m*)
   for layout; this file holds portal2026-specific presentation only.
   Do not override EtellectCommonControls internals here.
   ========================================================================== */

:root {
    --portal2026-navy: #003666;
    --portal2026-soft-sand: #FAF2EB;
    --portal2026-soft-grey: #F0F3F7;
    --portal2026-golden-glow: #F9BD3A;
    --portal2026-blue-zing: #266CF0;
    --portal2026-earthy-beige: #CCC1B0;
    --portal2026-baby-blossom: #FCC4C6;
    --portal2026-sky-bliss: #98D4D8;
    --portal2026-dreamy-lilac: #C7B1F2;
    --portal2026-happy-heart: #EA3453;
    --portal2026-garden-fresh: #15AD90;
    /* Match Website Design V3 / .website-frame in styles.css */
    --portal2026-frame-border: 10px;
    --portal2026-radius: 30px;
    --portal2026-radius-sm: 20px;
    --portal2026-shadow: none;
    /* Shared navy chevron for all portal2026 <select> controls */
    --portal2026-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23003666' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
}

/*
  Native select arrows are inconsistent (and often stripped by appearance resets).
  Apply the same navy chevron used on Learning duration everywhere in Portal2026.
*/
select.portal2026-course-list__input,
select.portal2026-log-list__input,
select.portal2026-log-view__input,
select.portal2026-resources__input,
select.portal2026-resources__select,
select.portal2026-downloads__select,
select.portal2026-product__select,
select.portal2026-checkout__input,
select.portal2026-cartview__input,
.portal2026-log-list select,
.portal2026-log-view select,
.portal2026-log-manager select,
.portal2026-course-list select,
.portal2026-course-view select,
.portal2026-resources select,
.portal2026-downloads select,
.portal2026-product select,
.portal2026-shop select,
.portal2026-checkout select,
.portal2026-dd select,
.portal2026-training select,
.portal2026-membership select,
.portal2026-learning-zone select,
.portal2026-further select,
.portal2026-dashboard select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: var(--portal2026-select-chevron);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ---- Dashboard shell ---------------------------------------------------- */

.portal2026-dashboard {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

/*
  Dashboard columns:
  - left: flexible (remaining space)
  - right: magazine fixed 420px
  Not using e-grid here so dense packing / --grid-cols cannot break the split.
*/
.portal2026-dashboard__layout {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.portal2026-dashboard__main,
.portal2026-dashboard__magazine,
.portal2026-dashboard__grid {
    min-width: 0;
    box-sizing: border-box;
}

.portal2026-dashboard__main {
    flex: 1 1 100%;
    width: 100%;
}

.portal2026-dashboard__magazine {
    flex: 1 1 100%;
    width: 100%;
    align-self: flex-start;
}

@media (min-width: 900px) {
    .portal2026-dashboard__main {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none;
    }

    .portal2026-dashboard__magazine {
        flex: 0 0 420px !important;
        width: 420px !important;
        max-width: 420px !important;
    }
}

/* ---- Cards (design frames: thick earthy-beige border) -------------------- */

.portal2026-card {
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius);
    box-shadow: var(--portal2026-shadow);
    overflow: hidden;
    min-width: 0;
}

.portal2026-card--summary {
    background: var(--portal2026-soft-sand);
    /* Keep the same weight as other frames so the dashboard feels consistent */
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
}

/* Soft sand wash behind nested widget chrome without editing widget CSS files */
.portal2026-card .portal2026-widget + .portal2026-widget {
    border-top: 1px solid rgba(0, 54, 102, 0.08);
    padding-top: 20px;
}

/* ---- Feature widgets (What's New / Latest News / Childminding News) ----- */
/*
  Default feature-widget.css uses 8px radius and branding primary blue buttons.
  Match beige card radius (30px) and classy-navy CTAs. Green fills use garden-fresh.
*/
.portal2026-dashboard .common-feature-widget,
.portal2026-dashboard .common-feature-widget:visited,
.portal2026-dashboard .common-feature-widget:hover,
.portal2026-dashboard .common-feature-widget:active {
    border-radius: var(--portal2026-radius) !important; /* 30px — same as .portal2026-card */
    overflow: hidden;
}

/*
  Garden Fresh green = #15AD90 (--portal2026-garden-fresh / --garden-fresh).
  Older portal teal was #0A9A85 — force the brand token for green feature cards.
*/
.portal2026-dashboard .common-feature-widget--garden-fresh,
.portal2026-dashboard .common-feature-widget--green,
.portal2026-dashboard .common-feature-widget--fill,
.portal2026-dashboard .e-panel--filled-green {
    background-color: var(--portal2026-garden-fresh) !important; /* #15AD90 */
    color: #fff !important;
}

.portal2026-dashboard .common-feature-widget--garden-fresh .common-feature-widget__content__link,
.portal2026-dashboard .common-feature-widget--green .common-feature-widget__content__link,
.portal2026-dashboard .common-feature-widget--fill .common-feature-widget__content__link {
    color: #fff !important;
}

/* CTA: classy-navy (same as --portal2026-navy / --classy-navy #003666) */
.portal2026-dashboard .common-feature-widget .button--primary,
.portal2026-dashboard .common-feature-widget .button--primary:visited,
.portal2026-dashboard .common-feature-widget .common-feature-widget__content__link.button,
.portal2026-dashboard .common-feature-widget .common-feature-widget__content__link.button--primary {
    background-color: var(--portal2026-navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--portal2026-radius-sm) !important;
}

.portal2026-dashboard .common-feature-widget .button--primary:hover,
.portal2026-dashboard .common-feature-widget .button--primary:focus,
.portal2026-dashboard .common-feature-widget .common-feature-widget__content__link.button:hover,
.portal2026-dashboard .common-feature-widget .common-feature-widget__content__link.button--primary:hover {
    background-color: #00264d !important;
    color: #fff !important;
}

.portal2026-dashboard .common-feature-widget .common-feature-widget__content__link .button,
.portal2026-dashboard .common-feature-widget .common-feature-widget__content__link div {
    color: #fff !important;
}

/* ---- Headings ----------------------------------------------------------- */

.portal2026-heading,
.portal2026-dashboard h2 {
    font-family: "Cat Comic", Quicksand, sans-serif;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 1.15;
    color: var(--portal2026-navy);
    margin: 0;
}

.portal2026-dashboard h3 {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--portal2026-navy);
    margin: 0 0 0.5rem 0;
}

/* ---- Hero / role banners ------------------------------------------------ */

.portal2026-banner {
    border-radius: var(--portal2026-radius);
    overflow: hidden;
    background: var(--portal2026-soft-sand);
    border: none;
    box-shadow: var(--portal2026-shadow);
}

.portal2026-banner__media {
    line-height: 0;
}

.portal2026-banner__img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---- Welcome video ------------------------------------------------------ */
/* aspect-ratio (not padding-bottom) so stretched grid cells can't leave a
   coloured strip under the player when a sibling column is taller. */

.portal2026-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
    border-radius: var(--portal2026-radius-sm);
    overflow: hidden;
    background: #000;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    line-height: 0;
}

.portal2026-video__frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@supports not (aspect-ratio: 16 / 9) {
    .portal2026-video__frame {
        height: 0;
        padding-bottom: 56.25%;
    }
}

/* ---- Support / side column polish -------------------------------------- */
/* Frame weight only — do not change commoncontrol markup/CSS files */

.portal2026-dashboard .e-stack > .portal2026-card,
.portal2026-dashboard .e-stack > [class*="panel"],
.portal2026-dashboard .e-stack > .e-panel {
    border-radius: var(--portal2026-radius);
}

/* Pull nested old-portal thin borders up to the V3 frame weight inside this dashboard only */
.portal2026-dashboard .panel--bordered,
.portal2026-dashboard .e-panel--bordered,
.portal2026-dashboard .panel.panel--white.panel--bordered {
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige) !important;
    border-radius: var(--portal2026-radius) !important;
    box-shadow: none !important;
}

/* Soften dense list spacing inside dashboard cards when widgets render lists */
.portal2026-dashboard .portal2026-card ul {
    margin: 0;
}

/* ---- Accent helpers for future Portal2026 controls --------------------- */

.portal2026-tile {
    border-radius: var(--portal2026-radius-sm);
    padding: 20px;
    color: var(--portal2026-navy);
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
}

.portal2026-tile--pink { background: var(--portal2026-baby-blossom); }
.portal2026-tile--green { background: var(--portal2026-sky-bliss); }
.portal2026-tile--purple { background: var(--portal2026-dreamy-lilac); }
.portal2026-tile--yellow { background: var(--portal2026-golden-glow); }
.portal2026-tile--navy {
    background: var(--portal2026-navy);
    color: #fff;
}

/* Buttons — force colours against portal/theme link styles (a, a:visited, a:hover) */
.portal2026-btn,
a.portal2026-btn,
a.portal2026-btn:link,
a.portal2026-btn:visited,
a.portal2026-btn:hover,
a.portal2026-btn:focus,
a.portal2026-btn:active,
button.portal2026-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 100px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    background: var(--portal2026-navy);
    color: #fff !important; /* solid navy fill always white text */
    text-align: center;
    box-sizing: border-box;
}

.portal2026-btn--gold,
a.portal2026-btn--gold,
a.portal2026-btn--gold:link,
a.portal2026-btn--gold:visited,
a.portal2026-btn--gold:hover,
a.portal2026-btn--gold:focus,
a.portal2026-btn--gold:active {
    background: var(--portal2026-golden-glow);
    color: var(--portal2026-navy) !important;
}

.portal2026-btn--outline,
a.portal2026-btn--outline,
a.portal2026-btn--outline:link,
a.portal2026-btn--outline:visited,
a.portal2026-btn--outline:hover,
a.portal2026-btn--outline:focus,
a.portal2026-btn--outline:active {
    background: transparent;
    border: 2px solid var(--portal2026-navy);
    color: var(--portal2026-navy) !important; /* match outline, not theme link blue */
    padding: 8px 26px;
}

.portal2026-btn--danger,
a.portal2026-btn--danger,
a.portal2026-btn--danger:link,
a.portal2026-btn--danger:visited,
a.portal2026-btn--danger:hover,
a.portal2026-btn--danger:focus,
a.portal2026-btn--danger:active {
    background: var(--portal2026-happy-heart);
    color: #fff !important;
}

.portal2026-btn:hover,
.portal2026-btn:focus,
a.portal2026-btn:hover,
a.portal2026-btn:focus {
    opacity: 0.92;
    text-decoration: none !important;
}

/* Nested icons inherit the button text colour, not link colour */
.portal2026-btn i,
.portal2026-btn span {
    color: inherit !important;
}

/* ---- FAQs (Website Design V3 accordion feel) ---------------------------- */

.portal2026-faqs {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-faqs__intro {
    margin: 0;
}

.portal2026-faqs__lede,
.portal2026-faqs__intro-copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-faqs__intro-copy p {
    margin: 0;
}

.portal2026-faqs__section-title {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--portal2026-navy);
    margin: 0;
    padding-bottom: 4px;
}

/* Accordion rendered by /EtellectCustom/controls/Accordian.ascx — styled only in this scope */
.portal2026-faqs__list .accordion-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 18px 4px;
    border: none;
    border-top: 1px solid #97A7B6;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.portal2026-faqs__list .accordion-toggle:first-child,
.portal2026-faqs__list > div > .accordion-toggle:first-of-type {
    border-top: 1px solid #97A7B6;
}

.portal2026-faqs__list .accordion-toggle-pretitle {
    display: none;
}

/* Chevron on the right (design uses triangle up/down) */
.portal2026-faqs__list .accordion-toggle::after {
    content: "\f0d7"; /* caret-down */
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 1.1rem;
    margin-left: auto;
    flex-shrink: 0;
    color: var(--portal2026-navy);
    transition: transform 0.15s ease;
}

.portal2026-faqs__list .accordion-toggle.open::after {
    content: "\f0d8"; /* caret-up */
}

/* Visibility is owned by Accordian.ascx (PreRender + jQuery slideToggle) */
.portal2026-faqs__list .accordion-content {
    padding: 0 4px 18px 4px;
    color: var(--portal2026-navy);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

.portal2026-faqs__list .accordion-content p:first-child {
    margin-top: 0;
}

.portal2026-faqs__list .accordion-content p:last-child {
    margin-bottom: 0;
}

.portal2026-faqs__list .accordion-content a {
    color: var(--portal2026-blue-zing);
    font-weight: 700;
}

/* ---- Cost of Living ----------------------------------------------------- */

.portal2026-col {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-col__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

/* Segmented pill tabs — design interpretation of V3 pills/CTAs */
.portal2026-col__tabs-wrap {
    width: 100%;
}

.portal2026-col .portal2026-tabs.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 8px;
    border: none !important; /* override base .tabs border */
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    box-sizing: border-box;
}

.portal2026-col .portal2026-tabs.tabs > li {
    flex: 1 1 0;
    margin: 0 !important;
    min-width: 140px;
    list-style: none;
}

.portal2026-col .portal2026-tabs .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 100px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal2026-col .portal2026-tabs .tab:hover,
.portal2026-col .portal2026-tabs .tab:focus {
    color: var(--portal2026-navy) !important;
    background: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
}

/* Selected: solid classy navy pill (website primary button language) */
.portal2026-col .portal2026-tabs .tab.tab--selected,
.portal2026-col .portal2026-tabs .tab.selected {
    background: var(--portal2026-navy);
    color: #fff !important;
    border-color: var(--portal2026-navy);
}

.portal2026-col .portal2026-tabs .tab.tab--selected:hover,
.portal2026-col .portal2026-tabs .tab.tab--selected:focus,
.portal2026-col .portal2026-tabs .tab.selected:hover,
.portal2026-col .portal2026-tabs .tab.selected:focus {
    background: var(--portal2026-navy);
    color: #fff !important;
    opacity: 0.95;
}

.portal2026-col .portal2026-tabs .tab i {
    font-size: 1rem;
}

/* Document cards */
.portal2026-col__resource-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--portal2026-navy);
}

.portal2026-col__resource-title span,
.portal2026-col__resource-title label {
    font: inherit;
    color: inherit;
}

.portal2026-col__resource-desc {
    color: var(--portal2026-navy);
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-col__resource-desc span,
.portal2026-col__resource-desc label {
    font: inherit;
    color: inherit;
}

.portal2026-col__empty {
    color: var(--portal2026-navy);
    font-weight: 600;
}

.portal2026-col__log-link {
    color: var(--portal2026-navy);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    opacity: 0.85;
}

.portal2026-col__log-link:hover,
.portal2026-col__log-link:focus {
    color: var(--portal2026-blue-zing);
    text-decoration: none;
    opacity: 1;
}

/* Outer Cost of Living calculator frame already provides the thick border */
.portal2026-col__calculator {
    /* content styles live under .portal2026-calculator */
}

/* ---- Finance Calculator ------------------------------------------------- */

.portal2026-calculator {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
    width: 100%;
    max-width: 100%;
}

.portal2026-calculator__shell,
.portal2026-calculator__body {
    width: 100%;
}

.portal2026-calculator__body > p,
.portal2026-calculator__body p {
    margin: 0 0 1em 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-calculator__body h3 {
    margin: 0 0 0.5em 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--portal2026-navy);
}

.portal2026-calculator__body h3 em {
    font-style: italic;
    color: var(--portal2026-blue-zing);
}

/* Form rows: label + value as clean stacked/grid rows */
.portal2026-calculator .form-group.portal2026-calculator__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
    margin: 0 0 14px 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 54, 102, 0.12);
}

.portal2026-calculator .form-group.portal2026-calculator__row:last-of-type {
    border-bottom: none;
}

.portal2026-calculator .portal2026-calculator__label,
.portal2026-calculator label.control-label {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 220px;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--portal2026-navy);
    white-space: normal;
}

.portal2026-calculator .form-group > [class*="col-sm-"] {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}

.portal2026-calculator .form-group > .col-sm-2,
.portal2026-calculator .form-group > .col-sm-3 {
    flex: 0 0 160px;
    max-width: 180px;
}

.portal2026-calculator__hint {
    display: block;
    margin-top: 6px;
    font-style: italic;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(0, 54, 102, 0.75);
}

.portal2026-calculator__note {
    color: var(--portal2026-navy);
    font-weight: 600;
}

.portal2026-calculator__note a,
.portal2026-calculator a {
    color: var(--portal2026-blue-zing);
    font-weight: 700;
}

.portal2026-calculator a:hover {
    text-decoration: underline;
}

/* Inputs — soft sand field, navy text, rounded */
.portal2026-calculator .input-group {
    display: flex;
    width: 100%;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: 100px;
    overflow: hidden;
    background: #fff;
}

.portal2026-calculator .form-control {
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0;
    height: 44px;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: var(--portal2026-navy) !important;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 14px !important;
}

.portal2026-calculator .form-control:focus {
    outline: none;
    background: var(--portal2026-soft-sand) !important;
}

.portal2026-calculator .input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0 12px;
    border: none !important;
    background: var(--portal2026-soft-sand) !important;
    color: var(--portal2026-navy) !important;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.portal2026-calculator__actions {
    margin-top: 8px;
    padding-top: 8px;
    justify-content: flex-end;
}

.portal2026-calculator__actions .portal2026-btn {
    min-width: 120px;
}

/* Results */
.portal2026-calculator__result-block {
    margin: 0 0 12px 0;
}

.portal2026-calculator__result-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.portal2026-calculator__result-value {
    font-family: "Cat Comic", Quicksand, sans-serif;
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1.1;
    color: var(--portal2026-navy);
    margin: 8px 0 18px 0;
    padding: 16px 20px;
    background: var(--portal2026-soft-sand);
    border-radius: var(--portal2026-radius-sm);
    border: 2px solid var(--portal2026-earthy-beige);
}

.portal2026-calculator__result-tip {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    border: 2px solid var(--portal2026-earthy-beige);
    color: var(--portal2026-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.portal2026-calculator__result-tip a {
    color: var(--portal2026-blue-zing);
    font-weight: 700;
}

/* Bootstrap row float clear inside calculator */
.portal2026-calculator .form-horizontal::before,
.portal2026-calculator .form-horizontal::after,
.portal2026-calculator .form-group::before,
.portal2026-calculator .form-group::after {
    display: none !important;
    content: none !important;
}

/* ---- Social wall / feeds ------------------------------------------------ */
/*
  Design approach:
  - Thick-frame network columns (V3 frames)
  - Segmented soft-sand switcher on mobile (same language as Cost of Living tabs)
  - Brand colour only as small accents (icon discs + follow chips) so the page
    still feels SCMA navy/sand, not a raw FB/Twitter embed skin
  - Embeds sit in a soft inner well; we don't restyle third-party iframe guts
*/

.portal2026-social {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-social__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

/* Mobile network switcher */
.portal2026-social__switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    box-sizing: border-box;
}

.portal2026-social__switch {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 14px;
    border: 2px solid transparent;
    border-radius: 100px;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal2026-social__switch:hover,
.portal2026-social__switch:focus {
    background: rgba(255, 255, 255, 0.7);
    outline: none;
}

.portal2026-social__switch.is-active {
    background: var(--portal2026-navy);
    color: #fff;
    border-color: var(--portal2026-navy);
}

.portal2026-social__switch i {
    font-size: 1rem;
}

/* Columns / cards */
.portal2026-social__column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.portal2026-social__column-head {
    padding: 18px 18px 14px 18px;
    border-bottom: 1px solid rgba(0, 54, 102, 0.1);
    background: linear-gradient(180deg, var(--portal2026-soft-sand) 0%, #fff 100%);
}

.portal2026-social__icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 54, 102, 0.12);
}

.portal2026-social__icon--facebook {
    background: #1877F2;
}

.portal2026-social__icon--twitter {
    background: #0F1419; /* X */
}

.portal2026-social__icon--instagram {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 100%);
}

.portal2026-social__network-name {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--portal2026-navy);
}

/* Follow chips — brand-tinted but still pill-shaped */
.portal2026-social__follow,
a.portal2026-social__follow,
a.portal2026-social__follow:link,
a.portal2026-social__follow:visited,
a.portal2026-social__follow:hover,
a.portal2026-social__follow:focus,
a.portal2026-social__follow:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    text-decoration: none !important;
    color: #fff !important;
    border: none;
}

.portal2026-social__follow--facebook { background: #1877F2; }
.portal2026-social__follow--twitter { background: #0F1419; }
.portal2026-social__follow--instagram {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 100%);
}

.portal2026-social__follow:hover,
.portal2026-social__follow:focus {
    opacity: 0.92;
}

/* Embed well — soft sand inset so third-party widgets don't float raw */
.portal2026-social__embed {
    flex: 1 1 auto;
    min-height: 420px;
    padding: 12px;
    background: var(--portal2026-soft-sand);
}

.portal2026-social__embed > div {
    max-width: 100%;
}

/* Compact stream used by SocialFeed / widget */
.portal2026-social-feed {
    min-height: 120px;
}

.portal2026-social-feed__stream {
    max-height: 360px;
    overflow: auto;
    padding: 4px;
}

/* Soften Social Stream plugin chrome inside our feed */
.portal2026-social-feed .dcsns,
.portal2026-social-feed .stream,
.portal2026-social-feed .dcsns-content {
    font-family: Quicksand, "Segoe UI", sans-serif !important;
    color: var(--portal2026-navy) !important;
}

.portal2026-social-widget__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--portal2026-navy);
}

.portal2026-social-widget__feed {
    min-height: 80px;
}

.portal2026-social-widget__footer {
    padding-top: 4px;
    justify-content: center;
}

/* Desktop: always show all three columns even if JS last hid one */
@media (min-width: 960px) {
    .portal2026-social__column {
        display: flex !important;
    }
}

/* ---- Order history ------------------------------------------------------ */

.portal2026-orders {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-orders__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-orders__card {
    min-height: 100%;
    box-sizing: border-box;
}

.portal2026-orders__status-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.portal2026-orders__status-icon--ok {
    background: var(--portal2026-garden-fresh, #15AD90);
}

.portal2026-orders__status-icon--fail {
    background: var(--portal2026-happy-heart);
}

.portal2026-orders__order-id {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--portal2026-navy);
}

.portal2026-orders__date {
    font-size: 0.9rem;
    opacity: 0.85;
}

.portal2026-orders__meta {
    font-size: 0.98rem;
    line-height: 1.45;
}

.portal2026-orders__meta strong {
    font-weight: 700;
}

.portal2026-orders .order-payment-success {
    color: var(--portal2026-garden-fresh, #15AD90);
    font-weight: 700;
}

.portal2026-orders .order-payment-failure,
.portal2026-order-details .order-payment-failure {
    color: var(--portal2026-happy-heart);
    font-weight: 700;
}

.portal2026-orders .order-payment-success,
.portal2026-order-details .order-payment-success {
    color: var(--portal2026-garden-fresh, #15AD90);
    font-weight: 700;
}

.portal2026-orders__actions {
    margin-top: auto;
    padding-top: 4px;
}

/* ---- Order details ------------------------------------------------------ */

.portal2026-order-details {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-order-details__payment,
.portal2026-order-details__message {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.portal2026-order-details__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--portal2026-navy);
}

.portal2026-order-details__card--sand {
    background: var(--portal2026-soft-sand);
}

.portal2026-order-details__dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal2026-order-details__dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 42%) 1fr;
    gap: 8px 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 54, 102, 0.1);
}

.portal2026-order-details__dl > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.portal2026-order-details__dl dt {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
}

.portal2026-order-details__dl dd {
    margin: 0;
    font-weight: 600;
}

.portal2026-order-details__address {
    line-height: 1.5;
    font-weight: 600;
}

.portal2026-order-details__table {
    width: 100%;
    border-collapse: collapse;
    font-family: Quicksand, sans-serif;
    color: var(--portal2026-navy);
}

.portal2026-order-details__table th,
.portal2026-order-details__table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0, 54, 102, 0.12);
    vertical-align: top;
}

.portal2026-order-details__table th {
    font-weight: 700;
    text-align: left;
    background: var(--portal2026-soft-sand);
}

.portal2026-order-details__table th.text-right,
.portal2026-order-details__table td.text-right {
    text-align: right;
}

.portal2026-order-details__table th.text-left {
    text-align: left;
}

.portal2026-order-details__total td {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding-top: 16px;
    background: transparent;
}

/* ---- Childminder search profile ----------------------------------------- */

.portal2026-cms-search {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-cms-search__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-cms-search__id {
    padding: 12px 16px;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    border: 2px solid var(--portal2026-earthy-beige);
}

.portal2026-cms-search__id-label {
    font-weight: 700;
    font-size: 0.9rem;
}

.portal2026-cms-search__id-value {
    font-size: 1.1rem;
    color: var(--portal2026-blue-zing);
}

.portal2026-cms-search__radios {
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    color: var(--portal2026-navy);
}

.portal2026-cms-search__radios label {
    font-weight: 600 !important;
    margin-right: 16px;
}

.portal2026-cms-search__actions {
    padding-top: 8px;
}

/* ---- Member downloads --------------------------------------------------- */

.portal2026-downloads {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-downloads__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-downloads__filters {
    align-items: center;
}

.portal2026-downloads__filter-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--portal2026-navy);
}

.portal2026-downloads__select {
    min-width: 200px;
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: 100px;
    background-color: #fff;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.portal2026-downloads__card {
    min-height: 100%;
    box-sizing: border-box;
}

.portal2026-downloads__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--portal2026-soft-sand);
    color: var(--portal2026-navy);
    font-size: 1.2rem;
    border: 2px solid var(--portal2026-earthy-beige);
}

.portal2026-downloads__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
    text-wrap: balance;
}

.portal2026-downloads__title span,
.portal2026-downloads__title label {
    font: inherit;
    color: inherit;
}

.portal2026-downloads__desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
    opacity: 0.9;
}

.portal2026-downloads__desc span,
.portal2026-downloads__desc label {
    font: inherit;
    color: inherit;
}

.portal2026-downloads__actions {
    margin-top: auto;
    padding-top: 4px;
}

/* ---- Resource library --------------------------------------------------- */

.portal2026-resources {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-resources__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-resources__notice {
    margin: 0;
    padding: 14px 18px;
    border-radius: var(--portal2026-radius-sm);
    background: var(--portal2026-soft-sand);
    border: 2px solid var(--portal2026-earthy-beige);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-resources__tabs-wrap {
    width: 100%;
}

/* Reuse segmented pill tabs language from Cost of Living */
.portal2026-resources .portal2026-tabs.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 8px;
    border: none !important;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    box-sizing: border-box;
}

.portal2026-resources .portal2026-tabs.tabs > li {
    flex: 1 1 0;
    margin: 0 !important;
    min-width: 140px;
    list-style: none;
}

.portal2026-resources .portal2026-tabs .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 100px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal2026-resources .portal2026-tabs .tab:hover,
.portal2026-resources .portal2026-tabs .tab:focus {
    color: var(--portal2026-navy) !important;
    background: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
}

.portal2026-resources .portal2026-tabs .tab.tab--selected,
.portal2026-resources .portal2026-tabs .tab.selected {
    background: var(--portal2026-navy);
    color: #fff !important;
    border-color: var(--portal2026-navy);
}

.portal2026-resources .portal2026-tabs .tab.tab--selected:hover,
.portal2026-resources .portal2026-tabs .tab.tab--selected:focus,
.portal2026-resources .portal2026-tabs .tab.selected:hover,
.portal2026-resources .portal2026-tabs .tab.selected:focus {
    background: var(--portal2026-navy);
    color: #fff !important;
    opacity: 0.95;
}

.portal2026-resources .portal2026-tabs .tab i {
    font-size: 1rem;
}

.portal2026-resources__filters {
    background: var(--portal2026-soft-sand);
}

.portal2026-resources__filter-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--portal2026-navy);
    min-width: 88px;
}

.portal2026-resources__select,
.portal2026-resources__input {
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: 100px;
    background-color: #fff;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.portal2026-resources__select {
    min-width: 200px;
    flex: 1 1 220px;
}

.portal2026-resources__keywords {
    min-width: 180px;
    flex: 1 1 240px;
}

.portal2026-resources__input {
    width: 100%;
}

.portal2026-resources__input:focus,
.portal2026-resources__select:focus {
    outline: 2px solid var(--portal2026-blue-zing);
    outline-offset: 2px;
}

.portal2026-resources__empty {
    color: var(--portal2026-navy);
    font-weight: 600;
    line-height: 1.5;
}

.portal2026-resources__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
    text-wrap: balance;
}

.portal2026-resources__title span,
.portal2026-resources__title label {
    font: inherit;
    color: inherit;
}

.portal2026-resources__desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
    opacity: 0.9;
}

.portal2026-resources__desc span,
.portal2026-resources__desc label {
    font: inherit;
    color: inherit;
}

.portal2026-resources__actions {
    padding-top: 4px;
}

/* Favourite heart control (CssClass set in code-behind for active state) */
a.portal2026-resources__fav,
.portal2026-resources__fav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    border: 2px solid var(--portal2026-earthy-beige);
    background: #fff;
    color: var(--portal2026-navy) !important;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1.2;
}

a.portal2026-resources__fav:hover,
a.portal2026-resources__fav:focus,
.portal2026-resources__fav:hover,
.portal2026-resources__fav:focus {
    border-color: var(--portal2026-happy-heart);
    color: var(--portal2026-happy-heart) !important;
    text-decoration: none !important;
}

a.portal2026-resources__fav.is-active,
.portal2026-resources__fav.is-active {
    background: var(--portal2026-baby-blossom);
    border-color: var(--portal2026-happy-heart);
    color: var(--portal2026-happy-heart) !important;
}

a.portal2026-resources__fav i,
.portal2026-resources__fav i {
    font-size: 1.05rem;
    color: inherit;
}

.portal2026-resources__log-link {
    color: var(--portal2026-navy) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    opacity: 0.85;
}

.portal2026-resources__log-link:hover,
.portal2026-resources__log-link:focus {
    color: var(--portal2026-blue-zing) !important;
    text-decoration: none !important;
    opacity: 1;
}

/* ---- Development plan (Personal Plan Paperwork) ------------------------- */

.portal2026-devplan {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-devplan__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

/* Keep columns content-height — do not stretch left to match tall right docs */
.portal2026-devplan__layout {
    align-items: start !important;
}

.portal2026-devplan__main,
.portal2026-devplan__side {
    align-self: start;
    height: auto;
    min-height: 0;
    align-content: start;
}

.portal2026-devplan__video {
    margin: 0;
    height: auto !important;
    align-self: start;
    max-width: 100%;
}

.portal2026-devplan__video .portal2026-video__frame {
    height: auto !important;
    max-height: none;
}

.portal2026-devplan__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--portal2026-navy);
}

.portal2026-devplan__copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
}

.portal2026-devplan__copy--muted {
    opacity: 0.9;
    font-size: 0.95rem;
}

.portal2026-devplan__card--tip {
    background: var(--portal2026-soft-sand);
}

.portal2026-devplan__card--support {
    background: var(--portal2026-navy);
    border-color: var(--portal2026-navy);
    color: #fff;
}

.portal2026-devplan__card--support .portal2026-devplan__section-title,
.portal2026-devplan__card--support .portal2026-devplan__copy,
.portal2026-devplan__card--support strong {
    color: #fff;
}

.portal2026-devplan__tips {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
}

.portal2026-devplan__tips li {
    margin-bottom: 0.35rem;
}

.portal2026-devplan__tips li:last-child {
    margin-bottom: 0;
}

.portal2026-devplan__cta {
    padding: 4px 0;
}

/* Accordion from /EtellectCustom/controls/Accordian.ascx — scoped only */
.portal2026-devplan__list .accordion-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 16px 4px;
    border: none;
    border-top: 1px solid rgba(0, 54, 102, 0.18);
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.portal2026-devplan__list .accordion-toggle:first-child,
.portal2026-devplan__list > div > .accordion-toggle:first-of-type {
    border-top: 1px solid rgba(0, 54, 102, 0.18);
}

.portal2026-devplan__list .accordion-toggle-pretitle {
    display: none;
}

.portal2026-devplan__list .accordion-toggle::after {
    content: "\f0d7";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 1.1rem;
    margin-left: auto;
    flex-shrink: 0;
    color: var(--portal2026-navy);
}

.portal2026-devplan__list .accordion-toggle.open::after {
    content: "\f0d8";
}

.portal2026-devplan__list .accordion-content {
    padding: 0 4px 16px 4px;
    color: var(--portal2026-navy);
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.55;
}

.portal2026-devplan__list .accordion-content p:first-child {
    margin-top: 0;
}

.portal2026-devplan__list .accordion-content p:last-child {
    margin-bottom: 0;
}

.portal2026-devplan__list .accordion-content a {
    color: var(--portal2026-blue-zing);
    font-weight: 700;
}

/* Category headings inside V2 multi-presenter docs card */
.portal2026-devplan__category {
    padding-top: 4px;
    border-top: 1px solid rgba(0, 54, 102, 0.12);
}

.portal2026-devplan__category:first-of-type {
    border-top: none;
    padding-top: 0;
}

.portal2026-devplan__category-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

/* AccordianWithFiles sets inline link styles — override within portal scope only */
.portal2026-devplan__list .accordion-content a,
.portal2026-devplan__list .accordion-content a:link,
.portal2026-devplan__list .accordion-content a:visited {
    display: block !important;
    font-family: Quicksand, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: var(--portal2026-blue-zing) !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.portal2026-devplan__list .accordion-content a:hover,
.portal2026-devplan__list .accordion-content a:focus {
    color: var(--portal2026-navy) !important;
    text-decoration: underline !important;
}

/* Green “download all” / membership-style buttons that may appear in accordion body */
.portal2026-devplan__list a.my-membership-button,
.portal2026-devplan__list .my-membership-button,
.portal2026-devplan a.my-membership-button,
.portal2026-devplan .my-membership-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 100px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    background: var(--portal2026-garden-fresh);
    color: #fff !important;
    text-align: center;
    box-sizing: border-box;
}

.portal2026-devplan__list a.my-membership-button:hover,
.portal2026-devplan__list .my-membership-button:hover,
.portal2026-devplan a.my-membership-button:hover,
.portal2026-devplan .my-membership-button:hover {
    opacity: 0.92;
    color: #fff !important;
    text-decoration: none !important;
}

/* ---- Conferences -------------------------------------------------------- */

.portal2026-conferences {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-conferences__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-conferences__layout,
.portal2026-conferences__row {
    align-items: flex-start;
}

.portal2026-conferences__media {
    flex: 0 1 32%;
    min-width: 200px;
    max-width: 320px;
}

.portal2026-conferences__image-wrap {
    border-radius: var(--portal2026-radius-sm);
    overflow: hidden;
    border: 2px solid var(--portal2026-earthy-beige);
    background: var(--portal2026-soft-sand);
    line-height: 0;
}

.portal2026-conferences__image {
    display: block;
    width: 100%;
    height: auto;
}

.portal2026-conferences__content {
    min-width: 220px;
}

.portal2026-conferences__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

.portal2026-conferences__description {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
}

/* ---- Magazine archive / widget ------------------------------------------ */
/*
  Cover-led issue gallery: navy hero, equal issue cards, colourful action chips.
  Widget is the card — archive slots do not double-frame.
*/

.portal2026-magazines {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-magazines__hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--portal2026-radius);
    border: var(--portal2026-frame-border) solid var(--portal2026-navy);
    background:
        linear-gradient(135deg, var(--portal2026-navy) 0%, #0a4a8a 55%, var(--portal2026-blue-zing) 140%);
    color: #fff;
    padding: 28px 28px 32px;
}

.portal2026-magazines__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 42rem;
}

.portal2026-magazines__kicker {
    display: inline-flex;
    align-items: center;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--portal2026-golden-glow);
}

.portal2026-magazines__hero-title.portal2026-heading,
.portal2026-magazines__hero .portal2026-heading {
    color: #fff;
}

.portal2026-magazines__lede {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.portal2026-magazines__hero-orb {
    position: absolute;
    right: -40px;
    top: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--portal2026-golden-glow), transparent 70%);
    opacity: 0.35;
    pointer-events: none;
}

.portal2026-magazines__hero-orb::after {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -120px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, var(--portal2026-happy-heart), transparent 70%);
    opacity: 0.55;
}

/* Equal cover cards — no featured/latest special layout */
.portal2026-magazines__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
}

.portal2026-magazines__slot {
    min-width: 0;
}

@media (min-width: 768px) {
    .portal2026-magazines__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .portal2026-magazines__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Colour rhythm on card frames */
.portal2026-magazines__slot:nth-child(4n + 1) .portal2026-magazine-widget {
    border-color: var(--portal2026-earthy-beige);
}

.portal2026-magazines__slot:nth-child(4n + 2) .portal2026-magazine-widget {
    border-color: var(--portal2026-sky-bliss);
}

.portal2026-magazines__slot:nth-child(4n + 3) .portal2026-magazine-widget {
    border-color: var(--portal2026-baby-blossom);
}

.portal2026-magazines__slot:nth-child(4n + 4) .portal2026-magazine-widget {
    border-color: var(--portal2026-dreamy-lilac);
}

/* Issue card (widget) — golden frame */
.portal2026-magazine-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-golden-glow);
    border-radius: var(--portal2026-radius);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 54, 102, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal2026-magazine-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 54, 102, 0.14);
    border-color: var(--portal2026-golden-glow);
}

.portal2026-magazine-widget__cover {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--portal2026-navy);
    overflow: hidden;
}

.portal2026-magazine-widget__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portal2026-magazine-widget__cover-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(0, 54, 102, 0.72), transparent);
    pointer-events: none;
}

.portal2026-magazine-widget__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 100px;
    background: var(--portal2026-golden-glow);
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portal2026-magazine-widget__body {
    padding: 18px 18px 20px;
    flex: 1 1 auto;
}

.portal2026-magazine-widget__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
    text-wrap: balance;
}

.portal2026-magazine-widget__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.portal2026-magazine-widget__actions > .not-mobile {
    display: contents;
}

.portal2026-magazine-widget__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 100px;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none !important;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: transform 0.12s ease, opacity 0.12s ease, background-color 0.12s ease;
}

.portal2026-magazine-widget__action i {
    font-size: 0.95rem;
}

.portal2026-magazine-widget__action:hover,
.portal2026-magazine-widget__action:focus {
    transform: translateY(-1px);
    text-decoration: none !important;
    opacity: 0.95;
}

.portal2026-magazine-widget__action--html {
    background: var(--portal2026-sky-bliss);
    color: var(--portal2026-navy) !important;
}

.portal2026-magazine-widget__action--flash {
    background: var(--portal2026-dreamy-lilac);
    color: var(--portal2026-navy) !important;
}

.portal2026-magazine-widget__action--pdf {
    background: var(--portal2026-golden-glow);
    color: var(--portal2026-navy) !important;
}

.portal2026-magazine-widget__action--recite {
    background: var(--portal2026-navy);
    color: #fff !important;
}

.portal2026-magazine-widget__archive {
    padding-top: 2px;
}

.portal2026-magazine-widget__archive-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--portal2026-blue-zing) !important;
    text-decoration: none !important;
}

.portal2026-magazine-widget__archive-link::after {
    content: "\f061";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 0.8rem;
}

.portal2026-magazine-widget__archive-link:hover,
.portal2026-magazine-widget__archive-link:focus {
    color: var(--portal2026-navy) !important;
    text-decoration: underline !important;
}

/* Membership dashboard (and other slots): keep compact but still cover-led */
.portal2026-membership .portal2026-magazine-widget,
.portal2026-card > .portal2026-magazine-widget {
    box-shadow: none;
}

.portal2026-membership .portal2026-magazine-widget:hover {
    transform: none;
}

/* ---- Self-evaluation toolkits ------------------------------------------- */

.portal2026-selfeval {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-selfeval__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-selfeval__layout {
    align-items: start !important;
}

.portal2026-selfeval__main,
.portal2026-selfeval__side {
    align-self: start;
    height: auto;
    min-height: 0;
    align-content: start;
}

.portal2026-selfeval__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

.portal2026-selfeval__copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
}

.portal2026-selfeval__copy--muted {
    opacity: 0.9;
    font-size: 0.95rem;
}

.portal2026-selfeval__copy a {
    color: var(--portal2026-blue-zing);
    font-weight: 700;
}

.portal2026-selfeval__guide {
    flex: 0 1 180px;
    max-width: 220px;
}

.portal2026-selfeval__guide-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--portal2026-radius-sm);
    border: 2px solid var(--portal2026-earthy-beige);
}

/* FileLinks.ascx chrome (scoped only — do not edit FileLinks control) */
.portal2026-selfeval__files > div,
.portal2026-selfeval__files .c100 {
    border: 2px solid var(--portal2026-earthy-beige) !important;
    border-radius: var(--portal2026-radius-sm) !important;
    background: #fff;
    margin-bottom: 12px !important;
}

.portal2026-selfeval__files a {
    font-family: Quicksand, sans-serif !important;
    font-weight: 700 !important;
    color: var(--portal2026-blue-zing) !important;
    text-decoration: none !important;
}

.portal2026-selfeval__files a:hover,
.portal2026-selfeval__files a:focus {
    color: var(--portal2026-navy) !important;
    text-decoration: underline !important;
}

/* ---- Further learning dashboard ----------------------------------------- */

.portal2026-further {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-further__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-further__layout {
    align-items: start !important;
}

.portal2026-further__main,
.portal2026-further__side {
    align-self: start;
    min-height: 0;
}

.portal2026-further__nav-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    padding: 18px 22px;
    border-radius: var(--portal2026-radius-sm);
    background: var(--portal2026-navy);
    color: #fff !important;
    text-decoration: none !important;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    box-sizing: border-box;
    border: var(--portal2026-frame-border) solid var(--portal2026-navy);
}

.portal2026-further__nav-btn i {
    font-size: 1.6rem;
}

.portal2026-further__nav-btn:hover,
.portal2026-further__nav-btn:focus {
    background: var(--portal2026-blue-zing);
    border-color: var(--portal2026-blue-zing);
    color: #fff !important;
    text-decoration: none !important;
}

.portal2026-further__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

.portal2026-further__side-copy {
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Tabs under further learning */
.portal2026-further .portal2026-tabs.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 8px;
    border: none !important;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    box-sizing: border-box;
}

.portal2026-further .portal2026-tabs.tabs > li {
    flex: 1 1 0;
    margin: 0 !important;
    min-width: 140px;
    list-style: none;
}

.portal2026-further .portal2026-tabs .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 100px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
}

.portal2026-further .portal2026-tabs .tab.tab--selected,
.portal2026-further .portal2026-tabs .tab.selected {
    background: var(--portal2026-navy);
    color: #fff !important;
    border-color: var(--portal2026-navy);
}

/* My learning library favourites */
.portal2026-my-library__item {
    flex: 1 1 280px;
    max-width: 100%;
    min-width: 0;
}

.portal2026-my-library__empty,
.portal2026-eligibility__empty,
.portal2026-courses__empty {
    font-weight: 600;
    width: 100%;
}

.portal2026-my-library__bookmark {
    color: var(--portal2026-blue-zing);
    min-width: 28px;
}

.portal2026-my-library__remove {
    color: var(--portal2026-navy) !important;
    opacity: 0.55;
    text-decoration: none !important;
}

.portal2026-my-library__remove:hover,
.portal2026-my-library__remove:focus {
    color: var(--portal2026-happy-heart) !important;
    opacity: 1;
}

.portal2026-my-library__title {
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-my-library__link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--portal2026-blue-zing) !important;
    text-decoration: none !important;
}

.portal2026-my-library__link:hover {
    color: var(--portal2026-navy) !important;
    text-decoration: underline !important;
}

/* Eligibility course cards */
.portal2026-eligibility__card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
}

/* Learning Zone: My Courses tab — courses left, learning log right */
.portal2026-learning-zone__my-courses-layout {
    align-items: start !important;
}

.portal2026-learning-zone__my-courses-main,
.portal2026-learning-zone__my-courses-side {
    min-width: 0;
}

/* Learning Zone: all available courses — 3-column grid */
.portal2026-eligibility--grid .portal2026-eligibility__empty {
    margin-bottom: 16px;
}

.portal2026-eligibility__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.portal2026-eligibility__grid > .portal2026-eligibility__card {
    flex: none;
    max-width: none;
    min-width: 0;
}

@media (min-width: 768px) {
    .portal2026-eligibility__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .portal2026-eligibility__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Stack enrol actions neatly in narrow grid cards */
.portal2026-eligibility--grid .portal2026-eligibility__actions {
    flex-direction: column;
    align-items: stretch;
}

.portal2026-eligibility--grid .portal2026-eligibility__actions .portal2026-btn {
    width: 100%;
    justify-content: center;
}

.portal2026-eligibility--grid .portal2026-eligibility__enrol-state {
    margin-left: 0;
    text-align: left;
    width: 100%;
}

.portal2026-eligibility__image {
    height: 140px;
    background-position: center center;
    background-size: cover;
    background-color: var(--portal2026-soft-sand);
}

.portal2026-eligibility__heading {
    background: var(--portal2026-navy);
    color: #fff;
    font-family: Quicksand, sans-serif;
}

.portal2026-eligibility__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--portal2026-sky-bliss);
    color: var(--portal2026-navy);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.portal2026-eligibility__enrol-state {
    margin-left: auto;
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.2;
}

.portal2026-eligibility__state-icon {
    display: block;
    font-size: 1.1rem;
    color: var(--portal2026-navy);
}

.portal2026-eligibility__state-icon.is-complete {
    color: var(--portal2026-garden-fresh);
}

.portal2026-eligibility__state-label {
    display: block;
    font-weight: 600;
    color: var(--portal2026-navy);
    opacity: 0.85;
}

/* My course list */
.portal2026-courses__image {
    width: 33%;
    min-height: 120px;
    background-position: center center;
    background-size: cover;
    background-color: var(--portal2026-soft-sand);
}

.portal2026-courses__title {
    color: var(--portal2026-navy);
    font-size: 1.05rem;
}

.portal2026-courses__desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
    opacity: 0.92;
}

/* Footer: equal-width columns for navy CTA + each icon block */
.portal2026-courses__footer {
    display: flex;
    align-items: stretch;
    border-top: 1px solid rgba(0, 54, 102, 0.12);
}

/* Primary course action (Continue / View / Start) — green so it reads as the main click */
.portal2026-courses__continue,
a.portal2026-courses__continue,
.portal2026-courses__continue.fill-primary,
.portal2026-courses__continue.fill-quaternary {
    flex: 1 1 0;
    min-width: 0;
    width: 0; /* equal flex basis with siblings */
    box-sizing: border-box;
    padding: 16px 12px;
    background: var(--portal2026-garden-fresh) !important; /* #15AD90 */
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-family: Quicksand, sans-serif;
    font-size: 0.9rem;
    text-align: center;
}

.portal2026-courses__continue:hover,
.portal2026-courses__continue:focus,
a.portal2026-courses__continue:hover,
a.portal2026-courses__continue:focus,
.portal2026-courses__continue.fill-primary:hover,
.portal2026-courses__continue.fill-quaternary:hover {
    background: #11957c !important; /* slightly deeper green */
    color: #fff !important;
    text-decoration: none !important;
}

/* Let meta cells sit as equal flex siblings of the navy CTA */
.portal2026-courses__meta {
    display: contents;
}

.portal2026-courses__meta-item {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0, 54, 102, 0.1);
    text-align: center;
    line-height: 1.25;
    color: var(--portal2026-navy);
    text-decoration: none !important;
    background: #fff;
}

.portal2026-courses__meta-icon {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.portal2026-courses__meta-icon.is-complete {
    color: var(--portal2026-garden-fresh);
}

.portal2026-courses__meta-icon.is-primary {
    color: var(--portal2026-blue-zing);
}

.portal2026-courses__meta-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .portal2026-courses__footer {
        flex-wrap: wrap;
    }

    .portal2026-courses__continue,
    .portal2026-courses__meta-item {
        flex: 1 1 50%;
        width: auto;
        min-height: 72px;
    }

    .portal2026-courses__continue {
        flex: 1 1 100%;
        width: auto;
    }
}

/* Learning log widget shell (timeline kept) */
.portal2026-log-widget__title,
.portal2026-further .my-membership-item-title,
.portal2026-further__log-widget .portal2026-log-widget__title {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--portal2026-navy);
}

.portal2026-log-widget__help {
    color: var(--portal2026-happy-heart);
}

.portal2026-further__log-widget .pill {
    border-radius: 100px;
}

.portal2026-further__log-widget .button,
.portal2026-further__log-widget a.button {
    /* legacy class may still appear from nested markup */
}

/* ---- Shop (dashboard, product, cart, checkout) -------------------------- */

.portal2026-shop,
.portal2026-product,
.portal2026-cart,
.portal2026-cartview,
.portal2026-checkout {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-shop__lede,
.portal2026-checkout__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.portal2026-shop__layout {
    align-items: start !important;
}

.portal2026-shop__slot {
    min-width: 0;
}

/* Compact gold/outline buttons used in shop lists */
.portal2026-btn--sm,
a.portal2026-btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Shop widget */
.portal2026-shop-widget__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

/* Shop category tabs — same segmented pill language as Resource Library */
.portal2026-shop-widget__tabs-wrap {
    width: 100%;
}

.portal2026-shop-widget .portal2026-tabs.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 8px;
    border: none !important;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    box-sizing: border-box;
}

.portal2026-shop-widget .portal2026-tabs.tabs > li {
    flex: 1 1 0;
    margin: 0 !important;
    min-width: 140px;
    list-style: none;
}

.portal2026-shop-widget .portal2026-tabs .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 100px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal2026-shop-widget .portal2026-tabs .tab:hover,
.portal2026-shop-widget .portal2026-tabs .tab:focus {
    color: var(--portal2026-navy) !important;
    background: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    outline: none;
}

.portal2026-shop-widget .portal2026-tabs .tab.tab--selected,
.portal2026-shop-widget .portal2026-tabs .tab.selected {
    background: var(--portal2026-navy);
    color: #fff !important;
    border-color: var(--portal2026-navy);
}

.portal2026-shop-widget .portal2026-tabs .tab.tab--selected:hover,
.portal2026-shop-widget .portal2026-tabs .tab.tab--selected:focus,
.portal2026-shop-widget .portal2026-tabs .tab.selected:hover,
.portal2026-shop-widget .portal2026-tabs .tab.selected:focus {
    background: var(--portal2026-navy);
    color: #fff !important;
    opacity: 0.95;
}

.portal2026-shop-widget .portal2026-tabs .tab i {
    font-size: 1rem;
}

.portal2026-shop-widget__row {
    padding: 12px 0;
    border-top: 1px solid rgba(0, 54, 102, 0.1);
}

.portal2026-shop-widget__row:first-child {
    border-top: none;
    padding-top: 0;
}

.portal2026-shop-widget__item-title {
    font-weight: 600;
    color: var(--portal2026-navy);
}

.portal2026-shop-widget__empty {
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Product details */
.portal2026-product__layout {
    align-items: start !important;
}

.portal2026-product__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--portal2026-radius-sm);
}

.portal2026-product__code {
    font-weight: 700;
    font-size: 0.95rem;
}

.portal2026-product__code-value {
    color: var(--portal2026-blue-zing);
}

.portal2026-product__description {
    font-size: 1rem;
    line-height: 1.55;
}

.portal2026-product__label {
    min-width: 72px;
    font-weight: 700;
    font-size: 0.95rem;
}

.portal2026-product__select,
.portal2026-cartview__input,
.portal2026-cartview__qty,
.portal2026-checkout__input {
    min-height: 42px;
    padding: 8px 14px;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: 100px;
    background-color: #fff;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.portal2026-checkout__input--large,
textarea.portal2026-checkout__input,
.portal2026-checkout textarea.checkout-form-item {
    border-radius: var(--portal2026-radius-sm);
    min-height: 120px;
    width: 100%;
    max-width: 100%;
}

.portal2026-product__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-product__price-old {
    text-decoration: line-through;
    opacity: 0.65;
}

.portal2026-product__price-sale {
    font-weight: 700;
    color: var(--portal2026-happy-heart);
}

.portal2026-product__size-guide {
    font-weight: 700;
    color: var(--portal2026-blue-zing) !important;
    text-decoration: none !important;
}

.portal2026-product__size-guide:hover {
    color: var(--portal2026-navy) !important;
    text-decoration: underline !important;
}

.portal2026-product__stock {
    font-size: 0.95rem;
}

/* Mini cart */
.portal2026-cart__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--portal2026-navy);
}

.portal2026-cart__message a {
    font-weight: 700;
    color: var(--portal2026-blue-zing);
}

.portal2026-cart__thumb {
    border-radius: 8px;
    border: 2px solid var(--portal2026-earthy-beige);
    object-fit: cover;
}

.portal2026-cart__sku {
    font-weight: 700;
    display: block;
}

.portal2026-cart__meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portal2026-cart__total {
    font-weight: 700;
    font-size: 1.05rem;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 54, 102, 0.12);
}

.portal2026-cart__line {
    padding: 8px 0 !important;
    border: none !important;
    background: transparent !important;
}

.portal2026-cart__grid {
    width: 100% !important;
    border: none !important;
}

.portal2026-cart__grid td {
    border: none !important;
    background: transparent !important;
}

/* Full cart view */
/* Section containers: soft-sand fill, no beige frame stroke */
.portal2026-cartview .portal2026-card,
.portal2026-cartview__discount.portal2026-card,
.portal2026-cartview__lines.portal2026-card,
.portal2026-cartview__totals.portal2026-card {
    background: var(--portal2026-soft-sand) !important; /* #FAF2EB */
    border: none !important;
    box-shadow: none !important;
}

.portal2026-cartview__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

.portal2026-cartview__hint {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.portal2026-cartview__item-name {
    font-weight: 700;
}

.portal2026-cartview__item-code {
    font-size: 0.9rem;
    opacity: 0.85;
}

.portal2026-cartview__grid,
.portal2026-checkout .checkout-product-list table {
    width: 100% !important;
    border-collapse: collapse;
}

.portal2026-cartview__grid th,
.portal2026-checkout .checkout-product-list-header,
.portal2026-checkout .checkout-product-list-header td,
.portal2026-checkout .checkout-product-list-header th {
    background: transparent !important;
    color: var(--portal2026-navy) !important;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    text-align: left;
    padding: 12px !important;
    border: none !important;
}

.portal2026-cartview__grid td,
.portal2026-checkout .checkout-product-list-item,
.portal2026-checkout .checkout-product-list-item td {
    padding: 12px !important;
    border: none !important;
    border-top: 1px solid rgba(0, 54, 102, 0.08) !important;
    background: transparent !important;
    color: var(--portal2026-navy);
    vertical-align: top;
}

.portal2026-cartview__grid tbody tr:first-child td,
.portal2026-checkout .checkout-product-list-item:first-child td {
    border-top: none !important;
}

.portal2026-cartview__totals-table {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    border-collapse: collapse;
}

.portal2026-cartview__totals-label {
    padding: 8px 12px 8px 0;
    font-weight: 600;
    text-align: right;
}

.portal2026-cartview__totals-value {
    padding: 8px 0;
    text-align: right;
    font-weight: 700;
}

.portal2026-cartview__totals-label--grand,
.portal2026-cartview__totals-value--grand,
.portal2026-checkout .checkout-price.large,
.portal2026-checkout .checkout-label.large {
    font-size: 1.2rem;
    color: var(--portal2026-navy);
}

/* Checkout shell — card layout aligned with shop dashboard */
.portal2026-checkout__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

.portal2026-checkout__notice,
.portal2026-checkout__hint {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-checkout__hint {
    opacity: 0.85;
    font-size: 0.9rem;
}

.portal2026-checkout__message:empty {
    display: none;
}

/* Match shop dashboard slot cards (white + beige frame) */
.portal2026-checkout .portal2026-checkout__card.portal2026-card {
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius);
    box-shadow: none;
}

.portal2026-checkout__item-name {
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-checkout__item-meta {
    font-size: 0.9rem;
    opacity: 0.85;
}

.portal2026-checkout__totals-table {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    border-collapse: collapse;
}

.portal2026-checkout__totals-label {
    padding: 8px 16px 8px 0;
    font-weight: 600;
    text-align: right;
    color: var(--portal2026-navy);
}

.portal2026-checkout__totals-value {
    padding: 8px 0;
    text-align: right;
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-checkout__totals-label--grand,
.portal2026-checkout__totals-value--grand {
    font-size: 1.2rem;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 54, 102, 0.12);
}

.portal2026-checkout__actions {
    padding-top: 4px;
}

.portal2026-checkout__field-label {
    font-weight: 700;
    min-width: 120px;
}

/* Lift remaining legacy stage wrappers into the same card language */
.portal2026-checkout .c100.m10 {
    max-width: 100%;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius);
}

.portal2026-checkout .c100.m10 .mb10,
.portal2026-checkout .c100.m10 .mb10.c70 {
    margin-bottom: 0 !important;
}

.portal2026-checkout .checkout-item-container,
.portal2026-checkout .checkout-product-list {
    max-width: 100%;
}

.portal2026-checkout .portal2026-checkout__table,
.portal2026-checkout table.classic-checkout {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-checkout .formtablelabel,
.portal2026-checkout .checkout-label {
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-checkout .checkout-price {
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-checkout .order-payment-failure,
.portal2026-checkout .status_text {
    color: var(--portal2026-happy-heart) !important;
    font-weight: 600;
}

.portal2026-checkout .paymentheading {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--portal2026-navy);
}

.portal2026-checkout .bordered-container {
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius);
    padding: 20px;
    background: #fff;
}

/* Cart lines inside checkout: clean rows on white card */
.portal2026-checkout__card--lines .checkout-product-list-header,
.portal2026-checkout__card--lines .checkout-product-list-header td,
.portal2026-checkout__card--lines .checkout-product-list-header th {
    background: var(--portal2026-soft-sand) !important;
    color: var(--portal2026-navy) !important;
    font-weight: 700;
    border: none !important;
    padding: 12px !important;
}

.portal2026-checkout__card--lines .checkout-product-list-item,
.portal2026-checkout__card--lines .checkout-product-list-item td {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(0, 54, 102, 0.08) !important;
    padding: 12px !important;
    color: var(--portal2026-navy);
}

.portal2026-checkout__grid {
    width: 100% !important;
    border: none !important;
}

/* Delivery / address form: classic table was zero-padded and looked crushed */
.portal2026-checkout .portal2026-checkout__form-table,
.portal2026-checkout #Table14 {
    width: 100%;
    max-width: 640px;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
    table-layout: auto;
}

.portal2026-checkout .portal2026-checkout__form-table tr,
.portal2026-checkout #Table14 tr {
    vertical-align: middle;
}

.portal2026-checkout .portal2026-checkout__form-table td,
.portal2026-checkout #Table14 td {
    padding: 4px 12px 4px 0 !important;
    vertical-align: middle;
    line-height: 1.4;
}

.portal2026-checkout .portal2026-checkout__form-table td.formtablelabel,
.portal2026-checkout #Table14 td.formtablelabel {
    width: 7.5rem;
    min-width: 7.5rem;
    padding-top: 0.85rem !important;
    padding-right: 1rem !important;
    vertical-align: top;
    white-space: nowrap;
    font-weight: 700;
    color: var(--portal2026-navy);
}

.portal2026-checkout .portal2026-checkout__form-table .portal2026-checkout__input,
.portal2026-checkout .portal2026-checkout__form-table input.checkout-form-item,
.portal2026-checkout .portal2026-checkout__form-table select.checkout-form-item,
.portal2026-checkout .portal2026-checkout__form-table textarea.checkout-form-item,
.portal2026-checkout #Table14 .portal2026-checkout__input,
.portal2026-checkout #Table14 input.checkout-form-item,
.portal2026-checkout #Table14 select.checkout-form-item,
.portal2026-checkout #Table14 textarea.checkout-form-item {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Name line is a label, not a fake input */
.portal2026-checkout .portal2026-checkout__readonly-value {
    display: block;
    min-height: 2.5rem;
    padding: 0.65rem 0;
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--portal2026-navy);
    border: none;
    background: transparent;
}

/* Validator rows need a little air under the field they follow */
.portal2026-checkout .portal2026-checkout__form-table .order-payment-failure,
.portal2026-checkout .portal2026-checkout__form-table .status_text,
.portal2026-checkout #Table14 .order-payment-failure,
.portal2026-checkout #Table14 .status_text {
    display: block;
    margin-top: 4px;
    line-height: 1.35;
}

/* Empty spacer rows: don't collapse to zero */
.portal2026-checkout .portal2026-checkout__form-table tr td:empty::after,
.portal2026-checkout #Table14 tr td:empty::after {
    content: "\00a0";
}

/* Credit card / remaining classic tables: same breathing room */
.portal2026-checkout table.classic-checkout:not(.portal2026-checkout__totals-table) td {
    padding: 8px 12px 8px 0;
    vertical-align: middle;
}

.portal2026-checkout table.classic-checkout td input.portal2026-checkout__input,
.portal2026-checkout table.classic-checkout td select.portal2026-checkout__input,
.portal2026-checkout table.classic-checkout td input.checkout-form-item,
.portal2026-checkout table.classic-checkout td select.checkout-form-item {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin-bottom: 0 !important;
}

/* Soften nested membership chrome if still present inside shop cards */
.portal2026-shop .my-membership-item,
.portal2026-shop-widget .my-membership-item {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---- Checkout Direct Debit ---------------------------------------------- */

.portal2026-dd {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-dd__card.portal2026-card {
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius);
    box-shadow: none;
}

.portal2026-dd__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
}

.portal2026-dd__copy,
.portal2026-dd__lede,
.portal2026-dd__note {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
}

.portal2026-dd__copy a {
    color: var(--portal2026-blue-zing);
    font-weight: 700;
    text-decoration: none;
}

.portal2026-dd__copy a:hover {
    text-decoration: underline;
}

.portal2026-dd__note {
    font-size: 0.92rem;
    opacity: 0.92;
}

.portal2026-dd__req {
    color: var(--portal2026-happy-heart);
    font-weight: 700;
}

.portal2026-dd__logo {
    display: block;
    max-width: 180px;
    height: auto;
}

.portal2026-dd__logo--sm {
    max-width: 120px;
}

.portal2026-dd__brand {
    min-width: 180px;
    max-width: 260px;
}

.portal2026-dd__meta-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: var(--portal2026-radius-sm);
    background: var(--portal2026-soft-sand);
    border: 2px solid var(--portal2026-earthy-beige);
}

.portal2026-dd__meta-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.8;
}

.portal2026-dd__meta-value {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    color: var(--portal2026-navy);
}

.portal2026-dd__layout {
    align-items: start !important;
}

.portal2026-dd__form-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
}

.portal2026-dd__form-table td {
    padding: 4px 12px 4px 0 !important;
    vertical-align: middle;
}

.portal2026-dd__form-table td.portal2026-dd__label {
    width: 10rem;
    min-width: 8.5rem;
    padding-top: 0.75rem !important;
    vertical-align: top;
    font-weight: 700;
    white-space: nowrap;
    color: var(--portal2026-navy);
}

.portal2026-dd__form-table .portal2026-checkout__input,
.portal2026-dd__form-table input.checkout-form-item,
.portal2026-dd__form-table select.checkout-form-item {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin: 0 !important;
    box-sizing: border-box;
}

.portal2026-dd__form-table--amounts td.portal2026-dd__label {
    width: auto;
    min-width: 7rem;
    white-space: normal;
}

.portal2026-dd__form-table .order-payment-failure {
    display: block;
    margin-top: 6px;
}

.portal2026-dd__confirm,
.portal2026-dd__checkbox,
.portal2026-dd__radios {
    font-weight: 600;
    color: var(--portal2026-navy);
}

.portal2026-dd__radios label {
    font-weight: 600 !important;
}

.portal2026-dd__result {
    display: block;
    font-weight: 700;
    color: var(--portal2026-happy-heart);
    line-height: 1.4;
}

.portal2026-dd__result:empty {
    display: none;
}

.portal2026-dd__schedule {
    font-size: 0.98rem;
    line-height: 1.55;
}

.portal2026-dd__card--guarantee {
    background: var(--portal2026-soft-sand) !important;
}

.portal2026-dd__guarantee-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
}

.portal2026-dd__guarantee-list li {
    margin-bottom: 0.65rem;
}

.portal2026-dd__guarantee-list li:last-child {
    margin-bottom: 0;
}

/* Paper mandate: keep printable legal layout, lightly frame when shown inline */
.portal2026-checkout .direct-debit-page {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .portal2026-dd__form-table td.portal2026-dd__label {
        display: block;
        width: 100%;
        min-width: 0;
        padding-top: 0 !important;
        padding-bottom: 4px !important;
        white-space: normal;
    }

    .portal2026-dd__form-table td {
        display: block;
        width: 100%;
        padding-right: 0 !important;
    }

    .portal2026-dd__form-table tr {
        display: block;
        margin-bottom: 12px;
    }

    .portal2026-dd__form-table .portal2026-checkout__input,
    .portal2026-dd__form-table input.checkout-form-item,
    .portal2026-dd__form-table select.checkout-form-item {
        max-width: none;
    }
}

/* ---- Course list / course view ------------------------------------------ */

.portal2026-course-list,
.portal2026-course-view,
.portal2026-log-list,
.portal2026-log-view,
.portal2026-log-manager,
.portal2026-training {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-course-list__lede,
.portal2026-log-list__lede,
.portal2026-training__lede,
.portal2026-training__copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Reuse pill tabs on course list */
.portal2026-course-list .portal2026-tabs.tabs,
.portal2026-further .portal2026-tabs.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 8px;
    border: none !important;
    border-radius: 100px;
    background: var(--portal2026-soft-sand);
    box-sizing: border-box;
}

.portal2026-course-list .portal2026-tabs.tabs > li,
.portal2026-further .portal2026-tabs.tabs > li {
    flex: 1 1 0;
    margin: 0 !important;
    min-width: 140px;
    list-style: none;
}

.portal2026-course-list .portal2026-tabs .tab,
.portal2026-further .portal2026-tabs .tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 22px;
    border-radius: 100px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    cursor: pointer;
}

.portal2026-course-list .portal2026-tabs .tab.tab--selected,
.portal2026-course-list .portal2026-tabs .tab.selected,
.portal2026-further .portal2026-tabs .tab.tab--selected,
.portal2026-further .portal2026-tabs .tab.selected {
    background: var(--portal2026-navy);
    color: #fff !important;
    border-color: var(--portal2026-navy);
}

.portal2026-course-list__filters {
    background: var(--portal2026-soft-sand);
}

.portal2026-course-list__input,
.portal2026-log-list__input,
.portal2026-log-view__input,
.portal2026-log-view__textarea {
    min-height: 44px;
    width: 100%;
    padding: 8px 16px;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: 100px;
    /* background-color only — keep select chevron background-image intact */
    background-color: #fff;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.portal2026-log-view__textarea {
    border-radius: var(--portal2026-radius-sm);
    min-height: 140px;
    resize: vertical;
}

.portal2026-course-list__empty {
    font-weight: 600;
}

/* Course view: modules take the width; status sits as a side column on wide screens */
.portal2026-course-view {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    color: var(--portal2026-navy);
}

.portal2026-course-view__layout {
    align-items: start !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    --grid-cols: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

.portal2026-course-view__main,
.portal2026-course-view__side {
    min-width: 0;
    max-width: 100%;
}

/* Status/summary left (min 550px), modules right — original column order */
@media (min-width: 1000px) {
    .portal2026-course-view__layout {
        --grid-cols: 2 !important;
        grid-template-columns: minmax(550px, 0.9fr) minmax(0, 1.4fr) !important;
    }

    .portal2026-course-view__side {
        grid-column: 1;
        grid-row: 1;
        min-width: 550px;
    }

    .portal2026-course-view__main {
        grid-column: 2;
        grid-row: 1;
    }
}

.portal2026-course-view__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
    opacity: 0.9;
}

.portal2026-course-view__lede:empty {
    display: none;
}

/* Status strip: soft-sand container, navy labels, navy circles, white icons */
.portal2026-course-view__status {
    text-align: center;
    color: #003666; /* classy navy */
    background: #FAF2EB; /* soft-sand */
    border: none;
    border-radius: var(--portal2026-radius);
    padding: 20px;
    box-sizing: border-box;
}

.portal2026-course-view__status-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.portal2026-course-view__status-cell {
    flex: 1 1 0;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    color: #003666 !important;
    text-decoration: none !important;
    border: none;
    background: transparent !important;
    box-sizing: border-box;
}

.portal2026-course-view__status-cell + .portal2026-course-view__status-cell,
.portal2026-course-view__status-cell + a.portal2026-course-view__status-cell,
a.portal2026-course-view__status-cell + .portal2026-course-view__status-cell {
    border-left: 1px solid rgba(0, 54, 102, 0.15);
}

.portal2026-course-view__status-cell--action {
    cursor: pointer;
}

.portal2026-course-view__status-label {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: #003666 !important;
}

.portal2026-course-view__summary-image {
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    height: 160px;
    background-color: var(--portal2026-soft-grey);
}

.portal2026-course-view__summary-body {
    color: var(--portal2026-navy);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Module cards */
.portal2026-course-view__module {
    color: var(--portal2026-navy);
}

.portal2026-course-view__module-row {
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.portal2026-course-view__module-body {
    min-width: 0;
}

.portal2026-course-view__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #003666; /* classy navy */
    background-color: #003666;
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: Quicksand, sans-serif;
}

.portal2026-course-view__module-title {
    margin: 0 0 10px 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--portal2026-navy);
}

.portal2026-course-view__module-copy {
    color: var(--portal2026-navy);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.92;
}

.portal2026-course-view__module-status {
    color: var(--portal2026-navy);
    font-size: 0.9rem;
    font-weight: 600;
}

.portal2026-course-view__module-status--complete {
    color: var(--portal2026-garden-fresh);
}

.portal2026-course-view__module-status i {
    font-size: 1.1rem;
}

/* Assessment panel — soft grey, navy type (never white-on-sand) */
.portal2026-course-view__assessment {
    flex: 0 0 auto;
    width: 280px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: var(--portal2026-soft-grey);
    color: var(--portal2026-navy) !important;
    border-left: 1px solid rgba(0, 54, 102, 0.1);
}

.portal2026-course-view__assessment--empty {
    min-height: 160px;
}

.portal2026-course-view__assessment-icon {
    display: inline-block;
    font-size: 1.75rem;
    color: var(--portal2026-navy) !important;
    margin-bottom: 8px;
    line-height: 1;
}

.portal2026-course-view__assessment-title {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--portal2026-navy);
    margin-bottom: 6px;
}

.portal2026-course-view__assessment-copy {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--portal2026-navy);
    opacity: 0.8;
    margin-bottom: 14px;
}

.portal2026-course-view__assessment-track {
    height: 8px;
    border-radius: 100px;
    overflow: hidden;
    background: rgba(0, 54, 102, 0.12);
    margin-bottom: 8px;
}

.portal2026-course-view__assessment-bar {
    height: 8px;
    border-radius: 100px;
    background: var(--portal2026-navy) !important;
    min-width: 0;
}

.portal2026-course-view__assessment-bar--pass {
    background: var(--portal2026-garden-fresh) !important;
}

.portal2026-course-view__assessment-foot {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--portal2026-navy);
    opacity: 0.85;
}

.portal2026-course-view__assessment-pass {
    color: var(--portal2026-garden-fresh) !important;
    font-weight: 700;
}

.portal2026-course-view__assessment-placeholder {
    font-size: 4rem;
    color: rgba(0, 54, 102, 0.2) !important;
}

/* Kill legacy fill collisions — NOT on status icon circles */
.portal2026-course-view .fill:not(.portal2026-course-view__status-icon),
.portal2026-course-view .fill-primary:not(.portal2026-course-view__status-icon),
.portal2026-course-view .fill-quaternary:not(.portal2026-course-view__status-icon) {
    background: var(--portal2026-soft-sand) !important;
    color: var(--portal2026-navy) !important;
}

.portal2026-course-view .text-primary {
    color: var(--portal2026-garden-fresh) !important;
}

.portal2026-course-view .text-soft {
    color: var(--portal2026-navy) !important;
    opacity: 0.7;
}

.portal2026-course-view a.text-no-underline {
    color: var(--portal2026-navy) !important;
}

/*
  Status icon circles — final pass (must win over .fill / theme utilities).
  Soft-sand panel already set above; circles are always classy navy, glyph white.
*/
.portal2026-course-view .portal2026-course-view__status-icon,
.portal2026-course-view div.portal2026-course-view__status-icon,
.portal2026-course-view span.portal2026-course-view__status-icon,
.portal2026-course-view .portal2026-course-view__status-icon.fill,
.portal2026-course-view .portal2026-course-view__status-icon.fill-primary,
.portal2026-course-view .portal2026-course-view__status-icon.fill-quaternary,
.portal2026-course-view .portal2026-course-view__status-icon--success {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 50% !important;
    background: #003666 !important; /* classy navy */
    background-color: #003666 !important;
    color: #fff !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.portal2026-course-view .portal2026-course-view__status-icon i,
.portal2026-course-view .portal2026-course-view__status-icon--success i,
.portal2026-course-view .portal2026-course-view__status-icon .fa,
.portal2026-course-view .portal2026-course-view__status-icon [class^="fa-"] {
    color: #fff !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Complete / certificate — garden-fresh circle, white icon */
.portal2026-course-view .portal2026-course-view__status-icon--success,
.portal2026-course-view div.portal2026-course-view__status-icon--success,
.portal2026-course-view span.portal2026-course-view__status-icon--success {
    background: #15AD90 !important; /* garden-fresh */
    background-color: #15AD90 !important;
    color: #fff !important;
}

.portal2026-course-view .portal2026-course-view__status-cell--action:hover .portal2026-course-view__status-icon:not(.portal2026-course-view__status-icon--success) {
    background: #002a52 !important;
    background-color: #002a52 !important;
}

.portal2026-course-view .portal2026-course-view__status-cell--action:hover .portal2026-course-view__status-icon--success {
    background: #11957c !important;
    background-color: #11957c !important;
}

@media (max-width: 999px) {
    .portal2026-course-view__assessment {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(0, 54, 102, 0.1);
    }

    .portal2026-course-view__status-grid {
        flex-direction: column;
    }

    .portal2026-course-view__status-cell + .portal2026-course-view__status-cell,
    .portal2026-course-view__status-cell + a.portal2026-course-view__status-cell,
    a.portal2026-course-view__status-cell + .portal2026-course-view__status-cell {
        border-left: none;
        border-top: 1px solid rgba(0, 54, 102, 0.12);
    }
}

/* ---- Learning log list / view / manager --------------------------------- */

/* Contain width so chart/timeline never blows out the page */
.portal2026-log-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: clip;
}

/*
  Stack search + timeline until wide screens.
  Avoid early equal t:grid-2 (569px) which squishes the left column into tiny inputs.
*/
.portal2026-log-list__layout {
    align-items: start !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    --grid-cols: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

.portal2026-log-list__sidebar,
.portal2026-log-list__timeline {
    min-width: 0;
    max-width: 100%;
}

/* Side-by-side only when there is real room: sidebar min 350px, can grow on wide screens */
@media (min-width: 1100px) {
    .portal2026-log-list__layout {
        --grid-cols: 2 !important;
        grid-template-columns: minmax(350px, 0.4fr) minmax(0, 1fr) !important;
    }
}

/* Solid navy search panel — consistent padding and field rhythm */
.portal2026-log-list__filters {
    background: #003666;
    border: none;
    border-radius: var(--portal2026-radius);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.portal2026-log-list__filters-title {
    margin: 0 0 16px 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    color: #fff;
}

.portal2026-log-list__filters-body {
    width: 100%;
}

.portal2026-log-list__field {
    width: 100%;
    min-width: 0;
}

.portal2026-log-list__field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* From / To side by side — minmax(0,1fr) stops Telerik tables blowing the grid */
.portal2026-log-list__dates {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    align-items: start;
}

.portal2026-log-list__dates > .portal2026-log-list__field {
    min-width: 0;
    max-width: 100%;
    overflow: hidden; /* contain RadPicker overflow */
}

.portal2026-log-list__actions {
    width: 100%;
}

.portal2026-log-list__actions .portal2026-btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    box-sizing: border-box;
}

.portal2026-log-list__filters .portal2026-log-list__input,
.portal2026-log-list__filters select.portal2026-log-list__input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    border: none;
    border-radius: 100px;
    /* use background-color so select chevron background-image is not wiped */
    background-color: #fff;
    color: #003666;
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: none;
    box-sizing: border-box;
}

/* Search Type droplist — same chevron as Learning duration */
.portal2026-log-list__filters select.portal2026-log-list__input {
    padding-right: 2.5rem;
    background-image: var(--portal2026-select-chevron);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.portal2026-log-list__filters .portal2026-log-list__input:focus {
    outline: 2px solid var(--portal2026-golden-glow);
    outline-offset: 2px;
}

.portal2026-log-list__search-btn {
    width: 100%;
    margin-top: 2px;
    justify-content: center;
}

/*
  Telerik RadDatePicker — pill shell.
  Calendar button is positioned on the RadPicker itself (not flex on <td>),
  inset from the right and vertically centered.
*/
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker).RadPicker,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker).RadPicker_Bootstrap,
span:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker).RadPicker {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-radius: 100px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) table.rcTable,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .rcTable {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    table-layout: fixed !important;
    /* keep absolute .rcCalPopup anchored to the RadPicker, not the table */
    position: static !important;
}

:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) tr,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) td {
    padding: 0 !important;
    border: 0 !important;
    height: 44px !important;
    vertical-align: middle !important;
    position: static !important;
}

:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) td.rcInputCell {
    width: 100% !important;
}

/* Collapse table cell — button is absolutely positioned on the RadPicker */
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) td.rcCalPopupCell {
    width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    position: static !important;
}

:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .riSingle,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) span.riSingle,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .RadInput,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .RadInput_Bootstrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: static !important;
}

:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .riTextBox,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) input.riTextBox,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .RadInput_Bootstrap .riTextBox {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    /* clear space for the inset calendar control */
    padding: 0 56px 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #003666 !important;
    font-family: Quicksand, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    line-height: 44px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/*
  Calendar button: absolute to the RadPicker (position: relative).
  12px from the right edge, vertically centered. SVG icon is reliable
  (does not depend on empty-link ::after tricks).
*/
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .rcCalPopup,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) a.rcCalPopup {
    position: absolute !important;
    top: 50% !important;
    right: 6px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background-color: #FAF2EB !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Crect x='2' y='3' width='12' height='11' rx='1.5' stroke='%23003666' stroke-width='1.6'/%3E%3Cpath d='M5 2v2M11 2v2M2 7h12' stroke='%23003666' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    box-shadow: none !important;
    float: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    overflow: hidden !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
}

/* Kill Telerik skin sprite / pseudo icons so only our SVG shows */
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .rcCalPopup::before,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) .rcCalPopup::after,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) a.rcCalPopup::before,
:is(.portal2026-log-list__datepicker, .portal2026-log-view__datepicker) a.rcCalPopup::after {
    content: none !important;
    display: none !important;
}

.portal2026-log-list__print.portal2026-btn--outline {
    background: #fff;
    color: #003666 !important;
}

/* Logged time: solid navy bars, square tops; horizontal scroll if needed */
.portal2026-log-list__chart {
    padding: 16px 0 8px;
    border-bottom: 1px solid rgba(0, 54, 102, 0.12);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.portal2026-log-list__chart-head {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #003666;
    margin-bottom: 12px;
    padding: 0 4px;
}

.portal2026-log-list__chart-head i {
    color: #003666;
    font-size: 1.1rem;
}

.portal2026-log-list__chart-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    /* room for scrollbar without clipping labels */
    padding-bottom: 6px;
}

.portal2026-log-list__chart-bars {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
    min-height: 120px;
    min-width: min-content;
    width: max-content;
    max-width: none;
    padding: 0 4px 4px;
    box-sizing: border-box;
}

.portal2026-log-list__chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: 48px;
    min-width: 48px;
    text-decoration: none !important;
    color: #003666 !important;
    padding: 0 2px;
    box-sizing: border-box;
}

.portal2026-log-list__chart-hours {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 4px;
    white-space: nowrap;
}

.portal2026-log-list__chart-bar {
    display: block;
    width: 18px;
    min-height: 4px;
    border-radius: 0;
    background: #003666;
}

.portal2026-log-list__chart-month {
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.portal2026-log-list__chart-year {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 600;
}

.portal2026-log-list__chart-col:hover .portal2026-log-list__chart-bar {
    opacity: 0.85;
}

/* Timeline entries: soft sand wash, no beige card frames */
.portal2026-log-list__month-pill {
    display: inline-block;
    margin: 12px 0 4px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--portal2026-navy);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.portal2026-log-list__row {
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.portal2026-log-list__date {
    width: 48px;
    flex: 0 0 48px;
    padding-top: 14px;
    text-align: center;
    line-height: 1.15;
    color: var(--portal2026-navy);
}

.portal2026-log-list__date-mmm {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.7;
}

.portal2026-log-list__date-dd {
    font-size: 1.25rem;
    font-weight: 700;
}

.portal2026-log-list__print-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--portal2026-navy) !important;
    opacity: 0.45;
    text-decoration: none !important;
}

.portal2026-log-list__print-link:hover {
    opacity: 1;
    color: var(--portal2026-happy-heart) !important;
}

.portal2026-log-list__rail {
    position: relative;
    width: 20px;
    margin: 0 8px;
}

.portal2026-log-list__rail-dot {
    display: block;
    width: 14px;
    height: 14px;
    margin: 18px auto 0;
    border-radius: 50%;
    border: 3px solid var(--portal2026-navy);
    background: var(--portal2026-golden-glow);
    box-sizing: border-box;
}

.portal2026-log-list__rail-line {
    display: block;
    width: 2px;
    height: calc(100% - 36px);
    min-height: 40px;
    margin: 6px auto 0;
    background: linear-gradient(to bottom, rgba(0, 54, 102, 0.35), rgba(0, 54, 102, 0.05));
}

.portal2026-log-list__entry {
    position: relative;
    background: var(--portal2026-soft-grey);
    border: none;
    border-radius: var(--portal2026-radius-sm);
    padding: 16px 18px;
    color: var(--portal2026-navy);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 640px) {
    .portal2026-log-list__entry {
        padding: 14px 14px;
    }

    .portal2026-log-list__rail {
        width: 14px;
        margin: 0 4px;
    }

    .portal2026-log-list__date {
        width: 40px;
        flex-basis: 40px;
    }

    .portal2026-log-list__badge {
        width: 48px;
    }

    .portal2026-log-list__badge img {
        width: 48px;
        height: auto;
    }
}

.portal2026-log-list__entry-title {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.portal2026-log-list__time {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--portal2026-navy);
    opacity: 0.5;
}

.portal2026-log-list__time i {
    color: var(--portal2026-navy);
}

.portal2026-log-list__detail {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.portal2026-log-list__detail em {
    display: block;
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 2px;
}

.portal2026-log-list__edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--portal2026-navy) !important;
    text-decoration: none !important;
}

.portal2026-log-list__edit:hover {
    color: var(--portal2026-happy-heart) !important;
}

.portal2026-log-list__empty {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--portal2026-radius-sm);
    background: var(--portal2026-soft-grey);
    font-weight: 600;
    color: var(--portal2026-navy);
}

.portal2026-log-list__empty i {
    color: var(--portal2026-happy-heart);
    margin-top: 2px;
}

/* Learning log: no blue-zing — accents use happy heart */
.portal2026-log-list .text-secondary,
.portal2026-log-list .text-primary,
.portal2026-log-list .text-primary--hover:hover,
.portal2026-log-widget .text-secondary,
.portal2026-log-widget .text-primary,
.portal2026-log-widget .text-primary--hover:hover,
.portal2026-further__log-widget .text-secondary,
.portal2026-further__log-widget .text-primary,
.portal2026-further__log-widget .text-primary--hover:hover,
.portal2026-log-view .text-primary,
.portal2026-log-view .text-primary--hover:hover {
    color: var(--portal2026-happy-heart) !important;
}

/* Category chip on log widget — navy text, soft grey wash (not blue/red pills) */
.portal2026-log-widget__category,
.portal2026-further__log-widget .portal2026-log-widget__category {
    display: inline-block;
    margin: 0 0 8px 0;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--portal2026-soft-grey);
    color: var(--portal2026-navy) !important;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Widget entries reuse log-list time/entry look */
.portal2026-log-widget .portal2026-log-list__entry,
.portal2026-further__log-widget .portal2026-log-list__entry,
.portal2026-course-view .portal2026-log-list__entry {
    margin-bottom: 4px;
}

.portal2026-log-widget .portal2026-log-list__time,
.portal2026-further__log-widget .portal2026-log-list__time,
.portal2026-course-view .portal2026-log-list__time {
    /* same as Learning Log page: muted navy hourglass + text */
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--portal2026-navy);
    opacity: 0.5;
}

.portal2026-log-widget .portal2026-log-list__time i,
.portal2026-further__log-widget .portal2026-log-list__time i,
.portal2026-course-view .portal2026-log-list__time i {
    color: var(--portal2026-navy);
}

.portal2026-log-list__badge {
    float: right;
    margin: 0 0 12px 12px;
}

.portal2026-log-view__layout {
    align-items: start !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Stack until wide — t:grid-3 at 569px was squeezing the form */
    --grid-cols: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

.portal2026-log-view__main,
.portal2026-log-view__side {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1100px) {
    .portal2026-log-view__layout {
        --grid-cols: 2 !important;
        grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) !important;
    }

    .portal2026-log-view__main,
    .portal2026-log-view__main.grid-span-2 {
        grid-column: 1 !important;
    }

    .portal2026-log-view__side {
        grid-column: 2 !important;
    }
}

.portal2026-log-view__form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--portal2026-navy);
}

.portal2026-log-view .row-group__row {
    margin-bottom: 4px;
}

/* Match form selects/textboxes — pill chrome, navy type */
.portal2026-log-view__form select.portal2026-log-view__input,
.portal2026-log-view__form .portal2026-log-view__input {
    display: block;
    max-width: 100%;
}

/* Date of learning: same pill shell as list search datepickers + beige border like other form fields */
.portal2026-log-view :is(.portal2026-log-view__datepicker).RadPicker,
.portal2026-log-view span:is(.portal2026-log-view__datepicker).RadPicker {
    border: 2px solid var(--portal2026-earthy-beige) !important;
    max-width: 320px !important;
}

.portal2026-log-view__duration {
    width: 100%;
}

.portal2026-log-view__duration-field {
    min-width: 0;
}

.portal2026-log-view__duration-select {
    width: 110px !important;
    min-width: 110px;
    max-width: 100%;
    padding-right: 36px !important;
    background-position: right 14px center;
}

.portal2026-log-view__duration-label {
    font-weight: 600;
    color: var(--portal2026-navy);
    font-size: 0.95rem;
    white-space: nowrap;
}

.portal2026-log-manager__toolbar {
    background: var(--portal2026-soft-sand);
}

.portal2026-log-manager__editor-title {
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--portal2026-navy);
    border-bottom: 1px solid rgba(0, 54, 102, 0.1);
}

.portal2026-log-manager .resource-container {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 54, 102, 0.08);
}

.portal2026-log-manager .resource-link {
    font-weight: 700;
    color: var(--portal2026-navy) !important;
    text-decoration: none !important;
}

/* ---- My training -------------------------------------------------------- */

.portal2026-training__card.portal2026-card {
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
}

.portal2026-training__meta-table {
    width: 100%;
    max-width: 480px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.portal2026-training__meta-label {
    font-weight: 700;
    padding-right: 16px;
    white-space: nowrap;
}

.portal2026-training__meta-value {
    font-weight: 600;
}

.portal2026-training__grid {
    width: 100% !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
}

.portal2026-training__list-header {
    background: var(--portal2026-soft-sand) !important;
    color: var(--portal2026-navy) !important;
    font-weight: 700 !important;
}

.portal2026-training__list-header th,
.portal2026-training__list-header td {
    padding: 12px !important;
    border: none !important;
    text-align: left;
}

.portal2026-training__list-item {
    background: var(--portal2026-soft-sand) !important;
    vertical-align: top !important;
}

.portal2026-training__list-item td {
    padding: 16px !important;
    border: none !important;
    color: var(--portal2026-navy);
}

.portal2026-training__list-item td:first-child {
    border-radius: 12px 0 0 12px;
}

.portal2026-training__list-item td:last-child {
    border-radius: 0 12px 12px 0;
}

.portal2026-training__occasion-title {
    display: block;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.portal2026-training__occasion-meta,
.portal2026-training__status {
    font-size: 0.95rem;
    line-height: 1.5;
}

.portal2026-training__flags {
    margin-top: 10px;
}

.portal2026-training__error {
    display: block;
    font-weight: 700;
    color: var(--portal2026-happy-heart);
}

/* Learning log widget polish when in portal shells */
.portal2026-further__log-widget .portal2026-log-widget__heading,
.portal2026-log-widget__heading {
    margin-bottom: 12px;
}

/* Soft-grey entry wash (matches Learning Log list entries) */
.portal2026-further__log-widget .fill-white,
.portal2026-further__log .fill-white,
.portal2026-log-widget__content .fill-white,
.portal2026-log-widget .portal2026-log-list__entry,
.portal2026-further__log-widget .portal2026-log-list__entry,
.portal2026-course-view .portal2026-log-list__entry {
    background: var(--portal2026-soft-grey) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: var(--portal2026-radius-sm);
    padding: 14px 16px;
    box-sizing: border-box;
}

.portal2026-further__log.portal2026-card {
    border: none !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---- Membership dashboard ----------------------------------------------- */

.portal2026-membership {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-membership__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

/* Brand card frame is on the slot; strip nested legacy widget chrome */
.portal2026-membership__slot > .my-membership-item,
.portal2026-membership__slot > .aspNet-Panel,
.portal2026-membership__slot > div.my-membership-item,
.portal2026-membership .my-membership-item {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.portal2026-membership .my-membership-item-title {
    margin: 0 0 14px 0 !important;
    padding: 0 0 12px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 54, 102, 0.12) !important;
    background: transparent !important;
    font-family: Quicksand, sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    color: var(--portal2026-navy) !important;
}

.portal2026-membership .my-membership-item-highlight {
    color: var(--portal2026-blue-zing) !important;
    font-weight: 700 !important;
}

.portal2026-membership .my-membership-item-content {
    padding: 0 !important;
    background: transparent !important;
    color: var(--portal2026-navy) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.portal2026-membership .my-membership-item-content > div {
    margin-bottom: 10px;
}

.portal2026-membership .my-membership-item-content strong {
    font-weight: 700;
    color: var(--portal2026-navy);
}

/* Widget CTAs → brand pills */
.portal2026-membership a.my-membership-button,
.portal2026-membership .my-membership-button,
.portal2026-membership input.my-membership-button,
.portal2026-membership button.my-membership-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
    padding: 10px 28px !important;
    border: none !important;
    border-radius: 100px !important;
    background: var(--portal2026-navy) !important;
    color: #fff !important;
    font-family: Quicksand, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.portal2026-membership a.my-membership-button:hover,
.portal2026-membership .my-membership-button:hover,
.portal2026-membership input.my-membership-button:hover,
.portal2026-membership button.my-membership-button:hover,
.portal2026-membership a.my-membership-button:focus,
.portal2026-membership .my-membership-button:focus {
    opacity: 0.92;
    color: #fff !important;
    text-decoration: none !important;
}

.portal2026-membership .my-membership-button.small,
.portal2026-membership a.my-membership-button.small,
.portal2026-membership input.my-membership-button.small,
.portal2026-membership button.my-membership-button.small,
.portal2026-membership .my-membership-button.small:link,
.portal2026-membership .my-membership-button.small:visited,
.portal2026-membership .my-membership-button.small:hover,
.portal2026-membership .my-membership-button.small:focus,
.portal2026-membership .my-membership-button.small:active,
.portal2026-membership a.my-membership-button.small:hover,
.portal2026-membership a.my-membership-button.small:focus,
.portal2026-membership a.my-membership-button.small:active,
.portal2026-membership input.my-membership-button.small:hover,
.portal2026-membership input.my-membership-button.small:focus,
.portal2026-membership button.my-membership-button.small:hover,
.portal2026-membership button.my-membership-button.small:focus {
    padding: 6px 16px !important;
    font-size: 0.85rem !important;
    background: var(--portal2026-golden-glow) !important;
    color: var(--portal2026-navy) !important; /* keep navy on yellow — do not go white on hover */
}

/* Orders grid inside card */
.portal2026-membership table {
    width: 100%;
    border-collapse: collapse;
    font-family: Quicksand, sans-serif;
    color: var(--portal2026-navy);
}

.portal2026-membership table td {
    padding: 10px 6px !important;
    border-bottom: 1px solid rgba(0, 54, 102, 0.1) !important;
    vertical-align: middle;
}

.portal2026-membership table tr:last-child td {
    border-bottom: none !important;
}

.portal2026-membership .text--centre,
.portal2026-membership [style*="text-align: center"],
.portal2026-membership div[style*="text-align:center"] {
    text-align: left !important;
    margin-top: 12px;
}

/* Join now alternate panel in renewal widget */
.portal2026-membership .why-join-block {
    margin: 0 !important;
    padding: 20px !important;
    border-radius: var(--portal2026-radius-sm);
    background: var(--portal2026-soft-sand) !important;
    border: 2px solid var(--portal2026-earthy-beige);
    color: var(--portal2026-navy) !important;
    float: none !important;
    clear: both !important;
    overflow: hidden;
}

.portal2026-membership .why-join-block h3 {
    color: var(--portal2026-navy) !important;
    font-family: "Cat Comic", Quicksand, sans-serif !important;
    font-weight: 400 !important;
}

.portal2026-membership .why-join-block .green-text,
.portal2026-membership .why-join-block p {
    color: var(--portal2026-navy) !important;
}

.portal2026-membership .join-now-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 28px !important;
    border-radius: 100px !important;
    background: var(--portal2026-golden-glow) !important;
    color: var(--portal2026-navy) !important;
    font-family: Quicksand, sans-serif !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
}

/* ---- Contact details ---------------------------------------------------- */

.portal2026-contact {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-contact__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-contact__section-title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--portal2026-navy);
}

.portal2026-contact__card--summary {
    background: var(--portal2026-soft-sand);
}

.portal2026-contact__actions {
    padding-top: 8px;
    justify-content: flex-start;
}

/* Form rows (ManageContact / PasswordChanger / Address) inside brand cards */
.portal2026-contact__form .portal2026-contact__row,
.portal2026-contact__form .row-group__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 16px;
    margin: 0 0 14px 0;
    padding: 0 0 14px 0;
    border-bottom: 1px solid rgba(0, 54, 102, 0.1);
}

.portal2026-contact__form .portal2026-contact__row:last-child,
.portal2026-contact__form .row-group__row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.portal2026-contact__form label {
    flex: 1 1 140px;
    min-width: 120px;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--portal2026-navy);
    margin: 0;
}

.portal2026-contact__form label + div,
.portal2026-contact__form .portal2026-contact__row > div:last-child {
    flex: 1 1 180px;
    min-width: 160px;
}

.portal2026-contact__form input[type="text"],
.portal2026-contact__form input[type="password"],
.portal2026-contact__form input[type="email"],
.portal2026-contact__form input[type="tel"],
.portal2026-contact__form input[type="number"],
.portal2026-contact__form select,
.portal2026-contact__form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 16px;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: 100px;
    background: #fff;
    color: var(--portal2026-navy);
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    outline: none;
}

.portal2026-contact__form textarea {
    border-radius: 16px;
    min-height: 96px;
    resize: vertical;
}

.portal2026-contact__form input:focus,
.portal2026-contact__form select:focus,
.portal2026-contact__form textarea:focus {
    border-color: var(--portal2026-navy);
    background: var(--portal2026-soft-sand);
}

.portal2026-contact__form .validation-error {
    display: block;
    margin-top: 4px;
    color: var(--portal2026-happy-heart);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Soften nested common widgets so the beige card frame does the branding */
.portal2026-contact__card .e-panel,
.portal2026-contact__card .panel,
.portal2026-contact__privacy .my-membership-item,
.portal2026-contact__privacy .e-panel {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.portal2026-contact__privacy .portal2026-card,
.portal2026-contact__privacy .my-membership-item {
    /* Privacy widget may still use old classes — lift into brand if bare */
}

/* Privacy widget CTA → brand button when present as old class */
.portal2026-contact__privacy a.my-membership-button,
.portal2026-contact__privacy .my-membership-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 28px !important;
    border-radius: 100px !important;
    background: var(--portal2026-navy) !important;
    color: #fff !important;
    font-family: Quicksand, sans-serif !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
}

/* ---- Elected Members Library -------------------------------------------- */

.portal2026-elected {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-elected__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

.portal2026-elected__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-sizing: border-box;
}

.portal2026-elected__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--portal2026-soft-sand);
    color: var(--portal2026-navy);
    font-size: 1.2rem;
    border: 2px solid var(--portal2026-earthy-beige);
}

.portal2026-elected__title {
    margin: 0;
    flex: 1 1 auto;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--portal2026-navy);
    text-wrap: balance;
}

.portal2026-elected__title span,
.portal2026-elected__title label {
    font: inherit;
    color: inherit;
}

.portal2026-elected__actions {
    margin-top: auto;
    padding-top: 4px;
}

/* ---- Webinars ----------------------------------------------------------- */
/*
  Brand language from the design file:
  - White cards with thick earthy-beige frame (same as .website-frame / .portal2026-card)
  - Soft-sand panels used for supporting surfaces
  - Impact surfaces available via modifiers (navy / happy-heart) when needed
  Video uses aspect-ratio so we don't get a coloured gap under the player.
*/

.portal2026-webinars {
    color: var(--portal2026-navy);
    font-family: Quicksand, "Segoe UI", sans-serif;
}

.portal2026-webinars__lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--portal2026-navy);
}

/* Each webinar = brand card (beige frame). Do not strip this. */
.portal2026-webinars__item.portal2026-card {
    background: #fff;
    border: var(--portal2026-frame-border) solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius);
    overflow: hidden;
}

/* Optional impact variants for future / mixed layouts */
.portal2026-webinars__item.portal2026-card--sand {
    background: var(--portal2026-soft-sand);
}

.portal2026-webinars__item.portal2026-card--navy {
    background: var(--portal2026-navy);
    border-color: var(--portal2026-navy);
    color: #fff;
}

.portal2026-webinars__item.portal2026-card--navy .portal2026-webinars__title,
.portal2026-webinars__item.portal2026-card--navy .portal2026-webinars__description {
    color: #fff;
}

.portal2026-webinars__item.portal2026-card--heart {
    background: var(--portal2026-happy-heart, #EA3453);
    border-color: var(--portal2026-happy-heart, #EA3453);
    color: #fff;
}

.portal2026-webinars__item.portal2026-card--heart .portal2026-webinars__title,
.portal2026-webinars__item.portal2026-card--heart .portal2026-webinars__description {
    color: #fff;
}

.portal2026-webinars__row {
    align-items: flex-start;
}

/* ~1/3 video | ~2/3 copy */
.portal2026-webinars__media {
    flex: 0 1 34%;
    min-width: 240px;
    max-width: 420px;
}

.portal2026-webinars__content {
    flex: 1 1 0;
    min-width: 220px;
}

/* True 16:9 — black letterbox only inside the player, no navy strip under it */
.portal2026-webinars__video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.portal2026-webinars__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@supports not (aspect-ratio: 16 / 9) {
    .portal2026-webinars__video {
        height: 0;
        padding-bottom: 56.25%;
    }
}

.portal2026-webinars__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 100px;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1.2;
    color: #fff;
}

.portal2026-webinars__badge--youtube {
    background: #FF0000;
}

.portal2026-webinars__badge--scma {
    background: var(--portal2026-navy);
}

.portal2026-webinars__badge i {
    font-size: 0.9rem;
}

.portal2026-webinars__title {
    margin: 0;
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--portal2026-navy);
    text-wrap: balance;
}

.portal2026-webinars__description {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--portal2026-navy);
    max-width: 40rem;
}

.portal2026-webinars__description p {
    margin: 0 0 0.75em 0;
}

.portal2026-webinars__description p:last-child {
    margin-bottom: 0;
}

.portal2026-webinars__actions {
    padding-top: 2px;
}

@media (max-width: 767px) {
    .portal2026-webinars__media {
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
    }

    .portal2026-webinars__content {
        flex: 1 1 100%;
    }
}

/* ---- Responsive --------------------------------------------------------- */

@media (max-width: 767px) {
    :root {
        --portal2026-frame-border: 8px;
        --portal2026-radius: 24px;
        --portal2026-radius-sm: 16px;
    }

    .portal2026-heading,
    .portal2026-dashboard h2,
    .portal2026-faqs .portal2026-heading,
    .portal2026-col .portal2026-heading,
    .portal2026-social .portal2026-heading,
    .portal2026-webinars .portal2026-heading,
    .portal2026-elected .portal2026-heading,
    .portal2026-contact .portal2026-heading,
    .portal2026-membership .portal2026-heading,
    .portal2026-orders .portal2026-heading,
    .portal2026-order-details .portal2026-heading,
    .portal2026-cms-search .portal2026-heading,
    .portal2026-downloads .portal2026-heading,
    .portal2026-resources .portal2026-heading,
    .portal2026-devplan .portal2026-heading,
    .portal2026-conferences .portal2026-heading,
    .portal2026-magazines .portal2026-heading,
    .portal2026-selfeval .portal2026-heading,
    .portal2026-further .portal2026-heading,
    .portal2026-shop .portal2026-heading,
    .portal2026-product .portal2026-heading,
    .portal2026-cartview .portal2026-heading,
    .portal2026-checkout .portal2026-heading {
        font-size: 1.4rem;
    }

    .portal2026-shop-widget .portal2026-tabs.tabs {
        border-radius: var(--portal2026-radius);
        padding: 8px;
    }

    .portal2026-shop-widget .portal2026-tabs.tabs > li {
        flex: 1 1 100%;
        min-width: 0;
    }

    .portal2026-shop-widget .portal2026-tabs .tab {
        padding: 12px 16px;
    }

    .portal2026-product__layout,
    .portal2026-shop__layout {
        grid-template-columns: 1fr;
    }

    .portal2026-cartview__totals-table {
        max-width: none;
    }

    .portal2026-magazines__hero {
        padding: 22px 20px 26px;
    }

    .portal2026-magazine-widget__actions {
        grid-template-columns: 1fr;
    }

    .portal2026-magazine-widget__action {
        justify-content: flex-start;
        padding-left: 16px;
    }

    .portal2026-conferences__media {
        flex: 1 1 100%;
        max-width: none;
    }

    .portal2026-courses__image {
        width: 100%;
        min-height: 140px;
    }

    /* equal-width footer rules live with .portal2026-courses__footer */

    .portal2026-further__nav-btn {
        flex: 1 1 140px;
    }

    .portal2026-further .portal2026-tabs.tabs {
        border-radius: var(--portal2026-radius);
    }

    .portal2026-further .portal2026-tabs.tabs > li {
        flex: 1 1 100%;
        min-width: 0;
    }

    .portal2026-devplan__list .accordion-toggle {
        font-size: 1rem;
        padding: 14px 2px;
    }

    .portal2026-resources .portal2026-tabs.tabs {
        border-radius: var(--portal2026-radius);
        padding: 8px;
    }

    .portal2026-resources .portal2026-tabs.tabs > li {
        flex: 1 1 100%;
        min-width: 0;
    }

    .portal2026-resources .portal2026-tabs .tab {
        padding: 12px 16px;
    }

    .portal2026-resources__filter-label {
        min-width: 0;
        width: 100%;
    }

    .portal2026-resources__select,
    .portal2026-resources__keywords {
        flex: 1 1 100%;
        min-width: 0;
    }

    .portal2026-resources__filter-actions {
        width: 100%;
    }

    .portal2026-resources__filter-actions .portal2026-btn {
        flex: 1 1 auto;
    }

    .portal2026-webinars__title {
        font-size: 1.15rem;
    }

    .portal2026-social__switcher {
        border-radius: var(--portal2026-radius);
    }

    .portal2026-social__switch span {
        /* keep labels; stack tighter if needed */
    }

    .portal2026-social__embed {
        min-height: 360px;
    }

    .portal2026-faqs__list .accordion-toggle {
        font-size: 1rem;
        padding: 14px 2px;
    }

    .portal2026-col .portal2026-tabs.tabs {
        border-radius: var(--portal2026-radius);
        padding: 8px;
    }

    .portal2026-col .portal2026-tabs.tabs > li {
        flex: 1 1 100%;
        min-width: 0;
    }

    .portal2026-col .portal2026-tabs .tab {
        padding: 12px 16px;
    }

    .portal2026-calculator .form-group > .col-sm-2,
    .portal2026-calculator .form-group > .col-sm-3 {
        flex: 1 1 100%;
        max-width: none;
    }

    .portal2026-calculator__result-value {
        font-size: 1.9rem;
    }
}

/* ==========================================================================
   Portal2026 select chevrons (final pass)
   Re-assert after any later background shorthand so all dropdowns keep the
   same navy arrow as Learning duration.
   ========================================================================== */
select.portal2026-course-list__input,
select.portal2026-log-list__input,
select.portal2026-log-view__input,
select.portal2026-resources__input,
select.portal2026-resources__select,
select.portal2026-downloads__select,
select.portal2026-product__select,
select.portal2026-checkout__input,
select.portal2026-cartview__input,
.portal2026-log-list select,
.portal2026-log-view select,
.portal2026-log-manager select,
.portal2026-course-list select,
.portal2026-course-view select,
.portal2026-resources select,
.portal2026-downloads select,
.portal2026-product select,
.portal2026-shop select,
.portal2026-checkout select,
.portal2026-dd select,
.portal2026-training select,
.portal2026-membership select,
.portal2026-learning-zone select,
.portal2026-further select,
.portal2026-dashboard select,
.portal2026-checkout select.checkout-form-item,
.portal2026-dd select.checkout-form-item {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #fff;
    background-image: var(--portal2026-select-chevron) !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 8px !important;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Compact duration selects: slightly tighter chevron inset */
.portal2026-log-view__duration-select {
    background-position: right 14px center !important;
    padding-right: 36px !important;
}

/* ==========================================================================
   Portal navigation (rooted to /dashboard via PortalNavigation control)
   Icon above label — larger icon, smaller text
   ========================================================================== */

.portal2026-nav {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: Quicksand, "Segoe UI", sans-serif;
    color: var(--portal2026-navy);
}

.portal2026-nav__list,
.portal2026-nav__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal2026-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 15px; /* was 10px; +5 to offset removed left padding on items */
}

.portal2026-nav__item {
    position: relative;
    margin: 0;
    padding-left: 0;
}

.portal2026-nav__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    min-height: 78px;
    padding: 12px 14px 10px;
    border-radius: var(--portal2026-radius-sm);
    background: var(--portal2026-soft-sand);
    color: var(--portal2026-navy) !important;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
}

/* href "#" parents: non-link span that still looks/acts like a nav tile */
.portal2026-nav__link--static {
    cursor: default;
    user-select: none;
}

.portal2026-nav__item--has-children > .portal2026-nav__link--static {
    cursor: pointer;
}

.portal2026-nav__link:hover,
.portal2026-nav__link:focus {
    background: #fff;
    color: var(--portal2026-navy) !important;
    outline: 2px solid var(--portal2026-earthy-beige);
    outline-offset: 2px;
}

.portal2026-nav__link--selected,
.portal2026-nav__item--selected > .portal2026-nav__link {
    background: var(--portal2026-navy);
    color: #fff !important;
}

.portal2026-nav__link--selected:hover,
.portal2026-nav__item--selected > .portal2026-nav__link:hover {
    background: var(--portal2026-navy);
    color: #fff !important;
    outline-color: var(--portal2026-golden-glow);
}

.portal2026-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
    font-size: 1.55rem; /* larger FA icons */
}

.portal2026-nav__icon i {
    font-size: 1.55rem;
    line-height: 1;
}

.portal2026-nav__icon img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.portal2026-nav__text {
    display: block;
    max-width: 7.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

/* Reserved */
.portal2026-nav__chevron {
    display: none;
}

/* Parent icons: square on desktop tiles, chevron on mobile rows */
.portal2026-nav__icon--mobile {
    display: none !important;
}

.portal2026-nav__icon--desktop {
    display: inline-block;
}

/*
  Nested flyout under the tile.
  IMPORTANT: the submenu box must start at top: 100% (no margin gap).
  Visual gap + full border are painted with ::after; transparent padding-top
  is still part of the hoverable element so the menu does not close on the way down.
*/
.portal2026-nav__item--has-children {
    position: relative;
    z-index: 1;
}

.portal2026-nav__item--has-children:hover,
.portal2026-nav__item--has-children:focus-within {
    z-index: 60;
}

/* While open, parent tile hover outline must not "steal" the feel of leaving the li —
   keep outline inside so the hit box matches the sand tile. */
.portal2026-nav__item--has-children > .portal2026-nav__link:hover,
.portal2026-nav__item--has-children > .portal2026-nav__link:focus,
.portal2026-nav__item--has-children:hover > .portal2026-nav__link {
    outline: 2px solid var(--portal2026-earthy-beige);
    outline-offset: -2px; /* inside the tile, not outside the li */
}

.portal2026-nav__sublist {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%; /* flush under parent li — continuous hover path */
    transform: translateX(-50%);
    min-width: 200px;
    width: max-content;
    z-index: 50;
    margin: 0;
    /*
      padding-top 8px = hover bridge (transparent)
      + 2px inset on all sides so item hover wash sits inside the beige border
    */
    padding: 10px 2px 2px;
    background: transparent;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    overflow: visible;
    list-style: none;
}

/* Painted panel: full border including top, sits below the transparent bridge */
.portal2026-nav__sublist::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    bottom: 0;
    z-index: 0;
    background: #fff;
    border: 2px solid var(--portal2026-earthy-beige);
    border-radius: var(--portal2026-radius-sm);
    box-shadow: 0 10px 28px rgba(0, 54, 102, 0.12);
    pointer-events: none; /* clicks/hover go to the links, not this chrome */
}

.portal2026-nav__item--has-children:hover > .portal2026-nav__sublist,
.portal2026-nav__item--has-children:focus-within > .portal2026-nav__sublist {
    display: block;
}

/* Full-bleed rows above the painted panel */
.portal2026-nav__sublist .portal2026-nav__item,
.portal2026-nav__sublist .portal2026-nav__item--child {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.portal2026-nav__sublist .portal2026-nav__link,
.portal2026-nav__sublist .portal2026-nav__link--selected,
.portal2026-nav__sublist .portal2026-nav__link--parent,
.portal2026-nav__sublist a.portal2026-nav__link {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: var(--portal2026-navy) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Soft corners on hover so wash doesn't square over the panel radius */
.portal2026-nav__sublist .portal2026-nav__item:first-child .portal2026-nav__link {
    border-radius: calc(var(--portal2026-radius-sm) - 4px) calc(var(--portal2026-radius-sm) - 4px) 0 0 !important;
}

.portal2026-nav__sublist .portal2026-nav__item:last-child .portal2026-nav__link {
    border-radius: 0 0 calc(var(--portal2026-radius-sm) - 4px) calc(var(--portal2026-radius-sm) - 4px) !important;
}

.portal2026-nav__sublist .portal2026-nav__item:only-child .portal2026-nav__link {
    border-radius: calc(var(--portal2026-radius-sm) - 4px) !important;
}

.portal2026-nav__sublist .portal2026-nav__icon,
.portal2026-nav__sublist .portal2026-nav__icon i {
    font-size: 1rem !important;
    color: inherit !important;
}

.portal2026-nav__sublist .portal2026-nav__icon img {
    width: 18px;
    height: 18px;
}

.portal2026-nav__sublist .portal2026-nav__text {
    display: inline !important;
    max-width: none !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.portal2026-nav__sublist .portal2026-nav__link:hover,
.portal2026-nav__sublist .portal2026-nav__link:focus,
.portal2026-nav__sublist a.portal2026-nav__link:hover,
.portal2026-nav__sublist a.portal2026-nav__link:focus {
    background: var(--portal2026-soft-grey) !important;
    color: var(--portal2026-navy) !important;
    outline: none !important;
}

.portal2026-nav__sublist .portal2026-nav__link--selected {
    background: rgba(0, 54, 102, 0.08) !important;
    color: var(--portal2026-navy) !important;
}

.portal2026-nav__sublist .portal2026-nav__link--selected:hover,
.portal2026-nav__sublist .portal2026-nav__link--selected:focus {
    background: var(--portal2026-soft-grey) !important;
    color: var(--portal2026-navy) !important;
}

.portal2026-nav__debug {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.85;
}

/* Mobile current-selection toggle — desktop/tablet: hidden */
.portal2026-nav__mobile-current {
    display: none;
}

/*
  Compact tile mode down to 568px — same tile layout, tighter chrome
  so the full row still fits on narrower tablets.
*/
@media (max-width: 900px) and (min-width: 568px) {
    .portal2026-nav__list {
        gap: 6px;
    }

    .portal2026-nav__link {
        min-width: 64px;
        min-height: 60px;
        padding: 6px 8px 6px;
        gap: 3px;
    }

    .portal2026-nav__icon,
    .portal2026-nav__icon i {
        font-size: 1.15rem;
    }

    .portal2026-nav__icon img {
        width: 20px;
        height: 20px;
    }

    .portal2026-nav__text {
        max-width: 5.75rem;
        font-size: 0.58rem;
        line-height: 1.15;
    }
}

/*
  Mobile (&lt; 568px): accordion.
  - One control at the top shows the currently selected item
  - Expanded list uses the same row style as dropdown children
*/
@media (max-width: 567px) {
    .portal2026-nav {
        position: relative;
        z-index: 40;
    }

    .portal2026-nav__mobile-current {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        margin: 0;
        padding: 12px 14px;
        border: 2px solid var(--portal2026-earthy-beige);
        border-radius: var(--portal2026-radius-sm);
        background: #fff;
        color: var(--portal2026-navy);
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
        box-sizing: border-box;
        box-shadow: 0 4px 14px rgba(0, 54, 102, 0.08);
    }

    .portal2026-nav__mobile-current:hover,
    .portal2026-nav__mobile-current:focus {
        outline: none;
        border-color: var(--portal2026-navy);
    }

    .portal2026-nav__mobile-current-main {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .portal2026-nav__mobile-current .portal2026-nav__icon,
    .portal2026-nav__mobile-current .portal2026-nav__icon i {
        font-size: 1.1rem;
        color: inherit;
    }

    .portal2026-nav__mobile-current .portal2026-nav__icon img {
        width: 20px;
        height: 20px;
    }

    .portal2026-nav__mobile-current .portal2026-nav__text {
        display: inline;
        max-width: none;
        font-size: 0.9rem;
        font-weight: 700;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal2026-nav__mobile-current-chevron {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        line-height: 1;
        position: relative;
        width: 1em;
        height: 1em;
    }

    .portal2026-nav__mobile-current-chevron-down,
    .portal2026-nav__mobile-current-chevron-up {
        font-size: 0.85rem;
        line-height: 1;
    }

    .portal2026-nav__mobile-current-chevron-up {
        display: none !important;
    }

    .portal2026-nav--open .portal2026-nav__mobile-current-chevron-down {
        display: none !important;
    }

    .portal2026-nav--open .portal2026-nav__mobile-current-chevron-up {
        display: inline-block !important;
    }

    /* Mobile list: chevron for parent rows, hide desktop square icon */
    .portal2026-nav__icon--desktop {
        display: none !important;
    }

    .portal2026-nav__icon--mobile {
        display: inline-block !important;
    }

    /* Collapsed: hide the full list */
    .portal2026-nav__list {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        margin-top: 8px;
        padding: 2px;
        background: #fff;
        border: 2px solid var(--portal2026-earthy-beige);
        border-radius: var(--portal2026-radius-sm);
        box-shadow: 0 10px 28px rgba(0, 54, 102, 0.12);
        box-sizing: border-box;
        overflow: hidden;
    }

    .portal2026-nav--open .portal2026-nav__list {
        display: flex;
    }

    .portal2026-nav__item {
        display: block;
        width: 100%;
        position: relative;
    }

    /* All top-level links: same row style as desktop dropdown children */
    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link,
    .portal2026-nav__list > .portal2026-nav__item > a.portal2026-nav__link,
    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link--static {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 0 !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        border-radius: 0 !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        color: var(--portal2026-navy) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        text-align: left !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .portal2026-nav__list > .portal2026-nav__item:first-child > .portal2026-nav__link {
        border-radius: calc(var(--portal2026-radius-sm) - 4px) calc(var(--portal2026-radius-sm) - 4px) 0 0 !important;
    }

    .portal2026-nav__list > .portal2026-nav__item:last-child > .portal2026-nav__link {
        border-radius: 0 0 calc(var(--portal2026-radius-sm) - 4px) calc(var(--portal2026-radius-sm) - 4px) !important;
    }

    .portal2026-nav__list > .portal2026-nav__item:only-child > .portal2026-nav__link {
        border-radius: calc(var(--portal2026-radius-sm) - 4px) !important;
    }

    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link:hover,
    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link:focus {
        background: var(--portal2026-soft-grey) !important;
        color: var(--portal2026-navy) !important;
        outline: none !important;
    }

    .portal2026-nav__list > .portal2026-nav__item--selected > .portal2026-nav__link,
    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link--selected {
        background: rgba(0, 54, 102, 0.08) !important;
        color: var(--portal2026-navy) !important;
    }

    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link .portal2026-nav__icon,
    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link .portal2026-nav__icon i {
        font-size: 1rem !important;
        color: inherit !important;
    }

    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link .portal2026-nav__icon img {
        width: 18px;
        height: 18px;
    }

    .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link .portal2026-nav__text {
        display: inline !important;
        max-width: none !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    /* Children always expanded under their parent (no hover flyout) */
    .portal2026-nav__item--has-children {
        grid-column: auto;
    }

    .portal2026-nav__item--has-children > .portal2026-nav__link {
        max-width: none;
    }

    .portal2026-nav__sublist {
        position: static !important;
        display: block !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 4px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .portal2026-nav__sublist::after {
        display: none !important;
    }

    .portal2026-nav__sublist .portal2026-nav__link {
        padding-left: 28px !important; /* indent under parent */
        font-size: 0.85rem !important;
    }

    .portal2026-nav__sublist .portal2026-nav__text {
        font-size: 0.85rem !important;
    }

    /*
      Placeholder parents (href "#"): hide the parent row on mobile.
      Must beat .portal2026-nav__list > .portal2026-nav__item > .portal2026-nav__link { display: flex !important }
      Children stay visible at the same level as other top-level rows.
    */
    .portal2026-nav__list > .portal2026-nav__item--placeholder > .portal2026-nav__link,
    .portal2026-nav__list > .portal2026-nav__item--placeholder > a.portal2026-nav__link,
    .portal2026-nav__list > .portal2026-nav__item--placeholder > .portal2026-nav__link--static,
    .portal2026-nav__list > .portal2026-nav__item--placeholder > span.portal2026-nav__link {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: none !important;
        pointer-events: none !important;
    }

    .portal2026-nav__list > .portal2026-nav__item--placeholder > .portal2026-nav__sublist .portal2026-nav__link {
        padding-left: 14px !important; /* no indent — parent is hidden */
        font-size: 0.9rem !important;
    }

    .portal2026-nav__list > .portal2026-nav__item--placeholder > .portal2026-nav__sublist .portal2026-nav__text {
        font-size: 0.9rem !important;
    }
}
