:root{
  --bg:#0b1020;
  --card:#111a33;
  --muted:#9fb0d4;
  --text:#e9efff;
  --line:rgba(255,255,255,.12);
  --accent:#4ea1ff;
  --accent2:#6ee7b7;
  --danger:#ff6b6b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --r:16px;
}
*{box-sizing:border-box}
body{
  margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 10% 0%, #17224a 0%, var(--bg) 55%);
  color:var(--text);
}
.top{
  position:sticky; top:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; background: rgba(11,16,32,.72); backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex; gap:12px; align-items:center}
.dot{width:14px; height:14px; border-radius:50%; background: var(--accent2); box-shadow:0 0 0 6px rgba(110,231,183,.15)}
.title{font-weight:700; letter-spacing:.2px}
.subtitle{font-size:12px; color:var(--muted)}
.wrap{padding:16px; max-width:760px; margin:0 auto}
.card{
  background: rgba(17,26,51,.9);
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding:16px;
  margin: 14px 0;
}
.hidden{display:none !important}
h1,h2,h3{margin:0 0 10px 0}
.muted{color:var(--muted)}
.tiny{font-size:12px}
.lbl{display:block; margin: 10px 0 6px 0; font-size:13px; color:var(--muted)}
.inp{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
.row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.row.space{justify-content:space-between}
button, a.secondary{
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid var(--line);
  cursor:pointer;
  background: rgba(0,0,0,.18);
  color: var(--text);
  text-decoration:none;
}
button.primary{
  background: linear-gradient(135deg, rgba(78,161,255,.95), rgba(110,231,183,.8));
  border:0;
  color:#071020;
  font-weight:700;
}
button.secondary{
  background: rgba(255,255,255,.06);
}
button.ghost{
  background: transparent;
}
button:disabled{opacity:.5; cursor:not-allowed}
.flowHead{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.kicker{font-size:12px; color:var(--muted)}
.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid var(--line);
  white-space:nowrap;
}
.reqBox{
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  border:1px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.16);
}
.reqBox ul{margin:8px 0 0 18px}
.photos{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:12px;
}
.thumb{
  width:110px; height:110px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  overflow:hidden;
  position:relative;
}
.thumb img{
  width:100%; height:100%; object-fit:cover;
}
.thumb .x{
  position:absolute; right:6px; top:6px;
  width:28px; height:28px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.55);
  color:#fff; font-weight:700;
}
.sigBox{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: #fff;
}
.sigBox canvas{width:100%; height:260px; display:block; touch-action:none; pointer-events:auto; background:#fff; border-radius:14px; border:1px solid rgba(0,0,0,.12);}
.hr{height:1px; background: var(--line); margin:16px 0}
.jobs{display:flex; flex-direction:column; gap:10px}
.jobItem{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:12px; border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.15);
}
.jobItem .meta{font-size:12px; color:var(--muted)}

.modal{
  position:fixed; inset:0; z-index:50;
  background: rgba(0,0,0,.6);
  display:flex; align-items:center; justify-content:center;
  padding:16px;
}
.modalCard{
  width:min(760px, 100%);
  max-height: min(86vh, 860px);
  overflow:hidden;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(17,26,51,.98);
  box-shadow: var(--shadow);
  display:flex; flex-direction:column;
}
.modalHead{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-bottom:1px solid var(--line);
}
.modalBody{
  padding:12px;
  overflow:auto;
}
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
@media (min-width: 560px){
  .grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.bigImg{
  width:100%;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.2);
}

.modal.hidden{display:none !important}
