.hot-tool .calculator { background: #f5f7f2; border: 1px solid #d9e1d3; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.5rem); }
.hot-tool .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 1.2rem 0; }
.hot-tool label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; }
.hot-tool input, .hot-tool textarea { min-width: 0; padding: .7rem; border: 1px solid #9ba99a; border-radius: .45rem; background: #fff; color: #18231a; font: inherit; }
.hot-tool button { padding: .7rem 1rem; border: 0; border-radius: .45rem; background: #28583d; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.hot-tool button:hover { background: #1b432d; }
.hot-tool button:focus-visible, .hot-tool input:focus-visible, .hot-tool summary:focus-visible { outline: 3px solid #d39026; outline-offset: 2px; }
.hot-tool button:disabled { opacity: .55; cursor: not-allowed; }
.hot-tool .actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.hot-tool .result { margin-top: 1rem; overflow-wrap: anywhere; }
.hot-tool .result:empty { display: none; }
.hot-tool .result.has-error { padding: .8rem; border-left: 4px solid #a2332d; background: #fff0ed; color: #68221d; }
.hot-tool textarea { box-sizing: border-box; width: 100%; font: inherit; }
.hot-tool .result details { margin: 1rem 0; }
.hot-tool .result summary { cursor: pointer; font-weight: 650; }
.hot-tool .table-scroll { max-width: 100%; overflow-x: auto; margin-top: .65rem; }
.hot-tool table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hot-tool th, .hot-tool td { padding: .45rem; border: 1px solid #ccd5c8; text-align: right; white-space: nowrap; }
.hot-tool th { background: #e8eee5; }
.hot-tool .rounding-note { padding: .75rem; background: #eef2eb; border-radius: .4rem; }
.hot-tool [data-copy-status]::after { content: attr(data-copy-status); display: block; margin-top: .5rem; font-size: .9rem; }
@media (max-width: 540px) { .hot-tool .field-grid { grid-template-columns: 1fr; } }
@media print { .hot-tool .calculator { border: 0; background: #fff; padding: 0; } .hot-tool .field-grid, .hot-tool #calculate, .hot-tool .actions { display: none; } .hot-tool .result details { display: block; } .hot-tool .result details:has(textarea), .hot-tool #plan-status { display: none; } .hot-tool .table-scroll { overflow: visible; } .hot-tool table { font-size: 8pt; } .hot-tool th, .hot-tool td { white-space: normal; } }
