/* ACGS Academic Platform — premium public authentication screens */
.acgs-ap-auth-shell{--auth-ink:#10213e;--auth-blue:#1268e8;--auth-blue-dark:#0755ca;--auth-muted:#62748e;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:clamp(28px,5vw,76px);align-items:center;width:100%;max-width:1280px;min-height:680px;margin:0 auto;padding:clamp(26px,4vw,58px);overflow:hidden;border-radius:18px;background:radial-gradient(ellipse at 12% 8%,rgba(213,232,255,.9),transparent 38%),radial-gradient(ellipse at 85% 85%,rgba(221,237,255,.9),transparent 40%),linear-gradient(135deg,#f5f8fe,#eaf3ff);color:var(--auth-ink);font:400 14px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.acgs-ap-auth-shell *{box-sizing:border-box}.acgs-ap-auth-shell:before{content:"";position:absolute;z-index:-1;width:430px;height:430px;right:28%;top:-270px;border:1px solid rgba(91,151,228,.12);border-radius:50%;box-shadow:0 0 0 42px rgba(91,151,228,.035),0 0 0 88px rgba(91,151,228,.025)}
.acgs-ap-auth-visual{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:clamp(8px,1vw,18px) 0}.acgs-ap-auth-visual-copy{max-width:520px}.acgs-ap-auth-pill{display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid #c7dfff;border-radius:999px;background:rgba(220,237,255,.8);color:#1458b8;font-size:11px;font-weight:700}.acgs-ap-auth-pill-dot{width:7px;height:7px;border-radius:50%;background:#1675f9;box-shadow:0 0 0 4px rgba(22,117,249,.12)}.acgs-ap-auth-visual h2{max-width:500px;margin:22px 0 12px;color:#10213e;font-size:clamp(32px,3.4vw,48px);line-height:1.12;letter-spacing:-1.6px;font-weight:750}.acgs-ap-auth-visual-copy>p{max-width:480px;margin:0;color:#47617f;font-size:16px;line-height:1.65}.acgs-ap-auth-benefits{display:grid;gap:17px;margin:30px 0 0;padding:0;list-style:none}.acgs-ap-auth-benefits li{display:flex;align-items:center;gap:13px;max-width:390px;color:#294363;font-size:14px}.acgs-ap-auth-benefit-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(255,255,255,.9);border-radius:13px;background:rgba(255,255,255,.72);box-shadow:0 6px 18px rgba(49,105,173,.07)}.acgs-ap-auth-benefit-icon svg,.acgs-ap-auth-float-icon svg{width:23px;height:23px;fill:none;stroke:#1475f8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.acgs-ap-auth-art{position:relative;width:min(100%,510px);min-height:215px;margin:28px auto 0}.acgs-ap-auth-report{position:absolute;left:8%;right:10%;top:18px;padding:19px 21px 22px;border:1px solid rgba(216,228,244,.95);border-radius:17px;background:rgba(255,255,255,.94);box-shadow:0 22px 60px rgba(43,79,126,.14);transform:rotate(-2deg)}.acgs-ap-auth-report-head{display:flex;align-items:center;gap:10px}.acgs-ap-auth-report-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#3694ff,#1261d8);color:#fff;font-weight:800}.acgs-ap-auth-report-head b,.acgs-ap-auth-report-head small{display:block}.acgs-ap-auth-report-head b{font-size:12px}.acgs-ap-auth-report-head small{margin-top:2px;color:#8796aa;font-size:10px}.acgs-ap-auth-report-status{width:8px;height:8px;margin-left:auto;border-radius:50%;background:#22bd7a;box-shadow:0 0 0 4px #e2f8ee}.acgs-ap-auth-score-row{display:flex;align-items:center;gap:19px;margin:18px 0}.acgs-ap-auth-score{display:grid;place-items:center;align-content:center;flex:0 0 75px;width:75px;height:75px;border:7px solid #ffe0e2;border-right-color:#ff727b;border-radius:50%}.acgs-ap-auth-score strong{color:#f34f5a;font-size:20px;line-height:1.1}.acgs-ap-auth-score small{color:#8796aa;font-size:9px}.acgs-ap-auth-bars{display:grid;gap:8px;flex:1}.acgs-ap-auth-bars i,.acgs-ap-auth-report-line{display:block;height:6px;border-radius:9px;background:#e4ebf4}.acgs-ap-auth-bars i:first-child{background:linear-gradient(90deg,#ff8a92 0 43%,#e4ebf4 43%)}.acgs-ap-auth-bars i:nth-child(2){background:linear-gradient(90deg,#42c69a 0 65%,#e4ebf4 65%)}.acgs-ap-auth-bars i:nth-child(3){background:linear-gradient(90deg,#70a9ff 0 29%,#e4ebf4 29%)}.acgs-ap-auth-bars i:nth-child(4){width:72%}.acgs-ap-auth-report-line{height:5px;margin-top:8px}.acgs-ap-auth-report-line.short{width:62%}.acgs-ap-auth-float{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:11px;padding:13px 16px;border:1px solid #e4edf9;border-radius:14px;background:#fff;box-shadow:0 15px 38px rgba(43,79,126,.14)}.acgs-ap-auth-float-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#edf5ff}.acgs-ap-auth-float b,.acgs-ap-auth-float small{display:block}.acgs-ap-auth-float b{font-size:11px}.acgs-ap-auth-float small{margin-top:2px;color:#8796aa;font-size:10px}
.acgs-ap-auth-card{width:100%;min-width:0;margin:0;padding:clamp(27px,3vw,40px);border:1px solid #dfe8f4;border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 22px 65px rgba(30,62,103,.10);color:var(--auth-ink)}.acgs-ap-auth-card-only{grid-column:1/-1;max-width:460px;margin:auto}.acgs-ap-auth-brand{display:inline-flex;align-items:center;gap:11px;margin:0 0 29px;text-decoration:none!important;color:var(--auth-ink)!important}.acgs-ap-auth-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#3c97ff,#1761cf);box-shadow:0 6px 14px rgba(31,111,224,.18);font-size:23px;font-weight:800;color:#fff}.acgs-ap-auth-brand strong,.acgs-ap-auth-brand small{display:block}.acgs-ap-auth-brand strong{font-size:14px;letter-spacing:.8px;line-height:1.3}.acgs-ap-auth-brand small{margin-top:2px;color:#8191a7;font-size:10px}.acgs-ap-auth-eyebrow{display:block;margin:0 0 9px;color:#4773a9;font-size:10px;font-weight:800;letter-spacing:1.45px}.acgs-ap-auth-card h1{margin:0 0 10px;color:#10213e;font-size:clamp(25px,2.3vw,31px);font-weight:750;line-height:1.2;letter-spacing:-.8px}.acgs-ap-auth-card h2{margin:0 0 12px;color:#10213e;font-size:24px}.acgs-ap-auth-intro{margin:0 0 24px;color:#71829a;font-size:13px;line-height:1.6}.acgs-ap-auth-form{display:flex;flex-direction:column;gap:8px}.acgs-ap-auth-form>label:not(.acgs-ap-remember):not(.acgs-ap-auth-consent){margin-top:5px;color:#2d405d;font-size:11px;font-weight:700}.acgs-ap-auth-form input[type=text],.acgs-ap-auth-form input[type=email],.acgs-ap-auth-form input[type=password]{display:block;width:100%;min-width:0;min-height:44px;margin:0;padding:11px 13px;border:1px solid #d8e2ef;border-radius:9px;background:#fbfcfe;color:#14243b;font:400 13px/1.4 inherit;box-shadow:none;transition:border-color .15s,box-shadow .15s}.acgs-ap-auth-form input::placeholder{color:#9aa8ba}.acgs-ap-auth-form input:focus{outline:0;border-color:#438df2;box-shadow:0 0 0 3px rgba(42,126,238,.12)}.acgs-ap-password-wrap{position:relative}.acgs-ap-password-wrap input{padding-right:44px!important}.acgs-ap-toggle-password{position:absolute;right:6px;top:50%;display:grid;place-items:center;width:32px;height:32px;padding:5px;border:0;background:transparent;transform:translateY(-50%);cursor:pointer}.acgs-ap-toggle-password svg{width:19px;height:19px;fill:none;stroke:#8294aa;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.acgs-ap-password-strength{display:flex;gap:5px;margin-top:3px}.acgs-ap-password-strength span{height:4px;flex:1;border-radius:5px;background:#e4eaf2}.acgs-ap-password-hint{margin:0;color:#8493a7;font-size:10px}.acgs-ap-auth-form-options{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:5px 0 7px}.acgs-ap-auth-form .acgs-ap-remember,.acgs-ap-auth-form .acgs-ap-auth-consent{display:flex;align-items:flex-start;gap:7px;margin:0;color:#526680;font-size:11px;font-weight:500;line-height:1.5}.acgs-ap-auth-form input[type=checkbox]{flex:0 0 auto;width:14px;height:14px;margin:2px 0 0;accent-color:#1769e8}.acgs-ap-auth-forgot{color:#1769df!important;font-size:11px;font-weight:600;text-decoration:none!important}.acgs-ap-auth-consent{margin-top:9px!important}.acgs-ap-auth-consent a{color:#1769df!important;font-weight:600;text-decoration:none!important}.acgs-ap-auth-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:47px;margin-top:8px;padding:12px 18px;border:0;border-radius:9px;background:linear-gradient(100deg,#1474f5,#105dd9);box-shadow:0 7px 15px rgba(21,101,224,.13);color:#fff!important;text-decoration:none!important;font:700 13px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}.acgs-ap-auth-button:hover{background:linear-gradient(100deg,#0d65e4,#084fc2);box-shadow:0 9px 20px rgba(21,101,224,.2);color:#fff;transform:translateY(-1px)}.acgs-ap-auth-terms{margin:8px 0 0;color:#8796a8;font-size:10px;line-height:1.5}.acgs-ap-auth-switch{margin-top:23px;padding-top:19px;border-top:1px solid #edf1f6;color:#718096;text-align:center;font-size:11px}.acgs-ap-auth-switch a{color:#1268e8!important;font-weight:700;text-decoration:none!important}.acgs-ap-auth-notice{margin:0 0 17px;padding:11px 13px;border-radius:8px;font-size:12px}.acgs-ap-auth-notice.is-error{border:1px solid #ffdada;background:#fff1f1;color:#a53636}.acgs-ap-auth-notice.is-success{border:1px solid #c8f0db;background:#ecfaf3;color:#147449}
@media(max-width:900px){.acgs-ap-auth-shell{grid-template-columns:minmax(0,1fr) minmax(320px,410px);gap:28px;padding:28px}.acgs-ap-auth-visual h2{font-size:34px}.acgs-ap-auth-benefits{gap:12px}.acgs-ap-auth-art{min-height:180px}.acgs-ap-auth-report{left:0;right:3%}.acgs-ap-auth-float{right:-3%}}
@media(max-width:700px){.acgs-ap-auth-shell{display:flex;flex-direction:column;align-items:stretch;gap:24px;min-height:0;padding:20px 14px;border-radius:12px}.acgs-ap-auth-visual{padding:4px 3px 0}.acgs-ap-auth-visual h2{margin-top:17px;font-size:32px;letter-spacing:-1px}.acgs-ap-auth-visual-copy>p{font-size:14px}.acgs-ap-auth-benefits{grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.acgs-ap-auth-benefits li{align-items:flex-start;gap:9px;font-size:12px}.acgs-ap-auth-benefit-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}.acgs-ap-auth-benefit-icon svg{width:19px;height:19px}.acgs-ap-auth-art{min-height:160px;max-width:420px;margin-top:16px}.acgs-ap-auth-report{top:8px;padding:13px 15px}.acgs-ap-auth-score{flex-basis:58px;width:58px;height:58px;border-width:5px}.acgs-ap-auth-score strong{font-size:16px}.acgs-ap-auth-card{max-width:500px;margin:0 auto;padding:27px 23px;border-radius:16px}.acgs-ap-auth-brand{margin-bottom:24px}.acgs-ap-auth-card h1{font-size:27px}}
@media(max-width:390px){.acgs-ap-auth-benefits{grid-template-columns:1fr}.acgs-ap-auth-card{padding:23px 18px}.acgs-ap-auth-form-options{align-items:flex-start;flex-direction:column}.acgs-ap-auth-visual h2{font-size:29px}}


/* 0.4.4 layout corrections: edge-to-edge desktop and form-first mobile */
body:has(.acgs-ap-auth-shell) .content-bg,
body:has(.acgs-ap-auth-shell) .site-container,
body:has(.acgs-ap-auth-shell) .content-container {
  background: transparent;
}
body:has(.acgs-ap-auth-shell) .entry-content-wrap,
body:has(.acgs-ap-auth-shell) .entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body:has(.acgs-ap-auth-shell) .entry-content-wrap {
  max-width: none !important;
}
.acgs-ap-auth-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  min-height: min(100vh, 960px);
  padding: clamp(34px, 5vw, 76px) max(24px, calc((100vw - 1320px)/2));
}
.acgs-ap-auth-shell .acgs-ap-auth-card { max-width: 460px; }
@media (min-width: 701px) {
  .acgs-ap-auth-shell { grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); }
  .acgs-ap-auth-shell .acgs-ap-auth-visual { max-width: 620px; }
}
@media (max-width: 700px) {
  body:has(.acgs-ap-auth-shell) .site-header-row-container,
  body:has(.acgs-ap-auth-shell) .site-header-main-section { min-height: 48px; }
  body:has(.acgs-ap-auth-shell) .entry-content-wrap { padding-left: 0 !important; padding-right: 0 !important; }
  .acgs-ap-auth-shell {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    width: 100vw;
    min-height: calc(100svh - 48px);
    margin-left: calc(50% - 50vw);
    padding: 22px 16px 30px;
    border-radius: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(213,232,255,.72), transparent 48%), #f3f7fd;
  }
  .acgs-ap-auth-shell:before,
  .acgs-ap-auth-shell .acgs-ap-auth-visual { display: none !important; }
  .acgs-ap-auth-shell .acgs-ap-auth-card {
    display: block;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 28px 23px 25px;
    border: 1px solid #e0e9f5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(30,62,103,.09);
  }
  .acgs-ap-auth-shell .acgs-ap-auth-brand { margin-bottom: 22px; }
  .acgs-ap-auth-shell .acgs-ap-auth-card h1 { font-size: 28px; }
  .acgs-ap-auth-shell .acgs-ap-auth-intro { margin-bottom: 20px; }
}
@media (max-width: 390px) {
  .acgs-ap-auth-shell { padding: 16px 12px 24px; }
  .acgs-ap-auth-shell .acgs-ap-auth-card { padding: 24px 18px; }
}


/* 0.4.5: stable full-width auth canvas inside Kadence layouts. */
body:has(.acgs-ap-auth-shell) #inner-wrap,
body:has(.acgs-ap-auth-shell) .content-bg,
body:has(.acgs-ap-auth-shell) .content-container,
body:has(.acgs-ap-auth-shell) .site-container,
body:has(.acgs-ap-auth-shell) .content-area,
body:has(.acgs-ap-auth-shell) .entry-content-wrap,
body:has(.acgs-ap-auth-shell) .entry-content {
  max-width: none !important;
}
body:has(.acgs-ap-auth-shell) .content-bg,
body:has(.acgs-ap-auth-shell) .content-container,
body:has(.acgs-ap-auth-shell) .content-area,
body:has(.acgs-ap-auth-shell) .entry-content-wrap,
body:has(.acgs-ap-auth-shell) .entry-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
}
body:has(.acgs-ap-auth-shell) .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.acgs-ap-auth-shell {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
@media (min-width: 701px) {
  .acgs-ap-auth-shell {
    width: 100% !important;
    min-height: min(900px, calc(100vh - 70px));
    padding-left: max(28px, calc((100vw - 1320px) / 2));
    padding-right: max(28px, calc((100vw - 1320px) / 2));
  }
}
@media (max-width: 700px) {
  body:has(.acgs-ap-auth-shell) .entry-content-wrap,
  body:has(.acgs-ap-auth-shell) .entry-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .acgs-ap-auth-shell {
    width: 100% !important;
    min-height: calc(100svh - 48px);
    padding: 22px 16px 30px !important;
  }
}
