/*
  Cognispace | Policy Document Readers — Shared Stylesheet
  Layered on top of canon.css. Covers: security.html, terms.html, ethics.html
  Each doc provides its own accent color overrides via inline <style>.
*/

/* ── Active Document Badge (per-doc accent via inline override) ── */
.doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    white-space: nowrap;
}

/* ── Policy Statement Box (per-doc accent via inline override) ── */
.doc-statement {
    border: 1px solid rgba(0,0,0,0.08);
    border-left-width: 3px;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    width: 100%;
    box-sizing: border-box;
}

.doc-statement .box-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.doc-statement p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ── Highlight / Important Box ───────────────────────────────── */
.doc-highlight {
    border: 1px solid;
    border-left-width: 3px;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    width: 100%;
    box-sizing: border-box;
}

.doc-highlight .box-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.doc-highlight p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

/* ── Contact Box ─────────────────────────────────────────────── */
.doc-contact-box {
    background: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-org {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-dept {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-email {
    font-size: 0.9rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.25rem;
    transition: opacity 0.15s;
}

.contact-email:hover {
    opacity: 0.75;
}

/* ── Sidebar doc-id accent (overridden per doc) ──────────────── */
.doc-id-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
