:root{--blue:#0b57d0;--blue2:#0847ad;--ink:#202124;--muted:#5f6368;--line:#e1e5eb;--soft:#f7f9fc}.grec-app,.grec-auth{font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.45}.grec-app *,.grec-auth *{box-sizing:border-box;text-shadow:none!important}.grec-app header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.brand,.grec-auth-brand{display:flex;align-items:center;gap:11px}.brand>span,.grec-mark{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font:700 20px Georgia}.top{display:flex;align-items:center;gap:10px}.top button,.actions button{border:1px solid #d7e3f8;background:#fff;color:var(--blue);border-radius:8px;padding:9px 13px;font-weight:700;cursor:pointer}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:720px}.layout aside{border-right:1px solid var(--line);padding:20px 14px;background:#fff}.layout aside .primary,.actions a,.actions button,.form>button,.form .wide+button,.grec-inquiry button{display:block;background:var(--blue);color:#fff!important;text-decoration:none;border:0;border-radius:7px;padding:12px 15px;font-weight:700;text-align:center}.layout aside nav{display:grid;gap:5px;margin-top:18px}.layout aside nav a{padding:11px 12px;border-radius:7px;text-decoration:none;color:#303134;font-weight:600}.layout aside nav a:hover{background:#eef4ff;color:var(--blue)}.layout aside nav i{background:var(--blue);color:#fff;border-radius:20px;padding:2px 7px;font-style:normal;font-size:11px;margin-left:5px}.layout main{background:#fafbfc;padding:32px;min-width:0}.layout main section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;margin:0 0 24px;box-shadow:0 1px 2px rgba(0,0,0,.03)}h1,h2,h3{margin-top:0}.intro,.note{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.stats>div{border:1px solid var(--line);border-radius:10px;padding:18px}.stats b{font-size:28px;display:block}.stats span{font-size:12px;color:var(--muted);font-weight:700}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions a,.actions button{display:inline-flex}.form{display:grid;gap:15px;max-width:900px}.form.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form label{display:grid;gap:6px;font-size:12px;font-weight:700}.form input,.form select,.form textarea,.grec-inquiry input,.grec-inquiry select,.grec-inquiry textarea{width:100%;border:1px solid #cfd5dd;border-radius:7px;padding:11px;background:#fff;font:inherit}.form .wide{grid-column:1/-1}.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start}.check input{width:auto}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.cards article,.lead-list article{border:1px solid var(--line);border-radius:10px;padding:17px}.cards small,.lead-list small{color:var(--blue);font-weight:800}.cards article a{display:block;margin-top:12px;color:var(--blue)}.empty{padding:25px;border:1px dashed #cbd3dd;border-radius:10px;color:var(--muted);background:var(--soft)}.lead-list{display:grid;gap:12px}.lead-list article{display:flex;justify-content:space-between;gap:20px}.lead-list form{min-width:150px}.drawer{position:fixed;right:-520px;top:0;width:min(500px,94vw);height:100vh;background:#fff;z-index:100;border-left:1px solid var(--line);box-shadow:-8px 0 30px rgba(0,0,0,.12);padding:18px;overflow:auto;transition:right .2s}.drawer.open{right:0}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.drawer-head button{border:0;background:transparent;font-size:26px;cursor:pointer}.drawer article{border-bottom:1px solid var(--line);padding:15px 0}.amanda{width:min(560px,96vw)}#grec-chat{height:52vh;overflow:auto;padding:16px 0}.bubble{padding:12px 14px;border-radius:14px;margin:8px 0;max-width:88%}.bubble.bot{background:#eef4ff}.bubble.user{background:var(--blue);color:#fff;margin-left:auto}.quick{display:flex;gap:6px;flex-wrap:wrap}.quick button{border:1px solid #d7e3f8;background:#fff;color:var(--blue);border-radius:18px;padding:7px 10px;cursor:pointer}#grec-amanda-form{display:grid;grid-template-columns:52px 1fr auto 44px;gap:8px;margin-top:14px}#grec-amanda-form input{border:1px solid #bdc1c6;border-radius:24px;padding:0 15px}#grec-amanda-form button{border:0;background:var(--blue);color:#fff;border-radius:22px;padding:11px 15px;font-weight:700}#grec-mic{width:52px;height:52px;border-radius:50%!important;font-size:20px}.grec-auth{min-height:680px;background:linear-gradient(135deg,#f6f9ff,#fff);padding:50px 20px}.grec-auth-brand{max-width:520px;margin:0 auto 20px}.grec-auth-brand div:last-child{display:grid}.grec-auth-brand span{color:var(--muted)}.grec-auth-card{max-width:520px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:32px;box-shadow:0 14px 40px rgba(32,33,36,.08)}.grec-auth-card>p{color:var(--muted)}.grec-auth-card form{display:grid;gap:14px}.grec-auth-card label{display:grid;gap:6px;font-size:12px;font-weight:700}.grec-auth-card input,.grec-auth-card select{border:1px solid #cfd5dd;border-radius:7px;padding:12px}.grec-auth-card button{background:var(--blue);color:#fff;border:0;border-radius:7px;padding:13px;font-weight:700}.grec-auth-card details{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.grec-auth-card summary{cursor:pointer;color:var(--blue);font-weight:700;margin-bottom:15px}.grec-inquiry{border:1px solid var(--line);border-radius:12px;padding:22px;background:#fff}.grec-inquiry form{display:grid;gap:10px}@media(max-width:800px){.layout{grid-template-columns:1fr}.layout aside{border-right:0;border-bottom:1px solid var(--line)}.layout aside nav{grid-template-columns:repeat(2,1fr)}.layout main{padding:16px}.stats,.cards{grid-template-columns:repeat(2,1fr)}.form.grid{grid-template-columns:1fr}.form .wide{grid-column:auto}.top strong{display:none}}@media(max-width:520px){.stats,.cards{grid-template-columns:1fr}.grec-app header{padding:0 12px}.brand b{font-size:13px}.top button{font-size:0}.top button:first-child:after{content:'Amanda';font-size:12px}.layout main section{padding:18px}#grec-amanda-form{grid-template-columns:52px 1fr auto}#grec-speaker{grid-column:1/-1}.lead-list article{display:block}}
.top button:hover,.quick button:hover,.help-hero button:hover{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important}.primary-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.primary-actions a{justify-content:center;align-items:center;min-height:48px}.performance-chart{border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:18px;background:#fff}.chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.chart-head h3{margin-bottom:2px}.chart-head small{color:var(--muted)}.chart-key{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;font-weight:700;color:var(--muted)}.chart-key span:before{content:'•';font-size:20px;vertical-align:-2px;margin-right:4px;color:var(--blue)}#grec-performance-chart{width:100%;display:block}.help-section{padding:0!important;overflow:hidden}.help-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px;background:#f4f8ff;border-bottom:1px solid var(--line)}.help-hero small{font-weight:800;color:var(--blue);letter-spacing:.06em}.help-hero h2{font-size:30px;margin:5px 0}.help-hero p{margin:0;color:var(--muted);max-width:700px}.help-hero button{border:1px solid var(--blue);background:#fff;color:var(--blue);border-radius:8px;padding:11px 18px;font-weight:800;cursor:pointer;white-space:nowrap}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.help-card{padding:26px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.help-card:nth-child(even){border-right:0}.help-card h3{color:var(--blue);font-size:18px;border-bottom:2px solid #e6eefc;padding-bottom:10px}.help-card h4{font-size:14px;margin:18px 0 5px}.help-card p{color:var(--muted);margin:0;font-size:14px}.form input[type=file]{padding:8px}@media(max-width:900px){.primary-actions{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.help-grid,.primary-actions{grid-template-columns:1fr}.help-card{border-right:0}.help-hero{display:block}.help-hero button{margin-top:18px}}

/* v1.2.2 AdCenter-style performance module */
.performance-module{padding:0!important;overflow:hidden}.performance-module-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--line)}.performance-module-head h2{margin:0 0 3px;font-size:22px}.performance-module-head p{margin:0;color:var(--muted);font-size:13px}.performance-period{border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#fff;color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.performance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.performance-kpis .kpi{min-height:112px;padding:20px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.performance-kpis .kpi:last-child{border-right:0}.performance-kpis .kpi span{font-size:13px;color:var(--muted);margin-bottom:12px}.performance-kpis .kpi b{font-size:28px;font-weight:500;line-height:1}.performance-kpis .kpi-primary{background:var(--blue);color:#fff}.performance-kpis .kpi-primary span{color:#fff}.performance-chart{border:0!important;border-radius:0!important;padding:20px 22px 18px!important;margin:0!important;background:#fff}.performance-chart .chart-head{align-items:center;margin-bottom:12px}.performance-chart .chart-head h3{font-size:15px;margin:0}.performance-chart canvas{min-height:230px}@media(max-width:800px){.performance-kpis{grid-template-columns:repeat(2,1fr)}.performance-kpis .kpi:nth-child(2){border-right:0}.performance-kpis .kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}}@media(max-width:520px){.performance-module-head{display:block}.performance-period{display:inline-block;margin-top:12px}.performance-kpis{grid-template-columns:1fr}.performance-kpis .kpi{border-right:0!important;border-bottom:1px solid var(--line)}}

/* v1.2.3 compact AdCenter-style performance */
.performance-module-head{padding:14px 18px}.performance-module-head h2{font-size:20px}.performance-period{display:flex;align-items:flex-end;gap:10px;padding:7px 9px}.performance-period label{display:flex;flex-direction:column;gap:3px;font-size:10px;color:var(--muted);font-weight:500}.performance-period input{height:32px;border:0;background:transparent;padding:0 4px;font:inherit;color:var(--text);min-width:122px}.performance-period button{height:34px;border:0;border-radius:7px;background:#edf4ff;color:var(--blue);font-weight:800;padding:0 13px;cursor:pointer}.performance-period button:hover{background:var(--blue);color:#fff}.performance-kpis .kpi{min-height:82px;padding:14px 18px}.performance-kpis .kpi span{margin-bottom:7px}.performance-kpis .kpi b{font-size:25px}.performance-chart{padding:14px 18px 10px!important}.performance-chart .chart-head{margin-bottom:5px}.performance-chart canvas{min-height:0!important;height:150px!important;max-height:150px!important}.chart-key{font-size:11px}.chart-key span:before{font-size:16px}@media(max-width:700px){.performance-period{margin-top:10px;flex-wrap:wrap}.performance-period input{min-width:118px}}

/* v1.2.4 larger AdCenter-style date controls */
.performance-period label{font-size:13px!important;gap:4px!important}.performance-period label span{font-size:13px!important;line-height:1.2}.performance-period input{font-size:15px!important;height:36px!important;min-width:142px!important;padding:0 5px!important}.performance-period button{height:38px!important;font-size:14px!important;padding:0 16px!important}
/* v1.3.0 interactive real estate performance */
.performance-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;justify-content:flex-end}.range-presets{display:flex;gap:5px;flex-wrap:wrap}.range-presets button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:6px;padding:7px 9px;font-size:12px;font-weight:700;cursor:pointer}.range-presets button:hover,.range-presets button.active{background:var(--blue);border-color:var(--blue);color:#fff}.performance-kpis.six{grid-template-columns:repeat(6,minmax(0,1fr))}.performance-kpis button.kpi{appearance:none;text-align:left;background:#fff;color:var(--text);cursor:pointer;border-top:0;border-bottom:0;border-left:0}.performance-kpis button.kpi:hover{background:#f6f9ff}.performance-kpis button.kpi.active{box-shadow:inset 0 -4px 0 var(--blue)}.performance-kpis button.kpi-primary,.performance-kpis button.kpi-primary:hover{background:var(--blue);color:#fff}.performance-kpis button.kpi-primary span{color:#fff}.chart-key span:before{color:var(--series)!important}.performance-chart canvas{height:170px!important;max-height:170px!important}@media(max-width:1050px){.performance-module-head{align-items:flex-start}.performance-controls{justify-content:flex-start}.performance-kpis.six{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.performance-kpis.six{grid-template-columns:repeat(2,1fr)}.performance-controls{display:block}.range-presets{margin-bottom:8px}}

/* v1.3.1 performance result metrics */
.performance-kpis.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.performance-kpis button.kpi.active{box-shadow:none!important;color:#fff!important}
.performance-kpis button.kpi.active span,.performance-kpis button.kpi.active b{color:#fff!important}
.performance-kpis button.kpi[data-metric="views"].active{background:#0b57d0!important;border-color:#0b57d0!important}
.performance-kpis button.kpi[data-metric="clicks"].active{background:#e5322d!important;border-color:#e5322d!important}
.performance-kpis button.kpi[data-metric="leads"].active{background:#188038!important;border-color:#188038!important}
.performance-kpis button.kpi[data-metric="new_leads"].active{background:#f29900!important;border-color:#f29900!important}
.performance-kpis button.kpi.active:hover{filter:brightness(.96)}
@media(max-width:800px){.performance-kpis.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.performance-kpis.four{grid-template-columns:1fr}}

/* v1.3.3 performance chart */
#grec-performance-chart{display:block;width:100%;height:210px!important;min-height:210px;background:#fff}.performance-chart{min-height:265px}

/* v1.3.4 interaction, chart and uploads */
.grec-app .top button{background:#fff!important;color:var(--blue)!important;border:1px solid #d7e3f8!important;box-shadow:none!important}
.grec-app .top button:hover,.grec-app .top button:focus,.grec-app .top button:active{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important}
#grec-performance-chart{height:255px!important;min-height:255px}.performance-chart{min-height:300px;padding-bottom:10px}
.property-images{border:1px dashed #aebdce;border-radius:10px;padding:16px;background:#f8fbff}.property-images span{display:block;font-weight:700;margin-bottom:4px}.property-images small{display:block;color:var(--muted);margin-bottom:10px}.property-images input[type=file]{width:100%;padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px}.image-upload-note{font-size:12px;color:var(--muted);margin-top:7px}

/* v1.3.5 drawer close controls + compact performance chart */
.grec-app .drawer-head button[data-close]{
  width:36px!important;height:36px!important;min-width:36px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border:1px solid var(--blue)!important;
  border-radius:7px!important;background:var(--blue)!important;color:#fff!important;
  font-size:25px!important;line-height:1!important;font-weight:400!important;
  box-shadow:none!important;cursor:pointer!important;
}
.grec-app .drawer-head button[data-close]:hover,
.grec-app .drawer-head button[data-close]:focus{
  background:#0848ad!important;color:#fff!important;border-color:#0848ad!important;
}
#grec-performance-chart{height:220px!important;min-height:220px!important}
.performance-chart{min-height:0!important;padding-bottom:4px!important;margin-bottom:0!important}
.performance-module{padding-bottom:10px!important}

/* v1.3.6 property photo submission */
.property-photo-section{border:1px solid var(--line);border-radius:12px;padding:20px;background:#f8fbff;margin-top:4px}
.property-photo-section h3{margin:0 0 4px}.property-photo-section .photo-intro{margin:0 0 16px;color:var(--muted)}
.featured-photo-box,.gallery-photo-box{background:#fff;border:1px solid #d7e3f8;border-radius:10px;padding:16px;margin-bottom:14px}
.property-photo-section label span{display:block;font-weight:700}.property-photo-section label small{display:block;color:var(--muted);margin:4px 0 9px;font-weight:400}
.property-photo-section em{font-style:normal;font-size:11px;color:var(--muted);font-weight:500;margin-left:4px}
.property-photo-section input[type=file]{width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;background:#fff}
.featured-photo-box>label+label{display:block;margin-top:14px}.caption-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.photo-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photo-source-grid label{background:#fff;border:1px solid #d7e3f8;border-radius:10px;padding:14px}
@media(max-width:700px){.caption-grid,.photo-source-grid{grid-template-columns:1fr}}



/* v1.4.0: portal stacking only; Gazette header stacking is controlled by site/header CSS. */
.grec-app,
.grec-app .layout,
.grec-app aside,
.grec-app main{
  position:relative!important;
  z-index:1!important;
}
#notifications.drawer,#amanda.drawer{z-index:10000!important}

/* Leads are intentionally positioned directly below the overview summary. */
#leads{scroll-margin-top:24px}
