/* SatFiles V2: compact, accessible, mobile-first catalog */
:root{--deep:#10232c;--accent:#c5ec70;--paper:#f6f7f3;--ink:#14202a;--line:#e2e8e6}
.site-header{min-height:66px}.site-header .brand-name{font-size:21px}.site-header .nav-items{gap:18px}
.hero-inner{min-height:0}.hero-copy{padding:35px 0 37px;max-width:850px}
.hero h1{font-size:clamp(29px,4.1vw,46px);margin:13px 0 10px;letter-spacing:-.7px;line-height:1.32}
.hero-desc{font-size:14px;line-height:1.9;margin-bottom:17px;max-width:730px}
.hero-art{width:220px;min-width:220px;height:220px;opacity:.23;margin-left:0}
.hero-search{height:57px;width:min(700px,100%);border-radius:10px}.hero-search button{min-height:43px}
.hero-meta{margin-top:10px;font-size:11px}.features-content{padding:10px 0}.features-bar{background:#eef2e8}
.library-section{padding-top:30px}.section-top{margin-bottom:17px}.section-top h2{font-size:clamp(23px,3vw,29px);margin:5px 0}
.record-counter span{font-size:30px}.filters-bar{flex-wrap:wrap;gap:12px 16px;align-items:center;padding:13px 0;margin-bottom:14px}
.filter-wrap{gap:7px;display:flex;flex-direction:column;align-items:flex-start}
.filter-wrap select{height:43px;min-width:140px;max-width:220px;font-size:13px}
.filter-wrap label{font-size:12px}.filter-wrap select:focus-visible,.hero-search:focus-within{outline:2px solid #8aba49;outline-offset:2px}
.brand-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:4px 0 15px;white-space:nowrap}
.brand-chip{border:1px solid #dbe4db;background:#fff;color:#42564b;padding:7px 13px;min-height:40px;border-radius:100px;font-size:13px;font-weight:700}
.brand-chip.is-active{background:#20382f;color:#fff;border-color:#20382f}
.updates-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.update-card{padding:17px 18px;min-height:0;border-radius:12px;box-shadow:none}
.card-top{margin-bottom:9px}.model-title{font-size:18px;min-height:0;margin:0 0 9px;text-wrap:pretty}
.hw-row,.version-row{padding:7px 0}.card-notes{margin:8px 0 12px;-webkit-line-clamp:2;line-clamp:2;flex:0 1 auto}
.download-button{padding:10px 12px;min-height:44px}
.safety-note{padding:15px 18px;margin-bottom:33px}.footer{padding:18px 0 24px}
.filter-toggle{display:none}.filter-status-text{font-size:12px;color:#71818a}
body :is(a,button,input,select,textarea):focus-visible{outline:2px solid #81b13a;outline-offset:3px}
@media(max-width:880px){.updates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{display:none}.hero-copy{width:100%}}
@media(max-width:620px){
.container{width:min(100% - 28px,1180px)}
.site-header{min-height:62px}.site-header .nav-items{gap:10px}.nav-items>a,.nav-items>span{font-size:12px}.site-header .nav-items>a[href="#library"]{display:none}
.hero-copy{padding:25px 0 27px}.hero h1{font-size:32px;margin:9px 0}.hero-desc{font-size:13px;line-height:1.8;margin-bottom:15px}
.hero-search{height:54px;padding:5px;gap:3px}.search-symbol{font-size:26px;padding:0 6px}.hero-search input{font-size:13px}.hero-search button{padding:8px 13px}
.hero-meta{gap:11px;font-size:10px}.features-bar{display:none}
.library-section{padding-top:20px}.section-top{align-items:center;gap:10px}.section-top h2{font-size:22px}.section-desc{font-size:12px}.record-counter span{font-size:26px}
.filter-toggle{display:inline-flex;gap:8px;justify-content:center;align-items:center;border:1px solid #d8e1dc;border-radius:9px;background:white;min-height:43px;padding:8px 15px;font-weight:700;color:#20382f}
.filters-bar{padding:10px 0;margin-bottom:8px;display:none}.filters-bar.is-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.filters-bar .filter-wrap select{width:100%;min-width:0;max-width:none}
.filters-bar .filter-indicator{display:none}.filters-bar .clear-button{justify-self:start}
.brand-chips{padding:6px 0 12px}.updates-grid{grid-template-columns:1fr;gap:11px}.update-card{padding:15px;min-height:0}.model-title{font-size:18px}.card-notes{font-size:12px}
.safety-note{gap:10px;margin-bottom:23px}.footer{gap:8px}
.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-table{min-width:0}.admin-table thead{display:none}.admin-table tr{display:grid;border-bottom:1px solid var(--line);padding:10px 6px}.admin-table td{padding:4px 9px;border:0}.admin-table td:last-child{display:flex;gap:6px}.row-action{min-height:38px}
}

/* SatFiles V2: dashboard and accessibility refinements */
@media(min-width:621px){.filter-toggle{display:none}}
.brand-chip:hover{border-color:#9bbd81;background:#f1f6eb}
.brand-chip.is-active:hover{background:#335446;color:white}
.filter-wrap select:disabled{opacity:.55}
.update-card:focus-within{border-color:#8aaf73;box-shadow:0 0 0 2px rgba(138,175,115,.15)}
@media(max-width:620px){
.login-wrap{padding:16px}
.login-card{padding:26px 20px}
.dashboard{display:block}
.dashboard-sidebar{height:auto;position:static;padding:15px;flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}
.dashboard-sidebar .brand{margin:0 auto 0 0}
.sidebar-caption,.sidebar-role{display:none}
.dashboard-sidebar .side-link{padding:9px 8px;margin:0}
.dashboard-sidebar .sidebar-bottom{padding:0;margin:0;border:0}
.dashboard-sidebar .logout-btn{padding:9px}
.dashboard-content{padding:20px 14px}
.dashboard-header h1{font-size:24px}
.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.dashboard-stats>div{padding:11px 9px}
.dashboard-stats strong{font-size:21px}
.admin-columns{display:flex;flex-direction:column}
.manage-panel,.editor-panel{width:100%}
.admin-table{min-width:0}
.admin-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 7px;padding:12px;border-bottom:1px solid var(--line)}
.admin-table td{padding:2px 0}
.admin-table td:first-child{grid-column:1/-1}
.admin-table td:last-child{grid-column:2;grid-row:2/4}
.row-action{min-height:44px;min-width:54px;margin:0 2px}
}

/* Mobile refinements: keep the approved V2 identity and reduce long-form fatigue. */
#model,#hardware,#version,#mediafire_url,#sha256{direction:ltr;text-align:left;unicode-bidi:plaintext}
#release_date{direction:ltr;text-align:left}
@media(max-width:620px){
 .editor-panel form{padding:16px}
 .editor-panel .field-grid{margin-bottom:13px}
 .editor-panel .field-label{margin-bottom:5px}
 .editor-panel input:not([type=checkbox]){min-height:46px}
 .editor-panel textarea{min-height:78px}
 .editor-panel .publish-row{margin-bottom:8px}
 .editor-panel .form-actions{margin-top:10px}
 .safety-note{padding:12px 14px;gap:10px}
 .safety-note p{font-size:12px;line-height:1.75}
 .safety-note strong{font-size:13px}
}

/* SatFiles V3: small, deliberate CSV draft import panel. */
.v3-import-panel{margin-top:20px}
.v3-import-body{padding:18px 22px;display:grid;gap:12px;max-width:100%}
.v3-import-body p{margin:0;font-size:13px;line-height:1.75;color:#52645a}
.v3-import-body code{display:inline-block;white-space:normal;overflow-wrap:anywhere;color:#1f372b}
.v3-import-body input[type=file]{width:100%;max-width:100%;min-height:44px}
.v3-preview-list{margin:0;padding-inline-start:25px;display:grid;gap:6px}
.v3-preview-list li{font-size:12px;overflow-wrap:anywhere;padding:5px;border-bottom:1px solid #e3e9e4}
.v3-import-body button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:620px){.v3-import-panel{margin-top:12px}.v3-import-body{padding:15px;gap:10px}.v3-import-body .primary-btn{width:100%;min-height:46px}}
