.honor-section,.honor-dialog{--honor-ink:#17231C;--honor-muted:#526158;--honor-green:#08783E;color:var(--honor-ink);font:14px/22px "PingFang SC","Microsoft YaHei",system-ui,sans-serif}.honor-section{background:#fff;border:1px solid #DDE5DF;border-radius:16px;padding:24px;margin:24px 0}.honor-heading,.honor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.honor-section h2,.honor-dialog h2{font-size:18px;line-height:26px;margin:0;font-weight:600}.honor-section button,.honor-dialog button,.honor-section select,.honor-dialog select{min-height:44px;padding:8px 12px;border:1px solid #7B8D81;border-radius:10px;background:#fff;color:#08783E;font:inherit;cursor:pointer}.honor-section button:hover,.honor-dialog button:hover{background:#EAF6EF}.honor-section button:focus-visible,.honor-dialog button:focus-visible,.honor-dialog select:focus-visible,.honor-section select:focus-visible{outline:2px solid #08783E;outline-offset:2px}.honor-dialog button:disabled{color:#68776D;background:#E6ECE8;cursor:default}.honor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.honor-tile{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.honor-tile strong{font-size:14px;overflow-wrap:anywhere;line-height:20px}.honor-tile span{color:#526158;font-size:12px;max-width:100%;overflow-wrap:anywhere}.honor-image{object-fit:contain;flex-shrink:0}.honor-empty,.honor-growth p{color:#526158}.honor-growth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.honor-growth{background:#F5F7F6;border-radius:12px;padding:16px;min-width:0}.honor-growth h3{font-size:14px;margin:8px 0}.honor-growth b{font-variant-numeric:tabular-nums}.honor-growth p{min-height:66px;font-size:12px;line-height:18px}.honor-growth progress{width:100%;height:8px;accent-color:#08783E;display:block;margin:12px 0}.honor-growth .locked{filter:grayscale(1)}.honor-expert{background:#EAF6EF;border-radius:12px;padding:12px}.honor-dialog{width:min(560px,calc(100% - 32px));max-height:80vh;padding:0;border:1px solid #DDE5DF;border-radius:16px;box-shadow:0 12px 36px rgba(23,35,28,.14)}.honor-dialog::backdrop{background:rgba(23,35,28,.4)}.honor-dialog header,.honor-dialog footer{display:flex;justify-content:space-between;align-items:center;padding:16px;gap:12px;background:#fff;position:sticky;z-index:1}.honor-dialog header{top:0;border-bottom:1px solid #DDE5DF}.honor-dialog footer{bottom:0;border-top:1px solid #DDE5DF}.honor-dialog-body{padding:16px}.honor-dialog [role=alert]{color:#B42318;padding:0 16px}.honor-option{display:flex;align-items:center;gap:8px;margin:12px 0;flex-wrap:wrap}.honor-option img{width:48px;height:48px}.honor-option>div{flex:1;min-width:100px}.honor-option small{display:block;color:#526158}.honor-detail{text-align:center}.honor-detail img{width:112px;height:112px}.avatar-with-honor{position:relative;overflow:visible!important}.avatar-honor{position:absolute;right:-4px;bottom:-4px;width:38%;min-width:14px;height:38%;min-height:14px;pointer-events:none}.avatar-honor img{display:block;width:100%;height:100%}.public-person-avatar.avatar-with-honor{overflow:visible}.honor-skeleton{min-height:100px;background:#F5F7F6;border-radius:12px;padding:16px}.public-person-body{max-width:760px;margin:auto}.honor-growth button{width:100%}@media(max-width:767px){.honor-section{padding:16px}.honor-grid{gap:8px}.honor-tile{padding:8px!important}.honor-tile img{width:48px;height:48px}.honor-growth-grid{grid-template-columns:1fr}.honor-growth p{min-height:0}.honor-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0;padding-bottom:env(safe-area-inset-bottom)}}@media(prefers-reduced-motion:reduce){.honor-section *,.honor-dialog *{animation:none!important;transition:none!important}}
.honor-message{display:flex;gap:12px;margin:16px 0}.honor-message small{display:block}.honor-feed-filters{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.honor-feed-filters label{display:flex;flex-direction:column;gap:4px}.honor-feed-filters select{font:inherit;min-height:44px;max-width:230px;border:1px solid #7B8D81;border-radius:10px;background:white;padding:8px}.public-person-list small{display:block;color:#526158}
.honor-image-fallback{display:grid;place-items:center;width:56px;height:56px;color:#526158;font-size:32px;background:#F5F7F6;border-radius:12px}.honor-lock{font-size:12px}
/* Profile composition follows the supplied layout reference. */
#app .public-person-page{background:#F5F7F6;color:#17231C;min-height:100vh;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
#app .public-person-page .ref-top78{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 16px;background:#fff;border-bottom:1px solid #DDE5DF}
#app .public-person-page .ref-top78 h1{font-size:20px;line-height:28px;font-weight:700;margin:0}
#app .public-person-page .ref-top78 button{border:0;background:transparent;min-width:44px;min-height:44px;font-size:28px;color:#17231C}
#app .public-person-page .public-person-body{display:grid;gap:16px;padding:16px;box-sizing:border-box;width:100%;max-width:760px}
#app .public-person-page .public-person-card{padding:16px;background:white;border:1px solid #DDE5DF;border-radius:16px}
#app .public-person-page .public-person-avatar{width:72px;height:72px;flex-basis:72px;background:#263238;color:white;font-size:32px;font-weight:500;overflow:visible}
#app .public-person-page .public-person-copy h2{font-size:20px;line-height:28px;font-weight:700;color:#17231C}
#app .public-person-page .public-person-copy p{color:#526158;font-size:14px;line-height:22px}
#app .public-person-page .public-person-actions{gap:12px;margin-top:16px}
#app .public-person-page .public-person-actions button{border:1px solid #08783E;border-radius:10px;color:#08783E;font-size:14px;min-height:44px;box-shadow:none}
#app .public-person-page .public-person-actions [data-honor-manage],#app .public-person-page .public-person-actions [data-site-follow]{background:#08783E;color:#fff;border-color:#08783E}
#app .public-person-page .public-person-stats{margin-top:16px;padding-top:16px;border-color:#DDE5DF}
#app .public-person-page .public-person-stats>div+div{border-left:1px solid #DDE5DF}
#app .public-person-page .public-person-stats dd{font-size:24px;line-height:30px;font-weight:700;color:#17231C}
#app .public-person-page .public-person-stats dt{font-size:12px;line-height:18px;color:#526158}
#app .public-person-page .honor-section{margin:0;padding:16px;border-radius:16px}
#app .public-person-page .honor-heading>button{padding:0;border:0;background:transparent;color:#526158;font-size:12px;min-height:44px}
#app .public-person-page .honor-grid{gap:8px;margin:8px 0 12px}
#app .public-person-page .honor-tile{border:0;background:transparent;border-radius:12px;padding:12px 4px;gap:4px;color:#17231C}
#app .public-person-page .honor-tile:hover{background:#F5F7F6}
#app .public-person-page .honor-tile img{width:64px;height:64px;margin-bottom:4px}
#app .public-person-page .honor-tile strong{font-weight:500;font-size:14px;line-height:20px}
#app .public-person-page .honor-tile span{font-size:12px;line-height:18px;color:#526158}
#app .public-person-page .honor-actions{border-top:1px solid #DDE5DF;padding-top:8px;gap:4px}
#app .public-person-page .honor-actions>span{font-size:12px;color:#526158}
#app .public-person-page .honor-actions button{border:0;padding:0;background:transparent;font-size:12px;min-height:44px;text-align:right;max-width:65%;overflow-wrap:anywhere}
#app .public-person-page .honor-section:has(.honor-growth-grid){background:#F0FAF5;border-color:#D5EBDD}
#app .public-person-page .honor-heading label{font-size:12px;color:#526158}
#app .public-person-page .honor-heading select{font-size:12px;max-width:140px;border:0;background:transparent;padding:4px}
#app .public-person-page .honor-growth{background:transparent;padding:12px 0;border-radius:0}
#app .public-person-page .honor-growth p{font-size:12px;line-height:18px}
#app .public-person-page .honor-expert{padding:12px 0 0;border-top:1px solid #D5EBDD;border-radius:0;background:transparent;font-size:12px;line-height:18px;margin:8px 0 0;color:#526158}
#app .public-person-page .public-person-feed>h2{font-size:18px;line-height:26px;color:#17231C;margin:0 0 12px;font-weight:600}
#app .public-person-page .public-person-list{border:0;border-radius:0;background:transparent;display:grid;gap:8px}
#app .public-person-page .public-person-list article{border:1px solid #DDE5DF;border-radius:12px;background:white}
#app .public-person-page .public-person-list article>button{padding:12px;min-height:76px}
#app .public-person-page .public-person-list article+article{border-top:1px solid #DDE5DF}
@media(max-width:767px){
#app .public-person-page .public-person-avatar{width:56px;height:56px;flex-basis:56px;font-size:28px}
#app .public-person-page .honor-tile img{width:56px;height:56px}
#app .public-person-page .honor-growth-grid{gap:0;margin:8px 0 0}
#app .public-person-page .honor-growth{display:grid;grid-template-columns:36px minmax(0,1fr) 72px;grid-template-rows:auto 8px auto;gap:6px 12px;align-items:center;padding:12px 0}
#app .public-person-page .honor-growth+.honor-growth{border-top:1px solid #D5EBDD}
#app .public-person-page .honor-growth>.honor-image{grid-column:1;grid-row:1/4;width:36px;height:36px}
#app .public-person-page .honor-growth h3{grid-column:2;grid-row:1;margin:0;font-size:14px;line-height:20px;font-weight:600}
#app .public-person-page .honor-growth>b{grid-column:3;grid-row:1;font-size:14px;line-height:20px;text-align:right}
#app .public-person-page .honor-growth progress{grid-column:2/4;grid-row:2;margin:0;appearance:none;border:0;border-radius:4px;overflow:hidden;background:#DCE9E0}
#app .public-person-page .honor-growth progress::-webkit-progress-bar{background:#DCE9E0}
#app .public-person-page .honor-growth progress::-webkit-progress-value{background:#08783E;border-radius:4px}
#app .public-person-page .honor-growth p{grid-column:2;grid-row:3;margin:0;min-height:0}
#app .public-person-page .honor-growth>button{grid-column:3;grid-row:3;min-height:44px;width:100%;padding:0;border:0;background:transparent;font-size:12px;font-weight:500;text-align:right}
}
#app .public-person-page .honor-add{border:1px dashed #7B8D81;border-radius:12px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;align-self:start;min-height:104px;margin-top:12px;color:#526158}
#app .public-person-page .honor-add>span{font-size:28px;font-weight:300}#app .public-person-page .honor-add small{font-size:12px}
#app .public-person-page .honor-feed-filters{display:block;margin:12px 0}
#app .public-person-page .honor-filter-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px}
#app .public-person-page .honor-filter-tabs button{flex-shrink:0;font:inherit;font-size:12px;line-height:18px;min-height:44px;padding:8px 12px;border:1px solid #7B8D81;border-radius:999px;background:#fff;color:#526158}
#app .public-person-page .honor-filter-tabs button[aria-pressed=true]{background:#08783E;color:#fff;border-color:#08783E}
#app .public-person-page .honor-filter-circle{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;font-size:12px;color:#526158;margin-top:2px}
#app .public-person-page .honor-filter-circle select{font-size:12px;min-height:36px;border:0;background:transparent;max-width:170px}
#app .public-person-page .public-person-feed{background:transparent!important;padding:0!important}
.honor-avatar-base{position:relative;display:inline-grid;place-items:center;width:100%;height:100%;border-radius:inherit;overflow:visible}.honor-record{padding:12px 0;border-bottom:1px solid #DDE5DF}.honor-record p{margin:4px 0}.honor-record small{color:#526158}#app .public-person-page .honor-record-link{background:transparent;border:0;padding:0;font-size:12px;min-height:44px}

.honor-home-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 16px;padding:12px 16px;border-radius:12px;background:#F0FAF5;color:#17231C;font-size:14px}.honor-home-summary button,.honor-sources button{border:0;background:transparent;color:#08783E;min-height:44px}.honor-submit-note{color:#526158;font-size:12px;line-height:20px}.honor-sources{margin-top:16px;border-top:1px solid #DDE5DF;padding-top:12px}#app .public-person-page .honor-tile strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* App-sized sheets: independently scrolling body, reachable actions and safe areas. */
.honor-dialog{box-sizing:border-box;overflow:hidden;padding:0;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
.honor-dialog[open]{display:flex;flex-direction:column}
.honor-dialog header,.honor-dialog footer{position:static;flex:0 0 auto;box-sizing:border-box;flex-wrap:wrap}
.honor-dialog header{flex-wrap:nowrap;padding-top:max(16px,env(safe-area-inset-top))}
.honor-dialog header h2{min-width:0;overflow-wrap:anywhere}
.honor-dialog header button{flex:0 0 44px;padding:0;font-size:24px}
.honor-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-wrap:anywhere}
.honor-dialog footer{padding-bottom:max(16px,env(safe-area-inset-bottom));gap:12px}
.honor-dialog footer button{flex:1 1 auto;min-height:48px}
.honor-dialog [data-honor-error]:empty{display:none}
.honor-dialog [data-honor-error]{flex:0 0 auto;margin:0;padding:8px 16px}
.honor-detail{padding:16px 0}.honor-detail>img{width:104px;height:104px}.honor-detail>p{margin:16px 0}
.honor-sweet-copy{padding:20px 16px;background:#F0FAF5;border-radius:12px;color:#08783E;line-height:1.8}
.honor-dialog select{max-width:100%;font-size:16px}
@media(max-width:767px){
.honor-dialog{width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;border:0;border-radius:0}
.honor-dialog-body{padding:16px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}
.honor-dialog header,.honor-dialog footer{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.honor-option{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid #DDE5DF;margin:0}
.honor-option>div{min-width:0;overflow-wrap:anywhere}.honor-option img{width:44px;height:44px}
.honor-option [data-honor-move]{min-width:44px;grid-row:auto}.honor-option [data-honor-move]:nth-last-child(2){grid-column:2;justify-self:end}
.honor-option [data-honor-move]:last-child{grid-column:3}
.honor-dialog .honor-grid{gap:8px}.honor-dialog .honor-tile{padding:8px 0;overflow-wrap:anywhere}
.honor-dialog .honor-tile img{width:48px;height:48px}
#app .public-person-page .public-person-body{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
#app .public-person-page .honor-heading select,#app .public-person-page .honor-filter-circle select{font-size:16px;min-height:44px;max-width:160px}
#app .public-person-page .honor-filter-tabs{scrollbar-width:thin}
#app .public-person-page .public-person-list article{padding:12px}
#app .public-person-page .public-person-list article>button{width:100%;text-align:left;overflow-wrap:anywhere}
.honor-message{align-items:flex-start}.honor-message>div{min-width:0;overflow-wrap:anywhere}.honor-message button{max-width:100%}
}
@media(max-width:359px){#app .public-person-page .honor-heading{gap:4px}#app .public-person-page .honor-heading select{max-width:130px}.honor-dialog footer{gap:8px}.honor-dialog footer button{padding:8px}}

/* Honor icons are avatar overlays, not article media. */
#app#app [data-honor-avatar-user].avatar-with-honor .avatar-honor>img.honor-image{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain!important;vertical-align:middle}

/* Full transparent avatar ornaments; preserve avatar face and pointer targets. */
#app#app .avatar-with-honor>.avatar-honor{width:140%!important;height:140%!important;min-width:0;min-height:0;right:-20%!important;bottom:-20%!important;pointer-events:none;z-index:2}
