/* VOID Forge — shared Gitea v28.2.0 interface. Inter is served by this instance. */
@font-face {
  font-family:"VOID Inter"; src:url("../fonts/inter-variable.woff2") format("woff2"); font-style:normal;
  font-weight:100 900; font-display:swap;
}
html[data-theme] {
  --vf-ui:"VOID Inter",Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --fonts-regular:var(--vf-ui); --fonts-proportional:var(--vf-ui); --fonts-override:var(--vf-ui);
  --fonts-monospace:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  --vf-line:var(--color-secondary); --vf-surface:var(--color-box-body); --vf-muted:var(--color-text-light-2);
  --vf-accent:var(--color-primary); --vf-gutter:clamp(12px,2vw,32px); --vf-rail:clamp(178px,15vw,224px);
  --vf-ease:cubic-bezier(.2,.7,.25,1);
}
html[data-theme] body,html[data-theme] #navbar,html[data-theme] :is(.ui.header,.ui.menu,.ui.button,.ui.input input,.ui.form input,.ui.form select,.ui.form textarea,button,select,summary) {
  font-family:var(--vf-ui);
}
html[data-theme] :is(h1,h2,h3,h4,h5,h6,.vf-wordmark,.vf-card,.vf-sidebar,.vf-context-head) { font-family:var(--vf-ui); font-style:normal; }
html[data-theme] :is(pre,code,kbd,samp,.tw-font-mono,.sha.label,#repo-files-table .sha,.code-inner,.blob-code,.diff-code,textarea#edit_area) { font-family:var(--fonts-monospace); }
.page-content :is(h1,h2,h3,h4,.ui.header) { color:var(--color-text-dark); letter-spacing:-.023em; }
.page-content :is(h1,h2,h3,h4) :is(code,.sha) { letter-spacing:normal; }
.page-content .ui.segment,.page-content .ui.segments,.page-content .ui.table,.page-content .ui.message,.ui.modal { border-radius:10px; }
.page-content .ui.top.attached.header,.page-content .ui.top.attached.segment { border-radius:10px 10px 0 0; }
.page-content .ui.attached.segment,.page-content .ui.attached.table { border-radius:0; }
.page-content .ui.bottom.attached.segment,.page-content .ui.attached.segment:last-child { border-radius:0 0 10px 10px; }
:where(.page-content,.ui.modal) .ui.button { border-radius:7px; font-weight:550; }
:where(.page-content,.ui.modal) .ui.form .field > label { color:var(--color-text); font-weight:560; }
:where(.page-content,.ui.modal) :is(.ui.input input,.ui.form input:not([type=checkbox],[type=radio],[type=color]),.ui.form textarea,.ui.form select) { border-radius:6px; }
:where(.page-content,.ui.modal) .ui.action.input > :first-child { border-start-end-radius:0; border-end-end-radius:0; }
:where(.page-content,.ui.modal) .ui.action.input > :last-child { border-start-start-radius:0; border-end-start-radius:0; }
.page-content .ui.attached.header { background:var(--color-box-header); }
.page-content .ui.table > thead th { background:var(--color-box-header); color:var(--color-text-light-1); font-weight:600; }
.page-content .ui.message { box-shadow:none; }
.ui.modal .header { font-weight:620; }
.ui.modal .actions { border-radius:0 0 10px 10px; }
.page-footer { border-top:1px solid var(--vf-line); font-size:12px; }

.vf-sidebar { min-width:0; }
.vf-sidebar:not(:has(a[href])) { display:none; }
.vf-side-disclosure { background:var(--vf-surface); border:1px solid var(--vf-line); border-radius:10px; }
.vf-sections-toggle,.vf-parent-sections > summary { display:flex; align-items:center; gap:9px; cursor:pointer; list-style:none; }
.vf-sections-toggle { padding:10px 12px; min-height:43px; color:var(--color-text-dark); font-weight:600; }
.vf-sections-toggle > svg:last-child { margin-inline-start:auto; flex:none; }
.vf-current-section { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--vf-muted); font-weight:450; }
.vf-side-links { display:grid; gap:5px; padding:7px; }
.vf-nav-title,.vf-side-links .ui.vertical.menu > .header.item { padding:7px 10px; color:var(--vf-muted); font-size:12px; font-weight:620; letter-spacing:.01em; }
.vf-section-links { display:grid; gap:2px; }
.vf-section-links a.item,.vf-side-links .ui.vertical.menu a.item,.vf-side-links .ui.vertical.menu details.item > summary,.vf-parent-sections > summary {
  display:flex; align-items:center; gap:9px; min-height:35px; padding:7px 9px; color:var(--color-text-light-1); border-radius:6px; text-decoration:none; line-height:1.35; overflow-wrap:anywhere;
}
.vf-section-links a.item { position:relative; border:1px solid transparent; }
.vf-section-links a.item .svg,.vf-side-links summary .svg { flex:none; }
.vf-section-links .ui.label { margin-inline-start:auto; flex:none; font-size:11px; padding:2px 5px; border-radius:4px; }
.vf-sidebar .item-flex-space { display:none; }
.vf-side-links a.item:hover,.vf-side-links summary:hover { color:var(--color-text-dark); background:var(--color-hover); }
.vf-section-links a.item.active,.vf-side-links .ui.vertical.menu a.item.active {
  color:var(--color-text-dark); background:var(--color-primary-alpha-10); box-shadow:inset 3px 0 var(--vf-accent); font-weight:600;
}
[dir=rtl] .vf-sidebar a.item.active { box-shadow:inset -3px 0 var(--vf-accent); }
.vf-sidebar .flex-container-nav { flex:initial; width:100%; max-width:100%; min-width:0; margin:0; padding:0; }
.vf-side-links .ui.vertical.menu { width:100%; box-shadow:none; border:0; background:transparent; margin:0; }
.vf-side-links .ui.vertical.menu > .item::before { content:none; }
.vf-side-links .ui.vertical.menu details.item { padding:0; }
.vf-side-links .ui.vertical.menu details.item > summary { display:list-item; cursor:pointer; }
.vf-side-links .ui.vertical.menu details.item .menu { margin:0 0 3px; padding-inline-start:10px; }
.vf-parent-sections { border-block-end:1px solid var(--vf-line); padding-block-end:5px; }
.vf-parent-sections > summary { font-weight:590; }
.vf-parent-sections > summary svg { margin-inline-start:auto; }
.vf-parent-sections[open] > summary svg,.vf-side-disclosure[open] > .vf-sections-toggle > svg:last-child { rotate:180deg; }
.vf-context-head { margin:0 0 17px; padding:15px 0 17px; border-block-end:1px solid var(--vf-line); min-width:0; }
.vf-context-row,.vf-identity-group,.vf-name-line,.vf-status-badges,.vf-repo-actions,.vf-org-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.vf-context-row { justify-content:space-between; gap:10px 18px; }
.vf-identity-group { gap:9px 13px; min-width:0; flex:1 1 280px; }
.vf-context-avatar { display:grid; flex:none; place-items:center; width:45px; height:45px; border:1px solid var(--vf-line); border-radius:11px; background:var(--color-box-header); color:var(--vf-accent); overflow:hidden; }
.vf-context-avatar img { width:100%!important; height:100%!important; object-fit:contain; border-radius:0!important; }
.vf-context-avatar > .svg { width:21px; height:21px; }
.vf-repo-path { min-width:0; max-width:100%; }
.vf-path-owner { color:var(--vf-muted); font-size:12px; overflow-wrap:anywhere; }
.vf-name-line { gap:6px; }
.vf-name-line h1 { margin:0; max-width:100%; color:var(--color-text-dark); font-weight:640; font-size:clamp(20px,2.1vw,29px); letter-spacing:-.045em; line-height:1.25; overflow-wrap:anywhere; }
.vf-name-line h1 a { color:inherit; }
.vf-name-line .ui.dropdown { min-width:24px; }
.vf-repo-actions { justify-content:flex-end; gap:5px; }
.vf-repo-actions:empty,.vf-status-badges:empty { display:none; }
.vf-context-head .secondary-info,.vf-org-meta,.vf-org-description { margin-block-start:8px; color:var(--color-text-light-1); }
.vf-org-description { max-width:78ch; }
.vf-org-meta { gap:5px 16px; font-size:13px; }
.vf-org-meta :is(a,span) { display:inline-flex; align-items:center; gap:5px; overflow-wrap:anywhere; }

/* The rail is attached to the native main element. Forms, Vue mount points and modal siblings keep their original DOM parents. */
.page-content:has(> .vf-sidebar) { position:relative; box-sizing:border-box; width:100%; max-width:1820px; min-width:0; margin-inline:auto; padding-inline:var(--vf-gutter); }
.page-content:has(> .vf-sidebar) > .ui.container { width:100%!important; max-width:100%!important; margin-inline:0!important; }
.page-content:has(> .vf-sidebar) > .ui.container.fluid.padded { padding-inline:0; }
.page-content > .vf-sidebar:first-child { margin-block:12px; }
.vf-settings-page .flex-container-main { min-width:0; }
.vf-settings-page > .flex-container { display:block!important; }
@media(min-width:960px) {
  .page-content:has(> .vf-sidebar) {
    padding-inline-start:calc(var(--vf-gutter) * 2 + var(--vf-rail)); padding-block-start:8px;
    min-height:calc(100vh - 100px); min-height:calc(100svh - 100px);
  }
  .page-content:has(> .vf-sidebar):not(:has(> .vf-sidebar a[href])) { padding-inline-start:var(--vf-gutter); }
  .page-content:has(> .vf-sidebar) > .vf-sidebar {
    position:absolute; inset-inline-start:var(--vf-gutter); inset-block:13px 12px; width:var(--vf-rail); margin:0;
  }
  .vf-sidebar > .vf-side-disclosure { position:sticky; inset-block-start:12px; max-height:min(100%,calc(100vh - 38px)); max-height:min(100%,calc(100dvh - 38px)); overflow:auto; scrollbar-width:thin; }
  .vf-side-disclosure > .vf-sections-toggle { display:none; }
  /* Native details stay navigable without script, including after resizing a mobile viewport. */
  .vf-side-disclosure:not([open]) > .vf-sections-toggle { display:flex; }
  .vf-settings-page:not(:has(.vf-context-head)) > .ui.container { padding-top:14px; }
}
@media(max-width:959.98px) {
  .vf-side-disclosure > .vf-side-links { border-block-start:1px solid var(--vf-line); }
  .vf-side-links .vf-section-links { grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr)); }
  .vf-nav-title { display:none; }
  .vf-context-head { padding-top:3px; margin-bottom:12px; }
}
@media(max-width:640px) {
  .vf-context-row { align-items:flex-start; }
  .vf-repo-actions { justify-content:flex-start; }
  .vf-identity-group { flex-basis:100%; }
  .vf-context-avatar { width:38px; height:38px; }
  .vf-section-links a.item,.vf-side-links .ui.vertical.menu a.item,.vf-side-links .ui.vertical.menu details.item > summary { min-height:42px; }
}

/* Repository workspaces */
.vf-code-home > .ui.container { container:vf-code / inline-size; }
.vf-code-home .repo-grid-filelist-sidebar { grid-template-columns:minmax(0,1fr) minmax(190px,22%); gap:16px; }
.vf-code-home :is(.repo-home-sidebar-top,.repo-home-sidebar-bottom) { background:var(--vf-surface); border:1px solid var(--vf-line); padding:13px; border-radius:10px; min-width:0; }
.vf-code-home .repo-home-sidebar-header { font-size:14px; font-weight:620; margin-top:0; }
@container vf-code (max-width:829px) {
  .vf-code-home .repo-grid-filelist-sidebar { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; }
  .vf-code-home .repo-home-filelist { grid-column:1; grid-row:1; }
  .vf-code-home .repo-home-sidebar-top { grid-column:1; grid-row:2; }
  .vf-code-home .repo-home-sidebar-bottom { grid-column:1; grid-row:3; }
}
.repository #repo-files-table { background:var(--vf-surface); border:1px solid var(--vf-line); border-radius:10px; }
.repository #repo-files-table .repo-file-last-commit { background:var(--color-box-header); border-radius:9px 9px 0 0; }
.repository #repo-files-table .repo-file-item:hover > .repo-file-cell { background:var(--color-hover); }
.repository :is(.file-header,.diff-file-header) { background:var(--color-box-header); }
.repository :is(.file-view,.diff-file-box,.editor-toolbar) { border-color:var(--vf-line); }
.repository :is(.list-header,.issue-list-toolbar) { flex-wrap:wrap; gap:8px; }
.vf-issue-index .list-header { padding:10px 12px; border:1px solid var(--vf-line); border-radius:10px; background:var(--vf-surface); margin-bottom:12px; }
.repository #issue-list { background:var(--vf-surface); border-radius:0 0 10px 10px; }
.repository #issue-list > .issue-item { padding-block:11px; }
.repository .issue-content-right { padding:12px; background:var(--vf-surface); border:1px solid var(--vf-line); border-radius:10px; align-self:flex-start; box-sizing:border-box; }
.repository .issue-content-left { min-width:0; }
.repository .comment-body,.repository .timeline-item .content { overflow-wrap:anywhere; }
.repository .wiki-content-main .markup { max-width:90ch; line-height:1.65; }
.repository .wiki-content-sidebar { padding:12px; border:1px solid var(--vf-line); border-radius:9px; background:var(--vf-surface); }
.repository :is(#release-list,#tags-table) { margin-top:14px; }
.vf-release-index #release-list .release-entry { gap:12px; margin-block:0 16px; }
.vf-release-index #release-list .detail { min-width:0; border-radius:10px; border:1px solid var(--vf-line); }
.repository #tags-table .tag-list-row,.repository.branches .flex-divided-list > .item { padding-block:10px; }
.repository .action-view-header,.repository.actions .flex-container-main > .ui.header { background:var(--color-box-header); }
.page-content #project-board { gap:12px; max-width:100%; }
.page-content #project-board .project-column { border:1px solid var(--vf-line); border-radius:10px; }
.page-content #project-board .issue-card,.repository #issue-pins .issue-card { background:var(--vf-surface); border-radius:8px; }
.vf-settings-page .flex-container-main > .ui.form,.vf-settings-page .flex-container-main > .ui.segment { min-width:0; }
:where(.repository,.organization,.vf-settings-page) :is(.ui.table,.flex-container-nav,.flex-container-main,.repo-view-container) { min-width:0; }

/* Organization, discovery, identity and administration */
.vf-people-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(265px,100%),1fr)); gap:11px; }
.vf-people-grid.flex-divided-list > .item { display:flex; flex-wrap:wrap; align-items:flex-start; gap:10px; padding:13px; border:1px solid var(--vf-line); border-radius:10px; background:var(--vf-surface); }
.vf-people-grid .item-main { flex:1; min-width:0; }
.vf-people-grid .item-trailing { flex-basis:100%; display:flex; flex-wrap:wrap; gap:4px; }
.vf-team-index .team-item-header { gap:9px; flex-wrap:wrap; }
.organization .org-team-navbar { max-width:100%; flex-wrap:wrap; border-radius:8px; }
.organization :is(.team-item-box,.ui.column,.ui.grid > .column) { min-width:0; }
.organization .vf-catalog { padding-block:5px; }
.vf-explore-nav { border:0!important; border-bottom:1px solid var(--vf-line)!important; background:var(--color-box-header)!important; }
.vf-explore-nav .overflow-menu-items { justify-content:start; padding-inline:var(--vf-gutter); }
.page-content:is(.explore,.dashboard,.profile) .flex-divided-list > .item:not(.team-item-box) { padding-block:11px; }
.page-content .ui.pagination.menu { box-shadow:none; border-radius:8px; }
.vf-auth-layout { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr); max-width:830px; margin:clamp(24px,7vh,80px) auto!important; border:1px solid var(--vf-line); border-radius:15px; background:var(--vf-surface); }
.vf-auth-art { display:grid; place-content:center; justify-items:center; gap:7px; padding:24px; text-align:center; overflow-wrap:anywhere; border-inline-end:1px solid var(--vf-line); color:var(--color-text-dark); font-size:21px; font-weight:620; letter-spacing:-.04em; background:radial-gradient(ellipse at 50% 40%,var(--color-primary-alpha-20),transparent 70%); border-radius:14px 0 0 14px; }
.vf-auth-art img { width:clamp(68px,12vw,120px); height:auto; }
.vf-auth-fields { min-width:0; padding:clamp(14px,3vw,30px); }
.vf-auth-fields .ui.grid { margin:0!important; }
.vf-auth-fields .ui.grid > .column { padding:0!important; max-width:100%!important; width:100%!important; }
.vf-auth-fields :is(.ui.attached.header,.ui.attached.segment) { border:0; background:transparent; box-shadow:none; padding-inline:0; }
.vf-auth-fields .ui.header { font-size:22px; }
.page-content:is(.install,.vf-team-invite) .ui.grid,.page-content.install .install-config-container { max-width:960px; margin-inline:auto; }
.page-content.install :is(.ui.dividing.header,.ui.attached.header) { padding-block:10px; }
.page-content :is(.status-page-error) { max-width:58rem; margin-inline:auto; padding:clamp(20px,5vw,55px) 16px; border:1px solid var(--vf-line); border-radius:12px; background:var(--vf-surface); }
.page-content .status-page-error-title { color:var(--color-text-dark); font-size:clamp(26px,5vw,44px); }
.page-content.admin .ui.table td,.page-content.admin .ui.table th { padding-block:9px; }
.vf-api { background:var(--color-body); color:var(--color-text); }
.vf-api .swagger-page-links { gap:12px; flex-wrap:wrap; align-items:center; padding:8px 14px; background:var(--color-nav-bg); border-bottom:1px solid var(--vf-line); }
.vf-api .swagger-ui :is(h1,h2,h3,h4,h5,button,select,label,.opblock-summary-description) { font-family:var(--vf-ui); }
/* Personal pages, creation forms and focused action views */
.vf-person-profile #profile-avatar-card { border:1px solid var(--vf-line); background:var(--vf-surface); border-radius:12px; }
.vf-person-profile #profile-avatar-card img.profile-avatar-image { border-radius:14px; max-width:min(100%,190px); }
.vf-person-profile #readme_profile,.organization #readme_profile { padding:clamp(12px,2.4vw,26px); border-radius:10px; }
.vf-person-profile .vf-catalog { padding-block:6px; }
#notification_table { border-radius:10px; border:1px solid var(--vf-line); }
#notification_table .notifications-item { padding:11px 14px; }
#notification_table .notifications-item:focus-within { background:var(--color-hover); }
#notification_table .notifications-item:focus-within .notifications-buttons { display:flex; align-items:center; gap:4px; }
@media(hover:none) { #notification_table .notifications-buttons { display:flex; gap:4px; } }
.page-content:is(.new-repo,.organization.new,.repository.new,.repository.fork) > .ui.container { max-width:830px; }
.page-content:is(.new-repo,.organization.new,.repository.new,.repository.fork) .medium-width > .ui.attached.segment { padding:clamp(14px,3vw,32px); }
.page-content:is(.new-repo,.organization.new,.repository.new,.repository.fork) .medium-width > h3 { font-size:21px; padding:15px 20px; }
.page-content .migrate-entries { gap:11px; }
.page-content .migrate-entries .migrate-entry { background:var(--vf-surface); border:1px solid var(--vf-line); border-radius:10px; color:var(--color-text); box-shadow:none; }
.page-content .migrate-entries .migrate-entry:hover { border-color:var(--color-primary-alpha-50); }
.dashboard #activity-feed > .item { padding-block:13px; }
.repository.actions:not(:has(> .vf-sidebar)) > .ui.fluid.container { padding-inline:var(--vf-gutter); }
.repository.actions .action-info-summary { gap:9px; flex-wrap:wrap; }
.organization.profile > .ui.container { container:vf-org / inline-size; }
@container vf-org (max-width:875px) {
  .organization.profile > .ui.container > .ui.grid { display:flex; flex-direction:column; margin:0!important; }
  .organization.profile > .ui.container > .ui.grid > .column { width:100%!important; padding-inline:0!important; }
}
@media(max-width:680px) {
  .vf-auth-layout { grid-template-columns:minmax(0,1fr); width:calc(100% - 24px); margin:20px auto!important; }
  .vf-auth-art { display:flex; justify-content:flex-start; padding:11px 16px; font-size:16px; border-inline-end:0; border-block-end:1px solid var(--vf-line); border-radius:14px 14px 0 0; }
  .vf-auth-art img { width:35px; }
  .repository .issue-content-right { width:100%; }
  .repository .wiki-content-sidebar { max-width:100%; }
}
@media(prefers-reduced-motion:no-preference) {
  .vf-card,.vf-thumb,.vf-view-choice button,.vf-pick,.vf-btn,.vf-popover > summary,.vf-sidebar a.item,#navbar a.item,.page-content .ui.button {
    transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,color 140ms ease,transform 145ms var(--vf-ease);
  }
  .vf-popover[open] > :is(.vf-global-menu,.vf-create-menu),.vf-parent-sections[open] > .vf-section-links { animation:vf-disclose 145ms var(--vf-ease); }
  .vf-side-disclosure .vf-sections-toggle > svg:last-child,.vf-parent-sections > summary svg { transition:rotate 150ms var(--vf-ease); }
  .vf-context-head,.vf-directory-head,.vf-dash-head,.vf-auth-layout,.page-content > .status-page-error { animation:vf-enter 190ms var(--vf-ease); }
  .vf-card { animation:vf-enter 180ms var(--vf-ease) backwards; }
  .vf-card:nth-child(2) { animation-delay:20ms; }
  .vf-card:nth-child(3) { animation-delay:35ms; }
  .vf-card:nth-child(4) { animation-delay:50ms; }
  .ui.modal.active.visible > .content { animation:vf-read-in 140ms ease-out; }
  .vf-btn:active,.vf-popover summary:active,.vf-view-choice button:active { transform:translateY(1px); }
  @media(hover:hover) { .vf-card:hover { border-color:var(--color-primary-alpha-50); } .vf-thumb:hover { transform:translateY(-2px); } }
  @media(max-width:959.98px) { .vf-side-disclosure[open] > nav { animation:vf-disclose 150ms var(--vf-ease); } }
}
@keyframes vf-enter { from { opacity:.68; transform:translateY(4px); } to { opacity:1; transform:none; } }
@keyframes vf-disclose { from { opacity:.5; transform:translateY(-3px); } to { opacity:1; transform:none; } }
@keyframes vf-read-in { from { opacity:.75; } to { opacity:1; } }
