.layout .next-rail{--nav-bg:#152739;--nav-muted:#a7b5c4;--nav-ink:#edf3f8;--nav-accent:#5ba1f5;position:fixed;inset:0 auto 0 0;width:248px;z-index:50;display:flex;flex-direction:column;gap:0;padding:0;background:var(--nav-bg);color:var(--nav-ink);border-right:1px solid #26394b;box-shadow:none;overflow:hidden;font-family:inherit}
.next-rail *{box-sizing:border-box}
.next-rail button,.next-rail a{font:inherit;letter-spacing:normal}
.next-rail button{box-shadow:none;border:0;min-height:0}
.next-brand{display:flex;align-items:center;gap:8px;padding:26px 20px 23px}
.next-brand>a{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-size:24px;font-weight:730;letter-spacing:-1px;line-height:1.05}
.next-brand-symbol{display:grid;place-items:center;position:relative;isolation:isolate;background:#529af2;border-radius:12px;width:38px;height:42px;color:#172b3e;font-size:33px;font-weight:800;line-height:1;letter-spacing:-4px;padding-right:4px}
.next-brand-symbol>span{position:absolute;right:4px;bottom:8px;width:11px;height:3px;background:#152739;border-radius:3px;transform:rotate(-35deg)}
.next-brand-caption{display:block;font-size:10px;letter-spacing:.2px;font-weight:450;color:#c1cdd8;margin-top:7px}
.next-nav-close{display:none!important;background:transparent;color:var(--nav-ink);padding:8px;border-radius:8px;margin-left:auto}
.next-nav-search{display:flex;align-items:center;position:relative;margin:0 15px 17px;gap:8px;border:1px solid #384b5d;border-radius:8px;background:#1c3044;padding:0 10px;color:#afbdca;flex-shrink:0}
.next-nav-search>.ico{width:16px;height:16px;flex-shrink:0}
.next-nav-search input{width:100%;min-width:0;background:transparent!important;color:#fff!important;border:0!important;outline-offset:2px;border-radius:6px!important;padding:11px 0!important;font:inherit;font-size:12px;box-shadow:none!important}
.next-nav-search input::placeholder{color:#b0bdcb;opacity:1}
.next-nav-search kbd{font:11px inherit;border:1px solid #526172;border-radius:3px;padding:0 4px;opacity:.8}
.next-nav-scroll{flex:1;overflow:auto;overscroll-behavior:contain;padding:0 12px 20px;scrollbar-width:thin;scrollbar-color:#506275 transparent}
.next-nav-link,.next-nav-group-toggle{display:flex;align-items:center;width:100%;text-align:left;color:#d5dfe8;background:transparent;border-radius:7px;gap:10px;font-size:12px!important;font-weight:450!important;line-height:1.4;padding:9px 10px;cursor:pointer;min-height:36px!important;white-space:normal}
.next-nav-link>.ico,.next-nav-group-toggle>.ico{width:17px;height:17px;flex:0 0 17px;opacity:.82;stroke-width:1.7}
.next-nav-link>span,.next-nav-group-toggle>span:not(.next-nav-chevron){flex:1;min-width:0;overflow-wrap:anywhere}
.next-nav-link:hover,.next-nav-group-toggle:hover,.next-profile:hover,.next-signout:hover{background:#233a50;color:#fff}
.next-nav-link.active{background:#5ba1f5!important;color:#182b3b!important;font-weight:700!important;box-shadow:none!important}
.next-nav-link.active>.ico{opacity:1}
.next-nav-home{padding-bottom:13px;margin-bottom:4px;border-bottom:1px solid #304152}
.next-nav-home .next-nav-link{font-size:13px!important;min-height:40px!important}
.next-nav-group{margin:2px 0}
.next-nav-group-toggle{font-size:12px!important;font-weight:600!important;padding-top:12px;padding-bottom:12px;color:#e2e9ef}
.next-nav-group.current>.next-nav-group-toggle{color:#83b9f5}
.next-nav-chevron{display:flex;opacity:.5;transition:transform .15s}
.next-nav-chevron .ico{width:12px;height:12px}
.next-nav-group-toggle[aria-expanded=true] .next-nav-chevron{transform:rotate(90deg)}
.next-nav-items{padding:2px 0 6px 13px;margin-left:17px;border-left:1px solid #354a5c}
.next-nav-items .next-nav-link{font-size:11.5px!important;padding:8px;gap:8px;min-height:34px!important}
.next-nav-items .next-nav-link>.ico{width:15px;height:15px;flex-basis:15px;opacity:.64}
.next-nav-empty{font-size:12px;color:#bac6d1;padding:14px 10px;line-height:1.6}
.next-nav-footer{padding:12px 14px 15px;border-top:1px solid #304152;flex-shrink:0;background:#152739}
.next-help{display:flex;align-items:center;gap:9px;background:#253e54;color:#e9f1f7;width:100%;padding:10px;border:1px solid #3b536a!important;border-radius:8px;margin-bottom:13px;font-size:12px!important}
.next-help .ico{width:17px;height:17px}
.next-help-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#78addf}
.next-nav-company{display:flex;gap:8px;align-items:center;color:#9cafc0;font-size:10px;line-height:1.4;margin:0 6px 10px}
.next-nav-company .ico{width:13px;height:13px;flex-shrink:0}
.next-nav-company>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.next-nav-account{display:flex;gap:3px;align-items:center}
.next-profile{display:flex;gap:9px;align-items:center;flex:1;min-width:0;color:#eff4f8;background:transparent;padding:5px;border-radius:7px;text-align:left}
.next-avatar{display:grid;place-items:center;flex:0 0 31px;height:31px;background:#35506a;color:#edf3f8;border-radius:9px;font-size:11px;font-weight:650}
.next-profile>span:last-child{min-width:0;display:block}
.next-profile strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.6;font-weight:600}
.next-profile small{display:block;color:#aebdca;font-size:9.5px;line-height:1.6}
.next-signout{display:grid;place-items:center;flex:0 0 31px;height:34px;padding:7px;background:transparent;color:#b9c7d4;border-radius:7px}
.next-signout .ico{width:16px;height:16px}
.next-rail :focus-visible{outline:2px solid #a5d0ff!important;outline-offset:2px}
.next-rail [hidden],.next-bottom [hidden]{display:none!important}
.next-bottom{display:none!important}
.next-capture-sheet{width:min(520px,calc(100vw - 28px));max-width:520px;border:0;border-radius:24px;padding:22px;margin:auto;color:#183047;background:#fff;box-shadow:0 24px 100px #10223544}
.next-capture-sheet::backdrop{background:#10223566;backdrop-filter:blur(3px)}
.next-sheet-handle{display:none}
.next-capture-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:19px}
.next-capture-heading p{margin:0 0 6px;font-size:11px;font-weight:600;color:#718092}
.next-capture-heading h2{margin:0;font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.5px}
.next-capture-heading>button{display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:50%;background:#eef2f5;color:#31495e;flex-shrink:0}
.next-capture-options{display:grid;gap:10px}
.next-capture-options>button{display:flex;align-items:center;gap:13px;min-height:65px;background:#f5f7f9;border:1px solid #e1e7ed;border-radius:12px;padding:13px;text-align:left;color:#233d52}
.next-capture-options>button>span{display:grid;place-items:center;background:#fff0e3;border-radius:10px;width:37px;height:37px;color:#1c5cad}
.next-capture-options>button strong{flex:1;font-size:13px;font-weight:600}
.next-capture-options>button>.ico{width:16px;height:16px;color:#8d9bab}
.next-capture-options>button:hover{background:#edf3f6;border-color:#c8d5df}
@media(min-width:761px){.layout:has(>.next-rail){display:block;padding-left:248px}.layout:has(>.next-rail)>.workspace{margin-left:0;width:100%;min-width:0}.next-rail{transform:none!important;visibility:visible!important}}
@media(max-width:760px){
  .layout .next-rail{width:min(296px,calc(100vw - 52px));z-index:110;transform:translateX(-100%);transition:transform .2s ease;visibility:hidden;height:100dvh;padding-top:env(safe-area-inset-top)}
  .layout.drawer .next-rail{transform:translateX(0);visibility:visible}
  .next-nav-close{display:grid!important;place-items:center}
  .next-brand{padding-top:19px;padding-bottom:21px}
  .next-nav-link,.next-nav-group-toggle{min-height:44px!important;font-size:13px!important}
  .next-nav-items .next-nav-link{min-height:42px!important;font-size:12.5px!important}
  .next-nav-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .layout:has(>.next-rail){padding-left:0}
  .layout:has(>.next-rail)>.workspace{margin-left:0;padding-bottom:calc(80px + env(safe-area-inset-bottom));width:100%}
  .layout:has(>.next-rail)>.mobile-scrim{position:fixed;inset:0;z-index:105;background:#10223588;backdrop-filter:blur(2px)}
  .next-bottom{display:flex!important;align-items:stretch;justify-content:space-around;position:fixed;z-index:90;inset:auto 0 0;height:auto;min-height:72px;padding:6px 10px calc(7px + env(safe-area-inset-bottom));gap:4px;border:0;border-top:1px solid #dde5ec;background:#fff;box-shadow:0 -4px 24px #172c3f08}
  .next-bottom>button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:53px;border:0;border-radius:10px;padding:7px 3px;background:transparent;color:#718192;box-shadow:none;font:inherit;font-size:10px;font-weight:550;line-height:1.2}
  .next-bottom>button>.ico{width:21px;height:21px;stroke-width:1.8}
  .next-bottom>button.active{background:#fff0e2;color:#18498b}
  .next-bottom>.next-capture-trigger{color:#243d51}
  .next-bottom>.next-capture-trigger>.ico{background:#5fa3f4;color:#142b3d;border-radius:9px;width:31px;height:27px;padding:4px;margin-top:-6px}
  .next-bottom>button:focus-visible{outline:2px solid #2460b4;outline-offset:-2px}
  .next-capture-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;border-radius:25px 25px 0 0;padding:12px 21px calc(24px + env(safe-area-inset-bottom));max-height:85dvh;overflow:auto}
  .next-sheet-handle{display:block;background:#cbd5de;border-radius:9px;width:37px;height:4px;margin:0 auto 22px}
  html.next-drawer-open,html.next-drawer-open body{overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.layout .next-rail,.next-nav-chevron{transition:none}}
