.role-guide-group{position:static;display:block;clear:both;max-width:100%;margin:14px 0;color:#3d352d;font:inherit;line-height:1.65;box-sizing:border-box}
.role-guide{display:block;max-width:100%;border:1px solid #e4d6c4;background:#fffaf2;border-radius:10px;margin:8px 0;overflow:hidden}.role-guide summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 12px;min-height:48px;box-sizing:border-box;font-weight:700;list-style:none}.role-guide summary::-webkit-details-marker{display:none}.role-guide summary img{flex:0 0 40px;object-fit:contain;background:#fff;align-self:stretch}.role-guide summary span{min-width:0;overflow-wrap:anywhere}.role-guide-toggle{flex:0 0 auto;margin-left:auto;font-size:12px;white-space:nowrap;color:#796448}.role-guide[open] summary{border-bottom:1px solid #e4d6c4}.role-guide-body{padding:10px 18px}.role-guide-body ol{padding-left:24px;margin:0}.role-guide-body li{padding:4px 0}.role-note{font-size:.88rem;color:#6a6155;line-height:1.6}.role-guide-body .role-note{margin:8px 0}.role-guide summary:focus-visible{outline:3px solid #946737;outline-offset:2px}
.role-content{max-width:1180px;margin:auto}.role-content h2{font-size:1.25rem}.role-content .role-panel{background:#fff;border:1px solid #e2d9cd;border-radius:14px;padding:20px;margin:18px 0}.role-asset-grid,.role-series-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.role-asset{border:1px solid #ddd4c8;border-radius:10px;padding:14px;min-width:0;background:#fffaf2}.role-asset img{display:block;width:100%;height:120px;object-fit:contain;background:#fff}.role-asset h3{margin:10px 0 6px;font-size:1rem}.role-asset code{word-break:break-all;font-size:.75rem}.role-asset dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font-size:.85rem}.role-asset dd{margin:0}.role-missing{color:#9b4f17}.role-valid{color:#246344}.role-draft-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.role-draft-form label{display:block;margin:10px 0;font-weight:600}.role-content textarea,.role-content input,.role-content select{box-sizing:border-box;max-width:100%;width:100%}.role-content textarea{min-height:90px}.role-content [data-role-draft-output]{min-height:370px;background:#fffaf2}.role-content button,.role-content .button{min-height:44px}.role-stat-wrap{max-width:100%;overflow:auto}.role-stat-wrap table{width:100%;border-collapse:collapse}.role-stat-wrap td,.role-stat-wrap th{padding:10px;text-align:left;border-bottom:1px solid #e2d9cd}.role-source-form{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.role-source-form label{max-width:240px}.role-checkbox{display:flex!important;gap:8px;align-items:start}.role-checkbox input{width:auto!important;margin-top:5px}.role-handoff{padding:16px;margin:12px 0;border:1px solid #d8c6aa;border-radius:12px;background:#fffaf2}.role-handoff textarea{width:100%;box-sizing:border-box}.role-handoff [hidden]{display:none}
[data-role-reduced='true'] .role-guide-group *,[data-role-reduced='true'] .role-handoff *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){.role-guide-group *,.role-handoff *{animation:none!important;transition:none!important}}@media(max-width:700px){.role-asset-grid,.role-series-grid,.role-draft-grid{grid-template-columns:1fr}.role-content .role-panel{padding:14px}.role-guide summary{gap:6px;padding:8px}.role-guide-toggle{font-size:11px}.role-guide-body{padding:10px 12px}.role-handoff .advisor-actions{flex-direction:column;align-items:stretch}}@media print{.role-guide-group,.role-handoff{display:none}.role-content .role-asset img{display:none}}

/* Approved portrait for small Xiaoyu summaries; full-size illustrations unchanged. */
.role-guide summary img.role-guide-avatar-xiaoyu{width:44px;height:48px;flex:0 0 44px;object-fit:cover;object-position:center top;align-self:center;border-radius:6px}
.role-guide summary:focus-visible{outline-offset:-3px}
