/* 全宽门户导航 */
.header .header-inner{width:100%;max-width:none;padding:0 28px;margin:0}
.header .brand{min-width:300px}
.header .nav{gap:clamp(28px,2.6vw,48px)}
.header .header-actions{position:relative;min-width:300px;justify-content:flex-end}

.header .nav-item .nav-badge{position:absolute;top:calc(50% - 23px);right:-14px;width:16px;height:16px;padding:0;border-radius:50%;background:#f5453f;color:#fff;font-size:10px;font-weight:700;font-style:normal;line-height:16px;text-align:center;letter-spacing:0}

/* 登录后用户入口 */
.account-menu{position:relative;display:flex;align-items:center}
.account-trigger{height:44px;display:flex;align-items:center;gap:9px;padding:5px 4px 5px 7px;border:0;border-radius:8px;background:transparent;color:#263e5a;transition:background .2s}
.account-trigger:hover,.account-trigger[aria-expanded="true"]{background:#eef5fd}
.account-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#3f8de8,#2f6fd0);box-shadow:0 5px 13px rgba(23,105,224,.2)}
.account-avatar svg{width:21px;height:21px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round}
.account-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
.account-caret{font-size:9px;color:#8394a8;margin:0 7px 0 2px;transition:transform .2s}
.account-trigger[aria-expanded="true"] .account-caret{transform:rotate(180deg)}

/* 企业账户下拉卡片 */
.account-panel{position:absolute;right:0;top:55px;width:370px;border:1px solid #dfe7f1;border-radius:14px;background:linear-gradient(165deg,#fbfdff,#eef5ff);box-shadow:0 20px 55px rgba(24,55,94,.18);z-index:120;color:#263d57;overflow:hidden}
.account-panel:before{content:"";position:absolute;right:35px;top:-7px;width:12px;height:12px;background:#fbfdff;border-left:1px solid #dfe7f1;border-top:1px solid #dfe7f1;transform:rotate(45deg)}
.account-head{padding:20px 22px 0}
.account-head strong{display:block;font-size:17px;color:#203955}
.account-head p{margin:8px 0 0;font-size:12px;color:#5b7290;line-height:1.5}
.account-org{position:relative;margin:14px 20px 0;padding:12px 14px;border:1px solid #dfe9f6;border-radius:8px;background:rgba(255,255,255,.74)}
.account-org span{display:block;font-size:11px;color:#6b829c}
.account-org strong{display:block;margin-top:7px;font-size:14px;color:#203955}
.account-org em{position:absolute;right:-1px;top:-1px;padding:4px 9px;border-radius:0 8px 0 8px;background:#2f7ff0;color:#fff;font-size:11px;font-style:normal;line-height:1.4}
.account-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:15px 20px 0}
.account-entry-grid button,.account-entry-grid a{position:relative;display:flex;align-items:center;height:64px;padding:0 14px;border:1px solid #e3edf9;border-radius:6px;background:linear-gradient(140deg,#eaf3fd,#f7fbff);text-align:left;color:#2b4a6c;font-size:14px;font-weight:600;text-decoration:none;overflow:hidden;transition:.2s}
.account-entry-grid button:hover,.account-entry-grid a:hover{border-color:#b9d4f5;background:#e8f2fe}
.account-entry-grid button span,.account-entry-grid a span{position:relative;z-index:1}
.account-entry-grid button svg,.account-entry-grid a svg{position:absolute;right:7px;bottom:3px;width:35px;height:35px;opacity:.92}
.account-logout{margin-top:16px;padding:11px 0 13px;border-top:1px solid #e6edf6;text-align:center}
.account-logout button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#7b8ca1;font-size:13px}
.account-logout button:hover{color:#1769e0}
.account-logout svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.account-menu-toast{position:fixed;right:28px;top:88px;z-index:200;padding:11px 16px;border-radius:7px;background:#163a63;color:#fff;font-size:12px;box-shadow:0 10px 25px rgba(15,48,85,.2)}

@media(max-width:1250px){.header .header-inner{padding:0 20px}.header .brand{min-width:250px}.header .header-actions{min-width:245px}.header .nav{gap:20px}}
@media(max-width:1100px){.header .brand{min-width:220px}.header .header-actions{min-width:180px}.header .nav{gap:12px}.header .nav-item{font-size:14px}}
@media(max-width:760px){.header .header-inner{padding:0 15px}.header .brand{min-width:auto}.header .header-actions{min-width:auto}.account-name{display:none}.account-trigger{width:42px;padding:4px;border-radius:8px;justify-content:center}.account-caret{display:none}.account-panel{position:fixed;left:15px;right:15px;top:76px;width:auto}.account-panel:before{display:none}.account-profile{padding:18px}.account-profile strong{font-size:17px}.account-quick-grid{padding:14px 14px 0;gap:8px}.account-quick{padding:12px}.account-footer{margin-left:14px;margin-right:14px}}
