/* Gigbase — inquiry form & client portal. Inherits your theme's fonts. */
.bpm-wrap {
	--bpm-accent: var(--bpm-brand, #7C3AED);
	--bpm-ink: #1f2023;
	--bpm-ink-2: #54595F;
	--bpm-line: #e4e4e7;
	--bpm-soft: #f7f6f4;
	--bpm-card: #fff;
	--bpm-ok: #15803d;
	--bpm-err: #b91c1c;
	--bpm-radius: 12px;
	color: var(--bpm-ink);
	max-width: 880px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
}
.bpm-wrap *, .bpm-wrap *::before, .bpm-wrap *::after { box-sizing: border-box; }
.bpm-wrap [hidden] { display: none !important; }
.bpm-wrap h1, .bpm-wrap h2, .bpm-wrap h3 { color: var(--bpm-ink); line-height: 1.2; margin: 0 0 .6em; }
.bpm-wrap h2 { font-size: 1.3rem; }
.bpm-wrap h3 { font-size: 1.05rem; margin-top: 1.4em; }
.bpm-muted, .bpm-wrap small.bpm-muted { color: #71717a; font-size: .9em; }
.bpm-right { text-align: right; }

/* Forms */
.bpm-form, .bpm-panel, .bpm-login { background: var(--bpm-card); border: 1px solid var(--bpm-line); border-radius: var(--bpm-radius); padding: 24px; margin: 0 0 20px; }
.bpm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.bpm-grid .bpm-full, .bpm-full { grid-column: 1 / -1; }
.bpm-wrap label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.bpm-wrap label small { font-weight: 400; }
.bpm-wrap input[type=text], .bpm-wrap input[type=email], .bpm-wrap input[type=tel], .bpm-wrap input[type=date], .bpm-wrap input[type=time],
.bpm-wrap input[type=number], .bpm-wrap input[type=search], .bpm-wrap input[type=url], .bpm-wrap input[type=password], .bpm-wrap input:not([type]), .bpm-wrap select, .bpm-wrap textarea {
	width: 100%; font: inherit; font-weight: 400; color: var(--bpm-ink); background: #fff; border: 1px solid #d4d4d8; border-radius: 8px; padding: 10px 12px; min-height: 44px; margin: 0;
}
.bpm-wrap textarea { min-height: 90px; }
.bpm-wrap input:focus, .bpm-wrap select:focus, .bpm-wrap textarea:focus { outline: 2px solid var(--bpm-accent); outline-offset: 1px; border-color: var(--bpm-accent); }
.bpm-wrap input:disabled, .bpm-wrap select:disabled, .bpm-wrap textarea:disabled { background: var(--bpm-soft); color: var(--bpm-ink-2); }
.bpm-form > .bpm-full { margin: 18px 0; }
.bpm-checks { border: 0; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.bpm-checks legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.bpm-wrap .bpm-checks label, .bpm-wrap label.bpm-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.bpm-wrap .bpm-checks input, .bpm-wrap .bpm-check input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; min-height: 0; accent-color: var(--bpm-accent); flex: none; }
.bpm-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

/* Buttons */
.bpm-btn, .bpm-wrap .bpm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #111; border: 1.5px solid #111; border-radius: 8px; padding: 12px 22px; min-height: 46px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: filter .15s, transform .05s; }
.bpm-btn:hover { background: #111; color: #fff; }
.bpm-btn:active { transform: translateY(1px); }
.bpm-btn:disabled { opacity: .6; cursor: wait; }
.bpm-btn-lg { width: 100%; font-size: 1.05rem; min-height: 52px; }
.bpm-btn-sm { padding: 6px 14px; min-height: 36px; font-size: .9rem; }
/* All buttons share one look: white inside, black outline and black letters (black when hovered). */
.bpm-link { background: none; border: 0; color: var(--bpm-accent); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 0; }
.bpm-form .bpm-btn { margin-top: 8px; }

/* Notices */
.bpm-notice { padding: 14px 18px; border-radius: 10px; background: var(--bpm-soft); border-left: 4px solid var(--bpm-ink-2); margin: 0 0 18px; }
.bpm-notice p:last-child { margin-bottom: 0; }
.bpm-success { background: #f0fdf4; border-color: var(--bpm-ok); }
.bpm-error { background: #fef2f2; border-color: var(--bpm-err); }

/* Hero */
.bpm-hero { background: #2b2d31; color: #fff; border-radius: var(--bpm-radius); padding: 32px 28px; margin-bottom: 20px; border-bottom: 5px solid var(--bpm-accent); }
.bpm-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 6px; }
.bpm-hero-meta { margin: 0; color: #d4d4d8; }
.bpm-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--bpm-accent); font-weight: 700; margin: 0 0 6px; }
.bpm-logo { max-height: 48px; max-width: 200px; margin-bottom: 18px; display: block; }
.bpm-hero-sm { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; }
.bpm-countdown { text-align: center; background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 18px; flex: none; }
.bpm-countdown strong { display: block; font-size: 2rem; line-height: 1; color: var(--bpm-accent); }
.bpm-countdown span { font-size: .8rem; color: #d4d4d8; }

/* Tabs */
.bpm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--bpm-line); margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.bpm-tabs a { padding: 12px 16px; text-decoration: none; color: var(--bpm-ink-2); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.bpm-tabs a:hover { color: var(--bpm-ink); }
.bpm-tabs a.is-active { color: var(--bpm-ink); border-color: var(--bpm-accent); }
.bpm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bpm-err); display: inline-block; }
.bpm-event-switch { margin: 0 0 14px; }
.bpm-event-switch label { max-width: 360px; }

/* Tables & lists */
.bpm-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.bpm-table td, .bpm-table th { padding: 10px 8px; border-bottom: 1px solid var(--bpm-line); text-align: left; vertical-align: middle; }
.bpm-table tfoot th { border-bottom: 0; font-size: 1.1rem; padding-top: 14px; }
.bpm-table .bpm-right { text-align: right; }
.bpm-schedule { list-style: none; margin: 0; padding: 0; }
.bpm-schedule li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--bpm-line); align-items: center; }
.bpm-schedule li span:nth-child(2) { color: #71717a; font-size: .9rem; }
.bpm-schedule li.is-paid { color: #71717a; }
.bpm-schedule li.is-paid span:nth-child(2) { color: var(--bpm-ok); font-weight: 600; }
.bpm-schedule li.is-due span:nth-child(2) { color: var(--bpm-err); font-weight: 600; }
.bpm-dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 0; }
.bpm-dl dt { color: #71717a; }
.bpm-dl dd { margin: 0; }
.bpm-pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #fef3c7; color: #92400e; }
.bpm-pill.is-paid { background: #dcfce7; color: var(--bpm-ok); }

/* Checklist */
.bpm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bpm-steps a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--bpm-line); border-radius: 10px; text-decoration: none; color: inherit; transition: border-color .15s; }
.bpm-steps a:hover { border-color: var(--bpm-accent); }
.bpm-steps small { display: block; color: #71717a; }
.bpm-step-icon { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #d4d4d8; display: grid; place-items: center; flex: none; font-weight: 700; color: #fff; }
.bpm-steps .is-done .bpm-step-icon { background: var(--bpm-ok); border-color: var(--bpm-ok); }
.bpm-steps .is-done strong { text-decoration: line-through; text-decoration-color: #a1a1aa; color: #71717a; }

/* Contract & signature */
.bpm-contract { font-size: .95rem; }
.bpm-contract h2 { font-size: 1.2rem; }
.bpm-contract h3 { font-size: 1rem; margin-top: 1.2em; }
.bpm-scroll { max-height: 380px; overflow-y: auto; border: 1px solid var(--bpm-line); border-radius: 10px; padding: 18px 20px; background: var(--bpm-soft); margin-bottom: 20px; }
.bpm-sign { display: grid; gap: 16px; }
.bpm-sigpad-wrap { position: relative; }
.bpm-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.bpm-sigpad { width: 100%; height: 170px; border: 1.5px dashed #a1a1aa; border-radius: 10px; background: #fff; touch-action: none; cursor: crosshair; display: block; }
.bpm-sigpad-wrap .bpm-link { position: absolute; right: 10px; top: 28px; }
.bpm-signed { border-top: 1px solid var(--bpm-line); margin-top: 24px; padding-top: 16px; }
.bpm-signed img { max-width: 300px; width: 100%; border-bottom: 1px solid #a1a1aa; display: block; }

/* Music */
.bpm-search { position: relative; margin-bottom: 14px; }
.bpm-results { display: grid; gap: 6px; margin-top: 8px; }
.bpm-result { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--bpm-line); border-radius: 10px; flex-wrap: wrap; }
.bpm-result > .bpm-btn { margin-left: auto; }
.bpm-result img, .bpm-songs img, .bpm-art-ph { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; }
.bpm-art-ph { background: var(--bpm-soft); display: grid; place-items: center; color: #a1a1aa; }
.bpm-song-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bpm-song-text strong, .bpm-song-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bpm-song-text span, .bpm-song-text small { color: #71717a; font-size: .88rem; }
.bpm-moment { font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bpm-accent); font-weight: 700; }
.bpm-add-menu { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.bpm-add-menu button { background: var(--bpm-soft); border: 1px solid var(--bpm-line); border-radius: 99px; padding: 8px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--bpm-ink); min-height: 38px; }
.bpm-add-menu button:hover { border-color: var(--bpm-accent); }
.bpm-add-menu select { flex: 1; min-width: 180px; }
.bpm-manual summary { cursor: pointer; font-weight: 600; color: var(--bpm-accent); margin: 6px 0 14px; }
.bpm-manual form { margin-bottom: 18px; }
.bpm-lists { display: grid; gap: 18px; margin-top: 10px; }
.bpm-list h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.bpm-count { background: var(--bpm-soft); border-radius: 99px; font-size: .78rem; padding: 2px 9px; color: var(--bpm-ink-2); }
.bpm-list-do_not_play h3 { color: var(--bpm-err); }
.bpm-songs { list-style: none; margin: 0; padding: 0; }
.bpm-songs li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--bpm-line); }
.bpm-empty { margin: 0 0 4px; }
.bpm-song-ctl { display: flex; gap: 2px; flex: none; }
.bpm-icon { width: 36px; height: 36px; border: 0; background: none; border-radius: 6px; cursor: pointer; color: var(--bpm-ink-2); font-size: 1rem; }
.bpm-icon:hover { background: var(--bpm-soft); color: var(--bpm-ink); }
.bpm-icon.bpm-del:hover { color: var(--bpm-err); }

/* Planning */
.bpm-timeline td { padding: 6px 4px; }
.bpm-timeline td:first-child { width: 120px; }
.bpm-timeline td:last-child { width: 36px; }
.bpm-savebar { position: sticky; bottom: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: 14px 0; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--bpm-line); z-index: 5; }

/* Payments */
.bpm-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.bpm-money div { background: var(--bpm-soft); border-radius: 10px; padding: 14px; }
.bpm-money span { display: block; font-size: .82rem; color: #71717a; }
.bpm-money strong { font-size: 1.35rem; }
.bpm-money .is-due strong { color: var(--bpm-err); }
.bpm-money .is-paid strong { color: var(--bpm-ok); }
.bpm-amounts { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.bpm-amounts legend { font-weight: 700; margin-bottom: 8px; }
.bpm-wrap label.bpm-amount { flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--bpm-line); border-radius: 10px; cursor: pointer; font-weight: 400; flex-wrap: wrap; }
.bpm-wrap label.bpm-amount:has(input:checked) { border-color: var(--bpm-accent); background: #fffaf3; }
.bpm-amount input[type=radio] { width: 20px; height: 20px; accent-color: var(--bpm-accent); margin: 0; }
.bpm-amount span { color: #71717a; font-size: .9rem; }
.bpm-amount input[type=number] { max-width: 160px; min-height: 38px; padding: 6px 10px; }
.bpm-methods { display: grid; gap: 10px; }
.bpm-method { border: 1px solid var(--bpm-line); border-radius: 10px; padding: 0 16px; }
.bpm-method[open] { padding-bottom: 16px; }
.bpm-method summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: inside; }
#bpm-card { min-height: 90px; margin-bottom: 8px; }
#bpm-paypal-buttons { max-width: 420px; }
.bpm-zelle { background: var(--bpm-soft); border-radius: 8px; padding: 12px 14px; font-size: 1.05rem; }
.bpm-zelle span { font-size: .88rem; color: #71717a; }

/* Login */
.bpm-login { max-width: 440px; margin: 20px auto; }
.bpm-login form p { margin: 0 0 14px; }
.bpm-login label { margin-bottom: 4px; }
.bpm-login .login-remember label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.bpm-login input[type=submit] { background: var(--bpm-accent); color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; width: 100%; min-height: 46px; }

.bpm-foot { text-align: center; margin: 24px 0 0; font-size: .9rem; }
.bpm-foot a { color: #71717a; }

/* Toast */
.bpm-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #1f2023; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 99999; max-width: calc(100% - 32px); }
.bpm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.bpm-toast.is-err { background: var(--bpm-err); }

/* Small screens */
@media (max-width: 640px) {
	.bpm-form, .bpm-panel, .bpm-login { padding: 18px 16px; }
	.bpm-grid, .bpm-checks { grid-template-columns: 1fr; }
	.bpm-hero { padding: 24px 18px; }
	.bpm-tabs a { padding: 12px 11px; font-size: .95rem; }
	.bpm-hero-sm { flex-direction: column; align-items: flex-start; }
	.bpm-money { grid-template-columns: 1fr 1fr; }
	.bpm-money div:last-child { grid-column: 1 / -1; }
	.bpm-schedule li { grid-template-columns: 1fr auto; }
	.bpm-schedule li span:nth-child(2) { grid-column: 1; grid-row: 2; }
	.bpm-dl { grid-template-columns: 1fr; gap: 2px; }
	.bpm-dl dd { margin-bottom: 10px; }
	.bpm-timeline thead { display: none; }
	.bpm-timeline tr { display: grid; grid-template-columns: 100px 1fr 36px; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--bpm-line); }
	.bpm-timeline td { border: 0; padding: 0; width: auto !important; }
	.bpm-timeline td:nth-child(3) { grid-column: 1 / 3; }
	.bpm-timeline td:nth-child(4) { grid-row: 1; grid-column: 3; }
	.bpm-savebar { flex-direction: column-reverse; }
	.bpm-savebar .bpm-btn { width: 100%; }
}

@media print {
	body * { visibility: hidden; }
	.bpm-printable, .bpm-printable * { visibility: visible; }
	.bpm-printable { position: absolute; left: 0; top: 0; width: 100%; border: 0; }
	.bpm-noprint { display: none !important; }
}

/* Music lists, playlist, song fields */
.bpm-count.is-full { background: var(--bpm-accent); color: #fff; }
.bpm-list-help { margin: -4px 0 8px; font-size: .88rem; }
.bpm-result .bpm-add-menu { flex-basis: auto; padding-top: 0; margin-left: auto; }
.bpm-result .bpm-add-menu button:disabled { opacity: .7; cursor: default; }
.bpm-playlist-form { display: flex; gap: 8px; margin-bottom: 14px; }
.bpm-playlist-form input { flex: 1; }
.bpm-playlist-form .bpm-btn { margin: 0; }
#bpm-playlist-embed iframe { border-radius: 12px; display: block; }
.bpm-song-field { position: relative; display: block; }
.bpm-song-drop { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--bpm-line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); overflow: hidden; }
.bpm-song-drop[hidden] { display: none; }
.bpm-wrap .bpm-song-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--bpm-line); padding: 8px 10px; font: inherit; cursor: pointer; color: var(--bpm-ink); }
.bpm-song-opt:last-child { border-bottom: 0; }
.bpm-song-opt:hover, .bpm-song-opt:focus { background: var(--bpm-soft); }
.bpm-song-opt img { border-radius: 4px; flex: none; }
.bpm-song-opt span { display: flex; flex-direction: column; min-width: 0; font-weight: 400; }
.bpm-song-opt span span { color: #71717a; font-size: .85rem; }
@media (max-width: 640px) {
	.bpm-result .bpm-add-menu { flex-basis: 100%; margin-left: 0; flex-wrap: nowrap; }
	.bpm-result .bpm-add-menu button { flex: 1; }
	.bpm-playlist-form { flex-direction: column; }
}

/* Agreement */
.bpm-contract h2 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.bpm-contract h2:first-child { margin-top: 0; }
.bpm-contract p { margin: 0 0 .8em; font-size: .95rem; }
.bpm-contract-details { font-size: .92rem; margin: 0 0 1em; }
.bpm-contract-details th { font-weight: 400; color: var(--bpm-ink-2); }
.bpm-contract-details td { text-align: right; }
.bpm-contract-details .bpm-total th, .bpm-contract-details .bpm-total td { font-weight: 700; color: var(--bpm-ink); }
.bpm-sigs { width: 100%; margin: 8px 0 16px; border-collapse: collapse; }
.bpm-sigs td { width: 50%; vertical-align: top; padding-right: 16px; }
.bpm-sig-title { font-weight: 700; font-size: .85rem; letter-spacing: .04em; margin-bottom: 4px; }
.bpm-sig-box { height: 70px; border-bottom: 1px solid #333; display: flex; align-items: flex-end; justify-content: center; }
.bpm-sig-box img { max-height: 66px; max-width: 100%; }
.bpm-sig-typed { font-style: italic; font-family: Georgia, serif; font-size: 1.6rem; }
.bpm-sig-cap { font-size: .75rem; font-style: italic; color: #52525b; text-align: center; margin-top: 3px; }
@media (max-width: 640px) { .bpm-sigs, .bpm-sigs tbody, .bpm-sigs tr, .bpm-sigs td { display: block; width: 100%; } .bpm-sigs td { margin-bottom: 14px; } }

/* Team portal */
.bpm-gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bpm-gigs a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--bpm-line); border-radius: 10px; text-decoration: none; color: inherit; }
.bpm-gigs a:hover { border-color: var(--bpm-accent); }
.bpm-gig-date { display: flex; flex-direction: column; align-items: center; min-width: 54px; background: var(--bpm-soft); border-radius: 8px; padding: 6px 4px; }
.bpm-gig-date strong { font-size: .95rem; }
.bpm-gig-date small { font-size: .72rem; color: #71717a; text-transform: uppercase; letter-spacing: .06em; }
.bpm-gig-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bpm-gig-main small { color: #71717a; }
.bpm-gig-pay { font-weight: 700; color: var(--bpm-ok); white-space: nowrap; }
.bpm-gigs-past a { opacity: .75; }
.bpm-cal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.bpm-crew { margin: 0; padding-left: 1.1em; line-height: 1.9; }
.bpm-red { color: var(--bpm-err); }
.bpm-songlist { margin: 0 0 12px; padding-left: 1.4em; line-height: 1.7; }
.bpm-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bpm-team li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bpm-team-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bpm-accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
img.bpm-team-avatar { object-fit: cover; background: #e4e4e7; padding: 0; }
.bpm-team .bpm-team-avatar { width: 56px; height: 56px; font-size: 20px; }
.bpm-team-avatar-sm { width: 30px; height: 30px; font-size: 13px; display: inline-grid; vertical-align: middle; margin-right: 8px; }
.bpm-crew li { margin-bottom: 4px; }
.bpm-photo-edit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bpm-photo-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.bpm-photo-pick { cursor: pointer; }
.bpm-link-btn { background: none; border: 0; padding: 0; font: inherit; color: #b91c1c; text-decoration: underline; cursor: pointer; }
.bpm-my-photo .bpm-team-avatar { width: 84px; height: 84px; font-size: 30px; }
.bpm-team-text { display: flex; flex-direction: column; flex: 1; min-width: 140px; }
.bpm-team-text small { color: #71717a; }
.bpm-team .bpm-btn { margin-left: auto; }

/* Admin "View as" preview banner */
.bpm-viewas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #1d2327; color: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.bpm-viewas a { color: #fff; font-weight: 700; text-decoration: underline; }

/* Buttons that are links: keep their own colors even when the theme styles every link
   (e.g. orange, underlined link text that made an orange button look empty).
   ":is(a, #bpm-x)" gives these rules the weight of an ID (it never matches an element called #bpm-x),
   so they beat theme rules like "#page .entry-content a { color: orange !important }". */
html body :is(a, button, #bpm-x).bpm-btn.bpm-btn, html body :is(a, button, #bpm-x).bpm-btn.bpm-btn:link, html body :is(a, button, #bpm-x).bpm-btn.bpm-btn:visited, html body :is(a, button, #bpm-x).bpm-btn.bpm-btn:focus {
	color: #111 !important; -webkit-text-fill-color: #111 !important; background: #fff !important; border: 1.5px solid #111 !important; text-decoration: none !important; box-shadow: none !important; filter: none;
}
html body :is(a, button, #bpm-x).bpm-btn.bpm-btn:hover:not(:disabled), html body :is(a, button, #bpm-x).bpm-btn.bpm-btn:active:not(:disabled) {
	color: #fff !important; -webkit-text-fill-color: #fff !important; background: #111 !important;
}

/* Reorderable list (introduction order) */
.bpm-wrap div.bpm-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.bpm-wrap div.bpm-field small { font-weight: 400; }
.bpm-wrap .bpm-order ol { list-style: none; counter-reset: ord; margin: 2px 0 0; padding: 0; display: none; }
.bpm-wrap .bpm-order.is-js ol { display: block; }
.bpm-wrap .bpm-order.is-js .bpm-order-value { display: none; }
.bpm-wrap .bpm-order li { counter-increment: ord; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; margin: 0 0 6px; border: 1.5px solid var(--bpm-line); border-radius: 10px; background: #fff; }
.bpm-wrap .bpm-order li label { flex: 1; display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0; font-weight: 600; cursor: pointer; min-height: 36px; }
.bpm-wrap .bpm-order li label::before { content: counter(ord); width: 1.3em; text-align: center; color: var(--bpm-accent); font-weight: 700; flex: none; }
.bpm-wrap .bpm-order li input[type=checkbox] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--bpm-accent); }
.bpm-wrap .bpm-order li.is-off { counter-increment: none; background: var(--bpm-soft); }
.bpm-wrap .bpm-order li.is-off label { color: var(--bpm-ink-2); font-weight: 400; }
.bpm-wrap .bpm-order li.is-off label::before { content: "–"; color: var(--bpm-ink-2); }
.bpm-wrap .bpm-order-btns { display: flex; gap: 2px; flex: none; }
.bpm-wrap .bpm-order-btns .bpm-icon { width: 38px; height: 38px; font-size: 1.1rem; }
.bpm-wrap .bpm-order-btns .bpm-icon:disabled { opacity: .25; cursor: default; }

/* Photo booth template picker */
.bpm-wrap .bpm-tpl { display: flex; flex-direction: column; gap: 10px; font-weight: 400; }
.bpm-wrap .bpm-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.bpm-wrap label.bpm-tpl-card { position: relative; flex-direction: column; gap: 6px; padding: 8px; border: 2px solid var(--bpm-line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; }
.bpm-wrap label.bpm-tpl-card:has(input:checked) { border-color: var(--bpm-accent); box-shadow: 0 0 0 3px rgba(236,151,49,.2); }
.bpm-wrap .bpm-tpl-card input[type=radio] { position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; accent-color: var(--bpm-accent); z-index: 1; }
.bpm-wrap .bpm-tpl-card img, .bpm-wrap .bpm-tpl-noimg { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 8px; background: var(--bpm-soft); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--bpm-accent); }
.bpm-wrap .bpm-tpl-name { font-size: .9rem; }
.bpm-wrap .bpm-tpl-preview { font-size: .8rem; font-weight: 400; }
.bpm-wrap .bpm-tpl-link { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bpm-wrap .bpm-tpl-link input { flex: 1; min-width: 200px; }
.bpm-wrap .bpm-tpl-returned { display: block; margin: 0 0 8px; font-weight: 400; }

.bpm-viewas.bpm-consult { background: #7c2d12; }

/* Marketing opt-in & show/kiosk sign-up forms */
.bpm-wrap .bpm-form label.bpm-consent { margin: 4px 0 18px; cursor: pointer; }
.bpm-kiosk .bpm-form input:not([type=checkbox]), .bpm-kiosk .bpm-form select, .bpm-kiosk .bpm-form textarea { font-size: 18px; min-height: 48px; }
.bpm-kiosk .bpm-form .bpm-btn { width: 100%; font-size: 20px; padding: 16px; }
.bpm-kiosk .bpm-notice.bpm-success { text-align: center; font-size: 20px; padding: 40px 20px; }

/* "Get the app" card */
.bpm-wrap .bpm-install { display: flex; align-items: center; gap: 12px; background: #141414; color: #fff; border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; }
.bpm-wrap .bpm-install[hidden], .bpm-wrap .bpm-install [hidden] { display: none; }
.bpm-install img { width: 48px; height: 48px; border-radius: 11px; flex: none; }
.bpm-install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; }
.bpm-install-text > strong { font-size: 15px; color: #fff; }
.bpm-install-text span { color: #d4d4d8; }
.bpm-install-text span strong { color: #fff; }
.bpm-wrap .bpm-install .bpm-install-go { flex: none; min-height: 38px; padding: 8px 16px; }
.bpm-wrap .bpm-install .bpm-install-x { flex: none; background: none; border: 0; color: #a1a1aa; font-size: 24px; line-height: 1; padding: 4px 6px; cursor: pointer; min-height: 0; }

/* "Get notified" card */
.bpm-wrap .bpm-push { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e4e4e7; border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; }
.bpm-wrap .bpm-push[hidden], .bpm-wrap .bpm-push [hidden] { display: none; }
.bpm-push-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; }
.bpm-push-text > strong { font-size: 15px; }
.bpm-push-text span { color: #52525b; }
.bpm-wrap .bpm-push .bpm-push-go { flex: none; }
.bpm-wrap .bpm-push .bpm-push-x { flex: none; background: none; border: 0; color: #71717a; font-size: 24px; line-height: 1; padding: 4px 6px; cursor: pointer; min-height: 0; }

/* Portal opened from the home screen */
body.bpm-app-mode { margin: 0; background: #f4f4f5; padding-bottom: env(safe-area-inset-bottom); }
.bpm-app-top { background: #141414; border-bottom: 3px solid var(--bpm-brand, #7C3AED); padding: calc(10px + env(safe-area-inset-top)) 16px 10px; text-align: center; position: sticky; top: 0; z-index: 50; }
.bpm-app-top a { text-decoration: none; display: inline-block; }
.bpm-app-top img { max-height: 36px; max-width: 200px; display: block; }
.bpm-app-top span { color: #fff; font-weight: 700; font-size: 18px; }
.bpm-app-main { max-width: 760px; margin: 0 auto; padding: 16px 14px 32px; }

/* Planning auto-save status */
.bpm-wrap .bpm-autosave { margin: 8px 0 10px; font-size: 14px; color: var(--bpm-ink-2, #52525b); display: flex; align-items: center; gap: 6px; }
.bpm-wrap .bpm-autosave[hidden] { display: none; }
.bpm-wrap .bpm-autosave.is-saved { color: #15803d; }
.bpm-wrap .bpm-autosave.is-error { color: #b91c1c; }
.bpm-wrap .bpm-autosave.is-saving .bpm-autosave-text::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: bpm-spin .8s linear infinite; vertical-align: -1px; }
@keyframes bpm-spin { to { transform: rotate(360deg); } }

.bpm-savebar { flex-wrap: wrap; }
.bpm-wrap .bpm-savebar .bpm-autosave { flex-basis: 100%; order: -1; margin: 0; justify-content: flex-end; font-size: 13px; }
@media (max-width: 640px) { .bpm-wrap .bpm-savebar .bpm-autosave { order: 99; justify-content: center; } }

/* Final consultation booking */
.bpm-wrap .bpm-consult-book { border: 2px solid var(--bpm-accent); }
.bpm-consult-done { font-size: 1.05rem; }
.bpm-consult-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.bpm-wrap .bpm-consult-day { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 68px; padding: 10px 8px; border: 1.5px solid var(--bpm-line, #e4e4e7); border-radius: 10px; background: #fff; color: inherit; font: inherit; cursor: pointer; scroll-snap-align: start; }
.bpm-wrap .bpm-consult-day strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--bpm-ink-2, #52525b); }
.bpm-wrap .bpm-consult-day.is-active { border-color: #111; background: #111; color: #fff; }
.bpm-wrap .bpm-consult-day.is-active strong { color: #fff; }
.bpm-consult-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.bpm-wrap .bpm-consult-time { padding: 10px 6px; border: 1.5px solid var(--bpm-line, #e4e4e7); border-radius: 8px; background: #fff; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.bpm-wrap .bpm-consult-time.is-active { border-color: #111; background: #111; color: #fff; }
.bpm-consult-confirm .bpm-btn { width: 100%; }

/* Change orders */
.bpm-co-banner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.bpm-co-table .bpm-co-sub th, .bpm-co-table .bpm-co-sub td { border-top: 1px solid var(--bpm-line, #ddd); }
.bpm-co-addendum { margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--bpm-line, #ddd); }
.bpm-co .bpm-btn + .bpm-btn { margin-left: 8px; }

/* Request more services */
.bpm-request details > summary { cursor: pointer; font-weight: 700; margin: 6px 0 4px; }
.bpm-request-form .bpm-req-group { margin: 14px 0 0; }
.bpm-request-form label.bpm-block { margin: 18px 0 14px; }

/* Long song titles: let the lists shrink so "…" works instead of the page scrolling sideways on phones. */
.bpm-lists, .bpm-results { grid-template-columns: minmax(0, 1fr); }
.bpm-list, .bpm-result, .bpm-songs li { min-width: 0; }
/* Thumb-sized remove buttons in the timeline. */
.bpm-row-del { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

/* Gig page: services and what you're bringing */
.bpm-dl dd.bpm-bring ul, .bpm-dl dd.bpm-services ul { margin: 0; padding-left: 18px; }
.bpm-dl dd.bpm-bring li, .bpm-dl dd.bpm-services li { margin: 0 0 2px; }
