/* DW-04.3 stage-only: stable presentation refinements */
:root{--dw43-accent:#0e948f;--dw43-ink:#173249;--dw43-surface:#fff;--dw43-muted:#637b8b}
.shell .main{min-width:0!important;max-width:100%!important}
.shell .main .card{min-width:0;overflow-wrap:anywhere}
.shell .main table{width:100%;border-collapse:collapse}
.shell .main .grid>*{min-width:0}
.shell .main .metric strong{font-variant-numeric:tabular-nums}
.shell .main .dw43-empty{color:var(--dw43-muted)}
.dw43-language-notice{font-size:12px;color:var(--dw43-muted)}
html[dir=rtl] .shell .main{text-align:right}
html[dir=ltr] .shell .main{text-align:left}
@media(max-width:850px){.shell .main{min-width:0!important;overflow-x:hidden}.shell .main .card{max-width:100%}.shell .main table{display:block;overflow-x:auto;max-width:100%}}

/* DW-04.7 stage: stable desktop layout and RTL containment */
@media (min-width:851px){
 html body .shell,html[dir="rtl"] body .shell{display:grid!important;grid-template-columns:270px minmax(0,1fr)!important;direction:ltr!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important}
 html body .shell>.side,html[dir="rtl"] body .shell>.side{position:sticky!important;top:0!important;inset-inline:auto!important;left:auto!important;right:auto!important;grid-column:1!important;grid-row:1!important;width:270px!important;max-width:270px!important;min-width:0!important;height:100vh!important;overflow-y:auto!important;transform:none!important}
 html body .shell>.main,html[dir="rtl"] body .shell>.main{grid-column:2!important;grid-row:1!important;position:relative!important;left:auto!important;right:auto!important;float:none!important;margin:0!important;width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:auto!important}
 html[dir="rtl"] body .shell{direction:rtl!important}
 html[dir="rtl"] body .shell>.side,html[dir="rtl"] body .shell>.main{direction:rtl!important}
}
@media (max-width:850px){html body .shell>.main,html[dir="rtl"] body .shell>.main{margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}}
.shell>.main .card,.shell>.main .section,.shell>.main .grid{min-width:0;max-width:100%;box-sizing:border-box}
.shell>.main table{max-width:100%}

/* DW-05 final: prevent short action labels from wrapping in any locale. */
.shell .main .btn, .shell .main button.btn {white-space:nowrap;overflow-wrap:normal;word-break:normal;max-width:100%;}
.shell .main .dw055-search-row{display:flex;align-items:stretch;gap:8px;min-width:0;max-width:100%;flex-wrap:wrap}
.shell .main .dw055-search-row input{flex:1 1 220px;min-width:0;max-width:100%}
.shell .main .dw055-search-row .dw055-search-button{flex:0 0 auto;min-width:max-content;white-space:nowrap}
.shell .main .table{max-width:100%}
@media(max-width:520px){.shell .main .dw055-search-row{flex-direction:column}.shell .main .dw055-search-row input,.shell .main .dw055-search-row button{width:100%;flex:auto}}
