/* 春举志愿个人中心：独立样式文件，避免主样式缓存或后续模块影响布局 */
.account-page{--account-deep:#075f43;--account-green:#0b8b60;--account-soft:#edf8f3;--account-line:#dce8e2;--account-muted:#68766f}
.account-page.active{display:block}
.account-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:210px;margin-bottom:18px;padding:34px 38px;overflow:hidden;border:1px solid #d7e9e0;border-radius:24px;background:linear-gradient(115deg,#e8f7f0 0%,#f7fbf9 56%,#edf6fb 100%)}
.account-hero:after{content:"";position:absolute;right:-74px;bottom:-120px;width:310px;height:310px;border:52px solid rgba(11,139,96,.055);border-radius:50%;pointer-events:none}
.account-hero-copy{position:relative;z-index:1;max-width:680px}
.account-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--account-green);font-size:13px;font-weight:800;letter-spacing:.12em}
.account-eyebrow:before{content:"";width:18px;height:2px;border-radius:2px;background:currentColor}
.account-hero h1{margin:9px 0 10px;font-size:34px;line-height:1.25;letter-spacing:-.03em}
.account-hero p{margin:0;color:var(--account-muted);font-size:15px;line-height:1.8}
.account-status-line{display:flex;align-items:center;gap:8px;margin-top:19px;color:#4e645a;font-size:13px}
.status-dot{width:8px;height:8px;border-radius:50%;background:#16a673;box-shadow:0 0 0 5px rgba(22,166,115,.1)}
.account-identity-card{position:relative;z-index:1;display:flex;align-items:center;gap:15px;min-width:360px;padding:21px 23px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:rgba(255,255,255,.82);color:inherit;text-align:left;box-shadow:0 16px 38px rgba(20,66,48,.08);backdrop-filter:blur(12px);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.account-identity-card:hover{border-color:#bfdbce;box-shadow:0 18px 42px rgba(20,66,48,.12);transform:translateY(-1px)}
.account-identity-card:focus-visible{outline:3px solid rgba(11,139,96,.2);outline-offset:3px}
.account-avatar{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:15px;background:var(--account-deep);color:#fff;font-size:20px;font-weight:800;box-shadow:0 9px 20px rgba(7,95,67,.18)}
.account-avatar .default-avatar-icon{display:block;width:27px;height:27px;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.account-identity-card small,.account-identity-card strong,.account-identity-card span:not(.account-avatar){display:block}
.account-identity-card small{color:var(--account-muted);font-size:12px}
.account-identity-card strong{margin:3px 0 2px;font-size:20px;letter-spacing:.02em}
.account-identity-card span:not(.account-avatar){color:#829087;font-size:12px}
.account-identity-action{display:flex!important;align-items:center;gap:3px;margin-left:auto;padding-left:8px;color:var(--account-green)!important;font-weight:800;white-space:nowrap}
.account-identity-action svg{width:17px;height:17px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.account-identity-card:hover .account-identity-action svg{transform:translateX(2px)}

.account-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.account-summary-card{display:flex;align-items:center;gap:14px;min-width:0;padding:18px 19px;border:1px solid var(--account-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(20,66,48,.04)}
.account-summary-card .account-metric-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:var(--account-soft);color:var(--account-deep)}
.account-metric-icon svg{display:block;width:21px;height:21px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-summary-card div{min-width:0}
.account-summary-card small,.account-summary-card strong,.account-summary-card div>span{display:block}
.account-summary-card small{color:#53635b;font-size:13px;font-weight:700}
.account-summary-card strong{margin:1px 0;color:var(--account-deep);font-size:27px;line-height:1.1}
.account-summary-card div>span{overflow:hidden;color:#8a958f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}

.account-layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(320px,.78fr);gap:18px;align-items:start}
.account-main,.account-panel{border:1px solid var(--account-line);border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(20,66,48,.045)}
.account-main{min-width:0;padding:25px}
.account-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:21px}
.account-section-head>div{min-width:0}
.account-section-head span{color:var(--account-green);font-size:12px;font-weight:800;letter-spacing:.1em}
.account-section-head h2{margin:5px 0 6px;font-size:23px;line-height:1.3}
.account-section-head p{max-width:620px;margin:0;color:var(--account-muted);font-size:13px;line-height:1.7}
.account-create-button{flex:0 0 auto;min-height:42px;padding-inline:20px;box-shadow:0 10px 22px rgba(11,139,96,.16)}
.account-profile-list{grid-template-columns:1fr!important}
.account-profile-list .profile-card{margin:0;border-color:#dbe7e1;border-radius:17px;box-shadow:none}
.account-profile-list .profile-top{padding-bottom:16px;border-bottom:1px solid #edf1ef}
.account-profile-list .profile-name strong{font-size:19px}
.account-profile-list .student-avatar{border-radius:13px;background:var(--account-soft);color:var(--account-green)}
.account-profile-list .profile-facts{margin-top:15px}
.account-profile-list .profile-facts span{color:#53635b}
.account-profile-list .profile-actions{padding-top:17px}
.account-profile-list .empty-card{min-height:230px;border-radius:16px;background:linear-gradient(180deg,#fbfdfc,#f8fbf9)}

.account-sidebar{display:grid;gap:14px}
.account-panel{padding:22px}
.account-section-head.compact{margin-bottom:15px}
.account-section-head.compact h2{font-size:20px}
.account-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid #edf1ef}
.account-setting-copy{display:flex;align-items:center;min-width:0;gap:11px}
.account-setting-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#f1f7f4;color:var(--account-deep);font-size:12px;font-weight:800}
.account-setting-icon svg{display:block;width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-setting-copy strong,.account-setting-copy small{display:block}
.account-setting-copy strong{font-size:14px}
.account-setting-copy small{margin-top:3px;color:var(--account-muted);font-size:12px}
.account-setting-copy b{color:#27342e}
.account-setting-action{flex:0 0 auto;min-height:36px;padding:7px 12px;font-size:12px}
.account-session-row{padding-bottom:0}
.account-security-dialog{--account-deep:#075f43;--account-green:#0b8b60;--account-soft:#edf8f3;--account-line:#dce8e2;--account-muted:#68766f;width:min(92vw,540px);max-width:none;padding:0;border:0;border-radius:22px;background:transparent;box-shadow:0 28px 80px rgba(8,43,32,.22)}
.account-security-dialog::backdrop{background:rgba(7,34,26,.42);backdrop-filter:blur(3px)}
.account-security-shell{padding:26px;border:1px solid var(--account-line,#dce8e2);border-radius:22px;background:#fff}
.account-security-head{align-items:flex-start;margin-bottom:4px;padding-bottom:20px;border-bottom:1px solid #edf1ef}
.account-security-head small{color:var(--account-green,#0b8b60);font-size:12px;font-weight:800;letter-spacing:.1em}
.account-security-head h2{margin:5px 0 5px;font-size:25px}
.account-security-head p{margin:0;color:var(--account-muted,#68766f);font-size:13px;line-height:1.65}
.account-security-head .close{flex:0 0 auto}
.account-security-head + .account-setting-row{border-top:0}
.account-security-dialog .account-setting-row{padding:18px 0}
.account-security-dialog .account-session-row{padding-bottom:18px}
.account-security-dialog .account-logout-row{padding-top:18px;border-top:1px solid #edf1ef}
.account-logout-row .account-setting-icon{background:#fff3f1;color:#b83b2d}
.account-logout-action{flex:0 0 auto;min-height:36px;padding:7px 13px;border:1px solid #e8b9b3;border-radius:10px;background:#fff;color:#a93226;font-size:12px;font-weight:750;cursor:pointer}
.account-logout-action:hover{border-color:#cf766c;background:#fff5f3}
.account-logout-action:focus-visible{outline:3px solid rgba(184,59,45,.16);outline-offset:2px}
.account-security-note{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border-radius:12px;background:#f1f8f4;color:#52665d}
.account-security-note>svg{display:block;flex:0 0 23px;width:23px;height:23px;padding:4px;border-radius:50%;background:#dff3e9;color:var(--account-green,#0b8b60);stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-security-note p{margin:1px 0 0;font-size:12px;line-height:1.65}
.change-phone-form[hidden]{display:none!important}
.change-phone-form{display:grid;gap:13px;margin:2px 0 15px;padding:17px;border:1px solid #cfe3d9;border-radius:14px;background:#f7fbf9}
.change-phone-title strong,.change-phone-title span{display:block}
.change-phone-title strong{font-size:15px}
.change-phone-title span{margin-top:3px;color:var(--account-muted);font-size:12px}
.change-phone-form label>span{display:block;margin-bottom:6px;color:#33443c;font-size:12px;font-weight:700}
.change-phone-form input{width:100%;height:43px;padding:0 12px;border:1px solid #cfdbd5;border-radius:10px;background:#fff;font-size:14px;outline:none}
.change-phone-form input:focus{border-color:var(--account-green);box-shadow:0 0 0 3px rgba(11,139,96,.09)}
.change-phone-form .code-field{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px}
.change-phone-form .code-field button{border:1px solid #b9d6c8;border-radius:10px;background:#eaf6f0;color:var(--account-deep);font-weight:700}
.change-phone-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.change-phone-actions button{min-height:40px}
.change-phone-form>small{color:var(--account-muted);font-size:11px;line-height:1.6}
.account-data-panel{display:flex;align-items:flex-start;gap:12px;background:#f3faf6}
.account-data-mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#dff3e9;color:var(--account-green);font-weight:900}
.account-data-panel strong{display:block;margin:2px 0 5px;font-size:14px}
.account-data-panel p{margin:0;color:var(--account-muted);font-size:12px;line-height:1.7}

@media(max-width:1000px){
  .account-hero{padding:30px}
  .account-identity-card{min-width:335px}
  .account-layout{grid-template-columns:1fr}
  .account-sidebar{grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr)}
}
@media(max-width:760px){
  .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px;height:auto!important;padding:10px 14px 0!important}
  .topbar .brand{display:flex!important;grid-column:1;min-width:0}
  .topbar .brand-mark{width:38px;height:38px}
  .topbar .brand strong{font-size:16px}
  .topbar .brand small{font-size:9px}
  .topbar .user-pill{grid-column:2;justify-self:end;min-width:0;margin:0!important;padding:5px 7px!important}
  .topbar .user-pill #accountPhone{display:none}
  .topbar .user-pill .avatar{width:30px;height:30px}
  .topbar .logout-button{padding:4px 2px!important;font-size:12px}
  .topbar #nav{display:flex!important;grid-column:1/-1;width:calc(100% + 28px)!important;max-width:none;margin:0 -14px!important;padding:0 14px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;white-space:nowrap}
  .topbar #nav::-webkit-scrollbar{display:none}
  .topbar #nav .nav-item{flex:0 0 auto;min-height:44px;padding:10px 12px!important;font-size:13px}
  body:has(#page-account.active) .topbar #nav .nav-item[data-page="account"]{order:-1}
  .account-hero{display:block;min-height:0;padding:25px}
  .account-hero h1{font-size:29px}
  .account-identity-card{width:100%;min-width:0;margin-top:22px;padding:17px}
  .account-overview{grid-template-columns:repeat(2,1fr)}
  .account-main{padding:20px}
  .account-sidebar{grid-template-columns:1fr}
}
@media(max-width:520px){
  .account-page{margin-top:2px}
  .account-hero{margin:0 -2px 13px;padding:21px 19px;border-radius:18px}
  .account-hero h1{margin-top:7px;font-size:25px}
  .account-hero p{font-size:13px;line-height:1.7}
  .account-status-line{margin-top:14px;font-size:12px}
  .account-identity-card{margin-top:18px;border-radius:14px}
  .account-identity-action>span{display:none!important}
  .account-security-dialog{width:calc(100vw - 24px);margin:auto;border-radius:18px}
  .account-security-shell{padding:20px 17px;border-radius:18px}
  .account-security-head h2{font-size:22px}
  .account-avatar{flex-basis:44px;width:44px;height:44px;border-radius:12px;font-size:18px}
  .account-identity-card strong{font-size:18px}
  .account-overview{gap:9px;margin-bottom:13px}
  .account-summary-card{display:block;padding:14px;border-radius:14px}
  .account-summary-card .account-metric-icon{width:32px;height:32px;margin-bottom:10px;border-radius:9px}
  .account-summary-card strong{font-size:23px}
  .account-layout{gap:13px}
  .account-main,.account-panel{border-radius:17px}
  .account-main,.account-panel{padding:17px}
  .account-section-head{display:block;margin-bottom:16px}
  .account-section-head h2{font-size:20px}
  .account-create-button{width:100%;margin-top:14px}
  .account-profile-list .profile-top{align-items:flex-start}
  .account-profile-list .profile-completeness{margin-top:8px}
  .account-setting-row{align-items:flex-start}
  .account-setting-action{max-width:112px;white-space:normal}
  .change-phone-form{margin-inline:-3px;padding:14px}
  .change-phone-form .code-field{grid-template-columns:minmax(0,1fr) 105px}
}
