/* 補休換錢（kit.css 之上只加版面；跟加班費同一家人） */
:root { --accent-soft: #e6f0ea; }
.ct-top { padding-bottom: 4px; }
.ct-grid { max-width: 1080px; margin: 0 auto; }
.ct-out { padding-top: 0; }
.ct-in { padding-top: 8px; display: grid; gap: var(--s2); }
.ct-check { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.ct-check > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 var(--s3); font-weight: 700; color: var(--band); }
.ct-check > summary::-webkit-details-marker { display: none; }
.ct-check > summary::after { content: "＋"; font-weight: 900; }
.ct-check[open] > summary::after { content: "－"; }
.ct-check .ct-form { padding: var(--s1) var(--s3) var(--s1); }
.ct-check .ct-form .field { margin: 0 0 var(--s3); }
.ct-year { border: 0; padding: 0; }
.ct-year legend { font-weight: 700; margin-bottom: 6px; }
.ct-radio { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.ct-radio input { width: 20px; height: 20px; }
/* 加班紀錄：一筆一列；手機兩行 */
.ct-rows { display: grid; gap: 10px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 8px; padding: 10px; background: var(--paper, #f6f4ef); border-radius: 10px; align-items: center; }
.ct-row input[data-k="date"] { grid-column: 1; }
.ct-row select { grid-column: 2; }
.ct-row .ct-hm { grid-column: 1; }
.ct-row input[data-k="wage"] { grid-column: 2; }
.ct-row .ct-del { grid-column: 3; grid-row: 1; width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; color: var(--ink-soft); cursor: pointer; }
.ct-row .err { grid-column: 1 / -1; }
.ct-row .err:empty { display: none; }
.ct-hm { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ct-add { margin-top: 10px; width: 100%; }
/* 最上面那句 */
.ct-lead { margin: 0 0 14px; padding: 10px 12px; border-left: 4px solid var(--band); background: var(--accent-soft); font-size: 15px; line-height: 1.7; }
.ct-sum { margin: 14px 0 0; color: var(--ink-soft); }
.ct-lines { margin-top: 12px; display: grid; gap: 10px; }
.ct-line { padding: 12px 0 10px; border-top: 1px dashed var(--line); }
.ct-line-h { display: flex; justify-content: space-between; gap: 12px; }
.ct-line-h span { font-size: .875rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.ct-expired .ct-line-h span { color: var(--warn); }
.ct-line p { margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.ct-line p b { color: var(--accent); }
.ct-due { font-size: .875rem; color: var(--ink-soft); }
.ct-used { opacity: .72; }
.ct-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.ct-disclaim { font-size: .875rem; color: var(--ink-soft); margin-top: 18px; }
#ct-un:empty { min-height: 276px; }
@media (min-width: 960px) {
  #ct-un:empty { min-height: 264px; }
  .ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; align-items: start; padding: 0 16px; }
  .ct-grid > .kit-wrap { max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
  .ct-in { position: sticky; top: 76px; }
  .ct-out { padding-top: 8px; }
  .ct-top { max-width: 1080px; }
}
@media print {
  .ct-grid { display: block; }
  .ct-disclaim { font-size: .75rem; }
  @page { size: A4; margin: 16mm; }
}
