/* SPDX-License-Identifier: Apache-2.0 */
body.business3-page {
    margin: 0;
    padding: 0;
    background: #0d151a;
    color: #f1eee3;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}
#b3-app {
    --b3-gold: #e2c886;
    --b3-muted: #b8c2c5;
    --b3-line: #354146;
    max-width: 1440px;
    margin: auto;
    padding: 0 56px;
    box-sizing: border-box;
}
#b3-app * {
    box-sizing: border-box;
}
#b3-app a {
    color: var(--b3-gold);
    text-underline-offset: 5px;
}
#b3-app button,
#b3-app input,
#b3-app textarea,
#b3-app select {
    font: inherit;
}
#b3-app h1,
#b3-app h2,
#b3-app h3,
#b3-app p {
    margin-top: 0;
}
#b3-app h1,
#b3-app h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: #f4f0e3;
}
#b3-app h1 {
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.12;
    margin-bottom: 28px;
}
#b3-app h1 em {
    font-weight: 400;
    color: var(--b3-gold);
}
#b3-app h2 {
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.2;
    margin-bottom: 10px;
}
#b3-app h3 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
}
#b3-app button,
#b3-app .b3-file-button {
    border: 1px solid #59666b;
    background: #19262d;
    color: #eeeade;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    min-height: 44px;
    text-align: center;
}
#b3-app button:hover,
#b3-app .b3-file-button:hover {
    border-color: var(--b3-gold);
    background: #24343d;
}
#b3-app button:disabled {
    opacity: 0.5;
    cursor: default;
}
#b3-app .b3-primary {
    background: var(--b3-gold);
    border: 1px solid var(--b3-gold);
    color: #172128;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    min-height: 48px;
}
#b3-app .b3-primary:hover {
    background: #f5dfa6;
    color: #172128;
}
#b3-app :focus-visible,
.b3-skip:focus {
    outline: 3px solid #91dad0;
    outline-offset: 4px;
}
#b3-app .b3-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--b3-line);
    padding: 27px 0;
}
#b3-app .b3-nav > div {
    display: flex;
    gap: 24px;
    font-size: 12px;
}
#b3-app .b3-brand {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: #f2eee2;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
    line-height: 1.5;
}
#b3-app .b3-brand > span {
    font:
        42px Georgia,
        serif;
    grid-row: span 2;
    color: var(--b3-gold);
}
#b3-app .b3-brand small {
    font-size: 8px;
    letter-spacing: 1.7px;
    color: var(--b3-muted);
}
#b3-app .b3-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 76px 0 50px;
}
#b3-app .b3-eyebrow {
    color: var(--b3-gold);
    letter-spacing: 2px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 17px;
}
#b3-app .b3-lede {
    font-size: 16px;
    line-height: 1.8;
    max-width: 590px;
    color: #cbd2d0;
}
#b3-app .b3-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin: 29px 0 18px;
    font-size: 13px;
}
#b3-app .b3-small {
    font-size: 12px;
    color: var(--b3-muted);
    line-height: 1.65;
}
#b3-app .b3-constellation {
    align-self: center;
}
#b3-app .b3-constellation svg {
    width: 100%;
    height: auto;
    display: block;
}
#b3-app .b3-art-caption {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--b3-muted);
    font-size: 10px;
    letter-spacing: 0.5px;
}
#b3-app .b3-context {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 20px 24px;
    border: 1px solid var(--b3-line);
    background: #142128;
    border-radius: 5px;
    margin-bottom: 66px;
}
#b3-app .b3-context p {
    font-size: 12px;
    color: #cbd2d0;
    margin: 0;
    line-height: 1.8;
}
#b3-app .b3-context strong {
    color: #eee5c9;
}
#b3-app .b3-dot {
    width: 7px;
    height: 7px;
    background: var(--b3-gold);
    border-radius: 50%;
    flex-shrink: 0;
}
#b3-app .b3-section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin: 0 0 27px;
}
#b3-app .b3-file-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 450px;
}
#b3-app .b3-file-actions button,
#b3-app .b3-file-button {
    font-size: 11px;
    padding: 9px 12px;
}
#b3-app .b3-file-button {
    position: relative;
    display: flex;
    align-items: center;
}
#b3-app .b3-file-button input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    cursor: pointer;
}
#b3-app .b3-file-button:focus-within {
    outline: 3px solid #91dad0;
    outline-offset: 4px;
}
#b3-app .b3-input-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 22px;
}
#b3-app .b3-panel {
    background: #142128;
    border: 1px solid var(--b3-line);
    border-radius: 6px;
    padding: 26px;
    min-width: 0;
}
#b3-app .b3-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
    margin: 25px 0;
}
#b3-app .b3-field {
    font-size: 11px;
    color: #d6dcd7;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
#b3-app .b3-field input,
#b3-app select,
#b3-app textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: #f6f0db;
    background: #0b171e;
    border: 1px solid #54636a;
    border-radius: 4px;
    padding: 11px;
    min-height: 44px;
    font-size: 13px;
}
#b3-app input[aria-invalid="true"] {
    border-color: #ed9b91;
}
#b3-app .b3-policy > button {
    width: 100%;
    margin-top: 10px;
}
#b3-app select {
    margin-bottom: 14px;
}
#b3-app .b3-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
#b3-app .b3-panel-heading .b3-eyebrow {
    margin-bottom: 8px;
}
#b3-app .b3-pill {
    display: inline-block;
    border: 1px solid #706344;
    color: #e2c886;
    padding: 6px 9px;
    border-radius: 30px;
    font-size: 10px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
#b3-app .b3-project {
    border-bottom: 1px solid var(--b3-line);
    max-width: none;
    margin: 0;
    padding: 0;
}
#b3-app .b3-project:last-child {
    border-bottom: 0;
}
#b3-app .b3-project summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    font-size: 13px;
}
#b3-app .b3-project summary::-webkit-details-marker {
    display: none;
}
#b3-app .b3-project summary:after {
    content: "+";
    color: var(--b3-gold);
}
#b3-app .b3-project[open] summary:after {
    content: "−";
}
#b3-app .b3-project-name {
    flex: 1;
}
#b3-app .b3-project-name small {
    display: block;
    color: var(--b3-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-top: 2px;
}
#b3-app .b3-project-cost {
    font-variant-numeric: tabular-nums;
    color: #e2c886;
    text-align: right;
}
#b3-app .b3-project-cost small {
    display: block;
    font-size: 9px;
    color: var(--b3-muted);
}
#b3-app .b3-project-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    padding-bottom: 18px;
}
#b3-app .b3-project p {
    font-size: 11px;
    color: #b8c2c5;
}
#b3-app .b3-project-fields .b3-field input {
    font-size: 12px;
    padding: 9px;
}
#b3-app .b3-advanced {
    border: 1px solid var(--b3-line);
    border-radius: 5px;
    padding: 18px 23px;
    max-width: none;
    margin: 20px 0;
    text-align: left;
}
#b3-app .b3-advanced summary {
    font-size: 13px;
    cursor: pointer;
    color: #e6dcbe;
}
#b3-app .b3-advanced[open] summary {
    margin-bottom: 20px;
}
#b3-app .b3-advanced label {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
}
#b3-app textarea {
    font-family: monospace;
    font-size: 12px;
}
#b3-status {
    font-size: 13px;
    padding: 17px 0;
    border-bottom: 1px solid var(--b3-line);
    margin-bottom: 50px;
    color: #c4d8d1;
}
#b3-status[data-error="true"] {
    color: #ffb6aa;
}
#b3-results {
    margin-bottom: 55px;
    scroll-margin-top: 25px;
}
#b3-results[hidden] {
    display: none;
}
#b3-app .b3-result-summary {
    color: #cbd2d0;
    max-width: 800px;
    font-size: 14px;
}
#b3-app .b3-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 25px 0;
}
#b3-app .b3-metric {
    padding: 24px 20px;
    background: #18262d;
    border: 1px solid var(--b3-line);
    border-top: 2px solid #b9a16a;
    border-radius: 4px;
}
#b3-app .b3-metric strong {
    font:
        28px Georgia,
        serif;
    display: block;
    color: #f0db9f;
}
#b3-app .b3-metric span {
    font-size: 10px;
    color: var(--b3-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 8px;
}
#b3-app .b3-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
#b3-app .b3-selection {
    padding: 15px 0;
    border-top: 1px solid var(--b3-line);
}
#b3-app .b3-selection h4 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 500;
}
#b3-app .b3-selection p {
    font-size: 12px;
    color: var(--b3-muted);
    margin: 0;
}
#b3-app .b3-resource {
    margin: 19px 0;
    font-size: 12px;
}
#b3-app .b3-resource > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}
#b3-app .b3-resource progress {
    width: 100%;
    height: 7px;
    appearance: none;
    background: #2f3d45;
    border: 0;
    display: block;
}
#b3-app progress::-webkit-progress-bar {
    background: #2f3d45;
}
#b3-app progress::-webkit-progress-value {
    background: #d9c18b;
}
#b3-app progress::-moz-progress-bar {
    background: #d9c18b;
}
#b3-app .b3-stress {
    margin: 20px 0 48px;
}
#b3-app .b3-table-scroll {
    overflow-x: auto;
    width: 100%;
}
#b3-app table {
    font-size: 12px;
    min-width: 520px;
}
#b3-app th,
#b3-app td {
    border-bottom: 1px solid var(--b3-line);
    padding: 12px 10px;
    text-align: left;
}
#b3-app th {
    font-weight: 500;
    color: #daca9e;
}
#b3-app .b3-jobs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
#b3-app .b3-job {
    padding: 24px;
    background: #142128;
    border: 1px solid var(--b3-line);
    border-radius: 4px;
}
#b3-app .b3-job small {
    font-size: 10px;
    color: var(--b3-gold);
    letter-spacing: 1px;
}
#b3-app .b3-job h3 {
    font-size: 15px;
    margin: 12px 0;
}
#b3-app .b3-job p {
    font-size: 12px;
    color: #c8d0cd;
}
#b3-app .b3-job footer {
    font-size: 11px;
    color: #d9c18b;
    border-top: 1px solid var(--b3-line);
    padding-top: 13px;
}
#b3-app .b3-export {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 38px;
    margin-top: 25px;
    padding: 32px;
}
#b3-app .b3-export p {
    font-size: 13px;
    color: #c8d0cd;
}
#b3-app .b3-export-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    font-size: 12px;
}
#b3-app .b3-hash {
    font-family: monospace;
    font-size: 10px !important;
    word-break: break-all;
}
#b3-app .b3-lifecycle {
    padding: 48px 0;
    border-top: 1px solid var(--b3-line);
}
#b3-app .b3-lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0 20px;
}
#b3-app .b3-lifecycle-grid a {
    background: #142128;
    border: 1px solid var(--b3-line);
    border-radius: 5px;
    text-decoration: none;
    padding: 24px;
}
#b3-app .b3-lifecycle-grid small {
    font-size: 9px;
    letter-spacing: 1.5px;
}
#b3-app .b3-lifecycle-grid h3 {
    margin: 16px 0 10px;
    color: #eee9dc;
    font-size: 16px;
}
#b3-app .b3-lifecycle-grid p {
    font-size: 12px;
    color: var(--b3-muted);
    margin-bottom: 0;
}
#b3-app .b3-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    border-top: 1px solid var(--b3-line);
    padding: 28px 0 50px;
    color: #b8c2c5;
}
#b3-legacy {
    background: #101d24;
    color: #e8e8de;
    border-top: 1px solid #49504a;
    padding: 64px max(24px, calc((100vw - 1328px) / 2));
    text-align: left;
}
#b3-legacy * {
    box-sizing: border-box;
}
#b3-legacy a {
    color: #e2c886;
    text-underline-offset: 4px;
}
#b3-legacy h2 {
    font:
        400 clamp(30px, 3vw, 44px) / 1.2 Georgia,
        serif;
    letter-spacing: -0.035em;
    margin: 0 0 20px;
}
#b3-legacy h3 {
    font:
        400 23px/1.35 Georgia,
        serif;
    margin: 10px 0;
}
#b3-legacy h4 {
    font-size: 14px;
    margin: 18px 0 8px;
}
#b3-legacy p {
    color: #bac7cc;
    font-size: 13px;
    line-height: 1.8;
}
#b3-legacy .b3-eyebrow {
    color: #e2c886;
    font-size: 10px;
    letter-spacing: 2px;
    margin: 0 0 16px;
}
#b3-legacy .b3-lede {
    font-size: 16px;
    max-width: 720px;
}
#b3-legacy .b3-research-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 48px;
    align-items: center;
}
#b3-legacy .b3-original-art {
    display: grid;
    justify-items: center;
    padding: 15px;
    border: 1px solid #3c4b51;
    border-radius: 8px;
    text-decoration: none;
    background: #142128;
}
#b3-legacy img.preview {
    width: 112px;
    height: 112px;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
    border-radius: 4px;
}
#b3-legacy .b3-original-art span {
    font-size: 8px;
    letter-spacing: 1px;
    margin-top: 13px;
}
#b3-legacy .b3-research-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 36px 0;
}
#b3-legacy .b3-research-links > a {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #3c4b51;
    border-radius: 6px;
    text-decoration: none;
    background: #142128;
}
#b3-legacy .b3-research-links > a:hover {
    background: #1b2c34;
    border-color: #e2c886;
}
#b3-legacy .b3-research-links small {
    font-size: 9px;
    letter-spacing: 1.4px;
}
#b3-legacy .b3-research-links h3 {
    color: #f1eee3;
    font-size: 22px;
}
#b3-legacy .b3-research-links span {
    margin-top: auto;
    padding-top: 12px;
    font-size: 12px;
}
#b3-legacy .b3-replay {
    border: 1px solid #3c4b51;
    border-radius: 8px;
    background: #0d171d;
    padding: 30px;
}
#b3-legacy .b3-replay-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 28px;
}
#b3-legacy .b3-replay-heading > div {
    max-width: 760px;
}
#b3-legacy .b3-replay-heading > a {
    flex: 0 0 178px;
    font-size: 12px;
    padding-top: 4px;
}
#b3-legacy #mode-control {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}
#b3-legacy button {
    font:
        12px/1.5 Arial,
        sans-serif;
    color: #e7e9df;
    border: 1px solid #59666b;
    background: #1b2b33;
    padding: 11px 16px;
    min-height: 44px;
    border-radius: 5px;
    cursor: pointer;
}
#b3-legacy #offline-mode {
    background: #e2c886;
    color: #172128;
    border-color: #e2c886;
    font-weight: 700;
}
#b3-legacy button:hover {
    border-color: #e2c886;
}
#b3-legacy button:disabled {
    opacity: 0.55;
    cursor: wait;
}
#b3-legacy :focus-visible {
    outline: 3px solid #91dad0;
    outline-offset: 4px;
}
#b3-legacy #demo-status {
    font-size: 12px;
    border-left: 2px solid #91dad0;
    padding: 8px 12px;
    margin: 18px 0 26px;
}
#b3-legacy .b3-replay-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 32px;
}
#b3-legacy .b3-replay-figure {
    margin: 0;
    min-width: 0;
}
#b3-legacy figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 20px;
}
#b3-legacy figcaption span {
    font-size: 9px;
    color: #bac7cc;
    letter-spacing: 1px;
}
#b3-legacy .b3-replay-canvas {
    position: relative;
    height: 290px;
    width: 100%;
}
#b3-legacy #chart {
    max-width: 100%;
}
#b3-legacy .b3-replay-reading {
    padding: 0 0 0 26px;
    border-left: 1px solid #3c4b51;
}
#b3-legacy .b3-replay-reading a {
    font-size: 12px;
}
#b3-legacy summary {
    cursor: pointer;
    min-height: 44px;
    padding: 12px 0;
    color: #e2c886;
    font-size: 13px;
}
#b3-legacy .b3-replay-record {
    border-top: 1px solid #3c4b51;
    margin-top: 26px;
}
#b3-legacy #logs-panel {
    text-align: left;
    background: #142128;
    color: #c4d3d8;
    border: 1px solid #3c4b51;
    border-radius: 5px;
    font-size: 12px;
    max-width: 100%;
    overflow-wrap: anywhere;
}
#b3-legacy table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
#b3-legacy th,
#b3-legacy td {
    padding: 9px 12px;
    border-bottom: 1px solid #3c4b51;
    text-align: left;
}
#b3-legacy .b3-replay-note {
    margin-bottom: 0;
    font-size: 11px;
}
#b3-legacy .b3-research-notice {
    margin: 24px 0;
}
#b3-legacy .snippet {
    max-width: none;
    margin: 0;
    text-align: left;
}
#b3-legacy .b3-research-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid #3c4b51;
    padding-top: 24px;
    font-size: 11px;
    color: #bac7cc;
}
#b3-app .b3-opportunity {
    margin: 24px 0;
}
#b3-app .b3-chart-legend {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #b8c2c5;
    font-size: 11px;
    margin: 24px 0 10px;
}
#b3-app .b3-chart-legend i {
    display: inline-block;
    width: 18px;
    height: 7px;
    margin-right: 7px;
}
#b3-app .b3-expected-key,
#b3-app .b3-value-bar.b3-expected {
    background: #e2c886;
}
#b3-app .b3-downside-key,
#b3-app .b3-value-bar.b3-downside {
    background: #91dad0;
}
#b3-app #b3-opportunity-chart {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
#b3-app .b3-value-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr) 165px;
    gap: 24px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #354146;
}
#b3-app .b3-value-label strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
#b3-app .b3-value-label > span {
    display: block;
    color: #b8c2c5;
    font-size: 10px;
    margin-top: 5px;
}
#b3-app .b3-value-row[data-selected="true"] .b3-value-label > span {
    color: #e2c886;
    font-weight: 700;
}
#b3-app .b3-value-row[data-selected="true"] .b3-value-label > span::before {
    content: "● ";
}
#b3-app .b3-value-plot {
    height: 36px;
    position: relative;
    border-left: 1px solid #354146;
    border-right: 1px solid #354146;
}
#b3-app .b3-value-plot::before {
    content: "";
    position: absolute;
    top: -7px;
    bottom: -7px;
    left: var(--b3-zero);
    width: 1px;
    background: #71848b;
}
#b3-app .b3-value-bar {
    display: block;
    position: absolute;
    height: 10px;
    top: 5px;
    border-radius: 2px;
}
#b3-app .b3-value-bar.b3-downside {
    top: 21px;
}
#b3-app .b3-value-amounts {
    display: grid;
    gap: 5px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}
#b3-app .b3-value-amounts .b3-expected {
    color: #e2c886;
}
#b3-app .b3-value-amounts .b3-downside {
    color: #91dad0;
}
@media (max-width: 800px) {
    #b3-legacy {
        padding: 40px 24px;
    }
    #b3-legacy .b3-research-heading {
        grid-template-columns: minmax(0, 1fr) 126px;
        gap: 24px;
    }
    #b3-legacy img.preview {
        width: 80px;
        height: 80px;
    }
    #b3-legacy .b3-research-links,
    #b3-legacy .b3-replay-layout {
        grid-template-columns: 1fr;
    }
    #b3-legacy .b3-replay {
        padding: 22px;
    }
    #b3-legacy .b3-replay-heading {
        display: block;
    }
    #b3-legacy .b3-replay-heading > a {
        display: inline-block;
        margin-bottom: 12px;
    }
    #b3-legacy .b3-replay-reading {
        border-left: 0;
        border-top: 1px solid #3c4b51;
        padding: 22px 0 0;
    }
    #b3-app .b3-value-row {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    #b3-app .b3-value-label {
        display: flex;
        gap: 12px;
        align-items: baseline;
        justify-content: space-between;
    }
    #b3-app .b3-value-label > span {
        flex-shrink: 0;
    }
    #b3-app .b3-value-amounts {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 450px) {
    #b3-legacy .b3-research-heading {
        grid-template-columns: 1fr;
    }
    #b3-legacy .b3-original-art {
        justify-self: start;
        grid-template-columns: 64px 1fr;
        gap: 18px;
        align-items: center;
    }
    #b3-legacy img.preview {
        width: 64px;
        height: 64px;
    }
    #b3-legacy .b3-original-art span {
        margin-top: 0;
    }
    #b3-legacy #mode-control button {
        width: 100%;
    }
    #b3-app .b3-value-label {
        display: block;
    }
}
.b3-skip {
    position: absolute;
    left: 20px;
    top: -100px;
    background: #e2c886;
    color: #172128;
    padding: 12px;
    z-index: 10;
}
.b3-skip:focus {
    top: 15px;
}
.b3-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#b3-app [hidden] {
    display: none !important;
}
@media (max-width: 1100px) {
    #b3-app {
        padding: 0 32px;
    }
    #b3-app .b3-hero {
        gap: 15px;
        padding-top: 55px;
    }
    #b3-app .b3-input-layout {
        grid-template-columns: 290px minmax(0, 1fr);
    }
    #b3-app .b3-section-title {
        align-items: start;
        flex-direction: column;
    }
    #b3-app .b3-file-actions {
        justify-content: flex-start;
        max-width: none;
    }
    #b3-app .b3-art-caption {
        gap: 10px;
        font-size: 9px;
    }
    #b3-app .b3-metric {
        padding: 20px 13px;
    }
    #b3-app .b3-metric strong {
        font-size: 24px;
    }
}
@media (max-width: 760px) {
    #b3-app {
        padding: 0 20px;
    }
    #b3-app .b3-nav {
        padding: 19px 0;
    }
    #b3-app .b3-nav > div {
        gap: 12px;
        font-size: 10px;
    }
    #b3-app .b3-brand {
        font-size: 10px;
        letter-spacing: 1px;
        column-gap: 5px;
    }
    #b3-app .b3-brand small {
        font-size: 6px;
    }
    #b3-app .b3-hero {
        grid-template-columns: 1fr;
        padding: 44px 0 28px;
    }
    #b3-app .b3-constellation {
        max-width: 320px;
        margin: 0 auto;
    }
    #b3-app .b3-hero-actions {
        gap: 18px;
    }
    #b3-app .b3-context {
        margin-bottom: 38px;
        padding: 17px;
    }
    #b3-app .b3-input-layout,
    #b3-app .b3-result-grid,
    #b3-app .b3-export {
        grid-template-columns: 1fr;
    }
    #b3-app .b3-fields {
        grid-template-columns: 1fr 1fr;
    }
    #b3-app .b3-panel {
        padding: 20px;
    }
    #b3-app .b3-metrics,
    #b3-app .b3-jobs,
    #b3-app .b3-lifecycle-grid {
        grid-template-columns: 1fr 1fr;
    }
    #b3-app .b3-metric strong {
        font-size: 25px;
    }
    #b3-app .b3-export {
        gap: 20px;
    }
    #b3-app .b3-project-fields {
        grid-template-columns: 1fr 1fr;
    }
    #b3-app .b3-project summary {
        gap: 10px;
    }
    #b3-app .b3-project-cost {
        font-size: 12px;
    }
    #b3-app .b3-lifecycle-grid a {
        padding: 18px;
    }
    #b3-app .b3-hero-actions .b3-primary {
        width: 100%;
    }
}
@media (max-width: 450px) {
    #b3-app .b3-jobs,
    #b3-app .b3-lifecycle-grid {
        grid-template-columns: 1fr;
    }
    #b3-app .b3-nav > div {
        flex-direction: column;
        gap: 5px;
    }
    #b3-app .b3-constellation {
        max-width: 250px;
    }
    #b3-app .b3-metric strong {
        font-size: 24px;
    }
    #b3-app .b3-file-actions button,
    #b3-app .b3-file-button {
        font-size: 10px;
    }
    #b3-app .b3-panel-heading {
        gap: 9px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #b3-app * {
        scroll-behavior: auto !important;
    }
}
#b3-legacy canvas {
    max-width: 100%;
}
