.lj-portal-card {
    max-width: 960px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lj-portal-card input[type="email"],
.lj-portal-card input[type="password"],
.lj-portal-card input[type="text"],
.lj-portal-card select {
    width: 100%;
    max-width: 420px;
}

.lj-message {
    margin-bottom: 16px;
    padding: 10px 12px;
    background: #f6f7f7;
    border-left: 4px solid #2271b1;
}

.lj-message.is-error {
    border-left-color: #d63638;
}

.lj-message.is-success {
    border-left-color: #00a32a;
}

.lj-portal-header {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.lj-tab-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #dcdcde;
    padding-bottom: 12px;
}

.lj-tab-button {
    border: 1px solid #dcdcde;
    background: #f6f7f7;
    color: #1d2327;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
}

.lj-tab-button.is-active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.lj-tab-panel[hidden] {
    display: none !important;
}

.lj-site-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lj-site-card {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 16px;
    background: #fdfdfd;
    overflow: hidden;
}

.lj-site-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.lj-provider {
    font-weight: 600;
    color: #50575e;
}

.lj-notes {
    font-size: 0.95em;
    color: #50575e;
}

.lj-embed-note {
    font-size: 0.95em;
    color: #50575e;
}

.lj-embed-frame-wrap {
    width: 100%;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.lj-embed-frame {
    display: block;
    width: 100%;
    min-height: 300px;
    border: 0;
}

.lj-admin-user-layout {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 24px;
    align-items: start;
}

.lj-users-table-wrap {
    overflow-x: auto;
}

.lj-users-table {
    width: 100%;
    border-collapse: collapse;
}

.lj-users-table th,
.lj-users-table td {
    border: 1px solid #dcdcde;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.lj-users-table th {
    background: #f6f7f7;
}

.lj-ieee-search-form input[type="text"] {
    width: 100%;
    max-width: 640px;
}

.lj-ieee-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.lj-ieee-abstract {
    color: #50575e;
}

.lj-ieee-search-pagination {
    margin-top: 16px;
    display: flex;
    gap: 8px;
}
