#epw-box {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
}

/* Status row */
.epw-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.epw-updated {
    font-size: 11px;
    color: #999;
}

/* Badges */
.epw-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.epw-badge--draft,
.epw-badge--auto-draft    { background: #f0f0f0; color: #555; }
.epw-badge--pending_review { background: #fff3cd; color: #856404; }
.epw-badge--needs_revision { background: #fde8e8; color: #b91c1c; }
.epw-badge--revised        { background: #dbeafe; color: #1e40af; }
.epw-badge--publish        { background: #dcfce7; color: #166534; }

/* Notices */
.epw-notice {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.55;
    margin-bottom: 12px;
}
.epw-notice--amber { background: #fffbeb; border-left: 3px solid #f59e0b; color: #78350f; }
.epw-notice--blue  { background: #eff6ff; border-left: 3px solid #3b82f6; color: #1e3a8a; }
.epw-notice--green { background: #f0fdf4; border-left: 3px solid #84bd00; color: #166534; }
.epw-notice--grey  { background: #f9fafb; border-left: 3px solid #d1d5db; color: #374151; }

/* Form */
.epw-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
    margin-bottom: 5px;
}
.epw-label span { font-weight: 400; text-transform: none; color: #999; }

.epw-textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 12px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}
.epw-textarea:focus {
    outline: none;
    border-color: #84bd00;
    box-shadow: 0 0 0 2px rgba(132, 189, 0, 0.15);
}

/* Buttons */
.epw-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    margin-bottom: 8px;
}
.epw-btn:hover    { opacity: 0.88; transform: translateY(-1px); }
.epw-btn:disabled { opacity: 0.5;  cursor: not-allowed; transform: none; }
.epw-btn--green   { background: #84bd00; color: #fff; }
.epw-btn--amber   { background: #f59e0b; color: #fff; }

/* Divider */
.epw-divider {
    text-align: center;
    color: #bbb;
    font-size: 11px;
    margin: 10px 0;
    position: relative;
}
.epw-divider::before,
.epw-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 44%;
    height: 1px;
    background: #eee;
}
.epw-divider::before { left: 0; }
.epw-divider::after  { right: 0; }

.epw-publish-note {
    font-size: 12px;
    color: #666;
    background: #f7f7f7;
    padding: 10px 12px;
    border-radius: 5px;
    line-height: 1.55;
    margin: 0;
}

/* Feedback */
.epw-feedback {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.epw-feedback--success { background: #f0fdf4; color: #166534; border-left: 3px solid #84bd00; }
.epw-feedback--error   { background: #fef2f2; color: #b91c1c; border-left: 3px solid #ef4444; }