/* Shared, server-rendered catalog routes: independent of calculation state. */
.rkc-tool-products .rkc-product-scope { max-width: 850px; color: #596d82; margin: -6px 0 28px; line-height: 1.65; }
.rkc-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.rkc-product-card { min-width: 0; background: #fff; border: 1px solid #dce5ed; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 26px #102d4910; transition: transform .2s ease, box-shadow .2s ease; }
.rkc-product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #102d4918; }
.rkc-product-card > a { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.rkc-product-card > a:focus-visible { outline: 3px solid #ed671e; outline-offset: -4px; border-radius: 20px; }
.rkc-product-image { position: relative; aspect-ratio: 3 / 2; background: #f5f7f9; overflow: hidden; }
.rkc-product-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.rkc-product-image > span { position: absolute; bottom: 12px; left: 12px; font-size: 11px; color: #334c63; background: #fffffff2; border-radius: 6px; padding: 4px 8px; }
.rkc-product-copy { padding: 22px; display: flex; flex: 1; flex-direction: column; gap: 10px; }
.rkc-product-copy h3 { font-size: clamp(20px,2vw,25px); margin: 0; line-height: 1.25; color: #102e4d; overflow-wrap: anywhere; }
.rkc-product-copy p { margin: 0; font-size: 14px; color: #596d82; line-height: 1.5; }
.rkc-product-copy p:first-child { color: #a7410a; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.rkc-product-copy > span { display: flex; justify-content: space-between; gap: 10px; padding-top: 16px; margin-top: auto; color: #b6480b; font-size: 14px; font-weight: 600; }
.rkc-tool-contact .container { gap: 32px; }
.rkc-tool-contact h2 { max-width: 620px; }
.rkc-tool-contact p:not(.rkc-kicker) { max-width: 670px; line-height: 1.65; color: #596d82; margin-bottom: 0; }
.rkc-tool-contact .rkc-actions { flex: 0 1 340px; min-width: 0; align-content: center; }
.rkc-tool-contact .rkc-actions > a { width: 100%; justify-content: center; text-align: center; }
.rkc-experience-simple { grid-template-columns: minmax(0,1fr); }
.rkc-tool-detail .rkc-simple-calculator { padding: 0; min-width: 0; overflow: hidden; }
.rkc-simple-calculator .rkc-calc-head { padding: 28px 32px; border-bottom: 1px solid #dce5ed; margin: 0; }
.rkc-simple-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.rkc-simple-inputs, .rkc-simple-output { padding: 32px; min-width: 0; }
.rkc-simple-inputs { display: grid; gap: 16px; margin: 0; }
.rkc-simple-inputs label { color: #29425b; font-size: 14px; font-weight: 600; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.rkc-simple-inputs > label { margin-bottom: -10px; }
.rkc-simple-inputs input, .rkc-simple-inputs select { width: 100%; min-width: 0; height: 48px; padding: 10px 12px; border: 1px solid #cad7e3; border-radius: 10px; background-color: #fff; color: #163450; font: inherit; font-size: 16px; box-sizing: border-box; }
.rkc-simple-inputs :is(input,select,button):focus-visible { outline: 3px solid #f2935366; outline-offset: 2px; }
.rkc-simple-field > div { display: grid; grid-template-columns: minmax(0,1fr) 104px; gap: 8px; margin-top: 8px; }
.rkc-simple-field small { display: block; font-size: 12px; margin-top: 7px; color: #596d82; }
.rkc-simple-inputs .rkc-calc-actions { padding: 8px 0 0; margin: 0; flex-wrap: wrap; }
.rkc-simple-example { appearance: none; background: none; border: 0; color: #a7410a; text-align: left; font-size: 13px; text-decoration: underline; padding: 0; cursor: pointer; width: fit-content; }
.rkc-simple-output { background: linear-gradient(145deg,#f4faf7,#f1f5fa); border-left: 1px solid #dce5ed; display: flex; flex-direction: column; }
.rkc-simple-equation { font: 400 clamp(30px,4vw,48px)/1.3 Georgia,serif; color: #13344f; margin: 28px 0; }
.rkc-tool-detail .rkc-simple-output .rkc-result { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; min-width: 0; }
.rkc-tool-detail .rkc-simple-output .rkc-result::before { content: none; }
.rkc-simple-output .rkc-result strong { font-size: clamp(24px,3vw,38px); white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
.rkc-simple-output [data-equation] { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.rkc-simple-limit { margin: auto 0 0; padding-top: 28px; color: #596d82; font-size: 12px; line-height: 1.65; }
.rkc-simple-calculator .rkc-result.has-value { animation: rkc-simple-reveal .25s ease-out; }
.rkc-simple-calculator .rkc-result.has-error strong { color: #a02725; }
.rkc-simple-calculator .rkc-result.is-stale strong { color: #8c5419; }
.rkc-simple-guide .container { max-width: 960px; }
.rkc-simple-guide h2 { font-size: clamp(24px,3vw,34px); margin: 30px 0 16px; }
.rkc-simple-guide h3 { font-size: 20px; margin: 24px 0 12px; }
.rkc-simple-guide p { color: #53687c; line-height: 1.8; }
.rkc-simple-noscript { padding: 24px; }
.rkc-experience-simple > .rkc-method-card { position: static; }
.rkc-experience-simple > .rkc-method-card ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
.rkc-simple-calculator [hidden] { display: none !important; }
@keyframes rkc-simple-reveal { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1024px) {
  .rkc-product-grid { gap: 16px; }
  .rkc-product-copy { padding: 18px; }
  .rkc-tool-contact .container { flex-wrap: wrap; }
  .rkc-tool-contact .rkc-actions { flex-basis: 100%; }
  .rkc-tool-contact .rkc-actions > a { width: auto; }
  .rkc-simple-inputs, .rkc-simple-output { padding: 24px; }
}
@media (max-width: 680px) {
  .rkc-product-grid, .rkc-simple-workspace { grid-template-columns: minmax(0,1fr); }
  .rkc-product-card > a { flex-direction: row; align-items: center; }
  .rkc-product-image { flex: 0 0 35%; aspect-ratio: 1; align-self: stretch; }
  .rkc-product-image > span { left: 4px; bottom: 5px; font-size: 9px; padding: 3px 4px; }
  .rkc-product-copy { padding: 16px 12px; gap: 8px; min-width: 0; }
  .rkc-product-copy h3 { font-size: 20px; }
  .rkc-product-copy p { font-size: 12px; }
  .rkc-product-copy p:first-child { font-size: 10px; }
  .rkc-product-copy > span { font-size: 12px; padding-top: 5px; }
  .rkc-tool-contact .rkc-actions > a { width: 100%; }
  .rkc-simple-calculator .rkc-calc-head, .rkc-simple-inputs, .rkc-simple-output { padding: 22px 18px; }
  .rkc-simple-output { border-left: 0; border-top: 1px solid #dce5ed; }
  .rkc-simple-equation { margin: 18px 0; }
  .rkc-experience-simple > .rkc-method-card ol { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rkc-product-card { transition: none; }
  .rkc-product-card:hover { transform: none; }
  .rkc-simple-calculator .rkc-result.has-value { animation: none; }
}
