/*
 * SFR A02 live layout refinement — 5.4.50.52
 * Presentation-only staging layer. No financial calculations or engine access.
 */
.sfr-a01{
  --sfr-wp-admin-bar-offset:0px;
  font-size:14px;
}
body.admin-bar .sfr-a01{--sfr-wp-admin-bar-offset:32px}
body.admin-bar .sfr-a01__sidebar{
  inset-block-start:var(--sfr-wp-admin-bar-offset);
  height:calc(100dvh - var(--sfr-wp-admin-bar-offset));
}
body.admin-bar .sfr-a01__scrim{inset-block-start:var(--sfr-wp-admin-bar-offset)}
body.admin-bar .sfr-a01__topbar{top:var(--sfr-wp-admin-bar-offset)}
body.admin-bar .sfr-a01__workflow-wrap{top:calc(var(--sfr-header-height) + var(--sfr-wp-admin-bar-offset))}

.sfr-a01__topbar{
  min-width:0;
  border-bottom-color:color-mix(in srgb,var(--sfr-border) 82%,transparent);
}
.sfr-a01__topbar-start{min-width:0;overflow:hidden}
.sfr-a01__breadcrumbs{min-width:0;overflow:hidden;text-overflow:ellipsis}
.sfr-a01__breadcrumbs span,.sfr-a01__breadcrumbs strong{overflow:hidden;text-overflow:ellipsis}
.sfr-a01__topbar-actions{flex:0 0 auto}
.sfr-a01__integration-chip{font-size:12.5px;line-height:1.35;white-space:nowrap}

.sfr-a01__page-head{align-items:center}
.sfr-a01__page-head p{font-size:14px;line-height:1.75}
.sfr-a01__eyebrow{font-size:12.5px;line-height:1.5}
.sfr-a01__page-actions{flex:0 0 auto}
.sfr-a01__page-actions .sfr-a01__button{font-size:14px;font-weight:750}

.sfr-a01__context-strip>div{min-width:0}
.sfr-a01__context-strip span{font-size:12px;line-height:1.45}
.sfr-a01__context-strip strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.sfr-a01__context-engine strong{font-family:var(--sfr-font-latin),var(--sfr-font-arabic);font-size:12.5px}

.sfr-a01__workflow-tab{padding-inline:12px;font-size:14px;font-weight:750;line-height:1.45}
.sfr-a01__step-number{font-size:11px}
.sfr-a01__section-heading p,.sfr-a01__analysis-summary p{font-size:13px;line-height:1.7}
.sfr-a01__metric-label{font-size:13px}
.sfr-a01__metric-context{font-size:13.5px;line-height:1.7}
.sfr-a01__action-card>p,.sfr-a01__insight-card p,.sfr-a01__recommendation p,.sfr-a01__scenario>p{font-size:13px;line-height:1.75}
.sfr-a01__health-row strong{font-size:13px}
.sfr-a01__health-reading{font-size:13px}

.sfr-a01__field label{font-size:13.5px;line-height:1.5}
.sfr-a01__field-help{font-size:13px;line-height:1.65}
.sfr-a01__control{min-height:44px;font-size:14px;line-height:1.45}
.sfr-a01__field-state{font-size:12.5px;line-height:1.45}
.sfr-a01__unit{font-size:11px}
.sfr-a01__financial-table{font-size:13.5px;line-height:1.55}
.sfr-a01__financial-table thead th{font-size:13.5px;color:var(--sfr-ink)}
.sfr-a01__financial-table th,.sfr-a01__financial-table td{padding-block:12px}
.sfr-a01__badge{font-size:12.5px;line-height:1.2}
.sfr-a01__notice{font-size:13.5px;line-height:1.7}

.sfr-a01__quick a,.sfr-a01__category-items a,.sfr-a01__category summary{
  font-size:13.5px;
  line-height:1.55;
}
.sfr-a01__nav-label{font-size:12.5px}
.sfr-a01__brand-copy small{font-size:10px}
.sfr-a01__sidebar-footer{font-size:12.5px;line-height:1.5}

/* Avoid visual crowding on medium desktop widths while preserving the six-step workflow. */
@media (max-width:1280px) and (min-width:901px){
  .sfr-a01{--sfr-sidebar-width:246px}
  .sfr-a01__main{padding-inline:18px}
  .sfr-a01__page-head{padding-inline:20px}
  .sfr-a01__page-head h1{font-size:30px}
  .sfr-a01__page-actions .sfr-a01__button{padding-inline:13px}
  .sfr-a01__workflow{grid-template-columns:repeat(6,minmax(118px,1fr))}
  .sfr-a01__workflow-tab{padding-inline:9px;font-size:13.5px}
}

@media (max-width:782px){
  body.admin-bar .sfr-a01{--sfr-wp-admin-bar-offset:46px}
}
@media (max-width:900px){
  .sfr-a01__topbar{top:var(--sfr-wp-admin-bar-offset)}
  .sfr-a01__workflow-wrap{top:calc(var(--sfr-header-height) + var(--sfr-wp-admin-bar-offset))}
  .sfr-a01__page-head{align-items:flex-start}
}
@media (max-width:600px){
  .sfr-a01{font-size:13.5px}
  .sfr-a01__page-head p{font-size:13.5px}
  .sfr-a01__workflow-tab{font-size:13.5px}
  .sfr-a01__context-strip strong{font-size:13.5px}
  .sfr-a01__financial-table{font-size:13px}
  .sfr-a01__field label{font-size:13px}
}
