.hc-platform { padding: 4rem 1rem; background: var(--hc-color-bg, #f7f8fb); min-height: 60vh; }
.hc-platform__inner { max-width: 34rem; margin: 0 auto; background: #fff;
	border: 1px solid var(--hc-color-border, #e5e7eb); border-radius: var(--hc-radius-card, 12px);
	padding: 2rem; box-shadow: 0 1px 3px rgba(16,24,40,.06); }

.hc-platform h1,
.hc-step-title { margin: 0 0 .35rem; font-size: 1.5rem; color: var(--hc-color-heading, #0f172a); line-height: 1.25; }

/* --- Breakdance hardening --------------------------------------------------
   The console renders on the network-primary site, which still runs the legacy
   Breakdance theme. Breakdance's global-settings.css styles every heading under
   .breakdance (h1: 82px / weight 900 / line-height .98) at the SAME specificity
   as our bare `.hc-platform h1` and single-class `.hc-card__title` rules, and it
   loads after this file — so it won, and the console rendered in display type.

   The visible symptom was the "<- All workspaces" back link going dead: at 82px
   the H1's glyph box overflows well above its border box and covered the link,
   so clicks landed on the heading instead (confirmed on prod — elementFromPoint
   over the link returned H1.hc-console__title). Prefixing with .hc-platform
   lifts these to (0,2,0), which beats Breakdance's (0,1,1) without !important.
   ------------------------------------------------------------------------- */
.hc-platform .hc-console__title,
.hc-platform .hc-step-title,
.hc-platform .hc-card__title {
	font-family: inherit;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	color: var(--hc-color-heading, #0f172a);
}
.hc-platform .hc-console__title { font-size: 1.5rem; margin: 0 0 .25rem; }
.hc-platform .hc-step-title     { font-size: 1.5rem; margin: 0 0 .35rem; }
.hc-platform .hc-card__title    { font-size: 1rem;   margin: 0 0 .75rem; }

/* The review step's card headings are an uppercase micro-label, not display
   type, so they need their own values rather than the block above. Same
   (0,2,0) trick: `.breakdance h2` sets font-family/size/weight/line-height/
   letter-spacing/text-transform/color, so every one of those is restated. */
.hc-platform .hc-review-card__title {
	margin: 0;
	font-family: inherit;
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #64748b;
}

/* The back link precedes the title in source order, so keep it above any
   heading overflow — belt and braces against this regressing. */
.hc-platform .hc-console__sub { position: relative; z-index: 1; }

.hc-step-sub { margin: 0 0 1.5rem; color: #475569; font-size: .95rem; }
.hc-progress { margin: 0 0 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }

.hc-field { margin-bottom: 1rem; }
.hc-field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; color: #0f172a; }
.hc-field input:not([type="color"]),
.hc-field select,
.hc-field textarea {
	width: 100%; padding: .6rem .75rem; border: 1px solid var(--hc-color-border, #cbd5e1);
	border-radius: var(--hc-btn-radius, 6px); font-size: 1rem; box-sizing: border-box;
	font-family: inherit;
}
.hc-field select { background: #fff; }
.hc-field textarea { resize: vertical; min-height: 4.5rem; }
.hc-field-hint, .hc-field__note { display: block; margin-top: .35rem; color: #64748b; font-size: .8rem; }
.hc-field__note { margin-bottom: 0; }

.hc-req { color: #dc2626; margin-left: .15rem; font-weight: 700; }

.hc-field--color .hc-color-row { display: flex; gap: .5rem; align-items: center; }
.hc-color-row input[type="color"] {
	width: 3rem; height: 2.5rem; padding: 0; border: 1px solid var(--hc-color-border, #cbd5e1);
	border-radius: var(--hc-btn-radius, 6px); background: #fff; cursor: pointer;
}
.hc-color-hex { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: lowercase; }

.hc-font-preview { margin: .5rem 0 0; padding: .6rem .75rem; font-size: 1.15rem; line-height: 1.35;
	color: #0f172a; background: #f8fafc; border: 1px solid var(--hc-color-border, #e5e7eb);
	border-radius: var(--hc-btn-radius, 6px); min-height: 2.4em; }

.hc-shotlist { margin: 0 0 1.25rem; padding: 0 0 0 1.25rem; color: #334155; font-size: .9rem; }
.hc-shotlist li { margin-bottom: .35rem; }

.hc-bucket { margin: 0 0 1.25rem; }
.hc-bucket__drop {
	display: block; padding: 1.5rem 1rem; text-align: center; cursor: pointer;
	border: 2px dashed var(--hc-color-border, #cbd5e1); border-radius: var(--hc-btn-radius, 6px);
	background: #f8fafc; color: #0f172a; transition: background .15s, border-color .15s;
}
.hc-bucket__drop:hover,
.hc-bucket__drop.is-hover { background: #eef2ff; border-color: var(--hc-color-primary, #1f3a8a); }
.hc-bucket__drop input[type="file"] { display: none; }
.hc-bucket.is-full .hc-bucket__drop { opacity: .5; cursor: not-allowed; }
.hc-bucket__list {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	gap: .5rem; margin: .75rem 0 0; padding: 0; list-style: none;
}
.hc-bucket__item { position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden;
	background: #f1f5f9; }
.hc-bucket__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-bucket__remove {
	position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; padding: 0;
	border-radius: 50%; background: rgba(15,23,42,.75); color: #fff; font-size: 1rem; line-height: 1;
	cursor: pointer;
}
.hc-bucket__remove:hover { background: #dc2626; }
.hc-bucket__status { margin: .5rem 0 0; font-size: .85rem; color: #475569; min-height: 1.2em; }

.hc-btn { display: inline-block; width: 100%; padding: .7rem 1rem; border: 0; cursor: pointer;
	background: var(--hc-color-primary, #1f3a8a); color: #fff; font-weight: 600; font-size: 1rem;
	border-radius: var(--hc-btn-radius, 6px); text-decoration: none; }
.hc-btn:hover { filter: brightness(1.05); text-decoration: none; }
.hc-btn:disabled { opacity: .55; cursor: progress; filter: none; }
.hc-btn--secondary { width: auto; background: #0f172a; }

.hc-scrape { padding: 1rem; margin-bottom: 1.5rem; background: #f1f5f9; border: 1px solid #e2e8f0;
	border-radius: var(--hc-btn-radius, 6px); }
.hc-scrape label { display: block; margin-bottom: .5rem; font-weight: 600; font-size: .9rem; color: #0f172a; }
.hc-scrape__row { display: flex; gap: .5rem; }
.hc-scrape__row input { flex: 1; padding: .6rem .75rem; border: 1px solid var(--hc-color-border, #cbd5e1);
	border-radius: var(--hc-btn-radius, 6px); font-size: 1rem; font-family: inherit; box-sizing: border-box; }
.hc-scrape__status { margin: .5rem 0 .5rem; font-size: .85rem; color: #475569; min-height: 1.2em; display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.hc-swatch { display: inline-block; width: 1rem; height: 1rem; border-radius: 3px; border: 1px solid rgba(15,23,42,.15); vertical-align: middle; }

.hc-notice { padding: .6rem .75rem; border-radius: 6px; margin-bottom: 1rem; font-size: .9rem; }
.hc-notice--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.hc-notice--ok { background: #eaf7ee; color: #1b6e3b; border: 1px solid #bfe3c9; }

.hc-alt { margin-top: 1.25rem; font-size: .9rem; text-align: center; }
.hc-back { margin: .5rem 0 0; text-align: center; }
.hc-back a { color: #64748b; font-size: .85rem; text-decoration: none; }
.hc-back a:hover { color: #0f172a; text-decoration: underline; }

/* --- Review step --- */
.hc-review-url { padding: 1rem; margin: 0 0 1.5rem; text-align: center;
	background: linear-gradient(135deg, rgba(31,58,138,.05), rgba(31,58,138,.1));
	border: 1px solid rgba(31,58,138,.15); border-radius: var(--hc-btn-radius, 6px); }
.hc-review-url__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #475569; margin-bottom: .35rem; }
.hc-review-url code { font-size: 1.05rem; color: #1f3a8a; background: transparent; font-weight: 600; word-break: break-all; }

.hc-review-cards { display: grid; gap: .75rem; margin: 0 0 1.25rem; }
.hc-review-card { border: 1px solid var(--hc-color-border, #e5e7eb); border-radius: var(--hc-btn-radius, 6px); background: #fff; overflow: hidden; }
.hc-review-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
	padding: .6rem .9rem; background: #f8fafc; border-bottom: 1px solid var(--hc-color-border, #e5e7eb); }
/* Defined in the Breakdance hardening block at the top of this file — a bare
   `.hc-review-card__head h2` ties with `.breakdance h2` and loses on order. */
.hc-review-card__edit { font-size: .8rem; text-decoration: none; color: var(--hc-color-primary, #1f3a8a); }
.hc-review-card__edit:hover { text-decoration: underline; }
.hc-review-card__body { padding: .9rem; font-size: .95rem; color: #0f172a; line-height: 1.5; }

.hc-review-line { margin: 0 0 .35rem; }
.hc-review-line:last-child { margin-bottom: 0; }
.hc-review-line--strong { font-weight: 600; font-size: 1.05rem; }
.hc-review-line--muted { color: #64748b; font-size: .8rem; margin-top: .5rem; }
.hc-review-inline-label { display: inline-block; min-width: 4.5rem; color: #64748b; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }

.hc-review-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; margin-bottom: .15rem; }
.hc-review-block { margin-bottom: .75rem; }
.hc-review-block:last-child { margin-bottom: 0; }
.hc-review-block p { margin: 0; }

.hc-review-color { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; font-size: .9rem; }
.hc-review-color:last-child { margin-bottom: .5rem; }
.hc-review-color .hc-swatch { width: 1.25rem; height: 1.25rem; border-radius: 4px; border: 1px solid rgba(15,23,42,.1); }
.hc-review-color__label { color: #475569; }
.hc-review-color code { color: #64748b; font-size: .85rem; background: transparent; margin-left: auto; }

.hc-review-font { margin-top: .5rem; }
.hc-review-font-preview { display: inline-block; font-size: 1.15rem; color: #0f172a; }

.hc-review-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: .35rem; margin-bottom: .25rem; }
.hc-review-photo { aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #f1f5f9; }
.hc-review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hc-review-empty { color: #94a3b8; font-style: italic; margin: 0; font-size: .9rem; }
.hc-review-cta-note { text-align: center; color: #64748b; font-size: .85rem; margin: 0 0 1rem; }

/* --- Dashboard (Phase C) --- */
body.hc-route-dashboard .hc-platform__inner { max-width: 62rem; }

.hc-console__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin: 0 0 1.5rem; }
.hc-console__title { margin: 0 0 .25rem; font-size: 1.5rem; color: var(--hc-color-heading, #0f172a); }
.hc-console__sub { margin: 0; color: #64748b; font-size: .9rem; }
.hc-console__sub a { color: #64748b; }

.hc-card { border: 1px solid var(--hc-color-border, #e5e7eb); border-radius: var(--hc-btn-radius, 6px);
	background: #fff; padding: 1.25rem; margin: 0 0 1rem; }
.hc-card__title { margin: 0 0 .75rem; font-size: 1rem; color: #0f172a; }
.hc-card__meta { display: grid; grid-template-columns: 6rem 1fr; gap: .35rem .75rem; margin: 0; font-size: .9rem; }
.hc-card__meta dt { color: #64748b; }
.hc-card__meta dd { margin: 0; color: #0f172a; word-break: break-all; }

.hc-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 .75rem; }
.hc-card__head .hc-card__title { margin: 0; }

/* Collapsible cards (JS-enhanced): click the header to toggle. All cards except
   Pages start collapsed. When collapsed, everything below the header hides. */
.hc-card--collapsible > .hc-card__head,
.hc-card--collapsible > .hc-card__title { cursor: pointer; position: relative; padding-right: 1.5rem; user-select: none; }
.hc-card--collapsible.is-collapsed > .hc-card__title { margin-bottom: 0; }
.hc-card--collapsible.is-collapsed > .hc-card__head { margin-bottom: 0; }
.hc-card--collapsible > .hc-card__head::after,
.hc-card--collapsible > .hc-card__title::after {
	content: ""; position: absolute; right: .15rem; top: .5em;
	width: .5rem; height: .5rem; border-right: 2px solid #94a3b8; border-bottom: 2px solid #94a3b8;
	transform: rotate(-135deg); transform-origin: 60% 40%; transition: transform .15s ease; }
.hc-card--collapsible.is-collapsed > .hc-card__head::after,
.hc-card--collapsible.is-collapsed > .hc-card__title::after { transform: rotate(45deg); }
.hc-card.is-collapsed > :not(.hc-card__head):not(.hc-card__title) { display: none; }
.hc-btn--auto { width: auto; padding: .45rem .75rem; font-size: .85rem; }
.hc-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }

.hc-card__empty { margin: 0; color: #64748b; font-size: .9rem; }
.hc-card__note  { margin: .75rem 0 0; color: #64748b; font-size: .8rem; font-style: italic; }

.hc-pages { list-style: none; margin: 0; padding: 0; }
.hc-pages__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: .6rem 0; border-top: 1px solid var(--hc-color-border, #e5e7eb); }
.hc-pages__row:first-child { border-top: 0; }
/* Rows mid-generation. The work runs on the subsite's cron, so a row can be
   pending across reloads and in more than one tab — the state is on the post,
   not in this page's memory. flex-wrap lets the failure message take its own
   line without disturbing the row above it. */
.hc-pages__row--generating,
.hc-pages__row--failed { flex-wrap: wrap; }
.hc-pages__row--generating { background: #f8fafc; }
.hc-pages__state { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; color: #64748b; }
.hc-pages__state--failed { color: #9b1c1c; font-weight: 600; }
.hc-pages__error { flex-basis: 100%; margin: .3rem 0 0; font-size: .75rem; color: #9b1c1c; }
.hc-spinner { display: inline-block; width: .8rem; height: .8rem; border-radius: 999px;
	border: 2px solid #cbd5e1; border-top-color: var(--hc-color-primary, #1f3a8a);
	animation: hc-spin .8s linear infinite; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
/* Still moving, so it doesn't read as frozen, but slowly. */
@media (prefers-reduced-motion: reduce) { .hc-spinner { animation-duration: 2.4s; } }
.hc-pages__meta { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.hc-pages__title { color: #0f172a; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-pages__actions { display: flex; gap: .75rem; flex-shrink: 0; }
.hc-pages__link { color: var(--hc-color-primary, #1f3a8a); text-decoration: none; font-size: .85rem; }
.hc-pages__link:hover { text-decoration: underline; }
.hc-pages__link--muted { color: #94a3b8; }
.hc-pages__link[aria-disabled="true"] { pointer-events: none; text-decoration: none; }
/* Trash is a <button> styled to match the row's link actions. */
button.hc-pages__link { border: 0; background: transparent; padding: 0; font: inherit; font-size: .85rem; cursor: pointer; }
.hc-pages__link--danger { color: #9b1c1c; }
.hc-pages__link--danger:hover { text-decoration: underline; }
/* Per-row status dropdown — styled to read like the old status pill. */
.hc-pages__status {
	font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	line-height: 1.4; border: 0; border-radius: 999px; cursor: pointer;
	padding: .15rem 1.35rem .15rem .5rem; color: #475569; background-color: #f1f5f9;
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background-repeat: no-repeat; background-position: right .45rem center; background-size: .6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23475569' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hc-pages__status--publish { background-color: #eaf7ee; color: #1b6e3b; }
.hc-pages__status--draft   { background-color: #fef3c7; color: #92400e; }
.hc-pages__status:disabled { opacity: .6; cursor: default; }
.hc-pages__status:focus-visible { outline: 2px solid var(--hc-color-primary, #1f3a8a); outline-offset: 1px; }
button.hc-pages__link:disabled { opacity: .6; cursor: default; text-decoration: none; }

.hc-tag { display: inline-block; padding: .1rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em; }
.hc-tag--front   { background: #eef2ff; color: #1f3a8a; }

.hc-card--branding form { margin: 0; }
.hc-branding__status { font-size: .8rem; color: #64748b; min-height: 1em; }
.hc-branding__status[data-state="saving"] { color: #475569; }
.hc-branding__status[data-state="saved"]  { color: #1b6e3b; }
.hc-branding__status[data-state="error"]  { color: #9b1c1c; }

/* Offerings & audiences card — reuses the wizard chip editor. */
.hc-benches__status { font-size: .8rem; color: #64748b; min-height: 1em; }
.hc-benches__status[data-state="saving"] { color: #475569; }
.hc-benches__status[data-state="saved"]  { color: #1b6e3b; }
.hc-benches__status[data-state="error"]  { color: #9b1c1c; }
.hc-benches .hc-focus__group { margin: 0 0 1rem; }
.hc-benches [data-hc-benches-save] { margin-top: .25rem; }

/* Media library card — thumbnail grid + upload tile. */
.hc-media__status { font-size: .8rem; color: #64748b; min-height: 1em; }
.hc-media__status[data-state="saving"] { color: #475569; }
.hc-media__status[data-state="saved"]  { color: #1b6e3b; }
.hc-media__status[data-state="error"]  { color: #9b1c1c; }
.hc-media__grid { list-style: none; margin: 0 0 .75rem; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.hc-media__tile { position: relative; display: flex; flex-direction: column; gap: .3rem;
	border: 1px solid #e2e8f0; border-radius: 8px; padding: .4rem; background: #fff; }
.hc-media__thumb { position: relative; display: block; }
.hc-media__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; background: #f1f5f9; display: block; }
.hc-media__name { font-size: .72rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-media__remove { position: absolute; top: .25rem; right: .25rem; width: 1.4rem; height: 1.4rem;
	border: 0; border-radius: 999px; background: rgba(15,23,42,.72); color: #fff; font-size: 1rem; line-height: 1;
	cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hc-media__remove:hover { background: #9b1c1c; }
.hc-media__remove:disabled { opacity: .5; cursor: default; }
.hc-media__upload { display: flex; align-items: center; justify-content: center; gap: .5rem;
	border: 1px dashed #cbd5e1; border-radius: 8px; padding: .8rem 1rem; cursor: pointer; color: #475569;
	font-size: .85rem; font-weight: 600; background: #f8fafc; }
/* Dragging a batch over the upload tile. */
.hc-media__upload.is-dropping { border-color: var(--hc-color-primary, #1f3a8a); border-style: solid;
	background: #eef2ff; color: var(--hc-color-primary, #1f3a8a); }
.hc-media__upload:hover { border-color: var(--hc-color-primary, #1f3a8a); color: var(--hc-color-primary, #1f3a8a); }
.hc-media__upload-plus { font-size: 1.1rem; line-height: 1; }
.hc-media--full .hc-media__upload { display: none; }
.hc-branding__group { border: 0; padding: 0; margin: 0 0 1.25rem; }
.hc-branding__group legend { padding: 0; margin: 0 0 .5rem; font-size: .75rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .05em; color: #64748b; }

.hc-field--logo .hc-logo-preview { padding: .75rem; margin-bottom: .5rem;
	background: #f8fafc; border: 1px solid var(--hc-color-border, #e5e7eb);
	border-radius: var(--hc-btn-radius, 6px); text-align: center; min-height: 3.5rem;
	display: flex; align-items: center; justify-content: center; }
.hc-field--logo .hc-logo-preview img { max-height: 3rem; max-width: 100%; }
.hc-field--logo .hc-logo-preview__empty { color: #94a3b8; font-size: .85rem; font-style: italic; }

/* --- Create-a-landing-page modal (03b) --- */
/* Task 11's JS toggles the `hidden` attribute to show/hide this. The UA
   stylesheet's [hidden]{display:none} has the same specificity as a class
   selector, so an unscoped `.hc-modal-scrim{display:flex}` would win over it
   (author origin beats UA origin) and the attribute would stop hiding the
   scrim — same pitfall top-bar.css documents for .hc-tb-user-menu. Scoping
   to :not([hidden]) avoids it without needing an explicit [hidden] override. */
.hc-modal-scrim:not([hidden]) {
	position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(15,23,42,.55); padding: 1rem; box-sizing: border-box; z-index: 1000;
}
.hc-modal {
	background: #fff; color: #0f172a; border-radius: var(--hc-radius-card, 12px);
	padding: 1.25rem; width: 100%; max-width: 460px; box-shadow: 0 10px 40px rgba(15,23,42,.25);
}
.hc-modal h2 { margin: 0 0 .75rem; font-size: 1.15rem; color: var(--hc-color-heading, #0f172a); }
.hc-modal__label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; color: #0f172a; }
.hc-modal textarea {
	width: 100%; padding: .6rem .75rem; margin: 0 0 .75rem; border: 1px solid var(--hc-color-border, #cbd5e1);
	border-radius: var(--hc-btn-radius, 6px); font-size: 1rem; font-family: inherit; box-sizing: border-box;
	resize: vertical; min-height: 4.5rem;
}
.hc-modal__chips { margin: 0 0 .75rem; }
.hc-modal__chips-label { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.hc-modal__actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.hc-modal__actions .hc-btn { width: auto; }
/* Scoped under .hc-modal__actions (not a bare .hc-btn--ghost) because the
   theme already defines .hc-btn--ghost for CTAs on dark hero backgrounds
   (color:inherit, border-color:currentColor, hover:rgba(255,255,255,.06) —
   see wp-content/themes/heroclick/assets/css/theme.css:253-258) and prints
   after platform.css on /dashboard, so an unscoped rule here would lose the
   tie and the Cancel button would inherit the dark-hero look on our white
   card. The two-class descendant selector always outranks the theme's
   single-class one regardless of load order. */
.hc-modal__actions .hc-btn--ghost { background: transparent; color: #475569; border: 1px solid var(--hc-color-border, #cbd5e1); }
.hc-modal__actions .hc-btn--ghost:hover { background: #f1f5f9; }
.hc-modal__status { margin: .75rem 0 0; font-size: .85rem; color: #475569; min-height: 1.2em; }
.hc-modal__status[data-state="error"] { color: #b91c1c; }

.hc-chip[data-hc-chip] {
	border: 1px solid var(--hc-color-border, #cbd5e1); cursor: pointer; font: inherit;
}
.hc-chip[data-hc-chip][aria-pressed="true"] {
	background: var(--hc-color-primary, #1f3a8a); color: #fff; border-color: var(--hc-color-primary, #1f3a8a);
}

.hc-card--panel .hc-card__body { color: #334155; font-size: .9rem; line-height: 1.5; }
.hc-card--panel .hc-card__body p:last-child { margin-bottom: 0; }

/* --- Focus step --- */
.hc-focus { display: grid; gap: 1.25rem; }
.hc-focus__group, .hc-focus__c {
	padding: 1rem; margin: 0; border: 1px solid var(--hc-color-border, #e5e7eb);
	border-radius: var(--hc-btn-radius, 6px); background: #fff;
}
.hc-focus__group legend, .hc-focus__c legend {
	padding: 0 .35rem; font-weight: 700; font-size: .8rem; color: #475569;
	text-transform: uppercase; letter-spacing: .05em;
}
.hc-focus__group[data-cap-reached] .hc-chip-add__input,
.hc-focus__group[data-cap-reached] [data-chip-add-btn] { opacity: .55; cursor: not-allowed; }

.hc-chips { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.hc-chip { display: inline-flex; align-items: center; gap: .35rem;
	padding: .25rem .5rem .25rem .75rem; background: #eef2ff; color: #1e293b;
	border-radius: 999px; font-size: .85rem; border: 1px solid rgba(31,58,138,.15); }
.hc-chip__label { line-height: 1.2; }
.hc-chip__remove { border: 0; background: transparent; color: #64748b; cursor: pointer;
	font-size: 1rem; line-height: 1; padding: 0 .1rem; }
.hc-chip__remove:hover { color: #dc2626; }
.hc-chip-add { display: flex; gap: .5rem; }
.hc-chip-add__input { flex: 1; padding: .5rem .65rem; font-size: .9rem; font-family: inherit;
	border: 1px solid var(--hc-color-border, #cbd5e1); border-radius: var(--hc-btn-radius, 6px); box-sizing: border-box; }

.hc-focus-other { margin-top: .5rem; }

/* --- Step 2 logo slot --- */
.hc-field--logo { border: 1px solid var(--hc-color-border, #e5e7eb); border-radius: var(--hc-btn-radius, 6px);
	padding: .85rem; background: #f8fafc; margin-bottom: 1.25rem; }
.hc-field--logo > label { display: block; margin-bottom: .5rem; font-weight: 600; font-size: .9rem; color: #0f172a; }
.hc-logo-slot__set { display: flex; align-items: center; gap: .85rem; }
.hc-logo-slot__thumb {
	width: 80px; height: 80px; flex-shrink: 0;
	border: 1px solid var(--hc-color-border, #cbd5e1); border-radius: var(--hc-btn-radius, 6px);
	background-color: #fff;
	background-image:
		linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
		linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
		linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
	background-size: 12px 12px;
	background-position: 0 0, 0 6px, 6px -6px, -6px 0;
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hc-logo-slot__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.hc-logo-slot__meta { display: flex; flex-direction: column; gap: .35rem; min-width: 0; flex: 1; }
.hc-logo-slot__filename { font-size: .85rem; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-logo-slot__actions { display: flex; gap: .5rem; }
.hc-logo-slot__empty { display: flex; align-items: center; gap: .75rem; cursor: pointer; }
.hc-logo-slot__empty .hc-btn { pointer-events: none; }
.hc-logo-slot__status { margin: .5rem 0 0; font-size: .85rem; color: #475569; min-height: 1.2em; }

/* --- Testimonials card (real quotes only; see testimonials.php) --- */
.hc-testi__list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .75rem; }
.hc-testi__item {
	position: relative; border: 1px solid var(--hc-color-border, #e5e7eb);
	border-radius: var(--hc-btn-radius, 6px); padding: .9rem 2.25rem .9rem .9rem;
	background: #fcfcfd;
}
.hc-testi__remove {
	position: absolute; top: .5rem; right: .5rem; width: 1.5rem; height: 1.5rem;
	border: 0; border-radius: 50%; background: #e2e8f0; color: #0f172a;
	font-size: 1rem; line-height: 1; cursor: pointer;
}
.hc-testi__remove:hover { background: #cbd5e1; }
.hc-testi__meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; margin-top: .5rem; }
.hc-testi__item .hc-field { margin-bottom: 0; }
.hc-testi__item textarea { min-height: 3.5rem; }
.hc-testi__empty { margin: 0 0 .75rem; color: #64748b; font-size: .9rem; font-style: italic; }
.hc-testi__actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.hc-testi__status[data-state="error"] { color: #dc2626; }
.hc-testi__status[data-state="saved"] { color: #047857; }

/* Paste-reviews disclosure: collapsed by default so the card still reads as a
   list of quotes, not a form. */
.hc-testi__paste {
	margin: 0 0 .75rem; border: 1px dashed var(--hc-color-border, #e5e7eb);
	border-radius: var(--hc-btn-radius, 6px); padding: .6rem .9rem; background: #fcfcfd;
}
.hc-testi__paste > summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: #0f172a; }
.hc-testi__paste[open] > summary { margin-bottom: .6rem; }
.hc-testi__paste-note { margin: 0 0 .6rem; color: #64748b; font-size: .85rem; }
.hc-testi__paste textarea {
	width: 100%; box-sizing: border-box; min-height: 6rem; margin-bottom: .6rem;
	font: inherit; padding: .5rem .6rem;
	border: 1px solid var(--hc-color-border, #e5e7eb); border-radius: var(--hc-btn-radius, 6px);
}
.hc-testi__paste-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.hc-testi__paste-status { font-size: .85rem; color: #64748b; }
.hc-testi__paste-status[data-state="error"] { color: #dc2626; }
.hc-testi__paste-status[data-state="saved"] { color: #047857; }

@media (max-width: 640px) {
	.hc-testi__meta { grid-template-columns: 1fr; }
}

/* Library image with no auto-description: pages using it render no alt text.
   Deliberately quiet — "Describe missing images" is the call to action, so the
   tile only has to say which ones it means. One amber cue, not three. */
.hc-media__tile--needs-alt { border-color: #fcd34d; }
.hc-media__flag {
	position: absolute; left: 5px; bottom: 5px;
	background: rgba(255,255,255,.94); color: #92400e; border: 1px solid #fcd34d;
	font-size: .5625rem; font-weight: 600; line-height: 1.5;
	padding: 0 .25rem; border-radius: 3px; pointer-events: none;
}
/* The (i) tooltip carrying the generated title + description. Same size as the
   remove button and sitting immediately left of it; both are positioned from the
   TOP of the tile, which doesn't drift the way the bottom-anchored flag did. */
.hc-media__info {
	position: absolute; top: .25rem; right: 1.9rem; width: 1.4rem; height: 1.4rem;
	border-radius: 999px; background: rgba(15,23,42,.72); color: #fff; cursor: help;
	display: flex; align-items: center; justify-content: center;
	font-size: .75rem; line-height: 1;
}
.hc-media__info:hover, .hc-media__info:focus { background: var(--hc-color-primary, #1f3a8a); outline: none; }
.hc-media__info:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hc-color-primary, #1f3a8a); }
/* Hidden until the icon is hovered or focused. Anchored to the tile's left edge
   and opening rightward: anchored to the icon instead, a right-aligned panel runs
   off the page on the first column. z-index clears the following tiles, which sit
   at auto. It stays open while the pointer is over the panel itself so the text
   can be read and selected. */
.hc-media__info-panel {
	display: none; position: absolute; top: 1.9rem; left: .4rem; z-index: 5;
	width: max-content; max-width: 15rem; text-align: left; cursor: auto;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 6px;
	box-shadow: 0 6px 18px rgba(15,23,42,.14); padding: .5rem .6rem;
}
.hc-media__info:hover ~ .hc-media__info-panel,
.hc-media__info:focus ~ .hc-media__info-panel,
.hc-media__info-panel:hover { display: block; }
.hc-media__info-row { display: block; margin-bottom: .4rem; }
.hc-media__info-row:last-child { margin-bottom: 0; }
.hc-media__info-label { display: block; font-size: .5625rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.hc-media__info-value { display: block; font-size: .75rem; line-height: 1.4; color: #334155;
	white-space: normal; }
.hc-media__info-value--empty { color: #94a3b8; font-style: italic; }

/* Scoped to :not([hidden]) for the reason the modal scrim documents above: an
   unscoped display:flex outranks the UA stylesheet's [hidden]{display:none}
   (author origin beats UA origin), so the `hidden` attribute stopped hiding
   anything. Both sides were already setting it correctly — media_card_html()
   on render and syncChrome() after a describe run — and the button stayed on
   screen with every image described regardless. */
.hc-media__describe:not([hidden]) { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .75rem; }
.hc-media__describe-note { color: #64748b; font-size: .8rem; }

/* --- Readiness card: our pre-publish best practices. Advisory, never blocking.
   Always expanded (excluded from the collapsible-cards pass) because a checklist
   nobody sees is not a checklist. --- */
.hc-card--readiness { border-left: 3px solid var(--hc-color-primary, #1f3a8a); }
.hc-readiness { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hc-readiness__item { display: flex; gap: .55rem; align-items: flex-start; }
.hc-readiness__mark { position: relative; flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .15rem;
	border: 2px solid #cbd5e1; border-radius: 999px; }
.hc-readiness__item--done .hc-readiness__mark { background: #1b6e3b; border-color: #1b6e3b; }
.hc-readiness__item--done .hc-readiness__mark::after { content: ""; position: absolute; left: .26rem; top: .08rem;
	width: .2rem; height: .45rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hc-readiness__text { display: block; }
.hc-readiness__label { display: block; font-size: .85rem; font-weight: 600; color: #0f172a; }
.hc-readiness__item--done .hc-readiness__label { font-weight: 500; color: #475569; }
.hc-readiness__state { font-size: .75rem; font-weight: 400; color: #94a3b8; }
/* The hint explains what breaks without it — noise once the item is satisfied. */
.hc-readiness__hint { display: block; font-size: .75rem; line-height: 1.4; color: #64748b; }
.hc-readiness__item--done .hc-readiness__hint { display: none; }
.hc-readiness__count { font-size: .75rem; color: #64748b; white-space: nowrap; }

/* --- Client logos card (separate pool from photos; see client-logos.php) --- */
.hc-logos__grid { list-style: none; margin: 0 0 .75rem; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.hc-logos__tile { position: relative; display: flex; flex-direction: column; gap: .35rem;
	border: 1px solid #e2e8f0; border-radius: 8px; padding: .4rem; background: #fff; }
.hc-logos__img { width: 100%; height: 48px; object-fit: contain; display: block; }
.hc-logos__name { width: 100%; font-size: .75rem; padding: .25rem .35rem;
	border: 1px solid var(--hc-color-border, #cbd5e1); border-radius: 4px; box-sizing: border-box; }
/* An unnamed logo has no alt text, so flag it rather than let it ship silently. */
.hc-logos__tile--unnamed { outline: 2px solid #f59e0b; outline-offset: -2px; }
.hc-logos__actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.hc-logos__note { color: #64748b; font-size: .8rem; }
.hc-logos__status[data-state="error"] { color: #dc2626; }
.hc-logos__status[data-state="saved"] { color: #047857; }

/* Network super-admin: all-workspaces directory + "managing" badge. */
.hc-workspaces { width: 100%; border-collapse: collapse; }
.hc-workspaces th, .hc-workspaces td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--hc-color-border, #e2e8f0); vertical-align: top; }
.hc-workspaces th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #64748b; font-weight: 600; }
.hc-workspaces tbody tr:last-child td { border-bottom: 0; }
.hc-workspaces__num { text-align: right; white-space: nowrap; }
.hc-workspaces__name { font-weight: 600; color: #0f172a; }
.hc-workspaces__url { font-size: .82rem; color: #475569; text-decoration: none; }
.hc-workspaces__url:hover { text-decoration: underline; }
.hc-workspaces td:last-child { text-align: right; white-space: nowrap; }
.hc-tag--admin { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #1e293b; color: #fff; }
