.question-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.question-links a{display:block;padding:16px 18px;border:1px solid var(--line);text-decoration:underline;text-underline-offset:4px;font-size:16px;line-height:1.5}.question-links a:hover{background:#e8ede6}.feature-controls{align-items:end;gap:16px}.feature-controls label{display:flex;flex-direction:column;gap:6px}.feature-controls p,.feature-controls .note{flex-basis:100%;margin:0}.feature-controls select{max-width:100%;min-height:44px}.answer-summary{font:22px/1.45 var(--tip-heading)}.answer-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}.answer-actions button{min-height:44px}.answer-actions span{flex-basis:100%}.chart-values,.feature-disclosure{margin:24px 0;padding:16px;border:1px solid var(--line)}.chart-values summary,.feature-disclosure summary{cursor:pointer;font-size:16px;min-height:30px}.chart-values .table-wrap{max-height:340px}.chart-values table{min-width:480px}.feature-disclosure p{font-size:14px}.feature-legend{display:flex;flex-wrap:wrap;gap:16px}.feature-note{padding:18px;background:var(--soft)}.feature-summary-list{padding-left:22px}.feature-summary-list li{margin:12px 0}.guidance-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.guidance-grid p{font-size:14px}.table-wrap th[scope=row]{font:inherit;text-align:left;color:var(--ink)}.feature-link-list{display:flex;flex-wrap:wrap;gap:12px}.feature-link-list a{text-decoration:underline;padding:8px}.standard-comparison{padding:20px;background:var(--soft);margin:20px 0}.feature-edition-error{padding:20px;border:2px solid #a27132;background:#fff8df}.feature-disclosure summary:focus-visible,.chart-values summary:focus-visible{outline:3px solid var(--tip-focus);outline-offset:3px}@media(max-width:760px){.question-links,.guidance-grid{grid-template-columns:1fr}.feature-controls{display:block}.feature-controls label{margin:15px 0}.feature-controls select{width:100%}.feature-controls .chips{margin:16px 0}.feature-controls .chip{margin:4px 0}.answer-summary{font-size:20px}.question-links a{font-size:16px}.feature-disclosure,.chart-values{padding:12px}.detail-stats{gap:20px}.detail-stats b{font-size:25px}}@media print{header,.tip-edition-bar,.answer-actions,footer,.toolbar{display:none}.chart-values[open] .table-wrap{max-height:none}.chart-values{break-inside:avoid}body{background:white}}
.basket-overview{margin:22px 0}.basket-overview>section{border:0;padding-top:20px}
.toolbar[hidden]{display:none!important}
.related-pages a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.basket-overview #drivers{padding-left:0;padding-right:0}}
/* Shared historical context, followed by the homepage basket and destinations. */
.history-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;margin-top:30px}
.history-chart-panel{min-width:0}
.history-chart-panel h3{font:normal 27px/1.25 var(--tip-heading);margin:0 0 15px}
.overview-description{color:var(--muted);min-height:80px;margin:0}
.overview-key{min-height:75px;margin:12px 0 15px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}
.overview-total{display:block}
.overview-total strong{display:block;font:36px/1.1 var(--tip-heading)}
.overview-total span{display:block;font-size:12px;color:var(--muted);margin-top:7px}
.destination-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:18px;margin-top:26px}
.destination-card{position:relative;display:flex;flex-direction:column;min-height:240px;padding:25px 27px 56px;min-width:0;border:1px solid transparent;border-radius:2px;color:var(--ink)}
.destination-tone-1{background:#dfe8dc}.destination-tone-2{background:#dde6e9}.destination-tone-3{background:#ece3cf}.destination-tone-4{background:#e4e6d5}.destination-tone-5{background:#eadcd4}.destination-tone-6{background:#e7e2da}.destination-tone-7{background:#dde6e9}.destination-tone-8{background:#e4e6d5}
.destination-symbol{display:block;width:48px;height:48px;flex-shrink:0;margin-bottom:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.destination-card h3{font:normal 25px/1.25 var(--tip-heading,Georgia,serif);margin:0 0 13px;text-decoration:none}
.destination-card p{margin:0;color:var(--ink);font-size:15px;line-height:1.65}
.destination-arrow{position:absolute;right:24px;bottom:22px;width:29px;height:29px;display:block}
.destination-arrow svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.destination-card:hover{border-color:var(--ink);box-shadow:inset 0 -3px var(--ink)}
.destination-card:focus-visible{outline:3px solid var(--tip-focus);outline-offset:4px}
@media(max-width:1100px){.destination-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.history-chart-grid{grid-template-columns:1fr;gap:32px}.overview-heading{display:block}.overview-heading .period-controls{justify-content:flex-start;max-width:none}.overview-description{min-height:0}.overview-key{min-height:60px}}
@media(max-width:760px){.destination-cards{grid-template-columns:1fr;grid-auto-rows:auto}.destination-card{min-height:235px;padding:24px 24px 56px}.destination-card h3{font-size:23px}.destination-symbol{width:44px;height:44px;margin-bottom:20px}}
/* A price receipt, with group colour carrying through its children. */
.price-receipt{table-layout:fixed;min-width:0;width:100%;border-top:2px solid var(--ink)}
.price-receipt th:first-child{width:48%}.price-receipt th:nth-child(2){width:15%}.price-receipt th:nth-child(3){width:18%}.price-receipt th:nth-child(4){width:19%}
.price-receipt tbody tr.receipt-group{background:var(--receipt-tint)}
.price-receipt .receipt-category{border-left:4px solid var(--receipt-colour)}
.price-receipt .category-button{font-family:inherit;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.price-receipt .receipt-group .category-button{font-weight:600;font-size:17px}
.price-receipt .receipt-history-link{text-decoration:none}.price-receipt .receipt-history-link:hover{text-decoration:underline;text-underline-offset:3px}
.price-receipt .receipt-history-link>span{color:var(--muted);font-size:13px;white-space:nowrap}
.price-receipt .tree-label{align-items:flex-start}.price-receipt .tree-toggle{border-color:var(--receipt-colour);color:var(--ink);background:var(--paper);margin-top:1px}
.price-receipt td{vertical-align:top}.price-receipt .receipt-rate{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums}
.price-receipt .receipt-group .receipt-rate{font-size:22px}
.price-receipt .receipt-weight{font-size:13px;color:var(--muted)}
.price-receipt .receipt-contribution{font-size:14px;font-variant-numeric:tabular-nums}
.receipt-impact{display:block;position:relative;height:10px;margin-top:9px;background:#e1e4dc}
.receipt-zero{position:absolute;left:50%;top:-2px;bottom:-2px;border-left:1px solid #7b8b82}
.receipt-impact-bar{display:block;position:absolute;top:0;height:100%;background:var(--receipt-colour)}
.receipt-parent-path{display:block;margin-top:5px;padding-left:37px;overflow-wrap:anywhere}
.receipt-mobile-details{display:none}
.receipt-wrap{margin-top:14px}.receipt-wrap:focus-visible{outline:3px solid var(--tip-focus);outline-offset:3px}
.price-receipt tr:target{outline:2px solid var(--receipt-colour);outline-offset:-2px}
.category-finder{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,2fr);gap:16px 24px;border-block:1px solid var(--line);padding:24px 0}
.category-finder label{display:grid;gap:9px;font-size:14px;min-width:0}.category-finder input,.category-finder select{width:100%;min-width:0}
.category-finder p{grid-column:1/-1;margin:0}
.history-workspace{background:transparent;border:0;padding:0;margin:30px 0}
.history-workspace .detail-stats{margin:20px 0}.history-workspace .benchmark-control{display:flex;align-items:center;gap:10px;line-height:1.6;margin:22px 0}
.history-workspace .benchmark-control input{flex:0 0 19px;width:19px;height:19px;min-width:19px;min-height:19px;padding:0;margin:0;accent-color:var(--accent)}
/* Category history: one control group; the chart follows the question directly. */
body[data-page=history] .page-intro{padding:28px 0 18px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "intro";gap:10px 24px}
body[data-page=history] .page-intro h1{grid-area:title;max-width:none;margin:0}
body[data-page=history] .page-intro .intro{grid-area:intro;max-width:none;margin:0}

body[data-page=history] .category-finder{padding:14px 0;gap:8px 24px}
.category-finder-notes{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between;align-items:baseline}
.category-finder-notes p{margin:0}.category-finder-notes .nec-explainer{flex:0 1 auto}
body[data-page=history] .history-workspace{margin-top:18px}
.history-heading{display:block;position:relative;margin-bottom:14px}.history-heading>div{min-width:0;min-height:50px;padding-right:390px}.history-heading h2{margin:0}.history-heading .note{margin:6px 0 0}
.history-heading .history-place-choice{margin:0;padding:0;border:0;width:100%}
.history-place-choice>summary{position:absolute;top:0;right:0;box-sizing:border-box;min-height:44px;padding:10px 14px;border:1px solid var(--line)}
.history-place-choice .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin:14px 0 0;padding:16px 0;border-block:1px solid var(--line)}
.history-place-choice .toolbar label{min-width:0}.history-place-choice .toolbar select{width:100%;min-width:0;height:44px}

.history-workspace .history-options{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:end}
.history-options>label:not(.benchmark-control){display:grid;gap:6px;min-width:0}.history-options select{height:44px;min-height:44px;padding-block:8px}
.history-workspace .history-options .benchmark-control{margin:0;min-height:44px;max-width:360px}
.history-options #category-presets{flex-basis:100%;margin:0}.history-options #category-presets:empty{display:none}
.history-workspace #category-frequency-coverage{margin:8px 0 0}
.history-workspace #category-answer{margin:18px 0 10px}.history-workspace #category-chart{margin-top:8px}
@media(max-width:1099px){body[data-page=history] .page-intro{display:flex;flex-direction:column;gap:8px}}
@media(min-width:761px) and (max-width:1000px){.history-heading>div{padding-right:0;min-height:0}.history-place-choice>summary{position:static;margin-top:12px;width:max-content;max-width:100%}.history-place-choice .toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}}
@media(max-width:760px){
 body[data-page=history] .page-intro{padding:22px 0 14px}
 .category-finder-notes{display:block}.category-finder-notes p+p{margin-top:6px}
 .history-heading>div{padding-right:0;min-height:0}.history-place-choice>summary{position:static;margin-top:12px}.history-place-choice .toolbar{grid-template-columns:minmax(0,1fr);gap:14px}.history-place-choice .toolbar label{margin:0}
 .history-workspace .history-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .history-options select{width:100%;min-width:0}.history-workspace .history-options .benchmark-control,.history-options #category-presets{grid-column:1/-1;max-width:none}
 .history-workspace #category-frequency-coverage{line-height:1.5}
}
@media(max-width:760px){
 .price-receipt th:first-child{width:70%}.price-receipt th:nth-child(3){width:30%}
 .price-receipt th:nth-child(2),.price-receipt th:nth-child(4),.price-receipt td:nth-child(2),.price-receipt td:nth-child(4){display:none}
 .price-receipt .receipt-category{padding-left:calc(10px + var(--receipt-depth)*10px)!important}
 .price-receipt th,.price-receipt td{padding-right:8px;padding-left:8px}
 .price-receipt .category-button,.price-receipt .receipt-group .category-button{font-size:14px}
 .price-receipt .receipt-rate,.price-receipt .receipt-group .receipt-rate{font-size:18px}
 .price-receipt .tree-toggle,.price-receipt .tree-spacer{width:25px;flex-shrink:0}.price-receipt .tree-label{gap:6px}
 .receipt-mobile-details{display:block;margin:10px 0 0 31px;font-size:12px;line-height:1.6}
 .receipt-mobile-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
 .receipt-mobile-details dl{margin:10px 0 0}.receipt-mobile-details dl>div{margin-bottom:9px}.receipt-mobile-details dt{color:var(--muted)}.receipt-mobile-details dd{margin:0;font-weight:600}
 .receipt-parent-path{padding-left:31px;font-size:11px}
 .category-finder{grid-template-columns:minmax(0,1fr)}
 .history-workspace{margin-top:24px}
}


/* Put the categories ahead of secondary navigation and reading notes. */
.explore-page .page-intro{padding:24px 0 12px}
.explore-page .page-intro h1{margin:0 0 12px}
.explore-page .page-intro .intro{margin:0;max-width:none}
.explore-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 24px;margin:8px 0 10px}
.explore-tools>label{display:flex;align-items:center;gap:12px;font-size:13px;min-width:0;max-width:650px}
.explore-tools>label>span{flex-shrink:0}
.explore-tools input{width:100%;min-width:0;min-height:44px;margin:0;font:inherit}
.explore-tools>details{min-width:0;margin:0;padding:0;border:0}
.explore-tools>details>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px}
.explore-tools>details[open]{grid-column:1/-1}
.explore-tools>details .feature-controls{padding:12px 0;margin:0}
.explore-expansion{grid-column:1/-1;display:flex;gap:10px;align-items:center}
.explore-expansion .chip{min-height:36px;padding:7px 11px;margin:0}
.explore-page .receipt-wrap{margin-top:0}
.explore-tools summary:focus-visible{outline:3px solid var(--tip-focus);outline-offset:3px}
@media(max-width:760px){
 .explore-page .page-intro{padding:20px 0 12px}
 .explore-tools{gap:4px 12px;margin:4px 0 8px}
 .explore-tools>label{grid-column:1/-1;gap:10px;font-size:12px}
 .explore-tools input{font-size:14px}
 .explore-tools>details{grid-column:1}
 .explore-expansion{grid-column:2;gap:6px}
 .explore-expansion .chip{font-size:11px;padding:7px 9px}
 .explore-tools>details[open]+.explore-expansion{grid-column:1/-1}
}

.answer-actions .share-help{flex-basis:100%;margin:0;font-size:14px;line-height:1.5;color:var(--muted)}

/* Close the category table with clear reading, sharing and onward-navigation areas. */
.explore-page #explore-status{margin:10px 0 18px}
.explore-table-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;border-top:1px solid var(--line);padding:24px 0;margin:0}
.explore-notes{margin:0;padding:0;min-width:0}
.explore-notes>summary,.explore-share h2{font:normal 22px/1.3 var(--tip-heading,Georgia,serif);letter-spacing:0;color:var(--ink)}
.explore-notes>summary{cursor:pointer;min-height:44px}
.explore-notes>summary:focus-visible{outline:3px solid var(--tip-focus);outline-offset:3px}
.explore-notes p,.explore-notes .note{font-size:14px;line-height:1.6;color:var(--muted);margin:12px 0}
.explore-notes a{text-decoration:underline;text-underline-offset:3px}
.explore-share{min-width:0}.explore-share h2{margin:0 0 12px}.explore-share .answer-actions{margin:0;gap:12px}
@media(max-width:760px){.explore-table-footer{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px 0}.explore-share{border-top:1px solid var(--line);padding-top:20px}}

/* Historical baskets keep source categories separate, with one shared percentage scale. */
.historical-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;margin:30px 0 18px;align-items:start}
.historical-panel{min-width:0;padding:0;border:0}.historical-panel>label{display:block;margin-bottom:8px}.historical-panel>select{width:100%}
.historical-panel h3{font:28px var(--tip-heading);margin:25px 0 8px}.historical-panel>p{margin:0 0 18px}
.historical-item{border-bottom:1px solid var(--line);padding:13px 0;font-size:14px;line-height:1.5}
.historical-item>summary{cursor:pointer;position:relative;padding-left:20px;list-style:none}.historical-item>summary::-webkit-details-marker{display:none}
.historical-item>summary:before{content:'▸';position:absolute;left:0;top:0;color:var(--ink)}.historical-item[open]>summary:before{content:'▾'}
.historical-item-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.historical-item-label>span:first-child{min-width:0;overflow-wrap:anywhere}.historical-value{white-space:nowrap;font-variant-numeric:tabular-nums}
.historical-track{display:block;height:10px;margin-top:8px;background:#e3e9e2}.historical-track>span{display:block;height:100%;background:#55796a}
.historical-leaf{padding-left:20px}.historical-children{padding-left:16px;border-left:2px solid var(--line);margin:14px 0 0 9px}.historical-children .historical-item:last-child{border-bottom:0}
.historical-about{border-top:1px solid var(--line);padding:16px 0;margin-top:20px}.historical-about>summary{cursor:pointer;font-size:14px;text-decoration:underline;text-underline-offset:3px}.historical-about p{overflow-wrap:anywhere}
.historical-scale-note{border-top:1px solid var(--line);padding-top:18px}
@media(max-width:760px){.historical-comparison{grid-template-columns:minmax(0,1fr);gap:30px}.historical-panel+ .historical-panel{border-top:1px solid var(--line);padding-top:28px}.historical-children{padding-left:8px;margin-left:4px}.historical-item-label{gap:8px}}
/* Across Australia: local controls for city comparisons and city category detail. */
.places-page .capital-card{cursor:default}.places-page .capital-card strong{font-size:32px}
.city-choices{display:flex;flex-wrap:wrap;gap:8px 22px;border:0;padding:12px 0 20px;margin:0;min-width:0}
.city-choices legend{font-size:15px;padding:0;margin-bottom:8px}.city-choices label{display:flex;gap:8px;align-items:center;min-height:40px;font-size:14px}
.city-choices input,.city-benchmark input{width:18px;height:18px;flex-shrink:0}.city-chart-controls .city-benchmark{flex-direction:row;align-items:center;min-height:44px}
.city-chart-wrap{position:relative;min-width:0}.city-chart-wrap svg text{font:12px Arial,sans-serif;fill:var(--ink)}
.city-hover{position:absolute;z-index:2;width:250px;max-width:100%;padding:12px 14px;background:var(--paper);border:1px solid var(--line);font-size:13px;pointer-events:none;box-shadow:0 3px 12px #0002}
.city-hover strong{display:block;margin-bottom:5px}.city-hover div{margin-top:3px}
#city-table-controls .toolbar{padding:12px 0;margin:12px 0 0;border-bottom:0}#city-table-controls label{display:flex;align-items:center;gap:12px}
#city-categories>.section-desc{margin-bottom:12px}#city-categories>.explore-table-footer{margin-top:0}
@media(max-width:760px){.city-choices{gap:5px 16px}.city-choices label{min-width:125px}.city-chart-controls .city-benchmark{margin-bottom:0}.places-page .capital-card{padding:16px}#city-table-controls label{flex-wrap:wrap}}

.city-choices input,.city-chart-controls .city-benchmark input{padding:0;margin:0;min-width:18px;min-height:18px;width:18px;height:18px;flex:0 0 18px;accent-color:var(--accent)}
#city-table-controls label{flex-direction:row}

.city-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:22px}
.city-overview-heading>div:first-child{flex:1;min-width:0}
.city-national-rate{flex:0 0 auto;text-align:right}
.city-national-rate .big{font-size:72px;letter-spacing:-4px;color:var(--accent)}
.city-national-rate .big small{font-size:36px}
.city-national-rate .note{margin:6px 0 0}
@media(max-width:700px){.city-overview-heading{flex-direction:column;align-items:flex-start;gap:16px}.city-national-rate{text-align:left}.city-national-rate .big{font-size:60px}.city-national-rate .big small{font-size:30px}}

/* Clear disclosure chevrons inside the existing table controls. */
.tree-toggle{position:relative;font-size:0}
.tree-toggle::before{content:'';position:absolute;left:50%;top:50%;width:9px;height:9px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:translate(-65%,-50%) rotate(-45deg)}
.tree-toggle[aria-expanded="true"]::before{transform:translate(-50%,-65%) rotate(45deg)}
.historical-item>summary::before{content:'';width:8px;height:8px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;top:.5em;transform:rotate(-45deg)}
.historical-item[open]>summary::before{content:'';transform:translateY(-2px) rotate(45deg)}

.essentials-pair{display:grid;grid-template-columns:1fr 1fr;gap:32px}.essentials-pair h3{margin:0 0 12px}.essentials-pair .big{font-size:72px;letter-spacing:-4px;color:var(--accent)}.essentials-pair .big small{font-size:36px}.essentials-pair p{margin-top:12px}@media(max-width:600px){.essentials-pair{grid-template-columns:1fr;gap:24px}.essentials-pair .big{font-size:60px}}

.selection-chip{display:inline-flex;gap:8px;align-items:center;text-align:left;line-height:1.4}.selection-line{flex:0 0 32px;vertical-align:middle}.selection-chip.on,.selection-chip[aria-pressed="true"]{background:var(--accent);color:white;border-color:var(--accent)}.selection-chip:focus-visible{outline:3px solid var(--tip-focus);outline-offset:3px}.city-choices{gap:8px}.city-choices .selection-chip{font-size:13px;min-height:40px}.selection-chip[aria-disabled="true"]{cursor:default}

/* Transient point details; exported charts and surrounding layout stay clear. */
.chart-point-wrap{position:relative;min-width:0}
.chart-point-tooltip{position:absolute;z-index:5;box-sizing:border-box;width:max-content;max-width:min(350px,calc(100% - 16px));padding:12px 14px;border:1px solid var(--ink);border-radius:3px;background:var(--paper);color:var(--ink);box-shadow:0 3px 12px #203b3a26;font:14px/1.45 var(--tip-ui,Arial,sans-serif);overflow-wrap:anywhere}
.chart-point-tooltip[hidden]{display:none}.chart-point-tooltip>strong{display:block;margin-bottom:6px}.point-tooltip-row+.point-tooltip-row{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.point-tooltip-row>span{display:block}.point-tooltip-row>span:first-child{font-size:13px;font-weight:600;margin-bottom:2px}
.history-point.point-active,.history-point:focus-visible{fill:var(--paper);stroke:var(--ink);stroke-width:2}.history-point:focus-visible{outline:2px solid var(--tip-focus);outline-offset:3px}
@media print{.chart-point-tooltip{display:none}}

.history-place-choice #explore-status:empty{display:none}
#category-chart-notes .note{margin:8px 0;font-size:12px;line-height:1.6}

/* Two complementary views of money, with one linked selection. */
body[data-page=money] .page-intro{padding:30px 0 20px}body[data-page=money] .page-intro h1{max-width:none}body[data-page=money] .page-intro .intro{max-width:none}
.money-presets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.money-presets .chip{min-height:44px;font-size:13px}.money-presets .chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.money-controls{display:grid;grid-template-columns:minmax(130px,.65fr) repeat(2,minmax(160px,1fr));gap:18px;align-items:end;padding:16px 0}
.money-controls label{display:grid;gap:7px;min-width:0}.money-controls input,.money-controls select{box-sizing:border-box;width:100%;min-width:0;min-height:44px}
.money-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin:22px 0}
.money-panel{min-width:0;padding:24px;border:1px solid var(--line);border-top:4px solid var(--money-accent);background:var(--money-surface)}
.money-power{--money-accent:#526e79;--money-surface:#edf0f2}.money-cost{--money-accent:#96703c;--money-surface:#f1ece3}
.money-panel h2{font-size:32px;line-height:1.2;margin:0 0 6px}.money-panel-intro{font-size:14px;margin:0}.money-panel .dollar-result{color:var(--money-accent);font-size:52px;margin:18px 0 8px;overflow-wrap:anywhere}
.money-explanation{font-size:15px;line-height:1.6;min-height:72px;margin:0 0 12px}.money-panel .chart{display:block;width:100%;margin:0}
.money-panel .feature-disclosure{margin:16px 0 0;background:transparent}.money-panel .feature-disclosure summary{font-size:14px}.money-panel .chart-values table{min-width:360px}.money-panel .answer-actions{margin-top:12px}.money-panel .answer-actions .share-help{font-size:13px;line-height:1.6}
.money-repeat-controls{display:none}.money-error{padding:12px;border-left:3px solid #96703c;background:#f1ece3}.money-source{font-size:12px;line-height:1.6}
@media(max-width:1050px){.money-pair{grid-template-columns:minmax(0,1fr)}.money-repeat-controls{display:block;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--line)}.money-repeat-controls>.note{margin:0 0 6px}.money-explanation{min-height:0}.money-panel .dollar-result{font-size:48px}}
@media(max-width:600px){.money-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.money-controls label:first-child{grid-column:1/-1}.money-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.money-presets .chip:first-child{grid-column:1/-1}.money-panel{padding:18px 12px}.money-panel h2{font-size:28px}.money-panel .dollar-result{font-size:42px}.money-panel .chart-values{padding:10px}.money-panel .chart-values table{min-width:270px}.money-panel .chart-values td,.money-panel .chart-values th{padding:12px 6px}}
@media print{.money-controls,.money-presets,.money-repeat-controls{display:none}.money-panel{break-inside:avoid}}
@media(min-width:1051px){.money-explanation{min-height:48px}}
@media(max-width:380px){.money-controls{grid-template-columns:minmax(0,1fr)}.money-controls label:first-child{grid-column:auto}}

/* Compact household name controls retain stable line identities. */
.household-choices{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}
.household-tile{display:inline-flex;gap:6px;align-items:center;max-width:100%;text-align:left;min-height:44px;padding:7px 9px;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--ink);font:13px/1.4 Arial,sans-serif}
.household-tile .selection-line{flex:0 0 20px;width:20px}.household-tile>span:not(.household-tick){min-width:0}.household-tile[aria-pressed=true]{background:#e7ece9;border-color:var(--household-colour);box-shadow:inset 0 0 0 1px var(--household-colour)}.household-tick{flex:0 0 12px;visibility:hidden;font-weight:bold}.household-tile[aria-pressed=true] .household-tick{visibility:visible}.household-tile:focus-visible{outline:3px solid var(--tip-focus);outline-offset:3px}
.household-benchmark{display:inline-flex;max-width:100%;border-left:1px solid #aebdb4;padding-left:10px;margin-left:2px}.household-answer{font-size:15px;margin:18px 0 10px}.household-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 22px;list-style:none;padding:0;margin:12px 0 24px}.household-results li{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.45;min-width:0}.household-results li>span{flex:1}.household-results strong{white-space:nowrap;font-size:17px}.household-results:empty{display:none}
@media(max-width:900px){.household-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.household-results{grid-template-columns:minmax(0,1fr)}}

/* Personal calculator follows inputs → adjustments → result. */
body[data-page=personal] #your-inflation{padding-top:30px}body[data-page=personal] h1{font-size:clamp(32px,3.3vw,46px);max-width:none}body[data-page=personal] .section-desc{margin-bottom:20px;max-width:none}
.personal-guidance{gap:24px;margin:16px 0 20px}.personal-guidance h3{font:400 22px/1.3 var(--tip-heading);letter-spacing:-.015em;margin:0 0 8px}.personal-guidance p{font:14px/1.55 var(--tip-ui);margin:0}
#your-inflation .personal-table{table-layout:fixed;min-width:0;width:100%;font-size:14px}#your-inflation .personal-table th:first-child{width:44%}#your-inflation .personal-table th:nth-child(2){width:20%}#your-inflation .personal-table th:nth-child(3){width:16%}#your-inflation .personal-table th:nth-child(4){width:20%}#your-inflation .personal-table td,#your-inflation .personal-table th{padding:6px 10px;line-height:1.4;min-width:0}#your-inflation .personal-table th{font-size:11px;letter-spacing:.04em}#your-inflation .personal-table input{box-sizing:border-box;width:85px;max-width:100%;min-height:36px;padding:6px 8px;font:14px/1.4 var(--tip-ui);font-variant-numeric:tabular-nums}#your-inflation .personal-table td:first-child{min-width:0}
.mix-actions{gap:12px;padding:12px 0}.mix-actions .chip{min-height:44px}.mix-actions #weight-status{font-size:13px;margin:0 0 0 auto}.personal-result{margin:22px 0;padding:22px 24px}.personal-result .two-col{gap:28px}.personal-result .dollar-result{font-family:var(--tip-heading);font-size:50px;line-height:1.2;margin:12px 0}.personal-result h3{font:400 22px/1.3 var(--tip-heading);margin:0 0 10px}.personal-result .standard-comparison{background:transparent;border-top:1px solid var(--line);padding:14px 0 0;margin:14px 0 0;font-size:13px}.personal-result #mix-drivers{margin-bottom:0}
@media(max-width:760px){.personal-guidance{gap:14px}.personal-guidance h3{font-size:21px}.mix-actions #weight-status{flex-basis:100%;margin:0}.personal-result{padding:18px}.personal-result .two-col{gap:18px}}
@media(max-width:600px){#your-inflation .personal-table th:first-child{width:36%}#your-inflation .personal-table th:nth-child(2){width:28%}#your-inflation .personal-table th:nth-child(3){width:18%}#your-inflation .personal-table th:nth-child(4){width:18%}#your-inflation .personal-table td,#your-inflation .personal-table th{padding:5px 4px}#your-inflation .personal-table th{font-size:11px;letter-spacing:0}#your-inflation .personal-table td{font-size:12px}#your-inflation .personal-table input{font-size:16px;padding:5px 3px;min-height:40px}}

.personal-table .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Calculator methodology uses the site's heading and body typography. */
body[data-page=personal] #your-inflation>.feature-disclosure>summary{font:400 22px/1.35 var(--tip-heading);letter-spacing:-.015em}
body[data-page=personal] #your-inflation>.feature-disclosure p{font:14px/1.6 var(--tip-ui)}

/* Keep the 100% target visible while editing the spending table. */
#your-inflation .personal-total-band{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px;padding:12px 16px;background:#e7ece2;border:1px solid #6b805e;border-left:4px solid #445639;box-shadow:0 2px 4px #2b332812}
#your-inflation .personal-total-band[data-state=under],#your-inflation .personal-total-band[data-state=over],#your-inflation .personal-total-band[data-state=invalid]{background:#f5ead3;border-color:#96703c}
#your-inflation .mix-actions #weight-status{display:flex;align-items:center;gap:12px;margin:0;font:14px/1.45 var(--tip-ui);min-width:0}
.weight-total-label{display:block;font-size:12px}.weight-state-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;height:26px;border:1px solid currentColor;border-radius:50%;font-weight:bold}
#weight-total{font-size:23px;font-variant-numeric:tabular-nums}.weight-total-target{font-size:13px}#weight-hint{display:block;font-size:13px;font-weight:bold}.mix-adjustments{display:flex;flex-wrap:wrap;gap:8px}.mix-adjustments .chip{background:var(--paper)}.mix-adjustments #adjust-weights:not(:disabled){background:var(--accent);color:var(--paper);border-color:var(--accent)}.mix-adjustments button:disabled{opacity:.6;cursor:default}
.personal-result:not([data-state=ready]) #personal-rate{font-size:24px;letter-spacing:-.01em;line-height:1.35}
@media(max-width:600px){#your-inflation .personal-total-band{padding:10px;gap:10px}#your-inflation .mix-actions #weight-status{flex-basis:100%;gap:10px}.mix-adjustments{width:100%}.mix-adjustments .chip{font-size:11px;padding:8px 10px}#weight-total{font-size:21px}}
@media print{#your-inflation .personal-total-band{position:static}}

.personal-category-label{display:flex;align-items:center;gap:6px}.personal-category-label>span{min-width:0}.personal-category-info{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:3px;border:0;border-radius:50%;background:transparent;color:var(--ink)}.personal-category-info svg{width:22px;height:22px}.personal-category-info:hover{background:var(--tint)}.personal-category-info:focus-visible{outline:3px solid var(--tip-focus);outline-offset:2px}
.personal-category-help{box-sizing:border-box;width:min(580px,calc(100vw - 32px));max-height:80dvh;padding:24px;border:1px solid var(--ink);border-radius:4px;background:var(--paper);color:var(--ink);font:14px/1.6 var(--tip-ui);overflow-y:auto}.personal-category-help::backdrop{background:#20282066}.personal-help-heading{display:flex;gap:16px;justify-content:space-between;align-items:start}.personal-help-heading h2{font:400 28px/1.25 var(--tip-heading);margin:0}.personal-help-heading button{flex-shrink:0;min-height:44px}.personal-help-content p{font-size:14px}.personal-help-content li{margin:6px 0}.personal-help-content a{text-decoration:underline;text-underline-offset:3px}.personal-housing-note{border-left:3px solid var(--gold);padding:10px 12px;background:#f5ead3}
@media(max-width:600px){.personal-category-label{gap:3px}.personal-category-info{flex-basis:24px;width:24px;height:28px;padding:1px}.personal-category-help{padding:18px}.personal-help-heading h2{font-size:24px}}

@media(max-width:600px){.personal-category-label{display:block}.personal-category-info{margin-left:3px;vertical-align:middle}}

 #analytical h2{font-size:30px} #analytical-answer{font:16px/1.6 var(--tip-ui)}#analytical .feature-disclosure summary{font:400 21px/1.4 var(--tip-heading)}#analytical .feature-disclosure p{font:14px/1.6 var(--tip-ui)}
#analytical .analytical-controls{display:grid;grid-template-columns:minmax(175px,1fr) minmax(250px,1.4fr) repeat(2,minmax(180px,1fr));gap:16px;align-items:end}
#analytical .analytical-controls label{min-width:0;margin:0}#analytical .analytical-controls select{box-sizing:border-box;width:100%;min-width:0}
#analytical-error{border-left:3px solid #96703c;background:#f5ead3;padding:12px 14px;font-size:14px}
@media(max-width:1100px){#analytical .analytical-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#analytical .analytical-controls{grid-template-columns:minmax(0,1fr)}}

/* Flat destinations below the masthead; one expandable list on smaller screens. */
header.tip-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 20px;padding-top:17px;padding-bottom:0;min-height:0}
.tip-main-nav{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:0 23px;width:100%;margin-top:16px;padding:5px 0;border-top:1px solid var(--line)}
.tip-main-nav a,.tip-main-nav a[aria-current=page]{font:13px/1.4 var(--tip-ui);min-height:44px;padding:8px 0;white-space:normal}
.tip-main-nav a[aria-current=page]{font-weight:700}
.tip-menu-toggle{display:none;border:1px solid var(--line);background:var(--surface);border-radius:2px;min-height:44px;padding:9px 13px;font:14px/1.4 var(--tip-ui);color:var(--ink);align-items:center;gap:10px}
.tip-menu-toggle span{font-size:17px}
/* Contextual cards are deliberately smaller than the homepage destinations. */
.related-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border-top:1px solid var(--line);padding:24px 0 0;margin:28px 0 0}
.related-card{display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:start;gap:13px;min-width:0;padding:22px;background:#e5ebee;border-radius:2px;color:var(--ink);text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}
.related-card.related-tone-2{background:#eee6d7}
.related-card .related-symbol{display:block;width:28px;height:28px;margin-top:3px;fill:none;stroke:#496674;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.related-tone-2 .related-symbol{stroke:#886830}
.related-card h2{font:400 22px/1.28 var(--tip-heading);letter-spacing:-.02em;margin:0 0 9px;color:var(--ink)}
.related-card p{font:14px/1.55 var(--tip-ui);color:var(--ink);margin:0}
.related-card .related-arrow{display:block;align-self:center;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.related-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #203b3a12}
.related-card:hover .related-arrow{transform:translateX(3px)}
@media(max-width:1100px){
 header.tip-masthead{display:grid;padding-top:14px;padding-bottom:14px;gap:0 16px}
 .tip-menu-ready .tip-menu-toggle{display:inline-flex}
 .tip-main-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px}
 .tip-main-nav a,.tip-main-nav a[aria-current=page]{font-size:15px;padding:10px 0}
 .tip-menu-ready .tip-masthead:not(.tip-menu-open) .tip-main-nav{display:none}
}
@media(max-width:760px){.related-destinations{grid-template-columns:1fr;gap:12px;padding-top:20px}.related-card{padding:20px}.related-card h2{font-size:21px}.destination-card h3{font-family:var(--tip-heading)}}
@media(max-width:600px){.tip-main-nav{grid-template-columns:1fr}.tip-menu-toggle{padding-inline:10px;gap:7px}.tip-brand-wordmark{font-size:clamp(18px,4.7vw,22px)}.tip-brand-lockup{gap:9px}.related-card{grid-template-columns:26px minmax(0,1fr) 16px;gap:10px;padding:20px 17px}}
@media(prefers-reduced-motion:reduce){.related-card,.related-card .related-arrow{transition:none}}
@media(max-width:360px){.tip-menu-toggle{grid-column:1/-1;justify-self:end;margin-top:8px}.tip-brand-wordmark{font-size:20px}}
@media print{.related-destinations{display:none}}

/* Shared typography and interaction tokens, preserving each component’s scale. */
.overview-total strong{font-variant-numeric:lining-nums tabular-nums}
.feature-disclosure>summary{font-family:var(--tip-heading)}
.source-grid h3,.history-workspace .detail-stats b{font-family:var(--tip-heading)}
