@import 'EdiuxPWABlazorApp.Client.o93vknd4bi.bundle.scp.css';
@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.mnccjmrpdk.bundle.scp.css';

/* /Components/App.razor.rz.scp.css */
/* CSS for App component */
/* ======================================================= */
/* 🔒 終極全禦：強力封殺預渲染殘留的幽靈錯誤條 */
/* ======================================================= */
#blazor-error-ui[b-dgk5fudthf] {
    display: none !important; /* 預設在所有平台一律強制隱藏不佔空間 */
}

/* 只有當 Blazor 引擎真的偵測到執行期例外狀況、主動在最外層掛上 .blazor-error-boundary 類別時才顯示 */
.blazor-error-boundary #blazor-error-ui[b-dgk5fudthf],
body.blazor-error #blazor-error-ui[b-dgk5fudthf] {
    display: block !important;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 3000;
}
/* /Components/HouseholdTools/HouseholdAssetPanel.razor.rz.scp.css */
/* CSS for HouseholdAssetPanel component */
.householdAssetPanel-navigation[b-cl33q534q6] {
    min-width: 0;
}

    .householdAssetPanel-navigation[b-cl33q534q6]  .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .householdAssetPanel-navigation[b-cl33q534q6]  .nav-link {
        white-space: nowrap;
        padding: .85rem 1rem;
    }

    .householdAssetPanel-navigation[b-cl33q534q6]  .tab-content {
        display: block;
    }
/* /Components/HouseholdTools/HouseholdInventoryPanel.razor.rz.scp.css */
/* 手機上保留足夠的點按範圍；編輯區就在所選物品下方，避免跳到頁首。 */
[b-ip2704da1z] .btn, [b-ip2704da1z] .dropdown-item { min-height: 44px; }
[b-ip2704da1z] .form-control, [b-ip2704da1z] .form-select { min-height: 44px; }
[b-ip2704da1z] .dropdown-menu { max-width: calc(100vw - 2rem); }
[b-ip2704da1z] .dropdown-item { white-space: normal; }
article[b-ip2704da1z] { scroll-margin-top: 5rem; }
/* /Components/HouseholdTools/HouseholdLedgerPanel.razor.rz.scp.css */
/* CSS for HouseholdLedgerPanel component */
.householdLedgerPanel-navigation[b-622qj1v6tb] {
    min-width: 0;
}

    .householdLedgerPanel-navigation[b-622qj1v6tb]  .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .householdLedgerPanel-navigation[b-622qj1v6tb]  .nav-link {
        white-space: nowrap;
        padding: .85rem 1rem;
    }

    .householdLedgerPanel-navigation[b-622qj1v6tb]  .tab-content {
        display: block;
    }
/* /Components/HouseholdTools/HouseholdNavigation.razor.rz.scp.css */
.household-navigation[b-pb7ynqsqnt] { min-width: 0; }
.household-navigation[b-pb7ynqsqnt]  .nav-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; }
.household-navigation[b-pb7ynqsqnt]  .nav-link { white-space: nowrap; padding: .85rem 1rem; }
.household-navigation[b-pb7ynqsqnt]  .tab-content { display: none; }
/* /Components/HouseholdTools/HouseholdShoppingPanel.razor.rz.scp.css */
/* 手機上保留足夠的點按範圍；編輯區就在所選物品下方，避免跳到頁首。 */
[b-4n9v7xh0ma] .btn, [b-4n9v7xh0ma] .dropdown-item { min-height: 44px; }
[b-4n9v7xh0ma] .form-control, [b-4n9v7xh0ma] .form-select { min-height: 44px; }
[b-4n9v7xh0ma] .dropdown-menu { max-width: calc(100vw - 2rem); }
[b-4n9v7xh0ma] .dropdown-item { white-space: normal; }
article[b-4n9v7xh0ma] { scroll-margin-top: 5rem; }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ==========================================
   1. 基礎全域架構 (全平台通用)
   ========================================== */
.page[b-vw508b82pe] {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

main[b-vw508b82pe] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #f8f9fa;
}

/* ==========================================
   2. 📱 行動端專屬 (手機模擬器：螢幕寬度小於 768px)
   ========================================== */
@media (max-width: 767.98px) {
    /* 🚀 核心：強迫手機上的外層側邊欄預設死鎖在 70px (收合) */
    .sidebar[b-vw508b82pe] {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

        /* 🔒 強制拔除內層的所有長文字與間距 */
        .sidebar[b-vw508b82pe]  .brand-text,
        .sidebar[b-vw508b82pe]  .link-text,
        .sidebar[b-vw508b82pe]  .user-info-text {
            display: none !important;
            width: 0 !important;
            opacity: 0 !important;
        }

        /* 強迫商標區域、頭像與連結在 70px 內絕對居中 */
        .sidebar[b-vw508b82pe]  .brand-area,
        .sidebar[b-vw508b82pe]  .user-panel {
            padding-left: 0 !important;
            padding-right: 0 !important;
            justify-content: center !important;
            text-align: center !important;
        }

        .sidebar[b-vw508b82pe]  .nav-link-custom {
            justify-content: center !important;
            padding: 0.8rem 0 !important;
            width: 100% !important;
        }

            .sidebar[b-vw508b82pe]  .nav-link-custom i {
                margin-right: 0 !important;
                font-size: 1.35rem !important;
                width: auto !important;
            }

        /* 大頭像與小頭像的切換 */
        .sidebar[b-vw508b82pe]  .user-panel-full {
            display: none !important;
        }

        .sidebar[b-vw508b82pe]  .user-icon-short {
            display: block !important;
        }

        .sidebar[b-vw508b82pe]  .holo-logo-img {
            width: 28px !important;
            height: 28px !important;
        }

        .sidebar[b-vw508b82pe]  .holo-logo-sm-img {
            width: 16px !important;
            height: 16px !important;
        }
    /* 📱 當手機點擊漢堡鈕（Checkbox 被勾選）時：反轉為展開狀態 (250px) */
    #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe] {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }

        /* 展開後：將文字全部復活顯示出來 */
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .brand-text,
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .link-text,
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-info-text {
            display: inline-block !important;
            width: auto !important;
            opacity: 1 !important;
        }

        /* 展開後：恢復左側對齊與原本的間距 */
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .brand-area {
            padding-left: 1rem !important;
            justify-content: flex-start !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-panel-full {
            display: block !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-icon-short {
            display: none !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .holo-logo-img {
            width: 38px !important;
            height: 38px !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .holo-logo-sm-img {
            width: 16px !important;
            height: 16px !important;
        }
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .nav-link-custom {
            justify-content: flex-start !important;
            padding: 0.65rem 1.5rem !important;
        }

            #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .nav-link-custom i {
                width: 1.5rem !important;
                font-size: 1rem !important;
                margin-right: 0.75rem !important;
            }
}

/* ==========================================
   3. 💻 桌面端專屬 (平板與電腦：螢幕寬度大於或等於 768px)
   ========================================== */
@media (min-width: 768px) {
    /* 電腦預設展開 250px */
    .sidebar[b-vw508b82pe] {
        width: 250px;
        min-width: 250px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 💻 當電腦點擊漢堡鈕時：收合外層容器到 70px，並隱藏文字 */
    #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe] {
        width: 70px !important;
        min-width: 70px !important;
    }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .brand-text,
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .link-text,
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-info-text {
            display: none !important;
            width: 0 !important;
            opacity: 0 !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .brand-area,
        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-panel {
            padding-left: 0 !important;
            justify-content: center !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-panel-full {
            display: none !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .user-icon-short {
            display: block !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .holo-logo-img {
            width: 38px !important;
            height: 38px !important;
        }


        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .holo-logo-sn-img {
            width: 16px !important;
            height: 16px !important;
        }

        #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .nav-link-custom {
            justify-content: center !important;
            padding: 0.8rem 0 !important;
        }

            #sidebar-toggle:checked ~ .sidebar[b-vw508b82pe]  .nav-link-custom i {
                margin-right: 0 !important;
                font-size: 1.35rem !important;
                width: auto !important;
            }
}
/* /Components/Layout/MainLayout2.razor.rz.scp.css */
.application-layout[b-ogwz640c2p] {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.application-layout[b-ogwz640c2p]  .bb-page {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.application-layout[b-ogwz640c2p]  .bb-page > main {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.application-layout[b-ogwz640c2p]  .bb-top-row {
    flex-shrink: 0;
    background-color: var(--bs-tertiary-bg);
}

.application-layout[b-ogwz640c2p]  main > article {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
    padding-top: 1.5rem;
}

.application-layout[b-ogwz640c2p]  .bb-footer {
    flex-shrink: 0;
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    border-top: 1px solid var(--bs-border-color);
    padding-bottom: max(.5rem, env(safe-area-inset-bottom));
}

.application-layout[b-ogwz640c2p]  .bb-page > aside {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
}

@media (min-width: 641px) {
    .application-layout[b-ogwz640c2p]  .bb-page > aside {
        height: 100%;
    }
}

@media (max-width: 640px) {
    .application-layout[b-ogwz640c2p]  .bb-page > aside {
        max-height: 40%;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-container[b-a1pxttqrzy] {
    width: 100%;
    height: 100vh;
    overflow-x: hidden !important;
    white-space: nowrap !important;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.brand-area[b-a1pxttqrzy] {
    display: flex;
    align-items: center;
    height: 4.5rem;
    padding-left: 1rem;
}

.brand-text[b-a1pxttqrzy] {
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.holo-logo-img[b-a1pxttqrzy] {
    width: 24px  !important;
    height: 24px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.holo-logo-sm-img[b-a1pxttqrzy] {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-link-custom[b-a1pxttqrzy] {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 0.65rem 1.5rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: background-color 0.2s;
}

.nav-link-custom:hover[b-a1pxttqrzy] {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link-custom i[b-a1pxttqrzy] {
    width: 1.5rem;
    margin-right: 0.75rem;
    text-align: center;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3nsaeg96w9],
.components-reconnect-repeated-attempt-visible[b-3nsaeg96w9],
.components-reconnect-failed-visible[b-3nsaeg96w9],
.components-pause-visible[b-3nsaeg96w9],
.components-resume-failed-visible[b-3nsaeg96w9],
.components-rejoining-animation[b-3nsaeg96w9] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-retrying[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-failed[b-3nsaeg96w9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3nsaeg96w9] {
    display: block;
}


#components-reconnect-modal[b-3nsaeg96w9] {
    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-3nsaeg96w9 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-3nsaeg96w9 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3nsaeg96w9 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-3nsaeg96w9]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3nsaeg96w9 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3nsaeg96w9 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3nsaeg96w9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3nsaeg96w9 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3nsaeg96w9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3nsaeg96w9] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3nsaeg96w9] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-3nsaeg96w9] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-3nsaeg96w9] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-3nsaeg96w9] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-3nsaeg96w9] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-3nsaeg96w9 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-3nsaeg96w9] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-3nsaeg96w9 {
    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/Layout/TopNavMenuBar.razor.rz.scp.css */
.sidebar-toggle[b-ym950a9rjf] {
    cursor: pointer;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-hero[b-lhct2o95at] {
    height: 315px;
    background-image: url('https://yt3.googleusercontent.com/sZR7H8ye0MmNeLXg70SypSOH45r_OAgA-IbJrqKRmwk4T1CkWAh5g0n6kGv5t8o29Swcc1DiUg=w2120-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj');
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 315px;
}
/* /Components/Pages/HouseholdLife.razor.rz.scp.css */
.household-content[b-zjvotefqjg] { min-width: 0; }
.household-content[b-zjvotefqjg]  .card { border-color: var(--bs-border-color); box-shadow: none !important; }
.household-content[b-zjvotefqjg]  .card-body { padding: 1.25rem; }
.household-content[b-zjvotefqjg]  .form-label { font-weight: 500; }
.household-content[b-zjvotefqjg]  .accordion { --bs-accordion-active-bg: var(--bs-tertiary-bg); --bs-accordion-active-color: var(--bs-body-color); }
.household-content[b-zjvotefqjg]  .row > div > .card { height: 100%; }
@media (max-width: 575.98px) {
    .household-content[b-zjvotefqjg]  .card-body { padding: 1rem; }
}
/* /Components/Pages/PostDetail.razor.rz.scp.css */
.article-container[b-496i5hmh06] {
    max-width: 850px;
}

.article-cover[b-496i5hmh06] {
    max-height: 380px;
}

.article-title[b-496i5hmh06] {
    line-height: 1.3;
}

.article-content[b-496i5hmh06] {
    white-space: pre-wrap;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
/* /Components/Pages/SoftwareAssets.razor.rz.scp.css */
.software-assets-navigation[b-3i0dbld33s] {
    min-width: 0;
}

.software-assets-navigation[b-3i0dbld33s]  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.software-assets-navigation[b-3i0dbld33s]  .nav-link {
    white-space: nowrap;
    padding: .85rem 1rem;
}

.software-assets-navigation[b-3i0dbld33s]  .tab-content {
    display: block;
}
/* /Components/Pages/WorkTracker.razor.rz.scp.css */
.work-note[b-d08q6iwapy] { white-space: pre-wrap; overflow-wrap: anywhere; }
td[b-d08q6iwapy] { min-width: 6rem; }
td:first-child[b-d08q6iwapy] { min-width: 12rem; }
td:nth-child(6)[b-d08q6iwapy] { min-width: 15rem; max-width: 24rem; }
/* /Components/Widgets/CmsArticleSection.razor.rz.scp.css */
.hover-shadow[b-m8bf45y19b] {
    transition: transform 0.25s, box-shadow 0.25s;
}

.hover-shadow:hover[b-m8bf45y19b] {
    transform: translateY(-5px);
}

.text-line-clamp[b-m8bf45y19b] {
    display: -webkit-box;
    height: 4.5rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
