/* SpoonLens v0.6.0 visual refinements
   Loaded after Collector public styles so these rules affect presentation only. */

/* Generic SVG signal charts */
.sl-spark-grid line{stroke:#eaf2f8;stroke-width:.65;stroke-dasharray:2.2 2.8;vector-effect:non-scaling-stroke}
.sl-mini-chart .sl-spark-grid{opacity:.52}
.sl-mini-chart .sl-spark-grid line:first-child{opacity:.35}

/* Homepage signal preview: tighter, more intentional and visibly illustrative. */
.sl-hero-visual{min-height:440px}
.sl-ring-1{width:400px;height:400px}
.sl-ring-2{width:300px;height:300px}
.sl-ring-3{width:188px;height:188px}
.sl-hero-chart-card{
  width:min(390px,84%);
  height:224px;
  padding:22px 24px 16px;
  background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(249,253,255,.94));
  border-color:rgba(210,229,243,.98);
  box-shadow:0 18px 55px rgba(10,45,91,.11);
}
.sl-hero-chart-card:before{
  content:"";position:absolute;inset:auto -50px -80px auto;width:190px;height:190px;border-radius:50%;
  background:radial-gradient(circle,rgba(45,212,191,.10),rgba(14,165,233,.025) 55%,transparent 70%);pointer-events:none
}
.sl-hero-chart-example{position:absolute;right:20px;top:17px;color:#94a6ba;font-size:.55rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.sl-hero-chart-card small{font-size:.78rem;letter-spacing:.015em}
.sl-hero-chart-card strong{font-size:2rem;line-height:1.05;margin-top:5px}
.sl-hero-chart-plot{height:130px;margin-top:8px;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,rgba(14,165,233,.018),rgba(45,212,191,.035))}
.sl-hero-chart-card .sl-spark{height:100%;margin:0}
.sl-hero-chart-card .sl-spark-grid line{stroke:#deedf7;stroke-width:.72}

/* Collector v1.7 public trend chart. Keep data untouched; improve only layout. */
.sl17-chart-section{padding-top:24px!important}
.sl17-chart-card{
  padding:26px 28px 22px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfeff 100%)!important;
  border-color:#deebf5!important;
  box-shadow:0 9px 30px rgba(10,45,91,.05)!important;
}
.sl17-chart-card:before{
  content:"";position:absolute;right:-90px;bottom:-130px;width:330px;height:330px;border-radius:50%;
  background:radial-gradient(circle,rgba(45,212,191,.075),rgba(14,165,233,.025) 48%,transparent 70%);pointer-events:none
}
.sl17-chart-head{align-items:flex-start!important}
.sl17-chart-head h2{margin-top:0}
.sl17-chart-head p{max-width:760px!important;line-height:1.55!important}
.sl17-momentum-basis{margin:7px 0 0!important}
.sl17-chart-plot{
  height:215px!important;
  margin-top:10px!important;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(14,165,233,.012),rgba(14,165,233,.035));
}
.sl17-chart-gridlines{left:28px!important;right:28px!important;top:116px!important;bottom:48px!important;opacity:.95}
.sl17-chart-gridlines i{border-top-color:#e8f0f6!important}
.sl17-chart-area{fill:rgba(14,165,233,.145)!important}
.sl17-chart-line{stroke-width:3.4!important}
.sl17-chart-axis{margin-top:8px!important}

/* Legacy theme chart, used when Collector's public template is unavailable. */
.sl-detail-chart-card{padding:25px 28px 22px;background:linear-gradient(180deg,#fff,#fbfeff);box-shadow:0 9px 30px rgba(10,45,91,.05)}
.sl-large-chart{height:205px;margin-top:10px;border-radius:14px;background:linear-gradient(180deg,rgba(14,165,233,.012),rgba(14,165,233,.035))}

/* Static foundation pages: calm readable policy layout. */
body.page .sl-page-hero-simple{padding-top:64px;padding-bottom:38px}
body.page .sl-page-hero-simple h1{max-width:920px}
body.page .sl-page-hero-simple p{max-width:820px}
body.page .sl-prose.entry-content{max-width:850px}
body.page .entry-content h2{margin-top:1.85em}
body.page .entry-content h3{margin-top:1.45em}
body.page .entry-content ul{padding-left:1.25em}
body.page .entry-content li{margin:.35em 0}

@media(max-width:780px){
  .sl17-chart-card{padding:21px!important}
  .sl17-chart-plot{height:195px!important}
  .sl17-chart-gridlines{left:21px!important;right:21px!important;top:122px!important;bottom:45px!important}
}
@media(max-width:640px){
  .sl-hero-visual{min-height:305px}
  .sl-hero-chart-card{height:188px;width:min(350px,84%);padding:18px 20px 13px}
  .sl-hero-chart-example{right:16px;top:13px;font-size:.48rem}
  .sl-hero-chart-card strong{font-size:1.7rem}
  .sl-hero-chart-plot{height:101px;margin-top:6px}
  .sl-ring-1{width:285px;height:285px}.sl-ring-2{width:220px;height:220px}.sl-ring-3{width:145px;height:145px}
  .sl17-chart-plot{height:176px!important}
}
