/* SGPropList v0.1.159 colour theme "Emerald & Ivory" (CMS > Settings > Site look). Loaded after app.css.
   Same layout as Classic; only colours and textures change. White areas (header, cards, forms) stay white.
   Textures are CSS only (paper grain = SVG noise, soft folds = gradients); no repeating squares. */
body.theme-emerald { --primary-soft: #EFF5F3; --hair: #DCD2BA; --band-line: #DCD2BA; }

/* launch bar + test-mode strip */
body.theme-emerald .launch-bar { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(118deg, transparent 38%, rgba(70,130,120,.22) 46%, transparent 54%, rgba(0,0,0,.28) 72%, transparent 86%), linear-gradient(62deg, rgba(0,0,0,.30) 0%, transparent 30%, rgba(60,120,110,.16) 58%, transparent 70%), linear-gradient(165deg, #165349 0%, #0B3E37 38%, #06302A 72%, #032623 100%); color: #F4EFE2; }
body.theme-emerald .launch-bar b { color: #fff; }
body.theme-emerald .launch-bar a { color: #EFE8D6; text-decoration: underline; text-underline-offset: 2px; }
body.theme-emerald .demo-bar { background: #EFE8D6; color: #3F3A2E; }
body.theme-emerald .demo-bar a { color: #3F3A2E; }

/* header account circle */
body.theme-emerald .site-header .avatar, body.theme-emerald .drawer__user .avatar { background: linear-gradient(160deg,#165349,#0B3E37 60%,#06302A); color: #F4EFE2; box-shadow: 0 0 0 2px #DCD2BA; }

/* hero = paper */
body.theme-emerald .hero { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(118deg, transparent 38%, rgba(70,130,120,.22) 46%, transparent 54%, rgba(0,0,0,.28) 72%, transparent 86%), linear-gradient(62deg, rgba(0,0,0,.30) 0%, transparent 30%, rgba(60,120,110,.16) 58%, transparent 70%), linear-gradient(165deg, #165349 0%, #0B3E37 38%, #06302A 72%, #032623 100%); }
body.theme-emerald .hero__sub { color: rgba(255,255,255,.84); }

/* buttons */
body.theme-emerald .btn:not(.btn--accent,.btn--bronze,.btn--cancel,.btn--danger,.btn--ghost,.btn--gold,.btn--light,.btn--live,.btn--purple,.btn--silver,.btn--wa,[disabled],[style*=background]), body.theme-emerald .btn--agent { background: linear-gradient(160deg,#165349,#0B3E37 55%,#06302A); border-color: #06302A; color: #F4EFE2; }
body.theme-emerald .btn:not(.btn--accent,.btn--bronze,.btn--cancel,.btn--danger,.btn--ghost,.btn--gold,.btn--light,.btn--live,.btn--purple,.btn--silver,.btn--wa,[disabled],[style*=background]):hover, body.theme-emerald .btn--agent:hover { background: linear-gradient(160deg,#1B5F54,#0E4740 55%,#073530); border-color: #032623; color: #F4EFE2; }

/* boxes that were navy: "What's your HDB flat worth?", banners, town price box, agent page cover */
body.theme-emerald .vblock, body.theme-emerald .banner--navy, body.theme-emerald .banner--teal, body.theme-emerald .tp-cta {
  background: repeating-linear-gradient(0deg, rgba(120,105,70,.045) 0 1px, transparent 1px 3px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.27 0 0 0 0 0.16 0 0 0 0.14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(170deg,#F7F2E6 0%,#F0E9D8 40%,#E8E0CB 75%,#E0D6BF 100%); color: #2E2A20; border: 1px solid #D6CCB3; box-shadow: 0 18px 40px rgba(3,38,35,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
body.theme-emerald .vblock h2, body.theme-emerald .banner--navy h2, body.theme-emerald .banner--teal h2, body.theme-emerald .tp-cta h2 { color: #0B3E37; }
body.theme-emerald .vblock p, body.theme-emerald .banner--navy p, body.theme-emerald .banner--teal p, body.theme-emerald .tp-cta p { color: #2E2A20; opacity: 1; }
body.theme-emerald .vblock__points li::before { color: #0B3E37; }
body.theme-emerald .vblock .vc-search .btn, body.theme-emerald .tp-cta .vc-search .btn, body.theme-emerald .banner--navy .btn--light, body.theme-emerald .banner--teal .btn--light { background: linear-gradient(160deg,#165349,#0B3E37 55%,#06302A); border-color: #06302A; color: #F4EFE2; }
body.theme-emerald .vblock__links a, body.theme-emerald .tp-cta .vblock__links a { background: #FBF8F0; color: #0B3E37; border: 1px solid #0B3E37; font-weight: 650; }
body.theme-emerald .vblock__links a:hover { background: #0B3E37; color: #fff; }
body.theme-emerald .agent-card__cover { background: repeating-linear-gradient(0deg, rgba(120,105,70,.045) 0 1px, transparent 1px 3px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.27 0 0 0 0 0.16 0 0 0 0.14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(170deg,#F7F2E6 0%,#F0E9D8 40%,#E8E0CB 75%,#E0D6BF 100%); color: #0B3E37; border-bottom: 1px solid #D6CCB3; }

/* Founding Member box on /pricing: paper instead of navy (gold words stay) */
body.theme-emerald .fe-offer { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(118deg, transparent 38%, rgba(70,130,120,.22) 46%, transparent 54%, rgba(0,0,0,.28) 72%, transparent 86%), linear-gradient(62deg, rgba(0,0,0,.30) 0%, transparent 30%, rgba(60,120,110,.16) 58%, transparent 70%), linear-gradient(165deg, #165349 0%, #0B3E37 38%, #06302A 72%, #032623 100%); border-color: #C9A24A; }

/* footer = darkest paper, all words white */
body.theme-emerald .site-footer { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(118deg, transparent 40%, rgba(70,130,120,.10) 48%, transparent 56%, rgba(0,0,0,.18) 74%, transparent 88%), linear-gradient(170deg, #06302A 0%, #032623 40%, #021C19 75%, #011512 100%); color: #FFFFFF; }
body.theme-emerald .site-footer a, body.theme-emerald .site-footer p, body.theme-emerald .site-footer li, body.theme-emerald .site-footer small, body.theme-emerald .footer-base, body.theme-emerald .footer-base * { color: #FFFFFF; }
body.theme-emerald .footer-grid h3 { color: #FFFFFF; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
body.theme-emerald .footer-base { border-top-color: rgba(255,255,255,.16); }
body.theme-emerald .footer-brand .logo { font-size: 1.45rem; font-weight: 800; color: #FFFFFF; gap: 12px; }
body.theme-emerald .footer-brand .logo svg { width: 46px; height: 46px; filter: drop-shadow(0 0 10px rgba(91,255,184,.35)) drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
