/* THIS IS FLORIDA: Free Family Chore Chart */
.cc-printhead { display: none; }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cc-week { font-weight: 700; margin: .2rem 0 .5rem; }
.cc-old { display: block; font-weight: 400; color: var(--danger); margin-top: .2rem; }
.cc-totals ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .35rem; }
.cc-totals li { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: 1.05rem; }
.cc-dot { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; background: var(--kid, var(--brand)); }
.cc-warn { color: var(--danger); font-weight: 700; margin: .3rem 0 .8rem; }
.cc-empty { border: 2px dashed var(--line); border-radius: .6rem; padding: 1.2rem; text-align: center; background: var(--card); max-width: 640px; }
.cc-kid { border: 1px solid var(--line); border-left: 8px solid var(--kid, var(--brand)); border-radius: .6rem; background: var(--card); margin: 0 0 1rem; padding: 0 0 .5rem; max-width: 1000px; }
.cc-kid-h { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 0 0 .3rem; padding: .5rem .8rem; font-size: 1.35rem;
  background: var(--kid, var(--brand)); color: #fff; border-radius: 0 .45rem 0 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cc-kid-n { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.cc-scroll { overflow-x: auto; padding: 0 .5rem; }
.cc-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cc-grid th, .cc-grid td { text-align: center; padding: .25rem; border-bottom: 1px solid #e3ebe7; }
.cc-grid thead th { font-size: .95rem; color: var(--muted); }
.cc-grid abbr { text-decoration: none; }
.cc-grid .cc-chore, .cc-grid tbody th { width: 30%; text-align: left; font-size: 1.05rem; }
.cc-pts { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.cc-grid .cc-today { background: #fff6dc; }
.cc-grid thead .cc-today { color: var(--ink); font-weight: 800; }
.cc-off span { color: #9fb1a9; font-size: 1.2rem; }
.app button.cc-box { width: 100%; max-width: 64px; min-width: 40px; min-height: 52px; height: 52px; padding: 0; border: 3px solid var(--kid, var(--brand)); border-radius: .6rem;
  background: #fff; color: #fff; font-size: 1.8rem; line-height: 1; font-weight: 800; }
.app button.cc-box[aria-pressed="true"] { background: var(--kid, var(--brand)); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (max-width: 600px) {
  .cc-scroll { overflow-x: visible; padding: 0 .35rem; }
  .cc-grid, .cc-grid thead, .cc-grid tbody { display: block; }
  .cc-grid tr { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 .15rem; border-bottom: 1px solid #e3ebe7; padding: .2rem 0 .35rem; }
  .cc-grid th, .cc-grid td { border: 0; padding: .1rem 0; display: flex; align-items: center; justify-content: center; }
  .cc-grid thead .cc-chore { display: none; }
  .cc-grid tbody th { grid-column: 1 / -1; width: auto; justify-content: flex-start; gap: .4rem; padding: .3rem .2rem .2rem; }
  .app button.cc-box { min-width: 0; max-width: none; }
}
.cc-setup fieldset { max-width: 760px; }
.cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.cc-addrow { display: grid; grid-template-columns: 1fr 10rem auto; gap: 0 .8rem; align-items: end; }
.cc-addrow .add { margin: .55rem 0; }
.cc-kidrow { display: grid; grid-template-columns: 16px 1fr 10rem auto; gap: 0 .7rem; align-items: end; }
.cc-kidrow .cc-dot { margin-bottom: 14px; }
.cc-kidrow button { margin: .55rem 0; }
@media (max-width: 560px) {
  .cc-two { grid-template-columns: 1fr; }
  .cc-addrow { grid-template-columns: 1fr; }
  .cc-kidrow { grid-template-columns: 16px 1fr; }
  .cc-kidrow label, .cc-kidrow button { grid-column: 2; }
  .cc-kidrow button { justify-self: start; margin-top: 0; }
}
.editor fieldset.cc-days { border: 0; padding: 0; margin: .5rem 0; background: none; }
.cc-daypick { display: flex; flex-wrap: wrap; gap: .4rem; }
.editor label.cc-day { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; min-width: 64px; margin: 0; padding: 0 .65rem; border: 1px solid #8fa79c; border-radius: .45rem; background: #fff; cursor: pointer; box-sizing: border-box; }
.editor label.cc-day input { width: 22px; height: 22px; min-height: 0; margin: 0; display: inline-block; accent-color: var(--brand); }
.editor label.cc-day:has(input:checked) { background: #e6f2ec; border-color: var(--brand); }
.editor label.cc-day:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.cc-chorerow .toolbar, .cc-chorerow button { margin-top: .3rem; }
@media print {
  @page { size: landscape; margin: .4in; }
  body[data-print="chart"] #panel-chart { display: block !important; }
  body[data-print="chart"] .cc-printhead { display: block; }
  .cc-printhead h2 { margin: 0; font-size: 1.4rem; }
  .cc-printhead p { margin: 0 0 .2rem; font-size: .8rem; color: #444; }
  body[data-print] .cc-week { margin: 0 0 .3rem; }
  body[data-print] .cc-totals ul { grid-template-columns: repeat(2, 1fr); margin-bottom: .4rem; gap: .1rem 1rem; }
  body[data-print] .cc-totals li { font-size: .9rem; }
  body[data-print] .cc-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body[data-print] .cc-kid { break-inside: avoid; margin: 0 0 .35rem; max-width: none; padding-bottom: .15rem; }
  body[data-print] .cc-kid-h { font-size: 1.05rem; padding: .2rem .6rem; }
  body[data-print] .cc-scroll { overflow: visible; }
  body[data-print] .cc-grid { display: table; }
  body[data-print] .cc-grid thead { display: table-header-group; }
  body[data-print] .cc-grid tbody { display: table-row-group; }
  body[data-print] .cc-grid tr { display: table-row; }
  body[data-print] .cc-grid th, body[data-print] .cc-grid td { display: table-cell; padding: .08rem .2rem; }
  body[data-print] .cc-grid tbody th { font-size: .9rem; }
  body[data-print] .cc-grid .cc-today { background: none; }
  body[data-print] .app button.cc-box { height: 30px; min-height: 30px; max-width: 46px; font-size: 1.15rem; border-width: 2px; }
}
