:root {
  --repo-primary: var(--theme-primary, #0b3155);
  --repo-primary-dark: var(--theme-primary-dark, #08253f);
  --repo-secondary: var(--theme-hover, var(--theme-primary, #0f8f83));
  --repo-accent: var(--theme-scrollbar-thumb, var(--theme-primary, #20b7a6));
  --repo-theme-gradient: var(--theme-gradient, linear-gradient(120deg, #092743 0%, #125674 52%, #0f8f83 100%));
  --repo-on-primary: var(--theme-text-on-primary, #fff);
  --repo-theme-light: var(--theme-light, rgba(11,49,85,.10));
  --repo-success: #16835f;
  --repo-warning: #b86b08;
  --repo-danger: #c7374e;
  --repo-info: #2f6fed;
  --repo-ink: #14253b;
  --repo-muted: #64748b;
  --repo-line: #dfe8f2;
  --repo-soft: #f4f8fb;
  --repo-panel: #fff;
  --repo-radius-sm: 10px;
  --repo-radius-md: 16px;
  --repo-radius-lg: 24px;
  --repo-shadow-sm: 0 5px 18px rgba(20, 44, 72, .07);
  --repo-shadow-md: 0 18px 48px rgba(20, 44, 72, .11);
}
.repo-modern, .repo-modern * { box-sizing: border-box; }
.repo-modern { color: var(--repo-ink) !important; background: #f7fafe; font: 14px/1.55 "Segoe UI", Arial, sans-serif; margin: 0 -12px; overflow-x: clip; }
.repo-modern a { color: inherit; text-decoration: none; }
.repo-modern h1, .repo-modern h2, .repo-modern h3, .repo-modern h4, .repo-modern h5, .repo-modern h6,
.repo-modern p, .repo-modern li, .repo-modern label, .repo-modern legend, .repo-modern td, .repo-modern th,
.repo-modern summary, .repo-modern strong, .repo-modern b, .repo-modern span { visibility: visible; opacity: 1; }
.repo-modern input::placeholder, .repo-modern textarea::placeholder { color: #6b7d90; opacity: 1; }
.repo-modern .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.repo-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.repo-skip:focus { left: 12px; outline: 3px solid var(--repo-accent); }
.repo-wrap { width: min(1420px, calc(100% - 48px)); margin: 0 auto; }
.repo-nav { background: #fff; border-bottom: 1px solid var(--repo-line); position: sticky; top: 0; z-index: 30; }
.repo-nav-inner { min-height: 70px; display: flex; align-items: center; gap: 26px; }
.repo-brand { display: flex; align-items: center; gap: 12px; min-width: 245px; }
.repo-brand-mark { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; color: var(--repo-on-primary); background: var(--repo-theme-gradient); font-size: 20px; }
.repo-brand strong, .repo-brand small { display: block; }
.repo-brand strong { font-size: 16px; }
.repo-brand small { color: var(--repo-muted); font-size: 11px; }
.repo-links { display: flex; align-items: center; gap: 18px; font-weight: 650; color: #334a60; }
.repo-links a { padding: 23px 2px 20px; border-bottom: 3px solid transparent; }
.repo-links a:hover, .repo-links a:focus, .repo-links a[aria-current="page"] { color: var(--repo-secondary); border-color: var(--repo-secondary); }
.repo-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.repo-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--repo-line); border-radius: 11px; background: #fff; font-size: 20px; cursor: pointer; }
.repo-btn-quiet { border-color: transparent; background: transparent; }
.repo-btn { border: 1px solid var(--repo-line); border-radius: 11px; min-height: 42px; padding: 9px 16px; background: #fff; color: var(--repo-ink); font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
.repo-btn:hover, .repo-btn:focus { transform: translateY(-1px); box-shadow: var(--repo-shadow-sm); outline: 0; }
.repo-btn:disabled,.repo-modern button:disabled { cursor:not-allowed; opacity:.58; transform:none; box-shadow:none; }
.repo-btn-primary { color: var(--repo-on-primary) !important; border: 0; background: var(--repo-theme-gradient); text-shadow: var(--theme-text-shadow, none); }
.repo-btn-soft { color: var(--repo-primary); background: var(--repo-theme-light); border-color: var(--repo-primary); }
.repo-hero { padding: 28px 0 20px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .65fr); gap: 20px; }
.repo-hero-main { color: var(--repo-on-primary); border-radius: var(--repo-radius-lg); padding: 42px 46px; min-height: 310px; overflow: hidden; position: relative; background: var(--repo-theme-gradient); box-shadow: var(--repo-shadow-md); text-shadow: var(--theme-text-shadow, none); }
.repo-hero-main:after { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; right: -100px; top: -190px; background: rgba(255,255,255,.07); }
.repo-eyebrow { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 800; font-size: 11px; letter-spacing: .04em; }
.repo-hero h1 { max-width: 850px; font-size: clamp(30px, 4vw, 43px); line-height: 1.13; margin: 16px 0 10px; color: var(--repo-on-primary) !important; }
.repo-hero-main > p { color: var(--repo-on-primary) !important; font-size: 16px; max-width: 760px; opacity: .92; }
.repo-search { display: flex; align-items: center; gap: 7px; padding: 7px; margin-top: 22px; min-height: 60px; border-radius: 15px; background: #fff; position: relative; z-index: 2; }
.repo-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 13px; color: var(--repo-ink); font-size: 15px; }
.repo-search .repo-btn { min-height: 46px; }
.repo-summary { background: #fff; border: 1px solid var(--repo-line); border-radius: var(--repo-radius-lg); padding: 23px; box-shadow: var(--repo-shadow-sm); }
.repo-summary h2 { font-size: 17px; margin: 0 0 15px; }
.repo-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.repo-stat { padding: 15px; border-radius: 14px; background: var(--repo-soft); border: 1px solid #ebf1f6; }
.repo-stat span, .repo-stat b { display: block; }
.repo-stat span { color: var(--repo-muted); font-size: 11px; }
.repo-stat b { font-size: 22px; margin-top: 3px; }
.repo-section { padding: 18px 0; }
.repo-section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.repo-section-head h2 { font-size: 23px; margin: 0; }
.repo-section-head p { color: var(--repo-muted); margin: 3px 0 0; }
.repo-link { color: var(--repo-secondary) !important; font-weight: 800; }
.repo-browse-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.repo-browse-card { min-height: 120px; padding: 16px; background: #fff; border: 1px solid var(--repo-line); border-radius: var(--repo-radius-md); transition: .18s ease; }
.repo-browse-card:hover, .repo-browse-card:focus { transform: translateY(-3px); border-color: #8bd7cf; box-shadow: var(--repo-shadow-sm); outline: 0; }
.repo-browse-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--repo-primary); background: var(--repo-theme-light); }
.repo-browse-card strong, .repo-browse-card small { display: block; }
.repo-browse-card strong { margin-top: 13px; }
.repo-browse-card small { color: var(--repo-muted); margin-top: 3px; }
.repo-home-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr); gap: 17px; }
.repo-card { background: #fff; border: 1px solid var(--repo-line); border-radius: var(--repo-radius-md); box-shadow: 0 2px 5px rgba(20,44,72,.03); }
.repo-card-pad { padding: 21px; }
.repo-list { display: grid; gap: 11px; }
.repo-item-card { padding: 17px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; border: 1px solid #e7eef5; border-radius: 14px; background: #fff; }
.repo-item-card:hover { border-color: var(--repo-primary); background: #fbfefe; }
.repo-related-section { overflow: hidden; }
.repo-related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repo-related-list .repo-item-card {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding: 15px 17px;
  align-content: start;
}
.repo-related-list .repo-item-card > div { min-width: 0; width: 100%; }
.repo-related-list .repo-item-card h3 { overflow-wrap: anywhere; }
.repo-related-list .repo-meta { margin-top: 7px; }
.repo-doc { width: 58px; height: 68px; border-radius: 11px; display: grid; place-items: center; color: var(--repo-info); background: linear-gradient(145deg, #e8f0ff, #f5f9ff); font-weight: 850; }
.repo-item-card h3 { margin: 0 0 5px; font-size: 16px; line-height: 1.38; }
.repo-meta { color: var(--repo-muted); font-size: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.repo-abstract { color: #50657a; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.repo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.repo-chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; border: 1px solid #e1eaf2; background: #f2f6fa; color: #42586e; padding: 4px 8px; font-size: 11px; font-weight: 750; }
.repo-chip-open { background: #e9f8f2; color: #147553; border-color: #c8ecd9; }
.repo-chip-warning { background: #fff7e9; color: #965805; border-color: #ffe2a9; }
.repo-collection-list { display: grid; gap: 9px; }
.repo-collection { padding: 13px; display: flex; gap: 10px; align-items: center; border-radius: 13px; background: var(--repo-soft); }
.repo-collection strong, .repo-collection small { display: block; }
.repo-collection small { color: var(--repo-muted); }
.repo-collection b { margin-left: auto; color: var(--repo-primary); }
.repo-page-head { padding: 28px 0 18px; }
.repo-breadcrumb { color: var(--repo-muted); font-size: 12px; margin-bottom: 8px; }
.repo-page-head h1 { font-size: 29px; margin: 0; }
.repo-page-head p { color: var(--repo-muted); margin: 5px 0 0; }
.repo-search-panel { padding: 13px; margin-bottom: 16px; }
.repo-search-panel .repo-search { margin: 0; border: 1px solid var(--repo-line); background: #fff; }
.repo-advanced-search { margin-top: 12px; border-top: 1px solid var(--repo-line); padding: 10px 4px 2px; }
.repo-advanced-search summary { cursor: pointer; color: var(--repo-primary); font-weight: 800; }
.repo-advanced-search .repo-form-grid { margin-top: 14px; }
.repo-search-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 17px; padding-bottom: 30px; }
.repo-facets { align-self: start; position: sticky; top: 88px; padding: 18px; }
.repo-facets h2 { font-size: 17px; margin: 0 0 10px; }
.repo-facet { padding: 12px 0; border-top: 1px solid #e8eef4; }
.repo-facet h3 { font-size: 13px; margin: 0 0 7px; }
.repo-facet a { display: flex; align-items: center; padding: 5px 0; color: #43566a; }
.repo-facet a b { margin-left: auto; color: #8392a2; font-size: 11px; }
.repo-facet summary { cursor: pointer; font-weight: 800; padding: 7px 0; }
.repo-facet-static { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; color: var(--repo-muted); overflow-wrap: anywhere; }
.repo-results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.repo-results { display: grid; gap: 11px; }
.repo-result-card { padding: 19px; }
.repo-result-card h2 { margin: 0 0 5px; font-size: 18px; line-height: 1.4; }
.repo-results-card-mode { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
.repo-results-card-mode .repo-result-card { display:flex; flex-direction:column; min-width:0; }
.repo-results-card-mode .repo-result-actions { margin-top:auto; padding-top:12px; }
.repo-result-tools { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
.repo-result-tools .is-active { color:var(--repo-primary); border-color:var(--repo-primary); background:var(--repo-theme-light); }
.repo-save-search { display:flex; flex-wrap:wrap; align-items:end; gap:8px; margin:0 0 12px; padding:10px; border:1px solid var(--repo-line); border-radius:12px; background:#fff; }
.repo-save-search label { display:grid; gap:3px; color:var(--repo-muted); font-size:11px; }
.repo-save-search input[type="text"],.repo-save-search input:not([type]) { min-height:38px; border:1px solid var(--repo-line); border-radius:9px; padding:7px 10px; }
.repo-check-inline { display:flex !important; grid-auto-flow:column; align-items:center; padding:8px; }
.repo-saved-searches { margin-top:10px; padding:10px; border-top:1px solid var(--repo-line); }
.repo-saved-searches summary { cursor:pointer; color:var(--repo-primary); font-weight:800; }
.repo-saved-searches>div { display:flex; flex-wrap:wrap; gap:7px; margin-top:9px; }
.repo-saved-searches a { padding:7px 10px; border-radius:9px; background:var(--repo-soft); }
.repo-saved-entry { display:flex; align-items:stretch; border-radius:9px; background:var(--repo-soft); overflow:hidden; }.repo-saved-entry a { background:transparent; }.repo-saved-entry form { display:flex; }.repo-saved-entry button { border:0; padding:0 9px; background:transparent; color:var(--repo-danger); cursor:pointer; }
.repo-saved-searches strong,.repo-saved-searches small { display:block; }
.repo-saved-searches small { color:var(--repo-muted); }
.repo-search-skeleton { grid-column:1/-1; display:grid; gap:10px; }
.repo-search-skeleton[hidden] { display:none; }
.repo-search-skeleton i { display:block; height:135px; border-radius:14px; background:linear-gradient(90deg,#edf2f6 20%,#f8fafc 40%,#edf2f6 60%); background-size:300% 100%; animation:repo-shimmer 1.15s infinite linear; }
@keyframes repo-shimmer { to { background-position:-150% 0; } }
.repo-result-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.repo-empty { padding: 45px 22px; text-align: center; }
.repo-state-page { min-height:55vh; padding:70px 20px; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.repo-state-code { width:86px; height:86px; display:grid; place-items:center; border-radius:25px; color:var(--repo-on-primary); background:var(--repo-theme-gradient); font-size:30px; font-weight:900; box-shadow:var(--repo-shadow-md); }
.repo-state-page h1 { margin:14px 0 5px; font-size:32px; }.repo-state-page>p { max-width:620px; color:var(--repo-muted); }
.repo-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.repo-pagination a, .repo-pagination span { min-width: 38px; min-height: 38px; padding: 8px; display: grid; place-items: center; border: 1px solid var(--repo-line); border-radius: 9px; background: #fff; }
.repo-pagination span { color: #fff; background: var(--repo-primary); border-color: var(--repo-primary); }
.repo-pagination .repo-pagination-gap { min-width: 24px; min-height: 38px; display: grid; place-items: center; color: var(--repo-muted); font-weight: 700; }
.repo-pagination-compact { justify-content:flex-end; margin:8px 0 13px; }
.repo-pagination-compact a,.repo-pagination-compact span { min-width:34px; min-height:34px; padding:6px; }
.repo-pagination-compact .repo-pagination-gap { min-height:34px; }
.repo-pagination-bottom { margin:14px 0 0; }
.repo-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) 350px; gap: 18px; padding-bottom: 32px; }
.repo-paper-head { padding: 25px; }
.repo-paper-head h1 { font-size: 30px; line-height: 1.28; margin: 9px 0; }
.repo-authors { color: var(--repo-primary); font-weight: 750; font-size: 15px; }
.repo-paper-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.repo-article { padding: 23px 25px; margin-top: 13px; }
.repo-article h2 { font-size: 18px; margin: 0 0 9px; }
.repo-article p { line-height: 1.75; color: #3f5368; }
.repo-metadata { width: 100%; border-collapse: collapse; }
.repo-metadata th, .repo-metadata td { text-align: left; vertical-align: top; padding: 10px 6px; border-bottom: 1px dashed #dfe7ef; }
.repo-metadata th { width: 190px; color: var(--repo-muted); font-weight: 600; }
.repo-file-panel { align-self: start; position: sticky; top: 88px; padding: 20px; }
.repo-mobile-sticky-action { display:none; }
.repo-file-preview { height: 160px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #e8f0fa, #f9fbfd); color: var(--repo-primary); font-size: 42px; border: 1px solid var(--repo-line); }
.repo-file { border-top: 1px solid var(--repo-line); padding: 14px 0; }
.repo-file:first-of-type { border-top: 0; }
.repo-file strong, .repo-file small { display: block; word-break: break-word; }
.repo-file small { color: var(--repo-muted); margin: 3px 0 8px; }
.repo-file .repo-btn { width: 100%; }
.repo-info-page { padding-bottom: 35px; }
.repo-info-page .repo-card { padding: 26px; }
.repo-info-page h2 { font-size: 19px; margin: 22px 0 7px; }
.repo-footer { margin-top: 28px; padding: 34px 0 20px; background: var(--repo-primary-dark); color: var(--repo-on-primary); text-shadow: var(--theme-text-shadow, none); }
.repo-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
.repo-footer h2, .repo-footer h3 { color: #fff; }
.repo-footer h2 { font-size: 18px; }
.repo-footer h3 { font-size: 14px; }
.repo-footer p, .repo-footer a { color: var(--repo-on-primary); opacity: .88; }
.repo-footer-links { display: grid; gap: 7px; }
.repo-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 16px; color: #93aab5; font-size: 12px; }
.repo-mobile-filter { display: none; }

/* Public landing V2 */
.repo-hero-v2 { margin-top: 28px; border-radius: var(--repo-radius-lg); padding: clamp(28px,4vw,52px); display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.7fr); gap: clamp(24px,4vw,58px); align-items: center; color: var(--repo-on-primary); background: linear-gradient(115deg,rgba(5,29,48,.35),rgba(5,29,48,.05)),var(--repo-theme-gradient); box-shadow: var(--repo-shadow-md); overflow: visible; position: relative; }
.repo-hero-v2:before,.repo-hero-v2:after { content:""; position:absolute; border-radius:50%; pointer-events:none; background:rgba(255,255,255,.07); }
.repo-hero-v2:before { width:340px; height:340px; right:-160px; top:-180px; }
.repo-hero-v2:after { width:210px; height:210px; left:42%; bottom:-155px; }
.repo-hero-content,.repo-hero-insight { position:relative; z-index:1; min-width:0; }
.repo-hero-v2 .repo-eyebrow { color:var(--repo-on-primary); border:1px solid rgba(255,255,255,.24); }
.repo-hero-v2 h1 { color:var(--repo-on-primary) !important; font-size:clamp(32px,4.2vw,52px); line-height:1.08; letter-spacing:-.025em; max-width:820px; margin:15px 0 13px; }
.repo-hero-v2 .repo-hero-content>p { color:var(--repo-on-primary) !important; opacity:.92; font-size:16px; max-width:730px; margin:0; }
.repo-search-v2 { display:grid; grid-template-columns:150px minmax(0,1fr) auto; gap:0; padding:6px; overflow:visible; box-shadow:0 16px 36px rgba(4,24,42,.2); }
.repo-search-v2 select { min-width:0; border:0; border-right:1px solid var(--repo-line); background:#fff; padding:0 12px; outline:0; font:inherit; font-weight:700; }
.repo-ask-search { grid-template-columns:minmax(0,1fr) auto; }
.repo-ask-search input { width:100%; min-width:0; height:46px; }
.repo-ask-search .repo-btn { width:auto; min-width:142px; padding-inline:20px; white-space:nowrap; }
.repo-search-input { position:relative; display:flex; align-items:center; min-width:0; }
.repo-search-input input { width:100%; height:46px; padding-right:42px; }
.repo-search-clear { position:absolute; right:7px; width:32px; height:32px; border:0; border-radius:50%; background:#edf3f7; color:#52687c; font-size:21px; line-height:1; cursor:pointer; }
.repo-suggestions { position:absolute; left:-150px; right:-1px; top:calc(100% + 10px); z-index:50; max-height:320px; overflow:auto; padding:6px; border:1px solid var(--repo-line); border-radius:14px; background:#fff; color:var(--repo-ink); box-shadow:var(--repo-shadow-md); }
.repo-suggestion { width:100%; display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; padding:10px; border:0; border-radius:9px; background:#fff; text-align:left; cursor:pointer; }
.repo-suggestion:hover,.repo-suggestion.is-active { background:var(--repo-theme-light); }
.repo-suggestion-type { align-self:start; padding:3px 7px; border-radius:999px; color:var(--repo-primary); background:var(--repo-theme-light); font-size:10px; font-weight:800; text-transform:uppercase; }
.repo-suggestion strong,.repo-suggestion small { display:block; overflow-wrap:anywhere; }
.repo-suggestion small { color:var(--repo-muted); margin-top:2px; }
.repo-suggestion-state { display:block; padding:12px; color:var(--repo-muted); text-align:center; }
.repo-popular-inline { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:15px; font-size:12px; }
.repo-popular-inline>span { opacity:.8; }
.repo-popular-inline a { padding:4px 9px; border:1px solid rgba(255,255,255,.25); border-radius:999px; background:rgba(255,255,255,.09); font-weight:700; }
.repo-popular-inline a:hover { background:rgba(255,255,255,.18); }
.repo-hero-insight { padding:20px; border:1px solid rgba(255,255,255,.22); border-radius:19px; background:rgba(255,255,255,.12); box-shadow:inset 0 1px rgba(255,255,255,.1); backdrop-filter:blur(10px); }
.repo-insight-head { margin-bottom:12px; }
.repo-insight-head span,.repo-insight-head small { display:block; color:var(--repo-on-primary); }
.repo-insight-head span { font-weight:850; }
.repo-insight-head small { opacity:.76; }
.repo-hero-insight .repo-stat { color:var(--repo-on-primary); border-color:rgba(255,255,255,.14); background:rgba(3,26,44,.2); transition:.18s ease; }
.repo-hero-insight .repo-stat:hover { transform:translateY(-2px); background:rgba(255,255,255,.17); }
.repo-hero-insight .repo-stat:focus-visible,.repo-access-breakdown:focus-visible,.repo-recent-downloads:focus-visible { background:rgba(255,255,255,.2); }
.repo-hero-insight .repo-stat b { font-size:24px; margin:0; color:var(--repo-on-primary); }
.repo-hero-insight .repo-stat span { color:var(--repo-on-primary); opacity:.78; }
.repo-quality { margin-top:14px; }
.repo-recent-downloads { display:block; margin-top:12px; padding:8px 10px; border-radius:10px; color:var(--repo-on-primary); background:rgba(3,26,44,.2); font-size:12px; }
.repo-quality span { display:flex; justify-content:space-between; gap:10px; color:var(--repo-on-primary); font-size:11px; }
.repo-quality progress { width:100%; height:7px; margin-top:7px; border:0; border-radius:999px; overflow:hidden; background:rgba(255,255,255,.18); }
.repo-quality progress::-webkit-progress-bar { background:rgba(255,255,255,.18); }
.repo-quality progress::-webkit-progress-value { background:#fff; }
.repo-quality progress::-moz-progress-bar { background:#fff; }
.repo-access-breakdown { display:grid; gap:5px; }
.repo-click-card { cursor:pointer; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease; }
.repo-click-card:hover,.repo-click-card:focus-visible { transform:translateY(-2px); border-color:var(--repo-primary); box-shadow:var(--repo-shadow-sm); }
.repo-card[data-repo-card-href],.repo-item-card[data-repo-card-href] { cursor:pointer; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease; }
.repo-card[data-repo-card-href]:hover,.repo-item-card[data-repo-card-href]:hover { transform:translateY(-2px); border-color:var(--repo-primary); box-shadow:var(--repo-shadow-sm); background:#fbfefe; }
.repo-item-card.repo-click-card:focus-visible { background:#fbfefe; }
.repo-collection:hover,.repo-collection:focus-visible,.repo-topic-panel .repo-chip:hover,.repo-topic-panel .repo-chip:focus-visible { background:var(--repo-theme-light); }
.repo-access-breakdown small { color:var(--repo-on-primary); opacity:.82; line-height:1.45; }
.repo-search-scope { display:flex; align-items:center; gap:14px; grid-column:1 / -1; margin:8px 0 0; padding:8px 0 0; border:0; border-top:1px solid var(--repo-line); }
.repo-search-scope legend { float:left; margin:0 8px 0 0; color:var(--repo-muted); font-size:12px; font-weight:700; }
.repo-search-scope label { display:inline-flex; align-items:center; gap:5px; color:var(--repo-ink); font-size:12px; }
.repo-citation-menu { position:relative; }
.repo-citation-menu summary { list-style:none; cursor:pointer; }
.repo-citation-menu summary::-webkit-details-marker { display:none; }
.repo-citation-menu > div { position:absolute; z-index:20; top:calc(100% + 6px); left:0; min-width:150px; padding:6px; border:1px solid var(--repo-line); border-radius:10px; background:#fff; box-shadow:0 12px 30px rgba(20,44,72,.16); }
.repo-citation-menu > div a { display:block; padding:8px 10px; border-radius:7px; color:var(--repo-ink); text-decoration:none; }
.repo-citation-menu > div a:hover,.repo-citation-menu > div a:focus-visible { background:var(--repo-theme-light); color:var(--repo-primary); }
.repo-insight-empty { color:var(--repo-on-primary); padding:20px 4px; }
.repo-insight-empty p { color:var(--repo-on-primary); opacity:.8; margin-bottom:0; }
.repo-browse-grid-v2 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.repo-browse-grid-v2 .repo-browse-card { min-height:112px; display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:12px; align-items:start; }
.repo-browse-grid-v2 .repo-browse-icon { margin:0; }
.repo-browse-grid-v2 .repo-browse-icon { font-size:0; }.repo-browse-grid-v2 .repo-browse-icon:before { font-size:20px; }
.repo-browse-grid-v2 a:nth-child(1) .repo-browse-icon:before { content:"🗂"; }.repo-browse-grid-v2 a:nth-child(2) .repo-browse-icon:before { content:"👤"; }.repo-browse-grid-v2 a:nth-child(3) .repo-browse-icon:before { content:"📅"; }.repo-browse-grid-v2 a:nth-child(4) .repo-browse-icon:before { content:"🏷"; }.repo-browse-grid-v2 a:nth-child(5) .repo-browse-icon:before { content:"📄"; }.repo-browse-grid-v2 a:nth-child(6) .repo-browse-icon:before { content:"🔓"; }
.repo-browse-grid-v2 .repo-browse-card strong { margin:0; }
.repo-browse-grid-v2 .repo-browse-card b { display:block; color:var(--repo-primary); font-size:18px; margin:2px 0; overflow-wrap:anywhere; }
.repo-browse-grid-v2 .repo-browse-card i { align-self:center; color:var(--repo-secondary); font-size:18px; font-style:normal; }
.repo-item-abstract { margin:8px 0; color:#52677b; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.repo-item-foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:var(--repo-muted); font-size:11px; margin-top:9px; }
.repo-topic-panel { border-top:1px solid var(--repo-line); margin-top:18px; padding-top:15px; }
.repo-topic-panel h3 { font-size:14px; margin:0; }
.repo-topic-panel .repo-chip small { color:var(--repo-muted); }
.repo-empty-compact { padding:20px 10px; }
.repo-empty-compact p { margin:0; color:var(--repo-muted); }
.repo-trust { margin-top:22px; border-top:1px solid var(--repo-line); border-bottom:1px solid var(--repo-line); background:#fff; }
.repo-trust-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.repo-trust-grid a { padding:22px 18px; display:grid; grid-template-columns:34px minmax(0,1fr); column-gap:10px; border-left:1px solid var(--repo-line); }
.repo-trust-grid a:first-child { border-left:0; }
.repo-trust-grid a>span { grid-row:1/3; width:32px; height:32px; display:grid; place-items:center; border-radius:10px; color:var(--repo-primary); background:var(--repo-theme-light); font-size:18px; }
.repo-trust-grid strong,.repo-trust-grid small { display:block; }
.repo-trust-grid small { color:var(--repo-muted); }
.repo-identifier { margin-top:7px; color:var(--repo-muted); font:11px/1.4 Consolas,"Courier New",monospace; overflow-wrap:anywhere; }
.repo-recommend-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.repo-type-stat-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.repo-type-stat { min-height:96px; padding:15px; display:flex; flex-direction:column; justify-content:center; }
.repo-type-stat strong { color:var(--repo-primary); font-size:24px; line-height:1.1; }
.repo-type-stat span { margin-top:7px; color:var(--repo-muted); font-weight:750; }
.repo-collection-catalog { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.repo-collection-catalog-card { padding:17px; display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:12px; align-items:center; }
.repo-collection-catalog-card strong,.repo-collection-catalog-card small { display:block; }
.repo-collection-catalog-card small { margin-top:4px; color:var(--repo-muted); }
.repo-collection-catalog-card b { color:var(--repo-primary); white-space:nowrap; }
.repo-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.repo-category-grid h3 { margin:0; }.repo-category-grid .repo-chip small { color:var(--repo-muted); }
.repo-faq { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.repo-faq details { padding:18px; }
.repo-faq summary { cursor:pointer; color:var(--repo-ink); font-weight:800; }
.repo-faq details[open] summary { color:var(--repo-primary); }
.repo-faq p { margin:12px 0 0; color:var(--repo-muted); }
.repo-faq-controls { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(230px,.8fr) auto auto; gap:12px; align-items:end; padding:16px; margin:16px 0; }
.repo-faq-controls label { display:grid; gap:6px; color:var(--repo-ink); font-size:13px; font-weight:800; }
.repo-faq-controls input,.repo-faq-controls select { width:100%; min-height:42px; border:1px solid var(--repo-line); border-radius:10px; background:#fff; padding:9px 11px; font:inherit; }
.repo-faq-controls .repo-btn { min-height:42px; }
.repo-faq-status { display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--repo-muted); }
.repo-faq-status strong { color:var(--repo-ink); }
.repo-faq-catalog details { min-width:0; }
.repo-faq-catalog summary span { display:grid; gap:5px; }
.repo-faq-catalog summary small { color:var(--repo-primary); font-size:11px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.repo-faq-answer { padding-top:2px; }
.repo-faq-answer p { color:var(--repo-ink); line-height:1.75; }
.repo-faq-answer .repo-link { display:inline-block; margin-top:12px; font-size:12px; }
.repo-faq-empty { grid-column:1 / -1; }
.repo-answer-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,.75fr); gap:18px; align-items:start; }
.repo-answer-summary { font-size:16px; line-height:1.8; }
.repo-evidence-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.repo-evidence-card { padding:18px; }
.repo-evidence-card h3 { margin:12px 0 8px; font-size:17px; }
.repo-evidence-card p { color:var(--repo-muted); line-height:1.65; }
.repo-help-head { max-width:1280px; padding-bottom:22px; }
.repo-help-meta { max-width:980px; color:var(--repo-muted); font-size:13px; }
.repo-help-search { max-width:760px; margin-top:18px; padding:16px; border:1px solid var(--repo-line); border-radius:14px; background:#fff; }
.repo-help-search>div { display:flex; gap:8px; margin-top:8px; }
.repo-help-search input { flex:1; min-width:0; padding:12px 14px; border:1px solid var(--repo-line); border-radius:10px; font:inherit; }
.repo-help-search p { margin:7px 0 0; font-size:12px; }
.repo-help-layout { width:min(1280px,calc(100% - 48px)); max-width:calc(100vw - 48px); display:grid; grid-template-columns:minmax(210px,245px) minmax(0,1fr); gap:18px; align-items:start; padding-bottom:55px; }
.repo-help-toc { position:sticky; top:88px; max-height:calc(100vh - 110px); overflow:auto; padding:16px; }
.repo-help-toc>strong { display:block; margin-bottom:9px; font-size:15px; }
.repo-help-toc nav { display:grid; }
.repo-help-toc a { padding:8px 9px; border-left:2px solid var(--repo-line); color:var(--repo-muted); font-size:12px; line-height:1.3; }
.repo-help-toc a:hover,.repo-help-toc a:focus-visible { border-color:var(--repo-primary); color:var(--repo-primary); background:var(--repo-theme-light); }
.repo-help-manual { width:100%; min-width:0; max-width:100%; display:grid; gap:18px; }
.repo-help-manual>.repo-card { width:100%; min-width:0; max-width:100%; }
.repo-help-intro,.repo-help-chapter { min-width:0; max-width:100%; padding:clamp(20px,3vw,34px); scroll-margin-top:88px; overflow-wrap:anywhere; }
.repo-help-intro h2,.repo-help-chapter h2 { margin:0 0 14px; font-size:clamp(23px,2.4vw,31px); }
.repo-help-chapter h3 { margin:24px 0 8px; font-size:18px; }
.repo-help-manual p,.repo-help-manual li,.repo-help-manual dd { min-width:0; max-width:100%; line-height:1.78; overflow-wrap:anywhere; }
.repo-help-manual p { margin:10px 0; }
.repo-help-manual ol,.repo-help-manual ul { padding-left:23px; }
.repo-help-callout { width:100%; min-width:0; max-width:100%; margin:20px 0 4px; padding:16px 18px; border-left:4px solid var(--repo-primary); border-radius:0 12px 12px 0; background:var(--repo-theme-light); }
.repo-help-callout strong { color:var(--repo-primary); }
.repo-help-callout p { margin:5px 0 0; }
.repo-help-callout-warning { border-color:#b98713; background:#fff8e6; }
.repo-help-callout-warning strong { color:#795600; }
.repo-help-diagram { width:100%; min-width:0; max-width:100%; margin:24px 0; display:flex; align-items:stretch; gap:8px; overflow-x:auto; overscroll-behavior-inline:contain; padding:18px; border:1px solid var(--repo-line); border-radius:14px; background:linear-gradient(135deg,#f8fbff,#f5faf9); }
.repo-help-diagram>i { display:grid; place-items:center; flex:0 0 18px; color:var(--repo-secondary); font-size:22px; font-style:normal; font-weight:900; }
.repo-help-node { flex:1 0 135px; display:grid; align-content:center; gap:5px; min-height:82px; padding:13px; border:1px solid #cbdbe8; border-radius:11px; background:#fff; text-align:center; box-shadow:0 4px 10px rgba(30,56,82,.05); }
.repo-help-node b { color:var(--repo-primary); }
.repo-help-node span { color:var(--repo-muted); font-size:12px; line-height:1.45; }
.repo-help-diagram-stack { max-width:580px; margin-left:auto; margin-right:auto; flex-direction:column; }
.repo-help-diagram-stack>i { min-height:18px; }
.repo-help-diagram-stack .repo-help-node { flex:auto; min-height:68px; }
.repo-help-workflow .repo-help-node { flex-basis:112px; }
.repo-help-decision { margin:24px 0; padding:18px; border:1px solid var(--repo-line); border-radius:14px; background:#f8fbfd; }
.repo-help-decision .repo-help-node-main { max-width:300px; margin:0 auto 28px; position:relative; }
.repo-help-decision .repo-help-node-main:after { content:"↓"; position:absolute; left:50%; bottom:-27px; color:var(--repo-secondary); }
.repo-help-branches { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
.repo-help-branches:last-child { grid-template-columns:repeat(3,minmax(0,1fr)); }
.repo-help-branches>div { padding:14px; border:1px solid #cbdbe8; border-radius:11px; background:#fff; }
.repo-help-branches b,.repo-help-branches span { display:block; }
.repo-help-branches b { margin-bottom:5px; color:var(--repo-primary); }
.repo-help-branches span { color:var(--repo-muted); font-size:12px; line-height:1.5; }
.repo-help-checklist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 22px; list-style:none; padding:0 !important; }
.repo-help-checklist li { position:relative; padding:9px 9px 9px 34px; border-bottom:1px solid var(--repo-line); }
.repo-help-checklist li:before { content:"✓"; position:absolute; left:8px; top:9px; color:#18815e; font-weight:900; }
.repo-help-table { width:100%; max-width:100%; table-layout:fixed; margin:22px 0; border-collapse:collapse; font-size:13px; }
.repo-help-table th,.repo-help-table td { padding:11px 12px; border:1px solid var(--repo-line); text-align:left; vertical-align:top; line-height:1.55; }
.repo-help-table th { background:var(--repo-theme-light); color:var(--repo-primary); }
.repo-help-glossary { display:grid; grid-template-columns:minmax(100px,155px) minmax(0,1fr); margin:18px 0; }
.repo-help-glossary dt,.repo-help-glossary dd { margin:0; padding:10px 12px; border-bottom:1px solid var(--repo-line); }
.repo-help-glossary dt { font-weight:850; color:var(--repo-primary); }
.repo-help-back { margin-top:24px !important; text-align:right; }
.repo-help-feedback { width:100%; min-width:0; max-width:100%; padding:clamp(20px,3vw,34px); overflow-wrap:anywhere; }
.repo-help-feedback h2 { margin-top:0; }
.repo-help-feedback-form { display:grid; gap:14px; }
.repo-help-feedback-form fieldset { display:flex; gap:20px; padding:12px 14px; border:1px solid var(--repo-line); border-radius:10px; }
.repo-help-feedback-form textarea { display:block; width:100%; margin-top:7px; padding:11px; border:1px solid var(--repo-line); border-radius:10px; font:inherit; resize:vertical; }
.repo-help-feedback-form .repo-btn { justify-self:start; }
.repo-faq-governance { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:16px 0; }
.repo-faq-governance div { padding:10px; border:1px solid var(--repo-line); border-radius:9px; background:var(--repo-theme-light); }
.repo-faq-governance dt { font-size:11px; font-weight:800; color:var(--repo-muted); text-transform:uppercase; }
.repo-faq-governance dd { margin:4px 0 0; font-size:12px; }
.repo-policy-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.repo-policy-groups .repo-article:last-child { grid-column:1 / -1; }
.repo-policy-groups ol { margin:0; padding-left:21px; }
.repo-policy-groups li + li { margin-top:8px; }
.repo-upload-steps { list-style:none; counter-reset:upload-step; margin:18px 0; padding:0; display:grid; gap:10px; }
.repo-upload-steps li { counter-increment:upload-step; display:grid; grid-template-columns:38px minmax(0,1fr); column-gap:11px; padding:12px; border:1px solid var(--repo-line); border-radius:11px; background:var(--repo-soft); }
.repo-upload-steps li:before { content:counter(upload-step); grid-row:1 / 3; width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:var(--repo-on-primary); background:var(--repo-primary); font-weight:850; }
.repo-upload-steps strong,.repo-upload-steps span { display:block; }.repo-upload-steps span { margin-top:3px; color:var(--repo-muted); }
.repo-contact-list { display:grid; grid-template-columns:minmax(80px,auto) 1fr; gap:8px 12px; }
.repo-contact-list dt { font-weight:800; }.repo-contact-list dd { margin:0; overflow-wrap:anywhere; }
.repo-home-alerts { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; margin-bottom:0; }
.repo-home-alerts a { padding:4px 9px; border-radius:999px; background:rgba(255,255,255,.7); font-weight:750; }
.repo-modern :focus-visible { outline:3px solid var(--repo-accent); outline:3px solid color-mix(in srgb,var(--repo-accent) 55%,white); outline-offset:2px; }
@media (max-width: 1050px) {
  .repo-browse-grid { grid-template-columns: repeat(3, 1fr); }
  .repo-type-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .repo-home-grid, .repo-detail { grid-template-columns: 1fr; }
  .repo-file-panel { position: static; }
  .repo-help-layout { grid-template-columns:minmax(0,1fr); }
  .repo-help-toc { position:static; max-height:none; }
  .repo-help-toc nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .repo-answer-layout { grid-template-columns:1fr; }
}
@media (max-width: 919px) {
  .repo-hero-v2 { grid-template-columns:1fr; }.repo-hero-insight { max-width:none; }
  .repo-nav-inner { gap:8px; position:relative; }.repo-menu-toggle { display:grid; place-items:center; margin-left:auto; }
  .repo-links { display:none; }.repo-links.is-open { display:grid; position:absolute; left:0; right:0; top:64px; z-index:40; gap:0; padding:8px; border:1px solid var(--repo-line); border-radius:13px; background:#fff; box-shadow:var(--repo-shadow-md); }
  .repo-links.is-open a { padding:11px 12px; border:0; border-radius:9px; }.repo-nav-actions { margin-left:0; }.repo-nav-actions .repo-btn-quiet { display:none; }
  .repo-recommend-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .repo-modern { margin: 0; font-size: 15px; }
  .repo-wrap { width: calc(100% - 28px); }
  .repo-help-head,.repo-help-layout { width:calc(100% - 28px); max-width:calc(100vw - 28px); }
  .repo-nav-inner { min-height: 64px; gap:8px; position:relative; }
  .repo-brand { min-width: 0; }
  .repo-brand small, .repo-links { display: none; }
  .repo-brand strong { max-width:130px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .repo-menu-toggle { display:grid; place-items:center; margin-left:auto; }
  .repo-nav-actions { margin-left:0; }
  .repo-nav-actions .repo-btn-quiet { display:none; }
  .repo-nav-actions .repo-btn { min-height:38px; padding:7px 11px; }
  .repo-links.is-open { display:grid; position:absolute; left:0; right:0; top:58px; z-index:40; gap:0; padding:8px; border:1px solid var(--repo-line); border-radius:13px; background:#fff; box-shadow:var(--repo-shadow-md); }
  .repo-links.is-open a { padding:11px 12px; border:0; border-radius:9px; }
  .repo-hero { display: block; padding-top: 14px; }
  .repo-hero-main { padding: 27px 21px; min-height: 350px; }
  .repo-summary { margin-top: 12px; }
  .repo-search { display: grid; }
  .repo-search input { height: 42px; }
  .repo-search .repo-btn { width: 100%; }
  .repo-browse-grid { grid-template-columns: repeat(2, 1fr); }
  .repo-type-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .repo-collection-catalog,.repo-category-grid { grid-template-columns:1fr; }
  .repo-faq,.repo-policy-groups { grid-template-columns:1fr; }
  .repo-faq-controls { grid-template-columns:1fr; }
  .repo-faq-status { align-items:flex-start; flex-direction:column; }
  .repo-help-toc nav,.repo-help-checklist { grid-template-columns:1fr; }
  .repo-help-search>div,.repo-help-feedback-form fieldset { flex-direction:column; }
  .repo-faq-governance { grid-template-columns:1fr; }
  .repo-help-diagram { padding:13px; }
  .repo-help-branches,.repo-help-branches:last-child { grid-template-columns:1fr; }
  .repo-help-glossary { grid-template-columns:1fr; }
  .repo-help-glossary dt { padding-bottom:2px; border-bottom:0; }
  .repo-help-glossary dd { padding-top:2px; }
  .repo-help-table { display:block; table-layout:auto; overflow-x:auto; }
  .repo-policy-groups .repo-article:last-child { grid-column:auto; }
  .repo-collection-catalog-card { grid-template-columns:36px minmax(0,1fr); }.repo-collection-catalog-card>b { grid-column:2; }
  .repo-home-grid { display: block; }
  .repo-home-grid > * + * { margin-top: 13px; }
  .repo-item-card { grid-template-columns: 50px 1fr; }
  .repo-item-card > .repo-btn { grid-column: 2; }
  .repo-related-list { grid-template-columns: 1fr; }
  .repo-related-list .repo-item-card { grid-template-columns: minmax(0, 1fr); }
  .repo-search-layout { display: block; }
  .repo-facets { display: none; position: fixed; z-index: 60; inset: auto 0 0; max-height: 78vh; overflow: auto; border-radius: 22px 22px 0 0; box-shadow: 0 -18px 45px rgba(5,30,50,.22); }
  .repo-facets.is-open { display: block; }
  .repo-mobile-filter { display: inline-flex; }
  .repo-results-head { align-items: flex-start; }
  .repo-result-actions { align-items: flex-start; }
  .repo-paper-head, .repo-article { padding: 20px; }
  .repo-paper-head h1 { font-size: 24px; }
  .repo-metadata th, .repo-metadata td { display: block; width: 100%; }
  .repo-metadata th { border-bottom: 0; padding-bottom: 2px; }
  .repo-metadata td { padding-top: 2px; }
  .repo-footer-grid { grid-template-columns: 1fr; }
  .repo-hero-v2 { width:100%; margin-top:0; border-radius:0; padding:28px 18px; gap:20px; }
  .repo-hero-v2 h1 { font-size:32px; }
  .repo-search-v2 { grid-template-columns:1fr; gap:6px; border-radius:14px; }
  .repo-search-v2 select { height:42px; border:0; border-bottom:1px solid var(--repo-line); border-radius:9px; }
  .repo-search-v2 .repo-btn { width:100%; }
  .repo-ask-search .repo-btn { min-width:0; }
  .repo-suggestions { left:0; top:calc(100% + 7px); }
  .repo-popular-inline { align-items:flex-start; }
  .repo-hero-insight { padding:15px; }
  .repo-browse-grid-v2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .repo-browse-grid-v2 .repo-browse-card { grid-template-columns:36px minmax(0,1fr); padding:13px; gap:9px; min-height:126px; }
  .repo-browse-grid-v2 .repo-browse-icon { width:36px; height:36px; }
  .repo-browse-grid-v2 .repo-browse-card i { display:none; }
  .repo-item-card { padding:14px; }
  .repo-item-card>div { min-width:0; }
  .repo-item-card .repo-btn { justify-self:start; }
  .repo-item-foot { display:grid; }
  .repo-trust-grid { grid-template-columns:1fr 1fr; }
  .repo-trust-grid a { padding:16px 10px; border-bottom:1px solid var(--repo-line); }
  .repo-trust-grid a:nth-child(odd) { border-left:0; }
  .repo-results-card-mode { grid-template-columns:1fr; }
  .repo-evidence-grid { grid-template-columns:1fr; }
  .repo-mobile-sticky-action { display:block; position:fixed; left:0; right:0; bottom:0; z-index:55; padding:10px 14px; background:rgba(255,255,255,.96); border-top:1px solid var(--repo-line); box-shadow:0 -8px 25px rgba(20,44,72,.12); }
  .repo-mobile-sticky-action .repo-btn { width:100%; }
  .repo-detail { padding-bottom:85px; }.repo-recommend-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .repo-modern *, .repo-modern *:before, .repo-modern *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .repo-help-toc,.repo-help-head .repo-paper-actions,.repo-nav,.repo-footer { display:none !important; }
  .repo-help-layout { display:block; width:100%; }
  .repo-help-manual { display:block; }
  .repo-help-chapter,.repo-help-intro { break-inside:avoid; box-shadow:none; border:1px solid #bbb; margin:0 0 14px; }
  .repo-help-diagram { overflow:visible; }
}

/* Authenticated deposit/review workspace */
.repo-workspace-body { min-height: 100vh; margin: 0; background: #f4f7fb; color: var(--repo-ink) !important; }
.repo-topbar { background: #fff; border-bottom: 1px solid var(--repo-line); position: sticky; top: 0; z-index: 40; }
.repo-topbar .repo-nav { min-height: 70px; display: flex; align-items: center; gap: 28px; border: 0; }
.repo-topbar .repo-links { margin-left: auto; }
.repo-workspace { padding-top: 22px; padding-bottom: 45px; }
.repo-workspace-grid { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 18px; align-items: start; }
.repo-workspace-side { position: sticky; top: 92px; padding: 17px; max-height: calc(100vh - 115px); overflow: auto; }
.repo-workspace-side .repo-section-head h2 { font-size: 18px; }
.repo-deposit-list { display: grid; gap: 7px; }
.repo-workspace-filter { display:grid; gap:7px; margin:10px 0 12px; }
.repo-workspace-filter input,.repo-workspace-filter select { width:100%; min-height:38px; border:1px solid var(--repo-line); border-radius:9px; background:#fff; padding:8px 10px; font:inherit; }
.repo-workspace-filter-wide { grid-template-columns:minmax(220px,1fr) minmax(170px,.45fr) auto; align-items:end; }
.repo-workspace-side .repo-pagination { margin:10px 0; justify-content:center; }
.repo-workspace-side .repo-pagination a,.repo-workspace-side .repo-pagination span { min-width:32px; min-height:32px; padding:5px; }
.repo-deposit-list a { border: 1px solid transparent; border-radius: 11px; padding: 11px; background: var(--repo-soft); }
.repo-deposit-list a[aria-current="page"] { border-color: var(--repo-primary); background: var(--repo-theme-light); }
.repo-deposit-list strong,.repo-deposit-list small { display: block; }
.repo-deposit-list small,.repo-muted,.repo-help { color: var(--repo-muted); }
.repo-workspace-main { display: grid; gap: 15px; min-width: 0; }
.repo-workspace h1 { margin: 3px 0; font-size: 27px; }
.repo-workspace .repo-eyebrow { color: var(--repo-primary); background: var(--repo-theme-light); }
.repo-stepper { list-style: none; padding: 0; margin: 19px 0; display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; counter-reset: steps; }
.repo-stepper li { position: relative; padding: 10px 7px; border-top: 3px solid #dbe4ec; color: var(--repo-muted); font-size: 12px; font-weight: 750; }
.repo-stepper li.active { border-color: var(--repo-primary); color: var(--repo-primary); }
.repo-stepper-nine { grid-template-columns:repeat(9,minmax(105px,1fr)); overflow-x:auto; }
.repo-workspace-form fieldset { border: 0; border-top: 1px solid var(--repo-line); margin: 0; padding: 22px 0; }
.repo-workspace-form legend { padding-right: 12px; font-size: 17px; font-weight: 800; }
.repo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.repo-form-grid label,.repo-upload-form label,.repo-review-actions label { color: #263b50 !important; font-weight: 700; display: grid; gap: 6px; }
.repo-form-grid input,.repo-form-grid select,.repo-form-grid textarea,.repo-upload-form input,.repo-upload-form select,.repo-review-actions textarea { width: 100%; border: 1px solid #cfdbe6; border-radius: 10px; background: #fff; color: var(--repo-ink); padding: 10px 11px; font: inherit; }
.repo-form-grid input:focus,.repo-form-grid select:focus,.repo-form-grid textarea:focus,.repo-upload-form input:focus,.repo-upload-form select:focus,.repo-review-actions textarea:focus { outline: 3px solid var(--repo-theme-light); border-color: var(--repo-primary); }
.repo-field-full { grid-column: 1 / -1; }
.repo-form-actions { display: flex; align-items: center; gap: 13px; }
.repo-autosave-status { color: var(--repo-muted); font-size: 12px; }
.repo-alert { border-radius: 12px; padding: 13px 16px; border: 1px solid; margin-bottom: 15px; }
.repo-alert-success { background: #eaf8f2; border-color: #bfe7d3; color: #126747; }
.repo-alert-error { background: #fff0f2; border-color: #fac8d0; color: #992236; }
.repo-alert-warning { background: #fff8e8; border-color: #f5d99c; color: #855108; }
.repo-upload-form { display: grid; grid-template-columns: 1.2fr 1fr 180px auto auto; gap: 10px; align-items: end; }
.repo-check { display: flex !important; grid-auto-flow: column; align-items: center; justify-content: start; padding-bottom: 12px; }
.repo-check input { width: auto; }
.repo-watermark-check { grid-column:1 / -2; padding:9px 11px !important; border:1px solid var(--repo-line); border-radius:10px; background:var(--repo-soft); }
.repo-file-list { display: grid; gap: 8px; margin-top: 15px; }
.repo-file-list article { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--repo-line); border-radius: 11px; }
.repo-file-list article > div { min-width: 0; flex: 1; }
.repo-file-list strong,.repo-file-list small { display: block; overflow-wrap: anywhere; }
.repo-file-list small { color: var(--repo-muted); }
.repo-btn-danger { color: #a41f36; border-color: #efb7c1; background: #fff5f6; }
.repo-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.repo-timeline li { border-left: 3px solid #b9ded9; padding: 8px 13px; background: #f8fbfc; border-radius: 0 10px 10px 0; }
.repo-timeline strong,.repo-timeline span,.repo-timeline small { display: block; }
.repo-timeline span,.repo-timeline small { color: var(--repo-muted); }
.repo-timeline p { margin: 6px 0 0; }
.repo-admin-table { overflow-x: auto; }
.repo-admin-table table { width: 100%; border-collapse: collapse; }
.repo-admin-table th,.repo-admin-table td { text-align: left; padding: 11px; border-bottom: 1px solid var(--repo-line); vertical-align: top; }
.repo-admin-table small { display: block; color: var(--repo-muted); }
.repo-review-panel { margin-top: 15px; }
.repo-review-actions { display: grid; gap: 12px; margin: 18px 0; }
.repo-review-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.repo-admin-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 18px 0; }
.repo-admin-cards article { border: 1px solid var(--repo-line); border-radius: 13px; padding: 16px; background: var(--repo-soft); }
.repo-admin-cards h2 { margin: 0; font-size: 15px; }.repo-admin-cards b { display: block; font-size: 26px; margin: 5px 0; }
.repo-admin-cards-observability article { display:grid; align-content:start; }
.repo-admin-cards-observability form { margin-top:auto; }
.repo-admin-cards .repo-admin-value-small { font-size:15px; line-height:1.45; overflow-wrap:anywhere; }
.repo-admin-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 16px; align-items: start; margin-top: 16px; }
.repo-admin-layout > aside { display: grid; gap: 16px; }.repo-health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.repo-usage-trend { margin-top:16px; padding-top:16px; border-top:1px solid var(--repo-line); }
.repo-trend-bars { min-height:180px; display:flex; align-items:flex-end; gap:5px; padding:16px 8px 0; overflow-x:auto; border-bottom:1px solid var(--repo-line); }
.repo-trend-bar { flex:1 0 24px; min-width:24px; height:145px; display:grid; grid-template-rows:1fr auto auto; align-items:end; gap:3px; text-align:center; }
.repo-trend-bar i { width:100%; min-height:4px; display:block; border-radius:5px 5px 0 0; background:linear-gradient(180deg,var(--repo-primary),var(--repo-secondary)); }
.repo-trend-bar small { font-size:9px; color:var(--repo-muted); transform:rotate(-45deg); transform-origin:center; white-space:nowrap; margin:5px 0 7px; }
.repo-trend-bar b { font-size:10px; color:var(--repo-ink); }
.repo-stat-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--repo-line); border-radius: 12px; overflow: hidden; }
.repo-stat-list li { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--repo-line); }.repo-stat-list li:last-child { border-bottom: 0; }
.repo-collection-admin-list { display: flex; gap: 8px; overflow: auto; padding: 4px 0 16px; }.repo-collection-admin-list a { min-width: 170px; border: 1px solid var(--repo-line); border-radius: 10px; padding: 10px; text-decoration: none; color: inherit; }
.repo-collection-admin-list small { display: block; color: var(--repo-muted); margin-top: 4px; }.repo-code-input { font-family: Consolas,"Courier New",monospace !important; font-size: 13px !important; tab-size: 2; }
.repo-notifications { padding: 12px 16px; margin-bottom: 15px; }.repo-notifications summary { cursor: pointer; font-weight: 800; }.repo-notifications > div { display: grid; gap: 7px; margin-top: 10px; }.repo-notifications article { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 9px; background: var(--repo-soft); }.repo-notifications article.is-unread { border-left: 4px solid var(--repo-primary); }.repo-notifications article span { flex: 1; }.repo-notifications article small { color: var(--repo-muted); }
.repo-modern .repo-card, .repo-modern .repo-summary, .repo-modern .repo-nav,
.repo-modern .repo-topbar, .repo-modern .repo-item-card, .repo-modern .repo-browse-card {
  color: var(--repo-ink) !important;
}
.repo-modern input, .repo-modern select, .repo-modern textarea, .repo-modern button {
  color: var(--repo-ink);
  -webkit-text-fill-color: currentColor;
}
.repo-modern input:disabled, .repo-modern select:disabled, .repo-modern textarea:disabled {
  color: #53677b !important;
  -webkit-text-fill-color: #53677b;
  opacity: 1;
  background: #eef2f6;
}
.repo-modern .repo-btn-primary, .repo-modern .repo-btn-primary * {
  color: var(--repo-on-primary) !important;
  -webkit-text-fill-color: var(--repo-on-primary);
}
@media (max-width: 1000px) { .repo-workspace-grid { grid-template-columns: 1fr; }.repo-workspace-side { position: static; max-height: none; }.repo-upload-form { grid-template-columns: 1fr 1fr; }.repo-admin-cards { grid-template-columns: 1fr 1fr; }.repo-admin-layout { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .repo-topbar .repo-nav { width: calc(100% - 24px); }.repo-topbar .repo-links { display: flex; overflow-x: auto; gap: 12px; }.repo-topbar .repo-brand small { display: none; }.repo-form-grid,.repo-upload-form,.repo-admin-cards,.repo-health-grid,.repo-workspace-filter-wide { grid-template-columns: 1fr; }.repo-field-full { grid-column: auto; }.repo-stepper { overflow-x: auto; grid-template-columns: repeat(5,minmax(110px,1fr)); }.repo-card-pad { padding: 17px; } }
@media (max-width: 680px) { .repo-search-scope { align-items:flex-start; flex-wrap:wrap; gap:8px 14px; }.repo-search-scope legend { width:100%; }.repo-citation-menu > div { position:fixed; left:14px; right:14px; top:auto; bottom:70px; } }
@media (max-width: 680px) { .repo-stepper-nine { grid-template-columns:repeat(9,minmax(110px,1fr)); } }
