/* site：現場の準備・原価と予算・検査の準備の見た目（既存のクラスに足りない分だけ） */

/* 追加の入力欄（項目の追加・書類の保管）は、欄とボタンを横に並べる */
.site-add{display:flex;gap:.75rem;align-items:flex-end;flex-wrap:wrap;margin-bottom:.9rem}
.site-add .field{flex:1 1 16rem;max-width:32rem}
.site-add .btn{flex:none}

/* 表の中の入力 */
td input.site-cell,td select.site-cell{min-height:2.25rem;padding:.3rem .5rem;font-size:.8125rem}
td input.site-cell{min-width:9.5rem}
td input.site-cell.wide{min-width:14rem}
td select.site-cell{min-width:6.5rem}
input.site-chk{width:1.25rem;min-height:1.25rem;height:1.25rem;padding:0;margin:0;accent-color:var(--ink)}

/* 合計・小計の行 */
tr.site-sub td{background:var(--ground);font-weight:600;color:var(--muted)}
tr.site-total td{font-weight:700;border-top:1px solid var(--ink)}

/* 建退共の支払の表 */
.site-grid th small{display:block;font-weight:400}
.site-grid th.name,.site-grid th[scope=row]{text-align:left;white-space:nowrap;color:var(--ink);font-size:.8125rem;letter-spacing:0}
.site-kcell{flex-direction:column;align-items:flex-start;gap:.15rem;width:100%;min-width:7.5rem;min-height:3rem;border-color:var(--line);text-align:left;white-space:normal}
.site-kcell small{display:block;color:var(--muted);font-size:.6875rem;font-weight:400;margin:0}

/* 消化率の棒 */
td .bar{margin-top:.25rem;min-width:4.5rem}

@media (max-width:899px){
  .site-add .field{flex-basis:100%;max-width:none}
}
@media (max-width:640px){
  .site-add .btn{width:100%}
  td input.site-cell.wide{min-width:11rem}
}
