.df-app-dashboard-page,
.df-app-dashboard-page.df-dashboard-page {
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at 78% 8%, rgba(187, 132, 93, .08), transparent 28%),
        linear-gradient(180deg, #fffdfa 0%, #fff8f0 100%);
}

body:has(.df-app-dashboard-page) .site-header,
body:has(.df-app-dashboard-page) .site-footer {
    display: none;
}

body:has(.df-app-dashboard-page) {
    padding-top: 0;
}

.df-app-dashboard-shell {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
}

.df-app-dashboard-page .df-host-dashboard-main {
    grid-column: 2;
    gap: 24px;
    padding: 30px clamp(22px, 3vw, 42px) 52px;
}

.df-app-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: 100vh;
    gap: 18px;
    padding: 24px 16px;
    border: 0;
    border-right: 1px solid rgba(45, 28, 15, .10);
    border-radius: 0;
    background: rgba(255, 252, 248, .92);
    box-shadow: 10px 0 34px rgba(45, 28, 15, .04);
}

.df-app-dashboard-page.is-host,
.df-app-dashboard-page.is-tenant,
.df-app-dashboard-page.is-staff {
    background:
        radial-gradient(circle at 90% 0, rgba(190, 125, 78, .08), transparent 28%),
        linear-gradient(180deg, #fffdfa 0%, #fff7ef 100%);
}

.df-app-dashboard-page.is-host .df-app-sidebar,
.df-app-dashboard-page.is-tenant .df-app-sidebar,
.df-app-dashboard-page.is-staff .df-app-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 253, 250, .96), rgba(255, 248, 241, .94)),
        radial-gradient(circle at 0 0, rgba(190, 125, 78, .10), transparent 34%);
}

.df-app-sidebar-brand {
    display: grid;
    justify-items: start;
    gap: 7px;
    min-height: 62px;
    color: var(--color-text);
    text-decoration: none;
}

.df-app-sidebar-brand img {
    display: block;
    width: auto;
    max-width: 176px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
}

.df-app-sidebar-brand strong {
    color: inherit;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 30px;
    line-height: 1;
}

.df-app-sidebar-brand span {
    color: rgba(190, 125, 78, .92);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.df-app-menu {
    gap: 14px;
}

.df-app-menu-group {
    display: grid;
    gap: 4px;
}

.df-app-menu-group > span {
    padding: 0 10px 6px;
    color: rgba(45, 28, 15, .56);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.df-app-menu a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(45, 28, 15, .86);
    font-size: 14px;
    font-weight: 850;
}

.df-app-menu a svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.df-app-menu a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-app-menu a:hover,
.df-app-menu a.is-active {
    background: rgba(190, 125, 78, .13);
    color: var(--color-primary-dark);
    text-decoration: none;
}

.df-app-help-card,
.df-app-sidebar-user {
    margin-top: auto;
    padding: 18px;
    border: 1px solid rgba(45, 28, 15, .10);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 247, 239, .92), rgba(255, 255, 255, .72));
}

.df-app-help-card + .df-app-sidebar-user {
    margin-top: 0;
}

.df-app-help-card strong,
.df-app-sidebar-user strong {
    color: var(--color-text);
}

.df-app-help-card p {
    margin: 8px 0 14px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.df-app-help-card a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(190, 125, 78, .38);
    border-radius: 6px;
    color: var(--color-primary-dark);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.df-app-sidebar-user {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.df-app-sidebar-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.df-app-sidebar-user span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-app-dashboard-page .df-host-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -30px calc(clamp(22px, 3vw, 42px) * -1) 2px;
    padding: 16px clamp(22px, 3vw, 42px);
    border-bottom: 1px solid rgba(45, 28, 15, .10);
    background: rgba(255, 253, 250, .86);
    backdrop-filter: blur(14px);
}

.df-app-dashboard-page .df-host-topbar-main {
    justify-content: flex-end;
    min-height: 44px;
}

.df-app-topbar-menu {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-right: auto;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
}

.df-app-topbar-menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.df-app-dashboard-page .df-host-notification {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    border: 1px solid rgba(45, 28, 15, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    color: var(--color-text);
    text-decoration: none;
}

.df-app-dashboard-page .df-host-notification::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50% 50% 44% 44%;
}

.df-app-dashboard-page .df-host-notification span {
    position: absolute;
    top: -3px;
    right: -1px;
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.df-app-topbar-user {
    display: grid;
    grid-template-columns: 42px minmax(0, auto);
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    text-decoration: none;
}

.df-app-topbar-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.df-app-topbar-user strong,
.df-app-topbar-user small {
    display: block;
    line-height: 1.2;
}

.df-app-topbar-user small {
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
}

.df-app-dashboard-page .df-host-welcome,
.df-app-dashboard-page .df-host-section,
.df-app-dashboard-page .df-dashboard-card,
.df-app-dashboard-page .df-host-submit-card {
    border-color: rgba(45, 28, 15, .10);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 42px rgba(45, 28, 15, .045);
}

.df-app-dashboard-page.is-host .df-host-welcome,
.df-app-dashboard-page.is-host .df-host-section,
.df-app-dashboard-page.is-host .df-dashboard-card,
.df-app-dashboard-page.is-tenant .df-host-welcome,
.df-app-dashboard-page.is-tenant .df-host-section,
.df-app-dashboard-page.is-tenant .df-dashboard-card,
.df-app-dashboard-page.is-staff .df-host-welcome,
.df-app-dashboard-page.is-staff .df-host-section,
.df-app-dashboard-page.is-staff .df-dashboard-card {
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 46px rgba(45, 28, 15, .05);
}

.df-app-dashboard-page .df-host-welcome h1,
.df-app-dashboard-page .df-host-section-head h2 {
    font-family: var(--font-heading, Georgia, serif);
}

.df-app-dashboard-page .df-host-welcome h1 {
    font-size: clamp(30px, 2.7vw, 42px);
    line-height: 1.08;
}

.df-app-dashboard-page .df-dashboard-stats {
    gap: 16px;
    margin-top: 22px;
    padding: 0;
    border: 0;
}

.df-app-dashboard-page .df-dashboard-stat {
    min-height: 118px;
    align-content: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(45, 28, 15, .10);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 34px rgba(45, 28, 15, .04);
}

.df-app-dashboard-page .df-dashboard-stat span {
    color: rgba(45, 28, 15, .72);
    font-size: 13px;
    font-weight: 850;
}

.df-app-dashboard-page .df-dashboard-stat strong {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 34px;
}

.df-app-overview-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
}

.df-app-overview-hero > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.df-app-overview-hero > a:hover {
    background: var(--color-primary-dark);
    color: #fff;
    text-decoration: none;
}

.df-app-staff-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.df-app-dashboard-page.is-staff .df-app-staff-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.df-app-dashboard-page .df-dashboard-stat small {
    color: #238a52;
    font-size: 12px;
    font-weight: 850;
}

.df-app-dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 292px);
    gap: 18px;
}

.df-app-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.df-app-dashboard-page.is-host .df-app-dashboard-columns,
.df-app-dashboard-page.is-tenant .df-app-dashboard-columns {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 292px);
}

.df-app-dashboard-page.is-tenant .df-renter-trip-card {
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 46px rgba(45, 28, 15, .05);
}

.df-app-dashboard-page.is-host .df-app-overview-hero,
.df-app-dashboard-page.is-tenant .df-app-overview-hero,
.df-app-dashboard-page.is-staff .df-app-overview-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(255, 247, 239, .88)),
        radial-gradient(circle at 100% 0, rgba(190, 125, 78, .16), transparent 34%);
}

.df-app-action-grid a {
    display: grid;
    min-height: 118px;
    align-content: start;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(45, 28, 15, .10);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 251, 247, .92), rgba(255, 255, 255, .72));
    color: var(--color-text);
    text-decoration: none;
}

.df-app-action-grid a:hover {
    border-color: rgba(190, 125, 78, .38);
    transform: translateY(-1px);
}

.df-app-action-grid svg,
.df-app-activity-item svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.df-app-action-grid strong {
    color: var(--color-text);
    font-size: 15px;
}

.df-app-action-grid span {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.4;
}

.df-app-activity-list {
    display: grid;
    gap: 0;
    margin-top: 14px;
}

.df-app-activity-list > p {
    margin: 0;
    color: var(--color-muted);
}

.df-app-activity-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(45, 28, 15, .08);
}

.df-app-activity-item:last-child {
    border-bottom: 0;
}

.df-app-activity-item svg {
    width: 22px;
    height: 22px;
}

.df-app-activity-item strong,
.df-app-activity-item span {
    display: block;
}

.df-app-activity-item strong {
    overflow: hidden;
    color: var(--color-text);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-app-activity-item span,
.df-app-activity-item small {
    color: var(--color-muted);
    font-size: 12px;
}

.df-app-activity-item small {
    font-weight: 800;
    white-space: nowrap;
}
