:root {
    --lakes-blue: #3370A1;
    --lakes-peach: #E69378;

    /* Button Colors */
    --btn-service: #7B4B4B;
    --btn-building-business: #569D92;
    --btn-building-technical: #5A7684;
    --btn-cocreation: #8778B3;
    --btn-service-hover: #b08d8d;
    --btn-building-business-hover: #a7b8ae;
    --btn-building-technical-hover: #91adc0;
    --btn-cocreation-hover: #bab5c4;

    /* Stage Colors */
    --stage-teal: #5E9C97;
    --stage-amber: #D9A066;
    --stage-pink: #C78CA6;
    --stage-blue: #6C8FB8;

    /* Font Size Variables */
    --font-size-base: 1rem;
    --font-size-standard: 0.9em;     
    --font-size-dr: 0.85em;
    --font-size-question: 0.8em;

    /* Shaded Background Colors */
    --bg-hover-focus: rgba(189, 199, 207, 0.1);
    --bg-active: rgba(189, 199, 207, 0.2);
    --lakes-blue-dark: rgb(36, 57, 85);
}

/* =============================
   🏷️ Base Layout
   ============================= */

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

header {
    background-color: var(--lakes-blue) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 80px;
}

main {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 1rem;
}

footer {
    background-color: var(--lakes-blue) !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.footer span {
    color: #fff !important;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
}

/* =============================
   🏷️ Tool Details Styling
   ============================= */

.tool-details-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.tool-title {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--lakes-blue);
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tool-description {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tool-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.tool-detail-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-top: 4px solid var(--lakes-blue);
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tool-detail-section h4 {
    color: var(--lakes-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.tool-detail-section p {
    margin-bottom: 0;
    color: #333;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tool-detail-section a {
    color: var(--lakes-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
    padding: 0.2rem 0;
}

.tool-detail-section a:hover {
    color: var(--lakes-peach);
    border-bottom: 1px solid var(--lakes-peach);
    text-decoration: none;
    transform: translateY(-1px);
}

.tool-detail-section a:active {
    color: var(--lakes-blue-dark);
    border-bottom: 1px solid var(--lakes-blue-dark);
    transform: translateY(0);
}

/* =============================
   🏷️ Responsive Design
   ============================= */

@media (max-width: 768px) {
    .tool-details-container {
        padding: 0 0.5rem;
    }
    
    .tool-title {
        font-size: 1.8rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .tool-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .tool-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .tool-detail-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .tool-details-container {
        padding: 0 0.25rem;
    }
    
    .tool-title {
        font-size: 1.5rem;
        margin: 0.5rem 0 0.25rem 0;
    }
    
    .tool-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .tool-details-grid {
        gap: 0.75rem;
    }
    
    .tool-detail-section {
        padding: 0.75rem;
    }
}

/* =============================
   🏷️ Header Responsive
   ============================= */

@media (max-width: 768px) {
    header .container-fluid {
        padding: 0.5rem;
    }
    
    header .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    header .d-flex.align-items-center.gap-3 {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
    }
    
    header .d-flex.gap-2.align-items-center {
        justify-content: flex-end;
        width: 100%;
    }
}

/* =============================
   🏷️ Sidebar Styling
   ============================= */

.sidebar {
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    flex: 1;
    padding: 0;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 260px);
    padding-bottom: 2rem;
    font-size: var(--font-size-base);
}

.sidebar-content .search-bar { 
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    padding-top: 0.5rem;
}

.sidebar-content .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}

.sidebar-content .filter-group > .form-check {
    margin: 0;
}

.sidebar-elements {
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-elements .col {
    max-width: 200px;
    min-width: 130px;
    flex: 1 0 0;
    word-wrap: break-word;
    white-space: normal;
}

.sidebar-elements .btn {
    min-width: 120px;
    display: block;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 0.5em 0.5em;
    white-space: normal;
    word-break: break-word;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.sidebar-elements .btn.active-tag {
    opacity: 0.4;
    filter: grayscale(100%);
    pointer-events: none;
}

.sidebar-elements-content {
    flex: 1;
    padding: 0.5rem;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 260px);
    padding-bottom: 2rem;
}

.sidebar-elements-title {
    font-size: 1rem;
    padding: 0.2rem;
    text-align: center;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.2;
}

.sidebar-elements .col .d-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 10;
    border-bottom: 1px solid #dee2e6;
    margin-top: 0;
}

.toolbox-content-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-bottom: 1px solid #dee2e6;
}

.toolbox-content {
    flex: 1;
    border-radius: 4px;
    background: white;
    padding: 0.5rem;
    position: relative;
    font-size: var(--font-size-base);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 260px);
    padding-bottom: 2rem;
}

.toolbox-content .toolbox-item:first-child {
    margin-top: 0;
}

.toolbox-content .toolbox-item {
    margin-top: 0;
}

.sidebar-elements-main-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 10;
    border-bottom: 1px solid #dee2e6;
}

/* =============================
   🏷️ Button Styling
   ============================= */

.btn-tool {
    background-color: white;
    color: var(--lakes-peach);
}

.btn-tool:hover {
    background-color: var(--lakes-peach);
    color: white;
    border-color: white;
}

.btn-tool:active {
    background-color: var(--lakes-peach) !important;
    color: white !important;
    border-color: white !important;
}

.btn-service {
    background-color: var(--btn-service);
    color: white;
}

.btn-building-business {
    background-color: var(--btn-building-business);
    color: white;
}

.btn-building-technical {
    background-color: var(--btn-building-technical);
    color: white;
}

.btn-cocreation {
    background-color: var(--btn-cocreation);
    color: white;
}

.btn-service:hover {
    background-color: var(--btn-service-hover);
    color: white;
}

.btn-building-business:hover {
    background-color: var(--btn-building-business-hover);
    color: white;
}

.btn-building-technical:hover {
    background-color: var(--btn-building-technical-hover);
    color: white;
}

.btn-cocreation:hover {
    background-color: var(--btn-cocreation-hover);
    color: white;
}

.btn-service:active {
    background-color: var(--btn-service-hover) !important;
    border-color: var(--btn-service) !important;
    color: white !important;
    transform: scale(0.98) !important;
}

.btn-building-business:active {
    background-color: var(--btn-building-business-hover) !important;
    border-color: var(--btn-building-business) !important;
    color: white !important;
    transform: scale(0.98) !important;
}

.btn-building-technical:active {
    background-color: var(--btn-building-technical-hover) !important;
    border-color: var(--btn-building-technical) !important;
    color: white !important;
    transform: scale(0.98) !important;
}

.btn-cocreation:active {
    background-color: var(--btn-cocreation-hover) !important;
    border-color: var(--btn-cocreation) !important;
    color: white !important;
    transform: scale(0.98) !important;
}

/* =============================
   🏷️ Form Styling
   ============================= */

.form-label {
    font-size: 1rem;
    padding: 0.5rem;
}

.form-control {
    font-size: 0.8rem;
    padding: 0.2rem;
}

.form-check {
    font-size: 0.8rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-left: 0;
}

.form-check-label {
    font-size: 0.8rem;
}

.sidebar .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.sidebar .form-check-input {
    margin-top: 0.15rem;
}

.sidebar .form-check-label {
    flex: 1;
    line-height: 1.2;
    margin: 0;
}

/* =============================
   🏷️ Toolbox Items
   ============================= */

.toolbox-list {
    list-style: none;
    padding: 0.5rem;
}

.toolbox-item {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toolbox-item-details {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toolbox-item.expanded {
    background-color: var(--lakes-peach);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}

.toolbox-item.expanded .toolbox-item-details {
    max-height: 250px;
    opacity: 1;
    margin-top: 1rem;
}

/* =============================
   🏷️ Text Styling
   ============================= */

h1 {
    text-align: left;
    margin-bottom: 2rem;
}

.toolbox-title {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.login-title {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.frontpage-container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.login-subheading {
    margin-bottom: 1rem;
    margin-left: 60px;
}

.login-button {
    background-color: white;
    color: var(--lakes-blue);
    border: 2px solid var(--lakes-blue);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-right: 2rem;
    width: 250px;
}

.login-button:hover {
    background-color: var(--lakes-blue);
    color: white;
    border-color: var(--lakes-blue);
}

.login-button h6 {
    margin: 0;
    color: inherit;
}

.login-text {
    margin-left: 65px;
}

.login-text.stage-amber {
    color: var(--stage-amber);
    font-weight: 600;
}

.login-text.stage-pink {
    color: var(--stage-pink);
    font-weight: 600;
}

.login-text.stage-teal {
    color: var(--stage-teal);
    font-weight: 600;
}

.login-text.stage-blue {
    color: var(--stage-blue);
    font-weight: 600;
}

.login-text h6.building-business {
    color: var(--btn-building-business);
    font-weight: 600;
}

.login-text h6.building-technical {
    color: var(--btn-building-technical);
    font-weight: 600;
}

/* =============================
   🏷️ Building Blocks Blueprint
   ============================= */

.blueprint {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.blueprint .group {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    overflow: hidden;
    border: 1px solid #e6edf2;
}

.blueprint .group-title {
    text-align: center;
    font-weight: 700;
    padding: .6rem .8rem;
    color: #fff;
    letter-spacing: .2px;
    font-size: 1rem;
}

.blueprint .columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    min-width: 0;
    background: var(--shade-0);
}

.blueprint .columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .blueprint .columns {
        grid-template-columns: repeat(3, 1fr);
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    
    .blueprint .columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .blueprint .card {
        scroll-snap-align: start;
    }
}

@media (max-width: 960px) {
    .blueprint .columns {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    
    .blueprint .columns-4 {
        grid-template-columns: repeat(4, minmax(180px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
}

.blueprint .card {
    background: var(--shade-2);
    border-radius: 8px;
    padding: .5rem;
    color: #fff;
    border: 1px solid color-mix(in oklab, var(--shade-1), #000 8%);
}

.blueprint .card > .card-title {
    background: var(--shade-2);
    border-radius: 6px;
    padding: .4rem .5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: .4rem;
    font-size: 0.85rem;
}

.blueprint .pill {
    background: var(--shade-3);
    border-radius: 6px;
    padding: .35rem .5rem;
    margin: .3rem 0;
    font-weight: 600;
    border: 1px solid color-mix(in oklab, var(--shade-3), #000 10%);
    font-size: 0.75rem;
}

.blueprint .pill.alt {
    background: var(--shade-4);
}

.blueprint .use-base {
    --base: #999;
}

.blueprint .use-base {
    /* Base color for main header */
    --shade-0: var(--base);
    /* Card background - slightly lighter than base */
    --shade-1: color-mix(in oklab, var(--base), white 10%);
    /* Card title - darker than base */
    --shade-2: color-mix(in oklab, var(--base), #000 15%);
    /* Pill base - even darker */
    --shade-3: color-mix(in oklab, var(--base), #000 25%);
    /* Pill alt - darkest */
    --shade-4: color-mix(in oklab, var(--base), #000 35%);
}

/* Building Blocks Sub-Banner */
.building-blocks-subsections {
    position: relative;
    min-height: 400px;
}

.bb-subsection {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bb-subsection.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
}

.banner-btn-bb {
    background-color: transparent;
    color: var(--lakes-blue);
    border: none;
    padding: 0.3rem 0.7rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.banner-btn-bb::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--lakes-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.banner-btn-bb:hover::after {
    width: 100%;
}

.banner-btn-bb.active::after {
    width: 100%;
}

/* =============================
   🏷️ Data Space Phase Flow
   ============================= */

.ds-steps {
    width: 980px;
    min-width: 980px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    padding: 1.25rem 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.ds-grid {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    column-gap: 1.75rem;
    row-gap: 1.5rem;
    align-items: center;
    position: relative;
    width: 100%;
    min-width: 0;
}

.ds-steps .box {
    box-sizing: border-box;
    flex-shrink: 0;
}

.ds-steps .stage {
    flex-shrink: 0;
}

.ds-steps .stage {
    color: #7a6f63;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .2px;
}

.ds-steps .box {
    --base: var(--btn-cocreation);
    --bg: color-mix(in oklab, var(--base), white 78%);
    --border: color-mix(in oklab, var(--base), black 25%);
    background: var(--bg);
    border: 1px solid var(--border);
    color: #2a2a2a;
    padding: .9rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.ds-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.ds-arrows svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.ds-grid {
    position: relative;
    z-index: 2;
}

@media (max-width: 860px) {
    .ds-grid {
        grid-template-columns: 1fr;
    }
    
    .ds-steps .stage {
        margin-top: .5rem;
    }
    
    .ds-steps .stage::before {
        content: attr(data-title);
        font-weight: 700;
        display: block;
        margin-bottom: .4rem;
    }
}

/* =============================
   🏷️ Content Banner Styling
   ============================= */

.content-banner {
    background-color: transparent;
    padding: 0.5rem 0;
    margin: 0.5rem 0 1rem 0;
    position: relative;
    border: none;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-banner::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 3px solid var(--lakes-blue);
}

/* Hide line under sub-banner in key-concepts section */
#key-concepts-content .content-banner::after {
    display: none;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.banner-btn {
    background-color: transparent;
    color: var(--lakes-blue);
    border: none;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.banner-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--lakes-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.banner-btn:hover::after {
    width: 100%;
}

.banner-btn.active::after {
    width: 100%;
}

.banner-form {
    margin: 0;
    display: inline-block;
}

.banner-btn-primary {
    background-color: var(--lakes-peach) !important;
    border: none !important;
    color: white !important;
    font-weight: 700;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-btn-primary::after {
    display: none;
}

.banner-btn-primary:hover {
    background-color: #d17a5f !important;
    color: white !important;
    transform: translateY(-1px);
}

.development-image {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.development-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =============================
   🏷️ Content Sections Styling
   ============================= */

.content-sections {
    position: relative;
    min-height: 300px;
}

.content-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: fadeIn 0.3s ease forwards;
}

.content-section.active {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================
   🏷️ Ecosystem Development
   ============================= */

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.ecosystem-stages {
    background: rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 16px;
    overflow-x: auto;
}

.ecosystem-grid-5x7 {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    grid-template-rows: repeat(7, auto);
    gap: 8px;
    height: auto;
    grid-auto-flow: row;
    min-width: 900px;
}

.stage-title-cell {
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: clamp(.8rem, 1.8vw, 1.05rem);
    color: #fff;
    text-align: center;
    min-height: 60px;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.rail-cell-title {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: clamp(.8rem, 1.8vw, 1.05rem);
    color: #0f1112;
    text-align: center;
    gap: 8px;
    min-height: 60px;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.rail-cell {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f1112;
    font-weight: 600;
    font-size: clamp(.7rem, 1.4vw, .9rem);
    border: 3px solid transparent;
    min-height: 50px;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.rail-cell i {
    font-size: .9rem;
    opacity: .7;
    color: #666;
}

.stage-card {
    background: #fff;
    color: #0f1112;
    border-radius: 12px;
    padding: 8px;
    font-weight: 600;
    line-height: 1.3;
    border: 3px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(.7rem, 1.4vw, .9rem);
    min-height: 50px;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

/* Stage Colors */
.stage-title-cell.stage-teal {
    color: var(--stage-teal);
    background: rgba(24, 195, 176, 0.1);
}

.stage-card.stage-teal {
    border-color: var(--stage-teal);
    background: rgba(24, 195, 176, 0.05);
}

.stage-title-cell.stage-amber {
    color: var(--stage-amber);
    background: rgba(246, 180, 84, 0.1);
}

.stage-card.stage-amber {
    border-color: var(--stage-amber);
    background: rgba(246, 180, 84, 0.05);
}

.stage-title-cell.stage-pink {
    color: var(--stage-pink);
    background: rgba(229, 139, 181, 0.1);
}

.stage-card.stage-pink {
    border-color: var(--stage-pink);
    background: rgba(229, 139, 181, 0.05);
}

.stage-title-cell.stage-blue {
    color: var(--stage-blue);
    background: rgba(127, 178, 230, 0.1);
}

.stage-card.stage-blue {
    border-color: var(--stage-blue);
    background: rgba(127, 178, 230, 0.05);
}

/* Color Legends */
.color-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.color-legend .color-box {
    flex: 1 1 220px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 0 12px;
}

.color-legend .color-box.service {
    background: var(--btn-service);
}

.color-legend .color-box.building-business {
    background: var(--btn-building-business);
}

.color-legend .color-box.building-technical {
    background: var(--btn-building-technical);
}

.color-legend .color-box.cocreation {
    background: var(--btn-cocreation);
}

.toolbox-color-legend {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.toolbox-color-legend .toolbox-color-box {
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 0 10px;
    font-size: .95rem;
}

.toolbox-color-legend .toolbox-color-box.service {
    background: var(--btn-service);
}

.toolbox-color-legend .toolbox-color-box.building-business {
    background: var(--btn-building-business);
}

.toolbox-color-legend .toolbox-color-box.building-technical {
    background: var(--btn-building-technical);
}

.toolbox-color-legend .toolbox-color-box.cocreation {
    background: var(--btn-cocreation);
}

/* =============================
   🏷️ Dropdown Styling
   ============================= */

.dropdown .dropdown-menu {
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* =============================
   🏷️ Additional Responsive
   ============================= */

@media (max-width: 576px) {
    .color-legend .color-box {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .banner-btn {
        width: 80%;
        max-width: 300px;
    }
}