.ct-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: stretch; margin-bottom: 8px; }
.ct-top.solo { grid-template-columns: 1fr; }
.ct-counts { display: grid; gap: 12px; align-content: center; }
.ct-count-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.ct-count b { display: block; font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--ink); }
.ct-count.on b { color: var(--board); }
.ct-count.filled b { color: var(--seal); }
.ct-count span { display: block; font-size: 13px; color: var(--ink3); margin-top: 2px; }
.ct-count + .ct-count { border-left: 1px solid var(--rule); }
.ct-count-note { font-size: 13.5px; color: var(--ink2); text-align: center; line-height: 1.5; }
.ct-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-tiles .tile { min-width: 0; }
.ct-tiles .tile > div { min-width: 0; }
.ct-tiles .tile b, .ct-tiles .tile div > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

.ct-menus { columns: 2; column-gap: 20px; margin-top: 12px; }
.ct-menu { break-inside: avoid; padding-top: 18px; }
.ct-menu-head { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; }
.ct-menu-head h2 { font-size: 16.5px; flex: 1; }
.ct-sub { display: flex; align-items: center; }
.ct-sub > a.item { flex: 1; min-width: 0; padding-right: 8px; min-height: 58px; padding-top: 10px; padding-bottom: 10px; }
.ct-sub .tile-ico { width: 36px; height: 36px; border-radius: 10px; }
.ct-sub .item-title { font-size: 15px; }
.ct-sub.off .item-title { color: var(--ink3); }
.ct-sw { padding: 0 18px 0 6px; display: flex; align-items: center; }
.ct-missing { color: var(--amber); font-weight: 600; }

.ct-contact { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 20px; text-decoration: none; color: var(--ink); }
.ct-contact:hover { border-color: var(--rule2); box-shadow: var(--shadow); }
.ct-contact .tile-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--board-wash); color: var(--board); display: grid; place-items: center; flex: none; }
.ct-contact .chev { color: var(--ink3); }

.ct-gap { margin-bottom: 4px; }
.ct-profile { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.ct-aside { position: sticky; top: 72px; }
.ct-side-title { font-size: 16.5px; margin-bottom: 14px; }
.ct-images .field:last-of-type { margin-bottom: 12px; }
.ct-images .photo-pick { align-items: flex-start; }
.ct-hero .photo-pick { flex-direction: column; align-items: stretch; }
.ct-hero .photo-pick .preview { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.ct-geo { margin-bottom: 0; }
.ct-group-title { font-size: 16.5px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.ct-officers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ct-officers > .sheet + .sheet { margin-top: 0; }

.ct-page { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.ct-page.info { grid-template-columns: 1fr; }
.ct-page-side { position: sticky; top: 72px; }
.ct-page-side .field { margin-bottom: 0; }
.ct-img-box {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; border: 1.5px dashed var(--rule2); background: var(--ground);
  display: grid; place-items: center; overflow: hidden; cursor: pointer; padding: 0; color: var(--board);
  transition: border-color .15s, background .15s;
}
.ct-img-box:hover, .ct-img-box.over { border-color: var(--board); background: var(--board-wash); }
.ct-img-box.has { border-style: solid; border-color: var(--rule); background: var(--sunk); }
.ct-img-box img { width: 100%; height: 100%; object-fit: cover; }
.ct-img-empty { display: grid; justify-items: center; gap: 4px; padding: 16px; }
.ct-img-empty .ico { width: 32px; height: 32px; }
.ct-img-empty b { font-size: 15px; }
.ct-img-empty .small { color: var(--ink3); font-weight: 400; }
.ct-img-acts { justify-content: space-between; flex-wrap: wrap; }
.ct-img-acts:not(:has(.btn:not([hidden]))) { display: none; }
.btn.ct-img-rm { color: var(--red); }
.btn.ct-img-rm:hover { background: var(--red-wash); }
.ct-center { display: flex; justify-content: center; margin-top: -12px; }

.ct-parts-head { display: flex; justify-content: flex-end; margin: 16px 2px 10px; }

@media (max-width: 1100px) {
  .ct-top { grid-template-columns: 1fr; }
  .ct-profile { grid-template-columns: minmax(0, 1fr) 300px; }
  .ct-page { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ct-menus { columns: 1; }
  .ct-profile, .ct-page, .ct-officers { grid-template-columns: 1fr; }
  .ct-aside, .ct-page-side { position: static; }
  .ct-aside { order: -1; }
  .ct-img-box { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .ct-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ct-tiles .tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .ct-tiles .tile .tile-ico { width: 36px; height: 36px; }
  .ct-tiles .tile b { font-size: 14.5px; }
  .ct-tiles .tile div > span { font-size: 12.5px; }
  .ct-count b { font-size: 23px; }
  .ct-sw { padding-right: 14px; }
  .ct-sub > a.item { padding-left: 14px; gap: 12px; }
  .ct-contact { padding: 14px 16px; }
}
.ct-images > a { font-size: 14px; font-weight: 600; text-decoration: none; }
.ct-images > a:hover { text-decoration: underline; }
