.ai-real-estate-page{background-image:url('../images/pages/ai-guide/real-estate/bg-real-estate.webp')}
.real-estate-shell{background:rgba(236,239,239,.60)}
.real-estate-content,.real-estate-scroll{height:100%}
.real-estate-scroll{overflow-y:auto;overflow-x:hidden;padding-right:8px;scrollbar-width:thin;scrollbar-color:#193a70 transparent}
.real-estate-scroll::-webkit-scrollbar{width:6px}.real-estate-scroll::-webkit-scrollbar-track{background:transparent}.real-estate-scroll::-webkit-scrollbar-thumb{background:#193a70;border-radius:999px}
.real-estate-view{display:none;min-height:100%}.real-estate-view.is-active{display:block}
.real-estate-hero{margin:4px 0 22px}.real-estate-hero h1{margin:0 0 13px;font-size:25px;line-height:1.2;font-weight:700}.real-estate-hero p{margin:0;font-size:17px;line-height:1.55}
.real-estate-form{padding:20px;border-radius:22px;background:rgba(255,255,255,.48)}
.real-estate-field{min-width:0}.real-estate-field+.real-estate-field{margin-top:20px}.real-estate-field label,.real-estate-field legend{display:block;margin:0 0 11px;padding:0;font-size:17px;font-weight:500}.real-estate-property-field{border:0;padding:0;margin-left:0;margin-right:0}
.real-estate-field>input,.real-estate-money-input{width:100%;height:66px;border:0;border-radius:18px;background:rgba(255,255,255,.92);font:inherit;font-size:17px;color:#202a39;outline:0;transition:box-shadow .2s ease,transform .2s ease}.real-estate-field>input{padding:0 22px}.real-estate-field>input::placeholder{color:#a3a7ac}.real-estate-field>input:focus,.real-estate-money-input:focus-within{box-shadow:0 0 0 2px rgba(24,50,100,.22)}
.real-estate-money-input{display:flex;align-items:center;padding:0 22px;gap:15px}.real-estate-money-input span{font-size:18px;color:#8d949b}.real-estate-money-input input{flex:1;min-width:0;border:0;background:transparent;outline:0;font:inherit;font-size:17px;color:#202a39}.real-estate-money-input input::-webkit-outer-spin-button,.real-estate-money-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.real-estate-money-input input[type=number]{-moz-appearance:textfield}
.real-estate-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}.real-estate-shortcuts button,.real-estate-property-grid button{border:0;background:rgba(255,255,255,.76);color:#232a32;font:inherit;font-size:17px;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.real-estate-shortcuts button{min-height:47px;padding:0 20px;border-radius:999px}.real-estate-shortcuts button:hover,.real-estate-shortcuts button.is-selected,.real-estate-property-grid button:hover,.real-estate-property-grid button.is-selected{background:#183264;color:#fff;transform:translateY(-2px);box-shadow:0 8px 18px rgba(24,50,100,.12)}
.real-estate-shortcuts--cities button{padding-inline:18px}
.real-estate-property-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.real-estate-property-grid button{min-height:62px;border-radius:17px;text-align:left;padding:0 25px}
.real-estate-range-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.real-estate-range-head output{font-size:18px;font-weight:700;color:#183d79}
.real-estate-hold-field input[type=range]{--range-pct:21.0526%;width:100%;height:24px;padding:0;margin:2px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;appearance:none;-webkit-appearance:none;vertical-align:middle}.real-estate-hold-field input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:linear-gradient(90deg,#183d79 var(--range-pct),rgba(255,255,255,.88) var(--range-pct))}.real-estate-hold-field input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:#183d79;margin-top:-9px;border:0;box-shadow:none;cursor:pointer}.real-estate-hold-field input[type=range]::-moz-range-track{height:6px;border-radius:999px;background:rgba(255,255,255,.88)}.real-estate-hold-field input[type=range]::-moz-range-progress{height:6px;border-radius:999px;background:#183d79}.real-estate-hold-field input[type=range]::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:50%;background:#183d79;cursor:pointer}
.real-estate-submit{display:flex;justify-content:center;margin-top:28px}.real-estate-submit .primary-action{margin-top:0;min-width:220px}
.real-estate-loading-card{min-height:640px;border-radius:20px;background:rgba(255,255,255,.48);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;text-align:center}.real-estate-loading-card strong{font-size:17px}.real-estate-loader{display:flex;align-items:center;gap:6px;height:42px}.real-estate-loader span{display:block;width:10px;height:24px;border-radius:999px;background:#183d79;animation:realEstatePulse 1s ease-in-out infinite}.real-estate-loader span:nth-child(2){height:34px;animation-delay:.12s}.real-estate-loader span:nth-child(3){height:42px;animation-delay:.24s}.real-estate-loader span:nth-child(4){height:24px;animation-delay:.36s}@keyframes realEstatePulse{0%,100%{transform:scaleY(.55);opacity:.55}50%{transform:scaleY(1);opacity:1}}
.real-estate-result__body{padding-bottom:10px}.real-estate-panel,.real-estate-strategy,.real-estate-insight-grid>section,.real-estate-advice{border-radius:18px;padding:19px;margin-top:14px}.real-estate-panel,.real-estate-strategy,.real-estate-advice{background:rgba(255,255,255,.63)}.real-estate-result__body>.real-estate-panel:first-child{margin-top:0}.real-estate-panel h2,.real-estate-insight-grid h2,.real-estate-advice h2{margin:0 0 12px;font-size:17px}.real-estate-panel p,.real-estate-insight-grid p,.real-estate-advice p{margin:0;font-size:17px;line-height:1.62}.real-estate-analysis-summary strong{font-weight:700}
.real-estate-market{padding-bottom:20px}.real-estate-market-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.real-estate-market-grid article,.real-estate-metrics article,.real-estate-expense-grid article,.real-estate-financing-grid article{border-radius:15px;background:rgba(255,255,255,.72)}.real-estate-market-grid article{min-height:92px;padding:17px}.real-estate-market-grid span,.real-estate-metrics span,.real-estate-expense-grid span{display:block;font-size:17px}.real-estate-market-grid strong{display:block;margin-top:8px;font-size:18px;line-height:1.2;font-weight:500}.real-estate-market-grid article:nth-child(2) strong,.real-estate-market-grid article:nth-child(3) strong,.real-estate-market-grid article:nth-child(4) strong{font-size:18px}
.real-estate-strategies{margin-top:14px;display:grid;gap:12px}.real-estate-strategy{margin:0;padding:0;overflow:hidden}.real-estate-strategy__head{width:100%;min-height:78px;padding:15px 18px;border:0;background:transparent;color:inherit;font:inherit;display:grid;grid-template-columns:28px minmax(0,1fr) auto 78px 20px;gap:12px;align-items:center;text-align:left;cursor:pointer}.real-estate-strategy__rank{font-size:18px;font-weight:500;align-self:start}.real-estate-strategy__title strong{display:block;font-size:17px;line-height:1.35}.real-estate-strategy__title small{display:block;margin-top:4px;max-width:620px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:400}.real-estate-risk{padding:5px 10px;border-radius:999px;background:#183d79;color:#fff;font-size:17px;white-space:nowrap}.real-estate-irr{font-size:17px;text-align:right;white-space:nowrap}.real-estate-irr strong{display:block;margin-top:2px;font-size:17px;font-weight:500}.real-estate-chevron{width:14px;height:14px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);transition:transform .25s ease}.real-estate-strategy.is-open .real-estate-chevron{transform:rotate(225deg)}.real-estate-strategy__detail{display:none;padding:0 18px 18px}.real-estate-strategy.is-open .real-estate-strategy__detail{display:block}.real-estate-strategy__detail>p{margin:0;font-size:17px;line-height:1.6}.real-estate-strategy__detail h3{margin:15px 0 10px;font-size:17px;font-weight:500}
.real-estate-metrics{display:grid;gap:12px}.real-estate-metrics--4{grid-template-columns:repeat(4,1fr)}.real-estate-metrics--2{grid-template-columns:1fr 1fr}.real-estate-metrics article{padding:15px 18px}.real-estate-metrics strong{display:block;margin-top:6px;font-size:17px;font-weight:500}.real-estate-metrics--2 article{padding:12px 18px}.real-estate-metrics--2 strong{margin:0;font-size:18px}.real-estate-metrics--2 span{margin-top:4px}
.real-estate-expense-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.real-estate-expense-grid article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.real-estate-expense-grid strong{font-size:17px}.real-estate-total{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;padding:17px 18px;border-radius:14px;background:rgba(255,255,255,.82);font-size:17px}.real-estate-procon{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:13px}.real-estate-procon section{padding:17px;border-radius:14px;background-color:transparent!important;background-repeat:no-repeat!important;background-position:0 0!important;background-size:100% 100%!important;border:0!important;box-shadow:none}.real-estate-procon section:first-child{background-image:linear-gradient(90deg,rgba(255,255,255,.50) 0%,rgba(205,216,255,.50) 45%,rgba(79,119,246,.50) 100%)!important}.real-estate-procon section:last-child{background-image:linear-gradient(90deg,rgba(255,255,255,.50) 0%,rgba(255,215,229,.50) 45%,rgba(250,108,157,.50) 100%)!important}.real-estate-procon h3{margin:0 0 8px}.real-estate-procon ul{list-style:none;margin:0;padding:0}.real-estate-procon li{font-size:17px;line-height:1.55}.real-estate-procon li+li{margin-top:3px}.real-estate-procon section:first-child li:before{content:'+ ';font-weight:700}.real-estate-procon section:last-child li:before{content:'− ';font-weight:700}
.real-estate-financing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.real-estate-financing-grid article{padding:17px}.real-estate-financing-grid h3{margin:0 0 10px;font-size:17px}.real-estate-financing-grid p{font-size:17px;line-height:1.58}
.real-estate-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.real-estate-insight-grid>section{margin:0;background-color:transparent!important;background-repeat:no-repeat!important;background-position:0 0!important;background-size:100% 100%!important;border:0!important;box-shadow:none}.real-estate-insight-grid>section:first-child{background-image:linear-gradient(90deg,rgba(255,255,255,.50) 0%,rgba(205,216,255,.50) 45%,rgba(79,119,246,.50) 100%)!important}.real-estate-insight-grid>section:last-child{background-image:linear-gradient(90deg,rgba(255,255,255,.50) 0%,rgba(255,215,229,.50) 45%,rgba(250,108,157,.50) 100%)!important}
.real-estate-advice{background:rgba(213,231,255,.86);color:#153665}.real-estate-result-actions{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:14px;margin-top:16px}.real-estate-result-actions button,.real-estate-result-actions a{min-height:60px;border:0;border-radius:14px;background:#fff;color:#1e2937;font:inherit;font-weight:700;text-decoration:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s ease}.real-estate-result-actions button:hover,.real-estate-result-actions a:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(25,54,86,.16)}.real-estate-result-actions a{background:#183d79;color:#fff}
@media(max-width:1100px){.real-estate-content,.real-estate-scroll{height:auto}.real-estate-scroll{overflow:visible;padding-right:0}.real-estate-loading-card{min-height:440px}.real-estate-market-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.real-estate-hero h1{font-size:28px}.real-estate-hero p{font-size:17px}.real-estate-form{padding:16px}.real-estate-shortcuts--cities{display:grid;grid-template-columns:1fr 1fr}.real-estate-shortcuts--cities button{padding-inline:12px}.real-estate-property-grid,.real-estate-metrics--4,.real-estate-expense-grid,.real-estate-financing-grid,.real-estate-insight-grid,.real-estate-procon,.real-estate-result-actions{grid-template-columns:1fr}.real-estate-field>input,.real-estate-money-input{height:56px}.real-estate-property-grid button{min-height:56px}.real-estate-loading-card{min-height:310px}.real-estate-market-grid{grid-template-columns:1fr 1fr}.real-estate-strategy__head{grid-template-columns:24px minmax(0,1fr) auto 18px}.real-estate-strategy__title{grid-column:2/4}.real-estate-risk,.real-estate-irr{grid-row:2}.real-estate-risk{grid-column:2;justify-self:start;width:auto;padding:5px 10px;text-align:left;box-sizing:border-box;transform:none;box-shadow:none;cursor:default}.real-estate-irr{grid-column:3;justify-self:end;align-self:center;margin:0;padding:4px 0 2px 8px}.real-estate-chevron{grid-column:4;grid-row:1}.real-estate-metrics--2{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.real-estate-shortcuts--cities,.real-estate-market-grid,.real-estate-metrics--2{grid-template-columns:1fr}.real-estate-shortcuts button{min-height:44px;padding-inline:15px}.real-estate-hold-field input[type=range]{width:100%}.real-estate-range-head{margin-bottom:5px}.real-estate-result-actions button,.real-estate-result-actions a{min-height:54px}}
@media print{.gnb,.simulation-nav,.floating-cta,.real-estate-result-actions{display:none!important}.ai-simulation-page{margin:0!important;padding:0!important;height:auto!important;background:#fff!important}.simulation-shell{display:block!important;width:100%!important;height:auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}.real-estate-scroll{overflow:visible!important}.real-estate-view{display:none!important}.real-estate-result{display:block!important}.real-estate-result__body{padding:0!important}.real-estate-panel,.real-estate-strategy,.real-estate-insight-grid>section,.real-estate-advice{break-inside:avoid}}

/* AI detail typography normalization */
body h1{font-size:28px!important}
body h2{font-size:21px!important}
body h3{font-size:18px!important}
body input::placeholder,body textarea::placeholder{font-size:17px!important}
body h2 + p,body h3 + p{font-size:17px!important}
body h1 + p{font-size:18px!important}

h4{font-size:17px}
