
/* Light, clean UI */
.rsp-portal { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu; color: #1a1a1a; background: #ffffff; border-radius: 16px; overflow: hidden; border:1px solid #e5e7eb; }
.rsp-header { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; background:#f8fafc; border-bottom:1px solid #e5e7eb; }
.rsp-brand { font-weight:700; letter-spacing:0.5px; }
.rsp-actions .rsp-btn { background:#2563eb10; border:1px solid #dbeafe; color:#1e40af; padding:8px 14px; border-radius:10px; cursor:pointer; }
.rsp-body { display:flex; min-height:420px; }
.rsp-sidebar { width:240px; background:#f9fafb; border-right:1px solid #e5e7eb; }
.rsp-sidebar ul { list-style:none; margin:0; padding:8px; }
.rsp-sidebar li { margin:4px 0; }
.rsp-sidebar li a { display:block; padding:10px 12px; border-radius:10px; text-decoration:none; color:#111827; }
.rsp-sidebar li.active a, .rsp-sidebar li a:hover { background:#e5e7eb; }
.rsp-content { flex:1; padding:16px; }
.rsp-content--solo { max-width: 720px; margin: 0 auto; }
.rsp-card { background:#ffffff; border:1px solid #e5e7eb; border-radius:14px; padding:16px; margin-bottom:16px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.rsp-btn { background:#2563eb; border:1px solid #1d4ed8; color:#ffffff; padding:8px 14px; border-radius:10px; cursor:pointer; }
.rsp-btn:hover { background:#1d4ed8; }
.rsp-muted { color:#6b7280; }
.rsp-error { background:#fee2e2; border:1px solid #fecaca; padding:10px; border-radius:10px; margin:10px 0; color:#991b1b; }
.rsp-success { background:#dcfce7; border:1px solid #bbf7d0; padding:10px; border-radius:10px; margin:10px 0; color:#14532d; }
.rsp-pre { background:#f8fafc; border:1px solid #e5e7eb; padding:10px; overflow:auto; max-height:260px; }
.rsp-inline { display:inline; }
.rsp-portal :is(input, select, textarea) { background:#ffffff; color:#111827; border:1px solid #e5e7eb; border-radius:8px; padding:8px; }

.rsp-sessionbar{margin:12px 0;padding:10px 12px;border:1px solid #e5e7eb;background:#f8fafc;color:#111827;border-radius:8px;}

.rsp-table{width:100%;border-collapse:collapse;margin:8px 0} .rsp-table th,.rsp-table td{border:1px solid #e5e7eb;padding:8px;text-align:left} .rsp-table thead th{background:#f3f4f6}

.rsp-export-buttons{display:flex;gap:8px;align-items:center;margin:8px 0}



.rsp-content { min-width: 0; width: 100%; }
.rsp-section { margin-bottom: 12px; border: 1px solid #d8e2ef; border-radius: 12px; }
.rsp-section > summary { cursor: pointer; font-weight: 700; padding: 14px; color: #122945; background: #eff5fc; border-radius: 11px; }
.rsp-section > .rsp-card { border: 0; margin: 0; box-shadow: none; min-width: 0; }
.rsp-section :is(input, select, textarea, iframe) { max-width: 100%; box-sizing: border-box; }
.rsp-section fieldset { min-width: 0; }
.rsp-section details > summary { cursor: pointer; padding-block: 8px; }
.rsp-section table { display: block; max-width: 100%; overflow-x: auto; }
.rsp-export-buttons { flex-wrap: wrap; }
.rsp-header { flex-wrap: wrap; overflow-wrap: anywhere; }
.rsp-content { overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .rsp-content, .rsp-section > .rsp-card { padding: 10px; }
}

.rsp-primary-nav { display: flex; gap: 8px; margin-bottom: 14px; }
.rsp-primary-nav > a { flex: 1; display: grid; place-items: center; min-height: 44px; padding: 4px 10px; border: 1px solid #b9cadf; border-radius: 10px; color: #123658; font-weight: 700; text-decoration: none; }
.rsp-primary-nav > a[aria-current] { background: #123658; color: white; }
#rsp-section-calendario, #rsp-section-registro { scroll-margin-top: 60px; }
