/*!
 * Mashoouf Shared Comparison System
 * P8.18-D Pilot
 * Scope: .msh-comparison
 */

.msh-comparison{
  --mshcmp-green:#173F2A;
  --mshcmp-green-2:#244F38;
  --mshcmp-text:#2A3B31;
  --mshcmp-muted:#68716B;
  --mshcmp-gold:#B68A3A;
  --mshcmp-gold-2:#C39B4B;
  --mshcmp-cream:#F7F4EE;
  --mshcmp-cream-2:#F4F0E8;
  --mshcmp-border:#E5DBC6;
  --mshcmp-white:#FFFFFF;
  --mshcmp-shadow:0 18px 50px rgba(23,63,42,.075);
  max-width:1180px;
  margin:54px auto;
  padding:36px;
  color:var(--mshcmp-text);
  background:
    radial-gradient(circle at 86% 4%,rgba(255,255,255,.96),transparent 35%),
    linear-gradient(145deg,#FFFFFF 0%,#FBF9F5 55%,#F7F4EE 100%);
  border:1px solid var(--mshcmp-border);
  border-radius:28px;
  box-shadow:var(--mshcmp-shadow);
  box-sizing:border-box
}
.msh-comparison *,
.msh-comparison *::before,
.msh-comparison *::after{box-sizing:border-box}

.msh-comparison__eyebrow{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  margin:0 0 8px;color:var(--mshcmp-gold);font-size:12px;font-weight:850
}
.msh-comparison__eyebrow::before,
.msh-comparison__eyebrow::after{
  content:"";width:28px;height:1px;
  background:linear-gradient(90deg,transparent,var(--mshcmp-gold))
}
.msh-comparison__eyebrow::after{transform:rotate(180deg)}

.msh-comparison__legend{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  max-width:760px;margin:0 auto 22px
}
.msh-comparison__legend-item{
  display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;
  background:rgba(255,255,255,.78);border:1px solid var(--mshcmp-border);border-radius:16px
}
.msh-comparison__legend-item>span{
  flex:0 0 10px;width:10px;height:34px;border-radius:999px
}
.msh-comparison__legend-item--a>span{
  background:linear-gradient(180deg,var(--mshcmp-gold-2),var(--mshcmp-gold))
}
.msh-comparison__legend-item--b>span{background:var(--mshcmp-green)}
.msh-comparison__legend-item strong{
  display:block;margin:0 0 2px;color:var(--mshcmp-green);font-size:13px;font-weight:900
}
.msh-comparison__legend-item small{
  display:block;color:#7A817C;font-size:10px;line-height:1.7
}

.msh-comparison__scroll::-webkit-scrollbar-track{border-radius:999px}

.msh-comparison__table caption{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap
}
.msh-comparison__table th,
.msh-comparison__table td{
  padding:17px 20px;border:0;  text-align:right;vertical-align:middle
}
.msh-comparison__table thead th{
  padding-top:20px;padding-bottom:20px;}
.msh-comparison__feature-head{width:23%;padding-right:32px!important;background:#F4F0E8!important}
.msh-comparison__option-a-head{
  width:38.5%;
  background:linear-gradient(180deg,rgba(195,155,75,.13),rgba(255,255,255,.94))!important;
  border-top:3px solid var(--mshcmp-gold)!important
}
.msh-comparison__option-b-head{
  width:38.5%;
  background:linear-gradient(180deg,rgba(23,63,42,.08),rgba(255,255,255,.94))!important;
  border-top:3px solid var(--mshcmp-green)!important
}
.msh-comparison__column-kicker{display:block;margin:0 0 4px;color:#7B827D;font-size:9px;font-weight:700}
.msh-comparison__table thead strong{display:block;font-size:14px;font-weight:950}
.msh-comparison__table tbody th{
  position:relative;padding-right:32px!important;font-size:12px;font-weight:900
}
.msh-comparison__table tbody th::before{
  content:"";position:absolute;top:50%;right:12px;width:3px;height:20px;
  border-radius:999px;background:var(--mshcmp-gold-2);
  transform:translateY(-50%);opacity:.72
}
.msh-comparison__table tbody td{color:#555F58;background:#fff;font-size:12.5px;line-height:1.9}
.msh-comparison__table tbody td:last-child{background:rgba(247,244,238,.44)}
.msh-comparison__table tbody tr:nth-child(even) td{background:#FCFBF8}
.msh-comparison__table tbody tr:nth-child(even) td:last-child{background:rgba(244,240,232,.72)}
@media (hover:hover){
  .msh-comparison__table tbody tr:hover th,
  .msh-comparison__table tbody tr:hover td{background:#F8F5EE}
  .msh-comparison__table tbody tr:hover td:last-child{background:#F5EEDF}
}
.msh-comparison__table a{
  border-bottom:1px dashed rgba(23,63,42,.35)
}
.msh-comparison__emphasis{color:#946B20;font-weight:850}

.msh-comparison__pill{
  display:inline-flex;align-items:center;justify-content:center;min-height:30px;
  padding:5px 11px;border-radius:999px;font-size:10.5px;font-weight:850;line-height:1.6
}
.msh-comparison__pill--gold{
  color:#8E681E;background:#F7EEDB;border:1px solid #E7D3A6
}
.msh-comparison__pill--green{
  color:#173F2A;background:#EAF2ED;border:1px solid #CADDD0
}

.msh-comparison__mobile-note{
margin:9px 0 0;color:#858B87;font-size:10px;text-align:center
}
.msh-comparison__footer{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  margin-top:20px;padding:18px 20px;background:rgba(244,240,232,.72);
  border:1px solid var(--mshcmp-border);border-radius:17px
}
.msh-comparison__footer>p{
  flex:1 1 auto;margin:0;color:#68716B;font-size:11.5px;line-height:1.95
}
.msh-comparison__actions{flex:0 0 auto;display:flex;align-items:stretch;gap:10px}

.msh-comparison .msh-comparison__cta,
.msh-comparison .msh-comparison__cta:visited{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;min-height:46px!important;margin:0!important;padding:0 17px!important;
  border-radius:11px!important;font-family:inherit!important;font-size:11px!important;
  font-weight:850!important;line-height:1.4!important;text-align:center!important;
  text-decoration:none!important;text-transform:none!important;text-shadow:none!important;
  white-space:nowrap!important;opacity:1!important;visibility:visible!important;filter:none!important;
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease!important
}
.msh-comparison .msh-comparison__cta--primary,
.msh-comparison .msh-comparison__cta--primary:visited{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:#173F2A!important;border:1px solid #173F2A!important;
  box-shadow:0 9px 24px rgba(23,63,42,.18)!important
}
.msh-comparison .msh-comparison__cta--secondary,
.msh-comparison .msh-comparison__cta--secondary:visited{
  color:#946B20!important;-webkit-text-fill-color:#946B20!important;
  background:#fff!important;border:1px solid #C39B4B!important;box-shadow:none!important
}
@media (hover:hover){
  .msh-comparison .msh-comparison__cta--primary:hover,
  .msh-comparison .msh-comparison__cta--primary:focus{
    color:#fff!important;background:#0F3020!important;border-color:#0F3020!important;
    transform:translateY(-2px);box-shadow:0 12px 28px rgba(23,63,42,.22)!important
  }
  .msh-comparison .msh-comparison__cta--secondary:hover,
  .msh-comparison .msh-comparison__cta--secondary:focus{
    color:#805C1A!important;background:#FBF5E9!important;border-color:#B68A3A!important;
    transform:translateY(-2px)
  }
}

@media(max-width:900px){
  .msh-comparison__footer{flex-direction:column;align-items:stretch}
  .msh-comparison__actions{width:100%}
  .msh-comparison .msh-comparison__cta{flex:1 1 0}
}

@media(max-width:768px){
  .msh-comparison{
    width:calc(100% - 22px);margin:34px auto;padding:20px 12px;border-radius:22px
  }
  .msh-comparison__header{margin-bottom:20px}
  .msh-comparison__header h2{font-size:22px;line-height:1.75}
  .msh-comparison__header p{font-size:12px;line-height:2}
  .msh-comparison__legend{grid-template-columns:1fr;gap:8px;margin-bottom:18px}
  .msh-comparison__legend-item{padding:12px 13px}
  .msh-comparison__scroll{overflow:visible;border:0;background:transparent;box-shadow:none;border-radius:0}
  .msh-comparison__table{display:block;width:100%;min-width:0;border-collapse:separate;border-spacing:0;background:transparent}
  .msh-comparison__table thead{display:none}
  .msh-comparison__table tbody{display:grid;gap:12px}
  .msh-comparison__table tr{
    display:block;overflow:hidden;background:#fff;border:1px solid var(--mshcmp-border);
    border-radius:18px;box-shadow:0 10px 26px rgba(23,63,42,.055)
  }
  .msh-comparison__table tbody th{
    display:block;width:100%;padding:14px 18px!important;color:#173F2A;
    background:linear-gradient(90deg,rgba(195,155,75,.13),rgba(255,255,255,.96));
    border:0;border-bottom:1px solid #EEE8DE;font-size:13px;font-weight:950
  }
  .msh-comparison__table tbody th::before{right:8px;height:22px}
  .msh-comparison__table tbody td{
    display:grid;grid-template-columns:minmax(92px,.85fr) minmax(0,1.15fr);
    align-items:center;gap:10px;width:100%;padding:12px 14px!important;border:0;
    border-bottom:1px dashed #ECE5DA;background:#fff!important;color:#4F5B54;
    font-size:12.5px;line-height:1.85
  }
  .msh-comparison__table tbody td::before{
    content:attr(data-label);color:#7A817C;font-size:11px;font-weight:900
  }
  .msh-comparison__table tbody td:last-child{border-bottom:0;background:#FFFCF7!important}
  .msh-comparison__pill{width:max-content;max-width:100%;min-height:28px;padding:4px 9px;font-size:10px}
  .msh-comparison__mobile-note{display:block}
  .msh-comparison__footer{flex-direction:column;align-items:stretch;gap:14px;padding:15px}
  .msh-comparison__actions{width:100%;flex-direction:column}
  .msh-comparison .msh-comparison__cta{width:100%!important}
}

@media(max-width:390px){
  .msh-comparison{width:calc(100% - 16px);padding:18px 10px}
  .msh-comparison__table tbody td{grid-template-columns:1fr;gap:4px}
  .msh-comparison__table tbody td::before{color:#946B20}
}

@media(prefers-reduced-motion:reduce){
  .msh-comparison *{scroll-behavior:auto!important;transition:none!important}
}

/* P8.18-F-R2 BEST-RICE MATRIX VARIANT */

/*
 * The pillar article already owns its section spacing and background.
 * Neutralize the generic comparison root so we do not create a nested card.
 */
.msh-comparison.msh-comparison--matrix{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
}

.msh-comparison--matrix .msh-comparison__scroll{
  border:0;
  border-radius:0;
  box-shadow:none;
}

.msh-comparison--matrix .msh-comparison__table--matrix{
  width:100%;
  min-width:980px;
  table-layout:auto;
  border-collapse:separate;
  border-spacing:0;
  font-size:13.5px;
}

.msh-comparison--matrix .msh-comparison__table--matrix thead th{
  padding:14px 12px;
  text-align:center;
  white-space:nowrap;
}

.msh-comparison--matrix .msh-comparison__table--matrix thead th:first-child{
  min-width:165px;
  text-align:right;
}

.msh-comparison--matrix .msh-comparison__table--matrix tbody th,
.msh-comparison--matrix .msh-comparison__table--matrix tbody td{
  padding:14px 12px;
  border-left:1px solid #F1ECE4;
  text-align:center;
  vertical-align:middle;
}

.msh-comparison--matrix .msh-comparison__table--matrix tbody th{
  position:sticky;
  right:0;
  z-index:2;
  padding-right:12px!important;
  text-align:right;
}

.msh-comparison--matrix .msh-comparison__table--matrix tbody th::before{
  display:none;
}

.msh-comparison--matrix .msh-comparison__table-link{
  color:var(--mshcmp-green);
  font-weight:900;
  text-decoration:none;
  border-bottom:1px dashed #8AA493;
}

/*
 * Preserve article-specific semantic pill colours.
 * Shared system only standardises geometry/typography.
 */
.msh-comparison--matrix .mbr-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:74px;
  padding:4px 9px;
  border-radius:999px;
  font-size:11.5px;
  line-height:1.55;
  font-weight:850;
  white-space:nowrap;
}

@media(max-width:820px){
  .msh-comparison.msh-comparison--matrix{
    width:100%;
    margin:0;
    padding:0;
    background:transparent;
    overflow:visible;
  }

  .msh-comparison--matrix .msh-comparison__scroll{
    overflow:visible;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix{
    min-width:0;
    border-spacing:0 12px;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix thead{
    display:none;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody{
    display:block;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr{
    display:block;
    margin:0 0 12px;
    border:1px solid var(--mshcmp-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 22px rgba(31,54,40,.055);
    overflow:hidden;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody th{
    position:static;
    display:block;
    width:100%;
    padding:15px 16px!important;
    border:0;
    border-bottom:1px solid #ECE6DC;
    background:linear-gradient(90deg,#F6F1E7,#fff);
    box-shadow:none;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody th::before{
    display:none;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody td{
    display:grid;
    grid-template-columns:minmax(108px,.8fr) minmax(0,1.2fr);
    align-items:center;
    gap:10px;
    width:100%;
    padding:10px 14px!important;
    border:0;
    border-bottom:1px dashed #ECE5DA;
    background:#fff!important;
    text-align:left;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody td::before{
    content:attr(data-label);
    color:#6B766F;
    text-align:right;
    font-size:12px;
    font-weight:850;
  }

  .msh-comparison--matrix .msh-comparison__table--matrix tbody td:last-child{
    border-bottom:0;
  }
}

/* P8.18-F-R3 PREMIUM TABLE POLISH */

/*
 * Premium direction:
 * - ivory / white surfaces
 * - deep Mashoouf green for hierarchy
 * - matte gold only as accent
 * - no rainbow table chrome
 * - subtle borders instead of heavy fills
 */

.msh-comparison{
  --mshcmp-green:#173F2A;
  --mshcmp-green-soft:#EAF1EC;
  --mshcmp-gold:#B68A3A;
  --mshcmp-gold-soft:#F7F0E2;
  --mshcmp-ivory:#FBF9F4;
  --mshcmp-ivory-2:#F6F2E9;
  --mshcmp-line:#E8E0D3;
  --mshcmp-text:#26362D;
  --mshcmp-muted:#6D746F;
}

/* Shared table shell */


/* Premium header: light, calm, not a dark dashboard */


/* Primary comparison columns keep only a top brand accent */
.msh-comparison__option-a-head,
.msh-comparison__option-b-head{
  background:#FBF9F4!important;
  border-top:3px solid transparent!important;
}

.msh-comparison__option-a-head{
  border-top-color:var(--mshcmp-gold)!important;
}

.msh-comparison__option-b-head{
  border-top-color:var(--mshcmp-green)!important;
}

/* Rows: no zebra-block feeling */
.msh-comparison__table tbody th{
  color:var(--mshcmp-green)!important;
  background:#FBF9F5!important;
}

.msh-comparison__table tbody td,
.msh-comparison__table tbody td:last-child,
.msh-comparison__table tbody tr:nth-child(even) td,
.msh-comparison__table tbody tr:nth-child(even) td:last-child{
  color:#4F5A53!important;
  background:#FFFEFC!important;
}

.msh-comparison__table th,
.msh-comparison__table td{
  border-bottom:1px solid #EEE8DE!important;
}

@media (hover:hover){
  .msh-comparison__table tbody tr:hover th,
  .msh-comparison__table tbody tr:hover td,
  .msh-comparison__table tbody tr:hover td:last-child{
    background:#FAF7F0!important;
  }
}

/* Pills: unified premium language */
.msh-comparison__pill,
.msh-comparison--matrix .mbr-pill{
  min-height:28px!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  font-weight:850!important;
}

/* Gold family */
.msh-comparison__pill--gold,
.msh-comparison--matrix .mbr-pill--top,
.msh-comparison--matrix .mbr-pill--price1,
.msh-comparison--matrix .mbr-pill--price2{
  color:#7B5A1C!important;
  background:#F7F0E2!important;
  border-color:#E9D7B3!important;
}

/* Green family */
.msh-comparison__pill--green,
.msh-comparison--matrix .mbr-pill--high,
.msh-comparison--matrix .mbr-pill--price3,
.msh-comparison--matrix .mbr-pill--stay-high{
  color:#1F5A3A!important;
  background:#EAF1EC!important;
  border-color:#D2E1D7!important;
}

/* Neutral family */
.msh-comparison--matrix .mbr-pill--mid,
.msh-comparison--matrix .mbr-pill--mild,
.msh-comparison--matrix .mbr-pill--stay-low{
  color:#5F625F!important;
  background:#F3F0EA!important;
  border-color:#E3DED5!important;
}

/* Best-rice matrix: premium editorial table */
.msh-comparison.msh-comparison--matrix{
  background:#FFFEFC!important;
  border-radius:22px!important;
}

/*
 * Override the old dark-green matrix header.
 * Ivory header + green type + thin gold brand rule.
 */
.msh-comparison--matrix .msh-comparison__table--matrix thead th{
  color:#173F2A!important;
  background:#F7F3EB!important;
  border-top:3px solid #B68A3A!important;
  border-left:1px solid #E8E0D3!important;
  border-bottom:1px solid #DDD3C3!important;
  font-weight:900!important;
}

.msh-comparison--matrix .msh-comparison__table--matrix thead th:first-child{
  background:#F1ECE3!important;
}

.msh-comparison--matrix .msh-comparison__table--matrix tbody th{
  color:#173F2A!important;
  background:#FBF9F4!important;
}

.msh-comparison--matrix .msh-comparison__table--matrix tbody td{
  background:#FFFEFC!important;
  border-left:1px solid #F0EADF!important;
  border-bottom:1px solid #EEE8DE!important;
}

.msh-comparison--matrix .msh-comparison__table--matrix tbody tr:nth-child(even) td{
  background:#FCFAF6!important;
}

/* Links should read as editorial, not promotional */
.msh-comparison--matrix .msh-comparison__table-link,
.msh-comparison__table a{
  color:#214D36!important;
  border-bottom:1px solid rgba(33,77,54,.28)!important;
  text-decoration:none!important;
  font-weight:850!important;
}

/* Reduce visual noise from sticky first column */
.msh-comparison--matrix .msh-comparison__table--matrix tbody th{
  box-shadow:-6px 0 12px rgba(23,63,42,.025)!important;
}

/* Mobile cards inherit the same calm palette */
@media(max-width:820px){
  .msh-comparison__table tbody tr,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr{
    border:1px solid #E5DCCE!important;
    background:#FFFEFC!important;
    box-shadow:0 8px 22px rgba(23,63,42,.045)!important;
  }

  .msh-comparison__table tbody th,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody th{
    color:#173F2A!important;
    background:#F7F3EB!important;
    border-bottom:1px solid #E7DED0!important;
  }

  .msh-comparison__table tbody td,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td{
    background:#FFFEFC!important;
  }

  .msh-comparison__table tbody td::before,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td::before{
    color:#7A6848!important;
  }
}

/* P8.18-F-R4 MATRIX BORDER CLEANUP */

/*
 * Keep one table-shell edge. Remove only the nested scroll-wrapper border
 * that made the desktop table show one extra visible outer line.
 */
.msh-comparison.msh-comparison--matrix .msh-comparison__scroll{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

.msh-comparison.msh-comparison--matrix{
  border:1px solid #E2D8C8!important;
  box-shadow:0 12px 34px rgba(23,63,42,.045)!important;
}

@media(max-width:820px){
  .msh-comparison.msh-comparison--matrix{
    border:0!important;
    box-shadow:none!important;
  }

  .msh-comparison.msh-comparison--matrix .msh-comparison__scroll{
    border:0!important;
    box-shadow:none!important;
  }
}
/* ==========================================================================
   P8.37-R2C UNIFIED ARTICLE TABLE VISUAL SYSTEM
   One visual language for every canonical article table.
   ========================================================================== */

.msh-comparison{
  --msh-table-green:#173F2A;
  --msh-table-text:#33443A;
  --msh-table-muted:#68716B;
  --msh-table-gold:#B68A3A;
  --msh-table-gold-soft:#D7B56D;
  --msh-table-line:#E8E1D6;
  --msh-table-cream:#F8F5EE;
  --msh-table-surface:#FFFEFC;
  width:100%!important;
  max-width:none!important;
  margin:34px 0 38px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--msh-table-text)!important;
  text-align:right!important;
  direction:rtl!important;
}

.msh-comparison__header{
  width:100%!important;
  max-width:none!important;
  margin:0 0 17px!important;
  text-align:right!important;
}

.msh-comparison__header h2{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 10px!important;
  padding:0 12px 0 0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--msh-table-green)!important;
  font-size:25px!important;
  font-weight:850!important;
  line-height:1.66!important;
  text-align:right!important;
}

.msh-comparison__header h2::before{
  content:""!important;
  position:absolute!important;
  top:.37em!important;
  right:0!important;
  width:3px!important;
  height:1.12em!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,var(--msh-table-gold-soft),var(--msh-table-gold))!important;
}

.msh-comparison__header h2::after{
  display:none!important;
  content:none!important;
}

.msh-comparison__header p{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  color:#536158!important;
  font-size:16px!important;
  font-weight:400!important;
  line-height:2.05!important;
  text-align:justify!important;
  text-align-last:right!important;
}

.msh-comparison__scroll{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  border:1px solid var(--msh-table-line)!important;
  border-radius:14px!important;
  background:var(--msh-table-surface)!important;
  box-shadow:none!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(182,138,58,.45) transparent!important;
}

.msh-comparison__scroll::-webkit-scrollbar{
  height:6px!important;
}

.msh-comparison__scroll::-webkit-scrollbar-track{
  background:rgba(244,240,232,.72)!important;
}

.msh-comparison__scroll::-webkit-scrollbar-thumb{
  border-radius:999px!important;
  background:rgba(182,138,58,.55)!important;
}

.msh-comparison__table{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  border:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:auto!important;
  background:#fff!important;
  color:var(--msh-table-text)!important;
  font-size:14px!important;
  line-height:1.85!important;
}

.msh-comparison__table caption{
  caption-side:top!important;
  padding:12px 16px!important;
  border:0!important;
  border-bottom:1px solid var(--msh-table-line)!important;
  background:#FBF9F5!important;
  color:#5D695F!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.8!important;
  text-align:right!important;
}

.msh-comparison__table thead{
  display:table-header-group!important;
}

.msh-comparison__table thead th{
  position:static!important;
  padding:13px 15px!important;
  border:0!important;
  border-left:1px solid var(--msh-table-line)!important;
  border-bottom:1px solid #DDD3C3!important;
  background:var(--msh-table-cream)!important;
  color:var(--msh-table-green)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.75!important;
  text-align:right!important;
  vertical-align:middle!important;
  white-space:normal!important;
  box-shadow:none!important;
}

.msh-comparison__table thead th:first-child{
  background:#F3EEE4!important;
}

.msh-comparison__table th:last-child,
.msh-comparison__table td:last-child{
  border-left:0!important;
}

.msh-comparison__table tbody th,
.msh-comparison__table tbody td{
  position:static!important;
  padding:13px 15px!important;
  border:0!important;
  border-left:1px solid #F0EBE3!important;
  border-bottom:1px solid #EEE8DE!important;
  background:#fff!important;
  color:var(--msh-table-text)!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.9!important;
  text-align:right!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  box-shadow:none!important;
}

.msh-comparison__table tbody th,
.msh-comparison__table tbody td:first-child{
  background:#FFFEFB!important;
  color:var(--msh-table-green)!important;
  font-weight:750!important;
}

.msh-comparison__table tbody tr:nth-child(even) td:not(:first-child){
  background:#FDFBF8!important;
}

.msh-comparison__table tbody tr:last-child th,
.msh-comparison__table tbody tr:last-child td{
  border-bottom:0!important;
}

.msh-comparison__table tbody tr:hover th,
.msh-comparison__table tbody tr:hover td{
  background:#FCFAF6!important;
}

.msh-comparison__table a{
  color:#7A5C17!important;
  font-weight:750!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}

.msh-comparison__table a:hover,
.msh-comparison__table a:focus-visible{
  color:var(--msh-table-green)!important;
}

.msh-comparison--matrix .msh-comparison__table{
  min-width:980px!important;
}

.msh-comparison__mobile-note{
  display:none!important;
}

@media (max-width:767px){
  .msh-comparison{
    margin:27px 0 31px!important;
  }

  .msh-comparison__header{
    margin-bottom:14px!important;
  }

  .msh-comparison__header h2{
    margin:0 0 8px!important;
    padding-right:10px!important;
    font-size:20.5px!important;
    line-height:1.70!important;
  }

  .msh-comparison__header h2::before{
    top:.42em!important;
    height:.98em!important;
  }

  .msh-comparison__header p{
    font-size:14.7px!important;
    line-height:2!important;
  }

  .msh-comparison__mobile-note{
    margin:0 0 10px!important;
    color:var(--msh-table-muted)!important;
    font-size:12px!important;
    line-height:1.8!important;
  }

  .msh-comparison__scroll,
  .msh-comparison.msh-comparison--matrix .msh-comparison__scroll{
    overflow:visible!important;
  }


  .msh-comparison__table caption{
    margin-bottom:10px!important;
  }


  .msh-comparison__table tbody,
  .msh-comparison__table tr,
  .msh-comparison__table th,
  .msh-comparison__table td{
    display:block!important;
    width:100%!important;
  }

  .msh-comparison__table tbody tr{
    margin:0 0 11px!important;
    overflow:hidden!important;
    border:1px solid var(--msh-table-line)!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:none!important;
  }

  .msh-comparison__table tbody th{
    padding:12px 13px!important;
    border:0!important;
    border-bottom:1px solid var(--msh-table-line)!important;
    background:#F8F5EE!important;
    color:var(--msh-table-green)!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1.8!important;
  }

  .msh-comparison__table tbody td{
    display:grid!important;
    grid-template-columns:minmax(105px,40%) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    padding:10px 12px!important;
    border:0!important;
    border-bottom:1px solid #EFE9E0!important;
    background:#fff!important;
    color:var(--msh-table-text)!important;
    font-size:13.2px!important;
    line-height:1.8!important;
    text-align:right!important;
  }

  .msh-comparison__table tbody td:first-child{
    background:#fff!important;
  }

  .msh-comparison__table tbody td::before{
    color:var(--msh-table-green)!important;
    font-size:12px!important;
    font-weight:750!important;
    line-height:1.8!important;
    text-align:right!important;
  }

  .msh-comparison__table tbody td[data-label=""]::before{
    display:none!important;
  }

  .msh-comparison__table tbody td:last-child{
    border-bottom:0!important;
  }

}

@media (max-width:480px){
  .msh-comparison__table tbody td{
    grid-template-columns:minmax(92px,38%) minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px 10px!important;
    font-size:12.8px!important;
  }
}
/* ==========================================================================
   P8.38-R1 MOBILE STICKY RIGHT KEY COLUMN
   ========================================================================== */
@media (max-width:767px){

  .msh-comparison__scroll,
  .msh-comparison.msh-comparison--matrix .msh-comparison__scroll{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    border:1px solid var(--msh-table-line,#E8E1D6)!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:inset -10px 0 14px -16px rgba(23,63,42,.32)!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:thin!important;
  }

  .msh-comparison__table,
  .msh-comparison--matrix .msh-comparison__table{
    display:table!important;
    width:100%!important;
    min-width:680px!important;
    margin:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    table-layout:auto!important;
    background:#fff!important;
  }

  .msh-comparison--matrix .msh-comparison__table,
  .msh-comparison--matrix .msh-comparison__table--matrix{
    min-width:980px!important;
  }

  .msh-comparison__table caption{
    position:static!important;
    display:table-caption!important;
    margin:0!important;
    padding:11px 13px!important;
    border:0!important;
    border-bottom:1px solid var(--msh-table-line,#E8E1D6)!important;
    border-radius:0!important;
    background:#FBF9F5!important;
  }

  .msh-comparison__table thead{
    position:static!important;
    display:table-header-group!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    white-space:normal!important;
  }

  .msh-comparison__table tbody{
    display:table-row-group!important;
    width:auto!important;
  }

  .msh-comparison__table tr{
    display:table-row!important;
    width:auto!important;
    margin:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .msh-comparison__table th,
  .msh-comparison__table td{
    display:table-cell!important;
    width:auto!important;
    min-width:150px!important;
    padding:12px 13px!important;
    border:0!important;
    border-left:1px solid #F0EBE3!important;
    border-bottom:1px solid #EEE8DE!important;
    background:#fff!important;
    color:var(--msh-table-text,#33443A)!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1.85!important;
    text-align:right!important;
    vertical-align:middle!important;
    white-space:normal!important;
    box-shadow:none!important;
  }

  .msh-comparison__table thead th{
    background:var(--msh-table-cream,#F8F5EE)!important;
    color:var(--msh-table-green,#173F2A)!important;
    font-size:12.6px!important;
    font-weight:800!important;
    z-index:2!important;
  }

  .msh-comparison__table thead th:first-child,
  .msh-comparison__table tbody th:first-child,
  .msh-comparison__table tbody td:first-child{
    position:sticky!important;
    right:0!important;
    left:auto!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    z-index:4!important;
    border-left:1px solid #DDD3C3!important;
    background:#F7F3EA!important;
    color:var(--msh-table-green,#173F2A)!important;
    font-weight:800!important;
    box-shadow:-7px 0 10px -10px rgba(23,63,42,.48)!important;
  }

  .msh-comparison__table thead th:first-child{
    z-index:6!important;
    background:#F1EBDD!important;
  }

  .msh-comparison__table tbody td::before{
    content:none!important;
    display:none!important;
  }

  .msh-comparison__mobile-note{
    display:none!important;
  }

  .msh-comparison__table tbody tr:nth-child(even) td,
  .msh-comparison__table tbody tr:hover td{
    background:#fff!important;
  }

  .msh-comparison__table tbody tr:nth-child(even) td:first-child,
  .msh-comparison__table tbody tr:hover td:first-child{
    background:#F7F3EA!important;
  }

  .msh-comparison__table th:last-child,
  .msh-comparison__table td:last-child{
    border-left:0!important;
  }
}

@media (max-width:480px){
  .msh-comparison__table,
  .msh-comparison--matrix .msh-comparison__table{
    min-width:650px!important;
  }

  .msh-comparison--matrix .msh-comparison__table,
  .msh-comparison--matrix .msh-comparison__table--matrix{
    min-width:940px!important;
  }

  .msh-comparison__table th,
  .msh-comparison__table td{
    min-width:145px!important;
    padding:10px 11px!important;
    font-size:12.6px!important;
  }

  .msh-comparison__table thead th:first-child,
  .msh-comparison__table tbody th:first-child,
  .msh-comparison__table tbody td:first-child{
    width:142px!important;
    min-width:142px!important;
    max-width:142px!important;
  }
}
/* ==========================================================================
   P8.38-R3 MOBILE BODY SPECIFICITY FIX
   Override P8.37 stacked tbody rules at equal/higher specificity.
   ========================================================================== */
@media (max-width:767px){

  .msh-comparison__table tbody,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody{
    display:table-row-group!important;
    width:auto!important;
  }

  .msh-comparison__table tbody tr,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr{
    display:table-row!important;
    width:auto!important;
    margin:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .msh-comparison__table tbody th,
  .msh-comparison__table tbody td,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody th,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td{
    display:table-cell!important;
    width:auto!important;
    min-width:150px!important;
    padding:12px 13px!important;
    border:0!important;
    border-left:1px solid #F0EBE3!important;
    border-bottom:1px solid #EEE8DE!important;
    border-radius:0!important;
    background:#fff!important;
    color:var(--msh-table-text,#33443A)!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1.85!important;
    text-align:right!important;
    vertical-align:middle!important;
    white-space:normal!important;
    grid-template-columns:none!important;
    gap:0!important;
    align-items:normal!important;
    box-shadow:none!important;
  }

  .msh-comparison__table tbody th:first-child,
  .msh-comparison__table tbody td:first-child,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody th:first-child,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td:first-child{
    position:sticky!important;
    right:0!important;
    left:auto!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    z-index:5!important;
    border-left:1px solid #DDD3C3!important;
    background:#F7F3EA!important;
    color:var(--msh-table-green,#173F2A)!important;
    font-weight:800!important;
    box-shadow:-7px 0 10px -10px rgba(23,63,42,.48)!important;
  }

  .msh-comparison__table tbody td::before,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td::before{
    content:none!important;
    display:none!important;
  }

  .msh-comparison__table tbody tr:nth-child(even) td,
  .msh-comparison__table tbody tr:hover td,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr:nth-child(even) td,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr:hover td{
    background:#fff!important;
  }

  .msh-comparison__table tbody tr:nth-child(even) td:first-child,
  .msh-comparison__table tbody tr:hover td:first-child,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr:nth-child(even) td:first-child,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody tr:hover td:first-child{
    background:#F7F3EA!important;
  }
}

@media (max-width:480px){
  .msh-comparison__table tbody th,
  .msh-comparison__table tbody td,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody th,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td{
    min-width:145px!important;
    padding:10px 11px!important;
    font-size:12.6px!important;
  }

  .msh-comparison__table tbody th:first-child,
  .msh-comparison__table tbody td:first-child,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody th:first-child,
  .msh-comparison--matrix .msh-comparison__table--matrix tbody td:first-child{
    width:142px!important;
    min-width:142px!important;
    max-width:142px!important;
  }
}
