:root {
    --coastal-navy: #0f3443;
    --coastal-teal: #0f5d6a;
    --sand: #f6f1ea;
    --accent: #d6a77a;
    --text-dark: #1c2a31;
    --tenant-primary: var(--coastal-teal);
    --tenant-secondary: var(--accent);
    --tenant-secondary-surface: rgba(214, 167, 122, 0.18);
    --tenant-secondary-border: rgba(214, 167, 122, 0.44);
    --tenant-secondary-hover: rgba(214, 167, 122, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Roboto", sans-serif;
    color: var(--text-dark);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
input,
select,
textarea,
[role="button"] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--tenant-primary) 62%, #ffffff 38%);
    outline-offset: 2px;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e8ecef;
    backdrop-filter: blur(6px);
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--tenant-primary);
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: min(460px, 58vw);
}

.brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-logo {
    display: block;
    max-height: 44px;
    max-width: min(320px, 100%);
    width: auto;
    height: auto;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.site-nav a {
    color: #213844;
}

.public-mobile-nav {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #d8e1e6;
    border-radius: 10px;
    background: #fff;
    color: var(--tenant-primary);
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    fill: none;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--tenant-primary) 62%, #ffffff 38%);
    outline-offset: 2px;
}

.book-btn,
.cta-btn,
.view-btn,
.outline-btn {
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    display: inline-block;
}

.book-btn,
.cta-btn,
.view-btn {
    background: var(--tenant-primary);
    color: #fff;
}

.outline-btn {
    border: 1px solid #d8e1e6;
    color: var(--tenant-primary);
    margin-top: 0.75rem;
}

.hero,
.detail-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 0.75rem;
}

.home-hero .hero-content h1:focus,
.home-hero .hero-content h1:focus-visible {
    outline: none;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.search-bar-wrap {
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.search-grid {
    width: min(1100px, 92%);
    margin: 0 auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(11, 39, 51, 0.13);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 1rem;
}

.search-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.search-grid input,
.search-grid button {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #d8e1e6;
    padding: 0.5rem 0.75rem;
}

.search-grid button {
    background: var(--tenant-primary);
    color: #fff;
    border: none;
    align-self: end;
}

.search-bar-error {
    width: min(1100px, 92%);
    margin: 0.55rem auto 0;
    color: #b42318;
    font-size: 0.9rem;
}

.featured-section,
.page-section,
.split-content,
.testimonial-section,
.cta-panel,
.amenity-grid,
.details-grid {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.property-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5ecf0;
    background: #fff;
}

.property-card img,
.gallery-grid img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.property-card img {
    height: 240px;
}

.property-card-content {
    padding: 1rem;
}

.property-feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.45rem 0;
}

.property-feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: #edf6f8;
    color: #1f4f5b;
    border: 1px solid #d0e5ea;
}

.search-page {
    width: min(1180px, 94%);
}

.search-panel {
    border: 1px solid #dce6eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(11, 39, 51, 0.08);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.search-panel-primary,
.search-panel-advanced-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.search-panel-advanced-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-panel-primary label,
.search-panel-advanced label,
.search-feature-header label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.92rem;
    color: #27414c;
}

.search-panel-primary input,
.search-panel-advanced input,
.search-panel-advanced select,
.search-feature-header select {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #d8e1e6;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    color: #18313c;
    background: #fff;
}

.search-panel-btn {
    min-height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--tenant-primary);
    color: #fff;
    font-weight: 600;
    align-self: end;
    cursor: pointer;
}

.search-panel-advanced {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e3ebf0;
}

.search-panel-advanced h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #17323e;
}

.search-feature-list {
    margin-top: 0.9rem;
}

.search-feature-header {
    margin-bottom: 0.7rem;
}

.search-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
}

.search-feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    min-height: 44px;
    width: 100%;
    padding: 0.15rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #27414c;
    cursor: pointer;
}

.search-feature-grid .search-feature-item {
    flex-direction: row;
}

.search-feature-item input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
}

.search-feature-item span {
    display: inline-block;
}

.search-panel-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.search-mobile-controls {
    display: none;
    margin-top: 0.6rem;
}

.search-results-wrap {
    min-width: 0;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.search-results-title {
    margin: 0;
    color: #17323e;
    font-size: 1.1rem;
}

.search-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.category-link-grid .outline-btn {
    margin-top: 0;
    text-align: center;
}

.feature-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.feature-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-height: 116px;
    border-radius: 14px;
    border: 1px solid var(--tenant-secondary-border);
    background: linear-gradient(180deg, #fff 0%, var(--tenant-secondary-surface) 100%);
    box-shadow: 0 6px 16px rgba(11, 39, 51, 0.06);
    padding: 0.85rem 0.95rem;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.feature-tile-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.feature-tile-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: var(--tenant-secondary-surface);
    border: 1px solid var(--tenant-secondary-border);
}

.feature-tile-arrow {
    margin-left: auto;
    color: var(--tenant-primary);
    opacity: 0.72;
    transition: transform 0.14s ease, opacity 0.14s ease;
}

.feature-tile:hover {
    transform: translateY(-2px);
    background: var(--tenant-secondary-hover);
    border-color: var(--tenant-secondary);
    box-shadow: 0 10px 20px rgba(11, 39, 51, 0.12);
}

.feature-tile:hover .feature-tile-arrow,
.feature-tile:focus-visible .feature-tile-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.feature-tile:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--tenant-primary) 65%, #ffffff 35%);
    outline-offset: 2px;
    border-color: var(--tenant-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tenant-secondary) 28%, #ffffff 72%), 0 10px 20px rgba(11, 39, 51, 0.12);
}

.feature-tile-title {
    font-weight: 700;
    color: var(--tenant-primary);
    font-size: 0.98rem;
    line-height: 1.2;
}

.feature-tile-copy {
    color: #2f4853;
    font-size: 0.86rem;
    line-height: 1.4;
}

.category-page .search-grid {
    border: 1px solid var(--tenant-secondary-border);
    background: var(--tenant-secondary-surface);
    box-shadow: 0 8px 18px rgba(11, 39, 51, 0.08);
}

.property-feature-badge {
    background: var(--tenant-secondary-surface);
    border: 1px solid var(--tenant-secondary-border);
    color: #1f4f5b;
}

.tenant-color-control-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
}

.tenant-color-picker {
    width: 48px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d3dee5;
    background: #fff;
    padding: 0.2rem;
}

.tenant-brand-preview {
    border: 1px solid var(--tenant-secondary-border);
    background: linear-gradient(180deg, #fff 0%, var(--tenant-secondary-surface) 100%);
}

.tenant-brand-preview .search-panel-btn {
    min-height: 38px;
    background: var(--tenant-primary);
}

.tenant-brand-link {
    color: var(--tenant-primary);
    font-weight: 600;
}

.tenant-brand-secondary-surface {
    border: 1px solid var(--tenant-secondary-border);
    background: var(--tenant-secondary-surface);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    color: #2f4853;
}

.tenant-brand-image-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dce6eb;
}

.tenant-brand-hero-preview {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dce6eb;
}

.tenant-brand-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    color: #5f7077;
    border-style: dashed;
}

.tenant-fee-section {
    height: 100%;
}

.meta,
.amenities,
.rate {
    color: #4f6169;
    margin: 0.4rem 0;
}

.split-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.home-split-content {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.25rem;
    align-items: start;
}

.home-split-column {
    max-width: 460px;
}

.home-split-column h2 {
    margin-top: 0;
}

.home-split-column p,
.home-split-column ul {
    margin-bottom: 0;
}

.home-split-column ul {
    padding-left: 1.2rem;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.amenity-item {
    border: 1px solid #dce6eb;
    border-radius: 12px;
    padding: 0.9rem;
    text-align: center;
    background: var(--sand);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

blockquote {
    margin: 0;
    border-left: 4px solid var(--accent);
    background: #f9fbfc;
    padding: 1rem;
    border-radius: 10px;
}

blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    color: #52646c;
}

.cta-panel {
    background: linear-gradient(135deg, var(--coastal-navy), var(--coastal-teal));
    border-radius: 18px;
    padding: 2rem;
    color: #fff;
    text-align: center;
}

.site-footer {
    background: #10242c;
    color: #e7eef2;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-grid a {
    display: block;
    margin-bottom: 0.5rem;
    color: #d7e7ee;
}

.platform-attribution {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    color: #a7bcc7;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    height: 220px;
    border-radius: 10px;
}

.booking-sticky {
    position: sticky;
    top: 90px;
    align-self: start;
}

.booking-box {
    border: 1px solid #dce6eb;
    border-radius: 14px;
    padding: 1rem;
}

.location-placeholder {
    color: #5d7078;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.calendar-property {
    border: 1px solid #dce6eb;
    border-radius: 10px;
    padding: 1rem;
}

.availability-panel {
    margin-top: 1.1rem;
    border: 1px solid #dce6eb;
    border-radius: 14px;
    background: #fbfdfe;
    padding: 1.05rem;
}

.availability-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.availability-summary-text {
    font-size: 0.92rem;
    color: #4f6169;
    text-align: center;
    line-height: 1.45;
    margin: 0 0 0.85rem 0;
}

.availability-nav-btn {
    min-width: 108px;
    margin-top: 0;
}

.availability-nav-prev {
    margin-right: 0.2rem;
}

.availability-nav-next {
    margin-left: 0.2rem;
}

.availability-toolbar .outline-btn {
    margin-top: 0;
}

.availability-calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.6rem;
}

.availability-month {
    border: 1px solid #dce6eb;
    border-radius: 12px;
    padding: 0.95rem;
}

.availability-month h4 {
    margin: 0 0 0.65rem 0;
    color: var(--coastal-teal);
}

.availability-weekdays,
.availability-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.availability-weekdays {
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    color: #5d7078;
    text-align: center;
}

.availability-day,
.availability-day-empty {
    min-height: 34px;
}

.availability-day {
    border: 1px solid #dce6eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    color: #18313c;
}

.availability-day:hover:not(:disabled) {
    border-color: var(--coastal-teal);
}

.availability-day.unavailable {
    color: #96a5ad;
    background: #f2f5f7;
    border-color: #e4eaee;
}

.availability-day.cannot-start {
    background: #f6fafc;
    border-color: #d9e7ee;
    color: #3f5964;
}

.availability-day.in-range {
    background: #eef7f8;
    border-color: #d2e7ea;
}

.availability-day.checkin,
.availability-day.checkout {
    background: var(--coastal-teal);
    color: #fff;
    border-color: var(--coastal-teal);
    font-weight: 700;
}

.availability-day.today {
    box-shadow: inset 0 0 0 1px #8ea4ad;
}

.availability-day:disabled {
    cursor: not-allowed;
    opacity: 0.95;
}

.availability-quote {
    margin-top: 1.15rem;
    border-top: 1px solid #dce7ec;
    padding-top: 1.2rem;
}

.availability-quote p {
    margin: 0.42rem 0;
    line-height: 1.5;
}

.availability-total {
    margin-top: 0.7rem;
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--coastal-navy);
}

.availability-helper {
    color: #5d7078;
    font-size: 0.86rem;
    margin-top: 0.35rem;
}

.availability-error {
    color: #b42318;
    margin: 0 0 0.95rem 0;
}

.availability-cta-row {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.availability-cta-row .cta-btn {
    box-shadow: 0 6px 16px rgba(15, 93, 106, 0.22);
}

.availability-cta-row .outline-btn {
    margin-top: 0;
}

.booking-page-shell {
    max-width: 1080px;
}

.booking-page-header {
    margin-bottom: 1.4rem;
}

.booking-page-header h1 {
    margin: 0;
    color: var(--coastal-navy);
}

.booking-page-header p {
    margin: 0.55rem 0 0;
    color: #4f6169;
    line-height: 1.55;
}

.booking-public-card {
    border: 1px solid #dce6eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(11, 39, 51, 0.08);
}

.booking-stay-card {
    margin-bottom: 1.35rem;
}

.booking-stay-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.booking-stay-actions .mud-button-root,
.booking-stay-actions .outline-btn {
    margin-top: 0;
}

.booking-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.booking-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.booking-checkout-side {
    display: grid;
    gap: 1rem;
}

.booking-guest-header {
    margin-bottom: 0.95rem;
}

.booking-guest-grid {
    row-gap: 0.25rem;
}

.booking-guest-submit {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dce7ec;
}

.booking-primary-btn.mud-button-root.mud-button-filled-primary {
    background-color: var(--tenant-primary);
}

.booking-primary-btn.mud-button-root.mud-button-filled-primary:hover {
    background-color: color-mix(in srgb, var(--tenant-primary) 86%, #000000 14%);
}

.booking-outline-btn.mud-button-root.mud-button-outlined-secondary {
    border-color: var(--tenant-primary);
    color: var(--tenant-primary);
}

.booking-outline-btn.mud-button-root.mud-button-outlined-secondary:hover {
    background-color: color-mix(in srgb, var(--tenant-primary) 10%, #ffffff 90%);
}

.booking-held-payment-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dce7ec;
}

.booking-inline-submit .mud-button-root {
    width: 100%;
}

.booking-estimate-dates,
.booking-estimate-nights {
    margin: 0.25rem 0;
    color: #425760;
}

.booking-estimate-nights {
    margin-bottom: 0.8rem;
}

.booking-estimate-row,
.booking-estimate-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
}

.booking-estimate-row span {
    color: #425760;
}

.booking-estimate-total {
    border-top: 1px solid #dce7ec;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
}

.booking-estimate-total span,
.booking-estimate-total strong {
    color: var(--coastal-navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.booking-pending-note {
    background: #f8fbfc;
}

.booking-pending-note p {
    margin: 0;
    line-height: 1.55;
    color: #455a63;
}

.booking-submit-card {
    text-align: center;
}

.booking-submit-note {
    margin: 0.65rem 0 0;
    font-size: 0.86rem;
    color: #5d7078;
}

.booking-validation-message {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #b42318;
}

.booking-feedback {
    max-width: 760px;
}

.admin-page {
    width: 100%;
}

.admin-mobile-only {
    display: none !important;
}

.admin-desktop-only {
    display: block !important;
}

.admin-main-content-shell {
    padding: 1.5rem;
}

.admin-appbar-brand {
    min-width: 0;
}

.admin-layout-shell .mud-appbar,
.admin-layout-shell .mud-appbar .mud-toolbar {
    overflow: visible;
}

.admin-account-controls {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.platform-tenant-picker {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 240px;
}

.platform-tenant-picker-label {
    font-size: 0.75rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
}

.platform-tenant-picker-select {
    width: clamp(230px, 24vw, 280px);
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 0.35rem 0.65rem;
}

.platform-tenant-picker-select option {
    color: #1c2a31;
    background: #fff;
}

.admin-mobile-panel .platform-tenant-picker {
    width: 100%;
    min-width: 0;
    margin-bottom: 0.75rem;
}

.admin-mobile-panel .platform-tenant-picker-label {
    color: #48616d;
}

.admin-mobile-panel .platform-tenant-picker-select {
    width: 100%;
    min-width: 0;
    color: #1c2a31;
    background: #fff;
    border: 1px solid #cddbe3;
}

.admin-appbar-tenant {
    opacity: 0.9;
}

.admin-back-nav-link {
    font-size: 0.9rem;
    color: #36525f;
    padding: 0.35rem 0.6rem;
    border: 1px solid #d7e3e9;
    border-radius: 999px;
    background: #fff;
}

.admin-back-nav-link:hover {
    background: #f6fafc;
}

.admin-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 36, 44, 0.45);
    z-index: 1400;
}

.admin-mobile-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 300px);
    height: 100dvh;
    background: #fff;
    z-index: 1410;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 39, 51, 0.2);
    transform: none;
}

.admin-mobile-drawer-header {
    border-bottom: 1px solid #e6edf1;
    padding: 1rem 1rem 0.75rem;
}

.admin-mobile-panel-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0.35rem 0.25rem 0.75rem;
}

.admin-mobile-panel-account {
    flex: 0 0 auto;
    border-top: 1px solid #e6edf1;
    padding: 0.85rem 1rem 1rem;
    background: #fbfdfe;
}

.admin-menu-toggle {
    display: none;
}

.admin-reservation-filter-row {
    flex-wrap: wrap;
}

.admin-reservation-filter-select {
    width: clamp(220px, 24vw, 260px);
    max-width: 100%;
}

.admin-mobile-rate-card,
.admin-mobile-market-card {
    border: 1px solid #dce6eb;
    border-radius: 12px;
}

.admin-mobile-rate-date {
    color: #17323e;
}

.admin-mobile-rate-input .mud-input-control {
    margin-top: 0.2rem;
}

.admin-mobile-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.admin-mobile-market-value {
    font-weight: 600;
    color: #1b3540;
}

.admin-mobile-market-highlight {
    color: var(--coastal-teal);
}

.admin-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    color: #1c2a31;
}

.admin-mobile-nav-link.active {
    background: rgba(15, 93, 106, 0.12);
}

.admin-mobile-nav-link-icon {
    color: #2f4752;
}

.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-card {
    border: 1px solid #dce6eb;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(11, 39, 51, 0.06);
    background: #fff;
}

.admin-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.admin-card-title {
    margin: 0;
    color: #17323e;
}

.admin-card-subtitle,
.admin-muted {
    color: #60737c;
}

.admin-card-reservation {
    border-left: 4px solid rgba(15, 93, 106, 0.45);
}

.admin-card-contact {
    border-left: 4px solid rgba(48, 116, 185, 0.45);
}

.admin-card-pricing {
    border-left: 4px solid rgba(62, 144, 98, 0.45);
}

.admin-card-communications {
    border-left: 4px solid rgba(100, 98, 180, 0.45);
}

.admin-card-warning {
    border-left: 4px solid rgba(191, 138, 32, 0.45);
}

.property-edit-page {
    width: min(1200px, 100%);
}

.property-edit-tab-panel {
    padding: 1rem;
}

.property-edit-tab-content {
    display: grid;
    gap: 1rem;
}

.property-edit-card {
    border: 1px solid #dce6eb;
    box-shadow: 0 8px 20px rgba(11, 39, 51, 0.06);
}

.property-edit-upload-panel {
    border: 1px dashed #d4e1e8;
    border-radius: 12px;
    background: #fbfdfe;
}

.property-edit-photo-card {
    border: 1px solid #e5edf1;
    border-radius: 12px;
}

.property-edit-amenity-group + .property-edit-amenity-group {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e4ecf0;
}

.property-edit-amenity-title {
    color: #1f3a45;
    margin-bottom: 0.45rem;
}

.property-edit-actions-bar {
    position: sticky;
    bottom: 0.75rem;
    z-index: 3;
}

.property-edit-actions-stack {
    justify-content: flex-end;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-stat {
    border: 1px solid #e5edf1;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: #fbfdfe;
}

.admin-stat span {
    display: block;
    font-size: 0.78rem;
    color: #667981;
}

.admin-stat strong {
    font-size: 0.93rem;
    color: #1b3540;
}

.admin-table .mud-table-head .mud-table-cell {
    background: #f4f8fa;
    color: #26414d;
    font-weight: 600;
}

.admin-table .mud-table-body .mud-table-cell {
    padding-top: 10px;
    padding-bottom: 10px;
}

.market-pricing-feature-switches .mud-switch {
    margin-top: 0.1rem;
}

.market-pricing-feature-switch .mud-switch-base {
    color: #9aa7ad;
}

.market-pricing-feature-switch .mud-switch-base + .mud-switch-track {
    background-color: #c3ccd1;
    opacity: 1;
}

.market-pricing-feature-switch .mud-switch-base.mud-checked {
    color: var(--tenant-primary) !important;
}

.market-pricing-feature-switch .mud-switch-base.mud-checked + .mud-switch-track {
    background-color: color-mix(in srgb, var(--tenant-primary) 58%, #ffffff 42%);
}

.admin-message-card {
    border: 1px solid #e4ecf0;
    border-radius: 10px;
}

.admin-conversation-feed {
    display: grid;
    gap: 0.9rem;
    width: 100%;
    max-width: 1040px;
}

.admin-message-incoming {
    border-left: 4px solid rgba(48, 116, 185, 0.45);
    background: #f8fcff;
}

.admin-message-outgoing {
    border-left: 4px solid rgba(100, 98, 180, 0.45);
    background: #fbf9ff;
}

.admin-message-chip-wrap {
    flex-wrap: wrap;
}

.admin-message-address {
    overflow-wrap: anywhere;
}

.admin-message-body {
    font-size: 0.97rem;
    line-height: 1.6;
}

.admin-quoted-message {
    border-left: 3px solid #cad7df;
    background: #f7fbfd;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
}

.admin-quoted-message .mud-typography {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #647981;
    overflow-wrap: anywhere;
}

.admin-reservation-header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-actions-stack .mud-button-root {
    justify-content: center;
}

.admin-mobile-card .mud-button-root {
    min-height: 38px;
}

.admin-property-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.admin-property-name {
    font-weight: 600;
    color: #1f3a45;
}

.admin-property-thumb {
    width: 80px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #dce6eb;
    background: #f3f7f9;
}

.admin-property-thumb-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c8089;
}

.admin-property-thumb-mobile {
    width: 96px;
    height: 64px;
}

.market-pricing-competitor-cell {
    min-width: 240px;
}

.market-pricing-competitor-thumb {
    width: 88px;
    height: 58px;
}

.market-pricing-score-wrap {
    position: relative;
    display: inline-block;
}

.market-pricing-score-trigger {
    border: 0;
    background: transparent;
    color: #1f3a45;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.market-pricing-score-popover {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 12;
    width: min(320px, 80vw);
    border: 1px solid #dce6eb;
    border-radius: 10px;
    background: #fff;
    padding: 0.6rem 0.7rem;
    box-shadow: 0 8px 20px rgba(11, 39, 51, 0.14);
}

.market-pricing-score-wrap:hover .market-pricing-score-popover,
.market-pricing-score-wrap:focus-within .market-pricing-score-popover,
.market-pricing-score-popover-open {
    display: block;
}

.admin-actions-stack .mud-button-root {
    min-height: 42px;
}

.booking-submitted-card {
    max-width: 760px;
}

.booking-submitted-card {
    margin: 0;
    max-width: none;
    border-left: 4px solid rgba(62, 144, 98, 0.38);
}

.booking-submitted-title {
    margin: 0 0 0.7rem;
    color: var(--coastal-navy);
}

.booking-submitted-meta {
    margin: 0.2rem 0;
    color: #29434f;
}

.booking-submitted-copy {
    margin: 1rem 0;
    line-height: 1.55;
    color: #425760;
}

.booking-submitted-summary {
    border: 1px solid #e2ebef;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: #fbfdfe;
}

.booking-submitted-summary p {
    margin: 0.35rem 0;
}

.booking-confirmed-card {
    max-width: 980px;
    margin: 0 auto;
}

.booking-confirmed-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.9rem;
}

.booking-confirmed-section h3 {
    margin: 0 0 0.6rem;
    color: var(--coastal-navy);
    font-size: 1.02rem;
}

.booking-confirmed-pricing {
    grid-column: 1 / -1;
}

@media (max-width: 992px) {
    .site-nav {
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-grid,
    .split-content,
    .testimonials,
    .footer-grid,
    .calendar-grid,
    .availability-calendar-grid {
        grid-template-columns: 1fr;
    }

    .booking-sticky {
        position: static;
    }

    .home-split-content {
        max-width: none;
        gap: 1.25rem;
    }

    .home-split-column {
        max-width: none;
    }

    .booking-confirmed-layout {
        grid-template-columns: 1fr;
    }

    .booking-confirmed-pricing {
        grid-column: auto;
    }

    .search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-mobile-controls {
        display: block;
    }

    .search-panel-primary,
    .search-panel-advanced-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-panel-advanced {
        display: none;
    }

    .search-panel-advanced.mobile-visible {
        display: block;
    }

    .search-property-grid {
        grid-template-columns: 1fr;
    }

    .category-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tenant-color-control-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tenant-color-control-row .outline-btn {
        grid-column: 1 / -1;
        margin-top: 0;
        justify-self: end;
    }

    .admin-main-content-shell {
        padding: 1rem;
    }

}

@media (max-width: 767px) {
    .admin-layout-shell {
        --mud-appbar-height: 84px;
    }

    .admin-desktop-only {
        display: none !important;
    }

    .admin-mobile-only {
        display: flex !important;
        align-items: center;
        min-height: 100%;
    }

    .admin-mobile-only .admin-menu-toggle {
        display: inline-flex !important;
        min-width: 44px;
        min-height: 44px;
        margin: 0 0.5rem 0 0;
    }

    .admin-layout-shell .mud-appbar,
    .admin-layout-shell .mud-appbar .mud-toolbar {
        min-height: var(--mud-appbar-height);
    }

    .admin-layout-shell .mud-drawer.admin-mobile-drawer {
        width: min(82vw, 300px) !important;
    }

    .admin-layout-shell .mud-appbar .mud-toolbar {
        padding-left: 0.5rem;
        padding-right: 0.75rem;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        align-items: center;
    }

    .admin-layout-shell .admin-appbar-brand {
        justify-content: center;
        max-width: calc(100vw - 96px);
        gap: 0.05rem;
        line-height: 1.15;
    }

    .admin-layout-shell .admin-appbar-brand .mud-typography-h6 {
        font-size: 1rem;
        line-height: 1.15;
        font-weight: 700;
    }

    .admin-layout-shell .admin-appbar-brand .mud-typography-caption {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .admin-layout-shell .admin-appbar-tenant {
        display: block;
        margin-top: 0.1rem;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.22;
    }

    .admin-layout-shell .mud-main-content {
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .admin-table .mud-table-container {
        overflow-x: hidden;
    }
}

@media (max-width: 640px) {
    .nav-row {
        min-height: 64px;
        padding: 0.65rem 0;
        position: relative;
    }

    .site-nav {
        display: none;
    }

    .public-mobile-nav {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .mobile-site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 1px);
        padding: 0.55rem 0.8rem 0.9rem;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e8ecef;
        border-bottom: 1px solid #e8ecef;
        box-shadow: 0 12px 24px rgba(11, 39, 51, 0.12);
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        z-index: 11;
    }

    .mobile-site-nav.mobile-open {
        display: flex;
    }

    .mobile-site-nav a {
        display: block;
        min-height: 44px;
        padding: 0.65rem 0.35rem;
        color: #213844;
    }

    .mobile-site-nav .book-btn {
        margin-top: 0.35rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .brand {
        max-width: calc(100% - 56px);
        font-size: 1.2rem;
    }

    .brand-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-logo {
        max-height: 38px;
    }

    .property-grid,
    .amenity-grid,
    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-panel-primary,
    .search-panel-advanced-grid,
    .search-feature-grid {
        grid-template-columns: 1fr;
    }

    .search-panel-btn,
    .search-panel-actions .outline-btn {
        width: 100%;
        text-align: center;
    }

    .category-link-grid {
        grid-template-columns: 1fr;
    }

    .feature-tile-grid {
        grid-template-columns: 1fr;
    }

    .availability-panel {
        padding: 0.9rem;
    }

    .availability-toolbar {
        gap: 0.65rem;
    }

    .admin-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-reservation-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-communications-header .mud-button-root {
        width: 100%;
    }

    .admin-email-composer .mud-button-root {
        width: 100%;
    }

    .admin-actions-card .mud-button-root {
        width: 100%;
    }

    .admin-main-content-shell {
        padding: 0.75rem;
    }

    .admin-back-nav-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }

    .admin-reservation-header-actions .mud-button-root {
        width: 100%;
    }

    .admin-reservation-filter-row {
        align-items: stretch;
    }

    .admin-reservation-filter-select {
        width: 100%;
        min-width: 0;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .booking-checkout-grid {
        grid-template-columns: 1fr;
    }

    .booking-stay-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-stay-actions .mud-button-root,
    .booking-stay-actions .outline-btn {
        width: 100%;
        text-align: center;
    }

    .admin-conversation-feed {
        max-width: 100%;
    }

    .admin-mobile-card {
        width: 100%;
    }

    .admin-mobile-market-grid {
        grid-template-columns: 1fr;
    }

    .availability-nav-btn {
        min-width: 88px;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .availability-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }

    .availability-cta-row .cta-btn,
    .availability-cta-row .outline-btn {
        width: 100%;
        text-align: center;
    }

.admin-layout-shell .mud-navmenu {
    display: block;
}

.admin-layout-shell .mud-nav-link {
    width: 100%;
}

.admin-layout-shell .mud-main-content {
    min-height: calc(100vh - 64px);
}
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, #f7fafc 0%, #edf3f6 100%);
}

.admin-login-shell {
    width: 100%;
    max-width: 460px;
}

.admin-login-card {
    background: #fff;
    border: 1px solid #dfe8ee;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(11, 39, 51, 0.12);
    padding: 2rem;
}

.admin-login-header {
    margin-bottom: 1.25rem;
}

.admin-login-title {
    color: var(--coastal-teal);
    margin-bottom: 0.4rem;
}

.admin-login-subtitle {
    color: #5c6f79;
}

.admin-login-error {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #f0c0c0;
    background: #fff4f4;
    color: #9a2f2f;
    font-size: 0.95rem;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-login-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.admin-login-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2d3f47;
}

.admin-login-input {
    width: 100%;
    height: 48px;
    border: 1px solid #cfdbe3;
    border-radius: 12px;
    padding: 0 0.85rem;
    font-size: 0.98rem;
    color: #1f2f36;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-login-input:focus {
    outline: none;
    border-color: var(--coastal-teal);
    box-shadow: 0 0 0 3px rgba(15, 93, 106, 0.15);
}

.admin-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #425660;
    font-size: 0.92rem;
}

.admin-login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--coastal-teal);
}

.admin-login-button {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.admin-login-footer {
    margin-top: 0.9rem;
    text-align: center;
    color: #60727b;
    font-size: 0.85rem;
}

.account-onboarding-shell {
    max-width: 500px;
}

.account-onboarding-card {
    border-radius: 20px;
    border-color: #d9e6ed;
    box-shadow: 0 16px 36px rgba(11, 39, 51, 0.12);
    padding: 2.15rem;
}

.account-onboarding-header {
    margin-bottom: 1.45rem;
}

.account-onboarding-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--tenant-primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-onboarding-title {
    margin-bottom: 0.38rem;
    color: #123746;
}

.account-onboarding-subtitle {
    color: #60727b;
    line-height: 1.55;
}

.account-onboarding-form-stack {
    gap: 0.95rem;
}

.account-onboarding-input .mud-input-control {
    margin-top: 0;
}

.account-onboarding-input .mud-input-slot {
    border-radius: 12px;
    background: #ffffff;
}

.account-onboarding-helper {
    color: #637984;
    line-height: 1.45;
    margin-top: 0.15rem;
}

.account-onboarding-alert {
    border-radius: 12px;
}

.account-onboarding-alert-success {
    border: 1px solid #cce8dc;
    background: #f5fcf8;
}

.account-onboarding-alert-error {
    border: 1px solid #f0c0c0;
    background: #fff4f4;
}

.account-onboarding-submit {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
}

.guest-auth-page {
    min-height: clamp(520px, calc(100vh - 220px), 760px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2.25rem 1.5rem 3.25rem;
}

.guest-auth-shell {
    width: 100%;
    max-width: 520px;
}

.guest-auth-card,
.guest-card {
    background: #fff;
    border: 1px solid #dfe8ee;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(11, 39, 51, 0.08);
    padding: 1.6rem;
}

.guest-auth-header {
    margin-bottom: 1.25rem;
}

.guest-auth-title {
    color: var(--coastal-teal);
}

.guest-auth-subtitle {
    color: #5c6f79;
    line-height: 1.55;
}

.guest-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.guest-auth-resend-form {
    margin-top: 0.8rem;
}

.guest-auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.guest-auth-label {
    font-size: 0.92rem;
    font-weight: 600;
}

.guest-auth-input {
    width: 100%;
    height: 48px;
    border: 1px solid #cfdbe3;
    border-radius: 12px;
    padding: 0 0.85rem;
    font-size: 1rem;
}

.guest-auth-input:focus {
    outline: none;
    border-color: var(--coastal-teal);
    box-shadow: 0 0 0 3px rgba(15, 93, 106, 0.14);
}

.guest-message-textarea {
    height: auto;
    min-height: 124px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    resize: vertical;
}

.guest-auth-code-input {
    letter-spacing: 0.35em;
    text-align: center;
    font-size: 1.2rem;
}

.guest-auth-helper {
    margin: 1rem 0 0;
    color: #5f727c;
    line-height: 1.5;
}

.guest-back-link {
    display: inline-block;
    margin-top: 0.65rem;
    color: var(--coastal-teal);
    font-size: 0.92rem;
}

.guest-auth-info,
.guest-auth-error {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.guest-auth-info {
    border: 1px solid #d4e8ef;
    background: #f5fbfd;
}

.guest-auth-error {
    border: 1px solid #f0c0c0;
    background: #fff4f4;
    color: #9a2f2f;
}

.guest-hero {
    width: 100%;
    border-radius: 10px;
    margin: 0.8rem 0;
    max-height: 260px;
    object-fit: cover;
}

.guest-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1rem;
}

.guest-summary-grid p {
    margin: 0;
}

.guest-message-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.guest-message-item {
    border-radius: 10px;
    border: 1px solid #e4ecf0;
}

.guest-message-incoming {
    border-left: 4px solid rgba(48, 116, 185, 0.45);
    background: #f8fcff;
}

.guest-message-outgoing {
    border-left: 4px solid rgba(100, 98, 180, 0.45);
    background: #fbf9ff;
}

@media (max-width: 640px) {
    .admin-login-page {
        padding: 1rem;
    }

    .admin-login-card {
        border-radius: 14px;
        padding: 1.75rem;
    }

    .account-onboarding-shell {
        max-width: 520px;
    }

    .account-onboarding-card {
        border-radius: 16px;
        padding: 1.5rem;
    }

    .guest-auth-page {
        padding: 1.3rem 1rem 2rem;
    }

    .guest-auth-card,
    .guest-card {
        padding: 1.2rem;
    }

    .property-edit-tab-panel {
        padding: 0.65rem;
    }

    .property-edit-actions-bar {
        position: static;
    }

    .property-edit-actions-stack {
        width: 100%;
        flex-direction: column;
    }

    .property-edit-actions-stack .mud-button-root {
        width: 100%;
    }
}

.admin-calendar-wrapper {
    overflow-x: auto;
    border: 1px solid #dce6eb;
    border-radius: 12px;
    background: #fff;
}

.admin-calendar-toolbar {
    row-gap: 0.6rem;
}

.admin-calendar-property-select {
    min-width: 220px;
}

.admin-calendar-action-stack {
    min-width: 240px;
}

.admin-calendar-action-buttons {
    align-items: center;
}

.admin-calendar-primary-action {
    min-width: 220px;
}

.admin-calendar-legend .mud-chip {
    border: 1px solid #dfe8ee;
}

.admin-cal-chip {
    font-weight: 600;
}

.admin-cal-available-chip {
    background: #fff;
    color: #53656d;
}

.admin-cal-confirmed-chip {
    background: #e8f8ef;
    color: #187445;
}

.admin-cal-pending-chip {
    background: #fff8e6;
    color: #8b6a00;
}

.admin-cal-blocked-chip {
    background: #ffecec;
    color: #9d3535;
}

.admin-month-calendar-wrapper {
    overflow-x: auto;
}

.admin-month-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 700px;
}

.admin-month-calendar-table th,
.admin-month-calendar-table td {
    border: 1px solid #eef3f6;
    vertical-align: top;
    padding: 0;
    height: 92px;
}

.admin-month-calendar-table th {
    background: #f7fafc;
    color: #4b5f68;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem;
}

.admin-cal-empty {
    background: #fafcfd;
}

.admin-cal-day-button {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
}

.admin-cal-day-button:hover {
    background: rgba(15, 93, 106, 0.06);
}

.admin-cal-day-selected {
    box-shadow: inset 0 0 0 2px rgba(15, 93, 106, 0.42);
}

.admin-cal-day-range-start {
    box-shadow: inset 0 0 0 2px rgba(15, 93, 106, 0.65);
    background: rgba(15, 93, 106, 0.12);
}

.admin-cal-day-range-end {
    outline: 2px dashed rgba(15, 93, 106, 0.45);
    outline-offset: -3px;
}

.admin-cal-day-number {
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-cal-day-state {
    font-size: 0.72rem;
    line-height: 1.2;
}

.admin-calendar-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-calendar-table th,
.admin-calendar-table td {
    border-bottom: 1px solid #e8eef2;
    border-right: 1px solid #eef3f6;
    text-align: center;
    padding: 0.45rem 0.35rem;
    font-size: 0.78rem;
    white-space: nowrap;
}

.admin-calendar-table th {
    background: #f7fafc;
    color: #4b5f68;
    position: sticky;
    top: 0;
    z-index: 1;
}

.admin-calendar-property-col {
    text-align: left !important;
    min-width: 180px;
    font-weight: 600;
    color: #1f333b;
    background: #fbfdfe;
}

.admin-cal-day {
    color: #6d7f88;
}

.admin-cal-confirmed {
    background: #e8f8ef;
    color: #187445;
    font-weight: 700;
}

.admin-cal-pending {
    background: #fff8e6;
    color: #8b6a00;
    font-weight: 700;
}

.admin-cal-blocked {
    background: #ffecec;
    color: #9d3535;
    font-weight: 700;
}

@media (max-width: 767px) {
    .admin-calendar-property-select {
        min-width: 100%;
    }

    .admin-calendar-action-stack {
        width: 100%;
    }

    .admin-calendar-action-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-calendar-action-buttons .mud-button-root,
    .admin-calendar-primary-action {
        width: 100%;
    }

    .admin-month-calendar-table {
        min-width: 620px;
    }
}

@media (max-width: 640px) {
    .admin-month-calendar-table th,
    .admin-month-calendar-table td {
        height: 84px;
    }

    .admin-cal-day-number {
        font-size: 0.82rem;
    }

    .admin-cal-day-state {
        font-size: 0.68rem;
    }
}
.property-amenities {
    margin-top: 1.75rem;
}

.property-amenities h3 {
    margin-bottom: 1rem;
}