/* NS Care+ 1.12.3 persistent credential command centre.
 * Deliberately independent from generic modal sizing so host-theme CSS cannot
 * collapse password/reset workflows into a small dialog.
 */
body.nscc-credential-console-open{overflow:hidden!important}
.nscc-credential-overlay{position:fixed;inset:0;z-index:1000002;display:grid;place-items:center;padding:24px;background:rgba(8,29,58,.20);isolation:isolate}
.nscc-credential-console{width:min(1220px,calc(100vw - 48px));height:min(820px,calc(100vh - 48px));max-width:1220px;max-height:820px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(8,124,240,.17);border-radius:28px;background:#f5f8fc;box-shadow:0 34px 110px rgba(5,28,61,.28),0 4px 18px rgba(5,28,61,.10);color:#082b62}
.nscc-credential-console *{box-sizing:border-box}
.nscc-credential-console-head{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:22px 24px;border-bottom:1px solid #dfe9f3;background:linear-gradient(135deg,#fff 0%,#f7fbff 72%,#eef7ff 100%)}
.nscc-credential-console-head h2{margin:2px 0 3px!important;font-size:26px!important;line-height:1.08!important;letter-spacing:-.025em;color:#082b62!important}
.nscc-credential-console-head p{margin:0;color:#71849a;font-size:12px;line-height:1.45}
.nscc-credential-head-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.nscc-credential-build{display:grid;gap:2px;min-width:144px;padding:9px 12px;border:1px solid #c8e3fb;border-radius:14px;background:#fff;text-align:right;box-shadow:0 7px 18px rgba(8,43,98,.05)}
.nscc-credential-build strong{font-size:10px;letter-spacing:.09em;color:#087cf0}.nscc-credential-build small{font-size:9px;color:#71849a}
.nscc-credential-build.is-production{border-color:#bce5ce;background:#f5fbf7}.nscc-credential-build.is-production strong{color:#14764b}
.nscc-credential-close{width:42px;height:42px;border:1px solid #d7e3ee;border-radius:13px;background:#fff;color:#315273;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 7px 18px rgba(8,43,98,.05);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.nscc-credential-close:hover,.nscc-credential-close:focus-visible{transform:translateY(-1px);border-color:#a8d3f8;box-shadow:0 12px 24px rgba(8,43,98,.09);outline:none}
.nscc-credential-console-body{min-height:0;display:grid;grid-template-columns:340px minmax(0,1fr);background:#f5f8fc}
.nscc-credential-sidebar{min-height:0;overflow:auto;padding:20px;border-right:1px solid #dfe9f3;background:linear-gradient(180deg,#f9fcff 0%,#f3f8fd 100%)}
.nscc-credential-person{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:center;padding:16px 16px 16px 19px;border:1px solid #d9e7f3;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(8,43,98,.05);overflow:hidden}
.nscc-credential-person:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#087cf0}.nscc-credential-person.nscc-credential-tone-green:before{background:#18a565}.nscc-credential-person.nscc-credential-tone-purple:before{background:#8244e8}.nscc-credential-person.nscc-credential-tone-orange:before{background:#ff5b08}
.nscc-credential-avatar-lg .nscc-avatar{width:52px!important;height:52px!important;font-size:15px!important}.nscc-credential-person h3{margin:3px 0 2px;font-size:18px;line-height:1.15;color:#082b62}.nscc-credential-person p{margin:0;color:#71849a;font-size:10px;overflow-wrap:anywhere}
.nscc-credential-sidebar-copy{display:grid;gap:4px;padding:18px 3px 10px}.nscc-credential-sidebar-copy strong{font-size:13px}.nscc-credential-sidebar-copy span{font-size:10px;line-height:1.5;color:#71849a}
.nscc-credential-command-list{display:grid;gap:10px}
.nscc-credential-command{position:relative;width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px;border:1px solid #dbe7f1;border-radius:17px;background:#fff;color:#082b62;text-align:left;cursor:pointer;box-shadow:0 8px 20px rgba(8,43,98,.04);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;overflow:hidden}
.nscc-credential-command:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#087cf0}.nscc-credential-command-green:before{background:#18a565}.nscc-credential-command-orange:before{background:#ff5b08}
.nscc-credential-command .nscc-nav-icon{width:37px;height:37px;border-radius:11px}.nscc-credential-command>span{display:grid;gap:2px;min-width:0}.nscc-credential-command small{font-style:normal;font-size:8px;letter-spacing:.08em;color:#7890a6}.nscc-credential-command strong{font-size:12px;line-height:1.25}.nscc-credential-command em{font-style:normal;font-size:9px;line-height:1.4;color:#6c8095}.nscc-credential-command>b{font-size:19px;color:#8095aa;transition:transform .16s ease}
.nscc-credential-command:hover,.nscc-credential-command:focus-visible,.nscc-credential-command.is-active{transform:translateY(-2px);border-color:#a9d4fa;box-shadow:0 14px 30px rgba(8,43,98,.09);outline:none}.nscc-credential-command:hover>b,.nscc-credential-command.is-active>b{transform:translateX(3px)}
.nscc-credential-command-green.is-active{border-color:#a8dec3;background:#f6fcf8}.nscc-credential-command-blue.is-active{background:#f5faff}.nscc-credential-command-orange.is-active{border-color:#ffc8aa;background:#fff9f5}
.nscc-credential-sidebar-safety{display:grid;grid-template-columns:auto 1fr;gap:9px;margin-top:14px;padding:12px;border:1px solid #dce8f2;border-radius:15px;background:#fff}.nscc-credential-sidebar-safety .nscc-nav-icon{width:31px;height:31px;border-radius:10px;color:#087cf0;background:#edf7ff}.nscc-credential-sidebar-safety span{display:grid;gap:2px}.nscc-credential-sidebar-safety strong{font-size:10px}.nscc-credential-sidebar-safety small{font-size:9px;line-height:1.4;color:#74879a}
.nscc-credential-main{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);padding:20px 22px 22px;background:#f5f8fc}
.nscc-credential-main-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:2px 2px 13px}.nscc-credential-main-head h3{margin:2px 0 0;font-size:19px;color:#082b62}.nscc-credential-ui-build{padding:6px 9px;border:1px solid #d8e5ef;border-radius:999px;background:#fff;color:#7890a6;font-size:8px;letter-spacing:.07em}
.nscc-credential-workspace{min-height:0;overflow:auto;border:1px solid #dbe7f1;border-radius:22px;background:#fff;box-shadow:0 13px 34px rgba(8,43,98,.06)}
.nscc-credential-home{min-height:100%;display:grid;align-content:center;justify-items:center;padding:34px 36px;text-align:center;background:radial-gradient(circle at 50% 0%,#eef7ff 0%,#fff 50%)}
.nscc-credential-home-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:12px;border-radius:19px;background:#eaf5ff;color:#087cf0;box-shadow:0 10px 24px rgba(8,124,240,.11)}.nscc-credential-home-icon .nscc-nav-icon{width:32px;height:32px;background:transparent!important;color:inherit!important}
.nscc-credential-home h3{margin:5px 0 7px;font-size:24px;letter-spacing:-.02em;color:#082b62}.nscc-credential-home>p{max-width:680px;margin:0;color:#667b91;font-size:12px;line-height:1.6}
.nscc-credential-steps{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:23px}.nscc-credential-steps>span{display:grid;grid-template-columns:auto 1fr;gap:2px 9px;align-items:center;padding:13px;border:1px solid #dce8f2;border-radius:15px;background:#fff;text-align:left}.nscc-credential-steps b{grid-row:1/3;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#eef7ff;color:#087cf0;font-size:10px}.nscc-credential-steps strong{font-size:10px}.nscc-credential-steps small{font-size:8.5px;line-height:1.35;color:#73879b}
.nscc-credential-persistence-note{width:100%;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin-top:12px;padding:12px 14px;border:1px solid #bfe6d1;border-radius:15px;background:#f4fbf7;text-align:left}.nscc-credential-persistence-note .nscc-nav-icon{width:33px;height:33px;border-radius:10px;background:#e6f7ee;color:#168050}.nscc-credential-persistence-note span{display:grid;gap:2px}.nscc-credential-persistence-note strong{font-size:10px;color:#12623f}.nscc-credential-persistence-note small{font-size:8.5px;line-height:1.4;color:#5f7f6d}
.nscc-credential-panel{padding:24px}.nscc-credential-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #e2ebf3}.nscc-credential-panel-head h3{margin:3px 0 5px;font-size:22px;letter-spacing:-.02em;color:#082b62}.nscc-credential-panel-head p{max-width:650px;margin:0;color:#6b8095;font-size:11px;line-height:1.55}
.nscc-credential-status-pill{flex:0 0 auto;padding:7px 9px;border-radius:999px;border:1px solid #c9e3fb;background:#eff8ff;color:#087cf0;font-size:8px;font-weight:800;letter-spacing:.06em}.nscc-credential-status-pill.is-sent{border-color:#bce4cd;background:#f0faf5;color:#14764b}.nscc-credential-status-pill.is-warning{border-color:#f3d6a0;background:#fff9ee;color:#a35f00}
.nscc-credential-link-box{display:grid;gap:8px;padding:15px;border:1px solid #dce8f2;border-radius:16px;background:#f8fbfe}.nscc-credential-link-box>label{font-size:10px;font-weight:800;color:#24486c}.nscc-credential-link-box>small{font-size:9px;line-height:1.4;color:#73879b}.nscc-credential-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.nscc-credential-copy-row textarea{min-height:82px!important;resize:none!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:10px!important;line-height:1.45!important;background:#fff!important}.nscc-credential-copy-row .nscc-button{min-width:150px;align-self:stretch}.nscc-credential-copy-row .nscc-button.is-copied{border-color:#18a565!important;background:#eefaf4!important;color:#12623f!important}
.nscc-credential-login-box{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:center;margin-top:12px;padding:13px 14px;border:1px solid #dce8f2;border-radius:15px;background:#fff}.nscc-credential-login-box>span{grid-row:1/3;color:#71869a;font-size:9px}.nscc-credential-login-box>strong{font-size:10px}.nscc-credential-login-box>input{min-width:0;border:0!important;padding:0!important;background:transparent!important;color:#60758a!important;font-size:9px!important;box-shadow:none!important}
.nscc-credential-email-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nscc-credential-email-form textarea[name="email_message"]{min-height:190px!important}.nscc-credential-panel-actions{margin-top:16px!important;display:flex!important;flex-wrap:wrap!important;gap:9px!important}
.nscc-credential-loading{min-height:100%;display:flex;align-items:center;justify-content:center;gap:15px;padding:36px}.nscc-credential-loading h3{margin:4px 0 5px;font-size:20px}.nscc-credential-loading p{margin:0;color:#6d8195;font-size:11px}.nscc-credential-complete{min-height:100%;display:grid;align-content:center;justify-items:center;padding:36px;text-align:center}.nscc-credential-complete h3{margin:8px 0 5px;font-size:23px}.nscc-credential-complete p{max-width:560px;margin:0 0 16px;color:#6d8195;font-size:11px;line-height:1.5}
.nscc-credential-console-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 20px;border-top:1px solid #dfe9f3;background:#fff}.nscc-credential-console-foot>div{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.nscc-credential-console-foot .nscc-nav-icon{width:30px;height:30px;border-radius:9px;background:#edf7ff;color:#087cf0}.nscc-credential-console-foot span{display:grid;gap:1px}.nscc-credential-console-foot strong{font-size:9px}.nscc-credential-console-foot small{font-size:8px;color:#778ba0}
@media (max-width:980px){.nscc-credential-overlay{padding:12px}.nscc-credential-console{width:100%;height:calc(100vh - 24px);max-height:none;border-radius:22px}.nscc-credential-console-body{grid-template-columns:280px minmax(0,1fr)}.nscc-credential-command{padding:11px}.nscc-credential-command em{display:none}.nscc-credential-steps{grid-template-columns:1fr}}
@media (max-width:760px){.nscc-credential-overlay{padding:0;place-items:stretch}.nscc-credential-console{width:100%;height:100vh;max-width:none;border-radius:0}.nscc-credential-console-head{padding:15px 16px}.nscc-credential-console-head p{display:none}.nscc-credential-build{display:none}.nscc-credential-console-body{display:block;overflow:auto}.nscc-credential-sidebar{overflow:visible;border-right:0;border-bottom:1px solid #dfe9f3}.nscc-credential-command-list{grid-template-columns:1fr}.nscc-credential-main{min-height:540px;padding:15px}.nscc-credential-workspace{min-height:470px}.nscc-credential-email-grid,.nscc-credential-copy-row{grid-template-columns:1fr}.nscc-credential-copy-row .nscc-button{min-height:44px}.nscc-credential-console-foot{position:sticky;bottom:0}}
@media (prefers-reduced-motion:reduce){.nscc-credential-command,.nscc-credential-command>b,.nscc-credential-close{transition:none!important}.nscc-credential-command:hover,.nscc-credential-command:focus-visible,.nscc-credential-command.is-active,.nscc-credential-close:hover,.nscc-credential-close:focus-visible{transform:none!important}}
.nscc-credential-build.is-dev{border-color:#dcc9ff;background:#faf7ff}.nscc-credential-build.is-dev strong{color:#6a35bd}
