/* TWINS v0.2.90 — compact OPS core + profile more sheet + footer feedback */

/* OPS top: only the five operational numbers requested. */
.app-shell.is-ops-shell .ops-grid-core{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.app-shell.is-ops-shell .ops-grid-ai{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
@media(max-width:1500px){
  .app-shell.is-ops-shell .ops-grid-core{grid-template-columns:repeat(5,minmax(120px,1fr))!important;overflow-x:auto}
  .app-shell.is-ops-shell .ops-grid-ai{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .app-shell.is-ops-shell .ops-grid-core,
  .app-shell.is-ops-shell .ops-grid-ai{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Individual profile: ellipsis only, not the global hamburger. */
.profile-more-button{
  width:38px;height:38px;display:grid;place-items:center;
  border:0;background:transparent;color:#bcb5c3;
  padding:0 0 7px;font-size:24px;line-height:1;letter-spacing:1px;
  cursor:pointer;
}
.profile-more-button:active{color:#fff}

/* Profile actions slide up from the bottom. */
body.profile-actions-open{overflow:hidden}
.profile-actions-sheet{
  position:fixed;inset:0;z-index:2600;
  display:flex;align-items:flex-end;justify-content:center;
}
.profile-actions-sheet[hidden]{display:none!important}
.profile-actions-backdrop{
  position:absolute;inset:0;border:0;margin:0;padding:0;
  background:rgba(0,0,0,.58);opacity:0;
  transition:opacity .20s ease;backdrop-filter:blur(2px);
}
.profile-actions-panel{
  position:relative;z-index:1;width:min(620px,100%);
  padding:7px 12px calc(12px + env(safe-area-inset-bottom));
  border-radius:14px 14px 0 0;
  border-top:1px solid rgba(255,255,255,.10);
  background:#141116;
  box-shadow:0 -18px 55px rgba(0,0,0,.42);
  transform:translateY(102%);
  transition:transform .22s cubic-bezier(.2,.8,.2,1);
}
.profile-actions-sheet.is-open .profile-actions-backdrop{opacity:1}
.profile-actions-sheet.is-open .profile-actions-panel{transform:translateY(0)}
.profile-actions-handle{
  width:34px;height:3px;margin:0 auto 8px;border-radius:99px;
  background:rgba(255,255,255,.20)
}
.profile-actions-panel form{margin:0}
.profile-actions-row{
  width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;
  border:0;border-bottom:1px solid rgba(255,255,255,.055);
  background:transparent;color:#eee8f0;text-decoration:none;
  font-size:13px;font-weight:720;cursor:pointer;
}
.profile-actions-row.is-danger{color:#ff6f91}
.profile-actions-row.is-close{color:#9d95a2;border-bottom:0;margin-top:3px}

/* All TWINS action feedback sits just above the footer instead of the screen center. */
.twins-action-toast{
  left:50%!important;top:auto!important;bottom:14px!important;
  width:calc(100% - 24px)!important;max-width:596px!important;
  transform:translate(-50%,12px)!important;
  padding:11px 14px!important;border-radius:10px!important;
  background:rgba(18,14,19,.94)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.34)!important;
  text-align:center!important;font-size:12px!important;
  opacity:0!important;
  transition:opacity .16s ease,transform .16s ease!important;
}
.twins-action-toast.is-above-nav{
  bottom:calc(82px + env(safe-area-inset-bottom))!important;
}
.twins-action-toast.is-visible{
  opacity:1!important;transform:translate(-50%,0)!important;
}
.twins-action-toast.is-error{border-color:rgba(255,91,125,.36)!important}

@media(prefers-reduced-motion:reduce){
  .profile-actions-backdrop,.profile-actions-panel,.twins-action-toast{transition:none!important}
}
