.wg-lead { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 1.5rem; }

.wg-preview { margin-bottom: 1.5rem; }
.wg-preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    border: 1.5px dashed #e0e0e0;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #999;
}

.wg-event-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1rem;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}
.wg-event-note[hidden] { display: none; }
.wg-event-note strong { color: #1a1a1a; }
.wg-link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.wg-link-btn:hover { color: #1a1a1a; }

.wg-tz { font-size: 0.8rem; color: #999; margin: -0.25rem 0 0.75rem; }
.wg-tz[hidden] { display: none; }

.wg-check {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.wg-check[hidden] { display: none; }
.wg-check input { margin-top: 0.15rem; flex-shrink: 0; accent-color: #1a1a1a; }

#wg-custom-fields { margin-bottom: 1rem; }
#wg-custom-fields[hidden] { display: none; }

.wg-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.wg-section { margin-top: 2.5rem; }
.wg-section h2 { font-size: 1rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.75rem; }
.wg-section p,
.wg-steps { font-size: 0.875rem; color: #666; line-height: 1.7; margin-bottom: 0.75rem; }
.wg-steps { list-style: none; }
.wg-steps li + li { margin-top: 0.35rem; }
.wg-section code,
.wg-howto code {
    background: #f0f0ee;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.wg-code {
    display: block;
    width: 100%;
    padding: 0.75rem 0.85rem;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    text-align: left;
    resize: vertical;
    outline: none;
}
.wg-code:focus { border-color: #999; }
textarea.wg-code { word-break: break-all; }

.wg-copy { display: block; width: 100%; margin: 0.75rem 0 1rem; }
.wg-copy:disabled { opacity: 0.5; cursor: default; }

.wg-howto {
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 10px;
}
.wg-howto p { font-size: 0.8rem; margin-bottom: 0.35rem; }
.wg-howto p:last-child { margin-bottom: 0; }
