/* ConsumerWise Refund Helper R6: split decision flow, native ConsumerWise editorial rhythm. */

/* Hero: use the same title → standfirst hierarchy as guides/articles. */
.refund-helper-page .tool-page-hero-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  align-items:start!important;
}
.refund-helper-page .tool-page-hero-grid>div:first-child{max-width:1040px}
.refund-helper-page .tool-page-hero h1{margin-top:0}
.refund-helper-page .rh-hero-lead{
  max-width:900px;
  margin:24px 0 0;
  color:rgba(255,255,255,.76);
  font-size:clamp(1.08rem,1.45vw,1.3rem);
  line-height:1.62;
}
.refund-helper-page .tool-page-meta{max-width:900px}

/* Stage */
.refund-helper-page .refund-helper-stage{background:#fff;border-bottom:1px solid var(--line-dark)}
.refund-helper-page .refund-helper-stage-shell{padding-top:clamp(68px,7vw,96px);padding-bottom:clamp(92px,9vw,132px)}
.rh-stage-intro{max-width:900px;margin:0 0 clamp(58px,6vw,82px)}
.rh-stage-intro h2{margin:8px 0 18px;color:var(--ink);font-size:clamp(2.3rem,4vw,4.35rem);line-height:.98;letter-spacing:-.048em}
.rh-stage-intro>p:not(.eyebrow){max-width:820px;margin:0;color:var(--muted);font-size:1.04rem;line-height:1.72}
.rh-stage-note{margin-top:18px!important;color:var(--ink)!important}

.refund-helper-page .refund-helper-workbench{
  width:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-top:4px solid var(--ink)!important;
  background:transparent!important;
  scroll-margin-top:96px;
}
.refund-helper-page .refund-helper-workbench noscript{padding:26px 0;border-bottom:1px solid var(--line-dark);font-size:1rem;line-height:1.7}

/* Progress: intentionally visible, not tiny UI chrome. */
.rh-progress{margin:0 0 clamp(50px,5vw,72px);padding:24px 0 26px;border-bottom:1px solid var(--line-dark)}
.rh-progress>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-bottom:16px}
.rh-progress-copy{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;color:var(--muted);font-size:1rem;line-height:1.45}
.rh-progress-copy strong{color:var(--ink);font-size:1.05rem}
.rh-progress-percent{color:var(--ink);font-size:clamp(1.7rem,2.4vw,2.35rem);font-weight:750;letter-spacing:-.035em;line-height:1}
.rh-progress-track{display:block;height:10px;overflow:hidden;background:#E4E7E9}
.rh-progress-track>b{display:block;height:100%;background:var(--teal);transition:width .24s ease}

/* Question state: question/why on the left, answer choices on the right. */
.rh-question{width:100%}
.rh-question-grid{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:clamp(52px,7vw,112px);align-items:start}
.rh-question-copy{min-width:0;padding-top:3px}
.rh-step-label,.rh-section-label{
  margin:0 0 12px;
  color:var(--teal);
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.rh-step-label{font-size:.86rem}
.rh-section-label{font-size:.86rem}
.rh-question h2,.rh-result-head h2{margin:0;color:var(--ink);font-size:clamp(2.3rem,3.8vw,4rem);line-height:1;letter-spacing:-.046em}
.rh-why{margin:24px 0 0;padding-top:22px;border-top:1px solid var(--line-dark);color:var(--muted);font-size:1.02rem;line-height:1.72}
.rh-why strong{color:var(--ink)}
.rh-answer-panel{min-width:0}
.rh-answer-panel>p{margin:0 0 17px;color:var(--ink);font-size:1.04rem;font-weight:700;line-height:1.5}
.rh-options{display:grid;gap:12px;width:100%}
.rh-option{
  display:grid;
  grid-template-columns:minmax(0,1fr) 30px;
  align-items:center;
  gap:24px;
  width:100%;
  min-height:104px;
  padding:22px 24px;
  border:1px solid var(--line-dark);
  background:#fff;
  color:var(--text);
  text-align:left;
  font:inherit;
  cursor:pointer;
}
.rh-option span{min-width:0}
.rh-option strong{display:block;margin-bottom:7px;color:var(--ink);font-size:1.08rem;line-height:1.35}
.rh-option small{display:block;color:var(--muted);font-size:1rem;line-height:1.58}
.rh-option i{justify-self:end;color:var(--teal);font-style:normal;font-size:1.2rem;transition:transform .16s ease}
.rh-option:hover,.rh-option:focus-visible{border-color:var(--teal);background:#F4F8F7;outline:0}
.rh-option:focus-visible{box-shadow:inset 4px 0 0 var(--teal)}
.rh-option:hover i,.rh-option:focus-visible i{transform:translateX(4px)}
.rh-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}
.rh-nav button,.rh-bottom-nav button,.rh-result-actions button{
  min-height:44px;
  border:0;
  background:transparent;
  padding:8px 0;
  color:var(--ink);
  font:inherit;
  font-size:.95rem;
  font-weight:750;
  cursor:pointer;
}
.rh-nav button:hover,.rh-bottom-nav button:hover,.rh-result-actions button:hover{text-decoration:underline;text-underline-offset:4px}
.rh-nav .rh-restart{color:var(--muted)}

/* Result destination */
.rh-result{scroll-margin-top:92px;outline:0}
.rh-result-head{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:clamp(38px,6vw,90px);
  align-items:end;
  margin-top:34px;
  padding:clamp(38px,4vw,56px) clamp(26px,4vw,52px);
  border-top:4px solid var(--teal);
  border-bottom:1px solid var(--line-dark);
  background:var(--paper);
}
.rh-result-head>div:first-child>p:last-child{max-width:900px;margin:20px 0 0;color:var(--charcoal);font-size:1.08rem;line-height:1.72}
.rh-result-actions{display:grid;gap:10px;align-self:stretch;align-content:end}
.rh-result-jump{
  width:100%;
  min-height:48px!important;
  padding:12px 16px!important;
  border:1px solid var(--ink)!important;
  background:var(--ink)!important;
  color:#fff!important;
  text-align:left;
  text-decoration:none!important;
}
.rh-result-jump--secondary{background:#fff!important;color:var(--ink)!important}
.rh-result-jump:hover,.rh-result-jump:focus-visible{background:var(--teal)!important;border-color:var(--teal)!important;color:#fff!important;outline:0}
.rh-result-utility{display:flex;flex-wrap:wrap;gap:16px;margin-top:4px}
.rh-result-utility button{font-size:.88rem}

/* Answer review */
.rh-result-review{margin:clamp(58px,6vw,82px) 0 0;padding:0 0 clamp(50px,5vw,68px);border-bottom:1px solid var(--line-dark)}
.rh-answer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 34px;margin:20px 0 0;border-top:1px solid var(--line-dark)}
.rh-answer-summary>div{padding:17px 0;border-bottom:1px solid var(--line)}
.rh-answer-summary dt{margin:0 0 6px;color:var(--muted);font-size:.9rem;line-height:1.45}
.rh-answer-summary dd{margin:0;color:var(--ink);font-size:1rem;font-weight:700;line-height:1.5}
.rh-important-note{max-width:980px;margin:24px 0 0;color:var(--muted);font-size:1rem;line-height:1.68}
.rh-important-note strong{color:var(--ink)}

/* Major result sections get real vertical rhythm. */
.rh-result-main{width:100%}
.rh-result-section{margin:0;padding:clamp(72px,7vw,104px) 0;border-bottom:1px solid var(--line-dark)}
.rh-result-section h3,.rh-learning h3{max-width:980px;margin:0 0 18px;color:var(--ink);font-size:clamp(2rem,3.2vw,3.25rem);line-height:1.03;letter-spacing:-.038em}
.rh-section-intro{max-width:900px;margin:0 0 34px;color:var(--muted);font-size:1.03rem;line-height:1.72}

.rh-action-list{counter-reset:actions;list-style:none;margin:32px 0 0;padding:0;border-top:1px solid var(--line-dark)}
.rh-action-list li{counter-increment:actions;display:grid;grid-template-columns:58px minmax(0,1fr);gap:20px;padding:22px 20px;border-bottom:1px solid var(--line);font-size:1.03rem;line-height:1.7}
.rh-action-list li:before{content:counter(actions,decimal-leading-zero);padding-top:2px;color:var(--teal);font-weight:800;letter-spacing:.06em}

/* Another route: treat it like a real ConsumerWise guide recommendation. */
.rh-secondary{padding-top:clamp(72px,7vw,104px)}
.rh-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}
.rh-route-card{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:10px 22px;padding:26px;border:1px solid var(--line-dark);border-top:4px solid var(--teal);color:var(--text);text-decoration:none;background:#fff}
.rh-route-card>span{grid-column:1/-1;color:var(--teal);font-size:.86rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rh-route-card strong{grid-column:1;color:var(--ink);font-size:1.28rem;line-height:1.28}
.rh-route-card p{grid-column:1;margin:0;color:var(--muted);font-size:1rem;line-height:1.66}
.rh-route-card i{grid-column:2;grid-row:2/4;align-self:center;justify-self:end;color:var(--teal);font-style:normal;font-size:1.2rem;transition:transform .16s ease}
.rh-route-card:hover,.rh-route-card:focus-visible{background:#F4F8F7;outline:0}
.rh-route-card:hover strong,.rh-route-card:focus-visible strong{color:var(--teal)}
.rh-route-card:hover i,.rh-route-card:focus-visible i{transform:translateX(4px)}

/* Legislation: prominent destination section, linked from the result. */
.rh-law-section{scroll-margin-top:92px}
.rh-law-callout{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px 28px;align-items:flex-end;margin:0 0 34px;padding:22px 0;border-top:3px solid var(--ink);border-bottom:1px solid var(--line-dark)}
.rh-law-callout p{max-width:780px;margin:0;color:var(--muted);font-size:1rem;line-height:1.68}
.rh-law-status{display:flex;align-items:flex-start;gap:12px;max-width:100%;margin:0 0 28px;padding:15px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:.96rem;line-height:1.6}
.rh-law-dot{flex:0 0 9px;width:9px;height:9px;margin-top:6px;border-radius:50%;background:var(--line-dark)}
.rh-law-status.is-live .rh-law-dot{background:var(--teal)}
.rh-law-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rh-law-card{min-width:0;padding:24px;border:1px solid var(--line-dark);background:#fff}
.rh-law-card>span{display:block;margin-bottom:9px;color:var(--teal);font-size:.84rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rh-law-card>strong{display:block;color:var(--ink);font-size:1.14rem;line-height:1.4}
.rh-law-card>p{margin:9px 0 16px;color:var(--muted);font-size:1rem;line-height:1.62}
.rh-law-card .rh-law-why{margin:16px 0;padding-top:15px;border-top:1px solid var(--line);color:var(--text);font-size:1rem;line-height:1.64}
.rh-law-card .rh-law-why b{color:var(--ink)}
.rh-law-card a{color:var(--teal);font-size:.96rem;font-weight:750;text-decoration:none}
.rh-law-card a:hover{text-decoration:underline;text-underline-offset:4px}
.rh-law-card.is-live{border-top:4px solid var(--teal)}
.rh-law-empty{max-width:900px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.rh-law-empty p{margin:0;color:var(--muted);font-size:1rem;line-height:1.68}

/* Matching guides: designed as prominent ConsumerWise cards. */
.rh-learning{scroll-margin-top:92px;padding:clamp(82px,8vw,118px) 0 0}
.rh-learning-head{max-width:980px;margin-bottom:34px}
.rh-learning-head>p:last-child{max-width:820px;color:var(--muted);font-size:1.03rem;line-height:1.72}
.rh-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rh-guide-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-content:start;min-height:190px;padding:26px;border:1px solid var(--line-dark);border-top:4px solid var(--ink);color:var(--text);text-decoration:none;background:#fff}
.rh-guide-card>span{grid-column:1/-1;display:block;margin-bottom:14px;color:var(--teal);font-size:.84rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rh-guide-card>strong{grid-column:1;display:block;color:var(--ink);font-size:1.28rem;line-height:1.3}
.rh-guide-card>p{grid-column:1;margin:10px 0 0;color:var(--muted);font-size:1rem;line-height:1.64}
.rh-guide-card>i{grid-column:2;grid-row:2/4;align-self:center;justify-self:end;color:var(--teal);font-style:normal;font-size:1.18rem;transition:transform .16s ease}
.rh-guide-card:hover,.rh-guide-card:focus-visible{border-top-color:var(--teal);background:#F4F8F7;outline:0}
.rh-guide-card:hover strong,.rh-guide-card:focus-visible strong{color:var(--teal)}
.rh-guide-card:hover>i,.rh-guide-card:focus-visible>i{transform:translateX(4px)}

.rh-statements{margin-top:clamp(72px,7vw,100px);padding-top:clamp(54px,5vw,72px);border-top:1px solid var(--line-dark)}
.rh-statements>div:first-child{max-width:820px;margin-bottom:26px}
.rh-statements h3{font-size:clamp(1.8rem,2.6vw,2.55rem)}
.rh-statements>div:last-child{border-top:1px solid var(--line-dark)}
.rh-statement{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:8px 18px;padding:20px 2px;color:var(--text);text-decoration:none;border-bottom:1px solid var(--line-dark)}
.rh-statement>span{grid-column:1/-1;color:var(--teal);font-size:.84rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rh-statement>strong{grid-column:1;color:var(--ink);font-size:1.04rem;line-height:1.48}
.rh-statement>i{grid-column:2;grid-row:2;align-self:center;justify-self:end;color:var(--teal);font-style:normal}
.rh-statement:hover strong,.rh-statement:focus-visible strong{color:var(--teal)}

.rh-bottom-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:clamp(70px,7vw,98px);padding-top:24px;border-top:1px solid var(--line-dark)}
.rh-tool-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 28px;margin-top:clamp(72px,7vw,100px);padding-top:24px;border-top:1px solid var(--line-dark);color:var(--muted);font-size:1rem;line-height:1.6}

@media(max-width:900px){
  .rh-question-grid{grid-template-columns:1fr;gap:34px}
  .rh-question-copy{max-width:780px}
  .rh-result-head{grid-template-columns:1fr;gap:30px;align-items:start}
  .rh-result-actions{max-width:540px}
  .rh-answer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rh-secondary-grid,.rh-law-list,.rh-guide-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:680px){
  .refund-helper-page .tool-page-hero-grid{gap:0!important}
  .refund-helper-page .rh-hero-lead{margin-top:18px;font-size:1.03rem;line-height:1.65}
  .refund-helper-page .tool-page-meta{margin-top:22px}
  .refund-helper-page .refund-helper-stage-shell{padding-top:54px;padding-bottom:82px}
  .rh-stage-intro{margin-bottom:48px}
  .rh-stage-intro h2{font-size:clamp(2.15rem,10vw,3.2rem)}
  .rh-stage-intro>p:not(.eyebrow){font-size:1rem}

  .rh-progress{margin-bottom:42px;padding:20px 0 22px}
  .rh-progress>div{gap:14px}
  .rh-progress-copy{display:grid;gap:3px;font-size:.96rem}
  .rh-progress-copy strong{font-size:1rem}
  .rh-progress-percent{font-size:1.65rem}
  .rh-progress-track{height:9px}

  .rh-question-grid{gap:30px}
  .rh-step-label,.rh-section-label{font-size:.82rem}
  .rh-question h2,.rh-result-head h2{font-size:clamp(2.05rem,10.4vw,3rem)}
  .rh-why{margin-top:20px;padding-top:18px;font-size:1rem}
  .rh-answer-panel>p{font-size:1rem}
  .rh-option{min-height:0;padding:20px 18px;gap:16px}
  .rh-option strong{font-size:1.05rem}
  .rh-option small{font-size:.98rem;line-height:1.55}

  .rh-result-head{margin-left:-2px;margin-right:-2px;padding:30px 20px}
  .rh-result-head>div:first-child>p:last-child{font-size:1.02rem}
  .rh-result-actions{max-width:none}
  .rh-result-jump{font-size:.96rem!important}
  .rh-result-utility{gap:14px}

  .rh-result-review{margin-top:50px;padding-bottom:46px}
  .rh-answer-summary{grid-template-columns:1fr;margin-top:18px}
  .rh-answer-summary>div{padding:14px 0}
  .rh-answer-summary dt{font-size:.88rem}
  .rh-answer-summary dd{font-size:.98rem}
  .rh-important-note{font-size:.98rem}

  .rh-result-section{padding:58px 0}
  .rh-result-section h3,.rh-learning h3{font-size:clamp(1.8rem,8vw,2.45rem)}
  .rh-section-intro{font-size:1rem;margin-bottom:28px}
  .rh-action-list{margin-top:26px}
  .rh-action-list li{grid-template-columns:42px minmax(0,1fr);gap:14px;padding:19px 4px;font-size:1rem}

  .rh-secondary-grid,.rh-law-list,.rh-guide-grid{grid-template-columns:1fr}
  .rh-route-card,.rh-law-card,.rh-guide-card{padding:22px 18px}
  .rh-route-card strong,.rh-guide-card>strong{font-size:1.2rem}
  .rh-route-card p,.rh-law-card>p,.rh-law-card .rh-law-why,.rh-guide-card>p{font-size:.98rem}
  .rh-guide-card{min-height:0}

  .rh-learning{padding-top:68px}
  .rh-statements{margin-top:60px;padding-top:46px}
  .rh-statement{padding:18px 2px}
  .rh-tool-footer{margin-top:70px;font-size:.98rem}
}

@media(max-width:390px){
  .rh-option{padding:18px 16px}
  .rh-result-head{padding:27px 16px}
  .rh-route-card,.rh-law-card,.rh-guide-card{padding:20px 16px}
}

@media(prefers-reduced-motion:reduce){
  .rh-progress-track>b,.rh-option i,.rh-route-card i,.rh-guide-card>i{transition:none!important}
}

@media print{
  .refund-helper-page .site-header,.refund-helper-page .breadcrumb-bar,.refund-helper-page .tool-page-hero,.refund-helper-page .rh-stage-intro,.refund-helper-page .rh-tool-footer,.refund-helper-page .site-footer,.refund-helper-page .rh-result-actions,.refund-helper-page .rh-bottom-nav,.refund-helper-page .rh-progress{display:none!important}
  .refund-helper-page .tool-stage,.refund-helper-page .refund-helper-stage-shell,.refund-helper-page .refund-helper-workbench{display:block!important;padding:0!important;margin:0!important;border:0!important;background:#fff!important}
  .rh-result-head{display:block!important;padding:0 0 24px!important;background:#fff!important;border-top:0!important}
  .rh-law-card,.rh-guide-card,.rh-route-card{break-inside:avoid}
}
