/* Soil Depot - the cubic yards to tons converter (2026-10-21), inc/yards-tons.php.
 * Site palette (site.css --sds-*), light only like the rest of the site. Inputs
 * are 16px so iOS does not zoom on focus. Text colors clear WCAG AA on paper. */
.sdyt{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin:6px 0 30px;font-family:"DM Sans",system-ui,sans-serif;color:#241B0F}
.sdyt-card{background:#FBF8F0;border:1px solid rgba(36,27,15,.14);border-radius:16px;padding:20px 20px 18px;box-shadow:0 1px 2px rgba(36,27,15,.06),0 2px 6px rgba(36,27,15,.05);min-width:0}
.sdyt .sdyt-head{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:24px;line-height:1.1;margin:0 0 14px;color:#241B0F}
.sdyt-dir{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.sdyt-dir-b{flex:1 1 auto;min-height:44px;padding:8px 12px;border:1px solid rgba(36,27,15,.22);border-radius:10px;background:#FFF;color:#241B0F;font:600 14px/1.2 "DM Sans",system-ui,sans-serif;cursor:pointer}
.sdyt-dir-b.is-on{background:#23601F;border-color:#23601F;color:#FFF}
.sdyt-dir-b:focus-visible,.sdyt-use:focus-visible,.sdyt select:focus-visible,.sdyt input:focus-visible{outline:3px solid #E0A94B;outline-offset:2px}
.sdyt-row{display:grid;grid-template-columns:1.4fr 1fr;gap:12px}
.sdyt-row3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sdyt-f{display:flex;flex-direction:column;gap:5px;min-width:0}
.sdyt-l{font-size:12.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#4A3D2C}
.sdyt select,.sdyt input{width:100%;min-height:44px;padding:9px 11px;border:1px solid rgba(36,27,15,.28);border-radius:10px;background:#FFF;color:#241B0F;font:500 16px/1.2 "DM Sans",system-ui,sans-serif;box-sizing:border-box}
.sdyt-out{margin-top:14px;padding-top:14px;border-top:1px solid rgba(36,27,15,.12)}
.sdyt-big{font-size:26px;font-weight:800;line-height:1.15;color:#241B0F}
.sdyt-sub{margin-top:6px;font-size:14.5px;line-height:1.5;color:#4A3D2C}
.sdyt-out2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.sdyt-use{min-height:44px;padding:10px 18px;border:0;border-radius:10px;background:#1F7A3A;color:#FFF;font:700 14.5px/1.2 "DM Sans",system-ui,sans-serif;cursor:pointer}
.sdyt-use:disabled{background:#B9B2A3;color:#241B0F;cursor:default}
.sdyt-note{margin:12px 0 0;font-size:14px;line-height:1.55;color:#4A3D2C}
/* .sdp-mat carries `.entry-content .sdp-mat a { color: inherit }` (0,2,1), so these outrank it. */
.entry-content .sdyt .sdyt-note a,.entry-content .sdyt-chart .sdyt-chart-note a{color:#1B5E20;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.sdyt-chart{margin:4px 0 26px}
.sdyt-chart .sdp-art-table{margin-bottom:10px}
.sdyt-chart-note{margin:0;font-size:14px;line-height:1.55;color:#4A3D2C}
@media (max-width:480px){
  .sdyt-card{padding:16px 14px}
  .sdyt-row{grid-template-columns:1fr}
  .sdyt-row3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sdyt-big{font-size:22px}
}
