/* Optional monochrome presentation. Loaded last; all rules stay inside the style switch. */
html[data-style="minimal"] {
    --bg-canvas: #fff;
    --bg-gradient: #fff;
    --bg-mesh: #fff;
    --text-primary: #111;
    --text-secondary: #555;
    --text-tertiary: #777;
    --accent-color: #333;
    --product-surface: #fff;
    --product-muted-surface: #f5f5f5;
    --product-line: #ddd;
    --glass-bg: #fff;
    --glass-blur: 0px;
    --glass-saturate: 100%;
    --glass-border-light: #fff;
    --glass-border-shadow: transparent;
    --shadow-ambient: none;
    --shadow-direct: none;
    --nav-bg: #fff;
    --nav-active-bg: #eee;
    --card-radius: 4px;
}

html[data-style="minimal"][data-theme="dark"] {
    --bg-canvas: #000;
    --bg-gradient: #000;
    --bg-mesh: #000;
    --text-primary: #f5f5f5;
    --text-secondary: #bbb;
    --text-tertiary: #999;
    --accent-color: #ddd;
    --product-surface: #000;
    --product-muted-surface: #171717;
    --product-line: #383838;
    --nav-bg: #080808;
    --nav-active-bg: #242424;
}

html[data-style="minimal"] body {
    background: var(--bg-canvas);
    background-image: none;
    background-attachment: initial;
}

html[data-style="minimal"] #navbar { top: 8px; }
html[data-style="minimal"] .nav-links {
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--product-line);
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html[data-style="minimal"] .nav-links a {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 12px;
    border-radius: 4px;
    opacity: 1;
}
html[data-style="minimal"] .nav-links .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
html[data-style="minimal"] .nav-links .ui-icon { width: 20px; height: 20px; }
html[data-style="minimal"] .nav-links a:hover,
html[data-style="minimal"] .nav-links a.active { background: var(--nav-active-bg); box-shadow: none; }
html[data-style="minimal"] .settings-container { margin-left: 4px; }
html[data-style="minimal"] .settings-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--product-line);
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html[data-style="minimal"] .settings-btn:hover { transform: none; background: var(--product-muted-surface); }
html[data-style="minimal"] .settings-dropdown {
    border: 1px solid var(--product-line);
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 12px;
    gap: 12px;
}
html[data-style="minimal"] .settings-options { background: var(--product-muted-surface); border-radius: 4px; }
html[data-style="minimal"] .settings-opt { min-height: 44px; border-radius: 4px; }
html[data-style="minimal"] .settings-opt.active { background: var(--product-surface); box-shadow: none; }
html[data-style="minimal"] #content { padding-top: 84px; }
html[data-style="minimal"] #footer { margin-top: 36px; padding: 24px 12px; border-top: 1px solid var(--product-line); }
html[data-style="minimal"] .footer-content { gap: 16px; }
html[data-style="minimal"] .social-links { gap: 8px; }
html[data-style="minimal"] .social-link {
    min-height: 44px;
    padding: 12px;
    border: 1px solid var(--product-line);
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html[data-style="minimal"] .social-link:hover { transform: none; box-shadow: none; border-color: var(--text-primary); }
html[data-style="minimal"] .rss-link,
html[data-style="minimal"] .rss-link svg { color: var(--text-primary); fill: currentColor; }

html[data-style="minimal"] .section-title { font-size: 2rem; font-weight: 600; margin-bottom: 24px; }
html[data-style="minimal"] .product-grid { gap: 8px; }
html[data-style="minimal"] .product-card {
    gap: 12px;
    padding: 12px;
    border-radius: 4px;
    box-shadow: none;
    transition: none;
}
html[data-style="minimal"] .product-card:hover { transform: none; box-shadow: none; border-color: var(--text-secondary); }
html[data-style="minimal"] .product-icon { border-radius: 3px; box-shadow: none; filter: grayscale(1); }
html[data-style="minimal"] .product-collection-heading h1,
html[data-style="minimal"] .product-hero h1,
html[data-style="minimal"] .editorial-page h1,
html[data-style="minimal"] .editorial-header h1 { font-size: clamp(1.8rem, 4vw, 2rem); letter-spacing: -.03em; line-height: 1.2; }
html[data-style="minimal"] .product-collection-heading { padding: 12px 0 24px; }
html[data-style="minimal"] .product-collection-heading > p:last-child,
html[data-style="minimal"] .product-hero-intro { font-size: 1rem; line-height: 1.65; }
html[data-style="minimal"] .product-hero { gap: 24px; }
html[data-style="minimal"] .product-button,
html[data-style="minimal"] .product-button-secondary { min-height: 44px; padding: 12px; border: 1px solid var(--text-primary); border-radius: 4px; }
html[data-style="minimal"] .product-button { background: var(--text-primary); color: var(--product-surface); }
html[data-style="minimal"] .product-button-secondary { background: var(--product-surface); color: var(--text-primary); border-color: var(--product-line); }
html[data-style="minimal"] .product-hero-art { min-height: 280px; padding: 20px; border: 1px solid var(--product-line); border-radius: 4px; background: var(--product-muted-surface); }
html[data-style="minimal"] .product-hero-art.has-screen { min-height: 340px; }
html[data-style="minimal"] .product-hero-art .product-icon { border-radius: 4px; filter: grayscale(1); }
html[data-style="minimal"] .product-screen { border-radius: 3px; box-shadow: none; }
html[data-style="minimal"] .product-section-nav { gap: 8px 16px; padding: 12px 0; margin-top: 24px; }
html[data-style="minimal"] .product-section { padding: 24px 0; }
html[data-style="minimal"] .product-section h2,
html[data-style="minimal"] .product-closing h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 16px; }
html[data-style="minimal"] .product-overview { gap: 24px; }
html[data-style="minimal"] .product-overview aside { padding: 12px; border-left: 2px solid var(--product-line); border-radius: 0; }
html[data-style="minimal"] .product-feature-grid { border-radius: 4px; }
html[data-style="minimal"] .product-feature-grid article { padding: 12px; }
html[data-style="minimal"] .product-feature-number { margin-bottom: 12px; }
html[data-style="minimal"] .product-steps { gap: 16px; }
html[data-style="minimal"] .product-steps li { padding-top: 12px; }
html[data-style="minimal"] .product-steps li > span { margin-bottom: 12px; }
html[data-style="minimal"] .product-note { padding: 12px; border-radius: 4px; }
html[data-style="minimal"] .product-closing { margin-top: 24px; padding: 24px 0; }
html[data-style="minimal"] .product-screenshots { gap: 12px; }
html[data-style="minimal"] .product-screenshots img { border-radius: 3px; }

html[data-style="minimal"] .editorial-blog { padding: 16px 0 24px; }
html[data-style="minimal"] .editorial-header h1 { margin: 8px 0; }
html[data-style="minimal"] .editorial-tools { padding-top: 12px; margin-bottom: 16px; }
html[data-style="minimal"] .editorial-blog .search-input-wrapper,
html[data-style="minimal"] .editorial-card--featured,
html[data-style="minimal"] .editorial-blog .filter-chip,
html[data-style="minimal"] .editorial-blog .load-more-btn,
html[data-style="minimal"] .editorial-article .detail-card,
html[data-style="minimal"] .editorial-article .related-post-card,
html[data-style="minimal"] .editorial-article .nav-btn {
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html[data-style="minimal"] .editorial-blog .filter-chip { padding: 8px 12px; }
html[data-style="minimal"] .editorial-card--featured { gap: 12px; padding: 12px; }
html[data-style="minimal"] .editorial-feature-art { border-radius: 3px; filter: grayscale(1); }
html[data-style="minimal"] .editorial-art-dot { background: var(--text-secondary); }
html[data-style="minimal"] .editorial-grid { gap: 12px; }
html[data-style="minimal"] .editorial-archive { margin-top: 24px; }
html[data-style="minimal"] .editorial-article .detail-card { padding: 16px; }
html[data-style="minimal"] .editorial-article .article-content a { color: var(--text-primary); }
html[data-style="minimal"] .editorial-article .article-content pre { border-radius: 4px; }
html[data-style="minimal"] .editorial-article .related-post-card { gap: 12px; padding: 12px; }
html[data-style="minimal"] .editorial-article .nav-btn { min-height: 44px; padding: 12px; }

html[data-style="minimal"] .editorial-page { padding-top: 12px; }
html[data-style="minimal"] .editorial-heading { margin-bottom: 24px; }
html[data-style="minimal"] .editorial-page h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 12px; }
html[data-style="minimal"] .editorial-section { padding: 24px 0; }
html[data-style="minimal"] .about-hero,
html[data-style="minimal"] .about-current,
html[data-style="minimal"] .contact-main { gap: 16px; }
html[data-style="minimal"] .about-portrait img { border-radius: 4px; filter: grayscale(1); }
html[data-style="minimal"] .about-current { padding: 16px 0; margin-top: 24px; }
html[data-style="minimal"] .about-stats { gap: 8px; }
html[data-style="minimal"] .about-stats strong { font-size: 1.5rem; }
html[data-style="minimal"] .about-focus { gap: 8px; }
html[data-style="minimal"] .about-focus article,
html[data-style="minimal"] .contact-channel { padding: 12px; border-radius: 4px; }
html[data-style="minimal"] .career-list li { gap: 12px; padding: 12px 0; }
html[data-style="minimal"] .education-editorial { gap: 12px; }
html[data-style="minimal"] .about-languages { padding-top: 16px; margin-top: 24px; }
html[data-style="minimal"] .contact-email-card { gap: 12px; min-height: 0; padding: 16px; border-radius: 4px; }
html[data-style="minimal"] .contact-email-card strong { font-size: 1.35rem; letter-spacing: -.02em; }
html[data-style="minimal"] .contact-arrow { right: 12px; bottom: 12px; font-size: 1.25rem; }
html[data-style="minimal"] .contact-context { padding: 12px 0; }
html[data-style="minimal"] .contact-context h2 { font-size: 1.35rem; margin-bottom: 12px; }
html[data-style="minimal"] .contact-channel-grid { gap: 8px; }
html[data-style="minimal"] .contact-channel > span { font-size: 1rem; }
html[data-style="minimal"] .contact-channel:hover,
html[data-style="minimal"] .contact-email-card:hover { box-shadow: none; }
html[data-style="minimal"] .editorial-closing { gap: 12px; padding: 16px 0; }

html[data-style="minimal"] :where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 3px;
}

@media (max-width: 680px) {
    html[data-style="minimal"] #content { padding-left: 12px; padding-right: 12px; }
    html[data-style="minimal"] .product-grid,
    html[data-style="minimal"] .product-hero,
    html[data-style="minimal"] .product-overview,
    html[data-style="minimal"] .product-feature-grid,
    html[data-style="minimal"] .product-steps { gap: 8px; }
    html[data-style="minimal"] .product-card { grid-template-columns: 44px minmax(0, 1fr); }
    html[data-style="minimal"] .product-card-art { min-height: 44px; }
    html[data-style="minimal"] .product-icon { width: 40px; height: 40px; }
    html[data-style="minimal"] .product-hero-art,
    html[data-style="minimal"] .product-hero-art.has-screen { min-height: 240px; }
    html[data-style="minimal"] .editorial-blog { padding-top: 12px; }
    html[data-style="minimal"] .editorial-grid { gap: 8px; }
    html[data-style="minimal"] .editorial-grid .editorial-card { padding: 12px 0; }
    html[data-style="minimal"] .editorial-section { padding: 16px 0; }
    html[data-style="minimal"] .about-portrait { max-width: 320px; }
    html[data-style="minimal"] .contact-channel-grid { grid-template-columns: 1fr; }
    html[data-style="minimal"] .contact-email-card { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    html[data-style="minimal"] *,
    html[data-style="minimal"] *::before,
    html[data-style="minimal"] *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; }
}

/* Minimal uses immediate, quiet interaction states at every motion preference. */
html[data-style="minimal"],
html[data-style="minimal"] * ,
html[data-style="minimal"] *::before,
html[data-style="minimal"] *::after {
    scroll-behavior: auto;
    animation: none !important;
    transition: none !important;
}

html[data-style="minimal"] :where(.btn, .nav-btn, .filter-chip, .load-more-btn, .search-clear,
    .cookie-btn, .product-button, .product-button-secondary, .product-text-button,
    .settings-btn, .settings-opt, .social-link, .contact-channel, .contact-email-card,
    .editorial-card, .related-post-card, .skip-link) {
    min-height: 44px;
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-style="minimal"] :where(.btn, .nav-btn, .filter-chip, .load-more-btn,
    .cookie-btn, .product-button, .product-button-secondary) {
    padding: 10px 12px;
    border: 1px solid var(--product-line);
    background: var(--product-surface);
    color: var(--text-primary);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

html[data-style="minimal"] :where(.btn:hover, .nav-btn:hover, .filter-chip:hover,
    .load-more-btn:hover, .cookie-btn:hover, .product-button:hover,
    .product-button-secondary:hover, .search-clear:hover, .settings-opt:hover) {
    background: var(--product-muted-surface);
    color: var(--text-primary);
    border-color: var(--text-secondary);
    box-shadow: none;
    transform: none;
}

html[data-style="minimal"] :where(.btn:active, .nav-btn:active, .filter-chip:active,
    .load-more-btn:active, .cookie-btn:active, .product-button:active,
    .product-button-secondary:active, .settings-opt:active) {
    background: var(--nav-active-bg);
    transform: none;
}

html[data-style="minimal"] :where(.filter-chip.active, .settings-opt.active,
    .product-button, .nav-btn-next, .cookie-btn-accept) {
    background: var(--text-primary);
    color: var(--product-surface);
    border-color: var(--text-primary);
}

html[data-style="minimal"] :where(.filter-chip.active:hover, .settings-opt.active:hover,
    .product-button:hover, .nav-btn-next:hover, .cookie-btn-accept:hover) {
    background: var(--text-primary);
    color: var(--product-surface);
    border-color: var(--text-primary);
}

html[data-style="minimal"] .product-button,
html[data-style="minimal"] .nav-btn-next,
html[data-style="minimal"] .cookie-btn-accept,
html[data-style="minimal"] .filter-chip.active,
html[data-style="minimal"] .settings-opt.active {
    background: var(--text-primary);
    color: var(--product-surface);
    border-color: var(--text-primary);
}

html[data-style="minimal"] .product-button:hover,
html[data-style="minimal"] .nav-btn-next:hover,
html[data-style="minimal"] .cookie-btn-accept:hover,
html[data-style="minimal"] .filter-chip.active:hover,
html[data-style="minimal"] .settings-opt.active:hover {
    background: var(--text-primary);
    color: var(--product-surface);
    border-color: var(--text-primary);
}

html[data-style="minimal"] :where(button:disabled, input:disabled, select:disabled,
    textarea:disabled, [aria-disabled="true"]) {
    cursor: not-allowed;
    opacity: .55;
    box-shadow: none;
    transform: none;
}

html[data-style="minimal"] :where(.editorial-blog .blog-search-input, .search-input-wrapper) {
    min-height: 44px;
    border-color: var(--product-line);
    border-radius: 4px;
    background: var(--product-surface);
    color: var(--text-primary);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-style="minimal"] :where(input[aria-invalid="true"], select[aria-invalid="true"],
    textarea[aria-invalid="true"], .is-invalid) {
    border-color: var(--text-primary);
    outline: 2px solid var(--text-secondary);
    outline-offset: 1px;
}

html[data-style="minimal"] .error-container {
    border: 1px solid var(--product-line);
    border-radius: 4px;
    background: var(--product-muted-surface);
    color: var(--text-primary);
}

html[data-style="minimal"] :where(.nav-links a) { position: relative; }

html[data-style="minimal"] .nav-tooltip {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 8px);
    left: 50%;
    width: max-content;
    max-width: min(220px, 80vw);
    padding: 8px 12px;
    border: 1px solid var(--product-line);
    border-radius: 4px;
    background: var(--product-surface);
    color: var(--text-primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
}

html[data-style="minimal"] .settings-tooltip {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    max-width: min(240px, 80vw);
    padding: 8px 12px;
    border: 1px solid var(--product-line);
    border-radius: 4px;
    background: var(--product-surface);
    color: var(--text-primary);
    font-size: .875rem;
    line-height: 1.4;
    box-shadow: none;
}

html[data-style="minimal"] #settings-btn .settings-tooltip {
    top: calc(100% + 8px);
    right: 0;
}

html[data-style="minimal"] .nav-links a:hover .nav-tooltip,
html[data-style="minimal"] .nav-links a:focus-visible .nav-tooltip {
    opacity: 1;
    visibility: visible;
}

html[data-style="minimal"] .cookie-consent-banner {
    border: 1px solid var(--product-line);
    border-radius: 4px;
    background: var(--product-surface);
    color: var(--text-primary);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-style="minimal"] .cookie-consent-text p,
html[data-style="minimal"] .cookie-consent-text p:first-child { color: var(--text-primary); }

html[data-style="minimal"] .cookie-btn { min-height: 44px; white-space: normal; }
html[data-style="minimal"] .cookie-btn-decline { border: 1px solid var(--product-line); }

html[data-style="minimal"] .search-results {
    border: 1px solid var(--product-line);
    border-radius: 4px;
    background: var(--product-surface);
    color: var(--text-primary);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-style="minimal"] .search-result-item {
    min-height: 44px;
    border-color: var(--product-line);
    color: var(--text-primary);
}

html[data-style="minimal"] .search-result-item:hover { background: var(--product-muted-surface); }
html[data-style="minimal"] .search-result-category,
html[data-style="minimal"] .search-result-date,
html[data-style="minimal"] .search-result-preview { color: var(--text-secondary); }
html[data-style="minimal"] :where(.search-result-title mark, .search-result-preview mark) {
    background: var(--nav-active-bg);
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

html[data-style="minimal"] .privacy-container { max-width: 800px; margin: 0 auto; }
html[data-style="minimal"] .privacy-content { color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
html[data-style="minimal"] .privacy-content :where(h2, h3) { color: var(--text-primary); line-height: 1.35; }
html[data-style="minimal"] .privacy-content :where(a, strong) { color: var(--text-primary); }
html[data-style="minimal"] .privacy-content a { text-underline-offset: 3px; }

html[data-style="minimal"] .product-text-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-underline-offset: 3px;
}

html[data-style="minimal"] .product-text-button:focus-visible { outline-offset: 3px; }

html[data-style="minimal"] :where(.article-content a, .editorial-page a:not(.contact-email-card),
    .privacy-content a, .product-detail a, .product-collection a) {
    color: var(--text-primary);
}

html[data-style="minimal"] :where(.editorial-card, .related-post-card, .contact-channel) {
    border-color: var(--product-line);
}

html[data-style="minimal"] .editorial-blog .blog-search-input {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

html[data-style="minimal"] .search-clear {
    width: 44px;
    height: 44px;
    right: 4px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--text-primary);
}

html[data-style="minimal"] :where(.editorial-card h2, .editorial-card h3):hover {
    text-decoration-thickness: 1px;
}

html[data-style="minimal"] :where(.section-title, .product-section h2, .editorial-page h2,
    .editorial-article h2, .contact-context h2) {
    line-height: 1.35;
}

@media (max-width: 680px) {
    html[data-style="minimal"] #navbar { top: 4px; }
    html[data-style="minimal"] #content { padding-top: 80px; }
    html[data-style="minimal"] .section-title { font-size: 1.75rem; }
    html[data-style="minimal"] .editorial-grid { grid-template-columns: 1fr; }
    html[data-style="minimal"] .product-hero { grid-template-columns: 1fr; }
    html[data-style="minimal"] .product-overview { grid-template-columns: 1fr; }
    html[data-style="minimal"] .product-feature-grid { grid-template-columns: 1fr; }
    html[data-style="minimal"] .product-steps { grid-template-columns: 1fr; }
    html[data-style="minimal"] .post-navigation { align-items: stretch; flex-direction: column; gap: 8px; }
    html[data-style="minimal"] .post-navigation .nav-btn { width: 100%; max-width: none; }
    html[data-style="minimal"] .contact-actions { flex-wrap: wrap; gap: 8px; }
    html[data-style="minimal"] .contact-actions .btn { flex: 1 1 180px; }
    html[data-style="minimal"] .editorial-actions { gap: 8px; }
    html[data-style="minimal"] .editorial-actions > * { max-width: 100%; }
    html[data-style="minimal"] .career-list li { grid-template-columns: 1fr; }
    html[data-style="minimal"] .about-current,
    html[data-style="minimal"] .contact-main,
    html[data-style="minimal"] .about-hero { grid-template-columns: 1fr; }
    html[data-style="minimal"] .education-editorial,
    html[data-style="minimal"] .about-focus { grid-template-columns: 1fr; }
    html[data-style="minimal"] .editorial-blog .search-input-wrapper { width: 100%; }
    html[data-style="minimal"] .editorial-blog .filter-chips-container { gap: 8px; }
    html[data-style="minimal"] .editorial-blog .filter-chip { flex: 1 1 auto; }
}

/* Index previews stay short; the linked page keeps the complete text. */
html[data-style="minimal"] .product-card-description,
html[data-style="minimal"] .editorial-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
html[data-style="minimal"] .editorial-card--featured { grid-template-columns: minmax(0, 1fr); }
html[data-style="minimal"] .editorial-feature-art { display: none; }
html[data-style="minimal"] .editorial-article .article-title {
    font-size: clamp(1.75rem, 4vw, 2rem);
    line-height: 1.25;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}
html[data-style="minimal"] .editorial-article .article-deck { font-size: 1rem; line-height: 1.65; }
html[data-style="minimal"] .editorial-article .article-header,
html[data-style="minimal"] .editorial-article .toc-container { margin-bottom: 24px; }
html[data-style="minimal"] .formula-block {
    background: var(--product-muted-surface);
    border-color: var(--product-line);
    box-shadow: none;
}
html[data-style="minimal"] .privacy-content { overflow-wrap: anywhere; }

/* Native controls and the decorative cookie glyph follow the monochrome palette. */
html[data-style="minimal"] { color-scheme: light; }
html[data-style="minimal"][data-theme="dark"] { color-scheme: dark; }
html[data-style="minimal"] .cookie-consent-text p:first-child { filter: grayscale(1); }

/* Keep the compact icon bar intrinsic and the skip link completely off-screen until focused. */
html[data-style="minimal"] .nav-links { width: max-content; max-width: calc(100vw - 16px); }
html[data-style="minimal"] .skip-link { top: 0; transform: translateY(-150%); }
html[data-style="minimal"] .skip-link:focus { transform: none; }
html[data-style="minimal"] .editorial-lead { font-size: 1rem; line-height: 1.65; }

/* Footer actions use the same surfaces and readable contrast in both themes. */
html[data-style="minimal"] .social-link {
    background: var(--product-surface);
    color: var(--text-primary);
    border-color: var(--product-line);
}

/* Minimal style keeps interaction feedback visible without motion or shadows. */
html[data-style="minimal"] :is(.product-card, .editorial-card--featured, .related-post-card,
    .contact-channel, .contact-email-card, .social-link, .btn, .nav-btn, .product-button,
    .product-button-secondary, .settings-btn, .settings-opt):focus-visible {
    border-color: var(--text-primary);
    transform: none;
    box-shadow: none;
}
html[data-style="minimal"] .product-card-link > span,
html[data-style="minimal"] .editorial-read span,
html[data-style="minimal"] .nav-btn svg { transform: none; }

@media (hover: hover) and (pointer: fine) {
    html[data-style="minimal"] :is(.product-card, .editorial-card--featured, .related-post-card,
        .contact-channel, .contact-email-card, .social-link, .btn, .nav-btn, .product-button,
        .product-button-secondary, .settings-btn, .settings-opt):hover {
        border-color: var(--text-primary);
        transform: none;
        box-shadow: none;
    }
    html[data-style="minimal"] :is(.editorial-card, .related-post-card):hover h2,
    html[data-style="minimal"] :is(.editorial-card, .related-post-card):hover h3,
    html[data-style="minimal"] .product-card:hover .product-card-link,
    html[data-style="minimal"] .contact-channel:hover .contact-channel-heading,
    html[data-style="minimal"] .social-link:hover { text-decoration: underline; text-underline-offset: 3px; }
}

@media (hover: none), (pointer: coarse) {
    html[data-style="minimal"] :is(.product-card, .editorial-card--featured, .related-post-card,
        .contact-channel, .contact-email-card, .social-link, .btn, .nav-btn, .product-button,
        .product-button-secondary, .settings-btn, .settings-opt):hover {
        transform: none;
        box-shadow: none;
        border-color: var(--product-line);
    }
    html[data-style="minimal"] :is(.editorial-card, .related-post-card):hover h2,
    html[data-style="minimal"] :is(.editorial-card, .related-post-card):hover h3,
    html[data-style="minimal"] .product-card:hover .product-card-link,
    html[data-style="minimal"] .contact-channel:hover .contact-channel-heading,
    html[data-style="minimal"] .social-link:hover { text-decoration: none; }
    html[data-style="minimal"] .product-button:hover,
    html[data-style="minimal"] .nav-btn-next:hover,
    html[data-style="minimal"] .cookie-btn-accept:hover,
    html[data-style="minimal"] .filter-chip.active:hover,
    html[data-style="minimal"] .settings-opt.active:hover {
        background: var(--text-primary);
        color: var(--product-surface);
        border-color: var(--text-primary);
    }
}
