.forms-section, .forms-workspace { font-family: Inter, "Segoe UI", sans-serif; color: #172d25; }
.forms-section { margin: 32px 0; scroll-margin-top: 90px; }
.forms-section h2, .forms-workspace h1 { margin: 0 0 12px; }
.forms-intro, .forms-card p, .forms-workspace p { color: #52675d; line-height: 1.6; }
.forms-section h3 { margin: 26px 0 12px; font-size: 1.1rem; }
.forms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.forms-card { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; background: #fff; border: 1px solid #d7e3dc; border-radius: 12px; overflow-wrap: anywhere; }
.forms-card h4 { margin: 0; font-size: 1rem; }
.forms-card p { margin: 10px 0; }
.forms-card small { color: #52675d; }
.forms-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; color: #fff; background: #08633f; border: 1px solid #08633f; border-radius: 8px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.forms-button:hover { background: #054b30; color: #fff; }
.forms-button.secondary { color: #174f39; background: #fff; border-color: #b9cfc1; }
.forms-button:focus-visible, .forms-nav a:focus-visible { outline: 3px solid #bd8500; outline-offset: 3px; }
.forms-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.forms-nav a { min-height: 44px; padding: 12px 16px; color: #174f39; background: #fff; border: 1px solid #d7e3dc; border-radius: 8px; text-decoration: none; font-weight: 650; }
.forms-empty, .forms-notice { padding: 18px; border: 1px solid #d7e3dc; border-radius: 10px; background: #f7faf8; }
.forms-workspace { max-width: 1000px; width: calc(100% - 32px); margin: 32px auto 72px; }
.forms-workspace *, .forms-section * { box-sizing: border-box; }
.forms-workspace .forms-editor { padding: 22px; background: #fff; border: 1px solid #d7e3dc; border-radius: 12px; margin: 20px 0; min-width: 0; overflow-wrap: anywhere; }
.forms-workspace label { display: block; margin: 14px 0 6px; font-weight: 650; }
.forms-workspace input:not([type=checkbox]):not([type=hidden]), .forms-workspace textarea, .forms-workspace select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 10px; font: inherit; border: 1px solid #9db5a7; border-radius: 6px; }
.forms-workspace .forms-confirm { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.forms-confirm input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.forms-workspace .forms-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
.forms-workspace details { border-top: 1px solid #d7e3dc; padding: 16px 0 0; margin-top: 16px; }
.forms-workspace summary { cursor: pointer; min-height: 44px; font-weight: 650; }
.forms-workspace .forms-message { padding: 14px; border-left: 4px solid #08633f; background: #fff; margin: 12px 0; }
.forms-workspace .forms-message.error { border-color: #ad352d; }
.forms-status { color: #52675d; font-size: .85rem; }
@media (max-width: 600px) {
    .forms-grid { grid-template-columns: 1fr; }
    .forms-workspace { width: calc(100% - 24px); margin-top: 24px; }
    .forms-workspace .forms-editor { padding: 16px; }
    .forms-card .forms-button { width: 100%; }
    .forms-actions > form, .forms-actions > a, .forms-actions .forms-button { width: 100%; }
}
