/* Optional reference photos. The image never becomes a seller's listing photo. */
.reference-input-v107,.reference-review-v107,.reference-editor-v107{min-width:0}
.reference-input-v107{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--ui-soft)}
.reference-input-v107 h3,.reference-view-v107 h3,.reference-review-v107 h3{font-size:16px;line-height:1.4;margin:0 0 6px}
.reference-input-v107 h3>span{font-size:12px;color:var(--muted);font-weight:500}
.reference-input-v107 .help-text,.reference-view-v107 .help-text{font-size:13px;line-height:1.5;margin:6px 0 10px}
.reference-file-v107{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px;border:1px dashed var(--accent);color:var(--accent);background:var(--ui-surface);border-radius:8px;cursor:pointer;font-size:14px;font-weight:650;margin:10px 0;overflow:hidden}
.reference-file-v107 input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.reference-file-v107:focus-within{outline:3px solid var(--accent);outline-offset:2px}
.reference-file-v107 .ui-icon{width:20px;height:20px}
.reference-preview-v107{display:flex;align-items:center;gap:12px;margin:10px 0}
.reference-preview-v107 img{width:96px;height:96px;object-fit:contain;border-radius:8px;background:var(--ui-surface);border:1px solid var(--line)}
.reference-view-v107{border-block:1px solid var(--line);padding:14px 0;margin:14px 0;min-width:0}
.reference-view-v107 img,[data-reference-editor-preview] img{display:block;max-width:100%;width:auto;max-height:240px;object-fit:contain;border-radius:10px;background:var(--ui-soft)}
.reference-view-v107 p,.reference-review-v107 p{overflow-wrap:anywhere;line-height:1.5}
.reference-status-v107{font-size:13px;line-height:1.45;margin:8px 0 0;color:var(--muted);overflow-wrap:anywhere}
.reference-compact-v107{margin:8px 0 12px;border-bottom:1px solid var(--line)}
.reference-compact-v107>summary{min-height:44px;cursor:pointer;padding:10px 0;font-size:14px;color:var(--accent)}
.reference-editor-actions{display:flex;gap:8px;flex-wrap:wrap}
[data-reference-note][hidden]{display:none!important}
.m107-demand-tap{display:none}.m107-all-demand{margin-left:auto}
@media(max-width:760px){
 .ui8-home{padding:12px 0 6px!important}
 .ui8-home #homeTitle,.m106-request-label{display:none!important}
 #heroSearchForm{order:0!important}
 .ui8-role-actions{order:1!important;margin:12px 0 0!important;gap:8px!important}
 .ui8-role-actions .btn{height:80px!important;min-height:80px!important;padding:12px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;text-align:left!important;white-space:normal!important}
 .ui8-role-actions .btn strong{display:block;font-size:15px;line-height:1.3;font-weight:750;letter-spacing:-.2px}
 .ui8-role-actions .btn small{display:block;font-size:12px;line-height:1.4;font-weight:500;opacity:.84}
 .ui8-role-actions .ui81-requests{background:#f2f0f5!important;border:1px solid #e9e4ef!important;color:#5a388a!important}
 .ui8-role-actions .btn .m107-action-title{display:flex!important;align-items:center;gap:7px}
 .m107-action-title .ui-icon{width:19px;height:19px;flex:none}
 .hunter-launch{order:2!important;margin:2px 0 0!important}
 .hunter-launch-btn{min-height:44px!important;gap:7px!important}
 .hunter-launch-btn>span:first-child{display:none!important}
 .hunter-launch-btn strong{font-size:13px!important}
 .hunter-launch-btn strong:after{content:' →'}
 .category-section{padding-top:0!important;padding-bottom:2px!important}
 .category-section>.section-heading{margin:0 0 4px!important;min-height:38px}
 .category-editorial{min-height:92px!important}
 .category-editorial-label strong{font-size:12px!important}
 .category-editorial-label{min-height:30px!important}
 .results-section{padding-top:8px!important}
 .section-heading.result-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px!important;align-items:center!important;margin-bottom:6px!important}
 #resultsTitle{font-size:19px!important;line-height:1.3!important}
 .result-controls{width:auto!important}
 .result-count{display:none!important}
 .result-controls select{width:150px!important;font-size:12px!important;height:44px!important;min-height:44px!important;padding:7px!important}
 .search-tools{margin-bottom:10px!important}
 .catalog-card .card-title{font-size:13px!important}
 .catalog-card .card-price{font-size:18px!important}
 .catalog-card .card-meta,.catalog-card .card-meta time{font-size:12px!important}
 .home-demand{margin:2px auto 4px!important;padding:0!important;border:0!important}
 .home-demand-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px!important;min-height:44px}
 .home-demand-heading h2{font-size:17px!important;margin:0!important;line-height:1.3!important;letter-spacing:-.3px}
 .home-demand-heading .m107-all-demand{min-height:44px;font-size:13px;padding:8px 0;white-space:nowrap}
 .home-demand-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .home-demand-card{position:relative;padding:10px 11px!important;background:#faf9fc!important;border:1px solid #ebe7f1!important;border-radius:10px!important;min-width:0;gap:4px!important}
 .home-demand-card h3{font-size:13px!important;line-height:1.35!important;margin:0!important;font-weight:650;order:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .home-demand-budget{font-size:15px!important;font-weight:750;line-height:1.4;margin:0!important;order:1}
 .home-demand-meta{font-size:11px!important;line-height:1.4!important;margin:0!important;order:2}
 .home-demand-meta>span:first-child,.home-demand-description,.home-demand-match,.home-demand-card>.btn,.home-demand-card>.m106-demand-details{display:none!important}
 .m107-demand-tap{display:block;position:absolute;inset:0;z-index:1;border-radius:10px;min-height:44px}
 .m107-demand-tap:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
 .reference-input-v107{padding:12px}
 .reference-input-v107 .form-field{margin-top:10px}
 .reference-view-v107 img{max-height:210px}
 .reference-editor-actions>.btn{min-height:44px}
}
@media(max-width:360px){
 .ui8-role-actions .btn{padding:9px!important}
 .ui8-role-actions .btn strong{font-size:14px}
 .ui8-role-actions .btn small{font-size:11px}
 .m107-action-title .ui-icon{width:16px;height:16px}
 .result-controls select{width:140px!important}
}
@media(max-width:760px) and (prefers-color-scheme:dark){
 .ui8-role-actions .ui81-requests{background:#30273c!important;border-color:#4e4063!important;color:#dcd5e6!important}
 .home-demand-card{background:var(--ui-soft)!important;border-color:var(--line)!important}
}
