.md-footer__inner:not([hidden]) {
    display: none
}

/* Copyright / meta bar: match header (primary) instead of default dark strip */
.md-footer {
    color: var(--md-primary-bg-color);
}

.md-footer-meta {
    background-color: var(--md-primary-fg-color);
    color: var(--md-primary-bg-color);
}

.md-footer-meta a {
    color: var(--md-primary-bg-color);
}

.md-footer-meta a:focus,
.md-footer-meta a:hover {
    color: var(--md-primary-bg-color);
    opacity: 0.85;
}

/* Footer (copyright meta bar) height: match the Privacera docs. Privacera's
   footer has no social links, so its bar is sized by the copyright line alone
   (~.4rem padding + text). Our globe icon block (.md-social: .6rem padding +
   1.6rem icon) is taller and inflates the bar — strip its vertical padding
   and center it so the copyright line drives the row height instead. */
.md-social {
    padding: 0;
    align-self: center;
}
.md-social__link {
    height: auto;
}

/* Navigation text contrast — applies to BOTH the left sidebar (page tree) and the
   right sidebar (Table of contents), including their titles. Pushed to high
   contrast per theme (near-black in light, near-white in dark). The main content
   in the center (.md-content) is untouched. */
[data-md-color-scheme="default"] .md-sidebar .md-nav__link,
[data-md-color-scheme="default"] .md-sidebar .md-nav__title {
    color: rgba(0, 0, 0, 0.9);
}
[data-md-color-scheme="slate"] .md-sidebar .md-nav__link,
[data-md-color-scheme="slate"] .md-sidebar .md-nav__title {
    color: rgba(255, 255, 255, 0.96);
}
/* Preserve the active-page and hover highlight (accent) on top of the above. */
[data-md-color-scheme] .md-sidebar .md-nav__link--active,
[data-md-color-scheme] .md-sidebar .md-nav__link[href]:hover,
[data-md-color-scheme] .md-sidebar .md-nav__link[for]:hover {
    color: var(--md-accent-fg-color);
}

:root>* {
    --md-primary-fg-color: #2E4ADA;
}

:root {
    --md-text-font: "Inter";
}

:root {
    --md-code-font: "Inter";
}
/*:root {*/
/*    --md-primary-fg-color:        #122539;*/
/*    --md-primary-fg-color--light: #122539;*/
/*    --md-primary-fg-color--dark:  #122539;*/
/*}*/

/* Horizontal layout inset — a single responsive knob so the header logo and the
   left navigation share the same left edge (with matching padding on the right).
   Dynamic: scales with the viewport (vw) and is capped, so it is NOT a fixed
   pixel count. Tune this one value to move the whole layout in/out together. */
:root {
    --t3-side-pad: clamp(1.25rem, 6.5vw, 12rem);
}

/* Layout inset for Material chrome rows only — scoped to known regions so a
   bare .md-grid elsewhere (or a future nested grid) keeps Material's default
   max-width. Do NOT rely on .md-tabs__inner: Material 9.x dropped that class
   (tabs inner is now a bare <div class="md-grid"> under .md-tabs). */
.md-header .md-grid,
.md-tabs .md-grid,
.md-main .md-grid,
.md-footer .md-grid {
    max-width: none;
    padding-left: var(--t3-side-pad);
    padding-right: var(--t3-side-pad);
}

/* Make tab labels more prominent in content tabs */
.md-typeset .tabbed-set {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.4rem;
    overflow: hidden;
}

[data-md-color-scheme="slate"] .md-typeset .tabbed-set {
    border-color: rgba(255, 255, 255, 0.12);
}

.md-typeset .tabbed-set > label {
    font-size: 1.5em;
    font-weight: 700;
    padding: 0.8em 1.2em;
}

.md-typeset .tabbed-set > label:last-child {
    border-right: none;
}

.md-typeset .tabbed-content {
    font-size: 0.9em;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding: 1.2em 1.5em;
}

[data-md-color-scheme="slate"] .md-typeset .tabbed-content {
    border-left-color: rgba(255, 255, 255, 0.12);
    border-top-color: rgba(255, 255, 255, 0.12);
}

/* Grid cards border styling */
.md-typeset .grid.cards {
    border: none;
}

.md-typeset .grid.cards > * {
    border: 2px solid rgba(180, 5, 5, 0.22);
    border-radius: 0.4rem;
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > * {
    border-color: rgba(249, 249, 250, 0.22);
}

/* Hide "Text Only" label on code blocks without language */
.md-typeset .highlight .filename,
.md-typeset .highlighttable .filename {
    display: none !important;
}

/* UI reference screenshots (e.g. Databricks PAT dialog) */
.md-typeset img.doc-ui-reference {
    display: block;
    max-width: min(90%, 760px);
    height: auto;
    margin: 1rem auto;
    border: 1px solid var(--md-default-fg-color--lightest);
    border-radius: 0.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-md-color-scheme="slate"] .md-typeset img.doc-ui-reference {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Release notes: table fills the content width (Material shrinks tables to
   their content by default, which left an empty gap to the right of the
   Manifest column). Scoped to the release table via the data-version-idx
   attribute set by releases-filter.js. */
.md-typeset table[data-version-idx] {
    display: table;
    width: 100%;
}

/* Release notes: hidden plaintext for Material tables.filter / search (badges stay as images) */
.release-applicability-cell {
    position: relative;
}
.release-applicability-md-filter-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Release notes: filter bar */
.release-filters-container {
    margin-bottom: 0.75rem;
}
.release-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.release-filter-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    position: relative;
}
/* Custom tooltip so alt text appears on hover (native title can be suppressed by theme) */
.release-filter-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    font-weight: normal;
    white-space: nowrap;
    color: var(--md-default-bg-color, #fff);
    background: var(--md-default-fg-color, #333);
    border-radius: 4px;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.release-filter-btn[data-tooltip]:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.1rem;
    border: 5px solid transparent;
    border-top-color: var(--md-default-fg-color, #333);
    pointer-events: none;
    z-index: 101;
}

/* Release notes: collapsible year headers */
.release-year-header {
    font-weight: 600;
    cursor: pointer;
    background: var(--md-default-fg-color--lightest, #e8e8e8);
}
.release-year-header:hover {
    background: var(--md-default-fg-color--light, #ccc);
}
.release-year-icon {
    display: inline-block;
    margin-right: 0.25rem;
}

/* Release notes: EOL rows (past end of support) – light grey */
tr[data-release-row][data-eos-passed="true"] {
    background-color: var(--md-default-fg-color--lightest, #e8e8e8);
}
tr[data-release-row][data-eos-passed="true"] td {
    color: var(--md-default-fg-color--light, #666);
}


/* Architecture / flow diagrams (e.g. custom agent trace pipeline).
   Authored on a light canvas at 1920px wide but displayed in a ~720px content
   column, so they read as an overview inline and are wrapped in a link to the
   full-size file. The frame keeps the light canvas from floating unbounded in
   dark mode, and zoom-in signals that the image opens. */
.md-typeset figure.doc-diagram {
    margin: 1.5rem auto;
}

.md-typeset figure.doc-diagram img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--md-default-fg-color--lightest);
    border-radius: 0.35rem;
    background: #ffffff;
    cursor: zoom-in;
}

[data-md-color-scheme="slate"] .md-typeset figure.doc-diagram img {
    border-color: rgba(255, 255, 255, 0.12);
}

.md-typeset figure.doc-diagram figcaption {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--md-default-fg-color--light);
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.md-typeset figure.doc-diagram figcaption .doc-diagram-zoom {
    white-space: nowrap;
    opacity: 0.85;
}
