/* SOFANG: compact project directory and selected-project comparisons. */
.sf-catalog,.sf-catalog-compare{--sf-catalog-ink:#192f35;--sf-catalog-green:#174e45;--sf-catalog-muted:#536b61;--sf-catalog-line:#d7dfd4;--sf-catalog-cream:#f6f4ef;color:var(--sf-catalog-ink);min-width:0;max-width:100%;scroll-margin-top:80px}
.sf-catalog *,.sf-catalog-compare *{box-sizing:border-box}
.sf-catalog [hidden],.sf-catalog-compare [hidden]{display:none!important}
.sf-catalog :is(button,input,select),.sf-catalog-compare button{font:inherit}
.sf-catalog :is(a,button,input,select,summary):focus-visible,.sf-catalog-compare :is(a,button,[tabindex]):focus-visible{outline:3px solid #a47a23;outline-offset:3px}
.sf-catalog :is(a,button,summary),.sf-catalog-compare button{touch-action:manipulation}
.sf-catalog :is(p,h2,h3,h4,figure,dl),.sf-catalog-compare :is(p,h2,h3,h4){margin-top:0}
.sf-catalog h2,.sf-catalog-compare h2{font-size:28px;line-height:1.4;margin-bottom:12px;letter-spacing:-.02em;color:var(--sf-catalog-ink)}
.sf-catalog-intro{max-width:900px;font-size:14px;line-height:1.9;color:var(--sf-catalog-muted);margin-bottom:20px}
.sf-catalog-filters{display:grid;grid-template-columns:1fr 1fr 1fr 1.45fr auto;align-items:end;gap:12px;background:#e9eee4;padding:20px;border:1px solid #d2dccb;border-top:3px solid #aebc92;margin:22px 0 12px}
.sf-catalog-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#34503f;font-size:12px;line-height:1.6;font-weight:650;margin:0}
.sf-catalog .sf-catalog-filters :is(input,select){display:block;width:100%;max-width:100%;min-width:0;min-height:44px;height:44px;padding:9px 10px;border:1px solid #b8c7ad;border-radius:2px;background:#fff;color:#243f32;font-size:13px;line-height:1.6;box-shadow:none}
.sf-catalog .sf-catalog-filters select{padding-right:28px}
.sf-catalog [data-catalog-reset]{background:transparent;border:1px solid #9daf92;color:#34523b;min-height:44px;padding:9px 14px;white-space:nowrap;border-radius:2px;font-size:12px;font-weight:650;cursor:pointer}
.sf-catalog [data-catalog-reset]:hover{background:#dce5d4}
.sf-catalog [data-catalog-count]{font-size:12px;line-height:1.8;color:#556d5b;min-height:22px;margin:10px 0 17px}
.sf-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start;min-width:0}
.sf-catalog-card{display:flex;flex-direction:column;min-width:0;max-width:100%;background:#fff;border:1px solid var(--sf-catalog-line);border-radius:2px;overflow:hidden;transition:border-color .16s,box-shadow .16s}
.sf-catalog-card:hover{border-color:#a8bb9b;box-shadow:0 6px 19px rgba(28,51,32,.07)}
.sf-catalog-card.is-selected{border-color:#396844;box-shadow:0 0 0 2px #396844}
.sf-catalog-photo{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#dce4d8;margin:0!important}
.sf-catalog-photo>img,.sf-catalog-photo>a>img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover}
.sf-catalog-photo>a{display:block;width:100%;height:100%}
.sf-catalog-photo figcaption{position:absolute;left:0;bottom:0;width:100%;padding:24px 12px 9px;color:#fff;background:linear-gradient(transparent,rgba(16,36,24,.82));font-size:10px;line-height:1.6;margin:0}
.sf-catalog-badge{position:absolute;top:12px;left:12px;max-width:calc(100% - 24px);padding:4px 8px;background:#fffdef;border:1px solid #e2e4ce;font-size:10px;line-height:1.6;font-weight:700;color:#35533b}
.sf-catalog-card-body{padding:20px;min-width:0;display:flex;flex-direction:column;flex:1}
.sf-catalog-card h3{font-size:21px;line-height:1.35;margin:3px 0 8px;color:var(--sf-catalog-ink);letter-spacing:-.025em;overflow-wrap:anywhere}
.sf-catalog-card h3 a{color:inherit;text-decoration:none}
.sf-catalog-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.sf-catalog-suburb,.sf-catalog-location{font-size:11px;line-height:1.7;font-weight:650;letter-spacing:.4px;color:#67805d;margin-bottom:7px}
.sf-catalog-card-body>p{font-size:13px;line-height:1.9;color:var(--sf-catalog-muted);margin-bottom:14px;overflow-wrap:anywhere}
.sf-catalog-price{font-size:21px!important;font-weight:750;line-height:1.45!important;color:#21553d!important;letter-spacing:-.025em;margin:5px 0 5px!important}
.sf-catalog-price small,.sf-catalog-price-note{display:block;font-size:10px!important;font-weight:400;line-height:1.8!important;color:#64785d!important;letter-spacing:0;margin:5px 0 12px!important}
.sf-catalog-meta{margin:13px 0 17px;padding:0;border-top:1px solid #e1e7db}
.sf-catalog-meta>div{display:grid;grid-template-columns:62px minmax(0,1fr);column-gap:10px;padding:9px 0;border-bottom:1px solid #e1e7db;font-size:11px;line-height:1.8;min-width:0}
.sf-catalog-meta dt{font-weight:400;color:#6b7d63;min-width:0}
.sf-catalog-meta dd{margin:0;color:#344d36;font-weight:600;overflow-wrap:anywhere;min-width:0}
.sf-catalog-fit{font-size:12px!important;line-height:1.85!important;padding:11px 13px;border-left:2px solid #a9b98f;background:#f1f4eb;color:#4c664b!important;margin:0 0 15px!important}
.sf-catalog-select{display:flex;align-items:flex-start;gap:9px;padding:12px 0;margin:0;border-top:1px solid var(--sf-catalog-line);font-size:12px;font-weight:650;line-height:1.7;color:#2a5439;cursor:pointer}
.sf-catalog input[data-catalog-select]{width:18px!important;height:18px!important;min-height:0!important;margin:1px 0 0!important;flex:0 0 18px;accent-color:#295a3d;cursor:pointer}
.sf-catalog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:15px 0 0}
.sf-catalog-actions :is(a,button){display:inline-flex;justify-content:center;align-items:center;min-height:42px;font-size:12px!important;font-weight:650;line-height:1.6;padding:10px 13px;border:1px solid #afc19f;border-radius:2px;color:#365d3e;background:#fff;text-decoration:none;text-align:center;cursor:pointer;flex:1;min-width:0}
.sf-catalog-actions [data-catalog-enquire]{background:#22543c;color:#fff;border-color:#22543c}
.sf-catalog-actions [data-catalog-enquire]:hover{background:#143e2b;color:#fff}
.sf-catalog-actions a:hover{background:#edf2e5}
.sf-catalog-details{border-top:1px solid #dce5d3;margin-top:16px;padding-top:12px;font-size:12px;line-height:1.85;color:#4f674b;min-width:0}
.sf-catalog-details summary{cursor:pointer;font-weight:650;color:#345b3b;font-size:12px;line-height:1.8;min-height:28px;padding:2px 0}
.sf-catalog-details[open] summary{margin-bottom:12px}
.sf-catalog-details p,.sf-catalog-details li{font-size:12px;line-height:1.85;margin-bottom:11px;overflow-wrap:anywhere}
.sf-catalog-details ul{padding-left:18px;margin:0 0 12px}
.sf-catalog-details h4{font-size:14px;line-height:1.6;color:#2a5134;margin:13px 0 7px}
.sf-catalog-plan{min-width:0;margin:14px 0!important}
.sf-catalog-plan img,.sf-catalog-plan>figure img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:contain;background:#fff;border:1px solid #dce4d4;padding:7px}
.sf-catalog-plan>figure{margin:0}
.sf-catalog-plan figcaption{font-size:10px;line-height:1.75;color:#6c7e61;margin:6px 0 0}
.sf-catalog-source{font-size:10px!important;line-height:1.8!important;color:#6a7d60!important;margin:12px 0 0!important;overflow-wrap:anywhere}
.sf-catalog-source a{color:#526f46;text-decoration:underline;text-underline-offset:3px}
.sf-catalog-empty{padding:25px;background:#edf1e6;border:1px solid #cfdbc4;border-left:3px solid #aab88f;font-size:14px;line-height:1.9;color:#46613e;margin:0}
.sf-catalog-compare{margin:38px 0;padding:26px;background:#e8eee2;border:1px solid #c8d7bf}
.sf-catalog-compare [data-compare-status]{font-size:13px;line-height:1.9;color:#4d6546;margin:0 0 17px}
.sf-catalog-compare [data-compare-table]{width:100%;min-width:0;max-width:100%}
.sf-catalog-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid #c7d5bc;background:#fff;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.sf-catalog-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:640px;margin:0!important;border:0;font-size:12px;line-height:1.8}
.sf-catalog-table caption{caption-side:bottom;text-align:left;font-size:10px;line-height:1.8;color:#718065;background:#f4f7ec;padding:9px 13px}
.sf-catalog-table th,.sf-catalog-table td{text-align:left;vertical-align:top;padding:15px 16px;border:0;border-bottom:1px solid #e0e7d8;overflow-wrap:anywhere;word-break:normal}
.sf-catalog-table thead{background:#204837}
.sf-catalog-table thead th{color:#fff;font-weight:650;font-size:14px;line-height:1.65}
.sf-catalog-table thead th strong{display:block;color:#fff;line-height:1.65;font-weight:650}
.sf-catalog-table th:first-child{width:118px}
.sf-catalog-table tbody th{background:#f2f5ec;color:#52694a;font-size:11px;font-weight:600}
.sf-catalog-table tbody td{color:#2d4832;font-size:12px;line-height:1.85}
.sf-catalog-table tbody tr:last-child :is(th,td){border-bottom:0}
.sf-catalog-table small{display:block;color:#6b7c60;font-size:10px;line-height:1.85;margin-top:6px}
.sf-catalog-compare .sf-catalog-remove{display:inline-flex;margin-top:9px;padding:3px 8px;border:1px solid #8da287;border-radius:2px;min-height:28px;color:#e2edda;background:transparent;font-size:10px;line-height:1.7;cursor:pointer}
.sf-catalog-compare .sf-catalog-remove:hover{background:#406346;color:#fff}
.sf-catalog-compare-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
.sf-catalog-compare :is([data-compare-enquire],[data-compare-clear]){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 17px;border:1px solid #7b9470;border-radius:2px;background:transparent;color:#365b38;font-size:13px;font-weight:650;line-height:1.6;cursor:pointer;margin:16px 10px 0 0}
.sf-catalog-compare [data-compare-enquire]{background:#dabe78;color:#263e2c;border-color:#c2a85f}
.sf-catalog-compare [data-compare-enquire]:hover:not(:disabled){background:#d4b263}
.sf-catalog-compare [data-compare-clear]:hover:not(:disabled){background:#dae5d0}
.sf-catalog-compare button:disabled{opacity:.55;cursor:default}
@media(max-width:1000px){
  .sf-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .sf-catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sf-catalog-filters label:has([data-catalog-search]){grid-column:span 2}
  .sf-catalog-filters [data-catalog-search]{min-width:0}
}
@media(max-width:620px){
  .sf-catalog h2,.sf-catalog-compare h2{font-size:24px}
  .sf-catalog-intro{font-size:13px;line-height:1.9}
  .sf-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;margin-top:18px}
  .sf-catalog-filters label:has([data-catalog-search]){grid-column:auto}
  .sf-catalog [data-catalog-reset]{grid-column:1/-1;min-height:40px}
  .sf-catalog [data-catalog-count]{font-size:11px;margin-bottom:14px}
  .sf-catalog-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .sf-catalog-card-body{padding:19px}
  .sf-catalog-card h3{font-size:23px}
  .sf-catalog-price{font-size:23px!important}
  .sf-catalog-card-body>p{font-size:13px}
  .sf-catalog-meta>div{grid-template-columns:66px minmax(0,1fr);font-size:12px}
  .sf-catalog-select{font-size:13px;padding-top:14px}
  .sf-catalog-actions :is(a,button){min-height:44px;font-size:13px!important}
  .sf-catalog-compare{padding:18px;margin:30px 0}
  .sf-catalog-compare [data-compare-status]{font-size:12px}
  .sf-catalog-table{min-width:620px}
  .sf-catalog-table th:first-child{width:92px}
  .sf-catalog-table th,.sf-catalog-table td{padding:13px 12px}
  .sf-catalog-table thead th{font-size:13px}
  .sf-catalog-compare :is([data-compare-enquire],[data-compare-clear]){font-size:12px;min-height:44px;margin-top:13px;padding:11px 13px}
}
@media(prefers-reduced-motion:reduce){.sf-catalog-card{transition:none}}

/* Integration with the existing image viewer and twelve-project editorial pages. */
.sf-catalog-filter-note{font-size:11px;line-height:1.8;color:#5c6b61;margin:8px 0 12px}
.sf-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px;font-size:12px}
.sf-catalog-toolbar p{margin:0!important}.sf-catalog-toolbar a{color:#27563f;font-weight:600}
.sf-catalog-photo svg{display:block;width:100%;height:100%;object-fit:cover}
.sf-catalog-details-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:11px}
.sf-catalog-plan-frame{position:relative;display:block;max-width:100%;margin:0 auto}
.sf-catalog-plan .sf-catalog-plan-frame img{aspect-ratio:auto!important;padding:0!important;border:0!important;width:100%!important;height:auto!important;object-fit:contain!important}
.sf-catalog-plan-art svg{display:block;width:100%;height:auto;max-width:100%}
.sf-catalog-plan button{font-size:12px;line-height:1.6;border:1px solid #8a9e89;background:#eef2e8;color:#264c36;padding:8px 13px;margin-top:8px}
.sf-catalog-details .sf-lp-plan{margin:12px 0!important}.sf-catalog-details .sf-lp-plan-art{height:auto!important;min-height:0!important}
.sf-catalog-details .sf-lp-plan-art img{width:100%;height:auto;object-fit:contain}
.sf-lp-dialog-art .sf-catalog-plan-frame{display:block;position:relative;max-width:100%;margin:auto}
.sf-lp-dialog-art .sf-catalog-plan-frame img{display:block;width:100%;height:auto;max-height:none!important;object-fit:contain}
.sf-lp-dialog-art .sf-catalog-plan-region{width:100%;margin:0 auto 16px}
.sf-lp-dialog-art .sf-catalog-plan-region svg{display:block;width:100%;height:auto;max-width:100%}
.sf-catalog-all-table{margin-top:22px;border-top:1px solid #c7d2c0;padding-top:16px}
.sf-catalog-all-table summary{cursor:pointer;font-weight:600;color:#244b35;margin-bottom:12px}
.sf-catalog-all-table .sf-catalog-table th:first-child{width:25%}
.sf-catalog-all-table .sf-catalog-table th a{color:#245039}
.sf-catalog-featured-head{margin-top:50px}
.sf-catalog-actions .sf-catalog-select{border:0;padding:0;margin:0;align-items:center;flex:0 0 auto;white-space:nowrap}
@media(max-width:620px){.sf-catalog-filters label:has([data-catalog-search]){grid-column:1/-1}.sf-catalog-toolbar{align-items:flex-start;flex-direction:column;gap:5px}.sf-catalog-featured-head{margin-top:35px}.sf-catalog-actions{gap:12px}}

.sf-catalog-cover-caption{position:absolute;bottom:0;left:0;right:0;padding:6px 10px;background:rgba(13,40,29,.83);color:#fff;font-size:10px;line-height:1.6}
.sf-catalog-plan-region{margin:10px 0}.sf-catalog-plan-region>b{display:block;font-size:11px;margin-bottom:6px;color:#31523c}
.sf-catalog-photo:has(svg){background:#edf0e8}

/* Matching uses a real listed unit, so budget and bedrooms describe one choice. */
.sf-catalog-filters{grid-template-columns:1.4fr 1fr 1.2fr .85fr 1.15fr auto;gap:10px}
.sf-catalog-card-body>.sf-catalog-data-status{display:inline-block;align-self:flex-start;color:#476139;font-size:10px;line-height:1.6;padding:3px 7px;background:#eef2e6;border:1px solid #d7dfca;margin:0 0 12px}
.sf-catalog-card-body>.sf-catalog-matches{padding:11px 12px;border-left:3px solid #ac852b;background:#f9f3df;color:#4d482e;font-size:12px;line-height:1.75;margin:6px 0 13px}
.sf-catalog-unit-list{margin:15px 0;padding:13px;border:1px solid #dbe2d3;background:#f6f8f2}
.sf-catalog-unit-list h4{font-size:13px;line-height:1.7;margin:0 0 8px;color:#2a4c37}
.sf-catalog-unit-list ul{list-style:none;margin:0;padding:0}
.sf-catalog-unit-list li{margin:0;padding:10px 0;border-top:1px solid #dce4d3}
.sf-catalog-unit-list li :is(b,span,small){display:block;overflow-wrap:anywhere}
.sf-catalog-unit-list li b{font-size:12px;line-height:1.6;color:#2c4834}
.sf-catalog-unit-list li span{font-size:13px;font-weight:650;color:#255039;margin:4px 0}
.sf-catalog-unit-list li small{font-size:10px;line-height:1.8;color:#60715a;margin-top:4px}
.sf-catalog-unit-list>p{font-size:10px;line-height:1.8;margin:10px 0 0;color:#5f7058}
.sf-catalog-shortlist{position:fixed;z-index:36;right:20px;bottom:20px;display:flex;align-items:center;gap:12px;max-width:calc(100% - 40px);padding:10px 12px;background:#fffdf5;border:1px solid #bac7aa;box-shadow:0 4px 22px #163b2928;border-radius:4px}
.sf-catalog-shortlist>span{font-size:12px;line-height:1.5;white-space:nowrap;color:#2f4e39}
.sf-catalog-shortlist :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 11px;font-size:12px;line-height:1.5;font-weight:650;border:1px solid #22523d;border-radius:2px;color:#22523d;background:#fff;text-decoration:none;cursor:pointer}
.sf-catalog-shortlist button{background:#22523d;color:#fff}
@media(max-width:1024px){.sf-catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.sf-catalog-filters [data-catalog-reset]{width:100%}}
@media(max-width:620px){.sf-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:10px}.sf-catalog-filters label:has([data-catalog-search]){grid-column:1/-1}.sf-catalog-filters [data-catalog-reset]{grid-column:1/-1}.sf-catalog-shortlist{right:8px;left:8px;bottom:calc(74px + env(safe-area-inset-bottom));max-width:none;padding:8px;gap:7px}.sf-catalog-shortlist>span{font-size:11px;margin-right:auto}.sf-catalog-shortlist :is(a,button){font-size:11px;padding:7px 9px;min-height:40px}.sf-v2-shell:has(.sf-catalog-shortlist:not([hidden])){padding-bottom:152px}.sf-catalog-unit-list li small{font-size:11px}}
