* {
    box-sizing: border-box;
}

:root {
    --navy: #092039;
    --navy2: #102b47;
    --orange: #ff982d;
    --green: #42a85d;
    --blue: #2f6fb8;
    --purple: #743be0;
    --bg: #f7f8fa;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e3e6eb;
    --shadow: 0 5px 20px rgba(15, 35, 58, .08);
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.app-layout {
    min-height: 100%;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;

    width: 270px;

    display: flex;
    flex-direction: column;

    padding: 24px 18px;

    overflow-y: auto;

    background:
        linear-gradient(
            180deg,
            #071d33 0%,
            #0b2743 55%,
            #071c31 100%
        );

    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 34px;

    color: #fff;
    text-decoration: none;
}

.brand-raccoon {
    font-size: 44px;
    line-height: 1;
}

.brand > span:last-child {
    display: grid;
}

.brand strong {
    font-size: 31px;
    letter-spacing: -1.3px;
}

.brand strong span,
.mobile-bar strong span {
    color: var(--orange);
}

.brand small {
    margin-top: 2px;
    font-size: 12px;
    color: #fff;
}

.side-nav {
    display: grid;
    gap: 5px;
}

.side-nav a {
    min-height: 42px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 9px 13px;

    border-radius: 8px;

    color: #f3f6fa;
    text-decoration: none;

    font-size: 15px;
    font-weight: 650;
}

.side-nav a span {
    width: 22px;
    text-align: center;
    font-size: 20px;
}

.side-nav a:hover,
.side-nav a.active {
    background: rgba(255,255,255,.13);
}

.nav-line {
    height: 1px;
    margin: 14px 5px;
    background: rgba(255,255,255,.15);
}

.nook-helper {
    margin-top: auto;

    padding-top: 34px;

    text-align: center;
}

.helper-raccoon {
    font-size: 91px;
    line-height: 1;
}

.nook-helper strong {
    display: block;

    margin-top: 12px;
    padding: 18px 10px 4px;

    border-top: 1px solid rgba(255,255,255,.13);
}

.nook-helper p {
    margin: 7px 0 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.55;
}

.main-area {
    min-height: 100%;
    margin-left: 270px;
}

.mobile-bar {
    display: none;
}

.flash-area {
    position: fixed;
    z-index: 100;
    top: 20px;
    right: 20px;
}

.flash {
    margin-bottom: 8px;
    padding: 12px 16px;

    border-radius: 9px;

    background: var(--navy);
    color: #fff;

    box-shadow: var(--shadow);
}

.flash.error {
    background: #b4232f;
}

.dashboard-page,
.content-page {
    width: min(100% - 64px, 1200px);
    margin: 0 auto;
    padding: 44px 0 70px;
}

.content-page.narrow {
    max-width: 900px;
}

.welcome {
    position: relative;
    z-index: 2;

    min-height: 156px;

    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.welcome h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -.8px;
}

.welcome p {
    margin: 8px 0 0;
    color: #3e4959;
}

.profile-area {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bell {
    margin-top: 10px;
    font-size: 20px;
}

.avatar {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--navy);
    color: #fff;

    font-size: 12px;
    font-weight: 800;
}

.profile-area strong {
    margin-top: 9px;
    font-size: 13px;
}

.hero-raccoon {
    position: absolute;
    top: 44px;
    left: calc(270px + 58%);

    z-index: 1;

    font-size: 120px;

    opacity: .96;
    pointer-events: none;
}

.stat-grid {
    position: relative;
    z-index: 4;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;

    margin-top: -3px;
    margin-bottom: 40px;
}

.stat-card {
    min-width: 0;
    min-height: 110px;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: #fff;
    box-shadow: var(--shadow);

    text-decoration: none;
}

.stat-icon {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;
    font-size: 22px;
}

.stat-card.total .stat-icon {
    background: var(--navy);
}

.stat-card.personal .stat-icon {
    background: var(--green);
}

.stat-card.work .stat-icon {
    background: var(--blue);
}

.stat-card.favorites .stat-icon {
    background: var(--orange);
}

.stat-card > span:last-child {
    min-width: 0;
    display: grid;
}

.stat-card small {
    font-size: 13px;
}

.stat-card strong {
    margin: 1px 0;
    font-size: 29px;
    line-height: 1;
}

.stat-card em {
    margin-top: 5px;
    font-size: 11px;
    font-style: normal;
    color: #566173;
}

.section-title-row,
.page-heading,
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.section-title-row {
    margin-bottom: 18px;
}

.section-title-row h2,
.page-heading h1 {
    margin: 0;
}

.page-heading {
    margin-bottom: 24px;
}

.page-heading p {
    margin: 5px 0 0;
    color: var(--muted);
}

.dark-button,
.light-button,
.danger-button,
.quick-form button,
.note-form button,
.filters button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 15px;

    border: 0;
    border-radius: 6px;

    cursor: pointer;

    font-weight: 750;
    text-decoration: none;
}

.dark-button,
.quick-form button,
.note-form button,
.filters button {
    background: var(--navy);
    color: #fff;
}

.light-button {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
}

.danger-button {
    background: #b4232f;
    color: #fff;
}

.recent-grid,
.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.property-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #fff;

    box-shadow: var(--shadow);
}

.card-photo {
    position: relative;

    display: block;
    height: 190px;

    overflow: hidden;

    background: #e7ebef;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-card-photo {
    width: 100%;
    height: 100%;

    display: grid;
    place-content: center;
    gap: 5px;

    color: #83909f;
    text-align: center;
}

.no-card-photo span {
    font-size: 45px;
}

.stage-badge {
    position: absolute;
    left: 12px;
    bottom: 8px;

    padding: 4px 9px;

    border-radius: 5px;

    background: #eee6ff;
    color: #6634cc;

    font-size: 10px;
    font-weight: 800;
}

.stage-saved {
    background: #fff1dd;
    color: #bb6b12;
}

.stage-tour-scheduled {
    background: #e8f1ff;
    color: #2a65ba;
}

.stage-application-sent {
    background: #e8f7e8;
    color: #27803d;
}

.stage-approved {
    background: #def4e5;
    color: #22723a;
}

.heart-form {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
}

.heart-form button {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.88);

    cursor: pointer;

    color: #334054;
    font-size: 20px;
}

.heart-form button.favorite {
    color: var(--orange);
}

.card-body {
    padding: 13px 14px;
}

.card-address {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #111;
    font-weight: 800;
    text-decoration: none;
}

.card-location {
    min-height: 32px;
    margin: 5px 0 9px;

    color: #4d5867;
    font-size: 12px;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    color: #333e4e;

    font-size: 11px;
}

.card-rent {
    margin-top: 15px;
}

.card-rent strong {
    font-size: 18px;
}

.card-rent span {
    color: var(--muted);
    font-size: 11px;
}

.card-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 15px;
    padding-top: 10px;

    border-top: 1px solid var(--border);
}

.card-footer small {
    color: var(--muted);
    font-size: 9px;
}

.card-footer a {
    text-decoration: none;
    font-weight: 900;
}

.dashboard-bottom {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 26px;

    margin-top: 28px;
}

.overview-panel,
.reminder-panel,
.detail-card,
.form-card,
.list-panel,
.offline-card {
    border: 1px solid var(--border);
    border-radius: 9px;

    background: #fff;

    box-shadow: var(--shadow);
}

.overview-panel,
.reminder-panel,
.detail-card {
    padding: 20px;
}

.overview-panel h3,
.reminder-panel h3 {
    margin: 0;
}

.status-layout {
    min-height: 200px;

    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 20px;
}

.donut {
    width: 145px;
    height: 145px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--purple) 0 25%,
            var(--orange) 25% 46%,
            #4289e0 46% 75%,
            #70c98d 75% 92%,
            #d9dde3 92% 100%
        );

    position: relative;
}

.donut::after {
    content: "";

    position: absolute;

    width: 88px;
    height: 88px;

    border-radius: 50%;

    background: #fff;
}

.donut span {
    position: relative;
    z-index: 2;

    display: grid;

    text-align: center;
    font-size: 11px;
}

.donut strong {
    font-size: 25px;
}

.status-list {
    display: grid;
    gap: 10px;
}

.status-list > div {
    display: flex;
    justify-content: space-between;

    font-size: 12px;
}

.status-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 6px;

    border-radius: 50%;

    background: var(--purple);
}

.panel-heading a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.reminder-list {
    display: grid;
    gap: 8px;

    margin-top: 12px;
}

.reminder-row {
    display: grid;
    grid-template-columns: 47px 1fr auto;
    align-items: center;
    gap: 12px;

    padding: 8px 0;

    border-bottom: 1px solid #eef0f3;
}

.date-box {
    display: grid;
    place-items: center;

    min-height: 49px;

    border-radius: 7px;

    background: #f4f5f7;
}

.date-box small {
    color: var(--orange);
    font-size: 10px;
}

.date-box strong {
    font-size: 15px;
}

.reminder-copy {
    min-width: 0;
    display: grid;
}

.reminder-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 13px;
}

.reminder-copy span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.reminder-type {
    padding: 5px 8px;

    border-radius: 5px;

    background: #eaf4ff;
    color: #276db6;

    font-size: 9px;
    font-weight: 700;
}

.filters,
.quick-form,
.note-form {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 22px;

    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: #fff;
}

.filters input,
.filters select,
.quick-form input,
.quick-form select,
.note-form input,
.note-form select,
.form-card input,
.form-card select,
.form-card textarea,
.photo-add input {
    min-height: 42px;

    padding: 9px 11px;

    border: 1px solid #d8dde5;
    border-radius: 6px;

    background: #fff;

    font-size: 14px;
}

.filters input {
    flex: 1;
    min-width: 220px;
}

.quick-form input,
.quick-form select {
    flex: 1 1 160px;
}

.note-form textarea {
    flex-basis: 100%;
    width: 100%;

    padding: 10px;

    border: 1px solid #d8dde5;
    border-radius: 6px;
}

.form-card {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-card label {
    display: grid;
    gap: 6px;

    font-size: 12px;
    font-weight: 700;
}

.form-card label.full {
    grid-column: 1 / -1;
}

.form-card textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 20px;
}

.form-actions a {
    color: var(--muted);
}

.heading-actions,
.row-actions,
.photo-add {
    display: flex;
    align-items: center;
    gap: 8px;
}

.orange-label {
    color: var(--orange);
    font-weight: 800;
}

.detail-card {
    margin-bottom: 18px;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.detail-stats div {
    display: grid;
    gap: 4px;
}

.detail-stats small {
    color: var(--muted);
}

.detail-stats strong {
    font-size: 18px;
}

.photo-add {
    margin: 15px 0;
}

.photo-add input {
    flex: 1;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery article {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.gallery img {
    width: 100%;
    height: 190px;

    display: block;

    object-fit: cover;
}

.gallery form {
    padding: 7px;
}

.gallery button {
    width: 100%;

    padding: 7px;

    border: 0;
    border-radius: 5px;

    background: #fff0f1;
    color: #a62933;

    cursor: pointer;
}

.detail-list {
    display: grid;
    gap: 1px;

    margin: 10px 0 18px;
}

.detail-list div,
.report-line {
    display: flex;
    justify-content: space-between;

    padding: 11px 0;

    border-bottom: 1px solid var(--border);
}

.notes-box {
    margin-top: 18px;

    padding: 15px;

    border-radius: 7px;

    background: #f8f9fb;

    white-space: pre-wrap;
}

.inline-button {
    margin-top: 6px;
}

.data-grid,
.report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.data-card,
.report-card {
    padding: 17px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #fff;

    box-shadow: var(--shadow);
}

.data-card h3 {
    margin: 0 0 5px;
}

.data-card p {
    margin: 6px 0;
    color: #566173;
}

.note-body {
    white-space: pre-wrap;
}

.report-card {
    display: grid;
    gap: 8px;
}

.report-card small {
    color: var(--muted);
}

.report-card strong {
    font-size: 27px;
}

.list-panel {
    overflow: hidden;
}

.task-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 14px 16px;

    border-bottom: 1px solid var(--border);
}

.task-row > div:first-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.task-row span {
    color: var(--muted);
    font-size: 11px;
}

.task-row.done strong {
    text-decoration: line-through;
    color: var(--muted);
}

.row-actions form {
    margin: 0;
}

.row-actions button,
.row-actions a,
.text-danger {
    padding: 6px 8px;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: var(--blue);

    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.text-danger {
    color: #b4232f !important;
}

.empty-state {
    grid-column: 1 / -1;

    min-height: 240px;

    display: grid;
    place-content: center;
    justify-items: center;

    padding: 30px;

    border: 1px dashed #cbd2dc;
    border-radius: 9px;

    background: #fff;

    text-align: center;
}

.empty-state span {
    font-size: 50px;
}

.empty-state h3 {
    margin: 9px 0 0;
}

.empty-state p {
    color: var(--muted);
}

.empty-mini {
    padding: 24px;
    color: var(--muted);
    text-align: center;
}

.changelog {
    margin: 0;

    white-space: pre-wrap;

    font-family: inherit;
    line-height: 1.65;
}

.offline-card {
    padding: 60px 30px;
    text-align: center;
}

.offline-raccoon {
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
}

.offline-raccoon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;

    padding: 20px 25px 30px;

    color: #8a94a3;

    font-size: 10px;
}

.footer a {
    color: var(--orange);
    font-weight: 700;
}


@media (max-width: 1150px) {

    .recent-grid,
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-raccoon {
        left: calc(270px + 63%);
        opacity: .25;
    }

    .data-grid,
    .report-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 820px) {

    .sidebar {
        display: none;
    }

    .main-area {
        margin-left: 0;
    }

    .mobile-bar {
        position: sticky;
        top: 0;
        z-index: 50;

        min-height: 58px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 8px 13px;

        border-bottom: 1px solid var(--border);

        background: rgba(255,255,255,.96);

        backdrop-filter: blur(12px);
    }

    .mobile-bar > a:first-child {
        color: var(--navy);
        font-size: 18px;
        text-decoration: none;
    }

    .mobile-add {
        width: 40px;
        height: 40px;

        display: grid;
        place-items: center;

        border-radius: 7px;

        background: var(--navy);
        color: #fff;

        font-size: 23px;
        text-decoration: none;
    }

    .dashboard-page,
    .content-page {
        width: calc(100% - 22px);
        padding-top: 22px;
    }

    .welcome {
        min-height: auto;
        margin-bottom: 19px;
    }

    .welcome h1 {
        font-size: 25px;
    }

    .profile-area,
    .hero-raccoon {
        display: none;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .stat-card {
        min-height: 94px;
        padding: 13px;
        gap: 10px;
    }

    .stat-icon {
        width: 39px;
        height: 39px;
    }

    .stat-card strong {
        font-size: 23px;
    }

    .recent-grid,
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .card-photo {
        height: 235px;
    }

    .dashboard-bottom {
        grid-template-columns: 1fr;
    }

    .status-layout {
        grid-template-columns: 150px 1fr;
    }

    .donut {
        width: 125px;
        height: 125px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid,
    .detail-stats,
    .data-grid,
    .report-grid {
        grid-template-columns: 1fr;
    }

    .form-card label.full {
        grid-column: auto;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .task-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .row-actions {
        width: 100%;
    }

}


@media (max-width: 470px) {

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-card em {
        display: none;
    }

    .section-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .dark-button {
        width: 100%;
    }

    .status-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .status-list {
        width: 100%;
    }

    .reminder-row {
        grid-template-columns: 43px 1fr;
    }

    .reminder-type {
        display: none;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        height: 240px;
    }

}


/* =========================================================
   PROPNOOK v1.1.1
   OFFICIAL NOOK MASCOT
   ========================================================= */

.brand-raccoon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    overflow: visible;
}

.brand-raccoon img {
    width: 62px;
    height: 62px;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 3px 4px
            rgba(0,0,0,.18)
        );
}


/* SIDEBAR NOOK */

.helper-raccoon {
    width: 100%;
    height: 225px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;
}

.helper-raccoon img {
    width: 205px;
    max-width: none;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 9px 10px
            rgba(0,0,0,.24)
        );
}

.nook-helper {
    padding-top: 20px;
}

.nook-helper strong {
    margin-top: -3px;
}


/* DASHBOARD HERO NOOK */

.hero-raccoon {
    position: absolute;

    top: 25px;
    right: 72px;
    left: auto;

    z-index: 1;

    width: 320px;
    height: 205px;

    overflow: hidden;

    opacity: 1;

    pointer-events: none;
}

.hero-raccoon img {
    position: absolute;

    right: 0;
    bottom: -185px;

    width: 300px;
    max-width: none;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 9px 12px
            rgba(20,35,55,.15)
        );
}


/* SUBTLE HOUSE-LIKE HERO BACKDROP */

.hero-raccoon::before {
    content: "";

    position: absolute;

    z-index: -1;

    left: -280px;
    right: -35px;
    bottom: 0;

    height: 100px;

    border-radius: 60% 60% 0 0;

    background:
        linear-gradient(
            180deg,
            rgba(230,235,240,0),
            rgba(225,232,236,.7)
        );
}


/* MOBILE HEADER */

.mobile-nook {
    width: 37px;
    height: 37px;

    margin-right: 5px;

    object-fit: contain;

    vertical-align: middle;
}


/* MAKE SURE CONTENT STAYS ABOVE HERO */

.welcome,
.stat-grid {
    position: relative;
    z-index: 3;
}


@media (max-width: 1150px) {

    .hero-raccoon {
        right: 20px;
        width: 265px;
        opacity: .28;
    }

    .hero-raccoon img {
        width: 255px;
    }

}


@media (max-width: 820px) {

    .hero-raccoon {
        display: none;
    }

}


/* =========================================================
   PROPNOOK v1.1.2
   FINAL DASHBOARD / UI POLISH
   ========================================================= */

:root {
    --pn-navy: #10263d;
    --pn-navy-2: #18344f;
    --pn-orange: #ef7d32;
    --pn-orange-soft: #fff1e7;
    --pn-bg: #f6f8fb;
    --pn-card: #ffffff;
    --pn-text: #172333;
    --pn-muted: #7f8b99;
    --pn-border: #e7ebf0;
    --pn-green: #43a877;
    --pn-shadow: 0 10px 30px rgba(24, 52, 79, .08);
}


/* ---------- ENTIRE APP ---------- */

html,
body {
    min-height: 100%;
    background: var(--pn-bg);
}

body {
    color: var(--pn-text);
    -webkit-font-smoothing: antialiased;
}

.app-shell {
    background: var(--pn-bg);
}


/* ---------- SIDEBAR ---------- */

.sidebar {
    background:
        linear-gradient(
            180deg,
            #10263d 0%,
            #0d2135 100%
        );

    width: 250px;
    min-width: 250px;

    box-shadow:
        12px 0 35px
        rgba(16, 38, 61, .08);
}

.sidebar .brand {
    padding: 25px 22px 19px;
}

.brand-name,
.logo-text,
.sidebar h1 {
    letter-spacing: -.6px;
}

.brand-name strong,
.logo-text strong {
    color: #fff;
}

.brand-name span,
.logo-text span,
.brand-orange {
    color: var(--pn-orange);
}

.brand-tagline,
.sidebar-tagline {
    color: rgba(255,255,255,.56);
    font-size: 11px;
    line-height: 1.3;
}


/* Sidebar nav */

.sidebar nav,
.sidebar-nav {
    padding: 8px 14px;
}

.sidebar a,
.nav-link {
    border-radius: 10px;
    margin: 3px 0;

    color: rgba(255,255,255,.72);

    transition:
        background .16s ease,
        color .16s ease,
        transform .16s ease;
}

.sidebar a:hover,
.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
}

.sidebar a.active,
.nav-link.active {
    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(239,125,50,.24),
            rgba(239,125,50,.10)
        );

    box-shadow:
        inset 3px 0 0
        var(--pn-orange);
}

.sidebar-divider,
.nav-divider {
    border-color: rgba(255,255,255,.10);
}


/* Nook helper */

.nook-helper {
    margin: 16px 15px 18px;

    border:
        1px solid
        rgba(255,255,255,.09);

    background:
        rgba(255,255,255,.045);

    border-radius: 18px;

    overflow: hidden;
}

.nook-helper strong {
    color: white;
}

.nook-helper p {
    color: rgba(255,255,255,.60);
}


/* ---------- MAIN AREA ---------- */

.main-content,
.main {
    background: var(--pn-bg);

    padding:
        26px
        clamp(22px, 3vw, 44px)
        40px;
}


/* ---------- TOP / WELCOME ---------- */

.welcome h1,
.page-title h1 {
    font-size:
        clamp(25px, 2.4vw, 34px);

    letter-spacing: -.8px;

    color: var(--pn-text);

    margin-bottom: 4px;
}

.welcome p,
.page-title p {
    color: var(--pn-muted);
}


/* ---------- HERO ---------- */

.dashboard-hero,
.hero {
    position: relative;

    min-height: 190px;

    padding: 27px 34px;

    overflow: hidden;

    border:
        1px solid
        #e8edf2;

    border-radius: 22px;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f8fafc 57%,
            #edf1f4 100%
        );

    box-shadow: var(--pn-shadow);
}

.dashboard-hero::after,
.hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -90px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(239,125,50,.08);

    pointer-events: none;
}

.hero-raccoon {
    z-index: 2;
}

.hero-raccoon img {
    filter:
        drop-shadow(
            0 12px 16px
            rgba(28,44,62,.17)
        );
}


/* ---------- BUTTONS ---------- */

.btn,
button,
.button {
    border-radius: 10px;

    transition:
        transform .14s ease,
        box-shadow .14s ease,
        background .14s ease;
}

.btn:hover,
button:hover,
.button:hover {
    transform: translateY(-1px);
}

.btn-primary,
.primary-btn,
.add-property-btn {
    background: var(--pn-orange);
    border-color: var(--pn-orange);
    color: white;

    box-shadow:
        0 6px 15px
        rgba(239,125,50,.22);
}

.btn-primary:hover,
.primary-btn:hover,
.add-property-btn:hover {
    background: #df6e29;
}


/* ---------- STATS ---------- */

.stat-grid,
.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 15px;

    margin-top: 20px;
}

.stat-card {
    background: white;

    border:
        1px solid
        var(--pn-border);

    border-radius: 16px;

    padding: 19px 20px;

    box-shadow:
        0 6px 20px
        rgba(24,52,79,.045);

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.stat-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px
        rgba(24,52,79,.09);
}

.stat-card .value,
.stat-value,
.stat-number {
    color: var(--pn-text);

    font-size: 27px;
    font-weight: 800;

    letter-spacing: -.8px;
}

.stat-card .label,
.stat-label {
    color: var(--pn-muted);

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


/* ---------- SECTION HEADERS ---------- */

.section-header {
    margin-bottom: 13px;
}

.section-header h2,
.section-title {
    font-size: 18px;
    font-weight: 800;

    letter-spacing: -.3px;
}

.section-header a {
    color: var(--pn-orange);
    font-weight: 700;
}


/* ---------- PROPERTY CARDS ---------- */

.property-grid,
.properties-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(245px, 1fr)
        );

    gap: 18px;
}

.property-card {
    background: white;

    border:
        1px solid
        var(--pn-border);

    border-radius: 17px;

    overflow: hidden;

    box-shadow:
        0 6px 22px
        rgba(24,52,79,.055);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.property-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 32px
        rgba(24,52,79,.11);
}

.property-card img,
.property-image img {
    width: 100%;
    object-fit: cover;
}

.property-image {
    background: #e9eef2;
}

.property-card h3 {
    color: var(--pn-text);
    letter-spacing: -.3px;
}

.property-card .address,
.property-address {
    color: var(--pn-muted);
}

.property-card .rent,
.property-rent {
    color: var(--pn-text);
    font-weight: 800;
}


/* ---------- STATUS BADGES ---------- */

.badge,
.status-badge,
.stage-badge {
    border-radius: 999px;

    padding: 5px 10px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1px;
}

.badge-saved {
    background: #edf2f6;
    color: #586778;
}

.badge-contact {
    background: #edf4ff;
    color: #4c6e9f;
}

.badge-tour {
    background: #f5eeff;
    color: #7657a5;
}

.badge-apply {
    background: #fff0e6;
    color: #b65f23;
}

.badge-waiting {
    background: #fff8db;
    color: #947920;
}

.badge-approved {
    background: #e8f7ef;
    color: #2f805a;
}

.badge-passed {
    background: #f2f2f2;
    color: #777;
}


/* ---------- FAVORITE ---------- */

.favorite-btn,
.heart-btn {
    border-radius: 50%;

    background:
        rgba(255,255,255,.94);

    box-shadow:
        0 3px 12px
        rgba(15,30,45,.12);
}


/* ---------- DASHBOARD LOWER PANELS ---------- */

.dashboard-grid,
.dashboard-bottom-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(280px, .65fr);

    gap: 20px;

    margin-top: 22px;
}

.panel,
.dashboard-panel,
.card-panel {
    background: white;

    border:
        1px solid
        var(--pn-border);

    border-radius: 18px;

    padding: 21px;

    box-shadow:
        0 6px 22px
        rgba(24,52,79,.05);
}


/* ---------- REMINDERS ---------- */

.reminder-item,
.task-row {
    border-bottom:
        1px solid
        #eef1f4;

    padding:
        11px
        2px;
}

.reminder-item:last-child,
.task-row:last-child {
    border-bottom: 0;
}


/* ---------- FORMS ---------- */

input,
select,
textarea {
    border:
        1px solid
        #dce2e8;

    border-radius: 10px;

    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color:
        rgba(239,125,50,.72);

    box-shadow:
        0 0 0 3px
        rgba(239,125,50,.10);
}


/* ---------- TABLES ---------- */

table {
    border-radius: 14px;
    overflow: hidden;
}

thead {
    background: #f7f9fb;
}

th {
    color: #667585;
}


/* ---------- FOOTER ---------- */

footer,
.footer {
    color: #9aa4ae;

    font-size: 11px;

    margin-top: 35px;
}

footer a,
.footer a {
    color: #768696;
}

footer a:hover,
.footer a:hover {
    color: var(--pn-orange);
}


/* ---------- MOBILE ---------- */

@media (max-width: 1050px) {

    .stat-grid,
    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .dashboard-grid,
    .dashboard-bottom-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 820px) {

    .main-content,
    .main {
        padding:
            17px
            14px
            28px;
    }

    .dashboard-hero,
    .hero {
        min-height: auto;

        padding:
            22px
            19px;
    }

    .property-grid,
    .properties-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .stat-grid,
    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 10px;
    }

    .stat-card {
        padding:
            15px
            14px;
    }

    .stat-card .value,
    .stat-value,
    .stat-number {
        font-size: 23px;
    }

    .property-card {
        border-radius: 15px;
    }

}


/* =========================================================
   PROPNOOK v1.1.5
   MOBILE UI — FINAL OVERRIDES
   These rules intentionally override the legacy mobile CSS.
   ========================================================= */

@media (max-width: 820px) {

    /* ---------- MOBILE HEADER ---------- */

    .mobile-bar {
        position: sticky;
        top: 0;
        z-index: 100;

        min-height: 66px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 9px 15px;

        background:
            linear-gradient(
                135deg,
                #10263d 0%,
                #18344f 100%
            );

        border-bottom: 0;

        box-shadow:
            0 7px 24px
            rgba(16,38,61,.18);

        backdrop-filter: none;
    }


    .mobile-bar > a:first-child {
        display: flex;
        align-items: center;
        gap: 9px;

        color: white;

        font-size: 20px;
        font-weight: 800;

        letter-spacing: -.5px;

        text-decoration: none;
    }


    .mobile-bar strong {
        color: white;
    }


    .mobile-bar strong span,
    .mobile-bar span {
        color: #ef7d32;
    }


    .mobile-nook {
        display: block;

        width: 43px;
        height: 43px;

        object-fit: contain;

        filter:
            drop-shadow(
                0 4px 7px
                rgba(0,0,0,.18)
            );
    }


    .mobile-add {
        width: 42px;
        height: 42px;

        display: grid;
        place-items: center;

        border-radius: 12px;

        background: #ef7d32;
        color: white;

        font-size: 25px;
        font-weight: 500;

        box-shadow:
            0 5px 14px
            rgba(239,125,50,.28);
    }


    /* ---------- MAIN PAGE ---------- */

    .main-area {
        margin-left: 0;

        background: #f6f8fb;
    }


    .dashboard-page,
    .content-page {
        width: calc(100% - 28px);
        max-width: none;

        margin-left: auto;
        margin-right: auto;

        padding-top: 18px;
        padding-bottom: 34px;
    }


    /* ---------- WELCOME / MOBILE HERO ---------- */

    .welcome {
        position: relative;

        min-height: 174px;

        display: flex;
        flex-direction: column;
        justify-content: center;

        margin-bottom: 18px;

        padding:
            23px
            130px
            23px
            21px;

        overflow: hidden;

        border:
            1px solid
            #e6ebf0;

        border-radius: 19px;

        background:
            linear-gradient(
                120deg,
                #ffffff 0%,
                #f9fafc 65%,
                #eef2f5 100%
            );

        box-shadow:
            0 8px 24px
            rgba(24,52,79,.07);
    }


    .welcome::after {
        content: "";

        position: absolute;

        width: 180px;
        height: 180px;

        right: -70px;
        top: -90px;

        border-radius: 50%;

        background:
            rgba(239,125,50,.09);
    }


    .welcome h1 {
        position: relative;
        z-index: 3;

        margin: 0 0 5px;

        color: #172333;

        font-size: 25px;
        line-height: 1.08;

        letter-spacing: -.7px;
    }


    .welcome p {
        position: relative;
        z-index: 3;

        max-width: 230px;

        margin: 0;

        color: #7f8b99;

        font-size: 13px;
        line-height: 1.45;
    }


    /*
       IMPORTANT:
       Legacy mobile CSS hid Nook.
       We intentionally restore him here.
    */

    .hero-raccoon {
        position: absolute;

        display: block !important;

        left: auto !important;
        right: 5px !important;
        bottom: -10px !important;
        top: auto !important;

        width: 135px !important;
        height: 160px;

        opacity: 1 !important;

        z-index: 2;

        pointer-events: none;
    }


    .hero-raccoon img {
        display: block;

        width: 135px !important;
        height: 160px;

        object-fit: contain;
        object-position: bottom center;

        filter:
            drop-shadow(
                0 9px 11px
                rgba(28,44,62,.15)
            );
    }


    .profile-area {
        display: none;
    }


    /* ---------- STATS ---------- */

    .stat-grid,
    .stats-grid {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 10px;

        margin-bottom: 23px;
    }


    .stat-card {
        min-height: 108px;

        display: flex;
        align-items: center;

        padding: 15px;

        border:
            1px solid
            #e7ebf0;

        border-radius: 15px;

        background: white;

        box-shadow:
            0 5px 18px
            rgba(24,52,79,.055);
    }


    .stat-icon {
        flex: 0 0 auto;

        width: 42px;
        height: 42px;

        border-radius: 12px;
    }


    .stat-card strong,
    .stat-value,
    .stat-number {
        color: #172333;

        font-size: 23px;

        letter-spacing: -.5px;
    }


    .stat-card em {
        display: block;
    }


    /* ---------- SECTION TITLES ---------- */

    .section-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 10px;

        margin-bottom: 12px;
    }


    .section-title-row h2 {
        margin: 0;

        color: #172333;

        font-size: 18px;

        letter-spacing: -.3px;
    }


    /* ---------- PROPERTY CARDS ---------- */

    .recent-grid,
    .properties-grid,
    .property-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .property-card {
        overflow: hidden;

        border:
            1px solid
            #e7ebf0;

        border-radius: 17px;

        background: white;

        box-shadow:
            0 7px 22px
            rgba(24,52,79,.07);
    }


    .card-photo,
    .property-image {
        height: 220px;
    }


    .card-photo img,
    .property-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* ---------- LOWER DASHBOARD ---------- */

    .dashboard-bottom,
    .dashboard-grid,
    .dashboard-bottom-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .overview-panel,
    .reminder-panel,
    .panel,
    .dashboard-panel {
        padding: 17px;

        border:
            1px solid
            #e7ebf0;

        border-radius: 17px;

        background: white;

        box-shadow:
            0 6px 20px
            rgba(24,52,79,.055);
    }


    .status-layout {
        grid-template-columns:
            130px
            minmax(0,1fr);

        gap: 13px;
    }


    .donut {
        width: 120px;
        height: 120px;
    }


    /* ---------- FORMS / OTHER PAGES ---------- */

    .form-grid,
    .detail-stats,
    .data-grid,
    .report-grid {
        grid-template-columns: 1fr;
    }


    input,
    select,
    textarea {
        font-size: 16px;
    }


    .gallery {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }


    /* ---------- FOOTER ---------- */

    .footer,
    footer {
        text-align: center;

        margin-top: 28px;
        padding-bottom: 10px;
    }

}


@media (max-width: 470px) {

    .welcome {
        min-height: 164px;

        padding:
            20px
            116px
            20px
            18px;
    }


    .welcome h1 {
        font-size: 23px;
    }


    .hero-raccoon {
        right: 0 !important;

        width: 120px !important;
        height: 145px;
    }


    .hero-raccoon img {
        width: 120px !important;
        height: 145px;
    }


    .stat-grid,
    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }


    .stat-card {
        min-height: 105px;

        padding: 13px;

        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }


    .stat-card em {
        display: none;
    }


    .gallery {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   PROPNOOK v1.1.6
   MOBILE NAVIGATION DRAWER
   ========================================================= */

.mobile-nav-overlay,
.mobile-nav-drawer,
.mobile-menu-button {
    display: none;
}


@media (max-width: 820px) {

    body.mobile-menu-open {
        overflow: hidden;
    }


    /* ---------- HAMBURGER ---------- */

    .mobile-menu-button {
        width: 42px;
        height: 42px;

        flex: 0 0 42px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        margin-right: 4px;
        padding: 0;

        border: 0;
        border-radius: 11px;

        background:
            rgba(255,255,255,.10);

        box-shadow: none;

        cursor: pointer;
    }


    .mobile-menu-button:hover {
        transform: none;

        background:
            rgba(255,255,255,.16);
    }


    .mobile-menu-button span {
        width: 20px;
        height: 2px;

        display: block;

        border-radius: 999px;

        background: white;
    }


    /* ---------- DARK OVERLAY ---------- */

    .mobile-nav-overlay {
        position: fixed;

        inset: 0;

        z-index: 998;

        display: block;

        visibility: hidden;
        opacity: 0;

        background:
            rgba(7,18,30,.55);

        backdrop-filter: blur(2px);

        transition:
            opacity .22s ease,
            visibility .22s ease;
    }


    .mobile-nav-overlay.open {
        visibility: visible;
        opacity: 1;
    }


    /* ---------- DRAWER ---------- */

    .mobile-nav-drawer {
        position: fixed;

        top: 0;
        left: 0;
        bottom: 0;

        z-index: 999;

        width: min(82vw, 310px);

        display: flex;
        flex-direction: column;

        overflow-y: auto;

        transform:
            translateX(-105%);

        background:
            linear-gradient(
                180deg,
                #10263d 0%,
                #0d2135 100%
            );

        box-shadow:
            15px 0 40px
            rgba(0,0,0,.22);

        transition:
            transform .24s ease;
    }


    .mobile-nav-drawer.open {
        transform:
            translateX(0);
    }


    /* ---------- DRAWER HEADER ---------- */

    .mobile-drawer-head {
        min-height: 82px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 10px;

        padding:
            14px
            13px
            13px
            17px;

        border-bottom:
            1px solid
            rgba(255,255,255,.09);
    }


    .mobile-drawer-brand {
        min-width: 0;

        display: flex;
        align-items: center;

        gap: 10px;
    }


    .mobile-drawer-brand img {
        width: 45px;
        height: 48px;

        flex: 0 0 auto;

        object-fit: contain;

        filter:
            drop-shadow(
                0 4px 7px
                rgba(0,0,0,.20)
            );
    }


    .mobile-drawer-brand strong {
        display: block;

        color: white;

        font-size: 20px;
        line-height: 1;

        letter-spacing: -.5px;
    }


    .mobile-drawer-brand strong span {
        color: #ef7d32;
    }


    .mobile-drawer-brand small {
        display: block;

        margin-top: 5px;

        color:
            rgba(255,255,255,.53);

        font-size: 9px;
    }


    .mobile-nav-close {
        width: 38px;
        height: 38px;

        flex: 0 0 38px;

        display: grid;
        place-items: center;

        padding: 0;

        border: 0;
        border-radius: 10px;

        background:
            rgba(255,255,255,.08);

        color: white;

        font-size: 28px;
        font-weight: 300;
        line-height: 1;

        cursor: pointer;
    }


    /* ---------- SAME TABS AS WEB ---------- */

    .mobile-drawer-links {
        flex: 1;

        display: block;

        padding:
            12px
            12px
            18px;
    }


    .mobile-drawer-links a {
        min-height: 45px;

        display: flex;
        align-items: center;

        gap: 11px;

        margin: 3px 0;
        padding:
            10px
            13px;

        border-radius: 10px;

        color:
            rgba(255,255,255,.72);

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

        text-decoration: none;

        transition:
            background .15s ease,
            color .15s ease;
    }


    .mobile-drawer-links a:hover {
        color: white;

        background:
            rgba(255,255,255,.07);
    }


    .mobile-drawer-links a.active {
        color: white;

        background:
            linear-gradient(
                90deg,
                rgba(239,125,50,.25),
                rgba(239,125,50,.08)
            );

        box-shadow:
            inset 3px 0 0
            #ef7d32;
    }


    .mobile-drawer-links .nav-line {
        border-color:
            rgba(255,255,255,.09);
    }


    /* ---------- NOOK FOOTER ---------- */

    .mobile-drawer-footer {
        display: flex;
        align-items: center;

        gap: 10px;

        margin:
            0
            12px
            16px;

        padding:
            11px
            12px;

        border:
            1px solid
            rgba(255,255,255,.08);

        border-radius: 14px;

        background:
            rgba(255,255,255,.045);
    }


    .mobile-drawer-footer img {
        width: 47px;
        height: 51px;

        object-fit: contain;
    }


    .mobile-drawer-footer strong {
        display: block;

        color: white;

        font-size: 13px;
    }


    .mobile-drawer-footer span {
        display: block;

        margin-top: 2px;

        color:
            rgba(255,255,255,.50);

        font-size: 10px;
    }

}


/* ==================================================
   PROPNOOK v1.1.8 — IN-APP PHOTO VIEWER
   ================================================== */

.photo-view-button {
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.photo-view-button:hover {
    transform: none;
    background: transparent;
}

.photo-view-button img {
    width: 100%;
    display: block;
}


body.photo-viewer-open {
    overflow: hidden;
}


.photo-viewer {
    position: fixed;
    inset: 0;

    z-index: 5000;

    display: none;
    flex-direction: column;

    background:
        rgba(6, 17, 29, .97);
}


.photo-viewer.open {
    display: flex;
}


.photo-viewer-top {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 10px 18px;

    background: #10263d;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


.photo-viewer-back,
.photo-viewer-close {
    border: 0;

    color: white;

    background:
        rgba(255,255,255,.09);

    cursor: pointer;
}


.photo-viewer-back {
    min-height: 42px;

    padding: 0 16px;

    border-radius: 10px;

    font-weight: 700;
}


.photo-viewer-close {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 28px;
    line-height: 1;
}


.photo-viewer-stage {
    flex: 1;

    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;
}


.photo-viewer-stage img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 15px 45px
        rgba(0,0,0,.35);
}


@media (max-width: 820px) {

    .photo-viewer-top {
        min-height: 60px;

        padding:
            8px
            10px;
    }

    .photo-viewer-stage {
        padding: 8px;
    }

    .photo-viewer-back {
        font-size: 13px;
    }

}

/* ==============================================
   PROPNOOK v1.1.8 — PHOTO VIEWER
   ============================================== */

.photo-view-button {
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.photo-view-button:hover {
    transform: none;
    background: transparent;
}

.photo-view-button img {
    width: 100%;
    display: block;
}

body.photo-viewer-open {
    overflow: hidden;
}

.photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: none;
    flex-direction: column;

    background: rgba(6,17,29,.97);
}

.photo-viewer.open {
    display: flex;
}

.photo-viewer-top {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
    padding: 10px 18px;

    background: #10263d;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}

.photo-viewer-back,
.photo-viewer-close {
    border: 0;
    color: white;

    background:
        rgba(255,255,255,.09);

    cursor: pointer;
}

.photo-viewer-back {
    min-height: 42px;

    padding: 0 16px;

    border-radius: 10px;

    font-weight: 700;
}

.photo-viewer-close {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 28px;
    line-height: 1;
}

.photo-viewer-stage {
    flex: 1;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;
}

.photo-viewer-stage img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.35);
}

@media (max-width: 820px) {

    .photo-viewer-top {
        min-height: 60px;
        padding: 8px 10px;
    }

    .photo-viewer-stage {
        padding: 8px;
    }

    .photo-viewer-back {
        font-size: 13px;
    }

}


/* =================================================
   PROPNOOK v1.1.9 — SAFE MOBILE PHOTO UX
   ================================================= */


.gallery-photo-card {
    position: relative;

    overflow: hidden;

    border-radius: 13px;

    background: white;

    border:
        1px solid
        #e5e8ed;
}


.gallery-photo-card .photo-view-button {
    width: 100%;

    display: block;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: zoom-in;
}


.gallery-photo-card .photo-view-button img {
    width: 100%;

    display: block;

    object-fit: cover;
}


/* ---------- VIEWER ---------- */


.photo-viewer {
    position: fixed;

    inset: 0;

    z-index: 6000;

    display: none;

    flex-direction: column;

    background:
        rgba(5, 15, 26, .98);
}


.photo-viewer.open {
    display: flex;
}


body.photo-viewer-open {
    overflow: hidden;
}


.photo-viewer-top {
    position: relative;

    z-index: 2;

    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding:
        10px
        16px;

    background:
        #10263d;

    border-bottom:
        1px solid
        rgba(255,255,255,.10);
}


.photo-viewer-back {
    min-height: 42px;

    padding:
        0
        16px;

    border: 0;

    border-radius: 11px;

    background:
        rgba(255,255,255,.10);

    color: white;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}


.photo-viewer-actions {
    position: relative;
}


.photo-options-button {
    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.10);

    color: white;

    font-size: 28px;

    font-weight: 700;

    line-height: 1;

    cursor: pointer;
}


/* ---------- OPTIONS MENU ---------- */


.photo-options-menu {
    position: absolute;

    top: 52px;

    right: 0;

    width: 180px;

    display: none;

    padding: 7px;

    border-radius: 13px;

    background: white;

    box-shadow:
        0 14px 40px
        rgba(0,0,0,.30);
}


.photo-options-menu.open {
    display: block;
}


.photo-options-menu form {
    margin: 0;
}


.photo-delete-option {
    width: 100%;

    min-height: 44px;

    padding:
        8px
        12px;

    border: 0;

    border-radius: 9px;

    background:
        #fff0f0;

    color:
        #b4232d;

    text-align: left;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}


/* ---------- LARGE PHOTO ---------- */


.photo-viewer-stage {
    flex: 1;

    min-height: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 16px;
}


.photo-viewer-stage img {
    max-width: 100%;

    max-height:
        calc(100vh - 100px);

    object-fit: contain;

    border-radius: 7px;

    box-shadow:
        0 16px 50px
        rgba(0,0,0,.40);
}


/* ---------- PHONE ---------- */


@media (max-width: 820px) {

    .gallery-photo-card {
        border-radius: 12px;
    }


    .gallery-photo-card
    .photo-view-button img {

        min-height: 210px;

        max-height: 330px;

        object-fit: cover;
    }


    .photo-viewer-top {
        min-height: 62px;

        padding:
            8px
            10px;
    }


    .photo-viewer-stage {
        padding:
            8px;
    }


    .photo-viewer-stage img {
        max-height:
            calc(100vh - 82px);
    }

}


/* =====================================================
   PROPNOOK v1.2.0 — EDIT PHOTO MANAGEMENT
   ===================================================== */


.edit-photo-manager {
    grid-column: 1 / -1;

    margin-top: 10px;

    padding: 18px;

    border:
        1px solid #e1e6ec;

    border-radius: 15px;

    background: #f8fafc;
}


.edit-photo-heading {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;
}


.edit-photo-heading h2 {
    margin: 0;

    color: #10263d;

    font-size: 18px;
}


.edit-photo-heading p {
    margin:
        5px
        0
        0;

    color: #6c7783;

    font-size: 12px;
}


.photo-count {
    flex: 0 0 auto;

    padding:
        6px
        10px;

    border-radius: 999px;

    background: #10263d;

    color: white;

    font-size: 11px;

    font-weight: 700;
}


.edit-photo-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(180px, 1fr)
        );

    gap: 13px;
}


.edit-photo-card {
    overflow: hidden;

    border:
        1px solid #e2e7ec;

    border-radius: 12px;

    background: white;

    box-shadow:
        0 3px 12px
        rgba(16,38,61,.06);
}


.edit-photo-preview {
    display: block;
}


.edit-photo-preview img {
    width: 100%;

    height: 155px;

    display: block;

    object-fit: cover;
}


.edit-photo-card form {
    margin: 0;

    padding: 8px;
}


.edit-photo-delete {
    width: 100%;

    min-height: 42px;

    border: 0;

    border-radius: 9px;

    background: #fff0f0;

    color: #b4232d;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


/* Make viewer controls impossible to hide
   behind older responsive rules. */

.photo-viewer.open {
    display: flex !important;
}


.photo-viewer.open
.photo-viewer-top {

    display: flex !important;
}


.photo-viewer.open
.photo-options-button {

    display: grid !important;
}


.photo-options-menu.open {
    display: block !important;
}


@media (max-width: 820px) {

    .edit-photo-manager {
        padding: 13px;
    }


    .edit-photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .edit-photo-preview img {
        height: 125px;
    }


    .edit-photo-delete {
        min-height: 44px;

        font-size: 12px;
    }


    .photo-viewer {
        width: 100vw;

        height: 100dvh;
    }


    .photo-viewer-stage img {
        max-width:
            calc(100vw - 16px);

        max-height:
            calc(100dvh - 80px);
    }

}


@media (max-width: 470px) {

    .edit-photo-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================
   PROPNOOK v1.3.0 UPGRADE EXPERIENCE
   ========================================= */

.upgrade-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px;
}

.upgrade-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
    text-align: center;
}

.upgrade-heading h1 {
    margin: 0;
    color: #10263d;
    font-size: clamp(28px, 3vw, 44px);
}

.upgrade-heading p {
    margin: 8px 0 0;
    color: #697887;
    font-size: 16px;
}

.upgrade-hero-mascot {
    position: relative;
    width: 160px;
    flex: 0 0 160px;
}

.upgrade-hero-mascot img {
    display: block;
    width: 135px;
    height: 135px;
    object-fit: contain;
}

.freddy-bubble {
    position: absolute;
    top: 20px;
    left: 110px;
    width: 120px;
    padding: 10px;
    border: 2px solid #50d986;
    border-radius: 20px;
    background: white;
    color: #10263d;
    font-size: 12px;
    line-height: 1.4;
}

.upgrade-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        230px;
    gap: 18px;
    align-items: stretch;
}

.plan-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 15px 18px;
    border: 2px solid #dce4eb;
    border-radius: 25px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbff 100%
        );
    box-shadow:
        0 8px 24px
        rgba(16, 38, 61, .07);
}

.plan-card h2 {
    margin: 0;
    text-align: center;
    color: #10263d;
    font-size: 21px;
}

.free-plan {
    border-color: #4ac873;
}

.free-plan h2 {
    color: #31b95d;
}

.search-plan,
.pro-plan {
    border-color: #2e9bff;
}

.search-plan h2,
.pro-plan h2 {
    color: #278ce9;
}

.keeper-plan {
    border-color: #b95ce5;
}

.keeper-plan h2 {
    color: #ad4bd8;
}

.best-value {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 145px;
    padding: 7px 15px;
    border-radius: 999px;
    background: #2f80ed;
    color: white;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.plan-description {
    min-height: 48px;
    margin: 10px 0;
    text-align: center;
    color: #697887;
    font-size: 13px;
    line-height: 1.5;
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
    margin-top: 5px;
}

.plan-price strong {
    color: #10263d;
    font-size: 32px;
}

.plan-price span {
    color: #697887;
    font-size: 12px;
}

.year-price {
    min-height: 18px;
    margin: 2px 0 5px;
    text-align: center;
    color: #697887;
    font-size: 11px;
}

.plan-freddy {
    width: 100%;
    height: 155px;
    margin: 4px auto 8px;
    object-fit: contain;
}

.freddy-free {
    filter: saturate(.9);
}

.freddy-keeper {
    transform: scale(.95);
}

.freddy-pro {
    transform: scale(1.02);
}

.plan-includes {
    margin-bottom: 10px;
    padding: 8px 6px;
    border: 1px solid #d9e5ee;
    border-radius: 11px;
    text-align: center;
    color: #276f9f;
    font-size: 12px;
    font-weight: 800;
}

.free-plan .plan-includes {
    color: #24994d;
}

.keeper-plan .plan-includes {
    color: #9c3acb;
}

.plan-card ul {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-card li {
    margin: 9px 0;
    color: #354759;
    font-size: 12px;
    line-height: 1.35;
}

.free-plan li {
    color: #278c4b;
}

.keeper-plan li {
    color: #8144a5;
}

.plan-button,
.plan-current {
    width: 100%;
    min-height: 44px;
    margin-top: 13px;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.plan-current {
    display: grid;
    place-items: center;
    background: #daf6e3;
    color: #1b8d44;
    cursor: default;
}

.blue-button {
    background: #267cf3;
    color: white;
}

.purple-button {
    background: #a748d5;
    color: white;
}

.free-button {
    background: #39b965;
    color: white;
}

.plan-card small {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #7a8794;
    font-size: 10px;
}

.why-upgrade {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 17px;
    border: 1px solid #ccd8e1;
    border-radius: 25px;
    background: #f9fcff;
}

.why-upgrade h2 {
    margin: 0;
    color: #35ba66;
    text-align: center;
    font-size: 19px;
}

.why-upgrade > div {
    padding: 12px;
    border-radius: 14px;
    background: white;
}

.why-upgrade strong {
    color: #10263d;
    font-size: 13px;
}

.why-upgrade p {
    margin: 5px 0 0;
    color: #697887;
    font-size: 11px;
    line-height: 1.5;
}

.upgrade-freddy-bottom {
    margin-top: auto;
    text-align: center;
}

.upgrade-freddy-bottom span {
    display: block;
    padding: 10px;
    border: 2px solid #b85ce0;
    border-radius: 17px;
    color: #10263d;
    font-size: 12px;
}

.upgrade-freddy-bottom img {
    width: 150px;
    height: 150px;
    margin-top: 5px;
    object-fit: contain;
}

.upgrade-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 22px;
    border-radius: 16px;
    overflow: hidden;
    background: #dbe4eb;
}

.upgrade-benefits div {
    padding: 17px;
    background: #f8fbfd;
}

.upgrade-benefits strong,
.upgrade-benefits span {
    display: block;
}

.upgrade-benefits strong {
    color: #10263d;
    font-size: 13px;
}

.upgrade-benefits span {
    margin-top: 4px;
    color: #74818e;
    font-size: 11px;
}

.upgrade-nav-link {
    color: #9446c8 !important;
    font-weight: 800;
}

.sidebar-upgrade-card {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 6px;
    margin: 16px 12px;
    padding: 14px;
    border: 1px solid #cfc6eb;
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            #f7f2ff,
            #eef8ff
        );
    text-decoration: none;
}

.sidebar-upgrade-card strong {
    display: block;
    color: #9b42c7;
    font-size: 13px;
}

.sidebar-upgrade-card p {
    margin: 7px 0;
    color: #5f6e7c;
    font-size: 10px;
    line-height: 1.45;
}

.sidebar-upgrade-card span {
    color: #27a858;
    font-size: 10px;
    font-weight: 800;
}

.sidebar-upgrade-card img {
    width: 76px;
    height: 90px;
    align-self: end;
    object-fit: contain;
}


@media (max-width: 1250px) {

    .upgrade-layout {
        grid-template-columns: 1fr;
    }

    .plan-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

}


@media (max-width: 700px) {

    .upgrade-page {
        padding: 16px 10px;
    }

    .upgrade-heading {
        display: block;
    }

    .upgrade-hero-mascot {
        width: 150px;
        margin: 0 auto 15px;
    }

    .freddy-bubble {
        left: 100px;
    }

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

    .plan-card {
        padding: 22px 18px;
    }

    .plan-freddy {
        height: 185px;
    }

    .why-upgrade {
        display: flex;
    }

    .upgrade-benefits {
        grid-template-columns: 1fr;
    }

}


/* =====================================
   FREDDY PERSONALITIES v1.3.1
   ===================================== */

.freddy-emotion {
    position: relative;
    width: 100%;
    margin: 2px auto 8px;
    overflow: visible;
}

.freddy-emotion .plan-freddy {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.freddy-emotion-icon {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: white;
    box-shadow:
        0 4px 14px
        rgba(16, 38, 61, .16);
    font-size: 28px;
}

.freddy-emotion-label {
    position: absolute;
    z-index: 6;
    padding: 6px 9px;
    border-radius: 999px;
    background: white;
    box-shadow:
        0 3px 10px
        rgba(16, 38, 61, .12);
    color: #10263d;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


/* FREE FREDDY
   Cute / slightly sad / wants more room */

.freddy-emotion-free {
    transform: rotate(-2deg);
}

.freddy-emotion-free .freddy-emotion-icon {
    top: 18px;
    right: 13px;
}

.freddy-emotion-free .freddy-emotion-label {
    left: 5px;
    bottom: 5px;
    color: #299653;
}

.freddy-emotion-free img {
    filter:
        saturate(.82)
        brightness(.97);
}


/* SEARCH PLUS FREDDY
   Excited / energetic */

.freddy-emotion-search {
    transform: rotate(2deg);
}

.freddy-emotion-search .freddy-emotion-icon {
    top: 4px;
    right: 5px;
    animation:
        freddy-search-bounce
        2.2s ease-in-out
        infinite;
}

.freddy-emotion-search .freddy-emotion-label {
    left: 4px;
    bottom: 2px;
    color: #267cf3;
}

.freddy-emotion-search img {
    transform: scale(1.08);
    filter:
        saturate(1.15)
        brightness(1.03);
}


/* HOME KEEPER FREDDY
   Cozy / calm */

.freddy-emotion-keeper {
    transform: rotate(-1deg);
}

.freddy-emotion-keeper .freddy-emotion-icon {
    right: 8px;
    bottom: 17px;
    background: #fff7e8;
}

.freddy-emotion-keeper .freddy-emotion-label {
    top: 8px;
    left: 5px;
    color: #9c3acb;
}

.freddy-emotion-keeper img {
    transform:
        scale(.94)
        rotate(-1deg);
    filter:
        saturate(.92)
        sepia(.08);
}


/* NAVIGATOR PRO FREDDY
   Professional */

.freddy-emotion-pro {
    transform: rotate(1deg);
}

.freddy-pro-glasses {
    position: absolute;
    z-index: 7;
    top: 28px;
    left: 50%;
    transform:
        translateX(-50%)
        rotate(-3deg);
    font-size: 39px;
    pointer-events: none;
}

.freddy-pro-clipboard {
    position: absolute;
    z-index: 7;
    right: 7px;
    bottom: 19px;
    font-size: 37px;
    transform: rotate(7deg);
}

.freddy-emotion-pro .freddy-emotion-label {
    top: 3px;
    left: 4px;
    color: #267cf3;
}

.freddy-emotion-pro img {
    transform: scale(1.02);
    filter:
        contrast(1.04)
        saturate(.9);
}


/* CELEBRATION FREDDY */

.freddy-emotion-celebrate {
    width: 170px;
    margin: 4px auto 0;
}

.freddy-emotion-celebrate img {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 150px;
    object-fit: contain;
    animation:
        freddy-celebrate
        2.5s ease-in-out
        infinite;
}

.celebrate-one,
.celebrate-two,
.celebrate-three {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.celebrate-one {
    top: 6px;
    left: 1px;
    font-size: 26px;
}

.celebrate-two {
    top: 8px;
    right: -3px;
    font-size: 31px;
}

.celebrate-three {
    top: 54px;
    right: 0;
    font-size: 23px;
}


@keyframes freddy-search-bounce {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-5deg);
    }

    50% {
        transform:
            translateY(-6px)
            rotate(5deg);
    }

}


@keyframes freddy-celebrate {

    0%,
    100% {
        transform:
            rotate(-2deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(2deg)
            translateY(-5px);
    }

}


@media (prefers-reduced-motion: reduce) {

    .freddy-emotion-search
    .freddy-emotion-icon,

    .freddy-emotion-celebrate img {
        animation: none;
    }

}


/* =====================================
   FREDDY REAL IMAGE FIX
   No emoji overlays.
   ===================================== */

.freddy-emotion-icon,
.freddy-emotion-label,
.freddy-pro-glasses,
.freddy-pro-clipboard,
.celebrate-one,
.celebrate-two,
.celebrate-three {
    display: none !important;
}

.plan-freddy {
    width: 100%;
    height: 190px;
    display: block;
    margin: 4px auto 8px;
    object-fit: contain;
    object-position: center bottom;
    filter: none !important;
    transform: none !important;
}

.freddy-free {
    height: 195px;
}

.freddy-search {
    height: 195px;
}

.freddy-keeper {
    height: 195px;
}

.freddy-pro {
    height: 195px;
}

.upgrade-hero-mascot img {
    width: 155px;
    height: 155px;
    object-fit: contain;
    filter: none !important;
}

.upgrade-freddy-bottom img,
.freddy-emotion-celebrate img {
    width: 170px;
    height: 190px;
    object-fit: contain;
    animation: none !important;
    filter: none !important;
}


@media (max-width: 700px) {

    .plan-freddy,
    .freddy-free,
    .freddy-search,
    .freddy-keeper,
    .freddy-pro {
        height: 210px;
    }

}



/* === THE HUNT v1.4.0 START === */

.hunt-page {
    width: min(100%, 1050px);
    margin: 0 auto;
    padding: 24px;
}

.hunt-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 24px;
    background: #123554;
    color: white;
}

.hunt-hero h1 {
    margin: 5px 0;
    font-size: clamp(32px, 5vw, 48px);
}

.hunt-hero p {
    margin: 0;
    opacity: .88;
    font-size: 17px;
    line-height: 1.5;
}

.hunt-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #ff8238;
}

.hunt-plan-pill,
.hunt-count {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    background: #ff8238;
    color: white;
}

.hunt-action-box,
.hunt-add-box,
.hunt-card,
.hunt-empty {
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid #dce6ee;
    border-radius: 22px;
    background: white;
    box-shadow: 0 8px 28px rgba(20, 53, 84, .07);
}

.hunt-action-box {
    border-color: #ffcfb4;
    background: #fff9f5;
}

.hunt-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.hunt-section-heading h2 {
    margin: 0;
    color: #123554;
}

.hunt-section-heading p {
    margin: 4px 0 0;
    color: #6e7d8c;
}

.hunt-action-list {
    display: grid;
    gap: 10px;
}

.hunt-action-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 15px;
    border-radius: 14px;
    text-decoration: none;
    background: white;
    color: #123554;
}

.hunt-action-row span {
    color: #687887;
    font-size: 14px;
}

.hunt-add-box summary {
    cursor: pointer;
    font-size: 19px;
    font-weight: 800;
    color: #123554;
}

.hunt-add-form {
    margin-top: 20px;
}

.hunt-add-form h3 {
    margin: 22px 0 12px;
    color: #123554;
}

.hunt-form-grid,
.hunt-money-grid,
.hunt-update-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hunt-page label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #34495d;
}

.hunt-page input,
.hunt-page select,
.hunt-page textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #ccd9e4;
    border-radius: 12px;
    background: white;
    color: #123554;
    font: inherit;
}

.hunt-page textarea {
    resize: vertical;
}

.hunt-primary-button,
.hunt-save-button {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    background: #2d83ea;
    color: white;
}

.hunt-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.hunt-card-top h3 {
    margin: 8px 0 3px;
    font-size: 23px;
    color: #123554;
}

.hunt-card-top p,
.hunt-source {
    margin: 4px 0;
    color: #687887;
}

.hunt-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #2376d2;
    font-size: 12px;
    font-weight: 800;
}

.hunt-listing-link {
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 10px;
    color: #2376d2;
    text-decoration: none;
    font-weight: 700;
    background: #eef7ff;
}

.hunt-costs {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.hunt-costs div {
    padding: 15px;
    border-radius: 15px;
    background: #f5f8fb;
}

.hunt-costs span {
    display: block;
    margin-bottom: 5px;
    color: #6f7d89;
    font-size: 13px;
}

.hunt-costs strong {
    color: #123554;
    font-size: 21px;
}

.hunt-save-button {
    margin-top: 3px;
}

.hunt-delete-form {
    margin-top: 10px;
}

.hunt-delete-button {
    width: 100%;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #a44c4c;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.hunt-empty {
    text-align: center;
}

.hunt-empty-icon {
    font-size: 40px;
}

.hunt-empty h3 {
    margin-bottom: 6px;
    color: #123554;
}

.hunt-empty p {
    max-width: 460px;
    margin: auto;
    color: #687887;
    line-height: 1.5;
}

.hunt-paid-feature {
    margin: 12px 0 8px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #f2f8ff;
    font-weight: 800;
    color: #246fae;
}

.hunt-nav-link {
    text-decoration: none;
}

@media (max-width: 700px) {

    .hunt-page {
        padding: 14px;
    }

    .hunt-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
        border-radius: 20px;
    }

    .hunt-form-grid,
    .hunt-money-grid,
    .hunt-update-grid,
    .hunt-costs {
        grid-template-columns: 1fr;
    }

    .hunt-card,
    .hunt-action-box,
    .hunt-add-box,
    .hunt-empty {
        padding: 17px;
        border-radius: 18px;
    }

    .hunt-card-top {
        flex-direction: column;
    }

}

/* === THE HUNT v1.4.0 END === */


/* === PROPNOOK v1.5 TIER TOOLS === */

.hunt-privacy-box {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #b8d7ef;
    border-radius: 18px;
    background: #f1f8fd;
    color: #284c68;
}

.hunt-privacy-box strong {
    display: block;
    margin-bottom: 7px;
    color: #123554;
    font-size: 17px;
}

.hunt-privacy-box p {
    margin: 5px 0;
    line-height: 1.45;
}

.hunt-household {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #fff2e8;
    color: #b95f23;
    font-size: 12px;
    font-weight: 800;
}

.tier-test-box {
    margin: 20px 0;
    padding: 22px;
    border: 2px dashed #ff8238;
    border-radius: 20px;
    background: #fff9f5;
}

.tier-test-box h2 {
    margin: 5px 0;
    color: #123554;
}

.tier-test-box p {
    color: #687887;
}

.tier-test-label {
    color: #d96725;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.tier-test-form {
    display: flex;
    gap: 10px;
    margin: 15px 0 8px;
}

.tier-test-form select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccd9e4;
    border-radius: 12px;
}

.tier-test-form button {
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #123554;
    color: white;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 650px) {
    .tier-test-form {
        flex-direction: column;
    }
}

/* === END v1.5 TIER TOOLS === */

/* === PROPNOOK v1.6 HOME KEEPER === */

.global-test-tier-badge {
    margin: 0 0 16px;
    padding: 9px 12px;
    border: 1px dashed #ef8a45;
    border-radius: 12px;
    background: #fff8f2;
    color: #9f5223;
    font-size: 12px;
    font-weight: 700;
}

.global-test-tier-badge a {
    margin-left: 8px;
    color: #123554;
    font-weight: 900;
    text-decoration: underline;
}

.keeper-page {
    max-width: 1100px;
    margin: 0 auto;
}

.keeper-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
    padding: 24px;
    border-radius: 24px;
    background: #fff8f2;
}

.keeper-hero h1 {
    margin: 5px 0;
    color: #123554;
}

.keeper-hero p {
    max-width: 650px;
    margin: 0;
    color: #617483;
    line-height: 1.5;
}

.keeper-eyebrow {
    color: #d76c2d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.keeper-summary {
    min-width: 110px;
    padding: 16px;
    border-radius: 18px;
    background: white;
    text-align: center;
}

.keeper-summary strong {
    display: block;
    color: #123554;
    font-size: 30px;
}

.keeper-summary span {
    color: #687887;
    font-size: 12px;
}

.keeper-add-box {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #dde5eb;
    border-radius: 20px;
    background: white;
}

.keeper-add-box summary {
    cursor: pointer;
    color: #123554;
    font-weight: 900;
}

.keeper-form {
    margin-top: 18px;
}

.keeper-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.keeper-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #344c5e;
    font-weight: 700;
}

.keeper-form input,
.keeper-form select,
.keeper-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #ccd8e1;
    border-radius: 11px;
    background: white;
    font: inherit;
}

.keeper-form textarea {
    margin-top: 14px;
}

.keeper-primary {
    margin-top: 14px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: #123554;
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.keeper-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.keeper-section-title h2 {
    margin-bottom: 3px;
    color: #123554;
}

.keeper-section-title p {
    margin: 0;
    color: #7a8994;
}

.keeper-card {
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid #dde5eb;
    border-radius: 18px;
    background: white;
}

.keeper-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.keeper-card h3 {
    margin: 7px 0;
    color: #123554;
}

.keeper-type {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 9px;
    background: #edf5fb;
    color: #356a91;
    font-size: 11px;
    font-weight: 900;
}

.keeper-status {
    height: fit-content;
    padding: 6px 9px;
    border-radius: 9px;
    background: #fff1df;
    color: #a76420;
    font-size: 11px;
    font-weight: 900;
}

.keeper-complete {
    background: #e7f7ed;
    color: #27794a;
}

.keeper-waiting {
    background: #f0eefc;
    color: #5c54a4;
}

.keeper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 10px 0;
    color: #687887;
    font-size: 13px;
}

.keeper-notes {
    margin: 12px 0;
    padding: 12px;
    border-radius: 12px;
    background: #f7f9fa;
    color: #445865;
    white-space: pre-wrap;
}

.keeper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.keeper-actions form {
    display: flex;
    gap: 8px;
}

.keeper-actions select,
.keeper-actions button {
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #ccd8e1;
}

.keeper-actions button {
    border: 0;
    background: #123554;
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.keeper-actions .keeper-remove {
    background: #f3f5f6;
    color: #a44242;
}

.keeper-empty {
    padding: 28px;
    border: 1px dashed #cbd7df;
    border-radius: 18px;
    text-align: center;
    color: #687887;
}

.keeper-empty strong {
    display: block;
    margin-bottom: 6px;
    color: #123554;
}

@media (max-width: 650px) {

    .keeper-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .keeper-grid {
        grid-template-columns: 1fr;
    }

    .keeper-actions,
    .keeper-actions form {
        flex-direction: column;
        align-items: stretch;
    }

    .keeper-summary {
        width: auto;
    }
}

/* === END PROPNOOK v1.6 HOME KEEPER === */

/* =====================================
   PROPNOOK v1.7 TIER DASHBOARDS
   ===================================== */

.tier-dashboard {
    max-width: 1120px;
    margin: 0 auto;
}

.tier-dashboard-hero,
.navigator-workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid #dde7ee;
    border-radius: 24px;
    background: #fff;
}

.tier-dashboard-hero h1,
.navigator-workspace-header h1 {
    margin: 5px 0;
    color: #123554;
}

.tier-dashboard-hero p {
    max-width: 650px;
    margin: 0;
    color: #687887;
    line-height: 1.5;
}

.tier-label {
    display: block;
    color: #d76c2d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
}

.tier-switch-button,
.tier-primary-link {
    display: inline-block;
    box-sizing: border-box;
    padding: 11px 15px;
    border: 0;
    border-radius: 11px;
    background: #123554;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.tier-stat-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(130px, 1fr)
        );
    gap: 12px;
    margin-bottom: 20px;
}

.tier-stat-card {
    padding: 18px;
    border: 1px solid #dfe7ed;
    border-radius: 17px;
    background: #fff;
}

.tier-stat-card strong {
    display: block;
    color: #123554;
    font-size: 27px;
}

.tier-stat-card span {
    color: #75838e;
    font-size: 12px;
    font-weight: 700;
}

.tier-feature-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px, 1fr)
        );
    gap: 14px;
    margin-bottom: 22px;
}

.tier-feature-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid #dfe7ed;
    border-radius: 18px;
    background: #fff;
    color: #123554;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.tier-feature-card strong {
    font-size: 16px;
}

.tier-feature-card span {
    color: #75838e;
    font-size: 13px;
    line-height: 1.4;
}

.tier-locked-card {
    background: #f7f8f9;
}

.tier-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 12px;
}

.tier-section-heading h2 {
    margin: 0;
    color: #123554;
}

.tier-section-heading p {
    margin: 4px 0 0;
    color: #75838e;
}

.tier-empty {
    padding: 28px;
    border: 1px dashed #cbd8e1;
    border-radius: 18px;
    text-align: center;
    background: #fff;
    color: #687887;
}

.tier-empty strong {
    color: #123554;
}


/* HOME KEEPER */

.keeper-open-count {
    min-width: 100px;
    padding: 15px;
    border-radius: 17px;
    background: #fff7ef;
    text-align: center;
}

.keeper-open-count strong {
    display: block;
    color: #c8652d;
    font-size: 28px;
}

.keeper-open-count span {
    color: #7a8994;
    font-size: 11px;
    font-weight: 800;
}

.keeper-add-box,
.navigator-add-household,
.navigator-add-property,
.navigator-settings-box {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #dde7ee;
    border-radius: 18px;
    background: #fff;
}

.keeper-add-box summary,
.navigator-add-household summary,
.navigator-add-property summary,
.navigator-settings-box summary,
.navigator-property-edit summary {
    cursor: pointer;
    color: #123554;
    font-weight: 900;
}

.keeper-form,
.navigator-form {
    margin-top: 17px;
}

.keeper-grid,
.navigator-form-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 13px;
}

.keeper-form label,
.navigator-form label,
.navigator-photo-upload label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #405666;
    font-size: 13px;
    font-weight: 800;
}

.keeper-form input,
.keeper-form select,
.keeper-form textarea,
.navigator-form input,
.navigator-form select,
.navigator-form textarea,
.navigator-photo-upload input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #ccd9e2;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.keeper-form textarea,
.navigator-form textarea {
    margin: 13px 0;
}

.keeper-card {
    margin-bottom: 13px;
    padding: 18px;
    border: 1px solid #dde7ee;
    border-radius: 18px;
    background: #fff;
}

.keeper-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.keeper-card h3 {
    margin: 6px 0;
    color: #123554;
}

.keeper-type,
.keeper-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 8px;
    background: #edf5fb;
    color: #356a91;
    font-size: 11px;
    font-weight: 900;
}

.keeper-notes {
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    background: #f7f9fa;
    white-space: pre-wrap;
}

.keeper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keeper-actions form {
    display: flex;
    gap: 7px;
}

.keeper-actions select,
.keeper-actions button {
    padding: 9px 11px;
    border-radius: 9px;
}

.keeper-actions button {
    border: 0;
    background: #123554;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.danger-button {
    background: #a74747 !important;
}


/* NAVIGATOR */

.navigator-privacy {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #bdd8eb;
    border-radius: 16px;
    background: #f1f8fd;
    color: #36566c;
}

.navigator-privacy strong {
    display: block;
    margin-bottom: 5px;
    color: #123554;
}

.navigator-privacy p {
    margin: 0;
    line-height: 1.5;
}

.navigator-household-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );
    gap: 14px;
}

.navigator-household-card {
    padding: 18px;
    border: 1px solid #dde7ee;
    border-radius: 18px;
    background: #fff;
}

.navigator-card-top,
.navigator-property-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.navigator-household-card h3,
.navigator-property-card h3 {
    margin: 6px 0;
    color: #123554;
}

.navigator-alias,
.navigator-household-status,
.navigator-property-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 8px;
    background: #fff0e5;
    color: #bb612e;
    font-size: 11px;
    font-weight: 900;
}

.navigator-mini-stats {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 8px;
    margin: 13px 0;
}

.navigator-mini-stats span {
    padding: 9px;
    border-radius: 10px;
    background: #f6f8fa;
    color: #71808b;
    font-size: 11px;
}

.navigator-mini-stats strong {
    display: block;
    color: #123554;
    font-size: 17px;
}

.navigator-back {
    display: block;
    margin-bottom: 9px;
    color: #526d80;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.navigator-property-card {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dbe5ec;
    border-radius: 20px;
    background: #fff;
}

.navigator-cost-box {
    min-width: 100px;
    padding: 10px;
    border-radius: 12px;
    background: #f6f8fa;
    text-align: center;
}

.navigator-cost-box span {
    display: block;
    color: #75838e;
    font-size: 10px;
    font-weight: 800;
}

.navigator-cost-box strong {
    color: #123554;
}

.navigator-photo-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(120px, 1fr)
        );
    gap: 9px;
    margin: 15px 0;
}

.navigator-photo {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dde7ee;
    border-radius: 13px;
    background: #f7f9fa;
}

.navigator-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.navigator-photo form {
    padding: 7px;
}

.navigator-photo button {
    width: 100%;
    padding: 7px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #a74747;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.navigator-photo-upload {
    margin: 13px 0;
    padding: 13px;
    border: 1px dashed #bccbd5;
    border-radius: 13px;
    background: #f9fbfc;
}

.navigator-photo-upload small {
    display: block;
    margin: 6px 0;
    color: #778690;
}

.navigator-photo-upload button,
.navigator-delete-property,
.navigator-danger-zone button {
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
}

.navigator-photo-upload button {
    background: #123554;
    color: #fff;
}

.navigator-property-edit {
    margin: 13px 0;
    padding: 13px;
    border: 1px solid #e0e7ec;
    border-radius: 13px;
}

.navigator-property-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 13px 0;
    color: #687887;
    font-size: 12px;
}

.navigator-property-footer a {
    color: #245f89;
    font-weight: 800;
}

.navigator-delete-property {
    background: #f5e9e9;
    color: #a74747;
}

.navigator-danger-zone {
    margin-top: 28px;
    padding: 17px;
    border: 1px solid #ebcccc;
    border-radius: 16px;
    background: #fff7f7;
    color: #784747;
}

.navigator-danger-zone strong {
    color: #8f3e3e;
}

.navigator-danger-zone button {
    background: #a74747;
    color: #fff;
}


/* MOBILE */

@media (max-width: 650px) {

    .tier-dashboard-hero,
    .navigator-workspace-header {
        align-items: stretch;
        flex-direction: column;
    }

    .keeper-grid,
    .navigator-form-grid {
        grid-template-columns: 1fr;
    }

    .navigator-property-header {
        flex-direction: column;
    }

    .navigator-cost-box {
        text-align: left;
    }

    .keeper-actions,
    .keeper-actions form {
        flex-direction: column;
    }

    .tier-primary-link,
    .tier-switch-button {
        text-align: center;
    }
}

/* === END PROPNOOK v1.7 === */

/* =====================================
   PROPNOOK v1.7.1 NAVIGATOR DETAIL FLOW
   ===================================== */

.navigator-listing-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );
    gap: 16px;
}

.navigator-listing-card {
    overflow: hidden;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.navigator-listing-card > img,
.navigator-listing-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.navigator-listing-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3f6;
    color: #83919a;
    font-weight: 800;
}

.navigator-listing-card-body {
    padding: 16px;
}

.navigator-listing-card-body h3 {
    margin: 10px 0 5px;
    color: #123554;
}

.navigator-listing-card-body p {
    margin: 0 0 12px;
    color: #6c7d89;
}

.navigator-photo-count {
    color: #778690;
    font-size: 11px;
    font-weight: 800;
}

.navigator-listing-cost {
    margin: 12px 0;
}

.navigator-listing-cost strong {
    display: block;
    color: #123554;
    font-size: 20px;
}

.navigator-listing-cost span {
    color: #7a8994;
    font-size: 11px;
}

.navigator-followup {
    margin: 10px 0;
    color: #8a6431;
    font-size: 12px;
    font-weight: 800;
}

.navigator-view-link {
    display: inline-block;
    margin-top: 8px;
    color: #245f89;
    font-weight: 900;
}

.navigator-detail-header {
    margin-bottom: 18px;
}

.navigator-detail-header h1 {
    margin: 8px 0 4px;
    color: #123554;
}

.navigator-detail-header p {
    margin: 0;
    color: #697b88;
}

.navigator-detail-gallery {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );
    gap: 12px;
    margin-bottom: 20px;
}

.navigator-detail-photo {
    overflow: hidden;
    margin: 0;
    border: 1px solid #dce6ed;
    border-radius: 16px;
    background: #fff;
}

.navigator-detail-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.navigator-detail-photo form {
    padding: 8px;
}

.navigator-detail-photo button {
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: #f8ecec;
    color: #9e4646;
    font-weight: 800;
    cursor: pointer;
}

.navigator-detail-no-photo {
    margin-bottom: 18px;
    padding: 35px;
    border: 1px dashed #cbd8e1;
    border-radius: 16px;
    background: #f8fafb;
    color: #7b8993;
    text-align: center;
}

.navigator-detail-stats {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 12px;
    margin-bottom: 20px;
}

.navigator-detail-stats div,
.navigator-detail-info,
.navigator-detail-edit,
.navigator-add-more-photos {
    padding: 18px;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
}

.navigator-detail-stats span,
.navigator-detail-grid span {
    display: block;
    margin-bottom: 4px;
    color: #7a8994;
    font-size: 11px;
    font-weight: 800;
}

.navigator-detail-stats strong {
    color: #123554;
    font-size: 20px;
}

.navigator-detail-info {
    margin-bottom: 18px;
}

.navigator-detail-info h2,
.navigator-add-more-photos h2 {
    margin-top: 0;
    color: #123554;
}

.navigator-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 14px;
    margin-bottom: 18px;
}

.navigator-detail-grid strong {
    color: #314b5d;
}

.navigator-detail-notes {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #f7f9fa;
}

.navigator-detail-notes p {
    margin-bottom: 0;
    white-space: pre-wrap;
}

.navigator-detail-edit {
    margin-bottom: 18px;
}

.navigator-detail-edit summary {
    cursor: pointer;
    color: #123554;
    font-weight: 900;
}

.navigator-add-more-photos {
    margin-bottom: 18px;
}

.navigator-add-more-photos form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

@media (max-width: 650px) {

    .navigator-listing-grid {
        grid-template-columns: 1fr;
    }

    .navigator-detail-stats {
        grid-template-columns: 1fr;
    }

    .navigator-detail-grid {
        grid-template-columns: 1fr;
    }

    .navigator-detail-gallery {
        grid-template-columns: 1fr;
    }

    .navigator-add-more-photos form {
        flex-direction: column;
        align-items: stretch;
    }
}

/* === END v1.7.1 === */

/* =====================================
   PROPNOOK v1.7.2 HOME KEEPER FLOW
   ===================================== */

.keeper-simple-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 1fr)
        );
    gap: 14px;
}

.keeper-simple-card {
    display: block;
    padding: 18px;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.keeper-simple-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.keeper-simple-card h3 {
    margin: 13px 0 6px;
    color: #123554;
}

.keeper-simple-card p {
    margin: 0 0 10px;
    color: #74838e;
}

.keeper-card-amount {
    display: block;
    margin: 8px 0;
    color: #123554;
    font-size: 19px;
}

.keeper-view-link {
    display: inline-block;
    margin-top: 12px;
    color: #245f89;
    font-weight: 900;
}

.keeper-detail-header {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #dce6ed;
    border-radius: 20px;
    background: #fff;
}

.keeper-detail-header h1 {
    margin: 10px 0;
    color: #123554;
}

.keeper-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(140px, 1fr)
        );
    gap: 12px;
    margin-bottom: 18px;
}

.keeper-detail-card {
    padding: 17px;
    border: 1px solid #dce6ed;
    border-radius: 15px;
    background: #fff;
}

.keeper-detail-card span {
    display: block;
    margin-bottom: 5px;
    color: #7a8994;
    font-size: 11px;
    font-weight: 800;
}

.keeper-detail-card strong {
    color: #123554;
}

.keeper-detail-notes,
.keeper-status-box,
.keeper-detail-edit {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
}

.keeper-detail-notes h2,
.keeper-status-box h2 {
    margin-top: 0;
    color: #123554;
}

.keeper-detail-notes p {
    margin-bottom: 0;
    white-space: pre-wrap;
}

.keeper-status-box form {
    display: flex;
    gap: 8px;
}

.keeper-status-box select,
.keeper-status-box button {
    padding: 10px 12px;
    border-radius: 9px;
}

.keeper-status-box select {
    border: 1px solid #ccd9e2;
}

.keeper-status-box button {
    border: 0;
    background: #123554;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.keeper-detail-edit summary {
    cursor: pointer;
    color: #123554;
    font-weight: 900;
}

@media (max-width: 650px) {

    .keeper-simple-grid {
        grid-template-columns: 1fr;
    }

    .keeper-status-box form {
        flex-direction: column;
    }
}

/* === END v1.7.2 === */

/* =====================================
   PROPNOOK v1.7.3 SEARCH+ SIMPLE FLOW
   ===================================== */

.hunt-simple-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );
    gap: 14px;
}

.hunt-simple-card {
    display: block;
    padding: 18px;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.hunt-simple-card h3 {
    margin: 14px 0 6px;
    color: #123554;
}

.hunt-simple-card p {
    margin: 0 0 12px;
    color: #74838e;
}

.hunt-simple-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.hunt-followup {
    color: #74838e;
    font-size: 12px;
    font-weight: 800;
}

.hunt-cost-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid #edf2f5;
}

.hunt-cost-row span {
    color: #74838e;
}

.hunt-cost-row strong {
    color: #123554;
}

.hunt-view-link {
    display: inline-block;
    margin-top: 14px;
    color: #245f89;
    font-weight: 900;
}

.hunt-detail-header {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #dce6ed;
    border-radius: 20px;
    background: #fff;
}

.hunt-detail-header h1 {
    margin: 10px 0 5px;
    color: #123554;
}

.hunt-cost-summary,
.hunt-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(145px, 1fr)
        );
    gap: 12px;
}

.hunt-cost-summary {
    margin-bottom: 18px;
}

.hunt-detail-card,
.hunt-detail-grid > div {
    padding: 17px;
    border: 1px solid #dce6ed;
    border-radius: 15px;
    background: #fff;
}

.hunt-detail-card span,
.hunt-detail-grid span {
    display: block;
    margin-bottom: 5px;
    color: #7a8994;
    font-size: 11px;
    font-weight: 800;
}

.hunt-detail-card strong,
.hunt-detail-grid strong {
    color: #123554;
}

.hunt-detail-breakdown,
.hunt-detail-notes,
.hunt-status-box,
.hunt-detail-edit,
.hunt-photo-section,
.hunt-photo-add {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dce6ed;
    border-radius: 18px;
    background: #fff;
}

.hunt-detail-breakdown h2,
.hunt-detail-notes h2,
.hunt-status-box h2,
.hunt-photo-section h2,
.hunt-photo-add h2 {
    margin-top: 0;
    color: #123554;
}

.hunt-detail-breakdown .hunt-detail-grid {
    margin-bottom: 20px;
}

.hunt-detail-notes p {
    margin-bottom: 0;
    white-space: pre-wrap;
}

.hunt-status-box form,
.hunt-photo-add form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hunt-status-box select,
.hunt-status-box input,
.hunt-status-box button,
.hunt-photo-add input,
.hunt-photo-add button {
    padding: 10px 12px;
    border-radius: 9px;
}

.hunt-status-box select,
.hunt-status-box input,
.hunt-photo-add input {
    border: 1px solid #ccd9e2;
}

.hunt-status-box button,
.hunt-photo-add button {
    border: 0;
    background: #123554;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.hunt-detail-edit summary {
    cursor: pointer;
    color: #123554;
    font-weight: 900;
}

.hunt-photo-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(170px, 1fr)
        );
    gap: 12px;
}

.hunt-photo-card {
    overflow: hidden;
    border: 1px solid #dce6ed;
    border-radius: 14px;
    background: #fff;
}

.hunt-photo-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.hunt-photo-card form {
    padding: 8px;
}

.hunt-photo-card button {
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: #eef3f6;
    color: #123554;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 650px) {

    .hunt-simple-grid {
        grid-template-columns: 1fr;
    }

    .hunt-status-box form,
    .hunt-photo-add form {
        flex-direction: column;
    }
}

/* === END v1.7.3 SEARCH+ === */

/* =====================================
   HOME KEEPER ATTACHMENTS
   ===================================== */

.keeper-attachment-help,
.keeper-attachments {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #dce6ed;
    border-radius: 16px;
    background: #fff;
}

.keeper-attachment-help p {
    margin: 5px 0 12px;
    color: #74838e;
}

.keeper-attachments h2 {
    margin-top: 0;
    color: #123554;
}

.keeper-photo-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(170px, 1fr)
        );
    gap: 12px;
    margin-bottom: 14px;
}

.keeper-photo-card {
    overflow: hidden;
    border: 1px solid #dce6ed;
    border-radius: 14px;
}

.keeper-photo-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.keeper-photo-card form {
    padding: 8px;
}

.keeper-photo-card button {
    width: 100%;
}

.keeper-attachment-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.keeper-attachment-form input {
    flex: 1;
    min-width: 210px;
}

.keeper-attachment-form button {
    padding: 10px 14px;
    border: 0;
    border-radius: 9px;
    background: #123554;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.keeper-lease-file {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #dce6ed;
    border-radius: 12px;
    background: #f8fafb;
}

.keeper-lease-file span {
    display: block;
    margin-top: 3px;
    color: #74838e;
    font-size: 12px;
}

.keeper-lease-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.keeper-lease-actions a,
.keeper-lease-actions button {
    padding: 8px 11px;
    border-radius: 8px;
    font-weight: 800;
}

.keeper-lease-actions button {
    border: 0;
    cursor: pointer;
}

@media (max-width: 650px) {

    .keeper-lease-file {
        align-items: stretch;
        flex-direction: column;
    }

    .keeper-attachment-form {
        flex-direction: column;
        align-items: stretch;
    }

    .keeper-attachment-form input {
        min-width: 0;
        width: 100%;
    }
}

/* === END HOME KEEPER ATTACHMENTS === */


/* PROPNOOK HUNT UI SPRINT 20260907 */

.hunt-list-thumb {
    width: 72px;
    height: 56px;
    flex: 0 0 72px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: cover;
    border-radius: 8px;
    background: #eef1f4;
}

.hunt-photo-clickable {
    cursor: zoom-in;
}

body.hunt-viewer-open {
    overflow: hidden;
}

.hunt-viewer {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4,12,20,.97);
}

.hunt-viewer.open {
    display: flex;
}

.hunt-viewer > img {
    max-width: 94vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 6px;
}

.hunt-viewer-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: white;
    background:
        linear-gradient(
            rgba(4,12,20,.88),
            rgba(4,12,20,0)
        );
}

.hunt-viewer-top button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.hunt-viewer-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 56px;
    border: 0;
    border-radius: 10px;
    transform: translateY(-50%);
    background: rgba(255,255,255,.11);
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.hunt-viewer-prev {
    left: 14px;
}

.hunt-viewer-next {
    right: 14px;
}

.hunt-share-form {
    margin-top: 12px;
}

.hunt-share-create-button {
    border: 0;
    cursor: pointer;
}

.hunt-share-ready-card {
    margin-top: 18px;
    padding: 20px;
    background: white;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
}

.hunt-share-ready-card label {
    display: block;
    margin-bottom: 7px;
    font-weight: 750;
}

.hunt-share-ready-card input {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #cfd5dc;
    border-radius: 8px;
    font: inherit;
}

.hunt-share-ready-card button {
    margin: 5px 6px 5px 0;
}

.hunt-revoke-share {
    margin-top: 14px !important;
    padding: 9px 12px;
    border: 1px solid #d7dce2;
    border-radius: 7px;
    background: white;
    color: #8c2532;
    cursor: pointer;
}

@media (max-width: 700px) {

    .hunt-list-thumb {
        width: 68px;
        height: 52px;
    }

    .hunt-viewer-arrow {
        width: 42px;
        height: 52px;
        background: rgba(255,255,255,.08);
    }

    .hunt-viewer-prev {
        left: 5px;
    }

    .hunt-viewer-next {
        right: 5px;
    }

    .hunt-photo-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
        gap: 8px;
    }

    .hunt-photo-card img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}


/* ==========================================================
   PROPNOOK NAVIGATOR + HUNT
   FINAL NAVY / ORANGE PRODUCT SKIN
   ========================================================== */

body.pn-app {
    background: #071827 !important;
}

/* Main workspace behind the cockpit */
body.pn-app .main-area,
body.pn-app main,
body.pn-app .content-area,
body.pn-app .page-content {
    background: #071827 !important;
}

/* NAVIGATOR / HUNT ROOT */

.tier-dashboard {
    color: #edf5fb !important;
}

/* HERO */

.tier-dashboard-hero {
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(255,116,23,.15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #12334a,
            #0b263a 58%,
            #081e30
        ) !important;

    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.18) !important;
}

.tier-dashboard-hero h1,
.tier-dashboard-hero h2 {
    color: #fff !important;
}

.tier-dashboard-hero p {
    color: #afc0cd !important;
}

.tier-label {
    color: #ff7417 !important;
}

/* NAVIGATOR PRIVACY */

.navigator-privacy {
    background: #0d2b40 !important;
    border: 1px solid rgba(77,157,197,.25) !important;
    color: #edf5fb !important;
    border-radius: 14px !important;
}

.navigator-privacy strong {
    color: #fff !important;
}

.navigator-privacy p {
    color: #a8bac7 !important;
}

/* STATS */

.tier-stat-card {
    background:
        linear-gradient(
            145deg,
            #12334a,
            #0b263a
        ) !important;

    border: 1px solid rgba(255,255,255,.09) !important;
    color: #edf5fb !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.13) !important;
}

.tier-stat-card strong {
    color: #fff !important;
}

.tier-stat-card span,
.tier-stat-card small {
    color: #91a7b8 !important;
}

/* NAVIGATOR SECTIONS */

.navigator-add-household,
.navigator-households,
.hunt-action-box,
.hunt-add-box {
    background:
        linear-gradient(
            145deg,
            #0d2b40,
            #092337
        ) !important;

    border: 1px solid rgba(255,255,255,.09) !important;
    color: #edf5fb !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 34px rgba(0,0,0,.15) !important;
}

/* HOUSEHOLD CARDS */

.navigator-household-card,
.hunt-simple-card,
.hunt-action-row {
    background: rgba(255,255,255,.035) !important;
    border: 1px solid rgba(255,255,255,.085) !important;
    color: #edf5fb !important;
    border-radius: 13px !important;
}

.navigator-household-card:hover,
.hunt-simple-card:hover,
.hunt-action-row:hover {
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,116,23,.36) !important;
}

.navigator-household-card h3,
.hunt-simple-card h3 {
    color: #fff !important;
}

.navigator-alias {
    color: #ff8a2b !important;
}

/* MINI STAT BOXES */

.navigator-mini-stats > *,
.hunt-cost-row {
    background: #102e44 !important;
    border-color: rgba(255,255,255,.07) !important;
    color: #edf5fb !important;
}

/* FORMS */

.navigator-page input,
.navigator-page select,
.navigator-page textarea,
.hunt-simple-page input,
.hunt-simple-page select,
.hunt-simple-page textarea {
    background: #081f31 !important;
    color: #edf5fb !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 9px !important;
}

.navigator-page input:focus,
.navigator-page select:focus,
.navigator-page textarea:focus,
.hunt-simple-page input:focus,
.hunt-simple-page select:focus,
.hunt-simple-page textarea:focus {
    outline: none !important;
    border-color: #ff7417 !important;
    box-shadow: 0 0 0 3px rgba(255,116,23,.12) !important;
}

.navigator-page label,
.hunt-simple-page label {
    color: #dce7ee !important;
}

/* BUTTONS */

.navigator-page .tier-primary-link,
.navigator-page .tier-switch-button,
.hunt-simple-page .tier-primary-link {
    background: linear-gradient(
        135deg,
        #ff8a2b,
        #ff7417
    ) !important;

    color: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(255,116,23,.22) !important;
}

.navigator-household-status,
.hunt-status,
.hunt-followup,
.hunt-plan-pill {
    background: rgba(255,116,23,.13) !important;
    color: #ff9b52 !important;
    border: 1px solid rgba(255,116,23,.23) !important;
}

/* SECTION TITLES */

.tier-section-heading h2,
.navigator-households h2,
.hunt-action-box h2 {
    color: #fff !important;
}

.tier-section-heading p,
.navigator-households p {
    color: #91a7b8 !important;
}

/* EMPTY */

.tier-empty {
    color: #91a7b8 !important;
}

/* MOBILE */

@media (max-width: 800px) {

    .tier-dashboard-hero,
    .navigator-add-household,
    .navigator-households,
    .hunt-action-box,
    .hunt-add-box {
        border-radius: 13px !important;
    }

    .navigator-page input,
    .navigator-page select,
    .navigator-page textarea,
    .navigator-page button,
    .hunt-simple-page input,
    .hunt-simple-page select,
    .hunt-simple-page textarea,
    .hunt-simple-page button {
        min-height: 44px;
    }
}

