/* Crew Connect: member features. Tokens match DESIGN.md. */
:root {
	--cc-ink: #262F3D;
	--cc-ink-2: #3E4A5C;
	--cc-muted: #5F6B7D;
	--cc-line: #D9DEE5;
	--cc-mist: #EEF1F4;
	--cc-paper: #FFFFFF;
	--cc-sea: #0A6C74;
	--cc-sea-dark: #08545A;
	--cc-tape: #FFC94A;
	--cc-go: #1E7B4F;
	--cc-hold: #9A5B00;
	--cc-stop: #B42318;
	--cc-font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--cc-display: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
	--cc-r-sm: 2px;
	--cc-r: 6px;
	--cc-shadow: 0 10px 30px -12px rgba(38, 47, 61, .35);
	--cc-max: 1200px;
}

/* ---------- Base inside plugin output ---------- */
.cc-home, .cc-subnav, .cc-form, .cc-directory, .cc-profile, .cc-messages, .cc-events, .cc-callsheet, .cc-notice, .cc-gate, .cc-edit, .cc-block, .cc-cards, .cc-panel, .cc-empty, .cc-cta {
	font-family: var(--cc-font);
	color: var(--cc-ink);
	box-sizing: border-box;
}
[class^="cc-"], [class*=" cc-"], .cc-home *, .cc-form *, .cc-directory *, .cc-profile *, .cc-messages *, .cc-edit *, .cc-cards *, .cc-callsheet *, .cc-events *, .cc-people * { box-sizing: border-box; }
.cc-icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.cc-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cc-hp { position: absolute; left: -9999px; }
.cc-small { font-size: 15px; line-height: 1.5; color: var(--cc-muted); }
.cc-muted { color: var(--cc-muted); }
.cc-lede { font-size: 19px; line-height: 1.55; color: var(--cc-ink-2); max-width: 60ch; }
.cc-count { display: inline-block; min-width: 1.8em; padding: 0 .45em; margin-left: 6px; font-family: var(--cc-font); font-size: 15px; font-weight: 600; line-height: 1.7; text-align: center; background: var(--cc-mist); border-radius: 999px; vertical-align: middle; }
.cc-badge { display: inline-block; min-width: 20px; padding: 0 6px; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; color: #fff; background: var(--cc-sea); border-radius: 999px; }

.cc-display, .cc-h2, .cc-section__title, .cc-block__title, .cc-profile__name, .cc-gate__title, .cc-cta__title, .cc-callsheet__title, .cc-empty h2, .cc-card__name, .cc-event__title, .cc-offer__item h3 {
	font-family: var(--cc-display);
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--cc-ink);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .cc-btn:focus-visible {
	outline: 3px solid var(--cc-sea);
	outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.cc-btn {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	font-family: var(--cc-font); font-size: 16px; font-weight: 600; line-height: 1.2;
	color: #fff; background: var(--cc-sea);
	border: 1px solid var(--cc-sea); border-radius: var(--cc-r-sm);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.cc-btn:hover, .cc-btn:focus { color: #fff; background: var(--cc-sea-dark); border-color: var(--cc-sea-dark); text-decoration: none; }
.cc-btn--secondary { color: var(--cc-ink); background: transparent; border-color: var(--cc-ink); }
.cc-btn--secondary:hover, .cc-btn--secondary:focus { color: #fff; background: var(--cc-ink); border-color: var(--cc-ink); }
.cc-btn--quiet { color: var(--cc-sea); background: transparent; border-color: transparent; padding-left: 8px; padding-right: 8px; }
.cc-btn--quiet:hover, .cc-btn--quiet:focus { color: var(--cc-sea-dark); background: var(--cc-mist); border-color: transparent; }
.cc-btn--danger { background: var(--cc-stop); border-color: var(--cc-stop); }
.cc-btn--danger:hover, .cc-btn--danger:focus { background: #8E1B12; border-color: #8E1B12; }
.cc-btn--on-dark { color: var(--cc-ink); background: #fff; border-color: #fff; }
.cc-btn--on-dark:hover, .cc-btn--on-dark:focus { color: var(--cc-ink); background: var(--cc-mist); border-color: var(--cc-mist); }
.cc-btn--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.6); }
.cc-btn--ghost:hover, .cc-btn--ghost:focus { color: var(--cc-ink); background: #fff; border-color: #fff; }
.cc-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 15px; }
.cc-btn--block { width: 100%; justify-content: center; }
.cc-btn[disabled] { opacity: .45; cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 0; }
.cc-inline-form { display: inline; margin: 0; }

/* ---------- Notices, gates, empty states ---------- */
.cc-notice { margin: 0 0 24px; padding: 14px 18px; font-size: 16px; line-height: 1.5; border: 1px solid var(--cc-line); border-left: 4px solid var(--cc-sea); border-radius: var(--cc-r-sm); background: var(--cc-paper); }
.cc-notice--success { border-left-color: var(--cc-go); }
.cc-notice--error { border-left-color: var(--cc-stop); background: #FDF3F2; }
.cc-notice--info { border-left-color: var(--cc-ink); }
.cc-gate, .cc-panel { max-width: 640px; padding: 32px; border: 1px solid var(--cc-line); border-radius: var(--cc-r); background: var(--cc-paper); }
.cc-gate__title { margin: 0 0 8px; font-size: 32px; line-height: 1.1; }
.cc-empty { padding: 40px 32px; border: 1px dashed var(--cc-line); border-radius: var(--cc-r); background: var(--cc-paper); }
.cc-empty h2 { margin: 0 0 8px; font-size: 26px; }
.cc-empty--compact { padding: 24px; }

/* ---------- Member sub-nav ---------- */
.cc-subnav { margin: 0 0 32px; border-bottom: 1px solid var(--cc-line); }
.cc-subnav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.cc-subnav a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; font-weight: 600; font-size: 16px; color: var(--cc-ink-2); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.cc-subnav a:hover { color: var(--cc-ink); border-bottom-color: var(--cc-line); }
.cc-subnav a[aria-current="page"] { color: var(--cc-ink); border-bottom-color: var(--cc-sea); }

/* ---------- Forms ---------- */
.cc-form { max-width: 760px; }
.cc-field { margin: 0 0 20px; }
.cc-field > label, .cc-label, .cc-field legend, .cc-form .login-username label, .cc-form .login-password label { display: block; margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--cc-ink); }
.cc-field legend { padding: 0; }
fieldset.cc-field { border: 0; padding: 0; min-width: 0; }
.cc-optional { font-weight: 400; color: var(--cc-muted); font-size: 14px; }
.cc-form input[type=text], .cc-form input[type=email], .cc-form input[type=password], .cc-form input[type=url], .cc-form input[type=tel], .cc-form input[type=number], .cc-form input[type=date], .cc-form input[type=search], .cc-form select, .cc-form textarea,
.cc-filters input[type=search], .cc-filters select, .cc-sort select, .cc-compose textarea {
	width: 100%; min-height: 44px; padding: 10px 12px;
	font-family: var(--cc-font); font-size: 16px; line-height: 1.4; color: var(--cc-ink);
	background: var(--cc-paper); border: 1px solid #B8C0CB; border-radius: var(--cc-r-sm);
	box-shadow: none;
}
.cc-form textarea { min-height: 120px; resize: vertical; }
.cc-form input:hover, .cc-form select:hover, .cc-form textarea:hover { border-color: var(--cc-ink-2); }
.cc-field--error input, .cc-field--error select, .cc-field--error textarea { border-color: var(--cc-stop); }
.cc-field__error { margin: 6px 0 0; font-size: 15px; color: var(--cc-stop); }
.cc-help { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--cc-muted); }
.cc-field--check label, .cc-inline-check, .cc-checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 16px; line-height: 1.45; cursor: pointer; }
.cc-field--check input, .cc-inline-check input, .cc-checks input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--cc-sea); }
.cc-inline-check { margin-top: 10px; font-size: 15px; }
.cc-checks { display: grid; gap: 10px 20px; }
.cc-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cc-checks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cc-form .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.cc-form .login-submit .button { display: inline-flex; min-height: 44px; padding: 10px 24px; font-family: var(--cc-font); font-size: 16px; font-weight: 600; color: #fff; background: var(--cc-sea); border: 1px solid var(--cc-sea); border-radius: var(--cc-r-sm); cursor: pointer; }
.cc-form .login-submit .button:hover { background: var(--cc-sea-dark); }
.cc-login { max-width: 440px; }
.cc-join { max-width: 640px; }

/* ---------- Edit profile ---------- */
.cc-edit { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.cc-edit__aside { position: sticky; top: 24px; }
.cc-edit__nav ul { margin: 16px 0 24px; padding: 0; list-style: none; border-left: 2px solid var(--cc-line); }
.cc-edit__nav a { display: block; padding: 7px 14px; margin-left: -2px; font-size: 16px; color: var(--cc-ink-2); text-decoration: none; border-left: 2px solid transparent; }
.cc-edit__nav a:hover, .cc-edit__nav a.is-current { color: var(--cc-ink); border-left-color: var(--cc-sea); }
.cc-progress { padding: 16px; background: var(--cc-mist); border-radius: var(--cc-r); }
.cc-progress__head { font-size: 15px; color: var(--cc-ink-2); }
.cc-progress__head strong { font-family: var(--cc-display); font-size: 28px; color: var(--cc-ink); margin-right: 4px; }
.cc-progress__bar { height: 6px; margin: 8px 0; background: var(--cc-paper); border-radius: 999px; overflow: hidden; }
.cc-progress__bar span { display: block; height: 100%; background: var(--cc-sea); }
.cc-progress .cc-small { margin: 8px 0 0; }
.cc-edit__main .cc-form { max-width: none; }
.cc-section { padding: 32px 0; border-top: 1px solid var(--cc-line); scroll-margin-top: 24px; }
.cc-section:first-child { padding-top: 0; border-top: 0; }
.cc-section__title { margin: 0 0 4px; font-size: 32px; line-height: 1.1; }
.cc-section__title + .cc-help { margin: 0 0 20px; }
.cc-section__fields { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.cc-section__fields > .cc-field--textarea, .cc-section__fields > .cc-field--checkboxes, .cc-section__fields > .cc-field--photo,
.cc-section__fields > .cc-field--tags, .cc-section__fields > .cc-repeater, .cc-section__fields > fieldset, .cc-section__fields > .cc-field--check, .cc-section__fields > .cc-field--file { grid-column: 1 / -1; }
.cc-photo-field__row { display: flex; gap: 20px; align-items: center; }
.cc-file-btn { cursor: pointer; }
.cc-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 16px; align-items: center; margin: 8px 0 0; padding: 14px 16px; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: var(--cc-r); box-shadow: var(--cc-shadow); }
.cc-repeater { grid-column: 1 / -1; }
.cc-repeater__row { position: relative; display: grid; gap: 0 12px; padding: 16px 48px 0 16px; margin: 0 0 12px; background: var(--cc-mist); border-radius: var(--cc-r); }
.cc-credit-row { grid-template-columns: 2fr 1.5fr 1.3fr .7fr 1.5fr; }
.cc-reel-row { grid-template-columns: 1fr 2fr; }
.cc-repeater__row .cc-field { margin-bottom: 16px; }
.cc-repeater__row label { display: block; font-size: 14px; font-weight: 600; }
.cc-repeater__row label input, .cc-repeater__row label select { margin-top: 4px; }
.cc-repeater__remove { position: absolute; top: 12px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; color: var(--cc-muted); background: transparent; border: 0; border-radius: var(--cc-r-sm); cursor: pointer; }
.cc-repeater__remove:hover { color: var(--cc-stop); background: var(--cc-paper); }
.cc-danger { margin-top: 32px; padding: 16px; border: 1px solid var(--cc-line); border-radius: var(--cc-r); }
.cc-danger summary { cursor: pointer; font-weight: 600; color: var(--cc-stop); }

/* ---------- Photos ---------- */
.cc-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cc-mist); border-radius: var(--cc-r); }
.cc-photo--initials { display: grid; place-items: center; font-family: var(--cc-display); font-weight: 700; font-size: 44px; color: var(--cc-ink-2); background: var(--cc-mist); }
.cc-photo--sm { width: 44px; height: 44px; font-size: 17px; border-radius: 50%; }
.cc-photo--lg { width: 120px; height: 120px; font-size: 40px; }
.cc-photo--xl { width: 100%; max-width: 240px; font-size: 72px; }

/* ---------- Directory ---------- */
.cc-filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px 16px; align-items: end; padding: 20px; background: var(--cc-mist); border-radius: var(--cc-r); }
.cc-filters .cc-field { margin: 0; }
.cc-filters label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.cc-search { position: relative; }
.cc-search .cc-icon { position: absolute; left: 12px; top: 12px; color: var(--cc-muted); }
.cc-search input[type=search] { padding-left: 40px; }
.cc-filters__more { grid-column: 1 / -1; }
.cc-filters__more summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--cc-sea); }
.cc-filters__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; margin-top: 12px; }
.cc-filters__actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.cc-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 16px; }
.cc-results-count { margin: 0; font-size: 16px; color: var(--cc-ink-2); }
.cc-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.cc-sort select { width: auto; min-height: 38px; padding: 6px 10px; }
.cc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.cc-cards > li { margin: 0; }
.cc-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: var(--cc-r); overflow: hidden; }
.cc-card:hover { border-color: var(--cc-ink-2); }
.cc-card__photo { display: block; text-decoration: none; }
.cc-person__photo, .cc-faces a, .cc-thread-head__who { text-decoration: none; }
.cc-card__photo .cc-photo { border-radius: 0; }
.cc-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cc-card__name { margin: 0; font-size: 24px; line-height: 1.15; }
.cc-card__name a { color: inherit; text-decoration: none; }
.cc-card__name a::after { content: ""; position: absolute; inset: 0; }
.cc-card__name a:focus-visible { outline: none; }
.cc-card:focus-within { outline: 3px solid var(--cc-sea); outline-offset: 2px; }
.cc-card__headline { margin: 4px 0 0; font-size: 16px; line-height: 1.4; color: var(--cc-ink-2); }
.cc-card__meta { margin: 8px 0 0; font-size: 14px; color: var(--cc-muted); }
.cc-card__avail { margin: auto 0 0; padding-top: 10px; font-size: 14px; }
.cc-avail { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--cc-ink-2); }
.cc-avail__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cc-muted); }
.cc-avail--available .cc-avail__dot { background: var(--cc-go); }
.cc-avail--from .cc-avail__dot { background: var(--cc-hold); }
.cc-avail--booked .cc-avail__dot { background: var(--cc-stop); }
.cc-pagination { margin: 32px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.cc-pagination .page-numbers { display: inline-flex; align-items: center; min-width: 40px; min-height: 40px; justify-content: center; padding: 0 12px; border: 1px solid var(--cc-line); border-radius: var(--cc-r-sm); color: var(--cc-ink); text-decoration: none; }
.cc-pagination .current { background: var(--cc-ink); border-color: var(--cc-ink); color: #fff; }

/* ---------- Gaffer tape label ---------- */
.cc-tape {
	display: inline-block;
	padding: .06em .32em .02em;
	color: var(--cc-ink);
	background: var(--cc-tape);
	transform: rotate(-1.2deg);
	box-decoration-break: clone; -webkit-box-decoration-break: clone;
	clip-path: polygon(0 4%, 1.5% 0, 98% 6%, 100% 0, 99.2% 52%, 100% 100%, 2% 96%, 0 100%, .8% 50%);
}

/* ---------- Profile ---------- */
.cc-profile__head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: end; padding: 0 0 32px; border-bottom: 1px solid var(--cc-line); }
.cc-profile__name { margin: 0 0 12px; font-size: clamp(40px, 5vw, 56px); line-height: 1.05; font-weight: 800; }
.cc-profile__pronouns { margin: 0 0 4px; font-size: 15px; color: var(--cc-muted); }
.cc-profile__headline { margin: 0 0 12px; font-size: 22px; line-height: 1.35; color: var(--cc-ink-2); }
.cc-profile__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 16px; color: var(--cc-ink-2); }
.cc-profile__meta li { display: inline-flex; align-items: center; gap: 6px; }
.cc-profile__meta .cc-icon { color: var(--cc-muted); }
.cc-profile__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.cc-connected, .cc-pending-label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--cc-go); }
.cc-pending-label { color: var(--cc-hold); }
.cc-profile__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 32px; }
.cc-block { margin: 0 0 40px; }
.cc-block__title { margin: 0 0 14px; font-size: 28px; line-height: 1.1; }
.cc-block__sub { margin: 20px 0 8px; font-family: var(--cc-font); font-size: 16px; font-weight: 600; color: var(--cc-ink); }
.cc-block--side { padding: 20px; margin-bottom: 20px; border: 1px solid var(--cc-line); border-radius: var(--cc-r); }
.cc-block--side .cc-block__title { font-size: 22px; }
.cc-block--empty p { color: var(--cc-muted); }
.cc-prose { font-size: 17px; line-height: 1.6; max-width: 68ch; }
.cc-prose p { margin: 0 0 1em; }
.cc-reels { display: grid; gap: 20px; }
.cc-reel { margin: 0; }
.cc-reel__frame { position: relative; aspect-ratio: 16 / 9; background: var(--cc-ink); border-radius: var(--cc-r); overflow: hidden; }
.cc-reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cc-reel figcaption { margin-top: 8px; font-size: 15px; color: var(--cc-muted); }
.cc-reel__link { display: inline-flex; gap: 8px; align-items: center; padding: 14px 18px; font-weight: 600; color: var(--cc-sea); border: 1px solid var(--cc-line); border-radius: var(--cc-r); text-decoration: none; }
.cc-credits { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--cc-ink); }
.cc-credit { display: grid; grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--cc-line); font-size: 16px; }
.cc-credit__year { font-family: var(--cc-display); font-weight: 700; font-size: 18px; color: var(--cc-muted); }
.cc-credit__title { font-weight: 600; }
.cc-credit__type { display: block; font-weight: 400; font-size: 14px; color: var(--cc-muted); }
.cc-credit__company { color: var(--cc-muted); }
.cc-dl { margin: 0; }
.cc-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--cc-mist); font-size: 15px; }
.cc-dl dt { color: var(--cc-muted); }
.cc-dl dd { margin: 0; font-weight: 500; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cc-chips li { padding: 4px 11px; font-size: 14px; line-height: 1.4; background: var(--cc-mist); border-radius: 999px; }
.cc-ticks, .cc-links, .cc-contact { margin: 0; padding: 0; list-style: none; }
.cc-ticks li, .cc-links li, .cc-contact li { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: 15px; }
.cc-ticks .cc-icon { color: var(--cc-go); }
.cc-links a, .cc-contact a { color: var(--cc-sea); text-decoration: none; word-break: break-word; }
.cc-links a:hover, .cc-contact a:hover { text-decoration: underline; }
.cc-links .cc-icon, .cc-contact .cc-icon { color: var(--cc-muted); }
.cc-report a { color: var(--cc-muted); }

/* ---------- Connections ---------- */
.cc-people { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--cc-line); }
.cc-person { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cc-line); }
.cc-person__id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-person__name { font-weight: 600; color: var(--cc-ink); text-decoration: none; }
.cc-person__headline { font-size: 15px; color: var(--cc-muted); }
.cc-person__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- Messages ---------- */
.cc-messages { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 520px; border: 1px solid var(--cc-line); border-radius: var(--cc-r); overflow: hidden; background: var(--cc-paper); }
.cc-messages__list { border-right: 1px solid var(--cc-line); overflow-y: auto; max-height: 70vh; }
.cc-messages__list ul { margin: 0; padding: 0; list-style: none; }
.cc-thread { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; color: var(--cc-ink); text-decoration: none; border-bottom: 1px solid var(--cc-mist); }
.cc-thread:hover { background: var(--cc-mist); }
.cc-thread.is-active { background: var(--cc-mist); box-shadow: inset 3px 0 0 var(--cc-sea); }
.cc-thread__text { min-width: 0; display: flex; flex-direction: column; }
.cc-thread__name { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.cc-thread__preview { font-size: 14px; color: var(--cc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-thread.is-unread .cc-thread__preview { color: var(--cc-ink); font-weight: 500; }
.cc-thread__time { font-size: 13px; color: var(--cc-muted); align-self: start; }
.cc-messages__thread { display: flex; flex-direction: column; min-width: 0; }
.cc-thread-head { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--cc-line); }
.cc-thread-head__back { display: none; }
.cc-thread-head__who { display: flex; gap: 12px; align-items: center; flex: 1; color: var(--cc-ink); text-decoration: none; }
.cc-thread-head__who span { display: flex; flex-direction: column; }
.cc-bubbles { flex: 1; margin: 0; padding: 20px; list-style: none; overflow-y: auto; max-height: 60vh; background: #F7F8FA; }
.cc-bubbles__day { margin: 12px 0; text-align: center; font-size: 13px; color: var(--cc-muted); }
.cc-bubbles__empty { padding: 32px 8px; color: var(--cc-muted); }
.cc-bubble { max-width: 72%; margin: 0 0 10px; }
.cc-bubble__body { padding: 10px 14px; font-size: 16px; line-height: 1.5; background: var(--cc-paper); border: 1px solid var(--cc-line); border-radius: 12px 12px 12px 2px; overflow-wrap: anywhere; }
.cc-bubble__time { display: block; margin-top: 3px; font-size: 12px; color: var(--cc-muted); }
.cc-bubble--mine { margin-left: auto; text-align: right; }
.cc-bubble--mine .cc-bubble__body { text-align: left; color: #fff; background: var(--cc-sea); border-color: var(--cc-sea); border-radius: 12px 12px 2px 12px; }
.cc-bubble--mine .cc-bubble__body a { color: #fff; }
.cc-compose { display: flex; gap: 10px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--cc-line); margin: 0; }
.cc-compose textarea { flex: 1; min-height: 48px; resize: vertical; }
.cc-compose-note { padding: 12px 16px; margin: 0; border-top: 1px solid var(--cc-line); }

/* ---------- Events ---------- */
.cc-events { display: grid; gap: 0; border-top: 2px solid var(--cc-ink); }
.cc-event { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--cc-line); }
.cc-event__date { display: flex; flex-direction: column; align-items: center; padding: 8px 0; font-family: var(--cc-display); color: var(--cc-ink); border: 1px solid var(--cc-ink); border-radius: var(--cc-r-sm); }
.cc-event__day { font-size: 32px; font-weight: 800; line-height: 1; }
.cc-event__month { font-size: 15px; font-weight: 700; }
.cc-event__title { margin: 0 0 6px; font-size: 26px; line-height: 1.15; }
.cc-event__title a { color: inherit; text-decoration: none; }
.cc-event__title a:hover { color: var(--cc-sea); }
.cc-event__meta { display: flex; gap: 6px; align-items: center; margin: 2px 0; font-size: 15px; color: var(--cc-ink-2); }
.cc-event__meta .cc-icon { width: 17px; height: 17px; color: var(--cc-muted); }
.cc-event__excerpt { margin: 8px 0 0; font-size: 16px; color: var(--cc-ink-2); max-width: 64ch; }
.cc-event__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.cc-events--past .cc-event { opacity: .75; }
.cc-events-past-title { margin-top: 48px; }
.cc-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; font-size: 14px; font-weight: 600; border-radius: 999px; }
.cc-tag--go { color: var(--cc-go); background: #E5F2EB; }
.cc-tag--hold { color: var(--cc-hold); background: #FBF0DF; }
.cc-tag .cc-icon { width: 16px; height: 16px; }

/* Call sheet */
.cc-callsheet { padding: 24px; background: var(--cc-paper); border: 1px solid var(--cc-line); border-top: 4px solid var(--cc-ink); border-radius: 0 0 var(--cc-r) var(--cc-r); }
.cc-callsheet__label { margin: 0 0 14px; font-family: var(--cc-display); font-size: 22px; font-weight: 700; }
.cc-callsheet__title { margin: 0 0 12px; font-size: 30px; line-height: 1.1; }
.cc-callsheet__title a { color: inherit; text-decoration: none; }
.cc-callsheet__rows { margin: 0; border-top: 1px solid var(--cc-ink); }
.cc-callsheet > .cc-callsheet__rows:first-child { border-top: 0; margin-top: -10px; }
.cc-callsheet__rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cc-line); }
.cc-callsheet__rows dt { font-family: var(--cc-display); font-size: 17px; font-weight: 700; color: var(--cc-ink); }
.cc-callsheet__rows dd { margin: 0; font-size: 16px; line-height: 1.45; }
.cc-callsheet__rows a { color: var(--cc-sea); }
.cc-event-single .cc-callsheet { max-width: 720px; margin: 0 0 32px; }
.cc-event-single__body { margin-bottom: 32px; }
.cc-rsvp { margin-top: 16px; }
.cc-rsvp p { margin: 0 0 8px; }
.cc-rsvp__state { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 18px; }
.cc-rsvp__state--going { color: var(--cc-go); }
.cc-rsvp__state--wait { color: var(--cc-hold); }
.cc-faces { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cc-faces a { display: block; }

/* ---------- Home ---------- */
.cc-home { --cc-gutter: clamp(20px, 4vw, 40px); }
.cc-home > section, .cc-home > .cc-cta { margin-left: auto; margin-right: auto; }
.cc-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.cc-display { margin: 0; font-size: clamp(46px, 6.4vw, 84px); line-height: .95; font-weight: 800; text-wrap: balance; }
.cc-hero__lede { margin: 24px 0 0; max-width: 54ch; font-size: 20px; line-height: 1.55; color: var(--cc-ink-2); }
.cc-hero__card .cc-callsheet { box-shadow: var(--cc-shadow); }
.cc-home-section { padding: clamp(48px, 6vw, 72px) 0; }
.cc-h2 { margin: 0 0 16px; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; }
.cc-offer { border-top: 1px solid var(--cc-line); }
.cc-offer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 24px; }
.cc-offer__item { padding: 20px 0; border-top: 2px solid var(--cc-ink); }
.cc-offer__item h3 { margin: 0 0 6px; font-size: 26px; }
.cc-offer__item p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--cc-ink-2); max-width: 52ch; }
.cc-band--ink { position: relative; color: #fff; background: var(--cc-ink); box-shadow: 0 0 0 100vmax var(--cc-ink); clip-path: inset(0 -100vmax); }
.cc-band--ink .cc-h2, .cc-band--ink p { color: #fff; }
.cc-band--ink p { max-width: 62ch; font-size: 18px; line-height: 1.6; color: #D9DEE5; }
.cc-band--ink a:focus-visible { outline-color: var(--cc-tape); }
.cc-depts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-family: var(--cc-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.3; color: #fff; }
.cc-depts li:nth-child(3n+2) { color: #9AA6B6; }
.cc-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cc-section-head a { font-weight: 600; color: var(--cc-sea); }
.cc-privacy { max-width: 760px; margin-left: 0 !important; }
.cc-privacy p { font-size: 18px; line-height: 1.6; color: var(--cc-ink-2); }
.cc-stats { display: flex; flex-wrap: wrap; gap: 16px 56px; margin: 40px 0 0; }
.cc-stats > div { display: flex; flex-direction: column-reverse; }
.cc-stats dt { font-size: 15px; color: var(--cc-muted); }
.cc-stats dd { margin: 0; font-family: var(--cc-display); font-size: 52px; font-weight: 800; line-height: 1; }
.cc-cta { margin: 0 0 64px; padding: clamp(32px, 5vw, 56px); color: #fff; background: var(--cc-ink); border-radius: var(--cc-r); }
.cc-cta__title { margin: 0 0 8px; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; color: #fff; }
.cc-cta p { max-width: 56ch; margin: 0; font-size: 18px; color: #D9DEE5; }
.cc-cta .cc-actions { margin-top: 24px; }
.cc-cta a:focus-visible { outline-color: var(--cc-tape); }

/* Header menu items added by the plugin */
.cc-menu-join > a { padding: 8px 16px !important; color: #fff !important; background: var(--cc-sea); border-radius: var(--cc-r-sm); }
.cc-menu-join > a:hover { background: var(--cc-sea-dark); }
.cc-account-menu { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0; padding: 0; list-style: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cc-profile__body { grid-template-columns: 1fr; }
	.cc-filters { grid-template-columns: 1fr 1fr; }
	.cc-filters__search { grid-column: 1 / -1; }
	.cc-credit-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.cc-hero { grid-template-columns: 1fr; }
	.cc-edit { grid-template-columns: 1fr; gap: 24px; }
	.cc-edit__aside { position: static; }
	.cc-edit__nav { display: none; }
	.cc-offer__list { grid-template-columns: 1fr; }
	.cc-messages { grid-template-columns: 1fr; }
	.cc-messages.is-thread .cc-messages__list { display: none; }
	.cc-messages:not(.is-thread) .cc-messages__thread { display: none; }
	.cc-messages__list { border-right: 0; max-height: none; }
	.cc-thread-head__back { display: inline; font-size: 15px; color: var(--cc-sea); }
	.cc-thread-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
	.cc-grid-2, .cc-section__fields, .cc-filters, .cc-filters__row, .cc-checks--2, .cc-checks--3, .cc-reel-row, .cc-credit-row { grid-template-columns: 1fr; }
	.cc-profile__head { grid-template-columns: 1fr; gap: 20px; }
	.cc-photo--xl { max-width: 160px; }
	.cc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cc-card__name { font-size: 20px; }
	.cc-card__body { padding: 10px 12px 12px; }
	.cc-card__headline { font-size: 14px; }
	.cc-event { grid-template-columns: 56px minmax(0, 1fr); }
	.cc-event__side { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; }
	.cc-credit { grid-template-columns: 48px 1fr; }
	.cc-credit__role, .cc-credit__company { grid-column: 2; }
	.cc-callsheet__rows > div { grid-template-columns: 96px 1fr; }
	.cc-bubble { max-width: 88%; }
	.cc-savebar .cc-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cc-btn { transition: none; }
}

/* ---------- v1.2 additions ---------- */
.cc-form ::placeholder, .cc-filters ::placeholder { color: #98A1AE; opacity: 1; }
.cc-subhead { margin: 12px 0 0; font-family: var(--cc-display); font-size: 22px; font-weight: 700; color: var(--cc-ink); }
.cc-section__fields > .cc-field--note, .cc-section__fields > .cc-field--image { grid-column: 1 / -1; }
.cc-field--note { margin-bottom: 12px; }
.cc-image-field__current { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; }
.cc-image-field__current img { max-width: 180px; max-height: 80px; width: auto; height: auto; padding: 8px; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-r-sm); }
.cc-image-field__current .cc-inline-check { margin-top: 0; }
.cc-company-logo { display: block; max-width: 200px; max-height: 88px; width: auto; height: auto; margin: 0 0 14px; }
.cc-imdb-import { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 20px; padding: 14px 16px; background: var(--cc-mist); border-radius: var(--cc-r); }
.cc-imdb-import p { margin: 0; flex: 1 1 280px; }
.cc-credits-more { margin: 14px 0 0; }
.cc-todo { background: #FFF1C2; color: var(--cc-ink); padding: 0 4px; }
.cc-prose h2 { font-size: 28px; margin: 1.6em 0 .4em; }

/* ---------- v1.3.2: hold our button and link colours above Elementor's global styles ----------
   Elementor's Site Settings write rules like ".elementor-kit-5 a" and ".elementor-kit-5 button",
   which outrank a single class. These restate ours with more weight. */
html body .cc-btn.cc-btn { padding: 10px 20px; font-family: var(--cc-font); font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none; color: #fff; background: var(--cc-sea); border: 1px solid var(--cc-sea); border-radius: var(--cc-r-sm); }
html body .cc-btn.cc-btn:hover, html body .cc-btn.cc-btn:focus { color: #fff; background: var(--cc-sea-dark); border-color: var(--cc-sea-dark); text-decoration: none; }
html body .cc-btn.cc-btn--secondary { color: var(--cc-ink); background: transparent; border-color: var(--cc-ink); }
html body .cc-btn.cc-btn--secondary:hover, html body .cc-btn.cc-btn--secondary:focus { color: #fff; background: var(--cc-ink); border-color: var(--cc-ink); }
html body .cc-btn.cc-btn--quiet { color: var(--cc-sea); background: transparent; border-color: transparent; padding-left: 8px; padding-right: 8px; }
html body .cc-btn.cc-btn--quiet:hover, html body .cc-btn.cc-btn--quiet:focus { color: var(--cc-sea-dark); background: var(--cc-mist); border-color: transparent; }
html body .cc-btn.cc-btn--danger { color: #fff; background: var(--cc-stop); border-color: var(--cc-stop); }
html body .cc-btn.cc-btn--danger:hover, html body .cc-btn.cc-btn--danger:focus { color: #fff; background: #8E1B12; border-color: #8E1B12; }
html body .cc-btn.cc-btn--on-dark { color: var(--cc-ink); background: #fff; border-color: #fff; }
html body .cc-btn.cc-btn--on-dark:hover, html body .cc-btn.cc-btn--on-dark:focus { color: var(--cc-ink); background: var(--cc-mist); border-color: var(--cc-mist); }
html body .cc-btn.cc-btn--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.6); }
html body .cc-btn.cc-btn--ghost:hover, html body .cc-btn.cc-btn--ghost:focus { color: var(--cc-ink); background: #fff; border-color: #fff; }
html body .cc-btn.cc-btn--sm { padding: 6px 14px; font-size: 15px; }
html body .cc-btn.cc-btn--quiet.cc-btn--sm { padding-left: 8px; padding-right: 8px; }
html body .cc-repeater__remove.cc-repeater__remove { padding: 0; color: var(--cc-muted); background: transparent; border: 0; border-radius: var(--cc-r-sm); }
html body .cc-repeater__remove.cc-repeater__remove:hover, html body .cc-repeater__remove.cc-repeater__remove:focus { color: var(--cc-stop); background: var(--cc-paper); }
html body .cc-form .login-submit .button.button { color: #fff; background: var(--cc-sea); border: 1px solid var(--cc-sea); border-radius: var(--cc-r-sm); }

html body .cc-subnav.cc-subnav a, html body .cc-edit__nav.cc-edit__nav a { color: var(--cc-ink-2); text-decoration: none; }
html body .cc-subnav.cc-subnav a:hover, html body .cc-subnav.cc-subnav a[aria-current="page"], html body .cc-edit__nav.cc-edit__nav a:hover, html body .cc-edit__nav.cc-edit__nav a.is-current { color: var(--cc-ink); }
html body .cc-card__name.cc-card__name a, html body .cc-callsheet__title.cc-callsheet__title a, html body a.cc-person__name.cc-person__name, html body a.cc-thread.cc-thread, html body a.cc-thread-head__who.cc-thread-head__who,
html body .cc-card__name.cc-card__name a:hover, html body .cc-callsheet__title.cc-callsheet__title a:hover, html body a.cc-person__name.cc-person__name:hover, html body a.cc-thread.cc-thread:hover, html body a.cc-thread-head__who.cc-thread-head__who:hover { color: var(--cc-ink); text-decoration: none; }
html body .cc-event__title.cc-event__title a { color: var(--cc-ink); text-decoration: none; }
html body .cc-event__title.cc-event__title a:hover { color: var(--cc-sea); }
html body .cc-card__photo.cc-card__photo, html body .cc-person__photo.cc-person__photo, html body .cc-faces.cc-faces a { text-decoration: none; }
html body .cc-bubble--mine .cc-bubble__body.cc-bubble__body a, html body .cc-bubble--mine .cc-bubble__body.cc-bubble__body a:hover { color: #fff; text-decoration: underline; }
html body .cc-pagination.cc-pagination .page-numbers { color: var(--cc-ink); text-decoration: none; }
html body .cc-pagination.cc-pagination .current { color: #fff; }
html body .cc-links.cc-links a, html body .cc-contact.cc-contact a, html body .cc-reel__link.cc-reel__link { text-decoration: none; }
html body .cc-cta.cc-cta a:not(.cc-btn) { color: #fff; }
.cc-credit-row { grid-template-columns: 2fr 1.4fr 1.3fr 92px 1.4fr; }
.cc-credit-row .cc-field--year input { padding-left: 8px; padding-right: 4px; }
@media (max-width: 1024px) { .cc-credit-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cc-credit-row { grid-template-columns: 1fr; } }

/* ---------- v1.4: members-only event details, "going to" on profiles ---------- */
.cc-event--locked { grid-template-columns: 1fr; }
.cc-event-locked p { margin: 0 0 12px; color: var(--cc-ink-2); }
.cc-event-locked .cc-actions { margin-top: 0; }
.cc-event-locked--page { max-width: 640px; padding: 24px; border: 1px solid var(--cc-line); border-top: 4px solid var(--cc-ink); border-radius: 0 0 var(--cc-r) var(--cc-r); }
.cc-callsheet--card .cc-event-locked { padding-top: 14px; border-top: 1px solid var(--cc-ink); }
.cc-going { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--cc-ink); }
.cc-going__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--cc-line); }
.cc-going__item .cc-event__day { font-size: 26px; }
.cc-going__title { margin: 0 0 2px; font-family: var(--cc-display); font-size: 22px; font-weight: 700; line-height: 1.15; }
html body .cc-going__title.cc-going__title a { color: var(--cc-ink); text-decoration: none; }
html body .cc-going__title.cc-going__title a:hover { color: var(--cc-sea); }
.cc-going__body .cc-small { margin: 0; }
@media (max-width: 640px) { .cc-going__item { grid-template-columns: 56px minmax(0, 1fr); } .cc-going__action { grid-column: 2; } }

/* ---------- v1.4.2: home page ends on the departments band, with join buttons, flush to the footer ---------- */
html body.home main.site-main { padding-bottom: 0; }
html body.home .cc-home { padding-bottom: 0; }
html body.home #site-footer { border-top: 1px solid rgba(255,255,255,.16); }
.cc-band--ink .cc-band__actions { margin-top: 36px; }
html body .cc-band--ink .cc-btn { color: var(--cc-ink); background: var(--cc-tape); border-color: var(--cc-tape); }
html body .cc-band--ink .cc-btn:hover, html body .cc-band--ink .cc-btn:focus { color: var(--cc-ink); background: #fff; border-color: #fff; }
html body .cc-band--ink .cc-btn.cc-btn--secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.6); }
html body .cc-band--ink .cc-btn.cc-btn--secondary:hover, html body .cc-band--ink .cc-btn.cc-btn--secondary:focus { color: var(--cc-ink); background: #fff; border-color: #fff; }

/* ---------- v1.4.3: social links as icons on profiles ---------- */
.cc-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cc-social + .cc-links { margin-top: 12px; }
html body .cc-social .cc-social__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 20px; line-height: 1; color: var(--cc-ink); background: transparent; border: 1px solid var(--cc-line, #D9DEE5); border-radius: 4px; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
html body .cc-social .cc-social__link:hover, html body .cc-social .cc-social__link:focus-visible { color: #fff; background: var(--cc-sea); border-color: var(--cc-sea); }
html body .cc-social .cc-social__link:focus-visible { outline: 2px solid var(--cc-ink); outline-offset: 2px; }
.cc-social .cc-icon { width: 22px; height: 22px; color: inherit; }
@media (prefers-reduced-motion: reduce) { .cc-social .cc-social__link { transition: none; } }

/* ---------- v1.5: required marker, list fields, education, aligned repeater rows ---------- */
.cc-req { color: var(--cc-stop); font-weight: 700; }
.cc-req-note { margin: 0 0 24px; font-size: 15px; color: var(--cc-muted); }
.cc-repeater__row { align-items: end; }
.cc-credit-row { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; }
.cc-credit-row > .cc-field { flex: 1.2 1 112px; min-width: 0; }
.cc-credit-row > .cc-field:first-child { flex: 1.8 1 140px; }
.cc-credit-row > .cc-field:nth-child(5) { flex: 1.6 1 150px; }
.cc-credit-row > .cc-field--year { flex: 0 0 84px; }
.cc-edu-row { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; }
.cc-edu-row > .cc-field { flex: 1 1 200px; min-width: 0; }
.cc-edu-row > .cc-field--year { flex: 0 0 130px; }
.cc-repeater--list { max-width: 520px; }
.cc-repeater__row.cc-list-row { display: block; padding: 0 44px 0 0; margin: 0 0 8px; background: transparent; }
.cc-list-row input { width: 100%; }
.cc-list-row .cc-repeater__remove { top: 6px; right: 4px; }
.cc-section__fields > [data-cc-show-if-checked] { grid-column: 1 / -1; max-width: 520px; }
.cc-credit--edu { grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 640px) { .cc-credit--edu { grid-template-columns: 48px 1fr; } }

/* ---------- v1.8: noticeboard (events and notices on one board) ---------- */
.cc-board-filter ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
html body .cc-board-filter.cc-board-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: 16px; font-weight: 600; color: var(--cc-ink); text-decoration: none; background: #fff; border: 1px solid var(--cc-line); border-radius: 999px; }
html body .cc-board-filter.cc-board-filter a:hover { border-color: var(--cc-ink); }
html body .cc-board-filter.cc-board-filter a[aria-current="page"] { color: #fff; background: var(--cc-ink); border-color: var(--cc-ink); }
.cc-board-title { margin: 32px 0 0; }
.cc-events + .cc-board-title { margin-top: 40px; }
.cc-event--notice { grid-template-columns: minmax(0, 1fr) auto; }
.cc-event__kind { margin: 0 0 6px; }
.cc-tag--kind { color: var(--cc-ink); background: var(--cc-tape); border-radius: 2px; }
.cc-board-post { margin: 24px 0 0; }
@media (max-width: 640px) { .cc-event--notice { grid-template-columns: 1fr; } .cc-event--notice .cc-event__side { grid-column: 1; } }
