/* Keep profile in normal page flow; don't inherit stale sheet/workout scroll locks. */
html.oh-profile-view:not(.oh-profile-modal){height:auto!important;min-height:100%;overflow-y:auto!important;overflow-x:clip!important;scroll-behavior:auto!important;}
html.oh-profile-view:not(.oh-profile-modal) body{display:block!important;position:relative!important;top:auto!important;height:auto!important;min-height:100svh;overflow:visible!important;touch-action:pan-y!important;}
html.oh-profile-view .app{max-width:620px!important;height:auto!important;min-height:100svh;overflow:visible!important;padding:calc(12px + env(safe-area-inset-top)) 18px calc(116px + env(safe-area-inset-bottom))!important;}
html.oh-profile-view #screen{height:auto!important;min-height:0;overflow:visible!important;padding-bottom:0!important;}
.oh-profile-page,.oh-profile-page *{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',sans-serif!important;box-sizing:border-box;letter-spacing:normal;}
.oh-profile-page{--op-line:color-mix(in srgb,var(--ink) 10%,transparent);--op-muted:var(--ink2);color:var(--ink);font-size:14px;line-height:1.4;animation:op-enter .24s ease both;}
.op-head{display:flex;gap:12px;align-items:center;margin:0 0 24px;padding:0;}
.op-head h1{font-size:16px;font-weight:600;margin:0;letter-spacing:-.02em;}
.oh-profile-page .op-back{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:8px;border:1px solid var(--op-line)!important;border-radius:50%!important;background:color-mix(in srgb,var(--card) 65%,transparent)!important;box-shadow:none!important;color:var(--ink)!important;}
.op-back svg{width:17px;height:17px;}
.op-identity{display:flex;align-items:center;gap:15px;margin:0 3px 24px;}
.oh-profile-page .op-avatar{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;min-height:58px;padding:2px!important;border:1px solid rgba(173,164,192,.35)!important;border-radius:50%!important;color:var(--ink)!important;background:linear-gradient(140deg,rgba(172,169,230,.22),rgba(244,206,174,.2))!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.7),0 4px 18px rgba(132,130,161,.1)!important;overflow:hidden;}
.op-avatar span{font-size:23px;font-weight:500;}.op-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.op-identity h2{margin:0 0 4px;font-size:25px;line-height:1.12;font-weight:650;letter-spacing:-.04em;}
.oh-profile-page .op-edit{display:inline-flex;align-items:center;gap:5px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--op-muted)!important;font-size:12px;font-weight:450;min-height:24px;}
.op-chevron{width:15px;height:15px;flex:0 0 15px;opacity:.55;}.op-edit .op-chevron{width:11px;height:11px;}
.op-shortcuts{display:flex;gap:10px;margin:0 0 20px;}
.oh-profile-page .op-quick{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-width:0;min-height:44px;padding:10px 14px!important;border-radius:15px!important;border:1px solid var(--op-line)!important;background:color-mix(in srgb,var(--card) 72%,transparent)!important;color:var(--ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)!important;font-size:13px;font-weight:550;}
.op-quick svg{width:18px;height:18px;color:color-mix(in srgb,var(--ink) 75%,#a798c8);}
.op-list{border:1px solid var(--op-line);border-radius:22px;background:color-mix(in srgb,var(--card) 88%,transparent);box-shadow:0 8px 28px rgba(60,61,88,.035);}
.op-group{margin:0;border:0;border-bottom:1px solid var(--op-line);background:none;border-radius:0;}.op-group:last-child{border-bottom:0;}
.op-group>summary{display:flex;align-items:center;gap:12px;padding:15px 16px;min-height:72px;list-style:none;cursor:pointer;user-select:none;}.op-group>summary::-webkit-details-marker{display:none;}
.op-label{flex:1;min-width:0;}.op-label>b{display:block;font-size:14px;font-weight:570;letter-spacing:-.015em;}.op-label small{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:var(--op-muted);font-weight:400;}
.op-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border:1px solid rgba(170,172,187,.1);border-radius:11px;background:linear-gradient(145deg,rgba(172,166,220,.12),rgba(201,209,221,.08));color:var(--ink2);}.op-icon svg{width:18px;height:18px;}.op-link{background:linear-gradient(145deg,rgba(142,185,207,.15),rgba(173,177,220,.08));}.op-award{background:linear-gradient(145deg,rgba(225,189,155,.15),rgba(184,171,205,.08));}
.op-group[open]>summary .op-chevron{transform:rotate(90deg);}.op-chevron{transition:transform .18s ease;}
.op-content{padding:0 16px 14px;min-width:0;overflow-wrap:anywhere;}.op-content:empty{display:none;}
.oh-profile-page .op-content .card,.oh-profile-page .op-content .qcard,.oh-profile-page .op-content .v3{margin:0!important;padding:14px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-height:0!important;}
.oh-profile-page .op-content>.card+.card,.oh-profile-page .op-content>.qcard+.qcard{border-top:1px solid var(--op-line)!important;}
.oh-profile-page .op-content h3,.oh-profile-page .op-content .qh2{font-size:12px!important;font-weight:600!important;letter-spacing:normal!important;text-transform:none!important;margin:0 0 8px!important;}
.oh-profile-page .op-content p,.oh-profile-page .op-content .note,.oh-profile-page .op-content .qsub{font-size:12px!important;line-height:1.55!important;color:var(--op-muted)!important;letter-spacing:normal!important;margin:6px 0 10px!important;}
.oh-profile-page .op-content button,.oh-profile-page .op-content .qbtn,.oh-profile-page .op-content .btn{font-size:12px!important;line-height:1.35;min-height:38px;padding:9px 13px!important;border-radius:12px!important;white-space:normal!important;max-width:100%;box-shadow:none!important;border:1px solid var(--op-line)!important;background:color-mix(in srgb,var(--card2) 65%,transparent)!important;color:var(--ink)!important;letter-spacing:normal!important;font-weight:550!important;}
.oh-profile-page .op-content .op-setting{width:100%!important;display:flex!important;text-align:left;align-items:center;gap:10px;min-height:49px;padding:12px 0!important;background:none!important;border:0!important;border-bottom:1px solid var(--op-line)!important;border-radius:0!important;}
.op-setting>div:first-child{flex:1;min-width:0;}.op-setting b{font-size:13px;font-weight:550;}.op-setting span,.op-setting small{font-size:11px!important;color:var(--op-muted);line-height:1.4;}
.op-setting .qsub{margin:3px 0 0!important;}.op-setting:last-child{border-bottom:0!important;}
.oh-profile-page input,.oh-profile-page select{font-size:16px!important;min-height:40px;padding:9px 10px!important;border-radius:10px!important;border:1px solid var(--op-line)!important;max-width:100%!important;min-width:0;background:color-mix(in srgb,var(--card2) 65%,transparent)!important;}
.oh-profile-page .frow{gap:10px;grid-template-columns:minmax(0,1fr) minmax(80px,1fr);}.oh-profile-page .frow label{font-size:12px;}.oh-profile-page .frow input{width:100%;}
.oh-profile-page .op-reminders>label{display:flex;align-items:center;gap:12px;margin:12px 0!important;}.oh-profile-page .op-reminders input{width:76px!important;flex:0 0 76px;}
.op-preference{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;}.op-preference>span{font-size:13px;}.op-preference .qlangp{margin:0!important;position:static;flex:none;padding:3px!important;gap:2px!important;}.oh-profile-page .qlangp button{min-height:31px;padding:6px 10px!important;min-width:42px;border:0!important;background:none!important;}.oh-profile-page .qlangp button.on{background:var(--ink)!important;color:var(--card)!important;}
.oh-profile-page .op-preference .themebtn{width:34px!important;height:34px!important;min-height:34px;padding:5px!important;border-radius:50%!important;}
.oh-profile-page .qadv{margin:10px 0 0!important;padding:0!important;border:0!important;background:none!important;}.oh-profile-page .qadv>summary{padding:12px 0;font-size:12px;}.oh-profile-page .qadv>summary span{font-size:11px;}
.oh-profile-page .op-logout{padding:22px 8px 8px;}.oh-profile-page .op-logout button{display:block;width:auto;max-width:100%;margin:auto;padding:8px 12px;border:0!important;background:none!important;box-shadow:none!important;font-size:12px!important;color:var(--op-muted)!important;}.op-logout small,.op-logout span{display:none;}
.op-head button:focus-visible,.op-list summary:focus-visible,.oh-profile-page button:focus-visible{outline:2px solid #8f91b4;outline-offset:3px;}
@keyframes op-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.oh-profile-page{animation:none}.op-chevron{transition:none}}
@media(max-width:350px){.op-group>summary{padding:14px 12px;gap:9px;}.op-content{padding-left:12px;padding-right:12px;}.op-label small{font-size:10px;}.op-label>b{font-size:13px;}}
