/*
Theme Name: OriginPress Knowledge
Theme URI: https://originwp.uk/
Author: GeekCurse
Author URI: https://originwp.uk/
Description: A clean-room, standalone WordPress knowledge-base theme with branded admin tools, starter content, category icons, and polished public article/category layouts. No paid KnowledgeCenter Pro plugin dependency or licence logic is included.
Version: 3.32
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: originpress-knowledge
Tags: knowledge-base, documentation, helpdesk, faq, blog
*/

:root {
  --opk-blue: #1657d9;
  --opk-blue-dark: #113f9e;
  --opk-bg: #f4f7fb;
  --opk-panel: #ffffff;
  --opk-border: #dbe3ef;
  --opk-text: #172033;
  --opk-muted: #667085;
  --opk-soft: #eef4ff;
  --opk-radius: 1px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--opk-bg); color: var(--opk-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.55; }
a { color: var(--opk-blue); text-decoration: none; }
a:hover { color: var(--opk-blue-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

.opk-site-header { background: #fff; border-bottom: 1px solid var(--opk-border); }
.opk-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.opk-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.opk-brand { display: flex; flex-direction: column; gap: 2px; }
.opk-site-title { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.opk-site-description { margin: 0; color: var(--opk-muted); font-size: 13px; }
.opk-main-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.opk-main-nav a { color: var(--opk-text); font-weight: 650; font-size: 14px; }

.opk-hero { padding: 48px 0 28px; background: linear-gradient(180deg, #fff 0%, var(--opk-bg) 100%); border-bottom: 1px solid var(--opk-border); }
.opk-hero-panel { background: var(--opk-panel); border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: clamp(22px, 4vw, 42px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06); overflow: hidden; }
.opk-eyebrow { margin: 0 0 8px; color: var(--opk-blue); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.opk-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.05em; }
.opk-hero p { max-width: 740px; margin: 0 0 24px; color: var(--opk-muted); font-size: 17px; }
.opk-search-form { display: flex; width: min(720px, 100%); border: 1px solid var(--opk-border); border-radius: var(--opk-radius); overflow: hidden; background: #fff; }
.opk-search-form input { flex: 1; min-width: 0; border: 0; padding: 15px 16px; font-size: 16px; outline: none; }
.opk-search-form button, .opk-button { border: 0; border-radius: var(--opk-radius); background: var(--opk-blue); color: #fff; padding: 12px 18px; font-weight: 750; cursor: pointer; }
.opk-search-form button:hover, .opk-button:hover { background: var(--opk-blue-dark); color: #fff; text-decoration: none; }

.opk-section { padding: 34px 0; }
.opk-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.opk-section-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.opk-section-head p { margin: 4px 0 0; color: var(--opk-muted); }
.opk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.opk-card { display: block; background: var(--opk-panel); border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: 20px; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04); color: var(--opk-text); min-height: 100%; overflow: hidden; }
.opk-card:hover { text-decoration: none; border-color: #b7c7df; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07); }
.opk-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.opk-card-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--opk-soft); color: var(--opk-blue); border: 1px solid #cfddff; border-radius: var(--opk-radius); font-size: 20px; flex: 0 0 auto; }
.opk-card h3 { margin: 0; font-size: 18px; line-height: 1.22; color: var(--opk-text); }
.opk-card p { margin: 0 0 12px; color: var(--opk-muted); font-size: 14px; }
.opk-count { color: var(--opk-muted); font-size: 13px; font-weight: 700; }

.opk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; padding: 34px 0; }
.opk-content-card, .opk-sidebar-card, .opk-article-card { background: #fff; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: 24px; box-shadow: 0 8px 22px rgba(15,23,42,.04); overflow: hidden; }
.opk-article-list { display: grid; gap: 12px; }
.opk-article-list article { padding: 16px; background: #fff; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); }
.opk-article-list h2, .opk-article-list h3 { margin: 0 0 6px; font-size: 19px; }
.opk-meta { color: var(--opk-muted); font-size: 13px; margin-bottom: 10px; }
.opk-entry-title { margin-top: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.04em; }
.opk-entry-content { font-size: 17px; }
.opk-entry-content h2, .opk-entry-content h3 { margin-top: 1.6em; }
.opk-footer { margin-top: 36px; padding: 26px 0; color: var(--opk-muted); border-top: 1px solid var(--opk-border); background: #fff; font-size: 13px; }

.opk-feedback { margin-top: 26px; padding: 18px; background: #f8fbff; border: 1px solid var(--opk-border); border-left: 4px solid var(--opk-blue); border-radius: var(--opk-radius); }
.opk-feedback h3 { margin: 0 0 8px; }
.opk-feedback button { margin-right: 8px; }

@media (max-width: 860px) {
  .opk-header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .opk-main-nav ul { flex-wrap: wrap; }
  .opk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opk-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .opk-wrap { width: min(100% - 22px, 1180px); }
  .opk-grid { grid-template-columns: 1fr; }
  .opk-search-form { flex-direction: column; }
  .opk-search-form button { width: 100%; }
}


/* v0.2 front-end polish */
.opk-category-grid .opk-category-card { display: flex; flex-direction: column; gap: 8px; }
.opk-category-grid .opk-card-top { align-items: flex-start; margin-bottom: 2px; }
.opk-category-grid .opk-card-icon { width: 40px; height: 40px; font-size: 21px; margin-top: 1px; }
.opk-category-grid h3 { overflow-wrap: anywhere; }
.opk-category-grid p { flex: 1 1 auto; line-height: 1.45; }
.opk-count { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.opk-feedback textarea { display: none; width: 100%; margin: 10px 0 0; min-height: 84px; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: 10px 12px; font: inherit; }
.opk-feedback.is-negative textarea { display: block; }
.opk-feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.opk-feedback button { margin-right: 0; }
@media (max-width: 560px) {
  .opk-category-grid .opk-card-top { gap: 10px; }
  .opk-category-grid .opk-card-icon { width: 36px; height: 36px; font-size: 19px; }
}


/* v0.6 Premium Front-End Layout Catch-Up */
.opk-hero-premium { padding: 54px 0 34px; }
.opk-hero-premium .opk-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  background:
    radial-gradient(circle at 94% 8%, rgba(22, 87, 217, 0.10), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.opk-hero-copy { min-width: 0; }
.opk-hero-stats { display: grid; gap: 10px; align-self: center; }
.opk-hero-stats div { background: rgba(255,255,255,.78); border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: 14px 16px; box-shadow: 0 8px 18px rgba(15,23,42,.04); }
.opk-hero-stats strong { display: block; font-size: 25px; line-height: 1.05; letter-spacing: -0.04em; color: var(--opk-text); }
.opk-hero-stats span { color: var(--opk-muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.opk-section-kicker { margin: 0 0 2px !important; color: var(--opk-blue) !important; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.opk-section-categories { padding-top: 38px; }
.opk-section-latest { padding-top: 18px; }

.opk-category-grid { align-items: stretch; }
.opk-category-card { position: relative; min-height: 190px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.opk-category-grid .opk-card-top { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.opk-category-grid .opk-card-icon { width: 44px; height: 44px; font-size: 22px; margin: 0; }
.opk-category-grid .opk-card h3, .opk-category-grid h3 { font-size: 18px; line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 5px; }
.opk-count-inline { display: inline-flex; margin: 0; font-size: 12px; color: var(--opk-muted); }
.opk-card-link { margin-top: auto; color: var(--opk-blue); font-size: 13px; font-weight: 800; }
.opk-category-card:hover .opk-card-link { text-decoration: underline; }

.opk-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opk-article-list.opk-latest-grid { display: grid; gap: 14px; }
.opk-article-item { background: #fff; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: 18px; box-shadow: 0 8px 22px rgba(15,23,42,.035); overflow: hidden; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.opk-article-item:hover { border-color: #b7c7df; box-shadow: 0 12px 28px rgba(15,23,42,.06); transform: translateY(-1px); }
.opk-article-item h2, .opk-article-item h3, .opk-article-item h4 { margin: 8px 0 8px; font-size: 19px; line-height: 1.22; letter-spacing: -0.02em; }
.opk-article-item p { margin: 0; color: var(--opk-muted); font-size: 14px; line-height: 1.5; }
.opk-article-item__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--opk-muted); font-size: 12px; font-weight: 700; }
.opk-article-title-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 14px; margin-bottom: 8px; }
.opk-article-title-row .opk-card-icon { width: 34px; height: 34px; font-size: 18px; border-color: #d7e3ff; background: #f3f7ff; color: var(--opk-blue); }
.opk-article-title-row h2, .opk-article-title-row h3, .opk-article-title-row h4 { margin: 0; }
.opk-category-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--opk-blue); font-size: 12px; font-weight: 800; }
.opk-category-badge .opk-card-icon { width: 24px; height: 24px; font-size: 14px; border-color: #d7e3ff; background: #f3f7ff; }
.opk-category-badge:hover { text-decoration: none; color: var(--opk-blue-dark); }

.opk-archive-hero { padding: 34px 0 0; }
.opk-archive-title-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; }
.opk-archive-title-card > .opk-card-icon { width: 58px; height: 58px; font-size: 28px; }
.opk-archive-title-card .opk-entry-title, .opk-search-title-card .opk-entry-title { margin-bottom: 8px; }
.opk-archive-description { max-width: 760px; font-size: 15px; }
.opk-search-title-card .opk-search-form { margin-top: 18px; }

.opk-single-article { padding: clamp(22px, 4vw, 40px); }
.opk-single-header { padding-bottom: 20px; border-bottom: 1px solid var(--opk-border); margin-bottom: 24px; }
.opk-single-header .opk-category-badge { margin-bottom: 12px; }
.opk-entry-content { max-width: 780px; }
.opk-entry-content p { margin: 0 0 1.05em; }
.opk-entry-content ul, .opk-entry-content ol { padding-left: 1.4em; }
.opk-feedback p { margin: 0 0 12px; color: var(--opk-muted); }
.opk-button-secondary { background: #eef4ff; color: var(--opk-blue); border: 1px solid #cfdcff; }
.opk-button-secondary:hover { color: #fff; background: var(--opk-blue-dark); }

.opk-sidebar-card h2 { margin-top: 0; font-size: 18px; }
.opk-sidebar-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.opk-sidebar-cats li { margin: 0; }
.opk-sidebar-cats a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); color: var(--opk-text); background: #fff; }
.opk-sidebar-cats a:hover { text-decoration: none; border-color: #b7c7df; background: #f8fbff; }
.opk-sidebar-cats .opk-card-icon { width: 30px; height: 30px; font-size: 16px; }
.opk-sidebar-cats span { font-weight: 750; font-size: 13px; overflow-wrap: anywhere; }
.opk-sidebar-cats em { font-style: normal; color: var(--opk-muted); font-size: 12px; font-weight: 800; }
.opk-empty-state { background: #fff; border: 1px dashed #b7c7df; border-radius: var(--opk-radius); padding: 24px; color: var(--opk-muted); }

@media (max-width: 960px) {
  .opk-hero-premium .opk-hero-panel { grid-template-columns: 1fr; }
  .opk-hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opk-latest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .opk-hero-premium { padding-top: 30px; }
  .opk-hero-stats { grid-template-columns: 1fr; }
  .opk-category-grid .opk-card-top { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; }
  .opk-category-grid .opk-card-icon { width: 38px; height: 38px; font-size: 20px; }
  .opk-archive-title-card { grid-template-columns: 1fr; }
  .opk-archive-title-card > .opk-card-icon { width: 46px; height: 46px; font-size: 23px; }
}

/* v0.10 Single Article + Search Experience Polish */
.opk-search-shell { position: relative; }
.opk-search-form input[aria-expanded="true"] { border-color: var(--opk-blue); box-shadow: 0 0 0 1px rgba(22,87,217,.18); }
.opk-live-search { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); box-shadow: 0 18px 42px rgba(15,23,42,.14); overflow: hidden; }
.opk-live-search__inner { display: grid; gap: 0; }
.opk-live-search__item { display: grid; gap: 4px; padding: 12px 14px; border-bottom: 1px solid #eef2f7; color: var(--opk-text); }
.opk-live-search__item:last-child { border-bottom: 0; }
.opk-live-search__item:hover, .opk-live-search__item:focus { text-decoration: none; background: #f8fbff; }
.opk-live-search__item strong { font-size: 14px; line-height: 1.25; }
.opk-live-search__item span { color: var(--opk-blue); font-size: 12px; font-weight: 800; }
.opk-live-search__item em { color: var(--opk-muted); font-style: normal; font-size: 12px; line-height: 1.45; }
.opk-live-search__empty { padding: 13px 14px; color: var(--opk-muted); font-size: 13px; }
.opk-live-search__status { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.opk-front-title-row { margin-bottom: 16px; }
.opk-search-results-list { gap: 14px; }
.opk-search-result-item mark { background: #fff2b8; color: inherit; padding: 0 2px; border-radius: 1px; }
.opk-search-result-item .opk-card-link { display: inline-flex; width: fit-content; margin-top: 12px; }
.opk-search-fallback-grid { margin-top: 18px; }

.opk-article-layout-enhanced { grid-template-columns: minmax(0, 1fr) 250px; align-items: start; }
.opk-article-tools { position: sticky; top: 22px; }
.opk-single-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.opk-single-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.opk-entry-content h2[id], .opk-entry-content h3[id] { scroll-margin-top: 28px; }
.opk-entry-content h2[id]::before, .opk-entry-content h3[id]::before { content: ''; display: block; height: 1px; margin-top: -1px; }
.opk-article-detail-list { display: grid; gap: 8px; margin-bottom: 16px; }
.opk-article-detail-list a, .opk-article-detail-list > span { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; padding: 9px; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); background: #fff; color: var(--opk-text); }
.opk-article-detail-list a:hover { text-decoration: none; border-color: #b7c7df; background: #f8fbff; }
.opk-article-detail-list .opk-card-icon { width: 30px; height: 30px; font-size: 16px; }
.opk-article-detail-list strong { display: block; color: var(--opk-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.opk-toc { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--opk-border); }
.opk-toc h3, .opk-article-tools h3 { margin: 0 0 10px; font-size: 15px; }
.opk-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.opk-toc a { display: block; padding: 7px 8px; border-left: 3px solid transparent; color: var(--opk-muted); font-size: 13px; line-height: 1.4; }
.opk-toc a:hover { color: var(--opk-blue); background: #f8fbff; border-left-color: var(--opk-blue); text-decoration: none; }
.opk-toc-level-3 a { padding-left: 18px; font-size: 12px; }
.opk-sidebar-divider { height: 1px; background: var(--opk-border); margin: 18px 0; }

.opk-related-panel { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--opk-border); }
.opk-related-panel h2 { margin: 0 0 12px; font-size: 20px; }
.opk-related-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.opk-related-heading h2 { margin-bottom: 0; }
.opk-related-heading p { margin: 3px 0 0; color: var(--opk-muted); font-size: 13px; font-weight: 700; text-align: right; }
.opk-related-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.opk-related-list a { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); background: #fff; color: var(--opk-text); min-height: 82px; }
.opk-related-list a:hover { text-decoration: none; border-color: #b7c7df; background: #f8fbff; }
.opk-related-list strong { font-size: 13px; line-height: 1.29; }
.opk-related-list span { color: var(--opk-muted); font-size: 11px; font-weight: 700; margin-top: auto; }

@media (max-width: 960px) {
  .opk-article-layout-enhanced { grid-template-columns: 1fr; }
  .opk-article-tools { position: static; }
  .opk-related-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .opk-live-search { position: static; margin-top: 8px; }
  .opk-article-detail-list a, .opk-article-detail-list > span { grid-template-columns: 1fr; }
}

/* v0.16 Customizer Foundation + Article Tools Fix */
.opk-site-header { background: var(--opk-header-bg, #fff); }
.opk-header-no-border .opk-site-header { border-bottom-color: transparent; }
.opk-sticky-header .opk-site-header { position: sticky; top: 0; z-index: 40; }
.admin-bar.opk-sticky-header .opk-site-header { top: 32px; }
.opk-custom-logo img { display: block; width: auto; max-width: var(--opk-logo-width, 180px); max-height: 72px; }
.opk-header-centered .opk-header-inner { justify-content: center; text-align: center; }
.opk-header-centered .opk-brand { align-items: center; }
.opk-header-centered .opk-main-nav ul { justify-content: center; }
.opk-header-stacked .opk-header-inner, .opk-nav-below .opk-header-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
.opk-header-stacked .opk-main-nav ul, .opk-nav-below .opk-main-nav ul { flex-wrap: wrap; }
.opk-nav-hidden .opk-main-nav { display: none; }
.opk-density-compact .opk-card, .opk-density-compact .opk-article-item { padding: 14px; }
.opk-density-compact .opk-category-card { min-height: 154px; }
.opk-density-spacious .opk-card, .opk-density-spacious .opk-article-item { padding: 26px; }
.opk-density-spacious .opk-category-card { min-height: 220px; }
.opk-columns-2 .opk-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opk-columns-3 .opk-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opk-columns-4 .opk-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opk-columns-auto .opk-category-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.opk-article-width-wide .opk-entry-content { max-width: 980px; }
.opk-article-layout-no-sidebar { grid-template-columns: minmax(0, 1fr); }
.opk-article-layout-no-sidebar .opk-single-article { max-width: 1020px; margin: 0 auto; }
.opk-article-detail-list .opk-detail-icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: var(--opk-soft); color: var(--opk-blue); border: 1px solid #cfddff; border-radius: var(--opk-radius); font-size: 16px; }
.opk-article-detail-list em { display: block; margin-top: 1px; color: var(--opk-text); font-style: normal; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.opk-article-detail-list .opk-article-detail-row { grid-template-columns: 30px minmax(0, 1fr); }
.opk-footer .opk-wrap { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
@media (max-width: 782px) { .admin-bar.opk-sticky-header .opk-site-header { top: 46px; } }
@media (max-width: 760px) {
  .opk-columns-4 .opk-category-grid, .opk-columns-3 .opk-category-grid, .opk-columns-2 .opk-category-grid { grid-template-columns: 1fr; }
}



/* v0.20 Article Width Customizer Behaviour Fix */
.opk-article-width-standard .opk-article-layout-enhanced {
  width: min(1080px, calc(100% - 32px));
  grid-template-columns: minmax(0, 700px) 250px;
  justify-content: center;
}
.opk-article-width-wide .opk-article-layout-enhanced {
  width: min(1320px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) 250px;
}
.opk-article-width-standard .opk-entry-content { max-width: 720px; }
.opk-article-width-wide .opk-entry-content { max-width: 980px; }
.opk-article-width-standard .opk-single-header { max-width: 720px; }
.opk-article-width-wide .opk-single-header { max-width: 980px; }
.opk-article-width-standard .opk-feedback { max-width: 720px; }
.opk-article-width-wide .opk-feedback { max-width: 980px; }
.opk-article-width-standard .opk-related-panel { max-width: 720px; }
.opk-article-width-wide .opk-related-panel { max-width: 980px; }
.opk-article-width-standard .opk-article-layout-no-sidebar {
  width: min(860px, calc(100% - 32px));
}
.opk-article-width-wide .opk-article-layout-no-sidebar {
  width: min(1120px, calc(100% - 32px));
}
@media (max-width: 960px) {
  .opk-article-width-standard .opk-article-layout-enhanced,
  .opk-article-width-wide .opk-article-layout-enhanced {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
  }
  .opk-article-width-standard .opk-entry-content,
  .opk-article-width-wide .opk-entry-content,
  .opk-article-width-standard .opk-single-header,
  .opk-article-width-wide .opk-single-header,
  .opk-article-width-standard .opk-feedback,
  .opk-article-width-wide .opk-feedback,
  .opk-article-width-standard .opk-related-panel,
  .opk-article-width-wide .opk-related-panel { max-width: none; }
}

/* v0.19 Header & Navigation Customizer Presets */
.opk-header-width-full .opk-header-inner { width: calc(100% - 48px); max-width: none; }
.opk-header-height-compact .opk-header-inner { min-height: 58px; }
.opk-header-height-comfortable .opk-header-inner { min-height: 76px; }
.opk-header-height-spacious .opk-header-inner { min-height: 98px; }
.opk-header-shadow .opk-site-header { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07); }
.opk-nav-spacing-compact .opk-main-nav ul { gap: 10px; }
.opk-nav-spacing-standard .opk-main-nav ul { gap: 18px; }
.opk-nav-spacing-wide .opk-main-nav ul { gap: 28px; }
.opk-nav-weight-normal .opk-main-nav a { font-weight: 500; }
.opk-nav-weight-semibold .opk-main-nav a { font-weight: 650; }
.opk-nav-weight-bold .opk-main-nav a { font-weight: 780; }
.opk-nav-case-uppercase .opk-main-nav a { text-transform: uppercase; letter-spacing: 0.07em; font-size: 12px; }
.opk-main-nav li { position: relative; }
.opk-nav-indicator-underline .opk-main-nav .current-menu-item > a,
.opk-nav-indicator-underline .opk-main-nav .current_page_item > a { box-shadow: inset 0 -2px 0 var(--opk-blue); padding-bottom: 4px; }
.opk-nav-indicator-background .opk-main-nav .current-menu-item > a,
.opk-nav-indicator-background .opk-main-nav .current_page_item > a { background: var(--opk-soft); color: var(--opk-blue-dark); padding: 6px 9px; border-radius: var(--opk-radius); }
.opk-nav-indicator-border .opk-main-nav .current-menu-item > a,
.opk-nav-indicator-border .opk-main-nav .current_page_item > a { border-top: 2px solid var(--opk-blue); padding-top: 6px; }
.opk-nav-indicator-none .opk-main-nav .current-menu-item > a,
.opk-nav-indicator-none .opk-main-nav .current_page_item > a { box-shadow: none; background: transparent; border: 0; }
.opk-header-preset-classic .opk-header-inner { flex-direction: row; align-items: center; justify-content: space-between; }
.opk-header-preset-centered_brand .opk-header-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 0; }
.opk-header-preset-centered_brand .opk-brand { align-items: center; }
.opk-header-preset-centered_brand .opk-main-nav ul { justify-content: center; }
.opk-header-preset-compact_bar .opk-header-inner { min-height: 54px; }
.opk-header-preset-compact_bar .opk-site-title { font-size: 18px; }
.opk-header-preset-compact_bar .opk-site-description { display: none; }
.opk-header-preset-compact_bar .opk-main-nav a { font-size: 13px; }
.opk-header-preset-kb_focus .opk-header-inner { min-height: 96px; align-items: center; }
.opk-header-preset-kb_focus .opk-site-title { font-size: 26px; }
.opk-header-preset-kb_focus .opk-site-description { font-size: 14px; }
.opk-header-preset-kb_focus .opk-main-nav a { font-weight: 750; }
.opk-header-preset-minimal .opk-header-inner { min-height: 58px; }
.opk-header-preset-minimal .opk-site-description,
.opk-header-preset-minimal .opk-main-nav { display: none; }
.opk-nav-below .opk-header-inner,
.opk-header-preset-centered_brand.opk-nav-below .opk-header-inner { align-items: center; }
.opk-nav-below .opk-main-nav { width: 100%; }
.opk-nav-below .opk-main-nav ul { justify-content: flex-start; border-top: 1px solid var(--opk-border); padding-top: 12px; }
.opk-header-preset-centered_brand.opk-nav-below .opk-main-nav ul { justify-content: center; }
@media (max-width: 860px) {
  .opk-header-width-full .opk-header-inner { width: min(100% - 32px, 1180px); }
  .opk-header-preset-classic .opk-header-inner,
  .opk-header-preset-kb_focus .opk-header-inner { flex-direction: column; align-items: flex-start; padding: 18px 0; }
  .opk-main-nav ul { gap: 12px; }
}


/* v0.22 Subtle Article Rating UI Polish */
.opk-feedback-enhanced { padding: 0; overflow: hidden; background: #fff; }
.opk-feedback-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(300px, 1.12fr); gap: 0; align-items: stretch; }
.opk-feedback-helpful, .opk-rating-box { padding: 16px 18px; }
.opk-feedback-helpful { background: #fff; }
.opk-feedback-helpful h3,
.opk-rating-heading h3 { font-size: 16px; line-height: 1.25; }
.opk-feedback-helpful p,
.opk-rating-summary,
.opk-rating-message { font-size: 12px; }
.opk-feedback-actions { gap: 8px; }
.opk-feedback-actions .opk-button { padding: 8px 14px; min-height: 34px; }
.opk-rating-box { background: #fbfdff; border-left: 1px solid var(--opk-border); }
.opk-rating-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.opk-rating-heading span { display: block; color: var(--opk-blue); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 2px; }
.opk-rating-heading h3 { margin: 0; }
.opk-rating-score { display: inline-flex; align-items: baseline; justify-content: center; min-width: 54px; height: 34px; padding: 0 8px; border: 1px solid #d7e2ff; background: #fff; color: var(--opk-blue); font-size: 18px; font-weight: 850; border-radius: var(--opk-radius); }
.opk-rating-score::after { content: '/5'; margin-left: 2px; font-size: 10px; color: var(--opk-muted); font-weight: 750; }
.opk-star-rating { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.opk-star-rating button { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; border: 1px solid var(--opk-border); background: #fff; color: var(--opk-muted); border-radius: var(--opk-radius); padding: 7px 8px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.opk-star-rating button:hover,
.opk-star-rating button:focus { border-color: #9bb8ff; background: #f8fbff; color: var(--opk-blue); box-shadow: inset 0 0 0 1px #d7e2ff; }
.opk-star-rating button.is-selected { border-color: var(--opk-blue); background: var(--opk-blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.opk-star-rating button.is-current { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(45, 74, 230, .14); }
.opk-star-rating span { font-size: 16px; line-height: 1; }
.opk-star-rating em { font-style: normal; font-size: 13px; font-weight: 850; line-height: 1; }
.opk-rating-summary { margin: 10px 0 0; color: var(--opk-muted); }
.opk-rating-message { margin: 6px 0 0; color: var(--opk-blue); font-weight: 750; }
@media (max-width: 760px) {
  .opk-feedback-grid { grid-template-columns: 1fr; }
  .opk-rating-box { border-left: 0; border-top: 1px solid var(--opk-border); }
}
@media (max-width: 520px) {
  .opk-star-rating { grid-template-columns: repeat(5, minmax(42px, 1fr)); }
  .opk-star-rating button { padding: 7px 4px; }
  .opk-star-rating span { display: none; }
}


/* v0.23 Compact Feedback Panel Spacing */
.opk-feedback-enhanced { margin-top: 22px; border-left-width: 3px; }
.opk-feedback-grid { grid-template-columns: minmax(220px, .78fr) minmax(320px, 1.22fr); align-items: start; }
.opk-feedback-helpful,
.opk-rating-box { padding: 14px 16px; min-height: 0; }
.opk-feedback-helpful h3,
.opk-rating-heading h3 { margin: 0 0 5px; font-size: 15px; }
.opk-feedback-helpful p { margin: 0 0 10px; line-height: 1.45; }
.opk-rating-heading { margin-bottom: 8px; }
.opk-rating-heading span { margin-bottom: 1px; }
.opk-rating-score { min-width: 48px; height: 30px; font-size: 16px; }
.opk-star-rating { gap: 5px; }
.opk-star-rating button { min-height: 34px; padding: 6px 8px; }
.opk-star-rating span { font-size: 14px; }
.opk-star-rating em { font-size: 12px; }
.opk-rating-summary { margin: 7px 0 0; line-height: 1.45; }
.opk-rating-message { margin: 5px 0 0; line-height: 1.45; }
.opk-feedback > .opk-feedback-message:empty,
.opk-rating-message:empty { display: none; }
.opk-feedback > .opk-feedback-message:not(:empty) { margin: 0; padding: 0 16px 12px; font-size: 12px; color: var(--opk-blue); font-weight: 750; }
@media (max-width: 760px) {
  .opk-feedback-grid { grid-template-columns: 1fr; }
  .opk-feedback-helpful,
  .opk-rating-box { padding: 14px; }
}


/* v0.24 Category Customizer Detail Pass */
.opk-cat-card-compact .opk-category-card { min-height: 142px; gap: 6px; }
.opk-cat-card-compact .opk-category-grid .opk-card-top { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
.opk-cat-card-compact .opk-category-grid p { font-size: 13px; line-height: 1.4; }
.opk-cat-card-feature .opk-category-card { border-top: 3px solid var(--opk-blue); background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.opk-cat-card-feature .opk-card-link { padding-top: 8px; border-top: 1px solid var(--opk-border); width: 100%; }
.opk-cat-icon-small .opk-category-grid .opk-card-icon { width: 34px; height: 34px; font-size: 18px; }
.opk-cat-icon-small .opk-category-grid .opk-card-top { grid-template-columns: 34px minmax(0, 1fr); }
.opk-cat-icon-large .opk-category-grid .opk-card-icon { width: 54px; height: 54px; font-size: 27px; }
.opk-cat-icon-large .opk-category-grid .opk-card-top { grid-template-columns: 54px minmax(0, 1fr); }
.opk-cat-icon-small .opk-archive-title-card > .opk-card-icon { width: 46px; height: 46px; font-size: 23px; }
.opk-cat-icon-large .opk-archive-title-card > .opk-card-icon { width: 68px; height: 68px; font-size: 32px; }
.opk-category-layout-full { grid-template-columns: minmax(0, 1fr); }
.opk-category-layout-full > .opk-content-card { max-width: 1040px; margin: 0 auto; width: 100%; }
.opk-category-article-compact .opk-article-list { gap: 10px; }
.opk-category-article-compact .opk-article-item { padding: 14px 16px; }
.opk-category-article-compact .opk-article-item h2,
.opk-category-article-compact .opk-article-item h3,
.opk-category-article-compact .opk-article-item h4 { margin: 5px 0 4px; font-size: 17px; }
.opk-category-article-compact .opk-article-item p { font-size: 13px; }
.opk-archive-title-card:not(:has(> .opk-card-icon)) { grid-template-columns: minmax(0, 1fr); }
@supports not selector(:has(*)) {
  .opk-archive-title-card { grid-template-columns: minmax(0, 1fr); }
  .opk-archive-title-card > .opk-card-icon { float: left; margin-right: 18px; }
}


/* v0.25 Premium Breadcrumb Navigation */
.opk-breadcrumb { margin: 0 0 20px; color: var(--opk-muted); font-size: 13px; font-weight: 760; }
.opk-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.opk-breadcrumb li { display: inline-flex; align-items: center; min-width: 0; }
.opk-breadcrumb li:not(:last-child)::after { content: ''; width: 22px; height: 1px; margin-left: 7px; background: linear-gradient(90deg, #cdd8ee, transparent); }
.opk-breadcrumb a,
.opk-breadcrumb span { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; max-width: 100%; color: var(--opk-muted); text-decoration: none; }
.opk-breadcrumb em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opk-breadcrumb-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dbe6ff; background: #f4f7ff; color: var(--opk-blue); font-size: 14px; line-height: 1; border-radius: var(--opk-radius); flex: 0 0 24px; }
.opk-breadcrumb a:hover { color: var(--opk-blue-dark); }
.opk-breadcrumb a:hover .opk-breadcrumb-icon { border-color: #b8c9f4; background: #edf3ff; }
.opk-breadcrumb .is-current > span { color: var(--opk-text); }
.opk-breadcrumb .is-current .opk-breadcrumb-icon { background: var(--opk-blue); border-color: var(--opk-blue); color: #fff; }
.opk-breadcrumb-compact ol { gap: 5px; }
.opk-breadcrumb-compact li:not(:last-child)::after { content: '›'; width: auto; height: auto; margin-left: 5px; background: none; color: #a6b4ca; font-weight: 900; }
.opk-breadcrumb-compact a,
.opk-breadcrumb-compact span { min-height: 26px; gap: 6px; }
.opk-breadcrumb-compact .opk-breadcrumb-icon { width: 20px; height: 20px; font-size: 12px; flex-basis: 20px; }
.opk-breadcrumb-simple { font-size: 12px; text-transform: none; letter-spacing: 0; }
.opk-breadcrumb-simple li:not(:last-child)::after { content: '/'; width: auto; height: auto; margin-left: 7px; background: none; color: #9aa8bd; }
.opk-breadcrumb-simple a,
.opk-breadcrumb-simple span { min-height: 0; gap: 0; }
.opk-archive-title-card .opk-archive-breadcrumb-row { grid-column: 1 / -1; }
.opk-archive-title-card .opk-archive-breadcrumb-row .opk-breadcrumb { margin-bottom: 2px; }
.opk-search-title-card .opk-breadcrumb { margin-bottom: 14px; }
@media (max-width: 680px) {
  .opk-breadcrumb { font-size: 12px; margin-bottom: 14px; }
  .opk-breadcrumb ol { gap: 5px; }
  .opk-breadcrumb li:not(:last-child)::after { width: 14px; margin-left: 5px; }
  .opk-breadcrumb a,
  .opk-breadcrumb span { min-height: 26px; gap: 5px; }
  .opk-breadcrumb-icon { width: 20px; height: 20px; font-size: 12px; flex-basis: 20px; }
}

/* v0.26 Customizer Section Clarity Pass */

/* v0.27 per-user voting integrity */
.opk-feedback-actions .opk-button.is-selected,
.opk-feedback-actions .opk-button-secondary.is-selected {
  border-color: var(--opk-blue);
  background: #eef4ff;
  color: var(--opk-blue);
  box-shadow: inset 0 0 0 1px var(--opk-blue);
}
.opk-feedback-actions .opk-button.is-selected::after,
.opk-feedback-actions .opk-button-secondary.is-selected::after {
  content: " ✓";
  font-weight: 800;
}
.opk-rating-summary strong,
.opk-rating-message strong { color: var(--opk-blue); }


/* v0.29 Article Author + Typography Blocks */
.opk-entry-content { font-size: 17px; line-height: 1.72; }
.opk-entry-content > *:first-child { margin-top: 0; }
.opk-entry-content > *:last-child { margin-bottom: 0; }
.opk-entry-content h2 { margin: 1.65em 0 .6em; font-size: clamp(24px, 3vw, 32px); line-height: 1.18; letter-spacing: -0.035em; }
.opk-entry-content h3 { margin: 1.45em 0 .55em; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.22; letter-spacing: -0.025em; }
.opk-entry-content h4 { margin: 1.25em 0 .45em; font-size: 18px; }
.opk-entry-content p { margin: 0 0 1.05em; }
.opk-entry-content ul, .opk-entry-content ol { margin: 0 0 1.2em 1.25em; padding: 0; }
.opk-entry-content li { margin: .35em 0; }
.opk-entry-content blockquote { margin: 1.4em 0; padding: 16px 18px; border-left: 4px solid var(--opk-blue); background: #f8fbff; color: var(--opk-text); }
.opk-entry-content code { padding: 2px 5px; border: 1px solid var(--opk-border); background: #f8fafc; font-size: .92em; }
.opk-entry-content pre { overflow: auto; padding: 16px; border: 1px solid var(--opk-border); background: #0f172a; color: #e5edf8; border-radius: var(--opk-radius); }
.opk-entry-content pre code { padding: 0; border: 0; background: transparent; color: inherit; }
.opk-entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95em; }
.opk-entry-content th, .opk-entry-content td { padding: 11px 12px; border: 1px solid var(--opk-border); text-align: left; vertical-align: top; }
.opk-entry-content th { background: #f8fbff; font-weight: 800; }
.opk-entry-content figcaption { margin-top: 8px; color: var(--opk-muted); font-size: 13px; text-align: center; }
.opk-article-typography-editorial .opk-entry-content { font-size: 18px; line-height: 1.8; }
.opk-article-typography-editorial .opk-entry-content p:first-of-type { font-size: 1.08em; color: #38445a; }
.opk-article-typography-standard .opk-entry-content { font-size: 16px; line-height: 1.62; }

.opk-alert { margin: 1.45em 0; padding: 14px 16px; border: 1px solid var(--opk-border); border-left: 4px solid var(--opk-blue); background: #f8fbff; border-radius: var(--opk-radius); }
.opk-alert strong { display: block; margin-bottom: 4px; color: var(--opk-text); }
.opk-alert p:last-child { margin-bottom: 0; }
.opk-alert-info { border-left-color: #1657d9; background: #f8fbff; }
.opk-alert-tip { border-left-color: #0f9f6e; background: #f3fbf7; }
.opk-alert-success { border-left-color: #16a34a; background: #f4fbf6; }
.opk-alert-warning { border-left-color: #f59e0b; background: #fffbeb; }
.opk-alert-important { border-left-color: #dc2626; background: #fff7f7; }
.opk-steps { counter-reset: opk-step; list-style: none; margin: 1.45em 0; padding: 0; display: grid; gap: 10px; }
.opk-steps li { counter-increment: opk-step; position: relative; margin: 0; padding: 14px 14px 14px 52px; border: 1px solid var(--opk-border); background: #fff; border-radius: var(--opk-radius); }
.opk-steps li::before { content: counter(opk-step); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: var(--opk-blue); color: #fff; font-weight: 800; border-radius: var(--opk-radius); }
.opk-steps strong { display: block; margin-bottom: 3px; }
.opk-steps p { margin: 0; color: var(--opk-muted); }
details.opk-accordion, .opk-entry-content details { margin: 10px 0; border: 1px solid var(--opk-border); background: #fff; border-radius: var(--opk-radius); overflow: hidden; }
details.opk-accordion summary, .opk-entry-content details summary { cursor: pointer; padding: 13px 15px; font-weight: 800; background: #f8fbff; }
details.opk-accordion > *:not(summary), .opk-entry-content details > *:not(summary) { margin: 0; padding: 14px 15px; }
.opk-tabs { margin: 1.45em 0; border: 1px solid var(--opk-border); background: #fff; border-radius: var(--opk-radius); overflow: hidden; }
.opk-tab-list { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--opk-border); background: #f8fbff; }
.opk-tab-list span { padding: 11px 14px; border-right: 1px solid var(--opk-border); font-weight: 800; font-size: 13px; color: var(--opk-blue); }
.opk-tab-panel { padding: 15px; }
.opk-tab-panel p:last-child { margin-bottom: 0; }

.opk-author-box { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; align-items: start; margin: 28px 0 0; padding: 18px; border: 1px solid var(--opk-border); border-left: 4px solid var(--opk-blue); background: #fbfdff; border-radius: var(--opk-radius); }
.opk-author-avatar img { display: block; width: 72px; height: 72px; border-radius: var(--opk-radius); border: 1px solid var(--opk-border); }
.opk-author-kicker { margin: 0 0 4px; color: var(--opk-blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.opk-author-box h2 { margin: 0 0 5px; font-size: 20px; line-height: 1.2; }
.opk-author-box p { margin: 0 0 10px; color: var(--opk-muted); }
.opk-author-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; font-weight: 750; }
.opk-author-meta span { color: var(--opk-muted); }
.opk-author-box--compact { grid-template-columns: 48px minmax(0,1fr); padding: 14px; }
.opk-author-box--compact .opk-author-avatar img { width: 48px; height: 48px; }
.opk-author-box--compact h2 { font-size: 17px; margin-bottom: 3px; }
.opk-author-box--compact .opk-author-kicker { margin-bottom: 2px; }
@media (max-width: 640px) {
  .opk-author-box { grid-template-columns: 1fr; }
  .opk-tab-list { display: grid; grid-template-columns: 1fr; }
  .opk-tab-list span { border-right: 0; border-bottom: 1px solid var(--opk-border); }
}


/* v0.30 Sticky Header Article Offset Fix */
.opk-entry-content h2[id],
.opk-entry-content h3[id],
.opk-entry-content h4[id] {
  scroll-margin-top: 138px;
}
.admin-bar .opk-entry-content h2[id],
.admin-bar .opk-entry-content h3[id],
.admin-bar .opk-entry-content h4[id] {
  scroll-margin-top: 174px;
}
.opk-sticky-header .opk-article-tools {
  top: 108px;
}
.admin-bar.opk-sticky-header .opk-article-tools {
  top: 142px;
}
.opk-header-height-compact.opk-sticky-header .opk-article-tools {
  top: 86px;
}
.admin-bar.opk-header-height-compact.opk-sticky-header .opk-article-tools {
  top: 122px;
}
.opk-header-height-spacious.opk-sticky-header .opk-article-tools {
  top: 132px;
}
.admin-bar.opk-header-height-spacious.opk-sticky-header .opk-article-tools {
  top: 166px;
}
@media (max-width: 782px) {
  .opk-entry-content h2[id],
  .opk-entry-content h3[id],
  .opk-entry-content h4[id],
  .admin-bar .opk-entry-content h2[id],
  .admin-bar .opk-entry-content h3[id],
  .admin-bar .opk-entry-content h4[id] {
    scroll-margin-top: 164px;
  }
  .opk-sticky-header .opk-article-tools,
  .admin-bar.opk-sticky-header .opk-article-tools {
    top: 22px;
  }
}


/* v0.31 Breadcrumb + Archive Header Layout Polish */
.opk-archive-breadcrumb-above { margin: 0 0 12px; }
.opk-archive-breadcrumb-above .opk-breadcrumb { margin-bottom: 0; }
.opk-archive-title-card.opk-breadcrumb-placement-compact_inline { gap: 14px 18px; }
.opk-archive-title-card.opk-breadcrumb-placement-compact_inline .opk-archive-breadcrumb-row { margin-bottom: -2px; }
.opk-archive-title-card.opk-breadcrumb-placement-compact_inline .opk-breadcrumb { font-size: 12px; margin-bottom: 0; }
.opk-archive-title-card.opk-breadcrumb-placement-compact_inline .opk-breadcrumb a,
.opk-archive-title-card.opk-breadcrumb-placement-compact_inline .opk-breadcrumb span { min-height: 24px; }
.opk-breadcrumb-separator-slash li:not(:last-child)::after { content: '/'; width: auto; height: auto; margin-left: 7px; background: none; color: #9aa8bd; }
.opk-breadcrumb-separator-chevron li:not(:last-child)::after { content: '›'; width: auto; height: auto; margin-left: 7px; background: none; color: #9aa8bd; font-weight: 900; }
.opk-breadcrumb-separator-arrow li:not(:last-child)::after { content: '→'; width: auto; height: auto; margin-left: 7px; background: none; color: #9aa8bd; font-weight: 800; }
.opk-breadcrumb-separator-minimal li:not(:last-child)::after { content: '·'; width: auto; height: auto; margin-left: 7px; background: none; color: #9aa8bd; font-weight: 900; }
.opk-breadcrumb-hide-current .opk-archive-title-card .opk-archive-breadcrumb-row .opk-breadcrumb { margin-bottom: 6px; }
.opk-archive-layout-compact { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.opk-archive-layout-compact > .opk-card-icon { width: 46px; height: 46px; font-size: 22px; }
.opk-archive-layout-compact .opk-entry-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 5px; }
.opk-archive-layout-compact .opk-eyebrow { margin-bottom: 5px; }
.opk-archive-layout-compact .opk-count { margin-top: 8px; }
.opk-archive-layout-hero { grid-template-columns: 66px minmax(0, 1fr); gap: 20px; padding: clamp(28px, 4vw, 42px); background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%); border-color: #d7e3ff; }
.opk-archive-layout-hero > .opk-card-icon { width: 66px; height: 66px; font-size: 31px; box-shadow: 0 12px 28px rgba(22,87,217,.10); }
.opk-archive-layout-hero .opk-entry-title { font-size: clamp(34px, 5vw, 54px); }
.opk-archive-layout-minimal { display: block; padding: 22px 24px; box-shadow: none; }
.opk-archive-layout-minimal > .opk-card-icon { display: none; }
.opk-archive-layout-minimal .opk-entry-title { margin-bottom: 6px; }
.opk-archive-layout-minimal .opk-archive-description { max-width: 900px; }
.opk-archive-layout-minimal .opk-count { margin-top: 8px; }
@media (max-width: 680px) {
  .opk-archive-title-card.opk-archive-layout-standard,
  .opk-archive-title-card.opk-archive-layout-compact,
  .opk-archive-title-card.opk-archive-layout-hero { grid-template-columns: 1fr; }
  .opk-archive-layout-hero { padding: 24px; }
  .opk-archive-layout-hero > .opk-card-icon,
  .opk-archive-layout-compact > .opk-card-icon { width: 44px; height: 44px; font-size: 22px; }
}


/* v0.35 Customizer preview labels: fixed overlay layer, never injected into page layout */
.customize-preview #opk-customizer-preview-label-layer {
  position: absolute;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.customize-preview .opk-customizer-preview-label {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  padding: 4px 7px;
  border: 1px solid rgba(22, 87, 217, 0.24);
  background: rgba(255, 255, 255, 0.96);
  color: var(--opk-blue);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(17, 63, 158, 0.08);
  border-radius: var(--opk-radius);
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 782px) {
  .customize-preview .opk-customizer-preview-label {
    max-width: 210px;
    white-space: normal;
  }
}

/* v0.36 Header Search + Search Customizer Upgrade */
.opk-header-inner .opk-header-search { flex: 0 1 300px; min-width: 220px; }
.opk-header-search .opk-search-form { width: 100%; min-height: 38px; box-shadow: none; }
.opk-header-search .opk-search-form input { padding: 9px 11px; font-size: 13px; }
.opk-header-search .opk-search-form button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 42px; padding: 8px 11px; font-size: 13px; white-space: nowrap; }
.opk-header-search .opk-search-form button .dashicons { width: 16px; height: 16px; font-size: 16px; line-height: 16px; }
.opk-header-search-style-icon_button { flex-basis: 230px; min-width: 190px; }
.opk-header-search-style-icon_button .opk-search-button-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.opk-header-search-style-icon_button .opk-search-form button { width: 40px; padding-inline: 8px; }
.opk-header-search-style-wide { flex-basis: 380px; min-width: 280px; }
.opk-header-search-below { padding-bottom: 12px; }
.opk-header-search-below .opk-header-search { max-width: 760px; }
.opk-header-search-below .opk-search-form { width: 100%; }
.opk-header-search .opk-live-search { min-width: 280px; right: 0; left: auto; }
.opk-header-stacked .opk-header-inner, .opk-header-centered .opk-header-inner { flex-wrap: wrap; }
.opk-search-shell-header .opk-live-search__inner a { padding: 10px 12px; }

@media (max-width: 980px) {
  .opk-header-inner { flex-wrap: wrap; }
  .opk-header-inner .opk-header-search { flex: 1 1 100%; order: 20; min-width: 100%; }
  .opk-header-search .opk-live-search { left: 0; right: auto; width: min(100%, 560px); }
}
@media (max-width: 560px) {
  .opk-header-search .opk-search-form { flex-direction: row; }
  .opk-header-search .opk-search-form button { width: auto; }
  .opk-header-search-style-wide, .opk-header-search-style-compact, .opk-header-search-style-icon_button { min-width: 100%; }
}


/* v0.37 Live Search Suggestion Panel Polish */
.opk-search-shell:not(.opk-header-search) {
  width: min(720px, 100%);
}
.opk-search-shell:not(.opk-header-search) .opk-search-form {
  width: 100%;
}
.opk-search-shell:not(.opk-header-search) .opk-live-search {
  width: min(560px, 100%);
  right: auto;
}
.opk-hero-premium .opk-live-search {
  top: calc(100% + 6px);
}
.opk-live-search__item {
  gap: 5px;
}
.opk-live-search__item strong,
.opk-live-search__item span,
.opk-live-search__item em {
  overflow-wrap: anywhere;
}
.opk-live-search__item span {
  display: block;
  line-height: 1.25;
}
@media (max-width: 980px) {
  .opk-search-shell:not(.opk-header-search) .opk-live-search {
    width: min(520px, 100%);
    max-height: 35vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 782px) {
  .opk-search-shell:not(.opk-header-search) .opk-live-search {
    width: 100%;
  }
  .opk-live-search__item {
    padding: 10px 12px;
  }
  .opk-live-search__item em {
    display: none;
  }
}
@media (max-width: 560px) {
  .opk-search-shell:not(.opk-header-search) {
    width: 100%;
  }
  .opk-live-search {
    box-shadow: 0 10px 24px rgba(15,23,42,.12);
  }
}

/* v0.38 Knowledge Article Patterns + Editor Experience */
.opk-article-template,
.opk-escalation-card {
  border: 1px solid var(--opk-border);
  border-left: 4px solid var(--opk-blue);
  background: #fff;
  border-radius: var(--opk-radius);
  padding: 20px;
  margin: 1.45em 0;
}

.opk-pattern-kicker {
  margin: 0 0 8px;
  color: var(--opk-blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.opk-checklist {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

.opk-checklist li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--opk-border);
  background: #fff;
  border-radius: var(--opk-radius);
}

.opk-checklist li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--opk-blue);
  font-weight: 900;
}

.opk-escalation-card {
  background: #fff7f7;
  border-left-color: #dc2626;
}

.opk-escalation-card h2 {
  margin-top: 0;
}

.opk-decision-table table,
.wp-block-table.opk-decision-table table {
  width: 100%;
  border-collapse: collapse;
}

.opk-decision-table th,
.opk-decision-table td,
.wp-block-table.opk-decision-table th,
.wp-block-table.opk-decision-table td {
  border: 1px solid var(--opk-border);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.opk-decision-table th,
.wp-block-table.opk-decision-table th {
  background: #f8fbff;
  color: var(--opk-text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* v0.42 Helpful Vote Button State Polish */
.opk-feedback-actions .opk-button[data-value="helpful"],
.opk-feedback-actions .opk-button[data-value="not_helpful"] {
  border: 1px solid #cfdcff;
  background: #eef4ff;
  color: var(--opk-blue);
  box-shadow: none;
}
.opk-feedback-actions .opk-button[data-value="helpful"]:hover,
.opk-feedback-actions .opk-button[data-value="helpful"]:focus,
.opk-feedback-actions .opk-button[data-value="not_helpful"]:hover,
.opk-feedback-actions .opk-button[data-value="not_helpful"]:focus {
  border-color: #9bb8ff;
  background: #e4edff;
  color: var(--opk-blue-dark);
  box-shadow: inset 0 0 0 1px #d7e2ff;
}
.opk-feedback-actions .opk-button[data-value="helpful"].is-selected {
  border-color: var(--opk-blue);
  background: var(--opk-blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), 0 6px 14px rgba(45, 74, 230, .13);
}
.opk-feedback-actions .opk-button[data-value="helpful"].is-selected:hover,
.opk-feedback-actions .opk-button[data-value="helpful"].is-selected:focus {
  border-color: var(--opk-blue-dark);
  background: var(--opk-blue-dark);
  color: #fff;
}
.opk-feedback-actions .opk-button[data-value="not_helpful"].is-selected {
  border-color: #efb4b4;
  background: #fff4f4;
  color: #9f2f2f;
  box-shadow: inset 0 0 0 1px #efb4b4;
}
.opk-feedback-actions .opk-button[data-value="not_helpful"].is-selected:hover,
.opk-feedback-actions .opk-button[data-value="not_helpful"].is-selected:focus {
  border-color: #d96f6f;
  background: #ffeaea;
  color: #822323;
}



/* v0.43 Feedback Signal List Consistency Polish */

/* v0.44 Feedback Analytics Visual Refresh */


/* v0.45 Feedback KPI One-Row Compact Layout */
.opk-feedback-stats--six {
  grid-template-columns: repeat(6, minmax(108px, 1fr));
  gap: 10px;
}
.opk-feedback-stats--six .opk-stat-card {
  min-height: 104px;
  padding: 14px 12px 12px 16px;
  box-shadow: 0 8px 18px rgba(23, 32, 51, .035);
}
.opk-feedback-stats--six .opk-stat-card::before {
  width: 2px;
}
.opk-feedback-stats--six .opk-stat-card__icon {
  right: 10px;
  top: 12px;
  width: 22px;
  height: 22px;
  font-size: 13px;
}
.opk-feedback-stats--six .opk-stat-card h2 {
  max-width: calc(100% - 28px);
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.2;
}
.opk-feedback-stats--six .opk-stat-card strong {
  font-size: clamp(22px, 1.55vw, 30px);
}
.opk-feedback-stats--six .opk-stat-card p {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.4;
}
@media (max-width: 1500px) {
  .opk-feedback-stats--six {
    grid-template-columns: repeat(6, minmax(104px, 1fr));
    gap: 10px;
  }
}
@media (max-width: 1180px) {
  .opk-feedback-stats--six {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 782px) {
  .opk-feedback-stats--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .opk-feedback-stats--six {
    grid-template-columns: 1fr;
  }
}


/* v0.74 search/no-results polish */
.opk-search-empty-state { text-align: left; display: grid; gap: 10px; align-items: start; padding: 24px; border: 1px solid var(--opk-border); background: linear-gradient(180deg, #fff, #f8fbff); }
.opk-empty-state__icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--opk-blue) 25%, #d7e1f1); color: var(--opk-blue); background: #f4f8ff; font-size: 20px; line-height: 1; }
.opk-search-tips { margin: 4px 0 0; padding-left: 18px; color: var(--opk-muted); }
.opk-search-tips li { margin: 4px 0; }
.opk-search-suggestions { margin-top: 18px; padding: 18px; border: 1px solid var(--opk-border); background: #fff; }
.opk-search-suggestions h3, .opk-search-fallback-heading h3 { margin: 0 0 10px; font-size: 17px; }
.opk-search-suggestion-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.opk-search-suggestion-list a { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--opk-border); background: #f8fafc; color: var(--opk-text); text-decoration: none; }
.opk-search-suggestion-list a:hover, .opk-search-suggestion-list a:focus { border-color: var(--opk-blue); box-shadow: inset 0 0 0 1px var(--opk-blue); }
.opk-search-suggestion-list strong { font-size: 14px; line-height: 1.4; }
.opk-search-suggestion-list span { color: var(--opk-muted); font-size: 12px; }
.opk-search-fallback-heading { margin-top: 20px; padding-top: 4px; }
.opk-search-fallback-heading p { margin: 0 0 12px; color: var(--opk-muted); }
@media (max-width: 860px) { .opk-search-suggestion-list { grid-template-columns: 1fr; } }


/* v0.75 search results experience polish */
.opk-search-results-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); gap: 16px; align-items: center; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--opk-border); border-left: 4px solid var(--opk-blue); background: #f8fbff; border-radius: var(--opk-radius); }
.opk-search-results-tools strong { display:block; font-size:16px; color:var(--opk-text); }
.opk-search-results-tools p { margin:3px 0 0; color:var(--opk-muted); font-size:13px; }
.opk-search-category-chips { display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
.opk-search-category-chips a { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:5px 9px; border:1px solid var(--opk-border); background:#fff; color:var(--opk-text); text-decoration:none; font-size:12px; font-weight:750; border-radius:var(--opk-radius); }
.opk-search-category-chips a:hover, .opk-search-category-chips a:focus { border-color:var(--opk-blue); box-shadow:inset 0 0 0 1px var(--opk-blue); }
.opk-search-category-chips .dashicons { color:var(--opk-blue); width:15px; height:15px; font-size:15px; line-height:15px; }
.opk-search-category-chips em { font-style:normal; color:var(--opk-muted); font-weight:800; }
.opk-search-result-item { display:grid; gap:4px; }
.opk-search-result-item .opk-card-link { align-self:start; border:1px solid var(--opk-blue); padding:7px 10px; border-radius:var(--opk-radius); font-size:13px; font-weight:750; }
.opk-search-result-item .opk-card-link:hover { background:var(--opk-blue); color:#fff; text-decoration:none; }
@media (max-width: 860px) { .opk-search-results-tools { grid-template-columns:1fr; } .opk-search-category-chips { justify-content:flex-start; } }

/* v0.76 front-end article page polish */
.opk-article-backline {
	margin: 0 0 14px;
}
.opk-article-backline a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--opk-muted);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}
.opk-article-backline a:hover,
.opk-article-backline a:focus {
	color: var(--opk-blue);
	text-decoration: none;
}
.opk-article-backline .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}
.opk-single-header-polished {
	position: relative;
	padding-bottom: 22px;
	margin-bottom: 28px;
}
.opk-single-header-polished::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 68px;
	height: 2px;
	background: var(--opk-blue);
	border-radius: 0;
}
.opk-single-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 13px;
}
.opk-single-meta-polished {
	margin-top: 14px;
	gap: 10px;
}
.opk-single-meta-polished > span {
	min-height: 28px;
	padding: 5px 9px;
	border: 1px solid var(--opk-border);
	border-radius: calc(var(--opk-radius) - 2px);
	background: #f8fbff;
	font-size: 12px;
	font-weight: 800;
	color: #526070;
}
.opk-single-meta-polished > span > .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
	line-height: 1;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--opk-blue);
}
.opk-related-panel {
	background: #f8fbff;
	border: 1px solid var(--opk-border);
	border-radius: var(--opk-radius);
	padding: 18px;
}
.opk-related-panel h2 {
	display: flex;
	align-items: center;
	gap: 8px;
}
.opk-related-panel h2::before {
	content: '\f109';
	font-family: dashicons;
	font-size: 18px;
	line-height: 1;
	color: var(--opk-blue);
}
.opk-related-list a {
	box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.opk-article-prev-next {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}
.opk-article-prev-next__item,
.opk-article-prev-next__empty {
	min-height: 82px;
}
.opk-article-prev-next__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 14px 16px;
	border: 1px solid var(--opk-border);
	border-radius: var(--opk-radius);
	background: #fff;
	color: var(--opk-text);
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.opk-article-prev-next__item:hover,
.opk-article-prev-next__item:focus {
	border-color: #b7c7df;
	background: #f8fbff;
	text-decoration: none;
}
.opk-article-prev-next__item span {
	color: var(--opk-muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.opk-article-prev-next__item strong {
	font-size: 15px;
	line-height: 1.29;
}
.opk-article-prev-next__item--next {
	text-align: right;
}
@media (max-width: 760px) {
	.opk-single-article { padding: 18px; }
	.opk-entry-title { font-size: clamp(28px, 9vw, 36px); letter-spacing: -0.035em; }
	.opk-single-meta-polished { gap: 7px; }
	.opk-single-meta-polished > span { width: 100%; justify-content: flex-start; }
	.opk-related-panel { padding: 14px; }
	.opk-article-prev-next { grid-template-columns: 1fr; }
	.opk-article-prev-next__empty { display: none; }
	.opk-article-prev-next__item--next { text-align: left; }
}

/* v0.77 related articles compact suggestions */
.opk-related-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}
.opk-related-heading h2 {
	margin-bottom: 0;
}
.opk-related-heading p {
	margin: 3px 0 0;
	color: var(--opk-muted);
	font-size: 13px;
	font-weight: 700;
	text-align: right;
}
.opk-related-list {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.opk-related-list a {
	gap: 6px;
	padding: 12px;
	min-height: 82px;
}
.opk-related-list strong {
	font-size: 13px;
	line-height: 1.29;
}
.opk-related-list span {
	font-size: 11px;
}
@media (max-width: 960px) {
	.opk-related-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.opk-related-heading {
		display: block;
	}
	.opk-related-heading p {
		text-align: left;
		margin-top: 6px;
	}
	.opk-related-list {
		grid-template-columns: 1fr;
	}
}


/* v0.78 Customizer style presets support */
.opk-customizer-preset-note{
	font-size:.92rem;
	color:var(--opk-muted);
}

/* v0.79 Dashboard setup completion score */


/* v0.88 — Front-End Category Archive Polish */
.opk-archive-title-card--polished { position: relative; overflow: visible; }
.opk-archive-title-card--polished .opk-archive-heading-main { min-width: 0; }
.opk-archive-meta-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.opk-archive-meta-grid span { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; gap: 6px; min-height: 34px; padding: 6px 10px; border: 1px solid #dbe6fb; background: #f7faff; border-radius: var(--opk-radius); color: var(--opk-muted); font-size: 12px; font-weight: 750; }
.opk-archive-meta-grid strong { color: var(--opk-text); font-size: 14px; letter-spacing: -0.01em; }
.opk-archive-section-search { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px; border: 1px solid #dbe6fb; background: #f8fbff; border-radius: var(--opk-radius); }
.opk-archive-section-search input[type="search"] { width: 100%; min-height: 40px; border: 1px solid var(--opk-border); border-radius: var(--opk-radius); padding: 8px 11px; font: inherit; background: #fff; color: var(--opk-text); }
.opk-archive-section-search input[type="search"]:focus { outline: 2px solid rgba(22,87,217,.16); border-color: var(--opk-blue); }
.opk-archive-section-search button { min-height: 40px; border: 1px solid var(--opk-blue); border-radius: var(--opk-radius); background: var(--opk-blue); color: #fff; padding: 8px 14px; font: inherit; font-weight: 800; cursor: pointer; }
.opk-archive-section-search button:hover, .opk-archive-section-search button:focus { background: var(--opk-blue-dark); border-color: var(--opk-blue-dark); }
.opk-category-archive-polished { align-items: start; }
.opk-archive-results-card { padding: 0; }
.opk-archive-results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--opk-border); background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); }
.opk-archive-results-head h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.opk-archive-results-head .opk-eyebrow { margin-bottom: 4px; }
.opk-archive-results-count { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid #dbe6fb; background: #fff; color: var(--opk-muted); font-size: 12px; font-weight: 800; border-radius: var(--opk-radius); white-space: nowrap; }
.opk-archive-article-list { padding: 18px; gap: 12px; }
.opk-archive-article-list .opk-article-item { display: grid; gap: 6px; padding: 15px 16px; }
.opk-archive-article-list .opk-article-item h3 { margin: 3px 0 2px; }
.opk-archive-sidebar-card { display: grid; gap: 18px; padding: 18px; position: sticky; top: 24px; }
.admin-bar .opk-archive-sidebar-card { top: 56px; }
.opk-archive-side-summary { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border: 1px solid #dbe6fb; background: #f8fbff; border-radius: var(--opk-radius); }
.opk-archive-side-summary .opk-card-icon { width: 42px; height: 42px; font-size: 21px; grid-row: span 2; }
.opk-archive-side-summary strong { min-width: 0; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.opk-archive-side-summary span { color: var(--opk-muted); font-size: 12px; font-weight: 750; }
.opk-sidebar-section { display: grid; gap: 10px; }
.opk-sidebar-section h2 { margin: 0; font-size: 16px; line-height: 1.2; }
.opk-sidebar-cats { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.opk-sidebar-cats li { margin: 0; }
.opk-sidebar-cats a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid transparent; border-radius: var(--opk-radius); color: var(--opk-text); text-decoration: none; }
.opk-sidebar-cats a:hover, .opk-sidebar-cats a:focus, .opk-sidebar-cats a.is-current { border-color: #dbe6fb; background: #f8fbff; color: var(--opk-blue-dark); }
.opk-sidebar-cats a.is-current { box-shadow: inset 3px 0 0 var(--opk-blue); }
.opk-sidebar-cats .opk-card-icon { width: 30px; height: 30px; font-size: 16px; }
.opk-sidebar-cats span { min-width: 0; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.opk-sidebar-cats em { color: var(--opk-muted); font-size: 12px; font-style: normal; font-weight: 800; }
.opk-sidebar-cats--compact { gap: 5px; }
.opk-sidebar-cats--compact a { padding: 6px 8px; }
@media (max-width: 900px) {
  .opk-archive-sidebar-card { position: static; }
  .opk-archive-results-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .opk-archive-section-search { grid-template-columns: 1fr; }
  .opk-archive-section-search button { width: 100%; }
  .opk-archive-meta-grid span { width: 100%; grid-template-columns: auto 1fr; }
  .opk-archive-article-list { padding: 14px; }
}

/* v0.89 — Front-End Search Experience Polish + typography pass */
:root {
  --opk-font-sans: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
  font-family: var(--opk-font-sans);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opk-site-title,
.opk-hero h1,
.opk-entry-title,
.opk-section-head h2,
.opk-card h3,
.opk-article-list h2,
.opk-article-list h3,
.opk-content-card h1,
.opk-content-card h2,
.opk-content-card h3,
.opk-sidebar-card h2 {
  font-family: var(--opk-font-sans);
  font-weight: 720;
  letter-spacing: -0.025em;
}
.opk-eyebrow,
.opk-count,
.opk-card-link,
.opk-category-badge,
.opk-article-item__meta,
.opk-search-category-chips a,
.opk-archive-results-count {
  font-weight: 680;
}
.opk-entry-content,
.opk-article-item p,
.opk-search-empty-state p,
.opk-sidebar-card p {
  font-weight: 400;
  line-height: 1.62;
}
.opk-search-hero--polished { padding: 30px 0 0; background: linear-gradient(180deg, #ffffff 0%, var(--opk-bg) 100%); border-bottom: 0; }
.opk-search-title-card--polished { padding: 0; overflow: hidden; }
.opk-search-title-grid { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 0; align-items: stretch; }
.opk-search-title-main { min-width: 0; padding: 24px; }
.opk-search-title-main .opk-entry-title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.opk-search-intro { max-width: 720px; margin: 0; font-size: 14px; line-height: 1.55; }
.opk-search-count-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; padding: 20px 16px; border-left: 1px solid var(--opk-border); background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); text-align: center; }
.opk-search-count-card strong { color: var(--opk-blue); font-size: 34px; line-height: 1; letter-spacing: -0.045em; }
.opk-search-count-card span { color: var(--opk-muted); font-size: 12px; font-weight: 720; line-height: 1.25; text-transform: uppercase; letter-spacing: .055em; }
.opk-search-refine-panel { grid-column: 1 / -1; padding: 16px 24px; border-top: 1px solid var(--opk-border); background: #f8fbff; }
.opk-search-refine-panel .opk-search-form { width: 100%; max-width: none; box-shadow: none; }
.opk-search-layout { align-items: start; padding-top: 24px; }
.opk-search-results-card { padding: 0; }
.opk-search-results-head { padding: 18px 20px; margin: 0; border-bottom: 1px solid var(--opk-border); background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); }
.opk-search-results-head h2 { margin: 0; font-size: 20px; line-height: 1.2; }
.opk-search-results-head .opk-eyebrow { margin: 0 0 4px; }
.opk-search-results-head > span { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid #dbe6fb; background: #fff; color: var(--opk-muted); font-size: 12px; font-weight: 760; border-radius: var(--opk-radius); white-space: nowrap; }
.opk-search-results-polished .opk-search-results-tools { margin: 16px 18px 0; grid-template-columns: minmax(0, 1fr) auto; background: #f8fbff; }
.opk-search-results-polished .opk-search-results-tools strong { font-size: 15px; font-weight: 720; }
.opk-search-results-polished .opk-search-category-chips { justify-content: flex-end; }
.opk-search-results-polished .opk-search-results-list { padding: 18px; gap: 12px; }
.opk-search-results-polished .opk-search-result-item { padding: 15px 16px; gap: 7px; }
.opk-search-result-item h2 { margin: 2px 0 0; font-size: 19px; line-height: 1.25; }
.opk-search-result-item h2 a { color: var(--opk-text); }
.opk-search-result-item h2 a:hover, .opk-search-result-item h2 a:focus { color: var(--opk-blue); }
.opk-search-result-item p { margin: 0; color: var(--opk-muted); font-size: 14px; line-height: 1.58; }
.opk-search-result-item mark { background: #fff0a6; color: #172033; padding: 0 2px; border-radius: 1px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.opk-search-result-item .opk-card-link { margin-top: 5px; padding: 7px 10px; font-size: 12px; font-weight: 720; }
.opk-search-sidebar-card { display: grid; gap: 18px; padding: 18px; position: sticky; top: 24px; }
.admin-bar .opk-search-sidebar-card { top: 56px; }
.opk-search-sidebar-refine { padding: 12px; border: 1px solid #dbe6fb; background: #f8fbff; border-radius: var(--opk-radius); }
.opk-search-sidebar-refine h2 { margin: 0; font-size: 16px; line-height: 1.2; }
.opk-search-sidebar-refine p { margin: 4px 0 10px; color: var(--opk-muted); font-size: 13px; }
.opk-search-sidebar-refine .opk-search-form { width: 100%; display: grid; grid-template-columns: 1fr; box-shadow: none; }
.opk-search-sidebar-refine .opk-search-form input { min-height: 38px; padding: 9px 10px; font-size: 13px; }
.opk-search-sidebar-refine .opk-search-form button { width: 100%; min-height: 38px; justify-content: center; font-size: 13px; }
.opk-search-sidebar-card .opk-live-search { position: static; margin-top: 8px; }
@media (max-width: 900px) {
  .opk-search-sidebar-card { position: static; }
  .opk-search-title-grid { grid-template-columns: 1fr; }
  .opk-search-count-card { align-items: flex-start; border-left: 0; border-top: 1px solid var(--opk-border); text-align: left; }
  .opk-search-results-polished .opk-search-results-tools { grid-template-columns: 1fr; }
  .opk-search-results-polished .opk-search-category-chips { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .opk-search-title-main,
  .opk-search-refine-panel { padding: 18px; }
  .opk-search-results-head { align-items: flex-start; flex-direction: column; }
  .opk-search-results-polished .opk-search-results-list { padding: 14px; }
}


/* v0.90 — Front-End Title Font Weight Polish */
.opk-site-title,
.opk-hero h1,
.opk-entry-title,
.opk-section-head h2,
.opk-card h3,
.opk-article-list h2,
.opk-article-list h3,
.opk-content-card h1,
.opk-content-card h2,
.opk-content-card h3,
.opk-sidebar-card h2,
.opk-archive-results-head h2,
.opk-search-results-head h2,
.opk-search-result-item h2,
.opk-archive-article-list .opk-article-item h3,
.opk-category-grid .opk-card h3,
.opk-category-grid h3 {
  font-family: var(--opk-font-sans);
  font-weight: 600;
  letter-spacing: -0.012em;
}
.opk-hero h1,
.opk-entry-title,
.opk-search-title-main .opk-entry-title {
  font-weight: 620;
  letter-spacing: -0.018em;
}
.opk-site-title {
  font-weight: 650;
  letter-spacing: -0.01em;
}
.opk-article-item h2,
.opk-article-item h3,
.opk-article-item h4,
.opk-search-result-item h2,
.opk-archive-article-list .opk-article-item h3 {
  line-height: 1.29;
}
.opk-search-result-item h2 a,
.opk-article-item h2 a,
.opk-article-item h3 a,
.opk-article-item h4 a,
.opk-card h3 a {
  font-weight: inherit;
}
.opk-search-count-card strong {
  font-weight: 620;
  letter-spacing: -0.02em;
}


/* v0.91 — Front-End Article Header / Meta Polish */
.opk-single-article {
  overflow: hidden;
}
.opk-article-backline {
  margin: 0 0 16px;
}
.opk-article-backline a {
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: calc(var(--opk-radius) - 2px);
  font-weight: 650;
  letter-spacing: -0.004em;
}
.opk-article-backline a:hover,
.opk-article-backline a:focus {
  border-color: #dbe6fb;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(36, 99, 235, .08);
}
.opk-single-header-polished {
  padding: 2px 0 24px;
  margin-bottom: 30px;
}
.opk-single-header-polished::after {
  width: 64px;
  height: 2px;
  border-radius: 1px;
}
.opk-single-kicker {
  margin-bottom: 12px;
}
.opk-single-kicker .opk-category-badge {
  min-height: 32px;
  padding: 4px 8px 4px 5px;
  border: 1px solid #dbe6fb;
  border-radius: calc(var(--opk-radius) - 1px);
  background: #f8fbff;
  color: var(--opk-blue-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}
.opk-single-kicker .opk-category-badge .opk-card-icon {
  width: 22px;
  height: 22px;
  font-size: 13px;
  background: #fff;
}
.opk-single-header-polished .opk-entry-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -0.018em;
}
.opk-single-meta-polished {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0 0;
  gap: 8px;
}
.opk-single-meta-polished > span {
  min-height: 30px;
  padding: 6px 10px;
  border-color: #dbe6fb;
  background: #fff;
  color: #526070;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}
.opk-single-meta-polished > span > .dashicons {
  color: var(--opk-blue);
  opacity: .9;
}
.opk-single-article .opk-entry-content {
  font-size: 16px;
  line-height: 1.72;
}
.opk-single-article .opk-entry-content > :first-child {
  margin-top: 0;
}
.opk-single-article .opk-entry-content h2,
.opk-single-article .opk-entry-content h3,
.opk-single-article .opk-entry-content h4 {
  letter-spacing: -0.01em;
}
.opk-related-panel {
  margin-top: 30px;
  padding: 18px;
  background: #fff;
  border-color: #dbe6fb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .035);
}
.opk-related-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--opk-border);
}
.opk-related-heading h2 {
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.012em;
}
.opk-related-heading p {
  max-width: 260px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.opk-related-list {
  margin-top: 14px;
}
.opk-related-list a {
  padding: 13px;
  border-color: #dbe6fb;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: none;
}
.opk-related-list a:hover,
.opk-related-list a:focus {
  border-color: var(--opk-blue);
  box-shadow: inset 0 0 0 1px rgba(36, 99, 235, .12);
}
.opk-related-list strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.42;
}
.opk-related-list span {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.opk-article-prev-next {
  margin-top: 16px;
}
.opk-article-prev-next__item {
  border-color: #dbe6fb;
  box-shadow: none;
}
.opk-article-prev-next__item:hover,
.opk-article-prev-next__item:focus {
  border-color: var(--opk-blue);
  box-shadow: inset 0 0 0 1px rgba(36, 99, 235, .12);
}
.opk-article-prev-next__item span {
  font-weight: 650;
  letter-spacing: .035em;
}
.opk-article-prev-next__item strong {
  font-weight: 600;
}
@media (max-width: 760px) {
  .opk-single-article { padding: 18px; }
  .opk-article-backline { margin-bottom: 12px; }
  .opk-article-backline a { padding-left: 0; }
  .opk-article-backline a:hover,
  .opk-article-backline a:focus { background: transparent; border-color: transparent; box-shadow: none; }
  .opk-single-header-polished { padding-bottom: 20px; margin-bottom: 24px; }
  .opk-single-header-polished .opk-entry-title { font-size: clamp(28px, 9vw, 38px); line-height: 1.1; letter-spacing: -0.014em; }
  .opk-single-kicker .opk-category-badge { max-width: 100%; }
  .opk-single-meta-polished { gap: 7px; }
  .opk-single-meta-polished > span { width: 100%; justify-content: flex-start; }
  .opk-single-article .opk-entry-content { font-size: 15.5px; line-height: 1.68; }
  .opk-related-panel { margin-top: 24px; padding: 14px; }
  .opk-related-heading { display: block; }
  .opk-related-heading p { max-width: none; text-align: left; }
}

/* v0.92 — Front-End Homepage / Landing Page Polish */
.opk-home-hero-polished {
  padding: clamp(30px, 5vw, 58px) 0 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 58%, var(--opk-bg) 100%);
}
.opk-home-hero-panel {
  grid-template-columns: minmax(0, 1fr) minmax(238px, 300px);
  gap: clamp(22px, 4vw, 38px);
  padding: clamp(24px, 4.4vw, 44px);
  background:
    radial-gradient(circle at 98% 0%, rgba(22, 87, 217, 0.09), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.opk-home-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.06;
  font-weight: 620;
  letter-spacing: -0.018em;
}
.opk-home-hero-intro {
  max-width: 700px;
  margin-bottom: 22px !important;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.62;
}
.opk-home-search-panel {
  display: grid;
  gap: 8px;
  max-width: 760px;
  padding: 12px;
  border: 1px solid #dbe6fb;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(15,23,42,.055);
  border-radius: var(--opk-radius);
}
.opk-home-search-panel .opk-search-form {
  width: 100%;
  max-width: none;
  border-color: #cad8f1;
  box-shadow: none;
}
.opk-home-search-panel .opk-search-form input {
  min-height: 48px;
  padding: 13px 15px;
}
.opk-home-search-panel .opk-search-form button {
  min-width: 120px;
  font-weight: 700;
}
.opk-home-search-panel > span {
  color: var(--opk-muted);
  font-size: 12px;
  line-height: 1.4;
}
.opk-home-hero-stats {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.opk-home-hero-stats div {
  display: grid;
  align-content: center;
  min-height: 76px;
  padding: 14px 15px;
  border-color: #dbe6fb;
  background: rgba(255,255,255,.88);
}
.opk-home-hero-stats strong {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.018em;
}
.opk-home-hero-stats span {
  font-weight: 700;
  letter-spacing: .055em;
}
.opk-home-categories-polished,
.opk-home-latest-polished {
  padding-top: 30px;
}
.opk-home-section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(219, 227, 239, .85);
}
.opk-home-section-head h2 {
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 610;
  letter-spacing: -0.014em;
}
.opk-home-section-head p:not(.opk-section-kicker) {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.58;
}
.opk-home-categories-polished .opk-category-grid {
  gap: 14px;
}
.opk-home-categories-polished .opk-category-card {
  min-height: 168px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}
.opk-home-categories-polished .opk-category-grid .opk-card-top {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
}
.opk-home-categories-polished .opk-category-grid .opk-card-icon {
  width: 40px;
  height: 40px;
  font-size: 21px;
}
.opk-home-categories-polished .opk-category-grid h3 {
  font-size: 17px;
  font-weight: 610;
  letter-spacing: -0.01em;
}
.opk-home-categories-polished .opk-category-grid p {
  font-size: 13px;
  line-height: 1.48;
}
.opk-home-latest-grid {
  gap: 12px;
}
.opk-home-latest-polished .opk-article-item {
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.032);
}
.opk-home-latest-polished .opk-article-item h3 {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 610;
  line-height: 1.29;
  letter-spacing: -0.01em;
}
.opk-home-latest-polished .opk-article-item p {
  font-size: 13.5px;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .opk-home-hero-panel { grid-template-columns: 1fr; }
  .opk-home-hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opk-home-hero-stats div { min-height: 68px; }
}
@media (max-width: 720px) {
  .opk-home-search-panel { padding: 10px; }
  .opk-home-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opk-home-section-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .opk-home-hero-polished { padding-top: 24px; }
  .opk-home-hero-panel { padding: 20px; }
  .opk-home-search-panel .opk-search-form { display: grid; grid-template-columns: 1fr; }
  .opk-home-search-panel .opk-search-form button { width: 100%; }
  .opk-home-hero-stats { grid-template-columns: 1fr; }
  .opk-home-categories-polished .opk-category-card,
  .opk-home-latest-polished .opk-article-item { padding: 15px; }
}


/* v0.93 — Homepage Live Search Containment Fix */
.opk-home-search-panel .opk-search-shell {
  width: 100%;
}
.opk-home-search-panel .opk-live-search {
  position: static;
  width: 100%;
  max-height: 320px;
  margin-top: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-color: #cad8f1;
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
}
.opk-home-search-panel .opk-live-search__item {
  padding: 11px 13px;
}
.opk-home-search-panel .opk-live-search__empty {
  padding: 12px 13px;
}
@media (max-width: 782px) {
  .opk-home-search-panel .opk-live-search {
    max-height: 260px;
  }
}


/* v0.94 — Homepage Hero Stats Height Fix */
.opk-home-hero-panel {
  align-items: start;
}
.opk-home-hero-copy {
  align-self: start;
}
.opk-home-hero-stats {
  align-self: start;
  align-content: start;
}
.opk-home-hero-stats div {
  min-height: 76px;
  align-content: center;
}
.opk-home-search-panel .opk-live-search {
  max-height: 260px;
}
@media (max-width: 960px) {
  .opk-home-hero-stats {
    align-self: stretch;
  }
}
@media (max-width: 782px) {
  .opk-home-search-panel .opk-live-search {
    max-height: 230px;
  }
}


/* v0.95 — Homepage Browse Section Polish */
.opk-home-categories-polished {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  border-top: 1px solid rgba(219, 227, 239, .7);
  border-bottom: 1px solid rgba(219, 227, 239, .7);
}
.opk-home-categories-polished .opk-home-section-head {
  margin-bottom: 20px;
}
.opk-home-categories-polished .opk-category-grid {
  align-items: stretch;
  gap: 16px;
}
.opk-home-categories-polished .opk-category-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 176px;
  padding: 18px;
  border-color: #d8e4f6;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.98) 100%);
}
.opk-home-categories-polished .opk-category-card::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--opk-blue);
  opacity: .72;
}
.opk-home-categories-polished .opk-category-card:hover,
.opk-home-categories-polished .opk-category-card:focus-visible {
  border-color: #b9c9e2;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .075);
}
.opk-home-categories-polished .opk-category-card.is-empty {
  background: #ffffff;
  border-style: dashed;
}
.opk-home-categories-polished .opk-category-card.is-empty::before {
  opacity: .32;
}
.opk-home-categories-polished .opk-category-grid .opk-card-top {
  align-items: start;
}
.opk-home-categories-polished .opk-category-grid h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 620;
  line-height: 1.22;
  letter-spacing: -0.006em;
}
.opk-category-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--opk-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.opk-category-card__meta .opk-count-inline {
  margin: 0;
  padding: 2px 7px;
  border: 1px solid #dbe6fb;
  background: #f3f7ff;
  color: var(--opk-blue-dark);
}
.opk-home-categories-polished .opk-category-grid p {
  margin: 0;
  color: #667085;
  font-size: 13.5px;
  line-height: 1.5;
}
.opk-home-categories-polished .opk-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 760;
}
.opk-home-categories-polished .opk-card-link::after {
  content: "→";
  transition: transform .16s ease;
}
.opk-home-categories-polished .opk-category-card:hover .opk-card-link::after {
  transform: translateX(2px);
}
.opk-category-empty-state {
  max-width: 760px;
  margin: 0;
  padding: 22px;
  border: 1px dashed #c9d8ef;
  background: #fff;
}
@media (max-width: 960px) {
  .opk-home-categories-polished .opk-category-card {
    min-height: 156px;
  }
}
@media (max-width: 560px) {
  .opk-home-categories-polished .opk-category-grid {
    gap: 12px;
  }
  .opk-home-categories-polished .opk-category-card {
    min-height: 0;
  }
}


/* v1.2 single article meta polish */
.opk-single-meta-polished > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.opk-single-meta-polished > span > .dashicons {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.opk-single-header-polished::after {
  width: 68px;
  height: 2px;
  border-radius: 0;
}


/* v1.4 single article divider cleanup */
.opk-single-header-polished::after {
  display: none;
  content: none;
}
.opk-single-header-polished {
  border-bottom: 1px solid var(--opk-border);
}

/* v1.4 single article category duplication cleanup: article category chips are suppressed in the main header when the sidebar is active. */


/* v1.5 article feedback compact one-line layout */
.opk-feedback-enhanced {
  margin-top: 20px;
}
.opk-feedback-enhanced .opk-feedback-grid {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
}
.opk-feedback-enhanced .opk-feedback-helpful,
.opk-feedback-enhanced .opk-rating-box {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.opk-feedback-enhanced .opk-feedback-helpful {
  flex: 0 1 360px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.opk-feedback-enhanced .opk-feedback-helpful h3,
.opk-feedback-enhanced .opk-rating-heading h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}
.opk-feedback-enhanced .opk-feedback-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.opk-feedback-enhanced .opk-feedback-actions .opk-button {
  min-height: 30px;
  padding: 6px 12px;
  line-height: 1;
}
.opk-feedback-enhanced .opk-rating-box {
  flex: 1 1 520px;
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}
.opk-feedback-enhanced .opk-rating-heading {
  display: contents;
  margin: 0;
}
.opk-feedback-enhanced .opk-rating-heading > div {
  min-width: 0;
}
.opk-feedback-enhanced .opk-rating-score {
  order: 3;
  min-width: 44px;
  height: 28px;
  padding: 0 7px;
  font-size: 15px;
}
.opk-feedback-enhanced .opk-star-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(34px, 1fr));
  gap: 5px;
}
.opk-feedback-enhanced .opk-star-rating button {
  min-height: 30px;
  padding: 5px 7px;
  gap: 3px;
}
.opk-feedback-enhanced .opk-star-rating span {
  font-size: 13px;
}
.opk-feedback-enhanced .opk-star-rating em {
  font-size: 12px;
}
.opk-feedback-enhanced .opk-rating-summary {
  display: none;
}
@media (max-width: 900px) {
  .opk-feedback-enhanced .opk-feedback-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .opk-feedback-enhanced .opk-feedback-helpful,
  .opk-feedback-enhanced .opk-rating-box {
    flex-basis: auto;
  }
}
@media (max-width: 620px) {
  .opk-feedback-enhanced .opk-feedback-helpful,
  .opk-feedback-enhanced .opk-rating-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .opk-feedback-enhanced .opk-rating-heading {
    display: flex;
  }
  .opk-feedback-enhanced .opk-rating-score {
    order: initial;
    justify-self: start;
  }
}


/* v1.6 single article visual balance polish */
.opk-article-layout-enhanced {
  gap: 22px;
}
.opk-single-article {
  padding: clamp(24px, 3.2vw, 34px);
}
.opk-single-article .opk-breadcrumbs {
  margin-bottom: 18px;
}
.opk-article-backline {
  margin-bottom: 14px;
}
.opk-single-header-polished {
  padding: 0 0 20px;
  margin-bottom: 24px;
}
.opk-single-header-polished .opk-entry-title {
  max-width: 820px;
  font-size: clamp(34px, 3.45vw, 44px);
  line-height: 1.075;
  letter-spacing: -0.016em;
}
.opk-single-meta-polished {
  margin-top: 14px;
  gap: 7px;
}
.opk-single-meta-polished > span {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 11.5px;
}
.opk-single-meta-polished > span > .dashicons {
  width: 15px;
  height: 15px;
  font-size: 15px;
}
.opk-single-article .opk-entry-content {
  font-size: 15.8px;
  line-height: 1.7;
}
.opk-single-article .opk-entry-content h2 {
  margin-top: 1.45em;
  margin-bottom: .52em;
  font-size: clamp(25px, 2.45vw, 34px);
  line-height: 1.12;
  font-weight: 620;
}
.opk-single-article .opk-entry-content h3 {
  margin-top: 1.35em;
  margin-bottom: .45em;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.18;
  font-weight: 620;
}
.opk-article-tools {
  padding: 20px;
  box-shadow: 0 7px 18px rgba(15,23,42,.032);
}
.opk-article-tools h2 {
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.18;
}
.opk-article-detail-list {
  gap: 7px;
  margin-bottom: 14px;
}
.opk-article-detail-list a,
.opk-article-detail-list > span,
.opk-sidebar-cats a {
  padding: 8px;
  background: #fff;
}
.opk-article-detail-list .opk-card-icon,
.opk-article-detail-list .opk-detail-icon,
.opk-sidebar-cats .opk-card-icon {
  width: 28px;
  height: 28px;
  font-size: 15px;
}
.opk-article-detail-list strong {
  font-size: 10.5px;
  letter-spacing: .055em;
}
.opk-article-detail-list em,
.opk-article-detail-list a span {
  font-size: 12.5px;
  line-height: 1.25;
}
.opk-toc {
  margin-top: 14px;
  padding-top: 14px;
}
.opk-toc h3,
.opk-article-tools h3 {
  font-size: 14.5px;
}
.opk-toc a {
  padding: 6px 8px;
}
.opk-sidebar-divider {
  margin: 16px 0;
}
.opk-sidebar-cats {
  gap: 7px;
}
.opk-sidebar-cats span {
  font-size: 12.5px;
}
.opk-feedback-enhanced {
  margin-top: 18px;
}
.opk-feedback-enhanced .opk-feedback-grid {
  gap: 14px;
  padding: 12px 14px;
}
.opk-feedback-enhanced .opk-feedback-helpful h3,
.opk-feedback-enhanced .opk-rating-heading h3 {
  font-size: 14px;
}
.opk-feedback-enhanced .opk-feedback-actions .opk-button {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 12.5px;
}
.opk-feedback-enhanced .opk-star-rating {
  grid-template-columns: repeat(5, minmax(30px, 1fr));
  gap: 4px;
}
.opk-feedback-enhanced .opk-star-rating button {
  min-height: 28px;
  padding: 4px 6px;
}
.opk-feedback-enhanced .opk-rating-score {
  min-width: 40px;
  height: 26px;
  font-size: 14px;
}
@media (max-width: 1100px) {
  .opk-single-header-polished .opk-entry-title {
    font-size: clamp(32px, 4.4vw, 42px);
  }
  .opk-feedback-enhanced .opk-feedback-grid {
    align-items: stretch;
  }
}
@media (max-width: 960px) {
  .opk-article-layout-enhanced {
    gap: 18px;
    padding-top: 24px;
  }
  .opk-article-tools {
    position: static;
    padding: 18px;
  }
  .opk-article-detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .opk-single-article {
    padding: 18px;
  }
  .opk-single-header-polished {
    padding-bottom: 18px;
    margin-bottom: 20px;
  }
  .opk-single-header-polished .opk-entry-title {
    font-size: clamp(29px, 8.4vw, 37px);
    line-height: 1.09;
  }
  .opk-single-meta-polished > span {
    width: auto;
  }
  .opk-article-detail-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .opk-feedback-enhanced .opk-feedback-grid {
    padding: 12px;
  }
  .opk-feedback-enhanced .opk-star-rating {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}


/* v1.7 latest articles compact card polish */
.opk-home-latest-polished .opk-home-section-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
}
.opk-home-latest-grid {
  gap: 10px;
}
.opk-home-latest-polished .opk-article-item {
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 12px 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.028);
}
.opk-home-latest-polished .opk-article-item:hover {
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.048);
}
.opk-home-latest-polished .opk-article-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.25;
}
.opk-home-latest-polished .opk-article-item__meta > span {
  flex: 0 0 auto;
  white-space: nowrap;
}
.opk-home-latest-polished .opk-category-badge {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: min(58%, 260px);
  padding: 0;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--opk-text-soft);
}
.opk-home-latest-polished .opk-category-badge .opk-card-icon {
  width: 24px;
  height: 24px;
  font-size: 13px;
  flex: 0 0 24px;
}
.opk-home-latest-polished .opk-category-badge span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opk-home-latest-polished .opk-article-item h3 {
  margin: 3px 0 1px;
  font-size: 16px;
  font-weight: 610;
  line-height: 1.22;
  letter-spacing: -0.008em;
}
.opk-home-latest-polished .opk-article-item p {
  margin: 0;
  color: var(--opk-muted);
  font-size: 12.8px;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 720px) {
  .opk-home-latest-polished .opk-article-item__meta {
    flex-wrap: wrap;
  }
  .opk-home-latest-polished .opk-category-badge {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .opk-home-latest-polished .opk-article-item {
    padding: 12px;
  }
  .opk-home-latest-polished .opk-article-item h3 {
    font-size: 15.5px;
  }
}

/* v1.8 — Homepage Category Column Control Fix
   The Customizer's 3-column option must render three category cards per row on desktop. */


/* v1.9 — Category Archive / Search Results Consistency Pass
   Align archive and search listings with the calmer compact card language used on the homepage. */
.opk-category-archive-polished,
.opk-search-results-polished {
  gap: 20px;
}
.opk-archive-results-head,
.opk-search-results-head {
  padding: 15px 18px;
  background: #fff;
}
.opk-archive-results-head h2,
.opk-search-results-head h2 {
  font-size: 18px;
  font-weight: 610;
}
.opk-archive-results-count,
.opk-search-results-head > span {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 11.5px;
}
.opk-archive-article-list,
.opk-search-results-polished .opk-search-results-list {
  padding: 14px;
  gap: 10px;
}
.opk-archive-article-list .opk-article-item,
.opk-search-results-polished .opk-search-result-item {
  gap: 5px;
  padding: 13px 14px;
  min-height: 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.028);
}
.opk-archive-article-list .opk-article-item:hover,
.opk-search-results-polished .opk-search-result-item:hover {
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.048);
}
.opk-archive-article-list .opk-article-item__meta,
.opk-search-results-polished .opk-article-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.25;
}
.opk-archive-article-list .opk-category-badge,
.opk-search-results-polished .opk-category-badge {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: min(58%, 260px);
  padding: 0;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--opk-text-soft);
}
.opk-archive-article-list .opk-category-badge .opk-card-icon,
.opk-search-results-polished .opk-category-badge .opk-card-icon {
  width: 24px;
  height: 24px;
  font-size: 13px;
  flex: 0 0 24px;
}
.opk-archive-article-list .opk-category-badge span,
.opk-search-results-polished .opk-category-badge span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opk-archive-article-list .opk-article-item h3,
.opk-search-result-item h2 {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 610;
  line-height: 1.24;
  letter-spacing: -0.008em;
}
.opk-archive-article-list .opk-article-item p,
.opk-search-result-item p {
  margin: 0;
  color: var(--opk-muted);
  font-size: 12.8px;
  line-height: 1.42;
}
.opk-archive-article-list .opk-article-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.opk-search-result-item .opk-card-link {
  justify-self: start;
  margin-top: 3px;
  padding: 5px 8px;
  font-size: 11.5px;
  border-color: #dbe6fb;
  color: var(--opk-text-soft);
  background: #fff;
}
.opk-search-result-item .opk-card-link:hover,
.opk-search-result-item .opk-card-link:focus {
  border-color: var(--opk-blue);
  background: #f8fbff;
  color: var(--opk-blue-dark);
}
.opk-archive-sidebar-card,
.opk-search-sidebar-card {
  gap: 14px;
  padding: 16px;
}
.opk-archive-side-summary,
.opk-search-sidebar-refine {
  padding: 10px;
}
@media (max-width: 720px) {
  .opk-archive-article-list .opk-category-badge,
  .opk-search-results-polished .opk-category-badge {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .opk-archive-results-head,
  .opk-search-results-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .opk-archive-article-list,
  .opk-search-results-polished .opk-search-results-list {
    padding: 12px;
  }
  .opk-archive-article-list .opk-article-item,
  .opk-search-results-polished .opk-search-result-item {
    padding: 12px;
  }
}


/* v1.16 Dashboard duplicate-content QA pass */
.opk-dashboard-centre__body--overview-qa {
	grid-template-columns: minmax(300px, 1fr) minmax(280px, .82fr);
	align-items: stretch;
}
.opk-dashboard-centre__body--overview-qa .opk-dashboard-panel--actions {
	grid-column: auto;
}
.opk-readiness-card.is-good .opk-readiness-card__summary {
	padding-bottom: 0;
}
.opk-readiness-card.is-good .opk-readiness-card__summary p {
	color: #64748b;
}
@media (max-width: 1280px) {
	.opk-dashboard-centre__body--overview-qa {
		grid-template-columns: 1fr;
	}
	.opk-dashboard-centre__body--overview-qa .opk-dashboard-panel--actions {
		grid-column: auto;
	}
}


/* v1.39 Article Fields Foundation */
.opk-article-fields-block {
	margin: 28px 0;
	padding: 18px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-left: 3px solid var(--opk-accent, #0073aa);
	background: rgba(248, 250, 252, 0.8);
}
.opk-article-fields-block h2 {
	margin: 0 0 14px;
	font-size: 1.05rem;
}
.opk-article-fields-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}
.opk-article-fields-list__item {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.opk-article-fields-list__item strong {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}
.opk-article-fields-list__item span,
.opk-article-fields-list__item a {
	font-weight: 650;
	word-break: break-word;
}
@media (max-width: 700px) {
	.opk-article-fields-list {
		grid-template-columns: 1fr;
	}
}


/* v1.42 Article Page Placement Zones */
.opk-article-fields-block--after_header {
	margin-top: 18px;
	margin-bottom: 22px;
}
.opk-article-fields-block--sidebar {
	margin: 18px 0;
	padding: 14px;
	background: #fff;
}
.opk-article-fields-block--sidebar h2 {
	font-size: 0.95rem;
	margin-bottom: 10px;
}
.opk-article-fields-block--sidebar .opk-article-fields-list {
	grid-template-columns: 1fr;
	gap: 9px;
}
.opk-article-fields-block--sidebar .opk-article-fields-list__item strong {
	font-size: 0.72rem;
}


/* v1.54 — Article Fields Front-end Display Polish */
.opk-article-fields-block {
	border-radius: 3px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}
.opk-article-fields-block__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.opk-article-fields-block__head h2 {
	margin: 0;
	font-size: .98rem;
}
.opk-article-fields-block__head span {
	color: #64748b;
	font-size: .76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.opk-article-fields-list__item {
	padding: 10px 12px;
	border: 1px solid rgba(15, 23, 42, 0.075);
	border-radius: 3px;
	background: rgba(255,255,255,.72);
}
.opk-article-fields-list__value {
	display: block;
	font-weight: 650;
	line-height: 1.45;
}
.opk-article-fields-list__item--url .opk-article-fields-list__value a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.opk-article-fields-block--after_header {
	background: linear-gradient(180deg, rgba(248,250,252,.95), rgba(255,255,255,.86));
}
.opk-article-fields-block--after_content {
	margin-top: 34px;
}
.opk-article-fields-block--sidebar {
	box-shadow: none;
}
.opk-article-fields-block--sidebar .opk-article-fields-block__head {
	display: block;
	margin-bottom: 10px;
	padding-bottom: 8px;
}
.opk-article-fields-block--sidebar .opk-article-fields-block__head span {
	display: block;
	margin-top: 2px;
	font-size: .68rem;
}
.opk-article-fields-block--sidebar .opk-article-fields-list__item {
	padding: 8px 0;
	border-width: 0 0 1px;
	border-radius: 0;
	background: transparent;
}
.opk-article-fields-block--sidebar .opk-article-fields-list__item:last-child {
	border-bottom: 0;
}
@media (max-width: 700px) {
	.opk-article-fields-block__head {
		display: block;
	}
	.opk-article-fields-block__head span {
		display: block;
		margin-top: 3px;
	}
}

/* v1.64 — Article Page Layout Customizer */
.opk-article-sidebar-left {
  grid-template-columns: 250px minmax(0, 1fr);
}
.opk-article-sidebar-left > div {
  order: 2;
}
.opk-article-sidebar-left > .opk-article-tools {
  order: 1;
}
.opk-article-sidebar-right {
  grid-template-columns: minmax(0, 1fr) 250px;
}
.opk-article-sidebar-none {
  grid-template-columns: minmax(0, 1fr);
}
.opk-article-details-panel--inline {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--opk-border);
  border-left: 3px solid var(--opk-blue);
  border-radius: var(--opk-radius);
  background: linear-gradient(180deg, rgba(248, 250, 252, .96), rgba(255, 255, 255, .9));
  box-shadow: 0 10px 24px rgba(15, 23, 42, .035);
}
.opk-article-details-panel--inline > h2 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.2;
}
.opk-article-details-panel--inline .opk-article-detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.opk-article-details-panel--inline .opk-article-fields-block--sidebar {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-width: 1px 0 0;
  border-left-width: 0;
  background: transparent;
}
.opk-article-details-panel--inline .opk-article-fields-block--sidebar .opk-article-fields-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.opk-article-details-panel--inline .opk-toc {
  margin-top: 14px;
}
.opk-article-details-panel--inline .opk-sidebar-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
@media (max-width: 960px) {
  .opk-article-sidebar-left,
  .opk-article-sidebar-right,
  .opk-article-sidebar-none {
    grid-template-columns: 1fr;
  }
  .opk-article-sidebar-left > div,
  .opk-article-sidebar-left > .opk-article-tools {
    order: initial;
  }
  .opk-article-details-panel--inline .opk-article-detail-list,
  .opk-article-details-panel--inline .opk-sidebar-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .opk-article-details-panel--inline {
    padding: 14px;
  }
  .opk-article-details-panel--inline .opk-article-detail-list,
  .opk-article-details-panel--inline .opk-article-fields-block--sidebar .opk-article-fields-list,
  .opk-article-details-panel--inline .opk-sidebar-cats {
    grid-template-columns: 1fr;
  }
}


/* v1.65 — Article Sidebar Left Width Hotfix */
.opk-article-width-standard .opk-article-layout-enhanced.opk-article-sidebar-left {
  grid-template-columns: 250px minmax(0, 700px);
  justify-content: center;
}
.opk-article-width-wide .opk-article-layout-enhanced.opk-article-sidebar-left {
  grid-template-columns: 250px minmax(0, 1fr);
}
.opk-article-width-standard .opk-article-layout-enhanced.opk-article-sidebar-right {
  grid-template-columns: minmax(0, 700px) 250px;
  justify-content: center;
}
.opk-article-width-wide .opk-article-layout-enhanced.opk-article-sidebar-right {
  grid-template-columns: minmax(0, 1fr) 250px;
}
.opk-article-width-standard .opk-article-layout-enhanced.opk-article-sidebar-none,
.opk-article-width-wide .opk-article-layout-enhanced.opk-article-sidebar-none {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 960px) {
  .opk-article-width-standard .opk-article-layout-enhanced.opk-article-sidebar-left,
  .opk-article-width-wide .opk-article-layout-enhanced.opk-article-sidebar-left,
  .opk-article-width-standard .opk-article-layout-enhanced.opk-article-sidebar-right,
  .opk-article-width-wide .opk-article-layout-enhanced.opk-article-sidebar-right,
  .opk-article-width-standard .opk-article-layout-enhanced.opk-article-sidebar-none,
  .opk-article-width-wide .opk-article-layout-enhanced.opk-article-sidebar-none {
    grid-template-columns: 1fr;
  }
}


/* v1.66 — Article Sidebar Detail Duplication Hotfix */
.opk-article-layout-has-sidebar-details .opk-single-header-polished {
  margin-bottom: 22px;
}

/* v1.67 — Article Feedback Toast Confirmation Polish */
.opk-feedback > .opk-feedback-message,
.opk-rating-message {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.opk-feedback > .opk-feedback-message.opk-feedback-message--inline {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 10px 0 0 !important;
  padding: 0 16px 12px !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  color: var(--opk-blue);
  font-size: 12px;
  font-weight: 750;
}
.opk-toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.opk-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #cfe3d7;
  border-left: 4px solid #11843b;
  background: #fff;
  color: var(--opk-ink);
  box-shadow: 0 14px 34px rgba(23, 32, 51, .14);
  border-radius: var(--opk-radius);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.opk-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.opk-toast .dashicons {
  width: 20px;
  height: 20px;
  color: #11843b;
  font-size: 20px;
}
.opk-toast strong {
  font-size: 13px;
  line-height: 1.35;
}
.opk-toast--error {
  border-color: #f2c8c8;
  border-left-color: #c83232;
}
.opk-toast--error .dashicons {
  color: #c83232;
}
@media (max-width: 640px) {
  .opk-toast-stack {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opk-toast {
    transition: none;
  }
}


/* v1.68 — Article Feedback No-note Simplification */
.opk-feedback .opk-feedback-note,
.opk-feedback-message--inline {
	display: none !important;
}
.opk-feedback-message,
.opk-rating-message {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* v1.70 — Article TOC Sidebar Visual Polish */
.opk-toc {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--opk-border);
}
.opk-toc h3 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  color: var(--opk-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}
.opk-toc h3 .dashicons {
  width: 17px;
  height: 17px;
  color: var(--opk-muted);
  font-size: 17px;
  line-height: 17px;
}
.opk-toc ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 2px;
  display: grid;
  gap: 2px;
}
.opk-toc ol::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 14px;
  width: 1px;
  background: #dbe4ef;
}
.opk-toc li {
  position: relative;
  margin: 0;
}
.opk-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 32px;
  padding: 5px 7px 5px 0;
  border: 1px solid transparent;
  border-left: 0;
  color: var(--opk-muted);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}
.opk-toc a:hover,
.opk-toc a:focus {
  color: var(--opk-blue);
  text-decoration: none;
}
.opk-toc a:focus-visible {
  outline: 2px solid rgba(22, 87, 217, .28);
  outline-offset: 2px;
}
.opk-toc-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  background: #fff;
  color: #7b8798;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
}
.opk-toc-title {
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opk-toc-level-3 a {
  grid-template-columns: 28px minmax(0, 1fr);
  padding-left: 12px;
  font-size: 12.5px;
}
.opk-toc-level-3 .opk-toc-title {
  font-weight: 600;
}
.opk-toc a:hover .opk-toc-number,
.opk-toc a:focus .opk-toc-number,
.opk-toc a.is-active .opk-toc-number {
  color: var(--opk-blue);
}
.opk-toc a.is-active {
  color: var(--opk-text);
}
.opk-toc a.is-active::after {
  content: '';
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 14px;
  width: 2px;
  background: var(--opk-blue);
}
.opk-toc a.is-active .opk-toc-title {
  font-weight: 800;
}
@media (max-width: 960px) {
  .opk-toc {
    margin-top: 14px;
    padding-top: 14px;
  }
  .opk-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }
  .opk-toc ol::before,
  .opk-toc a.is-active::after {
    display: none;
  }
  .opk-toc a {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 30px;
    padding: 5px 6px;
    border: 1px solid var(--opk-border);
    background: #fff;
  }
  .opk-toc-number {
    width: 24px;
    height: 20px;
    background: #f8fbff;
  }
}
@media (max-width: 640px) {
  .opk-toc ol {
    grid-template-columns: 1fr;
  }
  .opk-toc-title {
    white-space: normal;
  }
}


/* v1.71 Category archive sidebar layout control */
.opk-category-layout-sidebar.opk-category-sidebar-left {
  grid-template-columns: 250px minmax(0, 1fr);
}
.opk-category-layout-sidebar.opk-category-sidebar-left > .opk-archive-results-card {
  order: 2;
}
.opk-category-layout-sidebar.opk-category-sidebar-left > .opk-archive-sidebar-card {
  order: 1;
}
.opk-category-layout-sidebar.opk-category-sidebar-right {
  grid-template-columns: minmax(0, 1fr) 250px;
}
.opk-category-layout-sidebar.opk-category-sidebar-right > .opk-archive-results-card {
  order: 1;
}
.opk-category-layout-sidebar.opk-category-sidebar-right > .opk-archive-sidebar-card {
  order: 2;
}
@media (max-width: 960px) {
  .opk-category-layout-sidebar.opk-category-sidebar-left,
  .opk-category-layout-sidebar.opk-category-sidebar-right {
    grid-template-columns: 1fr;
  }
  .opk-category-layout-sidebar.opk-category-sidebar-left > .opk-archive-results-card,
  .opk-category-layout-sidebar.opk-category-sidebar-left > .opk-archive-sidebar-card,
  .opk-category-layout-sidebar.opk-category-sidebar-right > .opk-archive-results-card,
  .opk-category-layout-sidebar.opk-category-sidebar-right > .opk-archive-sidebar-card {
    order: initial;
  }
}


/* v1.72 Article Typography Presets */
.opk-article-typography-system_clean .opk-entry-content,
.opk-article-typography-polished .opk-entry-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.opk-article-typography-system_clean .opk-entry-title,
.opk-article-typography-system_clean .opk-entry-content h2,
.opk-article-typography-system_clean .opk-entry-content h3,
.opk-article-typography-system_clean .opk-entry-content h4 {
  letter-spacing: -0.035em;
}
.opk-article-typography-technical_docs .opk-entry-content {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.64;
}
.opk-article-typography-technical_docs .opk-entry-content h2,
.opk-article-typography-technical_docs .opk-entry-content h3,
.opk-article-typography-technical_docs .opk-entry-content h4 {
  letter-spacing: -0.018em;
}
.opk-article-typography-technical_docs .opk-entry-content p,
.opk-article-typography-technical_docs .opk-entry-content li {
  max-width: 78ch;
}
.opk-article-typography-technical_docs .opk-entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.opk-article-typography-large_readability .opk-entry-content {
  font-size: 19px;
  line-height: 1.82;
}
.opk-article-typography-large_readability .opk-entry-content h2 {
  font-size: clamp(28px, 3.4vw, 38px);
}
.opk-article-typography-large_readability .opk-entry-content h3 {
  font-size: clamp(22px, 2.7vw, 29px);
}
.opk-article-typography-minimal .opk-entry-content {
  font-size: 16px;
  line-height: 1.66;
}
.opk-article-typography-minimal .opk-entry-content h2,
.opk-article-typography-minimal .opk-entry-content h3,
.opk-article-typography-minimal .opk-entry-content h4 {
  letter-spacing: -0.015em;
}
.opk-article-typography-minimal .opk-entry-content blockquote,
.opk-article-typography-minimal .opk-alert,
.opk-article-typography-minimal .opk-entry-content th {
  background: #fff;
}
.opk-article-typography-editorial .opk-entry-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.82;
}
.opk-article-typography-editorial .opk-entry-title,
.opk-article-typography-editorial .opk-entry-content h2,
.opk-article-typography-editorial .opk-entry-content h3,
.opk-article-typography-editorial .opk-entry-content h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.opk-article-body-size-compact .opk-entry-content { font-size: 16px; }
.opk-article-body-size-normal .opk-entry-content { font-size: 17px; }
.opk-article-body-size-large .opk-entry-content { font-size: 18px; }
.opk-article-typography-large_readability.opk-article-body-size-large .opk-entry-content { font-size: 20px; }
.opk-article-typography-large_readability.opk-article-body-size-compact .opk-entry-content { font-size: 18px; }
.opk-article-line-height-tight .opk-entry-content { line-height: 1.58; }
.opk-article-line-height-comfortable .opk-entry-content { line-height: 1.72; }
.opk-article-line-height-spacious .opk-entry-content { line-height: 1.86; }
.opk-article-heading-scale-compact .opk-entry-content h2 { font-size: clamp(22px, 2.8vw, 29px); }
.opk-article-heading-scale-compact .opk-entry-content h3 { font-size: clamp(19px, 2.2vw, 23px); }
.opk-article-heading-scale-large .opk-entry-content h2 { font-size: clamp(28px, 3.6vw, 38px); }
.opk-article-heading-scale-large .opk-entry-content h3 { font-size: clamp(22px, 2.8vw, 30px); }
.opk-article-paragraph-spacing-compact .opk-entry-content p,
.opk-article-paragraph-spacing-compact .opk-entry-content ul,
.opk-article-paragraph-spacing-compact .opk-entry-content ol { margin-bottom: .75em; }
.opk-article-paragraph-spacing-normal .opk-entry-content p,
.opk-article-paragraph-spacing-normal .opk-entry-content ul,
.opk-article-paragraph-spacing-normal .opk-entry-content ol { margin-bottom: 1.05em; }
.opk-article-paragraph-spacing-spacious .opk-entry-content p,
.opk-article-paragraph-spacing-spacious .opk-entry-content ul,
.opk-article-paragraph-spacing-spacious .opk-entry-content ol { margin-bottom: 1.35em; }
.opk-article-link-style-underlined .opk-entry-content a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.opk-article-link-style-strong .opk-entry-content a {
  font-weight: 800;
  color: var(--opk-blue);
}
@media (max-width: 720px) {
  .opk-article-typography-large_readability .opk-entry-content,
  .opk-article-body-size-large .opk-entry-content { font-size: 17px; }
  .opk-article-line-height-spacious .opk-entry-content { line-height: 1.74; }
}
/* v1.72 Preset defaults when fine-tuning controls are left on Normal/Comfortable */
.opk-article-typography-standard.opk-article-body-size-normal .opk-entry-content,
.opk-article-typography-technical_docs.opk-article-body-size-normal .opk-entry-content,
.opk-article-typography-minimal.opk-article-body-size-normal .opk-entry-content { font-size: 16px; }
.opk-article-typography-polished.opk-article-body-size-normal .opk-entry-content,
.opk-article-typography-system_clean.opk-article-body-size-normal .opk-entry-content { font-size: 17px; }
.opk-article-typography-editorial.opk-article-body-size-normal .opk-entry-content { font-size: 18px; }
.opk-article-typography-large_readability.opk-article-body-size-normal .opk-entry-content { font-size: 19px; }
.opk-article-typography-standard.opk-article-line-height-comfortable .opk-entry-content { line-height: 1.62; }
.opk-article-typography-technical_docs.opk-article-line-height-comfortable .opk-entry-content,
.opk-article-typography-minimal.opk-article-line-height-comfortable .opk-entry-content { line-height: 1.66; }
.opk-article-typography-polished.opk-article-line-height-comfortable .opk-entry-content,
.opk-article-typography-system_clean.opk-article-line-height-comfortable .opk-entry-content { line-height: 1.72; }
.opk-article-typography-editorial.opk-article-line-height-comfortable .opk-entry-content,
.opk-article-typography-large_readability.opk-article-line-height-comfortable .opk-entry-content { line-height: 1.82; }


/* v1.73 Article Call-outs Shortcode Pack */
.opk-entry-content .opk-callout {
  --opk-callout-accent: var(--opk-accent, #0073aa);
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(93, 113, 138, 0.22);
  border-left: 4px solid var(--opk-callout-accent);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.05);
}
.opk-entry-content .opk-callout-marker {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--opk-callout-accent) 28%, #d8e2ef);
  background: color-mix(in srgb, var(--opk-callout-accent) 9%, #fff);
  color: var(--opk-callout-accent);
}
.opk-entry-content .opk-callout-marker .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
}
.opk-entry-content .opk-callout-title {
  margin: 0 0 7px;
  color: var(--opk-heading, #162033);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.opk-entry-content .opk-callout-body {
  color: var(--opk-muted, #58677c);
  font-size: 0.98em;
  line-height: 1.62;
}
.opk-entry-content .opk-callout-body > :first-child { margin-top: 0; }
.opk-entry-content .opk-callout-body > :last-child { margin-bottom: 0; }
.opk-entry-content .opk-callout-body a { font-weight: 700; }
.opk-entry-content .opk-callout-note { --opk-callout-accent: #2271b1; }
.opk-entry-content .opk-callout-tip { --opk-callout-accent: #008a5b; }
.opk-entry-content .opk-callout-important { --opk-callout-accent: #7c3aed; }
.opk-entry-content .opk-callout-warning { --opk-callout-accent: #b45309; }
.opk-entry-content .opk-callout-success { --opk-callout-accent: #11823b; }
.opk-entry-content .opk-callout-related { --opk-callout-accent: #2563eb; }
.opk-entry-content .opk-callout-contact { --opk-callout-accent: #0f766e; }
.opk-entry-content .opk-callout-policy { --opk-callout-accent: #475569; }
@media (max-width: 640px) {
  .opk-entry-content .opk-callout {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
  }
  .opk-entry-content .opk-callout-marker {
    width: 30px;
    height: 30px;
  }
}
@media print {
  .opk-entry-content .opk-callout {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* v1.74 Tabs and Accordions Content Shortcodes */
.opk-entry-content .opk-tabs {
  margin: 24px 0;
  border: 1px solid var(--opk-border, #d8e2ef);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .04);
}
.opk-entry-content .opk-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--opk-border, #d8e2ef);
  background: #f8fbff;
}
.opk-entry-content .opk-tabs__button {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--opk-border, #d8e2ef);
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--opk-muted, #64748b);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 12px 16px;
  text-align: left;
}
.opk-entry-content .opk-tabs__button:hover,
.opk-entry-content .opk-tabs__button:focus {
  color: var(--opk-blue, #1657d9);
  background: #fff;
}
.opk-entry-content .opk-tabs__button:focus-visible {
  outline: 2px solid var(--opk-blue, #1657d9);
  outline-offset: -2px;
}
.opk-entry-content .opk-tabs__button.is-active {
  color: var(--opk-dark, #111827);
  background: #fff;
  border-bottom-color: var(--opk-blue, #1657d9);
}
.opk-entry-content .opk-tabs__panel {
  padding: 18px 20px;
}
.opk-entry-content .opk-tabs__panel > :first-child { margin-top: 0; }
.opk-entry-content .opk-tabs__panel > :last-child { margin-bottom: 0; }
.opk-entry-content .opk-accordions {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.opk-entry-content .opk-accordion-shortcode {
  border: 1px solid var(--opk-border, #d8e2ef);
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 41, 55, .035);
}
.opk-entry-content .opk-accordion-shortcode summary {
  align-items: center;
  color: var(--opk-dark, #111827);
  cursor: pointer;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
  padding: 14px 16px;
}
.opk-entry-content .opk-accordion-shortcode summary::-webkit-details-marker { display: none; }
.opk-entry-content .opk-accordion-shortcode summary:hover,
.opk-entry-content .opk-accordion-shortcode summary:focus {
  background: #f8fbff;
}
.opk-entry-content .opk-accordion-shortcode summary:focus-visible {
  outline: 2px solid var(--opk-blue, #1657d9);
  outline-offset: -2px;
}
.opk-entry-content .opk-accordion-shortcode[open] summary {
  border-bottom: 1px solid var(--opk-border, #d8e2ef);
}
.opk-entry-content .opk-accordion-shortcode[open] summary .dashicons {
  transform: rotate(180deg);
}
.opk-entry-content .opk-accordion-shortcode__body {
  padding: 16px;
}
.opk-entry-content .opk-accordion-shortcode__body > :first-child { margin-top: 0; }
.opk-entry-content .opk-accordion-shortcode__body > :last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .opk-entry-content .opk-tabs__list { display: grid; }
  .opk-entry-content .opk-tabs__button { border-right: 0; border-bottom: 1px solid var(--opk-border, #d8e2ef); }
  .opk-entry-content .opk-tabs__button.is-active { border-left: 3px solid var(--opk-blue, #1657d9); border-bottom-color: var(--opk-border, #d8e2ef); }
  .opk-entry-content .opk-tabs__panel { padding: 16px; }
}
@media print {
  .opk-entry-content .opk-tabs__list { display: none; }
  .opk-entry-content .opk-tabs__panel[hidden] { display: block !important; }
  .opk-entry-content .opk-tabs__panel { border-top: 1px solid #ddd; }
  .opk-entry-content .opk-accordion-shortcode__body { display: block; }
}

/* v1.75 Content Tags and Related Topic Display */
.opk-content-tags {
  align-items: flex-start;
  border-top: 1px solid var(--opk-border, #d8e2ef);
  border-bottom: 1px solid var(--opk-border, #d8e2ef);
  display: flex;
  gap: 14px;
  margin: 16px 0 22px;
  padding: 12px 0;
}
.opk-content-tags__label {
  align-items: center;
  color: var(--opk-muted, #64748b);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: .06em;
  line-height: 1.8;
  text-transform: uppercase;
}
.opk-content-tags__label .dashicons {
  font-size: 15px;
  height: 15px;
  width: 15px;
}
.opk-content-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opk-content-tags__list a {
  border: 1px solid var(--opk-border, #d8e2ef);
  color: var(--opk-muted, #64748b);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  padding: 6px 9px;
  text-decoration: none;
}
.opk-content-tags__list a:hover,
.opk-content-tags__list a:focus {
  border-color: var(--opk-blue, #1657d9);
  color: var(--opk-blue, #1657d9);
  background: #f8fbff;
}
@media (max-width: 640px) {
  .opk-content-tags { display: grid; gap: 8px; }
}

/* v1.76 Smart Article Links */
.opk-entry-content .opk-smart-link {
  border: 1px solid var(--opk-border, #d8e2ef);
  border-left: 4px solid var(--opk-blue, #1657d9);
  background: #fff;
  margin: 1.35em 0;
}
.opk-entry-content .opk-smart-link__inner {
  color: inherit;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  padding: 14px 16px;
  text-decoration: none;
}
.opk-entry-content .opk-smart-link__inner:hover,
.opk-entry-content .opk-smart-link__inner:focus {
  background: #f8fbff;
  color: inherit;
  text-decoration: none;
}
.opk-entry-content .opk-smart-link__marker {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--opk-blue, #1657d9) 22%, #d8e2ef);
  color: var(--opk-blue, #1657d9);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  margin-top: 2px;
  width: 30px;
}
.opk-entry-content .opk-smart-link__marker .dashicons {
  font-size: 16px;
  height: 16px;
  width: 16px;
}
.opk-entry-content .opk-smart-link__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.opk-entry-content .opk-smart-link__label {
  color: var(--opk-blue, #1657d9);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.opk-entry-content .opk-smart-link__title {
  color: var(--opk-text, #172033);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}
.opk-entry-content .opk-smart-link__summary {
  color: var(--opk-muted, #64748b);
  font-size: 14px;
  line-height: 1.5;
}
.opk-entry-content .opk-smart-link__meta {
  color: var(--opk-muted, #64748b);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-top: 2px;
}
.opk-entry-content .opk-smart-link__meta span + span::before,
.opk-entry-content .opk-smart-list__item-meta span + span::before {
  content: "•";
  margin-right: 8px;
  opacity: .55;
}
.opk-entry-content .opk-smart-inline {
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--opk-blue, #1657d9) 35%, transparent);
  display: inline-flex;
  font-weight: 750;
  gap: 4px;
  text-decoration: none;
}
.opk-entry-content .opk-smart-inline:hover,
.opk-entry-content .opk-smart-inline:focus {
  border-bottom-color: currentColor;
  text-decoration: none;
}
.opk-entry-content .opk-smart-inline .dashicons {
  font-size: 14px;
  height: 14px;
  width: 14px;
}
.opk-entry-content .opk-smart-list {
  border-top: 1px solid var(--opk-border, #d8e2ef);
  border-bottom: 1px solid var(--opk-border, #d8e2ef);
  margin: 1.55em 0;
  padding: 14px 0;
}
.opk-entry-content .opk-smart-list__title {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .04em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.opk-entry-content .opk-smart-list__items {
  display: grid;
  gap: 8px;
}
.opk-entry-content .opk-smart-list__item {
  border: 1px solid var(--opk-border, #d8e2ef);
  color: inherit;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  text-decoration: none;
}
.opk-entry-content .opk-smart-list__item:hover,
.opk-entry-content .opk-smart-list__item:focus {
  border-color: var(--opk-blue, #1657d9);
  background: #f8fbff;
  text-decoration: none;
}
.opk-entry-content .opk-smart-list__item-title {
  color: var(--opk-text, #172033);
  font-weight: 800;
  line-height: 1.25;
}
.opk-entry-content .opk-smart-list__item-meta {
  color: var(--opk-muted, #64748b);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
}
@media (max-width: 640px) {
  .opk-entry-content .opk-smart-link__inner { grid-template-columns: 1fr; }
  .opk-entry-content .opk-smart-link__marker { display: none; }
}

/* v1.77 Article Studio content helpers */
.opk-button-link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--opk-radius);
	background: var(--opk-blue);
	color: #fff;
	text-decoration: none;
	font-weight: 750;
	cursor: pointer;
}

.opk-button-link:hover,
.opk-button-link:focus {
	background: var(--opk-blue-dark);
	color: #fff;
	text-decoration: none;
}

.opk-step-list,
.opk-checklist {
	padding-left: 1.25rem;
}

.opk-step-list li,
.opk-checklist li {
	margin: .45rem 0;
}

.opk-checklist {
	list-style: none;
	padding-left: 0;
}

.opk-checklist li::before {
	content: "✓";
	display: inline-block;
	width: 1.35rem;
	font-weight: 700;
}


/* v1.83 — Latest Article Card Colour Consistency Fix */
.opk-home-hero-visual-soft .opk-home-hero-polished,
.opk-home-hero-visual-gradient .opk-home-hero-polished,
.opk-home-hero-visual-pattern .opk-home-hero-polished,
.opk-home-hero-visual-image .opk-home-hero-polished {
  position: relative;
  overflow: hidden;
  padding-block: clamp(34px, 6vw, 76px);
}
.opk-home-hero-visual-soft .opk-home-hero-polished::before,
.opk-home-hero-visual-gradient .opk-home-hero-polished::before,
.opk-home-hero-visual-pattern .opk-home-hero-polished::before,
.opk-home-hero-visual-image .opk-home-hero-polished::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.opk-home-hero-visual-soft .opk-home-hero-polished::before {
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--opk-blue) 13%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--opk-blue) 9%, #fff) 0%, #f7faff 54%, color-mix(in srgb, var(--opk-blue) 5%, #fff) 100%);
}
.opk-home-hero-visual-gradient .opk-home-hero-polished::before {
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--opk-blue) 82%, #0b2a5a) 0%, color-mix(in srgb, var(--opk-blue) 58%, #168a7a) 100%);
}
.opk-home-hero-visual-pattern .opk-home-hero-polished::before {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--opk-blue) 8%, #fff), #f8fbff),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--opk-blue) 23%, transparent) 1px, transparent 0);
  background-size: auto, 22px 22px;
}
.opk-home-hero-visual-image .opk-home-hero-polished::before {
  background:
    linear-gradient(90deg, rgba(10,22,42,.78), rgba(10,22,42,.42), rgba(10,22,42,.12)),
    var(--opk-home-hero-image);
  background-size: cover;
  background-position: center;
}
.opk-home-hero-visual-soft .opk-home-hero-polished > .opk-wrap,
.opk-home-hero-visual-gradient .opk-home-hero-polished > .opk-wrap,
.opk-home-hero-visual-pattern .opk-home-hero-polished > .opk-wrap,
.opk-home-hero-visual-image .opk-home-hero-polished > .opk-wrap {
  position: relative;
  z-index: 1;
}
.opk-home-hero-visual-gradient .opk-home-hero-panel,
.opk-home-hero-visual-image .opk-home-hero-panel {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 22px 60px rgba(7,18,38,.20);
}
.opk-home-hero-visual-image .opk-home-hero-copy .opk-eyebrow,
.opk-home-hero-visual-gradient .opk-home-hero-copy .opk-eyebrow {
  color: var(--opk-blue);
}
.opk-starter-visual {
  --opk-visual-accent: #1657d9;
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
  margin: -6px -6px 14px;
  padding: 14px 130px 14px 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--opk-visual-accent) 14%, var(--opk-border));
  border-radius: 3px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--opk-visual-accent) 10%, #ffffff) 0%, #f8fbff 72%, color-mix(in srgb, var(--opk-visual-accent) 6%, #ffffff) 100%);
}
.opk-starter-visual .dashicons {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  font-size: 34px;
  color: color-mix(in srgb, var(--opk-visual-accent) 78%, #172033);
}
.opk-starter-visual__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.opk-starter-visual__copy strong {
  display: block;
  overflow: hidden;
  color: #2f3d55;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.opk-starter-visual__copy em {
  display: block;
  color: var(--opk-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
}
.opk-starter-visual i {
  position: absolute;
  z-index: 1;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: color-mix(in srgb, var(--opk-visual-accent) 28%, transparent);
  opacity: .42;
}
.opk-starter-visual i:nth-child(3) {
  right: 34px;
  top: 18px;
  box-shadow:
    16px 0 0 color-mix(in srgb, var(--opk-visual-accent) 24%, transparent),
    32px 0 0 color-mix(in srgb, var(--opk-visual-accent) 18%, transparent),
    0 16px 0 color-mix(in srgb, var(--opk-visual-accent) 20%, transparent),
    16px 16px 0 color-mix(in srgb, var(--opk-visual-accent) 30%, transparent),
    32px 16px 0 color-mix(in srgb, var(--opk-visual-accent) 16%, transparent),
    0 32px 0 color-mix(in srgb, var(--opk-visual-accent) 14%, transparent),
    16px 32px 0 color-mix(in srgb, var(--opk-visual-accent) 21%, transparent),
    32px 32px 0 color-mix(in srgb, var(--opk-visual-accent) 12%, transparent);
}
.opk-starter-visual i:nth-child(4) {
  right: 92px;
  bottom: 18px;
  width: 6px;
  height: 6px;
  opacity: .26;
  box-shadow:
    12px 0 0 color-mix(in srgb, var(--opk-visual-accent) 22%, transparent),
    24px 0 0 color-mix(in srgb, var(--opk-visual-accent) 16%, transparent),
    0 12px 0 color-mix(in srgb, var(--opk-visual-accent) 16%, transparent),
    12px 12px 0 color-mix(in srgb, var(--opk-visual-accent) 24%, transparent);
}
.opk-starter-visual i:nth-child(5) {
  right: 0;
  top: 0;
  width: 112px;
  height: 100%;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--opk-visual-accent) 8%, #ffffff));
  opacity: .72;
}
/* Keep Latest article visual headers as one coherent component. Category/icon choice may vary, but the header colour system must not. */
.opk-starter-visual--blue,
.opk-starter-visual--green,
.opk-starter-visual--teal,
.opk-starter-visual--purple,
.opk-starter-visual--navy,
.opk-starter-visual--slate,
.opk-starter-visual--cyan {
  --opk-visual-accent: #1657d9;
}
@media (max-width: 760px) {
  .opk-home-hero-visual-soft .opk-home-hero-polished,
  .opk-home-hero-visual-gradient .opk-home-hero-polished,
  .opk-home-hero-visual-pattern .opk-home-hero-polished,
  .opk-home-hero-visual-image .opk-home-hero-polished { padding-block: 26px; }
  .opk-starter-visual { min-height: 58px; margin-bottom: 12px; }
}

/* v1.84 — Homepage Hero Visual Controls Polish */
.opk-home-hero-polished {
  --opk-home-hero-soft-mix: 9%;
  --opk-home-hero-radial-mix: 13%;
  --opk-home-hero-gradient-a: 82%;
  --opk-home-hero-gradient-b: 58%;
  --opk-home-hero-panel-shadow: 0 22px 60px rgba(7,18,38,.20);
  --opk-home-hero-pattern-mix: 0%;
  --opk-home-hero-image-overlay-start: rgba(10,22,42,.50);
  --opk-home-hero-image-overlay-mid: rgba(10,22,42,.28);
  --opk-home-hero-image-overlay-end: rgba(10,22,42,.08);
}
.opk-home-hero-shade-light .opk-home-hero-polished {
  --opk-home-hero-soft-mix: 6%;
  --opk-home-hero-radial-mix: 9%;
  --opk-home-hero-gradient-a: 62%;
  --opk-home-hero-gradient-b: 38%;
}
.opk-home-hero-shade-strong .opk-home-hero-polished {
  --opk-home-hero-soft-mix: 14%;
  --opk-home-hero-radial-mix: 19%;
  --opk-home-hero-gradient-a: 92%;
  --opk-home-hero-gradient-b: 68%;
}
.opk-home-hero-overlay-none .opk-home-hero-polished {
  --opk-home-hero-panel-shadow: 0 12px 28px rgba(15,23,42,.06);
  --opk-home-hero-image-overlay-start: rgba(10,22,42,.18);
  --opk-home-hero-image-overlay-mid: rgba(10,22,42,.08);
  --opk-home-hero-image-overlay-end: rgba(10,22,42,0);
}
.opk-home-hero-overlay-medium .opk-home-hero-polished {
  --opk-home-hero-panel-shadow: 0 26px 68px rgba(7,18,38,.26);
  --opk-home-hero-image-overlay-start: rgba(10,22,42,.66);
  --opk-home-hero-image-overlay-mid: rgba(10,22,42,.38);
  --opk-home-hero-image-overlay-end: rgba(10,22,42,.12);
}
.opk-home-hero-overlay-deep .opk-home-hero-polished {
  --opk-home-hero-panel-shadow: 0 30px 78px rgba(7,18,38,.32);
  --opk-home-hero-image-overlay-start: rgba(10,22,42,.80);
  --opk-home-hero-image-overlay-mid: rgba(10,22,42,.50);
  --opk-home-hero-image-overlay-end: rgba(10,22,42,.18);
}
.opk-home-hero-pattern-subtle .opk-home-hero-polished { --opk-home-hero-pattern-mix: 14%; }
.opk-home-hero-pattern-visible .opk-home-hero-polished { --opk-home-hero-pattern-mix: 25%; }
.opk-home-hero-visual-soft .opk-home-hero-polished::before {
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--opk-home-hero-colour) var(--opk-home-hero-radial-mix), transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--opk-home-hero-colour) var(--opk-home-hero-soft-mix), #fff) 0%, #f7faff 54%, color-mix(in srgb, var(--opk-home-hero-colour) calc(var(--opk-home-hero-soft-mix) - 3%), #fff) 100%);
}
.opk-home-hero-visual-gradient .opk-home-hero-polished::before {
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.28), transparent 28%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, #fff var(--opk-home-hero-pattern-mix), transparent) 1px, transparent 0),
    linear-gradient(135deg, color-mix(in srgb, var(--opk-home-hero-colour) var(--opk-home-hero-gradient-a), #0b2a5a) 0%, color-mix(in srgb, var(--opk-home-hero-colour) var(--opk-home-hero-gradient-b), #168a7a) 100%);
  background-size: auto, 22px 22px, auto;
}
.opk-home-hero-visual-pattern .opk-home-hero-polished::before {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--opk-home-hero-colour) var(--opk-home-hero-soft-mix), #fff), #f8fbff),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--opk-home-hero-colour) var(--opk-home-hero-pattern-mix), transparent) 1px, transparent 0);
  background-size: auto, 22px 22px;
}
.opk-home-hero-visual-image .opk-home-hero-polished::before {
  background:
    linear-gradient(90deg, var(--opk-home-hero-image-overlay-start), var(--opk-home-hero-image-overlay-mid), var(--opk-home-hero-image-overlay-end)),
    var(--opk-home-hero-image);
  background-size: cover;
  background-position: center;
}
.opk-home-hero-visual-gradient .opk-home-hero-panel,
.opk-home-hero-visual-image .opk-home-hero-panel {
  box-shadow: var(--opk-home-hero-panel-shadow);
}
.opk-home-hero-visual-image .opk-home-hero-copy .opk-eyebrow,
.opk-home-hero-visual-gradient .opk-home-hero-copy .opk-eyebrow {
  color: var(--opk-home-hero-colour);
}

/* v1.85 — Article Footer Feedback Layout Polish */
.opk-article-footer-actions {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 16px;
  align-items: stretch;
  margin: 26px 0 0;
}
.opk-article-footer-actions.no-author {
  grid-template-columns: minmax(0, 1fr);
}
.opk-article-footer-actions .opk-author-box,
.opk-article-footer-actions .opk-feedback-enhanced {
  height: 100%;
  margin: 0;
}
.opk-article-footer-actions .opk-author-box {
  align-content: start;
}
.opk-article-footer-feedback .opk-feedback-enhanced {
  border: 1px solid var(--opk-border);
  border-left: 4px solid var(--opk-blue);
  background: #fbfdff;
}
.opk-article-footer-feedback .opk-feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}
.opk-article-footer-feedback .opk-feedback-helpful,
.opk-article-footer-feedback .opk-rating-box {
  padding: 14px 16px;
  background: transparent;
  border: 0;
  min-height: 0;
}
.opk-article-footer-feedback .opk-feedback-helpful {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--opk-border);
}
.opk-article-footer-feedback .opk-feedback-helpful h3,
.opk-article-footer-feedback .opk-rating-heading h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}
.opk-article-footer-feedback .opk-feedback-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.opk-article-footer-feedback .opk-feedback-actions .opk-button {
  min-height: 30px;
  padding: 6px 13px;
  font-size: 12.5px;
}
.opk-article-footer-feedback .opk-rating-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.opk-article-footer-feedback .opk-rating-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.opk-article-footer-feedback .opk-rating-heading > div {
  min-width: 0;
}
.opk-article-footer-feedback .opk-rating-score {
  min-width: 42px;
  height: 28px;
  padding: 0 7px;
  font-size: 14px;
  background: #fff;
}
.opk-article-footer-feedback .opk-star-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.opk-article-footer-feedback .opk-star-rating button {
  flex: 1 1 46px;
  min-height: 31px;
  padding: 6px 9px;
  border-color: #d9e4f5;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .025);
}
.opk-article-footer-feedback .opk-star-rating button:hover,
.opk-article-footer-feedback .opk-star-rating button:focus {
  background: #f7faff;
  border-color: #b8c9e8;
  box-shadow: 0 0 0 2px rgba(45, 74, 230, .08);
}
.opk-article-footer-feedback .opk-star-rating button.is-selected {
  border-color: #b8c9e8;
  background: #eef4ff;
  color: var(--opk-blue);
  box-shadow: inset 0 0 0 1px rgba(45, 74, 230, .08);
}
.opk-article-footer-feedback .opk-star-rating button.is-current {
  transform: none;
  box-shadow: 0 5px 14px rgba(45, 74, 230, .11);
}
.opk-article-footer-feedback .opk-star-rating span {
  font-size: 13px;
}
.opk-article-footer-feedback .opk-star-rating em {
  font-size: 12px;
}
.opk-article-footer-feedback .opk-rating-message:empty,
.opk-article-footer-feedback .opk-feedback-message:empty {
  display: none;
}
.opk-article-footer-feedback .opk-feedback-message:not(:empty) {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--opk-blue);
  font-size: 12px;
  font-weight: 750;
}
.opk-article-footer-actions + .opk-related-panel {
  margin-top: 22px;
}
@media (max-width: 980px) {
  .opk-article-footer-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .opk-article-footer-feedback .opk-feedback-helpful,
  .opk-article-footer-feedback .opk-rating-heading {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .opk-article-footer-feedback .opk-feedback-actions {
    justify-content: flex-start;
  }
  .opk-article-footer-feedback .opk-star-rating button {
    flex-basis: 40px;
    padding-inline: 6px;
  }
}

/* v1.87 — Setup Wizard UX Audit */
.opk-setup-audit-card {
	margin: 0 0 18px;
	border-left: 4px solid #34506c;
}
.opk-setup-audit-card__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 18px;
	align-items: start;
	margin-bottom: 18px;
}
.opk-setup-audit-card__head h2 {
	margin: 6px 0 8px;
}
.opk-setup-audit-card__head p {
	max-width: 860px;
}
.opk-setup-audit-card__version {
	border: 1px solid #d8e3f3;
	background: #f8fbff;
	padding: 12px 14px;
	border-radius: 2px;
	box-shadow: 0 10px 24px rgba(28, 45, 68, 0.05);
}
.opk-setup-audit-card__version strong,
.opk-setup-audit-card__version span {
	display: block;
}
.opk-setup-audit-card__version strong {
	font-size: 18px;
	color: #162033;
}
.opk-setup-audit-card__version span {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #5f6f86;
	margin-top: 4px;
}
.opk-setup-audit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.opk-setup-audit-panel {
	border: 1px solid #dbe6f5;
	background: #fff;
	padding: 15px 16px;
	border-radius: 2px;
}
.opk-setup-audit-panel h3 {
	margin: 0 0 10px;
	font-size: 14px;
	letter-spacing: .035em;
	text-transform: uppercase;
	color: #31455f;
}
.opk-setup-audit-panel ul,
.opk-setup-audit-panel ol {
	margin: 0 0 0 18px;
}
.opk-setup-audit-panel li {
	margin: 0 0 8px;
	color: #4f5f73;
	line-height: 1.45;
}
.opk-setup-audit-panel li:last-child {
	margin-bottom: 0;
}
@media (max-width: 1100px) {
	.opk-setup-audit-card__head,
	.opk-setup-audit-grid {
		grid-template-columns: 1fr;
	}
	.opk-setup-audit-card__version {
		max-width: 280px;
	}
}

.opk-starter-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.opk-starter-article-image{margin:0;border:1px solid var(--opk-border);background:#fff;overflow:hidden}.opk-starter-article-image:first-child{grid-column:1 / -1}.opk-starter-article-image figcaption{padding:10px 12px;font-size:12px;color:var(--opk-muted);border-top:1px solid var(--opk-border);background:#fbfcfe}.opk-starter-visual-mockup{position:relative;display:block;min-height:218px;padding:18px;overflow:hidden;background:linear-gradient(135deg,var(--opk-mock-bg),#fff);border-bottom:1px solid var(--opk-border)}.opk-starter-visual-mockup:before{content:"";position:absolute;inset:14px;border:1px solid rgba(22,87,217,.16);background:rgba(255,255,255,.78)}.opk-starter-visual-mockup > span{position:relative;z-index:1}.opk-mock-browser{display:flex;gap:6px;height:26px;align-items:center;padding:0 12px;background:#fff;border:1px solid rgba(148,163,184,.35);border-bottom:0}.opk-mock-browser span{width:6px;height:6px;border-radius:1px;background:rgba(100,116,139,.32)}.opk-mock-overview,.opk-mock-checklist,.opk-mock-steps{display:grid;background:#fff;border:1px solid rgba(148,163,184,.35);min-height:126px;padding:16px;box-shadow:0 16px 34px rgba(15,23,42,.06)}.opk-mock-overview{grid-template-columns:86px minmax(0,1fr);gap:14px}.opk-mock-sidebar{display:flex;flex-direction:column;gap:10px;padding:12px;background:#f8fafc;border:1px solid rgba(148,163,184,.22)}.opk-mock-sidebar i,.opk-mock-main i,.opk-mock-summary b{display:block;height:8px;background:var(--opk-mock-accent);opacity:.15}.opk-mock-main{display:flex;flex-direction:column;gap:10px;padding:10px}.opk-mock-main i:nth-child(1){width:42%}.opk-mock-main i:nth-child(2){width:72%}.opk-mock-main i:nth-child(3){width:55%}.opk-mock-chart{display:flex;align-items:flex-end;gap:8px;height:46px;margin-top:4px}.opk-mock-chart b{display:block;width:18px;background:var(--opk-mock-accent);opacity:.24}.opk-mock-chart b:nth-child(1){height:22px}.opk-mock-chart b:nth-child(2){height:38px}.opk-mock-chart b:nth-child(3){height:30px}.opk-mock-checklist{gap:10px}.opk-mock-checklist i{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:center;padding:8px;background:#f8fafc;border:1px solid rgba(148,163,184,.22)}.opk-mock-checklist b{width:20px;height:20px;background:var(--opk-mock-accent);opacity:.18}.opk-mock-checklist em{height:8px;background:var(--opk-mock-accent);opacity:.13}.opk-mock-checklist i:nth-child(2) em{width:78%}.opk-mock-checklist i:nth-child(3) em{width:58%}.opk-mock-arrow{width:64px;height:8px;margin:2px auto 0;background:var(--opk-mock-accent);opacity:.28}.opk-mock-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.opk-mock-steps i{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:12px;background:#f8fafc;border:1px solid rgba(148,163,184,.22)}.opk-mock-steps i b{display:grid;place-items:center;width:24px;height:24px;background:var(--opk-mock-accent);color:#fff;font-size:12px;font-style:normal;font-weight:700}.opk-mock-steps i em{display:block;width:100%;height:8px;background:var(--opk-mock-accent);opacity:.13}.opk-mock-summary{grid-column:1 / -1;display:grid;gap:8px;padding:4px 2px 0}.opk-mock-summary b:nth-child(1){width:64%}.opk-mock-summary b:nth-child(2){width:44%}.opk-starter-visual-mockup__label{display:block;margin-top:12px;color:var(--opk-mock-accent);font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}.opk-starter-visual-mockup__title{display:block;margin-top:4px;color:var(--opk-ink);font-size:15px;font-weight:800;line-height:1.25}@media(max-width:760px){.opk-starter-image-grid{grid-template-columns:1fr}.opk-starter-article-image:first-child{grid-column:auto}.opk-mock-overview,.opk-mock-steps{grid-template-columns:1fr}.opk-mock-summary{grid-column:auto}}

/* v3.9 — Latest article card gap hotfix */
.opk-home-latest-polished .opk-starter-visual {
  margin-bottom: 4px;
}
.opk-home-latest-polished .opk-article-title-row {
  margin-top: 4px;
  margin-bottom: 6px;
}


/* v3.10 — Latest article visual header slimdown */
.opk-home-latest-polished .opk-starter-visual {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-height: 52px;
  margin-bottom: 6px;
  padding: 10px 102px 10px 16px;
}
.opk-home-latest-polished .opk-starter-visual .dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}
.opk-home-latest-polished .opk-starter-visual__copy strong {
  font-size: 11px;
  line-height: 1.1;
}
.opk-home-latest-polished .opk-starter-visual__copy em {
  font-size: 10.5px;
  line-height: 1.15;
}
@media (max-width: 760px) {
  .opk-home-latest-polished .opk-starter-visual {
    min-height: 48px;
    padding-right: 82px;
  }
}


/* v3.16 — Front-end visual consistency sweep */
.opk-article-layout-enhanced {
  gap: 24px;
  align-items: start;
}
.opk-single-article {
  min-width: 0;
}
.opk-single-header-polished {
  margin-bottom: 20px;
}
.opk-article-layout-has-sidebar-details .opk-single-header-polished {
  margin-bottom: 18px;
}
.opk-single-header-polished .opk-entry-title,
.opk-archive-title-card--polished .opk-entry-title,
.opk-search-title-card .opk-entry-title {
  max-width: 980px;
  line-height: 1.05;
  text-wrap: balance;
}
.opk-single-header-polished .opk-entry-title {
  margin-bottom: 0;
}
.opk-breadcrumb {
  margin-bottom: 16px;
}
.opk-article-backline {
  margin: -4px 0 18px;
}
.opk-article-tools,
.opk-archive-sidebar-card,
.opk-search-sidebar-card {
  min-width: 0;
}
.opk-article-details-panel--sidebar,
.opk-archive-sidebar-card,
.opk-search-sidebar-card {
  border-radius: var(--opk-radius);
}
.opk-article-details-panel--sidebar h2,
.opk-archive-sidebar-card h2,
.opk-search-sidebar-card h2 {
  letter-spacing: -0.01em;
}
.opk-article-details-panel--sidebar .opk-sidebar-cats a,
.opk-archive-sidebar-card .opk-sidebar-cats a,
.opk-search-sidebar-card .opk-sidebar-cats a {
  min-width: 0;
}
.opk-article-details-panel--sidebar .opk-sidebar-cats span,
.opk-archive-sidebar-card .opk-sidebar-cats span,
.opk-search-sidebar-card .opk-sidebar-cats span {
  line-height: 1.25;
}
.opk-archive-title-card--polished {
  gap: 16px 18px;
}
.opk-archive-title-card--polished .opk-card-icon {
  align-self: start;
}
.opk-archive-meta-grid {
  margin-top: 14px;
}
.opk-archive-results-head {
  min-width: 0;
}
.opk-archive-results-head > div {
  min-width: 0;
}
.opk-archive-article-list .opk-article-item {
  border-radius: var(--opk-radius);
}
.opk-archive-article-list .opk-article-item h3,
.opk-search-results-card .opk-article-item h3 {
  line-height: 1.22;
  text-wrap: balance;
}
.opk-archive-section-search {
  align-items: center;
}
.opk-starter-image-grid {
  margin: 22px 0 26px;
}
.opk-starter-article-image {
  border-radius: var(--opk-radius);
}
.opk-starter-visual-mockup,
.opk-mock-overview,
.opk-mock-checklist,
.opk-mock-steps,
.opk-mock-sidebar,
.opk-mock-checklist i,
.opk-mock-steps i {
  border-radius: var(--opk-radius);
}
.opk-starter-article-image figcaption {
  line-height: 1.35;
}
@media (max-width: 960px) {
  .opk-article-layout-enhanced,
  .opk-category-archive-polished,
  .opk-search-layout-polished {
    gap: 18px;
  }
  .opk-article-backline {
    margin-top: 0;
  }
  .opk-archive-sidebar-card,
  .opk-search-sidebar-card,
  .opk-article-details-panel--sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .opk-content-card,
  .opk-sidebar-card,
  .opk-article-card {
    padding: 18px;
  }
  .opk-single-header-polished .opk-entry-title,
  .opk-archive-title-card--polished .opk-entry-title,
  .opk-search-title-card .opk-entry-title {
    line-height: 1.1;
  }
  .opk-archive-title-card--polished,
  .opk-search-title-card {
    gap: 12px;
  }
  .opk-archive-meta-grid {
    gap: 7px;
  }
  .opk-starter-visual-mockup {
    min-height: 0;
    padding: 14px;
  }
}
