/* Road estimator - on top of culvert/style.css, steel/steel.css and rigid/rigid.css */
.row-gap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.row-gap select { max-width: 260px; padding: 3px 4px; font-size: 12.5px; }
.layer-tbl, .vip-tbl, .st-tbl { table-layout: auto; }
.layer-tbl th, .st-tbl th, .vip-tbl th { width: auto !important; }
.layer-tbl select { width: 100%; padding: 3px 2px; font: inherit; font-size: 12px; }
.layer-tbl td.center, .layer-tbl .center { text-align: center; }
.layer-tbl input[type=checkbox] { width: auto; }
.vip-tbl { max-width: 420px; }
.st-tbl { max-width: 560px; }
.st-tbl tr.current td { background: #eef6ff; }
.x.up { color: #456; }
.stations { max-height: 380px; overflow: auto; }
.import-box { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fbfcfe; margin: 8px 0 12px; }
.import-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.layouts { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 6px; }
.mini { border-collapse: collapse; margin-top: 3px; font-size: 11.5px; }
.mini th, .mini td { border: 1px solid #d3dbe4; padding: 1px 6px; }
.mini th { background: #eef2f6; font-weight: 600; }
.file-btn { cursor: pointer; margin: 0; }
.import-result { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #ccd5df; }
.warnc { color: #9a6700; }
.import { margin: 6px 0 4px; }
.import summary { cursor: pointer; font-weight: 600; font-size: 13px; color: #33414f; }
.import textarea, .xs-edit textarea { width: 100%; font-family: Consolas, monospace; font-size: 12.5px; border: 1px solid #d3dbe4;
  border-radius: 4px; padding: 6px; box-sizing: border-box; }
.xs-edit { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fbfcfe; }
.xs-nav { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.xs-nav select { padding: 3px 4px; font-size: 12.5px; }
.st-pane .derived { margin-bottom: 10px; }
.layer-tbl td:last-child { white-space: nowrap; }
.qty td, .qty th { padding: 3px 7px; font-size: 12.5px; }
.qty tr.total td { font-weight: 600; border-top: 1.5px solid #8899aa; }
.levels { max-height: 360px; overflow: auto; }
.levels .tbl td, .levels .tbl th { padding: 2px 6px; font-size: 12px; }
.levels tr[data-row] { cursor: pointer; }
.levels tr.current td { background: #eef6ff; font-weight: 600; }
.fillc { color: #1d5fa8; }
.cutc { color: #a6501b; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 6px; }
.dl-grid label { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #33414f; }
.dl-grid select, .dl-grid input { padding: 4px 5px; font: inherit; font-size: 12.5px; border: 1px solid #d3dbe4; border-radius: 4px; }
.dl-grid [hidden], .dl-split[hidden] { display: none !important; }
.dl-split { display: flex; gap: 5px; align-items: center; margin: 4px 0; }
.checks-row { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; margin-bottom: 6px; }
.checks-row label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.sheet-full + .sheet-full { margin-top: 14px; }
