/* Sveriges Second hand-index 2027 */
.idx27 {color: var(--hsh-ink); padding-bottom: 3rem;}
.idx27 a {color: var(--hsh-teal-dark);}
.idx27 a:hover {color: var(--hsh-teal);}
.idx27-wrap {max-width: 1100px;}
.idx27-banner {background: #f8e3af; border: 1px solid #e6d08a; border-radius: .55rem; padding: .9rem 1.1rem; margin: 0 0 1.5rem; color: #152531;}
.idx27-banner strong {font-weight: 650;}
.idx27 h1 {font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem;}
.idx27 .idx27-lead {font-size: 1.15rem; color: #4a5560; margin-bottom: 1.5rem;}
.idx27-top {display: grid; grid-template-columns: 1fr; gap: .8rem; margin: 0 0 1.75rem;}
@media (min-width: 768px) {
  .idx27-top {grid-template-columns: repeat(3, 1fr);}
}
.idx27-topcard {background: #fff; border: 1px solid var(--hsh-line); border-radius: .7rem; padding: 1rem 1.1rem 1.15rem; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s;}
.idx27-topcard:hover {box-shadow: 0 6px 18px rgba(21,37,49,.08); color: inherit;}
.idx27-place {display: inline-block; background: var(--hsh-teal); color: #fff; border-radius: 2rem; padding: .15rem .65rem; font-size: .75rem; font-weight: 650; letter-spacing: .02em;}
.idx27-topcard h2 {font-size: 1.45rem; font-weight: 700; margin: .55rem 0 .25rem;}
.idx27-topcard p {margin: 0; color: #4a5560; font-size: .95rem;}
.idx27-filters {display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin: 0 0 1rem;}
.idx27-filters label {display: block; font-weight: 650; font-size: .9rem; margin-bottom: .25rem;}
.idx27-filters .form-control, .idx27-filters .form-select {border-radius: 2rem; border-color: var(--hsh-line); padding: .45rem 1rem; min-width: 14rem;}
.idx27-filters .btn {border-radius: 2rem; background: var(--hsh-teal); border-color: var(--hsh-teal); padding: .45rem 1.1rem;}
.idx27-filters .btn:hover {background: var(--hsh-teal-dark); border-color: var(--hsh-teal-dark);}
.idx27-count {margin-left: auto; color: #6c675c; font-size: .9rem; padding-bottom: .4rem;}
.idx27-table {width: 100%; border-collapse: collapse; margin: 0 0 1rem;}
.idx27-table th, .idx27-table td {padding: .65rem .4rem; border-bottom: 1px solid var(--hsh-line); vertical-align: middle;}
.idx27-table th {font-size: .8rem; font-weight: 650; color: #4a5560; text-align: left;}
.idx27-table td.num, .idx27-table th.num {text-align: right;}
.idx27-table td.rank {font-variant-numeric: tabular-nums; color: #4a5560; width: 3.2rem;}
.idx27-table .komm {font-weight: 600; text-decoration: none; color: var(--hsh-teal-dark);}
.idx27-score {display: flex; align-items: center; gap: .5rem; justify-content: flex-end; font-weight: 700; font-variant-numeric: tabular-nums;}
.idx27-bar {flex: 0 0 5.5rem; height: .45rem; background: #eee8dc; border-radius: 2rem; overflow: hidden;}
.idx27-bar > span {display: block; height: 100%; background: var(--hsh-teal); border-radius: 2rem;}
.idx27-zero td {color: #6c675c;}
.idx27-more {display: inline-block; border: 1px solid var(--hsh-ink); color: var(--hsh-ink); border-radius: 2rem; padding: .4rem 1rem; text-decoration: none; font-weight: 500;}
.idx27-more:hover {background: var(--hsh-sand); color: var(--hsh-ink);}
.idx27-sources {margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--hsh-line); color: #6c675c; font-size: .9rem;}
.idx27-kpis {display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1.5rem;}
@media (min-width: 768px) {
  .idx27-kpis {grid-template-columns: repeat(4, 1fr);}
}
.idx27-kpi {background: #fff; border: 1px solid var(--hsh-line); border-radius: .7rem; padding: .9rem 1rem 1rem;}
.idx27-kpi .lbl {font-size: .85rem; color: #4a5560; margin-bottom: .2rem;}
.idx27-kpi .val {font-size: 1.8rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em;}
.idx27-kpi .sub {font-size: .85rem; color: #6c675c; margin-top: .15rem;}
.idx27-grid {display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0 0 2rem;}
@media (min-width: 900px) {
  .idx27-grid {grid-template-columns: 1.3fr .7fr;}
}
.idx27-panel {background: #f7f4ee; border: 1px solid var(--hsh-line); border-radius: .7rem; padding: 1rem 1.15rem 1.2rem;}
.idx27-panel h2 {font-size: 1.05rem; font-weight: 700; margin: 0 0 .85rem;}
.idx27-part {display: grid; grid-template-columns: 1fr auto; gap: .15rem .75rem; padding: .55rem 0; border-bottom: 1px solid #e7e1d6;}
.idx27-part:last-child {border-bottom: 0;}
.idx27-part .name {font-weight: 650;}
.idx27-part .hint {grid-column: 1 / -1; font-size: .8rem; color: #6c675c;}
.idx27-part .barwrap {grid-column: 1 / -1; height: .4rem; background: #e7e1d6; border-radius: 2rem; overflow: hidden; margin-top: .25rem;}
.idx27-part .barwrap > span {display: block; height: 100%; background: var(--hsh-teal);}
.idx27-back {display: inline-block; margin-bottom: .8rem; text-decoration: none; font-weight: 500;}
.idx27-lanlist {list-style: none; margin: 0; padding: 0;}
.idx27-lanlist li {display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--hsh-line);}
.idx27-lanlist li.is-current {font-weight: 700;}
.idx27-lanlist a {text-decoration: none;}
.idx27-metod h2 {margin-top: 1.75rem;}
.idx27-metod table {width: 100%; border-collapse: collapse; margin: 1rem 0;}
.idx27-metod th.idx27-col-vikt, .idx27-metod td.idx27-col-vikt {white-space: nowrap;}
.idx27-metod th, .idx27-metod td {padding: .5rem .4rem; border-bottom: 1px solid var(--hsh-line); text-align: left; vertical-align: top;}
@media (max-width: 600px) {
  .idx27-hide-sm {display: none;}
  .idx27-bar {flex-basis: 3.2rem;}
  .idx27-filters {width: 100%;}
  .idx27-filters > div {flex: 1 1 100%; max-width: 100%;}
  .idx27-filters .form-control, .idx27-filters .form-select {min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box;}
  .idx27-count {margin-left: 0;}
}

/* Sveriges Second hand-index 2027 — list page redesign (.shi-) */
.shi { color: #172634; }
.shi *, .shi *::before, .shi *::after { box-sizing: border-box; }
.shi-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.shi-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.shi-hero {
  background: #172634;
  color: #fff;
  padding: 72px 0 150px;
}
.shi-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.shi-hero-copy {
  flex: 999 1 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.shi-kicker {
  margin: 0;
  color: #f7b30a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shi-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.shi-lead {
  margin: 0;
  max-width: 620px;
  color: #e6ebef;
  font-size: 21px;
  line-height: 1.5;
}
.shi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.shi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
}
.shi-btn:hover, .shi-btn:focus { text-decoration: none; }
.shi-btn:focus-visible {
  outline: 3px solid #f7b30a;
  outline-offset: 2px;
}
.shi-btn-find {
  background: #f7b30a;
  color: #172634;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 999px;
  min-height: 52px;
}
.shi-btn-find:hover { color: #172634; background: #e5a40a; }
.shi-btn-ghost {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid #4a5a68;
  min-height: 52px;
}
.shi-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.06); border-color: #6a7a88; }
.shi-hero-art {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
  padding: 28px 32px;
  min-width: 0;
}
.shi-hero-art-inner {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
}
.shi-hero-art-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  transform: rotate(3deg);
}
.shi-badge {
  position: absolute;
  top: -22px;
  right: -22px;
  background: #fffaf3;
  border: 4px solid #172634;
  border-radius: 22px;
  padding: 16px 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  text-align: left;
  line-height: 1;
}
.shi-badge-label {
  display: block;
  color: #b52e13;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shi-badge-year {
  display: block;
  color: #172634;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

/* Top 3 */
.shi-top {
  margin-top: -100px;
  padding-bottom: 8px;
  position: relative;
  z-index: 1;
}
.shi-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.shi-topcard {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 24px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: #172634;
  min-height: 100%;
}
.shi-topcard:hover, .shi-topcard:focus { color: #172634; text-decoration: none; border-color: #d9cfbb; }
.shi-topcard:focus-visible {
  outline: 3px solid #f7b30a;
  outline-offset: 2px;
}
.shi-topcard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.shi-topcard-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shi-topcard-place {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #172634;
}
.shi-topcard-name {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}
.shi-topcard-lan {
  margin: 0;
  font-size: 16px;
  color: #4a5560;
}
.shi-trophy {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shi-topcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-top: 1px solid #ece3d3;
  padding-top: 14px;
}
.shi-top-score { display: inline-flex; flex-direction: column; align-items: flex-start; }
.shi-top-score-num {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.shi-top-score-lbl { font-size: 14px; font-weight: 600; }
.shi-top-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
  font-size: 15px;
  font-weight: 500;
  color: #172634;
}

/* Ranking section */
.shi-rankings { padding: 80px 0 24px; }
.shi-section-head { margin: 0 0 24px; }
.shi-h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #172634;
  line-height: 1.15;
}
.shi-sub {
  margin: 8px 0 0;
  font-size: 17px;
  color: #4a5560;
}
.shi-stack { display: flex; flex-direction: column; gap: 24px; }

/* Filters */
.shi-filters {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}
.shi-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.shi-field-search { flex: 2 1 260px; }
.shi-field-lan { flex: 1 1 220px; }
.shi-field label { font-size: 14px; font-weight: 600; color: #172634; }
.shi-input-wrap { position: relative; }
.shi-input-wrap .shi-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #4a5560;
  pointer-events: none;
}
.shi-input, .shi-select {
  width: 100%;
  background: #fff;
  border: 1px solid #d5d9dd;
  border-radius: 14px;
  font-family: inherit;
  font-size: 17px;
  color: #172634;
  padding: 13px 16px;
  min-height: 52px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}
.shi-input { padding-left: 46px; }
.shi-select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234a5560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}
.shi-input:focus, .shi-select:focus {
  outline: 3px solid #f7b30a;
  outline-offset: 1px;
  border-color: #d5d9dd;
}
.shi-btn-go {
  background: #0f7e76;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: 14px;
  min-height: 52px;
  border: 0;
}
.shi-btn-go:hover { background: #095f58; color: #fff; }
.shi-status { margin: 0; font-size: 15px; color: #4a5560; }
.shi-status strong { color: #172634; font-weight: 700; }

/* Table */
.shi-table-wrap {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.shi-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 17px;
  margin: 0;
}
.shi-table th, .shi-td {
  padding: 14px 20px;
  vertical-align: middle;
  text-align: left;
}
.shi-table thead th {
  background: #172634;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 20px;
  white-space: nowrap;
}
.shi-th-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}
.shi-th-icon svg { color: #2ebab1; flex: 0 0 auto; }
.shi-th-score { width: 38%; }
.shi-th-place { width: 90px; }
.shi-th-num { text-align: right; }
.shi-row { border-top: 1px solid #f1e9db; }
.shi-row:hover { background: #fdf3dc; }
.shi-num { text-align: right; font-variant-numeric: tabular-nums; }
.shi-rank {
  display: inline-flex;
  align-items: center;
  height: 38px;
  color: #4a5560;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.shi-rank--top { gap: 14px; color: #172634; font-weight: 800; }
.shi-rank-num { width: 34px; text-align: center; }
.shi-rank-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f9e4ae;
  font-weight: 800;
  color: #172634;
}
.shi-kommun { color: #172634; text-decoration: none; font-weight: 600; }
.shi-kommun:hover { color: #0b5f59; text-decoration: underline; text-underline-offset: 3px; }
.shi-score { display: flex; align-items: center; gap: 14px; }
.shi-score-num {
  font-weight: 800;
  font-size: 18px;
  min-width: 42px;
  font-variant-numeric: tabular-nums;
}
.shi-bar {
  flex: 1 1 auto;
  height: 8px;
  background: #f3ece0;
  border-radius: 999px;
  overflow: hidden;
  min-width: 48px;
}
.shi-bar-fill {
  height: 100%;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-image: linear-gradient(90deg, #ed4823 0%, #fd8a43 25%, #f7b30a 50%, #2ebab1 78%, #0f7e76 100%);
}
.shi-table-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.shi-btn-more {
  background: #172634;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 30px;
  border-radius: 999px;
  min-height: 52px;
}
.shi-btn-more:hover { color: #fff; background: #0f1c26; }
.shi-legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #4a5560;
}
.shi-legend-bar {
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, #ed4823 0%, #fd8a43 25%, #f7b30a 50%, #2ebab1 78%, #0f7e76 100%);
}

/* Method */
.shi-method { padding: 72px 0 48px; }
.shi-method-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0f7e76;
}
.shi-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0 0;
}
.shi-mcard {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 24px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shi-mcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.shi-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e7f4f2;
  color: #0f7e76;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
}
.shi-mcard-pct {
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.shi-mcard h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.shi-mcard p {
  margin: 6px 0 0;
  font-size: 15px;
  color: #4a5560;
}
.shi-mbar {
  height: 8px;
  background: #f3ece0;
  border-radius: 999px;
  overflow: hidden;
}
.shi-mbar > span {
  display: block;
  height: 100%;
  background: #0f7e76;
  border-radius: 999px;
}
.shi-method-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.shi-sources {
  margin: 0;
  flex: 1 1 320px;
  font-size: 15px;
  color: #4a5560;
  max-width: 640px;
}
.shi-method-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shi-btn-primary {
  background: #0f7e76;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 13px 24px;
  border-radius: 999px;
  min-height: 48px;
}
.shi-btn-primary:hover { background: #095f58; color: #fff; }
.shi-btn-csv {
  background: transparent;
  color: #172634;
  font-weight: 700;
  font-size: 17px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid #172634;
  min-height: 48px;
}
.shi-btn-csv:hover { color: #172634; background: #fffaf3; }

/* Press */
.shi-press { padding: 24px 0 120px; }
.shi-press-card {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.shi-press-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 420px;
}
.shi-press-text h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.shi-press-text p {
  margin: 6px 0 0;
  font-size: 16px;
  color: #4a5560;
}
.shi-btn-navy {
  background: #172634;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  min-height: 48px;
  flex: 0 0 auto;
}
.shi-btn-navy:hover { color: #fff; background: #0f1c26; }
.shi-empty { padding: 48px 0 80px; font-size: 17px; color: #4a5560; }

@media (max-width: 700px) {
  .shi-hero { padding: 48px 0 130px; }
  .shi-hero-inner { gap: 28px; }
  .shi-lead { font-size: 18px; }
  .shi-hero-art { padding: 18px 16px 8px; }
  .shi-badge { top: -10px; right: -10px; padding: 12px 16px; border-radius: 18px; border-width: 3px; }
  .shi-badge-year { font-size: 48px; }
  .shi-top { margin-top: -80px; }
  .shi-topcard-name { font-size: 28px; }
  .shi-rankings { padding-top: 56px; }
  .shi-method { padding: 56px 0 32px; }
  .shi-press { padding: 16px 0 80px; }
  .shi-filters { padding: 16px; }
  .shi-field-search, .shi-field-lan, .shi-btn-go { flex: 1 1 100%; }
  .shi-btn-go { width: 100%; }
  .shi-table th, .shi-td { padding: 12px 14px; }
  .shi-press-card { padding: 22px 20px; }
  .shi-press-copy { align-items: flex-start; }
}

/* Subpages: kommun + metod */
.shi-hero--sub { padding: 40px 0 130px; }
.shi-hero--plain { padding: 48px 0 64px; }
.shi-hero--sub .shi-hero-inner { align-items: flex-start; gap: 40px; }
.shi-hero--sub h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.shi-hero--sub .shi-lead { font-size: 18px; max-width: 720px; }
.shi-hero-copy { min-width: 0; }
.shi-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6ebef;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  width: fit-content;
}
.shi-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.shi-score-panel {
  flex: 0 1 280px;
  background: #fffaf3;
  border: 4px solid #172634;
  border-radius: 24px;
  padding: 22px 24px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shi-score-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.shi-score-panel-place {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4a5560;
}
.shi-score-panel-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #172634;
  font-variant-numeric: tabular-nums;
}
.shi-score-panel-lbl { font-size: 15px; font-weight: 600; color: #4a5560; }
.shi-kpis { margin-top: -90px; position: relative; z-index: 1; padding-bottom: 8px; }
.shi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.shi-kpi {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 24px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shi-kpi-lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5560;
}
.shi-kpi-lbl svg { color: #0f7e76; }
.shi-kpi-val {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.shi-kpi-sub { font-size: 14px; font-weight: 500; color: #4a5560; }
.shi-block { padding: 56px 0 0; }
.shi-block:last-of-type, .shi-block--last { padding-bottom: 100px; }
.shi-split {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  align-items: start;
}
.shi-card {
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 24px;
  padding: 26px 28px;
}
.shi-card h2, .shi-card-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.shi-part + .shi-part { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ece3d3; }
.shi-part-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.shi-part-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
}
.shi-part-name .shi-ico { width: 40px; height: 40px; flex-basis: 40px; }
.shi-part-name .shi-ico svg { width: 20px; height: 20px; }
.shi-part-weight { font-size: 14px; font-weight: 600; color: #4a5560; white-space: nowrap; }
.shi-part-score {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.shi-part-hint { margin: 6px 0 10px; font-size: 14px; color: #4a5560; }
.shi-lanlist { list-style: none; margin: 0; padding: 0; }
.shi-lanrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid #f1e9db;
  font-variant-numeric: tabular-nums;
}
.shi-lanrow:first-child { border-top: 0; }
.shi-lanrow.is-current {
  background: #fdf3dc;
  margin: 0 -12px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 10px;
  border-top-color: transparent;
  font-weight: 700;
}
.shi-lanrow-rank { flex: 0 0 2.2em; color: #4a5560; font-weight: 700; }
.shi-lanrow-name { flex: 1 1 auto; min-width: 0; }
.shi-lanrow-name a { color: #172634; text-decoration: none; font-weight: 600; }
.shi-lanrow-name a:hover { color: #0b5f59; text-decoration: underline; text-underline-offset: 3px; }
.shi-lanrow-score { font-weight: 700; min-width: 42px; text-align: right; }
.shi-empty-card { color: #4a5560; font-size: 17px; margin: 0; }
.shi-shops .hsh-cards { margin-bottom: 0; }
.shi-footline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* Metod article */
.shi-article { padding: 56px 0 100px; }
.shi-prose { max-width: 820px; }
.shi-prose h2 {
  margin: 2.2rem 0 .7rem;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #172634;
}
.shi-prose h2:first-child { margin-top: 0; }
.shi-prose p {
  margin: 0 0 1rem;
  font-size: 17px;
  line-height: 1.65;
  color: #4a5560;
}
.shi-prose p strong { color: #172634; }
.shi-code {
  display: block;
  background: #fff;
  border: 1px solid #ece3d3;
  border-radius: 16px;
  padding: 16px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #172634;
  overflow-x: auto;
  margin: 0 0 1rem;
  white-space: nowrap;
}
.shi-table--flow { min-width: 0; font-size: 16px; }
.shi-table--flow th, .shi-table--flow td { white-space: normal; vertical-align: top; }
.shi-table--flow .shi-col-weight { white-space: nowrap; width: 1%; }

@media (max-width: 900px) {
  .shi-split { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .shi-hero--sub { padding: 32px 0 110px; }
  .shi-hero--plain { padding: 32px 0 48px; }
  .shi-score-panel { flex: 1 1 100%; min-width: 0; }
  .shi-score-panel-num { font-size: 48px; }
  .shi-kpis { margin-top: -70px; }
  .shi-block { padding-top: 40px; }
  .shi-block--last, .shi-article { padding-bottom: 72px; }
  .shi-card { padding: 22px 20px; }
  .shi-kpi { padding: 18px 20px; }
  .shi-code { white-space: pre; }
}

.shi-nowrap { white-space: nowrap; }
.shi-hero--plain .shi-lead { max-width: 820px; }
.shi-table-wrap + .shi-prose { margin-top: 16px; }
