/* Shared Classic portal header only. No selectors change the main content or sidebar. */
.ds-header-cell{padding:0;vertical-align:top;}
#ds-portal-header{--ds-auth-width:clamp(300px,25vw,370px);--ds-header-edge:clamp(18px,1.5vw,30px);position:relative;z-index:30;width:100%;max-width:100vw;background:#0b203b;color:#f5f9ff;font:14px/1.4 Arial,Helvetica,sans-serif;text-align:left;}
#ds-portal-header,#ds-portal-header *{box-sizing:border-box;}
#ds-portal-header a,#ds-portal-header button,#ds-portal-header input{font:inherit;}
#ds-portal-header a{color:#8bd2ff;text-decoration:none;}
#ds-portal-header a:hover{text-decoration:underline;}
#ds-portal-header a:focus-visible,#ds-portal-header button:focus-visible,#ds-portal-header summary:focus-visible{outline:2px solid #8fdcff;outline-offset:-3px;}
#ds-portal-header .ds-nav-icon{display:block;width:24px;height:24px;flex:0 0 24px;color:#b8dcff;}
#ds-portal-header .ds-header-scene{position:relative;height:290px;background:linear-gradient(0deg,rgba(6,22,43,.6),transparent 24%),url('/img/header/ds_header1.png') center 52% / cover no-repeat;overflow:hidden;}
#ds-portal-header .ds-header-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;width:min(850px,calc(100% - (var(--ds-auth-width) + var(--ds-header-edge) + 32px)*2));}
#ds-portal-header .ds-header-logo img{display:block;width:100%;height:auto;object-fit:contain;animation:ds-header-glow 7s ease-in-out infinite;}
@keyframes ds-header-glow{0%,100%{filter:drop-shadow(0 0 5px rgba(49,147,255,.16));}50%{filter:drop-shadow(0 0 10px rgba(49,147,255,.32));}}
#ds-portal-header .ds-header-auth{position:absolute;z-index:2;top:145px;left:var(--ds-header-edge);transform:translateY(-50%);width:var(--ds-auth-width);padding:18px;border:1px solid #3676b8;border-radius:10px;background:rgba(8,25,49,.92);backdrop-filter:blur(7px);box-shadow:0 4px 18px rgba(0,8,24,.38),inset 0 1px 0 rgba(141,200,255,.08);}
#ds-portal-header .ds-header-auth h2{display:flex;align-items:center;gap:11px;margin:0 0 13px;color:#f5f9ff;font:700 19px/1.25 Arial,Helvetica,sans-serif;}
#ds-portal-header .ds-header-form{display:grid;gap:10px;margin:0;}
#ds-portal-header .ds-header-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#ds-portal-header .ds-header-field{position:relative;}
#ds-portal-header .ds-header-field>.ds-nav-icon{position:absolute;top:10px;left:12px;width:21px;height:21px;pointer-events:none;}
#ds-portal-header .ds-header-field input{display:block;width:100%;height:42px;padding:9px 43px 9px 42px;border:1px solid #3676b8;border-radius:6px;background:#102e50;color:#f5f9ff;box-shadow:inset 0 1px 4px rgba(0,9,26,.28);font-size:14px;}
#ds-portal-header .ds-header-field input::placeholder{color:#91b8e4;opacity:1;}
#ds-portal-header .ds-header-field input:focus{outline:2px solid #36a6ff;outline-offset:1px;box-shadow:0 0 10px rgba(54,166,255,.22);}
#ds-portal-header .ds-password-toggle{position:absolute;top:4px;right:5px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:5px;border:0;border-radius:4px;background:transparent;color:#b8dcff;cursor:pointer;}
#ds-portal-header .ds-password-toggle:hover{background:rgba(75,157,239,.16);}
#ds-portal-header .ds-password-toggle .ds-nav-icon{width:21px;height:21px;flex-basis:21px;}
#ds-portal-header .ds-header-forgot{justify-self:end;min-height:22px;color:#6ac6ff;font-size:12px;line-height:1.8;}
#ds-portal-header .ds-header-submit{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:46px;padding:10px 15px;border:1px solid #62c8ff;border-radius:6px;background:linear-gradient(115deg,#079fed,#175ad0 65%,#1643a4);color:#fff;font-weight:700;box-shadow:inset 0 0 9px rgba(87,213,255,.27),0 0 10px rgba(30,145,255,.2);cursor:pointer;transition:filter .18s ease,box-shadow .18s ease;}
#ds-portal-header .ds-header-submit:hover{filter:brightness(1.12);box-shadow:inset 0 0 12px rgba(87,213,255,.4),0 0 15px rgba(30,145,255,.32);}
#ds-portal-header .ds-header-submit:active{filter:brightness(.93);}
#ds-portal-header .ds-header-submit:disabled{opacity:.5;cursor:default;filter:none;box-shadow:none;}
#ds-portal-header .ds-header-online{position:absolute;top:24px;right:24px;display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #3676b8;border-radius:8px;background:rgba(8,25,49,.91);color:#f5f9ff;box-shadow:0 2px 9px rgba(0,8,24,.3);font-size:14px;font-weight:600;white-space:nowrap;}
#ds-portal-header .ds-online-number{font-variant-numeric:tabular-nums;}
#ds-portal-header .ds-online-dot{width:8px;height:8px;margin-left:4px;border-radius:50%;background:#35db72;box-shadow:0 0 6px rgba(53,219,114,.3);}
#ds-portal-header .ds-header-nav{position:relative;z-index:5;min-height:58px;border-top:1px solid #3676b8;border-bottom:1px solid #244e79;background:#0b203b;box-shadow:0 2px 6px rgba(0,9,25,.2);}
#ds-portal-header ul{list-style:none;margin:0;padding:0;}
#ds-portal-header .ds-header-sections{display:flex;justify-content:center;max-width:1220px;margin:0 auto;}
#ds-portal-header .ds-header-section{position:relative;min-width:0;flex:1;}
#ds-portal-header .ds-header-section+.ds-header-section:before{content:"";position:absolute;left:0;top:18px;width:1px;height:22px;background:#27486c;pointer-events:none;}
#ds-portal-header .ds-header-section-toggle{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;padding:10px 15px;border:0;border-bottom:2px solid transparent;background:transparent;color:#e8f3ff;font-size:12px;font-weight:700;line-height:1.3;text-transform:uppercase;cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease;}
#ds-portal-header .ds-header-section-toggle>.ds-nav-icon:last-child{width:12px;height:12px;flex-basis:12px;transition:transform .16s ease;}
#ds-portal-header .ds-header-section-toggle:hover{background:rgba(51,133,214,.18);color:#fff;}
#ds-portal-header .is-current>.ds-header-section-toggle,#ds-portal-header .ds-header-section-toggle[aria-expanded="true"]{border-bottom-color:#65d3ff;background:linear-gradient(#1765ad,#10375f);color:#fff;box-shadow:inset 0 0 13px rgba(74,177,255,.18),0 2px 7px rgba(64,164,255,.2);}
#ds-portal-header .has-open .is-current>.ds-header-section-toggle[aria-expanded="false"]{border-bottom-color:transparent;background:transparent;box-shadow:none;}
#ds-portal-header .ds-header-section-toggle[aria-expanded="true"]>.ds-nav-icon:last-child{transform:rotate(180deg);}
#ds-portal-header .ds-header-dropdown{position:absolute;z-index:20;top:100%;left:50%;transform:translateX(-50%);width:244px;max-height:min(70vh,640px);overflow-y:auto;overscroll-behavior:contain;padding:5px;border:1px solid #3676b8;border-top:0;border-radius:0 0 8px 8px;background:rgba(9,30,55,.98);box-shadow:0 9px 20px rgba(0,10,28,.35);animation:ds-header-reveal .16s ease-out;}
#ds-portal-header .ds-header-dropdown[hidden]{display:none;}
@keyframes ds-header-reveal{from{opacity:0;}to{opacity:1;}}
#ds-portal-header .ds-header-section:first-child>.ds-header-dropdown{left:0;transform:none;}
#ds-portal-header .ds-header-section:last-child>.ds-header-dropdown{left:auto;right:0;transform:none;}
#ds-portal-header .ds-header-dropdown a,#ds-portal-header .ds-header-subgroup summary{display:flex;align-items:center;gap:10px;min-height:40px;padding:9px 10px;border-radius:4px;color:#e3efff;font:13px/1.35 Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer;}
#ds-portal-header .ds-header-dropdown a:hover,#ds-portal-header .ds-header-subgroup summary:hover{background:#174e80;color:#fff;}
#ds-portal-header .ds-header-dropdown .ds-nav-icon{width:19px;height:19px;flex-basis:19px;}
#ds-portal-header .ds-header-subgroup summary{list-style:none;}
#ds-portal-header .ds-header-subgroup summary::-webkit-details-marker{display:none;}
#ds-portal-header .ds-header-subgroup summary>.ds-nav-icon:last-child{margin-left:auto;width:12px;height:12px;flex-basis:12px;}
#ds-portal-header .ds-header-subgroup details[open]>summary>.ds-nav-icon:last-child{transform:rotate(180deg);}
#ds-portal-header .ds-header-subgroup ul{margin-left:13px;border-left:1px solid #2c547c;}
@media(max-width:1100px){
  #ds-portal-header .ds-header-scene{height:280px;}
  #ds-portal-header .ds-header-logo{top:62%;width:min(630px,calc(100% - 32px));}
  #ds-portal-header .ds-header-auth{position:relative;top:auto;left:auto;transform:none;width:min(390px,calc(100% - 32px));margin:0 auto 16px;}
  #ds-portal-header .ds-header-section-toggle{gap:6px;padding:10px 8px;font-size:11px;}
}
@media(max-width:900px){
  #ds-portal-header .ds-header-scene{height:260px;}
  #ds-portal-header .ds-header-logo{top:59%;}
  #ds-portal-header .ds-header-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  #ds-portal-header .ds-header-dropdown{width:244px;}
  #ds-portal-header .ds-header-section:nth-child(3n+1)>.ds-header-dropdown{left:0;right:auto;transform:none;}
  #ds-portal-header .ds-header-section:nth-child(3n)>.ds-header-dropdown{left:auto;right:0;transform:none;}
}
@media(max-width:600px){
  #ds-portal-header .ds-header-scene{height:180px;background-position:center 48%;}
  #ds-portal-header .ds-header-logo{top:60%;width:calc(100% - 24px);max-width:390px;}
  #ds-portal-header .ds-header-auth{width:calc(100% - 24px);padding:16px;}
  #ds-portal-header .ds-header-online{top:10px;right:12px;padding:6px 9px;gap:6px;font-size:12px;}
  #ds-portal-header .ds-header-online>.ds-nav-icon{width:19px;height:19px;flex-basis:19px;}
  #ds-portal-header .ds-header-sections{grid-template-columns:repeat(2,minmax(0,1fr));}
  #ds-portal-header .ds-header-section-toggle{min-height:52px;font-size:12px;gap:6px;padding:8px;}
  #ds-portal-header .ds-header-section-toggle>.ds-nav-icon:first-child{width:19px;height:19px;flex-basis:19px;}
  #ds-portal-header .ds-header-label{min-width:0;overflow-wrap:anywhere;}
  #ds-portal-header .ds-header-dropdown{width:240px;}
  #ds-portal-header .ds-header-section:nth-child(2n+1)>.ds-header-dropdown{left:0;right:auto;transform:none;}
  #ds-portal-header .ds-header-section:nth-child(2n)>.ds-header-dropdown{left:auto;right:0;transform:none;}
}
@media(prefers-reduced-motion:reduce){
  #ds-portal-header .ds-header-logo img,#ds-portal-header .ds-header-dropdown{animation:none;}
  #ds-portal-header .ds-header-section-toggle,#ds-portal-header .ds-header-section-toggle>.ds-nav-icon:last-child,#ds-portal-header .ds-header-submit{transition:none;}
}
