.public-bond-detail-page {
    --bond-detail-surface: #222127;
    --bond-detail-surface-strong: #19181e;
    --bond-detail-border: rgba(255, 255, 255, 0.09);
    --bond-detail-muted: #aeb0bf;
    --bond-detail-accent: #ff865e;
    --bond-detail-teal: #1d7f8d;
    background: #19181e;
}

.public-bond-detail-page main {
    overflow: clip;
}

.bond-detail {
    padding: 28px 0 64px;
    color: #f4f4f7;
}

.bond-detail-container {
    width: min(100% - 48px, 1260px);
    margin: 0 auto;
}

.bond-detail-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.bond-detail-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
    white-space: nowrap;
}

.bond-detail-breadcrumbs a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.bond-detail-breadcrumbs a:hover {
    color: var(--bond-detail-accent);
}

.bond-detail-breadcrumbs span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bond-detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    align-items: flex-start;
    gap: 30px;
    margin: 20px 0;
    padding: 0;
}

.bond-detail-identity {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    min-width: 0;
}

.bond-detail-logo {
    display: grid;
    width: 82px;
    height: 82px;
    overflow: hidden;
    place-items: center;
    border: 0;
    border-radius: 15px;
    background: #bfc1c5;
    box-shadow: none;
    color: #000;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bond-detail-logo--image {
    background: transparent;
}

.bond-detail-logo--fallback {
    background: #bfc1c5;
}

.bond-detail-logo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
    background: transparent;
}

.bond-detail-title {
    min-width: 0;
}

.bond-detail-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.bond-detail-title h1 {
    margin: 1px 0;
    font-size: clamp(1.48rem, 2.6vw, 2.2rem);
    line-height: 1.18;
}

.bond-detail-new-badge {
    padding: 4px 8px;
    border-radius: 3px;
    background: #efc0aa;
    color: #40271d;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.bond-detail-warning-link {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    color: #ff625d;
    text-decoration: none;
}

.bond-detail-warning-link svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.bond-detail-isin-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin-top: 7px;
    color: var(--bond-detail-muted);
    font-size: 0.88rem;
}

.bond-detail-copy {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--bond-detail-muted);
    cursor: pointer;
}

.bond-detail-copy svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 1.7;
}

.bond-detail-copy:hover {
    color: #fff;
}

.bond-detail-copy.is-copied {
    color: #48c77d;
}

.bond-detail-copy-status {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.74rem;
}

.bond-detail-copy-value {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.bond-detail-copy-value .bond-detail-copy {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.bond-detail-copy-value .bond-detail-copy svg {
    width: 15px;
    height: 15px;
}

.bond-detail-tags {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}

.bond-detail-tag {
    padding: 5px 10px;
    border-radius: 4px;
    background: #196a77;
    color: #f5f5f5;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.bond-detail-favorite {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--bond-detail-accent);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.bond-detail-favorite svg {
    width: 28px;
    height: 28px;
    fill: transparent;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: fill 160ms ease, transform 160ms ease;
}

.bond-detail-favorite:hover svg {
    transform: scale(1.08);
}

.bond-detail-favorite.is-favorite svg {
    fill: #ff625d;
    color: #ff625d;
}

.bond-detail-help {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bond-detail-help--inline {
    display: inline-flex;
}

.bond-detail-help--favorite {
    display: inline-flex;
}

.bond-detail-help-trigger {
    padding: 0 0 2px;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    cursor: help;
    -webkit-tap-highlight-color: transparent;
}

.bond-detail-help-tooltip {
    position: absolute;
    z-index: 12;
    top: calc(100% + 8px);
    left: 0;
    width: min(300px, calc(100vw - 48px));
    padding: 10px 12px;
    border-radius: 6px;
    background: #5a5a5e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.bond-detail-help-tooltip::after {
    position: absolute;
    bottom: 100%;
    left: 20px;
    width: 10px;
    height: 10px;
    background: inherit;
    content: "";
    transform: translate(-50%, 50%) rotate(45deg);
}

.bond-detail-help-tooltip--favorite {
    top: calc(100% + 10px);
    left: 50%;
    width: min(320px, calc(100vw - 32px));
    text-align: left;
    transform: translate(-50%, 4px);
}

.bond-detail-help-tooltip--favorite::after {
    left: 50%;
}

.bond-detail-help:hover .bond-detail-help-tooltip,
.bond-detail-help:focus-within .bond-detail-help-tooltip,
.bond-detail-help.is-open .bond-detail-help-tooltip {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.bond-detail-help--favorite:hover .bond-detail-help-tooltip--favorite,
.bond-detail-help--favorite:focus-within .bond-detail-help-tooltip--favorite,
.bond-detail-help--favorite.is-open .bond-detail-help-tooltip--favorite {
    transform: translate(-50%, 0);
}

.bond-detail-heading-ratings {
    align-self: start;
    min-width: 0;
}

.bond-detail-heading-ratings h2 {
    margin: 0 0 14px;
    color: #f5f5f7;
    font-size: 1rem;
    line-height: 1.3;
    text-align: left;
}

.bond-detail-heading-ratings dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 18px;
    margin: 0;
}

.bond-detail-heading-ratings dl > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bond-detail-heading-ratings dt {
    color: var(--bond-detail-muted);
    font-size: 0.76rem;
}

.bond-detail-heading-ratings dd {
    margin: 0;
    color: #f5f5f7;
    font-size: 1.14rem;
    font-weight: 700;
}

.bond-detail-heading-ratings p {
    max-width: 370px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.64rem;
    line-height: 1.45;
}

.bond-detail-updated {
    display: grid;
    flex: 0 0 auto;
    gap: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.75rem;
    text-align: right;
}

.bond-detail-updated strong {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

.bond-detail-warning {
    display: flex;
    gap: 10px;
    margin: -4px 0 18px;
    padding: 12px 16px;
    scroll-margin-top: 90px;
    border: 1px solid rgba(255, 134, 94, 0.25);
    border-radius: 12px;
    background: rgba(255, 134, 94, 0.07);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.bond-detail-warning strong {
    flex: 0 0 auto;
    color: #fff;
}

.bond-detail-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
}

.bond-detail-metric.bond-detail-metric--mobile-only,
.bond-detail-mobile-tabs {
    display: none;
}

.bond-detail-metric,
.bond-detail-panel,
.bond-detail-notice {
    border: 1px solid var(--bond-detail-border);
    background: var(--bond-detail-surface);
}

.bond-detail-metric {
    display: flex;
    min-width: 0;
    min-height: 138px;
    padding: 18px;
    flex-direction: column;
    border-radius: 14px;
}

.bond-detail-metric > span {
    min-height: 2.5em;
    color: var(--bond-detail-muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.bond-detail-metric strong {
    margin-top: 8px;
    overflow-wrap: anywhere;
    color: #f6f6f8;
    font-size: clamp(1.18rem, 1.8vw, 1.52rem);
    line-height: 1.1;
}

.bond-detail-metric small {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    line-height: 1.35;
}

.bond-detail-metric small a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.bond-detail-metric small a:hover {
    color: #fff;
}

.bond-detail-metric .bond-detail-metric-locked {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
}

.bond-detail-metric--accent strong,
.bond-detail-facts .is-accent {
    color: #48c77d;
}

.bond-detail-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 14px;
}

.bond-detail-notice > div {
    display: grid;
    gap: 3px;
}

.bond-detail-notice strong {
    font-size: 0.88rem;
}

.bond-detail-notice span {
    color: var(--bond-detail-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.bond-detail-notice .btn {
    flex: 0 0 auto;
    min-height: 44px;
}

.bond-detail-layout {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.bond-detail-layout--overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.bond-detail-overview-column {
    display: flex;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    gap: 14px;
}

.bond-detail-overview-column > .bond-detail-panel:last-child {
    flex: 0 0 auto;
}

.bond-detail-overview-column > .bond-detail-issuer:last-child {
    min-height: 220px;
    height: auto;
    max-height: none;
    flex: 0 0 auto;
    margin-top: 0;
}

.bond-detail-overview-column:last-child > .bond-detail-calendar {
    flex: 1 1 auto;
    min-height: 0;
}

.bond-detail-panel {
    min-width: 0;
    padding: 20px;
    border-radius: 15px;
}

.bond-detail-panel h2 {
    margin: 0;
    color: #f5f5f7;
    font-size: 1.08rem;
    line-height: 1.3;
    text-align: left;
}

.bond-detail-facts,
.bond-detail-rating-list {
    margin: 14px 0 0;
}

.bond-detail-facts > div,
.bond-detail-rating-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.bond-detail-facts > div:last-child,
.bond-detail-rating-list > div:last-child {
    border-bottom: 0;
}

.bond-detail-facts dt,
.bond-detail-rating-list dt {
    color: var(--bond-detail-muted);
    font-size: 0.78rem;
}

.bond-detail-facts dd,
.bond-detail-rating-list dd {
    margin: 0;
    color: #f0f0f3;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.bond-detail-panel-note,
.bond-detail-empty {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
    line-height: 1.55;
}

.bond-detail-calculator-lead {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--bond-detail-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.bond-detail-calculator-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
    margin-top: 20px;
    align-items: center;
    color: #f5f5f7;
    font-size: 0.82rem;
    font-weight: 600;
}

.bond-detail-calculator-input {
    position: relative;
    display: block;
}

.bond-detail-calculator-input input {
    width: 100%;
    min-height: 44px;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    color: #f5f5f7;
    font: inherit;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.bond-detail-calculator-input input::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.bond-detail-calculator-input input:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.bond-detail-calculator-input input:focus {
    border-color: rgba(255, 134, 94, 0.72);
    box-shadow: 0 0 0 3px rgba(255, 134, 94, 0.09);
}

.bond-detail-calculator-input > span {
    position: absolute;
    top: 50%;
    right: 14px;
    color: rgba(255, 255, 255, 0.72);
    transform: translateY(-50%);
    pointer-events: none;
}

.bond-detail-calculator-results {
    margin: 14px 0 0;
}

.bond-detail-calculator-results > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, auto);
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.bond-detail-calculator-results dt,
.bond-detail-calculator-results dd {
    font-size: 0.78rem;
}

.bond-detail-calculator-results dt {
    color: var(--bond-detail-muted);
}

.bond-detail-calculator-results dd {
    margin: 0;
    color: #f0f0f3;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.bond-detail-calculator-results .bond-detail-calculator-subrow {
    padding-top: 6px;
    padding-bottom: 6px;
}

.bond-detail-calculator-subrow dt,
.bond-detail-calculator-subrow dd,
.bond-detail-calculator-subrow .bond-detail-help-trigger {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
    font-weight: 500;
}

.bond-detail-calculator-subrow dt {
    padding-left: 12px;
}

.bond-detail-calculator-subrow dt::before {
    content: "— ";
}

.bond-detail-calculator-results--locked dd {
    color: rgba(255, 255, 255, 0.72);
}

.bond-detail-calculator-results .bond-detail-calculator-profit {
    margin-top: 3px;
    border-bottom: 0;
}

.bond-detail-calculator-profit dt,
.bond-detail-calculator-profit dd {
    color: var(--bond-detail-accent);
    font-size: 0.94rem;
    font-weight: 800;
}

.bond-detail-calculator-profit dt {
    display: grid;
    gap: 3px;
}

.bond-detail-calculator-profit dt strong {
    font: inherit;
}

.bond-detail-calculator-profit dt small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    font-weight: 500;
}

.bond-detail-calculator-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.68rem;
    line-height: 1.5;
}

.bond-detail-calculator-locked-inline {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    line-height: 1.55;
}

.bond-detail-calculator-locked-inline strong {
    display: block;
    margin-bottom: 3px;
    color: #f3c3b0;
    font-size: 0.74rem;
    font-weight: 700;
}

.bond-detail-calculator-locked-inline p {
    margin: 0;
}

.bond-detail-calculator-locked-inline a {
    color: var(--bond-detail-accent);
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.bond-detail-calculator-locked {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 134, 94, 0.22);
    border-radius: 10px;
    background: rgba(255, 134, 94, 0.055);
}

.bond-detail-calculator-locked strong {
    color: #f5f5f7;
    font-size: 0.88rem;
}

.bond-detail-calculator-locked p {
    margin: 0;
    color: var(--bond-detail-muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

.bond-detail-calculator-locked a {
    width: fit-content;
    color: var(--bond-detail-accent);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.bond-detail-calendar {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}

.bond-detail-calendar-summary,
.bond-detail-calendar-dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.78rem;
}

.bond-detail-calendar-summary {
    margin-top: 22px;
    color: #f5f5f5;
}

.bond-detail-calendar-summary strong {
    font-size: 0.82rem;
}

.bond-detail-calendar-dates {
    color: var(--bond-detail-muted);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.bond-detail-calendar-tabs {
    display: flex;
    margin: 26px 0 10px;
    padding: 4px;
    border-radius: 8px;
    background: rgba(192, 192, 192, 0.15);
}

.bond-detail-calendar-tabs button {
    display: flex;
    width: 50%;
    height: 30px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.bond-detail-calendar-tabs button.is-active {
    background: rgba(192, 192, 192, 0.15);
}

.bond-detail-progress {
    display: block;
    height: 4px;
    min-height: 4px;
    max-height: 4px;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(192, 192, 192, 0.15);
    flex: 0 0 4px;
    box-sizing: border-box;
}

.bond-detail-progress span {
    display: block;
    height: 4px;
    min-height: 4px;
    max-height: 4px;
    border-radius: inherit;
    background: #196a77;
    box-sizing: border-box;
}

.bond-detail-calendar-scroll {
    min-height: 0;
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    scrollbar-color: rgba(255, 134, 94, 0.38) rgba(255, 255, 255, 0.04);
    scrollbar-width: thin;
}

.bond-detail-calendar table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    table-layout: fixed;
    text-align: center;
}

.bond-detail-calendar thead {
    position: sticky;
    z-index: 2;
    top: 0;
    background: var(--bond-detail-surface);
}

.bond-detail-calendar th,
.bond-detail-calendar td {
    padding: 11px 4px;
    border: 0;
    text-align: center;
}

.bond-detail-calendar th {
    color: #f5f5f5;
    font-size: 0.7rem;
    font-weight: 500;
}

.bond-detail-calendar td {
    color: #f5f5f5;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
}

.bond-detail-calendar td:first-child {
    width: 28%;
    white-space: nowrap;
}

.bond-detail-calendar th:first-child {
    width: 28%;
}

.bond-detail-calendar td:nth-child(2) {
    position: relative;
}

.bond-detail-calendar-unknown {
    padding: 0 1px 2px;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    -webkit-tap-highlight-color: transparent;
}

.bond-detail-calendar-tooltip {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    left: 0;
    width: min(280px, calc(100vw - 48px));
    padding: 10px 12px;
    border-radius: 6px;
    background: #5a5a5e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    transform: translateY(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.bond-detail-calendar-tooltip::after {
    position: absolute;
    bottom: 100%;
    left: 20px;
    width: 10px;
    height: 10px;
    background: inherit;
    content: "";
    transform: translate(-50%, 50%) rotate(45deg);
}

.has-unknown-payment:has(.bond-detail-calendar-unknown:hover) .bond-detail-calendar-tooltip,
.has-unknown-payment:focus-within .bond-detail-calendar-tooltip,
.has-unknown-payment.is-explaining .bond-detail-calendar-tooltip {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.bond-detail-calendar tr.is-paid td {
    color: rgba(255, 255, 255, 0.68);
}

.bond-detail-issuer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 0;
}

.bond-detail-issuer-content {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
}

.bond-detail-issuer p {
    display: -webkit-box;
    overflow: hidden;
    max-width: 900px;
    margin: 10px 0 0;
    color: var(--bond-detail-muted);
    font-size: 0.82rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bond-detail-issuer-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: auto 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.bond-detail-issuer-meta > div {
    display: grid;
    gap: 12px;
}

.bond-detail-issuer-meta dt {
    color: #f5f5f7;
    font-size: 0.86rem;
    font-weight: 700;
}

.bond-detail-issuer-meta dd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    font-weight: 600;
}

.bond-detail-country-flag,
.bond-detail-exchange-mark {
    display: inline-grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
}

.bond-detail-country-flag {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: #292a30;
}

.bond-detail-country-flag::before {
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(
        to bottom,
        #fff 0 33.333%,
        #2456d8 33.333% 66.666%,
        #e52b36 66.666% 100%
    );
    content: "";
}

.bond-detail-exchange-mark {
    border-radius: 7px;
    background: #e3272b;
    color: #fff;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bond-detail-issuer a {
    flex: 0 0 auto;
    color: var(--bond-detail-accent);
    font-size: 0.78rem;
    text-decoration: none;
}

.bond-detail-seo-description {
    position: relative;
    margin-bottom: 14px;
    padding: 24px 28px 24px 31px;
    overflow: hidden;
}

.bond-detail-seo-description::before {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--bond-detail-accent);
    content: "";
}

.bond-detail-seo-description-text {
    display: grid;
    max-width: 1040px;
    gap: 11px;
    margin-top: 14px;
}

.bond-detail-seo-description p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    line-height: 1.7;
}

.bond-detail-bottom-grid {
    margin-top: 4px;
}

@media (max-width: 980px) {
    .bond-detail-heading {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bond-detail-heading-ratings {
        grid-column: 1 / -1;
        max-width: 520px;
    }

    .bond-detail-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bond-detail-layout--overview {
        grid-template-columns: 1fr;
    }

    .bond-detail-overview-column > .bond-detail-issuer:last-child {
        height: auto;
        min-height: 0;
        max-height: none;
        flex-basis: auto;
        margin-top: 0;
    }

    .bond-detail-metric {
        min-height: 128px;
    }
}

@media (max-width: 720px) {
    .bond-detail {
        padding-top: 20px;
    }

    .bond-detail-layout {
        display: block;
        gap: 0;
    }

    .bond-detail-layout--overview {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .bond-detail-overview-column {
        display: contents;
        height: auto;
        overflow: visible;
        gap: 0;
    }

    .bond-detail-layout--overview > .bond-detail-panel:not([hidden]) + .bond-detail-panel:not([hidden]) {
        margin-top: 14px;
    }

    .bond-detail-container {
        width: 100%;
        padding-right: var(--page-side-padding);
        padding-left: var(--page-side-padding);
    }

    .bond-detail-topline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }

    .bond-detail-breadcrumbs {
        flex: 1 1 auto;
        overflow: hidden;
        font-size: 0.72rem;
    }

    .bond-detail-heading {
        display: block;
        margin: 20px 0;
    }

    .bond-detail-identity {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 12px;
    }

    .bond-detail-logo {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .bond-detail-title-row {
        gap: 5px;
    }

    .bond-detail-title h1 {
        margin-top: 0;
        font-size: 1.12rem;
        line-height: 1.16;
    }

    .bond-detail-favorite {
        width: 30px;
        height: 30px;
    }

    .bond-detail-favorite svg {
        width: 24px;
        height: 24px;
    }

    .bond-detail-heading-ratings {
        max-width: none;
        margin-top: 16px;
    }

    .bond-detail-heading-ratings h2 {
        margin-bottom: 9px;
        font-size: 0.82rem;
    }

    .bond-detail-heading-ratings dl {
        grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
        gap: 10px;
    }

    .bond-detail-heading-ratings dd {
        font-size: 0.96rem;
    }

    .bond-detail-updated {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        font-size: 0.68rem;
        text-align: right;
        white-space: nowrap;
    }

    .bond-detail-warning {
        display: grid;
    }

    .bond-detail-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .bond-detail-metric {
        min-height: 112px;
        padding: 14px;
    }

    .bond-detail-metric > span {
        min-height: 0;
    }

    .bond-detail-metric strong {
        margin-top: 7px;
        font-size: 1.12rem;
    }

    .bond-detail-metric.bond-detail-metric--mobile-only {
        display: flex;
    }

    .bond-detail-mobile-tabs {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        margin: 22px 0 14px;
        overflow-x: auto;
        padding: 0 2px 2px 0;
        scrollbar-width: none;
    }

    .bond-detail-mobile-tabs::-webkit-scrollbar {
        display: none;
    }

    .bond-detail-mobile-tabs button {
        appearance: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.62);
        cursor: pointer;
        flex: 0 1 auto;
        font: inherit;
        font-size: 1.02rem;
        font-weight: 500;
        line-height: 1;
        padding: 0 0 12px;
        position: relative;
        transition: border-color 0.2s ease, color 0.2s ease;
    }

    .bond-detail-mobile-tabs button::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: transparent;
    }

    .bond-detail-mobile-tabs button.is-active {
        color: #f4f4f7;
    }

    .bond-detail-mobile-tabs button.is-active::after {
        background: var(--bond-detail-accent);
    }

    .bond-detail-layout [data-bond-mobile-panel][hidden] {
        display: none !important;
    }

    .bond-detail-topline .bond-detail-updated {
        display: none;
    }

    .bond-detail-notice {
        align-items: stretch;
        flex-direction: column;
    }

    .bond-detail-notice .btn {
        width: 100%;
    }

    .bond-detail-bottom-grid {
        grid-template-columns: 1fr;
    }

    .bond-detail-panel {
        padding: 16px;
    }

    .bond-detail-calculator-field {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 10px;
    }

    .bond-detail-seo-description {
        padding: 19px 17px 19px 22px;
    }

    .bond-detail-seo-description::before {
        top: 19px;
        bottom: 19px;
    }

    .bond-detail-seo-description-text {
        margin-top: 11px;
    }

    .bond-detail-seo-description p {
        font-size: 0.8rem;
        line-height: 1.62;
    }

    .bond-detail-facts > div,
    .bond-detail-rating-list > div {
        grid-template-columns: minmax(0, 1fr) minmax(100px, auto);
        gap: 10px;
    }

    .bond-detail-calendar-head {
        display: grid;
        gap: 7px;
    }

    .bond-detail-calendar-scroll {
        height: 390px;
        max-height: 390px;
    }

    .bond-detail-issuer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .bond-detail-container {
        width: 100%;
        padding-right: var(--page-side-padding);
        padding-left: var(--page-side-padding);
    }

    .bond-detail-mobile-tabs {
        gap: 10px;
        margin-top: 24px;
    }

    .bond-detail-mobile-tabs button {
        font-size: 1rem;
    }

    .bond-detail-identity {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
    }

    .bond-detail-logo {
        width: 52px;
        height: 52px;
    }

    .bond-detail-title h1 {
        font-size: 1rem;
    }

    .bond-detail-isin-row {
        gap: 6px;
        font-size: 0.76rem;
    }

    .bond-detail-copy {
        width: 21px;
        height: 21px;
    }

    .bond-detail-copy svg {
        width: 15px;
        height: 15px;
    }

    .bond-detail-tag {
        padding: 4px 7px;
        font-size: 0.68rem;
    }

    .bond-detail-calculator-field {
        grid-template-columns: minmax(0, 1fr) minmax(124px, 47%);
        gap: 8px;
        font-size: 0.74rem;
    }

    .bond-detail-calculator-input input {
        min-height: 40px;
        padding-right: 32px;
        padding-left: 8px;
        font-size: 0.78rem;
    }

    .bond-detail-calculator-input > span {
        right: 10px;
    }

    .bond-detail-calculator-results > div {
        grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
        gap: 8px;
    }

    .bond-detail-calculator-results dt,
    .bond-detail-calculator-results dd {
        font-size: 0.72rem;
    }

    .bond-detail-calculator-subrow dt,
    .bond-detail-calculator-subrow dd,
    .bond-detail-calculator-subrow .bond-detail-help-trigger {
        font-size: 0.68rem;
    }

    .bond-detail-calculator-subrow dt {
        padding-left: 8px;
    }

    .bond-detail-calculator-profit dt,
    .bond-detail-calculator-profit dd {
        font-size: 0.82rem;
    }

    .bond-detail-issuer-meta {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 8px;
        padding-top: 22px;
    }

    .bond-detail-calendar-tooltip {
        left: -24px;
        width: min(210px, calc(100vw - 110px));
    }

    .bond-detail-updated {
        padding: 0;
    }

    .bond-detail-metric {
        min-height: 105px;
        padding: 12px;
    }

    .bond-detail-metric > span,
    .bond-detail-metric small {
        font-size: 0.68rem;
    }

    .bond-detail-metric strong {
        font-size: 1rem;
    }

    .bond-detail-facts dt,
    .bond-detail-facts dd,
    .bond-detail-rating-list dt,
    .bond-detail-rating-list dd {
        font-size: 0.72rem;
    }
}
