/* hh830：版式照 hh797-r6i。左右两张等宽白卡、上下等间距、同一条对齐线；平板横屏不滚页面，卡内放不下时卡内滚动；手机竖屏单列。 */
#hh808-parent{--blue:#2f7fd0;--line:#a9cdee;--ink:#233b52;--muted:#6f8294;--soft:#eaf4ff;position:fixed;inset:0;z-index:2000;overflow:auto;background:#d9edb9 url('assets/pilot-login/bg.webp') center/cover;font:18px/1.55 'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;color:var(--ink);user-select:text;padding:max(14px,2.2vh) 22px 0;box-sizing:border-box}
#hh808-parent *{box-sizing:border-box}
#hh808-parent .shell{max-width:1180px;margin:0 auto;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(12px,2vh,20px);padding-bottom:max(12vh,64px)}
#hh808-parent header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;background:#fff;border:2px solid var(--line);border-radius:22px;padding:8px 14px;min-height:64px}
#hh808-parent h1{font-size:28px;line-height:1.2;margin:0;text-align:center;font-weight:800}
#hh808-parent h2{font-size:26px;line-height:1.25;margin:0;font-weight:800}
#hh808-parent h3{font-size:20px;line-height:1.3;margin:0;display:flex;align-items:center;gap:8px;font-weight:800}
#hh808-parent button,#hh808-parent select,#hh808-parent input{font:inherit;color:inherit}
#hh808-parent button{cursor:pointer}
#hh808-parent button:focus-visible,#hh808-parent select:focus-visible,#hh808-parent a:focus-visible,#hh808-parent input:focus-visible{outline:3px solid #1d5fa8;outline-offset:3px}
#hh808-parent .hb{justify-self:start;min-height:48px;padding:6px 14px;border:0;background:transparent;color:var(--blue);font-weight:700;font-size:20px;display:flex;align-items:center;gap:6px;border-radius:12px;white-space:nowrap}
#hh808-parent .hb.gear{justify-self:end}#hh808-parent .hb.gear .ico{width:26px;height:26px}
#hh808-parent .ico{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* 两列 */
#hh808-parent .columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(14px,2vw,24px);min-height:0}
#hh808-parent .card{min-height:0;overflow:auto;background:#fff;border:2px solid var(--line);border-radius:24px;padding:clamp(16px,2.4vh,26px) clamp(16px,2vw,28px);display:flex;flex-direction:column}
#hh808-parent .stack{display:flex;flex-direction:column;flex:1;min-height:0}
#hh808-parent .part{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;flex:1}
#hh808-parent .stack>.part+.part{border-top:1px solid #dbe8f5;margin-top:clamp(8px,1.4vh,16px);padding-top:clamp(8px,1.4vh,16px)}
#hh808-parent .center{align-items:center;justify-content:center;text-align:center;display:flex;flex-direction:column;gap:12px;flex:1}
#hh808-parent .rc{padding:0 4px}
#hh808-parent .avatar{width:128px;height:128px;border-radius:50%;background:#dcecfb;border:3px solid #fff;box-shadow:0 0 0 2px var(--line);display:grid;place-items:end center;overflow:hidden;flex:none}
#hh808-parent .avatar img{width:92%;height:92%;object-fit:contain}
#hh808-parent .cap{align-self:center;color:var(--muted);font-size:17px}
#hh808-parent .big-ico{width:72px;height:72px}
#hh808-parent .heart{width:96px;height:80px}
#hh808-parent .muted{color:var(--muted);margin:0}#hh808-parent .small{font-size:16px}
#hh808-parent .big{font-size:30px;font-weight:800;margin:0}
#hh808-parent .lead{font-size:24px;font-weight:700;margin:0;line-height:1.4}
#hh808-parent .sub-t{margin:0;font-size:19px;font-weight:700}
#hh808-parent hr{width:100%;border:0;border-top:1px solid #dbe8f5;margin:4px 0}
#hh808-parent .notice{padding:16px 18px;border-radius:16px;background:var(--soft);border:1px solid #cfe0f2}

/* 按钮 */
#hh808-parent .obtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:8px 18px;border:2px solid var(--blue);border-radius:16px;background:#fff;color:var(--blue);font-weight:700;font-size:20px;text-decoration:none;text-align:center;position:relative}
#hh808-parent .obtn .chev{font-size:28px;line-height:1;margin-left:2px}
#hh808-parent .obtn.static{cursor:default}#hh808-parent .obtn .ph{display:block;font-weight:500;color:var(--muted);font-size:15px}
#hh808-parent .obtn.solid{background:var(--blue);color:#fff}
#hh808-parent .obtn:disabled{opacity:.55;cursor:default}
#hh808-parent .chev{color:var(--blue);font-weight:700;font-size:30px}

/* 首屏右侧两个菜单、成长报告四行 */
#hh808-parent .menu2{display:flex;flex-direction:column;gap:clamp(12px,2vh,20px);flex:1;justify-content:center}
#hh808-parent .menu2 .obtn{flex:1;max-height:150px;min-height:84px;font-size:24px;border-color:var(--line);color:var(--ink);justify-content:center;width:86%;align-self:center}
#hh808-parent .menu2 .obtn .ico{width:34px;height:34px;color:var(--blue)}
#hh808-parent .hh808-who .obtn,#hh808-parent .rc .obtn{width:86%}
#hh808-parent .menu4{display:flex;flex-direction:column;flex:1;gap:clamp(8px,1.4vh,14px);justify-content:center}
#hh808-parent .mrow{display:flex;align-items:center;gap:16px;flex:1;max-height:120px;min-height:68px;width:100%;padding:8px 18px;border:2px solid #d6e6f6;border-radius:18px;background:#fff;text-align:left}
#hh808-parent .tile{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;flex:none}#hh808-parent .tile .ico{width:28px;height:28px}
#hh808-parent .mt{font-size:23px;font-weight:700;flex:1}

/* 自己和自己比 */
#hh808-parent .cmp{width:100%;display:grid;gap:10px}
#hh808-parent .cr{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;border-radius:14px;background:#f2f8ff;border:1px solid #cfe0f2}
#hh808-parent .cr span{font-size:19px;color:var(--muted)}#hh808-parent .cr b{font-size:22px}#hh808-parent .cr b.dim{color:var(--muted);font-weight:600;font-size:19px}

/* 子面板 */
#hh808-parent .subpanel{display:grid;gap:14px;align-content:start}
#hh808-parent .subpanel>h2{font-size:24px}
#hh808-parent .hh808-pick{display:grid;gap:12px}
#hh808-parent .pwform{display:grid;gap:14px}#hh808-parent .pwform label{display:grid;gap:8px;font-weight:700}
#hh808-parent input{width:100%;min-height:52px;padding:8px 12px;border:2px solid var(--line);border-radius:12px;background:#fff;font-size:22px;letter-spacing:.3em}

/* 设置 */
#hh808-parent .sets{justify-content:space-between;gap:clamp(6px,1.2vh,14px)}
#hh808-parent .sec{display:flex;flex-direction:column;gap:8px;flex:none}
#hh808-parent h3 .hic{width:44px;height:44px;border-radius:50%;background:#e3efff;color:var(--blue);display:grid;place-items:center;flex:none}#hh808-parent h3 .hic .ico{width:24px;height:24px}
#hh808-parent .grp{border:2px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
#hh808-parent .grp>*+*{border-top:1px solid #dbe8f5}
#hh808-parent .grp>.hh808-row,#hh808-parent .grp>.lrow{padding:6px 16px}
#hh808-parent .hh808-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px}
#hh808-parent .rl{display:grid;gap:2px;min-width:0}#hh808-parent .rl b{font-weight:700;font-size:20px}#hh808-parent .rl small{color:var(--muted);font-size:15px}
#hh808-parent .hh808-hint{margin:0;color:var(--muted);font-size:15px}
#hh808-parent select{min-height:48px;padding:6px 34px 6px 12px;border:2px solid var(--line);border-radius:12px;background:#fff;font-size:19px;min-width:140px;max-width:100%}
#hh808-parent select.inl{min-width:112px;margin:0 6px}
#hh808-parent select:disabled{background:#f1f4f7;color:#7d8c99}
#hh808-parent .rest-t{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap;gap:2px}
#hh808-parent .sw{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:48px;padding:0;border:0;background:transparent;font-weight:700;color:var(--muted)}
#hh808-parent .sw i{position:relative;width:58px;height:32px;border-radius:16px;background:#c3ccd5;transition:background .15s}
#hh808-parent .sw i::after{content:'';position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:left .15s}
#hh808-parent .sw[aria-checked=true] i{background:var(--blue)}#hh808-parent .sw[aria-checked=true] i::after{left:29px}
#hh808-parent .sw[aria-checked=true]{color:var(--blue)}
#hh808-parent .sw:disabled{opacity:.5;cursor:default}
#hh808-parent .lrow{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;border:0;background:transparent;font-size:20px;font-weight:700;text-align:left}
#hh808-parent .lnk{border:0;background:transparent;color:var(--blue);font-weight:700;font-size:19px;min-height:48px;padding:0 4px}
#hh808-parent .grp>*+*{border-top:1px solid #dbe8f5}#hh808-parent .card.r>.sec+.sec{margin-top:clamp(10px,2vh,22px)}
#hh808-parent .grow{flex:0 0 clamp(6px,1.4vh,18px)}
#hh808-parent .card.r>.obtn{margin-top:auto;flex:none}

/* 提示条 */
#hh808-parent .status{position:fixed;left:50%;bottom:max(4vh,24px);transform:translateX(-50%);margin:0;max-width:min(92vw,520px);padding:12px 22px;border-radius:999px;background:#233b52;color:#fff;font-size:19px;text-align:center;white-space:pre-wrap;z-index:5}
#hh808-parent .status:empty{display:none}
#hh808-parent .status button{margin-left:12px;min-height:40px;padding:2px 14px;border-radius:999px;border:0;background:#fff;color:#233b52;font-weight:700}

/* 数据块（来自 hh820） */
#hh808-parent .subpanel .hh820-block>h3{display:none}#hh808-parent .hh820-block h3{font-size:20px}
#hh808-parent .hh820-cert{display:grid;gap:14px}#hh808-parent .hh820-cert svg{width:100%;height:auto;border-radius:16px;border:1px solid #cfe0f2}
#hh808-parent .hh820-reminder{margin:0 0 clamp(10px,1.6vh,16px);flex:none}
#hh808-parent p{margin:0}

/* 平板/电脑：字和按钮放大到和图稿相近 */
@media(min-width:900px) and (min-height:640px){
 #hh808-parent .shell{padding-bottom:max(10vh,56px)}
 #hh808-parent header{min-height:80px;border-radius:26px}
 #hh808-parent h1{font-size:38px}#hh808-parent .hb{font-size:26px}#hh808-parent .hb.gear .ico{width:32px;height:32px}
 #hh808-parent h2{font-size:34px}#hh808-parent h3{font-size:26px}
 #hh808-parent .big{font-size:44px}#hh808-parent .lead{font-size:38px}#hh808-parent .muted{font-size:22px}#hh808-parent .small{font-size:20px}#hh808-parent .cap{font-size:22px}#hh808-parent .sub-t{font-size:24px}
 #hh808-parent .avatar{width:164px;height:164px}#hh808-parent .big-ico{width:84px;height:84px}#hh808-parent .heart{width:140px;height:116px}
 #hh808-parent .obtn{min-height:72px;font-size:28px;border-radius:20px}#hh808-parent .obtn .ico{width:34px;height:34px}
 #hh808-parent .menu2 .obtn{font-size:32px;max-height:170px}#hh808-parent .menu2 .obtn .ico{width:44px;height:44px}
 #hh808-parent .mt{font-size:29px}#hh808-parent .tile{width:60px;height:60px}#hh808-parent .tile .ico{width:34px;height:34px}#hh808-parent .mrow{max-height:130px}
 #hh808-parent .cr span{font-size:22px}#hh808-parent .cr b{font-size:27px}#hh808-parent .cr b.dim{font-size:22px}
 #hh808-parent .rl b{font-size:24px}#hh808-parent .rl small,#hh808-parent .hh808-hint{font-size:18px}#hh808-parent select{font-size:22px;min-height:54px}#hh808-parent .lrow{font-size:24px}#hh808-parent .lnk{font-size:22px}
 #hh808-parent .status{font-size:22px}#hh808-parent .hh820-block h3{font-size:24px}#hh808-parent .hh820-line{font-size:21px}
}
/* 窄屏：单列，宿主滚动 */
@media(max-width:760px){
 #hh808-parent{padding:12px 14px 0}
 #hh808-parent .shell{height:auto;min-height:100%;padding-bottom:max(12vh,72px);grid-template-rows:auto auto;align-content:start}
 #hh808-parent .columns{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}
 #hh808-parent .card{overflow:visible;padding:18px}
 #hh808-parent h1{font-size:22px}#hh808-parent .hb{font-size:17px;padding:6px 6px}#hh808-parent header{padding:6px 8px;gap:4px}
 #hh808-parent .hb{gap:3px}#hh808-parent .hb.gear .ico{width:22px;height:22px}
 #hh808-parent .rest-t{font-size:17px;white-space:nowrap}#hh808-parent select.inl{min-width:92px;font-size:17px;padding-left:8px;margin:0 2px}#hh808-parent .sw span{display:none}
 #hh808-parent .part{flex:none}#hh808-parent .stack{flex:none}
 #hh808-parent .sec{flex:none}
 #hh808-parent .menu2,#hh808-parent .menu4{flex:none}
 #hh808-parent .menu2 .obtn{min-height:76px}
 #hh808-parent .columns.home .stack.split{display:grid;gap:14px}
 #hh808-parent .columns.has-sub>.card.l{display:none}
 #hh808-parent .avatar{width:96px;height:96px}
 #hh808-parent .center{flex:none}
 #hh808-parent .card.r>.obtn{margin-top:12px}
}
/* 手机横屏等矮屏：压缩，仍两列 */
@media(max-height:520px) and (min-width:761px){
 #hh808-parent{padding:8px 14px 0}
 #hh808-parent .shell{gap:8px;padding-bottom:max(8vh,24px)}
 #hh808-parent header{min-height:48px;padding:2px 10px}#hh808-parent h1{font-size:22px}#hh808-parent .hb{min-height:40px;font-size:18px}
 #hh808-parent h2{font-size:20px}#hh808-parent .big{font-size:22px}#hh808-parent .lead{font-size:19px}
 #hh808-parent .card{padding:10px 16px;border-radius:18px}
 #hh808-parent .avatar{width:64px;height:64px}#hh808-parent .big-ico{width:48px;height:48px}#hh808-parent .heart{width:64px;height:52px}
 #hh808-parent .obtn{min-height:44px;font-size:18px}#hh808-parent .menu2 .obtn{min-height:56px;font-size:20px}#hh808-parent .mrow{min-height:48px}#hh808-parent .tile{width:38px;height:38px}#hh808-parent .mt{font-size:19px}
 #hh808-parent .part{gap:6px}#hh808-parent .center{gap:6px}
 #hh808-parent .hh808-row{min-height:40px}#hh808-parent .rl b{font-size:17px}#hh808-parent .sw,#hh808-parent select,#hh808-parent .lrow{min-height:40px}#hh808-parent select{font-size:16px}
 #hh808-parent .cr{padding:6px 14px}
 #hh808-parent .hh808-hint,#hh808-parent .rl small{display:none}
 #hh808-parent .sw span{display:none}#hh808-parent .rest-t{font-size:15px}#hh808-parent select.inl{min-width:84px;font-size:15px;margin:0 2px}#hh808-parent .cap{display:none}#hh808-parent .avatar{width:52px;height:52px}#hh808-parent h3{font-size:18px}#hh808-parent h3 .hic{width:32px;height:32px}#hh808-parent h3 .hic .ico{width:18px;height:18px}#hh808-parent .sec{gap:4px}#hh808-parent .sets{gap:4px}#hh808-parent .grp>.hh808-row,#hh808-parent .grp>.lrow{padding:2px 12px}#hh808-parent .big-ico{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){#hh808-parent .sw i,#hh808-parent .sw i::after{transition:none}}

/* hh830-r2: narrow rows reserve space for the switch; text may wrap. */
#hh808-parent .rest-t{flex-wrap:wrap;white-space:normal}
#hh808-parent .hh808-row{height:auto;box-shadow:none}
#hh808-parent .hh808-row::after{content:none}
@media(max-width:1100px){#hh808-parent .hh808-row:has(.rest-t){flex-wrap:wrap}#hh808-parent .hh808-row:has(.rest-t)>.sw{margin-left:auto}}
