/* 2026-10-20 경매검색 높이 줄이기: 검색 조건은 라벨을 옆에 두는 4열 격자, 결과는 한 줄형 목록.
   기존 요소·이벤트는 그대로 두고 배치와 크기만 바꿉니다. 768px 이하는 기존 화면을 유지합니다. */
@media (min-width:769px){
html:root body.auction-reference.auction-unified-layout #main #as-form{display:flex!important;flex-wrap:wrap;align-items:center;gap:0 12px}
html:root body.auction-reference.auction-unified-layout #main #as-form>*{flex:0 0 100%}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px 14px!important;padding:14px 18px 10px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.as-search-row,
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.as-search-row.rn-range-row{display:contents!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search.rn-collapsed>.rn-range-row{display:none!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.rn-detail-head{display:none!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.ar-presets{order:9;grid-column:1/-1;margin:2px 0 0!important;padding:0!important;min-height:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.ar-presets button{height:26px!important;min-height:0!important;padding:0 10px!important;font-size:12px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>:is(label,.as-picker-cell){display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;padding:0!important;min-height:0!important;font-size:13px!important;font-weight:700!important;color:var(--rn-ink-2,#253b56)!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>.as-picker-cell>.as-picker-label{margin:0!important;font-size:13px!important;line-height:1.3!important;height:auto!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range{display:block!important;padding:0!important;min-height:0!important;margin:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>legend{float:left!important;width:62px!important;margin:0 6px 0 0!important;padding:0!important;font-size:13px!important;line-height:1.25!important;min-height:34px;display:flex!important;align-items:center;height:auto!important;white-space:normal!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>div{display:grid!important;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr)!important;gap:3px!important;margin:0!important;overflow:hidden}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row :is(input,select,.as-select-menu>summary){height:34px!important;min-height:34px!important;padding:0 8px!important;font-size:13px!important;line-height:32px!important;border-radius:6px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-case-input{display:grid!important;grid-template-columns:minmax(0,1.1fr) auto minmax(0,1fr);gap:4px;align-items:center;margin:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-case-input>span{font-size:12px}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-range>div>span{text-align:center;font-size:12px}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-special-panel{flex:1 1 auto;width:auto;margin:0!important;padding:6px 0 6px 18px!important;border:0!important;background:transparent!important;min-height:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-special-panel .as-special-toggle{padding:6px 0!important;font-size:13px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-actions{flex:0 0 auto;width:auto;margin:0!important;padding:6px 18px 8px!important;border:0!important;min-height:0!important;gap:12px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-actions button{height:36px!important;min-height:36px!important;padding:0 14px!important;font-size:13px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-actions .as-button{padding:0 22px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-actions label{font-size:12px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form #as-form-message:empty{display:none}

/* 결과 목록: 1건 약 80px */
html:root body.auction-unified-layout #main .as-results-head{padding-top:12px!important;padding-bottom:8px!important;min-height:0!important}
html:root body.auction-unified-layout #main table.as-auction-list tbody{gap:6px!important}
html:root body.auction-unified-layout #main table.as-auction-list tbody tr{grid-template-columns:104px minmax(0,1fr) auto auto auto auto!important;gap:14px!important;padding:8px 12px!important;border-radius:10px!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-photo-cell>a{width:104px!important;height:70px!important;border-radius:8px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-dday{top:4px!important;left:4px!important;font-size:11px!important;padding:1px 5px!important;border-radius:5px!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-row-check{left:14px!important;bottom:12px!important;width:22px!important;height:22px!important;border-radius:6px!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-row-check input{width:14px!important;height:14px!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-info-cell{gap:3px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-tags{gap:4px!important;flex-wrap:nowrap!important;overflow:hidden}
html:root body.auction-unified-layout #main table.as-auction-list .as-tags>*{font-size:11px!important;padding:1px 6px!important;border-radius:4px!important;white-space:nowrap}
html:root body.auction-unified-layout #main table.as-auction-list .as-address{font-size:15px!important;line-height:1.4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-meta{font-size:12px!important;line-height:1.4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root body.auction-unified-layout #main table.as-auction-list .as-meta .as-case{font-size:12px!important}
html:root body.auction-unified-layout #main table.as-auction-list :is(.as-related-cases,.as-special-tags){font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-money{min-width:132px!important;padding-left:14px!important;gap:0!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-money small{display:none!important}
html:root body.auction-unified-layout #main table.as-auction-list :is(.as-appraisal,.as-minimum){font-size:15px!important;line-height:1.35!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-appraisal-line{font-size:12px!important;line-height:1.35!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-appraisal-line .as-appraisal{display:inline!important;font-size:12px!important;text-decoration:line-through;font-weight:500!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-list-trade{margin-top:2px!important;padding:1px 6px!important;font-size:11px!important;line-height:1.4!important;min-height:0!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-list-trade *{font-size:11px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-ratio-box{min-width:58px!important;padding:5px 6px!important;min-height:0!important;border-radius:8px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-ratio-box .as-price-ratio{font-size:15px!important;line-height:1.25!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-ratio-box small{font-size:10px!important;line-height:1.2!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-date-cell{min-width:82px!important;gap:0!important;line-height:1.35!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-date-cell small{display:none!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-sale-date{font-size:14px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-countdown{font-size:11px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-row-actions button{min-height:30px!important;min-width:30px!important;padding:0 4px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>legend .ar-icon{display:none!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>div>.ap-range-cell{display:flex!important;width:auto!important;min-width:0!important;gap:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>div>span:not(.ap-range-cell){display:block!important;width:10px!important;padding:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>div select{padding:0 4px!important;font-size:12px!important}
html:root body.auction-unified-layout #main table.as-auction-list td.as-photo-cell{height:auto!important;min-height:0!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-row-actions{gap:2px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-row-actions button{height:30px!important;min-height:30px!important}
html:root body.auction-unified-layout #main table.as-auction-list .as-row-actions [data-favorite-menu]{height:20px!important;min-height:20px!important}

/* 기일별(캘린더) 화면: 왼쪽 사이드바 없이 넓게, 목록은 검색과 같은 한 줄형 */
html:root body.auction-reference.auction-unified-layout.ap-calendar-view main#main.as-main{grid-template-columns:minmax(0,1fr)!important}
html:root body.auction-reference.auction-unified-layout.ap-calendar-view main#main.as-main>aside.ap-auction-navigation{display:none!important}
html:root body.auction-reference.auction-unified-layout.ap-calendar-view main#main.as-main>*{grid-column:1/-1!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout.ap-calendar-view #main .ap-day-list table.as-auction-list tbody tr{grid-template-columns:104px minmax(0,1fr) auto auto auto auto!important;grid-template-rows:auto!important;gap:14px!important;padding:8px 12px!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout.ap-calendar-view #main .ap-day-list table.as-auction-list :is(td.as-photo-cell,td.as-info-cell,td.as-money,td.as-ratio-cell,td.as-date-cell,td.as-fav-cell){grid-row:auto!important;grid-column:auto!important;position:static!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout.ap-calendar-view #main .ap-day-list table.as-auction-list td.as-info-cell{display:flex!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout.ap-calendar-view #main .ap-day-list table.as-auction-list td.as-photo-cell{width:104px!important;max-width:104px!important;height:auto!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout.ap-calendar-view #main .ap-day-list table.as-auction-list td.as-photo-cell :is(a,.as-photo,img){width:104px!important;max-width:104px!important;height:70px!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout #main table.as-auction-list td.as-photo-cell :is(a,.as-photo,img){width:104px!important;max-width:104px!important;height:70px!important;min-height:0!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout #main table.as-auction-list td.as-photo-cell{height:auto!important}
html:root body.auction-reference.auction-reference-search.auction-unified-layout #main table.as-auction-list td.as-row-check{left:6px!important;bottom:auto!important;top:50%!important;transform:translateY(8px)}
/* 라벨 한 줄: 범위 칸 라벨은 짧은 이름으로(단위는 선택값에 표시), 라벨 칸 폭 통일 */
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>:is(label,.as-picker-cell){grid-template-columns:72px minmax(0,1fr)!important;white-space:nowrap!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>.as-picker-cell>.as-picker-label{white-space:nowrap!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>legend{width:72px!important;font-size:0!important;white-space:nowrap!important;min-height:34px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>legend::after{font-size:13px;font-weight:700;color:var(--rn-ink-2,#253b56)}
html:root body.auction-reference.auction-unified-layout #main #as-form fieldset.as-range:has([name=appraisalMin])>legend::after{content:'감정가'}
html:root body.auction-reference.auction-unified-layout #main #as-form fieldset.as-range:has([name=minimumMin])>legend::after{content:'최저가'}
html:root body.auction-reference.auction-unified-layout #main #as-form fieldset.as-range:has([name=failedMin])>legend::after{content:'유찰횟수'}
html:root body.auction-reference.auction-unified-layout #main #as-form fieldset.as-range:has([name=saleFrom])>legend::after{content:'매각기일'}
html:root body.auction-reference.auction-unified-layout #main #as-form fieldset.as-range:has([name=landAreaMin])>legend::after{content:'토지면적㎡'}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-case-input{grid-template-columns:92px auto minmax(0,1fr)!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-case-input select{padding:0 2px 0 6px!important;font-size:12px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>div :is(input[type=date],input[type=number]){padding:0 4px!important;font-size:12px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search{align-items:center!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range{position:relative!important;padding:0 0 0 78px!important;min-height:34px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>legend{position:absolute!important;left:0!important;top:0!important;float:none!important;height:34px!important;margin:0!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-case-input{grid-template-columns:76px auto minmax(0,1fr)!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row .as-case-input input{padding:0 6px!important;font-size:12px!important}
/* 12칸 격자: 1줄 4칸(법원·사건번호·물건종류·진행단계), 지역 3칸, 금액 3칸, 기일·면적 2칸 */
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search{grid-template-columns:repeat(12,minmax(0,1fr))!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.as-search-row>*{grid-column:span 4!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.as-search-row.as-search-row-four>*{grid-column:span 3!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search>.as-search-row>fieldset.as-range:is(:has([name=saleFrom]),:has([name=landAreaMin])){grid-column:span 6!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range{padding-left:74px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>legend{width:70px!important}
/* 검색·기일별 목록의 선택 체크박스는 쓰는 기능이 없어 숨김(관심물건 탭의 일괄 관리 체크박스는 유지) */
html:root body.auction-unified-layout #main :is(#as-results,.ap-day-list) table.as-auction-list td.as-row-check{display:none!important}
/* 선택칸 글자가 화살표와 겹치지 않게 말줄임(…), 범위 칸 높이 맞춤 (2026-10-20) */
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row select{padding-right:24px!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;background-position:right 6px center!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>fieldset.as-range>div select{padding-right:20px!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .ap-amount-hint{display:none!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-four-search{align-items:center!important}
html:root body.auction-reference.auction-unified-layout #main #as-form .as-search-row>*{align-self:center!important;margin-top:0!important;margin-bottom:0!important}
}