:root{color:#1e2b29;background:linear-gradient(#f5fbf8 0%,#ecf4ef 100%);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}.app-shell{gap:20px;max-width:1240px;margin:0 auto;padding:24px;display:grid}.app-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;max-width:1240px;margin:0 auto 28px;padding:0 24px 8px;display:flex}.app-footer a{color:#1f594e;text-underline-offset:3px;font-weight:700;text-decoration:underline}.card{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffe6;border:1px solid #d8e5df;border-radius:22px;padding:20px;box-shadow:0 18px 40px #12302912}h1,h2,h3,p{margin:0}.header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.header-auth-corner{z-index:2;position:absolute;top:18px;right:18px}.header-auth{align-items:center;gap:10px;display:flex}@media (width<=600px){.header-auth-corner{order:-1;width:100%;position:static;top:auto;right:auto}.header-auth{gap:8px;width:100%}.header-auth button{white-space:nowrap;flex:1 1 0;min-width:0;padding:8px 10px;font-size:12.5px}.header-auth-name{text-overflow:ellipsis;overflow:hidden}}.header-auth-name{color:#fff;cursor:pointer;font-weight:700;font:inherit;background:#00000040;border:none;border-radius:999px;padding:6px 12px}.header-auth-name:hover{background:#00000059}.hero{background:linear-gradient(110deg,#08201cc7,#164a4185),url(https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80) 50%/cover no-repeat;border:1px solid #123a3526;justify-content:space-between;align-items:center;min-height:220px;display:flex;position:relative;overflow:hidden}.hero-copy{z-index:1;color:#fff;flex:420px;gap:10px;display:grid;position:relative}.brand-badge{color:#fff;letter-spacing:.1em;text-transform:uppercase;background:#ffffff26;border:1px solid #fff3;border-radius:999px;align-items:center;width:fit-content;padding:7px 12px;font-size:11px;font-weight:700;display:inline-flex}.hero-copy h1{letter-spacing:-.06em;color:#fff;font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.02}.hero-copy p{color:#ffffffe0;max-width:620px;font-size:1.04rem}.page-actions{z-index:1;margin-top:0;position:relative}.page-actions button{min-width:160px}.metrics{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.metric{background:linear-gradient(#f8fbfa 0%,#eef7f4 100%);border:1px solid #dfeae6;border-radius:16px;padding:16px 18px}.metric strong{color:#123a35;margin-bottom:6px;font-size:18px;display:block}.metric span{color:#4e706a}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.form-grid .full{grid-column:1/-1}.field{gap:6px;display:grid}.field label,.field span{color:#23453d;font-weight:600}.field input,.field textarea,.field select{background:#f9fcfa;border:1px solid #bed0c7;border-radius:12px;min-height:44px;padding:11px 12px;transition:border-color .2s,box-shadow .2s}.field input:focus,.field textarea:focus,.field select:focus{border-color:#1f594e;outline:none;box-shadow:0 0 0 3px #1f594e14}.field textarea{resize:vertical;min-height:90px}.marketplace-shell{gap:18px;display:grid}.market-hero{background:linear-gradient(135deg,#f5f9ff 0%,#edf7f4 100%);border:1px solid #dfeaf4;grid-template-columns:1.3fr .7fr;gap:18px;padding:24px;display:grid}.market-hero-copy{align-content:center;gap:16px;display:grid}.mini-badge{color:#1f594e;letter-spacing:.08em;text-transform:uppercase;background:#1f594e14;border-radius:999px;width:fit-content;padding:8px 12px;font-size:11px;font-weight:700;display:inline-flex}.market-hero-copy h2{letter-spacing:-.06em;color:#123a35;font-size:clamp(2.3rem,3vw,4rem);line-height:1.02}.market-hero-copy p{color:#496b67;max-width:620px;font-size:1.04rem}.search-panel{background:#fff;border:1px solid #dfe9e5;border-radius:18px;gap:16px;padding:16px;display:grid;box-shadow:0 18px 30px #0f2d2a0d}.search-tabs{flex-wrap:wrap;gap:10px;display:flex}.tab-chip{color:#214a45;background:#f4faf7;border:1px solid #dfe8e4;border-radius:999px;padding:9px 14px;font-weight:700}.tab-chip.active{color:#fff;background:#1f594e;border-color:#1f594e}.real-estate-filters{grid-template-columns:repeat(3,minmax(160px,1fr));margin-top:0}.compact-field{background:#f7fbfa;border:1px solid #e5efec;border-radius:14px;padding:10px 12px}.compact-field span{color:#486760;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.compact-field select{min-height:24px;box-shadow:none;background:0 0;border:none;padding:0}.market-hero-side{align-items:stretch;display:flex}.market-hero-side .feature-showcase{width:100%;box-shadow:none;background:0 0;border:none;grid-template-columns:1fr;margin:0;padding:0}.market-hero-side .feature-visual{border-radius:18px;height:280px}.market-hero-side .feature-visual img{object-fit:cover;border-radius:18px;width:100%;height:100%;display:block}.market-hero-side .feature-copy{padding:14px 4px 0}.property-highlights{grid-template-columns:repeat(3,minmax(160px,1fr));gap:12px;display:grid}.highlight-item{background:linear-gradient(#fff 0%,#f5faf7 100%);border:1px solid #dfeae5;border-radius:16px;gap:6px;padding:16px 18px;display:grid;box-shadow:0 16px 30px #1230290a}.highlight-item strong{color:#153f39;font-size:1.1rem}.highlight-item span{color:#4d685f;font-weight:600}.market-listing-header{justify-content:space-between;align-items:flex-end;gap:12px;margin-top:8px;display:flex}.market-listing-header h3{color:#133e39;margin-top:4px;font-size:clamp(1.5rem,2vw,2.2rem)}.section-kicker{color:#53706a;letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700;display:inline-block}.family-action{min-width:120px}.section-card{border:1px solid #d6e2dc;border-radius:12px;margin-top:10px;padding:12px}.image-frame,.listing-image,.listing-detail img{object-fit:cover;background:#edf4f1;border:1px solid #d3dfd8;border-radius:12px;width:100%;height:220px;display:block}.image-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:10px;display:grid}.image-grid img{object-fit:cover;background:#edf4f1;border:1px solid #d3dfd8;border-radius:8px;width:100%;height:120px}.image-grid>div{gap:6px;display:grid}.primary{color:#fff;cursor:pointer;background:linear-gradient(#0f8b6f,#0c6e58);border:none;border-radius:10px;padding:10px 14px;font-weight:700;box-shadow:0 8px 18px #0c6e582e}.secondary{color:#0f594e;cursor:pointer;background:#fff;border:1px solid #d6e6e0;border-radius:10px;padding:9px 12px;font-weight:700}.danger{color:#fff;cursor:pointer;background:#ff5a5f;border:none;border-radius:10px;padding:9px 12px;font-weight:700}.primary:active,.secondary:active,.danger:active{transform:translateY(1px)}.gallery-image-button{cursor:pointer;background:0 0;border:none;border-radius:8px;padding:0;display:inline-block;overflow:hidden}.gallery-image-button img{object-fit:cover;width:100%;height:100%;transition:transform .22s,filter .22s;display:block}.gallery-image-button:hover img{filter:brightness(.95);transform:scale(1.06)}.detail-visual-button{cursor:pointer;background:0 0;border:none;padding:0;display:block}.detail-visual-button img{transition:transform .25s}.detail-visual-button:hover img{transform:scale(1.02)}.modal-backdrop{z-index:1200;background:#03080699;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{width:min(480px,100%);max-height:90vh;overflow-y:auto}.modal-close{color:#123a35;cursor:pointer;background:0 0;border:none;font-size:20px}.viewer-auth-modal{width:min(420px,100%)}@media (width<=600px){.modal-backdrop{align-items:flex-end;padding:0}.modal{border-radius:18px 18px 0 0;width:100%;max-width:100%;max-height:92vh}.viewer-auth-modal{width:100%}.modal-header-inline{flex-wrap:wrap}.auth-modal-body .form-grid{grid-template-columns:1fr}}.gallery-lightbox{background:#fff;border-radius:12px;gap:12px;width:95%;max-width:1100px;padding:14px;display:grid;box-shadow:0 40px 80px #020a0899}.gallery-lightbox-image-wrap{background:#000;border-radius:8px;justify-content:center;align-items:center;height:60vh;display:flex;overflow:hidden}.gallery-lightbox-image-wrap img{object-fit:contain;max-width:100%;max-height:100%;display:block}.gallery-lightbox-meta{color:#123a35;justify-content:space-between;align-items:center;gap:12px;display:flex}.gallery-lightbox-actions{justify-content:flex-end;gap:8px;display:flex}.gallery-close{background:#fff;border-radius:999px;padding:6px 8px;position:absolute;top:18px;right:18px;box-shadow:0 6px 18px #0000001f}@media (width<=900px){.metric strong{font-size:16px}.highlight-item strong{font-size:1rem}}.property-detail-modal{width:min(1100px,95%);max-width:1100px;max-height:85vh;padding:14px;overflow:auto}.property-detail-modal .modal-body{grid-template-columns:1fr 360px;align-items:start;gap:18px;display:grid}.detail-visual{border-radius:12px;max-height:420px;overflow:hidden}.detail-visual img{object-fit:cover;width:100%;height:100%;display:block}@media (width<=900px){.property-detail-modal{width:min(100%,760px)}.property-detail-modal .modal-body{grid-template-columns:1fr}}.listing-media img,.property-preview-media img,.listing img,.feature-visual img,.property-section-gallery img,.image-grid img,.image-frame img{object-fit:cover;border-radius:8px;width:100%;height:220px;display:block}.detail-visual img{object-fit:cover;border-radius:12px;width:100%;height:420px;display:block}@media (width<=900px){.listing-media img,.property-preview-media img,.listing img,.feature-visual img,.property-section-gallery img,.image-grid img,.image-frame img{height:180px}.detail-visual img{height:280px}}@media (width<=520px){.listing-media img,.property-preview-media img,.listing img,.feature-visual img,.property-section-gallery img,.image-grid img,.image-frame img{height:140px}.detail-visual img{height:200px}}@media (width<=900px){.market-hero,.feature-showcase{grid-template-columns:1fr}.property-detail-modal{width:min(100%,760px)}.image-frame,.listing-image,.listing-detail img,.listing img{height:180px}.image-grid img{height:100px}}@media (width<=520px){.app-shell{padding:14px}.card{padding:12px}.header{align-items:flex-start}.market-hero{padding:18px 14px}.real-estate-filters,.property-highlights{grid-template-columns:1fr}.market-listing-header{flex-direction:column;align-items:flex-start}.image-frame,.listing-image,.listing-detail img,.listing img{height:150px}.image-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}.image-grid img{height:90px}.owner-auth-toggle{justify-content:space-between;width:100%}.owner-auth-toggle button{flex:1}.viewer-detail-actions{flex-direction:column;align-items:stretch}.viewer-detail-actions .brand-badge{text-align:center;width:100%}}
