:root{
  --bg:#071525; --panel:#0b1c2d; --panel2:#0a1827; --line:rgba(255,255,255,.10);
  --text:#e8f0ff; --muted:#a9bdd8; --accent:#0059ff; --danger:#ff3b4d; --ok:#3dff9f; --warn:#ffd35c;
  --shadow:0 20px 60px rgba(0,0,0,.35); --radius:16px; --radius2:22px; --max:1140px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
*{box-sizing:border-box} html,body{height:100%}
body{
  margin:0; font-family:var(--sans); color:var(--text);
  background: radial-gradient(1000px 600px at 20% 0%, rgba(0,89,255,.25), transparent 55%),
              radial-gradient(900px 500px at 80% 10%, rgba(0,179,255,.18), transparent 60%),
              linear-gradient(180deg, var(--bg), #050f1a 65%);
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:24px}
.nav{position:sticky; top:0; z-index:50; backdrop-filter:blur(12px); background:rgba(7,21,37,.65); border-bottom:1px solid var(--line)}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 24px; max-width:var(--max); margin:0 auto}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand img{width:38px; height:38px; border-radius:12px}
.nav-links{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.nav-links a{text-decoration:none; color:var(--muted); padding:10px 12px; border-radius:12px}
.nav-links a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; border:none; cursor:pointer; text-decoration:none;
  padding:11px 14px; border-radius:14px; background:rgba(255,255,255,.07); color:var(--text); border:1px solid var(--line)}
.btn.primary{background:linear-gradient(135deg, var(--accent), #2d7bff); border:1px solid rgba(255,255,255,.12)}
.btn.danger{background:rgba(255,59,77,.12); border:1px solid rgba(255,59,77,.35); color:#ffd2d7}
.btn.ok{background:rgba(61,255,159,.10); border:1px solid rgba(61,255,159,.30); color:#c9ffe4}
.btn.warn{background:rgba(255,211,92,.10); border:1px solid rgba(255,211,92,.35); color:#ffe6ad}
.pill{display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid var(--line);
  color:var(--muted); font-size:13px}
.hero{padding:34px 0 22px}
.hero-grid{display:grid; grid-template-columns: 1.25fr .75fr; gap:16px}
.card{background:rgba(11,28,45,.78); border:1px solid var(--line); border-radius:var(--radius2); box-shadow:var(--shadow)}
.card.subtle{background:rgba(10,24,39,.58); box-shadow:none}
.card .pad{padding:22px}
.h1{font-size:44px; line-height:1.06; margin:0 0 12px}
.lead{color:var(--muted); font-size:16px; line-height:1.65; margin:0 0 18px}
.grid{display:grid; gap:14px}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0, 1fr))}
.grid.cols-2{grid-template-columns: repeat(2, minmax(0, 1fr))}
.kpi{padding:16px; border-radius:18px; background:rgba(255,255,255,.05); border:1px solid var(--line)}
.kpi b{display:block; font-size:16px}
.kpi span{color:var(--muted); font-size:13px; line-height:1.4}
.section{padding:28px 0}
.section h2{margin:0 0 12px; font-size:24px}
.section p{margin:0; color:var(--muted); line-height:1.7}
.footer{margin-top:42px; padding:26px 0 40px; border-top:1px solid var(--line); color:var(--muted)}
.footer a{color:var(--muted); text-decoration:none} .footer a:hover{color:var(--text)}
.form{display:grid; gap:12px}
.input, select, textarea{width:100%; border-radius:14px; border:1px solid var(--line); background:rgba(255,255,255,.04); color:var(--text); padding:12px; outline:none}
textarea{min-height:110px; resize:vertical}
label{font-size:13px; color:var(--muted)}
.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.table{width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:rgba(11,28,45,.6)}
.table th,.table td{padding:12px; border-bottom:1px solid var(--line); vertical-align:top; text-align:left}
.table th{font-size:12px; color:var(--muted); letter-spacing:.4px; text-transform:uppercase}
.table tr:last-child td{border-bottom:none}
.badge{font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.05); color:var(--muted)}
.badge.open{border-color:rgba(61,255,159,.35); color:#c9ffe4; background:rgba(61,255,159,.08)}
.badge.paused{border-color:rgba(255,211,92,.35); color:#ffe6ad; background:rgba(255,211,92,.08)}
.badge.closed{border-color:rgba(255,59,77,.35); color:#ffd2d7; background:rgba(255,59,77,.08)}
.badge.pending{border-color:rgba(255,211,92,.35); color:#ffe6ad; background:rgba(255,211,92,.08)}
.badge.accepted{border-color:rgba(61,255,159,.35); color:#c9ffe4; background:rgba(61,255,159,.08)}
.badge.rejected{border-color:rgba(255,59,77,.35); color:#ffd2d7; background:rgba(255,59,77,.08)}
.toast{position:fixed; right:16px; bottom:16px; background:rgba(11,28,45,.92); border:1px solid var(--line); border-radius:16px; padding:12px 14px;
  max-width:380px; box-shadow:var(--shadow); color:var(--text); display:none}
.small{font-size:13px; color:var(--muted)} .mono{font-family:var(--mono)}
.hero-image{width:100%; height:260px; border-radius:22px; border:1px solid var(--line); background: rgba(255,255,255,.02); overflow:hidden;}
.hero-image img{width:100%; height:100%; object-fit:cover; display:block; opacity:.92}
.split{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media (max-width:980px){
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .h1{font-size:34px}
  .nav-links{display:none}
  .hero-image{height:220px}
  .split{grid-template-columns:1fr}
}