/* Quill Booking Blog — editorial design system. Scoped to .qbb so the theme is untouched. */
.qbb {
	--qbb-brand: #9810fa;
	--qbb-brand-600: #8200db;
	--qbb-brand-700: #6e11b0;
	--qbb-brand-50: #faf5ff;
	--qbb-brand-100: #f3e8ff;
	--qbb-brand-200: #e9d4ff;
	--qbb-ink: #0f0d16;
	--qbb-text: #2e2b38;
	--qbb-muted: #6b6878;
	--qbb-line: #ebe8f1;
	--qbb-soft: #f8f7fb;
	--qbb-green: #0e9f6e;
	--qbb-red: #e02d3c;
	--qbb-amber: #b45309;
	--qbb-radius: 18px;
	--qbb-shadow: 0 1px 2px rgba(17, 12, 34, .04), 0 8px 24px -12px rgba(17, 12, 34, .12);
	--qbb-shadow-lg: 0 2px 4px rgba(17, 12, 34, .04), 0 24px 48px -24px rgba(60, 20, 120, .28);
	--qbb-head: "Sora", ui-sans-serif, system-ui, sans-serif;
	--qbb-body: "Inter", ui-sans-serif, system-ui, sans-serif;
	--qbb-wrap: 1320px;
	font-family: var(--qbb-body);
	color: var(--qbb-text);
	-webkit-font-smoothing: antialiased;
}
.qbb *, .qbb *::before, .qbb *::after { box-sizing: border-box; }
.qbb a { text-decoration: none; }
.qbb-wrap { width: 100%; max-width: var(--qbb-wrap); margin-inline: auto; padding-inline: 24px; }
.qbb-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 600 12px/1 var(--qbb-body); letter-spacing: .12em; text-transform: uppercase;
	color: var(--qbb-brand-600); margin: 0 0 18px;
}
.qbb-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.qbb-eyebrow--light { color: #e9d4ff; }

/* Buttons */
.qbb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border-radius: 12px; font: 600 15px/1 var(--qbb-body);
	background: var(--qbb-brand); color: #fff !important; border: 1px solid transparent;
	box-shadow: 0 6px 18px -8px rgba(152, 16, 250, .7);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.qbb-btn:hover { background: var(--qbb-brand-600) !important; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(152, 16, 250, .8); }
.qbb-btn--light { background: #fff !important; color: var(--qbb-brand-700) !important; box-shadow: none; }
.qbb-btn--light:hover { background: var(--qbb-brand-50) !important; }
.qbb-btn--ghost { background: transparent !important; border-color: rgba(255,255,255,.35); box-shadow: none; }
.qbb-btn--ghost:hover { background: rgba(255,255,255,.1) !important; }

/* Breadcrumbs */
.qbb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--qbb-muted); margin-bottom: 28px; }
.qbb-crumbs a { color: var(--qbb-muted); }
.qbb-crumbs a:hover { color: var(--qbb-brand-600); }
.qbb-crumbs span { color: #c9c5d4; }

/* ---------- Archive / index ---------- */
.qbb-archive-head {
	position: relative; overflow: hidden; padding: 72px 0 44px;
	background:
		radial-gradient(900px 380px at 85% -10%, rgba(152, 16, 250, .12), transparent 60%),
		radial-gradient(700px 300px at 0% 0%, rgba(253, 154, 0, .07), transparent 60%),
		linear-gradient(#fff, #fff);
	border-bottom: 1px solid var(--qbb-line);
}
.qbb-archive-head::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(15,13,22,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,13,22,.035) 1px, transparent 1px);
	background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.qbb-archive-head .qbb-wrap { position: relative; z-index: 1; }
.qbb-archive-title {
	font: 600 clamp(34px, 5vw, 58px)/1.06 var(--qbb-head); letter-spacing: -.035em;
	color: var(--qbb-ink); margin: 0; max-width: 860px;
}
.qbb-archive-desc { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--qbb-muted); margin: 20px 0 0; max-width: 680px; }
.qbb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.qbb-chips a {
	padding: 9px 16px; border-radius: 999px; font: 500 14px/1 var(--qbb-body);
	color: var(--qbb-text); background: #fff; border: 1px solid var(--qbb-line);
	transition: border-color .15s, color .15s, background .15s;
}
.qbb-chips a:hover { border-color: var(--qbb-brand-200); color: var(--qbb-brand-700); }
.qbb-chips a.is-active { background: var(--qbb-ink); border-color: var(--qbb-ink); color: #fff; }
.qbb-list { padding-top: 56px; padding-bottom: 88px; }
.qbb-empty { color: var(--qbb-muted); font-size: 18px; }

/* Cards */
.qbb-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qbb-card { display: flex; flex-direction: column; min-width: 0; }
.qbb-card-media {
	display: block; aspect-ratio: 16 / 9; border-radius: var(--qbb-radius); overflow: hidden;
	background: var(--qbb-soft); border: 1px solid var(--qbb-line); box-shadow: var(--qbb-shadow);
}
.qbb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.qbb-card:hover .qbb-card-media img { transform: scale(1.035); }
.qbb-card-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--qbb-brand-100), #fff3e0); }
.qbb-card-body { padding-top: 20px; }
.qbb-card-cat { font: 600 12px/1 var(--qbb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--qbb-brand-600); }
.qbb-card-title { font: 600 21px/1.3 var(--qbb-head); letter-spacing: -.02em; margin: 12px 0 10px; }
.qbb-card-title a { color: var(--qbb-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s; }
.qbb-card:hover .qbb-card-title a { background-size: 100% 1.5px; }
.qbb-card-excerpt { font-size: 15.5px; line-height: 1.6; color: var(--qbb-muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qbb-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #8d8a99; margin: 0; }
.qbb-card--feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--qbb-line); }
.qbb-card--feature .qbb-card-media { box-shadow: var(--qbb-shadow-lg); }
.qbb-card--feature .qbb-card-body { padding: 0; }
.qbb-card--feature .qbb-card-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.03em; }
.qbb-card--feature .qbb-card-excerpt { font-size: 17px; -webkit-line-clamp: 4; }

.qbb-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 72px; }
.qbb-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--qbb-line); color: var(--qbb-text); font-weight: 500; }
.qbb-pagination .page-numbers.current { background: var(--qbb-ink); color: #fff; border-color: var(--qbb-ink); }
.qbb-pagination a.page-numbers:hover { border-color: var(--qbb-brand-200); color: var(--qbb-brand-700); }

/* ---------- Single article ---------- */
.qbb-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99999; pointer-events: none; }
.qbb-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--qbb-brand), #fd9a00); }
.admin-bar .qbb-progress { top: 32px; }

.qbb-article-head {
	padding: 56px 0 40px;
	background: radial-gradient(1000px 360px at 50% -40%, rgba(152, 16, 250, .10), transparent 70%);
}
.qbb-article-intro { max-width: 860px; }
.qbb-title {
	font: 600 clamp(32px, 4.6vw, 54px)/1.08 var(--qbb-head); letter-spacing: -.035em;
	color: var(--qbb-ink); margin: 0; text-wrap: balance;
}
.qbb-dek { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--qbb-muted); margin: 22px 0 0; max-width: 760px; text-wrap: pretty; }
.qbb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--qbb-line); }
.qbb-byline-author { display: flex; align-items: center; gap: 14px; }
.qbb-avatar { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--qbb-line); }
.qbb-byline-author strong { display: block; font: 600 15px/1.3 var(--qbb-body); color: var(--qbb-ink); }
.qbb-byline-author em { display: block; font-style: normal; font-size: 13.5px; color: var(--qbb-muted); }
.qbb-byline-meta { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--qbb-ink); font-weight: 500; }
.qbb-byline-meta span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #9a97a6; margin-bottom: 4px; }

.qbb-cover { margin: 0 auto 8px; }
.qbb-cover img { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--qbb-line); box-shadow: var(--qbb-shadow-lg); }

.qbb-layout { display: grid; grid-template-columns: 220px minmax(0, 720px) 260px; justify-content: space-between; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.qbb-layout--no-toc { grid-template-columns: minmax(0, 720px) 260px; }

/* TOC */
.qbb-toc { position: relative; }
.qbb-toc-box { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow: auto; scrollbar-width: thin; }
.admin-bar .qbb-toc-box { top: 144px; }
.qbb-toc summary { list-style: none; cursor: default; font: 600 12px/1 var(--qbb-body); letter-spacing: .1em; text-transform: uppercase; color: var(--qbb-ink); margin-bottom: 14px; pointer-events: none; }
.qbb-toc summary::-webkit-details-marker { display: none; }
.qbb-toc ol { list-style: none; margin: 0; padding: 0 0 0 1px; border-left: 1px solid var(--qbb-line); }
.qbb-toc li { margin: 0; padding: 0; }
.qbb-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--qbb-muted); transition: color .15s, border-color .15s; }
.qbb-toc a:hover { color: var(--qbb-ink); }
.qbb-toc a.is-active { color: var(--qbb-brand-700); border-left-color: var(--qbb-brand); font-weight: 500; }

/* Right rail */
.qbb-rail-card {
	position: sticky; top: 112px; padding: 26px; border-radius: var(--qbb-radius);
	background: linear-gradient(180deg, var(--qbb-brand-50), #fff 70%); border: 1px solid var(--qbb-brand-100);
}
.admin-bar .qbb-rail-card { top: 144px; }
.qbb-rail-kicker { font: 600 11.5px/1 var(--qbb-body); letter-spacing: .1em; text-transform: uppercase; color: var(--qbb-brand-600); margin: 0 0 12px; }
.qbb-rail-title { font: 600 19px/1.3 var(--qbb-head); letter-spacing: -.02em; color: var(--qbb-ink); margin: 0 0 16px; }
.qbb-rail-card ul { list-style: none; margin: 0 0 22px; padding: 0; }
.qbb-rail-card li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--qbb-text); margin: 0 0 9px; }
.qbb-rail-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 99px; background: var(--qbb-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/16px no-repeat; }
.qbb-rail-card .qbb-btn { width: 100%; }

/* ---------- Article typography ---------- */
.qbb-content { font-size: 18px; line-height: 1.75; color: var(--qbb-text); }
.qbb-content > * { margin-top: 0; margin-bottom: 26px; }
.qbb-content p { margin: 0 0 26px; }
.qbb-content a { color: var(--qbb-brand-700); text-decoration: underline; text-decoration-color: var(--qbb-brand-200); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.qbb-content a:hover { text-decoration-color: var(--qbb-brand); }
.qbb-content strong { font-weight: 600; color: var(--qbb-ink); }
.qbb-content h2 {
	font: 600 clamp(26px, 2.6vw, 33px)/1.2 var(--qbb-head); letter-spacing: -.028em; color: var(--qbb-ink);
	margin: 72px 0 22px; scroll-margin-top: 110px;
}
.qbb-content h3 { font: 600 22px/1.35 var(--qbb-head); letter-spacing: -.018em; color: var(--qbb-ink); margin: 44px 0 14px; scroll-margin-top: 110px; }
.qbb-content h4 { font: 600 17px/1.4 var(--qbb-head); color: var(--qbb-ink); margin: 30px 0 10px; }
.qbb-content h2 + h3 { margin-top: 0; }
.qbb-content ul, .qbb-content ol { margin: 0 0 26px; padding-left: 26px; }
.qbb-content ul { list-style: disc; }
.qbb-content ol { list-style: decimal; }
.qbb-content li { margin: 0 0 10px; padding-left: 6px; }
.qbb-content li::marker { color: var(--qbb-brand); font-weight: 600; }
.qbb-content blockquote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--qbb-brand); font: 500 21px/1.55 var(--qbb-head); color: var(--qbb-ink); letter-spacing: -.01em; }
.qbb-content blockquote cite { display: block; margin-top: 12px; font: 500 14px/1.4 var(--qbb-body); color: var(--qbb-muted); font-style: normal; }
.qbb-content hr { border: 0; height: 1px; background: var(--qbb-line); margin: 56px 0; }
.qbb-content code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--qbb-soft); border: 1px solid var(--qbb-line); }
.qbb-content figure { margin: 36px 0; }
.qbb-content figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.qbb-content figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--qbb-muted); text-align: center; }
.qbb-content .wp-block-image { margin: 36px 0; }

/* Tables */
.qbb-content .qbb-table, .qbb-content .wp-block-table { margin: 32px 0 36px; overflow-x: auto; border: 1px solid var(--qbb-line); border-radius: 16px; box-shadow: var(--qbb-shadow); background: #fff; -webkit-overflow-scrolling: touch; }
.qbb-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.qbb-content thead th { background: var(--qbb-soft); font: 600 12.5px/1.3 var(--qbb-body); letter-spacing: .05em; text-transform: uppercase; color: var(--qbb-ink); text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--qbb-line); vertical-align: bottom; }
.qbb-content tbody td, .qbb-content tbody th { padding: 14px 14px; border-bottom: 1px solid var(--qbb-line); vertical-align: top; text-align: left; }
.qbb-content tbody th { font-weight: 600; color: var(--qbb-ink); min-width: 120px; }
.qbb-content .qbb-table--compact table { font-size: 14px; }
.qbb-content .qbb-table--compact thead th { font-size: 11px; letter-spacing: .04em; padding: 12px 10px; }
.qbb-content .qbb-table--compact tbody td, .qbb-content .qbb-table--compact tbody th { padding: 12px 10px; }
.qbb-content .qbb-table--compact td { text-align: center; }
.qbb-content .qbb-table--compact thead th:not(:first-child) { text-align: center; }
.qbb-content tbody tr:last-child td, .qbb-content tbody tr:last-child th { border-bottom: 0; }
.qbb-content tbody tr:hover { background: #fcfbfe; }
.qbb-content .qbb-table caption { caption-side: bottom; padding: 12px 16px; font-size: 13px; color: var(--qbb-muted); text-align: left; border-top: 1px solid var(--qbb-line); }
.qbb-yes { color: var(--qbb-green); font-weight: 600; }
.qbb-no { color: #a3a0ad; }
.qbb-part { color: var(--qbb-amber); font-weight: 500; }
.qbb-content tr.qbb-row-hl { background: var(--qbb-brand-50); }
.qbb-content tr.qbb-row-hl:hover { background: var(--qbb-brand-50); }

/* Answer box (AEO): direct answer under the H1 */
.qbb-answer {
	position: relative; padding: 26px 28px; border-radius: var(--qbb-radius);
	background: linear-gradient(135deg, #fff, var(--qbb-brand-50)); border: 1px solid var(--qbb-brand-100);
	box-shadow: var(--qbb-shadow);
}
.qbb-answer-label { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--qbb-body); letter-spacing: .1em; text-transform: uppercase; color: var(--qbb-brand-700); margin: 0 0 12px !important; }
.qbb-answer-label::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--qbb-brand); box-shadow: 0 0 0 4px var(--qbb-brand-100); }
.qbb-answer p { margin: 0 0 12px; }
.qbb-answer p:last-child { margin-bottom: 0; }
.qbb-answer ul { margin: 10px 0 0; }

/* Quick picks */
.qbb-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 40px; }
.qbb-pick { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--qbb-line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; color: inherit !important; text-decoration: none !important; }
.qbb-pick:hover { border-color: var(--qbb-brand-200); box-shadow: var(--qbb-shadow); transform: translateY(-1px); }
.qbb-pick-label { font: 600 11.5px/1 var(--qbb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--qbb-muted); }
.qbb-pick-name { font: 600 17px/1.3 var(--qbb-head); color: var(--qbb-ink); letter-spacing: -.01em; }
.qbb-pick-note { font-size: 14px; line-height: 1.5; color: var(--qbb-muted); }
.qbb-pick--top { grid-column: 1 / -1; background: linear-gradient(135deg, var(--qbb-brand-50), #fff); border-color: var(--qbb-brand-100); }
.qbb-pick--top .qbb-pick-label { color: var(--qbb-brand-700); }

/* Tool entry */
.qbb-tool-head { display: flex; align-items: center; gap: 14px; margin: 80px 0 18px; scroll-margin-top: 110px; }
.qbb-content .qbb-tool-head h2 { margin: 0; }
.qbb-rank { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--qbb-ink); color: #fff; font: 600 17px/1 var(--qbb-head); }
.qbb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--qbb-body); background: var(--qbb-brand-100); color: var(--qbb-brand-700); margin: 0 0 18px; }
.qbb-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 26px 0 30px; border: 1px solid var(--qbb-line); border-radius: 14px; overflow: hidden; background: #fff; }
.qbb-fact { padding: 14px 16px; border-right: 1px solid var(--qbb-line); }
.qbb-fact:last-child { border-right: 0; }
.qbb-fact dt { font: 600 11px/1.2 var(--qbb-body); letter-spacing: .08em; text-transform: uppercase; color: #9a97a6; margin: 0 0 6px; }
.qbb-fact dd { margin: 0; font: 600 14.5px/1.35 var(--qbb-body); color: var(--qbb-ink); }
.qbb-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.qbb-pc { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--qbb-line); background: #fff; }
.qbb-pc h4 { margin: 0 0 12px !important; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; }
.qbb-pc ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.qbb-pc li { position: relative; padding-left: 24px !important; font-size: 15.5px; line-height: 1.55; margin-bottom: 9px !important; }
.qbb-pc li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.qbb-pc--pro { background: #f4fbf8; border-color: #d3efe3; }
.qbb-pc--pro h4 { color: var(--qbb-green) !important; }
.qbb-pc--pro li::before { content: "+"; color: var(--qbb-green); }
.qbb-pc--con { background: #fdf7f7; border-color: #f5dcdd; }
.qbb-pc--con h4 { color: var(--qbb-red) !important; }
.qbb-pc--con li::before { content: "−"; color: var(--qbb-red); }
.qbb-bestfor { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: var(--qbb-soft); border: 1px solid var(--qbb-line); font-size: 16px; line-height: 1.6; }
.qbb-bestfor strong { flex: none; }

/* Screenshot frame */
.qbb-shot { margin: 30px 0 34px !important; }
.qbb-shot-frame { border-radius: 14px; overflow: hidden; border: 1px solid #e3e0ea; background: #fff; box-shadow: var(--qbb-shadow-lg); }
.qbb-shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f6f5f9; border-bottom: 1px solid #ebe8f1; }
.qbb-shot-bar i { width: 10px; height: 10px; border-radius: 99px; background: #e2dfe8; }
.qbb-shot-bar i:nth-child(1) { background: #ff5f57; } .qbb-shot-bar i:nth-child(2) { background: #febc2e; } .qbb-shot-bar i:nth-child(3) { background: #28c840; }
.qbb-shot-bar span { margin-left: 12px; flex: 1; max-width: 360px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #ebe8f1; font: 500 11px/18px var(--qbb-body); color: #8d8a99; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qbb-content .qbb-shot img { border-radius: 0; }

/* Callouts */
.qbb-note { padding: 18px 22px; border-radius: 14px; border: 1px solid var(--qbb-line); background: var(--qbb-soft); font-size: 16px; line-height: 1.65; }
.qbb-note p { margin: 0 0 8px; } .qbb-note p:last-child { margin: 0; }
.qbb-note--disclosure { background: #fffaf0; border-color: #fde7c2; }
.qbb-note--tip { background: var(--qbb-brand-50); border-color: var(--qbb-brand-100); }
.qbb-note strong:first-child { color: var(--qbb-ink); }

/* Steps */
.qbb-steps { counter-reset: qbbstep; list-style: none !important; padding: 0 !important; margin: 28px 0 32px !important; }
.qbb-steps > li { counter-increment: qbbstep; position: relative; padding: 0 0 22px 56px !important; margin: 0 !important; }
.qbb-steps > li::before { content: counter(qbbstep); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--qbb-brand-100); color: var(--qbb-brand-700); font: 600 15px/1 var(--qbb-head); }
.qbb-steps > li::after { content: ""; position: absolute; left: 17.5px; top: 42px; bottom: 6px; width: 1px; background: var(--qbb-line); }
.qbb-steps > li:last-child::after { display: none; }
.qbb-steps > li > strong:first-child { display: block; font-family: var(--qbb-head); font-size: 17.5px; margin-bottom: 4px; }

/* Score bars (methodology) */
.qbb-scores { display: grid; gap: 10px; margin: 24px 0 30px; }
.qbb-score { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 14px; font-size: 15px; }
.qbb-score b { font-weight: 600; color: var(--qbb-ink); }
.qbb-score-bar { height: 8px; border-radius: 99px; background: var(--qbb-soft); border: 1px solid var(--qbb-line); overflow: hidden; }
.qbb-score-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--qbb-brand), #c27aff); }
.qbb-score em { font-style: normal; font-weight: 600; color: var(--qbb-muted); text-align: right; font-size: 14px; }

/* FAQ */
.qbb-faq { margin: 24px 0 36px; border-top: 1px solid var(--qbb-line); }
.qbb-faq details { border-bottom: 1px solid var(--qbb-line); }
.qbb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 18px/1.4 var(--qbb-head); letter-spacing: -.01em; color: var(--qbb-ink); }
.qbb-faq summary::-webkit-details-marker { display: none; }
.qbb-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 99px; background: var(--qbb-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e11b0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s; }
.qbb-faq details[open] summary::after { transform: rotate(45deg); }
.qbb-faq .qbb-faq-a { padding: 0 52px 22px 0; font-size: 16.5px; line-height: 1.7; }
.qbb-faq .qbb-faq-a p { margin: 0 0 12px; } .qbb-faq .qbb-faq-a p:last-child { margin: 0; }

/* Inline CTA inside articles */
.qbb-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: var(--qbb-radius); background: var(--qbb-ink); color: #d9d6e3; margin: 44px 0 !important; }
.qbb-inline-cta p { margin: 0 !important; font-size: 16px; line-height: 1.6; }
.qbb-inline-cta strong { display: block; color: #fff !important; font: 600 20px/1.3 var(--qbb-head); letter-spacing: -.02em; margin-bottom: 4px; }
.qbb-content .qbb-inline-cta a.qbb-btn { flex: none; text-decoration: none; }

/* Article footer */
.qbb-article-foot { margin-top: 64px; }
.qbb-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.qbb-tags a { display: inline-block; padding: 7px 13px; border-radius: 999px; font-size: 13px; color: var(--qbb-muted); background: var(--qbb-soft); border: 1px solid var(--qbb-line); }
.qbb-author-box { display: flex; gap: 22px; padding: 28px; border-radius: var(--qbb-radius); border: 1px solid var(--qbb-line); background: #fff; box-shadow: var(--qbb-shadow); }
.qbb-avatar--lg { width: 72px; height: 72px; flex: none; }
.qbb-author-kicker { font: 600 11.5px/1 var(--qbb-body); letter-spacing: .1em; text-transform: uppercase; color: #9a97a6; margin: 4px 0 8px; }
.qbb-author-name { margin: 0 0 10px; font: 600 19px/1.3 var(--qbb-head); }
.qbb-author-name a { color: var(--qbb-ink); }
.qbb-author-name span { display: block; font: 400 14px/1.4 var(--qbb-body); color: var(--qbb-muted); margin-top: 2px; }
.qbb-author-bio { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; }
.qbb-author-policy { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--qbb-muted); padding-top: 12px; border-top: 1px dashed var(--qbb-line); }

/* Related + CTA band */
.qbb-related { padding: 72px 0 88px; background: var(--qbb-soft); border-top: 1px solid var(--qbb-line); margin-top: 40px; }
.qbb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.qbb-section-head h2 { font: 600 clamp(26px, 3vw, 34px)/1.15 var(--qbb-head); letter-spacing: -.03em; color: var(--qbb-ink); margin: 0; }
.qbb-section-head a { font-weight: 600; color: var(--qbb-brand-700); font-size: 15px; }
.qbb-cta-band { padding: 0 0 24px; }
.qbb-cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding-top: 56px; padding-bottom: 56px; border-radius: 28px; color: #e7e3f0;
	background: radial-gradient(600px 300px at 90% 0%, rgba(253,154,0,.22), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(194,122,255,.35), transparent 60%), linear-gradient(135deg, #3c0366, #6e11b0 55%, #8200db);
	box-shadow: var(--qbb-shadow-lg);
	max-width: calc(var(--qbb-wrap) - 48px); padding-inline: 56px;
}
.qbb-single .qbb-cta-band, .qbb-archive .qbb-cta-band { margin-top: 0; }
.qbb-single .qbb-related + .qbb-cta-band { background: var(--qbb-soft); padding-top: 0; }
.qbb-cta-inner h2 { font: 600 clamp(26px, 3vw, 36px)/1.15 var(--qbb-head); letter-spacing: -.03em; color: #fff; margin: 0 0 12px; max-width: 620px; }
.qbb-cta-inner p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 560px; }
.qbb-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
	.qbb-layout { grid-template-columns: 220px minmax(0, 760px); gap: 56px; justify-content: start; }
	.qbb-layout--no-toc { grid-template-columns: minmax(0, 760px); justify-content: center; }
	.qbb-rail { display: none; }
}
@media (max-width: 960px) {
	.qbb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qbb-card--feature { grid-template-columns: 1fr; gap: 24px; }
	.qbb-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
	.qbb-toc-box { position: static; max-height: none; border: 1px solid var(--qbb-line); border-radius: 14px; padding: 16px 18px; margin-bottom: 8px; background: #fff; }
	.qbb-toc summary { pointer-events: auto; cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
	.qbb-toc summary::after { content: "+"; font-size: 16px; color: var(--qbb-muted); }
	.qbb-toc details[open] summary { margin-bottom: 14px; }
	.qbb-toc details[open] summary::after { content: "−"; }
	.qbb-cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 28px; border-radius: 22px; }
	.qbb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qbb-fact:nth-child(2) { border-right: 0; }
	.qbb-fact:nth-child(-n+2) { border-bottom: 1px solid var(--qbb-line); }
}
@media (max-width: 640px) {
	.qbb-wrap { padding-inline: 18px; }
	.qbb-grid { grid-template-columns: 1fr; }
	.qbb-archive-head { padding: 44px 0 32px; }
	.qbb-article-head { padding: 32px 0 28px; }
	.qbb-byline { gap: 18px; }
	.qbb-byline-meta { gap: 20px; }
	.qbb-content { font-size: 17px; }
	.qbb-content h2 { margin-top: 56px; }
	.qbb-picks, .qbb-proscons { grid-template-columns: 1fr; }
	.qbb-score { grid-template-columns: 120px 1fr 40px; font-size: 14px; }
	.qbb-inline-cta { flex-direction: column; align-items: flex-start; }
	.qbb-author-box { flex-direction: column; padding: 22px; }
	.qbb-cover img { border-radius: 14px; }
	.qbb-faq .qbb-faq-a { padding-right: 0; }
	.qbb-cta-inner { margin-inline: 18px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.qbb *, .qbb *::before, .qbb *::after { transition: none !important; }
	.qbb-progress { display: none; }
}
@media print {
	.qbb-progress, .qbb-toc, .qbb-rail, .qbb-related, .qbb-cta-band { display: none !important; }
	.qbb-layout { display: block; }
}

/* ---- v1.0.5: guide components ---- */
.qbb-takeaways { margin: 28px 0 34px; padding: 22px 24px 20px; border-radius: 18px; background: linear-gradient(180deg, var(--qbb-brand-50), #fff); border: 1px solid var(--qbb-brand-100); }
.qbb-takeaways h4 { margin: 0 0 12px !important; font: 600 13px/1 var(--qbb-body) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--qbb-brand-700); }
.qbb-takeaways ul { margin: 0 !important; padding: 0 !important; list-style: none !important; display: grid; gap: 10px; }
.qbb-takeaways li { position: relative; padding-left: 28px !important; margin: 0 !important; font-size: 16.5px; line-height: 1.55; }
.qbb-takeaways li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--qbb-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9L15.6 6z'/%3E%3C/svg%3E") center/14px no-repeat; }
.qbb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 28px 0 32px; }
.qbb-stat { padding: 20px 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--qbb-line); box-shadow: var(--qbb-shadow); }
.qbb-stat b { display: block; font: 700 34px/1 var(--qbb-head); letter-spacing: -.03em; color: var(--qbb-brand-600); margin-bottom: 10px; }
.qbb-stat span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--qbb-text); }
.qbb-stat small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--qbb-muted); }
.qbb-stat small a { color: inherit; }
.qbb-tpls { display: grid; gap: 16px; margin: 22px 0 30px; }
.qbb-tpl { border-radius: 16px; border: 1px solid var(--qbb-line); background: #fff; box-shadow: var(--qbb-shadow); overflow: hidden; }
.qbb-tpl-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--qbb-line); background: var(--qbb-soft); }
.qbb-tpl-head strong { flex: 1; font: 600 15px/1.3 var(--qbb-head); color: var(--qbb-ink); }
.qbb-tpl-tag { font: 600 11.5px/1 var(--qbb-body); padding: 6px 9px; border-radius: 99px; background: var(--qbb-brand-100); color: var(--qbb-brand-700); white-space: nowrap; }
.qbb-tpl-tag--sms { background: #e0f2fe; color: #0369a1; } .qbb-tpl-tag--wa { background: #dcfce7; color: #15803d; } .qbb-tpl-tag--email { background: #fef3c7; color: #92400e; }
.qbb-copy { appearance: none; border: 1px solid var(--qbb-line); background: #fff; color: var(--qbb-ink); font: 600 13px/1 var(--qbb-body); padding: 8px 12px; border-radius: 10px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.qbb-copy:hover { border-color: var(--qbb-brand); color: var(--qbb-brand-600); background: var(--qbb-brand-50) !important; }
.qbb-copy.is-done { background: var(--qbb-green) !important; border-color: var(--qbb-green); color: #fff; }
.qbb-tpl pre { margin: 0 !important; padding: 16px 18px !important; background: #fff !important; border: 0 !important; border-radius: 0 !important; white-space: pre-wrap; word-break: break-word; font: 400 15.5px/1.65 var(--qbb-body) !important; color: var(--qbb-text) !important; }
.qbb-tpl-meta { padding: 0 18px 14px; font-size: 12.5px; color: var(--qbb-muted); }
.qbb-var { display: inline; padding: 1px 6px; border-radius: 6px; background: var(--qbb-brand-50); color: var(--qbb-brand-700); font-weight: 600; }
.qbb-checklist { list-style: none !important; padding: 0 !important; margin: 20px 0 28px !important; display: grid; gap: 10px; }
.qbb-checklist li { position: relative; padding: 14px 16px 14px 48px !important; margin: 0 !important; border-radius: 14px; border: 1px solid var(--qbb-line); background: #fff; line-height: 1.55; }
.qbb-checklist li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--qbb-brand); background: var(--qbb-brand-50); }
.qbb-builder { margin: 26px 0 34px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--qbb-brand-100); box-shadow: var(--qbb-shadow-lg); }
.qbb-builder h4 { margin: 0 0 4px !important; font: 600 19px/1.3 var(--qbb-head) !important; color: var(--qbb-ink); }
.qbb-builder > p { margin: 0 0 18px !important; font-size: 15px; color: var(--qbb-muted); }
.qbb-builder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.qbb-builder label { display: block; font: 600 13px/1.3 var(--qbb-body); color: var(--qbb-ink); }
.qbb-builder input, .qbb-builder select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid #d9d4e5; background: #fff; font: 400 15px/1.3 var(--qbb-body); color: var(--qbb-ink); }
.qbb-builder input:focus, .qbb-builder select:focus { outline: 2px solid var(--qbb-brand-200); border-color: var(--qbb-brand); }
.qbb-builder .qbb-tpl { box-shadow: none; }
.qbb-calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qbb-calc-out div { padding: 16px; border-radius: 14px; background: var(--qbb-soft); border: 1px solid var(--qbb-line); }
.qbb-calc-out b { display: block; font: 700 26px/1.1 var(--qbb-head); color: var(--qbb-brand-600); letter-spacing: -.02em; }
.qbb-calc-out span { display: block; margin-top: 6px; font-size: 13px; color: var(--qbb-muted); }
@media (max-width: 640px) { .qbb-builder-grid, .qbb-calc-out { grid-template-columns: 1fr; } .qbb-builder { padding: 18px; } }
