/* /Components/MembplotWorkspace.razor.rz.scp.css */
.plot-workspace[b-gfumfebcxd] {
    position: relative;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: white;
}

.plot-empty[b-gfumfebcxd] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #777;
    font-size: 14px;
}

/* =========================================================
   Plotly
   ========================================================= */

.plot-area[b-gfumfebcxd] {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


/* =========================================================
   Ribbon
   ========================================================= */

.ribbon-host[b-gfumfebcxd] {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 108px;

    z-index: 100;

    pointer-events: none;
}


/*
 * Narrow hover strip remaining visible while the
 * ribbon is hidden.
 */
.ribbon-edge[b-gfumfebcxd] {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 8px;

    background: rgba(70, 70, 70, 0.18);

    pointer-events: auto;
}


.ribbon-panel[b-gfumfebcxd] {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 100px;

    display: flex;
    flex-direction: column;

    padding: 6px 10px;

    background: rgba(250, 250, 250, 0.97);

    border-bottom: 1px solid #c8c8c8;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.16);

    transform: translateY(-100%);

    transition:
        transform 140ms ease;

    pointer-events: auto;
}


.ribbon-host:hover .ribbon-panel[b-gfumfebcxd] {
    transform: translateY(0);
}


.ribbon-brand[b-gfumfebcxd] {
    height: 24px;

    display: flex;
    align-items: center;

    padding-left: 4px;

    font-size: 14px;
    font-weight: 600;
}


.ribbon-groups[b-gfumfebcxd] {
    flex: 1;

    display: flex;
    align-items: stretch;

    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;
}


.ribbon-group[b-gfumfebcxd] {
    display: flex;
    flex-direction: column;

    min-width: max-content;

    padding: 2px 12px;

    border-right: 1px solid #d5d5d5;
}


.ribbon-controls[b-gfumfebcxd] {
    flex: 1;

    display: flex;
    align-items: center;

    gap: 10px;
}


.ribbon-group-name[b-gfumfebcxd] {
    height: 17px;

    text-align: center;

    font-size: 11px;

    color: #666;
}


.ribbon-button[b-gfumfebcxd] {
    min-height: 30px;

    padding: 4px 10px;

    border: 1px solid #bbb;
    border-radius: 4px;

    background: white;

    cursor: pointer;
}


.ribbon-button:hover[b-gfumfebcxd] {
    background: #ededed;
}


.ribbon-check[b-gfumfebcxd] {
    display: flex;
    align-items: center;

    gap: 5px;

    margin: 0;

    white-space: nowrap;
}


.ribbon-item[b-gfumfebcxd] {
    font-size: 13px;

    white-space: nowrap;

    color: #777;
}


/* =========================================================
   Format Pane
   ========================================================= */

.format-host[b-gfumfebcxd] {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 292px;

    z-index: 90;

    pointer-events: none;
}


/*
 * Right-side hover strip.
 */
.format-edge[b-gfumfebcxd] {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 8px;

    background: rgba(70, 70, 70, 0.18);

    pointer-events: auto;
}


.format-panel[b-gfumfebcxd] {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 284px;

    padding: 16px;

    overflow-y: auto;

    background: rgba(250, 250, 250, 0.97);

    border-left: 1px solid #c8c8c8;

    box-shadow:
        -3px 0 10px rgba(0, 0, 0, 0.16);

    transform: translateX(100%);

    transition:
        transform 140ms ease;

    pointer-events: auto;
}


.format-host:hover .format-panel[b-gfumfebcxd] {
    transform: translateX(0);
}


.format-title[b-gfumfebcxd] {
    margin-bottom: 20px;

    font-size: 18px;
    font-weight: 600;
}


.format-section[b-gfumfebcxd] {
    display: flex;
    flex-direction: column;

    gap: 18px;
}


.format-control[b-gfumfebcxd] {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin: 0;
}


.format-control select[b-gfumfebcxd] {
    width: 100%;

    min-height: 30px;
}


.format-control input[type="range"][b-gfumfebcxd] {
    width: 100%;
}


.format-check[b-gfumfebcxd] {
    display: flex;
    align-items: center;

    gap: 7px;

    margin: 0;
}


/* =========================================================
   Error Ribbon
   ========================================================= */

.error-host[b-gfumfebcxd] {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: min(180px, 50%);
    z-index: 200;
    pointer-events: none;
}

.error-edge[b-gfumfebcxd] {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    background: rgba(180, 45, 45, 0.72);
    pointer-events: auto;
}

.error-panel[b-gfumfebcxd] {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    padding: 8px 10px;
    border-top: 1px solid #c66;
    background: rgba(255, 245, 245, 0.98);
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.16);
    transform: translateY(100%);
    transition: transform 140ms ease;
    pointer-events: auto;
}

.error-host:hover .error-panel[b-gfumfebcxd],
.error-host:focus-within .error-panel[b-gfumfebcxd] {
    transform: translateY(0);
}

.error-panel pre[b-gfumfebcxd] {
    margin: 4px 0 0;
    overflow: auto;
    white-space: pre-wrap;
    font-size: 11px;
}


/* =========================================================
   Narrow Excel Add-in
   ========================================================= */

@media (max-width: 640px) {

    .ribbon-group[b-gfumfebcxd] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .format-host[b-gfumfebcxd] {
        width: min(270px, 85%);
    }

    .format-panel[b-gfumfebcxd] {
        width: 100%;
    }    
}

.ribbon-method[b-gfumfebcxd] {
    display: flex;
    align-items: center;

    height: 30px;

    padding: 0 8px;

    border: 1px solid #ccc;
    border-radius: 4px;

    background: #f4f4f4;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


.ribbon-field[b-gfumfebcxd] {
    display: flex;
    flex-direction: column;

    gap: 2px;

    margin: 0;

    font-size: 10px;

    color: #666;

    white-space: nowrap;
}


.ribbon-field input[b-gfumfebcxd] {
    width: 72px;
    height: 28px;

    padding: 2px 5px;

    border: 1px solid #bbb;
    border-radius: 3px;

    background: white;

    font-size: 12px;
}

.ribbon-slider[b-gfumfebcxd] {
    display: flex;
    flex-direction: column;

    width: 130px;
    gap: 2px;

    margin: 0;

    font-size: 10px;
    color: #666;
}

.ribbon-slider > span[b-gfumfebcxd] {
    display: flex;
    justify-content: space-between;

    gap: 8px;
}

.ribbon-slider strong[b-gfumfebcxd] {
    font-weight: 500;
    color: #333;

    font-variant-numeric: tabular-nums;
}

.ribbon-slider input[type="range"][b-gfumfebcxd] {
    width: 104px;
}

.format-tabs[b-gfumfebcxd] {
    display: flex;

    gap: 2px;

    margin-bottom: 18px;

    border-bottom: 1px solid #ccc;
}


.format-tab[b-gfumfebcxd] {
    flex: 1;

    padding: 7px 6px;

    border: none;
    border-bottom: 2px solid transparent;

    background: transparent;

    color: #666;

    font-size: 12px;

    cursor: pointer;
}


.format-tab:hover[b-gfumfebcxd] {
    background: #eee;
}


.format-tab.active[b-gfumfebcxd] {
    border-bottom-color: #555;

    color: #222;

    font-weight: 600;
}


.format-color[b-gfumfebcxd] {
    display: flex;
    align-items: center;

    gap: 10px;
}


.format-color input[type="color"][b-gfumfebcxd] {
    width: 42px;
    height: 30px;

    padding: 1px;

    border: 1px solid #bbb;

    background: white;
}


.format-color span[b-gfumfebcxd] {
    font-family: monospace;
    font-size: 12px;

    color: #555;
}

.format-tabs[b-gfumfebcxd] {
    display: flex;

    gap: 2px;

    margin-bottom: 18px;

    border-bottom: 1px solid #ccc;
}


.format-tab[b-gfumfebcxd] {
    flex: 1;

    padding: 7px 4px;

    border: none;
    border-bottom: 2px solid transparent;

    background: transparent;

    color: #666;

    font-size: 12px;

    cursor: pointer;
}


.format-tab:hover[b-gfumfebcxd] {
    background: #eee;
}


.format-tab.active[b-gfumfebcxd] {
    border-bottom-color: #555;

    color: #222;

    font-weight: 600;
}


.format-control input[type="text"][b-gfumfebcxd] {
    width: 100%;

    min-height: 30px;

    padding: 4px 6px;

    border: 1px solid #bbb;
    border-radius: 3px;

    background: white;
}


.format-color[b-gfumfebcxd] {
    display: flex;
    align-items: center;

    gap: 10px;
}


.format-color input[type="color"][b-gfumfebcxd] {
    width: 42px;
    height: 30px;

    padding: 1px;

    border: 1px solid #bbb;

    background: white;
}


.format-color span[b-gfumfebcxd] {
    font-family: monospace;
    font-size: 12px;

    color: #555;
}

.domain-actions[b-gfumfebcxd] {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.domain-empty[b-gfumfebcxd] {
    padding: 8px 0;
    opacity: 0.65;
}

.domain-vertices[b-gfumfebcxd] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.domain-vertices th[b-gfumfebcxd],
.domain-vertices td[b-gfumfebcxd] {
    padding: 4px 6px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.domain-vertices th:first-child[b-gfumfebcxd],
.domain-vertices td:first-child[b-gfumfebcxd] {
    width: 32px;
    text-align: center;
}

.paste-overlay[b-gfumfebcxd] {
    position: absolute;
    inset: 0;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
}

.paste-panel[b-gfumfebcxd] {
    width: min(560px, 100%);
    padding: 16px;
    border: 1px solid #bbb;
    border-radius: 6px;
    background: rgba(250, 250, 250, 0.99);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.24);
}

.paste-title[b-gfumfebcxd] {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.paste-text[b-gfumfebcxd] {
    width: 100%;
    height: min(320px, 50vh);
    resize: vertical;
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre;
}

.paste-hint[b-gfumfebcxd] {
    margin-top: 6px;
    color: #666;
    font-size: 11px;
}

.paste-actions[b-gfumfebcxd],
.data-actions[b-gfumfebcxd] {
    display: flex;
    gap: 6px;
}

.paste-actions[b-gfumfebcxd] {
    justify-content: flex-end;
    margin-top: 12px;
}

.data-actions[b-gfumfebcxd] {
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.data-empty[b-gfumfebcxd] {
    padding: 8px 0;
    opacity: 0.65;
}

.data-points[b-gfumfebcxd] {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 11px;
}

.data-points th[b-gfumfebcxd],
.data-points td[b-gfumfebcxd] {
    padding: 4px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
}

.data-points th:first-child[b-gfumfebcxd],
.data-points td:first-child[b-gfumfebcxd] {
    width: 26px;
    text-align: center;
}

.data-points th:last-child[b-gfumfebcxd],
.data-points td:last-child[b-gfumfebcxd] {
    width: 70px;
}

.data-points td:last-child .ribbon-button[b-gfumfebcxd] {
    width: 100%;
    min-height: 24px;
    margin-bottom: 3px;
    padding: 2px 4px;
}

.data-coordinate-cell.editing[b-gfumfebcxd],
.domain-coordinate-cell.editing[b-gfumfebcxd] {
    outline: 1px solid #6c9cff;
    outline-offset: -1px;
    background: #f7faff;
}

/* =========================================================
   Responsive Web App
   ========================================================= */

.web-workspace[b-gfumfebcxd] {
    height: 100vh;
    height: 100dvh;
    --web-ribbon-height: 100px;
    --web-format-width: 300px;
    --web-format-height: clamp(240px, 42dvh, 380px);
}

@media (max-width: 900px), (hover: none) {
    .web-workspace .ribbon-host[b-gfumfebcxd] {
        height: var(--web-ribbon-height);
        pointer-events: auto;
    }

    .web-workspace .ribbon-edge[b-gfumfebcxd],
    .web-workspace .format-edge[b-gfumfebcxd] {
        display: none;
    }

    .web-workspace .ribbon-panel[b-gfumfebcxd] {
        height: var(--web-ribbon-height);
        transform: none;
    }

    .web-workspace .ribbon-groups[b-gfumfebcxd] {
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
    }

    .web-workspace .format-panel[b-gfumfebcxd] {
        inset: 0;
        width: 100%;
        height: 100%;
        overscroll-behavior: contain;
        transform: none;
    }
}

@media (min-width: 701px) and (max-width: 900px), (hover: none) and (min-width: 701px) {
    .web-workspace .plot-area[b-gfumfebcxd],
    .web-workspace .plot-empty[b-gfumfebcxd] {
        top: var(--web-ribbon-height);
        right: var(--web-format-width);
        bottom: 0;
        width: auto;
        height: auto;
    }

    .web-workspace .format-host[b-gfumfebcxd] {
        top: var(--web-ribbon-height);
        left: auto;
        width: var(--web-format-width);
        height: auto;
        pointer-events: auto;
    }
}

@media (max-width: 700px) {
    .web-workspace[b-gfumfebcxd] {
        --web-ribbon-height: 108px;
    }

    .web-workspace .plot-area[b-gfumfebcxd],
    .web-workspace .plot-empty[b-gfumfebcxd] {
        top: var(--web-ribbon-height);
        right: 0;
        bottom: var(--web-format-height);
        width: auto;
        height: auto;
    }

    .web-workspace .format-host[b-gfumfebcxd] {
        top: auto;
        left: 0;
        width: 100%;
        height: var(--web-format-height);
        pointer-events: auto;
    }

    .web-workspace .format-panel[b-gfumfebcxd] {
        border-top: 1px solid #c8c8c8;
        border-left: 0;
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.16);
    }

    .web-workspace .format-title[b-gfumfebcxd] {
        margin-bottom: 12px;
    }

    .web-workspace .format-tabs[b-gfumfebcxd] {
        position: sticky;
        top: -16px;
        z-index: 1;
        margin: -16px -16px 14px;
        padding: 10px 12px 0;
        background: rgba(250, 250, 250, 0.99);
    }

    .web-workspace .paste-overlay[b-gfumfebcxd] {
        align-items: flex-start;
        padding: 12px;
        overflow-y: auto;
    }

    .web-workspace .paste-panel[b-gfumfebcxd] {
        margin: auto;
        padding: 12px;
    }

    .web-workspace .paste-text[b-gfumfebcxd] {
        height: min(260px, 38dvh);
        min-height: 140px;
    }

    .web-workspace .ribbon-button[b-gfumfebcxd],
    .web-workspace .format-control select[b-gfumfebcxd],
    .web-workspace .format-control input[type="text"][b-gfumfebcxd] {
        min-height: 36px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .web-workspace[b-gfumfebcxd] {
        --web-ribbon-height: 92px;
        --web-format-height: min(42dvh, 250px);
    }

    .web-workspace .ribbon-panel[b-gfumfebcxd] {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .web-workspace .ribbon-brand[b-gfumfebcxd] {
        height: 20px;
    }
}

@media (hover: none) {
    .error-host[b-gfumfebcxd] {
        height: min(140px, 35dvh);
        pointer-events: auto;
    }

    .error-edge[b-gfumfebcxd] {
        display: none;
    }

    .error-panel[b-gfumfebcxd] {
        transform: none;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.membplot-shell[b-atp0efh1sr] {
    position: fixed;
    inset: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: white;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-n63uqaxzbb] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-n63uqaxzbb] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-n63uqaxzbb] {
    font-size: 1.1rem;
}

.bi[b-n63uqaxzbb] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-n63uqaxzbb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-n63uqaxzbb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-n63uqaxzbb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-n63uqaxzbb] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-n63uqaxzbb] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-n63uqaxzbb] {
        padding-bottom: 1rem;
    }

    .nav-item[b-n63uqaxzbb]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-n63uqaxzbb]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-n63uqaxzbb]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-n63uqaxzbb] {
        display: none;
    }

    .collapse[b-n63uqaxzbb] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-n63uqaxzbb] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.project-home[b-jhii30v590],
.project-home *[b-jhii30v590] {
    box-sizing: border-box;
}

.project-home[b-jhii30v590] {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 24px) clamp(48px, 7vw, 72px);
    -webkit-overflow-scrolling: touch;
}

.project-content[b-jhii30v590] {
    width: min(1120px, 100%);
    max-width: none;
    min-width: 0;
    margin: 0 auto;
}

.hero-copy[b-jhii30v590],
.hero-visual[b-jhii30v590],
.feature-card[b-jhii30v590],
.usage-card[b-jhii30v590],
.sample-card[b-jhii30v590],
.credit-card[b-jhii30v590] {
    min-width: 0;
}

.hero-visual img[b-jhii30v590] {
    max-width: 100%;
}

.format-note[b-jhii30v590],
.sample-card strong[b-jhii30v590],
.content-section code[b-jhii30v590] {
    overflow-wrap: anywhere;
}

@media (min-width: 801px) and (max-width: 1040px) {
    .hero[b-jhii30v590] {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        min-height: auto;
        padding-top: 24px;
    }

    .hero-copy[b-jhii30v590] {
        text-align: center;
    }

    .lead[b-jhii30v590] {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions[b-jhii30v590] {
        justify-content: center;
    }

    .hero-visual img[b-jhii30v590] {
        width: min(44vw, 380px);
    }
}

@media (max-width: 800px) {
    .hero[b-jhii30v590] {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        min-height: auto;
        padding: 24px 0 52px;
    }

    .hero-copy[b-jhii30v590] {
        text-align: center;
    }

    .lead[b-jhii30v590] {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions[b-jhii30v590] {
        justify-content: center;
    }

    .hero-visual img[b-jhii30v590] {
        width: min(68vw, 340px);
    }

    .content-section[b-jhii30v590] {
        padding: 48px 0;
    }

    .name-section[b-jhii30v590] {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .feature-grid[b-jhii30v590],
    .sample-grid[b-jhii30v590],
    .usage-grid[b-jhii30v590] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .project-home[b-jhii30v590] {
        padding: 20px 14px 44px;
    }

    .hero[b-jhii30v590] {
        gap: 24px;
        padding: 12px 0 40px;
    }

    .hero h1[b-jhii30v590] {
        font-size: clamp(3rem, 18vw, 4.5rem);
        letter-spacing: -0.06em;
    }

    .pronunciation[b-jhii30v590] {
        margin-top: 12px;
    }

    .lead[b-jhii30v590] {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions[b-jhii30v590] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        margin-top: 24px;
    }

    .primary-link[b-jhii30v590],
    .secondary-link[b-jhii30v590] {
        width: 100%;
    }

    .hero-visual img[b-jhii30v590] {
        width: min(76vw, 280px);
    }

    .content-section[b-jhii30v590] {
        padding: 40px 0;
    }

    .content-section h2[b-jhii30v590] {
        margin-bottom: 22px;
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .feature-grid[b-jhii30v590],
    .sample-grid[b-jhii30v590],
    .usage-grid[b-jhii30v590] {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-card[b-jhii30v590],
    .usage-card[b-jhii30v590],
    .sample-card[b-jhii30v590],
    .credit-card[b-jhii30v590] {
        padding: 18px;
    }

    .sample-card[b-jhii30v590] {
        min-height: 130px;
    }

    .credit-card[b-jhii30v590] {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .format-note[b-jhii30v590] {
        padding: 16px;
    }

    .project-footer[b-jhii30v590] {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-height: 700px) and (min-width: 801px) {
    .hero[b-jhii30v590] {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .primary-link[b-jhii30v590],
    .secondary-link[b-jhii30v590],
    .sample-card[b-jhii30v590] {
        transition: none;
    }
}
