/* /Components/Ai/AgentChat.razor.rz.scp.css */
/* Rendered-markdown assistant bubble: tame default HTML margins so it reads as a chat message. */
.tx-md[b-aeqpkyu2kn] {
    font-size: 0.875rem;
    line-height: 1.43;
    overflow-wrap: anywhere;
}

.tx-md[b-aeqpkyu2kn]  > *:first-child { margin-top: 0; }
.tx-md[b-aeqpkyu2kn]  > *:last-child { margin-bottom: 0; }
.tx-md[b-aeqpkyu2kn]  p { margin: 0 0 0.5em; }
.tx-md[b-aeqpkyu2kn]  ul,
.tx-md[b-aeqpkyu2kn]  ol { margin: 0.25em 0 0.5em; padding-left: 1.25em; }
.tx-md[b-aeqpkyu2kn]  li { margin: 0.1em 0; }
.tx-md[b-aeqpkyu2kn]  li > p { margin: 0; }
.tx-md[b-aeqpkyu2kn]  h1,
.tx-md[b-aeqpkyu2kn]  h2,
.tx-md[b-aeqpkyu2kn]  h3,
.tx-md[b-aeqpkyu2kn]  h4 { font-size: 1em; font-weight: 600; margin: 0.5em 0 0.25em; }
.tx-md[b-aeqpkyu2kn]  a { color: var(--mud-palette-primary); }
.tx-md[b-aeqpkyu2kn]  code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.05em 0.3em;
    border-radius: 4px;
    font-size: 0.9em;
}
.tx-md[b-aeqpkyu2kn]  pre {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.5em 0.6em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 0.4em 0;
}
.tx-md[b-aeqpkyu2kn]  pre code { background: none; padding: 0; }
.tx-md[b-aeqpkyu2kn]  blockquote {
    margin: 0.4em 0;
    padding-left: 0.6em;
    border-left: 3px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
}
.tx-md[b-aeqpkyu2kn]  table { border-collapse: collapse; margin: 0.4em 0; }
.tx-md[b-aeqpkyu2kn]  th,
.tx-md[b-aeqpkyu2kn]  td {
    border: 1px solid var(--mud-palette-lines-default);
    padding: 0.2em 0.45em;
    text-align: left;
}

/* Keep the transcript within the panel width. */
.tx-chat-scroll[b-aeqpkyu2kn] {
    min-width: 0;
}

.tx-chat-scroll[b-aeqpkyu2kn]  .mud-chip {
    height: auto;
    min-height: 24px;
    max-width: 100%;
    white-space: normal;
}

.tx-chat-scroll[b-aeqpkyu2kn]  .mud-chip .mud-chip-content {
    white-space: normal;
    overflow-wrap: anywhere;
    padding-top: 2px;
    padding-bottom: 2px;
}

/* Minimalist chat input bar: one rounded pill with a "+" menu, a borderless field and a round send.
   Symmetric horizontal padding + equal leading/trailing control footprints so the "+" at the start and
   the mic/send at the end sit at matching insets from the pill edges. */
.tx-chat-bar[b-aeqpkyu2kn] {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 26px;
    padding: 4px 8px;
    background: var(--mud-palette-surface);
    transition: border-color .15s ease, box-shadow .15s ease;
}

/* Equal-sized round controls at both ends, so the "+" glyph and the mic/send glyph sit at matching
   insets. Reached with ::deep because they're child-component buttons (no scope attribute of their own). */
.tx-chat-bar[b-aeqpkyu2kn]  .mud-icon-button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 6px !important;
    flex: 0 0 auto;
}
.tx-chat-bar[b-aeqpkyu2kn]  .mud-icon-button .mud-icon-root {
    font-size: 1.25rem;
}

.tx-chat-bar:focus-within[b-aeqpkyu2kn] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 1px var(--mud-palette-primary);
}

.tx-chat-bar-disabled[b-aeqpkyu2kn] {
    opacity: .55;
}

.tx-chat-plus[b-aeqpkyu2kn]  .mud-button-root {
    color: var(--mud-palette-text-secondary);
}

.tx-chat-field[b-aeqpkyu2kn]  .mud-input-control,
.tx-chat-field[b-aeqpkyu2kn]  .mud-input-control-input-container,
.tx-chat-field[b-aeqpkyu2kn]  .mud-input {
    margin-top: 0;
}

.tx-chat-field[b-aeqpkyu2kn]  .mud-input-slot,
.tx-chat-field[b-aeqpkyu2kn]  input {
    padding: 6px 4px;
}

.tx-chat-field[b-aeqpkyu2kn]  .mud-input.mud-input-text::before,
.tx-chat-field[b-aeqpkyu2kn]  .mud-input.mud-input-text::after {
    display: none;
}

.tx-chat-listening[b-aeqpkyu2kn] {
    animation: tx-pulse-b-aeqpkyu2kn 1s ease-in-out infinite;
}

@keyframes tx-pulse-b-aeqpkyu2kn {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-rghv24dhyp] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-rghv24dhyp] {
    flex: 1;
}

.sidebar[b-rghv24dhyp] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-rghv24dhyp] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-rghv24dhyp]  a, .top-row[b-rghv24dhyp]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-rghv24dhyp]  a:hover, .top-row[b-rghv24dhyp]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-rghv24dhyp]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-rghv24dhyp] {
        justify-content: space-between;
    }

    .top-row[b-rghv24dhyp]  a, .top-row[b-rghv24dhyp]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-rghv24dhyp] {
        flex-direction: row;
    }

    .sidebar[b-rghv24dhyp] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rghv24dhyp] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-rghv24dhyp]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-rghv24dhyp], article[b-rghv24dhyp] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-rghv24dhyp] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-rghv24dhyp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-vizkouj540] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-vizkouj540] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.bi[b-vizkouj540] {
    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-vizkouj540] {
    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-vizkouj540] {
    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-vizkouj540] {
    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");
}

.bi-lock-nav-menu[b-vizkouj540] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-vizkouj540] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-vizkouj540] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-vizkouj540] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-vizkouj540] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

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

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

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

    .nav-item[b-vizkouj540]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

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

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

.nav-scrollable[b-vizkouj540] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-vizkouj540] {
    display: block;
}

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

    .nav-scrollable[b-vizkouj540] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zvh70g4b59],
.components-reconnect-repeated-attempt-visible[b-zvh70g4b59],
.components-reconnect-failed-visible[b-zvh70g4b59],
.components-pause-visible[b-zvh70g4b59],
.components-resume-failed-visible[b-zvh70g4b59],
.components-rejoining-animation[b-zvh70g4b59] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-retrying[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-failed[b-zvh70g4b59],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zvh70g4b59] {
    display: block;
}


#components-reconnect-modal[b-zvh70g4b59] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-zvh70g4b59 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-zvh70g4b59 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-zvh70g4b59 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-zvh70g4b59]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zvh70g4b59 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-zvh70g4b59 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zvh70g4b59 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-zvh70g4b59 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-zvh70g4b59] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-zvh70g4b59] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zvh70g4b59] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-zvh70g4b59] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-zvh70g4b59] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-zvh70g4b59] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-zvh70g4b59] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zvh70g4b59 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-zvh70g4b59] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-zvh70g4b59 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/BuildingDesigner/BuildingDesignerPage.razor.rz.scp.css */
.designer-shell[b-oi7qt0qmp3] {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(100vh - 56px);
    background: #f2f2f2;
}

.designer-viewport[b-oi7qt0qmp3] {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
}

.designer-topbar[b-oi7qt0qmp3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.designer-h1[b-oi7qt0qmp3] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #3a3a3a;
}

.designer-dims[b-oi7qt0qmp3] {
    font-size: 0.85rem;
    color: #6a6a6a;
    margin-top: 0.15rem;
}

.designer-toolbar[b-oi7qt0qmp3] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.designer-tool-sep[b-oi7qt0qmp3] {
    width: 1px;
    height: 22px;
    background: #dddddd;
    margin: 0 0.15rem;
}

.designer-price[b-oi7qt0qmp3] {
    font-size: 1rem;
    font-weight: 700;
    color: #c11f26;
    margin-right: 0.35rem;
}

.designer-canvas-wrap[b-oi7qt0qmp3] {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(#eef0f2, #f2f2f2);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Side-name labels shown in the locked Top View (Front/Back/Left/Right). */
.sv-side-label[b-oi7qt0qmp3] {
    position: absolute;
    z-index: 5;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 2px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #3a3a3a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* Interior / Exterior view toggle (bottom-right of the viewport). */
.sv-view-toggle[b-oi7qt0qmp3] {
    position: absolute;
    z-index: 6;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #3a3a3a;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sv-view-toggle:hover[b-oi7qt0qmp3] { background: #f7f7f7; border-color: #cccccc; }

.sv-side-back[b-oi7qt0qmp3] { top: 10px; left: 50%; transform: translateX(-50%); }
.sv-side-front[b-oi7qt0qmp3] { bottom: 10px; left: 50%; transform: translateX(-50%); }
.sv-side-left[b-oi7qt0qmp3] { left: 10px; top: 50%; transform: translateY(-50%); }
.sv-side-right[b-oi7qt0qmp3] { right: 10px; top: 50%; transform: translateY(-50%); }

/* Location / background switcher (bottom-center, like ShedView). */
.sv-loc[b-oi7qt0qmp3] {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sv-loc-btn[b-oi7qt0qmp3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a3a3a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sv-loc-btn:hover[b-oi7qt0qmp3] { background: #f7f7f7; }

.sv-loc-popup[b-oi7qt0qmp3] {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    width: 220px;
}

.sv-loc-item[b-oi7qt0qmp3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #3a3a3a;
}

.sv-loc-item:hover[b-oi7qt0qmp3] { background: #f2f2f2; }
.sv-loc-item.selected[b-oi7qt0qmp3] { background: #fdeef0; color: #c11f26; font-weight: 600; }

.sv-loc-swatch[b-oi7qt0qmp3] {
    width: 52px;
    height: 32px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

.designer-panel[b-oi7qt0qmp3] {
    flex: 0 0 400px;
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0;
    background: #ffffff;
    border-left: 1px solid #e5e5e5;
    box-sizing: border-box;
}

/* ---- ShedView-style header block ---- */
.sv-header[b-oi7qt0qmp3] {
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
}

.sv-title[b-oi7qt0qmp3] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23303a;
    line-height: 1.15;
}

.sv-title .sv-size[b-oi7qt0qmp3] { font-weight: 400; color: #5c6a72; }

.sv-price-label[b-oi7qt0qmp3] {
    margin-top: 0.9rem;
    color: #8a8a8a;
    font-size: 0.95rem;
}

.sv-price[b-oi7qt0qmp3] {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ef3b42;
    line-height: 1.1;
}

.sv-payment[b-oi7qt0qmp3] {
    margin-top: 0.65rem;
    color: #5c6a72;
    font-size: 0.9rem;
    line-height: 1.4;
}

.sv-pill[b-oi7qt0qmp3] {
    background: #fde0e2;
    color: #c11f26;
    border-radius: 6px;
    padding: 0.05rem 0.35rem;
    font-weight: 600;
    white-space: nowrap;
}

.sv-actions[b-oi7qt0qmp3] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.sv-btn[b-oi7qt0qmp3] {
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.1rem;
    cursor: pointer;
    border: 2px solid #ef3b42;
    transition: background .12s, color .12s;
}

.sv-btn-outline[b-oi7qt0qmp3] { background: #fff; color: #ef3b42; }
.sv-btn-outline:hover[b-oi7qt0qmp3] { background: #fdeef0; }

.sv-btn-fill[b-oi7qt0qmp3] { background: #ef3b42; color: #fff; flex: 1 1 auto; }
.sv-btn-fill:hover[b-oi7qt0qmp3] { background: #d92f36; }

.sv-meta[b-oi7qt0qmp3] {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #4a4a4a;
}

.sv-meta > div[b-oi7qt0qmp3] { display: flex; align-items: center; gap: 0.4rem; }
.sv-meta a[b-oi7qt0qmp3] { color: #2f6df0; cursor: pointer; text-decoration: underline; }

.sv-link[b-oi7qt0qmp3] { color: #2f6df0; cursor: pointer; text-decoration: underline; }

/* ---- accordion steps ---- */
.sv-accordion[b-oi7qt0qmp3] { border-top: 1px solid #ececec; }

.sv-step[b-oi7qt0qmp3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    font-size: 1.35rem;
    color: #23303a;
    cursor: pointer;
    border-bottom: 1px solid #ececec;
    user-select: none;
}

.sv-step:hover[b-oi7qt0qmp3] { background: #f7f7f7; }

.sv-step-icon[b-oi7qt0qmp3] { color: #23303a; }

.sv-body[b-oi7qt0qmp3] {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid #ececec;
}

.designer-muted[b-oi7qt0qmp3] { color: #8a8a8a; }

.designer-section[b-oi7qt0qmp3] {
    margin: 0.85rem 0 0.5rem 0;
    color: #6a6a6a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
}

.designer-section:first-child[b-oi7qt0qmp3] { margin-top: 0.25rem; }

.designer-cards[b-oi7qt0qmp3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.designer-card[b-oi7qt0qmp3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.3rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    color: #4a4a4a;
    text-align: center;
    transition: border-color .12s, background .12s;
    user-select: none;
}

.designer-card:hover[b-oi7qt0qmp3] { border-color: #cccccc; background: #f7f7f7; }

.designer-card.disabled[b-oi7qt0qmp3] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: auto;
}

.designer-card.disabled:hover[b-oi7qt0qmp3] { border-color: #e5e5e5; background: transparent; }

.designer-card.selected[b-oi7qt0qmp3] {
    border-color: #c11f26;
    background: #fdeef0;
    color: #c11f26;
    font-weight: 600;
}

.designer-card-icon[b-oi7qt0qmp3] { font-size: 1.35rem; line-height: 1; }

.designer-chips[b-oi7qt0qmp3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.designer-slider-label[b-oi7qt0qmp3] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #3a3a3a;
    margin-top: 0.5rem;
}

.designer-opening[b-oi7qt0qmp3] {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.6rem 0.75rem 0.85rem 0.75rem;
    margin-bottom: 0.6rem;
    background: #f7f7f7;
    transition: border-color .12s, box-shadow .12s;
}

.designer-opening.selected[b-oi7qt0qmp3] {
    border-color: #d9a300;
    box-shadow: 0 0 0 2px rgba(255, 210, 63, 0.5);
    background: #fffdf5;
}

.designer-opening.warn[b-oi7qt0qmp3] {
    border-color: #e08600;
    background: #fff7ed;
}

.designer-issues[b-oi7qt0qmp3] {
    margin: 0;
    padding-left: 1.1rem;
}

.designer-issues li[b-oi7qt0qmp3] { margin: 0.1rem 0; }

/* Selected-opening editor actions (Duplicate / Delete / Done). */
.designer-opening-actions[b-oi7qt0qmp3] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

/* Default list view of openings. */
.designer-openings-table[b-oi7qt0qmp3] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-top: 0.4rem;
}

.designer-openings-table tr[b-oi7qt0qmp3] {
    cursor: pointer;
    border-bottom: 1px solid #ececec;
    transition: background .1s;
}

.designer-openings-table tr:hover[b-oi7qt0qmp3] { background: #f7f7f7; }
.designer-openings-table tr.warn[b-oi7qt0qmp3] { background: #fff7ed; }

.designer-openings-table td[b-oi7qt0qmp3] {
    padding: 0.5rem 0.4rem;
    color: #3a3a3a;
}

.designer-openings-table td:nth-child(2)[b-oi7qt0qmp3],
.designer-openings-table td:nth-child(3)[b-oi7qt0qmp3] { color: #8a8a8a; }

.designer-openings-del[b-oi7qt0qmp3] {
    width: 1.4rem;
    text-align: center;
    color: #b0a99c;
    font-weight: 700;
}

.designer-openings-del:hover[b-oi7qt0qmp3] { color: #ef3b42; }

.designer-opening-head[b-oi7qt0qmp3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #3a3a3a;
    margin-bottom: 0.35rem;
}

.designer-spec[b-oi7qt0qmp3] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.designer-spec td[b-oi7qt0qmp3] {
    padding: 0.3rem 0.25rem;
    border-bottom: 1px solid #ececec;
    vertical-align: top;
}

.designer-spec td:first-child[b-oi7qt0qmp3] {
    color: #8a8a8a;
    width: 38%;
}

.designer-breakdown[b-oi7qt0qmp3] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.designer-breakdown td[b-oi7qt0qmp3] {
    padding: 0.28rem 0.25rem;
    border-bottom: 1px dashed #ececec;
    color: #4a4a4a;
}

.designer-breakdown td:last-child[b-oi7qt0qmp3] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #23303a;
}

.designer-estimate[b-oi7qt0qmp3] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fdeef0;
    border-radius: 8px;
    color: #c11f26;
}

.designer-estimate strong[b-oi7qt0qmp3] { font-size: 1.25rem; }

.designer-panel-footer[b-oi7qt0qmp3] {
    border-top: 1px solid #e5e5e5;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 900px) {
    .designer-shell[b-oi7qt0qmp3] { flex-direction: column; height: auto; }
    .designer-canvas-wrap[b-oi7qt0qmp3] { height: 55vh; }
    .designer-panel[b-oi7qt0qmp3] {
        flex: 1 1 auto;
        width: 100%; min-width: 0; max-width: none;
        border-left: none; border-top: 1px solid #e5e5e5;
    }
}

/* Phones: reclaim space, stack the header/toolbar and the floating canvas
   controls so nothing overlaps. */
@media (max-width: 640px) {
    .designer-viewport[b-oi7qt0qmp3] { padding: 0.5rem 0.6rem; }
    .designer-topbar[b-oi7qt0qmp3] { flex-direction: column; align-items: stretch; gap: 0.5rem; margin-bottom: 0.5rem; }
    .designer-toolbar[b-oi7qt0qmp3] { justify-content: flex-start; }
    .designer-canvas-wrap[b-oi7qt0qmp3] { height: 48vh; min-height: 300px; }

    /* stack the two floating controls vertically instead of side-by-side */
    .sv-view-toggle[b-oi7qt0qmp3] { right: 50%; transform: translateX(50%); bottom: 78px; }
    .sv-loc[b-oi7qt0qmp3] { bottom: 12px; }
    .sv-loc-btn[b-oi7qt0qmp3] { white-space: nowrap; }

    .sv-header[b-oi7qt0qmp3] { padding: 1rem 1rem 0.85rem; }
    .sv-title[b-oi7qt0qmp3] { font-size: 1.25rem; }
    .sv-price[b-oi7qt0qmp3] { font-size: 1.8rem; }
    .sv-actions[b-oi7qt0qmp3] { flex-wrap: wrap; }
    .sv-step[b-oi7qt0qmp3] { font-size: 1.1rem; padding: 0.9rem 1rem; }
    .sv-body[b-oi7qt0qmp3] { padding: 0.4rem 1rem 1rem; }
}

/* /Components/Pages/BuildingDesigner/BuildingViewport.razor.rz.scp.css */
.designer-canvas-host[b-04bvmwe6so] {
    position: relative; /* anchor for the JS-created move-indicator pills */
    width: 100%;
    height: 100%;
}

.designer-canvas-host canvas[b-04bvmwe6so] {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
    touch-action: none;
    background: transparent;
}
