:root{
  --bg:#0b1114; --fg:#b6fffa; --sub:#6ee7e0; --accent:#38f5ab; --line:rgba(134,255,217,.18);
}

.ops-login{
  position: relative; min-height: calc(100vh - 60px);
  background: var(--bg); color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Consolas, Monaco, "Liberation Mono", Menlo, monospace;
  display: grid; place-items: center; padding: 24px;
}

.ops-bg{ position: absolute; inset: 0; overflow: hidden; }
.ops-hero{
  position: absolute; inset: 0 40% 0 0; height: 100%; width: auto;
  object-fit: cover; opacity: .6; filter: saturate(1.2);
}
.ops-grid{ position: absolute; inset: 0; pointer-events:none;
  background:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px; mix-blend-mode: soft-light;
}
.ops-crt{ position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(110,231,224,.25), transparent 60%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,0) 2px 6px);
  opacity:.25;
}

/* panel */
.ops-shell{
  position: relative; width: 100%; max-width: 980px;
  display: grid; grid-template-rows: auto 1fr auto;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,18,20,.9), rgba(10,18,20,.75));
  box-shadow: 0 0 0 1px rgba(134,255,217,.08) inset, 0 0 36px rgba(92,255,219,.12);
  border-radius: 12px; overflow: hidden;
}

/* header */
.ops-head{ display:flex; align-items:center; gap:12px; padding:14px 16px;
  border-bottom:1px solid var(--line);
  background: linear-gradient(180deg, rgba(17,28,30,.65), rgba(12,20,22,.5));
}
.ops-led{ width:10px; height:10px; border-radius:50%; background:#2dd4bf; box-shadow:0 0 10px #2dd4bf; }
.ops-title{ font-weight:700; color:var(--sub); letter-spacing:.12em; text-transform:uppercase; }
.ops-tag{ margin-left:auto; color:#8af9e8; font-size:12px; border:1px solid currentColor; padding:2px 8px; border-radius:14px; }

/* body (FLEX now) */
.ops-body{
  display:flex; gap: 24px; padding: 20px;
  align-items: flex-start;
}
.ops-brief{ flex: 1 1 0; min-width: 0; }
.ops-brief-title{ color: var(--fg); margin: 0 0 8px; font-size: 16px; }
.ops-brief-copy{ color:#9af1ffb5; margin: 0 0 12px; }
.ops-skel{ display:grid; gap:8px; width: 85%; max-width: 360px; }
.ops-skel span{ height: 12px; border-radius: 6px; background: #6ee7e0; opacity:.18; filter: blur(.5px); }
.ops-oauth{ display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.ops-oauth-btn{
  display:flex; justify-content:center; align-items:center; gap:10px;
  background:#0f1a1c; border:1px solid var(--line);
  color:#b6fffa; padding:10px 12px; border-radius:8px; text-decoration:none;
}
.ops-oauth-btn:hover{ border-color:#6ee7e0; }

.ops-form{ flex: 0 0 420px; max-width: 420px; width: 100%; }
#login-form{ display:flex; flex-direction:column; gap:12px; }

@media (max-width: 980px){
  .ops-hero{ display:none; }
  .ops-form{ flex-basis: 100%; max-width: 100%; }
  .ops-body{ flex-direction: column; }
}

/* inputs */
.ops-label{ font-size:12px; color:#9af1ffbd; letter-spacing:.08em; text-transform:uppercase; }
.ops-input{
  appearance:none; background:#0f1a1c; border:1px solid var(--line);
  padding:10px 12px; border-radius:8px; color:var(--fg); outline:none;
  width:100%;
}
.ops-input::placeholder{ color:#6ee7e0aa }
.ops-input:focus{ border-color:#6ee7e0; box-shadow:0 0 0 2px rgba(110,231,224,.15); }

/* tame browser autofill */
.ops-input:-webkit-autofill{
  -webkit-box-shadow: 0 0 0px 1000px #0f1a1c inset !important;
  -webkit-text-fill-color: var(--fg) !important;
}
.ops-input:-internal-autofill-selected{ background-color:#0f1a1c !important; color: var(--fg) !important; }

/* row */
.ops-row{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ops-check{ display:flex; align-items:center; gap:8px; color:#9af1ffbd; font-size:12px; }
.ops-checkbox{ width:16px; height:16px; accent-color:#2dd4bf; }

.ops-btn{
  appearance:none; border:none; cursor:pointer;
  background: linear-gradient(180deg, #19d1a4, #0fb98f);
  color:#042321; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:11px 12px; border-radius:8px; box-shadow:0 0 16px rgba(56,245,171,.26);
}
.ops-btn:hover{ filter: brightness(1.06); }

.ops-link{ color:#7fe7e2; text-decoration:none; }
.ops-link:hover{ text-decoration:underline; }

/* footer / ticker */
.ops-foot{ border-top:1px solid var(--line); padding:8px; }
.ops-ticker{ height:90px; overflow:auto; white-space:pre; font-size:12px; color:#7fe7e2; }
.ops-ticker::-webkit-scrollbar{ width:8px } 
.ops-ticker::-webkit-scrollbar-thumb{ background:#2bc5bd22; border-radius:10px }
