﻿/* ==========================================================================
   WhiteRock Lithium  -  Weblink component style reference
   --------------------------------------------------------------------------
   Purpose: the placeholder investor components on the site are styled to look
   like the finished product. This file is the COMPILED CSS for each of them so
   the Weblink developer can reproduce the look quickly.

   HOW TO USE, by component type:
     * IFRAME widgets (share-price ticker, price chart): these are served
       cross-origin from wcsecure.weblink.com.au and CANNOT be styled by CSS on
       our side. Reproduce the look below inside the Weblink ACCOUNT styling
       config (colours / fonts / sizes). Treat the rules here as a visual spec.
     * EMBED widgets (announcement / report / presentation lists, snapshots):
       where Weblink renders markup into our own page, THIS CSS can be adapted
       directly - remap the selectors below onto Weblink's output classes.

   Colours use CSS custom properties; the :root block right below resolves every
   one to its hex value, so this file is self-contained (paste it and it works)
   and the hex values are ready to drop straight into Weblink's config.
   Spacing/type are already resolved to rem. Base rules only - responsive
   breakpoints live in the theme's main.css if needed.
   ========================================================================== */

/* ---- Design tokens (resolved) ------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --wr-ink: #0F1929;
    --wr-ink-2: #15354A;
    --wr-white: #FFFFFF;
    --wr-hairline: #D7DEE2;
    --wr-brand: #3890CA;
    --wr-brand-deep: #016697;
    --wr-brand-light: #6FB5E0;
    --wr-slate: #6F8798;
    --wr-sand: #D7C7A9;
    --wr-terracotta: #A96C4D;
    --wr-blue-grey: #9FB0BC;
    --wr-terracotta-82: #F0E5DF;
    --wr-terracotta-deep: #6B4B3F;
    --wr-sand-35: #E5DBC7;
    --wr-sand-60: #EFE9DD;
    --wr-sand-82: #F8F5F0;
    --wr-bg: #FFFFFF;
    --wr-bg-alt: #F7F9FA;
    --wr-surface: #FFFFFF;
    --wr-text: #0F1929;
    --wr-text-muted: #6F8798;
    --wr-text-body: #15354A;
    --wr-link: #016697;
    --wr-link-hover: #3890CA;
    --wr-line: #D7DEE2;
    --wr-accent: #3890CA;
    --wr-font-sans: Inter, Segoe UI, -apple-system, BlinkMacSystemFont, Helvetica Neue, Arial, sans-serif;
    --wr-font-mono: JetBrains Mono, Menlo, ui-monospace, monospace;
    --wr-container: 1600px;
    --wr-container-wide: 1600px;
    --wr-gutter: clamp(1.25rem, 4vw, 2.5rem);
    --wr-radius: 0;
    --wr-section: clamp(3.5rem, 8vw, 7rem);
    --wr-photo-wash: linear-gradient(115deg, rgba(15, 25, 41, 0.78) 0%, rgba(15, 25, 41, 0.35) 55%, rgba(15, 25, 41, 0.15) 100%);
    --wr-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --wr-dur: 0.4s;
}




/* ========================================================================
   SHARE-PRICE TICKER  (header + footer)  -  Weblink: priceframe.aspx / priceframeW.aspx  [IFRAME]
   ======================================================================== */

.wr-utility .wr-ticker {
    width: 210px;
    height: 24px;
    border: 0;
}

.wr-asxchip {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

    .wr-asxchip strong {
        color: var(--wr-brand-light);
        font-weight: 700;
    }

.wr-asxchip__dot {
    width: 6px;
    height: 6px;
    background: #46d39a;
    border-radius: 50% !important;
    box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.6);
    animation: wr-pulse 2s infinite;
}

@keyframes wr-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.5);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(70, 211, 154, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(70, 211, 154, 0);
    }
}

.wr-asxchip--foot {
    border-color: rgba(255, 255, 255, 0.2);
}


/* ========================================================================
   DARK IR BAND + KEY METRICS  -  Weblink price feed  [data]
   ======================================================================== */

.wr-page-hero {
    background: var(--wr-ink);
    color: #fff;
    padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}

    .wr-page-hero h1 {
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        font-size: clamp(2.6rem, 5.4vw, 4.6rem);
        letter-spacing: -0.01em;
        line-height: 1.05;
        margin: 0 0 1rem;
    }

    .wr-page-hero .wr-lead {
        color: var(--wr-blue-grey);
        max-width: 62ch;
    }

    .wr-page-hero strong {
        color: #fff;
    }

.wr-ir {
    background: var(--wr-ink);
    color: #fff;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

    .wr-ir .wr-sample-badge {
        display: inline-block;
        margin-bottom: 2rem;
    }

.wr-ir__metrics {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.wr-metric {
    background: #13273f;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.wr-metric__val {
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    font-weight: 300;
    color: #fff;
    line-height: 1;
}

.wr-metric__label {
    font-size: 0.75rem;
    color: var(--wr-blue-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ========================================================================
   SHARE-PRICE CHART WIDGET  -  Weblink: chartformresponsive.aspx  [IFRAME]
   ======================================================================== */

.wr-chartwidget {
    background: none;
    color: #fff;
    padding: 0;
}

.wr-chartwidget__head {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.wr-chartwidget__logo svg {
    height: clamp(34px, 4.5vw, 46px);
    width: auto;
    display: block;
}

.wr-chartwidget__summary {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wr-chartwidget__price {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 600;
}

.wr-chartwidget__ccy {
    font-size: 0.875rem;
    color: var(--wr-blue-grey);
}

.wr-chartwidget__chg {
    font-size: 0.875rem;
    font-weight: 600;
}

    .wr-chartwidget__chg.is-up {
        color: #57c98a;
    }

    .wr-chartwidget__chg.is-down {
        color: #e0736a;
    }

.wr-chartwidget__period {
    font-size: 0.875rem;
    color: var(--wr-blue-grey);
}

.wr-chartwidget__ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.wr-chartrange {
    background: none;
    border: 0;
    cursor: pointer;
    margin: 0;
    padding: 0.3rem 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--wr-blue-grey);
    transition: color var(--wr-dur) var(--wr-ease), background var(--wr-dur) var(--wr-ease);
}

    .wr-chartrange:hover, .wr-chartrange:focus-visible {
        color: #fff;
        outline: none;
    }

    .wr-chartrange.is-active {
        background: var(--wr-brand);
        color: #fff;
    }

.wr-chartwidget__body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.wr-chartwidget__chart {
    position: relative;
    min-width: 0;
}

.wr-chartwidget__series {
    position: absolute;
    top: 0;
    left: 46px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.875rem;
    color: var(--wr-brand-light);
}

.wr-chartwidget__seriesdot {
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--wr-brand-light);
    border-radius: 50% !important;
    display: inline-block;
}

.wr-chartwidget__plot {
    position: relative;
    height: clamp(240px, 30vw, 340px);
    padding-left: 46px;
    cursor: crosshair;
}

.wr-chartwidget__svg {
    position: absolute;
    left: 46px;
    top: 0;
    width: calc(100% - 46px);
    height: 100%;
    overflow: visible;
}

.wr-cw-grid {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.wr-cw-area {
    fill: rgba(111, 181, 224, 0.12);
}

.wr-cw-line {
    fill: none;
    stroke: var(--wr-brand-light);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.wr-chartwidget__y {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

    .wr-chartwidget__y li {
        font-size: 0.68rem;
        color: var(--wr-blue-grey);
        line-height: 1;
        margin: 0;
    }

.wr-chartwidget__x {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0 0;
    padding-left: 46px;
    list-style: none;
}

    .wr-chartwidget__x li {
        font-size: 0.68rem;
        color: var(--wr-blue-grey);
        margin: 0;
    }

.wr-chartwidget__cursor {
    position: absolute;
    z-index: 4;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #fff;
    border: 2px solid var(--wr-brand-light);
    border-radius: 50% !important;
    pointer-events: none;
    box-shadow: 0 0 0 4px rgba(111, 181, 224, 0.25);
}

    .wr-chartwidget__cursor[hidden] {
        display: none;
    }

.wr-chartwidget__tip {
    position: absolute;
    z-index: 5;
    transform: translate(-50%, calc(-100% - 14px));
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
    background: #0b1524;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.5rem 0.8rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

    .wr-chartwidget__tip[hidden] {
        display: none;
    }

.wr-chartwidget__tipval {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
}

.wr-chartwidget__tipdate {
    font-size: 0.7rem;
    color: var(--wr-blue-grey);
}

.wr-chartwidget__side {
    display: flex;
    flex-direction: column;
}

.wr-chartwidget__block {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.wr-chartwidget__code {
    display: block;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 600;
    color: var(--wr-brand-light);
    line-height: 1;
}

.wr-chartwidget__blocklabel {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--wr-blue-grey);
}

.wr-chartwidget__spline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.wr-chartwidget__spval {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 300;
}

    .wr-chartwidget__spval.is-up {
        color: #57c98a;
    }

    .wr-chartwidget__spval.is-down {
        color: #e0736a;
    }

.wr-chartwidget__spchg {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
}

    .wr-chartwidget__spchg.is-up {
        color: #57c98a;
    }

    .wr-chartwidget__spchg.is-down {
        color: #e0736a;
    }

.wr-chartwidget__source {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--wr-blue-grey);
}

.wr-chartwidget__srcdate {
    text-align: right;
    white-space: nowrap;
}


/* ========================================================================
   HOMEPAGE 'INVESTORS AT A GLANCE'  -  Weblink: headlineContentsNoTab2.aspx  [embed]
   ======================================================================== */

.wr-investor {
    background: var(--wr-bg-alt);
}

.wr-investor__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: none;
}

.wr-investor__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.wr-shareprice {
    grid-column: span 1;
}

.wr-panel {
    background: #fff;
    border: 1px solid var(--wr-line);
}

.wr-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--wr-line);
}

    .wr-panel__head h3 {
        margin: 0;
        font-size: 1rem;
        letter-spacing: 0.02em;
    }

.wr-panel__all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wr-brand-deep);
    transition: color 0.2s var(--wr-ease);
}

    .wr-panel__all:hover {
        color: var(--wr-brand);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.wr-shareprice__code {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wr-brand-deep);
    letter-spacing: 0.06em;
}

.wr-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.5rem 1.5rem 0.75rem;
}

.wr-price__value {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--wr-ink);
    line-height: 1;
}

.wr-price__change {
    font-size: 0.875rem;
    font-weight: 600;
}

    .wr-price__change.is-up {
        color: #1a8a5a;
    }

    .wr-price__change.is-down {
        color: #c0392b;
    }

.wr-price-stats {
    margin: 0;
    padding: 0 1.5rem 1rem;
}

    .wr-price-stats div {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--wr-line);
    }

        .wr-price-stats div:last-child {
            border-bottom: 0;
        }

    .wr-price-stats dt {
        color: var(--wr-text-muted);
        font-size: 0.875rem;
    }

    .wr-price-stats dd {
        margin: 0;
        font-weight: 600;
        color: var(--wr-ink);
        font-size: 0.875rem;
        font-variant-numeric: tabular-nums;
    }

.wr-price__note {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    font-size: 0.75rem;
    color: var(--wr-text-muted);
    font-style: italic;
}


/* ========================================================================
   ANNOUNCEMENT / REPORT / PRESENTATION LISTS  -  Weblink: headlineContents.aspx?hdGroup=...  [embed]
   ======================================================================== */

.wr-annlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wr-annrow {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--wr-line);
    margin: 0;
    cursor: pointer;
    transition: background 0.2s var(--wr-ease);
}

    .wr-annrow:last-child {
        /*border-bottom: 0;*/
    }

    .wr-annrow:hover {
        background: var(--wr-bg-alt);
    }

        .wr-annrow:hover .wr-annrow__title {
            color: var(--wr-brand-deep);
        }

        .wr-annrow:hover .wr-annrow__pdf {
            color: var(--wr-brand);
        }

.wr-annrow__date {
    font-size: 0.875rem;
    color: var(--wr-text-muted);
    font-variant-numeric: tabular-nums;
}

.wr-annrow__title {
    font-size: 0.875rem;
    color: var(--wr-ink);
    font-weight: 600;
    transition: color 0.2s var(--wr-ease);
}

.wr-annrow__pdf {
    color: var(--wr-brand-deep);
    transition: color 0.2s var(--wr-ease);
}

    .wr-annrow__pdf svg {
        width: 18px;
        height: 18px;
    }

.wr-ps {
    display: inline-block;
    margin-right: 0.5em;
    vertical-align: middle;
    background: var(--wr-terracotta);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 1px 5px;
}

.wr-ir-block {
    margin-bottom: -0.2rem; /*4rem;*/
}

.wr-ir-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 0 0.75rem;
    margin-bottom: 0;
    border-bottom: 2px solid var(--wr-ink);
}

    .wr-ir-block__head h3 {
        margin: 0;
        font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    }

.wr-ir-block .wr-annlist {
    background: #fff;
    border: 1px solid var(--wr-line);
    border-top: 0;
}

.wr-ir-lists__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

    .wr-ir-lists__grid .wr-ir-block {
        margin-bottom: 0;
    }

.wr-ir-empty {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--wr-line);
    border-top: 0;
}

    .wr-ir-empty p {
        margin: 0;
        color: var(--wr-text-muted);
    }

.wr-ir-docs {
    background: var(--wr-bg-alt);
}

.wr-ir-docs__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    flex-wrap: wrap;
    padding: 0 0 0.75rem;
    margin-bottom: 0;
    border-bottom: 2px solid var(--wr-ink);
}

    .wr-ir-docs__bar .wr-sample-badge {
        margin: 0;
    }

    .wr-ir-docs__bar .wr-year {
        margin: 0 0 0 auto;
    }

.wr-ir-docs .wr-annrow[hidden] {
    display: none;
}

.wr-ir-block .wr-annrow {
    grid-template-columns: 108px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
}

.wr-ir-block .wr-annrow__date {
    font-size: 1.125rem;
    /*font-size: 0.875rem;*/
}

.wr-ir-block .wr-annrow__title {
    font-size: 1.125rem;
    /*font-size: 0.875rem;*/
}

.wr-ir-block .wr-annrow__pdf svg {
    width: 22px;
    height: 22px;
}

.wr-ir-lists .wr-annrow {
    grid-template-columns: 1fr auto;
    column-gap: 0.75rem;
    row-gap: 2px;
    align-items: center;
    padding: 1rem;
}

.wr-ir-lists .wr-annrow__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.75rem;
}

.wr-ir-lists .wr-annrow__title {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.875rem;
    line-height: 1.35;
}

.wr-ir-lists .wr-annrow__pdf {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
}

    .wr-ir-lists .wr-annrow__pdf svg {
        width: 18px;
        height: 18px;
    }

.wr-pstats {
    background: var(--wr-ink);
    color: #fff;
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background-image: radial-gradient(120% 100% at 100% 0%, rgba(56, 144, 202, 0.14), transparent 55%);
}

.wr-pstats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.wr-pstat {
    border-top: 2px solid var(--wr-brand);
    padding-top: 1rem;
}

.wr-pstat__num {
    display: block;
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}

.wr-pstat__sm {
    font-size: 0.5em;
    font-weight: 400;
    margin-left: 0.1em;
    color: var(--wr-brand-light);
}

.wr-pstat__unit {
    display: block;
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--wr-brand-light);
}

.wr-pstat__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--wr-blue-grey);
}

.wr-pstat sub {
    font-size: 0.6em;
}

.wr-pstat sup {
    font-size: 0.6em;
}


/* ========================================================================
   'SAMPLE LAYOUT' BADGE  -  remove at go-live once live data is wired
   ======================================================================== */

.wr-sample-badge {
    background: var(--wr-sand-60);
    color: var(--wr-terracotta-deep);
    border-left: 3px solid var(--wr-terracotta);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
}
