:root{font-family:system-ui,sans-serif;color:#182534;background:#eef2f6}body{margin:0}main{max-width:1050px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between}h1{font-size:26px}small{font-size:15px;color:#526479;font-weight:400}section{background:white;padding:24px;border-radius:12px;margin:20px 0}article{padding:16px 0;border-top:1px solid #dce3eb}label{display:block;margin:12px 0;font-weight:500}input,select,textarea,button{font:inherit;padding:10px;border:1px solid #a7b8c9;border-radius:6px;box-sizing:border-box}input,textarea{display:block;width:100%;max-width:600px;margin-top:5px}select{margin-left:12px}button{background:#174f83;color:white;cursor:pointer;margin:8px 12px 8px 0}code{overflow-wrap:anywhere;font-size:13px}h3 code{font-size:16px}a{color:#174f83}[role=alert],[role=status]{padding:14px;background:#fff2cb;border-radius:6px}.login{max-width:430px;margin:50px auto}
.stats{display:flex;flex-wrap:wrap;gap:12px}.stats p{flex:1;min-width:150px;padding:14px;background:#eef2f6;border-radius:8px}.stats strong{display:block;font-size:28px;margin-top:8px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #dce3eb}
/* Application palette: UposAppearance.blue */
:root{--ink:#1a3148;--accent:#347cb8;--muted:#5b6a78;--paper:#e7f3fd;--border:#bfd9f0;color:var(--ink);background:var(--paper)}
button{background:var(--accent)}a{color:var(--accent)}
.auth-page{min-height:100svh;background:radial-gradient(ellipse at 50% 42%,#f8fcff 0%,var(--paper) 72%);color:var(--ink)}
.auth-page main{min-height:100svh;display:grid;place-items:center;box-sizing:border-box;padding:32px 24px}
.auth-card{width:100%;max-width:328px;padding:0;margin:0;background:none;border-radius:0}
.auth-mark{display:flex;align-items:flex-end;gap:4px;height:26px;margin-bottom:30px}
.auth-mark span{display:block;width:5px;background:var(--accent)}.auth-mark span:nth-child(1){height:12px;opacity:.35}.auth-mark span:nth-child(2){height:19px;opacity:.65}.auth-mark span:nth-child(3){height:26px}
.auth-card h1{font-size:24px;font-weight:600;letter-spacing:-.7px;line-height:1.35;margin:0 0 38px}.auth-card h1 span{display:block;font-size:12px;font-weight:400;letter-spacing:3.2px;color:var(--muted);margin-top:6px}
.auth-card label{font-size:11px;font-weight:500;letter-spacing:1.5px;color:var(--muted);margin:24px 0 8px}
.auth-card input{width:100%;height:48px;background:#f1f8fe;border:1px solid var(--border);border-radius:4px;color:var(--ink);padding:0 14px;font-size:16px;margin:0;transition:border-color .15s,box-shadow .15s}
.auth-card input:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #347cb81a}
.auth-card button{display:flex;justify-content:space-between;align-items:center;width:100%;height:48px;margin:30px 0 0;padding:0 16px;border:1px solid var(--accent);border-radius:4px;font-size:12px;letter-spacing:1px;background:var(--accent);color:white;transition:background .15s}
.auth-card button:hover{background:#28689d}.auth-card button:focus-visible{outline:2px solid var(--ink);outline-offset:4px}.auth-card button span{font-size:20px;line-height:1}
.auth-card [role=alert]{font-size:13px;background:#fff4ef;color:#8b3b27;border-left:2px solid #c26b50;padding:12px;border-radius:2px}
@media(prefers-reduced-motion:reduce){.auth-card input,.auth-card button{transition:none}}
/* Dashboard shares the login's quiet surfaces and precise controls. */
.dashboard{background:radial-gradient(ellipse at 50% 0,#f8fcff 0,var(--paper) 75%);min-height:100svh;font-size:14px;line-height:1.6}
.dashboard main{max-width:1120px;padding:44px 32px 64px;box-sizing:border-box}
.dashboard header{padding:0 0 30px;margin-bottom:32px;border-bottom:1px solid var(--border);gap:20px}
.panel-brand{display:flex;align-items:center;gap:17px}.panel-brand .auth-mark{margin:0;flex-shrink:0}
.panel-brand h1{font-size:22px;font-weight:600;letter-spacing:-.7px;line-height:1.25;margin:0}.panel-brand h1 span{display:block;font-size:10px;font-weight:400;letter-spacing:3px;color:var(--muted);margin-top:6px}
.dashboard header form{margin:0}.dashboard header button{background:transparent;color:var(--muted);border-color:var(--border);margin:0;min-height:38px;padding:0 15px}
.dashboard section{background:transparent;border:1px solid var(--border);border-radius:4px;margin:0 0 24px;padding:28px;min-width:0}
.dashboard h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0 0 24px;line-height:1.4}.dashboard h2 small{font-size:12px;margin-left:8px;color:var(--muted)}
.dashboard h3{font-size:13px;font-weight:600;margin:24px 0 12px}.dashboard h3 code{font-size:12px;font-weight:400}
.dashboard p{color:var(--muted);font-size:12px;line-height:1.75;margin:14px 0}.dashboard section>p:last-child{margin-bottom:0}
.dashboard .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--border);padding-bottom:24px;margin-bottom:20px}
.dashboard .stats p{background:transparent;border-radius:0;padding:0 20px;margin:0;border-left:1px solid var(--border);min-width:0;font-size:11px;line-height:1.5}
.dashboard .stats p:first-child{border-left:0;padding-left:0}.dashboard .stats p:last-child{padding-right:0}
.dashboard .stats strong{font-size:36px;line-height:1.2;font-weight:500;letter-spacing:-1.5px;color:var(--ink);margin-top:12px;font-variant-numeric:tabular-nums}
.dashboard th,.dashboard td{font-size:12px;padding:12px 10px;border-color:var(--border);vertical-align:top}.dashboard th{font-size:10px;font-weight:500;letter-spacing:.3px;color:var(--muted)}.dashboard td{color:var(--ink)}.dashboard th:first-child,.dashboard td:first-child{padding-left:0}
.dashboard label{font-size:11px;letter-spacing:.4px;color:var(--muted);font-weight:500;margin:16px 0 8px}
.dashboard input,.dashboard textarea,.dashboard select{color:var(--ink);background:#f1f8fe;border:1px solid var(--border);border-radius:4px;font-size:14px;line-height:1.4;padding:11px 12px;max-width:none;width:100%;display:block;margin:8px 0 0;min-width:0}
.dashboard input:not([type=hidden]),.dashboard select{min-height:44px}.dashboard textarea{resize:vertical}
.dashboard input:focus-visible,.dashboard select:focus-visible,.dashboard textarea:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #347cb81a}
.dashboard button{background:var(--accent);border:1px solid var(--accent);border-radius:4px;padding:11px 16px;font-size:12px;font-weight:500;line-height:1.5;min-height:44px;margin:12px 0 0}
.dashboard button:hover{background:#28689d;color:white}.dashboard button:focus-visible,.dashboard a:focus-visible,.dashboard summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.dashboard a{font-size:12px;text-underline-offset:4px}.dashboard .search-form{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.dashboard .search-form label{flex:1;max-width:360px;min-width:160px;margin:0}.dashboard .search-form button{margin:0}.dashboard .search-form a{padding:12px 0}
.dashboard article{padding:20px 0;border-color:var(--border)}.dashboard article h3{margin-top:0}.dashboard article:last-child{padding-bottom:0}
.dashboard .installation-form{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.dashboard .installation-form label{min-width:140px;margin:0;flex:1;max-width:220px}.dashboard .installation-form button{margin:0}
.dashboard details{font-size:12px;color:var(--muted)}.dashboard summary{cursor:pointer;width:fit-content}.dashboard details[open] code{display:block;margin-top:10px}.dashboard code{font-size:11px;color:var(--muted)}
.dashboard .release-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.dashboard .release-grid section{margin:0}.dashboard .release-grid section>p:first-of-type{margin-top:-10px}
.dashboard input[type=file]{font-size:12px;padding:8px}.dashboard input[type=file]::file-selector-button{font:inherit;border:0;border-right:1px solid var(--border);background:transparent;color:var(--accent);padding:5px 12px 5px 3px;margin-right:10px;cursor:pointer}
.dashboard .release-notes{white-space:pre-wrap}.dashboard [role=status]{border:1px solid var(--border);border-left:2px solid var(--accent);background:#f1f8fe;border-radius:4px;color:var(--ink);padding:12px 16px;margin:0 0 24px;font-size:12px}
@media(max-width:720px){.dashboard main{padding:28px 18px 40px}.dashboard section{padding:20px}.dashboard .release-grid{grid-template-columns:1fr}.dashboard .stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.dashboard .stats p:nth-child(3){border-left:0;padding-left:0}.dashboard .stats strong{font-size:30px}.dashboard th{min-width:90px}.panel-brand h1{font-size:20px}}
@media(max-width:380px){.dashboard main{padding:24px 12px}.dashboard section{padding:16px}.dashboard .search-form{gap:10px}.dashboard .installation-form label{max-width:none}}
/* Public user cabinet: same visual language, independent authentication. */
.portal .auth-card h1 .brand-spacer{display:block;height:32.4px;margin:0}
.auth-secondary{display:inline-block;margin-top:24px;font-size:12px;color:var(--accent);text-decoration:none}.auth-secondary:hover{text-decoration:underline;text-underline-offset:4px}
.portal .auth-card p{font-size:12px;line-height:1.75;color:var(--muted)}.portal .password-rule{font-size:11px}.portal .portal-login-name{color:var(--ink);font-weight:600}
.portal .password-card{max-width:380px}.portal .password-footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:16px}.portal .password-footer a{font-size:12px}.portal .password-footer form{margin:0}
.portal .password-footer .text-button{background:none;border:0;color:var(--muted);width:auto;height:40px;padding:0 4px;margin:0;font-size:12px;letter-spacing:0}
.catalog-page{background:radial-gradient(ellipse at 50% 40%,#f8fcff 0%,var(--paper) 75%);min-height:100svh}
.catalog-page main{max-width:1120px;min-height:100svh;box-sizing:border-box;padding:30px 32px;display:flex;flex-direction:column}
.catalog-header{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--border);padding-bottom:22px}
.catalog-brand{color:var(--muted);font-size:12px;letter-spacing:3.2px;text-decoration:none}.user-toolbar{display:flex;align-items:center;gap:16px}.user-toolbar .username{font-size:12px;color:var(--ink);overflow-wrap:anywhere}.user-toolbar form{margin:0}.user-toolbar button{height:38px;min-width:64px;background:transparent;border:1px solid var(--border);border-radius:4px;color:var(--muted);font-size:12px;padding:0 14px;margin:0}
.settings-link{display:flex;align-items:center;justify-content:center;width:38px;height:38px;font-size:21px;color:var(--accent);text-decoration:none}
.catalog-page .app-detail{width:100%;max-width:460px;box-sizing:border-box;margin:auto;padding:54px 0 70px;background:none;border:0;text-align:center;border-radius:0}
.app-icon,.app-icon-link img{width:112px;height:112px;object-fit:contain;display:block;border-radius:22px}.app-icon{margin:0 auto 26px}.app-icon-link{display:block;width:112px;margin:0 auto 26px;border-radius:22px}.app-icon-link:hover{outline:1px solid var(--border);outline-offset:8px}
.app-detail h1{font-size:25px;letter-spacing:-.7px;font-weight:600;margin:0 0 9px}.app-detail .app-version{font-size:12px;color:var(--muted);margin:0 0 28px}.app-description{font-size:13px;color:var(--muted);line-height:1.8}.app-description p{margin:0 0 15px}.app-description strong{color:var(--ink);font-weight:600}
.download-button{display:flex;justify-content:space-between;align-items:center;max-width:280px;min-height:48px;box-sizing:border-box;padding:0 18px;background:var(--accent);color:white;border-radius:4px;text-decoration:none;font-size:13px;margin:30px auto 0}.download-button span{font-size:20px}.download-button:hover{background:#28689d}.no-release{font-size:13px;color:var(--muted)}
.portal a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.dashboard .transport-secret{font-size:18px;color:var(--ink);user-select:all}.dashboard .user-management-link h2{margin-bottom:12px}
@media(max-width:520px){.catalog-page main{padding:24px 18px}.catalog-header{gap:10px;flex-wrap:wrap}.user-toolbar{gap:9px;margin-left:auto}.catalog-page .app-detail{padding:40px 6px}.app-description{font-size:12px}.catalog-brand{letter-spacing:2px}}
