/* Shared layout; palette, typography and width are in theme.css. */
.db-site{--bg:var(--db-bg);--surface:var(--db-surface);--ink:var(--db-ink);--muted:var(--db-muted);--line:var(--db-line);--accent:var(--db-accent);--width:var(--db-width);--font:var(--db-font);margin:0;background:var(--db-bg);color:var(--db-ink);font-family:var(--db-font);line-height:1.6}
.db-site [hidden]{display:none!important}.db-site :focus-visible{outline:2px solid var(--db-accent);outline-offset:4px}.db-site .wrap{box-sizing:border-box;width:min(var(--db-width),calc(100% - var(--db-page-gutter) * 2));margin-inline:auto}
.db-site .site-header *,.db-site .site-footer *{box-sizing:border-box}.db-site .site-header a,.db-site .site-footer a{color:inherit;text-decoration:none}.db-site .site-header img,.db-site .site-footer img{display:block;max-width:100%}.db-site .site-header button{font:inherit;cursor:pointer}.db-site .site-header{position:relative;z-index:100;background:var(--db-header-bg);border:0}.db-site .header-inner{display:flex;align-items:center;height:76px;gap:40px}.db-site .brand{flex:0 0 230px}.db-site .brand-wordmark{width:230px;height:auto;max-height:48px;object-fit:contain;filter:url(#brand-teal-ink);mix-blend-mode:multiply}.db-site .brand-symbol{display:none}.db-site .nav-shell{flex:1;min-width:0}.db-site #nav{display:flex;align-items:stretch;justify-content:flex-start;gap:26px;margin:0;padding:0;height:76px;font-size:16px}.db-site .nav-item{position:relative;display:flex;align-items:center;flex:none}.db-site .nav-item>a{display:flex;align-items:center;height:100%;font-weight:650;white-space:nowrap}.db-site .nav-item>a:hover,.db-site .nav-item>a[aria-current=page]{color:var(--db-accent)}.db-site .sub-toggle{display:none}.db-site .nav-sub{display:none;position:absolute;top:100%;left:-16px;min-width:180px;max-height:70vh;overflow:auto;padding:10px;background:var(--db-surface);border:1px solid var(--db-line);border-radius:0 0 10px 10px;box-shadow:0 12px 30px var(--db-menu-shadow)}.db-site .nav-sub a{display:block;font-size:14px;padding:10px 12px;white-space:nowrap;border-radius:5px}.db-site .nav-sub a:hover{background:var(--db-soft)}
@media(hover:hover) and (min-width:981px){.db-site .nav-item:hover .nav-sub{display:block}}
.db-site .nav-item.expanded .nav-sub,.db-site .nav-item:focus-within .nav-sub{display:block}.db-site .account{display:flex;align-items:center;gap:14px;margin-left:auto;flex:none}.db-site .account>a{display:flex;align-items:center;gap:7px;min-height:44px;font-size:14px;white-space:nowrap}.db-site .account-menu{position:relative}.db-site .account-menu summary{display:flex;align-items:center;gap:6px;min-height:44px;font-size:14px;cursor:pointer;list-style:none}.db-site .account-menu summary::-webkit-details-marker{display:none}.db-site .account-menu .nav-sub{right:0;left:auto}.db-site .account-menu[open] .nav-sub{display:block}.db-site .menu-toggle{display:none;width:44px;height:44px;border:0;background:transparent;padding:10px}.db-site .menu-toggle span{display:block;height:2px;width:22px;margin:5px 0;background:var(--db-ink);transition:transform .18s}.db-site .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.db-site .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.db-site .mobile-account{display:none}
.db-skip-link{position:fixed;top:-100px;left:16px;z-index:1000;padding:12px 18px;background:var(--db-accent);color:var(--db-on-action)}.db-skip-link:focus{top:12px}
.db-site .site-footer{padding:36px 0 24px;background:var(--db-footer);color:var(--db-footer-text);border:0}.db-site .footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:23px;border-bottom:1px solid var(--db-footer-line)}.db-site .footer-logo{width:250px;height:auto;filter:grayscale(1) invert(1);mix-blend-mode:screen;opacity:.95}.db-site .footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px 24px;margin:0;padding:0;font-size:13px}.db-site .footer-links a{color:var(--db-footer-text);white-space:nowrap;font-weight:500}.db-site .footer-links .footer-privacy{color:var(--db-footer-heading);font-weight:700}.db-site .footer-main{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:48px;padding:24px 0}.db-site .footer-company-name{font-size:14px;font-weight:650;color:var(--db-footer-heading);margin:0 0 10px}.db-site .footer-facts{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0;font-size:12px;line-height:1.8}.db-site .footer-facts>div{display:flex;flex-wrap:wrap;gap:7px}.db-site .footer-facts dt{color:var(--db-footer-muted)}.db-site .footer-facts dd{color:var(--db-footer-text);margin:0}.db-site .footer-address{font-style:normal;font-size:12px;line-height:1.8;color:var(--db-footer-text);margin-top:7px;word-break:keep-all}.db-site .footer-address>span:first-child{color:var(--db-footer-muted);margin-right:7px}.db-site .footer-address-detail{margin-left:5px}.db-site .footer-help{text-align:right}.db-site .footer-help-label{display:block;font-size:12px;color:var(--db-footer-muted);margin-bottom:3px}.db-site .footer-phone{display:block;width:fit-content;margin-left:auto;font-size:27px;font-weight:700;letter-spacing:-.04em;line-height:1.4;color:var(--db-footer-heading);white-space:nowrap}.db-site .footer-map{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:var(--db-footer-text);margin-top:8px;min-height:32px}.db-site .footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 24px;padding-top:18px;border-top:1px solid var(--db-footer-line-soft);color:var(--db-footer-muted)}.db-site .footer-bottom small{font-size:11px;line-height:1.6}.db-site .footer-social{display:flex;flex-wrap:wrap;align-items:center;gap:22px;font-size:12px;color:var(--db-footer-text)}.db-site .footer-social a{display:inline-flex;align-items:center;gap:5px;min-height:32px}.db-site .footer-arrow{font-size:11px;line-height:1;font-weight:400}.db-site .site-footer a:hover{color:var(--db-on-action)}.db-site .site-footer a:focus-visible{outline-color:var(--db-footer-focus)}
@media(min-width:981px) and (max-width:1279px){.db-site .header-inner{gap:24px}.db-site .brand{flex-basis:180px}.db-site .brand-wordmark{width:180px}.db-site #nav{font-size:14px;gap:9px}.db-site .account>a{font-size:13px}}
@media(max-width:980px){.db-site .header-inner{height:66px;gap:12px}.db-site .brand{flex:1;min-width:0}.db-site .brand-wordmark{width:210px;max-width:100%}.db-site .menu-toggle{display:block;flex:none}.db-site .nav-shell{position:absolute;top:66px;left:0;right:0;box-shadow:0 12px 24px var(--db-mobile-menu-shadow)}.db-site #nav{display:none;flex-direction:column;gap:0;width:100%;height:auto;max-height:calc(100dvh - 66px);overflow:auto;overscroll-behavior:contain;padding:12px 24px max(24px,env(safe-area-inset-bottom));background:var(--db-surface)}.db-site #nav.open{display:flex}.db-site .nav-item{flex-wrap:wrap;min-height:48px;border-bottom:1px solid var(--db-line)}.db-site .nav-item>a{min-height:48px;flex:1;font-size:16px}.db-site .sub-toggle{display:grid;place-items:center;min-width:44px;min-height:44px;padding:10px;border:0;background:none;color:var(--db-muted)}.db-site .nav-sub{position:static;min-width:0;width:100%;max-height:none;border:0;box-shadow:none;border-radius:0;background:var(--db-soft);padding:4px 8px 12px}.db-site .nav-item:focus-within .nav-sub{display:none}.db-site .nav-item.expanded .nav-sub{display:block}.db-site .nav-sub a{min-height:44px;white-space:normal}.db-site .mobile-account{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 0 20px}.db-site .mobile-account a{min-height:44px;display:flex;align-items:center;color:var(--db-accent);font-weight:650}.db-site .account-menu .nav-sub{position:absolute;width:180px;background:var(--db-surface);border:1px solid var(--db-line)}.db-site .footer-logo{width:220px}.db-site .footer-links{gap:10px 18px}.db-site .footer-main{grid-template-columns:minmax(0,1fr) 190px;gap:28px}.db-site .footer-phone{font-size:25px}}
@media(max-width:680px){.db-site .wrap{width:calc(100% - var(--db-page-gutter) * 2)}.db-site .brand-wordmark{width:195px}.db-site .account{gap:2px}.db-site .account>a{font-size:12px}.db-site .site-footer{padding:30px 0 22px}.db-site .footer-top{flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:20px}.db-site .footer-links{justify-content:flex-start;gap:12px 18px;font-size:12px}.db-site .footer-main{grid-template-columns:1fr;gap:22px;padding:22px 0}.db-site .footer-facts{gap:3px 18px;font-size:12px}.db-site .footer-address{font-size:12px}.db-site .footer-help{text-align:left}.db-site .footer-phone{margin-left:0;font-size:26px}.db-site .footer-bottom{flex-direction:column;align-items:flex-start}.db-site .footer-bottom small{font-size:11px}}
@media(max-width:360px){.db-site .brand-wordmark{width:168px}.db-site .account>a span{display:none}}
@media(prefers-reduced-motion:reduce){.db-site *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.db-site .db-nav-new{display:inline-block;margin-left:4px;padding:0 4px;background:var(--db-soft);color:var(--db-accent);border-radius:3px;font-size:10px;line-height:1.5;vertical-align:middle}

/* Mobile header: crop the existing wordmark to its crest, preserving its alt text. */
/* Restore the desktop navigation emphasis without changing menu structure. */
@media(min-width:981px){
 .db-site .account-menu summary{font-size:14px;font-weight:600;color:var(--db-ink);white-space:nowrap}
 .db-site .account>a.classroom-shortcut{justify-content:center;flex:none;min-width:92px;height:42px;min-height:42px;line-height:24px;letter-spacing:0;font-family:var(--db-font);padding:0 18px;border-radius:999px;background:var(--db-accent);font-size:15px;font-weight:700;color:var(--db-on-action);white-space:nowrap}
 .db-site .account>a.classroom-shortcut:hover{background:var(--db-action)}
 .db-site .header-inner{gap:24px}
 .db-site #nav{gap:clamp(9px,1.2vw,20px)}
 .db-site #nav{position:relative}
 .db-site #nav::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--db-nav-line-width,0px);transform:translateX(var(--db-nav-line-x,0px));opacity:var(--db-nav-line-visible,0);background:var(--db-accent);pointer-events:none;transition:transform .2s ease,width .2s ease,opacity .15s ease}
}
@media(max-width:680px){
 .db-site .header-inner{height:60px;gap:12px}
 .db-site .brand{display:flex;align-items:center;flex:0 0 44px;min-height:44px;overflow:hidden}
 .db-site .site-header .brand-wordmark{width:36px;height:40px;max-width:none;max-height:none;object-fit:cover;object-position:left center}
 .db-site .account{gap:4px}
 .db-site .account>a{width:44px;min-height:44px;justify-content:center}
 .db-site .account>a span{display:none}
 .db-site .account>a svg{width:21px;height:21px}
 .db-site .nav-shell{top:60px}
 .db-site #nav{max-height:calc(100dvh - 60px)}
}

@media(max-width:980px){.db-site .account>a.classroom-shortcut{display:none}.db-site .account-menu summary{font-size:13px;white-space:nowrap}}

.db-site .account-menu .account-name{font-weight:750}

/* Isolate header typography from legacy page body/div/ul rules. */
.db-site .site-header{font-family:var(--db-font);font-size:16px;font-weight:400;line-height:1.6;letter-spacing:0}
.db-site .site-header *{font-family:var(--db-font);letter-spacing:0}

/* Shared section heading and navigation: company, courses, mock exams. */
body.db-site #container{
 --db-section-title-size:22px;--db-section-tab-size:17px;--db-section-tab-line:2px;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.page{
 box-sizing:border-box;width:min(var(--db-width),calc(100% - var(--db-page-gutter)*2))!important;max-width:none!important;
 margin:20px auto 24px!important;padding:0!important;height:20px;line-height:20px!important;font-size:13px!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap{
 box-sizing:border-box;width:min(var(--db-width),calc(100% - var(--db-page-gutter)*2))!important;max-width:none!important;
 margin:0 auto 32px!important;padding:0!important;border:0!important;height:auto!important;box-shadow:none!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav{
 position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:0 20px!important;
 width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
 border:0!important;background:transparent!important;box-sizing:border-box;mask-image:none!important;-webkit-mask-image:none!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dt{
 position:static!important;display:block!important;flex:0 0 100%!important;width:100%!important;height:28px!important;
 margin:0 0 16px!important;padding:0!important;border:0!important;background:transparent!important;
 font-family:var(--db-font)!important;font-size:var(--db-section-title-size)!important;font-weight:600!important;
 line-height:28px!important;letter-spacing:-.025em!important;color:var(--db-ink)!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dt img{display:none!important}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dd{
 position:relative!important;display:flex!important;flex:0 0 auto!important;float:none!important;width:auto!important;height:44px!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dd a{
 display:flex!important;align-items:center!important;box-sizing:border-box;height:44px!important;min-height:44px!important;margin:0!important;
 padding:8px 4px!important;border:0!important;border-bottom:var(--db-section-tab-line) solid transparent!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;font-family:var(--db-font)!important;font-size:var(--db-section-tab-size)!important;
 line-height:24px!important;font-weight:500!important;letter-spacing:-.025em!important;color:var(--db-muted)!important;white-space:nowrap;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dd a .text{
 position:static!important;display:inline!important;padding:0!important;font:inherit!important;line-height:inherit!important;color:inherit!important;letter-spacing:inherit!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dd a.on{
 color:var(--db-accent)!important;font-weight:650!important;border-bottom-color:var(--db-accent)!important;
}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dd a.on .text{color:var(--db-accent)!important;font-weight:inherit!important}
body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav .bar{display:none!important}
@media(max-width:768px){
 body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.page{display:none!important}
 body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap{margin-top:24px!important;margin-bottom:24px!important}
 body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav{flex-wrap:nowrap!important;padding-top:40px!important;gap:0 16px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:none}
 body.db-site:is(.db-company-page,.db-course-list,.db-course-detail,.db-exam-page) #container>.sub_nav_wrap .sub_nav dt{position:absolute!important;top:0!important;left:0!important;margin:0!important}
}

/* Readable header scale; keep one shared geometry across all themed pages. */
@media(min-width:1280px){
 .db-site .brand{flex-basis:264px}
 .db-site .brand-wordmark{width:264px}
 .db-site .header-inner{gap:20px}
 .db-site #nav{font-size:17px;gap:20px}
}
@media(min-width:981px) and (max-width:1279px){
 .db-site .brand{flex-basis:188px}
 .db-site .brand-wordmark{width:188px}
 .db-site .header-inner{gap:12px}
 .db-site #nav{font-size:15px;gap:7px}
}
.db-site .nav-sub a{font-size:15px}
@media(min-width:981px){
 .db-site .account-menu summary,.db-site .account>a{font-size:15px}
 .db-site .account>a.classroom-shortcut{font-size:16px}
}
@media(max-width:980px){.db-site .nav-item>a{font-size:17px}}
@media(max-width:680px){.db-site .site-header .brand-wordmark{width:34.2px;height:37.8px}}

@media(min-width:981px) and (max-width:1050px){
 .db-site .brand{flex-basis:180px}.db-site .brand-wordmark{width:180px}
 .db-site .header-inner{gap:10px}.db-site #nav{gap:5px}
}

/* Keep the header boundary consistent on every themed section. */
body.db-site .site-header{box-shadow:0 1px 0 var(--db-line)}

/* Product status chips; legacy inline colors map to shared semantic tones. */
body.db-site #container .detail_area li.type{display:inline-flex;align-items:center;justify-content:center;float:none;min-height:25px;padding:3px 8px;margin:0 5px 4px 0;border:0;border-radius:5px;background:var(--db-soft)!important;color:var(--db-accent)!important;font-family:var(--db-font);font-size:12px;line-height:19px;font-weight:700;box-shadow:none;vertical-align:middle}
body.db-site #container .detail_area li.type[style*="#CCCC00" i]{background:#f2eddf!important;color:#796235!important}
body.db-site #container .detail_area li.type[style*="#E16C02" i]{background:#eceef0!important;color:#526269!important}
body.db-site #container .detail_area li.type[style*="#DE0521" i]{background:#f6e9ee!important;color:#a52c50!important}

/* Curriculum titles have stronger hierarchy than supporting notes. */
body.db-course-detail #container #sCon02 :is(.b_basic_s,.b_basic_s_mcate) tbody td:nth-child(2){color:var(--db-ink)!important;font-weight:600;line-height:1.65}
body.db-course-detail #container #sCon02 :is(.b_basic_s,.b_basic_s_mcate) tbody td:nth-child(2)>span{color:var(--db-muted)!important;font-weight:400;line-height:1.7}

/* Mobile drawer shares the desktop links and account state. */
.db-site :is(.mobile-drawer-head,.mobile-classroom,.mobile-shortcuts,.mobile-menu-label,.mobile-nav-backdrop){display:none}
@media(max-width:980px){
 .db-site .nav-shell{position:static;box-shadow:none}
 .db-site .mobile-nav-backdrop{display:block;position:fixed;inset:0;z-index:101;background:rgba(19,34,37,.4);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s}
 .db-site .site-header.drawer-open .mobile-nav-backdrop{opacity:1;visibility:visible}
 .db-site #nav{position:fixed;inset:0 auto 0 0;z-index:102;display:flex;flex-direction:column;align-items:stretch;gap:0;width:min(360px,calc(100% - 40px));height:100vh;height:100dvh;max-height:none;margin:0;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;background:var(--db-surface);box-shadow:12px 0 36px rgba(19,34,37,.12);visibility:hidden;transform:translateX(-102%);transition:transform .24s ease,visibility .24s}
 .db-site #nav.open{visibility:visible;transform:translateX(0)}
 .db-site .mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;flex:none}
 .db-site .mobile-drawer-head strong{display:block;font-size:19px;font-weight:750;color:var(--db-ink)}
 .db-site .mobile-drawer-head span{display:block;margin-top:4px;font-size:13px;line-height:1.6;color:var(--db-muted)}
 .db-site .drawer-close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;background:transparent;color:var(--db-ink);padding:0}
 .db-site .site-header .mobile-classroom{display:flex;align-items:center;justify-content:center;gap:16px;flex:none;min-height:50px;border-radius:10px;background:var(--db-accent);color:var(--db-on-action);font-size:17px;font-weight:700}
 .db-site .site-header .mobile-classroom[href="/ssAccounts/login.php"]{background:var(--db-accent-soft);color:var(--db-accent);border:1px solid var(--db-line);box-shadow:none}
 .db-site .site-header .mobile-classroom[href="/ssAccounts/login.php"]:active{background:var(--db-line)}
 .db-site .mobile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;gap:4px;padding:18px 0 20px;margin:0 0 20px;border-bottom:1px solid var(--db-line)}
 .db-site .mobile-shortcuts a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:68px;font-size:12px;font-weight:600;color:var(--db-ink)}
 .db-site .mobile-shortcuts svg{box-sizing:content-box;padding:9px;border-radius:10px;background:var(--db-accent-soft);color:var(--db-accent)}
 .db-site .mobile-shortcuts a:active svg{background:var(--db-line);transform:translateY(1px)}
 .db-site .mobile-shortcuts a:focus-visible{outline:2px solid var(--db-accent);outline-offset:2px;border-radius:8px}
 .db-site .mobile-menu-label{display:block;flex:none;margin:0 0 8px;font-size:12px;font-weight:600;color:var(--db-muted)}
 .db-site #nav .nav-item{min-height:48px;flex:none;border:0}
 .db-site #nav .nav-item>a{height:auto;min-height:48px;font-size:16px;font-weight:600}
 .db-site #nav .nav-sub{margin-bottom:8px;border-radius:8px}
 .db-site #nav .sub-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
 .db-site #nav .nav-item.expanded>a{color:var(--db-accent)}
 .db-site #nav .nav-item>a:active{background:var(--db-soft);border-radius:8px}
 .db-site #nav .mobile-account{display:flex;align-items:center;justify-content:flex-start;gap:8px 16px;flex:none;margin-top:16px;padding:12px 0 0;border-top:1px solid var(--db-line)}
 .db-site #nav .mobile-account a{font-size:13px;font-weight:500;color:var(--db-muted);min-height:44px}
 .db-site #nav .mobile-account a[href="/ssAccounts/logoutResponse.php"]{justify-content:center;padding:0 14px;border:1px solid var(--db-line);border-radius:8px;background:var(--db-soft);color:var(--db-ink);font-weight:600}
 .db-site #nav .mobile-account a[href="/ssAccounts/logoutResponse.php"]:is(:hover,:focus-visible){background:var(--db-accent-soft);border-color:var(--db-accent);color:var(--db-accent)}
}

/* Prevent legacy blue account tabs during first paint and hover. */
body:is(.db-account-page,.myroom-modern) #container .sub_nav dd a{border-bottom:2px solid transparent!important;font-weight:500!important;color:var(--db-muted)!important}
body:is(.db-account-page,.myroom-modern) #container .sub_nav dd a .text{color:inherit!important;font-weight:inherit!important;border:0!important}
body:is(.db-account-page,.myroom-modern) #container .sub_nav dd a:is(.on,:hover,:focus-visible){color:var(--db-accent)!important;border-bottom-color:var(--db-accent)!important}
body:is(.db-account-page,.myroom-modern) #container .sub_nav dd a.on{font-weight:650!important}
body:is(.db-account-page,.myroom-modern) #container .sub_nav :is(.bar,dd a:before,dd a:after){display:none!important}

/* Distinguish the signed-in account from primary navigation. */
.db-site .account-menu summary{box-sizing:border-box;min-height:42px;padding:0 13px;gap:6px;border:1px solid #e0e6e8;border-radius:999px;background:#f1f4f5;color:#7b898e;font-size:12px;font-weight:500;transition:background .15s,border-color .15s}
.db-site .account-menu summary::before{content:"";display:block;width:20px;height:20px;flex:none;margin-right:2px;background:center/20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23586f75' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E")}
.db-site .account-menu summary .account-name{font-size:15px;font-weight:750;color:#263f46;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.db-site .account-menu summary:hover,.db-site .account-menu[open] summary{background:#e8eef0;border-color:#c4d0d4}
.db-site .account-menu summary:focus-visible{outline:2px solid #1d5960;outline-offset:3px}
@media(max-width:980px){.db-site .account-menu summary{padding:0 10px;min-height:38px;font-size:11px}.db-site .account-menu summary .account-name{font-size:13px;max-width:100px}.db-site .account-menu summary::before{width:17px;height:17px;background-size:17px}}

/* Reserve independent room for navigation and the signed-in account. */
@media(min-width:981px){.db-site .header-inner{gap:16px}.db-site #nav{justify-content:space-between;gap:8px;font-size:16px}.db-site .brand{flex-basis:230px}.db-site .brand-wordmark{width:230px}.db-site .account{gap:10px}.db-site .account-menu summary .account-name{max-width:110px}}
@media(min-width:981px) and (max-width:1279px){.db-site .header-inner{gap:10px}.db-site .brand{flex-basis:150px}.db-site .brand-wordmark{width:150px}.db-site #nav{font-size:13px;gap:5px}.db-site .account{gap:7px}.db-site .account-menu summary{padding:0 9px;gap:4px}.db-site .account-menu summary .account-name{font-size:13px;max-width:90px}.db-site .account>a.classroom-shortcut{font-size:14px;min-width:80px;padding:0 12px}}
@media(min-width:1280px) and (max-width:1439px){.db-site #nav{font-size:15px}.db-site .brand{flex-basis:210px}.db-site .brand-wordmark{width:210px}}

/* Authentication changes only account controls, never navigation positions. */
@media(min-width:981px){.db-site #nav{justify-content:flex-start}}

/* Stable header columns in both authentication states. */
@media(min-width:981px){.db-site .account{width:280px;justify-content:flex-end;margin-left:0}.db-site #nav{justify-content:space-between;gap:8px}}
@media(min-width:981px) and (max-width:1279px){.db-site .account{width:240px}.db-site #nav{gap:5px}}

/* Give the first menu breathing room after the logo. */
@media(min-width:1280px){.db-site .nav-shell{padding-left:12px}}
@media(min-width:981px) and (max-width:1279px){.db-site .nav-shell{padding-left:6px}}
