.sanatieto-pulse{max-width:1040px;margin:0 auto;color:inherit}.sanatieto-pulse .pulse-intro{margin-top:0;color:#606d7b}.sanatieto-pulse form{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin:1.5rem 0}.sanatieto-pulse label{display:flex;flex-direction:column;gap:.3rem;font-weight:600}.sanatieto-pulse select{padding:.55rem .65rem;min-width:190px;border:1px solid #b7c4ce;border-radius:6px}.sanatieto-pulse button{padding:.65rem 1rem;border:0;border-radius:6px;background:#285d88;color:white;cursor:pointer}.pulse-subtitle,.pulse-method{color:#63717f;font-size:.9rem}.pulse-cloud{padding:2rem 1.2rem;display:flex;justify-content:center;align-items:baseline;align-content:center;flex-wrap:wrap;gap:.4rem 1.1rem;background:#f5f8fa;border-radius:10px;margin:1.1rem 0 1.5rem;min-height:190px}.pulse-cloud .pulse-word{color:#285d88;line-height:1.4}.pulse-ranking{columns:2;column-gap:2rem}.pulse-ranking li{break-inside:avoid;display:flex;justify-content:space-between;border-bottom:1px solid #e4e8ee;padding:.2rem}.pulse-ranking li .pulse-count{font-variant-numeric:tabular-nums;color:#63717f}.pulse-research{border-top:1px solid #ddd;margin-top:2rem;padding-top:1rem}.pulse-research h3{margin:.4rem 0}.pulse-research p{margin:.6rem 0}@media(max-width:650px){.pulse-ranking{columns:1}.pulse-cloud{padding:1rem}}

.pulse-history{border-top:1px solid #dce4eb;margin-top:1.8rem;padding-top:1.2rem}.pulse-history h3{margin:0 0 .4rem}.pulse-history-note{color:#63717f;font-size:.9rem}.pulse-history-filter{margin:.9rem 0 1rem!important}.pulse-history-bars{display:grid;gap:.38rem;max-height:440px;overflow-y:auto;padding-right:1rem}.pulse-history-row{display:grid;grid-template-columns:3rem minmax(1rem,1fr) 2.8rem;gap:.6rem;align-items:center;font-size:.82rem;color:#495766}.pulse-history-row strong{font-variant-numeric:tabular-nums}.pulse-history-bar{height:.75rem;border-radius:3px;background:#285d88;min-width:2px}

/* 0.4.0: Sanatiedon sininen aikajaksonavigaatio */
.sanatieto-pulse{--pulse-blue:#235a88;--pulse-navy:#193f63;--pulse-pale:#edf5fb;--pulse-line:#cddfeb}
.sanatieto-pulse .pulse-tabs{display:flex;flex-wrap:wrap;gap:.4rem;border-bottom:2px solid var(--pulse-line);margin:1.3rem 0 1rem}
.sanatieto-pulse .pulse-tabs a{display:inline-block;padding:.72rem 1.15rem;color:var(--pulse-navy);border-radius:8px 8px 0 0;font-weight:650;text-decoration:none;background:#f0f5f9}
.sanatieto-pulse .pulse-tabs a.is-active,.sanatieto-pulse .pulse-tabs a:hover{background:var(--pulse-blue);color:white}
.sanatieto-pulse .pulse-summary{background:var(--pulse-pale);border:1px solid var(--pulse-line);border-left:5px solid var(--pulse-blue);border-radius:9px;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;align-items:center;padding:1.2rem 1.4rem;margin:1rem 0}
.sanatieto-pulse .pulse-summary h2{color:var(--pulse-navy);font-size:1.4rem;line-height:1.25;margin:.2rem 0 0}
.sanatieto-pulse .pulse-summary-eyebrow{color:var(--pulse-blue);font-size:.82rem;font-weight:700}
.sanatieto-pulse .pulse-stat{display:flex;flex-direction:column;gap:.15rem;min-width:115px}
.sanatieto-pulse .pulse-stat strong{font-size:1.55rem;line-height:1.1;color:var(--pulse-navy);font-variant-numeric:tabular-nums}
.sanatieto-pulse .pulse-stat span{font-size:.78rem;color:#526b7c}
.sanatieto-pulse .pulse-cloud{background:linear-gradient(180deg,#f1f7fc,#e9f3fb);border:1px solid var(--pulse-line)}
.sanatieto-pulse .pulse-cloud .pulse-word{color:var(--pulse-blue)}
.sanatieto-pulse .pulse-cloud .pulse-word:nth-child(4n + 1){color:#143f6e}
.sanatieto-pulse .pulse-cloud .pulse-word:nth-child(5n + 2){color:#347da6}
.sanatieto-pulse .pulse-list summary{cursor:pointer;color:var(--pulse-navy);font-weight:650}
.sanatieto-pulse select:focus,.sanatieto-pulse button:focus-visible,.sanatieto-pulse a:focus-visible{outline:3px solid #77b9e8;outline-offset:2px}
@media(max-width:650px){.sanatieto-pulse .pulse-tabs a{flex:1;text-align:center;padding:.65rem .7rem}.sanatieto-pulse .pulse-summary{gap:1rem;padding:1rem}.sanatieto-pulse .pulse-stat{min-width:100px}.sanatieto-pulse .pulse-controls select{width:100%}}

/* 0.4.8: plain-text words, without dictionary navigation. */
.sanatieto-pulse .pulse-cloud .pulse-word{line-height:1.4;overflow-wrap:anywhere;max-width:100%}
.sanatieto-pulse .pulse-ranking .pulse-word{min-width:0;overflow-wrap:anywhere;color:inherit}
.sanatieto-pulse .pulse-ranking li{gap:.65rem}
.sanatieto-pulse .pulse-count{flex-shrink:0}
.sanatieto-pulse .pulse-source-note{font-size:.83rem;color:#63717f;margin:-.75rem 0 1rem}

/* 0.4.3: compact previous-week ranking on the homepage. */
.sanatieto-pulse.pulse-weekly{box-sizing:border-box;max-width:none;margin:1.4rem 0;padding:1rem 1.2rem;background:#edf5fb;border:1px solid #cddfeb;border-radius:8px;color:#193f63;text-align:left}
.pulse-weekly h2{font-size:1.15rem;margin:0 0 .35rem;color:#193f63}
.pulse-weekly .pulse-weekly-meta{font-size:.8rem;color:#526b7c;margin:.3rem 0 .65rem}
.pulse-weekly .pulse-weekly-words{display:flex;flex-wrap:wrap;gap:.45rem 1.5rem;margin:.55rem 0 .7rem;padding-left:1.4rem;list-style:decimal}
.pulse-weekly .pulse-weekly-words li{padding:.12rem .15rem;overflow-wrap:anywhere;max-width:100%}
.pulse-weekly .pulse-word{color:#235a88;font-weight:600}
.pulse-weekly .pulse-weekly-count{font-size:.78rem;color:#526b7c;margin-left:.4rem;white-space:nowrap}
.pulse-weekly .pulse-weekly-more{margin:.55rem 0 0;font-size:.9rem}
.pulse-weekly .pulse-weekly-more a{color:#235a88;font-weight:600}
@media(max-width:600px){.pulse-weekly .pulse-weekly-words{display:block}.pulse-weekly .pulse-weekly-words li{margin:.2rem 0}}
/* Front-page right column: keep the compact list in the same layout cell. */
.sanatieto-pulse.pulse-weekly.pulse-weekly-home{width:100%;min-width:0;margin:0 0 1rem;padding:.85rem 1rem;overflow-wrap:anywhere}
.pulse-weekly-home .pulse-weekly-words{display:block;margin:.45rem 0 .55rem;padding-left:1.3rem}
.pulse-weekly-home .pulse-weekly-words li{margin:.15rem 0}

/* 0.4.6: separate comparable rankings within the same compact weekly panel. */
.pulse-weekly .pulse-weekly-group h3{font-size:.92rem;line-height:1.3;margin:.45rem 0 .2rem;color:#193f63}
.pulse-weekly .pulse-weekly-group+.pulse-weekly-group{border-top:1px solid #cddfeb;margin-top:.65rem;padding-top:.35rem}
.pulse-weekly .pulse-weekly-sources{font-size:.74rem;margin:.2rem 0 .35rem}
.pulse-weekly .pulse-weekly-date{margin-bottom:.6rem}

.pulse-weekly .pulse-weekly-search {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.stsb-landing .quick .pulse-weekly-home {
  margin-top: 1rem;
}

.stsb-landing .quick .pulse-weekly-home h2 {
  font: 400 1.1rem/1.25 Georgia, serif;
  letter-spacing: normal;
  margin: 0 0 .35rem;
}

.stsb-landing .quick .pulse-weekly-home a {
  display: inline;
  padding: 0;
  border: 0;
}
