/* Additional functional states in the accepted homepage component system. */
#homepage-widgets-lab .hl-check {display:flex;align-items:center;gap:8px;min-height:44px;}
#homepage-widgets-lab .hl-check input {width:20px;height:20px;accent-color:var(--ui-accent);}
#homepage-widgets-lab .hl-dialog-body form {display:grid;gap:16px;}
#homepage-widgets-lab .hl-dialog-body fieldset {border:1px solid var(--ui-line);padding:16px;border-radius:6px;}
#homepage-widgets-lab .hl-searches {list-style:none;padding:0;}
#homepage-widgets-lab .hl-searches li {display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;border-top:1px solid var(--ui-line);}
#homepage-widgets-lab .hl-searches li a {flex:1 1 160px;}
#homepage-widgets-lab .hl-search-edit summary {min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--hl-purple);}
#homepage-widgets-lab .hl-search-edit .hl-filter-grid {margin:12px 0;}
#homepage-widgets-lab button:disabled {opacity:.55;cursor:default;}
#homepage-widgets-lab .hl-pagination {display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0;}
#homepage-widgets-lab .hl-lot-title {overflow-wrap:anywhere;}
#homepage-widgets-lab [data-lot-map] iframe {width:100%;height:360px;border:0;}
#homepage-widgets-lab .hl-lot-details > h3 {margin-top:24px;margin-bottom:12px;}
#homepage-widgets-lab .hl-detail-facts {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px 24px;}
#homepage-widgets-lab .hl-detail-facts .hl-fact-prose {grid-column:1/-1;max-width:85ch;}
#homepage-widgets-lab .hl-detail-facts dd {line-height:1.65;overflow-wrap:anywhere;}
@media(max-width:600px){#homepage-widgets-lab .hl-pagination {gap:8px;}#homepage-widgets-lab .hl-pagination span{font-size:13px;}}

/* Owner voice 682753: denser lists within the accepted component system. */
#homepage-widgets-lab:not([data-detail="true"]) {--hl-gap:20px;--hl-card-gap:16px;}
#homepage-widgets-lab:not([data-detail="true"]):not([data-cabinet-catalog="true"]) .hl-shell {width:min(1408px,calc(100% - 48px));}
#homepage-widgets-lab:not([data-detail="true"]) .hl-header-row {min-height:60px;}
#homepage-widgets-lab:not([data-detail="true"]) .hl-widget {margin-block:20px;}
#homepage-widgets-lab:not([data-detail="true"]) .hl-search {margin-top:16px;margin-bottom:16px;}
#homepage-widgets-lab:not([data-detail="true"]) .hl-intro {margin-top:6px;margin-bottom:12px;}
#homepage-widgets-lab .hl-lot {gap:16px;padding-block:16px;}
#homepage-widgets-lab .hl-lot-price {padding-left:16px;}
#homepage-widgets-lab .hl-breadcrumbs {display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin-block:8px 0;font-size:14px;line-height:21px;color:var(--hl-muted);}
#homepage-widgets-lab .hl-breadcrumbs a {display:inline-flex;align-items:center;min-height:44px;}
#homepage-widgets-lab .hl-search-filters:has(.hl-reset-filters) {grid-template-columns:repeat(3,minmax(0,1fr)) auto auto;}
#homepage-widgets-lab .hl-reset-filters {min-height:44px;white-space:nowrap;}
#homepage-widgets-lab .hl-result-actions {flex-wrap:wrap;gap:8px 16px;}
@media(min-width:1101px) {
  #homepage-widgets-lab:not([data-media="off"]) .hl-lot:not(.hl-no-photo) {grid-template-columns:300px minmax(0,1fr) 260px;}
}
@media(min-width:851px) and (max-width:1100px) {
  #homepage-widgets-lab:not([data-media="off"]) .hl-lot:not(.hl-no-photo) {grid-template-columns:240px minmax(0,1fr) 230px;}
}
@media(min-width:601px) and (max-width:850px) {
  #homepage-widgets-lab:not([data-media="off"]) .hl-lot:not(.hl-no-photo) {grid-template-columns:220px minmax(0,1fr);}
}
@media(max-width:850px) {
  #homepage-widgets-lab:not([data-detail="true"]):not([data-cabinet-catalog="true"]) .hl-shell {width:calc(100% - 40px);}
  #homepage-widgets-lab .hl-lot-price {padding-left:0;}
  #homepage-widgets-lab .hl-result-bar {flex-wrap:wrap;gap:4px 12px;}
  #homepage-widgets-lab .hl-search-filters:has(.hl-reset-filters) {grid-template-columns:repeat(3,minmax(0,1fr));}
  #homepage-widgets-lab .hl-search-filters:has(.hl-reset-filters) > [data-advanced] {justify-content:flex-start;}
}
@media(max-width:600px) {
  #homepage-widgets-lab:not([data-detail="true"]):not([data-cabinet-catalog="true"]) .hl-shell {width:calc(100% - 32px);}
  #homepage-widgets-lab:not([data-detail="true"]) .hl-widget {margin-block:16px;}
  #homepage-widgets-lab:not([data-detail="true"]) .hl-search {margin-block:12px;}
  #homepage-widgets-lab:not([data-detail="true"]) .hl-intro {margin-bottom:8px;}
  #homepage-widgets-lab .hl-lot {gap:12px;padding-block:12px;}
  #homepage-widgets-lab .hl-search-filters:has(.hl-reset-filters) {grid-template-columns:1fr 1fr;}
  #homepage-widgets-lab .hl-search-filters:has(.hl-reset-filters) > .hl-field:nth-child(3) {grid-column:1/-1;}
  #homepage-widgets-lab .hl-search-filters:has(.hl-reset-filters) > [data-advanced] {grid-column:auto;}
  #homepage-widgets-lab .hl-result-bar {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 8px;}
  #homepage-widgets-lab .hl-result-count {grid-column:1;grid-row:1;}
  #homepage-widgets-lab .hl-result-actions {display:contents;}
  #homepage-widgets-lab .hl-result-actions > .hl-field {grid-column:2;grid-row:1;justify-self:end;}
  #homepage-widgets-lab .hl-result-actions > .hl-reset-filters {grid-column:1;grid-row:2;}
  #homepage-widgets-lab .hl-result-actions > [data-save-search] {grid-column:2;grid-row:2;}
}

/* Existing dialog component, composed vertically for observation settings. */
#homepage-widgets-lab #hl-watch-dialog {width:min(440px,calc(100% - 32px));}
#homepage-widgets-lab #aitui-watch-form .hl-watch-options {display:grid;gap:12px;border:0;padding:0;margin:0 0 16px;min-width:0;}
#homepage-widgets-lab #aitui-watch-form legend {margin-bottom:12px;}
#homepage-widgets-lab #aitui-watch-form .hl-field {padding-left:28px;}
#homepage-widgets-lab #aitui-watch-form .hl-muted {margin:0;padding-left:28px;font-size:13px;}
#homepage-widgets-lab #aitui-watch-form .hl-actions {display:grid;gap:8px;}
