.custom-tree-template .repo-back {display:inline-flex;gap:7px;margin:0 0 18px;color:#286683;font-size:14px;text-decoration:none}
.custom-tree-template form#mtForm {background:#fff;border:1px solid #d8e2e9;border-radius:8px;padding:24px;box-sizing:border-box;max-width:100%;margin:20px 0}
.custom-tree-template form#mtForm .control-group {display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:10px 22px;margin:0 0 20px;clear:both;float:none;width:auto}
.custom-tree-template form#mtForm .control-label {float:none;width:auto;text-align:left;margin:0;padding:10px 0;font-size:14px;line-height:1.5;color:#36536a;font-weight:500}
.custom-tree-template form#mtForm .controls {margin:0;min-width:0;width:auto}
.custom-tree-template form#mtForm .controls:only-child {grid-column:1/-1}
.custom-tree-template form#mtForm input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),.custom-tree-template form#mtForm textarea,.custom-tree-template form#mtForm select {display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0;border:1px solid #c8d7e1;border-radius:6px;padding:10px 12px;min-height:42px;font:inherit;float:none;background:#fff;color:#26485e}
.custom-tree-template form#mtForm textarea {min-height:170px;resize:vertical}
.custom-tree-template form#mtForm input[type=checkbox],.custom-tree-template form#mtForm input[type=radio] {width:auto!important;margin-right:8px}
.custom-tree-template form#mtForm .btn {padding:10px 16px;border-radius:6px;font-size:14px;margin:0 8px 6px 0}
.custom-tree-template form#mtForm .btn-primary {background:#127ca8;color:white;border:1px solid #127ca8}
.custom-tree-template form#mtForm input:focus-visible,.custom-tree-template form#mtForm textarea:focus-visible,.custom-tree-template form#mtForm select:focus-visible {outline:3px solid #b9daed;outline-offset:2px}
.custom-tree-template .repo-search-intro,.repo-status-note {color:#567084;font-size:13px;line-height:1.65;margin:8px 0 20px}
.custom-tree-template .repo-versions {max-height:240px;overflow:auto;padding:10px 0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.custom-tree-template .repo-versions label {display:flex;align-items:center;margin:0!important;float:none;font-size:13px}
.custom-tree-template .repo-versions img {display:none}
.repo-quick-filters {background:#fff;border:1px solid #d8e2e9;border-radius:8px;padding:18px;margin:20px 0}
.repo-quick-fields {display:grid;grid-template-columns:minmax(140px,1.4fr) minmax(120px,1fr) minmax(120px,1fr) auto;gap:12px;align-items:end}
.repo-quick-fields label {display:block;color:#36536a;font-size:12px;margin:0 0 6px}
.repo-quick-fields input,.repo-quick-fields select {box-sizing:border-box;width:100%;max-width:100%;height:42px;border:1px solid #c8d7e1;border-radius:6px;padding:8px 10px;font:inherit;color:#26485e;background:white}
.repo-quick-fields button {height:42px;padding:0 16px;border:1px solid #127ca8;border-radius:6px;background:#127ca8;color:white;cursor:pointer;font:inherit}
.repo-filter-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:#567084}
.repo-filter-actions a {color:#286683}
.repo-filter-chip {display:inline-flex;align-items:center;gap:8px;padding:4px 9px;background:#f0f5f8;border-radius:5px;text-decoration:none}
.repo-status {display:inline-flex;padding:4px 8px;border-radius:5px;background:#edf3f6;color:#516b7d;font-size:11px;line-height:1.5;margin:5px 0}
.repo-status-note {margin:10px 0 0}
.mp-directory-list .mp-rating .empty {color:#c6d1db!important}
.repo-file-info {font-size:12px;color:#567084;margin-top:6px;overflow-wrap:anywhere}
.repo-file-info code {display:block;font-size:11px;overflow-wrap:anywhere;background:#f4f7f9;padding:6px;margin-top:4px}
.repo-related {margin-top:20px}.repo-related>div {display:flex;gap:12px;flex-wrap:wrap}.repo-related a {padding:12px 16px;background:#f3f7fa;border-radius:6px;text-decoration:none;color:#286683}
.repo-download-history {grid-column:1/-1;border-top:1px solid #e0e8ee;padding-top:14px;margin-top:10px}
.repo-download-history summary {cursor:pointer;color:#286683;font-size:14px;margin-bottom:12px}
.custom-tree-template #listing.reviews {background:white;border:1px solid #d8e2e9;border-radius:8px;padding:24px}
.custom-tree-template #browse-by-tags ul {display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}
.custom-tree-template #browse-by-tags li a {display:block;border-radius:6px;padding:8px 12px;background:#eef4f8;text-decoration:none}
@media(max-width:900px){.repo-quick-fields {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.custom-tree-template form#mtForm {padding:16px}.custom-tree-template form#mtForm .control-group {grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:18px}.custom-tree-template form#mtForm .control-label {padding:0}.repo-quick-fields {grid-template-columns:minmax(0,1fr)}.custom-tree-template .repo-versions {grid-template-columns:minmax(0,1fr)}.custom-tree-template #listing.reviews {padding:16px}}
