/* Returns plugin — structural styles. Colours come from the active theme's tokens. */
.rt-box {
    --rt-primary: var(--color-theme-primary, var(--theme-primary, #4f46e5));
    --rt-on-primary: var(--color-theme-on-primary, var(--theme-on-primary, #fff));
    --rt-text: var(--color-theme-text, var(--theme-text, #18181b));
    --rt-muted: var(--color-theme-muted, var(--theme-text-muted, #71717a));
    --rt-border: var(--color-theme-border, var(--theme-border, #e4e4e7));
    --rt-surface: var(--color-theme-surface, var(--theme-surface, #fff));
    margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--rt-border); border-radius: 1rem; background: var(--rt-surface); color: var(--rt-text); font-size: .9375rem;
}
.rt-box * { box-sizing: border-box; }
.rt-account { margin-top: 0; }
.rt-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.rt-head h3 { margin: 0; font-family: var(--font-title, inherit); font-size: 1.25rem; font-weight: 600; }
.rt-muted { margin: .25rem 0 0; color: var(--rt-muted); font-size: .875rem; }
.rt-muted a { color: var(--rt-primary); }
.rt-button { display: inline-flex; align-items: center; padding: .65rem 1.25rem; border: 0; border-radius: 999px; background: var(--rt-primary); color: var(--rt-on-primary); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.rt-button:disabled { opacity: .6; }
.rt-link { border: 0; background: none; color: var(--rt-muted); font: inherit; cursor: pointer; }
.rt-item { margin-top: 1rem; padding: 1rem; border: 1px solid var(--rt-border); border-radius: .75rem; }
.rt-item ul { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .875rem; }
.rt-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.rt-status { padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: rgba(113, 113, 122, .14); }
.rt-status-requested { background: rgba(245, 158, 11, .16); color: #b45309; }
.rt-status-approved { background: rgba(14, 165, 233, .14); color: #0369a1; }
.rt-status-received { background: rgba(99, 102, 241, .14); color: #4338ca; }
.rt-status-closed { background: rgba(16, 185, 129, .14); color: #047857; }
.rt-status-rejected { background: rgba(239, 68, 68, .12); color: #b91c1c; }
.rt-note { margin: .6rem 0 0; padding: .6rem .8rem; border-left: 3px solid var(--rt-primary); border-radius: .4rem; background: rgba(0, 0, 0, .03); font-size: .875rem; line-height: 1.55; }
.rt-form { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.rt-label { margin: 0; font-weight: 600; font-size: .875rem; }
.rt-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .75rem; border: 1px solid var(--rt-border); border-radius: .6rem; font-size: .875rem; }
.rt-field { display: flex; flex-direction: column; gap: .35rem; font-size: .875rem; font-weight: 600; }
.rt-field input, .rt-field select, .rt-field textarea, .rt-line select { padding: .55rem .75rem; border: 1px solid var(--rt-border); border-radius: .6rem; background: transparent; color: var(--rt-text); font: inherit; font-weight: 400; }
.rt-error { margin: 0; color: #dc2626; font-size: .8125rem; }
.rt-actions { display: flex; justify-content: flex-end; gap: 1rem; }
