/* Homestead Shambani R4 consolidated landing stylesheet */

/* SOURCE: assets/landing-v184.css */
:root {
            --sage-50: #F7F5F0;
            --sage-100: #E8F5E9;
            --sage-200: #C8E6C9;
            --sage-500: #8BC34A;
            --sage-600: #689F38;
            --sage-700: #558B2F;
            --sage-800: #1B3D1B;
            --sage-900: #0D1F0D;
            --warm-100: #FFF8E1;
            --warm-200: #FFF3E0;
            --warm-500: #FFB74D;
            --warm-600: #F57C00;
            --cream: #FAFBF7;
            --text-primary: #2D3B2D;
            --text-secondary: #5D6D5D;
            --text-muted: #8B9A8B;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { 
            font-family: 'Inter', system-ui, -apple-system, sans-serif; 
            background: var(--sage-50); 
            color: var(--text-primary); 
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* ─── ANIMATIONS ─── */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139,195,74,0.4); }
            50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(139,195,74,0); }
        }
        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-10px); }
        }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .animate-fade-in { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }

        /* ─── HERO ─── */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--sage-100) 0%, #F1F8E9 50%, var(--warm-100) 100%);
            overflow: hidden;
        }
        .hero-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.6;
        }
        .hero-blob-1 {
            top: -10%; right: -5%;
            width: 500px; height: 500px;
            background: radial-gradient(circle, rgba(139,195,74,0.2) 0%, transparent 70%);
            animation: float 8s ease-in-out infinite;
        }
        .hero-blob-2 {
            bottom: -10%; left: -10%;
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(255,183,77,0.15) 0%, transparent 70%);
            animation: float 10s ease-in-out infinite reverse;
        }

        .hero-grid {
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .badge-live {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            border-radius: 50px;
            margin-bottom: 24px;
            border: 1px solid rgba(139,195,74,0.2);
            font-size: 13px;
            font-weight: 500;
            color: var(--sage-700);
            letter-spacing: 0.5px;
        }
        .badge-live .dot {
            width: 8px; height: 8px;
            background: var(--sage-500);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .hero h1 {
            font-size: clamp(36px, 5vw, 56px);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 24px;
            color: var(--sage-800);
            letter-spacing: -1px;
        }
        .hero h1 .gradient-text {
            background: linear-gradient(135deg, var(--sage-600), #F9A825);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            font-size: 18px;
            line-height: 1.7;
            color: var(--text-secondary);
            margin-bottom: 32px;
            max-width: 480px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 16px 32px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--sage-600), var(--sage-700));
            color: white;
            box-shadow: 0 4px 20px rgba(104,159,56,0.3);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(104,159,56,0.4);
        }
        .btn-secondary {
            background: rgba(255,255,255,0.8);
            color: var(--text-primary);
            border: 1px solid rgba(139,195,74,0.3);
            backdrop-filter: blur(10px);
        }
        .btn-secondary:hover {
            background: white;
            transform: translateY(-2px);
        }

        .stats-row {
            margin-top: 40px;
            display: flex;
            gap: 32px;
            flex-wrap: wrap;
        }
        .stat-item .stat-value {
            font-size: 32px;
            font-weight: 800;
            color: var(--sage-600);
        }
        .stat-item .stat-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        /* ─── DASHBOARD PREVIEW CARD ─── */
        .preview-card {
            background: white;
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
            transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
            transition: transform 0.5s ease;
        }
        .preview-card:hover {
            transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
        }
        .preview-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        .preview-logo {
            width: 40px; height: 40px;
            background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }
        .preview-live-tag {
            background: var(--sage-100);
            color: #2E7D32;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        .preview-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }
        .preview-box {
            padding: 16px;
            border-radius: 16px;
        }
        .preview-box.income { background: var(--sage-100); }
        .preview-box.expense { background: var(--warm-200); }
        .preview-box-label {
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        .preview-box.income .preview-box-label { color: var(--sage-600); }
        .preview-box.expense .preview-box-label { color: var(--warm-600); }
        .preview-box-value {
            font-size: 22px;
            font-weight: 800;
            color: var(--sage-800);
        }
        .preview-box-trend {
            font-size: 12px;
            margin-top: 4px;
        }
        .preview-box.income .preview-box-trend { color: var(--sage-500); }
        .preview-box.expense .preview-box-trend { color: var(--warm-500); }

        .preview-cashflow {
            background: var(--sage-100);
            padding: 16px;
            border-radius: 16px;
            margin-bottom: 16px;
        }
        .preview-cashflow-label {
            font-size: 11px;
            color: var(--sage-600);
            font-weight: 600;
            margin-bottom: 8px;
        }
        .preview-cashflow-row {
            display: flex;
            align-items: baseline;
            gap: 8px;
        }
        .preview-cashflow-value {
            font-size: 28px;
            font-weight: 800;
            color: #2E7D32;
        }
        .preview-cashflow-pct {
            font-size: 13px;
            color: var(--sage-500);
            font-weight: 600;
        }
        .preview-progress {
            margin-top: 12px;
            height: 6px;
            background: rgba(255,255,255,0.5);
            border-radius: 3px;
            overflow: hidden;
        }
        .preview-progress-bar {
            width: 63%;
            height: 100%;
            background: linear-gradient(90deg, var(--sage-500), var(--sage-600));
            border-radius: 3px;
        }

        .preview-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .preview-tag {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .floating-badge {
            position: absolute;
            background: white;
            padding: 12px 18px;
            border-radius: 16px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
        }
        .floating-badge .fb-icon { font-size: 20px; }
        .floating-badge .fb-title { font-weight: 700; color: var(--sage-800); }
        .floating-badge .fb-sub { font-size: 10px; color: var(--text-muted); }

        /* ─── SECTIONS ─── */
        .section {
            padding: 120px 0;
        }
        .section-alt { background: white; }
        .section-cream { background: var(--sage-50); }
        .section-dark {
            background: linear-gradient(135deg, var(--sage-800) 0%, #2D5A2D 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .container {
            max-width: 1200px;
            width: 90%;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }
        .section-tag {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }
        .section-title {
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 800;
            color: var(--sage-800);
            margin-bottom: 16px;
        }
        .section-desc {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        /* ─── FEATURE CARDS ─── */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
        }
        .feature-card {
            background: var(--cream);
            border: 1px solid rgba(139,195,74,0.1);
            border-radius: 20px;
            padding: 32px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.06);
            border-color: rgba(139,195,74,0.2);
        }
        .feature-icon {
            width: 56px; height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 20px;
        }
        .feature-card h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--sage-800);
            margin-bottom: 12px;
        }
        .feature-card p {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin: 0 0 20px 0;
        }
        .feature-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .feature-tag {
            font-size: 12px;
            background: white;
            padding: 4px 10px;
            border-radius: 8px;
            border: 1px solid rgba(0,0,0,0.06);
        }

        /* ─── ADMIN SECTION ─── */
        .admin-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }
        .admin-feature {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 16px 0;
        }
        .admin-feature-icon {
            width: 40px; height: 40px;
            background: rgba(139,195,74,0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }
        .admin-feature h4 {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 4px;
        }
        .admin-feature p {
            font-size: 14px;
            color: rgba(255,255,255,0.6);
        }

        .admin-panel-preview {
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 24px;
            padding: 32px;
        }
        .admin-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }
        .admin-panel-dots {
            display: flex;
            gap: 6px;
        }
        .admin-panel-dots span {
            width: 10px; height: 10px;
            border-radius: 50%;
        }
        .admin-panel-item {
            background: rgba(255,255,255,0.08);
            padding: 16px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .admin-panel-item:last-child { margin-bottom: 0; }
        .admin-panel-item-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .admin-panel-item-icon {
            width: 36px; height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .admin-panel-item-title {
            font-weight: 600;
            font-size: 14px;
        }
        .admin-panel-item-sub {
            font-size: 12px;
            color: rgba(255,255,255,0.5);
        }
        .admin-panel-item-action {
            color: #AED581;
            font-size: 13px;
            font-weight: 600;
        }

        /* ─── FARM CARDS ─── */
        .farms-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
        }
        .farm-card {
            background: white;
            border-radius: 20px;
            padding: 28px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
            border: 1px solid rgba(0,0,0,0.04);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .farm-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.08);
        }
        .farm-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }
        .farm-card-icon {
            width: 48px; height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        .farm-card h3 {
            font-weight: 700;
            color: var(--sage-800);
            font-size: 18px;
        }
        .farm-card .farm-type {
            font-size: 12px;
            color: var(--text-muted);
        }
        .farm-card p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin: 0 0 16px 0;
        }
        .farm-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .farm-card-income {
            font-size: 13px;
            font-weight: 600;
        }
        .farm-card-status {
            width: 8px; height: 8px;
            border-radius: 50%;
        }

        /* ─── ACTIVITY FEED ─── */
        .activity-feed {
            background: var(--cream);
            border-radius: 24px;
            padding: 32px;
            border: 1px solid rgba(0,0,0,0.04);
            max-width: 700px;
            margin: 0 auto;
        }
        .activity-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px;
            background: white;
            border-radius: 12px;
            margin-bottom: 12px;
            border-left: 3px solid var(--sage-500);
            transition: all 0.2s ease;
        }
        .activity-item:hover {
            transform: translateX(4px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
        }
        .activity-item:last-child { margin-bottom: 0; }
        .activity-item.offline { border-left-color: #EF5350; }
        .activity-item.online { border-left-color: #66BB6A; }
        .activity-icon {
            width: 36px; height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }
        .activity-content { flex: 1; }
        .activity-title {
            font-weight: 600;
            font-size: 14px;
            color: var(--sage-800);
        }
        .activity-sub {
            font-size: 12px;
            color: var(--text-muted);
        }
        .activity-time {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 500;
            flex-shrink: 0;
        }

        /* ─── CTA ─── */
        .cta-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--sage-100) 0%, #F1F8E9 100%);
            text-align: center;
        }
        .cta-section h2 {
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 800;
            color: var(--sage-800);
            margin-bottom: 16px;
        }
        .cta-section p {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 40px;
        }
        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--sage-600), var(--sage-700));
            color: white;
            padding: 18px 40px;
            border-radius: 14px;
            text-decoration: none;
            font-weight: 700;
            font-size: 18px;
            box-shadow: 0 8px 30px rgba(104,159,56,0.3);
            transition: all 0.3s ease;
        }
        .cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(104,159,56,0.4);
        }

        /* ─── FOOTER ─── */
        .footer {
            padding: 60px 0 40px;
            background: var(--sage-800);
            color: white;
            text-align: center;
        }
        .footer-brand {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 8px;
            color: #AED581;
        }
        .footer-tagline {
            font-size: 14px;
            color: rgba(255,255,255,0.5);
            margin-bottom: 32px;
        }
        .footer-farms {
            display: flex;
            justify-content: center;
            gap: 24px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }
        .footer-farms span {
            font-size: 13px;
            color: rgba(255,255,255,0.4);
        }
        .footer-copy {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 24px;
            font-size: 13px;
            color: rgba(255,255,255,0.3);
        }

        /* ─── SCROLL DOWN ─── */
        .scroll-down {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
            cursor: pointer;
        }
        .scroll-down-icon {
            width: 40px; height: 40px;
            border: 2px solid rgba(104,159,56,0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--sage-600);
            font-size: 18px;
        }

        /* ─── RESPONSIVE ─── */
        @media (max-width: 900px) {
            .hero-grid,
            .admin-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .preview-card {
                transform: none;
            }
            .section { padding: 80px 0; }
            .stats-row { gap: 20px; }
        }

        @media (max-width: 600px) {
            .features-grid,
            .farms-grid {
                grid-template-columns: 1fr;
            }
            .preview-grid {
                grid-template-columns: 1fr;
            }
            .btn {
                width: 100%;
                justify-content: center;
            }
        }

/* Shambani v1.8.4 private Homestead access additions */
:root{
  --brand:#355d3b;
  --accent:#c99945;
}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.private-nav{position:fixed;inset:0 0 auto;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px max(5vw,20px);background:rgba(247,245,240,.84);backdrop-filter:blur(18px);border-bottom:1px solid rgba(27,61,27,.08)}
.private-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--sage-800)}
.private-brand img{width:120px;max-height:48px;object-fit:contain;object-position:left center}
.private-brand span{display:flex;flex-direction:column}.private-brand small{font-size:11px;color:var(--text-muted)}
.private-nav-actions{display:flex;gap:10px;align-items:center}.private-access-note{font-size:12px;color:var(--text-muted)}
.hero{padding-top:78px}
.hero-photo-strip{margin-top:18px;display:flex;align-items:center;gap:12px;padding:10px;border-radius:16px;background:rgba(255,255,255,.7);border:1px solid rgba(139,195,74,.16)}
.hero-photo-strip img{width:76px;height:58px;border-radius:12px;object-fit:cover}.hero-photo-strip strong{display:block;color:var(--sage-800);font-size:13px}.hero-photo-strip small{display:block;color:var(--text-muted);font-size:11px}
.preview-logo img{width:28px;height:28px;object-fit:contain;filter:brightness(0) invert(1)}
.private-value{font-size:18px;font-weight:800;color:var(--sage-800)}
.private-value small{display:block;font-size:10px;font-weight:600;color:var(--text-muted);margin-top:4px}
.farm-card{cursor:default}
.activity-empty{padding:28px;text-align:center;color:var(--text-muted)}
.private-banner{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;background:#fff8e1;color:#6b551d;font-size:13px;border-block:1px solid rgba(201,153,69,.18)}
.footer-copy a{color:#aed581}
@media(max-width:760px){.private-nav{position:relative;padding:10px 14px}.private-brand img{width:92px}.private-brand span{display:none}.private-access-note{display:none}.hero{padding-top:34px}.floating-badge{display:none}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-item .stat-value{font-size:22px}.section-header{margin-bottom:44px}.activity-item{align-items:flex-start}.activity-time{white-space:nowrap}}

/* SOURCE: assets/v185.css */
/* Homestead Shambani v1.8.5 gallery, incident and reconciliation UI */
.homestead-photo-gallery{max-width:1200px;width:90%;margin:0 auto;padding:72px 0 28px}.gallery-heading{text-align:center;margin-bottom:28px}.gallery-heading span{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.14em;color:#689f38}.gallery-heading h2{font-size:clamp(28px,4vw,42px);color:#1b3d1b;margin:8px 0}.gallery-heading p{color:#6b7b6b;margin:0}.gallery-mosaic{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:180px;gap:14px}.gallery-photo{position:relative;margin:0;overflow:hidden;border-radius:22px;background:#e7ecdf;box-shadow:0 12px 32px rgba(27,61,27,.12)}.gallery-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.gallery-photo:hover img{transform:scale(1.035)}.gallery-photo figcaption{position:absolute;left:12px;bottom:12px;padding:6px 10px;background:rgba(20,43,27,.72);color:#fff;border-radius:999px;font-size:11px}.gallery-photo-1{grid-column:span 7;grid-row:span 2}.gallery-photo-2{grid-column:span 5}.gallery-photo-3{grid-column:span 5}.gallery-photo-4,.gallery-photo-5{grid-column:span 6}.gallery-mosaic.count-1 .gallery-photo-1{grid-column:1/-1}.gallery-mosaic.count-2 .gallery-photo{grid-column:span 6;grid-row:span 2}.gallery-mosaic.count-3 .gallery-photo-1{grid-column:span 7;grid-row:span 2}.gallery-mosaic.count-3 .gallery-photo-2,.gallery-mosaic.count-3 .gallery-photo-3{grid-column:span 5}.reconcile-status{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:750}.reconcile-status.matched{background:#e7f5ea;color:#23713a}.reconcile-status.possible{background:#fff3d8;color:#886000}.reconcile-status.conflict{background:#fbe7e4;color:#9a342b}.reconcile-status.unmatched{background:#edf0ed;color:#5f6961}.incident-severity{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:750}.incident-severity.low{background:#e9f4ec;color:#397447}.incident-severity.medium{background:#fff3d8;color:#886000}.incident-severity.high,.incident-severity.critical{background:#fbe7e4;color:#9a342b}.photo-preview-small{width:80px;height:58px;object-fit:cover;border-radius:9px}.weekly-day{border-left:4px solid var(--accent);padding:12px 16px;margin:10px 0;background:#fbfaf5}.match-grid{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));gap:8px}.match-check{padding:10px;border-radius:10px;background:#f5f5ef;text-align:center;font-size:12px}.match-check.yes{background:#e7f5ea;color:#23713a}.match-check.no{background:#fbe7e4;color:#9a342b}@media(max-width:760px){.gallery-mosaic{grid-template-columns:1fr;grid-auto-rows:210px}.gallery-photo,.gallery-photo-1,.gallery-photo-2,.gallery-photo-3,.gallery-photo-4,.gallery-photo-5,.gallery-mosaic.count-2 .gallery-photo,.gallery-mosaic.count-3 .gallery-photo-1,.gallery-mosaic.count-3 .gallery-photo-2,.gallery-mosaic.count-3 .gallery-photo-3{grid-column:1;grid-row:auto}.match-grid{grid-template-columns:repeat(2,1fr)}}
.reconcile-status.not-checked{background:#eef1f6;color:#526174}.gear-menu{position:relative}.gear-menu>summary{list-style:none;cursor:pointer}.gear-menu>summary::-webkit-details-marker{display:none}.gear-card{position:absolute;right:0;top:36px;z-index:40;width:min(330px,85vw);padding:14px;background:#fff;border:1px solid #dfe5dc;border-radius:14px;box-shadow:0 16px 42px rgba(20,43,27,.18);display:grid;gap:10px;text-align:left}.gear-card form{display:grid;gap:8px}.gear-card label{display:grid;gap:4px;font-size:12px;font-weight:700}.gear-card input,.gear-card select,.gear-card textarea{width:100%}.gear-card textarea{min-height:72px}.btn.small{padding:8px 11px;font-size:12px}.notes{margin-top:5px;font-size:12px;color:#667066;max-width:420px}.reconcile-source{min-width:240px}@media(max-width:760px){.gear-card{position:fixed;left:12px;right:12px;top:auto;bottom:78px;width:auto;max-height:70vh;overflow:auto}.homestead-photo-gallery{padding-top:50px}}

/* SOURCE: assets/v190.css */
.quick-public{min-height:100vh;background:linear-gradient(145deg,#eef6ec,#fff9eb);padding:24px;font-family:Inter,system-ui,sans-serif}.quick-card{max-width:720px;margin:auto;background:#fff;border:1px solid #dce8d9;border-radius:28px;padding:clamp(20px,4vw,38px);box-shadow:0 24px 70px rgba(31,70,39,.12)}.quick-brand{display:flex;align-items:center;gap:14px;margin-bottom:24px}.quick-brand img{width:56px;height:56px;object-fit:contain}.quick-brand div{display:flex;flex-direction:column}.quick-brand small{color:#708070}.quick-save{width:100%;min-height:56px;font-size:1.05rem}.quick-back{text-align:center;margin-top:20px}.carry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.carry-grid>div{background:#f7faf5;border:1px solid #e1e9de;border-radius:18px;padding:18px}.carry-grid span{display:block;color:#6d7b6c;font-size:.85rem}.carry-grid strong{display:block;font-size:1.3rem;margin-top:6px}.summary-rows{display:grid;gap:8px}.summary-rows>div{display:flex;justify-content:space-between;gap:20px;padding:12px;border-bottom:1px solid #e7ece5}.full-chart-panel{width:100%;overflow:hidden}.full-chart-panel canvas{width:100%!important;max-width:100%;min-height:300px}.live-team-fab{position:fixed;right:20px;bottom:88px;z-index:1900;width:58px;height:58px;border:0;border-radius:50%;background:var(--brand,#355d3b);color:#fff;font-size:25px;box-shadow:0 12px 35px rgba(0,0,0,.24);cursor:pointer}.live-team-drawer{position:fixed;right:18px;bottom:155px;z-index:1900;width:min(390px,calc(100vw - 28px));height:520px;max-height:68vh;background:#fff;border:1px solid #dbe5d8;border-radius:22px;box-shadow:0 25px 70px rgba(0,0,0,.25);display:none;overflow:hidden}.live-team-drawer.open{display:flex;flex-direction:column}.live-team-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#eef5eb}.live-team-head button{border:0;background:transparent;font-size:24px}.team-messages{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}.team-messages article{background:#f5f8f3;border-radius:14px;padding:10px 12px}.team-messages strong{font-size:.84rem}.team-messages small{float:right;color:#879386;font-size:.7rem}.team-messages p{margin:5px 0 0;white-space:pre-wrap}.team-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e2e8df}.team-form input{flex:1;min-width:0}.live-team-page{height:68vh;display:flex;flex-direction:column}.period-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.period-card{border:1px solid #dfe7dd;border-radius:20px;padding:18px;background:#fff}.period-card h3{font-size:.92rem;margin:0 0 12px}.period-card p{display:flex;justify-content:space-between;margin:5px 0}.period-card strong{font-size:1rem}.landing-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.landing-quick-actions button,.landing-quick-actions a{border-radius:13px}.quick-modal{border:0;border-radius:22px;padding:0;width:min(760px,94vw);height:min(760px,88vh);box-shadow:0 30px 90px rgba(0,0,0,.3)}.quick-modal::backdrop{background:rgba(9,25,12,.65)}.quick-modal iframe{width:100%;height:100%;border:0}.quick-modal-close{position:absolute;right:10px;top:8px;z-index:2;border:0;border-radius:50%;width:38px;height:38px;background:#fff;font-size:24px;box-shadow:0 3px 15px rgba(0,0,0,.2)}
@media(max-width:850px){.carry-grid,.period-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.quick-public{padding:8px}.quick-card{border-radius:18px}.carry-grid,.period-card-grid{grid-template-columns:1fr}.live-team-fab{right:14px;bottom:82px}.live-team-drawer{right:7px;bottom:148px;width:calc(100vw - 14px)}}
/* v1.9.0 R2 restore hotfix */
.landing-quick-shelf{width:min(1280px,94%);margin:28px auto 34px;padding:14px;border:1px solid rgba(53,93,59,.12);border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(30,59,36,.07)}
.landing-quick-shelf .quick-shelf-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 2px 10px}.landing-quick-shelf .quick-shelf-title strong{font-size:.86rem;letter-spacing:.06em;color:#55705b}.landing-quick-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:0!important;align-items:stretch}.landing-quick-actions .quick-tool{min-height:42px!important;height:auto;padding:8px 10px!important;border-radius:11px!important;font-size:.82rem!important;line-height:1.15;justify-content:center;text-align:center;white-space:normal}.landing-quick-actions .quick-tool span{font-size:1rem}.hero .landing-quick-actions{display:none!important}
.quick-modal{width:min(860px,96vw);height:min(820px,92vh)}.quick-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f7faf5;color:#46604b}.quick-modal.loaded .quick-loading{display:none}
.quick-items{display:grid;gap:10px}.quick-item-row{display:grid;grid-template-columns:minmax(150px,2fr) minmax(110px,1fr) 90px 90px 110px auto;gap:8px;align-items:end;padding:10px;border:1px solid #dfe9dd;border-radius:14px;background:#f9fbf8}.quick-item-row .field{margin:0}.quick-item-remove{height:42px;width:42px;border:0;border-radius:10px;background:#fae8e5;color:#9d3027;font-weight:800}.quick-confirm{border:0;border-radius:18px;padding:0;width:min(560px,92vw)}.quick-confirm article{padding:22px}.quick-confirm .confirm-list{max-height:260px;overflow:auto;border:1px solid #e2e9df;border-radius:12px;padding:10px;margin:14px 0}.quick-form-status{padding:12px 14px;border-radius:12px;background:#fff7df;border:1px solid #ead69c;margin-bottom:14px}
.table-scroll-top{overflow-x:auto;overflow-y:hidden;height:17px;margin:0 0 3px;border:1px solid #dfe5da;border-radius:7px;background:#eef2eb;scrollbar-width:auto}.table-scroll-top>div{height:1px}.table-scroll,.scroll{scrollbar-gutter:stable both-edges}
.full-width-stack{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px}.full-width-stack>.panel{width:100%}
.form-submit-bar{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #e1e7de}.form-submit-bar .btn{min-width:170px}
.transaction-cost{font-size:.78rem;color:#7a5b2a}.cache-placeholder{min-height:1px;width:100%}
@media(max-width:780px){.landing-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-item-row{grid-template-columns:1fr 1fr}.quick-item-row .item-desc{grid-column:1/-1}.quick-item-row .quick-item-remove{grid-column:2;justify-self:end}.landing-quick-shelf{width:calc(100% - 20px);padding:10px}.landing-quick-actions .quick-tool{min-height:40px!important;padding:7px!important;font-size:.78rem!important}}

/* v1.9.0 R3 reliability, mobile and administration refinements */
.quick-modal{position:fixed!important;inset:0!important;margin:auto!important;max-width:calc(100vw - 18px);max-height:calc(100dvh - 18px);overflow:hidden}.quick-modal[open]{display:block}.quick-modal.dialog-fallback{display:block;z-index:4000}.quick-modal iframe{display:block;background:#f7faf5}.quick-modal-close{position:absolute!important}.quick-public{display:grid;place-items:center;min-height:100dvh}.quick-card{width:min(720px,100%)}
.top-farm-switch{display:flex!important;align-items:end;gap:6px}.farm-manage-gear{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eef4eb;text-decoration:none;color:var(--brand);font-size:1rem}.farm-manage-gear:hover{background:#dfeadb}
.app-shell h1{font-size:clamp(1.35rem,2.5vw,1.85rem)!important}.app-shell h2{font-size:clamp(1.05rem,2vw,1.35rem)!important}.app-shell h3{font-size:1rem!important}.app-shell .panel strong:not(.kpi-value){font-weight:650}.app-shell .subtle,.app-shell small{line-height:1.35}
.full-width-section,.admin-full-width,.app-shell .content>.panel{min-width:0}.admin-collapse{padding:0!important;overflow:hidden}.admin-collapse>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;cursor:pointer;background:#f7faf5;border-bottom:1px solid transparent}.admin-collapse>summary::-webkit-details-marker{display:none}.admin-collapse>summary:after{content:'⌄';font-size:1.1rem}.admin-collapse[open]>summary{border-bottom-color:#e1e8dd}.admin-collapse[open]>summary:after{transform:rotate(180deg)}.admin-collapse>.details-body,.admin-collapse>:not(summary){margin:16px}
.thin-admin-list{display:grid;gap:8px}.thin-admin-row{border:1px solid #dfe7dc;border-radius:13px;background:#fff;overflow:hidden}.thin-admin-row>summary{display:grid;grid-template-columns:minmax(160px,1.5fr) repeat(3,minmax(95px,.7fr)) 42px;gap:12px;align-items:center;min-height:48px;padding:7px 10px;cursor:pointer;list-style:none}.thin-admin-row>summary::-webkit-details-marker{display:none}.thin-admin-row>summary .gear{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf4ea}.thin-admin-row>.row-details{padding:14px;border-top:1px solid #e3e9e0;background:#fafcf9}.row-gear{position:relative}.row-gear>summary{list-style:none;cursor:pointer;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#edf4ea}.row-gear>summary::-webkit-details-marker{display:none}.row-gear>div{position:absolute;right:0;top:38px;z-index:30;min-width:240px;background:#fff;border:1px solid #dfe7dc;border-radius:12px;padding:10px;box-shadow:0 12px 32px rgba(0,0,0,.14)}
.module-search{display:flex;gap:8px;align-items:center;max-width:480px;width:100%}.module-search input[type=search]{flex:1;min-width:120px}.table-search-bar{display:flex;align-items:center;gap:8px;margin:0 0 10px}.table-search-bar input{width:min(420px,100%)}.table-match-count{font-size:.78rem;color:#708070;white-space:nowrap}
.advisor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;margin-bottom:18px}.advisor-tip{display:flex;gap:14px;align-items:flex-start}.advisor-icon{font-size:1.7rem}.advisor-tip h2{margin:4px 0 6px}.advisor-tip p{margin:0}.advisor-tip.level-high{border-left:5px solid #bd4b3e}.advisor-tip.level-good{border-left:5px solid #4f8b53}.advisor-tip.level-info{border-left:5px solid #4779a7}
.offline-sync-toast{position:fixed;left:50%;bottom:88px;transform:translateX(-50%);z-index:5000;padding:10px 14px;border-radius:12px;background:#253a29;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:.85rem;max-width:calc(100vw - 24px)}.offline-sync-toast.error{background:#8b3029}.offline-sync-toast.warning{background:#87641c}.offline-pending-badge{position:fixed;left:12px;bottom:86px;z-index:1900;background:#fff7db;border:1px solid #dec77e;border-radius:11px;padding:7px 10px;font-size:.75rem;box-shadow:0 6px 20px rgba(0,0,0,.1)}
.smart-form .expense-only[hidden],.smart-form .income-only[hidden]{display:none!important}
@media(max-width:780px){.quick-modal{width:calc(100vw - 10px)!important;height:calc(100dvh - 10px)!important;border-radius:16px!important}.quick-modal-close{right:8px;top:8px}.top-farm-switch label{display:none}.top-farm-switch select{max-width:135px}.farm-manage-gear{width:34px;height:34px}.thin-admin-row>summary{grid-template-columns:minmax(120px,1fr) 42px}.thin-admin-row>summary>*:not(:first-child):not(:last-child){display:none}.module-search{max-width:none}.page-head{gap:10px}.page-head>.module-search{width:100%}.app-shell h1{font-size:1.3rem!important}.app-shell h2{font-size:1.08rem!important}}
.compact-admin-card{position:relative;max-height:68px;overflow:hidden;transition:max-height .2s ease,padding .2s ease;padding-right:48px!important}.compact-admin-card.expanded{max-height:1200px}.compact-card-gear{position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;border-radius:9px;background:#edf4ea;cursor:pointer}.thin-admin-row>summary strong{display:flex;flex-direction:column;gap:2px}.thin-admin-row>summary strong small{font-weight:400;color:#718071}.thin-admin-row>summary span{display:flex;flex-direction:column;font-size:.82rem}.thin-admin-row>summary span small{color:#7a887a;font-size:.68rem}.app-shell .content>.grid-2,.app-shell .content>.grid-3{min-width:0}.admin-full-width .grid-2,.admin-full-width .grid-3{grid-template-columns:1fr!important}

/* SOURCE: assets/r4.css */
/* Homestead Shambani v1.9.0 R4 compact, responsive and full-width administration UI */
:root{--r4-row-height:42px}
.content{max-width:none}.content>.grid-2,.content>.grid-3,.content>.catalogue-split,.content>.home-dashboard-grid{grid-template-columns:1fr!important}.full-width-section,.content>.panel,.content>form.panel,.content>details.panel{width:100%;max-width:none}
.panel{border-radius:14px}.panel>h1,.panel>h2,.panel>h3,.section-heading h2,.page-head h1{font-weight:650;letter-spacing:-.015em}.page-head h1{font-size:clamp(1.35rem,2.2vw,1.9rem)}.panel h2{font-size:1.08rem}.panel h3{font-size:1rem}.compact-kpi-row strong,.stat-value,.preview-box-value{font-weight:650!important}
.r4-collapsible{padding:0!important;overflow:visible}.r4-collapsible>.r4-panel-summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;min-height:48px}.r4-collapsible>.r4-panel-summary::-webkit-details-marker{display:none}.r4-collapsible>.r4-panel-summary:after{content:'⌄';font-size:18px;transition:.2s}.r4-collapsible[open]>.r4-panel-summary:after{transform:rotate(180deg)}.r4-collapsible>.r4-panel-body{padding:0 16px 16px}.r4-panel-summary h2,.r4-panel-summary h3{margin:0}
.table-scroll,.scroll{position:relative;max-width:100%;overflow:auto}.r4-scroll-top{height:14px;overflow-x:auto;overflow-y:hidden;margin:0 0 4px}.r4-scroll-top>div{height:1px}.r4-table-wrap{overflow-x:auto;max-height:min(70vh,760px)}
table{font-size:.88rem}table th,table td{padding:8px 9px!important;vertical-align:middle;line-height:1.25}table tr{min-height:var(--r4-row-height)}table td.r4-long,table td:nth-child(n+2){max-width:260px}.r4-truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.r4-expanded .r4-truncate{white-space:normal;overflow:visible}.r4-row-toggle{border:0;background:transparent;font-size:17px;cursor:pointer;padding:4px 6px}.period,.date-range,[data-nowrap],table td:first-child,table time{white-space:nowrap}.subtle{font-size:.88rem}.review-badge,.badge{white-space:nowrap}
.quick-modal{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:min(920px,94vw)!important;max-height:92dvh!important;border:0;border-radius:20px;padding:0;box-shadow:0 28px 90px rgba(0,0,0,.34)}.quick-modal::backdrop{background:rgba(16,26,17,.72);backdrop-filter:blur(3px)}.quick-modal iframe{width:100%;height:min(780px,88dvh);border:0;display:block}.quick-modal-close{position:absolute;right:10px;top:8px;z-index:5;width:38px;height:38px;border-radius:50%}.quick-tools-row{display:flex!important;flex-wrap:wrap;gap:8px;align-items:stretch}.quick-tools-row .quick-tool{flex:1 1 125px;min-width:118px;max-width:210px;min-height:70px!important;padding:10px 12px!important}.quick-tools-row .quick-tool span{font-size:20px!important}.quick-tools-row .quick-tool strong{font-size:.83rem!important}.quick-tools-row .quick-tool small{display:none}
.r4-toast-stack{position:fixed;right:18px;bottom:84px;z-index:5000;display:grid;gap:9px;width:min(390px,calc(100vw - 30px))}.r4-toast{background:#fff;border:1px solid #dfe7dd;border-left:5px solid var(--brand);padding:13px 15px;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.18);animation:r4in .25s ease}.r4-toast.error{border-left-color:#b42318}.r4-toast.warning{border-left-color:#b7791f}.r4-toast.success{border-left-color:#2f7d32}@keyframes r4in{from{transform:translateX(25px);opacity:0}}
.r4-search{width:min(420px,100%);margin-left:auto}.r4-search input{width:100%}.r4-hidden-row{display:none!important}
.smart-alert-critical{border-left:5px solid #b42318}.smart-alert-high{border-left:5px solid #d97706}.smart-alert-normal{border-left:5px solid #2f7d32}.smart-alert-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:12px;border-bottom:1px solid var(--line)}.smart-alert-row h3{margin:0 0 4px}.smart-alert-row p{margin:0;color:var(--muted)}
@media(max-width:720px){.quick-modal{width:96vw!important;max-height:96dvh!important}.quick-modal iframe{height:92dvh}.quick-tools-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-tools-row .quick-tool{max-width:none;width:100%;min-height:62px!important}.form-grid{grid-template-columns:1fr!important}table{font-size:.82rem}.page-head{gap:8px}.page-head h1{font-size:1.3rem}.r4-toast-stack{right:10px;bottom:76px}}

/* R4.0.1 refinements */
.smart-advisor-list{display:grid;gap:8px}.smart-advisor-list details.smart-alert-row{display:block;border:1px solid var(--line);border-left-width:5px;border-radius:10px;padding:0}.smart-advisor-list details>summary{list-style:none;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:11px 12px;cursor:pointer}.smart-advisor-list details>summary::-webkit-details-marker{display:none}.smart-advisor-list .row-details{padding:0 14px 14px}.thin-admin-row>summary{min-height:44px;padding:8px 10px}.thin-admin-row>summary strong{font-size:.92rem}.thin-admin-row>summary small{font-size:.75rem}.row-gear>summary,.gear{cursor:pointer}.row-gear>div{min-width:220px}.r4-thin-row td{height:38px}.period-card .value,.cards .value{font-size:clamp(1.05rem,1.7vw,1.45rem)!important;font-weight:650!important}.period-card,.date-range,.date-cell,td:first-child{white-space:nowrap!important}.quick-public{min-height:100dvh;display:grid;place-items:center;padding:16px}.quick-public .quick-card{width:min(760px,100%);margin:auto}.quick-confirm{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(680px,92vw);max-height:88dvh;overflow:auto}
/* R4.1 compact registers and action menus */
main.content{max-width:none}.full-width-section,.r4-collapsible{width:100%;grid-column:1/-1}.r4-collapsible>.r4-panel-summary{min-height:42px;padding:9px 12px}.r4-collapsible>.r4-panel-summary h2,.r4-collapsible>.r4-panel-summary h3{font-size:1rem!important;font-weight:650!important}.r4-panel-body{padding:12px}.r4-thin-row td{padding:6px 8px!important;vertical-align:middle}.r4-truncate{display:inline-block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.r4-expanded .r4-truncate{max-width:none;white-space:normal;overflow:visible}.row-gear{position:relative}.row-gear>summary{list-style:none;width:34px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fff}.row-gear>summary::-webkit-details-marker{display:none}.row-gear>div{position:absolute;right:0;top:36px;z-index:50;display:grid;gap:7px;padding:9px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.16);min-width:210px}.row-gear>div form{margin:0}.row-gear>div .btn{width:100%;justify-content:center}.r4-scroll-top{overflow-x:auto;overflow-y:hidden;height:15px;margin-bottom:4px}.r4-scroll-top>div{height:1px}.r4-table-wrap{overflow-x:auto}.date-range,.period-card,.period-card *,td[data-nowrap],.nowrap{white-space:nowrap!important}.page-head h1{font-size:clamp(1.25rem,2.2vw,1.8rem)!important}.panel h2{font-size:1.05rem}.compact-kpi-row strong,.metric-value,.stat-value{font-weight:650!important}
@media(max-width:720px){.r4-truncate{max-width:150px}.row-gear>div{position:fixed;right:12px;left:12px;top:auto;bottom:82px;min-width:0}.quick-modal{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important}}
/* Force the requested operational and administration modules into one full-width flow. */
body[data-page="summary.php"] main.content .grid-2,body[data-page="summary.php"] main.content .grid-3,
body[data-page="audit.php"] main.content .grid-2,body[data-page="payment-accounts.php"] main.content .grid-2,
body[data-page="contacts.php"] main.content .grid-2,body[data-page="payees.php"] main.content .grid-2,
body[data-page="supplies-intake.php"] main.content .grid-2,body[data-page="supplies-intake.php"] main.content .grid-3,
body[data-page="poultry.php"] main.content .grid-2,body[data-page="poultry.php"] main.content .grid-3,
body[data-page="rabbits.php"] main.content .grid-2,body[data-page="rabbits.php"] main.content .grid-3,
body[data-page="pigs.php"] main.content .grid-2,body[data-page="pigs.php"] main.content .grid-3,
body[data-page="apiary.php"] main.content .grid-2,body[data-page="apiary.php"] main.content .grid-3,
body[data-page="vegetables.php"] main.content .grid-2,body[data-page="vegetables.php"] main.content .grid-3,
body[data-page="animal-count.php"] main.content .grid-2,body[data-page="eggs.php"] main.content .grid-2,
body[data-page="fuel.php"] main.content .grid-2,body[data-page="smart-advisor.php"] main.content .grid-2,
body[data-page="locations.php"] main.content .grid-2,body[data-page="system-controls.php"] main.content .grid-2,
body[data-page="settings.php"] main.content .grid-2,body[data-page="report-builder.php"] main.content .grid-2{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important
}

/* v3.2.0 — dynamic public farm-weather strip. */
.landing-farm-weather{width:100%;padding:12px 0 36px;background:linear-gradient(180deg,#fbfaf5 0%,#f4f7ef 100%)}
.landing-weather-shell{width:min(1180px,92%);margin:0 auto;padding:20px;border:1px solid rgba(53,93,59,.13);border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 14px 34px rgba(30,59,36,.07)}
.landing-weather-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.landing-weather-eyebrow{display:inline-block;color:#6f7d55;font-weight:850;letter-spacing:.11em;font-size:.72rem;margin-bottom:4px}
.landing-weather-heading h2{margin:0;color:#193b27;font-size:clamp(1.35rem,2.3vw,1.85rem);line-height:1.15}.landing-weather-heading p{margin:6px 0 0;color:#69756c;font-size:.9rem;max-width:720px}
.landing-weather-refresh{flex:0 0 auto;border:1px solid #d9e0d7;border-radius:999px;background:#f7f8f4;color:#355d3b;padding:8px 12px;font-weight:750;cursor:pointer}.landing-weather-refresh:hover{background:#eef4e9}.landing-weather-refresh:disabled{opacity:.55;cursor:wait}
.landing-weather-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:12px;align-items:stretch}
.landing-weather-grid[data-count="1"]{grid-template-columns:1fr}
.landing-weather-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px;margin-inline:auto}
.landing-weather-card{min-width:0;border:1px solid #e1e7de;border-radius:18px;background:#fff;padding:14px;display:flex;flex-direction:column;gap:12px}
.landing-weather-farm{display:flex;align-items:center;gap:10px;min-width:0}.landing-weather-icon{width:42px;height:42px;border-radius:13px;background:#eff5e9;display:grid;place-items:center;font-size:1.45rem;flex:0 0 auto}.landing-weather-farm strong{display:block;color:#20372a;font-size:1rem}.landing-weather-farm small{display:block;color:#7b877e;font-size:.72rem;margin-top:1px}.landing-weather-condition{font-size:.78rem;color:#5a675f;margin-top:3px}
.landing-weather-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.landing-weather-metric{min-width:0;padding:8px 7px;border-radius:12px;background:#f7f8f5;border:1px solid #edf0eb;text-align:center}.landing-weather-metric.primary{background:#eef6e9;border-color:#dbead2}.landing-weather-metric small,.landing-weather-metric span{display:block;color:#7a847c;font-size:.65rem;line-height:1.2}.landing-weather-metric strong{display:block;color:#263b2d;font-size:.86rem;line-height:1.15;margin:2px 0}.landing-weather-metric.primary strong{font-size:1.15rem;color:#315d39}
.landing-weather-foot{border-top:1px solid #eef1ed;padding-top:9px;display:flex;justify-content:space-between;gap:10px;align-items:center;color:#657169}.landing-weather-foot span{font-size:.72rem;line-height:1.35}.landing-weather-foot small{font-size:.68rem;color:#7a857c;white-space:nowrap}
.landing-weather-grid[data-count="1"] .landing-weather-card{display:grid;grid-template-columns:minmax(185px,.8fr) minmax(460px,1.8fr);grid-template-areas:"farm metrics" "foot foot";align-items:center;padding:16px 18px}.landing-weather-grid[data-count="1"] .landing-weather-farm{grid-area:farm}.landing-weather-grid[data-count="1"] .landing-weather-metrics{grid-area:metrics}.landing-weather-grid[data-count="1"] .landing-weather-foot{grid-area:foot}
.landing-weather-grid[data-count="2"] .landing-weather-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-weather-grid[data-count="2"] .landing-weather-metric:nth-child(4),.landing-weather-grid[data-count="2"] .landing-weather-metric:nth-child(5){grid-column:span 1}
.landing-weather-source{margin-top:10px;text-align:right;color:#8a938b;font-size:.67rem}.landing-weather-source a{color:#55705b;text-decoration:none}.landing-weather-empty{grid-column:1/-1;padding:18px;border:1px dashed #d8e0d5;border-radius:15px;color:#68756b;background:#fafbf8;text-align:center;font-size:.86rem}
.landing-weather-skeleton{grid-column:1/-1;height:108px;border-radius:18px;background:#f5f7f2;padding:18px;display:grid;grid-template-columns:170px 1fr 1fr;gap:12px}.landing-weather-skeleton span{display:block;border-radius:10px;background:linear-gradient(90deg,#e9eee6,#f7f9f5,#e9eee6);background-size:220% 100%;animation:landingWeatherPulse 1.4s linear infinite}@keyframes landingWeatherPulse{to{background-position:-220% 0}}
@media(max-width:900px){.landing-weather-grid[data-count="1"] .landing-weather-card{display:flex}.landing-weather-grid[data-count="2"]{grid-template-columns:1fr 1fr}.landing-weather-metrics,.landing-weather-grid[data-count="2"] .landing-weather-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-weather-foot{align-items:flex-start;flex-direction:column}.landing-weather-foot small{white-space:normal}}
@media(max-width:660px){.landing-farm-weather{padding-bottom:24px}.landing-weather-shell{width:calc(100% - 20px);padding:14px;border-radius:19px}.landing-weather-heading{align-items:center}.landing-weather-heading p{font-size:.82rem}.landing-weather-refresh{font-size:0;padding:8px 11px}.landing-weather-refresh::first-letter{font-size:1rem}.landing-weather-grid,.landing-weather-grid[data-count="2"]{grid-template-columns:1fr;max-width:none}.landing-weather-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-weather-metric:nth-child(4),.landing-weather-metric:nth-child(5){grid-column:auto}.landing-weather-card{padding:12px}.landing-weather-source{text-align:left}.landing-weather-skeleton{grid-template-columns:1fr;height:132px}}

/* Shambani v3.2.0 dynamic landing refinements */
.farms-grid[data-count="1"]{grid-template-columns:minmax(0,760px);justify-content:center;max-width:800px;margin-inline:auto}.farms-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px;margin-inline:auto}.farms-grid[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1100px;margin-inline:auto}.farms-grid[data-count="1"] .farm-card{display:grid;grid-template-columns:minmax(180px,.7fr) 1fr auto;align-items:center;gap:18px}.farms-grid[data-count="1"] .farm-card-header,.farms-grid[data-count="1"] .farm-card p{margin:0}.activity-feed{max-width:none;overflow:hidden;padding:22px 0;background:transparent;border-radius:0;border:0}.activity-track{display:flex;width:max-content;gap:14px;animation:hs-v276-activity-marquee 34s linear infinite;padding-inline:8px}.activity-feed:hover .activity-track,.activity-feed:focus-within .activity-track{animation-play-state:paused}.activity-item{width:clamp(280px,32vw,390px);height:92px;flex:0 0 auto;margin:0;box-sizing:border-box;overflow:hidden}.activity-item:hover{transform:translateY(-2px)}.activity-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.activity-time{white-space:nowrap}@keyframes hs-v276-activity-marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 7px))}}@media(prefers-reduced-motion:reduce){.activity-track{animation:none;max-width:100%;width:auto;overflow:auto}.activity-item{flex:0 0 min(360px,84vw)}}@media(max-width:700px){.farms-grid[data-count="1"],.farms-grid[data-count="2"],.farms-grid[data-count="3"]{grid-template-columns:1fr}.farms-grid[data-count="1"] .farm-card{display:block}.farms-grid[data-count="1"] .farm-card-header{margin-bottom:16px}.farms-grid[data-count="1"] .farm-card p{margin-bottom:16px}}

/* v5.0.0 full-page Quick Entry modal */
.quick-modal-full{position:absolute;top:12px;right:58px;z-index:6;border:0;border-radius:10px;padding:8px 12px;cursor:pointer;font-weight:700}
dialog.quick-modal.quick-modal-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
dialog.quick-modal.quick-modal-fullscreen iframe{width:100%!important;height:100dvh!important;max-height:none!important;border-radius:0!important}
