/* Approved Work follow-up. Canvas reward skins are nine-sliced from Reward v2. */
#work-rewards[data-layout=rows] .work-reward-controls article>b,#work-rewards[data-layout=rows] .work-reward-controls article>p{text-align:left;justify-content:flex-start;align-items:flex-start;white-space:normal;text-overflow:clip;line-height:1.1}
#work-rewards[data-layout=rows] .work-reward-controls article>button{color:#fff8dc;font-weight:700;font-size:16px;padding:0}
#work-rewards[data-layout=rows] h2{background:#15343ef5;border:1px solid #9bb9b5;border-radius:10px;padding:8px 12px;box-sizing:border-box;max-width:calc(100% - 36px);white-space:normal;text-align:center;font-size:22px!important;text-shadow:none}
#work-rewards[data-layout=rows] .work-gift-professor{display:none}
#work-rewards[data-layout=rows][data-compact=true] h2{font-size:18px!important;padding:4px 10px}
#unit-popover{padding:10px 12px;background:none;border:12px solid transparent;border-image:url('assets/work-ui/ux-polish/panel.webp') 32 fill / 16px;box-shadow:none;border-radius:0;overflow:hidden;display:grid;grid-template-rows:42px 46px minmax(0,1fr) 44px;gap:4px;font-size:13px;line-height:1.2;padding:0}
#unit-popover header{padding:0 30px 0 0;gap:7px;min-width:0}#unit-popover header img{width:36px;height:36px}#unit-popover header strong{font-size:18px;display:inline}#unit-popover header span{display:inline;font-size:11px;margin-left:5px}#unit-popover header small{font-size:12px;margin-top:3px}#unit-popover [data-unit-close]{right:0;top:0}
#unit-popover .unit-pop-stats{margin:0;gap:3px 10px;font-size:12px;border-bottom:1px solid #43636c;padding-bottom:5px}#unit-popover .unit-pop-stats b{font-size:17px;font-variant-numeric:tabular-nums}
.unit-pop-middle{position:relative;overflow:hidden;padding-right:0;min-height:0}.unit-pop-middle>button{position:absolute;right:0;top:0;width:44px;min-width:44px;height:44px;padding:0;background:#203f4a;color:#dbecea;border:1px solid #617d86;border-radius:5px;font-size:11px}
#unit-popover .unit-pop-skill{padding-right:48px}#unit-popover .unit-pop-skill>b{color:#ffdf79;font-size:15px;display:block}#unit-popover .unit-pop-skill p{font-size:13px;margin:4px 0;line-height:1.25}
#unit-popover .unit-pop-growth{font-size:11px;line-height:1.2;margin-top:3px}.unit-pop-full{overflow:auto;max-height:100%;overscroll-behavior:contain;padding-right:50px;font-size:13px;line-height:1.4}.unit-pop-full p{margin:0 0 6px}.unit-pop-full strong{color:#ffdf79}
#unit-popover .unit-pop-gear{display:flex;align-items:center;gap:4px;margin:0;grid-template-columns:none}#unit-popover .unit-pop-gear button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;margin:0;display:grid;place-items:center;background:#203f4a;border:1px solid #a5bec4;border-radius:7px;color:#e6eeee}#unit-popover .unit-pop-gear [data-unit-gear]{margin-left:auto;width:72px;min-width:72px;font-size:11px}#unit-popover .unit-pop-gear img{width:22px;height:22px}#unit-popover .unit-pop-gear small{display:none}#unit-popover .unit-pop-gear .gear-icon{border:0;background:none;padding:0}#unit-popover .unit-pop-gear .unit-pop-empty{font-size:23px}

.work-reward-controls article>b{line-height:1.05}

#unit-popover[data-compact=true] .unit-pop-skill>b{font-size:13px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#unit-popover[data-compact=true] .unit-pop-skill p{font-size:11px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0}#unit-popover[data-compact=true] .unit-pop-growth{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:12px;margin-top:2px}
