:root{
  --panel:rgba(255,255,255,.035);
  --stroke:rgba(255,255,255,.08);
  --stroke2:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.60);
  --gold:#caa24a;
  --r:14px;
  --shadow:0 18px 45px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:
    radial-gradient(55% 40% at 30% 0%, rgba(202,162,74,.09), transparent 60%),
    linear-gradient(180deg, #07070a, #05060b);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  font-size:14px;
  letter-spacing:.1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap{ max-width:760px; margin:0 auto; padding:22px 14px 46px; }
.top{ margin-bottom:12px; }
.title{ font-weight:700; font-size:14px; color:rgba(255,255,255,.92); }

.panel{
  border:1px solid var(--stroke);
  background:var(--panel);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:14px;
}

.sectionTitle{
  font-weight:700;
  font-size:12px;
  color:rgba(255,255,255,.88);
  margin: 2px 0 10px;
}

.divider{ height:1px; background: rgba(255,255,255,.07); margin: 14px 0; }
.stack{ display:flex; flex-direction:column; gap:10px; }

.listRow{
  width:100%;
  text-align:left;
  appearance:none;
  -webkit-appearance:none;
  color: var(--text);
  background-color: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background-color .12s ease;
}
.listRow:hover{
  transform: translateY(-1px);
  border-color: rgba(202,162,74,.22);
  background-color: rgba(0,0,0,.28);
}
.rowText{
  color: var(--text);
  font-weight:650;
  font-size:14px;
  line-height:1.25;
  min-width:0;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.rowChevron{ color: rgba(202,162,74,.95); font-size:20px; line-height:1; flex:0 0 auto; }

.muted{ margin-top:10px; color:var(--muted); font-size:12px; }

.row{ display:flex; gap:10px; align-items:center; }
.row.right{ justify-content:flex-end; }

.input{
  width:100%;
  border-radius:12px;
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.22);
  color:var(--text);
  padding:11px 12px;
  font-size:14px;
  outline:none;
}

.btn{
  border-radius:12px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
  font-weight:700;
  font-size:12px;
  padding:11px 14px;
  white-space:nowrap;
  flex:0 0 auto;
}
.btn:hover{ border-color: rgba(202,162,74,.22); }
.btn.primary{ border-color: rgba(202,162,74,.28); background: rgba(202,162,74,.92); color:#111; }
.btn.ghost{ background: transparent; }

.list{ display:flex; flex-direction:column; gap:10px; margin-top:12px; }

.req{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(0,0,0,.22);
  border-radius:12px;
  padding:12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.reqLeft{ min-width:0; flex:1; display:flex; flex-direction:column; gap:6px; }
.reqTitle{
  color: var(--text);
  font-weight:650;
  font-size:14px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.reqMeta{ color:var(--muted); font-size:12px; }
.reqRight{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; }

.badge{
  font-size:11px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(202,162,74,.22);
  background: rgba(202,162,74,.08);
  color: rgba(202,162,74,.95);
  white-space:nowrap;
}
.badge.ok{ border-color: rgba(120,255,160,.20); background: rgba(120,255,160,.06); color: rgba(160,255,200,.92); }
.badge.no{ border-color: rgba(255,120,120,.22); background: rgba(255,120,120,.07); color: rgba(255,180,180,.92); }

.modal{ position:fixed; inset:0; background: rgba(0,0,0,.66); display:none; padding:16px; }
.modal[aria-hidden="false"]{ display:flex; align-items:center; justify-content:center; }
.modalBox{
  width:min(560px, 100%);
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,16,20,.92);
  box-shadow: 0 26px 80px rgba(0,0,0,.75);
  padding:14px;
}
.modalTitle{ font-weight:750; font-size:14px; margin-bottom:10px; color: var(--text); }

/* ---- Admin Tabs ---- */
.tabs{
  display:flex;
  gap:8px;
  padding:8px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  border-radius: 14px;
  margin-bottom: 12px;
}
.tabBtn{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  font-weight:750;
  font-size:12px;
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
}
.tabBtn:hover{ border-color: rgba(202,162,74,.22); }
.tabBtn.active{
  border-color: rgba(202,162,74,.28);
  background: rgba(202,162,74,.92);
  color:#111;
}
.tabPane{ display:none; }
.tabPane.active{ display:block; }

@media (max-width:520px){
  .wrap{ padding:18px 12px 36px; }
  .panel{ padding:12px; }
  .row{ flex-direction:column; align-items:stretch; }
  .btn{ width:100%; }
  .req{ flex-direction:column; align-items:stretch; }
  .reqRight{ align-items:flex-start; flex-direction:row; gap:10px; }
  .tabs{ flex-wrap:wrap; }
}
