/* SabongWiki.ph global stylesheet v1.2.0 (Option 2: light encyclopedia + subtle Meron/Wala).
   Loaded by mu-plugins/sabonghub-style.php. Do not paste into Additional CSS. */

/* 00 Libertinus webfonts (SIL OFL 1.1; files in fonts/) */
@font-face {
  font-family: "Libertinus Serif Display";
  src: url("fonts/LibertinusSerifDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Serif";
  src: url("fonts/LibertinusSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Serif";
  src: url("fonts/LibertinusSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Serif";
  src: url("fonts/LibertinusSerif-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Serif";
  src: url("fonts/LibertinusSerif-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 01 Root variables — Option 2 light palette */
:root {
  --sh-bg-deep: #ffffff;
  --sh-bg-card: #f8f9fa;
  --sh-bg-elevated: #eaecf0;
  --sh-border: #c8ccd1;
  --sh-border-soft: #eaecf0;
  --sh-rule: #a2a9b1;
  --sh-text-main: #202122;
  --sh-text-muted: #54595d;
  --sh-link: #3366cc;
  --sh-link-hover: #3056a9;
  --sh-meron: #be123c;
  --sh-meron-dark: #9f1239;
  --sh-meron-soft: rgba(190, 18, 60, 0.08);
  --sh-wala: #1d4ed8;
  --sh-wala-dark: #1e40af;
  --sh-wala-soft: rgba(29, 78, 216, 0.08);
  --sh-gold: #92400e;
  --sh-gold-bright: #92400e;
  --sh-gold-bg: #fef3c7;
  --sh-emerald: #047857;
  --sh-emerald-soft: rgba(4, 120, 87, 0.10);
  --sh-radius: 8px;
  --sh-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --sh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sh-serif: "Libertinus Serif", Georgia, serif;
  --sh-serif-display: "Libertinus Serif Display", "Libertinus Serif", Georgia, serif;
}

/* 02 Body & wrapper */
html, body { overflow-x: hidden; }
body {
  background-color: var(--sh-bg-deep) !important;
  color: var(--sh-text-main) !important;
  font-family: var(--sh-font);
  line-height: 1.68;
  -webkit-text-size-adjust: 100%;
}
.sh-wrap { max-width: 1180px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
.sh-wrap *, .sh-wrap *::before, .sh-wrap *::after { box-sizing: border-box; }
.sh-wrap p, .sh-wrap li { color: var(--sh-text-main); }

/* 03 Headings & divider */
.sh-wrap h1, .sh-wrap h2, .sh-wrap h3, .sh-wrap h4 {
  color: var(--sh-text-main);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  font-family: var(--sh-serif);
}
.sh-wrap h1 {
  font-family: var(--sh-serif-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}
.sh-wrap h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--sh-rule);
  position: static;
}
.sh-wrap h2::after { content: none; display: none; }
.sh-wrap h3 { font-size: 1.15rem; font-weight: 600; }

/* 04 Links & hero */
.sh-wrap a { color: var(--sh-link); text-decoration: underline; text-underline-offset: 3px; }
.sh-wrap a:hover, .sh-wrap a:focus { color: var(--sh-link-hover); }
.sh-hero {
  background:
    radial-gradient(circle at 12% 20%, var(--sh-meron-soft), transparent 45%),
    radial-gradient(circle at 88% 25%, var(--sh-wala-soft), transparent 45%),
    var(--sh-bg-card);
  border: 1px solid var(--sh-border);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--sh-meron) 50%, var(--sh-wala) 50%) 1;
  border-radius: 8px;
  padding: 2.25rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--sh-shadow);
}

/* 05-06 Badges & hero type */
.sh-hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.sh-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.26rem 0.7rem; border-radius: 999px; line-height: 1.3; }
.sh-badge-gold { background: var(--sh-gold-bg); color: var(--sh-gold); border: 1px solid #f6e05e; }
.sh-badge-meron { background: var(--sh-meron-soft); color: var(--sh-meron-dark); border: 1px solid rgba(190, 18, 60, 0.28); }
.sh-badge-wala { background: var(--sh-wala-soft); color: var(--sh-wala-dark); border: 1px solid rgba(29, 78, 216, 0.28); }
.sh-badge-emerald { background: var(--sh-emerald-soft); color: var(--sh-emerald); border: 1px solid rgba(4, 120, 87, 0.28); }
.sh-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 1rem; }
.sh-hero-lead { font-size: 1.04rem; color: var(--sh-text-main) !important; max-width: 880px; margin-bottom: 1.25rem; }

/* 07 Quick nav */
.sh-quick-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.sh-wrap a.sh-qbtn, .sh-qbtn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: var(--sh-bg-card); border: 1px solid var(--sh-border);
  color: var(--sh-text-main); text-decoration: none; font-weight: 700; font-size: 0.92rem;
  padding: 0.85rem 1.1rem; border-radius: 8px; transition: background .15s, border-color .15s;
}
.sh-qbtn:hover { border-color: var(--sh-link); background: var(--sh-bg-elevated); color: var(--sh-link); }

/* 08 Callouts */
.sh-callout { background: var(--sh-bg-card); border: 1px solid var(--sh-border); border-left: 5px solid var(--sh-rule); border-radius: var(--sh-radius); padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
.sh-callout-meron { border-left-color: var(--sh-meron); background: linear-gradient(90deg, var(--sh-meron-soft), var(--sh-bg-card) 35%); }
.sh-callout-wala { border-left-color: var(--sh-wala); background: linear-gradient(90deg, var(--sh-wala-soft), var(--sh-bg-card) 35%); }
.sh-callout-title { font-weight: 700; font-size: 1.05rem; color: var(--sh-text-main); margin-bottom: 0.4rem; font-family: var(--sh-serif); }
.sh-callout p:last-child { margin-bottom: 0; }

/* 09 Grids & cards */
.sh-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.sh-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.sh-card { background: var(--sh-bg-card); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; box-shadow: var(--sh-shadow); }
.sh-card h3 { font-size: 1.15rem; margin: 0.45rem 0 0.6rem; }
.sh-card p { margin-bottom: 0.5rem; }

/* 10-12 Calculator */
.sh-calc-box { background: var(--sh-bg-card); border: 1px solid var(--sh-border); border-radius: 8px; padding: 1.5rem; margin: 1.5rem 0; box-shadow: var(--sh-shadow); }
.sh-filter-box { border-width: 1px; padding: 1.1rem 1.25rem; }
.sh-calc-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.sh-tab-btn { flex: 1 1 220px; padding: 0.8rem 1rem; font-weight: 700; font-size: 0.9rem; border-radius: 8px; border: 1px solid var(--sh-border); background: var(--sh-bg-elevated); color: var(--sh-text-muted); cursor: pointer; font-family: var(--sh-font); line-height: 1.3; }
.sh-tab-btn:hover { color: var(--sh-text-main); background: #d9dce1; }
.sh-tab-btn.active-meron { background: var(--sh-meron); color: #fff; border-color: var(--sh-meron); }
.sh-tab-btn.active-wala { background: var(--sh-wala); color: #fff; border-color: var(--sh-wala); }
.sh-calc-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; margin-bottom: 1rem; }
.sh-field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--sh-text-main); margin-bottom: 0.4rem; }
.sh-field input, .sh-field select { width: 100%; max-width: 100%; background: #fff !important; border: 1px solid var(--sh-border) !important; color: var(--sh-text-main) !important; padding: 0.7rem 0.85rem; border-radius: 6px; font-size: 1rem; font-weight: 600; font-family: var(--sh-font); }
.sh-field input:focus, .sh-field select:focus { outline: 2px solid var(--sh-link); outline-offset: 1px; }
.sh-calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin-top: 1rem; }
.sh-res-card { background: #fff; border: 1px solid var(--sh-border); border-radius: 8px; padding: 1.05rem; text-align: center; }
.sh-res-card.sh-left { text-align: left; }
.sh-res-card.meron-side { border-top: 4px solid var(--sh-meron); }
.sh-res-card.wala-side { border-top: 4px solid var(--sh-wala); }
.sh-res-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--sh-text-muted); }
.sh-res-label-meron { color: var(--sh-meron-dark); }
.sh-res-label-wala { color: var(--sh-wala-dark); }
.sh-res-val { font-size: 1.5rem; font-weight: 800; color: var(--sh-text-main); margin: 0.25rem 0; line-height: 1.25; overflow-wrap: anywhere; }
.sh-scam .sh-res-val { font-size: 1.15rem; }
.sh-res-sub, .sh-scam-desc { font-size: 0.86rem; color: var(--sh-text-muted) !important; margin: 0.35rem 0 0; }
.sh-panel[hidden] { display: none !important; }
.sh-dir-count { margin: 0; font-size: 0.85rem; color: var(--sh-text-muted) !important; }

/* 13 Tables */
.sh-table-wrap { margin: 1.25rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sh-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; margin: 0; }
.sh-table thead { background: var(--sh-bg-elevated); border-bottom: 1px solid var(--sh-rule); }
.sh-table th { padding: 0.85rem 1rem; text-align: left; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; color: var(--sh-text-main); border: 0; }
.sh-table td { padding: 0.9rem 1rem; border: 0; border-bottom: 1px solid var(--sh-border-soft); font-size: 0.92rem; vertical-align: middle; color: var(--sh-text-main); }
.sh-table tr.sh-featured-row { background: var(--sh-meron-soft); }
.sh-table tr[hidden] { display: none !important; }
.sh-muted-sm { font-size: 0.78rem; color: var(--sh-text-muted); }
.sh-dir-table a.sh-dir-src { display: inline-block; margin-top: 0.35rem; font-size: 0.78rem; font-weight: 700; color: var(--sh-link); text-decoration: underline; text-underline-offset: 2px; }
.sh-dir-table .sh-dir-flag { margin-top: 0.35rem; text-transform: none; letter-spacing: 0; }

/* 14 Buttons & note box */
.sh-wrap a.sh-btn, .sh-btn { display: inline-block; text-align: center; font-weight: 700; font-size: 0.9rem; padding: 0.75rem 1.15rem; border-radius: 6px; text-decoration: none; margin: 0.25rem; }
.sh-wrap a.sh-btn-gold { background: var(--sh-gold-bg); color: var(--sh-gold); border: 1px solid #f6e05e; }
.sh-wrap a.sh-btn-meron { background: var(--sh-meron); color: #fff; }
.sh-wrap a.sh-btn-wala { background: var(--sh-wala); color: #fff; }
.sh-wrap a.sh-btn:hover { filter: none; color: inherit; opacity: 0.92; }
.sh-wrap a.sh-btn-gold:hover { color: var(--sh-gold); }
.sh-wrap a.sh-btn-meron:hover, .sh-wrap a.sh-btn-wala:hover { color: #fff; }
.sh-btn-row { text-align: center; margin-top: 1.25rem; }
.sh-note-box { font-size: 0.82rem; color: var(--sh-text-muted) !important; background: var(--sh-bg-card); border: 1px dashed var(--sh-border); padding: 0.85rem 1.05rem; border-radius: 6px; margin-top: 0.75rem; }
.sh-m0 { margin: 0; }
.sh-ticker-list { margin: 0; padding-left: 1.1rem; }
.sh-ticker-list li { margin-bottom: 0.55rem; }
.sh-stub-flag { display: inline-block; margin-bottom: 0.5rem; }

/* 15 FAQ & footer compliance */
.sh-faq details { background: var(--sh-bg-card); border: 1px solid var(--sh-border); border-radius: 8px; margin-bottom: 0.85rem; padding: 0.95rem 1.2rem; }
.sh-faq summary { font-weight: 700; font-size: 1rem; color: var(--sh-text-main); cursor: pointer; list-style: none; font-family: var(--sh-serif); }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::before { content: "+"; color: var(--sh-link); font-weight: 700; margin-right: 0.5rem; font-family: var(--sh-font); }
.sh-faq details[open] summary::before { content: "\2212"; }
.sh-faq details p { margin: 0.75rem 0 0; color: var(--sh-text-main); }
.sh-footer-compliance { background: var(--sh-bg-card); border-top: 1px solid var(--sh-border); padding: 2rem 1.25rem; color: var(--sh-text-muted); font-size: 0.85rem; line-height: 1.6; }
.sh-footer-inner { max-width: 1180px; margin: 0 auto; }
.sh-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--sh-border); margin-bottom: 1.1rem; }
.sh-footer-brand { color: var(--sh-text-main); font-size: 1.15rem; font-family: var(--sh-serif-display); font-weight: 400; }
.sh-footer-sub { font-size: 0.82rem; color: var(--sh-text-muted); }
.sh-footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sh-footer-compliance p { margin: 0 0 0.8rem; color: var(--sh-text-muted); }
.sh-footer-compliance strong { color: var(--sh-text-main); }
.sh-footer-compliance a { color: var(--sh-link); }
.sh-footer-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-top: 1rem; font-size: 0.82rem; }
.sh-footer-links a { color: var(--sh-link); text-decoration: none; }
.sh-footer-links a:hover { color: var(--sh-link-hover); text-decoration: underline; }

/* 16 Mobile card stacking (label column via absolute ::before so inline content never splits) */
@media (max-width: 820px) {
  .sh-table-wrap { overflow-x: visible; }
  .sh-table { border: 0; background: transparent; }
  .sh-table thead { display: none; }
  .sh-table, .sh-table tbody, .sh-table tr, .sh-table td { display: block; width: 100%; }
  .sh-table tr { margin-bottom: 0.9rem; border: 1px solid var(--sh-border); border-radius: 8px; padding: 0.3rem 0; background: var(--sh-bg-card); }
  .sh-table td { position: relative; padding: 0.6rem 0.8rem 0.6rem calc(36% + 0.8rem); text-align: left; min-height: 2.4rem; overflow-wrap: anywhere; }
  .sh-table td:last-child { border-bottom: 0; }
  .sh-table td::before { content: attr(data-label); position: absolute; left: 0.8rem; top: 0.72rem; width: 34%; font-weight: 800; text-transform: uppercase; font-size: 0.68rem; letter-spacing: .03em; line-height: 1.35; color: var(--sh-text-muted); }
  .sh-table td[colspan] { padding-left: 0.8rem; }
  .sh-table td[colspan]::before { content: none; }
  .sh-table td .sh-badge { margin: 0 0.25rem 0.2rem 0; }
  .sh-hero { padding: 1.5rem 1.15rem; border-radius: 8px; }
  .sh-wrap { padding: 1rem 0.9rem 2.5rem; }
  .sh-calc-box { padding: 1.1rem; }
  .sh-callout { padding: 1.05rem 1.1rem; }
}

/* ---------- GeneratePress chrome ---------- */
.site, .site-content, .one-container .site-content, .inside-article, .content-area, .site-main, .container.grid-container { background: transparent !important; }
.one-container .site-content, .separate-containers .site-main { padding: 0 !important; margin: 0 !important; }
.page .inside-article, .home .inside-article { padding: 0 !important; }
.page .entry-content:not(:first-child), .entry-content { margin-top: 0 !important; }
body .site.grid-container { max-width: none; }
.site-content .content-area { width: 100%; }

/* Header: compact one-row, light encyclopedia */
.site-header { background: #ffffff !important; border-bottom: 1px solid var(--sh-border); position: relative; z-index: 50; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #be123c 50%, #1d4ed8 50%); }
.inside-header { padding: 10px 20px !important; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.site-branding, .site-branding-container { min-width: 0; flex: 0 1 auto; }
.main-title.sh-wordmark { margin: 0; font-size: 1.7rem; line-height: 1; font-weight: 400; letter-spacing: 0; font-family: var(--sh-serif); white-space: nowrap; }
.main-title.sh-wordmark a { text-decoration: none; display: inline-flex; align-items: baseline; color: var(--sh-text-main); }
.sh-wm-a { color: #202122; font-family: var(--sh-serif-display); font-weight: 400; }
.sh-wm-b { color: #202122; font-family: var(--sh-serif); font-weight: 600; margin-left: 0.02em; }
.sh-wm-c { color: #54595d; font-family: var(--sh-serif); font-size: 0.55em; font-weight: 400; margin-left: 0.15em; letter-spacing: 0; }
.site-description { display: none; }

/* Primary nav */
.main-navigation, .main-navigation ul ul, .main-navigation .main-nav ul ul { background: transparent !important; }
.main-navigation .main-nav ul li a { color: #202122 !important; font-weight: 600; font-size: 0.92rem; padding-left: 13px; padding-right: 13px; line-height: 52px; font-family: var(--sh-font); }
.main-navigation .main-nav ul li:hover > a, .main-navigation .main-nav ul li.current-menu-item > a, .main-navigation .main-nav ul li.current-menu-ancestor > a, .main-navigation .main-nav ul li.current-page-ancestor > a { color: var(--sh-link) !important; background: transparent !important; }
.main-navigation .main-nav ul ul { background: #ffffff !important; border: 1px solid var(--sh-border); border-radius: 6px; box-shadow: var(--sh-shadow); }
.main-navigation .main-nav ul ul li a { line-height: 1.4; padding-top: 10px; padding-bottom: 10px; font-size: 0.88rem; }
.main-navigation .menu-toggle, .main-navigation .mobile-bar-items a { color: #202122 !important; background: transparent !important; }
.main-navigation .menu-toggle { border: 1px solid var(--sh-border) !important; border-radius: 6px; padding: 0 12px; line-height: 40px; font-weight: 700; font-size: 0.9rem; }
.main-navigation .menu-toggle:hover, .main-navigation .menu-toggle:focus { border-color: var(--sh-link) !important; color: var(--sh-link) !important; }
.nav-float-right .inside-header .main-navigation { margin-left: auto; }

@media (max-width: 768px) {
  .inside-header { padding: 8px 14px !important; }
  .main-title.sh-wordmark { font-size: 1.4rem; }
  .has-inline-mobile-toggle .mobile-menu-control-wrapper { margin-left: auto; }
  .has-inline-mobile-toggle #site-navigation:not(.toggled) { display: none !important; }
  .has-inline-mobile-toggle #site-navigation.toggled { position: absolute !important; left: 0; right: 0; top: 100%; margin: 0 !important; z-index: 60; background: #ffffff !important; border-top: 1px solid var(--sh-border); border-bottom: 1px solid var(--sh-border); box-shadow: var(--sh-shadow); }
  .has-inline-mobile-toggle #site-navigation.toggled .inside-navigation { padding: 0; }
  .main-navigation.toggled .main-nav > ul, .main-navigation.toggled .main-nav ul ul { background: #ffffff !important; }
  .main-navigation.toggled .main-nav ul li a { line-height: 46px; padding-left: 18px; border-bottom: 1px solid var(--sh-border-soft); color: #202122 !important; }
  .main-navigation.toggled .main-nav ul ul { position: static; border: 0; box-shadow: none; border-radius: 0; }
  .main-navigation.toggled .main-nav ul ul li a { padding-left: 34px; }
}

/* Breadcrumbs */
.sh-crumbs { max-width: 1180px; margin: 0 auto; padding: 0.9rem 1.25rem 0; font-size: 0.82rem; color: var(--sh-text-muted); }
.sh-crumbs a { color: var(--sh-link); text-decoration: none; }
.sh-crumbs a:hover { color: var(--sh-link-hover); text-decoration: underline; }
.sh-crumbs + .entry-content .sh-wrap { padding-top: 0.75rem; }
@media (max-width: 820px) { .sh-crumbs { padding: 0.75rem 0.9rem 0; } }

/* Footer bar */
.site-footer, .site-info { background: var(--sh-bg-card) !important; color: var(--sh-text-muted) !important; }
.site-info { border-top: 1px solid var(--sh-border); font-size: 0.8rem; }
.site-info a { color: var(--sh-link) !important; }
.inside-site-info { padding: 14px 20px !important; }

/* Forms (Fluent Forms on /contact/) */
.sh-wrap .fluentform .ff-el-input--label label { color: var(--sh-text-main); font-weight: 700; }
.sh-wrap .fluentform .ff-el-form-control { background: #fff !important; color: var(--sh-text-main) !important; border: 1px solid var(--sh-border) !important; border-radius: 6px; }
.sh-wrap .fluentform .ff-btn-submit { background: var(--sh-meron) !important; color: #fff !important; font-weight: 700; border: 0; border-radius: 6px; }
.sh-wrap .ff-message-success { background: var(--sh-bg-card); color: var(--sh-text-main); border: 1px solid var(--sh-emerald); border-radius: 8px; }

/* Generic content safety */
.sh-wrap img, .sh-wrap table, .sh-wrap iframe { max-width: 100%; }
.sh-wrap pre, .sh-wrap code { white-space: pre-wrap; overflow-wrap: anywhere; }

/* 17 Modules 4-8 additions */
.sh-res-label-gold { color: var(--sh-gold); }
.sh-blm .sh-res-val, .sh-keep .sh-res-val { font-size: 1.2rem; }
.sh-formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92rem; line-height: 1.7; margin: 0; overflow-wrap: anywhere; color: var(--sh-text-main); }
.sh-sources { font-size: 0.82rem; color: var(--sh-text-muted); margin-top: 0.75rem; }
.sh-sources a { overflow-wrap: anywhere; }
.sh-card .sh-btn { margin: 0.75rem 0 0; }
.sh-caption { font-size: 0.8rem; color: var(--sh-text-muted); margin: -0.6rem 0 1rem; }
.sh-wrap blockquote.sh-quote { border-left: 4px solid var(--sh-rule); margin: 0.75rem 0; padding: 0.5rem 0 0.5rem 1rem; font-style: italic; color: var(--sh-text-main); background: none; font-family: var(--sh-serif); }

/* Module 9: tool result helpers */
.sh-res-val.sh-res-val-md { font-size: 1.2rem; }
.sh-res-card.sh-left .sh-res-sub { text-align: left; }
.sh-res-label-gold { color: var(--sh-gold); }
.sh-calc-tag { margin: 0.75rem 0 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sh-gold) !important; }
.sh-note-box.sh-vet-note { border-color: rgba(190, 18, 60, 0.45); border-style: solid; color: var(--sh-text-main) !important; background: var(--sh-meron-soft); }
.sh-sym .sh-res-card { margin-top: 0.25rem; }

/* Module 9: mobile sticky quick-bar (output by sabonghub-style.php) */
.sh-mobile-bar { display: none; }
@media (max-width: 820px) {
  .sh-mobile-bar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; padding: 0.4rem 0.5rem; padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid #c8ccd1; box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.08); }
  .sh-mobile-bar a.sh-mbar-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; min-height: 46px; padding: 0.3rem 0.15rem; border-radius: 6px; background: #f8f9fa; color: #202122 !important; text-decoration: none !important; font-size: 0.7rem; font-weight: 700; line-height: 1.15; text-align: center; overflow: hidden; }
  .sh-mobile-bar a.sh-mbar-link:focus-visible { outline: 2px solid var(--sh-link); outline-offset: 1px; }
  .sh-mobile-bar a.sh-mbar-link[aria-current="page"] { background: var(--sh-wala-soft); color: var(--sh-wala-dark) !important; }
  .sh-mbar-ico { font-size: 1.05rem; line-height: 1; }
  body.sh-has-mbar { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body.sh-has-mbar .generate-back-to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
  body.sh-mbar-hide .sh-mobile-bar, body:has(input:focus, select:focus, textarea:focus) .sh-mobile-bar { display: none; }
}
@media print { .sh-mobile-bar { display: none !important; } }

/* 1.2.1 Flat encyclopedia labels (Mark t232u: no rounded pills) */
.sh-badge { border-radius: 2px !important; padding: 0.18rem 0.5rem 0.18rem 0.45rem; font-size: 0.7rem; letter-spacing: 0.04em; white-space: nowrap; background: #f8f9fa !important; border: 1px solid #c8ccd1 !important; border-left-width: 3px !important; color: #202122 !important; box-shadow: none !important; }
.sh-badge-gold { border-left-color: #b45309 !important; color: #78350f !important; }
.sh-badge-meron { border-left-color: #be123c !important; color: #9f1239 !important; }
.sh-badge-wala { border-left-color: #1d4ed8 !important; color: #1e40af !important; }
.sh-badge-emerald { border-left-color: #047857 !important; color: #065f46 !important; }
.sh-table td .sh-badge { display: inline-block; }
