/* Planting Zone SEO — Plugin Styles v1.6.0 */

.pz-seo-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    font-family: inherit;
    line-height: 1.7;
    color: #333;
}

/* =============================================
   HERO SEARCH (Index page)
   ============================================= */
.pz-hero-search {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    border-radius: 16px;
    padding: 36px 32px 28px;
    margin: -8px 0 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.25);
}
.pz-hero-tagline {
    color: rgba(255,255,255,0.92);
    font-size: 1.1em;
    margin: 0 0 18px;
    line-height: 1.5;
}
.pz-search-hero {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}
.pz-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    z-index: 2;
    pointer-events: none;
}
.pz-input-hero {
    width: 100%;
    max-width: 100% !important;
    padding: 16px 20px 16px 46px !important;
    font-size: 1.15em !important;
    border: 3px solid rgba(255,255,255,0.3) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.2s;
}
.pz-input-hero:focus {
    border-color: #fff !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2), 0 0 0 4px rgba(255,255,255,0.3) !important;
    outline: none;
}
.pz-input-hero::placeholder {
    color: #888;
}
/* Dropdown positioning override for hero */
.pz-search-hero .pz-search-dropdown {
    max-width: 100%;
    border-radius: 0 0 14px 14px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 1px solid #eee;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.pz-hero-quick-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.pz-hero-quick-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.8em;
    font-weight: 600;
    margin-right: 2px;
}
.pz-hero-quick-links a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    border: 1px solid rgba(255,255,255,0.2);
}
.pz-hero-quick-links a:hover {
    background: rgba(255,255,255,0.35);
    color: #fff;
}

/* Compact Search (non-index pages) */
.pz-compact-search {
    margin: 0 0 16px;
}
.pz-compact-search .pz-search-box {
    position: relative;
    max-width: 400px;
}
.pz-search-icon-sm {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    pointer-events: none;
    z-index: 2;
}
.pz-input-compact {
    max-width: 400px !important;
    padding: 10px 14px 10px 34px !important;
    font-size: 0.9em !important;
    border-radius: 8px !important;
    border: 2px solid #e0e0e0 !important;
    background: #fafafa;
}
.pz-input-compact:focus {
    border-color: #2e7d32 !important;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.1) !important;
}

/* Breadcrumbs */
.pz-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.85em;
}
.pz-breadcrumbs li::after {
    content: "›";
    margin-left: 6px;
    color: #999;
}
.pz-breadcrumbs li:last-child::after {
    content: "";
}
.pz-breadcrumbs a {
    color: #2e7d32;
    text-decoration: none;
}
.pz-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Headings */
.pz-page h1 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    color: #1a3a1a;
}
.pz-page h2 {
    font-size: 1.35em;
    color: #2e5a2e;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.3em;
}
.pz-page h3 {
    font-size: 1.1em;
    color: #3a6b3a;
    margin-top: 1em;
}

/* Sections */
.pz-section {
    margin-bottom: 2em;
}
.pz-intro {
    font-size: 1.05em;
    margin-bottom: 1.5em;
    color: #333;
}

/* Tables */
.pz-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.95em;
}
.pz-table th,
.pz-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}
.pz-table thead th {
    background: #2e7d32;
    color: #fff;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pz-table tbody tr:hover {
    background: #f1f8e9;
}
.pz-table a {
    color: #2e7d32;
    font-weight: 600;
}

/* Timeline table */
.pz-timeline-table .pz-active-month {
    background: #f1f8e9;
}

/* Badges */
.pz-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    margin: 2px 4px 2px 0;
}
.pz-badge-indoor_start {
    background: #e3f2fd;
    color: #1565c0;
}
.pz-badge-transplant {
    background: #e8f5e9;
    color: #2e7d32;
}
.pz-badge-direct_sow {
    background: #fff3e0;
    color: #e65100;
}
.pz-badge-fall_sow {
    background: #fce4ec;
    color: #c62828;
}
.pz-badge-harvest {
    background: #f3e5f5;
    color: #6a1b9a;
}

/* Grid layout */
.pz-grid {
    display: grid;
    gap: 16px;
    margin: 1em 0;
}
.pz-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Cards */
.pz-card {
    background: #f9fbe7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}
.pz-card h3 {
    margin-top: 0;
    font-size: 0.95em;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
/* Bold section subheadings (h3 within pz-section) */
.pz-section h3 {
    font-weight: 700;
    color: #1e293b;
}
.pz-card p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* Link grids */
.pz-link-grid {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
    margin: 1em 0;
}
.pz-link-grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.pz-link-grid-6 {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.pz-link-grid-6 a {
    text-align: center;
    font-size: 1em;
    font-weight: 700;
    padding: 14px 10px;
    border-left-width: 1px;
}
.pz-link-grid li {
    margin: 0;
}
.pz-link-grid a {
    display: block;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #dcedc8;
    border-left: 4px solid #66bb6a;
    border-radius: 6px;
    color: #2e7d32;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    font-size: 0.95em;
}
.pz-link-grid a:hover {
    background: #e8f5e9;
    border-color: #43a047;
    border-left-color: #2e7d32;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.pz-link-grid a strong {
    display: block;
    font-size: 1em;
}
.pz-link-grid .pz-small {
    display: block;
    font-size: 0.78em;
    color: #777;
    margin-top: 3px;
    font-weight: 400;
}

/* Tag lists */
.pz-tag-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pz-tag-list li {
    margin: 0;
}
.pz-tag-list a,
.pz-tag-list li {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f5e9;
    border-radius: 16px;
    font-size: 0.9em;
    color: #2e7d32;
    text-decoration: none;
}
.pz-tag-list a:hover {
    background: #c8e6c9;
}
.pz-tag-avoid li {
    background: #ffebee;
    color: #c62828;
}

/* Search */
.pz-search-box {
    margin: 1em 0;
    position: relative;
}
.pz-input {
    width: 100%;
    max-width: 600px;
    padding: 14px 18px;
    font-size: 1.05em;
    border: 2px solid #c8e6c9;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s;
}
.pz-input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.15);
}

/* Search Dropdown */
.pz-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 600px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
}
.pz-sr-type {
    padding: 6px 14px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    background: #f5f5f5;
    border-top: 1px solid #eee;
}
.pz-sr-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    transition: background 0.1s;
}
.pz-sr-item a:hover,
.pz-sr-active a {
    background: #e8f5e9;
}
.pz-sr-icon {
    font-size: 1.3em;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.pz-sr-text {
    flex: 1;
    min-width: 0;
}
.pz-sr-text strong {
    display: block;
    font-size: 0.95em;
    color: #1b5e20;
}
.pz-sr-sub {
    display: block;
    font-size: 0.78em;
    color: #888;
    margin-top: 1px;
}

/* Utility */
.pz-muted {
    color: #999;
}
.pz-small {
    font-size: 0.85em;
    color: #666;
}

/* Data sources footer */
.pz-data-sources {
    margin-top: 3em;
    padding-top: 1em;
    border-top: 1px solid #e0e0e0;
    color: #888;
}

/* Zone section dividers (for state pages) */
.pz-zone-section {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px dashed #e0e0e0;
}
.pz-zone-section:last-child {
    border-bottom: none;
}

/* =============================================
   ZONE MAP
   ============================================= */
.pz-zone-map-wrap {
    margin: 1.5em 0;
}
.pz-zone-map {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f5f9ff;
}
.pz-map-state path {
    cursor: pointer;
    transition: opacity 0.15s, stroke-width 0.15s;
}
.pz-map-state:hover path {
    opacity: 1 !important;
    stroke: #000;
    stroke-width: 2.5;
}
.pz-map-label {
    font-family: system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.pz-zone-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
    align-items: center;
}
.pz-legend-title {
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    margin-right: 4px;
}
.pz-legend-item {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: transform 0.1s;
}
.pz-legend-item:hover {
    transform: scale(1.15);
    color: #fff;
}
.pz-legend-active {
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* =============================================
   PLANTING TIMELINE BAR CHART
   ============================================= */
.pz-timeline-chart {
    margin: 1.5em 0;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
}
.pz-tc-months {
    position: relative;
    height: 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
}
.pz-tc-month {
    position: absolute;
    font-size: 0.7em;
    font-weight: 600;
    color: #888;
    text-align: center;
    text-transform: uppercase;
}
.pz-tc-bars {
    position: relative;
    min-height: 100px;
}
.pz-tc-frost-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #64b5f6;
    z-index: 2;
    opacity: 0.7;
}
.pz-tc-frost-label {
    position: absolute;
    top: -18px;
    left: -24px;
    font-size: 0.6em;
    font-weight: 600;
    color: #1976d2;
    white-space: nowrap;
    background: rgba(255,255,255,0.8);
    padding: 1px 4px;
    border-radius: 3px;
}
.pz-tc-growing-season {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(76, 175, 80, 0.08);
    border-left: 2px dashed #4caf50;
    border-right: 2px dashed #4caf50;
    z-index: 1;
}
.pz-tc-row {
    display: flex;
    align-items: center;
    margin: 6px 0;
    position: relative;
    z-index: 3;
}
.pz-tc-bar-label {
    width: 100px;
    flex-shrink: 0;
    font-size: 0.78em;
    font-weight: 600;
    color: #555;
    text-align: right;
    padding-right: 10px;
}
.pz-tc-bar-track {
    flex: 1;
    position: relative;
    height: 28px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: visible;
}
.pz-tc-bar {
    position: absolute;
    top: 2px;
    height: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: opacity 0.15s;
    cursor: default;
    min-width: 4px;
}
.pz-tc-bar:hover {
    opacity: 0.85;
}
.pz-tc-bar-date {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    white-space: nowrap;
    padding: 0 8px;
    overflow: visible;
    position: relative;
    z-index: 2;
}
/* When bar is marked as narrow by JS, show date label outside */
.pz-tc-bar.pz-tc-bar--narrow .pz-tc-bar-date {
    color: #374151;
    text-shadow: none;
    position: absolute;
    left: 100%;
    padding-left: 6px;
    background: rgba(255,255,255,0.9);
    border-radius: 3px;
    padding: 2px 6px;
}
.pz-tc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.pz-tc-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75em;
    color: #666;
}
.pz-tc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* =============================================
   ZONE SUITABILITY CHART
   ============================================= */
.pz-suitability-chart {
    margin: 1.5em 0;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}
.pz-sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.pz-sc-label {
    font-weight: 600;
    font-size: 0.95em;
    color: #333;
}
.pz-sc-range {
    font-size: 0.85em;
    color: #666;
    background: #e8f5e9;
    padding: 2px 10px;
    border-radius: 12px;
}
.pz-sc-bar {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.pz-sc-cell {
    flex: 1;
    min-width: 32px;
    text-align: center;
    padding: 6px 2px;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
}
a.pz-sc-cell:hover {
    transform: scale(1.15);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pz-sc-zone-label {
    font-size: 0.6em;
    font-weight: 700;
    color: #fff;
    display: block;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}
.pz-sc-no .pz-sc-zone-label {
    color: #999;
    text-shadow: none;
}
.pz-sc-current {
    outline: 3px solid #000;
    outline-offset: 2px;
    z-index: 3;
    transform: scale(1.1);
}
.pz-sc-you {
    display: block;
    font-size: 0.5em;
    color: #fff;
    background: #000;
    border-radius: 3px;
    padding: 0 3px;
    margin-top: 2px;
}
.pz-sc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.pz-sc-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75em;
    color: #666;
}
.pz-sc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* =============================================
   GROWING SEASON COMPARISON CHART
   ============================================= */
.pz-gs-chart {
    margin: 1.5em 0;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}
.pz-gs-header {
    font-weight: 600;
    font-size: 1em;
    color: #333;
    margin-bottom: 12px;
}
.pz-gs-row {
    display: flex;
    align-items: center;
    margin: 4px 0;
    gap: 8px;
}
.pz-gs-current {
    background: #fffde7;
    border-radius: 4px;
    padding: 2px 4px;
    margin: 2px -4px;
}
.pz-gs-zone-label {
    width: 75px;
    flex-shrink: 0;
    font-size: 0.8em;
    font-weight: 600;
    color: #2e7d32;
    text-decoration: none;
    text-align: right;
    padding-right: 6px;
}
.pz-gs-zone-label:hover {
    text-decoration: underline;
}
.pz-gs-you {
    color: #d32f2f;
    font-size: 0.9em;
    margin-left: 2px;
}
.pz-gs-bar-track {
    flex: 1;
    height: 22px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.pz-gs-bar {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    transition: width 0.3s;
}
.pz-gs-days {
    font-size: 0.65em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}
.pz-gs-frost-range {
    width: 130px;
    flex-shrink: 0;
    font-size: 0.7em;
    color: #888;
}
.pz-gs-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    padding-left: 83px;
    font-size: 0.65em;
    color: #aaa;
}

/* =============================================
   FROST DATE INDICATOR CARD
   ============================================= */
.pz-frost-card {
    margin: 1.5em 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 20px;
}
.pz-frost-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.pz-frost-location {
    font-weight: 700;
    font-size: 1.05em;
    color: #1b5e20;
}
.pz-frost-quality {
    font-weight: 700;
    font-size: 0.9em;
    padding: 2px 12px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
}
.pz-frost-gauge {
    margin: 12px 0;
}
.pz-frost-gauge-track {
    display: flex;
    height: 32px;
    border-radius: 16px;
    overflow: hidden;
    background: #e0e0e0;
}
.pz-frost-zone-cold {
    background: linear-gradient(180deg, #bbdefb 0%, #90caf9 100%);
}
.pz-frost-zone-grow {
    background: linear-gradient(180deg, #66bb6a 0%, #43a047 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pz-frost-gauge-label {
    font-size: 0.8em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.pz-frost-dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    gap: 12px;
}
.pz-frost-date-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pz-frost-icon {
    font-size: 1.5em;
    color: #42a5f5;
}
.pz-frost-date-item strong {
    display: block;
    font-size: 0.8em;
    color: #555;
}
.pz-frost-date-item span {
    font-size: 0.95em;
    font-weight: 600;
    color: #1b5e20;
}
.pz-frost-date-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #66bb6a;
}
.pz-frost-arrow {
    font-size: 0.8em;
}
.pz-frost-season-label {
    font-size: 0.65em;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}

/* =============================================
   MULTI-PLANT CHART (Zone overview)
   ============================================= */
.pz-multi-chart {
    margin: 1.5em 0;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
}
.pz-mc-header,
.pz-mc-frost-overlay,
.pz-mc-row {
    display: flex;
    align-items: stretch;
}
.pz-mc-label-col {
    width: 110px;
    flex-shrink: 0;
}
.pz-mc-timeline-col {
    flex: 1;
    position: relative;
    min-height: 24px;
}
.pz-mc-month {
    position: absolute;
    font-size: 0.65em;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
}
.pz-mc-frost-overlay {
    position: relative;
    height: 0;
    z-index: 0;
}
.pz-mc-growing {
    position: absolute;
    top: -40px;
    bottom: -2000px;
    background: rgba(76, 175, 80, 0.06);
    z-index: 0;
}
.pz-mc-frost-line {
    position: absolute;
    top: -40px;
    height: 3000px;
    width: 1px;
    background: #90caf9;
    z-index: 0;
}
.pz-mc-row {
    border-bottom: 1px solid #f0f0f0;
    padding: 3px 0;
    position: relative;
    z-index: 1;
}
.pz-mc-row:hover {
    background: rgba(255,255,255,0.8);
}
.pz-mc-plant-name {
    font-size: 0.78em;
    font-weight: 600;
    color: #2e7d32;
    text-decoration: none;
    display: block;
    padding: 4px 6px 4px 0;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pz-mc-plant-name:hover {
    text-decoration: underline;
}
.pz-mc-bar {
    position: absolute;
    top: 4px;
    height: 16px;
    border-radius: 3px;
    opacity: 0.85;
}
.pz-mc-bar:hover {
    opacity: 1;
    z-index: 5;
    height: 20px;
    top: 2px;
}
.pz-mc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.pz-mc-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75em;
    color: #666;
}
.pz-mc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* =============================================
   GUIDE CTA BANNERS
   ============================================= */
.pz-guide-cta-wrap {
    margin: 2em 0;
}
.pz-guide-cta {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid;
}
.pz-guide-cta-companion {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-color: #a5d6a7;
}
.pz-guide-cta-seed-saving {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-color: #ffe082;
}
.pz-guide-cta-composting {
    background: linear-gradient(135deg, #efebe9 0%, #fbe9e7 100%);
    border-color: #bcaaa4;
}
.pz-guide-cta-icon {
    font-size: 2em;
    line-height: 1;
    flex-shrink: 0;
}
.pz-guide-cta-body {
    flex: 1;
}
.pz-guide-cta-title {
    display: block;
    font-size: 1.05em;
    color: #1b5e20;
    margin-bottom: 4px;
}
.pz-guide-cta-desc {
    font-size: 0.9em;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.5;
}
.pz-guide-cta-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #2e7d32;
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}
.pz-guide-cta-btn:hover {
    background: #1b5e20;
    color: #fff !important;
}

/* =============================================
   SEED SAVING TIP
   ============================================= */
.pz-seed-saving-tip {
    margin: 1.5em 0;
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 20px;
}
.pz-sst-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 1.1em;
    color: #f57f17;
}
.pz-sst-icon {
    font-size: 1.3em;
}
.pz-sst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}
.pz-sst-item {
    background: rgba(255,255,255,0.7);
    padding: 10px 12px;
    border-radius: 6px;
}
.pz-sst-wide {
    grid-column: span 2;
}
.pz-sst-label {
    display: block;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #bf360c;
    margin-bottom: 2px;
}
.pz-sst-value {
    font-size: 0.88em;
    color: #333;
}
.pz-sst-note {
    font-size: 0.82em;
    color: #666;
    margin: 8px 0 4px;
}
.pz-sst-link {
    margin: 0;
}
.pz-sst-link a {
    font-size: 0.85em;
    font-weight: 700;
    color: #e65100;
    text-decoration: none;
}
.pz-sst-link a:hover {
    text-decoration: underline;
}

/* =============================================
   RELATED PLANTS GRID
   ============================================= */
.pz-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin: 1em 0;
}
.pz-related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.15s;
}
.pz-related-card:hover {
    background: #e8f5e9;
    border-color: #43a047;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.pz-related-icon {
    font-size: 1.6em;
    flex-shrink: 0;
}
.pz-related-info {
    flex: 1;
    min-width: 0;
}
.pz-related-info strong {
    display: block;
    font-size: 0.92em;
    color: #1b5e20;
}
.pz-related-reason {
    display: block;
    font-size: 0.72em;
    color: #888;
    margin-top: 1px;
}

/* =============================================
   COUNTY MAP
   ============================================= */
.pz-county-map-wrap {
    margin: 1.5em 0;
}
.pz-county-map {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f5f9ff;
    display: block;
    margin: 0 auto;
}
.pz-county-map-item path {
    cursor: pointer;
    transition: opacity 0.12s, stroke-width 0.12s;
}
.pz-county-map-item:hover path {
    opacity: 0.8 !important;
    stroke: #000;
    stroke-width: 2;
    filter: brightness(1.1);
}
.pz-county-map-item:focus path {
    outline: none;
    stroke: #1565c0;
    stroke-width: 2.5;
}
.pz-county-label {
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    text-shadow: 0 0 3px rgba(255,255,255,0.9), 0 0 6px rgba(255,255,255,0.7);
}
.pz-county-map-item:hover .pz-county-label {
    opacity: 1;
}
.pz-county-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}
.pz-county-map-hint {
    text-align: center;
    color: #888;
    margin-top: 6px;
}

/* County Comparison Table */
.pz-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pz-county-table td:first-child a {
    font-weight: 500;
}
.pz-county-table td:nth-child(5) {
    text-align: center;
}

/* County Tooltip */
.pz-county-map-wrap {
    position: relative;
}
.pz-county-tooltip {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 100;
    font-size: 0.85em;
    min-width: 160px;
    max-width: 240px;
    line-height: 1.4;
}
.pz-ctt-name {
    display: block;
    font-size: 1em;
    color: #1b5e20;
    margin-bottom: 2px;
}
.pz-ctt-zone {
    display: block;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 4px;
}
.pz-ctt-details {
    border-top: 1px solid #eee;
    padding-top: 4px;
    margin-top: 2px;
}
.pz-ctt-frost, .pz-ctt-days {
    display: block;
    font-size: 0.8em;
    color: #777;
}

/* =============================================
   COLLAPSIBLE ZONE SECTIONS
   ============================================= */
.pz-zone-collapsible {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.pz-zone-collapsible summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f5f9f0 0%, #edf7ed 100%);
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid transparent;
    transition: background 0.15s;
    user-select: none;
}
.pz-zone-collapsible summary::-webkit-details-marker { display: none; }
.pz-zone-collapsible summary:hover { background: #e8f5e9; }
.pz-zone-collapsible[open] summary { border-bottom-color: #e0e0e0; }
.pz-zone-summary-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1b5e20;
}
.pz-zone-arrow {
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.2s;
    font-size: 0.8em;
}
.pz-zone-collapsible[open] .pz-zone-arrow { transform: rotate(90deg); }
.pz-zone-summary-info {
    font-size: 0.85em;
    color: #666;
    font-weight: 400;
}
.pz-zone-summary-info a {
    color: #2e7d32;
    font-weight: 600;
}
.pz-zone-collapsible-body {
    padding: 16px 18px;
}

/* =============================================
   ZONE SUMMARY CARDS (State Hub)
   ============================================= */
a.pz-zone-summary-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.15s;
}
a.pz-zone-summary-card:hover {
    border-color: #43a047;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.pz-zsc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e9;
}
.pz-zsc-zone {
    font-size: 1.1em;
    color: #1b5e20;
}
.pz-zsc-temp {
    font-size: 0.8em;
    color: #666;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}
.pz-zsc-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.pz-zsc-stat {
    text-align: center;
}
.pz-zsc-value {
    display: block;
    font-size: 1.05em;
    font-weight: 700;
    color: #333;
}
.pz-zsc-label {
    display: block;
    font-size: 0.65em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    font-weight: 600;
}

/* =============================================
   PAGE-TYPE VISUAL DIFFERENTIATION
   ============================================= */
.pz-index h1 { border-left: 5px solid #2e7d32; padding-left: 16px; }
.pz-plant-hub h1 { border-left: 5px solid #4caf50; padding-left: 16px; }
.pz-plant-zone h1 { border-left: 5px solid #43a047; padding-left: 16px; }
.pz-zone-hub h1 { border-left: 5px solid #2196f3; padding-left: 16px; }
.pz-state-hub h1 { border-left: 5px solid #ff9800; padding-left: 16px; }
.pz-plant-state h1 { border-left: 5px solid #9c27b0; padding-left: 16px; }
.pz-plant-county h1 { border-left: 5px solid #e91e63; padding-left: 16px; }
.pz-month-zone h1 { border-left: 5px solid #00bcd4; padding-left: 16px; }
.pz-month-state h1 { border-left: 5px solid #ff5722; padding-left: 16px; }

.pz-zone-hub .pz-section h2 { border-bottom-color: #bbdefb; }
.pz-state-hub .pz-section h2 { border-bottom-color: #ffe0b2; }
.pz-plant-state .pz-section h2 { border-bottom-color: #e1bee7; }
.pz-month-zone .pz-section h2 { border-bottom-color: #b2ebf2; }

/* =============================================
   ZIP CODE LOOKUP
   ============================================= */
.pz-zip-lookup {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #c8e6c9;
    border-radius: 12px;
    padding: 24px;
    margin: 1.5em 0;
}
.pz-zip-label {
    display: block;
    font-weight: 700;
    font-size: 1.05em;
    color: #1b5e20;
    margin-bottom: 8px;
}
.pz-zip-input-wrap {
    display: flex;
    gap: 8px;
    max-width: 400px;
}
.pz-zip-field {
    flex: 1;
    max-width: 200px;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    text-align: center;
}
.pz-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.95em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}
.pz-btn-green {
    background: #2e7d32;
    color: #fff;
}
.pz-btn-green:hover {
    background: #1b5e20;
}
.pz-btn-outline {
    background: transparent;
    border: 2px solid #2e7d32;
    color: #2e7d32;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 4px 4px 4px 0;
    font-size: 0.9em;
}
.pz-btn-outline:hover {
    background: #2e7d32;
    color: #fff;
}
.pz-zip-result {
    margin-top: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pz-zip-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.pz-zip-zone-badge {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    padding: 6px 14px;
    border-radius: 20px;
}
.pz-zip-location {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}
.pz-zip-result-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.pz-zip-stat {
    text-align: center;
}
.pz-zip-stat-label {
    display: block;
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}
.pz-zip-stat-value {
    display: block;
    font-size: 1em;
    font-weight: 700;
    color: #1b5e20;
}
.pz-zip-links {
    margin-top: 8px;
}
.pz-zip-error {
    color: #c62828;
    margin-top: 8px;
    font-size: 0.9em;
}

/* =============================================
   PLANT NOW CARDS
   ============================================= */
.pz-plant-now-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    margin: 1em 0;
}
.pz-plant-now-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.15s;
}
.pz-plant-now-card:hover {
    background: #e8f5e9;
    border-color: #43a047;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pz-pnc-icon {
    font-size: 1.8em;
    flex-shrink: 0;
}
.pz-pnc-info {
    flex: 1;
    min-width: 0;
}
.pz-pnc-info strong {
    display: block;
    font-size: 0.95em;
    color: #1b5e20;
}
.pz-pnc-range {
    display: block;
    font-size: 0.78em;
    color: #777;
    margin-top: 2px;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.pz-faq-section {
    margin-top: 2em;
}
.pz-faq-list {
    max-width: 800px;
}
.pz-faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}
.pz-faq-q {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95em;
    color: #1b5e20;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pz-faq-q::-webkit-details-marker { display: none; }
.pz-faq-q::after {
    content: "+";
    font-size: 1.3em;
    font-weight: 400;
    color: #888;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s;
}
.pz-faq-item[open] .pz-faq-q::after {
    content: "−";
}
.pz-faq-item[open] .pz-faq-q {
    background: #f1f8e9;
    border-bottom: 1px solid #e0e0e0;
}
.pz-faq-a {
    padding: 14px 18px;
    font-size: 0.92em;
    color: #444;
    line-height: 1.6;
}
.pz-faq-a p { margin: 0; }

/* =============================================
   TABLE OF CONTENTS
   ============================================= */
.pz-toc {
    background: #f9fbe7;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #2e7d32;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 1em 0 1.5em;
    max-width: 400px;
}
.pz-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.pz-toc-header strong {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1b5e20;
}
.pz-toc-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 1em;
    line-height: 1;
    color: #666;
}
.pz-toc-list {
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 0.88em;
    line-height: 1.8;
}
.pz-toc-list a {
    color: #2e7d32;
    text-decoration: none;
}
.pz-toc-list a:hover {
    text-decoration: underline;
}

/* =============================================
   EMAIL CAPTURE CTA
   ============================================= */
.pz-email-capture {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    border-radius: 12px;
    padding: 32px;
    margin: 2em 0;
    text-align: center;
    color: #fff;
}
.pz-ec-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
}
.pz-email-capture h3 {
    color: #fff;
    font-size: 1.3em;
    margin: 0 0 8px;
}
.pz-email-capture p {
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    margin: 0 auto 16px;
    font-size: 0.95em;
}
.pz-ec-btn {
    font-size: 1.05em;
    padding: 14px 28px;
    background: #fff;
    color: #1b5e20 !important;
    border-radius: 10px;
}
.pz-ec-btn:hover {
    background: #f1f8e9;
    color: #1b5e20 !important;
}
.pz-ec-fine {
    font-size: 0.75em !important;
    color: rgba(255,255,255,0.6) !important;
    margin-top: 12px !important;
}

/* =============================================
   SEASONAL GUIDE
   ============================================= */
.pz-season-guide {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 1em 0;
}
.pz-season-header {
    padding: 16px 20px;
    color: #fff;
}
.pz-season-header h3 { color: #fff; margin: 0; border: none; padding: 0; }
.pz-season-header p { color: rgba(255,255,255,0.85); margin: 4px 0 0; font-size: 0.88em; }
.pz-season-icon { font-size: 1.5em; margin-right: 6px; }
.pz-season-spring { background: linear-gradient(135deg, #43a047, #66bb6a); }
.pz-season-summer { background: linear-gradient(135deg, #f9a825, #fbc02d); }
.pz-season-fall { background: linear-gradient(135deg, #e65100, #f4511e); }
.pz-season-winter { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.pz-season-action {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.pz-season-action:last-child { border-bottom: none; }
.pz-season-action h4 { margin: 0 0 8px; }
.pz-season-plants {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pz-season-plant-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 0.85em;
    color: #333;
    text-decoration: none;
    transition: all 0.12s;
}
.pz-season-plant-tag:hover {
    background: #e8f5e9;
    border-color: #43a047;
}
.pz-season-plant-date {
    font-size: 0.8em;
    color: #888;
}

/* =============================================
   GARDEN PLANNER
   ============================================= */
.pz-planner-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.pz-planner-count {
    font-size: 0.9em;
    color: #1b5e20;
    font-weight: 600;
}
.pz-planner-type-section {
    margin-bottom: 16px;
}
.pz-planner-plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}
.pz-planner-plant-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88em;
    transition: all 0.1s;
}
.pz-planner-plant-item:hover {
    background: #e8f5e9;
    border-color: #43a047;
}
.pz-planner-plant-item input:checked + .pz-planner-plant-label {
    color: #1b5e20;
    font-weight: 600;
}
.pz-planner-plant-item:has(input:checked) {
    background: #e8f5e9;
    border-color: #2e7d32;
}

/* =============================================
   AD SLOTS
   ============================================= */
.pz-ad-slot { margin: 1.5em 0; text-align: center; min-height: 90px; }
.pz-ad-slot.pz-ad-responsive { width: 100%; }
.pz-ad-slot.pz-ad-banner { max-width: 728px; margin-left: auto; margin-right: auto; }
.pz-ad-slot.pz-ad-rectangle { max-width: 300px; }
.pz-ad-slot.pz-ad-leaderboard { max-width: 970px; margin-left: auto; margin-right: auto; }

/* =============================================
   LEAD MAGNETS
   ============================================= */
.pz-lead-magnet {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    border-radius: 12px;
    padding: 28px 32px;
    margin: 2em 0;
    text-align: center;
}
.pz-lead-magnet h3 {
    color: #fff;
    font-size: 1.4em;
    margin: 0 0 8px;
    line-height: 1.3;
}
.pz-lead-magnet-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05em;
    margin: 0 0 18px;
    line-height: 1.5;
}
.pz-lead-magnet-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}
.pz-lead-magnet input[type=email] {
    flex: 1;
    padding: 12px 16px;
    font-size: 1em;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    outline: none;
}
.pz-lead-magnet input[type=email]:focus {
    border-color: #fdd835;
    box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.3);
}
.pz-lead-magnet button {
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 700;
    background: #fdd835;
    color: #1b5e20;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}
.pz-lead-magnet button:hover {
    background: #ffee58;
    transform: translateY(-1px);
}
.pz-lead-magnet button:active {
    transform: translateY(0);
}
.pz-lead-magnet .pz-privacy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
    margin: 10px 0 0;
}
.pz-lead-magnet .pz-btn-gold {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.05em;
    font-weight: 700;
    background: #fdd835;
    color: #1b5e20;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.pz-lead-magnet .pz-btn-gold:hover {
    background: #ffee58;
}

@media (max-width: 600px) {
    .pz-lead-magnet { padding: 22px 18px; }
    .pz-lead-magnet h3 { font-size: 1.2em; }
    .pz-lead-magnet-form {
        flex-direction: column;
    }
    .pz-lead-magnet input[type=email] {
        width: 100%;
    }
    .pz-lead-magnet button {
        width: 100%;
    }
}

/* ===== Microclimate Risk Score ===== */
.pz-microclimate-section { margin: 2rem 0; }
.pz-mc-gauge-wrap { max-width: 180px; margin: 0 auto 1.5rem; }
.pz-mc-gauge { width: 100%; height: auto; display: block; }
.pz-mc-factors { margin-top: 1rem; }
.pz-mc-factor-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.pz-mc-factor-name { width: 180px; font-size: 0.85em; color: #555; flex-shrink: 0; }
.pz-mc-factor-bar-track { flex: 1; height: 10px; background: #e8e8e8; border-radius: 5px; overflow: hidden; }
.pz-mc-factor-bar { height: 100%; border-radius: 5px; transition: width 0.5s; }
.pz-mc-factor-value { width: 50px; text-align: right; font-size: 0.8em; font-weight: 600; color: #666; flex-shrink: 0; }
.pz-mc-interpretation { font-size: 0.9em; color: #555; margin-top: 1rem; font-style: italic; }

/* ===== Confidence Windows ===== */
.pz-confidence { margin: 2rem 0; }
.pz-confidence-band { display: flex; align-items: center; padding: 0.75rem 1rem; margin-bottom: 0.5rem; border-radius: 8px; border-left: 4px solid; }
.pz-confidence-band.pz-band-aggressive { background: #fff8e1; border-color: #f57c00; }
.pz-confidence-band.pz-band-standard { background: #e8f5e9; border-color: #2e7d32; }
.pz-confidence-band.pz-band-conservative { background: #e3f2fd; border-color: #1565c0; }
.pz-band-label { font-weight: 600; width: 180px; flex-shrink: 0; font-size: 0.9em; }
.pz-band-dates { flex: 1; display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85em; }
.pz-band-date { display: inline-flex; align-items: center; gap: 0.3rem; }
.pz-band-fit { font-weight: 700; font-size: 1.1em; flex-shrink: 0; }
.pz-band-fit.fits { color: #2e7d32; }
.pz-band-fit.no-fit { color: #c62828; }

/* ===== Confidence Windows — template classes (pz-cw-*) ===== */
.pz-confidence-section {}
.pz-cw-rows { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.25rem 0; }
.pz-cw-row { border-radius: 8px; padding: 1rem 1.25rem; border-left: 4px solid transparent; }
.pz-cw-row-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.pz-cw-row-label { font-weight: 700; font-size: 0.95em; }
.pz-cw-fits-badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 20px; font-size: 0.8em; font-weight: 600; }
.pz-cw-fits-yes { background: #dcfce7; color: #166534; }
.pz-cw-fits-no { background: #fee2e2; color: #991b1b; }
.pz-cw-row-details { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.pz-cw-badge { display: inline-block; color: #fff; padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.82em; font-weight: 600; }
.pz-cw-harvest { font-size: 0.85em; color: #555; }
.pz-cw-note { font-size: 0.82em; color: #777; margin-top: 0.75rem; padding: 0.75rem 1rem; background: #f8f9fa; border-radius: 6px; line-height: 1.55; }

/* ===== Succession Planner ===== */
.pz-succession-section { margin: 2rem 0; }
.pz-sp-cards { margin-top: 1rem; }
.pz-sp-card { background: #fafafa; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.pz-sp-card--hidden { display: none; }
.pz-sp-card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.pz-sp-card-title { font-weight: 600; color: #333; }
.pz-sp-harvest-date { font-weight: 400; color: #888; font-size: 0.85em; }
.pz-sp-days-badge { font-size: 0.8em; padding: 0.2rem 0.6rem; background: #fff3e0; color: #e65100; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.pz-sp-successors { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pz-sp-tag { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.6rem; background: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 4px; font-size: 0.8em; color: #2e7d32; text-decoration: none; }
a.pz-sp-tag:hover { background: #c8e6c9; }
.pz-sp-tag-dtm { color: #888; font-size: 0.85em; }
.pz-sp-no-successors { font-size: 0.85em; color: #999; font-style: italic; }
.pz-sp-show-more { background: none; border: 1px solid #ccc; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; margin-top: 0.5rem; font-size: 0.85em; }
.pz-sp-show-more:hover { background: #f5f5f5; }

/* ===== Water Budget ===== */
.pz-water-budget { margin: 2rem 0; }
.pz-water-bars { display: flex; gap: 1.5rem; align-items: flex-end; margin: 1.5rem 0; flex-wrap: wrap; }
.pz-water-bar-group { text-align: center; flex: 1; min-width: 120px; }
.pz-water-bar-track { height: 120px; width: 60px; background: #f0f0f0; border-radius: 8px; margin: 0 auto; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.pz-water-bar-fill { width: 100%; border-radius: 0 0 8px 8px; transition: height 0.5s; }
.pz-water-bar-fill.needs { background: #42a5f5; }
.pz-water-bar-fill.rainfall { background: #66bb6a; }
.pz-water-bar-fill.supplement { background: #ff9800; }
.pz-water-bar-value { font-weight: 700; margin-top: 0.5rem; font-size: 0.9em; }
.pz-water-bar-label { font-size: 0.8em; color: #666; margin-top: 0.25rem; }
.pz-water-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1rem; }
.pz-water-card { background: #f9f9f9; border-radius: 8px; padding: 1rem; text-align: center; }
.pz-water-card strong { display: block; font-size: 1.2em; margin-bottom: 0.25rem; }
.pz-water-warning { background: #fff3e0; border-left: 4px solid #f57c00; padding: 0.75rem 1rem; border-radius: 4px; margin-top: 1rem; font-size: 0.9em; }

/* ===== Water Budget — template classes (pz-wb-*) ===== */
.pz-water-section {}
.pz-wb-bars { margin: 1.25rem 0; }
.pz-wb-bar-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.8rem; }
.pz-wb-bar-label { width: 150px; flex-shrink: 0; font-size: 0.85em; color: #555; text-align: right; }
.pz-wb-bar-track { flex: 1; height: 34px; background: #f0f0f0; border-radius: 6px; overflow: hidden; position: relative; }
.pz-wb-bar { height: 100%; border-radius: 6px; display: flex; align-items: center; padding-left: 0.75rem; font-size: 0.82em; font-weight: 600; color: #fff; min-width: 70px; transition: width 0.5s ease; white-space: nowrap; }
.pz-wb-bar--need { background: #42a5f5; }
.pz-wb-bar--rain { background: #66bb6a; }
.pz-wb-bar--supp { background: #ff9800; }
.pz-wb-summary { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.pz-wb-card { flex: 1; min-width: 150px; background: #f9f9f9; border-radius: 8px; padding: 0.875rem 1rem; text-align: center; }
.pz-wb-card--warning { background: #fff8e1; border: 1px solid #ffe082; text-align: left; }
.pz-wb-card-label { display: block; font-size: 0.78em; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.pz-wb-card-value { display: block; font-size: 1.1em; font-weight: 700; color: #333; }
.pz-wb-card--warning .pz-wb-card-value { font-size: 0.88em; font-weight: 400; color: #7c4e00; margin: 0; }

/* ===== GDD Tracker ===== */
.pz-gdd { margin: 2rem 0; }
.pz-gdd-bar-wrap { margin: 1rem 0; }
.pz-gdd-bar-track { height: 24px; background: #e8e8e8; border-radius: 12px; overflow: hidden; position: relative; }
.pz-gdd-bar-fill { height: 100%; border-radius: 12px; transition: width 0.5s; }
.pz-gdd-bar-fill.ahead { background: #42a5f5; }
.pz-gdd-bar-fill.on-track { background: #66bb6a; }
.pz-gdd-bar-fill.behind { background: #ff9800; }
.pz-gdd-text { display: flex; justify-content: space-between; font-size: 0.85em; color: #666; margin-top: 0.3rem; }
.pz-gdd-status { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.8em; font-weight: 600; }
.pz-gdd-status.ahead { background: #e3f2fd; color: #1565c0; }
.pz-gdd-status.on-track { background: #e8f5e9; color: #2e7d32; }
.pz-gdd-status.behind { background: #fff3e0; color: #e65100; }
.pz-gdd-plant-card { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: #fafafa; border-radius: 8px; border: 1px solid #e0e0e0; margin: 0.5rem 0; }
.pz-gdd-plant-info { flex: 1; }
.pz-gdd-fit-badge { padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.8em; font-weight: 600; }
.pz-gdd-fit-badge.excellent { background: #e8f5e9; color: #2e7d32; }
.pz-gdd-fit-badge.good { background: #e8f5e9; color: #558b2f; }
.pz-gdd-fit-badge.tight { background: #fff8e1; color: #f9a825; }
.pz-gdd-fit-badge.no-fit { background: #fce4ec; color: #c62828; }

/* Mobile responsive for insights */
@media (max-width: 600px) {
    /* Microclimate gauge */
    .pz-mc-gauge-wrap { max-width: 150px; }
    .pz-mc-factor-name { width: 120px; }
    .pz-mc-factor-row { gap: 0.5rem; }

    /* Confidence Windows */
    .pz-confidence-band { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .pz-band-label { width: auto; }
    .pz-cw-row { padding: 0.75rem 1rem; }
    .pz-cw-row-header { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
    .pz-cw-row-details { flex-direction: column; gap: 0.35rem; }

    /* Water Budget */
    .pz-water-bars { justify-content: center; }
    .pz-wb-bar-row { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    .pz-wb-bar-label { width: auto; text-align: left; }
    .pz-wb-bar-track { width: 100%; }
    .pz-wb-summary { flex-direction: column; }
    .pz-wb-card { min-width: 0; }

    /* GDD Tracker */
    .pz-gdd-plant-card { flex-direction: column; align-items: flex-start; }

    /* Succession Planner */
    .pz-sp-card-header { flex-direction: column; align-items: flex-start; }
    .pz-sp-successors { gap: 0.3rem; }

    /* Phenology calendar SVG — let it scroll horizontally */
    .pz-bloom-calendar-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .pz-bloom-calendar { min-width: 480px; }

    /* Frost probability chart */
    .pz-frost-chart-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .pz-frost-chart { min-width: 480px; }

    /* Bloom event details list */
    .pz-bloom-events-list { grid-template-columns: 1fr; }

    /* Tables — horizontal scroll on narrow screens */
    .pz-section .pz-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .pz-section .pz-table td, .pz-section .pz-table th { white-space: nowrap; }
    .pz-frost-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .pz-breadcrumbs,
    .pz-search-box,
    .pz-search-bar-compact,
    .pz-hero-search,
    .pz-guide-cta,
    .pz-zip-lookup,
    .pz-county-map-wrap,
    .pz-zone-map-wrap,
    .pz-internal-links,
    .pz-data-sources,
    .pz-county-map-hint,
    .pz-btn,
    .site-header,
    .site-footer,
    #wpadminbar,
    .pz-plant-now-grid a::after { display: none !important; }

    .pz-seo-content { max-width: 100%; padding: 0; }
    .pz-page h1 { font-size: 1.5em; }
    .pz-table { font-size: 0.85em; page-break-inside: avoid; }
    .pz-card { border: 1px solid #ccc; page-break-inside: avoid; }
    .pz-grid { display: block; }
    .pz-grid > * { margin-bottom: 10px; }
    .pz-badge { border: 1px solid #ccc; }

    /* Add print header */
    .pz-page::before {
        content: "Planting Guide — theultimatehomestead.com";
        display: block;
        text-align: center;
        font-size: 0.8em;
        color: #888;
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pz-seo-content {
        padding: 12px;
    }
    .pz-page h1 {
        font-size: 1.4em;
    }
    .pz-table {
        font-size: 0.85em;
    }
    .pz-table th,
    .pz-table td {
        padding: 8px 6px;
    }
    .pz-grid-3 {
        grid-template-columns: 1fr;
    }
    .pz-link-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pz-link-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .pz-tc-bar-label {
        width: 70px;
        font-size: 0.7em;
    }
    .pz-sc-cell {
        min-width: 24px;
        padding: 4px 1px;
    }
    .pz-sc-zone-label {
        font-size: 0.5em;
    }
    .pz-gs-frost-range {
        display: none;
    }
    .pz-hero-search {
        padding: 24px 16px 20px;
        margin: -4px -12px 20px;
        border-radius: 12px;
    }
    .pz-hero-tagline {
        font-size: 0.95em;
    }
    .pz-input-hero {
        font-size: 1em !important;
        padding: 14px 16px 14px 40px !important;
    }
    .pz-search-icon {
        left: 12px;
        font-size: 1em;
    }
    .pz-hero-quick-links {
        gap: 4px;
    }
    .pz-hero-quick-links a {
        font-size: 0.72em;
        padding: 3px 9px;
    }
    .pz-frost-dates {
        flex-direction: column;
        text-align: center;
    }
    .pz-frost-date-divider {
        flex-direction: row;
    }
    .pz-mc-label-col {
        width: 80px;
    }
    .pz-mc-plant-name {
        font-size: 0.68em;
    }
    .pz-guide-cta {
        flex-direction: column;
        text-align: center;
    }
    .pz-sst-grid {
        grid-template-columns: 1fr;
    }
    .pz-sst-wide {
        grid-column: span 1;
    }
    .pz-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pz-zone-collapsible summary {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .pz-zone-summary-info {
        font-size: 0.78em;
    }
    .pz-zone-collapsible-body {
        padding: 12px;
    }
    .pz-zsc-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   ENRICHED COUNTY DATA (API Backend)
   ============================================= */
.pz-frost-risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
    margin: 1em 0;
}
.pz-frost-risk-card {
    background: #f9fbe7;
    border: 1px solid #dcedc8;
    border-radius: 10px;
    padding: 16px;
}
.pz-frost-risk-card h3 {
    margin-top: 0;
    font-size: 1em;
    color: #33691e;
}
.pz-frost-table {
    font-size: 0.9em;
}
.pz-frost-table .pz-highlight {
    background: #e8f5e9;
    font-weight: 600;
}
.pz-frost-table .pz-highlight td {
    border-left: 3px solid #2e7d32;
}

/* Soil & Drought cards use existing .pz-card and .pz-grid */
.pz-card strong {
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .pz-frost-risk-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PHENOLOGY — Nature's Calendar
   ============================================= */
.pz-phenology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin: 1em 0;
}
.pz-phenology-card {
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #ddd;
}
.pz-phenology-spring {
    background: #f1f8e9;
    border-color: #c5e1a5;
}
.pz-phenology-soil {
    background: #fff8e1;
    border-color: #ffecb3;
}
.pz-phenology-fall {
    background: #fbe9e7;
    border-color: #ffccbc;
}
.pz-phenology-card h3 {
    margin-top: 0;
    font-size: 1em;
}
.pz-phenology-table {
    font-size: 0.88em;
}
.pz-phenology-table td {
    padding: 6px 8px;
}

/* =============================================
   LOCAL AGRICULTURE / CROPS
   ============================================= */
.pz-local-crops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin: 1em 0;
}
.pz-local-crop-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
}
.pz-local-crop-card strong {
    display: block;
    font-size: 0.95em;
    color: #333;
}
.pz-local-crop-card .pz-small {
    display: block;
    margin-top: 2px;
}

/* Button styles */
.pz-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.15s;
}
.pz-btn-outline {
    border: 2px solid #2e7d32;
    color: #2e7d32;
    background: transparent;
}
.pz-btn-outline:hover {
    background: #2e7d32;
    color: #fff;
}

@media (max-width: 768px) {
    .pz-phenology-grid {
        grid-template-columns: 1fr;
    }
    .pz-local-crops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   FROST PROBABILITY CHART
   ============================================= */
.pz-frost-chart-section {
    margin: 2em 0;
}
.pz-frost-chart-section .pz-subtitle {
    color: #666;
    font-size: 0.9em;
    margin-top: -0.5em;
}
.pz-frost-chart-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin: 1em 0;
    overflow-x: auto;
}
.pz-frost-chart {
    width: 100%;
    height: auto;
    min-width: 500px;
}
.pz-frost-table-wrap {
    margin: 1em 0;
    overflow-x: auto;
}
.pz-frost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}
.pz-frost-table th {
    background: #f5f5f5;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}
.pz-frost-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}
.pz-risk-low td:first-child { border-left: 4px solid #16a34a; }
.pz-risk-med-low td:first-child { border-left: 4px solid #65a30d; }
.pz-risk-med td:first-child { border-left: 4px solid #eab308; }
.pz-risk-med-high td:first-child { border-left: 4px solid #f97316; }
.pz-risk-high td:first-child { border-left: 4px solid #dc2626; }
.pz-risk-med { background: #fefce8; font-weight: 600; }

.pz-frost-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 1.5em 0;
}
.pz-insight-card {
    display: flex;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}
.pz-insight-icon {
    font-size: 1.8em;
    flex-shrink: 0;
}
.pz-insight-card strong {
    display: block;
    margin-bottom: 4px;
    color: #1e293b;
}
.pz-insight-card p {
    margin: 0;
    font-size: 0.88em;
    color: #64748b;
    line-height: 1.5;
}

/* =============================================
   FROST COUNTDOWN WIDGET
   ============================================= */
.pz-frost-countdown {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 1.5em 0;
    text-align: center;
}
.pz-frost-countdown.pz-fc-frost,
.pz-frost-countdown__card.pz-frost-countdown--before {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: #fca5a5;
}
.pz-frost-countdown.pz-fc-fall,
.pz-frost-countdown__card.pz-frost-countdown--after {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}
.pz-frost-countdown.pz-fc-winter {
    background: linear-gradient(135deg, #f5f3ff 0%, #e0e7ff 100%);
    border-color: #a5b4fc;
}
/* Growing season = green (default) */
.pz-frost-countdown__card.pz-frost-countdown--growing {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}
/* Before last frost = amber/warning */
.pz-frost-countdown__card.pz-frost-countdown--before .pz-frost-countdown__number { color: #b45309; }
.pz-frost-countdown__card.pz-frost-countdown--before .pz-frost-countdown__progress-bar { background: #f59e0b; }
/* Growing season = green */
.pz-frost-countdown__card.pz-frost-countdown--growing .pz-frost-countdown__number { color: #166534; }
.pz-frost-countdown__card.pz-frost-countdown--growing .pz-frost-countdown__progress-bar { background: #22c55e; }
/* After first frost = blue/winter */
.pz-frost-countdown__card.pz-frost-countdown--after .pz-frost-countdown__number { color: #1e40af; }
.pz-frost-countdown__card.pz-frost-countdown--after .pz-frost-countdown__progress-bar { background: #3b82f6; }
.pz-fc-number {
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    color: #166534;
}
.pz-fc-frost .pz-fc-number { color: #dc2626; }
.pz-fc-fall .pz-fc-number { color: #2563eb; }
.pz-fc-winter .pz-fc-number { color: #6366f1; }
.pz-fc-label {
    font-size: 1.1em;
    font-weight: 600;
    margin: 4px 0 12px;
    color: #333;
}
.pz-fc-progress {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin: 0 auto 12px;
    overflow: hidden;
}
.pz-fc-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    background: #22c55e;
}
.pz-fc-frost .pz-fc-progress-fill { background: #ef4444; }
.pz-fc-fall .pz-fc-progress-fill { background: #3b82f6; }
.pz-fc-winter .pz-fc-progress-fill { background: #8b5cf6; }
.pz-fc-dates {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.85em;
    color: #666;
    margin-top: 8px;
}

/* =============================================
   PHENOLOGY BLOOM CALENDAR
   ============================================= */
.pz-bloom-calendar-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin: 1.5em 0;
    overflow-x: auto;
}
.pz-bloom-calendar {
    width: 100%;
    min-width: 600px;
    height: auto;
}
.pz-bloom-event {
    cursor: default;
}
.pz-bloom-event:hover .pz-bloom-marker {
    r: 8;
    transition: r 0.2s ease;
}

/* =============================================
   PLANT PHOTOS
   ============================================= */
.pz-plant-photo-wrap {
    float: right;
    width: 280px;
    margin: 0 0 20px 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.pz-plant-photo {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}
.pz-plant-photo-fallback {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* =============================================
   SEED INVENTORY TRACKER
   ============================================= */
.pz-seed-tracker {
    max-width: 900px;
    margin: 0 auto;
}
.pz-st-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 1em 0;
}
.pz-st-stat {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.pz-st-stat-number {
    font-size: 2em;
    font-weight: 800;
    color: #166534;
    display: block;
}
.pz-st-stat-label {
    font-size: 0.85em;
    color: #666;
}
.pz-st-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 1em 0;
}
.pz-st-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}
.pz-st-form-grid label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}
.pz-st-form-grid input,
.pz-st-form-grid select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9em;
}
.pz-st-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.9em;
}
.pz-st-table th {
    background: #f1f5f9;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    cursor: pointer;
    user-select: none;
}
.pz-st-table th:hover {
    background: #e2e8f0;
}
.pz-st-table th::after {
    content: ' ↕';
    font-size: 0.7em;
    color: #94a3b8;
}
.pz-st-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
}
.pz-st-table tr:hover {
    background: #f8fafc;
}
.pz-st-expiring {
    background: #fffbeb !important;
}
.pz-st-expired {
    background: #fef2f2 !important;
    color: #991b1b;
}
.pz-st-actions {
    white-space: nowrap;
}
.pz-st-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding: 2px 6px;
    border-radius: 4px;
}
.pz-st-actions button:hover {
    background: #e2e8f0;
}
.pz-st-notice {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85em;
    padding: 12px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    margin: 1em 0;
}

/* =============================================
   CHART TOOLTIPS (all SVG charts)
   ============================================= */
.pz-chart-tooltip {
    position: absolute;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    line-height: 1.4;
    pointer-events: none;
    z-index: 1000;
    max-width: 200px;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    margin-top: -8px;
    opacity: 0;
    transition: opacity 0.15s;
}
.pz-chart-tooltip.pz-visible {
    opacity: 1;
}

/* Chart fade-in animation on scroll */
.pz-chart-animate {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.pz-chart-animate.pz-chart-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SOIL AMENDMENTS
   ============================================= */
.pz-amendments {
    margin: 1.5em 0;
}
.pz-amendment-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 10px;
    transition: box-shadow 0.15s;
}
.pz-amendment-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pz-amendment-card.pz-priority-high {
    border-left: 4px solid #dc2626;
}
.pz-amendment-card.pz-priority-medium {
    border-left: 4px solid #f59e0b;
}
.pz-amendment-card.pz-priority-low {
    border-left: 4px solid #22c55e;
}
.pz-amendment-icon {
    font-size: 1.8em;
    flex-shrink: 0;
}
.pz-amendment-info strong {
    display: block;
    font-size: 1.05em;
    color: #1e293b;
    margin-bottom: 2px;
}
.pz-amendment-reason {
    color: #64748b;
    font-size: 0.9em;
    margin: 0 0 6px;
}
.pz-amendment-details {
    display: flex;
    gap: 16px;
    font-size: 0.82em;
    color: #94a3b8;
}
.pz-amendment-details span::before {
    margin-right: 4px;
}
.pz-soil-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin: 1em 0;
    padding: 16px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 10px;
}
.pz-soil-stat {
    text-align: center;
}
.pz-soil-stat-value {
    font-size: 1.2em;
    font-weight: 700;
    color: #92400e;
    display: block;
}
.pz-soil-stat-label {
    font-size: 0.78em;
    color: #a16207;
}

/* =============================================
   ENHANCED MOBILE RESPONSIVE (Sprint 1E)
   ============================================= */
@media (max-width: 480px) {
    .pz-seo-content {
        padding: 8px;
    }
    .pz-page h1 {
        font-size: clamp(1.2em, 5vw, 1.6em);
    }
    .pz-page h2 {
        font-size: clamp(1em, 4vw, 1.3em);
    }
    .pz-link-grid,
    .pz-link-grid-4 {
        grid-template-columns: 1fr;
    }
    .pz-grid-3,
    .pz-grid-4 {
        grid-template-columns: 1fr;
    }
    .pz-plant-photo-wrap {
        float: none;
        width: 100%;
        margin: 0 0 16px;
    }
    .pz-plant-photo,
    .pz-plant-photo-fallback {
        height: 180px;
    }
    .pz-st-stats {
        grid-template-columns: 1fr;
    }
    .pz-frost-countdown {
        padding: 16px;
    }
    .pz-fc-number {
        font-size: 2.5em;
    }
    .pz-fc-dates {
        flex-direction: column;
        gap: 4px;
    }
    .pz-frost-insights {
        grid-template-columns: 1fr;
    }
    .pz-amendment-card {
        flex-direction: column;
    }
    .pz-amendment-details {
        flex-direction: column;
        gap: 4px;
    }
    .pz-soil-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch targets — ensure all interactive elements are at least 44px */
@media (pointer: coarse) {
    .pz-link-grid a,
    .pz-btn,
    .pz-breadcrumbs a,
    .pz-hero-quick-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .pz-st-table td,
    .pz-frost-table td {
        padding: 12px;
    }
    .pz-st-actions button {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Zone map full-width on mobile */
@media (max-width: 640px) {
    .pz-zone-map-wrap,
    .pz-county-map-wrap {
        margin-left: -8px;
        margin-right: -8px;
    }
    .pz-zone-map-wrap svg,
    .pz-county-map-wrap svg {
        width: 100%;
    }
    .pz-bloom-calendar-wrap {
        margin-left: -8px;
        margin-right: -8px;
        border-radius: 0;
    }
}

/* Bloom events detail list */
.pz-bloom-events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    margin: 1em 0;
}
.pz-bloom-event-detail {
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 6px;
}
.pz-bloom-event-detail strong {
    display: block;
    font-size: 0.95em;
    color: #1e293b;
}
.pz-bloom-date {
    font-size: 0.85em;
    color: #64748b;
    margin-left: 4px;
}
.pz-bloom-tip {
    margin: 4px 0 0;
    font-size: 0.82em;
    color: #94a3b8;
    line-height: 1.4;
}

/* =============================================
   GARDEN PLANNER (Visual Calendar)
   ============================================= */
.pz-planner-step h2 {
    margin-top: 0;
}
.pz-planner-zones {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin: 1em 0;
}
.pz-planner-zone-btn {
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}
.pz-planner-zone-btn:hover {
    border-color: #22c55e;
    background: #f0fdf4;
}
.pz-planner-zone-btn.pz-selected {
    border-color: #22c55e;
    background: #dcfce7;
}
.pz-planner-zone-btn strong {
    display: block;
    font-size: 1.1em;
}
.pz-planner-zone-btn span {
    font-size: 0.75em;
    color: #666;
}
.pz-btn-green {
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.15s;
}
.pz-btn-green:hover {
    background: #16a34a;
}
.pz-planner-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1em 0;
    flex-wrap: wrap;
}
.pz-planner-type-group {
    margin: 1em 0;
}
.pz-planner-type-group h3 {
    margin-bottom: 8px;
    font-size: 1em;
    color: #374151;
}
.pz-planner-plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 4px;
}
.pz-planner-plant-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}
.pz-planner-plant-label:hover {
    background: #f0fdf4;
}
.pz-planner-nav {
    margin: 1.5em 0;
    display: flex;
    gap: 10px;
}

/* Calendar grid */
.pz-planner-calendar {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1em 0;
}
.pz-pc-header {
    display: grid;
    grid-template-columns: 140px repeat(12, 1fr);
    background: #f8fafc;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 0.85em;
}
.pz-pc-label {
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.85em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pz-pc-label a {
    color: #166534;
    text-decoration: none;
}
.pz-pc-label a:hover {
    text-decoration: underline;
}
.pz-pc-month {
    padding: 8px 4px;
    text-align: center;
    border-left: 1px solid #f1f5f9;
}
.pz-pc-frost-last {
    border-right: 2px dashed #dc2626 !important;
}
.pz-pc-frost-first {
    border-left: 2px dashed #3b82f6 !important;
}
.pz-pc-row {
    display: grid;
    grid-template-columns: 140px repeat(12, 1fr);
    border-bottom: 1px solid #f1f5f9;
}
.pz-pc-row:last-child {
    border-bottom: none;
}
.pz-pc-row:hover {
    background: #fafafa;
}
.pz-pc-cell {
    padding: 6px 4px;
    text-align: center;
    font-size: 0.8em;
    border-left: 1px solid #f8fafc;
    min-height: 32px;
}
.pz-pc-indoor { background: #dbeafe; }
.pz-pc-transplant { background: #dcfce7; }
.pz-pc-directsow { background: #fef3c7; }
.pz-pc-harvest { background: #fce7f3; }
.pz-planner-legend {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    font-size: 0.85em;
    flex-wrap: wrap;
}
.pz-planner-legend span {
    padding: 4px 12px;
    border-radius: 4px;
}

/* =============================================
   PRODUCT RECOMMENDATIONS
   ============================================= */
.pz-products {
    margin-top: 32px;
    margin-bottom: 24px;
}
.pz-products > h2 {
    font-size: 1.15em;
    color: #2e7d32;
    margin-bottom: 16px;
    font-weight: 600;
}
.pz-products-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pz-product-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e0e7e0;
    border-radius: 10px;
    background: #fafdf9;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pz-product-card:hover {
    border-color: #a5d6a7;
    box-shadow: 0 2px 8px rgba(46,125,50,0.08);
}
.pz-product-icon {
    font-size: 1.6em;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.pz-product-body {
    flex: 1;
    min-width: 0;
}
.pz-product-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.pz-product-name {
    font-size: 1em;
    color: #1b5e20;
}
.pz-product-price {
    font-size: 0.85em;
    color: #6d8f6e;
    white-space: nowrap;
}
.pz-product-desc {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    margin: 0 0 8px;
}
.pz-product-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pz-product-btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.85em;
    font-weight: 600;
    color: #2e7d32;
    border: 1.5px solid #2e7d32;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pz-product-btn:hover {
    background: #2e7d32;
    color: #fff;
}
.pz-product-why {
    font-size: 0.78em;
    color: #888;
    cursor: help;
    border-bottom: 1px dotted #bbb;
    position: relative;
}
.pz-product-why:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 0;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.92em;
    white-space: normal;
    width: 220px;
    z-index: 10;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Product cards responsive */
@media (max-width: 768px) {
    .pz-product-card {
        padding: 12px 14px;
        gap: 10px;
    }
    .pz-product-icon {
        font-size: 1.3em;
    }
    .pz-product-desc {
        font-size: 0.85em;
    }
}
@media (max-width: 480px) {
    .pz-product-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .pz-product-icon {
        font-size: 1.8em;
        text-align: center;
    }
    .pz-product-header {
        justify-content: center;
    }
    .pz-product-price {
        display: none;
    }
    .pz-product-footer {
        justify-content: center;
    }
    .pz-product-why:hover::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Search dropdown mobile fix */
@media (max-width: 768px) {
    .pz-search-dropdown {
        position: fixed !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-height: 60vh;
    }
}

/* Calculator Pages */
.pz-calc-container { max-width: 800px; }
.pz-calc-inputs { margin: 20px 0; }
.pz-calc-row { margin: 12px 0; }
.pz-calc-row label { display: block; font-weight: 600; color: #374151; margin-bottom: 4px; font-size: 14px; }
.pz-calc-row input[type="number"],
.pz-calc-row input[type="text"],
.pz-calc-row select {
    width: 100%; padding: 10px 14px; border: 1.5px solid #d1d5db; border-radius: 8px;
    font-size: 15px; font-family: inherit; background: #fff; transition: border-color 0.2s;
}
.pz-calc-row input:focus, .pz-calc-row select:focus {
    border-color: #2e7d32; outline: none; box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.pz-calc-input-group { display: flex; align-items: center; gap: 8px; }
.pz-calc-input-group input { flex: 1; }
.pz-calc-unit { font-size: 14px; color: #64748b; font-weight: 500; min-width: 40px; }
.pz-calc-select { appearance: auto; }
.pz-calc-results { margin: 24px 0; padding: 20px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }
.pz-calc-results h2 { margin: 0 0 16px; font-size: 20px; color: #1e293b; }
.pz-calc-shopping-list { overflow-x: auto; }
.pz-btn-outline { background: #fff; border: 1.5px solid #2e7d32; color: #2e7d32; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-family: inherit; font-weight: 600; }
.pz-btn-outline:hover { background: #f0fdf4; }

/* Unit Toggle Button */
.pz-unit-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 20px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin: 8px 0 4px;
    font-family: inherit;
}
.pz-unit-toggle:hover {
    border-color: #2e7d32;
    color: #2e7d32;
    background: #f0fdf4;
}
.pz-unit-toggle[data-active="metric"] {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}
.pz-unit-toggle[data-active="metric"]:hover {
    background: #dbeafe;
}
