/* 加班費計算機（kit.css 之上只加版面） */
:root { --accent-soft: #dde8f2; }
.ot-top { padding-bottom: 4px; }
.ot-grid { max-width: 1080px; margin: 0 auto; }
.ot-form { padding-top: 8px; }
.ot-out { padding-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ot-days { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ot-days legend { padding: 0; margin-bottom: 8px; }
.ot-row { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.ot-row-top { display: flex; gap: 8px; align-items: center; }
.ot-row-top select { flex: 1; min-height: 48px; font-size: 16px; }
.ot-del { min-height: 48px; padding: 0 12px; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); font: inherit; cursor: pointer; }
.ot-del:hover { color: var(--warn); border-color: var(--warn); }
.ot-hm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ot-hm label { display: flex; align-items: center; gap: 8px; }
.ot-hm input { flex: 1; min-width: 0; min-height: 48px; font-size: 16px; }
.ot-hm span { color: var(--ink-soft); white-space: nowrap; }
.ot-row .hint { display: block; margin-top: 6px; }
.ot-add { width: 100%; }
.ot-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 6px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.ot-facts div { min-width: 0; }
.ot-facts dt { font-size: .78rem; color: var(--ink-soft); letter-spacing: .05em; }
.ot-facts dd { margin: 2px 0 0; font: 700 1rem/1.3 var(--font-head); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ot-basis { font-size: .85rem; color: var(--ink-soft); margin: 8px 0 4px; }
.ot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ot-pro { margin-top: 22px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ot-pro h3 { font-size: 1rem; margin: 18px 0 8px; }
.ot-disclaim { font-size: .84rem; color: var(--ink-soft); margin-top: 18px; }
.ot-stamp { font-size: .78rem; color: #555; margin-top: 14px; }
.ot-print-head p { margin: 0 0 4px; }
.nw { white-space: nowrap; }
.ot-sign { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.ot-sign div { border-top: 1px solid #333; padding-top: 6px; font-size: .85rem; }
.ot-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); border: 0; width: 100%; font: 700 .95rem var(--font-body); cursor: pointer; transform: translateY(110%); transition: transform .2s; }
.ot-bar b { font: 800 1.35rem/1 var(--font-head); color: #cfe3f5; font-variant-numeric: tabular-nums; }
.ot-bar.on { transform: none; }
@media (prefers-reduced-motion: reduce) { .ot-bar { transition: none; } }
@media (min-width: 960px) {
  .ot-bar { display: none; }
  .ot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; align-items: start; padding: 0 16px; }
  .ot-grid > .kit-wrap { max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
  .ot-out { position: sticky; top: 76px; padding-top: 8px; }
}
@media print {
  .ot-grid { display: block; }
  .ot-out { position: static; }
  .ot-disclaim { font-size: .75rem; }
  .r-line .why a { color: #333; text-decoration: none; }
  @page { size: A4; margin: 16mm; }
}
