@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.table{display:table}}:root{--afu-blue:#103b93;--afu-blue-dark:#0a2b70;--afu-red:#c12635;--ink:#10213f;--muted:#667085;--surface:#fff;--surface-soft:#f8fafc;--border:#dfe4ed;--page:#f5f7fb;--text-secondary:#526178;--text-tertiary:#6f7c90;--hover:#eef3fb;--active:#e8f0ff;--nav-active-bg:#e7efff;--nav-active-fg:#0a3484;--focus:#103b9342;--shadow:#142a5414}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#edf2fb;--muted:#b5c0d2;--surface:#111b2d;--surface-soft:#17243a;--border:#34445e;--page:#08111f;--text-secondary:#bdc8d9;--text-tertiary:#96a6bc;--hover:#1b2b44;--active:#203a66;--nav-active-bg:#dce8fb;--nav-active-fg:#092f75;--focus:#5b8be66b;--shadow:#00000047;background:var(--page)}@media (prefers-color-scheme:dark){html[data-theme=system]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#edf2fb;--muted:#b5c0d2;--surface:#111b2d;--surface-soft:#17243a;--border:#34445e;--page:#08111f;--text-secondary:#bdc8d9;--text-tertiary:#96a6bc;--hover:#1b2b44;--active:#203a66;--nav-active-bg:#dce8fb;--nav-active-fg:#092f75;--focus:#5b8be66b;--shadow:#00000047;background:var(--page)}}*{box-sizing:border-box}html{background:var(--page);min-height:100%}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 15% 15%,#103b931a,#0000 30rem),radial-gradient(circle at 90% 90%,#c1263514,#0000 28rem),#f4f7fb;margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #103b934d}.auth-shell{place-items:center;min-height:100vh;padding:2rem 1rem;display:grid;position:relative;overflow:hidden}.auth-shell:before{content:"";pointer-events:none;background-image:linear-gradient(#103b9309 1px,#0000 1px),linear-gradient(90deg,#103b9309 1px,#0000 1px);background-size:48px 48px;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 75%);mask-image:linear-gradient(#000,#0000 75%)}.card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #103b931a;border-radius:1.5rem;width:min(100%,440px);padding:clamp(1.5rem,5vw,2.5rem);position:relative;box-shadow:0 28px 80px #142a5424}.brand{justify-content:center;margin-bottom:2rem;display:flex}.brand img{object-fit:contain;width:min(100%,300px);height:auto;display:block}.eyebrow{color:var(--afu-blue);letter-spacing:.14em;text-transform:uppercase;font-size:.75rem;font-weight:800}.title{letter-spacing:-.035em;margin:.55rem 0 .65rem;font-size:clamp(1.65rem,5vw,2.15rem);line-height:1.12}.subtitle{color:var(--muted);margin:0 0 1.75rem;font-size:.95rem;line-height:1.55}.field{gap:.45rem;margin-top:1rem;display:grid}.field label{font-size:.86rem;font-weight:700}.field input{width:100%;color:var(--ink);background:#fff;border:1px solid #d6dce8;border-radius:.85rem;padding:.85rem 1rem;transition:border-color .15s,box-shadow .15s}.field input:hover{border-color:#a8b4c9}.field input:focus{border-color:var(--afu-blue);outline:none;box-shadow:0 0 0 4px #103b9317}.primary-button,.secondary-button{cursor:pointer;border:0;border-radius:.85rem;justify-content:center;align-items:center;gap:.55rem;min-height:48px;padding:.78rem 1.1rem;font-weight:800;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}.primary-button{color:#fff;background:var(--afu-blue);width:100%;margin-top:1.35rem;box-shadow:0 10px 24px #103b9338}.primary-button:hover{background:var(--afu-blue-dark);transform:translateY(-1px)}.primary-button:disabled{cursor:wait;opacity:.7;transform:none}.secondary-button{color:var(--ink);background:#fff;border:1px solid #d6dce8}.secondary-button:hover{background:#f8fafc;border-color:#a8b4c9}.error{color:#9f1239;background:#fff1f2;border-radius:.75rem;margin:1rem 0 0;padding:.75rem .9rem;font-size:.86rem;line-height:1.4}.security-note{color:var(--muted);align-items:flex-start;gap:.6rem;margin-top:1.5rem;font-size:.78rem;line-height:1.45;display:flex}.security-dot{background:#19a36b;border-radius:50%;flex:none;width:8px;height:8px;margin-top:.25rem;box-shadow:0 0 0 4px #e1f7ed}.download-icon{color:#fff;background:linear-gradient(135deg, var(--afu-blue), #315cba);border-radius:1.15rem;place-items:center;width:64px;height:64px;margin-bottom:1.4rem;font-size:1.65rem;display:grid;box-shadow:0 16px 30px #103b933b}.status{color:#21478f;background:#f2f6ff;border-radius:.85rem;align-items:center;gap:.6rem;margin:1.25rem 0;padding:.85rem 1rem;font-size:.86rem;display:flex}.actions{flex-wrap:wrap;gap:.75rem;display:flex}.actions .primary-button{flex:1;width:auto;margin:0}.footer{text-align:center;color:#8993a5;margin-top:1.5rem;font-size:.74rem}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.portal-layout{background:#f5f7fb;min-height:100vh}.portal-sidebar{z-index:30;background:#fff;border-right:1px solid #e6eaf1;flex-direction:column;width:278px;padding:1.55rem 1.15rem;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand{justify-content:space-between;align-items:center;padding:0 .55rem;display:flex}.sidebar-brand img{width:214px;height:auto}.sidebar-kicker{color:#8190a8;letter-spacing:.16em;text-transform:uppercase;margin:.9rem .65rem 2rem;font-size:.68rem;font-weight:800}.portal-nav{gap:.35rem;display:grid}.portal-nav a{color:#56647a;border-radius:.8rem;align-items:center;gap:.8rem;padding:.8rem .9rem;font-size:.9rem;font-weight:700;text-decoration:none;display:flex}.portal-nav a:hover{color:var(--afu-blue);background:#f5f7fb}.portal-nav a.active{color:var(--afu-blue);box-shadow:inset 3px 0 var(--afu-blue);background:#edf3ff}.sidebar-user{border-top:1px solid #edf0f5;align-items:center;gap:.7rem;margin:auto .35rem .8rem;padding-top:1.2rem;display:flex}.user-avatar{width:38px;height:38px;color:var(--afu-blue);background:#e9effb;border-radius:12px;flex:none;place-items:center;font-weight:900;display:grid}.sidebar-user strong,.sidebar-user span{display:block}.sidebar-user strong{font-size:.85rem}.sidebar-user span{color:#8a96a8;margin-top:.14rem;font-size:.7rem}.nav-logout{color:#647187;cursor:pointer;background:0 0;border:0;border-radius:.8rem;align-items:center;gap:.75rem;width:100%;padding:.75rem .9rem;font-size:.86rem;font-weight:700;display:flex}.nav-logout:hover{color:#b42338;background:#fff1f2}.portal-main{min-height:100vh;margin-left:278px}.portal-content{width:min(100%,1500px);margin:0 auto;padding:clamp(2rem,5vw,4.25rem)}.page-heading{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;display:flex}.page-heading h1{color:#14213c;letter-spacing:-.045em;margin:.4rem 0 .65rem;font-size:clamp(2rem,4vw,3rem)}.page-heading>div>p:last-child{color:#6a768a;max-width:650px;margin:0;line-height:1.6}.catalog-stat{background:#fff;border:1px solid #e2e7f0;border-radius:1rem;place-items:center;min-width:112px;padding:1rem;display:grid;box-shadow:0 8px 26px #142a540d}.catalog-stat strong{color:var(--afu-blue);font-size:1.55rem}.catalog-stat span{color:#7c889b;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.catalog-toolbar{gap:1rem;margin-bottom:1.7rem;display:grid}.search-box{background:#fff;border:1px solid #dfe4ed;border-radius:.9rem;align-items:center;gap:.7rem;height:50px;padding:0 1rem;display:flex;box-shadow:0 6px 18px #142a540a}.search-box svg{color:#8b97aa;flex:none}.search-box input{color:#1b2944;background:0 0;border:0;outline:0;width:100%}.category-select{display:none}.category-scroll{scrollbar-width:thin;gap:.5rem;max-width:100%;padding-bottom:.3rem;display:flex;overflow-x:auto}.category-scroll button{color:#667388;cursor:pointer;background:#fff;border:1px solid #e0e5ee;border-radius:999px;flex:none;padding:.58rem .9rem;font-size:.78rem;font-weight:700}.category-scroll button.active,.category-scroll button:hover{border-color:var(--afu-blue);background:var(--afu-blue);color:#fff}.software-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.software-card{background:#fff;border:1px solid #e4e8ef;border-radius:1.15rem;flex-direction:column;min-height:310px;padding:1.25rem;transition:transform .18s,box-shadow .18s,border-color .18s;display:flex;box-shadow:0 10px 30px #142a540e}.software-card:hover{border-color:#cbd6e9;transform:translateY(-3px);box-shadow:0 18px 38px #142a5418}.software-mark{color:#fff;letter-spacing:-.03em;border-radius:.9rem;place-items:center;width:52px;height:52px;font-weight:900;display:grid}.software-mark.navy{background:#103b93}.software-mark.sky{background:#2588ce}.software-mark.blue{background:#2f67c7}.software-mark.amber{background:#d38a15}.software-mark.violet{background:#7655c7}.software-mark.orange{background:#db6232}.software-mark.indigo{background:#4b5ab8}.software-mark.teal{background:#16877d}.software-mark.slate{background:#667085}.software-card-image{background:50%/contain no-repeat;border-radius:.45rem;width:42px;height:42px}.software-mark.afu-logo-mark{background:0 0;width:116px}.afu-card-image{background-image:url(/brand/afu-brand-light.png);width:108px}html[data-theme=dark] .afu-card-image{background-image:url(/brand/afu-brand-dark.png)}@media (prefers-color-scheme:dark){html[data-theme=system] .afu-card-image{background-image:url(/brand/afu-brand-dark.png)}}.software-card-head{justify-content:space-between;gap:.5rem;margin-top:1rem;display:flex}.category-label,.version-label{color:#758197;letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:800}.software-card h2{color:#182641;margin:.7rem 0 .5rem;font-size:1.1rem}.software-card>p{color:#6a768a;margin:0 0 1.2rem;font-size:.82rem;line-height:1.55}.software-action{min-height:42px;color:var(--afu-blue);background:#f9fbff;border:1px solid #d9e0ec;border-radius:.78rem;justify-content:center;align-items:center;gap:.5rem;margin-top:auto;font-size:.8rem;font-weight:800;text-decoration:none;display:flex}.software-action:hover{border-color:var(--afu-blue);background:#eef4ff}.software-action.disabled{color:#919bad;cursor:not-allowed}.software-action svg{width:17px;height:17px}.empty-state{color:#7d899b;text-align:center;border:1px dashed #cfd7e5;border-radius:1.25rem;align-content:center;place-items:center;min-height:300px;display:grid}.empty-state svg{width:36px;height:36px}.empty-state h2{color:#33405a;margin:1rem 0 .3rem}.empty-state p{margin:0}.mobile-header,.mobile-close,.sidebar-overlay{display:none}.icon-button{color:#536078;cursor:pointer;background:#fff;border:1px solid #e0e5ed;border-radius:.75rem;place-items:center;width:42px;height:42px;display:inline-grid}.admin-heading{align-items:center}.solid-button,.ghost-button{cursor:pointer;border-radius:.75rem;justify-content:center;align-items:center;gap:.5rem;min-height:44px;padding:.7rem 1rem;font-size:.82rem;font-weight:800;display:inline-flex}.solid-button{border:1px solid var(--afu-blue);background:var(--afu-blue);color:#fff;box-shadow:0 8px 20px #103b932e}.solid-button:hover{background:var(--afu-blue-dark)}.solid-button:disabled{opacity:.6;cursor:wait}.ghost-button{color:#4f5c72;background:#fff;border:1px solid #dce2ec}.admin-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-bottom:1rem;display:grid}.admin-summary>div{background:#fff;border:1px solid #e3e7ef;border-radius:.9rem;align-items:baseline;gap:.65rem;padding:1rem 1.15rem;display:flex}.admin-summary strong{color:var(--afu-blue);font-size:1.45rem}.admin-summary span{color:#7b879a;text-transform:uppercase;letter-spacing:.05em;font-size:.76rem}.admin-panel{background:#fff;border:1px solid #e0e5ed;border-radius:1.1rem;overflow:hidden;box-shadow:0 12px 34px #142a540e}.admin-toolbar{border-bottom:1px solid #edf0f5;grid-template-columns:minmax(260px,1fr) 190px 210px;gap:.7rem;padding:1rem;display:grid}.admin-toolbar .search-box{height:44px;box-shadow:none}.admin-toolbar select,.admin-form select,.admin-form input,.admin-form textarea{color:#26344e;background:#fff;border:1px solid #d8dfe9;border-radius:.7rem;outline:none;width:100%;padding:.72rem .8rem}.admin-toolbar select:focus,.admin-form select:focus,.admin-form input:focus,.admin-form textarea:focus{border-color:var(--afu-blue);box-shadow:0 0 0 3px #103b9317}.table-scroll{overflow-x:auto}.software-table{border-collapse:collapse;width:100%;min-width:900px}.software-table th{color:#7c8799;text-align:left;letter-spacing:.06em;text-transform:uppercase;background:#fafbfc;padding:.8rem 1rem;font-size:.68rem}.software-table td{color:#536078;vertical-align:middle;border-top:1px solid #edf0f5;padding:.9rem 1rem;font-size:.78rem}.software-table td:first-child strong,.software-table td:first-child span,.software-table td:nth-child(3) strong,.software-table td:nth-child(3) code{display:block}.software-table td:first-child strong{color:#1f2c45;font-size:.85rem}.software-table td:first-child span{color:#8994a6;margin-top:.2rem}.software-table code{color:#7c8799;max-width:130px;font-size:.67rem;overflow:hidden}.source-badge,.status-toggle{border-radius:999px;padding:.35rem .6rem;font-size:.68rem;font-weight:800;display:inline-flex}.source-badge.external{color:#315cae;background:#eef4ff}.source-badge.upload{color:#6651af;background:#f2efff}.status-toggle{cursor:pointer;border:0}.status-toggle.published{color:#11754f;background:#e7f8f0}.status-toggle.draft{color:#6e788a;background:#f1f3f6}.row-actions{justify-content:flex-end;gap:.35rem;display:flex}.row-actions button{color:#667389;cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:.6rem;place-items:center;width:34px;height:34px;display:grid}.row-actions button:hover{color:var(--afu-blue);border-color:#b9c6d9}.row-actions button.danger:hover{color:#c3233b;background:#fff5f6;border-color:#f0b8c0}.row-actions svg{width:16px;height:16px}.empty-table{color:#8994a6;text-align:center;padding:2rem}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#09152c8f;place-items:center;padding:1rem;display:grid;position:fixed;inset:0;overflow-y:auto}.admin-modal{background:#fff;border-radius:1.15rem;width:min(100%,680px);max-height:calc(100vh - 2rem);overflow-y:auto;box-shadow:0 30px 80px #0510264d}.modal-head{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;padding:1.3rem 1.4rem;display:flex}.modal-head h2{margin:.35rem 0 0;font-size:1.35rem}.modal-close{color:#7e899b;cursor:pointer;background:0 0;border:0;font-size:1.7rem}.admin-form{gap:1rem;padding:1.35rem 1.4rem;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.admin-form label{gap:.4rem;display:grid}.admin-form label>span{color:#35425a;font-size:.76rem;font-weight:800}.admin-form textarea{resize:vertical}.file-field small{color:#7e899b;font-size:.68rem;line-height:1.45}.checkbox-field{grid-template-columns:auto 1fr;align-items:center;display:flex!important}.checkbox-field input{width:17px;height:17px}.modal-actions{border-top:1px solid #edf0f4;justify-content:flex-end;gap:.6rem;padding-top:1rem;display:flex}.custom-select-trigger{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--ink);cursor:pointer;text-align:left;border-radius:.75rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .8rem;display:flex;overflow:hidden;box-shadow:0 4px 12px #142a540a}.custom-select-trigger[data-placeholder]{color:var(--muted)}.custom-select-trigger:focus-visible{outline-offset:2px;outline:3px solid #103b9340}.custom-select-trigger:disabled{opacity:.55;cursor:not-allowed}.custom-select-chevron{color:var(--muted);flex:none}.custom-select-content{z-index:120;min-width:var(--radix-select-trigger-width);max-width:min(92vw,420px);max-height:min(360px, var(--radix-select-content-available-height));border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:.8rem;animation:.14s ease-out select-open;overflow:hidden;box-shadow:0 18px 48px #07142d38}.custom-select-viewport{padding:.35rem}.custom-select-item{cursor:pointer;white-space:normal;border-radius:.55rem;outline:0;align-items:center;min-height:40px;padding:.55rem 2rem .55rem .7rem;line-height:1.3;display:flex;position:relative;overflow:hidden}.custom-select-item[data-highlighted]{color:var(--afu-blue);background:#edf3ff}.custom-select-item[data-state=checked]{font-weight:800}.custom-select-check{color:var(--afu-blue);position:absolute;right:.65rem}.custom-select-scroll{background:var(--surface-soft);height:28px;color:var(--muted);border:0;place-items:center;display:grid}@keyframes select-open{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:none}}.sidebar-preferences{gap:.45rem;margin:auto .35rem 0;display:grid}.sidebar-preferences+.sidebar-user{margin-top:.8rem}.plain-input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--ink);border-radius:.75rem;padding:.7rem .85rem}.users-toolbar{grid-template-columns:1fr}.users-table .custom-select-trigger{min-width:165px}.secret-notice,.warning-notice,.success-notice{border-radius:.85rem;margin:0 0 1rem;padding:.9rem 1rem}.secret-notice{color:#6f4b00;background:#fff7d6;flex-wrap:wrap;align-items:center;gap:.8rem;display:flex}.secret-notice code{-webkit-user-select:all;user-select:all;background:#fff;border-radius:.4rem;padding:.45rem .6rem}.secret-notice button{cursor:pointer;background:0 0;border:0;margin-left:auto}.warning-notice{color:#6f4b00;background:#fff7d6}.success-notice{color:#11754f;background:#e7f8f0}.users-mobile-list{display:none}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.settings-card{border:1px solid var(--border);background:var(--surface);border-radius:1rem;box-shadow:0 10px 30px #142a540d}.settings-card h2{border-bottom:1px solid var(--border);margin:0;padding:1.2rem 1.4rem;font-size:1.05rem}.profile-meta{gap:.5rem;margin:0;display:grid}.profile-meta div{justify-content:space-between;gap:1rem;display:flex}.profile-meta dd{margin:0;font-weight:700}.file-drop{border:2px dashed var(--border);background:var(--surface-soft);text-align:center;cursor:pointer;border-radius:.9rem;align-content:center;place-items:center;min-height:150px;padding:1rem;gap:.45rem!important;display:grid!important}.file-drop.dragging{border-color:var(--afu-blue);background:#edf3ff}.file-drop input[type=file]{background:0 0;border:0;max-width:100%}.file-drop progress{width:100%;accent-color:var(--afu-blue)}html[data-theme=dark] body,html[data-theme=dark] .portal-layout,html[data-theme=dark] .portal-main,html[data-theme=dark] .auth-shell{color:var(--ink);background-color:#09101e}html[data-theme=dark] .portal-sidebar,html[data-theme=dark] .mobile-header,html[data-theme=dark] .software-card,html[data-theme=dark] .catalog-stat,html[data-theme=dark] .search-box,html[data-theme=dark] .category-scroll button,html[data-theme=dark] .admin-summary>div,html[data-theme=dark] .admin-panel,html[data-theme=dark] .admin-modal,html[data-theme=dark] .card{background:var(--surface);border-color:var(--border);color:var(--ink)}html[data-theme=dark] .page-heading h1,html[data-theme=dark] .software-card h2,html[data-theme=dark] .admin-form label>span,html[data-theme=dark] .software-table td:first-child strong{color:var(--ink)}html[data-theme=dark] .software-table th{background:var(--surface-soft)}html[data-theme=dark] .software-table td{border-color:var(--border);color:var(--muted)}html[data-theme=dark] .field input,html[data-theme=dark] .admin-form input,html[data-theme=dark] .admin-form textarea{background:var(--surface-soft);border-color:var(--border);color:var(--ink)}@media (prefers-color-scheme:dark){html[data-theme=system] body,html[data-theme=system] .portal-layout,html[data-theme=system] .portal-main{color:var(--ink);background-color:#09101e}html[data-theme=system] .portal-sidebar,html[data-theme=system] .mobile-header,html[data-theme=system] .software-card,html[data-theme=system] .catalog-stat,html[data-theme=system] .search-box,html[data-theme=system] .category-scroll button,html[data-theme=system] .admin-summary>div,html[data-theme=system] .admin-panel,html[data-theme=system] .admin-modal,html[data-theme=system] .card{background:var(--surface);border-color:var(--border);color:var(--ink)}}@media (max-width:1100px){.portal-sidebar{transition:transform .2s;transform:translate(-105%);box-shadow:18px 0 45px #0a19342e}.portal-sidebar.is-open{transform:translate(0)}.mobile-close{color:#617087;cursor:pointer;background:0 0;border:0;place-items:center;width:36px;height:36px;display:grid}.mobile-close svg{width:19px}.sidebar-overlay{z-index:20;background:#08142b73;border:0;display:block;position:fixed;inset:0}.portal-main{margin-left:0}.mobile-header{z-index:15;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-bottom:1px solid #e5e9f0;justify-content:space-between;align-items:center;height:68px;padding:0 1rem;display:flex;position:sticky;top:0}.mobile-header img{width:160px;height:auto}.portal-content{padding:2rem 1rem}.admin-toolbar{grid-template-columns:1fr 1fr}.admin-toolbar .search-box{grid-column:1/-1}}@media (max-width:1650px) and (min-width:1101px){.software-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1100px){.software-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.page-heading{display:grid}.catalog-stat{display:none}.page-heading h1{font-size:2rem}.software-grid{grid-template-columns:minmax(0,1fr)}.category-scroll{display:none}.category-select{display:block}.admin-heading .solid-button{width:100%}.admin-summary{grid-template-columns:1fr}.admin-summary>div{justify-content:space-between}.admin-toolbar{grid-template-columns:1fr}.admin-toolbar .search-box{grid-column:auto}.form-grid{grid-template-columns:1fr}.admin-modal{max-height:calc(100dvh - 1rem)}.modal-backdrop{padding:.5rem}.auth-shell{padding:1rem}.card{border-radius:1.2rem;padding:1.4rem}.brand img{width:min(100%,260px)}}@media (max-width:760px){.settings-grid{grid-template-columns:1fr}.secret-notice{align-items:stretch}.secret-notice code{overflow-wrap:anywhere}.users-table-wrap{display:none}.users-mobile-list{gap:.85rem;padding:1rem;display:grid}.users-panel{overflow:visible}.user-mobile-card{border:1px solid var(--border);background:var(--surface);border-radius:.9rem;min-width:0;padding:1rem}.user-mobile-head{justify-content:space-between;align-items:flex-start;gap:.75rem;min-width:0;display:flex}.user-mobile-head>div{min-width:0}.user-mobile-head strong,.user-mobile-head span{overflow-wrap:anywhere;display:block}.user-mobile-head span{color:var(--text-tertiary);margin-top:.2rem;font-size:.78rem}.user-mobile-card dl{gap:.8rem;margin:1rem 0;display:grid}.user-mobile-card dl>div{gap:.4rem;min-width:0;display:grid}.user-mobile-card dt{color:var(--text-tertiary);letter-spacing:.05em;text-transform:uppercase;font-size:.7rem;font-weight:800}.user-mobile-card dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.user-mobile-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.user-mobile-actions button{border:1px solid var(--border);background:var(--surface-soft);min-width:0;min-height:44px;color:var(--text-secondary);cursor:pointer;overflow-wrap:anywhere;border-radius:.65rem;padding:.55rem .35rem;font-size:.72rem;font-weight:750}.user-mobile-actions button.danger{color:#b42338}.user-mobile-actions button:disabled{cursor:not-allowed;opacity:.5}}.theme-brand{align-items:center;max-width:100%;display:inline-grid}.theme-brand>img{object-fit:contain;grid-area:1/1;width:100%;height:auto;display:block}.theme-brand-dark,html[data-theme=dark] .theme-brand-light{visibility:hidden}html[data-theme=dark] .theme-brand-dark{visibility:visible}@media (prefers-color-scheme:dark){html[data-theme=system] .theme-brand-light{visibility:hidden}html[data-theme=system] .theme-brand-dark{visibility:visible}}.brand .theme-brand{width:min(100%,320px)}.sidebar-brand .theme-brand{width:214px}.mobile-header .theme-brand{width:160px}body,.portal-layout,.portal-main{color:var(--ink);background-color:var(--page)}.portal-layout{background:var(--page)}.portal-sidebar,.mobile-header,.software-card,.catalog-stat,.search-box,.category-scroll button,.admin-summary>div,.admin-panel,.admin-modal,.card,.settings-card,.icon-button{border-color:var(--border);background:var(--surface);color:var(--ink)}.page-heading h1,.software-card h2,.software-table td:first-child strong,.profile-form-heading h2{color:var(--ink)}.page-heading>div>p:last-child,.software-card>p,.subtitle,.security-note{color:var(--text-secondary)}.sidebar-kicker,.sidebar-user span,.category-label,.version-label,.catalog-stat span,.admin-summary span,.software-table td:first-child span,.software-table code,.empty-table{color:var(--text-tertiary)}.search-box input,.plain-input{color:var(--ink)}.search-box input::placeholder,.plain-input::placeholder,.admin-form input::placeholder,.admin-form textarea::placeholder{color:var(--text-tertiary);opacity:1}.search-box svg{color:var(--text-tertiary)}.portal-nav a{color:var(--text-secondary)}.portal-nav a:hover,.portal-nav a:focus-visible{background:var(--hover);color:var(--afu-blue)}.portal-nav a.active{background:var(--nav-active-bg);color:var(--nav-active-fg);box-shadow:inset 3px 0 var(--afu-blue)}.nav-logout{color:var(--text-secondary)}.sidebar-user{border-color:var(--border)}.software-table th{background:var(--surface-soft);color:var(--text-secondary)}.software-table td{border-color:var(--border);color:var(--text-secondary)}.row-actions button,.ghost-button{border-color:var(--border);background:var(--surface);color:var(--text-secondary)}.ghost-button:hover{background:var(--hover);color:var(--ink)}.field input,.admin-form input,.admin-form textarea{border-color:var(--border);background:var(--surface-soft);color:var(--ink)}.admin-form label>span{color:var(--ink)}.custom-select-trigger{border-color:var(--border);background:var(--surface);min-width:0;height:40px;min-height:40px;color:var(--ink);box-shadow:none;border-radius:.68rem;gap:.65rem;padding:0 .72rem 0 .8rem;transition:border-color .15s,background-color .15s,box-shadow .15s}.custom-select-trigger:hover{background:var(--hover);border-color:#8797af}.custom-select-trigger:focus-visible{border-color:var(--afu-blue);box-shadow:0 0 0 3px var(--focus);outline:0}.custom-select-trigger[data-state=open]{border-color:var(--afu-blue);box-shadow:0 0 0 3px var(--focus)}.custom-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select-chevron{color:var(--text-secondary);flex:none;place-items:center;transition:transform .18s;display:grid}.custom-select-trigger[data-state=open] .custom-select-chevron{transform:rotate(180deg)}.select-chevron{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.select-chevron-up{transform:rotate(180deg)}.custom-select-content{z-index:150;min-width:var(--radix-select-trigger-width);border-color:var(--border);background:var(--surface);width:max-content;max-width:min(92vw,430px);color:var(--ink);box-shadow:0 18px 48px var(--shadow);transform-origin:var(--radix-select-content-transform-origin);border-radius:.72rem}.custom-select-content[data-state=open]{animation:.16s cubic-bezier(.2,.8,.2,1) select-open}.custom-select-content[data-state=closed]{animation:.12s ease-in select-close}.custom-select-viewport{max-height:min(320px, var(--radix-select-content-available-height));padding:.3rem}.custom-select-item{min-height:38px;color:var(--text-secondary);cursor:default;padding:.52rem 2.2rem .52rem .7rem}.custom-select-item[data-highlighted]{background:var(--hover);color:var(--ink)}.custom-select-item[data-state=checked]{background:var(--active);color:var(--afu-blue)}.custom-select-item[data-disabled]{opacity:.45}.custom-select-check{place-items:center;width:17px;height:17px;display:grid;right:.7rem}.custom-select-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.custom-select-scroll{background:var(--surface-soft);height:26px;color:var(--text-secondary)}@keyframes select-close{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(-3px)scale(.985)}}.profile-content{max-width:1180px}.profile-tabs{border-bottom:1px solid var(--border);scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain;gap:.35rem;margin-bottom:1rem;padding:0 .2rem;display:flex;overflow:auto hidden}.profile-tabs::-webkit-scrollbar{display:none}.profile-tabs button{min-height:46px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;flex:none;padding:.7rem 1rem;font-weight:750;position:relative}.profile-tabs button:after{content:"";background:0 0;border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:.65rem;right:.65rem}.profile-tabs button:hover{color:var(--ink);background:var(--hover)}.profile-tabs button.active{color:var(--afu-blue)}.profile-tabs button.active:after{background:var(--afu-blue)}.profile-panel{overflow:hidden}.profile-form{width:min(100%,820px);min-height:390px}.profile-form-heading{border-bottom:1px solid var(--border);padding-bottom:1rem}.profile-form-heading h2{margin:0;font-size:1.1rem}.profile-form-heading p{color:var(--text-secondary);margin:.35rem 0 0;font-size:.8rem}.profile-meta{border:1px solid var(--border);background:var(--surface-soft);border-radius:.75rem;padding:.85rem 1rem}.profile-meta dt{color:var(--text-secondary)}.profile-meta dd{color:var(--ink)}.profile-actions{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:.65rem;padding-top:1rem;display:flex}.password-control{position:relative;display:block!important}.password-control input{padding-right:3rem}.password-control button{width:34px;height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:.5rem;place-items:center;display:grid;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.password-control button:hover{background:var(--hover);color:var(--ink)}.profile-error{margin:0 0 1rem}html[data-theme=dark] .source-badge.external,html[data-theme=dark] .status-toggle.draft{color:#d0dbeb;background:#263752}html[data-theme=dark] .source-badge.upload{color:#ddd7ff;background:#302c55}html[data-theme=dark] .status-toggle.published{color:#9ee7cb;background:#143e35}@media (prefers-color-scheme:dark){html[data-theme=system] .source-badge.external,html[data-theme=system] .status-toggle.draft{color:#d0dbeb;background:#263752}html[data-theme=system] .source-badge.upload{color:#ddd7ff;background:#302c55}html[data-theme=system] .status-toggle.published{color:#9ee7cb;background:#143e35}}@media (max-width:1100px){.mobile-header{background:var(--surface)}@supports (color:color-mix(in lab, red, red)){.mobile-header{background:color-mix(in srgb, var(--surface) 94%, transparent)}}.mobile-header{border-color:var(--border)}.sidebar-brand .theme-brand{width:205px}}@media (max-width:620px){.brand .theme-brand{width:min(100%,280px)}.profile-tabs{flex-wrap:wrap;padding:0;overflow:visible}.profile-tabs button{flex:130px;min-height:44px;padding:.65rem .55rem}.profile-form{min-height:0;padding:1rem}.profile-actions{grid-template-columns:1fr;display:grid}.profile-actions .solid-button,.profile-actions .ghost-button{width:100%}}.login-page{background:var(--page);grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);min-height:100dvh;display:grid}.login-visual{isolation:isolate;background:#071833 linear-gradient(135deg,#071833,#123c77);min-width:0;min-height:0;position:relative;overflow:hidden}.login-visual-image{z-index:-3;object-fit:cover;object-position:51% center}.login-visual-shade{z-index:-2;background:linear-gradient(115deg,#04122bf0 0%,#08244ebd 52%,#081a35b8 100%);position:absolute;inset:0}.login-visual:after{z-index:-1;content:"";background:radial-gradient(circle at 18% 78%,#4b8eff3d,#0000 30rem);position:absolute;inset:0}.login-visual-content{color:#fff;flex-direction:column;justify-content:flex-end;width:min(78%,720px);min-height:100%;margin:0 auto;padding:clamp(3rem,8vh,7rem) 0;animation:.55s cubic-bezier(.2,.8,.2,1) both login-rise;display:flex}.login-hero-label{color:#a9c9ff;letter-spacing:.18em;text-transform:uppercase;margin:1.3rem 0 .9rem;font-size:.82rem;font-weight:850}.login-visual-content h2{letter-spacing:-.04em;text-wrap:balance;max-width:650px;margin:0;font-size:clamp(2.1rem,3vw,3.75rem);line-height:1.08}.login-visual-content>p:last-child{color:#ebf2ffd1;max-width:590px;margin:1.25rem 0 0;font-size:clamp(.98rem,1.2vw,1.15rem);line-height:1.65}.login-network-mark{width:76px;height:42px;display:block;position:relative}.login-network-mark:before,.login-network-mark:after{content:"";background:#8ab8ffb8;height:2px;position:absolute;top:19px}.login-network-mark:before{width:55px;left:10px}.login-network-mark:after{width:2px;height:20px;left:37px;transform:translateY(-9px)}.login-network-mark i{z-index:1;background:#103b93;border:2px solid #a9c9ff;border-radius:50%;width:10px;height:10px;position:absolute;box-shadow:0 0 0 4px #4c8bf529}.login-network-mark i:first-child{top:15px;left:4px}.login-network-mark i:nth-child(2){top:0;left:33px}.login-network-mark i:nth-child(3){bottom:0;left:33px}.login-network-mark i:nth-child(4){top:15px;right:4px}.login-panel{background:var(--surface);place-items:center;min-width:0;padding:clamp(2rem,5vw,5.5rem);display:grid}.login-card{width:min(100%,460px);animation:.48s cubic-bezier(.2,.8,.2,1) 80ms both login-rise}.login-brand{justify-content:center;margin-bottom:clamp(2rem,6vh,3.8rem);display:flex}.login-brand .theme-brand{width:min(100%,300px)}.login-brand .theme-brand>img{image-rendering:auto}.login-card .title{font-size:clamp(2rem,3vw,2.65rem)}.login-form .field{margin-top:1.15rem}.login-form .field input{background:var(--surface-soft);min-height:52px}.login-form input::placeholder{color:var(--text-tertiary);opacity:.72}.login-password-control{display:block;position:relative}.login-password-control input{padding-right:3.4rem}.login-password-control button{width:40px;height:40px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:.65rem;place-items:center;display:grid;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.login-password-control button:hover{background:var(--hover);color:var(--ink)}.login-password-control button:focus-visible{outline:3px solid var(--focus);outline-offset:0}.login-password-control svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.login-form .primary-button{min-height:52px;margin-top:1.5rem}.login-security{margin-top:1.6rem}html[data-theme=dark] .login-panel{background:#0d1728}html[data-theme=dark] .login-card .error{color:#ffb8ca;background:#351923;border:1px solid #713247}@media (prefers-color-scheme:dark){html[data-theme=system] .login-panel{background:#0d1728}html[data-theme=system] .login-card .error{color:#ffb8ca;background:#351923;border:1px solid #713247}}@keyframes login-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media (max-width:1100px){.login-page{grid-template-columns:minmax(0,1fr) minmax(390px,.9fr)}.login-visual-content{width:84%}.login-panel{padding:2rem}.login-visual-content h2{font-size:clamp(1.8rem,3.5vw,3.1rem)}}@media (max-width:820px){.login-page{min-height:100dvh;display:block}.login-visual{display:none}.login-panel{min-height:100dvh;padding:clamp(1.5rem,6vw,3.5rem)}.login-card{width:min(100%,500px)}.login-brand{margin-bottom:2rem}}@media (max-width:620px){.login-panel{min-height:100dvh;padding:1.35rem 1.2rem 1.75rem}.login-brand{margin-bottom:1.45rem}.login-brand .theme-brand{width:min(100%,250px)}.login-card .title{font-size:1.85rem}.login-card .subtitle{margin-bottom:1.25rem}}@media (max-width:360px),(max-height:640px) and (max-width:820px){.login-panel{place-items:start center;min-height:100dvh;padding:1rem}.login-brand{margin-bottom:1rem}.login-brand .theme-brand{width:min(100%,215px)}.login-card .eyebrow{font-size:.65rem}.login-card .title{font-size:1.6rem}.login-card .subtitle{margin-bottom:.8rem;font-size:.84rem}.login-form .field{margin-top:.75rem}.login-security,.login-card .footer{margin-top:1rem}}@media (prefers-reduced-motion:reduce){.login-card,.login-visual-content{animation:none}.login-page *,.login-page :before,.login-page :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
