/* SIAGA UI harmonization v5707: additive, component-level styles. No data or workflow changes. */
:root{--siaga-ui-radius:12px;--siaga-ui-border:#dce8e4;--siaga-ui-focus:#edab2c}
:where(.internal-body,body) :where(button,input,select,textarea,a){-webkit-tap-highlight-color:transparent}
:where(.internal-body,body) :where(button,a,input,select,textarea):focus-visible{outline:3px solid var(--siaga-ui-focus);outline-offset:2px}
:where(.internal-body,body) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
:where(.internal-body,body) :where(textarea){resize:vertical;min-height:72px}
:where(.internal-body,body) :where(button,[type="submit"],[role="button"]){cursor:pointer}
:where(.internal-body,body) :where(button:disabled,[type="submit"]:disabled){cursor:not-allowed;opacity:.65}
:where(.internal-body,body) :where(table){border-collapse:collapse;max-width:100%}
:where(.internal-body) :where(table) :where(th,td){vertical-align:top;overflow-wrap:break-word}
:where(.internal-body,body) :where(img,video,svg){max-width:100%}
:where(.internal-body,body) :where(.card,.panel,.section-card,.stat-card){min-width:0}
:where(.internal-body) .side-nav a{min-height:36px;transition:background-color .15s ease,color .15s ease}
:where(.internal-body) .side-nav a:focus-visible{outline-offset:-3px}
:where(.internal-body) :where(.alert,.notice,[role="alert"]){overflow-wrap:anywhere}
:where(.internal-body) :where(.table-responsive,.table-wrap,.table-container){overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
:where(.internal-body) :where(.badge,.status-badge){white-space:normal;overflow-wrap:break-word}
:where(.internal-body,body) :where(.modal,.dialog,[role="dialog"]){max-width:100vw}
@media(max-width:900px){
 :where(.internal-body) :where(main,.main-content,.content,.page-content){min-width:0;max-width:100%}
 :where(.internal-body,body) :where(.grid,.form-grid){min-width:0}
 :where(.internal-body,body) :where(.actions,.button-row,.form-actions){display:flex;gap:8px;flex-wrap:wrap}
}
@media(max-width:640px){
 :where(.internal-body,body) :where(input,select,textarea){font-size:16px}
 :where(.internal-body,body) :where(h1,h2,h3){overflow-wrap:break-word}
 :where(.internal-body) :where(.table-responsive,.table-wrap,.table-container){margin-inline:-4px}
 :where(.internal-body) :where(table){font-size:13px}
 :where(.internal-body) :where(table) :where(th,td){padding:8px 9px}
 :where(.internal-body,body) :where(.btn,button,[type="submit"]){max-width:100%;white-space:normal}
}
@media(prefers-reduced-motion:reduce){:where(.internal-body,body) *, :where(.internal-body,body) *::before, :where(.internal-body,body) *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
