/* Existing access flows with the authorized eCosystemaCEO identity. */
.access-shell,.access-portal{min-height:calc(100dvh - 34px)}
.access-shell .access-eyebrow,.access-shell h1,.access-shell h2,.access-shell strong,.access-portal h1,.access-portal h2,.access-portal strong,.access-step{font-weight:600}
.access-message:empty{display:none}.access-providers button{display:flex;align-items:center;justify-content:center}.access-providers button:disabled{cursor:not-allowed;opacity:.7}.access-full{justify-content:center;margin-top:12px}.access-card .access-back{cursor:pointer}.access-security-inline+.access-small{margin-top:12px}.access-card details{font-size:11px;color:var(--text-secondary);margin:12px 0}
.identity-qr{display:block;margin:18px auto;max-width:100%;height:auto}.identity-secret{display:block;overflow-wrap:anywhere;padding:12px;background:var(--purple-soft);border-radius:7px;margin:12px 0;font-size:12px;color:var(--text)}
.identity-setup{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:11px;line-height:1.65;overflow-wrap:anywhere;margin-top:20px}.identity-setup strong{font-weight:600}
.identity-muted{color:var(--text-secondary);font-size:12px;line-height:1.7;margin:10px 0 20px}.identity-authenticated{padding-top:34px!important}.local-identity-actions{display:flex;align-items:center;gap:7px}.local-identity-actions .btn{white-space:nowrap}.local-identity-actions .icon{width:15px;height:15px}
.identity-overlay{position:fixed;inset:0;background:#142c4877;z-index:5000;display:grid;place-items:center;padding:30px}.identity-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;width:min(800px,100%);max-height:90dvh;overflow:auto;box-shadow:0 18px 70px #172f4b33;color:var(--text)}.identity-panel h2{font-size:23px;font-weight:600;color:var(--text-heading);margin:0 0 18px}.identity-panel h3{font-size:16px;font-weight:600;margin:24px 0 14px}.identity-panel .actions{flex-wrap:wrap;margin-top:20px}.identity-panel .access-field{margin-top:14px}.identity-close{float:right}.identity-field{display:grid;gap:7px;margin:15px 0;font-size:12px}.identity-field select{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);padding:10px;font-size:12px}.identity-user-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.identity-user-row strong{font-weight:600}.identity-user-row small{width:100%;color:var(--text-secondary)}.identity-user-row select{border:1px solid var(--line);border-radius:7px;padding:7px;max-width:170px;background:#fff;color:var(--text);font-size:12px}.identity-product{padding:12px 0 22px;border-bottom:1px solid var(--line)}.identity-product p{font-size:12px;line-height:1.7;color:var(--text-secondary)}
@media(max-width:760px){.identity-authenticated{padding-top:0!important}.identity-overlay{padding:12px}.identity-panel{padding:20px}.local-identity-actions{gap:4px}.local-identity-actions .btn{font-size:10px;padding:5px}.local-identity-actions .access-session-badge{display:none}.access-shell,.access-portal{min-height:calc(100dvh - 34px)}}.access-product{--card-tone:var(--purple)}.identity-panel .access-product-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));margin-top:20px}

/* Access pages need natural scrolling even while the signed-in workspace is fixed. */
body.identity-screen{--access-top-offset:34px;height:auto;min-height:100dvh;overflow-x:hidden;overflow-y:auto}
body.identity-screen:has(#local-environment[hidden]){--access-top-offset:0px;padding-top:0!important}
.identity-screen #app{min-width:0;width:100%;height:auto;min-height:calc(100dvh - var(--access-top-offset))}
.identity-screen .access-shell{min-height:calc(100dvh - var(--access-top-offset));padding:16px clamp(18px,4vw,64px) 8px}
.identity-screen .access-header,.identity-screen .access-footer{flex-shrink:0;min-width:0}
.identity-screen .access-layout{grid-template-columns:minmax(0,1fr) minmax(350px,470px);gap:clamp(24px,6vw,88px);min-width:0;margin:18px auto}
.identity-screen .access-story{min-width:0;padding:0}
.identity-screen .access-story>p{margin-bottom:20px}
.identity-screen .access-story-grid{gap:10px}
.identity-screen .access-story-grid>div{padding:10px 12px}
.identity-screen .access-story-bottom{margin-top:22px}
.identity-screen .access-card{padding:20px 26px}
.identity-screen .access-preview-note{padding:8px 10px;margin-bottom:14px}
.identity-screen .access-preview-note p{margin:0}
.identity-screen .access-card .access-eyebrow{margin-bottom:6px}
.identity-screen .access-card h1{margin-bottom:6px}
.identity-screen .access-intro{margin-bottom:14px}
.identity-screen .access-providers button{min-height:38px;padding:5px 6px}
.identity-screen .access-divider{margin:12px 0}
.identity-screen .access-field{gap:5px;margin-bottom:10px}
.identity-screen .access-field input{min-height:36px;padding:8px 12px}
.identity-screen .access-forgot{margin:0 0 10px auto}
.identity-screen .access-card .access-full{margin-top:4px}
.identity-screen .access-switch{margin-top:12px}
.identity-screen .access-security-inline{padding-top:12px;margin-top:12px}
.identity-screen .access-security-inline img{width:32px;height:32px}
.identity-screen .access-demo{padding-top:12px;margin-top:12px}
.identity-screen .access-demo-options{margin-top:8px}
.identity-screen .access-demo p{margin-top:8px}
@media(max-width:760px){
 body.identity-screen{--access-top-offset:0px}
 .identity-screen .access-shell{padding:14px 16px 8px}
 .identity-screen .access-card{padding:20px}
 .identity-screen .access-layout{margin:16px auto}
}
@media(max-width:380px){
 .identity-screen .access-shell{padding:12px 10px 8px}
 .identity-screen .access-card{padding:18px 16px}
 .identity-screen .access-demo-options .btn{flex-basis:100%;white-space:normal}
}
.access-preview-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 18px;background:#fff5d7;border-bottom:1px solid #ddc47b;color:#624b13;font:12px/1.5 system-ui,sans-serif;position:sticky;top:0;z-index:1200}.access-preview-banner>span{flex:1;min-width:200px}.access-preview-banner .btn{background:white;color:#624b13;border:1px solid #c9b36e;min-height:36px}.top-actions button.top-avatar{cursor:pointer;border:1px solid transparent;font:inherit}.top-actions button.top-avatar:hover,.top-actions button.top-avatar:focus-visible{border-color:#7450d4;outline:2px solid #d9cbf8;outline-offset:2px}@media(max-width:680px){.access-preview-banner{padding:8px 12px}.access-preview-banner .btn{min-height:44px}}

body.access-preview-active{--access-preview-offset:calc(var(--access-preview-environment,0px) + var(--access-preview-height,64px));display:block!important;padding-top:var(--access-preview-offset)!important}body.access-preview-active #local-environment{position:fixed}body.access-preview-active .access-preview-banner{position:fixed;top:var(--access-preview-environment,0px);left:0;right:0;width:100%;height:auto;z-index:3100}body.access-preview-active #app{height:calc(100dvh - var(--access-preview-offset));min-height:0}body.access-preview-active .platform-sidebar{top:var(--access-preview-offset)!important;height:calc(100dvh - var(--access-preview-offset))!important}body.access-preview-active .app-main,body.access-preview-active .access-portal{min-height:calc(100dvh - var(--access-preview-offset))!important}
body:not(.access-preview-active):has(#local-environment[hidden]){padding-top:0!important}body:not(.access-preview-active):has(#local-environment[hidden]) .platform-sidebar{top:0!important;height:100dvh!important}body:not(.access-preview-active):has(#local-environment[hidden]) .app-main{min-height:100dvh!important}
.identity-password-control{position:relative;width:100%}.identity-password-control input{padding-right:52px;min-height:46px}.identity-password-toggle{position:absolute;right:1px;top:1px;bottom:1px;width:44px;min-height:44px;padding:10px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--text-secondary);cursor:pointer}.identity-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.identity-password-toggle:hover{background:#00000008}.identity-password-toggle:focus-visible{outline:2px solid var(--purple);outline-offset:-3px}

.licensed-context{position:sticky;top:0;z-index:80;background:#eef5f3;border-bottom:1px solid #cfddda;padding:6px 18px;color:#214b44;font:12px system-ui}.licensed-context label{display:flex;align-items:center;gap:8px}.licensed-context select{width:auto;max-width:75vw;padding:3px 8px;border:1px solid #cfddda;border-radius:5px;background:white;color:#214b44}.licensed-context select:disabled{opacity:1;color:#214b44}

body.licensed-context-active{--licensed-top:calc(var(--licensed-environment-height,0px) + var(--licensed-context-height,38px));display:block!important}body.licensed-context-active:not(.access-preview-active){padding-top:var(--licensed-top)!important}.licensed-context-active #licensed-context{position:fixed;left:0;right:0;top:var(--licensed-environment-height,0px);width:100%;height:auto;z-index:3000}body.licensed-context-active:not(.access-preview-active):has(#licensed-context) #app .platform-sidebar,body.licensed-context-active:not(.access-preview-active):has(#licensed-context) #app .sidebar{top:var(--licensed-top)!important;height:calc(100dvh - var(--licensed-top))!important}body.licensed-context-active.calendar-active:not(.access-preview-active) #app{height:calc(100dvh - var(--licensed-top))!important}body.licensed-context-active .management-page{min-height:calc(100dvh - var(--licensed-top))}@media(max-width:680px){body.licensed-context-active:not(.access-preview-active):has(#licensed-context) #app .agenda-sidebar{height:auto!important}}@media print{#licensed-context{display:none!important}body.licensed-context-active{padding-top:0!important}}

.licensed-context{display:flex;align-items:center;justify-content:space-between;gap:10px}.licensed-context .btn{padding:4px 10px;background:#fff;border:1px solid #cfded9;border-radius:5px;font-size:12px;color:#214b44;white-space:nowrap}.licensed-context label{min-width:0}.licensed-context select{min-width:0;max-width:min(55vw,360px)}
@media print{body.licensed-context-active:not(.access-preview-active):has(#licensed-context){padding-top:0!important}body.licensed-context-active.calendar-active:not(.access-preview-active) #app{height:auto!important;overflow:visible!important}}
/* Unified navy/light composition from the approved application board. */
.identity-screen .access-shell{background:radial-gradient(ellipse at 40% 45%,#e3edf2,transparent 70%),#f5f8fc;padding:22px 32px 16px}
.identity-screen .access-header,.identity-screen .access-footer{max-width:1040px}
.identity-screen .access-header{justify-content:flex-end;min-height:22px}
.identity-screen .access-layout{max-width:1040px;flex:0 0 auto;margin:24px auto;grid-template-columns:minmax(0,1fr) minmax(350px,440px);gap:0;align-items:stretch;border:1px solid #d5e1ec;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 24px 65px #0b1f3b16}
.identity-screen .access-story{position:relative;isolation:isolate;align-self:stretch;border-radius:0;padding:42px 38px 180px;background:#0B1F3B url('/brand/ribbons.webp') right bottom/100% auto no-repeat;color:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}
.identity-screen .access-story:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0b1f3b 0%,#0b1f3b 46%,#0b1f3b00 70%);pointer-events:none}
.identity-screen .access-story:after{content:none}
.identity-screen .access-story .brand{width:270px;max-width:100%;margin-bottom:66px;color:#fff;padding:0;flex-shrink:0}
.identity-screen .access-story .brand-image{width:270px;height:auto}
.identity-screen .access-story .brand-tagline{font-size:9px;line-height:1.5;letter-spacing:2.1px;margin:3px 0 0 56px}
.identity-screen .access-story h2{font:700 clamp(27px,2.7vw,36px)/1.18 var(--font-heading);letter-spacing:-1px;color:#fff;max-width:440px;margin:0 0 20px}
.identity-screen .access-story h2 span{color:#fff}
.identity-screen .access-story>p{font-size:14px;line-height:1.7;max-width:275px;color:#edf6fa;margin:0 0 24px}
.access-story-rule{width:48px;height:3px;background:#00c39a}
.identity-screen .access-card{padding:38px 34px;border:0;border-radius:0;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:none}
.identity-screen .access-card h1{font-family:var(--font-heading);font-size:26px;color:#0b1f3b}
.identity-screen .access-card input{border-color:#b3c2d2}
.identity-screen .access-preview-note{background:#edf6f4;font-size:10px;padding:9px 10px;margin-bottom:24px}
.identity-screen .access-card .primary{background:linear-gradient(110deg,var(--purple),var(--purple-dark));color:#fff;border-color:var(--purple);min-height:44px;box-shadow:0 3px 6px #006b5120}
.identity-screen .access-card .primary:hover{filter:brightness(.94)}
.identity-screen .access-providers button{min-width:0;white-space:normal;min-height:44px}
.identity-screen .access-footer{font-size:10px}
@media(max-width:1000px){.identity-screen .access-shell{padding:18px 24px}.identity-screen .access-layout{grid-template-columns:minmax(0,1fr) minmax(330px,410px)}.identity-screen .access-story{padding:34px 28px 160px}.identity-screen .access-story .brand{width:235px}.identity-screen .access-story h2{font-size:30px}.identity-screen .access-card{padding:30px 26px}}
@media(max-width:800px){.identity-screen .access-shell{padding:14px 18px}.identity-screen .access-layout{display:grid;grid-template-columns:minmax(0,1fr);max-width:460px;margin:14px auto}.identity-screen .access-header,.identity-screen .access-footer{max-width:460px}.identity-screen .access-story{display:flex;padding:24px 26px 27px;background-size:100% auto;background-position:right center}.identity-screen .access-story .brand{width:230px;margin-bottom:24px}.identity-screen .access-story .brand-tagline{font-size:8px;letter-spacing:1.6px;margin-left:48px}.identity-screen .access-story h2{font-size:25px;max-width:290px;margin-bottom:0}.identity-screen .access-story>p,.identity-screen .access-story-rule{display:none}.identity-screen .access-card{padding:26px}.identity-screen .access-private{font-size:10px}}
@media(max-width:480px){.identity-screen .access-providers{grid-template-columns:minmax(0,1fr)}.identity-screen .access-story{margin:0}.identity-screen .access-card{padding:24px 20px}.identity-screen .access-card h1{font-size:25px}.identity-screen .access-shell{padding:12px}.identity-screen .access-footer{font-size:9px;gap:9px}}
