
/* AusEnergyData: compact data pages. Loaded after existing styles. */
:root body .aed-data-page{padding-top:28px;}
:root body .aed-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 22px;}
:root body .aed-page-heading>div:first-child{flex:1;min-width:0;}
:root body .aed-page-heading .eyebrow{margin:0 0 8px;color:#526176;}
:root body .aed-page-heading h1{font-size:2rem;margin:0 0 10px;line-height:1.15;}
:root body .aed-page-heading>div:first-child>p:last-child{font-size:1rem;line-height:1.65;color:#526176;margin:0;max-width:none;}
:root body .aed-page-heading .share-view-tools{margin:0;justify-content:flex-end;max-width:360px;gap:8px;flex-shrink:0;}
:root body .aed-page-heading .share-view-tools p:empty{display:none;}
:root body .aed-page-heading .share-view-tools .button{font-size:.8125rem;min-height:42px;white-space:nowrap;}
:root body .aed-data-page #interval-downloads{margin:0 0 20px;}
:root body .aed-data-page #interval-summary{margin-top:0;}
:root body .aed-data-page #daily-downloads{margin:12px 0 20px;}
:root body .aed-data-page .dataset-tabs{margin:0 0 24px;gap:12px;}
:root body .aed-data-page .dataset{padding:14px 16px;min-height:74px;}
:root body .aed-data-page .dataset small{font-size:.8125rem;line-height:1.4;color:#526176;}
:root body .aed-data-page .panel-heading{margin:0 0 12px;}
:root body .aed-data-page .panel-heading .eyebrow{display:none;}
:root body .aed-data-page .panel-heading h2{margin:0 0 6px;}
:root body .aed-coverage-line{margin:0 0 16px;font-size:.8125rem;color:#526176;}
:root body .aed-data-page .filter-bar{margin-top:12px;margin-bottom:12px;}
:root body .aed-data-page .price-comparison{padding-top:8px;padding-bottom:10px;margin:12px 0 18px;}
:root body .aed-update-details{border-top:1px solid var(--line);padding:12px 0 0;margin:18px 0 8px;color:#526176;font-size:.8125rem;}
:root body .aed-update-details>summary{cursor:pointer;min-height:36px;font-weight:600;color:#385270;}
:root body .aed-update-details .update-status{margin:10px 0;line-height:1.7;}
:root body .aed-data-page .data-freshness{background:transparent;border-block:1px solid var(--line);border-radius:0;padding:12px 0;margin:14px 0 20px;gap:20px;}
:root body .aed-data-page .data-freshness dt{font-size:.75rem;color:#526176;}
:root body .aed-data-page .data-freshness dd{font-size:.875rem;margin-top:3px;}
:root body .aed-data-page .green-toolbar{margin:12px 0;gap:18px;}
:root body .aed-data-page .green-coverage{margin:8px 0;color:#526176;}
:root body .aed-data-page .green-status{background:transparent;border-left:3px solid #315fdf;padding:6px 12px;margin:12px 0;gap:12px;}
:root body .aed-data-page .green-stats{gap:14px;margin:14px 0;}
:root body .aed-data-page .green-stat{padding:18px;}
:root body .aed-data-page .green-stat strong{font-size:1.85rem;font-variant-numeric:tabular-nums;}
:root body .aed-data-page .green-stat>p{margin:0 0 12px;}
:root body .aed-data-page .gas-market{padding:18px 20px;}
:root body .aed-data-page .gas-market p{min-height:0;margin:0 0 12px;line-height:1.5;color:#526176;}
:root body .aed-data-page .gas-market strong{display:block;margin:0 0 12px;font-size:1.7rem;font-variant-numeric:tabular-nums;}
:root body .aed-data-page .gas-market p:last-child{margin:0;font-size:.75rem;}
:root body .aed-data-page :is(.green-note,.source-line,.chart-caption){color:#526176;line-height:1.7;}
:root body .aed-data-page .green-section{padding:24px;}
:root body .aed-data-page #electricity-limits{max-width:none;width:100%;}
/* Homepage: build-time data, fully readable without JavaScript. */
:root body .introduction-page{padding-top:36px;}
:root body .aed-home-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;padding:16px 0 40px;}
:root body .aed-home-hero h1{font-size:clamp(2.5rem,4.4vw,3.75rem);line-height:1.1;letter-spacing:-.045em;margin:20px 0;}
:root body .aed-home-hero .welcome-lead{font-size:1rem;line-height:1.8;color:#526176;max-width:470px;}
:root body .aed-home-hero .welcome-access{color:#526176;}
.aed-market-snapshot{min-width:0;padding:24px 26px;background:white;border:1px solid #dce3ee;border-radius:12px;box-shadow:0 8px 30px #17213506;}
.aed-snapshot-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;}
:root body .aed-snapshot-heading .eyebrow{font-size:.6875rem;letter-spacing:.1em;margin:0 0 6px;color:#526176;}
:root body .aed-snapshot-heading h2{font-size:1.5rem;margin:0;}
.aed-unit{font-size:.6875rem;font-weight:650;color:#385270;background:#edf3fc;padding:6px 8px;border-radius:4px;white-space:nowrap;}
.aed-market-columns,.aed-market-row{display:grid;grid-template-columns:minmax(100px,1.25fr) minmax(75px,.9fr) minmax(58px,.7fr) minmax(65px,.9fr);align-items:center;gap:10px;}
.aed-market-columns{font-size:.6875rem;color:#526176;padding-bottom:8px;}
.aed-market-columns>span:not(:first-child){text-align:right;}
.aed-market-row{padding:12px 0;border-top:1px solid #e8edf4;text-decoration:none;color:#18273c;min-height:64px;}
.aed-market-row:hover{background:#f4f7fe;}
.aed-market-row:focus-visible{outline:3px solid #315fdf;outline-offset:3px;border-radius:3px;}
.aed-region b{display:block;font-size:.875rem;letter-spacing:.025em;}
.aed-region>span{display:block;color:#526176;font-size:.6875rem;margin-top:2px;}
.aed-market-chart-link .aed-region{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:5px;}
.aed-market-chart-link .aed-region>span{flex-basis:100%;}
.aed-market-chart-arrow{color:#315fdf;font-size:.75rem;font-style:normal;}
.aed-market-chart-link:is(:hover,:focus-visible) .aed-region b{text-decoration:underline;text-underline-offset:3px;}
#price-chart,#gas-monthly-content{scroll-margin-top:6rem;}
.aed-market-row>strong{font-size:1.25rem;letter-spacing:-.02em;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;}
.aed-mom{font-size:.8125rem;text-align:right;color:#385270;font-variant-numeric:tabular-nums;}
.aed-spark{width:100%;max-width:120px;justify-self:end;color:#315fdf;display:block;}
.aed-spark-unavailable{font-size:.625rem;color:#526176;text-align:right;}
.aed-snapshot-note{border-top:1px solid #e8edf4;padding-top:14px;margin:4px 0 8px;font-size:.8125rem;line-height:1.6;color:#263e5f;}
.aed-snapshot-source{font-size:.6875rem;line-height:1.8;color:#526176;margin:0;}
:root body .welcome-card{padding:24px;}
:root body .welcome-card h3{margin:12px 0 10px;}
:root body .welcome-section{padding:34px 0;}
@media(max-width:1000px){:root body .aed-home-hero{gap:28px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);}.aed-market-snapshot{padding:20px;}.aed-market-row>strong{font-size:1.1rem;}}
@media(max-width:800px){:root body .aed-home-hero{grid-template-columns:1fr;gap:28px;}:root body .aed-home-hero .welcome-lead{max-width:650px;}:root body .aed-page-heading{flex-wrap:wrap;gap:12px;}:root body .aed-page-heading>div:first-child{flex-basis:100%;}:root body .aed-page-heading .share-view-tools{max-width:100%;justify-content:flex-start;}:root body .aed-data-page .data-freshness{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}:root body .aed-data-page .data-freshness>div{display:block;}:root body .aed-data-page .dataset-tabs{gap:8px;}:root body .aed-data-page .dataset{padding:12px;}}
@media(max-width:600px){:root body .aed-data-page{padding-top:22px;}:root body .aed-data-page .green-section{padding:18px;}:root body .aed-data-page .data-freshness{grid-template-columns:1fr;gap:8px;}:root body .aed-data-page .data-freshness>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:8px;}:root body .aed-data-page .data-freshness dd{margin:0;}:root body .aed-data-page .green-stat{padding:14px;}:root body .aed-data-page .green-stat strong{font-size:1.5rem;}.aed-market-snapshot{padding:20px 16px;}.aed-market-columns,.aed-market-row{grid-template-columns:minmax(82px,1.2fr) minmax(68px,.9fr) minmax(52px,.7fr) minmax(48px,.7fr);gap:6px;}.aed-region>span{font-size:.625rem;}.aed-market-row>strong{font-size:1.05rem;}.aed-mom{font-size:.75rem;}.aed-market-columns{font-size:.625rem;}:root body .aed-home-hero h1{font-size:2.6rem;}.aed-unit{font-size:.625rem;}.aed-snapshot-heading{margin-bottom:16px;}}
@media(max-width:360px){.aed-market-columns,.aed-market-row{grid-template-columns:minmax(72px,1.2fr) minmax(64px,.9fr) minmax(48px,.7fr);}.aed-market-columns>span:last-child,.aed-spark,.aed-spark-unavailable{display:none;}}
/* Homepage v6: original hero composition, wider switchable market card. */
:root body .aed-home-hero{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px;align-items:center;padding:12px 0 40px;}
:root body .aed-home-hero .welcome-hero-copy{display:block;min-width:0;max-width:490px;margin:0;}
:root body .aed-home-hero .eyebrow{margin:0 0 20px;font-size:.75rem;}
:root body .aed-home-hero h1{font-size:clamp(2.5rem,4.4vw,3.75rem);line-height:1.1;letter-spacing:-.045em;margin:0 0 24px;}
/* Keep the strike decorative and transparent over the market panel. */
:root body .aed-home-hero{position:relative;isolation:isolate;}
.aed-home-lightning{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;}
.aed-home-lightning [data-home-lightning]{opacity:0;filter:drop-shadow(0 0 3px #8eb9ff);}
.aed-home-lightning path{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;}
.aed-lightning-trunk{stroke:#3e6acf;stroke-width:1.5;}
.aed-lightning-fork{stroke:#6289dc;stroke-width:.85;opacity:.65;}
@media(prefers-reduced-motion:reduce){.aed-home-lightning{display:none;}}
/* Stagger both fades while keeping the two headline lines in place. */
:root body .aed-home-hero h1 .aed-headline-word{color:inherit;}
@media(prefers-reduced-motion:no-preference){
 .aed-home-hero[data-headline-motion] .aed-headline-word{animation:aed-headline-breathe 6s ease-in-out var(--aed-word-delay,0s) infinite backwards;}
 .aed-home-hero h1>.aed-headline-word:nth-child(2){--aed-word-delay:.14s;}
 .aed-home-hero h1>span:last-child .aed-headline-word:first-child{--aed-word-delay:.28s;}
 .aed-home-hero h1>span:last-child .aed-headline-word:last-child{--aed-word-delay:.42s;}
}
@keyframes aed-headline-breathe{
 0%,88%,100%{opacity:0;}
 12%,72%{opacity:1;}
}
:root body .aed-home-hero .welcome-lead{font-size:1rem;line-height:1.8;color:#526176;margin:0 0 24px;max-width:470px;}
:root body .aed-home-hero .welcome-actions{display:flex;flex-wrap:wrap;gap:12px;}
:root body .aed-home-hero .welcome-actions .button{width:auto;min-height:44px;}
:root body .aed-home-hero .welcome-access{font-size:.8125rem;color:#526176;margin:12px 0 0;}
.aed-market-switcher{min-width:0;background:white;border:1px solid #dce3ee;border-radius:12px;padding:24px;box-shadow:0 8px 30px #17213506;}
.aed-market-switch-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;}
:root body .aed-market-rotation{flex:none;min-width:62px;min-height:44px;padding:6px 10px;border-color:#a9bce0;background:#f3f6ff;color:#2447a2;font-size:.8125rem;}
:root body .aed-market-rotation:hover{border-color:#315fdf;background:#e8efff;}
.aed-market-switch-controls{position:relative;display:flex;gap:4px;width:fit-content;padding:4px;background:#eef2f8;border:1px solid #e0e6ef;border-radius:8px;}
.aed-market-switch-controls[hidden]{display:none;}
.aed-market-switch-controls[data-indicator]::before{content:"";position:absolute;inset:4px auto 4px 0;width:var(--market-tab-width);transform:translateX(var(--market-tab-x));border-radius:5px;background:#315fdf;box-shadow:0 1px 3px #17213518;pointer-events:none;transition:transform 240ms cubic-bezier(.2,.7,.25,1),width 240ms cubic-bezier(.2,.7,.25,1);}
.aed-market-switch-controls button{position:relative;font:inherit;font-size:.875rem;font-weight:600;border:0;border-radius:5px;background:transparent;color:#526176;min-height:40px;padding:8px 18px;cursor:pointer;}
.aed-market-switch-controls button[aria-selected="true"]{background:#315fdf;color:white;box-shadow:0 1px 3px #17213518;}
.aed-market-switch-controls[data-indicator] button[aria-selected="true"]{background:transparent;box-shadow:none;}
@media(prefers-reduced-motion:reduce){.aed-market-switch-controls[data-indicator]::before{transition:none;}}
.aed-market-switch-controls button:focus-visible{outline:3px solid #89a9f5;outline-offset:2px;}
.aed-market-panel[hidden]{display:none!important;}
.aed-market-panel+.aed-market-panel{margin-top:24px;}
.aed-market-switcher[data-ready="true"] .aed-market-stage{display:grid;}
.aed-market-switcher[data-ready="true"] .aed-market-panel{grid-area:1/1;min-width:0;margin-top:0;}
.aed-market-panel[aria-hidden="true"]{pointer-events:none;}
:root body .aed-market-switcher .aed-market-snapshot{display:flex;flex-direction:column;padding:0;border:0;border-radius:0;box-shadow:none;min-width:0;}
:root body .aed-market-switcher .aed-snapshot-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;min-height:62px;}
:root body .aed-market-switcher .aed-snapshot-heading h2{font-size:1.5rem;line-height:1.25;margin:0 0 6px;}
.aed-period{font-size:.8125rem;line-height:1.5;color:#526176;margin:0;}
:root body .aed-market-switcher .aed-unit{font-size:.75rem;padding:6px 8px;white-space:nowrap;background:#edf3fc;color:#385270;border-radius:4px;}
.aed-market-switcher .aed-market-columns,.aed-market-switcher .aed-market-row{display:grid;grid-template-columns:minmax(100px,1.25fr) minmax(78px,.9fr) minmax(58px,.65fr) minmax(80px,1fr);gap:12px;align-items:center;}
:root body .aed-market-switcher .aed-market-columns{font-size:.75rem;line-height:1.5;color:#526176;padding:0 0 10px;}
.aed-market-switcher .aed-market-body{display:grid;grid-auto-rows:minmax(68px,1fr);height:350px;}
:root body .aed-market-switcher .aed-market-row{min-height:68px;padding:10px 0;border-top:1px solid #e8edf4;box-sizing:border-box;text-decoration:none;}
:root body .aed-market-switcher .aed-region b{font-size:.875rem;line-height:1.4;letter-spacing:0;}
:root body .aed-market-switcher .aed-region>span{font-size:.75rem;line-height:1.5;margin-top:3px;}
:root body .aed-market-switcher .aed-market-row>strong{font-size:1.25rem;line-height:1.3;letter-spacing:-.02em;text-align:right;font-variant-numeric:tabular-nums;}
:root body .aed-market-switcher .aed-mom{font-size:.8125rem;line-height:1.4;text-align:right;color:#385270;font-variant-numeric:tabular-nums;}
.aed-market-switcher .aed-spark{display:block;width:100%;max-width:112px;justify-self:end;color:#315fdf;}
.aed-market-switcher .aed-gas-snapshot .aed-spark{color:#16746d;}
.aed-market-switcher .aed-green-snapshot .aed-spark{color:#19785a;}
:root body .aed-market-switcher .aed-market-footer{display:block;width:100%;box-sizing:border-box;border-top:1px solid #e1e6ee;margin:0;padding:16px 0 0;}
:root body .aed-market-footer p{font-size:.75rem;line-height:1.7;color:#526176;min-height:42px;margin:0 0 14px;}
.aed-market-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
:root body .aed-market-actions .button{font-size:.8125rem;line-height:1.5;min-height:44px;text-decoration:none;}
.aed-market-actions button{margin-inline-start:auto;}
.aed-market-export-status:not(.sr-only){display:block;margin-top:8px;color:#8f2935;font-size:.8125rem;}
@media(max-width:1100px){:root body .aed-home-hero{gap:28px;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);}.aed-market-switcher{padding:20px;}.aed-market-switcher .aed-market-columns,.aed-market-switcher .aed-market-row{grid-template-columns:minmax(86px,1.1fr) minmax(68px,.85fr) minmax(50px,.65fr) minmax(62px,.9fr);gap:8px;}:root body .aed-market-switcher .aed-market-columns{font-size:.6875rem;}:root body .aed-market-switcher .aed-market-row>strong{font-size:1.125rem;}}
@media(max-width:900px){:root body .aed-home-hero{grid-template-columns:1fr;gap:28px;}:root body .aed-home-hero .welcome-hero-copy{max-width:650px;}.aed-market-switcher{padding:24px;}.aed-market-switcher .aed-market-columns,.aed-market-switcher .aed-market-row{grid-template-columns:minmax(100px,1.25fr) minmax(78px,.9fr) minmax(58px,.65fr) minmax(80px,1fr);gap:12px;}}
@media(max-width:600px){.aed-market-switcher{padding:20px 16px;}.aed-market-switcher .aed-market-columns,.aed-market-switcher .aed-market-row{grid-template-columns:minmax(78px,1.1fr) minmax(65px,.85fr) minmax(49px,.65fr) minmax(45px,.7fr);gap:6px;}:root body .aed-market-switcher .aed-market-row>strong{font-size:1.05rem;}:root body .aed-market-switcher .aed-mom{font-size:.75rem;}:root body .aed-market-switcher .aed-region>span{font-size:.6875rem;}.aed-market-switcher .aed-market-body{height:350px;}:root body .aed-home-hero h1{font-size:2.6rem;}.aed-market-switch-controls{flex:1;min-width:0;box-sizing:border-box;}:root body .aed-market-rotation{min-width:50px;padding-inline:4px;}.aed-market-switch-controls button{flex:1;padding-inline:6px;}}
@media(max-width:360px){.aed-market-switch-controls button{font-size:.75rem;padding-inline:3px;}.aed-market-switcher .aed-market-columns,.aed-market-switcher .aed-market-row{grid-template-columns:minmax(78px,1.1fr) minmax(65px,.85fr) minmax(49px,.65fr);}.aed-market-switcher .aed-market-columns>span:last-child,.aed-market-switcher .aed-spark,.aed-market-switcher .aed-spark-unavailable{display:none;}:root body .aed-market-switcher .aed-snapshot-heading{flex-wrap:wrap;}}


/* One control surface for monthly electricity filters and comparisons. */
:root body .aed-data-page .price-comparison{background:white;border:1px solid var(--line);border-radius:8px;margin:12px 0 24px;padding:16px 20px;}
:root body .aed-data-page .price-comparison>.filter-bar{margin:0 0 8px;}
/* Monthly gas overview carries the selected month's comparison. */
.gas-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px;}
.gas-overview-toolbar h2{margin:0;}
.gas-market-prior{color:#526176;}
:root body .monthly-markets .gas-market>p:first-child{margin:0 0 12px;}
:root body .monthly-markets .gas-market>strong{margin:0 0 12px;font-size:1.65rem;line-height:1.2;}
:root body .monthly-markets .gas-market .gas-market-comparison{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:.75rem;line-height:1.6;margin:0 0 10px;min-height:0;}
:root body .monthly-markets .gas-market .gas-market-change{font-weight:600;color:var(--ink);}
:root body .monthly-markets .gas-market>p:last-child{margin:0;color:#526176;font-size:.6875rem;}
/* Equal links occupy a dedicated row below the quarter controls. */
:root body .green-toolbar{margin-bottom:20px;}
@media(max-width:600px){:root body .aed-data-page .price-comparison{padding:12px 16px;}}

:root body .price-toggles{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;margin:8px 0;}
:root body .price-toggles label{display:inline-flex;align-items:center;flex-direction:row;gap:10px;min-height:44px;cursor:pointer;color:var(--ink);margin:0;}
:root body .download-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;}
:root body .download-group .download-secondary{background:#e8efff;color:#2248b5;border:1px solid #cbd9ff;}
:root body .download-group .download-secondary:hover{background:#dbe7ff;border-color:#a9bff4;}
:root body .gas-overview-toolbar{display:block;}
@media(max-width:600px){:root body .download-group{justify-content:flex-start;}}

.gas-overview-board{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;align-items:stretch;margin:20px 0 24px;}
.gas-month-navigation{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;}
.gas-month-navigation .button{display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;font-size:.875rem;padding:12px;min-height:44px;}
:root body .gas-controls>.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 16px;line-height:1.5;}
@media(max-width:600px){.gas-overview-board{grid-template-columns:minmax(0,1fr);}.gas-month-navigation{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;}}
