/* Frames at Work for Teams. Platform: Brand Booklet system. Landing (.fmt-calling): The Calling.
   Literal hex only (no variables, no @import). Phone first. */

.fmt { max-width: 880px; margin: 0 auto; padding: 16px 16px 48px; box-sizing: border-box; color: #151515; font-family: Poppins, "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
.fmt *, .fmt *::before, .fmt *::after { box-sizing: border-box; }
.fmt--landing { max-width: 560px; padding-top: 32px; }
.fmt--card { padding: 0; max-width: none; }
.fmt p { margin: 0 0 12px; }
.fmt a { color: #151515; }
.fmt-eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #4a4a4a; margin: 0 0 6px; font-weight: 600; }
.fmt-h1 { font-family: Avenir, "Avenir Next", Poppins, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.2; margin: 0 0 10px; color: #151515; }
.fmt-h2 { font-family: Avenir, "Avenir Next", Poppins, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0 0 10px; color: #151515; }
.fmt-h3 { font-family: Avenir, "Avenir Next", Poppins, sans-serif; font-weight: 700; font-size: 17px; margin: 0 0 8px; color: #151515; }
.fmt-lede { font-size: 17px; color: #2b2b2b; margin: 0; }
.fmt-lede--small { font-size: 15px; color: #4a4a4a; }
.fmt-hero { padding: 8px 0 20px; }
.fmt-section { margin: 0 0 20px; }
.fmt-card { background: #FFFFFF; border: 1px solid #E7EAED; border-radius: 14px; padding: 18px; margin: 0 0 16px; }
.fmt-callout { background: #F4F1E8; }
.fmt-promise { background: #F4F1E8; }
.fmt-list, .fmt-steps { margin: 0 0 12px; padding-left: 20px; }
.fmt-list li, .fmt-steps li { margin: 0 0 6px; }
.fmt-note { font-size: 14px; color: #4a4a4a; margin: 16px 0 0; }
.fmt-small { font-size: 14px; }
.fmt-muted { color: #5b5b5b; }
.fmt-optional { font-weight: 400; color: #5b5b5b; }
.fmt-back { margin: 0 0 4px; font-size: 14px; }
.fmt-back a { text-decoration: none; color: #4a4a4a; }

/* Buttons: #BCCF97 primary with dark text (AA), ghost outlined. Big tap targets for the app. */
.fmt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.fmt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid #BCCF97; background: #BCCF97; color: #151515 !important; font: 600 15px/1.2 Poppins, "Work Sans", sans-serif; text-decoration: none !important; cursor: pointer; -webkit-appearance: none; appearance: none; }
.fmt-btn:hover, .fmt-btn:focus-visible { background: #aec383; border-color: #aec383; }
.fmt-btn:focus-visible, .fmt-linkbtn:focus-visible, .fmt-input:focus { outline: 3px solid #0E1A27; outline-offset: 2px; }
.fmt-btn[disabled] { opacity: .6; cursor: progress; }
.fmt-btn--ghost { background: #FFFFFF; border-color: #c9cfd4; }
.fmt-btn--ghost:hover, .fmt-btn--ghost:focus-visible { background: #F4F1E8; border-color: #9aa3ab; }
.fmt-btn--danger { background: #FFFFFF; border-color: #c9cfd4; color: #8a1f1f !important; }
.fmt-linkbtn { background: none; border: 0; padding: 8px 4px; min-height: 40px; color: #4a4a4a; text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
.fmt-msg { min-height: 1.2em; font-size: 14px; color: #8a1f1f; margin: 8px 0 0; }
.fmt-msg.is-ok { color: #151515; }
.fmt-msg:empty { margin: 0; min-height: 0; }

/* Forms */
.fmt-form { display: grid; gap: 6px; max-width: 460px; }
.fmt-form .fmt-btn { justify-self: start; margin-top: 8px; }
.fmt-label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.fmt-input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9cfd4; border-radius: 10px; font: inherit; font-size: 16px; color: #151515; background: #FFFFFF; }
.fmt-linkrow { margin: 6px 0 0; }
.fmt-link { font-size: 14px; background: #F4F1E8; }

/* Team list */
.fmt-teamlist { display: grid; gap: 10px; }
.fmt-teamrow { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 16px; background: #FFFFFF; border: 1px solid #E7EAED; border-radius: 14px; text-decoration: none !important; min-height: 64px; }
.fmt-teamrow:hover { border-color: #BCCF97; }
.fmt-teamrow__name { font-weight: 700; color: #151515; }
.fmt-teamrow__meta { grid-column: 1; font-size: 14px; color: #5b5b5b; }
.fmt-teamrow__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 26px; color: #5b5b5b; }

/* People */
.fmt-people { display: grid; grid-template-columns: 1fr; gap: 10px; }
.fmt-person { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #FFFFFF; border: 1px solid #E7EAED; border-radius: 14px; }
.fmt-person.is-me { border-color: #BCCF97; box-shadow: inset 4px 0 0 #96CA42; }
.fmt-person__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 48px; background: #F4F1E8; }
.fmt-person__body { min-width: 0; }
.fmt-person__name { font-weight: 700; margin: 0 0 2px !important; overflow-wrap: anywhere; }
.fmt-person__frames { margin: 0 !important; font-size: 15px; }
.fmt-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #F4F1E8; border: 1px solid #E7EAED; vertical-align: 2px; }
.fmt-tag--soft { font-weight: 500; color: #4a4a4a; }

/* Bars */
.fmt-bars { display: grid; gap: 10px; margin: 4px 0 8px; }
.fmt-bar { display: grid; grid-template-columns: 112px 1fr 24px; align-items: center; gap: 10px; font-size: 15px; }
.fmt-bar__track { height: 14px; background: #F4F1E8; border-radius: 999px; overflow: hidden; }
.fmt-bar__fill { display: block; height: 100%; background: #BCCF97; border-radius: 999px; min-width: 14px; }
.fmt-bar__n { text-align: right; font-weight: 600; }

/* Work + pairs */
.fmt-work, .fmt-pairs { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fmt-workcard, .fmt-pair { margin: 0; }
.fmt-strength { font-weight: 600; }
.fmt-dl { margin: 0; }
.fmt-dl dt { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #4a4a4a; font-weight: 600; margin-top: 10px; }
.fmt-dl dd { margin: 2px 0 0; }
.fmt-pair__who { font-weight: 700; }
.fmt-pair .fmt-btn { margin-top: 4px; }

/* Manage */
.fmt-manage__people { list-style: none; margin: 0 0 8px; padding: 0; }
.fmt-manage__people li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #E7EAED; }
.fmt-leave { text-align: center; margin: 8px 0 0; }

/* Consent card */
.fmt-consent { padding: 22px 20px; }
.fmt-share-box { background: #F4F1E8; border-radius: 12px; padding: 14px 16px; margin: 16px 0 12px; }
.fmt-share-box__title { font-weight: 700; margin: 0 0 4px !important; }

/* Dashboard teaser */
.fmt-teaser { display: grid; gap: 4px; padding: 16px 18px; background: #FFFFFF; border: 1px solid #E7EAED; border-radius: 14px; text-decoration: none !important; color: #151515 !important; }
.fmt-teaser:hover { border-color: #BCCF97; }
.fmt-teaser__title { font-weight: 700; font-size: 17px; }
.fmt-teaser__body { font-size: 15px; color: #2b2b2b; }
.fmt-teaser__cta { font-weight: 600; font-size: 15px; margin-top: 4px; }

@media (min-width: 640px) {
	.fmt { padding: 24px 24px 64px; }
	.fmt-h1 { font-size: 34px; }
	.fmt-card { padding: 24px; }
	.fmt-people { grid-template-columns: 1fr 1fr; }
	.fmt-work { grid-template-columns: 1fr 1fr; }
	.fmt-pairs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
	.fmt-bar { grid-template-columns: 140px 1fr 28px; }
}
@media (min-width: 960px) {
	.fmt-people { grid-template-columns: 1fr 1fr 1fr; }
}

/* ------- The Calling: the public invite landing ------- */
.fmt-calling { background: #F7F7F4; padding: 40px 16px 64px; }
.fmt-calling__card { max-width: 580px; margin: 0 auto; background: #FFFFFF; border: 1px solid #E4E3DF; border-top: 6px solid #88BD40; padding: 32px 22px; color: #231F20; text-align: left; box-sizing: border-box; }
.fmt-calling__eyebrow { margin: 0 0 10px; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: lowercase; color: #4E7520; }
.fmt-calling__h1 { margin: 0 0 8px; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 900; font-size: 30px; line-height: 1.12; text-transform: lowercase; color: #231F20; overflow-wrap: anywhere; }
.fmt-calling__org { margin: 0 0 16px; font-family: Newsreader, Georgia, serif; font-size: 16px; color: #231F20; opacity: .8; }
.fmt-calling__p { margin: 0 0 16px; font-family: Newsreader, Georgia, serif; font-size: 19px; line-height: 1.55; color: #231F20; }
.fmt-calling__p--tight { margin: 0; font-size: 17px; }
.fmt-calling__box { border-left: 4px solid #88BD40; background: #F7F7F4; padding: 14px 16px; margin: 0 0 18px; }
.fmt-calling__label { margin: 0 0 4px; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: lowercase; color: #4E7520; }
.fmt-calling__cta { margin: 8px 0 14px; }
.fmt-calling__btn { display: inline-block; min-height: 48px; background: #88BD40; color: #231F20 !important; font-family: Archivo, Helvetica, Arial, sans-serif; font-weight: 800; font-size: 16px; text-transform: lowercase; padding: 14px 30px; text-decoration: none !important; }
.fmt-calling__btn:hover, .fmt-calling__btn:focus-visible { background: #7aad35; outline: 3px solid #231F20; outline-offset: 2px; }
.fmt-calling__alt { margin: 0 0 12px; font-family: Newsreader, Georgia, serif; font-size: 16px; line-height: 1.5; color: #231F20; }
.fmt-calling__alt a { color: #4E7520; text-decoration: underline; }
.fmt-calling__fine { margin: 18px 0 0; font-family: Newsreader, Georgia, serif; font-size: 14px; color: #231F20; opacity: .8; }
.fmt-calling__close { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #E4E3DF; font-family: Newsreader, Georgia, serif; font-style: italic; font-size: 15px; color: #231F20; opacity: .8; }
@media (min-width: 640px) {
	.fmt-calling { padding: 64px 16px 80px; }
	.fmt-calling__card { padding: 40px 36px; }
	.fmt-calling__h1 { font-size: 36px; }
}

/* The page's own hero carries the title; hide the theme's duplicate page heading. */
body.fm-teams-page .entry-header, body.fm-teams-page .page-header { display: none; }
.fmt-consent .fmt-actions { margin-bottom: 12px; }

/* Plans (paid team plans, 14 Oct 2026). */
.fmt-notice { background: #F4F1E8; border: 1px solid #E7EAED; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.fmt-notice--ok { border-left: 4px solid #96CA42; }
.fmt-meter__label { margin: 0 0 6px; }
.fmt-meter { height: 10px; border-radius: 999px; background: #E7EAED; overflow: hidden; margin: 0 0 10px; }
.fmt-meter span { display: block; height: 100%; background: #96CA42; border-radius: 999px; }
.fmt-meter.is-full span { background: #6b7d3a; }
.fmt-plans { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 12px 0; }
.fmt-plancard { border: 1px solid #E7EAED; border-radius: 12px; padding: 14px; background: #FFFFFF; }
.fmt-plancard.is-current { background: #F4F1E8; }
.fmt-plancard__name { font-family: Avenir, "Avenir Next", Poppins, sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 2px !important; }
.fmt-plancard__cap { color: #4a4a4a; margin: 0 0 8px !important; }
.fmt-plancard__list { margin: 0 0 12px; padding-left: 18px; }
.fmt-plancard__buy { display: flex; flex-wrap: wrap; gap: 8px; }
.fmt-plancard__buy .fmt-btn { flex: 1 1 100%; }
.fmt-save { font-size: 12px; font-weight: 500; margin-left: 6px; color: #4a4a4a; }
.fmt-questions { margin: 0 0 12px; padding-left: 22px; }
.fmt-questions li { margin: 0 0 8px; }
.fmt-reading__body p { margin: 0 0 10px; }
@media (min-width: 640px) {
	.fmt-plans { grid-template-columns: 1fr 1fr; }
}

/* The printable team-meeting guide: the map, how the team works, the reading and the questions. */
@media print {
	body.fm-teams-page header:not(.fmt-hero), body.fm-teams-page footer, body.fm-teams-page .site-header, body.fm-teams-page .footer-wrap,
	body.fm-teams-page #masthead, body.fm-teams-page .bb-mobile-header, body.fm-teams-page .buddypanel, body.fm-teams-page #wpadminbar,
	body.fm-teams-page .bb-footer-wrap, body.fm-teams-page .footer-widget-area, body.fm-teams-page .bb-footer, .fmt-noprint, .fmt-btn,
	[id^="fm-cc-"], [class^="fm-cc-"] { display: none !important; }
	body.fm-teams-page { background: #FFFFFF !important; }
	.fmt { max-width: none; padding: 0; font-size: 12pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.fmt-card { border: 1px solid #c9cfd4; break-inside: avoid; page-break-inside: avoid; }
	.fmt-person, .fmt-workcard, .fmt-pair { break-inside: avoid; page-break-inside: avoid; }
	.fmt a { text-decoration: none; }
	.fmt-bar { display: grid !important; grid-template-columns: 140px 1fr 28px !important; }
	.fmt-bar__track { display: block !important; width: 100%; border: 1px solid #c9cfd4; background: #F4F1E8 !important; }
	.fmt-bar__fill { display: block !important; background: #96CA42 !important; }
}

/* 1.1.0 — the team's conversation: card links, and the one-time tooltip (fm-tip). */
.fmt-teaser__title { color: #151515 !important; text-decoration: none !important; }
.fmt-teaser__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fmt-teaser__links a { color: #151515 !important; text-decoration: none !important; }
.fmt-tipwrap { position: relative; display: inline-block; }
.fmt-ftip { position: absolute; z-index: 50; top: calc(100% + 12px); left: 0; width: min(300px, calc(100vw - 32px)); padding: 14px 16px 12px; background: #151515; color: #FFFFFF; border-radius: 12px; box-shadow: 0 8px 24px rgba(21, 21, 21, .22); font: 400 14px/1.45 Poppins, "Work Sans", sans-serif; text-align: left; }
.fmt-ftip__arrow { position: absolute; top: -6px; left: 22px; width: 12px; height: 12px; background: #151515; transform: rotate(45deg); }
.fmt-ftip__title { margin: 0 0 4px; font-weight: 700; font-size: 14px; color: #BCCF97; }
.fmt-ftip__body { margin: 0 0 10px; color: #E7EAED; }
.fmt-ftip__close { min-height: 36px; padding: 6px 14px; border: 0; border-radius: 999px; background: #BCCF97; color: #151515; font: 600 14px/1 Poppins, "Work Sans", sans-serif; cursor: pointer; }
.fmt-ftip__close:focus-visible { outline: 2px solid #96CA42; outline-offset: 2px; }
.fmt-ftip.is-gone, body.fm-tour-on .fmt-ftip { display: none; }
@media (prefers-reduced-motion: no-preference) { .fmt-ftip { animation: fmTipIn .2s ease-out; } }
@keyframes fmTipIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .fmt-ftip { position: static; margin-top: 12px; width: auto; } .fmt-ftip__arrow { display: none; } }
@media print { .fmt-ftip { display: none; } }
