/* R277 — discovery inside the R276 licence holders; search result rows aligned with search console. */
.r276-holder .r277-discover-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:13px;padding-top:12px;border-top:1px solid #e6ede8}
.r276-holder .r277-discover-controls button{background:#eaf1ed;color:#1d555f;border:1px solid #cedfda;border-radius:8px;display:inline-flex;gap:7px;align-items:center;padding:9px 11px;font-size:11px;font-weight:760;cursor:pointer}
.r276-holder .r277-discover-controls button:hover{background:#dcebe6}.r276-holder .r277-discover-controls button svg{width:16px;height:16px}.r276-holder .r277-discover-controls button:disabled{opacity:.65;cursor:progress}.r276-holder .r277-discover-controls small{font-size:9px;color:#86999c}
.r276-holder .r277-discovery-results{margin-top:13px;min-width:0}.r276-holder .r277-discovery-results[hidden]{display:none!important}.r277-results-head{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;flex-wrap:wrap;padding:11px 12px;background:#f2f6f3;border:1px solid #dfe9e3;border-radius:9px 9px 0 0}.r277-results-head strong{display:block;font-size:12px;color:#244d55;margin:5px 0}.r277-results-head small{font-size:10px;color:#7d9597}.r277-caveat{font-size:9px;font-weight:700;color:#9a7845;border:1px solid #e5d8bf;border-radius:99px;padding:5px 8px;background:#fffbf2}
.r277-candidate-list{max-height:440px;overflow-y:auto;border-left:1px solid #e2eae4;border-right:1px solid #e2eae4}.r277-candidate{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 12px;border-bottom:1px solid #ecf1ed;background:white;min-width:0}.r277-candidate>div{min-width:0}.r277-candidate a{color:#235c66;font-weight:760;font-size:12px;overflow-wrap:anywhere;text-decoration:none}.r277-candidate a svg{width:13px;height:13px;vertical-align:middle}.r277-candidate small{display:block;color:#87999b;font-size:9px;margin:5px 0;line-height:1.5}.r277-match-tags{display:flex;gap:5px;flex-wrap:wrap}.r277-match-tags span{font:700 9px/1.2 ui-monospace,SFMono-Regular,monospace;color:#4c7070;background:#f2f6f1;padding:4px 6px;border-radius:4px}.r277-candidate .r277-connection{font-size:10px;white-space:nowrap;align-self:center}.r277-discovery-footer{padding:10px 12px;background:#f8faf8;border:1px solid #e2eae4;border-radius:0 0 9px 9px;display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.r277-discovery-footer>*{font-size:9px;color:#819394;line-height:1.5}
/* The existing R217 stylesheet stacks each Global Search result into a tall card.
   For a single exact hostname (ctb288.com), that leaves a half-width card with an oversized image.
   Use responsive full-width rows; screenshot left, evidence/actions right. */
html body[data-r158-view="search"] #r158SearchResults{width:100%!important;min-width:0!important;max-width:none!important;display:block!important;clear:both!important}
html body[data-r158-view="search"] #r158SearchResults .r158-search-grid{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-items:start!important;justify-items:stretch!important}
html body[data-r158-view="search"] #r158SearchResults .r158-result-card{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:196px minmax(0,1fr)!important;align-items:stretch!important;align-self:start!important;background:#fff!important;border-radius:12px!important;overflow:hidden!important}
html body[data-r158-view="search"] #r158SearchResults .r158-result-shot{width:196px!important;max-width:196px!important;min-width:0!important;min-height:145px!important;height:100%!important;border-right:1px solid #e0eae6!important;border-bottom:none!important;align-self:stretch!important;overflow:hidden!important}
html body[data-r158-view="search"] #r158SearchResults .r158-result-shot .r158-shot{width:100%!important;height:100%!important;min-height:145px!important;display:block!important;border-radius:0!important}
html body[data-r158-view="search"] #r158SearchResults .r158-result-shot img{object-position:top center!important;object-fit:cover!important}
html body[data-r158-view="search"] #r158SearchResults .r158-result-main{padding:18px 20px!important;min-width:0!important;overflow-wrap:anywhere}
html body[data-r158-view="search"] #r158SearchResults .r158-result-title{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
html body[data-r158-view="search"] #r158SearchResults .r158-match-preview{font-size:11px!important;line-height:1.6!important;overflow-wrap:anywhere}
html body[data-r158-view="search"] #r158SearchResults .r158-results-heading{margin-top:18px!important;min-width:0}
html body[data-r158-view="search"] #r158SearchResults .r158-results-toolbar{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;width:100%!important}
html body[data-r158-view="search"] #r158SearchResults .r158-results-toolbar .r158-tabs{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:0 auto 0 0!important}
html body[data-r158-view="search"] #r158SearchResults .r158-results-toolbar input{min-width:170px!important;flex:1!important;max-width:260px!important}
@media(max-width:780px){html body[data-r158-view="search"] #r158SearchResults .r158-result-card{grid-template-columns:130px minmax(0,1fr)!important}html body[data-r158-view="search"] #r158SearchResults .r158-result-shot{width:130px!important;max-width:130px!important;min-height:125px!important}html body[data-r158-view="search"] #r158SearchResults .r158-result-main{padding:13px!important}.r277-candidate{align-items:flex-start;flex-direction:column}.r277-candidate .r277-connection{align-self:flex-start}}
@media(max-width:525px){html body[data-r158-view="search"] #r158SearchResults .r158-result-card{grid-template-columns:minmax(0,1fr)!important}html body[data-r158-view="search"] #r158SearchResults .r158-result-shot{width:100%!important;max-width:none!important;height:150px!important;min-height:150px!important;border-right:0!important;border-bottom:1px solid #e0eae6!important}html body[data-r158-view="search"] #r158SearchResults .r158-result-shot .r158-shot{height:150px!important;min-height:150px!important}html body[data-r158-view="search"] #r158SearchResults .r158-results-toolbar input{max-width:none!important;flex-basis:100%!important}}
