body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #f8fafc; }
        .gradient-bg { background: #0f766e; }

.landing {
    background: #fff;
    color: #0f172a;
    line-height: 1.55;
}
.landing-container { width: min(100% - 3rem, 1200px); margin-inline: auto; }
.landing-header { border-bottom: 1px solid #e2e8f0; background: #fff; }
.landing-nav { min-height: 76px; display: flex; align-items: center; gap: 2rem; }
.landing-brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; color: #0f172a; font-size: 0.95rem; font-weight: 800; text-decoration: none; }
.landing-brand-mark, .landing-preview-logo { display: block; background: transparent; object-fit: contain; }
.landing-brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.landing-preview-logo { width: 24px; height: 24px; border-radius: 6px; }
.app-brand-icon, .mobile-brand-icon { display: block; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.25); object-fit: contain; }
.mobile-brand-icon { border-radius: 10px; }
.app-brand-icon { border-radius: 12px; }
.landing-nav-links { display: flex; justify-content: center; gap: 2rem; flex: 1; }
.landing-nav-links a { color: #475569; font-size: 0.83rem; font-weight: 600; text-decoration: none; }
.landing-nav-links a:hover, .landing-footer a:hover { color: #0f766e; }
.landing-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.landing-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.7rem 1rem; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: 0.82rem; font-weight: 700; line-height: 1.3; text-align: center; cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.landing-button:focus-visible, .landing a:focus-visible, .landing select:focus-visible { outline: 3px solid #5eead4; outline-offset: 3px; }
.landing-button-primary { background: #0f766e; color: #fff; }
.landing-button-primary:hover { background: #115e59; }
.landing-button-plain { color: #334155; background: transparent; }
.landing-button-plain:hover, .landing-button-outline:hover { background: #f0fdfa; }
.landing-button-outline { border-color: #cbd5e1; background: #fff; color: #0f172a; }
.landing-hero { padding: 6rem 0 6.5rem; background: #f8fafc; }
.landing-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 5rem; align-items: center; }
.landing-eyebrow { margin: 0 0 1rem; color: #0f766e; font-size: 0.71rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.landing-hero h1 { max-width: 700px; margin: 0; color: #0f172a; font-size: clamp(2.2rem, 4vw, 3.55rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.12; }
.landing-hero-description { max-width: 570px; margin: 1.5rem 0 1.8rem; color: #475569; font-size: 1rem; line-height: 1.75; }
.landing-hero-button { min-height: 50px; padding-inline: 1.4rem; }
.landing-hero-note { margin: 0.8rem 0 0; color: #64748b; font-size: 0.75rem; }
.landing-preview-wrap { position: relative; }
.landing-preview { overflow: hidden; border: 1px solid #dbe5e8; border-radius: 18px; background: #fff; box-shadow: 0 18px 45px rgb(15 23 42 / 7%); }
.landing-preview-top { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.3rem; border-bottom: 1px solid #e2e8f0; color: #334155; font-size: 0.7rem; font-weight: 800; }
.landing-preview-logo { width: 24px; height: 24px; border-radius: 6px; font-size: 0.68rem; }
.landing-preview-dots { display: flex; gap: 5px; margin-left: auto; }
.landing-preview-dots i { width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; }
.landing-preview-content { padding: 1.7rem; }
.landing-preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.landing-preview-heading p { margin: 0 0 0.25rem; color: #64748b; font-size: 0.7rem; }
.landing-preview-heading h2 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.landing-preview-calendar, .landing-step-icon { display: grid; place-items: center; background: #f0fdfa; color: #0f766e; }
.landing-preview-calendar { width: 40px; height: 40px; border-radius: 10px; }
.landing-preview-calendar svg { width: 20px; height: 20px; }
.landing-preview-task { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; margin-top: 0.7rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 10px; }
.landing-preview-task strong, .landing-preview-task div span { display: block; }
.landing-preview-task strong { font-size: 0.76rem; }
.landing-preview-task div span { margin-top: 0.25rem; color: #64748b; font-size: 0.67rem; }
.landing-status { flex-shrink: 0; padding: 0.3rem 0.6rem; border-radius: 999px; font-size: 0.65rem; font-weight: 700; }
.landing-status-progress { background: #f0fdfa; color: #0f766e; }
.landing-status-pending { background: #f1f5f9; color: #475569; }
.landing-preview-caption { margin: 0.65rem 0 0; color: #64748b; font-size: 0.7rem; text-align: right; }
.landing-section { padding: 5.5rem 0; scroll-margin-top: 1rem; }
.landing-section-heading { max-width: 690px; margin-bottom: 2.5rem; }
.landing-section h2 { margin: 0; color: #0f172a; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.landing-section-heading > p:last-child { margin: 1rem 0 0; color: #64748b; font-size: 0.93rem; }
.landing-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.landing-step { position: relative; padding: 1.7rem; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.landing-step-icon { width: 44px; height: 44px; border-radius: 10px; }
.landing-step-icon svg { width: 22px; height: 22px; }
.landing-step-number { position: absolute; top: 1.8rem; right: 1.7rem; color: #94a3b8; font-size: 0.75rem; font-weight: 700; }
.landing-step h3 { margin: 1.5rem 0 0.7rem; font-size: 1rem; font-weight: 800; }
.landing-step p { margin: 0; color: #64748b; font-size: 0.85rem; line-height: 1.7; }
.landing-features-section { background: #f8fafc; }
.landing-features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.landing-features-note, .landing-pricing-note { margin: 1rem 0 0; color: #64748b; font-size: 0.8rem; }
.landing-pricing-note { text-align: center; }
.landing-features-list, .landing-price-card ul { margin: 0; padding: 0; list-style: none; }
.landing-features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.landing-features-list li { padding: 1.1rem; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #334155; font-size: 0.8rem; font-weight: 700; }
.landing-pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.landing-price-card { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.landing-price-featured { border-color: #0f766e; }
.landing-price-card h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.landing-price { margin: 1.1rem 0 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; }
.landing-price span { color: #64748b; font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }
.landing-price-card ul { flex: 1; margin: 1.3rem 0 1.5rem; padding-top: 1.2rem; border-top: 1px solid #e2e8f0; }
.landing-price-card li { position: relative; margin-bottom: 0.7rem; padding-left: 1.1rem; color: #475569; font-size: 0.78rem; }
.landing-price-card li::before { position: absolute; left: 0; content: '—'; color: #0f766e; }
.landing-footer { border-top: 1px solid #e2e8f0; background: #fff; }
.landing-footer-content { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.8rem; color: #64748b; font-size: 0.8rem; }
.landing-footer-brand { margin-right: auto; color: #0f172a; font-weight: 800; }
.landing-footer a { color: #475569; text-decoration: none; }
.landing-footer label { display: flex; align-items: center; gap: 0.5rem; }
.landing-footer select { padding: 0.35rem; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; color: #334155; }
@media (max-width: 900px) {
    .landing-nav { flex-wrap: wrap; gap: 0.7rem 1rem; padding-block: 0.9rem; }
    .landing-nav-links { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 1.5rem; padding-top: 0.4rem; }
    .landing-nav-actions { margin-left: auto; }
    .landing-hero-grid { gap: 2.5rem; }
    .landing-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .landing-container { width: min(100% - 2rem, 1200px); }
    .landing-nav { gap: 0.6rem; }
    .landing-brand { font-size: 0.8rem; }
    .landing-brand-mark { width: 32px; height: 32px; }
    .landing-nav-actions { gap: 0.1rem; }
    .landing-nav-actions .landing-button { min-height: 40px; padding: 0.55rem 0.65rem; font-size: 0.73rem; }
    .landing-nav-links { gap: 1.1rem; }
    .landing-nav-links a { font-size: 0.75rem; }
    .landing-hero { padding: 3.5rem 0 4rem; }
    .landing-hero-grid, .landing-features-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .landing-hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
    .landing-section { padding: 4rem 0; }
    .landing-steps { grid-template-columns: 1fr; }
    .landing-pricing-grid { grid-template-columns: 1fr; }
    .landing-footer-content { flex-wrap: wrap; gap: 0.8rem 1rem; }
    .landing-footer-brand { width: 100%; }
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(24rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    pointer-events: none;
}

.toast {
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    box-shadow: 0 2px 8px rgb(15 23 42 / 12%);
    pointer-events: auto;
    animation: toast-enter 180ms ease-out backwards;
    transition: opacity 200ms ease, transform 200ms ease;
}
.toast-success { background: #047857; }
.toast-error { background: #be123c; }
.toast-info { background: #1d4ed8; }
[data-action-loading="true"] { cursor: wait; opacity: 0.7; }
[data-action-loading="true"]::after {
    content: "";
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-left: 0.5em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: middle;
    animation: action-spinner 0.7s linear infinite;
}
@keyframes action-spinner { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    [data-action-loading="true"]::after { animation: none; }
}
.toast-leaving { opacity: 0; transform: translateY(-0.5rem); }
@keyframes toast-enter {
    from { opacity: 0; transform: translateY(-0.5rem); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .toast { animation: none; transition: none; }
}

#main-app-container {
    min-width: 0;
    min-height: 100vh;
}

html.app-loading #main-app-container {
    visibility: hidden;
    opacity: 0;
}

html.app-ready #main-app-container {
    animation: app-shell-fade-in 180ms ease-out both;
}

#app-layout,
#app-layout main,
#app-layout main > [id^="view-sub-"] {
    min-width: 0;
}

#app-layout {
    min-height: 100vh;
}

#app-layout main {
    min-height: 100vh;
}

#app-layout main > [id^="view-sub-"] {
    min-height: 24rem;
    opacity: 1;
    transition: opacity 160ms ease-out;
}

#app-layout main > [id^="view-sub-"].is-loading {
    opacity: 0;
    pointer-events: none;
}

#app-layout main > [id^="view-sub-"].is-ready {
    animation: app-view-fade-in 160ms ease-out both;
}

#agenda-today-total,
#agenda-today-completed,
#agenda-today-pending {
    min-height: 1.75rem;
}

#reports-summary-cards {
    min-height: 6rem;
}

#reports-summary-cards > article {
    min-width: 0;
    min-height: 5.5rem;
}

.incident-alert-mobile,
.incident-alert-desktop,
.incident-alert-desktop-action {
    display: none !important;
}

@media (max-width: 639px) {
    .incident-alert-mobile { display: flex !important; }
}

@media (min-width: 640px) {
    .incident-alert-desktop { display: flex !important; }
    .incident-alert-desktop-action { display: inline-flex !important; }
}

#reports-property-list {
    min-height: 4rem;
}

#view-sub-reports .relative.h-72 {
    min-width: 0;
    min-height: 18rem;
}

#financialOverviewChart {
    display: block;
    min-width: 0;
}

@keyframes app-shell-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes app-view-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    #main-app-container,
    #app-layout main > [id^="view-sub-"] {
        animation: none !important;
        transition: none !important;
    }
}

html[data-theme="light"] body,
body[data-theme="light"] {
    background-color: #f8fafc !important;
    color: #334155;
}

html[data-theme="light"] #app-loading-screen {
    background-color: #f8fafc;
}

html[data-theme="light"] #app-layout {
    background-color: #f8fafc;
}

html[data-theme="light"] #app-layout .bg-white {
    background-color: #ffffff !important;
}

html[data-theme="light"] #app-layout :is([class~="border-slate-100"], [class~="border-slate-200"], [class~="border-slate-300"]) {
    border-color: #e2e8f0 !important;
}

html[data-theme="light"] #app-layout input:not([type="checkbox"]),
html[data-theme="light"] #app-layout select,
html[data-theme="light"] #app-layout textarea {
    color-scheme: light;
}

html:not([data-theme="dark"]) #app-layout .finance-panel {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #334155 !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is([class~="bg-slate-950"], [class~="bg-slate-900"], [class~="bg-slate-900/70"], [class~="bg-slate-900/60"], [class~="bg-emerald-950/60"], [class~="bg-emerald-950/30"], [class~="bg-emerald-950"], [class~="bg-rose-950/40"], [class~="bg-emerald-900/70"], [class~="bg-amber-950/30"], [class~="bg-amber-950/20"], [class~="bg-amber-950"]) {
    background-color: #f8fafc !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is([class~="border-slate-600"], [class~="border-slate-700"], [class~="border-slate-800"], [class~="border-emerald-900"], [class~="border-amber-900"], [class~="border-emerald-900/80"], [class~="border-rose-900/80"], [class~="border-emerald-400/50"], [class~="border-amber-900/80"]) {
    border-color: #e5e7eb !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel .divide-slate-800 > :not([hidden]) ~ :not([hidden]) {
    border-color: #e5e7eb !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is(.text-slate-100, .text-slate-200, .text-slate-300, .text-slate-400, .text-white:not(button)) {
    color: #334155 !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is(.text-emerald-100, .text-emerald-200, .text-emerald-300):not(button) {
    color: #047857 !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is(.text-rose-100, .text-rose-300, .text-rose-600) {
    color: #be123c !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is(.text-amber-200, .text-amber-300):not(button) {
    color: #92400e !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel .text-teal-300 {
    color: #0f766e !important;
}
html:not([data-theme="dark"]) #app-layout .finance-panel :is(input, select) {
    color-scheme: light;
}
html:not([data-theme="dark"]) #app-layout .hosting-report-dropzone.dragover label {
    background: #f0fdfa !important;
}

.desktop-language-selector {
    display: none;
}
@media (min-width: 768px) {
    .desktop-language-selector {
        display: flex;
    }
}

#app-layout #profile-subtab-subscription article.is-current-plan {
    border: 2px solid #0f766e !important;
    background-color: #f0fdfa !important;
    box-shadow: 0 0 0 3px rgb(15 118 110 / 12%);
}
html[data-theme="dark"] #app-layout #profile-subtab-subscription article.is-current-plan {
    border-color: #5eead4 !important;
    background-color: #134e4a !important;
}
.subscription-current-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    border-radius: 9999px;
    background: #0f766e;
    padding: 0.3rem 0.65rem;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.offline-sync-indicator {
    position: sticky;
    top: 0.5rem;
    z-index: 40;
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid #475569;
    border-radius: 9999px;
    background: rgb(15 23 42 / 95%);
    padding: 0.55rem 0.9rem;
    color: #f8fafc;
    box-shadow: 0 2px 8px rgb(15 23 42 / 12%);
    font-size: 0.7rem;
    font-weight: 700;
}
.offline-sync-indicator.hidden { display: none; }
.offline-sync-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex: none;
    border-radius: 9999px;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgb(245 158 11 / 15%);
}

.finance-panel input,
.finance-panel select {
    color-scheme: dark;
}

.finance-panel .text-rose-600 {
    color: #fda4af !important;
}

.hosting-report-dropzone.dragover label {
    border-color: #2dd4bf;
    background: rgb(19 78 74 / 35%);
}
