/* Presentation for existing forms and owned-user pages. Native contracts remain. */
.bngo-workflow-r3{font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,"PingFang SC",Arial,sans-serif;background:#f5f7f8;color:#153747}
.bngo-workflow-r3 .main{clear:both;max-width:1100px;padding:20px 16px 50px;box-sizing:border-box}
.bngo-workflow-r3 .main:after{content:"";display:block;clear:both}
.bngo-workflow-r3 .main h1,.bngo-workflow-r3 .main h2,.bngo-workflow-r3 .main h3{font-family:inherit;line-height:1.4}
.bngo-workflow-r3 .main h1{font-size:26px;margin:0 0 18px;padding-left:0}
.bngo-workflow-r3 .main h2{font-size:20px;padding-left:0;margin:24px 0 12px}
.bngo-workflow-r3.item-post .form-container{display:flow-root;max-width:800px;width:100%;margin:0 auto;padding:22px;background:white;border:1px solid #e3eaee;border-radius:8px;box-sizing:border-box}
.bngo-workflow-r3.item-post .resp-wrapper{width:100%;max-width:100%;padding:0;box-sizing:border-box}
.bngo-workflow-r3.item-post .form-horizontal .control-group{float:none;display:flow-root;width:100%;margin-bottom:16px}
.bngo-workflow-r3.item-post .form-horizontal .control-label{float:none;display:block;width:100%;text-align:left;padding:0;margin:0 0 6px;line-height:1.5;font-weight:600}
.bngo-workflow-r3.item-post .form-horizontal .controls{float:none;width:100%;margin:0;min-width:0}
.bngo-workflow-r3.item-post .form-horizontal .controls.checkbox{margin-left:0}
.bngo-workflow-r3.item-post input[type=text],.bngo-workflow-r3.item-post input[type=email],.bngo-workflow-r3.item-post input[type=number],.bngo-workflow-r3.item-post input[type=date],.bngo-workflow-r3.item-post select,.bngo-workflow-r3.item-post textarea{max-width:100%;width:100%;min-width:0;box-sizing:border-box;border:1px solid #bdced7;border-radius:6px;padding:10px;min-height:42px;font:inherit}
.bngo-workflow-r3.item-post .control-group.descr textarea{height:160px;min-height:120px;resize:vertical}
.bngo-workflow-r3.item-post input[type=text]#price{width:calc(100% - 35px)}
.bngo-workflow-r3.item-post .form-horizontal .actions,.bngo-workflow-r3.item-post .pblbt{padding-left:0;max-width:100%;box-sizing:border-box}
.bngo-workflow-r3 #error_list{width:100%;margin:0 0 16px;padding-left:20px;box-sizing:border-box}
.bngo-workflow-r3 .bnre-page,.bngo-workflow-r3 .bnls-wrap{margin:0 auto 24px;max-width:100%;box-sizing:border-box}
.bngo-workflow-r3 .bnre-card,.bngo-workflow-r3 .bnls-card{border:1px solid #e3eaee;border-radius:8px;box-shadow:none;background:white;padding:22px;box-sizing:border-box}
.bngo-workflow-r3 .bnre-form label,.bngo-workflow-r3 .bnls-form label{font-family:inherit;line-height:1.5;font-size:14px}
.bngo-workflow-r3 .bnre-form input,.bngo-workflow-r3 .bnre-form select,.bngo-workflow-r3 .bnre-form textarea,.bngo-workflow-r3 .bnls-form input,.bngo-workflow-r3 .bnls-form select,.bngo-workflow-r3 .bnls-form textarea{font-family:inherit;max-width:100%;box-sizing:border-box}
.bngo-workflow-r3 .bnre-success{max-width:680px;margin:20px auto;overflow-wrap:anywhere}
.bngo-workflow-r3 .bnre-reference{font-size:22px;line-height:1.5;overflow-wrap:anywhere}
.bngo-workflow-r3 .flashmessage{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.bngo-workflow-r3.user-items .list-header{border:1px solid #e3eaee;border-radius:8px;padding:18px;box-sizing:border-box;background:white}
.bngo-workflow-r3 .user-items-search-form{gap:12px;flex-wrap:wrap}
.bngo-workflow-r3 .user-items-search-form .control-group{flex:1 1 180px;padding:0}
.bngo-workflow-r3 .user-items-search-form .actions{padding:0}
.bngo-workflow-r3 .bnls-table{font-family:inherit}
@media(max-width:767px){.bngo-workflow-r3 .main{padding:12px 12px 30px}.bngo-workflow-r3.item-post .form-container,.bngo-workflow-r3 .bnre-card,.bngo-workflow-r3 .bnls-card{padding:16px}.bngo-workflow-r3 .main h1{font-size:22px}.bngo-workflow-r3 .main h2{font-size:18px}.bngo-workflow-r3 .user-items-search-form .control-group{flex-basis:100%;width:100%}}

@media(max-width:767px){
 .bngo-workflow-r3 .bnls-scroll{overflow:visible}
 .bngo-workflow-r3 .bnls-table{display:block;min-width:0;width:100%}
 .bngo-workflow-r3 .bnls-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .bngo-workflow-r3 .bnls-table tbody{display:block}
 .bngo-workflow-r3 .bnls-table tr{display:block;margin:0 0 12px;border:1px solid #e3eaee;border-radius:6px;padding:8px;width:100%;box-sizing:border-box}
 .bngo-workflow-r3 .bnls-table td{display:grid;grid-template-columns:minmax(70px,30%) minmax(0,1fr);gap:8px;min-width:0;padding:8px 2px;overflow-wrap:anywhere;border-bottom:0}
 .bngo-workflow-r3 .bnls-table td:before{content:attr(data-label);font-size:12px;font-weight:600;color:#58717c}
}

.bngo-workflow-r3 .bnre-card a,.bngo-workflow-r3 .bnls-card a{color:#24728c}
.bngo-workflow-r3 .bnre-form button[type=submit],.bngo-workflow-r3 .bnls-form button[type=submit]{background:#1689ba;color:white;border-color:#1689ba}
@media(min-width:981px){.bngo-workflow-r3.user-items .list-header{width:calc(100% - 230px);float:right}}
@media(max-width:767px){.bngo-workflow-r3.user-items .list-header{width:100%;float:none}}

@media(min-width:768px) and (max-width:980px){.bngo-workflow-r3.user-items .list-header{width:68%;float:right}}
@media(max-width:767px){
 .bngo-workflow-r3.user-items #listing-card-list .listing-thumb,.bngo-workflow-r3.user-items #listing-card-list .listing-thumb img{width:110px;height:90px}
 .bngo-workflow-r3.user-items #listing-card-list .listing-detail{margin-left:122px}
}

/* Page-local headings must not inherit the mobile site header fixation. */
.bngo-workflow-r3 .bnre-page-head{position:static;top:auto;left:auto;z-index:auto;height:auto;width:auto;padding:0;margin:0 0 20px;border:0;background:transparent;box-sizing:border-box}

.bngo-workflow-r3 .bngo-policy-confirm label{display:block;line-height:1.6;margin:10px 0}
.bngo-workflow-r3 .bngo-policy-confirm input[type=checkbox]{width:18px;min-width:18px;max-width:18px;height:18px;padding:0;margin:0 8px 0 0;float:none;vertical-align:middle;border-radius:3px;box-sizing:border-box}

/* Owned records use the same field order on desktop and mobile. */
body.user #listing-card-list .bngo-owned-listing{display:flex;gap:16px;float:none;width:100%;padding:18px;box-sizing:border-box;border:1px solid #e3eaee;border-radius:8px;margin:14px 0;background:#fff}
body.user #listing-card-list .bngo-owned-listing .listing-thumb{float:none;flex:0 0 110px;width:110px}
body.user #listing-card-list .bngo-owned-listing .listing-thumb img{width:110px;height:90px;object-fit:contain}
body.user #listing-card-list .bngo-owned-listing .listing-detail{float:none;flex:1;min-width:0;width:auto;margin:0}
body.user #listing-card-list .bngo-owned-listing .listing-data{padding:0;float:none}
body.user .bngo-owned-listing .title{overflow-wrap:anywhere}
.bngo-owned-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0;clear:both;font-size:13px;line-height:1.6}
.bngo-owned-meta dt{font-weight:600;color:#58717c}.bngo-owned-meta dd{margin:0;overflow-wrap:anywhere}
body.user .bngo-owned-listing .listing-status{display:inline-block;padding:5px 9px;border-radius:6px;background:#edf5fa;color:#245577;font-weight:600}
.bngo-owned-note{margin:10px 0;font-size:13px;line-height:1.6;color:#58717c;clear:both}
body.user .bngo-owned-listing .admin-options{display:flex;flex-wrap:wrap;gap:8px;float:none;margin-top:12px}
body.user .bngo-owned-listing .admin-options a{float:none;margin:0;padding:7px 10px}
.bngo-item-management-summary{padding:16px;border:1px solid #dce8ef;border-radius:8px;background:#f5faff;margin:0 0 20px;line-height:1.6;overflow-wrap:anywhere}
.bngo-item-management-summary h2{font-size:18px;margin:0 0 8px}.bngo-item-management-summary p{margin:8px 0}.bngo-item-management-summary nav{display:flex;flex-wrap:wrap;gap:16px}
@media(max-width:767px){body.user #listing-card-list .bngo-owned-listing{display:block;padding:14px}body.user #listing-card-list .bngo-owned-listing .listing-thumb{display:block;margin-bottom:12px}.bngo-owned-meta{grid-template-columns:minmax(0,1fr);gap:8px}}
/* My listings status tabs and review states */
.bngo-owned-tabs{display:flex;gap:6px;overflow-x:auto;margin:6px 0 16px;padding-bottom:2px;border-bottom:1px solid #e5e7eb;-webkit-overflow-scrolling:touch}.bngo-owned-tabs a{flex:none;padding:9px 12px;color:#344054;text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}.bngo-owned-tabs a.active{border-color:#2563eb;color:#1d4ed8;font-weight:700}.bngo-owned-tabs b{display:inline-block;min-width:18px;padding:0 6px;border-radius:999px;background:#eef2f7;text-align:center;font-size:12px;font-weight:600}
body.user #listing-card-list .bngo-owned-listing .listing-status.state-review,body.user .bngo-owned-listing .listing-status.state-review{background:#fff4e5;color:#8a4b00}body.user #listing-card-list .bngo-owned-listing .listing-status.state-rejected,body.user #listing-card-list .bngo-owned-listing .listing-status.state-not_approved,body.user .bngo-owned-listing .listing-status.state-rejected,body.user .bngo-owned-listing .listing-status.state-not_approved{background:#fef3f2;color:#b42318}body.user #listing-card-list .bngo-owned-listing .listing-status.state-active,body.user .bngo-owned-listing .listing-status.state-active{background:#ecfdf3;color:#027a48}.bngo-owned-listing .bngo-owned-note.state-rejected{color:#b42318}
