﻿/*
  Homestead global small/base styles
  Consolidated from the previous global stylesheets. Razor component CSS remains separate.
*/

html {
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --hs-safe-area-top: env(safe-area-inset-top, 0px);
    --hs-safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --hs-mobile-bottom-clearance: max(96px, calc(var(--hs-safe-area-bottom) + 72px));
}

.btn {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

label.btn {
    margin-bottom: 0;
}

/* ===== Source: css/BlazorStyles.css ===== */
/*BLAZOR CSS*/
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: none;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    display: none;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }


/* ===== Source: css/StandardStyles.css ===== */
@font-face {
    font-family: Hel;
    src: url('/fonts/Helvetica Light.ttf');
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none;
    color: #444;
    cursor:pointer;
}

p {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.mx {
    margin-left: auto;
    margin-right: auto;
}

.flex{display:flex}
.wrap{flex-wrap:wrap}

.text {
    font-family: Verdana, Arial;
    color: #444;
}

.texth {
    font-family: Hel, Verdana, Arial;
    color: black;
}

.texthw {
    font-family: Hel, Verdana, Arial;
    color: #eee;
}

.box {
    padding: 5px 5px 5px 5px;
    border-radius: 3px;
    border: none;
}

.mybuttonblue {
    background-color: blue !important;
    color: #eee;
    padding: 1px 15px 2px 15px;
    box-sizing: border-box;
    height: 30px;
    border-radius: 4px;
    border: none;
    font-family: Hel !important;
    font-size: 16px;
    cursor: pointer
}

.mybuttonclear {
    background-color: #eee;
    padding: 12px 15px;
    text-align: center;
    border: solid 1px #888;
    border-radius: 4px;
    font-family: Hel !important;
    font-size: 20px ;
    color: #333;
    cursor:pointer;
}

.mybuttonwhite {
    background-color: #fff;
    padding: 1px 15px 2px 15px;
    height: 35px;
    text-align: center;
    border: solid 1px #888;
    border-radius: 4px;
    font-family: Hel !important;
    font-size: 18px !important;
    color: #333;
    cursor:pointer;
}

.mybuttondisabled {
    background-color: #aaa;
    padding: 1px 15px 2px 15px;
    height: 35px;
    text-align: center;
    border: solid 1px #888;
    border-radius: 4px;
    font-family: Hel !important;
    font-size: 18px !important;
    color: white;
    cursor:default;

}

.letter {
    width: 100px;
    font-size: 90px;
    text-align: center;
    padding-top: 15px;
    height: 120px;
    background-color: white;
    font-family: Hel;
    color: #888;
    border-radius: 8px;
}



/* ===== Source: css/StandardStylesSmall.css ===== */
/*Mobile Screen Styles*/

@media (max-width: 1023px) {

    /*Font Sizes*/
    .sf6 {
        font-size: 6px;
    }

    .sf7 {
        font-size: 7px;
    }

    .sf8 {
        font-size: 8px;
    }

    .sf9 {
        font-size: 9px;
    }

    .sf10 {
        font-size: 10px;
    }

    .sf11 {
        font-size: 11px;
    }

    .sf12 {
        font-size: 12px;
    }

    .sf13 {
        font-size: 13px;
    }

    .sf14 {
        font-size: 14px;
    }

    .sf15 {
        font-size: 15px;
    }

    .sf16 {
        font-size: 16px;
    }

    .sf17 {
        font-size: 17px;
    }

    .sf18 {
        font-size: 18px;
    }

    .sf19 {
        font-size: 19px;
    }

    .sf20 {
        font-size: 20px;
    }

    .sf21 {
        font-size: 21px;
    }

    .sf22 {
        font-size: 22px;
    }

    .sf23 {
        font-size: 23px;
    }

    .sf24 {
        font-size: 20px;
    }

    .sf25 {
        font-size: 21px;
    }

    .sf26 {
        font-size: 22px;
    }

    .sf27 {
        font-size: 23px;
    }

    .sf28 {
        font-size: 24px;
    }

    .sf29 {
        font-size: 25px;
    }

    .sf30 {
        font-size: 26px;
    }

    .sf31 {
        font-size: 27px;
    }

    .sf32 {
        font-size: 28px;
    }

    .sf33 {
        font-size: 29px;
    }

    .sf34 {
        font-size: 30px;
    }

    .sf35 {
        font-size: 31px;
    }

    .sf40 {
        font-size: 36px;
    }

    .sf45 {
        font-size: 41px;
    }

    .sf50 {
        font-size: 46px;
    }

    .sf55 {
        font-size: 51px;
    }

    .sf60 {
        font-size: 56px;
    }

    .sf65 {
        font-size: 61px;
    }

    .sf70 {
        font-size: 66px;
    }

    .sf75 {
        font-size: 71px;
    }

    .sf80 {
        font-size: 86px;
    }

    /*Widths*/
    .sw0 {
        width:0%
    }
    .sw1 {
        width: 1%
    }
    .sw2 {
        width: 2%
    }

    .sw3 {
        width: 3%
    }
    .sw4 {
        width: 4%
    }

    .sw5 {
        width: 5%;
    }

    .sw6 {
        width: 6%;
    }

    .sw7 {
        width: 7%;
    }

    .sw8 {
        width: 8%;
    }

    .sw9 {
        width: 9%;
    }

    .sw10 {
        width: 10%;
    }

    .sw11 {
        width: 11%;
    }

    .sw12 {
        width: 12%;
    }

    .sw13 {
        width: 13%;
    }

    .sw14 {
        width: 14%;
    }

    .sw15 {
        width: 15%;
    }

    .sw16 {
        width: 16%;
    }

    .sw17 {
        width: 17%;
    }

    .sw18 {
        width: 18%;
    }

    .sw19 {
        width: 19%;
    }

    .sw20 {
        width: 20%;
    }

    .sw21 {
        width: 21%;
    }

    .sw22 {
        width: 22%;
    }

    .sw23 {
        width: 23%;
    }

    .sw24 {
        width: 24%;
    }

    .sw25 {
        width: 25%;
    }

    .sw26 {
        width: 26%;
    }

    .sw27 {
        width: 27%;
    }

    .sw28 {
        width: 28%;
    }

    .sw29 {
        width: 29%;
    }

    .sw30 {
        width: 30%;
    }

    .sw31 {
        width: 31%;
    }

    .sw32 {
        width: 32%;
    }

    .sw33 {
        width: 33%;
    }

    .sw34 {
        width: 34%;
    }

    .sw35 {
        width: 35%;
    }

    .sw36 {
        width: 36%;
    }

    .sw37 {
        width: 37%;
    }

    .sw38 {
        width: 38%;
    }

    .sw39 {
        width: 39%;
    }

    .sw40 {
        width: 40%;
    }

    .sw41 {
        width: 41%;
    }

    .sw42 {
        width: 42%;
    }

    .sw43 {
        width: 43%;
    }

    .sw44 {
        width: 44%;
    }

    .sw45 {
        width: 45%;
    }

    .sw46 {
        width: 46%;
    }

    .sw47 {
        width: 47%;
    }

    .sw48 {
        width: 48%;
    }

    .sw49 {
        width: 49%;
    }

    .sw50 {
        width: 50%;
    }

    .sw51 {
        width: 51%;
    }

    .sw52 {
        width: 52%;
    }

    .sw53 {
        width: 53%;
    }

    .sw54 {
        width: 54%;
    }

    .sw55 {
        width: 55%;
    }

    .sw56 {
        width: 56%;
    }

    .sw57 {
        width: 57%;
    }

    .sw58 {
        width: 58%;
    }

    .sw59 {
        width: 59%;
    }

    .sw60 {
        width: 60%;
    }

    .sw61 {
        width: 61%;
    }

    .sw62 {
        width: 62%;
    }

    .sw63 {
        width: 63%;
    }

    .sw64 {
        width: 64%;
    }

    .sw65 {
        width: 65%;
    }

    .sw66 {
        width: 66%;
    }

    .sw67 {
        width: 67%;
    }

    .sw68 {
        width: 68%;
    }

    .sw69 {
        width: 69%;
    }

    .sw70 {
        width: 70%;
    }

    .sw71 {
        width: 71%;
    }

    .sw72 {
        width: 72%;
    }

    .sw73 {
        width: 73%;
    }

    .sw74 {
        width: 74%;
    }

    .sw75 {
        width: 75%;
    }

    .sw76 {
        width: 76%;
    }

    .sw77 {
        width: 77%;
    }

    .sw78 {
        width: 78%;
    }

    .sw79 {
        width: 79%;
    }

    .sw80 {
        width: 80%;
    }

    .sw81 {
        width: 81%;
    }

    .sw82 {
        width: 82%;
    }

    .sw83 {
        width: 83%;
    }

    .sw84 {
        width: 84%;
    }

    .sw85 {
        width: 85%;
    }

    .sw86 {
        width: 86%;
    }

    .sw87 {
        width: 87%;
    }

    .sw88 {
        width: 88%;
    }

    .sw89 {
        width: 89%;
    }

    .sw90 {
        width: 90%;
    }

    .sw91 {
        width: 91%;
    }

    .sw92 {
        width: 92%;
    }

    .sw93 {
        width: 93%;
    }

    .sw94 {
        width: 94%;
    }

    .sw95 {
        width: 95%;
    }

    .sw96 {
        width: 96%;
    }

    .sw97 {
        width: 97%;
    }

    .sw98 {
        width: 98%;
    }

    .sw99 {
        width: 99%;
    }

    .sw100 {
        width: 100%;
    }

    .slh5 {
        line-height: 5px;
    }

    .slh6 {
        line-height: 6px;
    }

    .slh7 {
        line-height: 7px;
    }

    .slh8 {
        line-height: 8px;
    }

    .slh9 {
        line-height: 9px;
    }

    .slh10 {
        line-height: 10px;
    }

    .slh11 {
        line-height: 11px;
    }

    .slh12 {
        line-height: 12px;
    }

    .slh13 {
        line-height: 13px;
    }

    .slh14 {
        line-height: 14px;
    }

    .slh15 {
        line-height: 15px;
    }

    .slh16 {
        line-height: 16px;
    }

    .slh17 {
        line-height: 17px;
    }

    .slh18 {
        line-height: 18px;
    }

    .slh19 {
        line-height: 19px;
    }

    .slh20 {
        line-height: 20px;
    }

    .slh21 {
        line-height: 21px;
    }

    .slh22 {
        line-height: 22px;
    }

    .slh23 {
        line-height: 23px;
    }

    .slh24 {
        line-height: 24px;
    }

    .slh25 {
        line-height: 25px;
    }

    .slh26 {
        line-height: 26px;
    }

    .slh27 {
        line-height: 27px;
    }

    .slh28 {
        line-height: 28px;
    }

    .slh29 {
        line-height: 29px;
    }

    .slh30 {
        line-height: 30px;
    }

    .slh31 {
        line-height: 31px;
    }

    .slh32 {
        line-height: 32px;
    }

    .slh33 {
        line-height: 33px;
    }

    .slh34 {
        line-height: 34px;
    }

    .slh35 {
        line-height: 35px;
    }

    .slh36 {
        line-height: 36px;
    }

    .slh37 {
        line-height: 37px;
    }

    .slh38 {
        line-height: 38px;
    }

    .slh39 {
        line-height: 39px;
    }

    .slh40 {
        line-height: 40px;
    }

    .slh41 {
        line-height: 41px;
    }

    .slh42 {
        line-height: 42px;
    }

    .slh43 {
        line-height: 43px;
    }

    .slh44 {
        line-height: 44px;
    }

    .slh45 {
        line-height: 45px;
    }

    .slh46 {
        line-height: 46px;
    }

    .slh47 {
        line-height: 47px;
    }

    .slh48 {
        line-height: 48px;
    }

    .slh49 {
        line-height: 49px;
    }

    .slh50 {
        line-height: 50px;
    }

    .slh51 {
        line-height: 51px;
    }

    .slh52 {
        line-height: 52px;
    }

    .slh53 {
        line-height: 53px;
    }

    .slh54 {
        line-height: 54px;
    }

    .slh55 {
        line-height: 55px;
    }

    .slh56 {
        line-height: 56px;
    }

    .slh57 {
        line-height: 57px;
    }

    .slh58 {
        line-height: 58px;
    }

    .slh59 {
        line-height: 59px;
    }

    .slh60 {
        line-height: 60px;
    }

    .slh61 {
        line-height: 61px;
    }

    .slh62 {
        line-height: 62px;
    }

    .slh63 {
        line-height: 63px;
    }

    .slh64 {
        line-height: 64px;
    }

    .slh65 {
        line-height: 65px;
    }

    .slh66 {
        line-height: 66px;
    }

    .slh67 {
        line-height: 67px;
    }

    .slh68 {
        line-height: 68px;
    }

    .slh69 {
        line-height: 69px;
    }

    .slh70 {
        line-height: 70px;
    }

    .slh71 {
        line-height: 71px;
    }

    .slh72 {
        line-height: 72px;
    }

    .slh73 {
        line-height: 73px;
    }

    .slh74 {
        line-height: 74px;
    }

    .slh75 {
        line-height: 75px;
    }

    .slh76 {
        line-height: 76px;
    }

    .slh77 {
        line-height: 77px;
    }

    .slh78 {
        line-height: 78px;
    }

    .slh79 {
        line-height: 79px;
    }

    .slh80 {
        line-height: 80px;
    }

    .slh81 {
        line-height: 81px;
    }

    .slh82 {
        line-height: 82px;
    }

    .slh83 {
        line-height: 83px;
    }

    .slh84 {
        line-height: 84px;
    }

    .slh85 {
        line-height: 85px;
    }

    .slh86 {
        line-height: 86px;
    }

    .slh87 {
        line-height: 87px;
    }

    .slh88 {
        line-height: 88px;
    }

    .slh89 {
        line-height: 89px;
    }

    .slh90 {
        line-height: 90px;
    }

    .slh91 {
        line-height: 91px;
    }

    .slh92 {
        line-height: 92px;
    }

    .slh93 {
        line-height: 93px;
    }

    .slh94 {
        line-height: 94px;
    }

    .slh95 {
        line-height: 95px;
    }

    .slh96 {
        line-height: 96px;
    }

    .slh97 {
        line-height: 97px;
    }

    .slh98 {
        line-height: 98px;
    }

    .slh99 {
        line-height: 99px;
    }

    .slh100 {
        line-height: 100px;
    }
    .spt5 {
        padding-top:5px;
    }
}

/* ===== Source: css/Homestead.css ===== */
@font-face {
    font-family: Hel;
    src: url('/fonts/Helvetica Light.ttf');
    font-weight: normal;
    font-style: normal;
}

:root {
    --app-font: verdana;
    --text-color:#444;
    color-scheme: light !important;
}

html, body {
    font-family: verdana;
    font-size: 14px;
    color: #444;
}
.measurement {
    font-size: .85rem
}

/* Chrome, Edge, Safari */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Remove focus outlines everywhere */
input,
select,
textarea,
button {
    outline: none;
    box-shadow: none;
}

    /* Even on focus */
    input:focus,
    select:focus,
    textarea:focus,
    button:focus {
        outline: none;
        box-shadow: none;
    }


    input:focus,
    input:focus-visible,
    select:focus,
    select:focus-visible,
    textarea:focus,
    textarea:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

html {
    font-size: 14px;
    color: #444
}

p {
    padding: 5px 0px 5px 0px;
    margin: 0px 0px 0px 0px;
}
a {
    text-decoration: none;
    color: #444;
    cursor: pointer;
}

.showSmall {
    display: block;
}

.showLarge {
    display: none;
}

.desk-topbar {
    display: none;
}


.scroll {
    overflow-y: auto;
    height: calc(100vh - 90px);
    padding-bottom: var(--hs-mobile-bottom-clearance);
}

.trans45Div {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    justify-content: center;
    padding: 0px 0px 0px 0px;
    max-width: 1600px;
    background-color: white;
    column-gap: 20px;
    row-gap: 15px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

/* ===== MOBILE TOP BAR ===== */

.mob-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(42px + var(--hs-safe-area-top));
    padding: calc(4px + var(--hs-safe-area-top)) 10px 4px 10px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #dce5ef;
    box-shadow: 0 3px 12px rgba(31, 54, 77, 0.05);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    position: relative;
    z-index: 1400;
}

.mob-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 111, 159, .22), rgba(47, 159, 95, .14), rgba(47, 111, 159, 0));
}

.mob-topbar-left,
.mob-topbar-center,
.mob-topbar-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.mob-topbar-left,
.mob-topbar-right {
    width: 56px;
    min-width: 56px;
    justify-content: center;
}

.mob-topbar-center {
    flex: 1;
    justify-content: center;
    overflow: hidden;
}

.mob-topbar .toplogo {
    height: 30px;
    max-width: 100%;
    width: auto;
    display: block;
    /*max-height:100%;*/
}

.hamburger-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    box-shadow: none;
}

.hamburger-bar {
    width: 14px;
    height: 2px;
    background-color: #214f76;
    display: block;
    border-radius: 2px;
}

.user-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-btn {
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.usericon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

/* desktop switch */
.desk-topbar {
    display: none;
}

.top-row {
    position: relative;
    z-index: 1400;
}

@media (min-width: 900px) {
    .mob-topbar {
        display: none;
    }

    .desk-topbar {
        display: block;
    }
}

/* ===== USER MENU ===== */

.user-wrap {
    position: relative;
}

/* container */
.user-menu-wrap {
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 1500;
}

/* actual menu */
.user-menu {
    background: #fff;
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 6px 0px;
    display: flex;
    flex-direction: column;
}

/* menu items */
.user-menu-item {
    padding: 10px 14px;
    font-size: 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color:#444;
    width: 100%;
}

    /* hover */
    .user-menu-item:hover {
        background-color: #f5f5f5;
    }

/* divider */
.user-menu-divider {
    height: 1px;
    background-color: #eee;
    margin: 6px 0;
}

/* logout styling */
.user-menu-item.logout {
    color: #cc2222;
}

.user-menu-item.danger {
    color: #cc2222;
}

.account-delete-page {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 28px 14px;
    box-sizing: border-box;
}

.account-delete-panel {
    width: min(680px, 100%);
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
    box-sizing: border-box;
}

.account-delete-logo {
    display: block;
    width: min(310px, 72%);
    margin: 0 auto 18px;
}

.account-delete-panel h1 {
    margin: 0 0 10px;
    color: var(--hs-text);
    font-size: 1.28rem;
    font-weight: 500;
    text-align: center;
}

.unsubscribe-title,
.unsubscribe-title:focus,
.unsubscribe-title:focus-visible,
.unsubscribe-panel .unsubscribe-title,
.unsubscribe-panel .unsubscribe-title:focus,
.unsubscribe-panel .unsubscribe-title:focus-visible {
    display: block;
    outline: none;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.unsubscribe-error {
    display: block;
    margin-top: 8px;
    color: #b42318;
    font-size: .86rem;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.unsubscribe-error:focus {
    outline: none;
}

.account-delete-panel p {
    color: var(--hs-muted);
    font-size: .96rem;
    line-height: 1.5;
}

.account-delete-confirm {
    display: grid;
    gap: 7px;
    margin: 18px 0 10px;
}

.account-delete-confirm label {
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.account-delete-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 18px;
}

.account-delete-action {
    display: block;
    margin: 18px auto 0;
    min-width: 150px;
}

.legal-page {
    min-height: 100vh;
    background: #f3f7fb;
    padding: 22px 12px 34px;
    box-sizing: border-box;
}

.legal-shell {
    width: min(920px, 100%);
    margin: 0 auto;
}

.legal-logo {
    display: block;
    width: min(300px, 72%);
    margin: 6px auto 20px;
}

.legal-document {
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(30, 48, 68, .08);
    padding: 22px;
    color: var(--hs-text);
}

.legal-document h1 {
    margin: 0;
    text-align: center;
    color: var(--hs-blue-dark);
    font-size: 1.35rem;
    font-weight: 500;
}

.legal-updated {
    margin: 4px 0 22px;
    text-align: center;
    color: var(--hs-muted);
    font-size: .9rem;
}

.legal-copy {
    color: #444;
    font-size: .95rem;
    line-height: 1.62;
}

.legal-copy strong {
    color: var(--hs-blue-dark);
    font-weight: 600;
}

@media (min-width: 768px) {
    .legal-page {
        padding: 36px 22px 52px;
    }

    .legal-document {
        padding: 34px 42px;
    }
}



/* ===== MOBILE BOTTOM SHEET ===== */

.sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 42, 58, 0.34);
    backdrop-filter: blur(2px);
    z-index: 1200;
}

.sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #dce5ef;
    border-bottom: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -18px 42px rgba(31, 54, 77, 0.22);
    padding: 0 10px var(--hs-mobile-bottom-clearance);
    max-height: 82vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sheet-handle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 8px 0;
    cursor: pointer;
}

.sheet-handle {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: #c8d6e5;
}

.sheet-home-name {
    margin: 0 8px 8px;
    padding: 0 4px 12px;
    border-bottom: 1px solid #dce5ef;
    color: #25323f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sheet-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px 0 0 0;
}

.sheet-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .98rem;
    line-height: 1.2;
    color: #25323f;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

    .sheet-nav-item img {
        width: 23px;
        min-width: 23px;
        height: 23px;
        object-fit: contain;
    }

    .sheet-nav-item span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

.sheet-nav-active {
    background: #eaf3f9;
    border-color: #c8ddeb;
    box-shadow: inset 4px 0 0 #2f6f9f;
    color: #173d5e;
    font-weight: 650;
}

.sheet-count {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #496276;
    font-size: .78rem;
    font-weight: 500;
    justify-content: center;
}

.sheet-nav-divider {
    height: 1px;
    background: #dce5ef;
    margin: 6px 18px;
}
#spinner {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(2px);
    z-index: 9999;
}

.loadinggif {
    display:block;
    width: 95px;
    height: 95px;
}

/*===========BUTTONS===========*/
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 2rem;
    border-radius: 0.4rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    box-sizing: border-box;
}

/* colors */
.blue {
    /*background-color: rgba(63, 81, 181, .06);*/
    background-color: rgba(255, 255, 255, .4);
    border: solid 1px #8ea2ff;
    color: #3f51b5;
}
.blue:hover {
    border: solid 1px blue;
}

.red {
    border: 1px solid #e0a4a4;
    background-color: rgba(255, 255, 255, .4);
    color: #b42318;
    /*background: rgba(180, 35, 24, 0.05);*/
}
    .red:hover {
        border: 1px solid red;
    }
.green {
    background-color: #2ea44f;
    color: #fff;
}

.greenout {
    background-color: rgba(255, 255, 255, .4);
    border: solid 1px #2ea44f;
    color: #2ea44f;
}

.clear {
    background-color: #eee;
    color: #444;
    border: solid 1px #aaa;
}




.green:hover {
    background-color: #258a42;
}

.button.saved {
    background-color: #1f8f5f;
    border-color: #1f8f5f;
    color: white;
}

.button.saving {
    opacity: 0.85;
}


/* size */
.small {
    padding: .6rem .8rem;
    font-size: 0.9rem;
}

.flexdiv {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: 5%;
    padding-top: 10px;
    padding-bottom: 10px
}



.fulldiv {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    column-gap: 10px;
}


.halfdiv {
    width: 95%;
    margin-bottom: 5px;
    box-sizing: border-box;
}

.thirddiv {
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

.plansdiv {
    width: 95%;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
    background-color: white;
    box-shadow: -2px -2px 2px #ccc, 2px 2px 2px #ccc;
    display: flex;
    flex-direction: column;
}

/*==========LANDING PAGE==========*/
.bannerText {
    font-family: Hel;
    font-size: 2rem;
    line-height: 1.1;
    width: 100%;
    margin-top:10px;
    color:#444
}

.landingParagraph {
    font-family: Hel;
    font-size: 1.1rem;
    line-height: 1.1;
    max-width: 90%;
}

.landingImg {
    width:60%;
}

.fullbutton {
    width:100%
}

.blueSection {
    background: linear-gradient(135deg, #2c6fa3 0%, #1f5d84 100%);

}
.landingSectionPadding {
    padding: 15px 0px 15px 0px;
}
.divpadding {
    padding: 10px 0px 10px 0px;
}

.smallBanner {
    font-family: Hel;
    font-size: 1.4rem;
    line-height: 1.35;
    font-weight: 500;
    color: #666;
    margin-top: 8px;
    margin-bottom:8px;
}

/*========Plans=============*/
.plans-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 35px;
    row-gap: 20px;
    width: 100%;
}
.plansdiv {
    width: 95%;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
    background-color: white;
    box-shadow: -2px -2px 2px #ccc, 2px 2px 2px #ccc;
    display: flex;
    flex-direction: column;
}

.packageTitle {
    font-family: Hel;
    font-size: 1.85rem;
    padding: 20px 10px 5px 10px;
}

.packageQuickDesc {
    font-family: Arial;
    font-size: 1rem;
    height: 36px;
    color: #444;
    padding: 0px 10px 10px 10px;
}

.packagenote {
    font-family: Hel;
    font-size: 1.07rem;
    color: #2C3E50;
    background-color: #EAF1FB;
    box-sizing: border-box;
    height: 30px;
    padding: 6px 10px 5px 10px;
}

.packageline {
    font-family: Arial;
    text-align: left;
    font-size: 1.14rem;
    color: #444;
    line-height: 20px;
    padding: 4px 10px 4px 10px;
    height: 20px;
}

.packageicon {
    font-family: Arial;
    font-size: 1.07rem;
    color: #444;
    padding: 4px 10px 4px 10px;
}

.packagePrice {
    font-family: Arial;
    font-size: 1.57rem;
    color: #444;
    padding: 20px 10px 15px 10px;
}

.plan-body {
    flex: 1;
}

.plan-footer {
    padding: 0px 10px 20px 10px;
}

.plan-btn {
    width: 95%;
    height: 45px;
    border:solid 1px #ccc
}

/* Professionals banner: stacks on mobile */
.pro-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: #f7f9fb;
    border-radius: 12px;
    box-shadow: -2px -2px 2px #bbb, 2px 2px 2px #bbb;
}

.pro-banner-text {
    flex: 1 1 280px;
    font-family: Hel;
    font-size: 1.5rem;
}


.pro-banner-btn {
    flex: 0 0 auto;
    width: 100%;
}
.pro-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 10px;
    background: transparent;
    font-size: 45px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    border: 2px solid #1f5fd1;
    color: #1f5fd1;
    box-shadow: 0 4px 12px rgba(31,95,209,.12);
    align-self: center;
}

/* Arrow */
.pro-button .arrow {
    font-size: 1.29rem;
    line-height: 1;
    transition: transform .2s ease;
}

/* Hover state */
.pro-button:hover {
    color: #fff;
    background: #1f5fd1;
    box-shadow: 0 8px 20px rgba(31,95,209,.25);
}

    .pro-button:hover .arrow {
        transform: translateX(4px);
    }

html.calendly-open,
body.calendly-open {
    overflow: hidden;
}

.homestead-calendly-modal {
    position: fixed !important;
    inset: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, .38);
    z-index: 2147483000 !important;
}

.homestead-calendly-panel {
    position: relative;
    width: min(980px, calc(100vw - 36px)) !important;
    height: min(760px, calc(100vh - 36px)) !important;
    border-radius: 8px;
    background: white;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    overflow: hidden;
}

.homestead-calendly-frame {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.homestead-calendly-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: white;
    color: #1f2933;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .16);
}

.homestead-calendly-close:hover {
    background: #f1f5f9;
}

@media (max-width: 759px) {
    .homestead-calendly-modal {
        padding: 8px;
    }

    .homestead-calendly-panel {
        width: calc(100vw - 16px) !important;
        height: calc(100vh - 16px) !important;
        border-radius: 6px;
    }
}

/* Professionals page */
.professionals-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 70px auto;
    padding: 0 18px;
    box-sizing: border-box;
    background: #f6f8fb;
    color: #24313d;
    font-family: Verdana, Arial;
}

.professional-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    padding: 30px 0 34px 0;
}

.professional-hero-copy {
    min-width: 0;
}

.professional-eyebrow {
    margin: 0 0 12px 0;
    color: #2f6f9f;
    font-family: Hel, Verdana, Arial;
    font-size: .78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.professional-hero h1,
.professional-section-heading h2,
.professional-final-cta h2 {
    margin: 0;
    color: #111827;
    font-family: Hel, Verdana, Arial;
    font-weight: 400;
    letter-spacing: 0;
}

.professional-hero h1 {
    max-width: 720px;
    font-size: 2rem;
    line-height: 1.12;
}

.professionals-page :focus:not(input):not(select):not(textarea):not(button),
.professionals-page :focus-visible:not(input):not(select):not(textarea):not(button),
.professional-hero h1:focus,
.professional-hero h1:focus-visible {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.professional-lede,
.professional-section-heading p,
.professional-card p,
.professional-step p,
.professional-final-cta p {
    color: #4b5b68;
    font-size: .96rem;
    line-height: 1.55;
}

.professional-lede {
    max-width: 760px;
    margin: 20px 0 0 0;
}

.professional-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.professional-primary-button {
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    background: #1f67a0;
    color: white;
    cursor: pointer;
    font-family: Hel, Verdana, Arial;
    font-size: 1rem;
}

.professional-primary-button:hover {
    background: #18557f;
}

.professional-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.professional-proof-list span,
.professional-quote-section span {
    border: 1px solid #cfe1ef;
    border-radius: 999px;
    background: #f5f9fc;
    color: #31566f;
    padding: 7px 11px;
    font-size: .86rem;
}

.professional-hero-image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f8fb;
    color: white;
    text-decoration: none;
    box-shadow: 0 16px 42px rgba(31, 41, 51, .12);
}

.professional-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.professional-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .02), rgba(15, 23, 42, .34));
    pointer-events: none;
}

.professional-video-play {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: calc(100% - 36px);
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .86);
    color: white;
    font-family: Hel, Verdana, Arial;
    font-size: .98rem;
}

.professional-video-play::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid white;
}

.professional-section {
    position: relative;
    padding: 38px 0;
}

.professional-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    border-top: 1px solid #e3e8ee;
    transform: translateX(-50%);
}

.professional-flow-section {
    background: #f6f8fb;
    box-shadow: 50vw 0 0 #f6f8fb, -50vw 0 0 #f6f8fb;
}

.professional-section-heading {
    max-width: 760px;
    margin-bottom: 22px;
}

.professional-section-heading h2,
.professional-final-cta h2 {
    font-size: 1.8rem;
    line-height: 1.18;
}

.professional-section-heading p,
.professional-final-cta p {
    margin: 12px 0 0 0;
}

.professional-card-grid,
.professional-role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.professional-card,
.professional-role-card {
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    background: white;
    padding: 22px;
}

.professional-card-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #2f6f9f;
    font-size: .86rem;
}

.professional-card h3,
.professional-step h3,
.professional-role-card h3 {
    margin: 0;
    color: #1f2933;
    font-family: Hel, Verdana, Arial;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.25;
}

.professional-card p,
.professional-step p {
    margin: 12px 0 0 0;
}

.professional-step p {
    grid-column: 2;
}

.professional-step-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.professional-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 0;
    border-top: 1px solid #dce6ee;
}

.professional-step:first-child {
    border-top: none;
}

.professional-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e6f0f8;
    color: #1f67a0;
    font-family: Hel, Verdana, Arial;
}

.professional-role-card ul {
    margin: 14px 0 0 0;
    padding-left: 20px;
    color: #4b5b68;
    font-size: .98rem;
    line-height: 1.7;
}

.professional-quote-section {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 0;
}

.professional-quote-section::before,
.professional-quote-section::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 100vw;
    border-top: 1px solid #e3e8ee;
    transform: translateX(-50%);
}

.professional-quote-section::before {
    top: 0;
}

.professional-quote-section::after {
    bottom: 0;
}

.professional-quote-section p {
    margin: 0;
    color: #1f2933;
    font-family: Hel, Verdana, Arial;
    font-size: 1.35rem;
    line-height: 1.35;
}

.professional-quote-section div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.professional-final-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    padding: 44px 0 10px 0;
}

.professional-final-cta img {
    width: min(170px, 54vw);
    justify-self: start;
}

@media (min-width: 760px) {
    .professional-primary-button {
        width: auto;
    }

    .professional-card-grid,
    .professional-role-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .professional-step-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .professional-step {
        display: block;
        padding: 0 20px 0 0;
        border-top: none;
        border-right: 1px solid #dce6ee;
    }

    .professional-step:last-child {
        border-right: none;
    }

    .professional-step h3 {
        margin-top: 16px;
    }

    .professional-final-cta {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
}

@media (min-width: 1024px) {
    .professional-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
        align-items: start;
        padding-top: 40px;
        padding-bottom: 58px;
    }

    .professional-hero h1 {
        font-size: 3.4rem;
    }

    .professional-section-heading h2,
    .professional-final-cta h2 {
        font-size: 2.2rem;
    }
}



.white {
    color: white
}


.backgrounddiv {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0px;
    justify-content: center;
    background-color: white;
    border-radius: 0px 0px 0px 0px;
    overflow: hidden;
    box-sizing: border-box;
}

.backgrounddivhomes {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    height: calc(100dvh - 30px);
    background-size: cover;
    background-color: white;
    border-radius: 0px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-toolbar {
    /*margin-top: 10px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px 8px 18px;
    background: #fff;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.toolbar-title {
    font-size: 1.28rem;
    font-family: Hel;
    font-weight: 500;
    color: #444; /* Homestead blue */
    color: #3a56a8;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 35px;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content:right;
    /*margin-right: 12px;*/
}

.icon-btn,
.rz-button.icon-btn {
    width: 29px;
    height: 29px;
    min-width: 29px;
    max-width: 29px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
    flex: 0 0 29px;
}

.rz-button.icon-btn {
    min-width: 29px !important;
    width: 29px !important;
    height: 29px !important;
    padding: 0 !important;
}

    .icon-btn:hover {
        background: #f0f0f0;
    }

    .icon-btn.primary {
        background: #e8f5ee;
        border-color: #1f8f3f;
        color: #1f8f3f;
    }

    .icon-btn.duplicate {
        font-size: 29px;
    }

.icon-btn.primary.small {
    background: #e8f5ee;
    border-color: #1f8f3f;
    color: #1f8f3f;
    font-size: 14px;
    min-width: 24px;
    max-width: 24px;
    min-height: 24px;
    max-height: 24px;
    border-radius: 7px;
    box-sizing: border-box;
    flex: 0 0 24px;
}


/* Make the back icon feel like a UI control, not a text character */
.icon-btn-back {
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    width: 9px;
    border: none;
    height: 35px;
    background-color: transparent;
    cursor: pointer;
    display: inline-flex;
    /*        align-items: center;
        justify-content: center;*/
    padding: 0; /* keeps true centering */
    text-align: center;
}


.save-btn {
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    background: #6aa000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

    .save-btn:hover {
        background: #5a8d00;
    }

.icon-btn svg,
.icon-btn i,
.icon-btn span {
    color: #222 !important;
    fill: #222 !important;
    opacity: 1 !important;
    filter: none !important;
}

.room-talk-btn {
    overflow: hidden;
}

.room-talk-icon {
    width: 17px;
    height: 17px;
    display: block;
    object-fit: contain;
}

.room-talk-stop {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    background: #b00020;
    display: block;
}

.conversation-toggle-btn {
    position: relative;
}

.conversation-toggle-icon {
    width: 17px;
    height: 14px;
    border: 2px solid #2b35ae;
    border-radius: 4px;
    display: block;
    position: relative;
    box-sizing: border-box;
}

    .conversation-toggle-icon::after {
        content: "";
        position: absolute;
        right: 1px;
        bottom: -5px;
        width: 6px;
        height: 6px;
        border-left: 2px solid #2b35ae;
        border-bottom: 2px solid #2b35ae;
        background: #fff;
        transform: skew(-25deg);
    }

.room-talk-transcript {
    width: 95%;
    border: 1px solid #b9c5d8;
    border-radius: 5px;
    background: #f8fbff;
    color: #23324a;
    line-height: 22px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 12px;
    box-sizing: border-box;
}

.page-help-trigger {
    width: 18px;
    height: 18px;
    border: 1px solid #c7d0c0;
    border-radius: 50%;
    background: #fff;
    color: #596554;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    padding: 0;
}

.page-help-trigger:hover {
    border-color: #8fa3b8;
    color: #273322;
    background: #f3f6fb;
}

.page-help-modal {
    max-width: 500px;
}

.page-help-list {
    margin: 10px 0 0;
    padding-left: 18px;
}

.page-help-list li {
    margin-bottom: 7px;
}

.room-help-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.room-help-modal {
    max-width: 480px;
}

.room-help-list {
    margin: 10px 0 0;
    padding-left: 18px;
}

.room-help-list li {
    margin-bottom: 7px;
}

.conversation-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3400;
    background: rgba(20, 28, 39, .28);
}

.conversation-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3401;
    width: min(430px, 94vw);
    background: #f6f8fb;
    border-left: 1px solid rgba(0,0,0,.14);
    box-shadow: -12px 0 28px rgba(0,0,0,.22);
    display: flex;
    flex-direction: column;
}

.conversation-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,.10);
    background: #ffffff;
}

.conversation-panel-title {
    color: #23324a;
    font-size: 18px;
    font-weight: 700;
}

.conversation-panel-subtitle {
    color: #5c6b80;
    font-size: 13px;
    line-height: 19px;
    margin-top: 4px;
}

.conversation-panel-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.conversation-panel-close,
.conversation-panel-minimize {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 6px;
    background: #ffffff;
    color: #243526;
    cursor: pointer;
    font-size: 24px;
    line-height: 28px;
}

.conversation-panel-minimize {
    font-size: 22px;
    line-height: 20px;
}

.conversation-panel-tab {
    position: fixed;
    right: 12px;
    bottom: 18px;
    z-index: 3401;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,.16);
    border-radius: 8px;
    background: #ffffff;
    color: #23324a;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 11px;
}

.conversation-panel-tab-icon {
    width: 16px;
    height: 13px;
    border: 2px solid #2b35ae;
    border-radius: 4px;
    display: block;
    position: relative;
    box-sizing: border-box;
}

    .conversation-panel-tab-icon::after {
        content: "";
        position: absolute;
        right: 1px;
        bottom: -5px;
        width: 6px;
        height: 6px;
        border-left: 2px solid #2b35ae;
        border-bottom: 2px solid #2b35ae;
        background: #fff;
        transform: skew(-25deg);
    }

.conversation-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
}

.conversation-panel-empty {
    color: #5c6b80;
    font-size: 14px;
    padding: 14px;
    text-align: center;
}

.conversation-message {
    width: 88%;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    background: #ffffff;
    color: #263242;
    line-height: 21px;
    margin-bottom: 10px;
    padding: 10px 12px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    white-space: normal;
}

.conversation-message-user {
    margin-left: auto;
    background: #eef4ff;
    border-color: #cbd9ef;
}

.conversation-message-assistant {
    margin-right: auto;
}

.conversation-message-system,
.conversation-message-review {
    width: 100%;
    background: #fffaf0;
    border-color: #ead8a6;
}

.conversation-message-role {
    color: #2D35A8;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.conversation-message-text {
    font-size: 14px;
    line-height: 20px;
    white-space: pre-wrap;
}

.conversation-review-slot {
    margin-top: 12px;
}

.conversation-review-slot .room-review-panel,
.conversation-review-slot .room-clarify-panel {
    width: 100%;
    margin: 0 0 12px 0;
}

@media (max-width: 700px) {
    .conversation-panel-backdrop {
        background: rgba(20, 28, 39, .34);
    }

    .conversation-panel {
        top: auto;
        left: 0;
        width: 100%;
        max-height: 46vh;
        border-left: 0;
        border-top: 1px solid rgba(0,0,0,.14);
        box-shadow: 0 -10px 26px rgba(0,0,0,.24);
    }

    .conversation-panel-header {
        padding: 10px 12px;
    }

    .conversation-panel-title {
        font-size: 16px;
    }

    .conversation-panel-subtitle {
        font-size: 12px;
        line-height: 16px;
    }

    .conversation-panel-body {
        padding: 10px 12px;
    }

    .conversation-panel-tab {
        right: 10px;
        bottom: 12px;
    }

    .conversation-message {
        width: 94%;
    }

    .conversation-message-system,
    .conversation-message-review {
        width: 100%;
    }
}

.room-conversation-message {
    width: 95%;
    border-left: 3px solid #2ca64d;
    background: #f6fbf8;
    color: #243526;
    line-height: 22px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 10px 12px;
    box-sizing: border-box;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.room-clarify-panel {
    width: 95%;
    border: 1px solid #c8d3e4;
    border-radius: 5px;
    background: #ffffff;
    color: #222;
    line-height: 22px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 12px;
    box-sizing: border-box;
}

.room-clarify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.room-clarify-status {
    color: #2D35A8;
    font-weight: 600;
    margin-top: 10px;
}

.room-clarify-actions .button {
    width: auto;
    min-width: 96px;
    margin: 0;
}

.room-review-panel {
    width: 95%;
    border: 1px solid #c8d3e4;
    border-radius: 5px;
    background: #f8fbff;
    color: #222;
    line-height: 22px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 14px;
    box-sizing: border-box;
}

.room-review-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 12px;
    text-align: center;
}

.room-review-title {
    font-weight: 700;
    color: #23324a;
    font-size: 16px;
}

.room-review-count {
    color: #5c6b80;
    font-size: 13px;
}

.room-review-group {
    color: #2D35A8;
    font-weight: 700;
    margin: 14px 0 7px;
}

.room-review-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px;
    margin-bottom: 7px;
    border: 1px solid #e2e9f3;
    border-radius: 5px;
    background: #ffffff;
    box-sizing: border-box;
}

.room-review-row input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 3px;
}

.room-review-row span {
    display: block;
    overflow-wrap: anywhere;
}

.room-review-row-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.room-review-pill {
    display: inline-flex;
    align-items: center;
    width: auto;
    border: 1px solid #e2c164;
    border-radius: 999px;
    background: #fff4c6;
    color: #5a4200;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    padding: 2px 8px;
}

.room-review-reason {
    width: 100%;
    color: #6d7684;
    font-size: 12px;
    line-height: 17px;
}

.room-review-footer {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.room-review-footer .button {
    width: auto;
    min-width: 150px;
    margin: 0;
}

.furnishing-conversation-filled,
.furnishing-conversation-filled .rz-inputtext,
.finish-conversation-filled,
.finish-conversation-filled .rz-inputtext {
    background: inherit;
    color: #1f6fb2;
    font-weight: 700;
}

.furnishing-estimated-sizes-note {
    color: #687586;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    margin-top: -6px;
    padding-left: 4px;
}

.toolbar-actions .rz-button,
.toolbar-actions .rz-button.rz-button-md,
.toolbar-actions .rz-button.rz-button-sm {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0 !important;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    box-shadow: none;
}

    .toolbar-actions .rz-button:hover {
        background: #f0f0f0;
    }

    /* Ensure the icon inside is visible */
    .toolbar-actions .rz-button .rzi,
    .toolbar-actions .rz-button i {
        font-size: 1.43rem;
        line-height: 1;
    }

    /* When it flips to STOP state, keep it readable */
    .toolbar-actions .rz-button.rz-state-active,
    .toolbar-actions .rz-button:active {
        background: #f0f0f0;
        border-color: #ccc;
        color: #111;
    }

.table-filter {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 5px;
    border-radius: 10px;
    border: 1px solid #d6e2f3;
    background: #f7faff;
    width: 70%; 
    margin-left:auto; 
    margin-right:auto; 
    margin-top:0px; 
    margin-bottom:10px
}


    .table-filter input {
        border: none;
        background: transparent;
        outline: none;
        font-size: .86rem;
        width: 160px;
        height: 10px;
        color: #444;
    }

        .table-filter input::placeholder {
            color: #7b8ca8;
        }

.filter-icon {
    width: 13px;
    height: 13px;
    color: #4b6fd8; /* homestead blue */
}

/*================= Core Page CSS===================*/
.cards {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px;
    margin-top: 0px;
    column-gap: 2%;
    row-gap: 10px;
    padding: 0px 0px 10px 0px;
    width: 100%;
    justify-content: center;
    background-color: transparent;
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
}

.mx {
    margin-left:auto;
    margin-right:auto;
}
.card {
    width: 96%;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    //box-shadow: -3px -3px 8px #ddd, 3px 3px 8px #ddd, 3px -3px 8px #ddd, -3px 3px 8px #ddd;
}

.homecard {
    padding: 0px;
    height: 230px
}

.cardtitle {
    font-family: Arial;
    color: #777;
    font-size: .86rem;
    text-align: left;
    padding: 6px 8px 7px 12px;
    border-radius: 0px 0px 5px 5px;
}

/*==========Section Headers==========*/

.sectionheader {
    width: 96%;
    /*height: 54px;*/
    background-color: white;
    border-radius: 0px;
    color: #333;
    padding: 12px 10px 0px 10px;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-family: Hel;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.subsectionheader {
    width: 100%;
    background-color: #eef4ff;
    color: #222;
    padding: 8px 10px 8px 15px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: Hel;
    border: 1px solid #dbeafe;
}

/*.subsectionheader {
    width: 98%;
    background-color: #eef4ff;
    border-radius: 10px;
    color: #222;
    font-weight: 500;
    padding: 10px 15px 10px 15px;
    box-sizing: border-box;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.36rem;
    font-family: Hel;
    margin-bottom: 15px;
    border: 1px solid #dbeafe;
}*/

/*============Input Fields==========*/

.inputDiv {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    column-gap: 2%;
    row-gap: 32px;
    width: 100%;
    justify-content: center;
    background: rgba(255,255,255, .96);
    padding: 15px 0px 25px 0px;
    border-radius: 0px 0px 3px 3px
}
.inputLabel {
    font-family: Arial;
    text-align: left;
    font-size: .95rem;
    color: #6a7280 !important;
    font-weight: 400;
}

.inputInnerDiv {
    padding-top: 15px;
    height: 40px;
    margin-top: 0px;
    box-sizing: border-box;
}

.inputInnerDivSelect {
    padding-top: 18px;
    height: 50px;
    margin-top: 0px;
    box-sizing: border-box;
}
.inputField {
    background: transparent;
    width: 100%;
    padding: 6px 5px 8px 5px;
    font-size:1rem;
    outline: none;
    border: none;
    border-radius: 4px;
    color:#444
}

.inputInnerDiv.bottomBorder,
.inputInnerDivSelect.bottomBorder {
    border-bottom: 1px solid #b8c6da;
    min-height: 38px;
    display: flex;
    align-items: center;
    transition: border-color 0.2s ease;
}

    .inputInnerDiv.bottomBorder:focus-within,
    .inputInnerDivSelect.bottomBorder:focus-within {
        border-bottom: 1px solid #3b82f6;
    }

.inputInnerDivSelect select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    height: 36px;
    padding: 0 28px 0 0;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.inputInnerDivSelect {
    position: relative;
}

    .inputInnerDivSelect::after {
        content: "";
        position: absolute;
        right: 6px;
        top: 65%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        pointer-events: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5'/></svg>");
        background-size: contain;
        background-repeat: no-repeat;
        filter: brightness(0.6);
    }

/*===============Tables================*/

.tablerowsmall {
    padding: 6px 6px 6px 6px;
    background-color: transparent;
    color: #666;
    text-align: left;
    font-family: Verdana;
    font-size: .86rem;
    border-bottom: solid 1px #dcdcdc;
}

.tablerowtopsmall {
    padding: 10px 6px 10px 6px;
    color: #1F6E8C;
    background-color: #eee;
    text-align: left;
    font-family: Verdana;
    font-size: .95rem;
    position: sticky;
    top: 0px;
    font-weight: normal;
    z-index: 10;
}


/* ===== Master table style (matches MU/Documents/Reminders) ===== */
.hs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    overflow: hidden;
}

    .hs-table thead th {
        text-align: left;
        font-size: .86rem;
        font-weight: 400;
        color: #6a7280;
        background: #f3f4f6;
        padding: 10px 10px;
        border-bottom: 1px solid rgba(0,0,0,.08);
        white-space: nowrap;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .hs-table tbody td {
        padding: 10px 10px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        color: #444;
        font-size: .85rem;
        vertical-align: middle;
    }

    .hs-table tbody tr:hover {
        background: #f6f7fa;
    }
    .toolbar-filter {
        margin-top: 10px;
    }

    .toolbar-filter input {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #ddd;
    }
    .rz-progressbar-label {
        font-size: .75rem
    }
    .rz-progressbar-label-value {
        font-size: .75rem
    }
    .my-datepicker .rz-inputtext {
        font-family: Arial;
        font-size: .95rem;
        background-color: #fff;
    }
/* ===== Reminders panel (MU-master style) ===== */

.rm-wrap {
    width: 96%;
    margin: 16px auto 14px auto;
}

.rm-panel {
    background: #f3f4f6;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 14px;
}

.rm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 6px 14px 6px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    margin-bottom: 12px;
}

.rm-title {
    font-size: 1.14rem;
    font-weight: 400;
    color: #333;
}

.rm-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-size: 1.29rem;
    line-height: 1;
    color: #444;
}

    .rm-close:hover {
        background: #f6f6f6;
    }

/* 5 items across like your current layout */
.rm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* keep pairs usable */
.rm-inline {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
}

.rm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.rm-label {
    font-size: .86rem;
    color: #777;
    font-weight: 400;
}

.rm-input {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    background: #fff;
}

    .rm-input:focus {
        border-color: rgba(0,0,0,.30);
    }

.rm-inline {
    display: flex;
    gap: 8px;
}

.rm-small {
    width: 72px;
    text-align: center;
    margin-right:10px
}

/* Radzen date picker: make it visually match rm-input */
.rm-date .rz-datepicker,
.rm-date .rz-inputtext,
.rm-date input {
    height: 40px;
    border-radius: 10px;
}

.rm-date {
    white-space: nowrap;
    color: #6a7280;
    font-size: .95rem;
}

    /* if your Radzen theme injects shadows/rings you hate */
    .rm-date .rz-inputtext:focus,
    .rm-date input:focus {
        outline: none;
        box-shadow: none;
    }

/* actions */
.rm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.rm-ghost {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-weight: 400;
    color: #444;
    font-size: 1.05rem;
    min-width: 120px;
}

.rm-primary {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #2b3bb7;
    color: #fff;
    cursor: pointer;
    font-size:1.05rem;
    font-weight: 400;
    min-width:140px;
}

    .rm-primary:hover {
        filter: brightness(.96);
    }

/* ===== Reminders list styling (MU-master vibe) ===== */

.rm-listWrap {
    background: transparent; /* wrapper */
}

/* table surface */
.rm-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 13px;
    overflow: hidden;
}

    /* header */
    .rm-table thead th {
        text-align: left;
        font-size: .86rem;
        font-weight: 400;
        color: #6a7280;
        background: #f3f4f6;
        padding: 12px 12px;
        border-bottom: 1px solid rgba(0,0,0,.08);
    }

    /* body */
    .rm-table tbody td {
        padding: 8px 8px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        color: #444;
        font-size: 13px;
        font-size: .86rem;
        vertical-align: middle;
    }

.rm-row:hover {
    background: #f6f7fa;
}

/* task emphasis */
.rm-task {
    color: #2b2f36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* muted meta columns */
.rm-muted {
    color: #6a7280;
    font-size: .95rem;
    white-space: nowrap;
}

/* date column */


/* overdue */
.rm-overdue {
    color: #d11a2a; /* red */
    font-weight: 400; /* keep non-bold */
}

/* action column */
.rm-col-actions {
    width: 52px;
    text-align: center;
}

/* icon buttons (like MU close button language) */
.rm-iconbtn {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .rm-iconbtn:hover {
        background: #f6f7fa;
    }

    .rm-iconbtn img {
        width: 16px;
        height: 16px;
        opacity: .85;
    }

    .rm-iconbtn.danger {
        border-color: rgba(220,38,38,.25);
        background: rgba(220,38,38,.05);
    }

        .rm-iconbtn.danger:hover {
            background: rgba(220,38,38,.10);
        }

.rm-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.rm-actions-left {
    display: flex;
}

.rm-actions-right {
    display: flex;
    gap: 10px;
}

/* delete button */
.rm-danger {
    height: 40px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(220,38,38,.25);
    background: rgba(220,38,38,.05);
    color: #b91c1c;
    cursor: pointer;
}

    .rm-danger:hover {
        background: rgba(220,38,38,.10);
    }


.roomcard {
    width: 96%;
    border-radius: 15px;
    //box-shadow: -3px -3px 8px #ddd, 3px 3px 8px #ddd, 3px -3px 8px #ddd, -3px 3px 8px #ddd;
}

.innerroomcard {
    padding: 0px 0px 0px 0px;
    height: 166px;
    background-size: 105%;
    border-radius: 10px 10px 0px 0px;
    vertical-align: bottom;
    background-position-x: center;
    /*box-shadow: 5px 5px 10px #888, -5px -5px 10px #888;*/
}
.roomcardtitle {
    font-family: Arial;
    color: #777;
    font-size: .86rem;
    text-align: left;
    padding: 6px 8px 7px 12px;
    border-radius: 0px 0px 5px 5px;
}


/*===========Pictures==========*/
.pictures {
    width: 96%;
    position: relative;
}

.pictureDelete {
    position: absolute;
    width: 32px;
    height: 40px;
    left: 1px;
    bottom: 8px;
    background-color: transparent;
    z-index: 2;
    border-radius: 6px;
    padding: 5px 0px 0px 7px;
    box-sizing: border-box
}

.pictureDefault {
    position: absolute;
    width: 32px;
    height: 40px;
    right: 5px;
    bottom: 8px;
    background-color: transparent;
    z-index: 2;
    padding: 5px 0px 0px 5px;
    border-radius: 6px;
    box-sizing: border-box
}

.photo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Make sure the photo fills the card nicely */
.photo-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Actions container: bottom-right overlay */
.photo-actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    gap: 6px;
    opacity: 1; /* visible by default (for touch) */
    /*transition: opacity 0.2s ease;*/
}

/* On devices that support hover: hide until hover */
@media (hover: hover) and (pointer: fine) {
    .photo-actions {
        opacity: 0;
        animation: none !important;
        transform: none !important;
    }

    .photo-card:hover .photo-actions {
        opacity: 1;
    }
}

/* Base circular button */
.photo-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    padding: 0;
    /*transition: background-color 0.15s ease, box-shadow 0.15s ease;*/
}

/* Default / “set as main photo” look */
.photo-icon-btn--primary:hover {
    background: #ffffff;
    color: #0071E3;
}

.photo-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    fill: none;
}

.photo-action-img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}


/* Delete look – still subtle, not screaming red box */
.photo-icon-btn--danger .photo-icon {
    color: #d67c7c;
}

.photo-icon-btn--primary .photo-icon {
    color: #0071E3;
}

.photo-icon-btn.filled .photo-icon {
    fill: currentColor; /* This will fill the star with the same color as the stroke */
}


.photo-icon-btn,
.photo-icon-btn *,
.photo-actions,
.photo-actions * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.photo-classification {
    display: flex;
    gap: 10px;
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #dee2e6; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 6px 8px 6px 8px;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

    .photo-classification select {
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 6px 10px;
        font-size: .93rem;
        background-color: #fdfdfd;
        appearance: none; /* Removes default styling on some browsers */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><polyline points="1,1 5,5 9,1" style="fill:none;stroke:%23555;stroke-width:1.5"/></svg>');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 8px;
    }
.photo-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

.photo-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 36px;
    padding: 0 36px 0 12px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #f9f9f9;
    color: #222;
    cursor: pointer;
    line-height: 30px;
    font-size:.93rem
}

    /* subtle hover */
    .photo-select:hover {
        background: #f0f0f0;
    }

    /* focus = Homestead blue */
    .photo-select:focus {
        outline: none;
        border-color: #2b66ff;
        box-shadow: 0 0 0 3px rgba(43,102,255,.15);
    }

/* custom chevron */
.photo-filter::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #666;
    pointer-events: none;
}

/* Pictures page */
.pictures-page .page-toolbar {
    margin-bottom: 8px;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
}

.photo-upload-error {
    width: calc(100% - 28px);
    margin: 0 auto 12px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid rgba(188, 73, 73, .2);
    border-radius: 8px;
    background: #fff7f6;
    color: #9b2f2f;
    font-size: .92rem;
    line-height: 1.35;
}

.pictures-page .pictures-scroll {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 2px 0 max(110px, env(safe-area-inset-bottom, 0px) + 80px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.pictures-page {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - var(--hs-safe-area-top));
    min-height: 0;
    overflow: hidden;
}

.pictures-page .pictures-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 96% !important;
    max-width: 96%;
    margin: 0 auto;
    padding: 12px 0 96px !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box;
    overflow-x: hidden;
}

.pictures-page .subsectionheader {
    grid-column: 1 / -1;
    margin: 22px auto 2px !important;
}

.pictures-page .subsectionheader:first-child {
    margin-top: 2px !important;
}

.pictures-page .pictures {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    gap: 0;
    column-gap: 0 !important;
    height: auto !important;
    overflow: hidden;
    border: 1px solid var(--hs-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(35, 62, 89, .08);
}

.pictures-page .photo-card {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    background-color: #eef5f7;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
}

.home-card-photo,
.room-card-photo,
.pictures-page .photo-card,
.pictures-page .photo-card > img {
    aspect-ratio: 16 / 9;
}

.pictures-page .photo-card > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    border-radius: 0 !important;
    object-fit: cover !important;
}

.pictures-page .photo-actions {
    right: 10px;
    bottom: 10px;
    z-index: 5;
    gap: 7px;
    opacity: 1 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.pictures-page .photo-icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2f6f9f;
    box-shadow: 0 1px 4px rgba(35, 62, 89, .14);
    -webkit-tap-highlight-color: transparent;
    z-index: 6;
}

.pictures-page .photo-icon {
    display: block;
    width: 21px;
    height: 21px;
    color: currentColor;
    stroke-width: 2;
}

.pictures-page .photo-icon-btn--danger .photo-icon {
    color: #b42318;
}

.pictures-page .photo-icon-btn--primary .photo-icon {
    color: #2f6f9f;
}

.pictures-page .photo-icon-btn--primary.filled .photo-icon {
    color: #d08a00;
    fill: currentColor;
}

.pictures-page .photo-classification {
    width: 100% !important;
    box-sizing: border-box;
    margin-top: 0;
    padding: 10px;
    gap: 8px;
    align-items: stretch;
    border: 0;
    border-top: 1px solid var(--hs-border);
    border-radius: 0;
    background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
    min-width: 0;
    overflow: hidden;
}

.pictures-page .photo-classification > div {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
}

.pictures-page .photo-classification > div:first-child:not(:only-child) {
    flex: 0 0 112px;
    max-width: 112px;
}

.pictures-page .photo-classification > div:not(:first-child) {
    flex: 1 1 auto;
}

.pictures-page .picSelect,
.pictures-page .photo-select {
    width: 100%;
    min-width: 0;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid #d7e3e8;
    border-radius: 8px;
    background-color: #fff;
    color: #30485c;
    font-size: .92rem;
}

.pictures-page .photo-select {
    min-width: 150px;
    padding-left: 12px;
    color: #355e7f;
}

.pictures-page .photo-filter::after {
    color: #6d8798;
}
.popuptitle {
    font-family:Hel;
    font-size:1.2rem
}
.qa-photo {
    width: 100%;
    height: 220px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
}

    .qa-photo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    /*=========== FINISHES ================*/
.cardchoose {
    font-family: Arial;
    font-size: .95rem;
    line-height: 22px;
    width: 44%;
    height: 134px;
    background-color: #eee;
    color: #777;
    text-align: center;
    border: solid 1px #ddd;
}

.cardchosen {
    font-family: Arial;
    font-size: .95rem;
    line-height: 22px;
    width: 44%;
    height: 134px;
    background-color: white;
    color: #777;
    text-align: center;
    border: solid 1px #ddd;
}
.finishroompic {
    padding: 0px;
    vertical-align: top;
    height: 105px;
    background-size: 105%;
    border-radius: 6px 6px 0px 0px;
    vertical-align: bottom;
    background-position-x: center;
}

.finish-room-name {
    vertical-align: top;
    text-align: left;
    background-color: #eee;
    padding: 6px 8px 7px 10px;
    border-radius: 0 0 9px 9px;
    color: var(--hs-text);
    font-size: .88rem;
    line-height: 1.25;
}
/*========= FURNISHINGS ==============*/

.comp-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.comp-track {
    width: 64px;
    height: 6px;
    border-radius: 999px;
    background: #e9eef6;
    overflow: hidden;
}

.comp-fill {
    height: 100%;
    width: 0%;
    background: #2f6fed; /* homestead blue */
    border-radius: 999px;
}

.comp-pct {
    font-size: .86rem;
    color: #6b7280;
    font-weight: 400; /* not bold */
    width: 38px;
    text-align: right;
}

.ffa-type-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 4px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.ffa-type-control .PorPChosen,
.ffa-type-control .PorPnotChosen {
    height: 100%;
    min-height: 32px;
    border: 0;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .96rem;
    font-weight: 400;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.ffa-type-control .PorPChosen {
    background: var(--hs-green);
    color: #fff;
    box-shadow: none;
}

.ffa-type-control .PorPnotChosen {
    background: #f1f3f5;
    color: #405162;
}

.ffa-type-control .PorPnotChosen:hover {
    background: #e7edf2;
}


/* ===== Documents Master (modeled after Manage Users) ===== */

.doc-wrap {
    width: 95%;
    margin: 14px auto 18px auto;
}

.doc-panel {
    background: #f3f4f6;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 6px 14px 6px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    margin-bottom: 12px;
}

.doc-title {
    font-size: 1.14rem;
    font-weight: 400;
    color: #333;
}

.doc-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-size: 1.29rem;
    line-height: 1;
    color: #444;
}

    .doc-close:hover {
        background: #f6f6f6;
    }


.doc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.doc-span-2 {
    grid-column: span 2;
}

.doc-span-all {
    grid-column: 1 / -1;
}

.doc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-label {
    font-size: .86rem;
    color: #777;
    font-weight: 400;
}

/* inputs (boxed like Manage Users) */
.doc-input {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    background: #fff;
}

    .doc-input:focus {
        border-color: rgba(0,0,0,.30);
    }

/* upload button that matches your primary */
.doc-uploadBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #2b3bb7;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
}

    .doc-uploadBtn:hover {
        filter: brightness(.96);
    }

/* actions */
.doc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.doc-ghost {
    height: 40px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-weight: 400;
    color: #444;
}

.doc-primary {
    height: 40px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #2b3bb7;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
}

    .doc-primary:hover {
        filter: brightness(.96);
    }



.doc-field {
    min-width: 0;
}

/*========= VENDORS =============*/
.multiSkills {
    padding: 6px 10px 6px 10px;
    border-bottom: solid 1px #eee;
    background-color: transparent;
    color: #666;
    text-align: left;
    font-family: Verdana;
    line-height: 14px;
    font-size: .7rem !important;
}

.skillchoose {
    font-family: Arial;
    font-size: .86rem;
    line-height: 16px;
    width: 10%;
    min-width: 115px;
    height: 45px;
    background-color: #eee;
    color: #777;
    text-align: center;
    border: solid 1px #ddd;
}

.skillchosen {
    font-family: Arial;
    font-size: .86rem;
    line-height: 18px;
    width: 10%;
    min-width: 115px;
    height: 45px;
    background-color: #55ACE0;
    color: white;
    text-align: center;
    border: solid 1px #ddd;
}

.home-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-card-name {
    margin-top: auto;
    overflow: hidden;
    display: -webkit-box;
    font-size: .86rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    word-break: break-word;
}


/*========= MANAGE USERS ==============*/
.mu-wrap {
    width: 95%;
    margin: 20px auto;
}

.mu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 6px 20px 6px;
}

.mu-title {
    font-size: 1.57rem;
    font-family: Hel;
    font-weight: 400;
    color: #333;
}

.mu-subtitle {
    margin-top: 4px;
    font-size: .95rem;
    color: #777;
    max-width: 700px;
}

.mu-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-size: 1.29rem;
    line-height: 1;
    color: #444;
}

    .mu-close:hover {
        background: #f6f6f6;
    }

.mu-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 14px;
}

.mu-card {
    background: #f3f4f6;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 14px;
}

.mu-card-title {
    font-size: 1.07rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 18px;
}

.mu-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mu-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mu-label {
    font-size: .86rem;
    color: #777;
}

.mu-input {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
}

    .mu-input:focus {
        border-color: rgba(0,0,0,.30);
    }

.mu-span-2 {
    grid-column: 1 / -1;
}

.mu-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.mu-danger {
    height: 40px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(220,38,38,.35);
    background: rgba(220,38,38,.06);
    cursor: pointer;
}

.mu-home-list {
    border-top: 1px solid rgba(0,0,0,.08);
}

.mu-home-row {
    display: grid;
    grid-template-columns: 70px 1fr 220px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.mu-thumb {
    width: 65px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
}

.mu-home-name {
    font-weight: 400;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mu-role {
    height: 40px;
    padding: 8px 10px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
}

.mu-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
}

.mu-primary {
    height: 40px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    cursor: pointer;
}




/* Base grey style */
.cls-all {
    fill: #dadada;
    transition: fill 0.5s ease;
}

/* Polygon (first element) */
svg polygon {
    animation: fadeBlue01 5s infinite;
}

/* Path elements (second to fourth) */
svg path:nth-of-type(2) {
    animation: fadeBlue02 5s infinite;
}

svg path:nth-of-type(1) {
    animation: fadeBlue03 5s infinite;
}

svg path:nth-of-type(3) {
    animation: fadeBlue04 5s infinite;
}

/* Keyframes */
@keyframes fadeBlue01 {
    0% {
        fill: #dadada;
    }

    10% {
        fill: #050058;
    }

    60% {
        fill: #050058;
    }

    100% {
        fill: #dadada;
    }
}

@keyframes fadeBlue02 {
    0% {
        fill: #dadada;
    }

    20% {
        fill: #2b35ae;
    }

    60% {
        fill: #2b35ae;
    }

    100% {
        fill: #dadada;
    }
}

@keyframes fadeBlue03 {
    0% {
        fill: #dadada;
    }

    30% {
        fill: #4360ec;
    }

    60% {
        fill: #4360ec;
    }

    100% {
        fill: #dadada;
    }
}

@keyframes fadeBlue04 {
    0% {
        fill: #dadada;
    }

    40% {
        fill: #25aee4;
    }

    60% {
        fill: #25aee4;
    }

    100% {
        fill: #dadada;
    }
}


.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.feature-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.2s ease;
}

    .feature-card:hover {
        background: rgba(255,255,255,0.12);
        transform: translateY(-3px);
    }

.how-step {
    padding-bottom: 18px;
}

.how-step-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.landingParagraph {
    max-width: 520px;
}

.bannerText {
    font-size: 2.4rem;
}


.landing-band {
    width: 100%;
}

.landing-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

.landing-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.blueSection {
    background: linear-gradient(to bottom, #2f6f9f, #2d6a98);
}

.whiteSection {
    background: #fff;
}

.lightSection {
    background: #f5f7fa;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-family: Hel;
    font-size: 3.35rem;
    line-height: 1.05;
    font-weight: 300;
    margin: 0 0 24px 0;
}

.hero-text {
    font-family:Hel;
    font-size: 1.34rem;
    line-height: 1.45;
    max-width: 620px;
    margin: 0;
}

.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: block;
}


.section-title {
    font-family:Hel;
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 300;
    margin: 0 0 34px 0;
    color: #222;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

.step-number {
    font-size: 1rem;
    color: #2f6f9f;
    margin-bottom: 14px;
}

.step-title {
    font-size: 1.45rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 10px;
}

.step-text {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    padding: 30px;
    min-height: 220px;
    box-sizing: border-box;
}

.feature-title {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 300;
    color: #fff;
    margin-bottom: 18px;
}

.feature-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
    margin: 0;
}

.white {
    color: white;
}

.currencyChosen {
    box-shadow: -3px -3px 5px lightgreen, 3px 3px 5px lightgreen;
}

.address-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
}

.address-option {
    padding: 10px 12px;
    cursor: pointer;
    color: #444;
    border-bottom: 1px solid rgba(0,0,0,.05);
    background: #fff;
}

    .address-option:last-child {
        border-bottom: none;
    }

    .address-option:hover {
        background: #f7f9fc;
    }

.address-secondary {
    font-size: 12px;
    color: #7a8393;
    margin-top: 2px;
}

.landing-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

#plans .landing-section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#plans .landing-inner {
    max-width: 1560px;
}

.section-copy {
    margin: -18px 0 0 0;
    color: #536273;
    font-family: Hel, Verdana, Arial;
    font-size: 1.18rem;
    line-height: 1.45;
}

.currency-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

#plans .currency-picker {
    justify-content: center;
}

.currency-button {
    width: 48px;
    height: 34px;
    padding: 4px;
    border: 1px solid rgba(47, 111, 159, .18);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.currency-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.currency-button.currencyChosen {
    border-color: #2f6f9f;
    box-shadow: 0 0 0 3px rgba(47, 111, 159, .14);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(31, 65, 92, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 54, 77, .06);
}

.plan-card.featured {
    border-color: rgba(47, 111, 159, .45);
    box-shadow: 0 14px 30px rgba(47, 111, 159, .14);
}

.plan-title {
    margin: 0 0 6px 0;
    color: #1f2933;
    font-family: Hel, Verdana, Arial;
    font-size: 1.36rem;
    font-weight: 400;
    line-height: 1.2;
}

.plan-subtitle,
.plan-description,
.plan-note,
.plan-cta-note {
    color: #657386;
    font-size: .92rem;
    line-height: 1.45;
}

.plan-price {
    margin: 18px 0;
    color: #102a43;
    font-family: Hel, Verdana, Arial;
    font-size: 1.72rem;
}

.plan-features {
    flex: 1 1 auto;
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.plan-features li {
    margin-bottom: 9px;
    color: #394b59;
    font-size: .95rem;
    line-height: 1.38;
}

.plan-features li::before {
    content: "✓";
    margin-right: 8px;
    color: #2f6f9f;
}

.plan-limitations {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.plan-limitations span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef3f8;
    color: #657386;
    font-size: .78rem;
}

.plan-badge {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e7f1f8;
    color: #245f8d;
    font-size: .78rem;
}

.pricing-tax-note {
    width: 100%;
    margin: 18px 0 0 0;
    color: #657386;
    font-size: .92rem;
    text-align: center;
}

.pro-section {
    width: 100%;
    margin-top: 34px;
    cursor: pointer;
}

.pro-banner {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(47, 111, 159, .18);
    background: #fff;
}

.pro-banner-text {
    display: grid;
    gap: 6px;
}

.pro-banner-text strong {
    color: #1f2933;
    font-weight: 400;
}

.pro-banner-text span {
    color: #536273;
    font-size: 1rem;
    line-height: 1.45;
}

.pro-button {
    min-height: 44px;
    border-radius: 6px;
    font-size: 1rem;
}

.story-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1320px;
    align-items: start;
}

.story-section {
    padding-top: 54px;
    padding-bottom: 54px;
}

.story-copy {
    max-width: 760px;
}

.story-copy p {
    margin: 0 0 14px 0;
    color: #4f5f70;
    font-size: 1.04rem;
    line-height: 1.65;
}

.story-visual {
    display: none;
}

.story-visual img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 901px) {
    .story-panel {
        grid-template-columns: 300px minmax(0, 680px) minmax(170px, 260px);
        gap: 34px;
    }

    .story-visual {
        display: block;
        justify-self: end;
    }
}




@media (max-width: 900px) {
    .landing-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-grid,
    .steps-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .feature-card,
    .step-card {
        min-height: unset;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card {
        background: #fff;
        border: 1px solid rgba(0,0,0,.08);
        border-radius: 8px;
        padding: 28px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 440px;
    }

    .plan-title {
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .plan-price {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .plan-features {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
    }

        .plan-features li {
            padding-bottom: 10px;
            font-size: 1rem;
            color: #444;
        }

    .plan-btn {
        width: 100%;
        margin-top: auto;
    }


    .plan-badge {
        font-size: 0.8rem;
        color: #2f6f9f;
        margin-bottom: 10px;
    }


    .featured {
        transform: none;
    }

 
}





/* ===== UI cleanup pass: shared app surface ===== */
:root {
    --hs-bg: #f4f7fb;
    --hs-surface: #ffffff;
    --hs-surface-soft: #f8fafc;
    --hs-border: #dce5ef;
    --hs-border-strong: #c8d6e5;
    --hs-text: #333;
    --hs-muted: #6a7786;
    --hs-blue: #2f6f9f;
    --hs-blue-dark: #214f76;
    --hs-green: #2f9b62;
    --hs-danger: #b42318;
    --hs-shadow: 0 14px 34px rgba(31, 54, 77, 0.10);
    --hs-shadow-soft: 0 6px 18px rgba(31, 54, 77, 0.08);
    --hs-radius: 12px;
    --hs-mobile-topbar-height: calc(51px + var(--hs-safe-area-top));
}

html,
body {
    background: var(--hs-bg);
    color: var(--hs-text);
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1023px) {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body,
    #app {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    body {
        position: relative;
        touch-action: pan-y;
    }

    main,
    .top-row,
    .mob-topbar,
    .mainPage,
    .content,
    .backgrounddiv,
    .backgrounddivhomes,
    .page-toolbar,
    .scroll {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        overflow-x: hidden;
    }

    .mainPage,
    .content {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .backgrounddiv,
    .backgrounddivhomes {
        height: calc(100dvh - var(--hs-mobile-topbar-height));
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .top-row,
    .mob-topbar,
    .mob-topbar-left,
    .mob-topbar-center,
    .mob-topbar-right,
    .user-wrap {
        overflow: visible !important;
    }

    .page-toolbar {
        flex: 0 0 auto;
    }

    .scroll {
        flex: 1 1 auto;
        height: auto !important;
        min-height: 0;
        padding-bottom: var(--hs-mobile-bottom-clearance);
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .inputDiv,
    .trans45Div,
    .fulldiv,
    .sectionheader,
    .subsectionheader {
        max-width: 100%;
        min-width: 0;
    }

    input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .inputField,
    .logininputfield,
    .picSelect,
    .photo-select,
    .rz-inputtext,
    .rz-dropdown,
    .rz-dropdown-label,
    .rz-datepicker,
    .rz-datepicker input {
        font-size: 16px !important;
    }
}

.hs-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 34, 48, .42);
}

.hs-modal {
    width: min(92vw, 420px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--hs-border);
    background: #fff;
    box-shadow: 0 20px 48px rgba(20, 34, 48, .2);
}

.hs-modal-title {
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 650;
    line-height: 1.25;
}

.hs-modal-copy {
    margin-top: 10px;
    color: var(--hs-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .98rem;
    line-height: 1.45;
}

.hs-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.hs-modal-actions .button {
    min-width: 104px;
}

.backgrounddiv,
.backgrounddivhomes {
    background: var(--hs-surface);
}

.page-toolbar {
    min-height: 58px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--hs-border);
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-sizing: border-box;
}

.toolbar-left {
    gap: 10px;
    min-width: 0;
}

.toolbar-title {
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toolbar-actions {
    gap: 8px;
}

.icon-btn,
.rz-button.icon-btn,
.icon-btn-back,
.rm-close,
.doc-close,
.mu-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    border-color: var(--hs-border);
    background: #fff;
    color: var(--hs-text);
    box-shadow: 0 1px 2px rgba(31, 54, 77, 0.06);
}

.icon-btn:hover,
.icon-btn-back:hover,
.rm-close:hover,
.doc-close:hover,
.mu-close:hover {
    background: var(--hs-surface-soft);
    border-color: var(--hs-border-strong);
}

.icon-btn.primary {
    background: #e9f7f0;
    border-color: #b8e2ca;
    color: var(--hs-green);
    font-weight: 700;
}

.icon-btn.duplicate {
    font-size: 0;
}

.icon-btn.duplicate svg {
    width: 17px;
    height: 17px;
    color: var(--hs-text);
}

.button {
    min-height: 36px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0;
    box-shadow: 0 1px 2px rgba(31, 54, 77, 0.08);
    max-width: 100%;
    white-space: normal;
}

.green {
    background: var(--hs-green);
}

.green:hover {
    background: #278654;
}

.blue {
    background: #eef5fb;
    border: 1px solid #b8d0e5;
    color: var(--hs-blue-dark);
}

.red {
    background: #fff5f3;
    border: 1px solid #efc2bc;
    color: var(--hs-danger);
}

.table-filter {
    width: min(92%, 320px);
    height: 32px;
    min-height: 32px;
    padding: 0 9px;
    margin: 6px auto 8px;
    border-color: var(--hs-border);
    background: #fff;
    box-shadow: 0 1px 2px rgba(31, 54, 77, 0.05);
    box-sizing: border-box;
}

.table-filter input {
    height: 30px;
    width: 100%;
    font-size: .88rem;
    padding: 0;
    line-height: 30px;
}

.filter-icon {
    color: var(--hs-blue);
}

.scroll {
    background: var(--hs-surface-soft);
    padding: 14px;
    box-sizing: border-box;
}

.sectionheader + .fulldiv,
.page-toolbar + .trans45Div,
.page-toolbar + .scroll {
    margin-top: 12px;
}

.scroll > .inputDiv,
.scroll > .w98,
.scroll > .w96,
.scroll > .showSmall,
.scroll > .showLarge,
.scroll > .rm-listWrap,
.scroll > .trans45Div,
.trans45Div > .showLarge,
.trans45Div > .showSmall,
.trans45Div > .rm-listWrap {
    border-radius: 10px;
}

.cards {
    gap: 14px;
    padding: 14px 0;
    box-sizing: border-box;
    background: var(--hs-surface-soft);
    align-items: stretch;
}

.card,
.roomcard,
.cardchoose,
.cardchosen,
.skillchoose,
.skillchosen {
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius);
    background: #fff;
    box-shadow: var(--hs-shadow-soft);
    overflow: hidden;
}

.card:hover,
.roomcard:hover,
.cardchoose:hover,
.cardchosen:hover {
    border-color: var(--hs-border-strong);
    box-shadow: var(--hs-shadow);
}

.cardtitle,
.roomcardtitle {
    background: #fff;
    color: var(--hs-text);
    font-weight: 650;
    border-top: 1px solid var(--hs-border);
}

.vendor-skill-grid,
.vendor-home-grid {
    margin-top: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.vendor-skill-grid {
    align-items: stretch;
}

.vendor-skill-chip.skillchoose,
.vendor-skill-chip.skillchosen {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 40px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 150px;
    cursor: pointer;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .92rem;
    line-height: 1.25;
    font-weight: 400;
    box-shadow: none;
}

.vendor-skill-chip.skillchoose {
    background: #fff;
    color: var(--hs-text);
}

.vendor-skill-chip.skillchosen {
    background: #e6f4ed;
    border-color: #a8d9bf;
    color: #1f6d45;
}

.vendor-skill-chip:hover {
    border-color: var(--hs-border-strong);
    background: #f5f9fd;
}

.vendor-skill-chip.skillchosen:hover {
    background: #dff0e8;
}

.vendor-home-card.cardchoose,
.vendor-home-card.cardchosen {
    width: 44%;
    height: auto;
    min-height: 138px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    color: var(--hs-text);
}

.vendor-home-card.cardchosen {
    border-color: #a8d9bf;
    box-shadow: 0 0 0 2px rgba(47, 159, 95, .14), var(--hs-shadow-soft);
}

.vendor-home-photo {
    min-height: 108px;
    aspect-ratio: 16 / 9;
    background-color: var(--hs-surface-soft);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.vendor-home-name {
    min-height: 0;
    padding: 6px 10px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--hs-border);
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .94rem;
    line-height: 1.22;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.subsectionheader {
    width: 100%;
    margin: 34px auto 10px !important;
    border-radius: 8px;
    border: 1px solid #a7c3d8;
    border-left: 6px solid var(--hs-blue-dark);
    background: linear-gradient(180deg, #d2e4f0, #c7dcea);
    color: #173d5e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(31, 54, 77, 0.10);
}

.general-section-gap {
    margin-top: 34px !important;
    margin-bottom: 10px !important;
}

.room-detail-subsection {
    margin-top: 18px !important;
    margin-bottom: 8px !important;
}

.room-detail-subsection + .trans45Div {
    margin-top: 0 !important;
}

.room-detail-page {
    max-width: 100%;
    overflow-x: hidden;
}

.room-detail-page .page-toolbar,
.room-detail-page .scroll {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.room-detail-page .toolbar-left,
.room-detail-page .toolbar-right,
.room-detail-page .toolbar-actions {
    min-width: 0;
}

.room-detail-page .toolbar-left {
    flex: 1 1 auto;
    overflow: hidden;
}

.room-detail-page .toolbar-right {
    flex: 0 1 auto;
}

.room-detail-page .toolbar-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-detail-page .toolbar-actions {
    flex-wrap: nowrap;
    gap: 6px;
}

.room-detail-page .subsectionheader,
.room-detail-page .trans45Div,
.room-detail-page .inputDiv,
.room-detail-page .fulldiv {
    max-width: calc(100% - 24px);
    box-sizing: border-box;
}

.room-detail-page .subsectionheader,
.room-detail-page .trans45Div,
.room-detail-page .inputDiv {
    width: calc(100% - 24px);
}

.room-detail-page .trans45Div {
    column-gap: 12px;
    overflow-x: hidden;
}

.room-detail-page .trans45Div > .showSmall,
.room-detail-page .showSmall {
    max-width: 100%;
    box-sizing: border-box;
}

.room-detail-page .hs-table {
    table-layout: fixed;
}

.room-detail-page .hs-table th,
.room-detail-page .hs-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-detail-page .pictures {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.room-detail-page .photo-card {
    width: 100% !important;
    max-width: 100%;
}

.room-detail-page .photo-card > img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto;
}

.room-detail-page .photo-icon-btn .photo-action-img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    object-fit: contain;
}

.property-details-panel {
    padding-bottom: 14px !important;
}

.inputDiv {
    width: 100%;
    margin-top: 0;
    margin-bottom: 16px;
    padding: 18px 0 24px;
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius);
    background: #fff;
    box-shadow: var(--hs-shadow-soft);
    box-sizing: border-box;
}

.inputLabel {
    display: block;
    color: #5f6d7c !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.inputField {
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    padding: 8px 5px 0;
    border-radius: 4px 4px 0 0;
    transition: background-color .16s ease, color .16s ease;
}

.inputInnerDiv.bottomBorder,
.inputInnerDivSelect.bottomBorder,
.inputinnerDiv.bottomBorder,
.inputinnerDivSelect.bottomBorder {
    min-height: 42px;
    border-bottom: 1px solid var(--hs-border-strong);
    display: flex;
    align-items: center;
    padding-top: 0;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.inputInnerDiv.bottomBorder:focus-within,
.inputInnerDivSelect.bottomBorder:focus-within,
.inputinnerDiv.bottomBorder:focus-within,
.inputinnerDivSelect.bottomBorder:focus-within {
    border-bottom-color: var(--hs-blue);
    box-shadow: none;
    background: transparent;
}

.inputInnerDiv.bottomBorder:focus-within .inputField,
.inputInnerDivSelect.bottomBorder:focus-within .inputField,
.inputinnerDiv.bottomBorder:focus-within .inputField,
.inputinnerDivSelect.bottomBorder:focus-within .inputField {
    color: #172a3a;
}

.inputInnerDivSelect select,
.inputinnerDivSelect select,
.inputInnerDiv.bottomBorder select,
.inputinnerDiv.bottomBorder select {
    width: 100%;
    min-height: 30px;
    font-size: 1rem;
    line-height: 1.3;
    border: 0;
    outline: 0;
    background: transparent;
}

.inputField:disabled,
.inputField[readonly],
.inputInnerDiv[aria-disabled="true"] .inputField,
.inputinnerDiv[aria-disabled="true"] .inputField {
    color: #657485;
    cursor: default;
}

.inputField:disabled {
    opacity: .72;
}

.inputInnerDiv:not(.bottomBorder) .inputField,
.inputinnerDiv:not(.bottomBorder) .inputField {
    color: #405162;
}

.inputInnerDiv.bottomBorder > span,
.inputinnerDiv.bottomBorder > span {
    align-self: center;
    padding-bottom: 0;
    transform: translateY(4px);
}

.calculatedField {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    padding: 6px 5px 2px;
    box-sizing: border-box;
    transform: translateY(4px);
}

.hs-table {
    border-color: var(--hs-border);
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow-soft);
}

.hs-table thead th {
    color: var(--hs-blue-dark);
    background: #e5f0f8;
    border-bottom-color: var(--hs-border);
    font-weight: 500;
}

.hs-table tbody td {
    color: var(--hs-text);
}

.hs-table tbody tr {
    cursor: pointer;
}

.user-btn:hover {
    background: #f5f9fd;
    border-color: #dce5ef;
}

.hs-table tbody tr:hover {
    background: #f5f9fd;
}

.doc-panel,
.rm-panel,
.mu-card {
    background: #fff;
    border-color: var(--hs-border);
    box-shadow: var(--hs-shadow-soft);
}

.doc-title,
.rm-title,
.mu-card-title {
    color: var(--hs-text);
    font-weight: 500;
}

.doc-input,
.rm-input,
.mu-input,
.mu-role {
    border-color: var(--hs-border-strong);
    color: var(--hs-text);
}

.doc-input:focus,
.rm-input:focus,
.mu-input:focus {
    border-color: var(--hs-blue);
    box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.12);
}

.doc-uploadBtn,
.doc-primary,
.rm-primary {
    background: var(--hs-blue);
    border-color: var(--hs-blue);
}

.doc-ghost,
.rm-ghost {
    border-color: var(--hs-border);
}

.doc-wrap {
    width: calc(100% - 28px);
    margin: 16px auto 20px;
}

.doc-panel {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
}

.doc-header {
    align-items: center;
    padding: 0 0 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--hs-border);
}

.doc-title {
    font-size: 1.05rem;
    letter-spacing: 0;
}

.doc-grid {
    gap: 18px;
}

.doc-field {
    gap: 6px;
    min-width: 0;
}

.doc-label {
    color: var(--hs-blue-dark);
    font-size: .82rem;
    line-height: 1.25;
}

.doc-input {
    width: 100%;
    min-height: 42px;
    padding: 8px 5px 0;
    border: 0;
    border-bottom: 1px solid var(--hs-border-strong);
    border-radius: 4px 4px 0 0;
    background: transparent;
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.doc-input:focus {
    outline: 0;
    border-color: var(--hs-blue);
    box-shadow: inset 0 -1px 0 var(--hs-blue), 0 4px 10px rgba(47, 111, 159, 0.08);
    background: linear-gradient(180deg, rgba(47, 111, 159, 0.025), rgba(47, 111, 159, 0.055));
}

.doc-uploadBtn {
    width: 100%;
    min-height: 64px;
    padding: 0 18px;
    border: 1px dashed var(--hs-border-strong);
    border-radius: 8px;
    background: var(--hs-surface-soft);
    color: var(--hs-blue-dark);
    font-size: .98rem;
    box-shadow: none;
}

.doc-uploadBtn:hover {
    border-color: var(--hs-blue);
    background: #eef6fb;
    filter: none;
}

.doc-actions {
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 18px;
    border-top: 1px solid var(--hs-border);
}

.doc-actions .button,
.doc-ghost {
    min-height: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 400;
}

.doc-ghost {
    color: var(--hs-text);
    background: #fff;
}

.entity-docs-section {
    width: 100%;
}

.entity-docs-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entity-docs-header .icon-btn {
    margin-left: 2px;
}

.entity-docs-editor {
    margin-top: 12px;
    margin-bottom: 12px;
}

.entity-docs-editor .doc-uploadBtn {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
}

.entity-docs-grid {
    grid-template-columns: 1fr;
}

.entity-docs-list {
    min-height: 62px;
    padding-top: 8px;
    padding-bottom: 18px;
}

.entity-docs-table-wrap {
    max-height: 260px;
}

.entity-docs-empty {
    width: 100%;
    padding: 18px 14px;
    color: var(--hs-muted);
    font-size: .96rem;
    text-align: center;
    box-sizing: border-box;
}

.entity-docs-upgrade {
    max-width: 360px;
    margin-top: 12px;
}

.transfer-page {
    padding: 14px;
    box-sizing: border-box;
}

.transfer-form-panel {
    width: 100%;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: var(--hs-shadow-soft);
    padding: 16px;
    box-sizing: border-box;
}

.transfer-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--hs-border);
}

.transfer-section-title {
    color: var(--hs-text);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.25;
}

.transfer-section-copy {
    margin-top: 5px;
    color: var(--hs-muted);
    font-size: .92rem;
    line-height: 1.4;
}

.transfer-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.transfer-field {
    min-width: 0;
}

.transfer-note {
    align-self: stretch;
    padding: 12px 14px;
    border-left: 3px solid var(--hs-blue);
    background: var(--hs-surface-soft);
    color: var(--hs-muted);
    font-size: .92rem;
    line-height: 1.4;
}

.transfer-note-title {
    margin-bottom: 3px;
    color: var(--hs-text);
    font-weight: 500;
}

.transfer-info-section {
    width: 100%;
    margin-top: 22px;
    padding: 0 2px;
    box-sizing: border-box;
}

.transfer-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.transfer-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--hs-border);
}

.transfer-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e5f0f8;
    color: var(--hs-blue-dark);
    font-size: .85rem;
    font-weight: 600;
}

.transfer-step strong {
    display: block;
    color: var(--hs-text);
    font-size: .96rem;
    font-weight: 500;
}

.transfer-step p {
    margin: 3px 0 0;
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.4;
}

.transfer-warning {
    margin-top: 16px;
    padding: 12px 14px;
    border-left: 3px solid var(--hs-green);
    background: #eef8f2;
    color: var(--hs-text);
    font-size: .94rem;
    line-height: 1.5;
}

.transfer-empty {
    margin-top: 10px;
    padding: 14px 0;
    color: var(--hs-muted);
    border-top: 1px solid var(--hs-border);
    font-size: .94rem;
}

/* ===== Vault ===== */
.vault-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.vault-lock-panel {
    width: min(680px, calc(100% - 28px));
    margin: 16px auto 0;
    padding: 14px 4px 18px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    background: transparent;
    border-bottom: 1px solid var(--hs-border);
    box-sizing: border-box;
}

.vault-lock-mark {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--hs-blue-dark);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.vault-lock-panel h1 {
    margin: 0;
    color: var(--hs-text);
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.25;
}

.vault-lock-panel p {
    margin: 5px 0 0;
    color: var(--hs-muted);
    font-size: .94rem;
    line-height: 1.45;
}

.vault-pin-box {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.vault-pin-box label,
.vault-share-box label {
    color: #777;
    font-size: .86rem;
    font-weight: 400;
}

.vault-pin-input {
    width: min(260px, 100%);
    height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    background: #fff;
    box-sizing: border-box;
}

.vault-pin-input:focus {
    border-color: rgba(0,0,0,.30);
}

.vault-pin-note,
.vault-error,
.vault-editor-copy {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.4;
}

.vault-error {
    color: #a12222;
}

.vault-unlock-button {
    width: fit-content;
    min-width: 150px;
}

.vault-editor-wrap {
    position: fixed;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 18px;
    z-index: 4200;
    display: grid;
    place-items: start center;
    background: rgba(15, 23, 42, .28);
    box-sizing: border-box;
}

.vault-editor {
    width: min(760px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    margin: 48px 0 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .24);
}

.vault-form-grid {
    grid-template-columns: 1fr;
}

.vault-span-2 {
    grid-column: 1 / -1;
}

.vault-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.vault-list {
    padding: 0 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.vault-list-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.vault-list-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.vault-mobile-filter {
    margin: 10px 0;
}

.vault-detail-title h2,
.vault-share-box h3 {
    margin: 0;
    color: var(--hs-text);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.25;
}

.vault-card-list {
    display: grid;
    gap: 0;
}

.vault-doc-card {
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--hs-border);
    border-radius: 0;
    background: #fff;
    padding: 12px 8px;
    display: grid;
    gap: 3px;
    color: var(--hs-muted);
    cursor: pointer;
}

.vault-doc-card:hover,
.vault-doc-card.selected {
    background: var(--hs-surface-soft);
}

.vault-doc-card.selected {
    box-shadow: inset 3px 0 0 var(--hs-green);
}

.vault-doc-type {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
}

.vault-doc-card strong {
    color: var(--hs-text);
    font-size: .98rem;
    font-weight: 500;
}

.vault-doc-card em {
    color: var(--hs-blue);
    font-style: normal;
    font-size: .8rem;
    font-weight: 500;
}

.vault-empty {
    min-height: 132px;
    border-top: 1px solid var(--hs-border);
    border-radius: 0;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 5px;
    color: var(--hs-muted);
    padding: 18px 8px;
}

.vault-empty.compact {
    min-height: 160px;
}

.vault-overlay {
    position: fixed;
    inset: 0;
    z-index: 4200;
    display: grid;
    place-items: start center;
    padding: 18px;
    background: rgba(15, 23, 42, .28);
    box-sizing: border-box;
}

.vault-dialog {
    width: min(560px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    margin-top: 48px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .24);
    box-sizing: border-box;
}

.vault-detail {
    display: block;
}

.vault-detail-title {
    display: grid;
    gap: 4px;
    margin: 0;
}

.vault-detail-title span {
    color: var(--hs-blue-dark);
    font-weight: 600;
    font-size: .76rem;
    text-transform: uppercase;
}

.vault-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.vault-share-box {
    border-top: 1px solid var(--hs-border);
    padding-top: 16px;
    display: grid;
    gap: 9px;
}

.vault-grant-list {
    margin-top: 8px;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--hs-border);
}

.vault-grant-list div {
    border: 0;
    border-bottom: 1px solid var(--hs-border);
    border-radius: 0;
    padding: 9px 0;
    display: grid;
    gap: 2px;
}

.vault-grant-list span {
    color: var(--hs-muted);
    font-size: .88rem;
}

.vault-transfer-section {
    display: grid;
    gap: 12px;
}

.vault-transfer-unlock {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.vault-transfer-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--hs-border);
}

.vault-transfer-row {
    border: 0;
    border-bottom: 1px solid var(--hs-border);
    border-radius: 0;
    padding: 11px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
}

.vault-transfer-row span {
    display: grid;
    gap: 2px;
}

.vault-transfer-row small {
    color: var(--hs-muted);
}

@media (max-width: 820px) {
    .vault-lock-panel {
        display: grid;
    }

    .vault-lock-panel {
        grid-template-columns: 1fr;
    }
}

.comp-track,
.room-progress {
    background: #e5edf5;
}

.comp-fill,
.room-progress-fill {
    background: var(--hs-blue);
}

.home-card-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    cursor: pointer;
}

.home-card-photo {
    min-height: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.home-card-title {
    padding: 8px 12px 9px;
    background: #fff;
    border-top: 1px solid var(--hs-border);
    color: var(--hs-text);
    font-weight: 400;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.backgrounddivhomes .page-toolbar {
    margin-bottom: 10px;
}

.backgrounddivhomes .toolbar-title {
    font-size: 1.12rem;
    font-weight: 400;
}

.rm-wrap {
    width: calc(100% - 28px);
    margin: 16px auto 20px;
}

.rm-panel {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
}

.rm-header {
    align-items: center;
    padding: 0 0 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--hs-border);
}

.rm-title {
    font-size: 1.05rem;
    letter-spacing: 0;
}

.rm-grid {
    gap: 18px;
}

.rm-label {
    color: var(--hs-blue-dark);
    font-size: .82rem;
    line-height: 1.25;
}

.rm-input {
    width: 100%;
    min-height: 42px;
    padding: 8px 5px 0;
    border: 0;
    border-bottom: 1px solid var(--hs-border-strong);
    border-radius: 4px 4px 0 0;
    background: transparent;
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.rm-input:focus {
    outline: 0;
    border-color: var(--hs-blue);
    box-shadow: inset 0 -1px 0 var(--hs-blue), 0 4px 10px rgba(47, 111, 159, 0.08);
    background: linear-gradient(180deg, rgba(47, 111, 159, 0.025), rgba(47, 111, 159, 0.055));
}

.rm-date .rz-datepicker,
.rm-date .rz-inputtext,
.rm-date input {
    height: 42px;
    border-radius: 8px;
    font-size: 1rem;
}

.rm-actions {
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: 18px;
    border-top: 1px solid var(--hs-border);
}

.rm-ghost,
.rm-primary,
.rm-danger {
    min-height: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 400;
}

.rm-primary {
    background: var(--hs-green);
    border-color: var(--hs-green);
}

.rm-primary:hover {
    background: #278654;
    filter: none;
}

.upgrade-panel {
    width: min(92%, 680px);
    margin: 22px auto;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow-soft);
}

.upgrade-panel img {
    display: block;
    width: min(100%, 380px) !important;
    margin: 0 auto;
    object-fit: contain;
}

.upgrade-panel + .fulldiv .button {
    width: min(325px, calc(100% - 28px)) !important;
    box-sizing: border-box;
}

.upgrade-prompt {
    width: calc(100% - 28px);
    margin: 24px auto 18px;
    padding: 26px 18px;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    background: var(--hs-surface);
    color: var(--hs-text);
    text-align: center;
    box-shadow: var(--hs-shadow-soft);
    box-sizing: border-box;
}

.upgrade-prompt.compact,
.upgrade-prompt.entity-docs-upgrade {
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 22px 16px;
}

.upgrade-prompt-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--hs-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.upgrade-prompt-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.upgrade-prompt-copy {
    color: var(--hs-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .92rem;
    line-height: 1.45;
}

.upgrade-prompt-action {
    width: 100%;
    max-width: 240px;
    height: 42px;
    margin-top: 28px;
    font-size: 15px;
}

.cards > .subsectionheader {
    flex: 0 0 100%;
    margin: 22px 0 2px !important;
}

.cards > .subsectionheader:first-child {
    margin-top: 0 !important;
}

.rooms-cards {
    justify-content: flex-start;
}

.empty-rooms-state {
    width: calc(100% - 28px);
    margin: 24px auto 18px auto;
    padding: 28px 18px;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    background: var(--hs-surface);
    color: var(--hs-text);
    text-align: center;
    box-shadow: var(--hs-shadow-soft);
}

.empty-rooms-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px auto;
    border-radius: 50%;
    background: var(--hs-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
}

.empty-rooms-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-rooms-copy {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .92rem;
    line-height: 1.45;
    color: var(--hs-muted);
}

.empty-rooms-action {
    width: 100%;
    max-width: 220px;
    height: 42px;
    margin-top: 20px;
    font-size: 16px;
}

.room-detail-table tbody td {
    padding-top: 12px;
    padding-bottom: 12px;
}

.quick-add-panel {
    background: #fff !important;
    width: calc(100% - 28px) !important;
    margin: 16px auto 20px !important;
    padding: 16px !important;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: var(--hs-shadow-soft);
    row-gap: 16px !important;
}

.quick-add-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--hs-border);
}

.quick-add-title {
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
}

.quick-add-feedback {
    margin-top: 4px;
    font-size: .9rem;
    line-height: 1.35;
}

.quick-add-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
}

.quick-add-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 18px;
    min-width: 0;
}

.qa-field {
    min-width: 0;
}

.qa-field .inputLabel {
    display: block;
    margin-bottom: 6px;
    color: var(--hs-blue-dark);
    font-size: .82rem;
}

.qa-field .inputField {
    width: 100%;
}

.qa-field .inputInnerDiv.bottomBorder,
.qa-field .inputinnerDiv.bottomBorder {
    padding-top: 0 !important;
    min-height: 50px;
    align-items: flex-end;
    padding-bottom: 8px;
    box-sizing: border-box;
    gap: 4px;
}

.qa-field select.inputField,
.qa-field input.inputField {
    min-height: 30px;
}

.quick-add-photo {
    min-width: 0;
}

.qa-photo-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 160px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    background: var(--hs-surface-soft);
    cursor: pointer;
    overflow: hidden;
}

.qa-photo-upload:hover {
    border-color: var(--hs-blue);
    background: #eef6fb;
}

.quick-add-photo .qa-photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
}

.quick-add-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 4px;
}

.quick-add-actions .button {
    min-width: 140px;
}

/* ===== Manage users: align with add/edit panels ===== */
.mu-wrap {
    width: calc(100% - 28px);
    margin: 8px auto 20px;
    padding: 16px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: var(--hs-shadow-soft);
}

.mu-header {
    align-items: center;
    padding: 0 0 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--hs-border);
}

.mu-title {
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.25;
}

.mu-subtitle {
    max-width: 760px;
    margin-top: 5px;
    color: var(--hs-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .9rem;
    line-height: 1.35;
}

.mu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.mu-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.mu-card-title {
    margin: 0 0 14px;
    color: var(--hs-blue-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.25;
}

.mu-form-grid {
    gap: 18px;
}

.mu-field {
    min-width: 0;
    gap: 6px;
}

.mu-label {
    color: var(--hs-blue-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .82rem;
    line-height: 1.25;
}

.mu-input,
.mu-role {
    width: 100%;
    min-height: 42px;
    padding: 8px 5px 0;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid var(--hs-border-strong);
    border-radius: 4px 4px 0 0;
    background: transparent;
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.mu-input:focus,
.mu-role:focus {
    outline: 0;
    border-color: var(--hs-blue);
    box-shadow: inset 0 -1px 0 var(--hs-blue), 0 4px 10px rgba(47, 111, 159, 0.08);
    background: linear-gradient(180deg, rgba(47, 111, 159, 0.025), rgba(47, 111, 159, 0.055));
}

.mu-actions {
    align-items: end;
    justify-content: flex-start;
}

.mu-actions input {
    width: auto !important;
    min-width: 130px;
    height: 36px !important;
    min-height: 36px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 400;
}

.mu-home-list {
    border-top: 1px solid var(--hs-border);
}

.mu-home-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hs-border);
}

.mu-thumb {
    width: 52px;
    height: 40px;
    border-radius: 8px;
    border-color: var(--hs-border);
    background: var(--hs-surface-soft);
}

.mu-home-name {
    color: var(--hs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: .98rem;
    font-weight: 400;
    line-height: 1.25;
}

.mu-role {
    grid-column: 1 / -1;
    background: #fff;
}

.mu-role:disabled {
    color: #7a8794;
    background: #f7fafc;
}

.mu-footer {
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--hs-border);
}

.inputinnerDiv.bottomBorder {
    border-bottom: 1px solid var(--hs-border-strong);
    min-height: 38px;
    display: flex;
    align-items: center;
}

.inputInnerDiv.bottomBorder {
    min-height: 38px;
    display: flex;
    align-items: center;
}

.room-card-modern {
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.room-card-modern:hover {
    transform: translateY(-1px);
}

.room-card-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.furnishings-summary-table {
    table-layout: fixed;
}

.furnishings-summary-table .furn-room {
    width: 42%;
    white-space: nowrap;
}

.furnishings-summary-table .furn-desc {
    width: 36%;
}

.furnishings-summary-table .furn-make {
    width: 22%;
}

.furnishings-summary-table .furn-desc,
.furnishings-summary-table .furn-make {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Furnishings Summary Rows ===== */
.furnishings-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.furnishings-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.furnishings-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.furnishing-room-groups {
    display: grid;
    gap: 20px;
    padding-top: 12px;
}

.furnishing-room-group {
    display: grid;
    gap: 0;
}

.furnishing-room-header {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.furnishing-room-header small {
    color: var(--hs-muted);
    font-size: .78rem;
    font-weight: 400;
    text-transform: none;
    white-space: nowrap;
}

.furnishing-row-list {
    display: grid;
    gap: 0;
}

.furnishing-row {
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--hs-border);
    border-radius: 0;
    background: #fff;
    padding: 12px 20px 13px 8px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, auto) 92px;
    grid-template-areas:
        "main metrics type"
        "main metrics right";
    gap: 8px 18px;
    color: var(--hs-muted);
    cursor: pointer;
    align-items: center;
}

.furnishing-row:hover {
    background: var(--hs-surface-soft);
}

.furnishing-row-main {
    grid-area: main;
    display: block;
    min-width: 0;
}

.furnishing-row-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.furnishing-row-room {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
}

.furnishing-row-title {
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.furnishing-row-sub {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.furnishing-row-type {
    grid-area: type;
    justify-self: end;
    align-self: start;
    color: var(--hs-muted);
    border: 1px solid var(--hs-border);
    border-radius: 999px;
    padding: 2px 9px;
    font-size: .72rem;
    white-space: nowrap;
    background: #fff;
}

.furnishing-row-data {
    grid-area: metrics;
    display: grid;
    grid-template-columns: 48px 80px 68px 68px 72px;
    gap: 12px;
    align-items: center;
    align-self: center;
}

.furnishing-row-data > span {
    min-height: 34px;
    min-width: 0;
    display: grid;
    grid-template-rows: 12px 20px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .9rem;
    white-space: nowrap;
    text-align: right;
}

.furnishing-row-data small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
    text-align: right;
}

.furnishing-row-right {
    grid-area: right;
    align-self: end;
    justify-self: end;
    width: 92px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.furnishing-doc-slot {
    min-height: 34px;
    width: 72px;
    justify-self: center;
    align-self: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;
}

.furnishing-doc-link {
    width: 54px;
    height: 34px;
    padding: 0;
    display: inline-grid !important;
    grid-template-columns: 19px auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #0f2f4a !important;
    border: 1px solid #bdd8f1;
    border-radius: 7px;
    background: #f7fbff;
    box-shadow: none;
    cursor: pointer;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.furnishing-doc-link:hover {
    border-color: var(--hs-blue);
    background: #edf6ff;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.furnishing-doc-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: .86;
    pointer-events: none;
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.furnishing-doc-link b {
    font-size: .78rem;
    font-weight: 600;
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.furnishing-row-completion {
    width: 64px;
    justify-self: end;
    display: grid;
    gap: 4px;
}

.furnishing-row-completion b {
    color: var(--hs-muted);
    font-size: .84rem;
    font-weight: 400;
    text-align: right;
}

@media (max-width: 980px) {
    .furnishing-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main metrics"
            "right type";
        gap: 8px 12px;
        padding: 10px 8px 11px;
    }

    .furnishing-row-data {
        grid-template-columns: 34px 64px 42px 42px;
        gap: 8px;
        align-self: start;
    }

    .furnishing-row-data > span {
        min-height: 30px;
        font-size: .86rem;
    }

    .furnishing-row-data small {
        font-size: .62rem;
    }

    .furnishing-doc-slot {
        display: none !important;
    }

    .furnishing-row-completion {
        width: 104px;
        justify-self: start;
        grid-template-columns: 58px auto;
        align-items: center;
        gap: 8px;
    }

    .furnishing-row-completion b {
        order: 2;
        text-align: left;
        line-height: 1;
    }

    .furnishing-row-completion .comp-track {
        order: 1;
    }

    .furnishing-row-right {
        width: auto;
        justify-self: start;
        align-self: center;
    }

    .furnishing-row-type {
        justify-self: end;
        align-self: center;
    }

    .furnishing-row-title {
        font-size: .98rem;
    }

.furnishing-row-sub {
        font-size: .86rem;
    }
}

/* ===== Vendors Summary Rows ===== */
.vendors-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.vendors-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.vendors-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.vendor-groups {
    display: grid;
    gap: 20px;
    padding-top: 12px;
}

.vendor-group {
    display: grid;
    gap: 0;
}

.vendor-group-header {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.vendor-group-header small {
    color: var(--hs-muted);
    font-size: .78rem;
    font-weight: 400;
    text-transform: none;
}

.vendor-row-list {
    display: grid;
    gap: 0;
}

.vendor-row {
    width: 100%;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    padding: 12px 8px;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr) 44px;
    gap: 18px;
    color: var(--hs-muted);
    cursor: pointer;
    align-items: center;
    box-sizing: border-box;
}

.vendor-row:hover {
    background: var(--hs-surface-soft);
}

.vendor-row-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.vendor-row-skill {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
}

.vendor-row-title {
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-row-sub {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.vendor-skill-pills span {
    color: var(--hs-muted);
    border: 1px solid var(--hs-border);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: .72rem;
    background: #fff;
}

.vendor-row-info {
    display: grid;
    grid-template-columns: 128px minmax(260px, 1fr);
    gap: 14px;
    align-items: center;
}

.vendor-row-info span {
    min-width: 0;
    display: grid;
    grid-template-rows: 12px 20px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-row-info small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

.vendor-row-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.vendor-row-actions a {
    width: 34px;
    height: 34px;
    border: 1px solid #bdd8f1;
    border-radius: 7px;
    background: #f7fbff;
    display: grid;
    place-items: center;
}

.vendor-row-actions a:hover {
    border-color: var(--hs-blue);
    background: #edf6ff;
}

.vendor-row-actions img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 980px) {
    .vendor-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main action"
            "info info";
        gap: 8px 12px;
        padding: 10px 8px 11px;
    }

    .vendor-row-main {
        grid-area: main;
    }

    .vendor-row-info {
        grid-area: info;
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        gap: 8px 14px;
    }

    .vendor-row-actions {
        grid-area: action;
        align-self: start;
    }

    .vendor-row-actions a {
        width: 34px;
        height: 34px;
    }
}

/* ===== Documents Summary Rows ===== */
.documents-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.documents-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.documents-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.document-groups {
    display: grid;
    gap: 20px;
    padding-top: 12px;
}

.document-group {
    display: grid;
    gap: 0;
}

.document-group-header {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.document-group-header small {
    color: var(--hs-muted);
    font-size: .78rem;
    font-weight: 400;
    text-transform: none;
    white-space: nowrap;
}

.document-row-list {
    display: grid;
    gap: 0;
}

.document-row {
    width: 100%;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    padding: 12px 8px 13px;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(330px, 1fr) 44px;
    gap: 18px;
    color: var(--hs-muted);
    cursor: pointer;
    align-items: center;
    box-sizing: border-box;
}

.document-row:hover {
    background: var(--hs-surface-soft);
}

.document-row-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.document-row-type {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
}

.document-row-title {
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-row-sub {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-row-info {
    display: grid;
    grid-template-columns: minmax(120px, .9fr) 82px 96px;
    gap: 14px;
    align-items: center;
}

.document-row-info span {
    min-width: 0;
    display: grid;
    grid-template-rows: 12px 20px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-row-info small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

.document-row-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.document-row-actions button {
    width: 34px;
    height: 34px;
    border: 1px solid #bdd8f1;
    border-radius: 7px;
    background: #f7fbff;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

.document-row-actions button:hover {
    border-color: var(--hs-blue);
    background: #edf6ff;
}

.document-row-actions img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 980px) {
    .documents-page {
        padding: 8px 8px 16px;
    }

    .document-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main action"
            "info info";
        gap: 8px 12px;
        padding: 10px 8px 11px;
        align-items: start;
    }

    .document-row-main {
        grid-area: main;
    }

    .document-row-info {
        grid-area: info;
        grid-template-columns: 1fr 72px 88px;
        gap: 8px 12px;
    }

    .document-row-actions {
        grid-area: action;
    }

    .document-row-title {
        font-size: .98rem;
    }

    .document-row-sub {
        font-size: .86rem;
    }
}

/* ===== Reminders Summary Rows ===== */
.reminders-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.reminders-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.reminders-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.reminder-groups {
    display: grid;
    gap: 20px;
    padding-top: 12px;
}

.reminder-group {
    display: grid;
    gap: 0;
}

.reminder-group-header {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.reminder-group-header small {
    color: var(--hs-muted);
    font-size: .78rem;
    font-weight: 400;
    text-transform: none;
    white-space: nowrap;
}

.reminder-row-list {
    display: grid;
    gap: 0;
}

.reminder-row {
    width: 100%;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    padding: 12px 8px 13px;
    display: grid;
    grid-template-columns: minmax(300px, .95fr) minmax(360px, 1fr) 84px;
    gap: 18px;
    color: var(--hs-muted);
    cursor: pointer;
    align-items: center;
    box-sizing: border-box;
}

.reminder-row:hover {
    background: var(--hs-surface-soft);
}

.reminder-row-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.reminder-row-status {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
}

.reminder-row.overdue .reminder-row-status,
.reminder-row.overdue .reminder-row-info span:last-child {
    color: #b42318;
}

.reminder-row.duesoon .reminder-row-status,
.reminder-row.duesoon .reminder-row-info span:last-child {
    color: #9a5b00;
}

.reminder-row-title {
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reminder-row-sub {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reminder-row-info {
    display: grid;
    grid-template-columns: minmax(92px, .75fr) minmax(130px, 1fr) minmax(105px, .8fr);
    gap: 14px;
    align-items: center;
}

.reminder-row-info span {
    min-width: 0;
    display: grid;
    grid-template-rows: 12px 20px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reminder-row-info small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

.reminder-row-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.reminder-row-actions button {
    width: 34px;
    height: 34px;
    border: 1px solid #bdd8f1;
    border-radius: 7px;
    background: #f7fbff;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

.reminder-row-actions button:hover {
    border-color: var(--hs-blue);
    background: #edf6ff;
}

.reminder-row-actions button.danger {
    border-color: #f0c5c0;
    background: #fff9f8;
}

.reminder-row-actions button.danger:hover {
    border-color: #d92d20;
    background: #fff1ef;
}

.reminder-row-actions img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 980px) {
    .reminders-page {
        padding: 8px 8px 16px;
    }

    .reminder-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main action"
            "info info";
        gap: 8px 12px;
        padding: 10px 8px 11px;
        align-items: start;
    }

    .reminder-row-main {
        grid-area: main;
    }

    .reminder-row-info {
        grid-area: info;
        grid-template-columns: 1fr 1fr 96px;
        gap: 8px 12px;
    }

    .reminder-row-actions {
        grid-area: action;
    }

    .reminder-row-actions button.danger {
        display: none;
    }

    .reminder-row-title {
        font-size: .98rem;
    }

    .reminder-row-sub {
        font-size: .86rem;
    }
}

/* ===== Maintenance Summary Rows ===== */
.maintenance-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.maintenance-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.maintenance-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.maintenance-groups {
    display: grid;
    gap: 20px;
    padding-top: 12px;
}

.maintenance-group {
    display: grid;
    gap: 0;
}

.maintenance-group-header {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.maintenance-group-header small {
    color: var(--hs-muted);
    font-size: .78rem;
    font-weight: 400;
    text-transform: none;
    white-space: nowrap;
}

.maintenance-row-list {
    display: grid;
    gap: 0;
}

.maintenance-row {
    width: 100%;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    padding: 12px 8px 13px;
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(280px, .9fr) minmax(220px, .8fr) 44px;
    gap: 18px;
    color: var(--hs-muted);
    cursor: pointer;
    align-items: center;
    box-sizing: border-box;
}

.maintenance-row:hover {
    background: var(--hs-surface-soft);
}

.maintenance-row-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.maintenance-row-type {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
}

.maintenance-row-title {
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maintenance-row-sub,
.maintenance-row-notes span {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maintenance-row-info {
    display: grid;
    grid-template-columns: minmax(96px, .85fr) minmax(82px, .65fr) minmax(96px, .85fr);
    gap: 14px;
    align-items: center;
}

.maintenance-row-info span {
    min-width: 0;
    display: grid;
    grid-template-rows: 12px 20px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maintenance-row-info small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

.maintenance-row-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.maintenance-row-actions button {
    width: 34px;
    height: 34px;
    border: 1px solid #bdd8f1;
    border-radius: 7px;
    background: #f7fbff;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

.maintenance-row-actions button:hover {
    border-color: var(--hs-blue);
    background: #edf6ff;
}

.maintenance-row-actions img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.maintenance-doc-count {
    min-width: 38px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #bdd8f1;
    border-radius: 7px;
    background: #f7fbff;
    color: var(--hs-blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .86rem;
}

.maintenance-detail-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 22px;
    box-sizing: border-box;
}

.maintenance-detail-hero {
    min-height: 84px;
    border-bottom: 1px solid var(--hs-border);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, auto);
    gap: 18px;
    align-items: center;
    padding: 8px 2px 14px;
}

.maintenance-detail-hero h1 {
    margin: 3px 0 0;
    color: var(--hs-text);
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.25;
}

.maintenance-detail-hero p {
    margin: 4px 0 0;
    color: var(--hs-muted);
    font-size: .94rem;
}

.maintenance-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    gap: 16px;
    justify-items: end;
}

.maintenance-detail-stats span {
    display: grid;
    grid-template-rows: 13px 22px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .96rem;
    text-align: right;
    white-space: nowrap;
}

.maintenance-detail-stats small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

.maintenance-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 38%);
    gap: 28px;
    align-items: start;
    padding-top: 16px;
}

.maintenance-detail-main,
.maintenance-detail-side {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.maintenance-detail-card {
    border-bottom: 1px solid var(--hs-border);
    padding-bottom: 18px;
}

.maintenance-section-head {
    min-height: 34px;
    display: flex;
    align-items: center;
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.maintenance-media-actions {
    margin: 2px 0 12px;
}

.maintenance-media-empty {
    min-height: 74px;
    display: grid;
    place-items: center start;
    color: var(--hs-muted);
    font-size: .9rem;
    border-top: 1px solid var(--hs-border);
}

.maintenance-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.maintenance-photo-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--hs-surface-soft);
}

.maintenance-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.maintenance-photo-card button {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--hs-text);
    cursor: pointer;
}

.maintenance-editor-wrap {
    position: fixed;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 18px;
    z-index: 4200;
    display: grid;
    place-items: start center;
    background: rgba(15, 23, 42, .28);
    box-sizing: border-box;
}

.maintenance-editor {
    width: min(820px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    margin: 38px 0 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .24);
    box-sizing: border-box;
}

.maintenance-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.maintenance-notes {
    min-height: 88px;
    resize: vertical;
}

.maintenance-checkbox {
    min-height: 37px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hs-text);
    font-size: .9rem;
}

.maintenance-checkbox.inline {
    min-height: 30px;
    padding-top: 1px;
}

.maintenance-detail-form {
    margin-top: 0;
}

.maintenance-detail-actions {
    width: 96%;
    margin: 6px auto 12px;
    display: flex;
    justify-content: flex-end;
}

.maintenance-upload-name,
.maintenance-error {
    display: block;
    margin-top: 8px;
    color: var(--hs-muted);
    font-size: .86rem;
}

.maintenance-error {
    color: #b42318;
}

.maintenance-related {
    width: 96%;
    margin: 12px auto;
    border-top: 1px solid var(--hs-border);
    padding-top: 10px;
}

.maintenance-related-head {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.maintenance-related-empty {
    color: var(--hs-muted);
    font-size: .88rem;
    padding: 8px 0;
}

.maintenance-related-list {
    display: grid;
    gap: 0;
}

.maintenance-related-row {
    border: 0;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    padding: 10px 2px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--hs-text);
    text-align: left;
    cursor: pointer;
}

.maintenance-related-row:hover {
    background: var(--hs-surface-soft);
}

.maintenance-related-row small {
    color: var(--hs-muted);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .maintenance-page {
        padding: 8px 8px 16px;
    }

    .maintenance-detail-page {
        padding: 8px 8px 18px;
    }

    .maintenance-detail-hero {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }

    .maintenance-detail-stats {
        justify-items: start;
        gap: 10px;
    }

    .maintenance-detail-stats span {
        text-align: left;
    }

    .maintenance-detail-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .maintenance-photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    }

    .maintenance-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main action"
            "info info"
            "notes notes";
        gap: 8px 12px;
        padding: 10px 8px 11px;
        align-items: start;
    }

    .maintenance-row-main {
        grid-area: main;
    }

    .maintenance-row-info {
        grid-area: info;
        grid-template-columns: 1fr 82px 1fr;
        gap: 8px 12px;
    }

    .maintenance-row-notes {
        grid-area: notes;
    }

    .maintenance-row-actions {
        grid-area: action;
    }

    .maintenance-row-title {
        font-size: .98rem;
    }

    .maintenance-row-sub,
    .maintenance-row-notes span {
        font-size: .86rem;
    }

    .maintenance-form-grid {
        grid-template-columns: 1fr;
    }

    .maintenance-editor {
        margin-top: 16px;
        padding: 14px;
    }
}

/* ===== Finishes Summary Rows ===== */
.finishes-page {
    width: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    box-sizing: border-box;
}

.finishes-meta {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--hs-muted);
    font-size: .88rem;
    border-bottom: 1px solid var(--hs-border);
}

.finishes-meta span:first-child {
    color: var(--hs-text);
    font-weight: 500;
}

.finish-groups {
    display: grid;
    gap: 20px;
    padding-top: 12px;
}

.finish-group {
    display: grid;
    gap: 0;
}

.finish-group-header {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-blue-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.finish-group-header small {
    color: var(--hs-muted);
    font-size: .78rem;
    font-weight: 400;
    text-transform: none;
    white-space: nowrap;
}

.finish-row-list {
    display: grid;
    gap: 0;
}

.finish-row {
    width: 100%;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    padding: 12px 8px 13px;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(430px, 1.1fr);
    gap: 18px;
    color: var(--hs-muted);
    cursor: pointer;
    align-items: center;
    box-sizing: border-box;
}

.finish-row:hover {
    background: var(--hs-surface-soft);
}

.finish-row-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.finish-row-type {
    color: var(--hs-blue-dark);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
}

.finish-row-title {
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finish-row-sub {
    color: var(--hs-muted);
    font-size: .9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finish-row-mobile-detail {
    display: none;
}

.finish-row-info {
    display: grid;
    gap: 12px;
    align-items: center;
}

.finish-row-info {
    grid-template-columns: minmax(120px, .7fr) minmax(150px, .8fr) minmax(190px, 1fr) minmax(90px, .5fr);
}

.finish-row-info span {
    min-width: 0;
    display: grid;
    grid-template-rows: 12px 20px;
    gap: 2px;
    color: var(--hs-text);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finish-row-info small {
    color: var(--hs-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .finishes-page {
        padding: 8px 8px 16px;
    }

    .finish-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main brand"
            "main brand";
        gap: 5px 12px;
        padding: 10px 8px 11px;
        align-items: start;
    }

    .finish-row-main {
        grid-area: main;
    }

    .finish-row-info {
        display: contents;
    }

    .finish-row-info span {
        grid-template-rows: auto;
        min-height: 0;
        font-size: .86rem;
        line-height: 1.2;
    }

    .finish-row-info small {
        display: none;
    }

    .finish-info-brand {
        grid-area: brand;
        max-width: 132px;
        text-align: right;
        align-self: start;
    }

    .finish-info-purchased {
        display: none !important;
    }

    .finish-info-color {
        display: none !important;
    }

    .finish-info-sheen {
        display: none !important;
    }

    .finish-row-title {
        font-size: .98rem;
    }

    .finish-row-sub {
        display: none;
    }

    .finish-row-mobile-detail {
        display: block;
        color: var(--hs-muted);
        font-size: .86rem;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.room-card-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 35, 54, 0), rgba(11, 35, 54, .08));
}

.room-card-photo img {
    position: relative;
    z-index: 1;
    width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.room-card-name {
    color: var(--hs-text);
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.room-card-meta {
    margin-top: 5px;
    color: var(--hs-muted);
    font-size: .8rem;
}

.room-progress {
    height: 5px;
    margin-top: 9px;
    border-radius: 999px;
    overflow: hidden;
}

.room-progress-fill {
    height: 100%;
    border-radius: 999px;
}

.scroll > .w98,
.scroll > .w96,
.scroll > .showSmall,
.scroll > .showLarge,
.scroll > .rm-listWrap,
.scroll > .trans45Div,
.trans45Div > .showLarge,
.trans45Div > .showSmall,
.trans45Div > .rm-listWrap {
    box-sizing: border-box;
    max-width: 100%;
}

.scroll > .w98,
.scroll > .w96 {
    width: 100%;
}

/* ===== Nav jazz pass: mobile ===== */
.sheet {
    background:
        linear-gradient(180deg, #eef6fb 0, #eef6fb 82px, #f8fafc 82px, #f8fafc 100%);
}

.sheet-handle {
    background: #c8d6e5;
}

.sheet-home-name {
    border-bottom-color: #dce5ef;
    color: #25323f;
}

.sheet-nav {
    padding-top: 6px;
}

.sheet-nav-item {
    background: #fff;
    border-color: #e2ebf3;
    box-shadow: 0 1px 2px rgba(31, 54, 77, .05);
}

.sheet-nav-active {
    background: #eaf3f9;
    border-color: #c8ddeb;
    box-shadow: inset 4px 0 0 #2f6f9f, 0 5px 14px rgba(31, 54, 77, .08);
}
