/* Trip checklist (checklist.html, assets/js/checklist.js). Hero comes from trip.css (.ph-trip). */
.ck-sec { padding-bottom: 90px !important; }
.ck-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }

/* summary card – sticky beside the list on desktop */
.ck-sum { position: sticky; top: 112px; padding: 22px 22px 18px; border: 1px solid #cfece8; border-radius: 22px; background: #eef8f7; }
.ck-eye { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--title); letter-spacing: .08em; text-transform: uppercase; color: #04645f; }
.ck-eye .ic { width: 15px; height: 15px; }
.ck-where { margin: 10px 0 0; font: 700 24px/1.2 var(--title); color: var(--navy); }
.ck-where span { color: #04847f; }
.ck-tdates { margin: 6px 0 0; font-size: 14.5px; color: #36525a; }
.ck-tdates b { color: var(--navy); font-weight: 600; }
.ck-prog { height: 8px; margin: 18px 0 0; border-radius: 99px; background: #d4ebe7; overflow: hidden; }
.ck-prog i { display: block; height: 100%; border-radius: inherit; background: #04847f; transition: width .4s ease; }
.ck-count { margin: 8px 0 0; font-size: 14px; color: #36525a; } .ck-count b { color: var(--navy); }
.ck-main { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 18px; border: 0; border-radius: 999px; background: #04847f; color: #fff; font: 600 16px var(--title); cursor: pointer; box-shadow: 0 12px 24px -16px rgba(4, 132, 127, .9); transition: background .15s; }
.ck-main:hover { background: #036f6b; } .ck-main .ic { width: 18px; height: 18px; }
.ck-nextl { margin: 8px 0 0; text-align: center; font-size: 13px; color: #5f6a80; }
.ck-all, .ck-saved { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font: 600 14px var(--title); color: #04645f; }
.ck-saved { margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: #fff; font-weight: 500; font-size: 13.5px; }
.ck-all .ic, .ck-saved .ic { width: 16px; height: 16px; flex: none; }
.ck-sumf { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #cfe3e0; font-size: 12.5px; color: #5f6a80; }
.ck-sumf a { display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px var(--title); color: #04645f; text-decoration: none; }
.ck-sumf a:hover { text-decoration: underline; } .ck-sumf .ic { width: 15px; height: 15px; }

/* groups */
.ck-grp + .ck-grp { margin-top: 26px; }
.ck-grp h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 19px var(--title); color: var(--navy); }
.ck-grp h3 small { margin-left: auto; font: 500 13px var(--title); color: #5f6a80; }
.ck-gi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #d9f2ef; color: #04847f; }
.ck-gi .ic { width: 16px; height: 16px; }
.ck-grp ol { margin: 0; padding: 0; list-style: none; border: 1px solid #e3e9ee; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 14px 34px -32px rgba(5, 56, 99, .5); }

/* rows */
.ck-row + .ck-row { border-top: 1px solid #eef2f5; }
.ck-head { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ck-head:hover { background: #fafcfc; }
.ck-head:focus-visible { outline: 3px solid #22b3a8; outline-offset: -3px; }
.ck-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px #cfd8df; color: #fff; }
.ck-mark .ic { width: 14px; height: 14px; stroke-width: 3; }
.ck-row.added .ck-mark { background: #d9f2ef; box-shadow: inset 0 0 0 2px #04847f; color: #04847f; }
.ck-row.confirmed .ck-mark { background: #04847f; box-shadow: none; }
.ck-txt { display: flex; flex-direction: column; min-width: 0; }
.ck-t { display: flex; align-items: center; gap: 8px; font: 600 15.5px var(--title); color: var(--navy); }
.ck-optl { padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px #d5dde4; font: 500 11px var(--title); color: #5f6a80; }
.ck-s { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: #5f6a80; overflow-wrap: anywhere; }
.ck-row.added .ck-s, .ck-row.confirmed .ck-s { color: #36525a; }
.ck-st { padding: 4px 10px; border-radius: 999px; font: 600 12px var(--title); white-space: nowrap; background: #f2f5f7; color: #5f6a80; }
.ck-st.added { background: #d9f2ef; color: #04645f; }
.ck-st.confirmed { background: #04847f; color: #fff; }
.ck-act { display: inline-flex; align-items: center; gap: 2px; min-width: 50px; justify-content: flex-end; font: 600 13.5px var(--title); color: #04847f; }
.ck-act .ic { width: 15px; height: 15px; transition: transform .2s; }
.ck-row.open .ck-act .ic { transform: rotate(90deg); }
.ck-metas { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -6px 0 0; padding: 0 18px 14px 60px; font-size: 13px; color: #5f6a80; }
.ck-not a { font-weight: 600; color: #04847f; text-underline-offset: 3px; }
.ck-row.open .ck-metas { display: none; }

/* expanded row */
.ck-body { padding: 4px 18px 18px 60px; }
.ck-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ck-fd { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ck-fd.wide { grid-column: 1 / -1; }
.ck-fd > span { font: 600 12.5px var(--title); color: #4a5b6b; }
.ck-fd input, .ck-fd select, .ck-fd textarea { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #dfe6ec; border-radius: 12px; background: #fff; font: 500 14.5px var(--text, inherit); color: var(--navy); }
.ck-fd textarea { height: auto; padding: 10px 12px; line-height: 1.45; resize: vertical; }
.ck-fd input:focus, .ck-fd select:focus, .ck-fd textarea:focus { outline: none; border-color: #04847f; box-shadow: 0 0 0 3px #d9f2ef; }
.ck-fd .filled { border-color: #04847f; background: #f3fbfa; }
.ck-hint { display: flex; gap: 10px; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #eef8f7; font-size: 13.5px; line-height: 1.5; color: #36525a; }
.ck-hint .ic { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #04847f; }
.ck-hint a { font-weight: 600; color: #04847f; }
.ck-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #5f6a80; }
.ck-chip { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: #f2f6f7; font: 500 13px var(--title); color: var(--navy); cursor: pointer; }
.ck-chip:hover { background: #d9f2ef; } .ck-chip:disabled { opacity: .5; cursor: default; }

.ck-paste { margin: 0 0 14px; border: 1px dashed #b9d9d4; border-radius: 14px; background: #fbfdfd; }
.ck-paste summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font: 600 13.5px var(--title); color: #04645f; cursor: pointer; list-style: none; }
.ck-paste summary::-webkit-details-marker { display: none; }
.ck-paste summary .ic { width: 16px; height: 16px; }
.ck-paste textarea { display: block; width: calc(100% - 24px); margin: 0 12px; padding: 10px 12px; border: 1px solid #dfe6ec; border-radius: 12px; font: 400 13.5px/1.5 var(--text, inherit); resize: vertical; }
.ck-prow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 12px; }
.ck-prow small { font-size: 12.5px; color: #5f6a80; }
.ck-pmsg { margin: 0 12px 12px; font-size: 13px; font-weight: 500; color: #04645f; } .ck-pmsg.bad { color: #a4472f; }
.ck-doc + .ck-pmsg { margin: 6px 0 0; }

.ck-docs { display: grid; gap: 8px; }
.ck-doc { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e3e9ee; border-radius: 14px; }
.ck-doc.has { border-color: #b9e2dc; background: #f6fbfa; }
.ck-dic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f2f6f7; color: #5f6a80; }
.ck-doc.has .ck-dic { background: #04847f; color: #fff; }
.ck-dic .ic { width: 17px; height: 17px; }
.ck-doc b { display: block; font: 600 14.5px var(--title); color: var(--navy); }
.ck-doc small { display: block; font-size: 12.5px; color: #5f6a80; overflow-wrap: anywhere; }
.ck-up { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #d9f2ef; font: 600 13.5px var(--title); color: #04645f; cursor: pointer; grid-column: span 2; justify-self: end; }
.ck-up .ic { width: 15px; height: 15px; }
.ck-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ck-fine { display: flex; gap: 8px; margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: #5f6a80; }
.ck-fine .ic { flex: none; width: 15px; height: 15px; margin-top: 1px; color: #04847f; }

.ck-coord { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: #04847f; color: #fff; font: 600 14.5px var(--title); text-decoration: none; cursor: pointer; }
.ck-btn:hover { background: #036f6b; }
.ck-btn.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px #cfe3e0; } .ck-btn.ghost:hover { background: #eef8f7; }
.ck-btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.ck-btn .ic { width: 16px; height: 16px; }
.ck-lnk { padding: 0; border: 0; background: none; font: 600 13.5px var(--title); color: #04847f; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-lnk.mute { color: #5f6a80; text-decoration: none; } .ck-lnk.mute:hover { color: var(--navy); }
.ck-tdates .ck-lnk { font-size: 14.5px; }

.ck-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef2f5; }
.ck-sp { flex: 1; }
.ck-ok { position: relative; display: inline-flex; align-items: center; gap: 8px; font: 500 13.5px var(--title); color: #36525a; cursor: pointer; }
.ck-ok input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-ok i { flex: none; width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px #b8c4cf; background: #fff center/12px no-repeat; }
.ck-ok input:checked + i { background-color: #04847f; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ck-ok input:focus-visible + i { outline: 3px solid #22b3a8; outline-offset: 2px; }
.ck-legal { margin: 18px 4px 0; font-size: 12.5px; line-height: 1.5; color: #5f6a80; }

@media (max-width: 1000px) {
  .ck-grid { grid-template-columns: 1fr; gap: 22px; }
  .ck-sum { position: static; }
}
@media (max-width: 640px) {
  .ck-head { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; padding: 13px 14px; }
  .ck-act { display: none; }
  .ck-metas { padding: 0 14px 12px 52px; }
  .ck-body { padding: 2px 14px 16px; }
  .ck-fields { grid-template-columns: 1fr 1fr; }
  .ck-fd:not(.tm) { grid-column: 1 / -1; }
  .ck-doc { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .ck-doc .ck-lnk.mute { grid-column: 3; }
  .ck-up { grid-column: auto; }
  .ck-acts .ck-btn { flex: 1; }
  .ck-sp { display: none; }
  .ck-ok { width: 100%; }
  .ck-where { font-size: 21px; }
}
