/* Scoped enhancements; existing tool engines and layout are unchanged. */
.oyg46-panel{margin:1.15rem 0 0;padding:1.05rem 1.2rem;border:1px solid #dbe5f3;border-radius:14px;background:#f8fbff;color:#213248;max-width:100%;box-sizing:border-box}
.oyg46-panel h2{font-size:1.12rem;line-height:1.3;margin:0 0 .35rem;font-weight:700}
.oyg46-panel p{font-size:.92rem;line-height:1.5;margin:0 0 .8rem;color:#53647a}
.oyg46-fields{display:flex;align-items:flex-end;gap:.65rem;flex-wrap:wrap}
.oyg46-field{flex:1 1 160px;min-width:130px;display:flex;flex-direction:column;gap:.3rem}
.oyg46-field label{font-size:.9rem;font-weight:650}
.oyg46-field input,.oyg46-field select{box-sizing:border-box;width:100%;min-height:42px;padding:.5rem .65rem;border:1px solid #a9bad2;border-radius:9px;background:#fff;color:#1e293b;font:inherit}
.oyg46-panel button{min-height:42px;align-self:flex-end;padding:.55rem 1rem;border:1px solid #2856e6;border-radius:9px;background:#2856e6;color:#fff;cursor:pointer;font:inherit;font-weight:650}
.oyg46-panel button:focus-visible,.oyg46-panel input:focus-visible,.oyg46-panel select:focus-visible{outline:3px solid #84aaff;outline-offset:2px}
.oyg46-result{margin-top:.7rem;white-space:pre-line;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.55;font-size:.96rem}
.oyg46-result:not(:empty){background:#eaf1ff;border-radius:9px;padding:.8rem}
.oyg46-result.oyg46-error{background:#fff0ef;color:#9d2923}
.oyg46-help{font-size:.86rem!important;margin-top:.75rem!important;margin-bottom:0!important}
@media(max-width:520px){.oyg46-panel{padding:1rem}.oyg46-fields{flex-direction:column;align-items:stretch}.oyg46-field,.oyg46-panel button{width:100%;flex:none}}
@media(prefers-color-scheme:dark){body:not(.light-theme) .oyg46-panel{background:#142032;border-color:#34445e;color:#f1f5fb}body:not(.light-theme) .oyg46-panel p{color:#cad5e6}body:not(.light-theme) .oyg46-result:not(:empty){background:#213454}}
