.forest-resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.forest-resource-panel { min-width: 0; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 18px rgba(24,61,39,.07); overflow: hidden; }
.resource-panel-heading { padding: 24px 24px 18px; border-bottom: 1px solid var(--border); background: #f1f5ee; }
.resource-panel-heading h2 { margin: 0 0 6px; color: var(--green-dark); font-size: 1.55rem; }
.resource-panel-heading p { margin: 0; font-size: .9rem; color: #526153; }
.resource-panel-body { padding: 18px 24px 24px; }
.forest-resource-panel .alerts-status { margin: 0 0 16px; font-size: .78rem; color: #59675b; }
.alerts-stale { color: #703813; background: #fff0dc; border-left: 3px solid var(--orange-dark); padding: 10px; }
.alerts-controls { display: grid; gap: 12px; margin: 0 0 12px; }
.alerts-controls[hidden] { display: none; }
.alerts-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.alerts-filters button { padding: 6px 10px; border: 1px solid var(--green); border-radius: 20px; background: white; color: var(--green-dark); font: inherit; font-size: .78rem; font-weight: bold; cursor: pointer; }
.alerts-filters button[aria-pressed="true"] { background: var(--green); color: white; }
.alerts-controls input { width: 100%; padding: 9px 12px; border: 1px solid #8a958b; border-radius: 5px; color: #222; background: white; font: inherit; font-size: .85rem; }
.resource-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.forest-resource-panel :is(button,input,a):focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
.forest-resource-panel .alerts-count { margin: 8px 0 6px; font-size: .78rem; color: #666; }
.forest-notice-list { list-style: none; padding: 0; margin: 0; }
.forest-alert-row, .forest-project-row { padding: 16px 0; border-bottom: 1px solid #e8e3d6; }
.forest-alert-row:last-child, .forest-project-row:last-child { border-bottom: 0; }
.forest-row-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.forest-alert-row h3, .forest-project-row h3 { margin: 0; color: var(--green-dark); font-size: .98rem; line-height: 1.4; }
.forest-alert-row h3 a, .forest-project-row h3 a { text-decoration: none; }
.forest-alert-row h3 a:hover, .forest-project-row h3 a:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.forest-alert-badges { flex-shrink: 0; }
.forest-alert-badge, .project-status-badge { display: inline-block; border-radius: 4px; padding: 2px 7px; font-size: .7rem; font-weight: bold; white-space: nowrap; }
.alert-critical { color: #8b1d1d; background: #ffe8e8; }
.alert-fire-restriction { color: #823512; background: #ffecd8; }
.alert-caution { color: #665012; background: #fff4c7; }
.alert-information { color: #214a32; background: #eaf1e9; }
.forest-alert-details { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 9px 0 0; font-size: .78rem; color: #444; }
.forest-alert-details div { display: flex; flex-wrap: wrap; gap: 4px; }
.forest-alert-details dt { color: #666; }
.forest-alert-details dt::after { content: ':'; }
.forest-alert-details dd { margin: 0; }
.forest-resource-panel .project-planning-status { margin: 8px 0 0; font-size: .76rem; color: #666; }
.project-progress { color: #665012; background: #fff4c7; }
.project-completed { color: #214a32; background: #eaf1e9; }
.forest-resource-panel .project-purpose { margin: 8px 0 0; font-size: .8rem; color: #666; line-height: 1.5; }
.forest-resource-panel .alerts-source { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); color: #666; font-size: .78rem; }
.alerts-source a { color: var(--green-dark); font-weight: bold; text-underline-offset: 3px; }
.alerts-empty { padding: 16px 0; font-size: .85rem; }
@media(max-width: 850px) { .forest-resources-grid { grid-template-columns: 1fr; } }
@media(max-width: 480px) {
 .resource-panel-heading, .resource-panel-body { padding-left: 16px; padding-right: 16px; }
 .forest-row-heading { flex-direction: column; gap: 6px; }
 .forest-alert-details { gap: 4px 16px; }
}

/* Permit resources sit above the two forest information lists. */
.special-use-links { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.special-use-links h2 { margin: 0 0 12px; color: var(--green-dark); font-size: 1.7rem; line-height: 1.3; }
.special-use-links > p { max-width: 1080px; margin: 0 0 18px; }
.special-use-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.special-use-actions .button { font-size: .85rem; padding: 10px 16px; }
.special-use-links .special-use-contact { margin: 16px 0 0; font-size: .85rem; color: #555; }
.special-use-contact a { color: var(--green-dark); font-weight: bold; text-underline-offset: 3px; }
.special-use-links a:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 4px; }
@media (max-width: 600px) { .special-use-actions { flex-direction: column; align-items: stretch; } .special-use-actions .button { text-align: center; } }

.forest-comments-panel { margin-top: 28px; }
.forest-resource-panel .comments-message { margin: 0; padding: 16px 18px; background: #f1f5ee; border-radius: 8px; color: var(--green-dark); font-size: .95rem; }
.comments-message[hidden] { display: none; }
.forest-comment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.forest-comment-row { padding: 8px 0; }
.forest-comment-row h3 { margin: 10px 0; font-size: 1.05rem; line-height: 1.4; }
.forest-comment-row h3 a { text-decoration: none; color: var(--green-dark); }
.forest-comment-row h3 a:hover, .comment-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.forest-comment-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #fff4c7; color: #665012; font-size: .72rem; font-weight: bold; }
.forest-resource-panel .comment-deadline { margin: 8px 0; font-size: .85rem; }
.comment-action { font-size: .85rem; font-weight: bold; color: var(--green-dark); }
@media(max-width: 850px) { .forest-comment-list { grid-template-columns: 1fr; } }
