/******************************************************************************************
    Assembly:                Chonky
    Filename:                chonky.css
    Author:                  Terry D. Eppler
    Created:                 06-14-2026

    Last Modified By:        Terry D. Eppler
    Last Modified On:        06-14-2026
******************************************************************************************
<copyright file="chonky.css" company="Terry D. Eppler">

    chonky.css
    Copyright © 2026 Terry Eppler

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the “Software”),
    to deal in the Software without restriction,
    including without limitation the rights to use,
    copy, modify, merge, publish, distribute, sublicense,
    and/or sell copies of the Software,
    and to permit persons to whom the Software is furnished to do so,
    subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
    DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.

    You can contact me at: terryeppler@gmail.com or eppler.terry@epa.gov

</copyright>
<summary>
    Provides custom Material for MkDocs styling for the Chonky documentation site.

    Purpose:
        Defines the dark-mode documentation theme, widened content layout, blue accent
        palette, table styling, code-block readability, rounded visual elements, and
        mkdocstrings API-reference refinements used by the Chonky GitHub Pages site.
</summary>
******************************************************************************************/

:root
{
	--chonky-blue: #0078FC;
	--chonky-blue-dark: #023770;
	--chonky-bg: #141414;
	--chonky-surface: #414141;
	--chonky-border: #565557;
	--chonky-table-border: #00254C;
	--chonky-text: #FFFFFF;
	--chonky-muted: #B8C7D9;
	--chonky-radius: 14px;
}

/* -------------------------------------------------------------------------- */
/* Base typography                                                            */
/* -------------------------------------------------------------------------- */
.md-typeset
{
	font-size: 0.84rem;
	line-height: 1.65;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3
{
	font-weight: 700;
	letter-spacing: -0.01em;
}

.md-typeset h1
{
	color: var(--chonky-text);
}

.md-typeset h2,
.md-typeset h3
{
	color: #4DA3FF;
}

/* -------------------------------------------------------------------------- */
/* Material slate palette refinements                                         */
/* -------------------------------------------------------------------------- */
[data-md-color-scheme='slate']
{
	--md-default-bg-color: var(--chonky-bg);
	--md-default-fg-color: var(--chonky-text);
	--md-primary-fg-color: var(--chonky-blue);
	--md-accent-fg-color: var(--chonky-blue);
	--md-typeset-a-color: #4DA3FF;
	--md-code-bg-color: #1D1D1D;
}

/* -------------------------------------------------------------------------- */
/* Header and navigation                                                      */
/* -------------------------------------------------------------------------- */
.md-header,
.md-tabs
{
	background-color: var(--chonky-blue-dark);
}

.md-header__title
{
	font-weight: 700;
}

.md-tabs__link
{
	font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Page width                                                                 */
/* -------------------------------------------------------------------------- */
.md-main__inner
{
	max-width: 92rem;
}

.md-content__inner
{
	max-width: none;
}

/* -------------------------------------------------------------------------- */
/* Tables                                                                     */
/* -------------------------------------------------------------------------- */
.md-typeset table:not([class])
{
	border-radius: var(--chonky-radius);
	overflow: hidden;
	border: 1px solid var(--chonky-border);
	background-color: #1B1B1B;
}

.md-typeset table:not([class]) th
{
	background-color: var(--chonky-blue-dark);
	color: var(--chonky-text);
	font-weight: 700;
}

.md-typeset table:not([class]) td
{
	border-top: 1px solid var(--chonky-table-border);
}

.md-typeset table:not([class]) tr:hover td
{
	background-color: rgba(0, 120, 252, 0.08);
}

/* -------------------------------------------------------------------------- */
/* Code blocks                                                                */
/* -------------------------------------------------------------------------- */
.md-typeset code
{
	border-radius: 6px;
}

.md-typeset pre > code
{
	font-size: 0.78rem;
	line-height: 1.55;
}

/* -------------------------------------------------------------------------- */
/* Admonitions, details, cards, buttons                                       */
/* -------------------------------------------------------------------------- */
.md-typeset .admonition,
.md-typeset details
{
	border-radius: var(--chonky-radius);
}

.md-typeset .grid.cards > ul > li,
.md-typeset .md-button
{
	border-radius: var(--chonky-radius);
}

.md-typeset .md-button
{
	font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* API reference readability                                                  */
/* -------------------------------------------------------------------------- */
.doc-heading
{
	border-bottom: 1px solid rgba(77, 163, 255, 0.35);
	padding-bottom: 0.25rem;
}

.doc-label
{
	border-radius: 6px;
}

.doc-contents
{
	border-left: 2px solid rgba(0, 120, 252, 0.35);
	padding-left: 0.85rem;
	margin-left: 0.15rem;
}

/* -------------------------------------------------------------------------- */
/* Images                                                                     */
/* -------------------------------------------------------------------------- */
.md-typeset img
{
	border-radius: var(--chonky-radius);
}

.md-typeset figure
{
	margin-left: 0;
	margin-right: 0;
}