/* BuildFlow Core styles; extends the installed BuildFlow theme. */
.bf-core-kpi{font-size:36px;font-weight:800;color:#18345d;margin-top:12px;line-height:1.25}
.bf-core-empty{text-align:center;padding:27px 10px}
.bf-core-empty h2{font-size:18px;margin:9px 0;color:#172845}
.bf-core-empty p{color:#718097;font-size:13px;margin:0 0 18px}
.bf-core-empty-icon{font-size:35px;color:#2563eb}
.bf-core-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf1f6}
.bf-core-item:last-child{border-bottom:0}
.bf-core-item strong{font-size:13px}
.bf-core-item small{display:block;margin-top:6px;color:#7b8ba0;font-size:12px}
.bf-core-alert{background:#fff4f4;color:#992533;border:1px solid #f4bdc5;padding:13px 40px 13px 15px;border-radius:10px;margin:0 0 18px;position:relative;font-size:13px}
.bf-core-alert--success{background:#effcf5;color:#116747;border-color:#bcebd3}
.bf-core-close{position:absolute;right:10px;top:7px;background:transparent;border:0;color:inherit;font-size:22px}
.bf-core-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.bf-core-thanks{text-align:center;padding:25px 12px}
.bf-core-thanks h1{font-size:25px;color:#17365b}
.bf-core-thanks p{font-size:14px;color:#62758e;line-height:1.8}
.bf-core-success-icon{display:inline-grid;place-items:center;background:#d9fbe8;border-radius:50%;width:55px;height:55px;color:#087d59;font-size:30px}
.bf-core-icon{font-size:21px;width:23px;text-align:center;line-height:1}
.bf-core-roadmap{max-width:680px}
.bf-core-roadmap h2{font-size:20px;color:#172845}
.bf-core-roadmap p{color:#718097;font-size:14px;line-height:1.8}
.bf-core-roadmap-badge{display:inline-block;padding:8px 12px;border-radius:40px;background:#f3f5fb;color:#48648b;font-size:12px;font-weight:700}
.bf-core-kv{font-weight:600;color:#294d82}
.bf-core-label{font-size:11px;color:#60728a}
.bf-app-content .bf-card>strong{display:block;margin-top:7px}
.bf-app-content .bf-card>.bf-muted{margin-top:7px}
@media(max-width:720px){.bf-core-item{align-items:flex-start;flex-wrap:wrap}.bf-core-item>.bf-actions{width:100%;justify-content:space-between}.bf-core-item .bf-btn{min-height:38px}.bf-app-content .bf-table{min-width:620px}}
/* v0.4: pricing books, categories and web-offer statistics. */
.bf-price-items{display:grid;gap:12px;margin-top:16px}
.bf-price-item{padding:16px;border:1px solid #e4ebf4;border-radius:12px;background:#fff}
.bf-price-item>.bf-row{margin-bottom:14px}
.bf-price-item small{display:block;font-size:11px;margin-top:5px}
.bf-price-item .bf-grid{gap:12px}
.bf-price-item .bf-actions{margin-top:13px;justify-content:flex-end}
.bf-pill{display:inline-block;background:#eef5ff;color:#245d9e;border-radius:20px;padding:6px 10px;font-weight:600;font-size:11px}
.bf-inline-form{display:flex;gap:8px;align-items:center}
.bf-inline-form .bf-input{min-width:0;flex:1}
.bf-inline-form .bf-btn{white-space:nowrap}
.bf-view-stats{display:flex;gap:15px;flex-wrap:wrap;align-items:start;justify-content:space-between;padding:14px 16px;margin-top:16px;background:#f2f8ff;border:1px solid #d7e7fc;border-radius:10px;font-size:13px}
.bf-view-stats small{display:block;font-size:11px;color:#536d8e;margin-top:5px}
.bf-view-stats details{max-width:350px}
.bf-view-stats summary{color:#1b58af;font-weight:700;cursor:pointer}
.bf-view-stats ol{margin:9px 0 0;padding-left:22px;max-height:150px;overflow:auto;font-size:12px}
@media(max-width:740px){.bf-price-item{padding:12px}.bf-price-item .bf-grid{grid-template-columns:1fr}.bf-inline-form{flex-wrap:wrap}.bf-view-stats{display:block}.bf-view-stats details{margin-top:12px}}
.bf-price-item{padding:12px 15px}
.bf-price-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}
.bf-price-item-head::-webkit-details-marker{display:none}
.bf-price-item-head>span:first-child{min-width:0}
.bf-price-item-tools{display:flex;align-items:center;gap:12px;color:#627c9c}
.bf-price-item[open]>.bf-price-item-head{padding-bottom:12px;border-bottom:1px solid #e6edf6}
.bf-price-item[open] .bf-price-item-tools>span:last-child{transform:rotate(180deg)}
/* v0.5: group selectors and image uploads */
.bf-photo-field{grid-column:1/-1;padding:13px;border:1px dashed #c6d5ea;border-radius:12px;background:#f8fbff}
.bf-photo-preview{min-height:52px;display:flex;align-items:center;margin:8px 0}
.bf-photo-preview img{display:block;width:130px;height:95px;object-fit:cover;border-radius:9px;border:1px solid #dbe5f1}
.bf-photo-field input[type=file]{max-width:100%;margin:8px 0}
.bf-photo-field .bf-btn{margin:2px 0 6px}
.bf-photo-status{font-size:12px;color:#41648f;margin-top:7px}
.bf-status--rejected{background:#fff0f0!important;color:#a72c3b!important}
