:root{
  --bg:#071a2f;
  --bg2:#0c2742;
  --panel:#f7fafc;
  --panel-soft:#eaf1f7;
  --ink:#122033;
  --muted:#5d6d7d;
  --brand:#1d5fa8;
  --accent:#14957f;
  --gold:#d8a642;
  --bad:#b42318;
  --ok:#067647;
  --line:#cdd8e4;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    linear-gradient(180deg,rgba(7,26,47,.94),rgba(7,26,47,.9)),
    url("/static/AirWitnessWebsiteBanner.png") center top/cover fixed,
    var(--bg);
  color:var(--ink);
}
a{color:#0b5cad;font-weight:700;text-decoration:none}
header{
  background:rgba(5,18,35,.9);
  color:#fff;
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
}
.brand{font-size:23px;font-weight:900;letter-spacing:0}
.tagline{font-size:13px;color:#bdd2e6}
.nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.nav a,.nav button{
  color:#fff;
  background:#12375d;
  border:1px solid #315c83;
  border-radius:8px;
  padding:8px 12px;
  font-weight:800;
  cursor:pointer;
}
.nav a:hover,.nav button:hover{background:#1b4d7c}
.nav form{margin:0}
.wrap{max-width:1120px;margin:20px auto;padding:0 16px}
.storage-bar{
  position:relative;
  height:28px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  overflow:hidden;
  margin-top:14px;
}
.storage-bar span{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
}
.storage-fill{height:100%;background:linear-gradient(90deg,#2176bd,#14957f,#d8a642)}
.hero,.card{
  background:rgba(247,250,252,.96);
  border:1px solid rgba(255,255,255,.7);
  border-radius:8px;
  padding:22px;
  box-shadow:0 16px 38px rgba(0,0,0,.18);
}
.hero{margin-bottom:18px}
.hero.banner{
  min-height:310px;
  padding:0;
  background:url("/static/AirWitnessWebsiteBanner.png") center/cover;
  border-color:rgba(255,255,255,.24);
}
.hero.narrow{max-width:420px}
.drop-hero{display:flex;gap:18px;align-items:center}
.drop-logo{
  width:150px;
  aspect-ratio:1;
  flex:0 0 auto;
  border-radius:8px;
  background:url("/static/AirWitnessWebsiteBanner.png") left center/cover;
  border:1px solid var(--line);
}
.eyebrow{
  margin:0 0 8px;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;align-items:center}
.quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.section-head{
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin:24px 0 10px;
}
.section-head h2{color:#fff;margin-bottom:4px}
.section-head .muted{color:#c5d6e6;margin:0}
h1,h2,h3{margin-top:0;letter-spacing:0}
h1{font-size:36px}
.muted{color:var(--muted)}
.meta{color:#6d7885;font-size:13px}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:rgba(247,250,252,.98);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  margin-top:16px;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}
th,td{text-align:left;border-bottom:1px solid var(--line);padding:11px;vertical-align:top}
th{background:#dfe9f2;color:#15263a}
tr:last-child td{border-bottom:0}
label{display:block;margin-bottom:12px;font-weight:700}
input,select,textarea{
  width:100%;
  padding:10px;
  border:1px solid #b9c7d5;
  border-radius:8px;
  background:#fff;
  font:inherit;
}
textarea{resize:vertical}
button,.btn{
  display:inline-block;
  border:0;
  border-radius:8px;
  background:var(--brand);
  color:#fff!important;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.btn.secondary,button.secondary{background:#315c83}
button.warn,.btn.warn{background:var(--bad)}
button:hover,.btn:hover{filter:brightness(1.08)}
button:disabled{cursor:not-allowed;filter:grayscale(.4);opacity:.55}
form.inline{display:inline}
.row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.row>*{flex:1;min-width:220px}
.upload-panel{
  background:#eef5fb;
  border:1px solid var(--line);
  border-radius:8px;
  padding:16px;
  max-width:680px;
}
.tool-list{display:grid;gap:14px}
.tool-card{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.action-cell{min-width:280px}
.check{display:flex;gap:8px;align-items:center}
.check input{width:auto}
.error{background:#fee4e2;color:#7a271a;border:1px solid #fecdca;padding:10px;border-radius:8px}
.ok{background:#e8f5e9;color:#1b5e20;border:1px solid #c8e6c9;padding:10px;border-radius:8px}
.success{background:#d1fadf;color:#054f31;border:1px solid #abefc6;padding:10px;border-radius:8px}
code{background:#e8eef5;padding:2px 5px;border-radius:4px}

@media (max-width:760px){
  header{align-items:flex-start;flex-direction:column}
  .section-head,.tool-card{display:block}
  .drop-hero{display:block}
  .drop-logo{width:120px;margin-bottom:14px}
  .hero.banner{min-height:250px}
  table{display:block;overflow-x:auto}
  button,.btn{margin-top:4px}
}
