/* ------------------------------------------------------------------
   Cortex sign-in pages (login.jsp, resetPassword.jsp) - Cortex blue.
   Left: form panel.  Right: connected-ecosystem showcase.
   ------------------------------------------------------------------ */
:root {
    --cxl-ink: #0f1c3a;
    --cxl-muted: #5f6b85;
    --cxl-navy: #0b2a6f;
    --cxl-blue: #1565f0;
    --cxl-blue-2: #3b8bff;
    --cxl-cyan: #22b8e6;
    --cxl-sky: #eef4ff;
    --cxl-sky-2: #e2ecff;
    --cxl-line: #dbe5f5;
    --cxl-peach: #f3c3a6;
    --cxl-font: "DM Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body.cxl {
    margin: 0;
    font-family: var(--cxl-font);
    color: var(--cxl-ink);
    background: var(--cxl-sky);
    -webkit-font-smoothing: antialiased;
}

/* ---------- shell ---------- */
.cxl-shell { display: grid; grid-template-columns: minmax(380px, 470px) minmax(0, 1fr); height: 100vh; height: 100dvh; overflow: hidden; }

/* ---------- left: form panel ---------- */
.cxl-auth {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 44px 16px;
    background: #fff;
    overflow-y: auto;
    min-height: 0;
    border-right: 1px solid var(--cxl-line);
    position: relative;
    z-index: 2;
}
.cxl-brand { display: flex; align-items: center; gap: 10px; }
.cxl-brand img { width: 32px; height: 32px; object-fit: contain; }
.cxl-brand span { font-size: 13.5px; font-weight: 600; color: var(--cxl-navy); line-height: 1.15; }
.cxl-brand small { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: .26em; color: var(--cxl-muted); text-transform: uppercase; }

.cxl-auth-main { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 360px; width: 100%; margin: 0 auto; }
.cxl-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cxl-blue); margin: 0 0 10px; }
.cxl-wordmark { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--cxl-blue); margin: 0; }
.cxl-wordmark sup { font-size: 14px; font-weight: 500; vertical-align: top; position: relative; top: 6px; margin-left: 2px; color: var(--cxl-navy); }
.cxl-tagline { margin: 6px 0 18px; font-size: 14px; color: var(--cxl-muted); }
.cxl-auth-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(140deg, var(--cxl-blue-2), var(--cxl-blue)); box-shadow: 0 14px 28px -14px rgba(21, 101, 240, .8); }
.cxl-auth-ic svg { width: 26px; height: 26px; }
.cxl-title { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--cxl-ink); }

.cxl-form { display: flex; flex-direction: column; gap: 12px; }
.cxl-form .demo-text {
    margin: 0 0 2px;
    padding: 8px 12px;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--cxl-navy);
    background: var(--cxl-sky);
    border: 1px solid var(--cxl-line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cxl-form .demo-text::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cxl-blue); box-shadow: 0 0 0 4px rgba(21, 101, 240, .15); flex: 0 0 auto; }
.cxl-field { display: flex; flex-direction: column; gap: 6px; }
.cxl-form label { font-size: 12.5px; font-weight: 600; color: var(--cxl-ink); }
.cxl-input { position: relative; }
.cxl-input > svg.cxl-ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #8b9bbb; pointer-events: none; }
.cxl-form input[type="text"], .cxl-form input[type="password"], .cxl-form input[type="email"] {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 42px;
    font: inherit;
    font-size: 14px;
    color: var(--cxl-ink);
    background: #fbfcff;
    border: 1px solid #cfdaee;
    border-radius: 12px;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.cxl-form input::placeholder { color: #9eabc6; }
.cxl-form input:focus { border-color: var(--cxl-blue); background: #fff; box-shadow: 0 0 0 4px rgba(21, 101, 240, .12); }
.cxl-form input.cxl-pw { padding-right: 46px; }
.cxl-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: #7f8fb0; cursor: pointer; display: grid; place-items: center; padding: 0; }
.cxl-eye:hover { background: var(--cxl-sky); color: var(--cxl-blue); }
.cxl-eye svg { width: 18px; height: 18px; }
.cxl-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.cxl-row a, .cxl-link { font-size: 12.5px; font-weight: 600; color: var(--cxl-blue); text-decoration: none; }
.cxl-row a:hover, .cxl-link:hover { text-decoration: underline; }
.cxl-row a small { font-size: inherit; }
.cxl-form .options { margin: 0; }
.cxl-form .forget:empty { display: none; }
.cxl-form .errorblock, .cxl-msg.is-err {
    margin: 0;
    padding: 11px 14px 11px 38px;
    font-size: 13px;
    font-weight: 500;
    color: #9f1d1d;
    background: #fef2f2 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.2' stroke-linecap='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='7' x2='12' y2='13'/><line x1='12' y1='17' x2='12' y2='17'/></svg>") 13px 13px no-repeat;
    border: 1px solid #f5c2c2;
    border-radius: 10px;
}
.cxl-msg.is-ok {
    margin: 0;
    padding: 11px 14px 11px 38px;
    font-size: 13px;
    font-weight: 500;
    color: #0c4a2a;
    background: #ecfdf3 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") 13px 13px no-repeat;
    border: 1px solid #a7e3bf;
    border-radius: 10px;
}
.cxl-form button[type="submit"], .cxl-btn {
    height: 46px;
    margin-top: 4px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--cxl-blue-2) 0%, var(--cxl-blue) 55%, #0f4fc4 100%);
    box-shadow: 0 12px 24px -12px rgba(21, 101, 240, .75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.cxl-form button[type="submit"]:hover { filter: brightness(1.06); box-shadow: 0 16px 30px -14px rgba(21, 101, 240, .85); }
.cxl-form button[type="submit"]:active { transform: translateY(1px); }
.cxl-form button[type="submit"][disabled] { opacity: .65; cursor: progress; }
.cxl-form button[type="submit"] svg { width: 18px; height: 18px; }
.cxl-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; align-self: center; }
.cxl-back svg { width: 15px; height: 15px; }

.cxl-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--cxl-muted); line-height: 1.6; border-top: 1px solid var(--cxl-line); padding-top: 14px; }
.cxl-foot a { color: var(--cxl-blue); text-decoration: none; font-weight: 600; }
.cxl-foot p { margin: 0; }
.cxl-ver { text-align: right; white-space: nowrap; }
.cxl-ver b { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--cxl-sky); color: var(--cxl-navy); font-weight: 600; font-size: 11px; }

/* ---------- branch picker (drives the hidden #branchesID select) ---------- */
.cxl-select { position: relative; }
.cxl-select select.cxl-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.cxl-sel-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px 0 8px;
    font: inherit;
    text-align: left;
    color: var(--cxl-ink);
    background: #fbfcff;
    border: 1px solid #cfdaee;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.cxl-sel-btn:hover { border-color: #a9bde3; background: #fff; }
.cxl-select.is-open .cxl-sel-btn, .cxl-sel-btn:focus-visible { outline: none; border-color: var(--cxl-blue); background: #fff; box-shadow: 0 0 0 4px rgba(21, 101, 240, .12); }
.cxl-sel-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--cxl-blue); background: var(--cxl-sky); }
.cxl-sel-ic svg { width: 18px; height: 18px; }
.cxl-sel-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.cxl-sel-txt small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cxl-muted); }
.cxl-sel-txt b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cxl-sel-txt b.is-ph { color: #9eabc6; font-weight: 500; }
.cxl-sel-chev { flex: 0 0 auto; width: 18px; height: 18px; color: #7f8fb0; transition: transform .2s; }
.cxl-select.is-open .cxl-sel-chev { transform: rotate(180deg); color: var(--cxl-blue); }
.cxl-sel-pop {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 50;
    background: #fff;
    border: 1px solid var(--cxl-line);
    border-radius: 14px;
    box-shadow: 0 24px 48px -18px rgba(15, 28, 58, .35);
    padding: 8px;
    display: none;
}
.cxl-select.is-open .cxl-sel-pop { display: block; animation: cxlPop .14s ease-out; }
@keyframes cxlPop { from { opacity: 0; transform: translateY(-4px); } }
.cxl-sel-search { position: relative; margin-bottom: 6px; }
.cxl-sel-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #8b9bbb; }
.cxl-sel-search input { width: 100%; height: 36px; padding: 0 10px 0 33px; font: inherit; font-size: 13px; border: 1px solid var(--cxl-line); border-radius: 9px; outline: none; background: #f7f9fe; }
.cxl-sel-search input:focus { border-color: var(--cxl-blue); background: #fff; }
.cxl-sel-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; }
.cxl-sel-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; cursor: pointer; color: var(--cxl-ink); }
.cxl-sel-list li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #c8d4ec; }
.cxl-sel-list li.is-active { background: var(--cxl-sky); }
.cxl-sel-list li.is-sel { font-weight: 600; color: var(--cxl-blue); }
.cxl-sel-list li.is-sel::before { background: var(--cxl-blue); box-shadow: 0 0 0 3px rgba(21, 101, 240, .18); }
.cxl-sel-list li.is-empty { color: var(--cxl-muted); cursor: default; justify-content: center; }
.cxl-sel-list li.is-empty::before { display: none; }

/* ---------- right: connected ecosystem ---------- */
.cxl-world {
    position: relative;
    overflow: hidden;
    padding: 28px 40px 22px;
    min-height: 0;
    background:
        radial-gradient(800px 520px at 80% 0%, rgba(59, 139, 255, .22), transparent 60%),
        radial-gradient(700px 520px at 0% 100%, rgba(34, 184, 230, .16), transparent 60%),
        linear-gradient(160deg, #f4f8ff 0%, #e6efff 100%);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cxl-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .75), rgba(226, 236, 255, .55));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 30px 60px -36px rgba(11, 42, 111, .45), inset 0 1px 0 #fff;
    overflow: hidden;
}
.cxl-stage-head { position: absolute; left: 26px; right: 26px; top: 20px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: #6a7da6; text-transform: uppercase; z-index: 3; }
.cxl-stage::after { /* soft glow behind the rings */
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 65%);
    pointer-events: none;
}
.cxl-rings { position: absolute; left: 50%; top: 45%; height: 80%; width: auto; max-width: 86%; aspect-ratio: 1 / .8; transform: translate(-50%, -50%); z-index: 1; overflow: visible; }
.cxl-rings .rg { transform-origin: 50% 50%; transform-box: fill-box; }
.cxl-rings .rg-a { animation: cxlTilt 14s ease-in-out infinite; }
.cxl-rings .rg-b { animation: cxlTilt 18s ease-in-out infinite reverse; }
@keyframes cxlTilt { 50% { transform: rotate(6deg); } }
.cxl-core { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); text-align: center; z-index: 2; pointer-events: none; }
.cxl-core small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; color: #6a7da6; text-transform: uppercase; }
.cxl-core strong { display: block; font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -.04em; color: var(--cxl-navy); }
.cxl-core em { font-style: normal; font-size: 13px; color: #5d6f96; letter-spacing: .02em; }

/* module nodes around the rings */
.cxl-node {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #fff;
    box-shadow: 0 10px 24px -14px rgba(11, 42, 111, .55);
    font-size: 13px;
    font-weight: 600;
    color: var(--cxl-navy);
    white-space: nowrap;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transform: translate(-50%, -50%);
    animation: cxlFloat 6s ease-in-out infinite;
}
.cxl-node i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--cxl-blue-2), var(--cxl-blue)); }
.cxl-node i svg { width: 15px; height: 15px; }
.cxl-node.n2 i { background: linear-gradient(140deg, #f6b791, #e2875c); }
.cxl-node.n3 i { background: linear-gradient(140deg, #4fd1f0, #1798c4); }
.cxl-node.n4 i { background: linear-gradient(140deg, #7d8cff, #4b5ae0); }
.cxl-node.n5 i { background: linear-gradient(140deg, #38c4b0, #128f80); }
.cxl-node.n6 i { background: linear-gradient(140deg, #f3c96a, #d39b1d); }
.cxl-node.n1 { left: 22%; top: 16%; }
.cxl-node.n2 { left: 77%; top: 13%; animation-delay: -1s; }
.cxl-node.n3 { left: 86%; top: 45%; animation-delay: -2s; }
.cxl-node.n4 { left: 71%; top: 76%; animation-delay: -3s; }
.cxl-node.n5 { left: 27%; top: 74%; animation-delay: -4s; }
.cxl-node.n6 { left: 14%; top: 45%; animation-delay: -5s; }
@keyframes cxlFloat { 50% { margin-top: -5px; } }

/* integrations */
.cxl-integ-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6a7da6; }
.cxl-integ-title::after { content: ""; flex: 1; height: 1px; background: #cfdcf5; }
.cxl-integ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cxl-partner {
    height: 68px;
    padding: 8px 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e3ebfa;
    box-shadow: 0 8px 20px -16px rgba(11, 42, 111, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
}
.cxl-partner:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -18px rgba(11, 42, 111, .55); }
.cxl-partner img { max-width: 100%; max-height: 44px; object-fit: contain; }

/* integrations: one slim strip inside the bottom of the card */
.cxl-strip { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); padding: 10px 18px; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cxl-strip span { flex: 0 0 auto; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6a7da6; padding-right: clamp(10px, 2vw, 24px); border-right: 1px solid #d3def3; }
.cxl-strip img { height: 34px; max-width: 16%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s, transform .2s; }
.cxl-strip img:hover { filter: none; opacity: 1; transform: translateY(-1px); }
@media (max-height: 820px) and (min-width: 1021px) { .cxl-strip { padding: 8px 14px; bottom: 14px; } .cxl-strip img { height: 28px; } }
/* integration ecosystem: Cortex hub linked to the four partner cards */
.cxl-stage { display: flex; flex-direction: column; }
.cxl-eco { position: relative; flex: 1; min-height: 0; margin: 28px 34px 0; }
.cxl-eco svg.cxl-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cxl-eco svg.cxl-links path { fill: none; stroke: #7fa8f5; stroke-width: 2.5; stroke-dasharray: 10 9; vector-effect: non-scaling-stroke; animation: cxlDash 1.6s linear infinite; }
@keyframes cxlDash { to { stroke-dashoffset: -38; } }
.cxl-partner { position: absolute; width: 26%; max-width: 240px; height: auto; padding: 16px 18px 12px; background: #fff; border-radius: 16px; border: 1px solid #e3ebfa; box-shadow: 0 7px 0 #d3e1fb, 0 22px 36px -22px rgba(11, 42, 111, .55); display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 12px; z-index: 2; transition: transform .2s; }
.cxl-partner:hover { transform: translateY(-3px); }
.cxl-partner img { width: 100%; height: clamp(40px, 7vh, 64px); max-height: none; object-fit: contain; object-position: left center; }
.cxl-partner span { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--cxl-navy); }
.cxl-partner span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cxl-blue); box-shadow: 0 0 0 3px rgba(21, 101, 240, .18); }
.cxl-p1 { left: 0; top: 6%; } .cxl-p2 { right: 0; top: 6%; } .cxl-p3 { left: 0; bottom: 6%; } .cxl-p4 { right: 0; bottom: 6%; }
.cxl-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(200px, 22vw, 260px); padding: 26px 18px; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(150deg, #5aa2ff 0%, #1565f0 55%, #0e47c0 100%); box-shadow: 0 9px 0 #0b3a9e, 0 34px 54px -24px rgba(11, 42, 111, .7), inset 0 1px 0 rgba(255, 255, 255, .35); z-index: 3; }
.cxl-hub small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .3em; opacity: .8; }
.cxl-hub strong { display: block; margin: 6px 0 4px; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.cxl-hub em { font-style: normal; font-size: 12.5px; opacity: .85; }
.cxl-eco-label { margin: 0; padding: 14px 0 18px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #6a7da6; }
@media (max-height: 820px) and (min-width: 1021px) { .cxl-eco { margin-top: 20px; } .cxl-partner { padding: 12px 14px 10px; gap: 8px; } .cxl-eco-label { padding: 10px 0 12px; } }
@media (prefers-reduced-motion: reduce) { .cxl-eco svg.cxl-links path { animation: none; } }
/* ---------- preloader & warning banner (ids used by js/main.js) ---------- */
#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(238, 244, 255, .92); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
#preloader::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 3px solid rgba(21, 101, 240, .15); border-top-color: var(--cxl-blue); animation: cxlSpin .9s linear infinite; }
#preloader .logo1 { width: 52px; height: 52px; object-fit: contain; }
@keyframes cxlSpin { to { transform: rotate(360deg); } }

#popup-modal { display: none; position: fixed; inset: 0; z-index: 9000; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; background: rgba(11, 22, 52, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
#popup-modal .popup-content { position: relative; width: min(620px, 92vw); margin: auto; display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 18px; padding: 22px 28px 18px; text-align: center; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(11, 22, 52, .6); transform: translateY(12px) scale(.97); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); }
#popup-modal.show .popup-content { transform: none; }
#popup-modal.hide .popup-content { transform: translateY(8px) scale(.98); }
#popup-modal .cxl-notice-band { position: absolute; left: 0; right: 0; top: 0; height: 68px; background: radial-gradient(120% 140% at 50% 0%, #fff4dc 0%, #fffaf0 55%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
#popup-modal .cxl-notice-ic { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #fbbf24, #f59e0b 55%, #d97706); box-shadow: 0 0 0 6px rgba(245, 158, 11, .14), 0 10px 20px -10px rgba(217, 119, 6, .8); margin-bottom: 8px; animation: cxlPulse 2.4s ease-in-out infinite; }
#popup-modal .cxl-notice-ic svg { width: 24px; height: 24px; }
@keyframes cxlPulse { 50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, .06), 0 10px 20px -10px rgba(217, 119, 6, .8); } }
#popup-modal .cxl-notice-tag { position: relative; margin: 0 0 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #b45309; }
#popup-modal h3 { position: relative; margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--cxl-ink); }
#popup-modal .cxl-notice-msg { width: 100%; margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #f6f8fd; border: 1px solid var(--cxl-line); font-size: 13.5px; line-height: 1.45; color: #33415e; text-align: center; overflow: visible; overflow-wrap: anywhere; }
#popup-modal .cxl-notice-msg b { font-weight: 600; }
#popup-modal .close { display: block; width: 100%; opacity: 1; float: none; text-shadow: none; }
#popup-modal .close button { width: 100%; height: 40px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--cxl-blue-2) 0%, var(--cxl-blue) 55%, #0f4fc4 100%); box-shadow: 0 8px 18px -10px rgba(21, 101, 240, .75); cursor: pointer; transition: filter .15s, transform .15s; }
#popup-modal .close button:hover { filter: brightness(1.06); }
#popup-modal .close button:active { transform: translateY(1px); }
#popup-modal .close button:focus-visible { outline: 3px solid rgba(21, 101, 240, .35); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #popup-modal .cxl-notice-ic { animation: none; } #popup-modal .popup-content { transition: none; } }

/* ---------- responsive ---------- */
@media (max-height: 820px) and (min-width: 1021px) {
    .cxl-wordmark { font-size: 40px; }
    .cxl-tagline { margin-bottom: 12px; font-size: 13px; }
    .cxl-eyebrow { margin-bottom: 6px; }
    .cxl-form { gap: 9px; }
    .cxl-form input[type="text"], .cxl-form input[type="password"], .cxl-form input[type="email"] { height: 40px; }
    .cxl-sel-btn { height: 44px; }
    .cxl-form button[type="submit"] { height: 42px; }
    .cxl-core strong { font-size: 50px; }
}
@media (max-width: 1280px) {
    .cxl-world { padding: 28px 28px 22px; }
    .cxl-core strong { font-size: 52px; }
    .cxl-node { font-size: 12px; }
}
@media (max-width: 1020px) {
    .cxl-shell { grid-template-columns: minmax(0, 1fr); }
    .cxl-shell { height: auto; min-height: 100vh; overflow: visible; }
    .cxl-auth { border-right: 0; min-height: 100vh; overflow: visible; }
    .cxl-world { display: none; }
}
@media (max-width: 560px) {
    .cxl-auth { padding: 24px 18px 18px; }
    .cxl-wordmark { font-size: 44px; }
    .cxl-foot { flex-direction: column; align-items: flex-start; }
    .cxl-ver { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .cxl-node, .cxl-rings .rg, #preloader::before { animation: none; }
}
