/* Website Build Checklist – admin styles */
.wbc-wrap {
	--wbc-accent: #2271b1;
	--wbc-green: #1a7f37;
	--wbc-seo: #7a4cc2;
	--wbc-seo-bg: #f1ebfb;
	--wbc-border: #dcdcde;
	--wbc-muted: #646970;
	--wbc-card: #fff;
	max-width: 1100px;
}
.wbc-wrap [hidden] { display: none !important; }
.wbc-muted { color: var(--wbc-muted); }
.wbc-danger { color: #b32d2e !important; }
.wbc-card {
	background: var(--wbc-card);
	border: 1px solid var(--wbc-border);
	border-radius: 8px;
	padding: 16px 20px;
	margin: 16px 0;
}
.wbc-card h2 { margin: 0 0 12px; font-size: 15px; }

/* Pills and tags */
.wbc-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: #f0f0f1;
	color: #3c434a;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.wbc-pill-seo { background: var(--wbc-seo-bg); color: var(--wbc-seo); }
.wbc-tag {
	display: inline-block;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 3px 6px;
	border-radius: 3px;
	margin-left: 6px;
	vertical-align: middle;
}
.wbc-tag-seo { background: var(--wbc-seo-bg); color: var(--wbc-seo); }
.wbc-tag-custom { background: #e7f1fb; color: var(--wbc-accent); }
.wbc-tag-month { background: #fcf0e3; color: #8a4b0f; }
.wbc-tag-client { background: #e6f4ea; color: #1a7f37; }
.wbc-tag-optional { background: #f0f0f1; color: var(--wbc-muted); display: none; }
.wbc-tag-na { background: #f0f0f1; color: var(--wbc-muted); display: none; }
.seo-unpaid .is-seo > .wbc-item-row .wbc-tag-optional,
.seo-unpaid .is-seo-section > summary .wbc-tag-optional { display: inline-block; }
.is-seo-section .wbc-item .wbc-tag-seo,
.is-seo-section .wbc-item .wbc-tag-optional { display: none !important; }
.status-na .wbc-tag-na { display: inline-block; }

/* Progress bars */
.wbc-bar {
	position: relative;
	height: 8px;
	background: #f0f0f1;
	border-radius: 999px;
	overflow: hidden;
}
.wbc-bar > span {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--wbc-accent);
	border-radius: 999px;
	transition: width .25s ease;
}
.wbc-bar.is-complete > span { background: var(--wbc-green); }

/* List page */
.wbc-new-form { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; }
.wbc-new-form p { margin: 0; }
.wbc-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.wbc-field-check label { display: block; font-weight: 400; margin: 2px 0; }
.wbc-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.wbc-list-head h2 { margin: 0; }
.wbc-count { color: var(--wbc-muted); font-weight: 400; }
.wbc-list-search { min-width: 240px; }
.wbc-projects { margin-top: 10px; }
.wbc-projects td { vertical-align: middle; }
.wbc-col-progress { width: 220px; }
.wbc-col-progress .wbc-bar { margin-bottom: 4px; }
.wbc-pct { font-size: 12px; }
.wbc-row-actions { white-space: nowrap; text-align: right; }
.wbc-inline { display: inline-block; margin-left: 8px; }
.wbc-empty { padding: 24px; background: #fff; border: 1px dashed var(--wbc-border); border-radius: 8px; text-align: center; }

/* Project header */
.wbc-back { margin: 12px 0 4px; }
.wbc-back a { text-decoration: none; }
.wbc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.wbc-head h1 { font-size: 26px; margin: 0; padding: 0; line-height: 1.3; }
.wbc-ext { text-decoration: none; color: var(--wbc-muted); }
.wbc-ext .dashicons { vertical-align: middle; }
.wbc-client { margin: 2px 0 0; font-size: 14px; color: var(--wbc-muted); }
.wbc-head-seo form { display: flex; align-items: center; gap: 10px; margin-top: 6px; }

.wbc-summary-main { display: flex; align-items: center; gap: 20px; }
.wbc-big-pct { font-size: 36px; font-weight: 700; line-height: 1; min-width: 90px; }
.wbc-summary-bar { flex: 1; }
.wbc-summary-bar .wbc-bar { height: 12px; }
.wbc-summary-text { margin: 8px 0 0; }
.wbc-seo-explain { margin: 10px 0 0; }

/* Toolbar */
.wbc-toolbar {
	position: sticky;
	top: 32px;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	background: #f0f0f1;
	padding: 10px 0;
	margin-bottom: 6px;
}
.wbc-toolbar-spacer { flex: 1; }
.wbc-toolbar .button .dashicons { font-size: 16px; width: 16px; height: 16px; vertical-align: text-top; }
.wbc-search { min-width: 180px; }

/* Sections */
.wbc-section {
	background: #fff;
	border: 1px solid var(--wbc-border);
	border-radius: 8px;
	margin-bottom: 8px;
}
.wbc-section > summary {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 12px 16px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}
.wbc-section > summary::-webkit-details-marker { display: none; }
.wbc-section > summary::before {
	content: "\f345";
	font-family: dashicons;
	color: var(--wbc-muted);
	margin-right: 4px;
	transition: transform .15s;
}
.wbc-section[open] > summary::before { transform: rotate(90deg); }
.wbc-section[open] > summary { border-bottom: 1px solid var(--wbc-border); }
.wbc-sec-num { color: var(--wbc-muted); min-width: 24px; }
.wbc-sec-progress { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 12px; color: var(--wbc-muted); }
.wbc-sec-progress .wbc-bar { width: 120px; }
.wbc-section.is-complete .wbc-sec-title::after { content: " \2713"; color: var(--wbc-green); }
.seo-unpaid .is-seo-section > summary .wbc-sec-title { color: var(--wbc-muted); }
.wbc-sec-body { padding: 8px 16px 14px; }
.wbc-sec-note {
	background: #f6f7f7;
	border-left: 3px solid var(--wbc-accent);
	padding: 8px 12px;
	margin: 6px 0 10px;
	color: #3c434a;
}
.wbc-sec-note .dashicons { color: var(--wbc-accent); font-size: 16px; vertical-align: text-bottom; }
.wbc-group h4 { margin: 14px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--wbc-muted); }
.wbc-items { margin: 0; padding: 0; list-style: none; }

/* Items */
.wbc-item { margin: 0; border-bottom: 1px solid #f0f0f1; padding: 2px 0; }
.wbc-item:last-child { border-bottom: 0; }
.wbc-item-row { display: flex; align-items: center; gap: 6px 12px; min-height: 32px; }
.wbc-item-main { flex: 1; display: flex; align-items: center; flex-wrap: wrap; min-width: 0; }
.wbc-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wbc-check input { margin: 0; }
.wbc-tags { flex: 1; }
.wbc-item.has-field > .wbc-item-row { align-items: flex-start; padding: 6px 0; }
.wbc-item.has-field .wbc-item-main { flex: 0 0 32%; padding-top: 6px; }
.wbc-item.has-field .wbc-tags { flex: 0 0 100%; padding-left: 20px; }
.wbc-item.has-field .wbc-tags .wbc-tag:first-child { margin-left: 6px; }
.wbc-item.has-field .wbc-item-actions { padding-top: 4px; }
.wbc-meta { font-size: 11px; color: var(--wbc-muted); margin-left: 8px; }
.status-done .wbc-label { text-decoration: line-through; color: var(--wbc-muted); }
.status-na .wbc-label { text-decoration: line-through; color: #a7aaad; font-style: italic; }
.seo-unpaid .wbc-item.is-seo .wbc-label { color: #8c8f94; }
.seo-unpaid .wbc-item.is-seo { background: repeating-linear-gradient(-45deg, transparent 0 8px, #fafafa 8px 16px); }

.wbc-item-actions { display: flex; gap: 2px; opacity: 0; transition: opacity .15s; }
.wbc-item:hover .wbc-item-actions,
.wbc-item:focus-within .wbc-item-actions,
.wbc-item.notes-open .wbc-item-actions { opacity: 1; }
.wbc-item.has-notes .wbc-notes-btn { color: var(--wbc-accent); }
.wbc-item.has-notes .wbc-item-actions { opacity: 1; }
.wbc-item.has-notes .wbc-item-actions .wbc-icon:not(.wbc-notes-btn) { opacity: 0; }
.wbc-item.has-notes:hover .wbc-item-actions .wbc-icon,
.wbc-item.has-notes:focus-within .wbc-item-actions .wbc-icon { opacity: 1; }
.wbc-icon {
	background: none;
	border: 0;
	padding: 4px;
	cursor: pointer;
	color: var(--wbc-muted);
	border-radius: 4px;
	line-height: 1;
}
.wbc-icon:hover, .wbc-icon:focus { background: #f0f0f1; color: #1d2327; }
.wbc-icon .dashicons { font-size: 17px; width: 17px; height: 17px; }
.wbc-delete-btn:hover { color: #b32d2e; }
.status-na .wbc-na-btn { color: #b32d2e; }

.wbc-notes { padding: 4px 0 10px 26px; }
.wbc-notes textarea { width: 100%; }
.wbc-notes-foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.wbc-saved-msg { color: var(--wbc-green); font-size: 12px; }
.wbc-note-preview { padding: 0 0 6px 26px; font-size: 12px; color: var(--wbc-muted); white-space: pre-line; }
.wbc-item.notes-open .wbc-note-preview { display: none; }

/* Section tools */
.wbc-sec-tools { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--wbc-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.wbc-add-item { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wbc-add-label { min-width: 260px; }
.wbc-add-sub { width: 190px; }
.wbc-add-seo-label { font-size: 12px; }
.wbc-sec-actions { display: flex; gap: 14px; align-items: center; font-size: 12px; }
.wbc-sec-actions .button-link { font-size: 12px; text-decoration: none; }

/* Bottom cards */
.wbc-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 16px; margin-top: 16px; }
.wbc-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wbc-details-form .regular-text { width: 100%; }

/* Template page */
.wbc-template-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.wbc-template-form textarea { font-size: 13px; line-height: 1.5; }
.wbc-help { margin-top: 0; position: sticky; top: 50px; }
.wbc-help-table td { padding: 4px 8px 4px 0; vertical-align: top; }

@media (max-width: 782px) {
	.wbc-toolbar { top: 46px; }
	.wbc-item.has-field > .wbc-item-row { flex-wrap: wrap; }
	.wbc-item.has-field .wbc-item-main { flex: 1 1 60%; }
	.wbc-item.has-field .wbc-answer { order: 3; flex: 0 0 100%; padding-left: 20px; }
	.wbc-template-layout { grid-template-columns: 1fr; }
	.wbc-sec-progress .wbc-bar { width: 60px; }
	.wbc-item-actions { opacity: 1; }
	.wbc-add-label, .wbc-add-sub { min-width: 0; width: 100%; }
}

/* Print */
@media print {
	#adminmenumain, #wpadminbar, #wpfooter, .wbc-toolbar, .wbc-back, .wbc-head-seo button, .wbc-sec-tools,
	.wbc-bottom, .wbc-item-actions, .notice, .wbc-notes { display: none !important; }
	#wpcontent { margin-left: 0 !important; padding: 0 !important; }
	.wbc-section { break-inside: avoid-page; border: 0; }
	.wbc-section > summary::before { display: none; }
	.wbc-item-actions, .wbc-sec-bar { display: none; }
	.wbc-item.has-notes .wbc-item-actions { display: none !important; }
}


/* ================================================================== */
/* Answer boxes                                                        */
/* ================================================================== */
.wbc-answer { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wbc-answer .wbc-answer-input {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	padding: 6px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.4;
	background: #fff;
	color: #1d2327;
	margin: 0;
}
.wbc-answer .wbc-answer-input:focus { border-color: var(--wbc-accent, #2271b1); box-shadow: 0 0 0 1px var(--wbc-accent, #2271b1); outline: none; }
.wbc-answer textarea.wbc-answer-input { min-height: 64px; resize: vertical; }
.wbc-answer-rows { display: flex; flex-direction: column; gap: 6px; }
.wbc-answer-row { display: flex; gap: 6px; align-items: center; }
.wbc-answer-remove {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: none;
	color: #8c8f94;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.wbc-answer-remove:hover, .wbc-answer-remove:focus { color: #b32d2e; border-color: #dcdcde; background: #fff; }
.wbc-answer-add {
	align-self: flex-start;
	background: none;
	border: 1px dashed #8c8f94;
	border-radius: 6px;
	color: var(--wbc-accent, #2271b1);
	padding: 4px 12px;
	font-size: 13px;
	cursor: pointer;
}
.wbc-answer-add:hover, .wbc-answer-add:focus { border-style: solid; background: #f6f7f7; }
.wbc-answer-status { font-size: 12px; min-height: 1em; color: #646970; }
.wbc-answer-status:empty { display: none; }
.wbc-answer-status.is-saved { color: #1a7f37; }
.wbc-answer-status.is-error { color: #b32d2e; }
.wbc-type-label { margin-left: auto; font-size: 12px; }
.wbc-add-type { max-width: 200px; }
.wbc-copy-row { display: flex; gap: 6px; margin-bottom: 8px; }
.wbc-client-url { flex: 1; min-width: 0; font-family: monospace; font-size: 12px; }

/* ================================================================== */
/* Front end (shortcode) – theme-independent basics                    */
/* ================================================================== */
.wbc-fe {
	--wbc-accent: #2271b1;
	--wbc-green: #1a7f37;
	--wbc-seo: #7a4cc2;
	--wbc-seo-bg: #f1ebfb;
	--wbc-border: #dcdcde;
	--wbc-muted: #646970;
	--wbc-card: #fff;
	font-size: 15px;
	line-height: 1.5;
	color: #1d2327;
	text-align: left;
}
.wbc-fe *, .wbc-fe *::before, .wbc-fe *::after { box-sizing: border-box; }
.wbc-fe [hidden] { display: none !important; }
.wbc-fe .wbc-wrap { max-width: none; }
.wbc-fe h1, .wbc-fe h2, .wbc-fe h3, .wbc-fe h4 { font-family: inherit; letter-spacing: normal; text-transform: none; }
.wbc-fe .wbc-fe-title { font-size: 26px; margin: 0 0 12px; }
.wbc-fe .wbc-card h2 { font-size: 17px; }
.wbc-fe .wbc-head h1 { font-size: 28px; }
.wbc-fe ul, .wbc-fe li { list-style: none; margin-left: 0; padding-left: 0; }
.wbc-fe li::before, .wbc-fe li::marker { content: none; }
.wbc-fe input[type=text], .wbc-fe input[type=search], .wbc-fe select, .wbc-fe textarea {
	font: inherit;
	font-size: 14px;
	padding: 6px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #fff;
	color: #1d2327;
	max-width: 100%;
	height: auto;
	box-shadow: none;
	margin: 0;
}
.wbc-fe .regular-text { width: 25em; }
.wbc-fe .large-text { width: 100%; }
.wbc-fe input[type=checkbox] { width: 16px; height: 16px; margin: 0 4px 0 0; vertical-align: middle; accent-color: var(--wbc-accent); }
.wbc-fe .button, .wbc-fe button.button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	border: 1px solid var(--wbc-accent);
	border-radius: 6px;
	background: #fff;
	color: var(--wbc-accent);
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	min-height: 0;
}
.wbc-fe .button:hover { background: #f0f6fc; }
.wbc-fe .button-primary { background: var(--wbc-accent); color: #fff; }
.wbc-fe .button-primary:hover { background: #135e96; color: #fff; }
.wbc-fe .button-large { padding: 9px 18px; }
.wbc-fe .button-small { padding: 3px 10px; font-size: 13px; }
.wbc-fe .button-link {
	background: none;
	border: 0;
	padding: 0;
	color: var(--wbc-accent);
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	box-shadow: none;
	min-height: 0;
	text-transform: none;
	letter-spacing: normal;
}
.wbc-fe .wbc-icon, .wbc-fe .wbc-answer-remove, .wbc-fe .wbc-answer-add { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; }
.wbc-fe .wbc-icon { background: none; border: 0; }
.wbc-fe .widefat { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--wbc-border); }
.wbc-fe .widefat th, .wbc-fe .widefat td { padding: 10px 12px; border: 0; border-bottom: 1px solid #f0f0f1; text-align: left; font-size: 14px; }
.wbc-fe .widefat thead th { font-weight: 600; background: #f6f7f7; }
.wbc-fe .wbc-table-wrap { overflow-x: auto; }
.wbc-fe .notice { background: #fff; border: 1px solid var(--wbc-border); border-left: 4px solid var(--wbc-accent); padding: 4px 14px; margin: 12px 0; border-radius: 4px; }
.wbc-fe .notice p { margin: 6px 0; }
.wbc-fe .notice-success { border-left-color: #1a7f37; }
.wbc-fe .notice-warning { border-left-color: #dba617; }
.wbc-fe .notice-error { border-left-color: #b32d2e; }
.wbc-fe .wbc-toolbar { top: 0; background: #fff; padding: 10px 8px; border-radius: 8px; border: 1px solid var(--wbc-border); }
body.admin-bar .wbc-fe .wbc-toolbar { top: 32px; }
.wbc-fe .wbc-section > summary { font-size: 15px; }
.wbc-fe .wbc-section > summary::before { font-size: 18px; }
.wbc-fe .dashicons { font-family: dashicons; line-height: 1; }
.wbc-fe code { background: #f0f0f1; padding: 1px 5px; border-radius: 3px; }

/* Login gate */
.wbc-login { max-width: 420px; margin: 20px auto; padding: 24px; border: 1px solid var(--wbc-border); border-radius: 10px; background: #fff; }
.wbc-login h2 { margin-top: 0; font-size: 20px; }
.wbc-login input[type=text], .wbc-login input[type=password] { width: 100%; padding: 8px 10px; border: 1px solid #c3c4c7; border-radius: 6px; }
.wbc-login .button-primary, .wbc-login input[type=submit] { background: var(--wbc-accent); color: #fff; border: 0; border-radius: 6px; padding: 9px 18px; cursor: pointer; }

/* ================================================================== */
/* Client questionnaire                                                */
/* ================================================================== */
.wbc-client-view { max-width: 820px; margin: 0 auto; }
.wbc-cv-head {
	background: #fff;
	border: 1px solid var(--wbc-border);
	border-radius: 12px;
	padding: 24px 28px;
	margin-bottom: 20px;
}
.wbc-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--wbc-accent); margin: 0 0 4px; }
.wbc-cv-title { font-size: 30px; line-height: 1.2; margin: 0 0 2px; }
.wbc-cv-intro { margin: 14px 0 16px; color: #3c434a; }
.wbc-cv-progress .wbc-bar { height: 10px; }
.wbc-cv-progress p { margin: 8px 0 0; font-size: 14px; color: var(--wbc-muted); }
.wbc-cv-section {
	background: #fff;
	border: 1px solid var(--wbc-border);
	border-radius: 12px;
	padding: 20px 28px 12px;
	margin-bottom: 20px;
}
.wbc-cv-sec-title { font-size: 21px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.wbc-cv-sec-title span {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wbc-accent);
	color: #fff;
	font-size: 14px;
	flex: 0 0 auto;
}
.wbc-cv-note { color: var(--wbc-muted); margin: 0 0 8px; }
.wbc-cv-sub { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--wbc-muted); margin: 20px 0 4px; }
.wbc-cv-items { margin: 0; padding: 0; }
.wbc-citem {
	display: grid;
	grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
	gap: 8px 20px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f1;
}
.wbc-citem:last-child { border-bottom: 0; }
.wbc-citem-label { font-weight: 600; padding-top: 7px; position: relative; padding-left: 24px; }
.wbc-citem-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #c3c4c7;
}
.wbc-citem.is-answered .wbc-citem-label::before { background: var(--wbc-green); border-color: var(--wbc-green); }
.wbc-citem .wbc-answer .wbc-answer-input { font-size: 15px; padding: 8px 12px; }
.wbc-cv-foot { text-align: center; color: var(--wbc-muted); margin: 10px 0 30px; }
.wbc-cv-foot .dashicons { color: var(--wbc-green); vertical-align: middle; }
@media (max-width: 640px) {
	.wbc-cv-head, .wbc-cv-section { padding: 18px 16px; border-radius: 10px; }
	.wbc-citem { grid-template-columns: 1fr; }
	.wbc-citem-label { padding-top: 0; }
	.wbc-citem-label::before { top: 3px; }
	.wbc-fe .regular-text { width: 100%; }
	.wbc-fe .wbc-toolbar { position: static; }
}

@media print {
	.wbc-answer-add, .wbc-answer-remove, .wbc-answer-status, .wbc-copy-row, .wbc-type-label { display: none !important; }
	.wbc-answer .wbc-answer-input { border: 0; border-bottom: 1px solid #999; border-radius: 0; }
}

/* Let the team checklist use the theme's wide width in block themes. */
.is-layout-constrained > .wbc-fe.wbc-team {
	max-width: var(--wp--style--global--wide-size, 1200px) !important;
}

/* Answered questions stay readable (no strike-through). */
.wbc-item.has-field.status-done .wbc-label { text-decoration: none; color: #3c434a; }
