.bz-price-pending{font-size:.9rem;font-weight:800;color:#a73616;line-height:1.5}
.bz-home-opportunities{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 16px;overscroll-behavior-inline:contain}
.bz-home-opportunity{scroll-snap-align:start;min-width:0;border:1px solid var(--border,#eadfd8);border-radius:16px;overflow:hidden;background:var(--surface,#fff);color:var(--ink,#183040);display:flex;flex-direction:column}
.bz-home-opportunity-image{display:block;aspect-ratio:16/9;background:#fff4ec;overflow:hidden}.bz-home-opportunity-image img{width:100%;height:100%;object-fit:cover;display:block}
.bz-home-opportunity-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}.bz-home-opportunity-title{font-weight:800;font-size:17px;color:inherit;text-decoration:none;line-height:1.6}.bz-home-opportunity-body p{margin:0;font-size:13px;color:var(--ink3,#697b89)}
.bz-home-opportunity-price{font-size:23px;font-weight:800;color:#a73616;margin-top:auto}.bz-home-opportunity-price small{font-size:12px}.bz-home-opportunity-body .mk-flow-button{margin-top:4px;min-height:44px;text-decoration:none;align-self:stretch;justify-content:center}
.bz-home-opportunity-availability{min-height:24px}.bz-home-empty{padding:24px 12px;text-align:center;line-height:1.8}.bz-home-empty a{color:var(--orange,#b84b1c)}
.mb-visibility{font-size:11px;font-weight:700;color:inherit;opacity:.75}.mb-image-zone{border:1px dashed #9c8e80;border-radius:12px;padding:14px;outline-offset:4px}.mb-image-zone.is-dragging{background:rgba(243,100,24,.12);border-color:#f36418}
.mb-image-zone:focus-visible{outline:3px solid #f36418}.mb-image-zone .mb-image-preview{display:block;max-height:220px;width:100%;object-fit:contain;margin-top:12px}.mb-image-zone .mb-image-preview[hidden]{display:none}
.mb-card-preview{margin:12px 0;padding:12px;border:1px solid #c2a48e;border-radius:12px;max-width:430px;color:#183040;background:#fff}.mb-card-preview img{width:100%;max-height:170px;object-fit:contain;background:#fff4ec}.mb-card-preview h3{margin:8px 0}.mb-card-preview p{margin:6px 0;font-size:13px}.mb-card-preview .bz-price-pending{color:#a73616}
.mb-readiness{padding:10px;border-inline-start:3px solid #f36418;line-height:1.8;margin:12px 0;font-size:13px}.mb-quote-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.mb-quote-actions button{min-height:44px}.mb-overdue{color:#d97c33;font-weight:800}
@media(max-width:1000px){.bz-home-opportunities{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:600px){.bz-home-opportunities{grid-auto-columns:88%;gap:12px}.bz-home-opportunity-body{padding:12px}.bz-home-opportunity-title{font-size:16px}.mb-form-footer{position:static;flex-wrap:wrap}.mb-form-footer button{flex:1 1 150px;min-height:44px}.mb-quote-actions button{flex:1}}

/* DS-029: administrative sections and publication state; scoped to existing workspace. */
.mb-publication{display:inline-block;padding:4px 9px;border:1px solid currentColor;border-radius:8px;font-size:11px;line-height:1.5}.mb-publication.is-published{color:#59dba0;background:rgba(18,183,106,.09)}.mb-publication.is-preparing{color:#ffd080;background:rgba(247,144,9,.08)}.mb-publication.is-withdrawn{color:#c9ced7;background:rgba(148,163,184,.09)}
.mb-form-section{border:1px solid var(--bd,#374151);border-radius:12px;margin-block:14px;overflow:clip}.mb-form-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-inline-start:4px solid #f36418;background:rgba(243,100,24,.07);cursor:pointer;font-weight:800;min-height:52px}.mb-form-section>summary small{font-size:11px;font-weight:500;color:var(--mu,#b2bdcb)}.mb-section-body{padding:16px}.mb-internal{color:#8dbef8}.mb-section-body .mb-fields{gap:16px}.mb-section-body .mb-field small{display:block;line-height:1.7}.mb-image-notes{margin-block:14px}.mb-form-footer{border-top:1px solid var(--bd,#374151);padding-block:16px}.mb-section-body a{overflow-wrap:anywhere}.mb-section-body .mb-actions a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:600px){.mb-section-body{padding:12px}.mb-form-section>summary{align-items:flex-start;flex-direction:column;gap:4px;padding:12px}.mb-dialog .mb-fields{grid-template-columns:minmax(0,1fr)}.mb-dialog input,.mb-dialog textarea,.mb-dialog select{max-width:100%;min-width:0}.mb-publication{margin-block:4px}}

.mb-dialog .mb-form-section>summary,.mb-dialog input,.mb-dialog textarea,.mb-dialog select{scroll-margin-block-start:86px}

/* DS-030: one admin-selected upcoming bazaar, using the existing featured layout. */
#bz-home-section[hidden]{display:none!important;margin:0!important;padding:0!important}
#bz-home-section .bz-featured-card{max-height:none}#bz-home-section .bz-featured-body{min-width:0}#bz-home-section .bz-featured-title a{color:inherit;text-decoration:none}#bz-home-section .bz-featured-image-link{display:block;height:100%;min-height:260px}#bz-home-section .bz-featured-image-link img{display:block;aspect-ratio:3/2;object-fit:cover}
#bz-home-section .bz-featured-footer{flex-wrap:wrap;gap:12px}#bz-home-section .bz-featured-price{flex:1 1 190px;min-width:0}#bz-home-section .bz-featured-book{min-height:44px;text-decoration:none;white-space:normal;text-align:center}#bz-home-section .bz-featured-share-btn{position:static;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
#bz-home-section .bz-countdown{direction:inherit;flex-wrap:wrap;gap:8px}#bz-home-section .bz-countdown-label{writing-mode:initial;transform:none;padding:0;border:0;font-size:12px}#bz-home-section .bz-countdown-lbl{font-size:10px;color:#e4e7ec}#bz-home-section .bz-countdown-pending{font-size:12px;text-align:center}#bz-home-section .bz-featured-price .bz-price-pending{color:#a73616;font-size:14px;font-weight:800;line-height:1.7;margin:0}#bz-home-section .bz-featured-price .mk-price-dummy{font-size:24px;color:var(--orange-700,#B33F05)}
.bz-price-pending{display:inline-block;max-width:100%;font-size:14px;line-height:1.7;text-wrap:pretty}.bz-featured-dates,.bz-featured-availability{font-size:13px;color:var(--ink2,#4b5563);margin-block:4px 10px}
#bz-home-section .mk-price-lock a span{color:inherit;font-weight:inherit;font-size:inherit;margin:0}
@media(max-width:780px){#bz-home-section .bz-featured-image-link{min-height:210px}#bz-home-section .bz-featured-body{padding:16px}#bz-home-section .bz-featured-footer{align-items:stretch}#bz-home-section .bz-featured-price{flex-basis:100%}#bz-home-section .bz-featured-book{flex:1}#bz-home-section .bz-featured-img-container{height:auto;aspect-ratio:3/2}#bz-home-section .bz-countdown{inset-inline:10px;bottom:10px;padding:8px}#bz-home-section .bz-countdown-unit{min-width:34px}}
/* The observation form uses the existing admin field grid, stacked on phones. */
#pg-dir-add .fgrid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
#pg-dir-add .fgrid>*{min-width:0}
#pg-dir-add .fc{min-width:0;max-width:100%;width:100%}
@media(max-width:720px){#pg-dir-add .fgrid,#pg-dir-add .fr2,#pg-dir-add .fr3{grid-template-columns:minmax(0,1fr)}}
