/* ============================================================
   ALFASSA OA360 — LOGIN V3
   Modern SaaS / Command Center visual language
   ============================================================ */

#page-login {
  --oa-green: #71922f;
  --oa-green-hover: #5f7e27;
  --oa-green-soft: #f2f7e9;

  --oa-ink: #101510;
  --oa-text: #283127;
  --oa-muted: #758074;
  --oa-muted-2: #9ba39a;

  --oa-border: #e8ece6;
  --oa-border-strong: #dce2d9;

  --oa-bg: #ffffff;
  --oa-panel: #fafbf9;

  --oa-radius-sm: 10px;
  --oa-radius: 16px;
  --oa-radius-lg: 24px;

  min-height: 100vh;

  font-family:
    "Segoe UI Variable",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;

  color: var(--oa-text);
  background: var(--oa-bg);
}


/* ------------------------------------------------------------
   REMOVE WEBSITE CHROME
   ------------------------------------------------------------ */

#page-login .page-content-wrapper,
#page-login .page_content,
#page-login main.container {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
}

#page-login .page-header-wrapper,
#page-login .page-breadcrumbs,
#page-login .page-footer {
  display: none !important;
}

body:has(#page-login) .web-footer,
body:has(#page-login) footer.web-footer,
body:has(#page-login) .footer-powered {
  display: none !important;
}


/* ------------------------------------------------------------
   MASTER LAYOUT
   ------------------------------------------------------------ */

#page-login .oa360-v3-layout {
  display: grid;
  grid-template-columns:
    minmax(620px, 1.15fr)
    minmax(440px, .85fr);

  width: 100%;
  min-height: 100vh;
}


/* ============================================================
   LEFT SIDE — PRODUCT EXPERIENCE
   ============================================================ */

#page-login .oa360-v3-brand {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 100vh;

  padding:
    clamp(34px, 3.5vw, 62px)
    clamp(38px, 4.5vw, 76px);

  overflow: hidden;

  background:
    radial-gradient(
      circle at 14% 4%,
      rgba(113,146,47,.09),
      transparent 29%
    ),
    linear-gradient(
      150deg,
      #ffffff 0%,
      #fbfcf9 52%,
      #f6f9f1 100%
    );

  border-right: 1px solid var(--oa-border);
}


/* soft architectural detail */
#page-login .oa360-v3-brand::before {
  content: "";

  position: absolute;
  right: -190px;
  bottom: -250px;

  width: 590px;
  height: 590px;

  border: 1px solid rgba(113,146,47,.14);
  border-radius: 50%;

  box-shadow:
    0 0 0 70px rgba(113,146,47,.024),
    0 0 0 140px rgba(113,146,47,.017),
    0 0 0 210px rgba(113,146,47,.010);

  pointer-events: none;
}


/* HEADER */

#page-login .oa360-v3-brand-head {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 50px;
}

#page-login .oa360-v3-logo {
  display: block;

  width: clamp(178px, 14vw, 225px);
  height: auto;

  object-fit: contain;
}

#page-login .oa360-v3-product {
  display: inline-flex;
  align-items: center;

  height: 34px;

  padding: 0 12px;

  border: 1px solid var(--oa-border-strong);
  border-radius: 999px;

  background: rgba(255,255,255,.82);

  color: #4e5b49;

  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}


/* MAIN COPY */

#page-login .oa360-v3-intro {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 850px;

  margin: auto 0;

  padding: clamp(50px, 6vh, 90px) 0;
}

#page-login .oa360-v3-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 22px;

  color: var(--oa-green);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

#page-login .oa360-v3-eyebrow::before {
  content: "";

  display: block;

  width: 28px;
  height: 2px;

  border-radius: 20px;
  background: var(--oa-green);
}

#page-login .oa360-v3-intro h1 {
  max-width: 800px;

  margin: 0;

  color: var(--oa-ink);

  font-family:
    "Segoe UI Variable",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;

  font-size: clamp(46px, 4.5vw, 74px);
  font-weight: 720;
  line-height: .99;
  letter-spacing: -.055em;
}

#page-login .oa360-v3-intro h1 span {
  color: var(--oa-green);
}

#page-login .oa360-v3-intro > p {
  max-width: 650px;

  margin: 25px 0 0;

  color: var(--oa-muted);

  font-size: clamp(16px, 1.1vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.01em;
}


/* ============================================================
   PRODUCT PREVIEW / FUTURE COMMAND CENTER
   ============================================================ */

#page-login .oa360-v3-preview {
  position: relative;

  width: min(100%, 790px);

  margin-top: 38px;

  overflow: hidden;

  border: 1px solid var(--oa-border-strong);
  border-radius: 22px;

  background: rgba(255,255,255,.92);

  box-shadow:
    0 28px 70px rgba(30,45,24,.08),
    0 4px 15px rgba(30,45,24,.025);

  backdrop-filter: blur(14px);
}

#page-login .oa360-v3-preview::after {
  content: "";

  position: absolute;
  top: -80px;
  right: -50px;

  width: 250px;
  height: 250px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(113,146,47,.12),
      transparent 68%
    );

  pointer-events: none;
}


/* preview topbar */

#page-login .oa360-v3-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 54px;

  padding: 0 18px;

  border-bottom: 1px solid var(--oa-border);

  background: rgba(255,255,255,.82);
}

#page-login .oa360-v3-preview-top strong {
  color: #30392d;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
}

#page-login .oa360-v3-preview-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 26px;

  padding: 0 8px;

  border: 1px solid var(--oa-border);
  border-radius: 7px;

  background: #f8faf6;

  color: #798374;

  font-size: 10px;
  font-weight: 650;
}


/* preview body */

#page-login .oa360-v3-preview-body {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);

  min-height: 240px;
}


/* mini sidebar */

#page-login .oa360-v3-preview-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;

  padding-top: 19px;

  border-right: 1px solid var(--oa-border);

  background: #fbfcfa;
}

#page-login .oa360-v3-preview-nav i {
  display: block;

  width: 27px;
  height: 27px;

  border: 1px solid #e7ebe4;
  border-radius: 8px;

  background: #fff;
}

#page-login .oa360-v3-preview-nav i:first-child {
  border-color: rgba(113,146,47,.18);
  background: var(--oa-green-soft);

  box-shadow:
    inset 3px 0 0 var(--oa-green);
}


/* preview workspace */

#page-login .oa360-v3-preview-main {
  min-width: 0;
  padding: 18px;
}

#page-login .oa360-v3-search {
  display: flex;
  align-items: center;

  width: 100%;
  height: 37px;

  padding: 0 13px;

  overflow: hidden;

  border: 1px solid var(--oa-border);
  border-radius: 10px;

  background: #fafbf9;

  color: #a0a89d;

  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}


/* preview cards */

#page-login .oa360-v3-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  margin-top: 14px;
}

#page-login .oa360-v3-preview-grid > div {
  min-width: 0;

  padding: 13px;

  border: 1px solid var(--oa-border);
  border-radius: 12px;

  background: #fff;
}

#page-login .oa360-v3-preview-grid small {
  display: block;

  margin-bottom: 11px;

  color: #a3aaa0;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

#page-login .oa360-v3-preview-grid strong {
  display: block;

  overflow: hidden;

  color: #262e24;

  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#page-login .oa360-v3-preview-grid span {
  display: block;

  margin-top: 5px;

  overflow: hidden;

  color: #848d80;

  font-size: 8px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#page-login .oa360-v3-preview-grid .is-green {
  color: var(--oa-green);
}


/* scalable service chips */

#page-login .oa360-v3-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 12px;
}

#page-login .oa360-v3-services span {
  display: inline-flex;
  align-items: center;

  min-height: 27px;

  padding: 0 10px;

  border: 1px solid var(--oa-border);
  border-radius: 999px;

  background: #fff;

  color: #717b6d;

  font-size: 8px;
  font-weight: 650;
}


/* LEFT FOOTER */

#page-login .oa360-v3-brand-foot {
  position: relative;
  z-index: 2;

  color: #a1a89e;

  font-size: 9px;
  font-weight: 650;
  letter-spacing: .12em;
}


/* ============================================================
   RIGHT SIDE — AUTHENTICATION
   ============================================================ */

#page-login .oa360-v3-auth {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
  min-height: 100vh;

  padding:
    clamp(50px, 6vw, 96px)
    clamp(44px, 6vw, 100px);

  background: #fff;
}


/* top product identity */

#page-login .oa360-v3-auth-brand {
  width: min(100%, 440px);

  margin: 0 auto 42px;
}

#page-login .oa360-v3-auth-brand strong {
  display: block;

  color: var(--oa-ink);

  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.02em;
}

#page-login .oa360-v3-auth-brand span {
  display: block;

  margin-top: 5px;

  color: var(--oa-green);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* IMPORTANT:
   no display rule on sections.
   platform remains owner of authentication visibility.
*/

#page-login .oa360-v3-auth > section {
  width: min(100%, 440px);
  margin-left: auto;
  margin-right: auto;
}


/* remove platform card aesthetics */

#page-login .oa360-v3-auth .page-card {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}


/* remove duplicated platform logo */

#page-login .oa360-v3-auth .app-logo {
  display: none !important;
}


/* headings */

#page-login .oa360-v3-auth .page-card-head {
  align-items: flex-start !important;
  gap: 7px !important;

  margin-bottom: 30px;
}

#page-login .oa360-v3-auth .page-card-head-text {
  gap: 7px !important;
}

#page-login .oa360-v3-auth h1,
#page-login .oa360-v3-auth h2,
#page-login .oa360-v3-auth h3,
#page-login .oa360-v3-auth h4 {
  font-family:
    "Segoe UI Variable",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}

#page-login .oa360-v3-auth .page-card-head h4 {
  margin: 0 !important;

  color: var(--oa-ink) !important;

  font-size: clamp(29px, 2.4vw, 36px) !important;
  font-weight: 720 !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
}

#page-login .oa360-v3-auth .page-card-subtitle {
  max-width: 390px;

  color: var(--oa-muted) !important;

  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}


/* forms */

#page-login .oa360-v3-auth form {
  gap: 24px !important;
}

#page-login .oa360-v3-auth .page-card-body {
  gap: 20px !important;
}

#page-login .oa360-v3-auth .form-group {
  gap: 7px !important;
}

#page-login .oa360-v3-auth .form-group label {
  margin: 0 !important;

  color: #424b3e !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}


/* inputs */

#page-login .oa360-v3-auth .email-field,
#page-login .oa360-v3-auth .password-field {
  position: relative;
  width: 100%;
}

#page-login .oa360-v3-auth .form-control {
  width: 100% !important;
  min-height: 54px !important;

  padding: 0 16px !important;

  border: 1px solid var(--oa-border-strong) !important;
  border-radius: 13px !important;

  outline: none !important;

  background: #fff !important;

  color: #20271e !important;

  font-family:
    "Segoe UI Variable",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;

  font-size: 14px !important;
  font-weight: 450 !important;

  box-shadow: none !important;

  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    transform .16s ease !important;
}

#page-login .oa360-v3-auth .form-control:hover {
  border-color: #cdd5c9 !important;
}

#page-login .oa360-v3-auth .form-control:focus {
  border-color: var(--oa-green) !important;

  background: #fff !important;

  box-shadow:
    0 0 0 4px rgba(113,146,47,.095) !important;
}

#page-login .oa360-v3-auth .form-control::placeholder {
  color: #a7aea4 !important;
}


/* browser autofill */

#page-login .oa360-v3-auth input:-webkit-autofill,
#page-login .oa360-v3-auth input:-webkit-autofill:hover,
#page-login .oa360-v3-auth input:-webkit-autofill:focus {
  -webkit-text-fill-color: #20271e;

  box-shadow:
    0 0 0 1000px #fff inset !important;

  transition:
    background-color 9999s ease-in-out 0s;
}


/* password eye */

#page-login .oa360-v3-auth .toggle-password {
  color: #7c8578 !important;
}


/* actions */

#page-login .oa360-v3-auth .page-card-actions {
  gap: 11px !important;
}


/* primary button */

#page-login .oa360-v3-auth
.es-button[data-variant="solid"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: 100% !important;
  min-height: 54px !important;

  padding: 0 18px !important;

  border: 1px solid var(--oa-green) !important;
  border-radius: 13px !important;

  background: var(--oa-green) !important;

  color: #fff !important;

  font-family:
    "Segoe UI Variable",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;

  font-size: 13px !important;
  font-weight: 720 !important;
  letter-spacing: -.01em !important;

  box-shadow:
    0 10px 25px rgba(91,122,38,.16) !important;

  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease,
    box-shadow .16s ease !important;
}

#page-login .oa360-v3-auth
.es-button[data-variant="solid"]:hover {
  transform: translateY(-1px);

  border-color: var(--oa-green-hover) !important;

  background: var(--oa-green-hover) !important;

  box-shadow:
    0 14px 30px rgba(91,122,38,.21) !important;
}


/* secondary login option */

#page-login .oa360-v3-auth .btn-login-option {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 100% !important;
  min-height: 50px !important;

  border: 1px solid var(--oa-border-strong) !important;
  border-radius: 13px !important;

  background: #fff !important;

  color: #394334 !important;

  font-size: 12px !important;
  font-weight: 650 !important;

  text-decoration: none !important;

  box-shadow: none !important;
}

#page-login .oa360-v3-auth .btn-login-option:hover {
  border-color: #cbd3c7 !important;
  background: #fafbf9 !important;
}


/* links */

#page-login .oa360-v3-auth a {
  color: #5c782a !important;

  font-size: 12px !important;
  font-weight: 600 !important;

  text-decoration: none !important;
}

#page-login .oa360-v3-auth a:hover {
  color: var(--oa-green-hover) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}


/* forgot password alignment */

#page-login .oa360-v3-auth .text-right {
  text-align: right !important;
}


/* alerts / validation */

#page-login .oa360-v3-auth .field-error {
  color: #ba3e35 !important;

  font-size: 10px !important;
  line-height: 1.4;
}

#page-login .oa360-v3-auth .es-alert {
  border-radius: 12px !important;
}


/* protect forgot-password navigation text */

#page-login .oa360-v3-auth
.for-forgot .sign-up-message,
#page-login .oa360-v3-auth
.for-login-with-email-link .sign-up-message {
  margin-top: 24px !important;
  text-align: left !important;
}


/* no public account creation */

#page-login .oa360-v3-auth
.for-login > .page-card > .sign-up-message {
  display: none !important;
}


/* no old security badge from V2 */

#page-login .oa360-login-security,
#page-login .oa360-login-product {
  display: none !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {

  #page-login .oa360-v3-layout {
    grid-template-columns:
      minmax(470px, 1fr)
      minmax(390px, .9fr);
  }

  #page-login .oa360-v3-brand {
    padding: 36px;
  }

  #page-login .oa360-v3-intro h1 {
    font-size: 48px;
  }

  #page-login .oa360-v3-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-login .oa360-v3-preview-grid > div:last-child {
    display: none;
  }

  #page-login .oa360-v3-auth {
    padding: 50px;
  }
}


@media (max-width: 820px) {

  #page-login .oa360-v3-layout {
    display: block;
  }

  #page-login .oa360-v3-brand {
    min-height: auto;

    padding: 28px 26px 38px;

    border-right: 0;
    border-bottom: 1px solid var(--oa-border);
  }

  #page-login .oa360-v3-product {
    display: none;
  }

  #page-login .oa360-v3-intro {
    padding: 45px 0 0;
  }

  #page-login .oa360-v3-intro h1 {
    max-width: 600px;
    font-size: clamp(39px, 7vw, 54px);
  }

  #page-login .oa360-v3-intro > p {
    max-width: 570px;
  }

  #page-login .oa360-v3-preview {
    margin-top: 30px;
  }

  #page-login .oa360-v3-brand-foot {
    display: none;
  }

  #page-login .oa360-v3-auth {
    min-height: auto;

    padding: 58px 26px 70px;
  }

  #page-login .oa360-v3-auth-brand,
  #page-login .oa360-v3-auth > section {
    width: min(100%, 510px);
  }
}


@media (max-width: 560px) {

  #page-login .oa360-v3-brand {
    padding: 23px 20px 28px;
  }

  #page-login .oa360-v3-logo {
    width: 165px;
  }

  #page-login .oa360-v3-intro {
    padding-top: 34px;
  }

  #page-login .oa360-v3-eyebrow {
    margin-bottom: 16px;

    font-size: 9px;
  }

  #page-login .oa360-v3-intro h1 {
    font-size: 38px;
    line-height: 1.01;
  }

  #page-login .oa360-v3-intro > p {
    margin-top: 18px;

    font-size: 14px;
    line-height: 1.55;
  }

  /*
   * Small screen:
   * keep product feeling without wasting vertical space.
   */
  #page-login .oa360-v3-preview {
    margin-top: 25px;

    border-radius: 17px;
  }

  #page-login .oa360-v3-preview-body {
    grid-template-columns: 43px minmax(0, 1fr);

    min-height: 185px;
  }

  #page-login .oa360-v3-preview-nav i {
    width: 23px;
    height: 23px;
  }

  #page-login .oa360-v3-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  #page-login .oa360-v3-preview-main {
    padding: 13px;
  }

  #page-login .oa360-v3-services span:nth-child(n+5) {
    display: none;
  }

  #page-login .oa360-v3-auth {
    padding: 45px 20px 58px;
  }

  #page-login .oa360-v3-auth-brand {
    margin-bottom: 32px;
  }

  #page-login .oa360-v3-auth .page-card-head {
    margin-bottom: 27px;
  }

  #page-login .oa360-v3-auth .page-card-head h4 {
    font-size: 29px !important;
  }

  #page-login .oa360-v3-auth .form-control,
  #page-login .oa360-v3-auth
  .es-button[data-variant="solid"] {
    min-height: 52px !important;
  }
}


/* ============================================================
   MOTION
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {

  #page-login .oa360-v3-preview {
    animation: oa360Enter .48s ease-out both;
  }

  #page-login .oa360-v3-auth > section {
    animation: oa360AuthEnter .38s ease-out both;
  }

  @keyframes oa360Enter {
    from {
      opacity: 0;
      transform: translateY(9px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes oa360AuthEnter {
    from {
      opacity: 0;
      transform: translateY(5px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================================
   OA360 AUTH VIEW CONTROLLER
   One authentication function visible at a time.
   Public signup is permanently unavailable.
   ============================================================ */

#page-login .oa360-v3-auth > section {
  display: none !important;
}

#page-login[data-oa360-view="login"]
.oa360-v3-auth > section.for-login {
  display: block !important;
}

#page-login[data-oa360-view="email"]
.oa360-v3-auth > section.for-email-login {
  display: block !important;
}

#page-login[data-oa360-view="forgot"]
.oa360-v3-auth > section.for-forgot {
  display: block !important;
}

#page-login[data-oa360-view="email-link"]
.oa360-v3-auth > section.for-login-with-email-link {
  display: block !important;
}

#page-login .oa360-v3-auth > section.for-signup {
  display: none !important;
}

/* OA360 INPUT ICON SPACING */
#page-login .oa360-v3-auth input.form-control {
  padding-inline-start: 2.75rem !important;
}

#page-login .oa360-v3-auth .password-field input.form-control {
  padding-inline-start: 2.75rem !important;
  padding-inline-end: 2.75rem !important;
}


/* ============================================================
   OA360_PREAUTH_AI_GATEWAY_R1
   AI-first public gateway
   ============================================================ */

#page-login:not(.oa360-preauth-login-open)
  .oa360-v3-layout {
  display: none !important;
}

#page-login.oa360-preauth-login-open
  #oa360-preauth-ai {
  display: none !important;
}

#page-login .oa360-ai-auth-back {
  display: none;
}

#page-login.oa360-preauth-login-open
  .oa360-ai-auth-back {
  display: inline-flex;
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 50;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e5e9e2;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #53604f;
  font: 650 12px/1 "Segoe UI",sans-serif;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

#oa360-preauth-ai {
  --ai-green: #729331;
  --ai-green-bright: #98c94c;
  --ai-green-soft: #eef6df;
  --ai-ink: #0b100b;
  --ai-text: #263025;
  --ai-muted: #768071;
  --ai-border: rgba(40,55,34,.11);
  --ai-glass: rgba(255,255,255,.72);

  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: var(--ai-text);
  background:
    radial-gradient(
      circle at 72% 16%,
      rgba(152,201,76,.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 52%,
      rgba(113,146,47,.08),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fafcf7 46%,
      #f4f8ee 100%
    );
  font-family:
    "Segoe UI Variable",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

#oa360-preauth-ai * {
  box-sizing: border-box;
}

#oa360-preauth-ai button,
#oa360-preauth-ai input {
  font: inherit;
}

.oa360-ai-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(20,30,18,.018) 0,
      rgba(20,30,18,.018) 1px,
      transparent 1px,
      transparent 3px
    );
}

.oa360-ai-aurora {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.oa360-ai-aurora-a {
  top: -280px;
  right: -160px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(113,146,47,.12);
  box-shadow:
    0 0 0 90px rgba(113,146,47,.018),
    0 0 0 180px rgba(113,146,47,.012),
    0 0 0 270px rgba(113,146,47,.008);
}

.oa360-ai-aurora-b {
  left: -260px;
  bottom: 12%;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(
      circle,
      rgba(152,201,76,.09),
      transparent 68%
    );
}

.oa360-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1500px, calc(100% - 72px));
  height: 96px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ai-border);
}

.oa360-ai-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--ai-ink);
  text-decoration: none;
}

.oa360-ai-brand img {
  width: clamp(155px, 13vw, 205px);
  height: auto;
}

.oa360-ai-brand span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ai-border);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #556250;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.oa360-ai-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.oa360-ai-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7b8576;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.oa360-ai-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ai-green-bright);
  box-shadow:
    0 0 0 5px rgba(152,201,76,.12);
}

.oa360-ai-login-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dfe5da;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #34402f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.oa360-ai-login-link:hover {
  transform: translateY(-1px);
  border-color: rgba(113,146,47,.32);
  box-shadow: 0 10px 30px rgba(54,75,42,.08);
}

.oa360-ai-main {
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
}

.oa360-ai-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(480px, .92fr);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 72px 0 94px;
}

.oa360-ai-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.oa360-ai-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--ai-green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
}

.oa360-ai-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 99px;
  background: var(--ai-green);
}

.oa360-ai-copy h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ai-ink);
  font-size: clamp(54px, 5.5vw, 92px);
  font-weight: 690;
  line-height: .94;
  letter-spacing: -.064em;
}

.oa360-ai-copy h1 span {
  display: block;
  margin-top: 8px;
  color: var(--ai-green);
}

.oa360-ai-copy > p {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--ai-muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  letter-spacing: -.015em;
}

.oa360-ai-command {
  width: min(100%, 760px);
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(73,93,61,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow:
    0 28px 80px rgba(32,47,26,.09),
    0 3px 15px rgba(32,47,26,.035);
  backdrop-filter: blur(20px);
}

.oa360-ai-command-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.oa360-ai-mini-orb {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(113,146,47,.18);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      #d9f4a8,
      #8ab443 43%,
      #3e5928 100%
    );
  box-shadow:
    0 8px 20px rgba(89,119,49,.18);
}

.oa360-ai-mini-orb span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 14px rgba(255,255,255,.9);
}

.oa360-ai-command-head small,
.oa360-ai-conversation-head small {
  display: block;
  color: var(--ai-green);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .15em;
}

.oa360-ai-command-head strong,
.oa360-ai-conversation-head strong {
  display: block;
  margin-top: 2px;
  color: #283126;
  font-size: 13px;
  font-weight: 720;
}

.oa360-ai-command-status {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f0f7e6;
  color: #6e9135;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.oa360-ai-command-input {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 62px;
  padding: 0 8px 0 18px;
  border: 1px solid #e2e8de;
  border-radius: 17px;
  background: #fbfcfa;
}

.oa360-ai-spark {
  color: var(--ai-green);
  font-size: 18px;
}

.oa360-ai-command-input input {
  width: 100%;
  height: 58px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #263024;
  font-size: 15px;
}

.oa360-ai-command-input input::placeholder {
  color: #a0a99c;
}

.oa360-ai-command-input button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: #172016;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease;
}

.oa360-ai-command-input button:hover {
  transform: translateY(-1px);
  background: var(--ai-green);
}

.oa360-ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.oa360-ai-suggestions button {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #e5e9e2;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #6f796a;
  font-size: 10px;
  cursor: pointer;
}

.oa360-ai-suggestions button:hover {
  border-color: rgba(113,146,47,.25);
  color: #547529;
  background: #f7faF2;
}

.oa360-ai-visual {
  position: relative;
  width: min(39vw, 610px);
  aspect-ratio: 1;
  margin-left: auto;
}

.oa360-ai-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(98,125,68,.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.oa360-ai-orbit-1 {
  width: 43%;
  height: 43%;
}

.oa360-ai-orbit-2 {
  width: 67%;
  height: 67%;
  border-style: dashed;
  animation: oa360Orbit 28s linear infinite;
}

.oa360-ai-orbit-3 {
  width: 91%;
  height: 91%;
}

.oa360-ai-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
}

.oa360-ai-core-glow {
  position: absolute;
  inset: -70px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(152,201,76,.23),
      rgba(113,146,47,.08) 34%,
      transparent 68%
    );
  filter: blur(3px);
  animation: oa360Breathe 4.5s ease-in-out infinite;
}

.oa360-ai-core-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 36% 28%,
      #f8ffe9 0%,
      #b6dc73 24%,
      #769f38 51%,
      #30461f 100%
    );
  box-shadow:
    0 30px 80px rgba(68,95,40,.22),
    inset 0 0 40px rgba(255,255,255,.26);
}

.oa360-ai-core-inner span {
  color: #fff;
  font-size: 27px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.oa360-ai-core-inner strong {
  margin-top: 7px;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.06em;
}

.oa360-ai-core-inner small {
  color: rgba(255,255,255,.79);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .18em;
}

.oa360-ai-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(75,94,61,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: #6e7a67;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
  box-shadow: 0 10px 30px rgba(36,50,29,.06);
  backdrop-filter: blur(10px);
}

.node-a {
  top: 12%;
  left: 43%;
}

.node-b {
  top: 45%;
  right: 2%;
}

.node-c {
  bottom: 12%;
  left: 48%;
}

.node-d {
  top: 48%;
  left: 1%;
}

.oa360-ai-pulse {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ai-green-bright);
  box-shadow: 0 0 18px rgba(152,201,76,.85);
}

.pulse-a {
  top: 24%;
  right: 21%;
  animation: oa360Pulse 2.5s ease-in-out infinite;
}

.pulse-b {
  bottom: 24%;
  left: 19%;
  animation: oa360Pulse 2.5s 1.1s ease-in-out infinite;
}

.oa360-ai-conversation {
  margin: -36px auto 86px;
}

.oa360-ai-conversation-panel {
  width: min(930px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(73,93,61,.14);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 30px 90px rgba(31,46,25,.1);
  backdrop-filter: blur(24px);
}

.oa360-ai-conversation-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e8ece5;
}

.oa360-ai-close {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e9e2;
  border-radius: 50%;
  background: #fff;
  color: #7b8477;
  font-size: 21px;
  cursor: pointer;
}

.oa360-ai-thread {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-height: 340px;
  padding: 22px 3px 8px;
  overflow: auto;
}

.oa360-ai-message {
  display: flex;
  gap: 10px;
  max-width: 78%;
  font-size: 13px;
  line-height: 1.65;
}

.oa360-ai-message.assistant {
  align-self: flex-start;
}

.oa360-ai-message.user {
  align-self: flex-end;
}

.oa360-ai-message > div:last-child {
  padding: 12px 15px;
  border: 1px solid #e5e9e2;
  border-radius: 16px;
  background: #f8faf5;
  color: #46523f;
}

.oa360-ai-message.user > div {
  border-color: #263024;
  background: #1b2319;
  color: #fff;
}

.oa360-ai-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--ai-green-soft);
  color: var(--ai-green);
  font-weight: 800;
}

.oa360-ai-next {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid #e8ece5;
}

.oa360-ai-next button,
.oa360-ai-contact {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dfe5da;
  border-radius: 999px;
  background: #fff;
  color: #53604e;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.oa360-ai-contact {
  border-color: #1b2319;
  background: #1b2319;
  color: #fff;
}

.oa360-ai-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 15px;
  padding: 80px 0;
  border-top: 1px solid var(--ai-border);
}

.oa360-ai-path {
  position: relative;
  min-height: 280px;
  padding: 26px;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--ai-border);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  cursor: pointer;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.oa360-ai-path:hover {
  transform: translateY(-5px);
  border-color: rgba(113,146,47,.28);
  box-shadow: 0 24px 60px rgba(40,57,32,.09);
}

.oa360-ai-path-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #c4cbc0;
  font-size: 11px;
  font-weight: 800;
}

.oa360-ai-path small {
  display: block;
  color: var(--ai-green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}

.oa360-ai-path strong {
  display: block;
  max-width: 270px;
  margin-top: 45px;
  color: var(--ai-ink);
  font-size: 25px;
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.oa360-ai-path p {
  max-width: 330px;
  margin: 16px 0 0;
  color: var(--ai-muted);
  font-size: 13px;
  line-height: 1.6;
}

.oa360-ai-path-go {
  display: block;
  margin-top: 24px;
  color: #4f6f28;
  font-size: 11px;
  font-weight: 800;
}

.oa360-ai-ecosystem {
  padding: 100px 0;
  border-top: 1px solid var(--ai-border);
}

.oa360-ai-section-head {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 80px;
  align-items: end;
}

.oa360-ai-section-head small,
.oa360-ai-trust-strip small {
  color: var(--ai-green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
}

.oa360-ai-section-head h2 {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--ai-ink);
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 670;
  line-height: 1;
  letter-spacing: -.05em;
}

.oa360-ai-section-head p {
  max-width: 550px;
  margin: 0;
  color: var(--ai-muted);
  font-size: 14px;
  line-height: 1.7;
}

.oa360-ai-systems {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-top: 48px;
}

.oa360-ai-system {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--ai-border);
  border-radius: 18px;
  background: rgba(255,255,255,.66);
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.oa360-ai-system:hover {
  transform: translateY(-2px);
  border-color: rgba(113,146,47,.26);
  background: #fff;
}

.oa360-ai-system-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--ai-green-soft);
  color: var(--ai-green);
  font-size: 17px;
  font-weight: 800;
}

.oa360-ai-system-copy {
  min-width: 0;
}

.oa360-ai-system-copy small {
  display: block;
  color: #a0a89c;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .13em;
}

.oa360-ai-system-copy strong {
  display: block;
  margin-top: 3px;
  color: #2a3427;
  font-size: 14px;
}

.oa360-ai-system-copy > span {
  display: block;
  margin-top: 4px;
  color: #838d7f;
  font-size: 10px;
  line-height: 1.45;
}

.oa360-ai-system-arrow {
  color: #a4aca0;
  font-size: 14px;
}

.oa360-ai-trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 92px;
  padding: 28px 30px;
  border: 1px solid rgba(113,146,47,.15);
  border-radius: 22px;
  background:
    linear-gradient(
      110deg,
      rgba(243,249,234,.9),
      rgba(255,255,255,.76)
    );
}

.oa360-ai-trust-strip > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.oa360-ai-trust-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #1c2519;
  color: #c6eb87;
  font-size: 20px;
}

.oa360-ai-trust-strip strong {
  display: block;
  margin-top: 3px;
  color: #253022;
  font-size: 14px;
}

.oa360-ai-trust-strip p {
  margin: 0;
  color: #758070;
  font-size: 12px;
  line-height: 1.65;
}

.oa360-ai-footer {
  display: flex;
  justify-content: space-between;
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--ai-border);
  color: #969f92;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

@keyframes oa360Orbit {
  from {
    transform:
      translate(-50%,-50%)
      rotate(0deg);
  }

  to {
    transform:
      translate(-50%,-50%)
      rotate(360deg);
  }
}

@keyframes oa360Breathe {
  0%,
  100% {
    transform: scale(.92);
    opacity: .72;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes oa360Pulse {
  0%,
  100% {
    transform: scale(.75);
    opacity: .35;
  }

  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .oa360-ai-header,
  .oa360-ai-main,
  .oa360-ai-footer {
    width: min(100% - 42px, 1500px);
  }

  .oa360-ai-hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .oa360-ai-visual {
    width: min(620px, 80vw);
    margin: 30px auto 0;
  }

  .oa360-ai-paths,
  .oa360-ai-systems {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .oa360-ai-header,
  .oa360-ai-main,
  .oa360-ai-footer {
    width: min(100% - 28px, 1500px);
  }

  .oa360-ai-header {
    height: 78px;
  }

  .oa360-ai-live {
    display: none;
  }

  .oa360-ai-login-link {
    padding: 0 13px;
  }

  .oa360-ai-brand img {
    width: 140px;
  }

  .oa360-ai-brand span {
    display: none;
  }

  .oa360-ai-hero {
    min-height: auto;
    padding: 64px 0 72px;
  }

  .oa360-ai-copy h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .oa360-ai-command {
    margin-top: 30px;
    padding: 13px;
    border-radius: 20px;
  }

  .oa360-ai-visual {
    width: 92vw;
    max-width: 480px;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .oa360-ai-core {
    width: 135px;
    height: 135px;
  }

  .oa360-ai-core-inner {
    width: 116px;
    height: 116px;
  }

  .oa360-ai-core-inner strong {
    font-size: 25px;
  }

  .oa360-ai-paths,
  .oa360-ai-systems,
  .oa360-ai-section-head,
  .oa360-ai-trust-strip {
    grid-template-columns: 1fr;
  }

  .oa360-ai-paths {
    padding: 65px 0;
  }

  .oa360-ai-section-head {
    gap: 26px;
  }

  .oa360-ai-ecosystem {
    padding: 70px 0;
  }

  .oa360-ai-systems {
    gap: 9px;
  }

  .oa360-ai-trust-strip {
    gap: 22px;
    margin-bottom: 65px;
  }

  .oa360-ai-footer {
    flex-direction: column;
    gap: 7px;
  }

  #page-login.oa360-preauth-login-open
    .oa360-ai-auth-back {
    top: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #oa360-preauth-ai *,
  #oa360-preauth-ai *::before,
  #oa360-preauth-ai *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* ============================================================
   OA360_PREAUTH_AI_MOTION_INTENT_R11
   ALFASSA palette preserved:
   #71922f primary green
   #98c94c bright green
   ============================================================ */

#oa360-preauth-ai {
  --ai-green: #71922f;
  --ai-green-bright: #98c94c;
}

/* LOGO: preserve artwork, animate environment around it */

.oa360-ai-brand {
  position: relative;
  isolation: isolate;
}

.oa360-ai-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -24px;
  top: 50%;
  width: 235px;
  height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse,
      rgba(113,146,47,.15),
      rgba(152,201,76,.055) 44%,
      transparent 72%
    );
  filter: blur(10px);
  transform: translateY(-50%);
  animation:
    oa360LogoAura 4.8s ease-in-out infinite;
}

.oa360-ai-brand::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 4px;
  left: -20%;
  width: 34px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.72),
      transparent
    );
  filter: blur(5px);
  animation:
    oa360LogoSweep 7.5s ease-in-out infinite;
}

.oa360-ai-brand img {
  position: relative;
  z-index: 1;
  transform-origin: 45% 50%;
  filter:
    drop-shadow(0 7px 12px rgba(45,65,31,.07));
  animation:
    oa360LogoFloat 5.2s ease-in-out infinite;
}

/* HERO micro depth */

.oa360-ai-visual {
  transform:
    translate3d(
      var(--oa-pointer-x, 0),
      var(--oa-pointer-y, 0),
      0
    );
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.oa360-ai-core-inner {
  animation:
    oa360CoreFloat 5.7s ease-in-out infinite;
}

.oa360-ai-core-inner::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border:
    1px solid rgba(255,255,255,.28);
  pointer-events: none;
}

.oa360-ai-core-inner::after {
  content: "";
  position: absolute;
  width: 36%;
  height: 18%;
  top: 17%;
  left: 22%;
  border-radius: 50%;
  transform: rotate(-25deg);
  background:
    radial-gradient(
      ellipse,
      rgba(255,255,255,.6),
      transparent 72%
    );
  filter: blur(3px);
  pointer-events: none;
}

/* rotating data ring around OA Copilot */

.oa360-ai-data-ring {
  position: absolute;
  z-index: 1;
  inset: -44px;
  border-radius: 50%;
  animation:
    oa360DataRing 14s linear infinite;
  pointer-events: none;
}

.oa360-ai-data-ring i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px;
  border-radius: 50%;
  background: #98c94c;
  box-shadow:
    0 0 10px rgba(152,201,76,.65);
}

.oa360-ai-data-ring i:nth-child(1) {
  transform: rotate(0deg) translateY(-118px);
}

.oa360-ai-data-ring i:nth-child(2) {
  transform: rotate(60deg) translateY(-118px);
}

.oa360-ai-data-ring i:nth-child(3) {
  transform: rotate(120deg) translateY(-118px);
}

.oa360-ai-data-ring i:nth-child(4) {
  transform: rotate(180deg) translateY(-118px);
}

.oa360-ai-data-ring i:nth-child(5) {
  transform: rotate(240deg) translateY(-118px);
}

.oa360-ai-data-ring i:nth-child(6) {
  transform: rotate(300deg) translateY(-118px);
}

/* animated command field */

.oa360-ai-command {
  position: relative;
}

.oa360-ai-command::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 25px;
  opacity: .35;
  background:
    linear-gradient(
      115deg,
      transparent 5%,
      rgba(113,146,47,.19) 32%,
      transparent 53%,
      rgba(152,201,76,.14) 72%,
      transparent 95%
    );
  background-size: 220% 100%;
  animation:
    oa360CommandFlow 8s linear infinite;
}

.oa360-ai-command-input:focus-within {
  border-color:
    rgba(113,146,47,.38);
  box-shadow:
    0 0 0 4px rgba(113,146,47,.07),
    0 15px 40px rgba(54,76,37,.065);
}

/* paths become subtly reactive */

.oa360-ai-path::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -100px;
  bottom: -110px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(152,201,76,.13),
      transparent 68%
    );
  transform: scale(.7);
  opacity: 0;
  transition:
    transform .35s ease,
    opacity .35s ease;
  pointer-events: none;
}

.oa360-ai-path:hover::after {
  transform: scale(1);
  opacity: 1;
}

/* online indicator breathes */

.oa360-ai-live i,
.oa360-ai-command-status {
  animation:
    oa360OnlineBreath 2.8s ease-in-out infinite;
}

/* animation definitions */

@keyframes oa360LogoAura {
  0%,
  100% {
    opacity: .55;
    transform:
      translateY(-50%)
      scale(.92);
  }

  50% {
    opacity: 1;
    transform:
      translateY(-50%)
      scale(1.08);
  }
}

@keyframes oa360LogoSweep {
  0%,
  72% {
    left: -20%;
    opacity: 0;
  }

  76% {
    opacity: .55;
  }

  84% {
    left: 105%;
    opacity: 0;
  }

  100% {
    left: 105%;
    opacity: 0;
  }
}

@keyframes oa360LogoFloat {
  0%,
  100% {
    transform:
      translate3d(0,0,0)
      scale(1);
  }

  50% {
    transform:
      translate3d(0,-3px,0)
      scale(1.008);
  }
}

@keyframes oa360CoreFloat {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(-.3deg);
  }

  50% {
    transform:
      translateY(-7px)
      rotate(.3deg);
  }
}

@keyframes oa360DataRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes oa360CommandFlow {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -20% 0;
  }
}

@keyframes oa360OnlineBreath {
  0%,
  100% {
    opacity: .72;
  }

  50% {
    opacity: 1;
  }
}

/* accessibility still wins */

@media (prefers-reduced-motion: reduce) {
  .oa360-ai-brand::before,
  .oa360-ai-brand::after,
  .oa360-ai-brand img,
  .oa360-ai-core-inner,
  .oa360-ai-data-ring,
  .oa360-ai-command::before,
  .oa360-ai-live i,
  .oa360-ai-command-status {
    animation: none !important;
  }

  .oa360-ai-visual {
    transform: none !important;
    transition: none !important;
  }
}


/* ============================================================
   OA360_ALFASSA_SYSTEM_MODEL_R12
   First-paint protection + authentic ALFASSA system model
   ============================================================ */

/*
 * CRITICAL FOUC FIX:
 * Native Frappe login must never paint before OA360.
 */
#page-login:not(.oa360-preauth-login-open) .page_content {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* immediate branded first paint while JS builds OA360 */
#page-login:not([data-oa360-ai-gateway="1"])::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99998;
  background:
    #fff
    url("/assets/alfassa_oa360/branding/alfassa-logo.png")
    center center / min(270px, 52vw) auto
    no-repeat;
  animation: oa360BootPulse 1.8s ease-in-out infinite;
}

#page-login[data-oa360-ai-gateway="1"]::before,
#page-login.oa360-preauth-login-open::before {
  display: none;
}

#page-login.oa360-preauth-login-open .page_content {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.oa360-ai-live {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.oa360-ai-core {
  z-index: 8;
  cursor: pointer;
  pointer-events: auto;
  outline: none;
}

.oa360-ai-core:focus-visible .oa360-ai-core-inner {
  box-shadow:
    0 0 0 5px rgba(113,146,47,.15),
    0 30px 80px rgba(68,95,40,.22),
    inset 0 0 40px rgba(255,255,255,.26);
}

/* DEVELOPMENT SYSTEM */

.oa360-ai-development {
  padding: 100px 0;
  border-top: 1px solid var(--ai-border);
}

.oa360-development-duality {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 48px;
}

.oa360-development-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(113,146,47,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
}

.oa360-development-card > span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #71922f;
  background: #eef6df;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.oa360-development-card strong {
  display: block;
  margin-top: 40px;
  color: #101510;
  font-size: 27px;
  letter-spacing: -.035em;
}

.oa360-development-card p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #758074;
  font-size: 13px;
  line-height: 1.7;
}

.oa360-development-card.multiply {
  background:
    linear-gradient(
      145deg,
      rgba(238,246,223,.92),
      rgba(255,255,255,.82)
    );
}

.oa360-development-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  color: #71922f;
}

.oa360-development-flow span {
  font-size: 26px;
}

.oa360-development-flow small {
  margin-top: 7px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.oa360-matching-model {
  margin-top: 18px;
  padding: 32px;
  border: 1px solid var(--ai-border);
  border-radius: 24px;
  background: rgba(255,255,255,.67);
}

.oa360-matching-head small {
  color: #71922f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.oa360-matching-head h3 {
  margin: 9px 0 0;
  color: #101510;
  font-size: 30px;
  letter-spacing: -.04em;
}

.oa360-matching-head p {
  max-width: 650px;
  color: #758074;
  font-size: 12px;
  line-height: 1.65;
}

.oa360-six-c {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 7px;
  margin-top: 28px;
}

.oa360-six-c > div {
  min-height: 125px;
  padding: 15px;
  border: 1px solid #e5eae1;
  border-radius: 15px;
  background: #fff;
}

.oa360-six-c b {
  display: block;
  color: #a7b19f;
  font-size: 8px;
}

.oa360-six-c strong {
  display: block;
  margin-top: 29px;
  color: #303a2d;
  font-size: 12px;
}

.oa360-six-c span {
  display: block;
  margin-top: 5px;
  color: #8b9587;
  font-size: 9px;
}

.oa360-match-signals {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 24px;
}

.oa360-match-signals > div {
  padding: 18px;
  border-radius: 15px;
  background: #f6f9f1;
}

.oa360-match-signals small {
  color: #71922f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.oa360-match-signals strong,
.oa360-match-signals span {
  display: block;
}

.oa360-match-signals strong {
  margin-top: 8px;
  color: #273124;
  font-size: 13px;
}

.oa360-match-signals span {
  margin-top: 5px;
  color: #7f897a;
  font-size: 9px;
}

@keyframes oa360BootPulse {
  0%,
  100% {
    opacity: .72;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .oa360-development-duality {
    grid-template-columns: 1fr;
  }

  .oa360-development-flow {
    min-height: 55px;
    flex-direction: row;
    gap: 10px;
  }

  .oa360-development-flow small {
    margin: 0;
    writing-mode: horizontal-tb;
  }

  .oa360-six-c {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 600px) {
  .oa360-six-c,
  .oa360-match-signals {
    grid-template-columns: 1fr;
  }
}

/* OA360_ALFASSA_SYSTEM_MODEL_R12 */


/* ============================================================
   OA360_ALFASSA_FULL_ECOSYSTEM_R13
   ============================================================ */

.oa360-system-map,
.oa360-platform-architecture {
  padding: 100px 0;
  border-top: 1px solid var(--ai-border);
}

/* THREE FOUNDATIONS */

.oa360-three-pillars {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-top: 50px;
}

.oa360-three-pillars article {
  position: relative;
  min-height: 245px;
  padding: 25px;
  border: 1px solid var(--ai-border);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
}

.oa360-three-pillars article.featured {
  border-color: rgba(113,146,47,.28);
  background:
    linear-gradient(
      145deg,
      #f0f7e5,
      rgba(255,255,255,.84)
    );
}

.oa360-three-pillars article > span {
  position: absolute;
  right: 23px;
  top: 21px;
  color: #bac3b5;
  font-size: 10px;
  font-weight: 850;
}

.oa360-three-pillars small {
  color: #71922f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
}

.oa360-three-pillars strong {
  display: block;
  margin-top: 61px;
  color: #111711;
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -.035em;
}

.oa360-three-pillars p {
  margin: 13px 0 0;
  color: #768173;
  font-size: 12px;
  line-height: 1.7;
}

/* SIX FUNCTIONAL LEVELS */

.oa360-system-levels-head {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 60px;
  align-items: end;
  margin-top: 85px;
}

.oa360-system-levels-head small,
.oa360-operating-copy small {
  color: #71922f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.oa360-system-levels-head h3,
.oa360-operating-copy h3 {
  max-width: 720px;
  margin: 10px 0 0;
  color: #101510;
  font-size: clamp(31px,3.2vw,49px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.oa360-system-levels-head p {
  margin: 0;
  color: #778173;
  font-size: 12px;
  line-height: 1.7;
}

.oa360-system-levels {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 8px;
  margin-top: 30px;
}

.oa360-system-levels button {
  min-height: 220px;
  padding: 17px;
  text-align: left;
  border: 1px solid #e4e9e0;
  border-radius: 17px;
  background: rgba(255,255,255,.76);
  cursor: pointer;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.oa360-system-levels button:hover {
  transform: translateY(-4px);
  border-color: rgba(113,146,47,.3);
  box-shadow: 0 18px 45px rgba(42,58,33,.07);
}

.oa360-system-levels b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 39px;
  height: 27px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef6df;
  color: #71922f;
  font-size: 9px;
  letter-spacing: .08em;
}

.oa360-system-levels small {
  display: block;
  margin-top: 20px;
  color: #9aa395;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .12em;
}

.oa360-system-levels strong {
  display: block;
  margin-top: 7px;
  color: #283125;
  font-size: 13px;
}

.oa360-system-levels span {
  display: block;
  margin-top: 13px;
  color: #818b7c;
  font-size: 9px;
  line-height: 1.55;
}

/* PLATFORM THREE LAYERS */

.oa360-platform-layers {
  display: grid;
  grid-template-columns:
    minmax(0,1fr) auto
    minmax(0,1fr) auto
    minmax(0,1fr);
  gap: 10px;
  align-items: center;
  margin-top: 50px;
}

.oa360-platform-layers article {
  min-height: 225px;
  padding: 25px;
  border: 1px solid var(--ai-border);
  border-radius: 22px;
  background: rgba(255,255,255,.7);
}

.oa360-platform-layers article.workspace {
  border-color: rgba(113,146,47,.28);
  background: #f3f8ea;
}

.oa360-platform-layers article > span {
  color: #b5beb0;
  font-size: 9px;
  font-weight: 850;
}

.oa360-platform-layers small {
  display: block;
  margin-top: 27px;
  color: #71922f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.oa360-platform-layers strong {
  display: block;
  margin-top: 8px;
  color: #172015;
  font-size: 21px;
  letter-spacing: -.025em;
}

.oa360-platform-layers p {
  margin: 14px 0 0;
  color: #788273;
  font-size: 11px;
  line-height: 1.65;
}

.oa360-platform-arrow {
  color: #8ca663;
  font-size: 22px;
}

/* OPERATING SYSTEM */

.oa360-operating-layer {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 65px;
  margin-top: 70px;
  padding-top: 65px;
  border-top: 1px solid var(--ai-border);
}

.oa360-operating-copy p {
  max-width: 540px;
  margin: 18px 0 0;
  color: #798374;
  font-size: 12px;
  line-height: 1.75;
}

.oa360-operating-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}

.oa360-operating-grid span {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #e4e9e0;
  border-radius: 13px;
  background: rgba(255,255,255,.74);
  color: #596454;
  font-size: 10px;
  font-weight: 700;
  transition: .18s ease;
}

.oa360-operating-grid span:hover {
  border-color: rgba(113,146,47,.28);
  color: #56742c;
  background: #f8fbf4;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .oa360-system-levels {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .oa360-operating-layer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .oa360-three-pillars,
  .oa360-system-levels-head {
    grid-template-columns: 1fr;
  }

  .oa360-platform-layers {
    grid-template-columns: 1fr;
  }

  .oa360-platform-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .oa360-operating-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 600px) {
  .oa360-three-pillars,
  .oa360-system-levels,
  .oa360-operating-grid {
    grid-template-columns: 1fr;
  }
}

/* OA360_ALFASSA_FULL_ECOSYSTEM_R13 */

/* ============================================================
   OA360_PUBLIC_COPILOT_GEMINI_R1
   ============================================================ */

.oa360-copilot-composer {
  width: 100%;
  padding-top: 4px;
}

.oa360-copilot-input-row {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  align-items: end;
}

#oa360-copilot-input {
  width: 100%;
  min-height: 48px;
  max-height: 140px;
  resize: vertical;
  padding: 13px 15px;
  border: 1px solid rgba(113,146,47,.22);
  border-radius: 15px;
  outline: 0;
  background: rgba(255,255,255,.92);
  color: #172015;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

#oa360-copilot-input:focus {
  border-color: rgba(113,146,47,.62);
  box-shadow:
    0 0 0 4px rgba(113,146,47,.09);
}

#oa360-copilot-send {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #71922f;
  color: white;
  font-size: 19px;
  cursor: pointer;
  transition:
    transform .15s ease,
    opacity .15s ease;
}

#oa360-copilot-send:hover {
  transform: translateY(-1px);
}

#oa360-copilot-send:disabled,
#oa360-copilot-input:disabled {
  opacity: .55;
  cursor: wait;
}

.oa360-copilot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 9px;
  color: #8a9485;
  font-size: 9px;
}

.oa360-copilot-meta button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #71922f;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.oa360-copilot-typing > div:last-child {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 50px;
  min-height: 30px;
}

.oa360-copilot-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #71922f;
  animation:
    oa360CopilotDot 1.1s
    ease-in-out infinite;
}

.oa360-copilot-typing span:nth-child(2) {
  animation-delay: .14s;
}

.oa360-copilot-typing span:nth-child(3) {
  animation-delay: .28s;
}

@keyframes oa360CopilotDot {
  0%,
  60%,
  100% {
    opacity: .28;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oa360-copilot-typing span {
    animation: none;
    opacity: .7;
  }
}

@media (max-width: 600px) {
  .oa360-copilot-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* OA360_PUBLIC_COPILOT_GEMINI_R1 */

/* ============================================================
   OA360_DECENTRALIZED_ECOSYSTEM_R14
   ============================================================ */

.oa360-ecosystem-network {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 100px auto 80px;
  padding: 0;
}

.oa360-network-intro {
  position: relative;
  z-index: 4;
  width: min(680px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.oa360-network-kicker {
  margin-bottom: 12px;
  color: #71922f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.oa360-network-intro h2 {
  margin: 0;
  color: #172015;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: .98;
}

.oa360-network-intro h2 span {
  display: block;
  color: #71922f;
}

.oa360-network-intro p {
  width: min(630px, 100%);
  margin: 22px auto 0;
  color: #65705f;
  font-size: 15px;
  line-height: 1.7;
}

.oa360-network-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #8a9485;
  font-size: 10px;
}

.oa360-network-hint i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #98c94c;
  box-shadow:
    0 0 0 5px
    rgba(152,201,76,.12);
}

.oa360-network-canvas {
  position: relative;
  height: 760px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(113,146,47,.11);
  border-radius: 40px;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(152,201,76,.11),
      rgba(113,146,47,.035) 30%,
      rgba(255,255,255,.76) 64%,
      rgba(255,255,255,.94) 100%
    );
  box-shadow:
    0 28px 90px rgba(35,55,20,.08);
}

.oa360-network-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(
      rgba(113,146,47,.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(113,146,47,.045) 1px,
      transparent 1px
    );
  background-size: 54px 54px;
  mask-image:
    radial-gradient(
      circle at center,
      black 15%,
      transparent 78%
    );
}

.oa360-network-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 470px;
  height: 470px;
  transform:
    translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(152,201,76,.17),
      rgba(113,146,47,.055) 36%,
      transparent 70%
    );
  filter: blur(14px);
  pointer-events: none;
}

.oa360-network-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.oa360-link {
  fill: none;
  stroke: rgba(113,146,47,.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.oa360-link.core-link {
  stroke: rgba(113,146,47,.36);
  stroke-width: 1.25;
  stroke-dasharray: 5 8;
  animation:
    oa360NetworkFlow
    9s linear infinite;
}

.oa360-link.hub-link {
  stroke: rgba(152,201,76,.24);
  stroke-dasharray: 2 7;
}

.oa360-link.service-link {
  stroke: rgba(113,146,47,.13);
}

.oa360-link.mesh-link {
  stroke: rgba(113,146,47,.075);
  stroke-dasharray: 3 9;
}

.oa360-network-core,
.oa360-network-system,
.oa360-network-service {
  position: absolute;
  z-index: 3;
  transform:
    translate(-50%, -50%);
}

.oa360-network-core {
  left: 50%;
  top: 50%;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(113,146,47,.28);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 28%,
      #b8df72,
      #71922f 48%,
      #334519 100%
    );
  color: white;
  cursor: pointer;
  box-shadow:
    0 24px 70px rgba(73,103,30,.28),
    0 0 0 15px rgba(152,201,76,.07);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.oa360-network-core:hover {
  transform:
    translate(-50%, -50%)
    scale(1.045);
  box-shadow:
    0 30px 90px rgba(73,103,30,.32),
    0 0 0 20px rgba(152,201,76,.085);
}

.oa360-network-core small,
.oa360-network-core strong,
.oa360-network-core em {
  position: relative;
  z-index: 3;
  display: block;
}

.oa360-network-core small {
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
  opacity: .8;
}

.oa360-network-core strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.oa360-network-core em {
  margin-top: 4px;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .13em;
  opacity: .8;
}

.oa360-network-core-orbit {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(152,201,76,.24);
  border-radius: 50%;
  animation:
    oa360NetworkSpin
    18s linear infinite;
}

.oa360-network-core-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #98c94c;
  box-shadow:
    0 0 14px rgba(152,201,76,.8);
}

.oa360-network-core-orbit.orbit-two {
  inset: -37px;
  border-style: dashed;
  opacity: .55;
  animation-duration: 28s;
  animation-direction: reverse;
}

.oa360-network-system {
  width: 112px;
  min-height: 62px;
  padding: 11px 8px 9px;
  border: 1px solid rgba(113,146,47,.19);
  border-radius: 16px;
  background:
    rgba(255,255,255,.91);
  color: #172015;
  cursor: pointer;
  box-shadow:
    0 12px 30px rgba(35,55,20,.07);
  backdrop-filter: blur(12px);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.oa360-network-system:hover {
  transform:
    translate(-50%, -50%)
    scale(1.06);
  border-color:
    rgba(113,146,47,.55);
  box-shadow:
    0 16px 38px rgba(35,55,20,.12);
}

.oa360-network-system b {
  display: block;
  color: #71922f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
}

.oa360-network-system span {
  display: block;
  margin-top: 3px;
  color: #7e8978;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .09em;
}

.oa360-network-service {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 112px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(113,146,47,.12);
  border-radius: 11px;
  background:
    rgba(255,255,255,.86);
  color: #55604f;
  cursor: pointer;
  box-shadow:
    0 7px 20px rgba(35,55,20,.045);
  backdrop-filter: blur(9px);
  transition:
    transform .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.oa360-network-service:hover {
  z-index: 8;
  transform:
    translate(-50%, -50%)
    scale(1.1);
  border-color:
    rgba(113,146,47,.46);
  color: #24301e;
  box-shadow:
    0 14px 34px rgba(35,55,20,.13);
}

.oa360-network-service i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #98c94c;
  box-shadow:
    0 0 0 3px
    rgba(152,201,76,.1);
}

.oa360-network-service span {
  overflow: hidden;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oa360-network-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 330px;
  height: 330px;
  transform:
    translate(-50%, -50%);
  border: 1px solid rgba(152,201,76,.10);
  border-radius: 50%;
  pointer-events: none;
  animation:
    oa360NetworkPulse
    5s ease-out infinite;
}

.oa360-network-pulse.pulse-b {
  animation-delay: 2.5s;
}

.oa360-network-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  color: #84907e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .09em;
}

.oa360-network-foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #98c94c;
}

@keyframes oa360NetworkFlow {
  to {
    stroke-dashoffset: -65;
  }
}

@keyframes oa360NetworkSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes oa360NetworkPulse {
  0% {
    opacity: .55;
    transform:
      translate(-50%, -50%)
      scale(.74);
  }

  100% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      scale(1.75);
  }
}

@media (max-width: 900px) {
  .oa360-ecosystem-network {
    width: min(
      calc(100% - 24px),
      680px
    );
    margin-top: 72px;
  }

  .oa360-network-canvas {
    height: auto;
    padding:
      34px 18px 24px;
    overflow: visible;
  }

  .oa360-network-lines,
  .oa360-network-pulse {
    display: none;
  }

  .oa360-network-glow {
    top: 150px;
    width: 310px;
    height: 310px;
  }

  .oa360-network-core {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    width: 126px;
    height: 126px;
    margin: 18px auto 48px;
    transform: none;
  }

  .oa360-network-core:hover {
    transform: scale(1.03);
  }

  .oa360-network-systems {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0,1fr));
    gap: 9px;
  }

  .oa360-network-system {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    transform: none;
  }

  .oa360-network-system:hover {
    transform:
      translateY(-2px);
  }

  .oa360-network-services {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0,1fr));
    gap: 7px;
    margin-top: 20px;
  }

  .oa360-network-service {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    transform: none;
  }

  .oa360-network-service:hover {
    transform:
      translateY(-2px);
  }
}

@media (max-width: 520px) {
  .oa360-network-intro h2 {
    font-size: 34px;
  }

  .oa360-network-systems,
  .oa360-network-services {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oa360-network-core-orbit,
  .oa360-network-pulse,
  .oa360-link.core-link {
    animation: none;
  }
}

/* OA360_DECENTRALIZED_ECOSYSTEM_R14 */

/* OA360 NETWORK OPPORTUNITY UI R1 */

.oa360-data-loading,
.oa360-data-empty {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(20, 37, 20, .09);
  border-radius: 22px;
  background: rgba(255,255,255,.76);
}

.oa360-data-empty p {
  margin: 0;
  max-width: 520px;
  opacity: .66;
}

.oa360-data-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.oa360-data-toolbar h3 {
  margin: 4px 0 0;
}

.oa360-data-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
}

.oa360-data-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(20,37,20,.12);
  border-radius: 13px;
  background: #fff;
  color: inherit;
  outline: none;
}

.oa360-data-search input:focus {
  border-color: #71922f;
  box-shadow: 0 0 0 3px rgba(113,146,47,.12);
}

.oa360-data-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.oa360-data-summary article {
  padding: 18px 20px;
  border: 1px solid rgba(20,37,20,.08);
  border-radius: 18px;
  background: #fff;
}

.oa360-data-summary span {
  display: block;
  font-size: 12px;
  opacity: .62;
}

.oa360-data-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.oa360-network-list,
.oa360-opportunity-list,
.oa360-directory-list {
  display: grid;
  gap: 16px;
}

.oa360-network-card,
.oa360-opportunity-card,
.oa360-directory-card {
  border: 1px solid rgba(20,37,20,.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20,37,20,.035);
}

.oa360-network-card,
.oa360-opportunity-card {
  padding: 22px;
}

.oa360-network-card-head,
.oa360-opportunity-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.oa360-network-card-head h3,
.oa360-opportunity-card-head h3 {
  margin: 5px 0 4px;
}

.oa360-network-card-head p,
.oa360-opportunity-card-head p {
  margin: 0;
  opacity: .66;
}

.oa360-data-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(113,146,47,.11);
  color: #4f6c1e;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.oa360-rms-levels,
.oa360-kms-cycle {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 20px 0;
}

.oa360-rms-levels span,
.oa360-kms-cycle span {
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(20,37,20,.045);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  opacity: .56;
}

.oa360-rms-levels span.is-complete,
.oa360-kms-cycle span.is-complete {
  background: rgba(113,146,47,.10);
  color: #5a7825;
  opacity: 1;
}

.oa360-rms-levels span.is-current,
.oa360-kms-cycle span.is-current {
  background: #71922f;
  color: #fff;
  opacity: 1;
}

.oa360-rms-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.oa360-rms-detail {
  padding: 14px;
  border-radius: 15px;
  background: rgba(20,37,20,.035);
}

.oa360-rms-detail span,
.oa360-rms-highlight span {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  opacity: .62;
}

.oa360-rms-detail p,
.oa360-rms-highlight p {
  margin: 0;
  line-height: 1.5;
}

.oa360-rms-highlight {
  margin-top: 10px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(152,201,76,.10);
}

.oa360-network-meta,
.oa360-opportunity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.oa360-network-meta span,
.oa360-opportunity-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(20,37,20,.05);
  font-size: 11px;
}

.oa360-directory-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.oa360-directory-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(113,146,47,.12);
  color: #5a7825;
  font-weight: 800;
}

.oa360-directory-copy h3 {
  margin: 3px 0;
}

.oa360-directory-copy p,
.oa360-directory-copy small {
  display: block;
  margin: 0;
  opacity: .66;
}

.oa360-network-actions,
.oa360-opportunity-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.oa360-network-waiting {
  margin-top: 16px;
  font-size: 12px;
  opacity: .62;
  text-align: right;
}

.oa360-opportunity-summary {
  margin: 0 0 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .oa360-data-toolbar,
  .oa360-network-card-head,
  .oa360-opportunity-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .oa360-data-search {
    width: 100%;
  }

  .oa360-data-summary,
  .oa360-rms-three {
    grid-template-columns: 1fr;
  }

  .oa360-rms-levels,
  .oa360-kms-cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oa360-directory-card {
    grid-template-columns: auto 1fr;
  }

  .oa360-directory-action {
    grid-column: 1 / -1;
  }

  .oa360-directory-action button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .oa360-data-search {
    align-items: stretch;
    flex-direction: column;
  }

  .oa360-data-search button,
  .oa360-network-actions button,
  .oa360-opportunity-actions button {
    width: 100%;
  }

  .oa360-network-actions,
  .oa360-opportunity-actions {
    flex-direction: column;
  }
}

/* OA360_PUBLIC_REAL_ENROLLMENT_CHAT_R2V5 */
#page-login #oa360-ai-conversation.oa360-public-enrollment-host {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 27, 17, .38);
  backdrop-filter: blur(16px);
}

#page-login #oa360-ai-conversation.oa360-public-enrollment-host[hidden] {
  display: none !important;
}

#page-login .oa360-public-chat {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  width: min(760px, calc(100vw - 48px));
  height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid rgba(96, 119, 62, .18);
  border-radius: 26px;
  background: rgba(255, 255, 252, .985);
  box-shadow:
    0 32px 90px rgba(20, 31, 13, .18),
    0 2px 12px rgba(20, 31, 13, .06);
  color: #1e271b;
}

#page-login .oa360-public-chat::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

#page-login .oa360-public-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 17px 20px;
  border-bottom: 1px solid #e8ece3;
  background: rgba(252, 253, 249, .96);
}

#page-login .oa360-public-chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#page-login .oa360-public-chat-brand > div:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

#page-login .oa360-public-chat-brand small {
  color: #6f8f35;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

#page-login .oa360-public-chat-brand strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page-login .oa360-public-chat-brand span {
  color: #7a8273;
  font-size: 12px;
}

#page-login .oa360-public-chat-orb {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #fff 0 10%, rgba(255,255,255,.32) 11% 22%, transparent 23%),
    radial-gradient(circle at 60% 65%, #89b944 0, #5e8c20 54%, #31530c 100%);
  box-shadow:
    inset 0 0 13px rgba(255,255,255,.56),
    0 0 22px rgba(111, 157, 53, .25);
}

#page-login .oa360-public-chat-orb span {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(105, 146, 50, .22);
  border-radius: 50%;
  animation: oa360PublicPulse 2.6s ease-in-out infinite;
}

@keyframes oa360PublicPulse {
  0%, 100% { transform: scale(.92); opacity: .3; }
  50% { transform: scale(1.08); opacity: .75; }
}

#page-login .oa360-public-chat-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#page-login .oa360-public-chat-head-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dde4d5;
  border-radius: 10px;
  background: #fff;
  color: #53604a;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

#page-login .oa360-public-chat-head-actions .oa360-public-chat-close {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 500;
}

#page-login .oa360-public-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 24px 22px 28px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

#page-login .oa360-public-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 86%;
}

#page-login .oa360-public-msg.user {
  align-self: flex-end;
  justify-content: flex-end;
}

#page-login .oa360-public-msg.assistant {
  align-self: flex-start;
}

#page-login .oa360-public-msg-avatar {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: #eef5df;
  color: #658f26;
  font-size: 13px;
}

#page-login .oa360-public-msg-bubble {
  padding: 12px 15px;
  border: 1px solid #e0e6d9;
  border-radius: 7px 17px 17px 17px;
  background: #f8faf5;
  color: #374132;
  font-size: 14px;
  line-height: 1.55;
}

#page-login .oa360-public-msg.user .oa360-public-msg-bubble {
  border-color: #567a22;
  border-radius: 17px 7px 17px 17px;
  background: #567a22;
  color: #fff;
}

#page-login .oa360-public-msg.attachment .oa360-public-msg-bubble {
  display: grid;
  gap: 3px;
}

#page-login .oa360-public-msg.attachment .oa360-public-msg-bubble small {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  opacity: .72;
}

#page-login .oa360-public-msg-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #567a22;
  color: #fff;
}

#page-login .oa360-public-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 17px;
}

#page-login .oa360-public-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7d9070;
  animation: oa360Typing 1.2s ease-in-out infinite;
}

#page-login .oa360-public-typing i:nth-child(2) { animation-delay: .14s; }
#page-login .oa360-public-typing i:nth-child(3) { animation-delay: .28s; }

@keyframes oa360Typing {
  0%, 70%, 100% { transform: translateY(0); opacity: .38; }
  35% { transform: translateY(-3px); opacity: 1; }
}

#page-login .oa360-public-chat-error {
  margin: 0 20px 10px;
  padding: 10px 12px;
  border: 1px solid #f0d1cc;
  border-radius: 10px;
  background: #fff4f2;
  color: #8b3027;
  font-size: 12px;
  line-height: 1.45;
}

#page-login .oa360-public-chat-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px 12px;
  padding: 12px 14px;
  border: 1px solid #d9e6ca;
  border-radius: 13px;
  background: #f2f8e9;
}

#page-login .oa360-public-chat-result strong {
  font-size: 13px;
}

#page-login .oa360-public-chat-result span {
  flex: 1;
  color: #65705c;
  font-size: 12px;
}

#page-login .oa360-public-chat-result button {
  border: 0;
  background: none;
  color: #4f751a;
  font-weight: 800;
  cursor: pointer;
}

#page-login .oa360-public-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: end;
  margin: 0 20px;
  padding: 8px;
  border: 1px solid #dfe5d7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(34, 49, 22, .06);
}

#page-login .oa360-public-chat-composer.has-attachment {
  grid-template-columns: 42px minmax(0, 1fr) 44px;
}

#page-login .oa360-public-chat-composer textarea {
  width: 100%;
  min-height: 42px;
  max-height: 132px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 10px 7px;
  background: transparent;
  color: #263020;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

#page-login .oa360-public-chat-composer textarea::placeholder {
  color: #9aa293;
}

#page-login .oa360-public-chat-composer textarea:disabled {
  cursor: wait;
  opacity: .65;
}

#page-login .oa360-public-attach,
#page-login .oa360-public-send {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

#page-login .oa360-public-attach {
  background: #f0f4e9;
  color: #4f711f;
  font-size: 25px;
  font-weight: 400;
}

#page-login .oa360-public-send {
  background: #1c2a17;
  color: #fff;
  font-size: 19px;
}

#page-login .oa360-public-attach:disabled,
#page-login .oa360-public-send:disabled {
  cursor: not-allowed;
  opacity: .45;
}

#page-login .oa360-public-drop-hint {
  padding: 8px 22px 14px;
  color: #8a9283;
  font-size: 10px;
  text-align: center;
}

#page-login .oa360-public-chat:not(:has(.oa360-public-drop-hint)) {
  padding-bottom: 18px;
}

#page-login .oa360-public-chat.is-dragging::before {
  content: "Rilascia qui il documento";
  position: absolute;
  inset: 12px;
  z-index: 8;
  display: grid;
  place-items: center;
  border: 2px dashed #6b9630;
  border-radius: 20px;
  background: rgba(246, 250, 239, .96);
  color: #4e721a;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.01em;
}

#page-login .oa360-public-chat.is-busy .oa360-public-chat-composer {
  opacity: .72;
}

#page-login .oa360-public-chat-loading {
  display: flex;
  width: min(420px, calc(100vw - 48px));
  height: auto;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
}

@media (max-width: 700px) {
  #page-login #oa360-ai-conversation.oa360-public-enrollment-host {
    align-items: end;
    padding: 0;
  }

  #page-login .oa360-public-chat {
    width: 100vw;
    height: min(88dvh, 760px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  #page-login .oa360-public-chat-head {
    min-height: 72px;
    padding: 14px 15px;
  }

  #page-login .oa360-public-chat-head-actions > button:not(.oa360-public-chat-close) {
    display: none;
  }

  #page-login .oa360-public-chat-thread {
    padding: 18px 14px 22px;
  }

  #page-login .oa360-public-msg {
    max-width: 94%;
  }

  #page-login .oa360-public-chat-error,
  #page-login .oa360-public-chat-result,
  #page-login .oa360-public-chat-composer {
    margin-right: 12px;
    margin-left: 12px;
  }

  #page-login .oa360-public-chat-result {
    align-items: flex-start;
    flex-direction: column;
  }

  #page-login .oa360-public-drop-hint {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 420px) {
  #page-login .oa360-public-chat-brand span {
    display: none;
  }

  #page-login .oa360-public-chat {
    height: 92dvh;
  }

  #page-login .oa360-public-msg-bubble {
    font-size: 13.5px;
  }
}

/* OA360_PUBLIC_COPILOT_ENROLLMENT_BRIDGE_R2V6H
/* OA360_PUBLIC_COPILOT_ENROLLMENT_BRIDGE_R2V6H
   Visual hotfix: preserve the existing home OA Copilot composer layout,
   keep enrollment in the same chat, and place attachment controls in a
   separate toolbar so desktop/mobile stay stable after OTP. */
#oa360-ai-next .oa360-copilot-composer { display: flex; flex-direction: column; gap: 12px; }
#oa360-ai-next .oa360-copilot-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
#oa360-ai-next #oa360-copilot-input { width: 100%; min-height: 52px; max-height: 160px; resize: vertical; box-sizing: border-box; }
#oa360-ai-next #oa360-copilot-send { align-self: end; }
#oa360-ai-next .oa360-copilot-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#oa360-ai-next #oa360-enrollment-attach { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border: 1px solid currentColor; border-radius: 12px; background: transparent; cursor: pointer; font: inherit; line-height: 1; }
#oa360-ai-next #oa360-enrollment-attach:disabled { opacity: .45; cursor: default; }
#oa360-ai-next .oa360-copilot-tools-copy { font-size: 12px; line-height: 1.4; opacity: .78; }
#oa360-ai-next .oa360-copilot-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* OA360_PUBLIC_COPILOT_ENROLLMENT_VISUAL_HOTFIX_R2V6H */
@media (max-width: 640px) {
  #oa360-ai-next .oa360-copilot-input-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  #oa360-ai-next #oa360-copilot-input { min-height: 48px; }
  #oa360-ai-next .oa360-copilot-tools { align-items: stretch; gap: 10px; }
  #oa360-ai-next #oa360-enrollment-attach, #oa360-ai-next .oa360-copilot-tools-copy { width: 100%; }
  #oa360-ai-next .oa360-copilot-meta { flex-direction: column; align-items: flex-start; }
}


/* OA360_COPILOT_FULLSCREEN_R2V9 */
.oa360-ai-head-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.oa360-ai-head-actions .oa360-ai-close {
  margin-left: 0 !important;
}

.oa360-ai-fullscreen-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(54, 76, 42, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease;
}

.oa360-ai-fullscreen-toggle:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(107, 153, 39, .35);
}

.oa360-ai-fullscreen-toggle span {
  font-size: 19px;
  line-height: 1;
}

html.oa360-copilot-fullscreen-lock,
body.oa360-copilot-fullscreen-lock {
  overflow: hidden !important;
}

#oa360-ai-conversation.oa360-ai-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 20px !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(174, 220, 93, .15),
      transparent 38rem
    ),
    rgba(246, 249, 240, .98) !important;
  box-sizing: border-box !important;
}

#oa360-ai-conversation.oa360-ai-fullscreen
.oa360-ai-conversation-panel {
  width: min(1240px, 100%) !important;
  height: calc(100dvh - 40px) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

#oa360-ai-conversation.oa360-ai-fullscreen
.oa360-ai-conversation-head,
#oa360-ai-conversation.oa360-ai-fullscreen
#oa360-ai-next {
  flex: 0 0 auto !important;
}

#oa360-ai-conversation.oa360-ai-fullscreen
#oa360-ai-thread {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
}

@media (max-width: 700px) {
  #oa360-ai-conversation.oa360-ai-fullscreen {
    padding: 0 !important;
  }

  #oa360-ai-conversation.oa360-ai-fullscreen
  .oa360-ai-conversation-panel {
    width: 100% !important;
    height: 100dvh !important;
    border-radius: 0 !important;
  }

  .oa360-ai-head-actions {
    gap: 6px;
  }

  .oa360-ai-fullscreen-toggle {
    width: 36px;
    height: 36px;
  }
}
