.rl-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    background: var(--po-card-bg,#fff);
    border: 1px solid var(--po-card-border,#ddd);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 6px 0 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rl-toolbar input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 9px 11px;
    border: 1px solid var(--po-input-border,#ccc);
    border-radius: 5px;
}
.rl-toolbar select {
    padding: 8px 10px;
    border: 1px solid var(--po-input-border,#ccc);
    border-radius: 5px;
}
.rl-admin-form-card {
    background: var(--po-card-bg,#fff);
    border: 1px solid var(--po-card-border,#ddd);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 4px 0 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rl-admin-form-card input[type="text"],
.rl-admin-form-card input[type="url"] {
    padding: 9px 11px;
    border: 1px solid var(--po-input-border,#ccc);
    border-radius: 5px;
    margin: 0 10px 10px 0;
    min-width: 220px;
}
.rl-resource-list { list-style: none; padding: 0; margin: 0; }
.rl-resource-list li {
    background: var(--po-card-bg,#fff);
    border: 1px solid var(--po-card-border,#ddd);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rl-resource-list li > a {
    font-size: 15px;
    font-weight: 600;
    color: var(--po-heading,#2f5aae);
    text-decoration: none;
}
.rl-resource-list li > a:hover { text-decoration: underline; }
.rl-resource-meta { margin-top: 8px; }
.rl-link-icon { font-size: 13px; opacity: .6; }
.hidden { display: none; }
.rl-play-toggle { font-size: 11px; padding: 2px 8px; line-height: 1.6; height: auto; margin: 0 8px 0 0; cursor: pointer; vertical-align: baseline; }
.rl-embed-wrap { margin-top: 10px; }
.rl-embed-wrap iframe { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; display: block; }
.rl-ai-suggest-wrap { margin: 0 0 8px; }
.rl-ai-panel {
    background: var(--po-card-bg,#fff);
    border: 1px solid var(--po-card-border,#ddd);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 4px 0 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rl-ai-intro { margin: 0 0 10px; font-size: 13px; color: var(--po-text-muted,#666); }
.rl-ai-status { font-size: 13px; margin: 4px 0; min-height: 18px; color: var(--po-text-muted,#666); }
.rl-ai-status.busy { color: var(--po-heading,#2f5aae); }
.rl-ai-status.err { color: #a94442; }
.rl-ai-group {
    margin: 16px 0 8px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
    color: var(--po-text-muted,#777); border-bottom: 1px solid var(--po-card-border,#eee); padding-bottom: 4px;
}
.rl-ai-card {
    border: 1px solid var(--po-card-border,#e4e4e4);
    border-radius: 7px; padding: 11px 13px; margin-bottom: 9px; background: var(--po-input-bg,#fafafa);
}
.rl-ai-card-h { font-size: 14px; line-height: 1.4; }
.rl-ai-card-h strong { color: var(--po-heading,#2f5aae); }
.rl-ai-badge {
    display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    padding: 2px 7px; border-radius: 10px; margin-right: 6px; color: #fff; vertical-align: middle;
}
.rl-ai-badge-video { background: #c0392b; }
.rl-ai-badge-training { background: #2f5aae; }
.rl-ai-badge-certification { background: #1a7a43; }
.rl-ai-badge-documentation { background: #6b5b95; }
.rl-ai-badge-safety { background: #d67d00; }
.rl-ai-src { font-size: 12px; color: var(--po-text-muted,#888); font-style: italic; }
.rl-ai-why { margin: 6px 0 9px; font-size: 13px; color: var(--po-text,#444); }
.rl-ai-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rl-ai-mini { font-size: 12px; padding: 5px 11px; }
.rl-ai-altlink { font-size: 12px; color: var(--po-heading,#2f5aae); text-decoration: none; }
.rl-ai-altlink:hover { text-decoration: underline; }
