/*
Monograph

Design principles:
- Warm paper canvas
- Neutral black interface ink
- No decorative gold or teal
- Amber only for meaningful status information
- Serif restricted to major project and section headings
- Quiet borders, restrained radius, minimal shadow
*/

html[data-design-theme="monograph"] {
    color-scheme: light;

    --bg: #f7f5f0;
    --surface: #ffffff;
    --surface-soft: #faf9f6;
    --surface-subtle: #f2f0eb;
    --surface-strong: #ebe8e1;
    --topbar: #f7f5f0;

    --ink: #1a1a1a;
    --ink-soft: #454440;
    --muted: #77746d;

    --line: #dfdcd4;
    --line-strong: #c9c5bb;

    --primary: #1a1a1a;
    --primary-hover: #33322f;
    --primary-soft: #efede8;
    --on-primary: #ffffff;

    --accent: #1a1a1a;
    --accent-hover: #33322f;
    --accent-soft: #efede8;

    --warning: #a5620c;
    --warning-soft: #fff0d7;
    --success: #38664d;
    --danger: #a63d35;

    --monograph-paper: #f7f5f0;
    --monograph-paper-deep: #f1eee8;
    --monograph-ink: #1a1a1a;
    --monograph-amber: #a5620c;
    --monograph-amber-soft: #fff0d7;

    --radius: 8px;
    --shadow: 0 8px 28px rgb(45 40 30 / 4%);
}

/*
Monograph is intentionally a light interface style.
It remains light when the global appearance control contains "dark".
*/

html[data-design-theme="monograph"][data-theme="dark"] {
    color-scheme: light;

    --bg: #f7f5f0;
    --surface: #ffffff;
    --surface-soft: #faf9f6;
    --surface-subtle: #f2f0eb;
    --surface-strong: #ebe8e1;
    --topbar: #f7f5f0;

    --ink: #1a1a1a;
    --ink-soft: #454440;
    --muted: #77746d;

    --line: #dfdcd4;
    --line-strong: #c9c5bb;

    --primary: #1a1a1a;
    --primary-hover: #33322f;
    --primary-soft: #efede8;
    --on-primary: #ffffff;

    --accent: #1a1a1a;
    --accent-hover: #33322f;
    --accent-soft: #efede8;

    --warning: #a5620c;
    --success: #38664d;
    --danger: #a63d35;
}

/* Application canvas */

html[data-design-theme="monograph"] body,
html[data-design-theme="monograph"] .app-shell,
html[data-design-theme="monograph"] .main-column,
html[data-design-theme="monograph"] .main-content {
    color: var(--monograph-ink);
    background: var(--monograph-paper);
}

html[data-design-theme="monograph"] .main-content {
    padding-top: 42px;
}

/* Sidebar */

html[data-design-theme="monograph"] .sidebar {
    color: var(--monograph-ink);
    background: var(--monograph-paper);
    border-inline-end: 1px solid var(--line);
    box-shadow: none;
}

html[data-design-theme="monograph"] .brand-mark {
    color: #ffffff;
    background: var(--monograph-ink);
    border-color: var(--monograph-ink);
    border-radius: 7px;
}

html[data-design-theme="monograph"] .brand-lockup strong {
    color: var(--monograph-ink);
}

html[data-design-theme="monograph"] .brand-lockup small,
html[data-design-theme="monograph"] .nav-label {
    color: var(--muted);
}

html[data-design-theme="monograph"] .nav-link {
    color: #8a877f;
    margin-inline: 12px;
    border: 0;
    border-radius: 7px;
}

html[data-design-theme="monograph"] .nav-link:hover {
    color: var(--monograph-ink);
    background: var(--surface-subtle);
}

html[data-design-theme="monograph"] .nav-link.is-active {
    color: #ffffff;
    background: var(--monograph-ink);
    border: 0;
}

html[data-design-theme="monograph"] .nav-link.is-active svg {
    color: #ffffff;
}

html[data-design-theme="monograph"] .sidebar-footer {
    color: var(--muted);
    border-top-color: var(--line);
}

html[data-design-theme="monograph"] .environment-dot {
    background: #3b9d70;
    box-shadow: none;
}

/* Top bar */

html[data-design-theme="monograph"] .topbar {
    color: var(--monograph-ink);
    background: var(--monograph-paper);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

html[data-design-theme="monograph"] .global-search {
    color: var(--monograph-ink);
    background: #ffffff;
    border-color: var(--line);
    border-radius: 7px;
    box-shadow: none;
}

html[data-design-theme="monograph"] .global-search:focus-within {
    border-color: var(--monograph-ink);
    box-shadow: 0 0 0 2px rgb(26 26 26 / 8%);
}

html[data-design-theme="monograph"] .global-search input {
    color: var(--monograph-ink);
    background: transparent;
}

html[data-design-theme="monograph"] .global-search input::placeholder {
    color: #99968f;
}

html[data-design-theme="monograph"] .global-search kbd {
    color: var(--muted);
    background: var(--surface-soft);
    border-color: var(--line);
}

html[data-design-theme="monograph"] .icon-button {
    color: var(--muted);
    background: transparent;
    border-color: transparent;
}

html[data-design-theme="monograph"] .icon-button:hover {
    color: var(--monograph-ink);
    background: var(--surface-subtle);
}

/* Account menu */

html[data-design-theme="monograph"] .profile-menu {
    color: var(--monograph-ink);
    background: #ffffff;
    border-color: var(--line);
    box-shadow: 0 16px 40px rgb(45 40 30 / 10%);
}

html[data-design-theme="monograph"] .profile-avatar {
    color: var(--monograph-ink);
    background: var(--surface-subtle);
}

/* Buttons */

html[data-design-theme="monograph"] .button--primary {
    color: #ffffff;
    background: var(--monograph-ink);
    border-color: var(--monograph-ink);
    box-shadow: none;
}

html[data-design-theme="monograph"] .button--primary:hover {
    color: #ffffff;
    background: #33322f;
    border-color: #33322f;
    box-shadow: none;
}

html[data-design-theme="monograph"] .button--secondary {
    color: var(--monograph-ink);
    background: transparent;
    border-color: var(--line-strong);
    box-shadow: none;
}

html[data-design-theme="monograph"] .button--secondary:hover {
    color: var(--monograph-ink);
    background: var(--surface-subtle);
    border-color: var(--monograph-ink);
}

/* Inputs */

html[data-design-theme="monograph"] input,
html[data-design-theme="monograph"] select,
html[data-design-theme="monograph"] textarea {
    color: var(--monograph-ink);
    background: #ffffff;
    border-color: var(--line);
    border-radius: 6px;
    box-shadow: none;
}

html[data-design-theme="monograph"] input:focus,
html[data-design-theme="monograph"] select:focus,
html[data-design-theme="monograph"] textarea:focus {
    border-color: var(--monograph-ink);
    box-shadow: 0 0 0 2px rgb(26 26 26 / 8%);
}

/* Project header */

html[data-design-theme="monograph"] .project-overview {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    clip-path: none;
}

html[data-design-theme="monograph"] .project-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) auto;
    align-items: end;
    gap: 28px;
    padding: 0 0 28px;
}

html[data-design-theme="monograph"] .project-hero h1 {
    margin-top: 18px;
    color: var(--monograph-ink);
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
}

html[data-design-theme="monograph"] .project-hero .page-summary {
    margin-top: 10px;
    color: var(--muted);
}

html[data-design-theme="monograph"] .back-link {
    color: var(--muted);
}

html[data-design-theme="monograph"] .back-link:hover {
    color: var(--monograph-ink);
}

html[data-design-theme="monograph"] .eyebrow,
html[data-design-theme="monograph"] .section-kicker {
    color: var(--muted);
}

/* Unified project summary strip */

html[data-design-theme="monograph"] .project-finance-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 30px;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: none;
}

html[data-design-theme="monograph"] .project-finance-band > div {
    min-height: 108px;
    padding: 24px 28px;
    background: transparent;
    border: 0;
    border-inline-end: 1px solid var(--line);
}

html[data-design-theme="monograph"] .project-finance-band > div:last-child {
    border-inline-end: 0;
}

html[data-design-theme="monograph"] .project-finance-band span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

html[data-design-theme="monograph"] .project-finance-band strong {
    display: block;
    margin-top: 12px;
    color: var(--monograph-ink);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

html[data-design-theme="monograph"] .project-finance-band small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}

/* Project tabs */

html[data-design-theme="monograph"] .detail-nav {
    gap: 34px;
    overflow-x: auto;
    margin: 0;
    padding: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

html[data-design-theme="monograph"] .detail-nav::-webkit-scrollbar {
    display: none;
}

html[data-design-theme="monograph"] .detail-nav a {
    flex: 0 0 auto;
    padding: 17px 0 16px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

html[data-design-theme="monograph"] .detail-nav a:hover {
    color: var(--monograph-ink);
}

html[data-design-theme="monograph"] .detail-nav a.is-active {
    color: var(--monograph-ink);
    border-bottom-color: var(--monograph-ink);
}

/* Main content sections */

html[data-design-theme="monograph"] .detail-section {
    padding: 42px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-design-theme="monograph"]
    .detail-section__heading--actions {
    align-items: end;
    gap: 24px;
}

html[data-design-theme="monograph"] .detail-section h2 {
    color: var(--monograph-ink);
    font-family: var(--font-display);
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
}

html[data-design-theme="monograph"] .outsourced-services-intro {
    max-width: 620px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Outsourced-service table */

html[data-design-theme="monograph"] .outsourced-service-list {
    display: grid;
    gap: 0;
    margin-top: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 9px;
}

html[data-design-theme="monograph"] .outsourced-service-card {
    overflow: visible;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

html[data-design-theme="monograph"]
    .outsourced-service-card:last-child {
    border-bottom: 0;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__main {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.35fr)
        minmax(0, 3fr)
        20px;
    align-items: center;
    gap: 24px;
    min-height: 88px;
    padding: 18px 24px;
    color: var(--monograph-ink);
    background: transparent;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__main:hover {
    background: var(--surface-soft);
}

html[data-design-theme="monograph"]
    .outsourced-service-card__identity {
    gap: 14px;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__icon {
    width: 40px;
    height: 40px;
    color: #77746d;
    background: var(--surface-subtle);
    border-radius: 7px;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__icon svg {
    width: 19px;
    height: 19px;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__label {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.05em;
}

html[data-design-theme="monograph"]
    .outsourced-service-card h3 {
    color: var(--monograph-ink);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__facts {
    display: grid;
    grid-template-columns:
        minmax(105px, 0.8fr)
        minmax(110px, 1fr)
        minmax(140px, 1.2fr)
        minmax(56px, 0.45fr)
        minmax(130px, 1fr);
    gap: 22px;
    align-items: center;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__facts dt {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__facts dd {
    color: var(--monograph-ink);
    font-size: 13px;
    font-weight: 500;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__total {
    font-size: 15px !important;
    font-weight: 650 !important;
}

html[data-design-theme="monograph"]
    .outsourced-service-card__arrow {
    color: var(--muted);
}

/* Status colors remain semantic */

html[data-design-theme="monograph"]
    .outsourced-status {
    display: inline-flex;
    width: max-content;
    min-width: 108px;
    min-height: 38px;
    padding: 7px 14px;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    color: #55524c;
    background: #efede8;
    border: 1px solid #d4cfc6;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
}

html[data-design-theme="monograph"]
    .outsourced-status svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    stroke-width: 2;
}

/* Sent means dispatched, not warning. */

html[data-design-theme="monograph"]
    .outsourced-status--sent {
    color: #173f6d;
    background: #e8eef7;
    border-color: #8bb6ec;
}

html[data-design-theme="monograph"]
    .outsourced-status--sent svg {
    color: #173f6d;
}

/*
 * Keep the legacy backend status visually compatible.
 * The new/edit frontend exposes Sent and Completed only.
 */

html[data-design-theme="monograph"]
    .outsourced-status--in_progress {
    color: #173f6d;
    background: #e8eef7;
    border-color: #8bb6ec;
}

/* Completed is calm and final, without looking disabled. */

html[data-design-theme="monograph"]
    .outsourced-status--completed {
    color: #18583d;
    background: #e8f0e9;
    border-color: #8abca1;
}

html[data-design-theme="monograph"]
    .outsourced-status--completed svg {
    width: 18px;
    height: 18px;
    padding: 3px;
    color: #ffffff;
    background: #116b49;
    border-radius: 50%;
    stroke-width: 2.4;
}

html[data-design-theme="monograph"]
    .outsourced-status--cancelled {
    color: var(--danger);
    background: #f8ebe9;
    border-color: #e8c8c4;
}

/* Empty state */

html[data-design-theme="monograph"]
    .outsourced-empty-state {
    display: flex;
    width: 100%;
    min-height: 390px;
    margin: 22px 0 0;
    padding: 68px 24px 84px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state__icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    color: #28618f;
    background: #e9eff4;
    border: 0;
    border-radius: 50%;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state__icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state__copy {
    display: grid;
    justify-items: center;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state h3 {
    margin: 0;
    color: var(--monograph-ink);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state p {
    max-width: 520px;
    margin: 7px 0 0;
    color: #77736c;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state > .button {
    min-height: 48px;
    margin-top: 22px;
    padding: 0 22px;
    color: var(--monograph-ink);
    background: transparent;
    border: 1px solid #8f8a82;
    border-radius: 8px;
    box-shadow: none;
    font-size: 15px;
    font-weight: 600;
}

html[data-design-theme="monograph"]
    .outsourced-empty-state > .button:hover {
    color: #ffffff;
    background: var(--monograph-ink);
    border-color: var(--monograph-ink);
}

html[data-design-theme="monograph"]
    .outsourced-empty-state > .button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

/* ==========================================================
   Monograph outsourced-services table
   ========================================================== */

html[data-design-theme="monograph"]
    .outsourced-services-section
    .detail-section__heading--actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

html[data-design-theme="monograph"]
    .axis-outsourced-heading {
    min-width: 0;
}

html[data-design-theme="monograph"]
    .axis-outsourced-heading h2 {
    display: block;
    margin: 0;
    color: var(--monograph-ink);
    font-family: var(--font-display);
    font-size: clamp(38px, 3.5vw, 54px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

html[data-design-theme="monograph"]
    .axis-outsourced-heading h2 span {
    display: inline;
}

html[data-design-theme="monograph"]
    .axis-outsourced-heading h2 span + span::before {
    content: " ";
}

html[data-design-theme="monograph"]
    .outsourced-services-section
    .section-kicker {
    margin: 0 0 12px;
    color: #696761;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

html[data-design-theme="monograph"]
    .outsourced-services-section
    .outsourced-services-intro {
    max-width: 620px;
    margin: 11px 0 0;
    color: #79756e;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

html[data-design-theme="monograph"]
    .outsourced-services-section
    .detail-section__heading--actions
    > .button {
    min-height: 52px;
    padding: 0 23px;
    flex: 0 0 auto;
    align-self: center;
    color: #ffffff;
    background: #1a1a18;
    border: 1px solid #1a1a18;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 650;
}

html[data-design-theme="monograph"]
    .outsourced-services-section
    .detail-section__heading--actions
    > .button:hover {
    color: #ffffff;
    background: #32322f;
    border-color: #32322f;
}

html[data-design-theme="monograph"]
    .outsourced-services-section
    .detail-section__heading--actions
    > .button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.75;
}

/* One continuous table surface */

html[data-design-theme="monograph"]
    .axis-outsourced-table-shell {
    margin-top: 42px;
    overflow: hidden;
    background: rgb(255 255 255 / 28%);
    border: 1px solid #d7d1c7;
    border-radius: 9px;
    box-shadow: none;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table {
    width: 100%;
    table-layout: fixed;
    color: var(--monograph-ink);
    background: transparent;
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th,
html[data-design-theme="monograph"]
    .axis-outsourced-table td {
    height: auto;
    border: 0;
    border-bottom: 1px solid #d7d1c7;
    text-align: start;
    vertical-align: middle;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table thead th {
    padding: 21px 28px;
    color: #504e49;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table tbody td {
    min-height: 78px;
    padding: 17px 28px;
    color: var(--monograph-ink);
    background: transparent;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.35;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table tbody tr {
    transition: background-color 150ms ease;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table tbody tr:hover {
    background: rgb(31 30 27 / 3%);
}

html[data-design-theme="monograph"]
    .axis-outsourced-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Column proportions */

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(1) {
    width: 20%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(2) {
    width: 16%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(3) {
    width: 15%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(4) {
    width: 18%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(5) {
    width: 11%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(6) {
    width: 16%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-table th:nth-child(7) {
    width: 4%;
}

html[data-design-theme="monograph"]
    .axis-outsourced-provider {
    color: var(--monograph-ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

html[data-design-theme="monograph"]
    .axis-outsourced-provider:hover {
    text-decoration: underline;
    text-decoration-color: #96918a;
    text-underline-offset: 3px;
}

html[data-design-theme="monograph"]
    .axis-outsourced-total {
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 550 !important;
    white-space: nowrap;
}

html[data-design-theme="monograph"]
    .outsourced-muted-value {
    color: #817d76;
    font-weight: 400;
}

html[data-design-theme="monograph"]
    .axis-outsourced-open {
    padding-inline: 8px 20px !important;
    text-align: end !important;
}

html[data-design-theme="monograph"]
    .axis-outsourced-open a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--monograph-ink);
    border-radius: 50%;
    text-decoration: none;
    transition:
        color 150ms ease,
        background-color 150ms ease;
}

html[data-design-theme="monograph"]
    .axis-outsourced-open a:hover {
    color: #000000;
    background: rgb(31 30 27 / 6%);
}

html[data-design-theme="monograph"]
    .axis-outsourced-open svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

/* Summary is the table's final row */

html[data-design-theme="monograph"]
    .axis-outsourced-summary {
    min-height: 64px;
    margin: 0;
    padding: 19px 28px;
    color: var(--monograph-ink);
    background: rgb(255 255 255 / 16%);
    border-top: 1px solid #d7d1c7;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.5;
}

html[data-design-theme="monograph"]
    .axis-outsourced-summary bdi {
    font-variant-numeric: tabular-nums lining-nums;
}

/* Tables throughout Monograph */

html[data-design-theme="monograph"] .data-table {
    background: #ffffff;
    border-color: var(--line);
    border-radius: 8px;
}

html[data-design-theme="monograph"] .data-table thead th {
    color: var(--muted);
    background: var(--surface-soft);
    border-color: var(--line);
}

html[data-design-theme="monograph"] .data-table tbody td {
    color: var(--monograph-ink);
    background: #ffffff;
    border-color: var(--line);
}

html[data-design-theme="monograph"]
    .data-table tbody tr:hover td {
    background: var(--surface-soft);
}

/* Responsive adjustments */

@media (max-width: 1100px) {
    html[data-design-theme="monograph"] .project-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    html[data-design-theme="monograph"] .project-finance-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html[data-design-theme="monograph"]
        .project-finance-band > div:nth-child(2) {
        border-inline-end: 0;
    }

    html[data-design-theme="monograph"]
        .project-finance-band > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    html[data-design-theme="monograph"]
        .outsourced-service-card__main {
        grid-template-columns: 1fr auto;
    }

    html[data-design-theme="monograph"]
        .outsourced-service-card__facts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    html[data-design-theme="monograph"] .main-content {
        padding-top: 28px;
    }

    html[data-design-theme="monograph"] .project-finance-band {
        grid-template-columns: 1fr;
    }

    html[data-design-theme="monograph"]
        .project-finance-band > div {
        min-height: auto;
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
    }

    html[data-design-theme="monograph"]
        .project-finance-band > div:last-child {
        border-bottom: 0;
    }

    html[data-design-theme="monograph"]
        .detail-section__heading--actions {
        align-items: stretch;
    }

    html[data-design-theme="monograph"]
        .detail-section__heading--actions .button {
        width: 100%;
        justify-content: center;
    }

    html[data-design-theme="monograph"]
        .outsourced-service-card__main {
        grid-template-columns: 1fr auto;
        padding: 18px;
    }

    html[data-design-theme="monograph"]
        .outsourced-service-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Monograph outsourced-services responsiveness */

@media (max-width: 1000px) {
    html[data-design-theme="monograph"]
        .axis-outsourced-table-shell {
        overflow-x: auto;
    }

    html[data-design-theme="monograph"]
        .axis-outsourced-table {
        min-width: 900px;
    }
}

@media (max-width: 760px) {
    html[data-design-theme="monograph"]
        .outsourced-services-section
        .detail-section__heading--actions {
        align-items: flex-start;
        flex-direction: column;
    }

    html[data-design-theme="monograph"]
        .outsourced-services-section
        .detail-section__heading--actions
        > .button {
        align-self: flex-start;
    }

    html[data-design-theme="monograph"]
        .axis-outsourced-heading h2 {
        font-size: clamp(35px, 10vw, 46px);
    }

    html[data-design-theme="monograph"]
        .axis-outsourced-table-shell {
        margin-top: 28px;
    }

    html[data-design-theme="monograph"]
        .outsourced-empty-state {
        min-height: 330px;
        padding: 48px 16px 64px;
    }

    html[data-design-theme="monograph"]
        .outsourced-empty-state p {
        max-width: 340px;
    }
}