/*!
 * Calendar Maker WP — scoped styles. Every selector is prefixed with .bc-
 * so the active theme cannot restyle the app, and the app cannot leak.
 */

/* ---------------------------------------------------------------------
 * Scoped reset (beats typical theme selectors like `button`, `input`,
 * `.entry-content p`, `article label` by specificity).
 * ------------------------------------------------------------------- */
.bc-app,
.bc-app *,
.bc-app *::before,
.bc-app *::after,
.bc-print-root,
.bc-print-root *,
.bc-export-host,
.bc-export-host * {
	box-sizing: border-box;
}
.bc-app {
	--bc-ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bc-ui-ink: #1d2327;
	--bc-ui-muted: #646970;
	--bc-ui-line: #dcdfe4;
	--bc-ui-bg: #f6f7f9;
	--bc-ui-panel: #ffffff;
	--bc-ui-accent: #2c5d8f;
	--bc-ui-accent-ink: #ffffff;
	--bc-sbw: 0px;
	position: relative;
	display: flex;
	flex-direction: column;
	height: var(--bc-app-height, calc(100vh - 48px));
	min-height: 640px;
	margin: 1.5em 0;
	padding: 0;
	border: 1px solid var(--bc-ui-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--bc-ui-bg);
	color: var(--bc-ui-ink);
	font-family: var(--bc-ui-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	max-width: none;
}
.bc-app.bc-layout-full {
	width: calc(100vw - var(--bc-sbw));
	margin-left: calc(50% - 50vw + var(--bc-sbw) / 2);
	margin-right: calc(50% - 50vw + var(--bc-sbw) / 2);
	border-radius: 0;
	border-left: 0;
	border-right: 0;
}
.bc-app.bc-layout-contained { width: 100%; }

.bc-app h1, .bc-app h2, .bc-app h3, .bc-app p, .bc-app ul, .bc-app ol, .bc-app li,
.bc-app figure, .bc-app details, .bc-app summary, .bc-app label, .bc-app aside, .bc-app main {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	color: inherit;
	background: none;
	letter-spacing: inherit;
	text-transform: none;
	max-width: none;
	box-shadow: none;
}
.bc-app ul, .bc-app ol { list-style: none; }
.bc-app svg { display: inline-block; vertical-align: middle; max-width: none; }
.bc-app button,
.bc-app input,
.bc-app select {
	margin: 0;
	font-family: var(--bc-ui-font);
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	box-shadow: none;
	min-height: 0;
	height: auto;
	width: auto;
	max-width: 100%;
	color: var(--bc-ui-ink);
	-webkit-appearance: none;
	appearance: none;
}
.bc-app button { cursor: pointer; background: none; border: 0; padding: 0; border-radius: 0; font-weight: 500; }
.bc-app button:focus-visible,
.bc-app input:focus-visible,
.bc-app select:focus-visible,
.bc-app summary:focus-visible { outline: 2px solid var(--bc-ui-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------------
 * Top action bar
 * ------------------------------------------------------------------- */
.bc-app .bc-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	background: var(--bc-ui-panel);
	border-bottom: 1px solid var(--bc-ui-line);
	flex: 0 0 auto;
	flex-wrap: wrap;
}
.bc-app .bc-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.bc-app .bc-pagecount { font-weight: 400; color: var(--bc-ui-muted); font-size: 12px; padding-left: 6px; }
.bc-app .bc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bc-app .bc-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--bc-ui-line);
	border-radius: 6px;
	background: #fff;
	color: var(--bc-ui-ink);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	transition: background .15s, border-color .15s;
}
.bc-app .bc-btn:hover { background: #f0f2f5; border-color: #c3c8cf; }
.bc-app .bc-btn[disabled] { opacity: .55; cursor: progress; }
.bc-app .bc-btn-primary { background: var(--bc-ui-accent); border-color: var(--bc-ui-accent); color: var(--bc-ui-accent-ink); }
.bc-app .bc-btn-primary:hover { background: #234b74; border-color: #234b74; }
.bc-app .bc-btn-ghost { background: transparent; }
.bc-app .bc-btn-block { width: 100%; justify-content: center; margin-top: 10px; }

/* ---------------------------------------------------------------------
 * Body: sidebar + canvas
 * ------------------------------------------------------------------- */
.bc-app .bc-body { display: flex; flex: 1 1 auto; min-height: 0; }
.bc-app .bc-sidebar {
	flex: 0 0 320px;
	width: 320px;
	overflow-y: auto;
	background: var(--bc-ui-panel);
	border-right: 1px solid var(--bc-ui-line);
	padding: 6px 0 24px;
	overscroll-behavior: contain;
}
.bc-app .bc-section { border-bottom: 1px solid var(--bc-ui-line); padding: 0 16px; }
.bc-app .bc-section > summary {
	list-style: none;
	cursor: pointer;
	padding: 12px 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--bc-ui-muted);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bc-app .bc-section > summary::-webkit-details-marker { display: none; }
.bc-app .bc-section > summary::after { content: "\25BE"; font-size: 11px; transition: transform .15s; }
.bc-app .bc-section:not([open]) > summary::after { transform: rotate(-90deg); }
.bc-app .bc-section[open] { padding-bottom: 14px; }
.bc-app .bc-field { display: flex; flex-direction: column; gap: 5px; margin: 0 0 12px; }
.bc-app .bc-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--bc-ui-ink); }
.bc-app .bc-hint { display: block; font-size: 11px; color: var(--bc-ui-muted); line-height: 1.35; margin: -4px 0 10px; }
.bc-app .bc-subhead { font-size: 12px; font-weight: 600; margin: 12px 0 6px; }
.bc-app .bc-subhead:first-of-type { margin-top: 0; }
.bc-app .bc-indent { margin-left: 22px; }
.bc-app .bc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bc-app .bc-row2 > .bc-seg { margin-bottom: 10px; }
.bc-app .bc-link { color: var(--bc-ui-accent); font-size: 12px; font-weight: 500; text-decoration: underline; }
.bc-app .bc-input {
	display: block;
	width: 100%;
	padding: 7px 9px;
	border: 1px solid var(--bc-ui-line);
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
	line-height: 1.3;
	color: var(--bc-ui-ink);
}
.bc-app select.bc-input {
	padding-right: 26px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23646970'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 9px center;
}
.bc-app .bc-input:focus { border-color: var(--bc-ui-accent); outline: none; }
.bc-app .bc-input[disabled] { background-color: #f0f0f1; color: var(--bc-ui-muted); }
.bc-app .bc-hex { width: 96px; margin-top: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }

/* Pills & segmented controls */
.bc-app .bc-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bc-app .bc-pill {
	padding: 5px 10px;
	border: 1px solid var(--bc-ui-line);
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	color: var(--bc-ui-ink);
}
.bc-app .bc-pill:hover { border-color: var(--bc-ui-accent); }
.bc-app .bc-day-pill { min-width: 38px; text-align: center; padding: 5px 6px; }
.bc-app .bc-day-pill[aria-pressed="true"] { background: var(--bc-ui-accent); border-color: var(--bc-ui-accent); color: #fff; }
.bc-app .bc-day-pill[aria-pressed="false"] { color: var(--bc-ui-muted); text-decoration: line-through; }
.bc-app .bc-days { margin-bottom: 0; }
.bc-app .bc-seg {
	display: flex;
	border: 1px solid var(--bc-ui-line);
	border-radius: 7px;
	overflow: hidden;
	background: #fff;
}
.bc-app .bc-seg > button {
	flex: 1 1 0;
	padding: 7px 6px;
	font-size: 12px;
	color: var(--bc-ui-ink);
	border-right: 1px solid var(--bc-ui-line);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bc-app .bc-seg > button:last-child { border-right: 0; }
.bc-app .bc-seg > button[aria-pressed="true"] { background: var(--bc-ui-accent); color: #fff; }
.bc-app .bc-seg.bc-disabled { opacity: .45; pointer-events: none; }
.bc-app .bc-seg.bc-indent { margin-bottom: 8px; }
.bc-app .bc-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin: 0 0 7px; cursor: pointer; line-height: 1.3; }
.bc-app .bc-check input[type="checkbox"] {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	border: 1.5px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	padding: 0;
}
.bc-app .bc-check input[type="checkbox"]:checked { background: var(--bc-ui-accent); border-color: var(--bc-ui-accent); }
.bc-app .bc-check input[type="checkbox"]:checked::before {
	content: "";
	width: 9px;
	height: 5px;
	border: 2px solid #fff;
	border-top: 0;
	border-right: 0;
	transform: translateY(-1px) rotate(-45deg);
}
.bc-app .bc-check input[disabled] { opacity: .5; }
.bc-app .bc-packs { margin-bottom: 4px; }
.bc-app .bc-is-off { opacity: .5; }

/* Swatches */
.bc-app .bc-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.bc-app .bc-swatch {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--bc-ui-line);
	position: relative;
	cursor: pointer;
	overflow: hidden;
}
.bc-app .bc-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bc-ui-ink); }
.bc-app .bc-swatch-custom {
	background: conic-gradient(#e74c3c, #f1c40f, #2ecc71, #3498db, #9b59b6, #e74c3c);
	display: inline-block;
}
.bc-app .bc-swatch-custom input[type="color"] { position: absolute; inset: -6px; width: 40px; height: 40px; opacity: 0; cursor: pointer; border: 0; padding: 0; }

/* Canvas */
.bc-app .bc-canvas {
	flex: 1 1 auto;
	overflow: auto;
	background: #e4e6ea;
	padding: 28px 24px 48px;
	min-width: 0;
}
.bc-app .bc-pages { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.bc-app .bc-sheet-frame { position: relative; flex: 0 0 auto; }
.bc-app .bc-sheet-frame > .bc-sheet { position: absolute; top: 0; left: 0; transform-origin: 0 0; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.10); }
.bc-app .bc-pagelabel { position: absolute; top: -20px; right: 0; font-size: 11px; color: var(--bc-ui-muted); }
.bc-app .bc-notice {
	max-width: 760px;
	margin: 0 auto 18px;
	padding: 9px 14px;
	border-radius: 6px;
	background: #fff8e5;
	border: 1px solid #f0d88a;
	color: #614a00;
	font-size: 13px;
}
.bc-app .bc-notice[hidden] { display: none; }
.bc-app .bc-status {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%) translateY(20px);
	background: #1d2327;
	color: #fff;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
	z-index: 5;
}
.bc-app .bc-status.bc-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bc-app .bc-noscript { padding: 20px; }

/* Responsive: stack when the APP (not the viewport) is narrow — works in
   narrow theme content columns too. Media query is the fallback. */
.bc-app { container-type: inline-size; container-name: bcapp; }
@container bcapp (max-width: 860px) {
	.bc-app .bc-body { flex-direction: column; }
	.bc-app .bc-sidebar { flex: 0 0 auto; width: 100%; max-height: none; border-right: 0; border-bottom: 1px solid var(--bc-ui-line); }
	.bc-app .bc-canvas { padding: 20px 10px 40px; overflow: visible; }
	.bc-app .bc-topbar { position: sticky; top: 0; z-index: 3; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 900px) {
		.bc-app { height: auto; min-height: 0; }
		.bc-app .bc-body { flex-direction: column; }
	.bc-app .bc-sidebar { flex: 0 0 auto; width: 100%; max-height: none; border-right: 0; border-bottom: 1px solid var(--bc-ui-line); }
	.bc-app .bc-canvas { padding: 20px 10px 40px; overflow: visible; }
	.bc-app .bc-topbar { position: sticky; top: 0; z-index: 3; }
	}
}
@media (max-width: 900px) { .bc-app { height: auto; min-height: 0; } }
.bc-app.bc-stacked { height: auto; min-height: 0; }

/* ---------------------------------------------------------------------
 * The paper sheet (physical units: 1px = 1/96 in, same on screen & print)
 * Applies inside the app, the print root, and the offscreen export host.
 * ------------------------------------------------------------------- */
.bc-sheet {
	--bc-accent: #36454f;
	--bc-ink: #1a1a1a;
	--bc-muted: #8a8f98;
	--bc-line: rgba(54, 69, 79, .55);
	--bc-faint: rgba(54, 69, 79, .25);
	--bc-soft: rgba(54, 69, 79, .08);
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--bc-ink);
	overflow: hidden;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: normal;
	text-align: left;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
.bc-sheet.bc-font-serif { font-family: Georgia, "Times New Roman", Times, serif; }
.bc-sheet.bc-font-mono { font-family: ui-monospace, Menlo, Consolas, "Courier New", monospace; }
.bc-sheet * { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; background: none; letter-spacing: inherit; box-shadow: none; text-transform: none; }
.bc-sheet svg { display: block; }
.bc-sheet .bc-inner { position: absolute; display: flex; flex-direction: column; }
.bc-sheet .bc-head { flex: 0 0 auto; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 2px solid var(--bc-accent); }
.bc-sheet .bc-title { font-weight: 700; color: var(--bc-accent); line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-sheet .bc-subtitle { font-size: 12px; color: var(--bc-muted); white-space: nowrap; padding-bottom: 3px; }
.bc-sheet .bc-main { position: relative; flex: 1 1 auto; display: flex; }
.bc-sheet .bc-grid {
	display: grid;
	border-top: 1px solid var(--bc-line);
	border-left: 1px solid var(--bc-line);
	align-self: flex-start;
}
.bc-sheet .bc-dow {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bc-soft);
	color: var(--bc-accent);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	border-right: 1px solid var(--bc-line);
	border-bottom: 1px solid var(--bc-line);
	white-space: nowrap;
	overflow: hidden;
}
.bc-sheet .bc-cell {
	position: relative;
	overflow: hidden;
	border-right: 1px solid var(--bc-line);
	border-bottom: 1px solid var(--bc-line);
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}
.bc-sheet .bc-cell.bc-out { background: #fafafa; }
.bc-sheet .bc-cell.bc-out .bc-num { color: #c4c7cc; }
.bc-sheet .bc-cell.bc-weekend .bc-num { color: var(--bc-accent); }
.bc-sheet .bc-bg { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; background-repeat: repeat; background-position: 0 0; }
.bc-sheet .bc-ctop { position: relative; display: flex; justify-content: space-between; align-items: flex-start; flex: 0 0 auto; padding: 4px 5px 0; gap: 4px; }
.bc-sheet .bc-num { font-weight: 700; font-size: 13px; line-height: 1; color: var(--bc-ink); white-space: nowrap; }
.bc-sheet .bc-num .bc-mname { font-weight: 600; color: var(--bc-accent); font-size: .78em; text-transform: uppercase; letter-spacing: .04em; margin-right: 3px; }
.bc-sheet .bc-moonwrap { flex: 0 0 auto; line-height: 0; }
.bc-sheet .bc-hols { position: relative; flex: 0 0 auto; padding: 2px 5px 0; }
.bc-sheet .bc-hol { display: block; font-size: 8.5px; line-height: 1.2; color: var(--bc-accent); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-sheet .bc-hol.bc-hol-obs { font-weight: 400; font-style: italic; }
.bc-sheet .bc-note {
	position: relative;
	flex: 1 1 auto;
	padding: 2px 5px 12px;
	font-size: 9.5px;
	line-height: 1.3;
	color: #2b2f33;
	outline: none;
	overflow: hidden;
	word-wrap: break-word;
	white-space: pre-wrap;
	min-height: 0;
	cursor: text;
}
.bc-sheet .bc-note[contenteditable="false"] { cursor: default; }
.bc-sheet .bc-note:focus { background: rgba(255, 244, 179, .45); }
.bc-sheet .bc-counter { position: absolute; right: 4px; bottom: 3px; font-size: 7.5px; color: var(--bc-muted); white-space: nowrap; line-height: 1; letter-spacing: .02em; }
.bc-sheet .bc-hours { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; display: flex; flex-direction: column; }
.bc-sheet .bc-hour { flex: 1 1 0; border-top: 1px solid var(--bc-faint); position: relative; }
.bc-sheet .bc-hour > span { position: absolute; left: 3px; top: 1px; font-size: 7px; line-height: 1; color: var(--bc-muted); }
.bc-sheet .bc-hour.bc-half { border-top-style: dotted; }

/* Week view (stacked rows in portrait) */
.bc-sheet .bc-grid.bc-week-rows .bc-cell { flex-direction: row; }
.bc-sheet .bc-week-rows .bc-dayhead { flex: 0 0 auto; width: 92px; padding: 6px 8px; border-right: 1px solid var(--bc-faint); display: flex; flex-direction: column; gap: 3px; position: relative; }
.bc-sheet .bc-week-rows .bc-dayhead .bc-hols { padding: 0; }
.bc-sheet .bc-week-rows .bc-dayhead .bc-hol { white-space: normal; }
.bc-sheet .bc-week-rows .bc-body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.bc-sheet .bc-dname { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bc-accent); }
.bc-sheet .bc-bignum { font-size: 24px; font-weight: 700; line-height: 1; }
.bc-sheet .bc-week-cols .bc-num { font-size: 18px; }
.bc-sheet .bc-week-cols .bc-hol, .bc-sheet .bc-day .bc-hol { font-size: 9.5px; white-space: normal; }

.bc-sheet .bc-week-cols .bc-hols { padding: 3px 7px 0; }
.bc-sheet .bc-note-hours { padding-left: 46px; }
.bc-app .bc-note:empty:focus::before { content: attr(data-ph); color: #b5b9bf; pointer-events: none; }

/* Day view */
.bc-sheet .bc-day { flex: 1 1 auto; display: flex; flex-direction: column; border: 1px solid var(--bc-line); position: relative; }
.bc-sheet .bc-day .bc-dayinfo { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; gap: 10px; border-bottom: 1px solid var(--bc-line); background: var(--bc-soft); flex: 0 0 auto; }
.bc-sheet .bc-day .bc-dayinfo .bc-hols { padding: 0; flex: 1 1 auto; }
.bc-sheet .bc-day .bc-dayinfo .bc-meta { display: flex; align-items: center; gap: 8px; color: var(--bc-muted); font-size: 10px; white-space: nowrap; }
.bc-sheet .bc-day .bc-dbody { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; }
.bc-sheet .bc-day .bc-note { font-size: 12px; line-height: 1.45; padding: 8px 10px 16px; }
.bc-sheet .bc-day .bc-hour > span { font-size: 9px; left: 6px; top: 3px; }

/* Notes box */
.bc-sheet .bc-notesbox { position: relative; border: 1px solid var(--bc-line); display: flex; flex-direction: column; overflow: hidden; }
.bc-sheet .bc-notesbox .bc-nlabel { flex: 0 0 auto; padding: 4px 7px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bc-accent); background: var(--bc-soft); border-bottom: 1px solid var(--bc-line); }
.bc-sheet .bc-notesbox .bc-nbody { position: relative; flex: 1 1 auto; }
.bc-sheet .bc-notesbox .bc-note { position: absolute; inset: 0; font-size: 10.5px; padding: 4px 8px; }

/* ---------------------------------------------------------------------
 * Hardening against themes that style bare elements with !important.
 * (Our selectors are more specific, so our !important always wins.)
 * ------------------------------------------------------------------- */
.bc-app .bc-btn, .bc-app .bc-pill, .bc-app .bc-seg > button, .bc-app .bc-link, .bc-app .bc-swatch {
	text-transform: none !important;
	text-shadow: none !important;
	font-family: var(--bc-ui-font) !important;
	letter-spacing: normal !important;
	line-height: 1.2 !important;
	min-height: 0 !important;
	height: auto;
	width: auto;
	box-sizing: border-box !important;
}
.bc-app .bc-btn { background: #fff !important; color: var(--bc-ui-ink) !important; border: 1px solid var(--bc-ui-line) !important; border-radius: 6px !important; padding: 8px 14px !important; font-size: 13px !important; box-shadow: none !important; }
.bc-app .bc-btn:hover { background: #f0f2f5 !important; }
.bc-app .bc-btn-ghost { background: transparent !important; }
.bc-app .bc-btn-primary { background: var(--bc-ui-accent) !important; border-color: var(--bc-ui-accent) !important; color: #fff !important; }
.bc-app .bc-btn-primary:hover { background: #234b74 !important; }
.bc-app .bc-pill { background: #fff !important; color: var(--bc-ui-ink) !important; border: 1px solid var(--bc-ui-line) !important; border-radius: 999px !important; padding: 5px 10px !important; font-size: 12px !important; box-shadow: none !important; }
.bc-app .bc-day-pill { padding: 5px 6px !important; }
.bc-app .bc-day-pill[aria-pressed="true"] { background: var(--bc-ui-accent) !important; border-color: var(--bc-ui-accent) !important; color: #fff !important; }
.bc-app .bc-day-pill[aria-pressed="false"] { color: var(--bc-ui-muted) !important; }
.bc-app .bc-seg > button { background: #fff !important; color: var(--bc-ui-ink) !important; border: 0 !important; border-right: 1px solid var(--bc-ui-line) !important; border-radius: 0 !important; padding: 7px 6px !important; font-size: 12px !important; box-shadow: none !important; margin: 0 !important; }
.bc-app .bc-seg > button:last-child { border-right: 0 !important; }
.bc-app .bc-seg > button[aria-pressed="true"] { background: var(--bc-ui-accent) !important; color: #fff !important; }
.bc-app .bc-link { background: none !important; border: 0 !important; padding: 0 !important; color: var(--bc-ui-accent) !important; font-size: 12px !important; border-radius: 0 !important; }
.bc-app .bc-swatch { background: var(--bc-sw, #ccc) !important; padding: 0 !important; width: 26px !important; height: 26px !important; border: 2px solid #fff !important; border-radius: 50% !important; }
.bc-app .bc-swatch-custom { background: conic-gradient(#e74c3c, #f1c40f, #2ecc71, #3498db, #9b59b6, #e74c3c) !important; }
.bc-app .bc-input { border: 1px solid var(--bc-ui-line) !important; padding: 7px 9px !important; border-radius: 6px !important; height: auto !important; font-size: 13px !important; box-shadow: none !important; margin: 0 !important; }
.bc-app select.bc-input { padding-right: 26px !important; }
.bc-app .bc-input:focus { border-color: var(--bc-ui-accent) !important; }
.bc-app .bc-check, .bc-app .bc-field { font-family: var(--bc-ui-font) !important; }

/* ---------------------------------------------------------------------
 * Export progress panel (appended to <body> during export)
 * ------------------------------------------------------------------- */
div.bc-progress {
	position: fixed !important;
	left: 50% !important;
	bottom: 28px !important;
	top: auto !important;
	transform: translateX(-50%);
	z-index: 2147483000 !important;
	width: min(420px, calc(100vw - 32px)) !important;
	margin: 0 !important;
	padding: 16px 18px 14px !important;
	background: #fff !important;
	color: #1d2327 !important;
	border: 1px solid #dcdfe4 !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .22) !important;
	font: 400 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	letter-spacing: normal !important;
	text-align: left !important;
	box-sizing: border-box !important;
	animation: bc-progress-in .18s ease-out;
}
div.bc-progress * { box-sizing: border-box !important; margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
@keyframes bc-progress-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
div.bc-progress .bc-progress-head { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px !important; }
div.bc-progress .bc-progress-title { font-weight: 600 !important; font-size: 14px !important; display: flex; align-items: center; gap: 8px; }
div.bc-progress .bc-spinner {
	width: 14px; height: 14px; border-radius: 50%;
	border: 2px solid #c9d6e3; border-top-color: #2c5d8f;
	animation: bc-spin .8s linear infinite;
	display: inline-block;
}
@keyframes bc-spin { to { transform: rotate(360deg); } }
div.bc-progress .bc-progress-track { height: 8px !important; border-radius: 99px !important; background: #e6e9ee !important; overflow: hidden !important; display: block !important; }
div.bc-progress .bc-progress-fill { height: 100% !important; width: 0; border-radius: 99px !important; background: #2c5d8f !important; transition: width .25s ease; display: block !important; }
div.bc-progress .bc-progress-meta { display: flex !important; justify-content: space-between; margin-top: 8px !important; font-size: 12px !important; color: #646970 !important; }
div.bc-progress button.bc-progress-cancel {
	background: #fff !important; color: #1d2327 !important; border: 1px solid #dcdfe4 !important;
	border-radius: 6px !important; padding: 5px 12px !important; font-size: 12px !important; font-weight: 500 !important;
	cursor: pointer; line-height: 1.2 !important; text-transform: none !important; box-shadow: none !important; min-height: 0 !important; height: auto !important; width: auto !important;
}
div.bc-progress button.bc-progress-cancel:hover { background: #f0f2f5 !important; }
div.bc-progress.bc-done .bc-progress-fill { background: #2e7d32 !important; }
@media print { div.bc-progress { display: none !important; } }

/* ---------------------------------------------------------------------
 * Offscreen export host
 * ------------------------------------------------------------------- */
.bc-export-host { position: fixed; left: -100000px; top: 0; z-index: -1; pointer-events: none; }
.bc-print-root { display: none; }

/* ---------------------------------------------------------------------
 * Print isolation: only the calendar sheets reach paper.
 * ------------------------------------------------------------------- */
@media print {
	html, body {
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}
	html { margin-top: 0 !important; }
	#wpadminbar,
	.bc-app .bc-topbar,
	.bc-app .bc-sidebar,
	.bc-app .bc-notice,
	.bc-app .bc-status,
	.bc-export-host,
	html.bc-printing #masthead,
	html.bc-printing #colophon,
	html.bc-printing .site-header,
	html.bc-printing .site-footer,
	html.bc-printing .wp-site-blocks > header,
	html.bc-printing .wp-site-blocks > footer,
	html.bc-printing #secondary,
	html.bc-printing .sidebar,
	html.bc-printing .widget-area { display: none !important; }

	/* Primary mechanism: the app clones unscaled sheets into .bc-print-root
	   (a direct child of <body>) and hides every other body child. */
	html.bc-printing body > *:not(.bc-print-root) { display: none !important; }
	html.bc-printing .bc-print-root { display: block !important; position: static !important; margin: 0 !important; padding: 0 !important; }
	.bc-print-root .bc-sheet {
		box-shadow: none !important;
		transform: none !important;
		margin: 0 !important;
		break-after: page;
		page-break-after: always;
		break-inside: avoid;
		page-break-inside: avoid;
	}
	.bc-print-root .bc-sheet:last-child { break-after: auto; page-break-after: auto; }
	.bc-print-root .bc-note:empty::before { content: none !important; }
	.bc-print-root .bc-note:focus { background: none !important; }
}
