/* For organizations (for-organizations.html): embed code builder. House colors: navy #1E3A5F, honey #D8A62A, paper #F3F5F7. */
.fo, .fo * { box-sizing: border-box; }
.fo { max-width: 1100px; margin: 0 auto; padding: 24px 16px 56px; font-family: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #15202c; display: grid; gap: 18px; }
.fo-head { display: grid; gap: 8px; }
.fo-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #566271; margin: 0; }
.fo-h1 { font-size: clamp(28px, 4.5vw, 38px); font-weight: 900; color: #1e3a5f; margin: 0; line-height: 1.15; text-wrap: balance; }
.fo-lede { font-size: 17px; color: #3a4654; max-width: 68ch; margin: 0; text-wrap: pretty; }
.fo-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fo-points li { font-size: 13px; font-weight: 700; color: #1e3a5f; background: #e5ebf2; border-radius: 99px; padding: 4px 12px; }
.fo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .fo-layout { grid-template-columns: minmax(0, 1fr); } }
.fo-panel { background: #fff; border: 1px solid #d2d8df; border-radius: 12px; padding: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.fo-preview-panel { position: sticky; top: 84px; }
@media (max-width: 860px) { .fo-preview-panel { position: static; } }
.fo-step { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #1e3a5f; margin: 10px 0 0; }
.fo-step:first-child { margin-top: 0; }
.fo-step span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #1e3a5f; color: #fff; font-size: 14px; flex: none; }
.fo-label { font-size: 13px; font-weight: 700; color: #3a4654; }
.fo-input { font: inherit; font-size: 15px; min-height: 44px; padding: 8px 10px; border: 1px solid #d2d8df; border-radius: 8px; background: #fff; color: #15202c; width: 100%; min-width: 0; }
.fo-input:focus, .fo-code:focus { outline: 3px solid #d8a62a; outline-offset: 1px; }
.fo-hint { font-size: 13px; color: #566271; margin: 0; line-height: 1.5; }
.fo-hint code { font-size: 12px; background: #f3f5f7; border-radius: 4px; padding: 1px 4px; }
.fo-views { display: grid; gap: 8px; }
.fo-view { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: start; padding: 10px 12px; border: 1px solid #d2d8df; border-radius: 10px; cursor: pointer; }
.fo-view input { grid-row: span 2; margin: 3px 0 0; width: 18px; height: 18px; accent-color: #1e3a5f; }
.fo-view b { font-size: 15px; color: #15202c; }
.fo-view small { font-size: 13px; color: #566271; }
.fo-view:has(input:checked) { border-color: #1e3a5f; box-shadow: 0 0 0 2px #e5ebf2; }
.fo-view:has(input:focus-visible) { outline: 3px solid #d8a62a; outline-offset: 2px; }
.fo-billpick { display: grid; gap: 6px; }
.fo-billpick[hidden] { display: none; }
.fo-accent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.fo-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.fo-check input { width: 18px; height: 18px; accent-color: #1e3a5f; }
.fo-accent input[type="color"] { width: 44px; height: 32px; padding: 0; border: 1px solid #d2d8df; border-radius: 6px; background: #fff; cursor: pointer; }
.fo-accent input[type="color"]:disabled { opacity: .4; cursor: default; }
.fo-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #e4e8ed; padding-bottom: 8px; }
.fo-tab { font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 0 14px; border: 1px solid #d2d8df; border-radius: 99px; background: #fff; color: #1e3a5f; cursor: pointer; }
.fo-tab em { font-style: normal; font-weight: 600; font-size: 12px; color: #8a6410; margin-left: 4px; }
.fo-tab[aria-selected="true"] { background: #1e3a5f; border-color: #1e3a5f; color: #fff; }
.fo-tab[aria-selected="true"] em { color: #f2c14e; }
.fo-tab:focus-visible, .fo-copy:focus-visible, .fo-how summary:focus-visible { outline: 3px solid #d8a62a; outline-offset: 2px; }
.fo-pane { display: grid; gap: 8px; }
.fo-pane[hidden] { display: none; }
.fo-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; color: #15202c; background: #f3f5f7; border: 1px solid #d2d8df; border-radius: 8px; padding: 10px 12px; width: 100%; resize: vertical; word-break: break-all; }
.fo-copy { justify-self: start; font: inherit; font-size: 14px; font-weight: 700; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #1e3a5f; background: #1e3a5f; color: #fff; cursor: pointer; }
.fo-copy:hover { background: #2c5687; }
.fo-status { font-size: 13px; font-weight: 700; color: #1d7447; margin: 0; min-height: 18px; }
.fo-preview { min-height: 120px; }
.fo-how { border-top: 1px solid #e4e8ed; padding: 10px 0 2px; }
.fo-how summary { cursor: pointer; font-size: 15px; font-weight: 700; color: #15202c; }
.fo-how p { margin: 8px 0 4px; font-size: 14px; line-height: 1.55; color: #2b3744; max-width: 75ch; }
.fo-note { font-size: 13px; color: #566271; margin: 8px 0 0; max-width: 75ch; }
.fo-link { color: #1e3a5f; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* Organization comments (signed-in staff) */
.foc-row { display: grid; gap: 8px; max-width: 520px; }
.foc-row .foc-primary { justify-self: start; }
.foc-primary { font: inherit; font-size: 14px; font-weight: 700; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #1e3a5f; background: #1e3a5f; color: #fff; cursor: pointer; }
.foc-primary:hover { background: #2c5687; }
.foc-primary:disabled { opacity: .6; cursor: wait; }
.foc-btn { font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 0 14px; border: 1px solid #d2d8df; border-radius: 99px; background: #fff; color: #1e3a5f; cursor: pointer; }
.foc-primary:focus-visible, .foc-btn:focus-visible { outline: 3px solid #d8a62a; outline-offset: 2px; }
.foc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foc-bar .fo-input { width: auto; flex: 1 1 220px; }
.foc-bills { display: grid; gap: 12px; }
.foc-card { border: 1px solid #d2d8df; border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
.foc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.foc-head b { font-size: 15px; color: #15202c; overflow-wrap: anywhere; }
.foc-pos { flex: none; font-size: 12px; font-weight: 700; color: #1e3a5f; background: #e5ebf2; border-radius: 99px; padding: 3px 10px; }
.foc-text { font-family: inherit; font-size: 14px; word-break: normal; }
.foc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.foc-grow { flex: 1 1 auto; }
.foc-status { font-weight: 600; }
.fo-status.err { color: #b3261e; }
