/* Signet Flyer Engine v9.0 — (c) 2026 Clay Selland / Signet Mortgage. All rights reserved. */
:root{--forest:#2d5a3d;--forest-light:#3a7350;--cream:#faf8f5;--cream-dark:#f0ebe3;--beige:#e5ddd0;--gold:#c4a35a;--pink:#d4145a;--text-dark:#2a2a2a;--text-medium:#555;--text-light:#888;--white:#fff;--shadow:0 2px 12px rgba(0,0,0,0.08)}
    *{margin:0;padding:0;box-sizing:border-box}
    body{font-family:'Source Sans Pro',sans-serif;background:var(--cream);color:var(--text-dark)}
    .login-screen{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:1000;background:linear-gradient(145deg, rgba(35,70,50,0.88) 0%, rgba(45,90,61,0.85) 50%, rgba(35,70,50,0.88) 100%),url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80') center/cover no-repeat}
    .login-card{background:var(--white);border-radius:16px;padding:40px;max-width:380px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,0.3);text-align:center}
    .login-logo img{width:140px;margin-bottom:16px}
    .login-title{font-family:'Playfair Display',serif;font-size:24px;color:var(--forest);margin-bottom:4px}
    .login-sub{font-size:13px;color:var(--text-light);margin-bottom:24px}
    .login-input{width:100%;padding:14px;border:1px solid var(--beige);border-radius:8px;font-size:15px;margin-bottom:14px;background:var(--cream)}
    .login-input:focus{outline:none;border-color:var(--forest);background:var(--white)}
    .login-btn{width:100%;padding:14px;background:var(--forest);color:white;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer}
    .login-btn:hover{background:var(--forest-light)}
    .login-error{background:#fee;border:1px solid #fcc;color:#c00;padding:10px;border-radius:6px;font-size:13px;margin-bottom:12px;display:none}
    .app{display:none}.app.active{display:flex}
    .sidebar{width:230px;background:var(--white);border-right:1px solid var(--beige);height:100vh;position:fixed;display:flex;flex-direction:column;z-index:100}
    .sidebar-header{padding:18px 16px;border-bottom:1px solid var(--beige);display:flex;align-items:center;gap:10px}
    .sidebar-header img{width:40px}
    .sidebar-brand{font-family:'Playfair Display',serif;font-size:17px;color:var(--forest);font-weight:600}
    .sidebar-sub{font-size:10px;color:var(--text-light)}
    .sidebar-nav{flex:1;padding:14px 10px;overflow-y:auto}
    .nav-group{margin-bottom:20px}
    .nav-label{font-size:10px;font-weight:600;color:var(--text-light);text-transform:uppercase;letter-spacing:.5px;padding:0 12px;margin-bottom:8px}
    .nav-item{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:8px;font-size:13px;color:var(--text-medium);cursor:pointer;margin-bottom:3px;font-weight:500}
    .nav-item:hover{background:var(--cream)}
    .nav-item.active{background:var(--forest);color:white}
    .nav-icon{width:18px;text-align:center;font-size:14px}
    .nav-badge{margin-left:auto;background:var(--beige);font-size:10px;padding:2px 8px;border-radius:10px;font-weight:600}
    .nav-item.active .nav-badge{background:rgba(255,255,255,.25)}
    .sidebar-footer{padding:14px;border-top:1px solid var(--beige);display:flex;align-items:center;gap:10px}
    .user-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}
    .user-name{font-size:13px;font-weight:600}
    .user-role{font-size:10px;color:var(--text-light)}
    .signout{margin-left:auto;background:none;border:none;color:var(--text-light);cursor:pointer;font-size:14px}
    .main{margin-left:230px;flex:1;padding:24px 28px;min-height:100vh}
    .page{display:none}.page.active{display:block}
    .page-header{margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
    .page-title{font-family:'Playfair Display',serif;font-size:26px;color:var(--forest)}
    .page-sub{font-size:13px;color:var(--text-light);margin-top:2px}
    .card{background:var(--white);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
    .card-head{padding:14px 18px;border-bottom:1px solid var(--cream-dark);font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:space-between}
    .card-body{padding:18px}
    .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}
    .stat{background:var(--white);border-radius:12px;padding:18px 20px;box-shadow:var(--shadow);border-left:4px solid var(--forest)}
    .stat.pink{border-color:var(--pink)}.stat.gold{border-color:var(--gold)}
    .stat-val{font-family:'Playfair Display',serif;font-size:28px;font-weight:600}
    .stat-lbl{font-size:12px;color:var(--text-light);margin-top:2px}
    .toolbar{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}
    .search{flex:1;min-width:200px;position:relative}
    .search input{width:100%;padding:11px 14px 11px 38px;border:1px solid var(--beige);border-radius:8px;font-size:13px;background:var(--white)}
    .search::before{content:'🔍';position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:13px}
    select.filter{padding:11px 14px;border:1px solid var(--beige);border-radius:8px;font-size:13px;background:var(--white);cursor:pointer}
    .qf-btn{padding:7px 14px;border:1px solid var(--beige);border-radius:20px;font-size:12px;font-weight:500;background:var(--white);cursor:pointer;transition:all 0.2s;white-space:nowrap}
    .qf-btn:hover{background:#f5f0eb;border-color:#c5b9a8}
    .qf-btn.qf-active{background:var(--green);color:white;border-color:var(--green)}
    .qf-btn[data-qf="recent-upload"].qf-active{background:#2196F3;border-color:#2196F3}
    .qf-btn[data-qf="hot"].qf-active{background:#e74c3c;border-color:#e74c3c}
    .qf-btn[data-qf="new"].qf-active{background:#f39c12;border-color:#f39c12}
    .qf-btn[data-qf="aging"].qf-active{background:#8e44ad;border-color:#8e44ad}
    .qf-btn[data-qf="emailed"].qf-active{background:#27ae60;border-color:#27ae60;color:white}
    .qf-btn[data-qf="crm"].qf-active{background:#9b59b6;border-color:#9b59b6;color:white}
    .qf-btn[data-qf="archived"].qf-active{background:#95a5a6;border-color:#95a5a6;color:white}
    .btn{display:inline-flex;align-items:center;gap:6px;padding:11px 18px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;border:none;transition:all .15s}
    .btn-primary{background:var(--forest);color:white}
    .btn-primary:hover{background:var(--forest-light)}
    .btn-secondary{background:var(--cream);border:1px solid var(--beige);color:var(--text-dark)}
    .btn-pink{background:var(--pink);color:white}
    .btn-gold{background:var(--gold);color:white}
    .btn-sm{padding:8px 14px;font-size:12px}
    table{width:100%;border-collapse:collapse}
    th{text-align:left;padding:12px 14px;font-size:10px;font-weight:600;color:var(--text-light);text-transform:uppercase;background:var(--cream);border-bottom:1px solid var(--beige)}
    td{padding:12px 14px;font-size:13px;border-bottom:1px solid var(--cream-dark);vertical-align:middle}
    tr:hover td{background:var(--cream)}
    .thumb{width:60px;height:45px;border-radius:6px;object-fit:cover;background:var(--beige)}
    .addr{font-weight:600;color:var(--text-dark)}
    .city{font-size:11px;color:var(--text-light)}
    .price{font-weight:700;color:var(--forest);font-size:14px}
    .action-btn{width:32px;height:32px;border-radius:6px;border:1px solid var(--beige);background:var(--white);cursor:pointer;font-size:13px}
    .action-btn:hover{background:var(--forest);color:white;border-color:var(--forest)}
    .pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;border-top:1px solid var(--cream-dark)}
    .pag-btn{padding:8px 14px;border:1px solid var(--beige);background:var(--white);border-radius:6px;font-size:13px;cursor:pointer}
    .pag-btn:disabled{opacity:.5;cursor:default}
    .pag-info{font-size:13px;color:var(--text-light)}
    .builder{display:grid;grid-template-columns:400px 1fr;gap:24px}
    .controls .card{margin-bottom:16px}
    .ctrl-group{margin-bottom:14px}
    .ctrl-label{font-size:12px;font-weight:600;color:var(--text-medium);margin-bottom:5px;display:block}
    .ctrl-input{width:100%;padding:11px 14px;border:1px solid var(--beige);border-radius:8px;font-size:13px;background:var(--cream);font-family:inherit}
    .ctrl-input::placeholder{color:#999;font-style:italic}
    .ctrl-input:focus{outline:none;border-color:var(--forest);background:var(--white)}
    textarea.ctrl-input{min-height:70px;resize:vertical;line-height:1.5}
    .ctrl-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    .ctrl-hint{font-size:11px;color:var(--text-light);margin-top:4px}
    .preview-area{position:sticky;top:24px}
    .preview-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
    .preview-title{font-weight:600;font-size:14px}
    .preview-actions{display:flex;gap:8px}
    .flyer-frame{background:white;border-radius:10px;box-shadow:0 4px 30px rgba(0,0,0,0.12);overflow:hidden}
    .flyer{font-family:'Source Sans Pro',Arial,sans-serif;background:white;color:#333}
    .flyer-page{padding:28px 32px}
    .flyer-page-break{border-top:2px dashed #ddd;margin:0;background:#f9f9f9;padding:8px;text-align:center;font-size:10px;color:#999}
    .flyer-hero-title{text-align:center;margin-bottom:8px}
    .flyer-hero-title h1{font-family:'Urbanist',sans-serif;font-size:40px;font-weight:400;color:#333;margin:0;letter-spacing:-0.3px}
    .flyer-hero-title .address{font-family:'Urbanist',sans-serif;font-size:40px;font-weight:600;color:#d4145a;margin:6px 0 0;letter-spacing:-0.5px}
    .flyer-tagline{text-align:center;font-family:'Urbanist',sans-serif;font-size:18px;color:#666;font-weight:400;margin:14px 0 20px;padding-bottom:16px;border-bottom:1px solid #d4a29d}
    .flyer-why-section{margin-bottom:20px}
    .flyer-why-title{font-family:'Source Sans Pro',Arial,sans-serif;font-size:22px;font-weight:700;color:#333;margin-bottom:18px;text-align:center}
    .flyer-why-list{list-style:none;padding:0;margin:0 0.5in;text-align:center}
    .flyer-why-item{margin-bottom:14px;line-height:1.3;font-size:20px;text-align:center}
    .flyer-why-item strong{color:#333}
    .flyer-photos{position:relative;display:flex;justify-content:center;gap:16px;padding:0 20px;margin:0 auto 20px;min-height:240px;align-items:flex-start}
.flyer-photo{width:46%;height:210px;object-fit:cover;border-radius:10px;background:#f5f5f5;box-shadow:0 8px 25px rgba(0,0,0,0.2)}
.flyer-photo:first-child{z-index:2;margin-top:0}
.flyer-photo:last-child{z-index:1;margin-top:30px}
.flyer-photo-crop{object-position:center 20%;transform:scale(1.08)}

    .flyer-cta-box{background:#84af7b;border-radius:20px;padding:16px 30px;text-align:left;margin:-25px auto 16px;position:relative;z-index:10;max-width:90%}
    .flyer-cta-title{font-family:'Urbanist',sans-serif;font-size:20px;font-weight:600;color:#000;margin-bottom:8px}
    .flyer-cta-steps{font-family:'Urbanist',sans-serif;font-size:20px;color:#000;line-height:1.3;text-align:left}
    .flyer-highlights-title{font-family:'Urbanist',sans-serif;font-size:20px;font-weight:600;color:#333;margin-bottom:14px;text-align:center}
    .flyer-highlights-list{list-style:none;margin-bottom:20px;padding:0;text-align:center}
    .flyer-highlight-item{display:flex;align-items:flex-start;justify-content:center;gap:8px;margin-bottom:10px;line-height:1.3;font-family:'Urbanist',sans-serif;font-size:20px}
    .flyer-highlight-bullet{color:#2d5a3d;font-weight:700;font-size:20px}
    .flyer-highlight-item strong{color:#333}
    .flyer-calc-section{margin-bottom:16px;margin-left:0.5in;margin-right:0.5in}
    .flyer-calc-title{font-family:'Urbanist',sans-serif;font-size:30px;color:#d4145a;margin-bottom:12px;text-align:center}
    .flyer-calc-table{width:100%;border-collapse:collapse;margin-bottom:8px;font-family:'Urbanist',sans-serif}
    .flyer-calc-table th{background:#2d5a3d;color:white;padding:6px;text-align:center;font-size:30px;font-weight:700}
    .flyer-calc-table td{padding:6px;text-align:center;border:1px solid #ddd;font-size:30px;font-weight:700}
    .flyer-calc-table tr:nth-child(even){background:#f9f9f9}
    .flyer-calc-disclaimer{font-size:9px;color:#999;text-align:center;line-height:1.4;margin-top:8px}
    .flyer-agents{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px;padding-top:14px;border-top:1px solid #ddd}
    .flyer-agent{display:flex;align-items:flex-start;gap:14px}
    .flyer-agent-left{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}
    .flyer-agent-photo{width:80px;height:80px;max-width:80px;max-height:80px;border-radius:50%;object-fit:cover;background:#eee;border:2px solid #ddd;flex-shrink:0}
    .flyer-agent-info{flex:1}
    .flyer-agent-name{font-weight:700;font-size:18px;color:#333}
    .flyer-agent-title{font-size:14px;color:#666}
    .flyer-agent-contact{font-size:14px;color:#888;line-height:1.5}
    .flyer-agent-contact a{color:#d4145a;text-decoration:none}
    .flyer-agent-logo{max-width:100px;max-height:38px;width:auto;height:auto;margin-top:4px}
    .rates-box{background:linear-gradient(135deg,#fff8e6,#fff3d4);border:2px solid var(--gold);border-radius:12px;padding:20px;margin-bottom:20px}
    .rates-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
    .rates-title{font-weight:700;color:var(--forest);font-size:15px}
    .rates-updated{background:var(--gold);color:white;font-size:11px;padding:4px 10px;border-radius:6px;font-weight:600}
    .admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
    .admin-title{font-family:'Playfair Display',serif;font-size:16px;color:var(--forest);margin-bottom:14px}
    .pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
    .pipeline-col{background:var(--white);border-radius:10px;padding:14px;box-shadow:var(--shadow);min-height:350px}
    .pipeline-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:10px;border-bottom:2px solid var(--beige)}
    .pipeline-title{font-size:11px;font-weight:700;color:var(--text-medium);text-transform:uppercase}
    .pipeline-count{background:var(--cream);font-size:11px;padding:3px 8px;border-radius:8px;font-weight:600}
    .pipeline-card{background:var(--cream);border-radius:8px;padding:12px;margin-bottom:10px;cursor:pointer;border:2px solid transparent}
    .pipeline-card:hover{border-color:var(--forest)}
    .pipeline-addr{font-size:13px;font-weight:600}
    .pipeline-agent{font-size:11px;color:var(--text-light);margin:4px 0}
    .pipeline-price{font-size:14px;font-weight:700;color:var(--forest)}
    .modal-bg{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);display:none;align-items:center;justify-content:center;z-index:1000}
    .modal-bg.active{display:flex}
    .modal{background:var(--white);border-radius:14px;padding:28px;max-width:500px;width:90%;max-height:85vh;overflow-y:auto}
    .compose-bg{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:none;align-items:flex-start;justify-content:center;z-index:1100;padding:20px;overflow-y:auto}
    .compose-bg.active{display:flex}
    .compose-modal{background:#fff;border-radius:12px;width:100%;max-width:720px;box-shadow:0 8px 40px rgba(0,0,0,0.25);margin:auto;overflow:hidden}
    .compose-header{background:var(--forest);color:white;padding:14px 20px;display:flex;align-items:center;justify-content:space-between}
    .compose-header h3{margin:0;font-size:16px;font-weight:600;font-family:'Source Sans Pro',sans-serif}
    .compose-close{background:none;border:none;color:white;font-size:22px;cursor:pointer;padding:0 4px;opacity:0.8}
    .compose-close:hover{opacity:1}
    .compose-fields{padding:12px 20px;border-bottom:1px solid #eee;background:#fafafa}
    .compose-field{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;font-family:'Source Sans Pro',sans-serif}
    .compose-field:last-child{margin-bottom:0}
    .compose-field label{color:#666;min-width:55px;font-weight:600}
    .compose-field input{flex:1;border:none;background:transparent;font-size:13px;padding:6px 0;outline:none;font-family:'Source Sans Pro',sans-serif;color:#333}
    .compose-body{padding:20px;max-height:55vh;overflow-y:auto;border-bottom:1px solid #eee}
    .compose-actions{padding:14px 20px;display:flex;gap:10px;flex-wrap:wrap;background:#fafafa}
    .compose-btn{padding:10px 18px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;border:none;display:inline-flex;align-items:center;gap:6px;transition:all .15s}
    .compose-btn:hover{filter:brightness(1.1)}
    .compose-btn-gmail{background:#EA4335;color:white}
    .compose-btn-copy{background:#34a853;color:white}
    .compose-btn-mailto{background:var(--forest);color:white}
    .compose-status{margin-left:auto;font-size:12px;color:#666;align-self:center}
    .modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
    .modal-title{font-family:'Playfair Display',serif;font-size:20px;color:var(--forest)}
    .modal-close{width:32px;height:32px;border-radius:8px;border:1px solid var(--beige);background:var(--cream);cursor:pointer;font-size:16px}
    @media(max-width:1200px){.builder{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}
    @media(max-width:900px){.sidebar{display:none}.main{margin-left:0}.pipeline{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}}
    @media print{
@page{size:letter;margin:0}
*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
body{margin:0!important;padding:0!important}
.login-screen,.sidebar,.main,.app{display:none!important}
.flyer-frame{display:block!important;position:absolute!important;left:0!important;top:0!important;width:8.5in!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.flyer{display:block!important}
.flyer-page{display:block!important;width:8.5in!important;height:11in!important;padding:0.5in!important;box-sizing:border-box!important;overflow:hidden!important;page-break-after:always!important;page-break-inside:avoid!important;background:white!important}
.flyer-page:last-child{page-break-after:auto!important}
.flyer-page-break{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important}
.preview-area,.preview-header,.preview-actions,.controls,.builder{display:none!important}
}
  
/* EPIC LOGIN ANIMATIONS */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes cardGlow {
  0%, 100% { box-shadow: 0 25px 80px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 25px 80px rgba(45,90,61,0.5), 0 0 40px rgba(45,90,61,0.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-screen {
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.login-card {
  animation: fadeInUp 0.8s ease-out, cardGlow 4s ease-in-out infinite;
}

.login-logo img {
  animation: floatLogo 4s ease-in-out infinite;
}

.login-input {
  transition: all 0.3s ease;
  border: 2px solid #e8e4dc;
}

.login-input:focus {
  border-color: #2d5a3d;
  box-shadow: 0 0 0 4px rgba(45,90,61,0.1);
  transform: scale(1.02);
}

.login-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45,90,61,0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-family: 'Source Sans Pro', sans-serif;
}

.login-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.loading{position:relative;pointer-events:none;opacity:0.7}
.loading::after{content:'';position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid #ddd;border-top-color:#d4145a;border-radius:50%;animation:spin 0.8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}


/* Click-to-Edit Styles */
.flyer-editable {
  cursor: pointer;
  transition: outline 0.2s, background 0.2s;
  border-radius: 4px;
}
.flyer-editable:hover {
  outline: 2px dashed #d4145a;
  outline-offset: 2px;
  background: rgba(212,20,90,0.05);
}
.flyer-editable:focus {
  outline: 2px solid #d4145a;
  outline-offset: 2px;
  background: rgba(212,20,90,0.1);
}
.flyer-editable[contenteditable="true"] {
  min-height: 1em;
}
.edit-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.edit-hint.show {
  opacity: 1;
}
/* Email toggle badge */
.email-toggle{font-size:8px;padding:1px 5px;border-radius:3px;margin-left:4px;cursor:pointer;transition:all 0.2s;user-select:none}
.email-toggle.email-on{background:#27ae60;color:white}
.email-toggle.email-on:hover{background:#c0392b}
.email-toggle.email-off{background:#e0e0e0;color:#999;font-size:9px}
.email-toggle.email-off:hover{background:#27ae60;color:white}
/* Off-market filter active state */
.qf-btn[data-qf="off-market"].qf-active{background:#95a5a6;border-color:#95a5a6;color:white}
/* Region + buydown filter active states */
.qf-btn[data-qf="east-bay"].qf-active{background:#2d5a3d;border-color:#2d5a3d;color:white}
.qf-btn[data-qf="norcal"].qf-active{background:#3498db;border-color:#3498db;color:white}
.qf-btn[data-qf="desert"].qf-active{background:#e67e22;border-color:#e67e22;color:white}
.qf-btn[data-qf="buydown"].qf-active{background:#f39c12;border-color:#f39c12;color:white}

/* ═══ v9.0 Dashboard Animations ═══ */
@keyframes dashSlideIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes dashBarGrow{from{width:0}to{width:var(--bar-w,0%)}}
.dash-animate{opacity:0;animation:dashSlideIn .45s ease forwards}
.dash-animate:nth-child(1){animation-delay:.05s}
.dash-animate:nth-child(2){animation-delay:.1s}
.dash-animate:nth-child(3){animation-delay:.15s}
.dash-animate:nth-child(4){animation-delay:.2s}
.dash-card-animate{opacity:0;animation:dashSlideIn .5s ease forwards}
.dash-card-animate:nth-child(1){animation-delay:.1s}
.dash-card-animate:nth-child(2){animation-delay:.2s}
.dash-card-animate:nth-child(3){animation-delay:.3s}
.dash-card-animate:nth-child(4){animation-delay:.35s}
.stat-tile{transition:transform .2s ease,box-shadow .2s ease;cursor:pointer;padding:16px 18px;user-select:none}
.stat-tile:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,0.12);background:#f8fdf9}
.stat-num{font-size:36px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.stat-label{font-size:13px;color:#666;margin-top:2px}
.dash-bar{height:8px;border-radius:4px;background:var(--cream-dark);overflow:hidden;transition:width .8s cubic-bezier(.22,1,.36,1)}
.bar-fill{width:0;animation:dashBarGrow .8s cubic-bezier(.22,1,.36,1) .25s forwards}
/* ═══ v9.0 Leaflet Map Overrides ═══ */
#mapContainer .leaflet-popup-content-wrapper{border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,0.15);padding:0;overflow:hidden}
#mapContainer .leaflet-popup-content{margin:0;min-width:240px}
#mapContainer .leaflet-popup-tip{box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.map-popup-img{width:100%;height:120px;object-fit:cover;display:block}
.map-popup-body{padding:10px 14px}
.map-popup-addr{font-weight:700;font-size:14px;color:#2a2a2a}
.map-popup-loc{font-size:12px;color:#888;margin-top:1px}
.map-popup-price{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:#2d5a3d;margin-top:6px}
.map-popup-specs{font-size:12px;color:#666;margin-top:4px}
.map-popup-actions{display:flex;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #f0ebe3}
.map-popup-actions button{flex:1;padding:6px 8px;border:none;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer}
/* ═══ v9.0 Outreach Score Badges ═══ */
.os-pill{display:inline-block;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:700;min-width:36px;text-align:center}
.os-hot{background:#d4145a;color:#fff}
.os-warm{background:#e67e22;color:#fff}
.os-cool{background:#bdc3c7;color:#555}
.os-tag{display:inline-block;padding:1px 7px;border-radius:4px;font-size:10px;font-weight:600;margin-left:4px}
.os-tag-new{background:#e8f5e9;color:#27ae60}
.os-tag-drop{background:#fde8e8;color:#e74c3c}
.os-tag-oh{background:#fff3e0;color:#e67e22}
.os-tag-hot{background:#fce4ec;color:#d4145a}
.os-tag-hecm{background:#e8f4f8;color:#2196F3}
