/* Публичный блок «Индексация журнала» */
.ji_block { margin: 32px auto; padding: 20px; max-width: 900px; background: #f4f4f4; border-radius: 6px; }
.ji_title { margin: 0 0 16px; text-align: center; font-size: 1.3em; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.ji_grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ji_item { margin: 0; }
.ji_link { display: flex; align-items: center; justify-content: center; height: 44px; padding: 4px 8px; background: #fff; border: 1px solid #ddd; border-radius: 3px; text-decoration: none; overflow: hidden; }
.ji_link:hover { border-color: #1a5f9c; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.ji_link img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ji_text { font-size: .85em; font-weight: 600; color: #234; text-align: center; line-height: 1.15; }
.ji_note { margin: 14px 0 0; text-align: right; font-size: .8em; color: #1a75b8; }

/* Админка */
.ji_msg { padding: 10px 14px; border-radius: 4px; margin: 10px 0; }
.ji_msg_ok { background: #e6f4ea; color: #1e6b34; }
.ji_msg_err { background: #fdecea; color: #a12a1e; }
.ji_help { max-width: 820px; color: #555; }
.ji_table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.ji_table th, .ji_table td { padding: 8px 10px; border-bottom: 1px solid #e2e2e2; text-align: left; vertical-align: middle; }
.ji_table th { background: #f4f4f4; }
.ji_url { width: 100%; min-width: 280px; padding: 6px 8px; }
.ji_domain { color: #777; font-size: .85em; }
.ji_thumb { height: 26px; max-width: 80px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.ji_row_off { opacity: .55; }
.ji_col_check, .ji_col_show { white-space: nowrap; }
.ji_form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 20px; max-width: 900px; margin-bottom: 20px; }
.ji_form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.ji_form input[type=text], .ji_form input[type=url], .ji_form input[type=number] { padding: 6px 8px; }
.ji_check { flex-direction: row !important; align-items: center; }
.ji_linkbtn { background: none; border: 0; color: #b3261e; cursor: pointer; padding: 0 0 0 10px; }
.ji_policy { max-width: 860px; margin: 12px 0 20px; padding: 10px 14px; background: #f7f7f7; border-radius: 4px; }
.ji_policy summary { cursor: pointer; font-weight: 600; }

.ji_stale { color: #a40000; font-size: .85em; font-weight: 600; }
