/* Approved CHE168 account mockup · scoped to /account, no global search changes. */
body.account-dashboard-page{margin:0;background:#edf6ff;color:#08143d;font-family:Inter,Segoe UI,Arial,sans-serif}
body.account-dashboard-page .account-hero{max-width:1672px;margin:0 auto;position:relative;overflow:hidden;background:#dff0ff;line-height:0}
.account-hero-art{display:block;width:100%;height:auto;aspect-ratio:1672/350;object-fit:contain;user-select:none}
.account-hero-hit{position:absolute;display:block;border-radius:12px;text-decoration:none}
.account-hero-hit:focus-visible{outline:3px solid #086aff;outline-offset:3px}
.account-hero-home{left:4.3%;top:4%;width:13.5%;height:16.5%}
.account-hero-favorite{left:75.1%;top:5%;width:8.7%;height:15%}
.account-hero-user{left:83.7%;top:5%;width:10.5%;height:15%}
.account-hero-search{left:62.6%;top:5.2%;width:12.5%;height:13.4%}
.account-mobile-nav{display:none}
body.account-dashboard-page .account-layout{display:block;max-width:1672px;padding:0 3.45% 44px; margin:0 auto}
body.account-dashboard-page .account-layout [hidden]{display:none!important}
.account-overview-card,.account-dashboard-panel{background:#fff;box-shadow:0 5px 24px rgba(55,107,167,.045);border-radius:18px}
.account-overview-card{display:grid;grid-template-columns:39% 1fr;gap:16px;align-items:center;padding:12px 16px 12px 26px;min-height:150px;margin:0 0 12px}
.account-welcome{display:flex;align-items:center;gap:20px;min-width:0}
.account-avatar{position:relative;width:104px;height:104px;border-radius:50%;flex:0 0 auto;
  background:linear-gradient(145deg,#f2f8ff,#d6eaff);display:grid;place-items:center;box-shadow:0 2px 13px rgba(20,105,223,.10),inset 0 0 0 4px #fff}
.account-avatar svg{width:72px;height:72px;fill:#4795f8;opacity:.9;stroke:none}
.account-avatar-camera{position:absolute;right:3px;bottom:4px;display:grid;place-items:center;width:31px;height:31px;border:2px solid #fff;
  border-radius:50%;background:#0768ff;color:#fff;font-size:19px;font-weight:700}
.account-welcome-text{min-width:0}
.account-welcome-small{font-size:14px;color:#667aab}
.account-welcome h2{font-size:22px;line-height:1.15;letter-spacing:-.025em;font-weight:850;color:#061337;margin:3px 0 11px;overflow-wrap:anywhere}
.account-welcome .account-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:0 0 8px}
.account-welcome .account-meta>span{display:flex;align-items:center;gap:9px;color:#6d82a9;font-size:13px}
.account-welcome .account-meta>span>span:first-child{font-size:18px;color:#406fb9}
.account-identity-label{display:inline-flex;align-items:center;gap:6px;color:#0ca15f;background:#e8fff3;padding:5px 11px;border-radius:22px;font-size:12px}
.account-identity-label span{font-weight:800;color:white;background:#0cbd73;border-radius:50%;width:15px;height:15px;text-align:center;line-height:15px}
.account-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.account-stat-card{min-width:0;min-height:128px;display:grid;grid-template-columns:53px 1fr;grid-template-rows:38px auto auto;align-items:center;column-gap:10px;
 text-align:left;padding:13px;border:1px solid #dbe6f7;border-radius:13px;background:#fff;color:#0a1742;text-decoration:none;cursor:pointer;font:inherit}
.account-stat-card:hover{border-color:#5da2ff;box-shadow:0 7px 20px rgba(39,105,222,.08)}
.account-stat-icon{grid-column:1;grid-row:1/3;width:52px;height:52px;border-radius:50%;background:#eaf3ff;color:#006cf9;display:grid;place-items:center;font-size:32px}
.account-stat-favorites .account-stat-icon{background:#fff0f1;color:#ff4767}
.account-stat-filter .account-stat-icon{background:#eafff5;color:#09c879}
.account-stat-settings .account-stat-icon{background:#f5f0ff;color:#8746ff}
.account-stat-value{grid-column:2;grid-row:1;font-size:24px;font-weight:850;font-variant-numeric:tabular-nums}
.account-stat-label{grid-column:2;grid-row:2;font-size:13px;color:#6679a4;line-height:1.17;min-height:30px}
.account-stat-link{grid-column:2;grid-row:3;color:#086aff;font-size:12px;white-space:nowrap;padding-top:5px}
.account-dashboard-grid{display:grid;grid-template-columns:minmax(0,2.58fr) minmax(300px,1fr);gap:14px}
.account-dashboard-left{display:grid;gap:12px;align-content:start;min-width:0}
.account-dashboard-panel{padding:13px 16px 13px;min-width:0}
.account-dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;min-width:0;margin:0 0 8px}
.account-dashboard-heading h2{margin:0;font-size:19px;line-height:1.2;letter-spacing:-.025em;font-weight:800;color:#07153e}
.account-dashboard-link{color:#0069ff;text-decoration:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;font-weight:500}
.account-dashboard-link span{font-size:24px;line-height:1}
.account-dashboard-link:hover{text-decoration:underline}
body.account-dashboard-page .account-history{display:block;min-width:0}
body.account-dashboard-page .account-history-row{display:grid;grid-template-columns:47px minmax(0,1fr) 115px 153px;gap:12px;align-items:center;
  padding:6px 10px;border-top:1px solid #e6edf7;min-height:55px}
.account-history-icon{width:40px;height:40px;border-radius:50%;background:#eaf4ff;color:#076cff;display:grid;place-items:center;font-size:27px}
.account-history-description{min-width:0}
.account-history-description strong{display:block;font-size:13px;color:#10204b;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-history-description p{color:#7890b8;font-size:11px;line-height:1.35;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-history-time{font-size:11px;line-height:1.4;color:#7890b8}
body.account-dashboard-page .account-history-row button{justify-self:stretch;font-size:11px;font-weight:650;color:#0969fc;background:#fff;border:1px solid #91baff;border-radius:30px;padding:8px 7px;white-space:nowrap}
body.account-dashboard-page .account-history-row button:hover{background:#e7f2ff}
.account-favorite-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.account-mini-car{border:1px solid #ecf0fa;border-radius:13px;overflow:hidden;min-width:0;background:#fff;box-shadow:0 3px 11px rgba(46,96,150,.03);color:#0b1740;text-decoration:none;display:block;position:relative}
.account-mini-car:hover{box-shadow:0 5px 14px rgba(21,104,244,.13)}
.account-mini-img{display:block;width:100%;aspect-ratio:248/87;object-fit:cover;background:#ebf2fc}
.account-mini-image-empty{display:grid;place-items:center;background:linear-gradient(125deg,#ddebfa,#f7fbff);font-size:11px;color:#7593b6}
.account-mini-badge{position:absolute;top:8px;left:8px;border-radius:16px;background:#e7fff3;color:#00a95c;font-size:10px;padding:5px 8px}
.account-mini-content{padding:7px 10px;display:grid;gap:2px;position:relative}
.account-mini-content strong{font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-mini-content small{font-size:10px;color:#8194b7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-mini-price{font-size:14px;color:#061338;font-weight:850;margin-top:3px}
.account-mini-open{position:absolute;bottom:10px;right:9px;color:#0871fb;border:1px solid #c9e1ff;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:19px;background:#fff}
.account-mini-hint{color:#6e89ac;font-size:12px;line-height:1.4;margin:10px 4px}
.account-settings-panel{align-self:start}
.account-settings-panel .account-dashboard-heading{margin-bottom:12px}
.account-settings-list{display:grid;gap:9px}
.account-settings-list>a,.account-settings-list>button{min-width:0;display:flex;align-items:center;gap:14px;min-height:62px;width:100%;padding:9px 10px;
  text-align:left;border:1px solid #dfe8f9;border-radius:12px;background:#fff;color:#102048;text-decoration:none;cursor:pointer;font:inherit}
.account-settings-list>a:hover,.account-settings-list>button:hover{border-color:#98c0ff;background:#f9fcff}
.account-settings-symbol{flex:0 0 45px;width:45px;height:45px;display:grid;place-items:center;border-radius:50%;background:#eff5ff;color:#0869f9;font-size:26px}
.account-settings-label{flex:1;min-width:0;display:grid;gap:3px}
.account-settings-label strong{font-size:13px;font-weight:720}
.account-settings-label small{font-size:11px;color:#8496b6;line-height:1.3}
.account-settings-list>a>span:last-child,.account-settings-list>button>span:last-child{color:#4d6c9f;font-size:25px}
.account-settings-list .account-settings-logout{border-color:#ffe3e3;background:#fffafa;color:#ed343c}
.account-settings-logout .account-settings-symbol{background:#fff0f0;color:#ff4050}
.account-settings-logout .account-settings-label small{color:#8496b6}
body.account-dashboard-page #accountGuest,body.account-dashboard-page #accountLoading{max-width:620px;margin:16px auto 34px;padding:26px;border-radius:18px;box-shadow:0 4px 18px rgba(55,100,162,.09)}
body.account-dashboard-page .account-form{max-width:100%}
body.account-dashboard-page .account-form button[type=submit]{background:#086afb;border-radius:10px;color:#fff;border:0;cursor:pointer}
.account-dialog{position:fixed;max-width:min(94vw,500px);width:500px;background:#fff;color:#0d1b40;border:1px solid #d9e5f6;border-radius:18px;
  padding:24px;box-shadow:0 30px 100px rgba(3,30,85,.25)}
.account-dialog::backdrop{background:rgba(14,34,72,.46)}
.account-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}
.account-dialog-title h2{font-size:22px;margin:0}
.account-dialog-title button{font-size:25px;border:0;background:transparent;color:#7893ba;cursor:pointer;line-height:1}
.account-dialog-button{display:inline-block;background:#0669ff;color:white;border-radius:10px;padding:12px 18px;text-decoration:none}
body.account-dashboard-page #accountMessage{max-width:950px;margin:12px auto}
@media(max-width:1270px){
 .account-overview-card{grid-template-columns:1fr;gap:12px}
 .account-stat-grid{width:100%}
 .account-dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(285px,1fr)}
 .account-favorite-preview{gap:8px}
}
@media(max-width:950px){
 .account-dashboard-grid{grid-template-columns:1fr}
 .account-settings-panel{width:100%}
 .account-settings-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-history-row{grid-template-columns:42px minmax(0,1fr) 95px 142px}
 .account-stat-card{grid-template-columns:44px 1fr}
 .account-stat-icon{width:42px;height:42px;font-size:24px}
}
@media(max-width:680px){
 .account-hero-art{width:100%;height:230px;object-fit:cover;object-position:64% 0}
 .account-hero-hit{display:none}
 .account-mobile-nav{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;background:#fff;padding:11px 8px;font-size:12px}
 .account-mobile-nav a{color:#0769ff;text-decoration:none;font-weight:700}
 body.account-dashboard-page .account-layout{padding:10px 12px 32px}
 .account-overview-card,.account-dashboard-panel{border-radius:12px}
 .account-overview-card{padding:14px;min-height:auto}
 .account-welcome{gap:12px;align-items:flex-start}
 .account-avatar{width:65px;height:65px}
 .account-avatar svg{width:48px;height:48px}
 .account-avatar-camera{width:23px;height:23px;font-size:14px}
 .account-welcome h2{font-size:19px}
 .account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .account-stat-card{min-height:100px;padding:10px;grid-template-columns:36px 1fr;column-gap:7px}
 .account-stat-icon{width:35px;height:35px;font-size:23px}
 .account-stat-value{font-size:21px}
 .account-stat-label{font-size:11px}
 .account-history-row{grid-template-columns:32px minmax(0,1fr) 105px;gap:7px;padding:10px 0}
 .account-history-icon{width:31px;height:31px;font-size:19px}
 .account-history-time{grid-column:2;grid-row:2}
 .account-history-row button{grid-column:3;grid-row:1/3}
 .account-favorite-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-settings-list{grid-template-columns:1fr}
 .account-dashboard-heading h2{font-size:17px}
}

.account-dialog-feedback{margin:12px 0 0;padding:9px 12px;border-radius:8px;background:#fff0f1;color:#ae2032;font-size:13px;line-height:1.45}
