.risk-export-note{max-width:78ch;font-size:13px;color:var(--muted);line-height:1.6}
.risk-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
#rotation-rows td{white-space:normal;overflow-wrap:anywhere}
#rotation-rows td:first-child{width:3em}
.rotation-result{min-width:0}
.rotation-result .table-scroll table{table-layout:fixed;width:100%}
.rotation-result .risk-actions .button{white-space:normal}
.safety-metrics dd{overflow-wrap:anywhere}
.expiry-row-head>div,.slow-stock-row-head>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:680px){
 .risk-actions{display:grid}.risk-actions .button{width:100%}
 .rotation-result .table-scroll{overflow:visible}
 .rotation-result .table-scroll table,.rotation-result tbody,.rotation-result tr{display:block;min-width:0;width:100%}
 .rotation-result thead{display:none}
 .rotation-result tr{border-top:1px solid var(--line);padding:12px 0}
 #rotation-rows td,#rotation-rows td:first-child{display:grid;grid-template-columns:7em minmax(0,1fr);gap:12px;width:auto;padding:6px 0;border:0}
 #rotation-rows td::before{content:attr(data-label);font-weight:600;font-size:12px;color:var(--muted)}
}
