/* One bounded enhancement layer; existing release styles remain intact. */
.rf-state-retry,.rf-next-action{margin-left:10px;text-decoration:underline;text-underline-offset:3px;font-weight:600;color:#1d4ed8}
.rf-section-status,.rf-report-context{font-size:13px;line-height:1.6;color:#475569;padding:8px 0;overflow-wrap:anywhere}
.rf-section-status[data-state=error]{color:#9f1239}
.r7-axis,.r7-muted,.rf-muted{color:#475569}
.rf-first-result{border:1px solid #cbd5e1;background:#fff;border-radius:16px;padding:18px;margin-bottom:20px}
.rf-first-result h3{font-size:16px;font-weight:700;margin:0 0 6px;color:#0f172a}
.rf-first-result p{font-size:13px;color:#475569;line-height:1.6}
#page-stats>#rf-first-result{order:-9}#page-stats>#rf-report-context{order:-5}#page-stats>#rf-report-update{order:-11}
.page.active,.page.active>*{animation:none!important}
.rf-setup-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:14px 0 0;padding:0}
.rf-setup-steps li{border:1px solid #e2e8f0;border-radius:12px;padding:12px;min-width:0}
.rf-setup-steps strong,.rf-setup-steps small{display:block;color:#334155;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.rf-setup-steps small{font-weight:400;margin:4px 0 8px;color:#475569}
.rf-setup-steps button{color:#1d4ed8;font-weight:600;font-size:13px;text-decoration:underline;text-underline-offset:3px;min-height:36px;text-align:left}
.rf-chart-data{font-size:13px;color:#334155;width:100%}.rf-chart-data summary{cursor:pointer;padding:6px 0;min-height:32px}.rf-chart-data table{width:100%;font-size:13px;border-collapse:collapse}.rf-chart-data th,.rf-chart-data td{padding:8px;text-align:left;border-bottom:1px solid #e2e8f0}.rf-chart-data caption{text-align:left;padding:8px}
.rf-chart-data table{min-width:0;table-layout:fixed}.rf-chart-data th:first-child{width:70%}.rf-chart-data th,.rf-chart-data td{overflow-wrap:anywhere}
.r7-bar:focus-visible .r7-bar-tip{opacity:1;visibility:visible;z-index:10}
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #2563eb!important;outline-offset:3px!important}
.rf-scroll:focus-visible,.overflow-x-auto:focus-visible{outline-offset:-3px!important}
.rf-empty-action{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;color:#475569;font-size:14px;line-height:1.6}
.rf-empty-action button{display:block;color:#1d4ed8;text-decoration:underline;margin-top:8px;min-height:40px;font-weight:600}
#app :is(.text-gray-400,.text-slate-400),#admin-app :is(.text-gray-400,.text-slate-400){color:#64748b}
.rf-work-tools{row-gap:10px}.rf-work-tools label{max-width:100%;min-width:0}.rf-work-tools input:not([type=checkbox]){min-width:0;max-width:100%}
.rf-health-label{display:block;font-size:13px;line-height:1.65;color:#334155}
.rf-health-label[data-state=attention],.rf-health-label[data-state=stale],.rf-health-label[data-state=error]{color:#9f1239}
.rf-operations-grid{display:grid;gap:8px;margin:12px 0}.rf-operation-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px}.rf-operation-metric small{font-size:13px;line-height:1.5;color:#475569;overflow-wrap:anywhere}.rf-operation-metric strong{font-size:20px;line-height:1.3;color:#0f172a}.rf-operation-metric[data-attention=true]{background:#fff7ed;border-color:#fed7aa}.rf-operation-metric[data-attention=true] strong{color:#9f1239}#rf-operations-status{color:#64748b}#rf-operations-status[data-state=error]{color:#9f1239}
[role=dialog]{max-height:94dvh}[id$=-modal]>div.relative,[id$=-wizard]>div.relative{max-height:90dvh;overflow-y:auto}
.rf-ops-heading,.rf-recovery-card h4{font-size:14px;font-weight:700;color:#0f172a;margin:12px 0 6px}.rf-recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rf-recovery-card{min-width:0;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.rf-recovery-card h4{margin-top:0}.rf-recovery-card dl,.rf-ops-routes dl{margin:8px 0 0;font-size:12px;line-height:1.6;color:#475569}.rf-recovery-card dl>div{display:grid;gap:2px;margin:8px 0}.rf-recovery-card dd,.rf-ops-routes dd{margin:0;color:#0f172a;font-weight:600;overflow-wrap:anywhere}.rf-api-timing{border-top:1px solid #e2e8f0;margin-top:14px;padding-top:8px;max-width:100%}.rf-api-timing summary{font-size:14px;font-weight:600;color:#1d4ed8;cursor:pointer;min-height:40px;padding:8px 0}.rf-ops-routes{list-style:none;padding:0;margin:10px 0;display:grid;gap:8px}.rf-ops-routes li{min-width:0;border:1px solid #e2e8f0;border-radius:10px;padding:10px}.rf-ops-routes code{font-size:12px;line-height:1.6;color:#334155;white-space:normal;overflow-wrap:anywhere}.rf-ops-routes dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.rf-ops-routes dt{overflow-wrap:anywhere}.rf-ops-actions{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0}.rf-ops-actions .rf-next-action{margin-left:0;min-height:40px}.rf-ops-actions button:disabled{color:#475569;cursor:wait}#rf-support-export-status[data-state=error]{color:#9f1239}#rf-operations .rf-health-label[data-state=unknown]{color:#475569}
@media(max-width:640px){
  .rf-setup-steps{grid-template-columns:1fr;gap:8px}.rf-first-result{padding:14px}.rf-setup-steps li{padding:10px}
  .rf-recovery-grid{grid-template-columns:1fr}
  #app main>header{gap:8px}#page-title{font-size:17px;line-height:1.35}
  #page-projects>div:first-child{flex-wrap:wrap;gap:12px}#page-projects>div:first-child>div:last-child{width:100%;flex-wrap:wrap}
  .rf-work-tools{align-items:stretch}.rf-work-tools>label,.rf-work-tools>select{flex:1 1 140px;width:auto}.rf-work-tools>button{min-height:40px}
  .rf-report-context{font-size:12px}.rf-campaign-table,.rf-scroll,.overflow-x-auto{max-width:100%;overflow:auto;overscroll-behavior-x:contain}
  .r7-event{gap:8px}.r7-event-main{min-width:0}.r7-event-end{max-width:120px;font-size:12px}.r7-event-title{overflow-wrap:anywhere}
  .rf-ready .rf-work-tools{display:grid;grid-template-columns:1fr 1fr}.unified-period,[data-range],.ps-tab{min-height:36px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
