
/* CorExam ULTRA ACTIONS */
.cx-action-modal{
  position:fixed;inset:0;z-index:10000;
  display:grid;place-items:center;
  padding:18px;
  background:rgba(5,20,18,.42);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  animation:cxActFade .18s ease both;
}
.cx-action-card{
  width:min(640px,100%);
  max-height:min(760px,90vh);
  overflow:auto;
  border:1px solid var(--cx-line,#dbe8e6);
  border-radius:26px;
  background:var(--cx-surface,#fff);
  color:var(--cx-ink,#102f2c);
  box-shadow:0 35px 110px rgba(0,0,0,.25);
  animation:cxActIn .28s cubic-bezier(.2,.8,.2,1) both;
}
.cx-action-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:20px;padding:22px 24px 16px;border-bottom:1px solid var(--cx-line,#dbe8e6);
}
.cx-action-head h2{margin:2px 0 0;font-size:22px;letter-spacing:-.4px}
.cx-action-kicker{font-size:10px;color:var(--cx-brand,#00a896);font-weight:900;letter-spacing:.08em}
.cx-action-close{
  width:38px;height:38px;border:1px solid var(--cx-line,#dbe8e6);
  border-radius:11px;background:transparent;color:inherit;font-size:24px;cursor:pointer;
}
.cx-action-body{padding:24px}
.cx-action-icon{
  width:48px;height:48px;display:grid;place-items:center;border-radius:15px;
  background:linear-gradient(135deg,rgba(0,168,150,.13),rgba(124,92,255,.10));
  color:var(--cx-brand,#00a896);font-size:24px;margin-bottom:14px;
}
.cx-action-body p{color:var(--cx-muted,#657b78);font-size:12px;line-height:1.9}
.cx-action-grid{display:grid;gap:14px;margin-top:18px}
.cx-action-grid label{display:grid;gap:7px;font-size:11px;font-weight:800}
.cx-action-input{
  width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;
  border:1px solid var(--cx-line,#dbe8e6);border-radius:12px;
  background:var(--cx-surface-2,#f8fcfb);color:inherit;font:inherit;outline:none;
}
textarea.cx-action-input{resize:vertical}
.cx-action-input:focus{border-color:rgba(0,168,150,.48);box-shadow:0 0 0 4px rgba(0,168,150,.09)}
.cx-action-foot{
  display:flex;justify-content:flex-start;gap:9px;
  padding:15px 24px;border-top:1px solid var(--cx-line,#dbe8e6);
}
.cx-action-toast{
  position:fixed;left:50%;bottom:28px;z-index:10001;
  transform:translate(-50%,15px);opacity:0;pointer-events:none;
  padding:12px 16px;border-radius:13px;
  background:#122a2a;color:#fff;font-size:11px;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  transition:.25s cubic-bezier(.2,.8,.2,1);
}
.cx-action-toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes cxActFade{from{opacity:0}to{opacity:1}}
@keyframes cxActIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){
  .cx-action-modal{padding:10px;align-items:end}
  .cx-action-card{border-radius:22px 22px 18px 18px;max-height:92vh}
  .cx-action-head{padding:18px}
  .cx-action-body{padding:18px}
  .cx-action-foot{padding:13px 18px}
}
@media(prefers-reduced-motion:reduce){
  .cx-action-modal,.cx-action-card{animation:none}
}
