/* Isolated ToolYak ROI styling; never edits the shared stylesheet. */
.tyroi.toolyak-wrapper{--tynavy:#0f284d;--tygreen:#228b22;--tyblue:#e1eff0;max-width:900px;width:100%;margin:12px auto;font:14px/1.4 'Segoe UI',Arial,sans-serif;color:#0f284d;overflow:visible;box-sizing:border-box}
.tyroi *, .tyroi *::before,.tyroi *::after{box-sizing:border-box}
.tyroi .tyroi-layout{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);align-items:start;gap:14px}
.tyroi .leftinput,.tyroi .rightresult{float:none;max-width:none;width:100%;margin:0;min-width:0;box-sizing:border-box}
.tyroi .tyroi-form{padding:14px;background:#e1eff0;border:1px solid #0f284d;border-radius:3px}
.tyroi .tyroi-results{padding:0;background:transparent}
.tyroi h2{margin:0 0 10px!important;padding:6px 8px!important;text-align:center!important;font-size:17px!important;font-weight:700;color:#0f284d}
.tyroi .tyroi-results>h2{background:#228b22;color:white}
.tyroi .tyroi-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 7px}
.tyroi .tyroi-field{min-width:0}.tyroi label{font-size:11px!important;font-weight:600!important;display:block;margin:0 0 3px;color:#0f284d}
.tyroi input,.tyroi select{display:block;width:100%;min-width:0;height:36px!important;min-height:36px;padding:5px 7px!important;border:1px solid #0f284d!important;border-radius:2px!important;background:white;color:#0f284d;font:14px 'Segoe UI',Arial,sans-serif!important;box-shadow:none}
.tyroi :is(button,input,select,summary):focus-visible{outline:3px solid #3380cd!important;outline-offset:2px}
.tyroi input[aria-invalid=true]{border-color:#b3261e!important;background:#fff5f3}.tyroi .tyroi-error{display:block;font-size:10px;color:#a02020;line-height:1.25}.tyroi .tyroi-error:empty{display:none}
.tyroi [hidden]{display:none!important}.tyroi .tyroi-buttons{display:flex;gap:8px;margin:9px 0 0}.tyroi .tyroi-buttons .btn-style{flex:1;width:auto!important;margin:0!important;padding:8px!important;height:37px!important;font-size:14px!important;color:white!important;line-height:1.1;border:0;border-radius:3px!important;cursor:pointer}.tyroi .btn-calculate{background:#0f284d!important}.tyroi .btn-reset{background:#4c4c4c!important}.tyroi .tyroi-rating{margin:7px 0 0;text-align:center;min-height:0}
.tyroi .tyroi-summary{background:#fff;border:1px solid #e0e7ea}.tyroi .tyroi-hero{padding:8px 12px;background:#e1eff0;border-left:4px solid #228b22}.tyroi .tyroi-hero span,.tyroi .tyroi-metrics span{display:block;font-size:11px;color:#344559}.tyroi .tyroi-hero strong{font-size:26px;color:#0f284d}.tyroi .tyroi-metrics{display:grid;grid-template-columns:1fr 1fr}.tyroi .tyroi-metrics>div{padding:8px 10px;border-top:1px solid #e0e7ea;min-width:0}.tyroi .tyroi-metrics>div:nth-child(even){border-left:1px solid #e0e7ea}.tyroi .tyroi-metrics strong{display:block;font-size:16px;overflow-wrap:anywhere;color:#0f284d}
.tyroi .tyroi-status{margin:5px 0;font-size:11px;min-height:0;color:#a02020}.tyroi .tyroi-status:empty{display:none}.tyroi .tyroi-chartset{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tyroi figure{margin:0;border:1px solid #dde5e9;padding:8px;min-width:0;background:#fff}.tyroi figcaption{font-size:11px;font-weight:700;margin-bottom:7px}.tyroi .tyroi-barrow{display:grid;grid-template-columns:45px 1fr;gap:3px;align-items:center;font-size:10px;margin:5px 0}.tyroi .tyroi-barrow b{grid-column:2;font-size:10px;font-weight:600}.tyroi .tyroi-track{height:13px;background:#e9eef0}.tyroi .tyroi-track i{display:block;height:100%;width:0;background:#0f284d}.tyroi .tyroi-barrow:nth-child(2) i{background:#228b22}.tyroi .tyroi-growth{width:100%;height:91px;display:block}.tyroi .tyroi-axis{display:flex;justify-content:space-between;font-size:10px}.tyroi .tyroi-details{margin-top:8px;border:1px solid #d8e2e8;padding:6px 8px;background:#f8fafb}.tyroi .tyroi-details summary{cursor:pointer;font-weight:600;font-size:12px}.tyroi .tyroi-formulas{font-size:12px;color:#334155}.tyroi .tyroi-formulas p{margin:7px 0}.tyroi .tyroi-actions{display:flex;gap:6px;margin:8px 0}.tyroi .tyroi-actions button{flex:1;min-width:0;margin:0;background:#0f284d;color:white;border:0;border-radius:2px;padding:8px 4px;cursor:pointer;font:12px 'Segoe UI',Arial,sans-serif}.tyroi button:hover{filter:brightness(1.12)}
@media(max-width:650px){.tyroi.toolyak-wrapper{padding:0 6px;margin:8px auto}.tyroi .tyroi-layout{display:block}.tyroi .tyroi-form{padding:10px;margin:0!important}.tyroi .tyroi-results{margin:10px 0 0!important}.tyroi h2{margin-bottom:5px!important}.tyroi .tyroi-pair{gap:7px;margin-bottom:5px}.tyroi input,.tyroi select{height:36px!important;min-height:36px;font-size:16px!important}.tyroi .tyroi-hero strong{font-size:24px}.tyroi .tyroi-metrics strong{font-size:14px}.tyroi .tyroi-buttons{margin-top:7px}.tyroi .tyroi-rating{margin-top:5px}}
@media(max-width:380px){.tyroi .tyroi-chartset{grid-template-columns:1fr}.tyroi label{font-size:10px!important}.tyroi .tyroi-actions button{font-size:11px}}
@media print{body *{visibility:hidden!important}.tyroi,.tyroi .tyroi-results,.tyroi .tyroi-results *{visibility:visible!important}.tyroi .tyroi-results{position:absolute;top:0;left:0;width:100%!important}.tyroi .tyroi-form,.tyroi .tyroi-actions,.tyroi .tyroi-status{display:none!important}.tyroi .tyroi-layout{display:block!important}.tyroi .tyroi-results{break-inside:avoid}}
