======================================
           PAGE 2: COMPREHENSIVE DASHBOARD PAGE
           ========================================================================= */
        #page-comprehensive {
            flex-direction: row;
        }

        /* Sidebar Styling (Page 2) */
        .sidebar {
            width: 460px;
            background-color: var(--bg-light);
            border-right: 1px solid #a0a0a0;
            display: flex;
            flex-direction: column;
            padding: 15px;
            gap: 12px;
            height: 100%;
            overflow-y: auto;
        }

        .back-nav-btn {
            background-color: #e1e1e1;
            color: #000000;
            border: 1px solid #adadad;
            border-radius: 2px;
            height: 36px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 14px;
            transition: background-color 0.2s;
            margin-bottom: 5px;
        }

        .back-nav-btn:hover {
            background-color: #e5f1fb;
            border-color: #0078d7;
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }

        .sidebar-logo img {
            height: 42px;
        }

        .standard-sidebar .sidebar-logo img {
            filter: none;
        }

        .group-box {
            background-color: var(--bg-light);
            border: 1px solid var(--border-light);
            border-radius: 2px;
            padding: 14px 12px 10px 12px;
            position: relative;
            margin-top: 10px;
        }

        .group-box-title {
            position: absolute;
            top: -10px;
            left: 10px;
            background-color: var(--bg-light);
            padding: 0 4px;
            font-weight: bold;
            font-size: 16px;
            color: #000000;
        }

        .form-row {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            margin-bottom: 8px;
        }

        .form-row:last-child {
            margin-bottom: 0;
        }

        .form-label {
            font-size: 15px;
            font-weight: bold;
            color: #000000;
        }

        .form-select {
            flex: 1;
            height: 36px;
            font-size: 14px;
            font-family: inherit;
            background-color: #ffffff;
            border: 1px solid #adadad;
            border-radius: 2px;
            padding: 2px 8px;
            color: #000000;
            cursor: pointer;
        }

        .form-select:hover {
            border-color: #0078d7;
        }

        .upload-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 4px;
        }

        .upload-desc {
            font-size: 13px;
            color: #555555;
        }

        .upload-btn {
            background-color: #e1e1e1;
            color: #000000;
            border: 1px solid #adadad;
            border-radius: 2px;
            height: 32px;
            width: 100px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
        }

        .upload-btn:hover {
            background-color: #e5f1fb;
            border-color: #0078d7;
        }

        .nutrient-desc-text {
            font-size: 12px;
            color: #000000;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .nutrient-coord-text {
            font-size: 15px;
            font-weight: bold;
            color: #000000;
            margin-bottom: 4px;
        }

        .nutrient-zone-text {
            font-size: 14px;
            font-weight: bold;
            color: #12b886;
            margin-bottom: 10px;
        }

        .nutrient-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 10px;
        }

        .nutrient-display-card {
            background-color: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: 2px;
            height: 88px;
            padding: 6px 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .nutrient-card-title {
            font-size: 13px;
            font-weight: bold;
            color: #444444;
            margin-bottom: 2px;
        }

        .nutrient-card-val {
            font-size: 20px;
            font-weight: bold;
            color: #000000;
        }

        .action-button-full {
            width: 100%;
            height: 42px;
            background-color: #e1e1e1;
            color: #000000;
            border: 1px solid #adadad;
            border-radius: 2px;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background-color 0.2s;
        }

        .action-button-full:hover {
            background-color: #e5f1fb;
            border-color: #0078d7;
        }

        .soil-analysis-actions {
            display: flex;
            gap: 8px;
        }

        .soil-entry-btn {
            flex: 1;
            height: 42px;
            background-color: #e1e1e1;
            color: #000000;
            border: 1px solid #adadad;
            border-radius: 2px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
        }

        .soil-entry-btn:hover {
            background-color: #e5f1fb;
            border-color: #0078d7;
        }

        .report-download-btn {
            flex: 1;
            height: 42px;
            background-color: rgba(18, 184, 134, 0.15);
            border: 1px solid var(--accent-green);
            color: var(--accent-green);
            border-radius: 4px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: background-color 0.2s, color 0.2s;
        }

        .report-download-btn:hover {
            background-color: var(--accent-green);
            color: #ffffff;
        }

        /* Map Window Area */
        .map-wrapper {
            flex: 1;
            height: 100%;
            position: relative;
        }

        .map-element {
            width: 100%;
            height: 100%;
        }

        /* Leaflet Overlaid UI Control Widget (Nutrient Layer Selector) */
        .leaflet-nutrient-selector {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid #a0a0a0;
            border-radius: 4px;
            padding: 10px 14px;
            font-family: inherit;
            box-shadow: 0 4px 12px rgba(0,0,0,0.25);
            color: #000000;
            min-width: 250px;
            position: absolute;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .layer-selector-title {
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 6px;
            border-bottom: 1px solid #d0d0d0;
            padding-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .layer-selector-option {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            margin: 5px 0;
            cursor: pointer;
            font-weight: 600;
        }

        .layer-selector-option input[type="radio"] {
            transform: scale(1.2);
            margin-right: 4px;
            cursor: pointer;
        }

        .nutrient-legend-box {
            margin-top: 8px;
            padding-top: 6px;
            border-top: 1px solid #e0e0e0;
            font-size: 12px;
            display: none;
        }

        .legend-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px 8px;
            font-size: 11px;
            font-weight: bold;
            color: #222222;
        }

        .legend-color-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .legend-color-dot {
            width: 12px;
            height: 12px;
            display: inline-block;
            border-radius: 1px;
            border: 1px solid #aaaaaa;
        }

        /* =========================================================================
           PAGE 3: STANDARD FERTILIZER PAGE (Dark Slate Sentinel Style)
           ========================================================================= */
        #page-standard {
            flex-direction: column;
        }

        .standard-header {
            height: 46px;
            background-color: #0f172a;
            border-bottom: 1px solid #1e293b;
            display: flex;
            align-items: center;
            padding: 0 14px;
            gap: 16px;
            width: 100%;
        }

        .standard-header-title {
            color: #f8fafc;
            font-size: 18px;
            font-weight: bold;
        }

        .back-home-btn {
            background-color: #1e293b;
            color: #f8fafc;
            border: 1px solid #334155;
            border-radius: 4px;
            padding: 4px 14px;
            height: 30px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .back-home-btn:hover {
            background-color: #334155;
            border-color: #475569;
        }

        .standard-split {
            flex: 1;
            display: flex;
            width: 100%;
            height: calc(100% - 46px);
        }

        /* Dark Slate Left Panel */
        .standard-sidebar {
            width: 310px;
            background-color: #060913;
            border-right: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            padding: 14px 16px;
            gap: 14px;
            height: 100%;
            overflow-y: auto;
        }

        .standard-group-box {
            background-color: rgba(20, 28, 52, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            padding: 14px 10px 10px 10px;
            position: relative;
            margin-top: 10px;
        }

        .standard-group-title {
            position: absolute;
            top: -10px;
            left: 8px;
            background-color: #060913;
            padding: 0 4px;
            font-weight: bold;
            font-size: 10px;
            color: var(--accent-green);
            text-transform: uppercase;
        }

        .standard-select {
            width: 100%;
            height: 28px;
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 4px;
            padding: 2px 6px;
            color: #ffffff;
            font-size: 12px;
            cursor: pointer;
            margin-bottom: 6px;
        }

        .standard-btn-outline {
            width: 100%;
            height: 28px;
            background-color: rgba(18, 184, 134, 0.2);
            border: 1px solid var(--accent-green);
            color: var(--accent-green);
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
        }

        .standard-btn-outline:hover {
            background-color: var(--accent-green);
            color: #ffffff;
        }

        .sentinel-classify-btn {
            width: 100%;
            height: 34px;
            background-color: var(--accent-green);
            color: #ffffff;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
        }

        .sentinel-classify-btn:hover {
            background-color: #0ca678;
        }

        .sentinel-status-lbl {
            font-size: 11px;
            color: #9ca3af;
            font-style: italic;
            text-align: center;
            margin-top: 4px;
            display: block;
        }

        .standard-label-white {
            color: #ffffff;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 6px;
            display: block;
        }

        .standard-label-green {
            color: var(--accent-green);
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 10px;
            display: block;
        }

        .standard-nutrient-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            margin-bottom: 10px;
        }

        .standard-nutrient-card {
            background-color: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 4px;
            height: 65px;
            padding: 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .standard-card-title {
            font-size: 11px;
            font-weight: bold;
            margin-bottom: 2px;
        }

        .standard-card-val {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
        }

        
        /* ===================================