/* New presentation only; original inputs, saved data and registry flow remain intact. */
#registerView.hana-guided{--guided-ink:#24292f;--guided-border:#dfe3e9;--guided-accent:#ff6f0f;color:var(--guided-ink);padding-bottom:110px!important;}
#registerView.hana-guided #listingForm{max-width:940px!important;margin:0 auto!important;padding-bottom:26px!important;}
#registerView.hana-guided>.intro,#registerView.hana-guided>.entry-sections,#registerView.hana-guided>.entry-top-save-actions,#registerView.hana-guided>.entry-required-note{max-width:940px!important;margin-left:auto!important;margin-right:auto!important;}
#registerView.hana-guided #listingForm>.panel{background:#fff!important;border:0!important;border-radius:18px!important;box-shadow:none!important;padding:30px 32px!important;margin-bottom:22px!important;box-sizing:border-box!important;}
#registerView.hana-guided #listingForm>.panel>h2{font-size:21px!important;font-weight:750!important;line-height:1.45!important;color:#24292f!important;margin:0 0 26px!important;}
#registerView.hana-guided #listingForm #registration-location>h2{padding-right:190px!important;}
#registerView.hana-guided .registration-kind-hint{display:none!important;}
#registerView.hana-guided .guided-main-fields{display:flex!important;flex-direction:column!important;gap:24px!important;width:100%!important;min-width:0!important;margin:0 0 20px!important;}
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm .guided-main-fields>label.guided-field{display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;gap:6px 18px!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;}
#registerView.hana-guided #listingForm .guided-field>.field-heading{font-size:13px!important;font-weight:650!important;line-height:1.55!important;color:#303640!important;grid-column:1!important;grid-row:1!important;margin:0!important;white-space:normal!important;}
#registerView.hana-guided #listingForm .guided-main-fields>label.guided-field>input,#registerView.hana-guided #listingForm .guided-main-fields>label.guided-field>select,#registerView.hana-guided #listingForm .guided-main-fields>label.guided-field>.area-pair,#registerView.hana-guided #listingForm .guided-main-fields>label.guided-field>.choice-segment,#registerView.hana-guided #listingForm .guided-main-fields>label.guided-field>.guided-radio-options{grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;}
#registerView.hana-guided #listingForm input:not([type=checkbox]):not([type=radio]):not([type=file]),#registerView.hana-guided #listingForm select{min-height:42px!important;border-radius:8px!important;border-color:var(--guided-border)!important;font-size:13px!important;padding:9px 12px!important;box-shadow:none!important;box-sizing:border-box!important;}
#registerView.hana-guided #listingForm input:focus,#registerView.hana-guided #listingForm select:focus,#registerView.hana-guided #listingForm textarea:focus{outline:2px solid #ffb584!important;outline-offset:1px!important;}
#registerView.hana-guided #listingForm input::placeholder,#registerView.hana-guided #listingForm textarea::placeholder{color:#a3a9b3!important;}
#registerView.hana-guided #listingForm .guided-field>.fixed-choice-note,#registerView.hana-guided #listingForm .guided-field-note{grid-column:2!important;font-size:11px!important;font-weight:400!important;color:#858c97!important;margin:0!important;line-height:1.5!important;}
#registerView.hana-guided #listingForm .area-pair{display:grid!important;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 20px!important;gap:7px!important;align-items:center!important;}
#registerView.hana-guided #listingForm .area-pair>input{width:100%!important;min-width:0!important;}
#registerView.hana-guided #listingForm .area-pair>span{font-size:12px!important;color:#858c97!important;}
#registerView.hana-guided .guided-address-row{display:grid!important;grid-template-columns:116px minmax(0,1fr) 80px!important;align-items:center!important;gap:18px!important;}
#registerView.hana-guided .guided-address-row>strong{font-size:13px;font-weight:650;}
#registerView.hana-guided .guided-required{color:#ff553b;}
#registerView.hana-guided .guided-address-summary{min-height:68px!important;display:flex!important;flex-direction:column!important;gap:4px!important;text-align:left!important;padding:14px 16px!important;border:0!important;border-radius:8px!important;background:#f3f4f6!important;color:#2c3440!important;font-size:13px!important;line-height:1.6!important;white-space:normal!important;cursor:pointer!important;}
#registerView.hana-guided .guided-address-summary.is-empty{color:#828a97!important;border:1px dashed #d2d7de!important;background:#fafbfc!important;}
#registerView.hana-guided .guided-address-summary small{color:#677280;font-size:11px;line-height:1.6;}
#registerView.hana-guided .guided-address-edit{border:0!important;background:transparent!important;padding:8px 0!important;color:#333b46!important;font-size:13px!important;white-space:nowrap!important;cursor:pointer!important;}
#registerView.hana-guided .guided-autofill-status{margin:-12px 0 -5px 134px!important;color:#368168!important;font-size:11px!important;}
#registerView.hana-guided .guided-address-details{padding:12px 0 0!important;border-top:1px solid #f0f1f3!important;font-size:12px!important;}
#registerView.hana-guided .guided-address-details>summary{color:#737d8b!important;cursor:pointer;padding:3px 0!important;}
#registerView.hana-guided .guided-detail-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding-top:16px!important;}
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm .guided-detail-fields>label{display:block!important;width:100%!important;max-width:none!important;grid-column:auto!important;grid-row:auto!important;min-width:0!important;}
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm .guided-detail-fields>label:has([name=address]){grid-column:1/-1!important;}
#registerView.hana-guided .guided-detail-fields input,#registerView.hana-guided .guided-detail-fields select{width:100%!important;margin-top:5px!important;}
#registerView.hana-guided .guided-detail-fields #addressSearchButton{margin:7px 0 0!important;}
#registerView.hana-guided .guided-detail-fields .field-heading{display:block!important;}
#registerView.hana-guided .guided-pair-row{display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;}
#registerView.hana-guided .guided-pair-row>strong{font-size:13px;font-weight:650;padding-top:24px;}
#registerView.hana-guided .guided-pair-inputs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
#registerView.hana-guided .guided-pair-inputs>label{display:flex!important;flex-direction:column!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;}
#registerView.hana-guided .guided-pair-inputs>label>.field-heading{font-size:11px!important;color:#7d8793!important;font-weight:400!important;}
#registerView.hana-guided .guided-pair-inputs>label>input,#registerView.hana-guided .guided-pair-inputs>label>select{width:100%!important;}
#registerView.hana-guided .guided-radio-source{display:none!important;}
#registerView.hana-guided .guided-radio-options{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 22px!important;min-height:42px!important;}
#registerView.hana-guided .guided-radio-options button{display:inline-flex!important;gap:8px!important;align-items:center!important;border:0!important;background:transparent!important;padding:6px 0!important;font-size:13px!important;color:#414b58!important;cursor:pointer!important;}
#registerView.hana-guided .guided-radio-options button:before{content:'';display:block;width:18px;height:18px;box-sizing:border-box;border:1px solid #d5d9df;border-radius:50%;background:#fff;}
#registerView.hana-guided .guided-radio-options button[aria-checked=true]:before{border:5px solid var(--guided-accent);}
#registerView.hana-guided #listingForm .choice-segment{border-radius:20px!important;padding:4px!important;gap:4px!important;background:#f2f3f5!important;}
#registerView.hana-guided #listingForm .choice-segment>button{flex:1 1 0!important;border:0!important;background:transparent!important;border-radius:17px!important;min-height:34px!important;color:#838995!important;font-size:13px!important;padding:6px 10px!important;}
#registerView.hana-guided #listingForm .choice-segment>button[aria-checked=true]{background:#fff!important;color:#222a34!important;box-shadow:0 1px 4px #0000000b!important;font-weight:700!important;}
#registerView.hana-guided .guided-card-hint{margin:-16px 0 24px!important;color:#7c8794!important;font-size:12px!important;}
#registerView.hana-guided .guided-exposure{padding-left:134px!important;display:flex;gap:10px;flex-wrap:wrap;font-size:12px!important;}
#registerView.hana-guided .guided-exposure>strong{width:100%;font-weight:500;color:#737e8b;}
#registerView.hana-guided #listingForm .entry-required-mark{font-size:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 3px!important;}
#registerView.hana-guided #listingForm .entry-required-mark:after{content:'*';font-size:12px;color:#f66347;}
#registerView.hana-guided #listingForm .hanbang-required-badge{font-size:9px!important;padding:1px 4px!important;opacity:.8;}
#registerView.hana-guided #listingForm .guided-main-fields [hidden],#registerView.hana-guided #listingForm .guided-detail-fields [hidden],#registerView.hana-guided .guided-autofill-status[hidden],#registerView.hana-guided .guided-pair-row[hidden]{display:none!important;}
#registerView.hana-guided #listingForm .building-field-pair:empty,#registerView.hana-guided #listingForm .location-field-pair:empty{display:none!important;}
#registerView.hana-guided #listingForm #registration-price>.fields{display:flex!important;gap:16px!important;flex-wrap:wrap!important;}
#registerView.hana-guided #listingForm #registration-price>.fields>.loan-field-pair{display:flex!important;gap:14px!important;flex:1 1 100%!important;}
#registerView.hana-guided #listingForm #registration-price>.fields>.loan-field-pair>label{flex:1!important;min-width:0!important;grid-column:auto!important;grid-row:auto!important;}
#registerView.hana-guided #listingForm .facility-primary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;}
#registerView.hana-guided #listingForm fieldset.compact-options{padding:15px 0!important;border:0!important;margin:5px 0!important;display:flex!important;flex-wrap:wrap!important;gap:14px 20px!important;}
#registerView.hana-guided #listingForm fieldset.compact-options>legend{padding:0!important;font-size:13px!important;font-weight:600!important;margin-bottom:12px!important;}
#registerView.hana-guided #listingForm fieldset.compact-options>label{font-size:12px!important;min-width:110px!important;display:inline-flex!important;gap:8px!important;align-items:center!important;}
#registerView.hana-guided #listingForm input[type=checkbox],#registerView.hana-guided #listingForm input[type=radio]{accent-color:var(--guided-accent);width:17px!important;height:17px!important;}
#registerView.hana-guided #listingForm .guided-savebar{position:fixed!important;left:var(--guided-bar-left,0)!important;right:auto!important;bottom:0!important;top:auto!important;width:var(--guided-bar-width,100%)!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #eff0f2!important;border-bottom:0!important;border-radius:14px 14px 0 0!important;box-shadow:0 -4px 18px #1c253209!important;padding:14px 20px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;z-index:80!important;margin:0!important;}
#registerView.hana-guided .guided-save-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
#registerView.hana-guided .guided-save-info #autoDraftStatus{font-size:11px!important;color:#718172!important;}
#registerView.hana-guided .guided-save-info #status{font-size:11px!important;color:#83909d!important;display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#registerView.hana-guided .guided-save-actions{display:flex;gap:8px;align-items:center;flex-shrink:0;}
#registerView.hana-guided .guided-save-actions>#saveListingButton{background:var(--guided-accent)!important;color:#fff!important;border:0!important;border-radius:9px!important;min-height:42px!important;padding:10px 20px!important;font-size:13px!important;font-weight:700!important;}
#registerView.hana-guided .guided-save-actions>#saveListingDraft{background:#f2f3f5!important;color:#343d49!important;border:0!important;border-radius:9px!important;min-height:42px!important;padding:10px 16px!important;font-size:13px!important;font-weight:650!important;}
#registerView.hana-guided .guided-save-more{position:relative;font-size:11px;}
#registerView.hana-guided .guided-save-more>summary{padding:10px 7px;cursor:pointer;color:#7a8491;list-style:none;}
#registerView.hana-guided .guided-more-menu{position:absolute;bottom:42px;right:0;background:white;box-shadow:0 5px 25px #15263724;border:1px solid #e2e5eb;border-radius:10px;padding:8px;width:max-content;max-width:260px;display:flex;flex-direction:column;gap:6px;}
#registerView.hana-guided .guided-more-menu>button{border:0!important;background:#f6f7f9!important;padding:10px 14px!important;font-size:12px!important;color:#405063!important;}
#registerView.hana-guided .entry-sections{border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 7px #23344907!important;}
#registerView.hana-guided .entry-sections a.section-active{color:#f36e22!important;border-color:#f36e22!important;}
#registerView.hana-guided .entry-top-save-actions button{background:white!important;border:1px solid #eff0f2!important;border-radius:8px!important;padding:10px 13px!important;color:#374558!important;font-size:12px!important;}
#guidedAddressDialog{padding:28px!important;border:0!important;border-radius:22px!important;background:#fff!important;color:#24292f!important;width:min(560px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 48px)!important;box-sizing:border-box!important;overflow:auto!important;box-shadow:0 20px 60px #0002!important;}
#guidedAddressDialog[open]{animation:guidedEnter .16s ease-out;}
#guidedAddressDialog::backdrop{background:rgb(20 24 30 / .43);}
#guidedAddressDialog [hidden]{display:none!important;}
#guidedAddressDialog .guided-dialog-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;}
#guidedAddressDialog .guided-dialog-head h2{font-size:20px;font-weight:750;margin:0;}
#guidedAddressDialog .guided-dialog-head button{font-size:27px;background:transparent;border:0;cursor:pointer;line-height:1;padding:1px 5px;color:#4e5968;}
#guidedAddressDialog input:not([type=checkbox]){font:inherit;font-size:14px;width:100%;min-width:0;min-height:46px;box-sizing:border-box;border:1px solid #dce0e5;border-radius:9px;padding:11px 13px;box-shadow:none;background:#fff;color:#303945;}
#guidedAddressDialog input::placeholder{color:#a0a6af;}
#guidedAddressDialog input:focus{outline:2px solid #ffd0aa;outline-offset:0;}
#guidedAddressDialog .guided-search-box{display:flex;gap:0;align-items:center;position:relative;}
#guidedAddressDialog .guided-search-box input{padding-right:62px;}
#guidedAddressDialog .guided-search-box>button{position:absolute;right:9px;border:0;background:transparent;color:#4e5967;cursor:pointer;font-size:13px;padding:6px;}
#guidedAddressDialog #guidedRecentAddresses{margin:16px 0 12px;}
#guidedAddressDialog #guidedRecentAddresses>strong{font-size:12px;color:#8a929c;font-weight:500;}
#guidedAddressDialog .guided-recent-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px;}
#guidedAddressDialog .guided-recent-chips>button{max-width:100%;border:1px solid #e7e9ee;border-radius:20px;padding:7px 12px;background:white;color:#626c79;font-size:12px;cursor:pointer;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
#guidedAddressDialog #guidedAddressResults{max-height:380px;overflow:auto;}
#guidedAddressDialog .guided-address-result{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:0;border-bottom:1px solid #eff0f2;padding:15px 10px;background:white;text-align:left;cursor:pointer;color:#2d3743;}
#guidedAddressDialog .guided-address-result:hover,#guidedAddressDialog .guided-unit-result:hover{background:#fff5ee;}
#guidedAddressDialog .guided-address-result>strong{font-size:14px;}
#guidedAddressDialog .guided-address-result>span,#guidedAddressDialog .guided-address-result>small{font-size:12px;color:#8c949f;}
#guidedAddressDialog .guided-search-help{font-size:13px;color:#667280;line-height:1.9;padding:20px 2px 5px;}
#guidedAddressDialog .guided-search-help span{font-size:12px;color:#969fa9;}
#guidedAddressDialog .guided-selected-address{padding-bottom:21px;border-bottom:1px solid #f0f1f4;margin-bottom:20px;font-size:14px;line-height:1.8;}
#guidedAddressDialog .guided-row-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
#guidedAddressDialog .guided-row-title>strong{font-size:15px;}
#guidedAddressDialog .guided-row-title>button{border:0;background:none;padding:4px;color:#384653;font-size:12px;cursor:pointer;}
#guidedAddressDialog #guidedSelectedLot{font-size:12px;color:#89929f;}
#guidedAddressDialog .guided-unit-heading{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;}
#guidedAddressDialog .guided-unit-heading strong{font-size:15px;}
#guidedAddressDialog .guided-unit-heading small{font-size:12px;color:#909aa5;}
#guidedAddressDialog #guidedUnitResults{border:1px solid #eceef1;border-radius:9px;margin-top:8px;max-height:230px;overflow:auto;}
#guidedAddressDialog .guided-unit-result{display:block;width:100%;border:0;background:white;padding:12px 14px;text-align:left;font-size:13px;color:#657080;cursor:pointer;}
#guidedAddressDialog .guided-unit-result:focus{outline:2px solid #ffa976;outline-offset:-2px;}
#guidedAddressDialog .guided-no-result{font-size:12px;color:#8c959f;padding:12px;}
#guidedAddressDialog #guidedManualDetails{margin:16px 0;font-size:12px;color:#7c8691;}
#guidedAddressDialog #guidedManualDetails>summary{cursor:pointer;}
#guidedAddressDialog .guided-manual-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px;}
#guidedAddressDialog .guided-manual-fields>label{display:flex;flex-direction:column;gap:6px;}
#guidedAddressDialog .guided-check{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0;}
#guidedAddressDialog input[type=checkbox]{accent-color:#ff6f0f;width:16px;height:16px;}
#guidedAddressDialog #guidedLookupPreview{background:#f7f8fa;border-radius:10px;padding:15px 16px;margin:14px 0;font-size:12px;}
#guidedAddressDialog #guidedLookupPreview>strong{font-size:13px;}
#guidedAddressDialog #guidedLookupPreview dl{display:grid;grid-template-columns:90px 1fr;gap:10px 8px;margin:14px 0;}
#guidedAddressDialog #guidedLookupPreview dt{color:#9098a3;}
#guidedAddressDialog #guidedLookupPreview dd{margin:0;color:#374553;}
#guidedAddressDialog #guidedLookupPreview small{font-size:11px;color:#959ca5;line-height:1.5;}
#guidedAddressDialog #guidedRegistryLinks{background:#fff8ef;border:1px solid #ffdbb5;border-radius:10px;padding:14px;font-size:12px;margin:12px 0;}
#guidedAddressDialog #guidedRegistryLinks>p{line-height:1.65;color:#8b713e;}
#guidedAddressDialog #guidedRegistryLinks .guided-address-result{border-radius:8px;margin-top:10px;}
#guidedAddressDialog #guidedAddressMessage{font-size:12px;line-height:1.65;color:#738171;margin:16px 0 0;min-height:18px;}
#guidedAddressDialog #guidedAddressMessage[data-error=true]{color:#b04e34;}
#guidedAddressDialog .guided-dialog-actions{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:-28px;background:#fff;padding:17px 0 0;margin-top:8px;}
#guidedAddressDialog .guided-dialog-actions>button{border:0;border-radius:9px;font-size:14px;font-weight:650;min-height:44px;padding:12px 22px;background:#f2f3f5;color:#657180;cursor:pointer;}
#guidedAddressDialog .guided-dialog-actions>.guided-primary{background:#ff6f0f;color:white;flex:1;}
#guidedAddressDialog button:disabled{opacity:.45;cursor:default;}
#guidedAddressDialog .guided-postcode{height:360px;}
@keyframes guidedEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#guidedAddressDialog[open]{animation:none;}#registerView.hana-guided *{scroll-behavior:auto!important;}}
@media(max-width:650px){
 #registerView.hana-guided #listingForm>.panel{padding:23px 18px!important;border-radius:14px!important;}
 body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm .guided-main-fields>label.guided-field{grid-template-columns:82px minmax(0,1fr)!important;column-gap:12px!important;}
 #registerView.hana-guided .guided-address-row{grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;}
 #registerView.hana-guided .guided-address-edit{grid-column:2;justify-self:end;margin-top:-10px!important;}
 #registerView.hana-guided .guided-address-summary{padding:12px!important;font-size:12px!important;}
 #registerView.hana-guided .guided-autofill-status{margin-left:94px!important;}
 #registerView.hana-guided .guided-pair-row{grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;}
 #registerView.hana-guided .guided-pair-inputs{gap:9px!important;}
 #registerView.hana-guided #listingForm .area-pair{grid-template-columns:minmax(0,1fr) 21px!important;}
 #registerView.hana-guided .guided-exposure{padding-left:94px!important;}
 #registerView.hana-guided #listingForm .guided-savebar{padding:10px 12px!important;gap:8px!important;}
 #registerView.hana-guided .guided-save-info #status{display:none!important;}
 #registerView.hana-guided .guided-save-actions>#saveListingButton,#registerView.hana-guided .guided-save-actions>#saveListingDraft{padding:9px 12px!important;font-size:12px!important;}
 #registerView.hana-guided .guided-save-more>summary{font-size:10px;padding:8px 2px;}
 #guidedAddressDialog{padding:22px!important;border-radius:18px!important;max-height:calc(100dvh - 24px)!important;}
}
/* Override legacy fixed-width source controls without changing their bindings. */
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided{grid-template-columns:minmax(0,1fr) 230px!important;}
#registerView.hana-guided #listingForm .guided-save-info #status,#registerView.hana-guided #listingForm .guided-save-info #autoDraftStatus{flex:none!important;min-height:0!important;height:auto!important;width:auto!important;}
#registerView.hana-guided #listingForm .segment-source{position:absolute!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)!important;pointer-events:none!important;}

#registerView #archiveEditingListingButton {
  min-height:38px;
  padding:8px 13px;
  border:1px solid #e1c7c7;
  border-radius:7px;
  background:#fff;
  color:#a13b3b;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
#registerView #archiveEditingListingButton:not(:disabled):hover { background:#fff3f3; }
#registerView.hana-guided #listingForm .guided-save-actions>#archiveEditingListingButton {
  min-height:42px!important;
  margin-left:6px!important;
  padding:9px 14px!important;
  border:1px solid #e1c7c7!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#a13b3b!important;
  font-size:12px!important;
}
#registerView.hana-guided #listingForm .guided-save-more:not([open])>.guided-more-menu{display:none!important;}
#registerView.hana-guided #listingForm .guided-save-actions>#saveListingButton{width:auto!important;min-width:105px!important;}
#registerView.hana-guided #listingForm>.panel:has(>.guided-main-fields)>.fields:empty{display:none!important;}
@media(max-width:1100px){body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided{display:block!important;}#registerView.hana-guided #listingForm{width:100%!important;}#registerView.hana-guided .guided-savebar{max-width:100%!important;}}
#registerView.hana-guided #listingForm input:not([type=checkbox]):not([type=radio]):not([type=file]),#registerView.hana-guided #listingForm select{border:1px solid var(--guided-border)!important;}
#registerView.hana-guided .guided-main-fields>.guided-exposure{padding-left:134px!important;margin:0!important;min-height:0!important;gap:7px 12px!important;align-items:center!important;}
#registerView.hana-guided .guided-main-fields>.guided-exposure>label{width:auto!important;max-width:none!important;display:inline-flex!important;gap:6px!important;}
#registerView.hana-guided .guided-main-fields>.guided-exposure>strong{font-size:11px!important;}
#registerView.hana-guided #listingForm>.panel .fields:has(>.location-field-pair:empty):not(:has(>label:not([hidden]))):not(:has(>.floor-exposure-choice)){min-height:0!important;}
@media(max-width:650px){#registerView.hana-guided .guided-main-fields>.guided-exposure{padding-left:94px!important;}}

/* Relocation only: retain input DOM identity, names and existing handlers. */
#registerView.hana-guided .guided-detail-fields>label.guided-land-share{grid-column:1/-1!important;width:100%!important;min-width:0!important;}
#registerView.hana-guided .guided-direction-row>.guided-pair-inputs{grid-template-columns:1fr 1fr 1.15fr!important;gap:10px!important;}
#registerView.hana-guided .guided-direction-row>.guided-pair-inputs>label{min-width:0!important;}
#registerView.hana-guided .guided-direction-row>.guided-pair-inputs>label input,
#registerView.hana-guided .guided-direction-row>.guided-pair-inputs>label select{max-width:100%!important;min-width:0!important;}
#registerView.hana-guided .guided-parking-row>.guided-pair-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
#registerView.hana-guided .guided-direction-row[hidden],#registerView.hana-guided .guided-parking-row[hidden]{display:none!important;}
@media(max-width:800px){
 #registerView.hana-guided .guided-direction-row>.guided-pair-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
 #registerView.hana-guided .guided-direction-row>.guided-pair-inputs>label:has([name=illegalBuilding]){grid-column:1/-1!important;}
}
@media(max-width:520px){
 #registerView.hana-guided .guided-parking-row>.guided-pair-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
}

/* Explicit grid for the two relocated groups: avoid legacy .panel rules overriding display. */
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm #registration-building .guided-direction-row,
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm #registration-building .guided-parking-row,
#registerView.hana-guided #registration-building .guided-direction-row,
#registerView.hana-guided #registration-building .guided-parking-row{display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm #registration-building .guided-direction-row>.guided-pair-inputs,
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm #registration-building .guided-parking-row>.guided-pair-inputs,
#registerView.hana-guided #registration-building .guided-direction-row>.guided-pair-inputs,
#registerView.hana-guided #registration-building .guided-parking-row>.guided-pair-inputs{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important;align-items:start!important;}
#registerView.hana-guided #registration-building .guided-direction-row>.guided-pair-inputs{grid-template-columns:1fr 1fr 1.15fr!important;}
#registerView.hana-guided #registration-building .guided-parking-row>.guided-pair-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
#registerView.hana-guided #registration-building .guided-direction-row>.guided-pair-inputs>label,
#registerView.hana-guided #registration-building .guided-parking-row>.guided-pair-inputs>label{display:flex!important;flex-direction:column!important;min-width:0!important;max-width:none!important;width:100%!important;box-sizing:border-box!important;}
@media(max-width:800px){
 #registerView.hana-guided #registration-building .guided-direction-row,
 #registerView.hana-guided #registration-building .guided-parking-row{grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;}
 #registerView.hana-guided #registration-building .guided-direction-row>.guided-pair-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #registerView.hana-guided #registration-building .guided-direction-row>.guided-pair-inputs>label:has([name=illegalBuilding]){grid-column:1/-1!important;}
}


/* 2026-10-09: presentation-only. Preserve existing form control bindings. */
#registerView.hana-guided .entry-top-save-actions{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;margin-top:10px!important;margin-bottom:12px!important;}
#registerView.hana-guided .entry-top-save-actions #saveListingDraft.guided-top-draft{margin-left:auto!important;background:#fff6ed!important;border:1px solid #ffad75!important;color:#b54b05!important;min-height:40px!important;font-weight:700!important;}
#registerView.hana-guided #listingForm .guided-main-fields>label.guided-field>.guided-approval-date-control{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;display:flex!important;align-items:center!important;gap:8px!important;position:relative!important;}
#registerView.hana-guided .guided-approval-date-control>input[name=approvalDate]{width:100%!important;min-width:0!important;flex:1!important;}
#registerView.hana-guided .guided-approval-date-trigger{width:42px!important;height:42px!important;flex:none!important;background:#f8f9fb!important;border:1px solid #dfe3e9!important;border-radius:8px!important;cursor:pointer!important;font-size:17px!important;}
#registerView.hana-guided .guided-approval-date-trigger:hover{border-color:#ff9f65!important;background:#fff9f4!important;}
#registerView.hana-guided #guidedApprovalDatePicker{position:absolute!important;right:0!important;bottom:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm label:has(>select[name=buildingPurpose]):not([hidden]),
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm label:has(>input[name=premiumPrice]):not([hidden]){display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;gap:6px 18px!important;align-items:center!important;box-sizing:border-box!important;flex:1 1 100%!important;grid-column:1/-1!important;width:100%!important;max-width:none!important;min-width:0!important;margin:4px 0!important;}
#registerView.hana-guided #listingForm label:has(>select[name=buildingPurpose]):not([hidden])>select,
#registerView.hana-guided #listingForm label:has(>input[name=premiumPrice]):not([hidden])>input{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;grid-column:2!important;}
#registerView.hana-guided #listingForm label:has(>select[name=buildingPurpose]):not([hidden])>.field-heading,
#registerView.hana-guided #listingForm label:has(>input[name=premiumPrice]):not([hidden])>.field-heading{grid-column:1!important;white-space:normal!important;word-break:keep-all!important;}
#registerView.hana-guided #listingForm .facility-options-layout:has(>fieldset[hidden]){grid-template-columns:minmax(0,1fr)!important;}
#registerView.hana-guided #listingForm .facility-options-layout>fieldset[hidden]{display:none!important;}
@media(max-width:650px){
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm label:has(>select[name=buildingPurpose]):not([hidden]),
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm label:has(>input[name=premiumPrice]):not([hidden]){grid-template-columns:82px minmax(0,1fr)!important;gap:7px!important;}
}

/* 2026-10-09 final price/select layout safeguards. */
#registerView.hana-guided #listingForm #registration-price>.guided-main-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important;align-items:start!important;}
#registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field{grid-column:1/-1!important;min-width:0!important;max-width:none!important;width:100%!important;}
#registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field.rent-only:not([hidden]){grid-column:auto!important;grid-template-columns:80px minmax(0,1fr)!important;gap:7px!important;}
#registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field[hidden]{display:none!important;}
body.clean-registration.has-sidebar #registerView.content-fixed.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field[hidden]{display:none!important;}
#registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field.rent-only>small{grid-column:2!important;}
#registerView.hana-guided #listingForm #registration-price .fields>label:has(>input[name=premiumPrice]):not([hidden]),
#registerView.hana-guided #listingForm label:has(>select[name=buildingPurpose]):not([hidden]){display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;grid-column:1/-1!important;flex:1 1 100%!important;gap:10px 16px!important;min-width:0!important;max-width:none!important;width:100%!important;align-items:center!important;box-sizing:border-box!important;}
#registerView.hana-guided #listingForm #registration-price .fields>label:has(>input[name=premiumPrice]):not([hidden])>input,
#registerView.hana-guided #listingForm label:has(>select[name=buildingPurpose]):not([hidden])>select{grid-column:2!important;max-width:none!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;}
@media(max-width:650px){
 #registerView.hana-guided #listingForm #registration-price>.guided-main-fields{gap:10px 12px!important;}
 #registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field.rent-only:not([hidden]){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;}
 #registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field.rent-only:not([hidden])>.field-heading{grid-column:1!important;grid-row:1!important;}
 #registerView.hana-guided #listingForm #registration-price>.guided-main-fields>label.guided-field.rent-only:not([hidden])>input{grid-column:1!important;grid-row:2!important;}
 #registerView.hana-guided #listingForm #registration-price .fields>label:has(>input[name=premiumPrice]):not([hidden]){grid-template-columns:82px minmax(0,1fr)!important;}
}

/* Keep a failed edit request on a stable page with a clear retry action. */
#registerView .hana-edit-load-failure{max-width:940px;margin:16px auto 24px;padding:14px 18px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #f4d6a5;border-radius:12px;background:#fff9ef;color:#593e17;font-size:14px;line-height:1.5}
#registerView .hana-edit-load-failure[hidden]{display:none}
#registerView .hana-edit-load-failure button{border:1px solid #d6a65b;border-radius:8px;padding:8px 14px;background:#fff;color:#69440d;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
@media(max-width:650px){#registerView .hana-edit-load-failure{margin:12px 16px;align-items:flex-start;flex-direction:column}}

/* Keep the desktop address picker within one scrollable Kakao result pane. */
@media (min-width:981px){
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode){
  display:flex!important;
  flex-direction:column!important;
  height:min(700px,calc(100dvh - 32px))!important;
  max-height:calc(100dvh - 32px)!important;
  overflow:hidden!important;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) .guided-dialog-head{
  flex:0 0 auto;
  margin-bottom:12px;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) #guidedSearchStep{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) #guidedRecentAddresses,
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) .guided-search-help{
  display:none!important;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) #guidedAddressResults{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  max-height:none;
  overflow:hidden;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) #guidedAddressResults>.guided-address-result{
  flex:0 0 auto;
  padding:9px 10px;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) .guided-postcode{
  flex:1 1 auto;
  min-height:0;
  height:auto;
  overflow:hidden;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) .guided-postcode iframe{
  display:block;
  width:100%;
  height:100%!important;
  border:0;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) #guidedAddressMessage,
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) .guided-dialog-actions{
  flex:0 0 auto;
 }
 #guidedAddressDialog:has(#guidedSearchStep:not([hidden]) .guided-postcode) .guided-dialog-actions{
  position:static;
  padding-top:10px;
 }
}

/* The registry unit chooser remains one control, even for hundreds of units. */
#guidedAddressDialog #guidedUnitResults{max-height:none;overflow:visible;border:0;border-radius:0;}
#guidedAddressDialog #guidedUnitSelect{display:block;width:100%;min-height:46px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:9px;padding:10px 12px;background:#fff;color:#233247;font:inherit;font-size:14px;cursor:pointer;}
#guidedAddressDialog #guidedUnitSelect:focus-visible{outline:2px solid #d97706;outline-offset:2px;}
#guidedAddressDialog .guided-unit-select-help{display:block;padding:8px 2px 0;font-size:12px;color:#64748b;}
@media screen and (max-width:980px){html[data-hana-mobile-theme="dark"] #guidedAddressDialog #guidedUnitSelect{background:#27313d!important;color:#f0f3f7!important;border-color:#465363!important;}html[data-hana-mobile-theme="dark"] #guidedAddressDialog .guided-unit-select-help{color:#b7c3d0;}}
