/* Legacy screens — scoped visual polish, no markup or request semantics modified. */
html{max-width:100%}body{overflow-x:hidden}body:not(.app-dashboard):not(.app-auth):not(.app-site){background:#f5f8f8;color:#193b47;font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.6}
body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(h1,h2,h3,h4){font-weight:730;letter-spacing:-.55px;color:#133846}
body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(.card,.modal-content){border:1px solid #e3ecef;border-radius:16px;box-shadow:0 10px 35px rgba(18,50,63,.055);background:#fff}
body:not(.app-dashboard):not(.app-auth):not(.app-site) .card-header{border-radius:16px 16px 0 0;background:#f7fbfa;border-bottom:1px solid #e6eded}
body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(input.form-control,select.form-select,textarea.form-control){border-radius:10px;border-color:#d5e4e7;min-height:43px}
body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(input.form-control,select.form-select,textarea.form-control):focus{border-color:#23a993;box-shadow:0 0 0 3px rgba(43,181,151,.13)}
body:not(.app-dashboard):not(.app-auth):not(.app-site) .btn{border-radius:10px;font-weight:640;min-height:38px}
body:not(.app-dashboard):not(.app-auth):not(.app-site) .btn-primary{background:#187b72;border-color:#187b72}
body:not(.app-dashboard):not(.app-auth):not(.app-site) table{font-size:13px}body:not(.app-dashboard):not(.app-auth):not(.app-site) table thead th{background:#eef5f5;color:#345c67;padding:12px;white-space:nowrap}body:not(.app-dashboard):not(.app-auth):not(.app-site) table tbody td{padding:11px;vertical-align:middle}
body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(img,iframe,canvas){max-width:100%}
@media(max-width:767px){body:not(.app-dashboard):not(.app-auth):not(.app-site){padding:12px!important}body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(.container,.container-fluid){width:100%;max-width:100%;padding-left:10px;padding-right:10px}body:not(.app-dashboard):not(.app-auth):not(.app-site) .row{--bs-gutter-x:1rem}body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(.table,.table-responsive){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}body:not(.app-dashboard):not(.app-auth):not(.app-site) .table{display:block}body:not(.app-dashboard):not(.app-auth):not(.app-site) :is(input,select,textarea){font-size:16px!important}body:not(.app-dashboard):not(.app-auth):not(.app-site) .modal-dialog{max-width:calc(100vw - 16px);margin:8px}body:not(.app-dashboard):not(.app-auth):not(.app-site) h2{font-size:1.35rem}body:not(.app-dashboard):not(.app-auth):not(.app-site) .card-body{padding:16px}}
/* Nested legacy full HTML documents, when included in index.php, inherit app-dashboard body;
   their component styles are supplied by ui/app.css in that layout. */
